jcicl 0.0.118 → 0.0.122

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.
@@ -1,987 +1,199 @@
1
- import { jsx as C, jsxs as ue } from "react/jsx-runtime";
2
- import * as j from "react";
3
- import Oi, { useState as Le } from "react";
4
- import { h as ki, P as m, g as Si, a as Pi, s as Ge, r as Ci, c as Ne, u as Mi, b as Ae, d as Ai } from "../.chunks/DefaultPropsProvider.js";
5
- import { c as Xe } from "../.chunks/createSvgIcon.js";
6
- import { n as ie } from "../.chunks/emotion-styled.browser.esm.js";
7
- import { c as ge } from "../.chunks/emotion-react.browser.esm.js";
8
- import Ii from "../AppHeader/AppHeader.js";
9
- import { Nav as Fe } from "../Nav/Nav.js";
10
- import ze from "../ScrollContainer/ScrollContainer.js";
11
- import { Button as je } from "../Button/Button.js";
12
- import P from "../theme.js";
13
- import { l as Vi } from "../.chunks/jocologo.js";
14
- import { X as Ni } from "../.chunks/Close.js";
15
- import { u as Wi, e as Bi, H as Di, a as fr, g as Ri, T as Ui, r as _i, b as sr, c as Li } from "../.chunks/Portal.js";
16
- import { m as wr } from "../.chunks/memoTheme.js";
17
- import { g as Fi, o as hr, d as zi, M as ji, P as Hi, i as $i } from "../.chunks/Input.js";
18
- import { c as qi } from "../.chunks/chainPropTypes.js";
19
- import { e as Yi, c as Gi } from "../.chunks/TransitionGroupContext.js";
20
- function Xi(i, e, r, n, t) {
21
- const [u, h] = j.useState(() => t && r ? r(i).matches : n ? n(i).matches : e);
22
- return Yi(() => {
1
+ import { jsx as a, jsxs as P, Fragment as he } from "react/jsx-runtime";
2
+ import * as w from "react";
3
+ import { useState as Y } from "react";
4
+ import { c as q } from "../.chunks/createSvgIcon.js";
5
+ import { n as y, i as ee } from "../.chunks/emotion-styled.browser.esm.js";
6
+ import { c as H } from "../.chunks/emotion-react.browser.esm.js";
7
+ import Oe from "../AppHeader/AppHeader.js";
8
+ import { Nav as V } from "../Nav/Nav.js";
9
+ import ie from "../ScrollContainer/ScrollContainer.js";
10
+ import { Button as K } from "../Button/Button.js";
11
+ import i from "../theme.js";
12
+ import { l as Ie } from "../.chunks/jocologo.js";
13
+ import { X as Be } from "../.chunks/Close.js";
14
+ import { P as n, g as Ae, a as je, s as ae, r as Ue, c as Z, u as Ve, b as _, d as Fe } from "../.chunks/DefaultPropsProvider.js";
15
+ import { u as We, e as Xe, H as Ge, a as we, g as Qe, T as Ye, r as _e, b as ue, c as Je } from "../.chunks/Portal.js";
16
+ import { m as ye } from "../.chunks/memoTheme.js";
17
+ import { g as Ke, o as ke, d as Ze, M as qe, P as eo, i as oo } from "../.chunks/Input.js";
18
+ import { c as to } from "../.chunks/chainPropTypes.js";
19
+ import { u as ro, a as no } from "../.chunks/TransitionGroupContext.js";
20
+ function io(e, o, r, t, c) {
21
+ const [f, u] = w.useState(() => c && r ? r(e).matches : t ? t(e).matches : o);
22
+ return ro(() => {
23
23
  if (!r)
24
24
  return;
25
- const g = r(i), T = () => {
26
- h(g.matches);
25
+ const h = r(e), l = () => {
26
+ u(h.matches);
27
27
  };
28
- return T(), g.addEventListener("change", T), () => {
29
- g.removeEventListener("change", T);
28
+ return l(), h.addEventListener("change", l), () => {
29
+ h.removeEventListener("change", l);
30
30
  };
31
- }, [i, r]), u;
31
+ }, [e, r]), f;
32
32
  }
33
- const Qi = {
34
- ...j
35
- }, vr = Qi.useSyncExternalStore;
36
- function Zi(i, e, r, n, t) {
37
- const u = j.useCallback(() => e, [e]), h = j.useMemo(() => {
38
- if (t && r)
39
- return () => r(i).matches;
40
- if (n !== null) {
33
+ const ao = {
34
+ ...w
35
+ }, Ce = ao.useSyncExternalStore;
36
+ function so(e, o, r, t, c) {
37
+ const f = w.useCallback(() => o, [o]), u = w.useMemo(() => {
38
+ if (c && r)
39
+ return () => r(e).matches;
40
+ if (t !== null) {
41
41
  const {
42
- matches: E
43
- } = n(i);
44
- return () => E;
42
+ matches: p
43
+ } = t(e);
44
+ return () => p;
45
45
  }
46
- return u;
47
- }, [u, i, n, t, r]), [g, T] = j.useMemo(() => {
46
+ return f;
47
+ }, [f, e, t, c, r]), [h, l] = w.useMemo(() => {
48
48
  if (r === null)
49
- return [u, () => () => {
49
+ return [f, () => () => {
50
50
  }];
51
- const E = r(i);
52
- return [() => E.matches, (U) => (E.addEventListener("change", U), () => {
53
- E.removeEventListener("change", U);
51
+ const p = r(e);
52
+ return [() => p.matches, (M) => (p.addEventListener("change", M), () => {
53
+ p.removeEventListener("change", M);
54
54
  })];
55
- }, [u, r, i]);
56
- return vr(T, g, h);
55
+ }, [f, r, e]);
56
+ return Ce(l, h, u);
57
57
  }
58
- function lr(i, e = {}) {
59
- const r = Wi(), n = typeof window < "u" && typeof window.matchMedia < "u", {
60
- defaultMatches: t = !1,
61
- matchMedia: u = n ? window.matchMedia : null,
62
- ssrMatchMedia: h = null,
63
- noSsr: g = !1
64
- } = Fi({
58
+ function fe(e, o = {}) {
59
+ const r = We(), t = typeof window < "u" && typeof window.matchMedia < "u", {
60
+ defaultMatches: c = !1,
61
+ matchMedia: f = t ? window.matchMedia : null,
62
+ ssrMatchMedia: u = null,
63
+ noSsr: h = !1
64
+ } = Ke({
65
65
  name: "MuiUseMediaQuery",
66
- props: e,
66
+ props: o,
67
67
  theme: r
68
68
  });
69
- process.env.NODE_ENV !== "production" && typeof i == "function" && r === null && console.error(["MUI: The `query` argument provided is invalid.", "You are providing a function without a theme in the context.", "One of the parent elements needs to use a ThemeProvider."].join(`
69
+ process.env.NODE_ENV !== "production" && typeof e == "function" && r === null && console.error(["MUI: The `query` argument provided is invalid.", "You are providing a function without a theme in the context.", "One of the parent elements needs to use a ThemeProvider."].join(`
70
70
  `));
71
- let T = typeof i == "function" ? i(r) : i;
72
- T = T.replace(/^@media( ?)/m, "");
73
- const E = (vr !== void 0 ? Zi : Xi)(T, t, u, h, g);
74
- return process.env.NODE_ENV !== "production" && j.useDebugValue({
75
- query: T,
76
- match: E
77
- }), E;
71
+ let l = typeof e == "function" ? e(r) : e;
72
+ l = l.replace(/^@media( ?)/m, "");
73
+ const p = (Ce !== void 0 ? so : io)(l, c, f, u, h);
74
+ return process.env.NODE_ENV !== "production" && w.useDebugValue({
75
+ query: l,
76
+ match: p
77
+ }), p;
78
78
  }
79
- var d = {}, He = { exports: {} };
80
- (function(i, e) {
81
- (function(r, n) {
82
- var t = "1.0.40", u = "", h = "?", g = "function", T = "undefined", I = "object", E = "string", U = "major", a = "model", l = "name", o = "type", s = "vendor", c = "version", W = "architecture", R = "console", p = "mobile", b = "tablet", S = "smarttv", V = "wearable", B = "embedded", ne = 500, H = "Amazon", D = "Apple", _ = "ASUS", X = "BlackBerry", Y = "Browser", te = "Chrome", pe = "Edge", ae = "Firefox", K = "Google", y = "Huawei", N = "LG", se = "Microsoft", xe = "Motorola", de = "Opera", me = "Samsung", Se = "Sharp", be = "Sony", fe = "Xiaomi", Q = "Zebra", Je = "Facebook", er = "Chromium OS", rr = "Mac OS", ir = " Browser", xi = function(x, O) {
83
- var v = {};
84
- for (var M in x)
85
- O[M] && O[M].length % 2 === 0 ? v[M] = O[M].concat(x[M]) : v[M] = x[M];
86
- return v;
87
- }, Pe = function(x) {
88
- for (var O = {}, v = 0; v < x.length; v++)
89
- O[x[v].toUpperCase()] = x[v];
90
- return O;
91
- }, nr = function(x, O) {
92
- return typeof x === E ? we(O).indexOf(we(x)) !== -1 : !1;
93
- }, we = function(x) {
94
- return x.toLowerCase();
95
- }, Ti = function(x) {
96
- return typeof x === E ? x.replace(/[^\d\.]/g, u).split(".")[0] : n;
97
- }, Ue = function(x, O) {
98
- if (typeof x === E)
99
- return x = x.replace(/^\s\s*/, u), typeof O === T ? x : x.substring(0, ne);
100
- }, Te = function(x, O) {
101
- for (var v = 0, M, oe, J, k, w, ee; v < O.length && !w; ) {
102
- var _e = O[v], ar = O[v + 1];
103
- for (M = oe = 0; M < _e.length && !w && _e[M]; )
104
- if (w = _e[M++].exec(x), w)
105
- for (J = 0; J < ar.length; J++)
106
- ee = w[++oe], k = ar[J], typeof k === I && k.length > 0 ? k.length === 2 ? typeof k[1] == g ? this[k[0]] = k[1].call(this, ee) : this[k[0]] = k[1] : k.length === 3 ? typeof k[1] === g && !(k[1].exec && k[1].test) ? this[k[0]] = ee ? k[1].call(this, ee, k[2]) : n : this[k[0]] = ee ? ee.replace(k[1], k[2]) : n : k.length === 4 && (this[k[0]] = ee ? k[3].call(this, ee.replace(k[1], k[2])) : n) : this[k] = ee || n;
107
- v += 2;
108
- }
109
- }, Ce = function(x, O) {
110
- for (var v in O)
111
- if (typeof O[v] === I && O[v].length > 0) {
112
- for (var M = 0; M < O[v].length; M++)
113
- if (nr(O[v][M], x))
114
- return v === h ? n : v;
115
- } else if (nr(O[v], x))
116
- return v === h ? n : v;
117
- return O.hasOwnProperty("*") ? O["*"] : x;
118
- }, Ei = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, tr = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, or = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [c, [l, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [c, [l, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [l, c], [/opios[\/ ]+([\w\.]+)/i], [c, [l, de + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [c, [l, de + " GX"]], [/\bopr\/([\w\.]+)/i], [c, [l, de]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [c, [l, "Baidu"]], [/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i], [c, [l, "Maxthon"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i, /(heytap|ovi|115)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [l, c], [/quark(?:pc)?\/([-\w\.]+)/i], [c, [l, "Quark"]], [/\bddg\/([\w\.]+)/i], [c, [l, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [c, [l, "UC" + Y]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [c, [l, "WeChat"]], [/konqueror\/([\w\.]+)/i], [c, [l, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [c, [l, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [c, [l, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [c, [l, "Smart Lenovo " + Y]], [/(avast|avg)\/([\w\.]+)/i], [[l, /(.+)/, "$1 Secure " + Y], c], [/\bfocus\/([\w\.]+)/i], [c, [l, ae + " Focus"]], [/\bopt\/([\w\.]+)/i], [c, [l, de + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [c, [l, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [c, [l, "Dolphin"]], [/coast\/([\w\.]+)/i], [c, [l, de + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [c, [l, "MIUI" + ir]], [/fxios\/([\w\.-]+)/i], [c, [l, ae]], [/\bqihoobrowser\/?([\w\.]*)/i], [c, [l, "360"]], [/\b(qq)\/([\w\.]+)/i], [[l, /(.+)/, "$1Browser"], c], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[l, /(.+)/, "$1" + ir], c], [/samsungbrowser\/([\w\.]+)/i], [c, [l, me + " Internet"]], [/metasr[\/ ]?([\d\.]+)/i], [c, [l, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[l, "Sogou Mobile"], c], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i], [l, c], [/(lbbrowser|rekonq)/i, /\[(linkedin)app\]/i], [l], [/ome\/([\w\.]+) \w* ?(iron) saf/i, /ome\/([\w\.]+).+qihu (360)[es]e/i], [c, l], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[l, Je], c], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(twitter)(?:and| f.+e\/([\w\.]+))/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [l, c], [/\bgsa\/([\w\.]+) .*safari\//i], [c, [l, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [c, [l, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [c, [l, te + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[l, te + " WebView"], c], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [c, [l, "Android " + Y]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [l, c], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [c, [l, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [c, l], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [l, [c, Ce, Ei]], [/(webkit|khtml)\/([\w\.]+)/i], [l, c], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[l, "Netscape"], c], [/(wolvic|librewolf)\/([\w\.]+)/i], [l, c], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [c, [l, ae + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /(links) \(([\w\.]+)/i], [l, [c, /_/g, "."]], [/(cobalt)\/([\w\.]+)/i], [l, [c, /master.|lts./, ""]]], cpu: [[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i], [[W, "amd64"]], [/(ia32(?=;))/i], [[W, we]], [/((?:i[346]|x)86)[;\)]/i], [[W, "ia32"]], [/\b(aarch64|arm(v?8e?l?|_?64))\b/i], [[W, "arm64"]], [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i], [[W, "armhf"]], [/windows (ce|mobile); ppc;/i], [[W, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i], [[W, /ower/, u, we]], [/(sun4\w)[;\)]/i], [[W, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i], [[W, we]]], device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [a, [s, me], [o, b]], [/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]((?!sm-[lr])[-\w]+)/i, /sec-(sgh\w+)/i], [a, [s, me], [o, p]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [a, [s, D], [o, p]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [a, [s, D], [o, b]], [/(macintosh);/i], [a, [s, D]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [a, [s, Se], [o, p]], [/(?:honor)([-\w ]+)[;\)]/i], [a, [s, "Honor"], [o, p]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [a, [s, y], [o, b]], [/(?:huawei)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [a, [s, y], [o, p]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i], [[a, /_/g, " "], [s, fe], [o, p]], [/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i, /\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[a, /_/g, " "], [s, fe], [o, b]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [a, [s, "OPPO"], [o, p]], [/\b(opd2\d{3}a?) bui/i], [a, [s, "OPPO"], [o, b]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [a, [s, "Vivo"], [o, p]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [a, [s, "Realme"], [o, p]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [a, [s, xe], [o, p]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [a, [s, xe], [o, b]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [a, [s, N], [o, b]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i], [a, [s, N], [o, p]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [a, [s, "Lenovo"], [o, b]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[a, /_/g, " "], [s, "Nokia"], [o, p]], [/(pixel c)\b/i], [a, [s, K], [o, b]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [a, [s, K], [o, p]], [/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [a, [s, be], [o, p]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[a, "Xperia Tablet"], [s, be], [o, b]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [a, [s, "OnePlus"], [o, p]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [a, [s, H], [o, b]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[a, /(.+)/g, "Fire Phone $1"], [s, H], [o, p]], [/(playbook);[-\w\),; ]+(rim)/i], [a, s, [o, b]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [a, [s, X], [o, p]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [a, [s, _], [o, b]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [a, [s, _], [o, p]], [/(nexus 9)/i], [a, [s, "HTC"], [o, b]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [s, [a, /_/g, " "], [o, p]], [/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i], [a, [s, "TCL"], [o, b]], [/(itel) ((\w+))/i], [[s, we], a, [o, Ce, { tablet: ["p10001l", "w7001"], "*": "mobile" }]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [a, [s, "Acer"], [o, b]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [a, [s, "Meizu"], [o, p]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [a, [s, "Ulefone"], [o, p]], [/; (energy ?\w+)(?: bui|\))/i, /; energizer ([\w ]+)(?: bui|\))/i], [a, [s, "Energizer"], [o, p]], [/; cat (b35);/i, /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i], [a, [s, "Cat"], [o, p]], [/((?:new )?andromax[\w- ]+)(?: bui|\))/i], [a, [s, "Smartfren"], [o, p]], [/droid.+; (a(?:015|06[35]|142p?))/i], [a, [s, "Nothing"], [o, p]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i, /; (imo) ((?!tab)[\w ]+?)(?: bui|\))/i, /(hp) ([\w ]+\w)/i, /(asus)-?(\w+)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w]+)/i, /(jolla)/i, /(oppo) ?([\w ]+) bui/i], [s, a, [o, p]], [/(imo) (tab \w+)/i, /(kobo)\s(ereader|touch)/i, /(archos) (gamepad2?)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [s, a, [o, b]], [/(surface duo)/i], [a, [s, se], [o, b]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [a, [s, "Fairphone"], [o, p]], [/(u304aa)/i], [a, [s, "AT&T"], [o, p]], [/\bsie-(\w*)/i], [a, [s, "Siemens"], [o, p]], [/\b(rct\w+) b/i], [a, [s, "RCA"], [o, b]], [/\b(venue[\d ]{2,7}) b/i], [a, [s, "Dell"], [o, b]], [/\b(q(?:mv|ta)\w+) b/i], [a, [s, "Verizon"], [o, b]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [a, [s, "Barnes & Noble"], [o, b]], [/\b(tm\d{3}\w+) b/i], [a, [s, "NuVision"], [o, b]], [/\b(k88) b/i], [a, [s, "ZTE"], [o, b]], [/\b(nx\d{3}j) b/i], [a, [s, "ZTE"], [o, p]], [/\b(gen\d{3}) b.+49h/i], [a, [s, "Swiss"], [o, p]], [/\b(zur\d{3}) b/i], [a, [s, "Swiss"], [o, b]], [/\b((zeki)?tb.*\b) b/i], [a, [s, "Zeki"], [o, b]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[s, "Dragon Touch"], a, [o, b]], [/\b(ns-?\w{0,9}) b/i], [a, [s, "Insignia"], [o, b]], [/\b((nxa|next)-?\w{0,9}) b/i], [a, [s, "NextBook"], [o, b]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[s, "Voice"], a, [o, p]], [/\b(lvtel\-)?(v1[12]) b/i], [[s, "LvTel"], a, [o, p]], [/\b(ph-1) /i], [a, [s, "Essential"], [o, p]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [a, [s, "Envizen"], [o, b]], [/\b(trio[-\w\. ]+) b/i], [a, [s, "MachSpeed"], [o, b]], [/\btu_(1491) b/i], [a, [s, "Rotor"], [o, b]], [/(shield[\w ]+) b/i], [a, [s, "Nvidia"], [o, b]], [/(sprint) (\w+)/i], [s, a, [o, p]], [/(kin\.[onetw]{3})/i], [[a, /\./g, " "], [s, se], [o, p]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [a, [s, Q], [o, b]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [a, [s, Q], [o, p]], [/smart-tv.+(samsung)/i], [s, [o, S]], [/hbbtv.+maple;(\d+)/i], [[a, /^/, "SmartTV"], [s, me], [o, S]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[s, N], [o, S]], [/(apple) ?tv/i], [s, [a, D + " TV"], [o, S]], [/crkey/i], [[a, te + "cast"], [s, K], [o, S]], [/droid.+aft(\w+)( bui|\))/i], [a, [s, H], [o, S]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [a, [s, Se], [o, S]], [/(bravia[\w ]+)( bui|\))/i], [a, [s, be], [o, S]], [/(mitv-\w{5}) bui/i], [a, [s, fe], [o, S]], [/Hbbtv.*(technisat) (.*);/i], [s, a, [o, S]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[s, Ue], [a, Ue], [o, S]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[o, S]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [s, a, [o, R]], [/droid.+; (shield) bui/i], [a, [s, "Nvidia"], [o, R]], [/(playstation [345portablevi]+)/i], [a, [s, be], [o, R]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [a, [s, se], [o, R]], [/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i], [a, [s, me], [o, V]], [/((pebble))app/i], [s, a, [o, V]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [a, [s, D], [o, V]], [/droid.+; (glass) \d/i], [a, [s, K], [o, V]], [/droid.+; (wt63?0{2,3})\)/i], [a, [s, Q], [o, V]], [/droid.+; (glass) \d/i], [a, [s, K], [o, V]], [/(pico) (4|neo3(?: link|pro)?)/i], [s, a, [o, V]], [/; (quest( \d| pro)?)/i], [a, [s, Je], [o, V]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [s, [o, B]], [/(aeobc)\b/i], [a, [s, H], [o, B]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [a, [o, p]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [a, [o, b]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[o, b]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[o, p]], [/(android[-\w\. ]{0,9});.+buil/i], [a, [s, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [c, [l, pe + "HTML"]], [/(arkweb)\/([\w\.]+)/i], [l, c], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [c, [l, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [l, c], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [c, l]], os: [[/microsoft (windows) (vista|xp)/i], [l, c], [/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i], [l, [c, Ce, tr]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[c, Ce, tr], [l, "Windows"]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[c, /_/g, "."], [l, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[l, rr], [c, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [c, l], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish|openharmony)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [l, c], [/\(bb(10);/i], [c, [l, X]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [c, [l, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [c, [l, ae + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [c, [l, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [c, [l, "watchOS"]], [/crkey\/([\d\.]+)/i], [c, [l, te + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[l, er], c], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux) ?([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [l, c], [/(sunos) ?([\w\.\d]*)/i], [[l, "Solaris"], c], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [l, c]] }, Z = function(x, O) {
119
- if (typeof x === I && (O = x, x = n), !(this instanceof Z))
120
- return new Z(x, O).getResult();
121
- var v = typeof r !== T && r.navigator ? r.navigator : n, M = x || (v && v.userAgent ? v.userAgent : u), oe = v && v.userAgentData ? v.userAgentData : n, J = O ? xi(or, O) : or, k = v && v.userAgent == M;
122
- return this.getBrowser = function() {
123
- var w = {};
124
- return w[l] = n, w[c] = n, Te.call(w, M, J.browser), w[U] = Ti(w[c]), k && v && v.brave && typeof v.brave.isBrave == g && (w[l] = "Brave"), w;
125
- }, this.getCPU = function() {
126
- var w = {};
127
- return w[W] = n, Te.call(w, M, J.cpu), w;
128
- }, this.getDevice = function() {
129
- var w = {};
130
- return w[s] = n, w[a] = n, w[o] = n, Te.call(w, M, J.device), k && !w[o] && oe && oe.mobile && (w[o] = p), k && w[a] == "Macintosh" && v && typeof v.standalone !== T && v.maxTouchPoints && v.maxTouchPoints > 2 && (w[a] = "iPad", w[o] = b), w;
131
- }, this.getEngine = function() {
132
- var w = {};
133
- return w[l] = n, w[c] = n, Te.call(w, M, J.engine), w;
134
- }, this.getOS = function() {
135
- var w = {};
136
- return w[l] = n, w[c] = n, Te.call(w, M, J.os), k && !w[l] && oe && oe.platform && oe.platform != "Unknown" && (w[l] = oe.platform.replace(/chrome os/i, er).replace(/macos/i, rr)), w;
137
- }, this.getResult = function() {
138
- return { ua: this.getUA(), browser: this.getBrowser(), engine: this.getEngine(), os: this.getOS(), device: this.getDevice(), cpu: this.getCPU() };
139
- }, this.getUA = function() {
140
- return M;
141
- }, this.setUA = function(w) {
142
- return M = typeof w === E && w.length > ne ? Ue(w, ne) : w, this;
143
- }, this.setUA(M), this;
144
- };
145
- Z.VERSION = t, Z.BROWSER = Pe([l, c, U]), Z.CPU = Pe([W]), Z.DEVICE = Pe([a, s, o, R, p, S, b, V, B]), Z.ENGINE = Z.OS = Pe([l, c]), i.exports && (e = i.exports = Z), e.UAParser = Z;
146
- var he = typeof r !== T && (r.jQuery || r.Zepto);
147
- if (he && !he.ua) {
148
- var Me = new Z();
149
- he.ua = Me.getResult(), he.ua.get = function() {
150
- return Me.getUA();
151
- }, he.ua.set = function(x) {
152
- Me.setUA(x);
153
- var O = Me.getResult();
154
- for (var v in O)
155
- he.ua[v] = O[v];
156
- };
157
- }
158
- })(typeof window == "object" ? window : ki);
159
- })(He, He.exports);
160
- var Ki = He.exports;
161
- Object.defineProperty(d, "__esModule", { value: !0 });
162
- function Ji(i) {
163
- return i && typeof i == "object" && "default" in i ? i.default : i;
164
- }
165
- var F = Oi, A = Ji(F), gr = Ki, le = new gr(), z = le.getBrowser(), en = le.getCPU(), q = le.getDevice(), Qe = le.getEngine(), ce = le.getOS(), Oe = le.getUA(), yr = function(e) {
166
- return le.setUA(e);
167
- }, ke = function(e) {
168
- if (!e) {
169
- console.error("No userAgent string was provided");
170
- return;
171
- }
172
- var r = new gr(e);
173
- return {
174
- UA: r,
175
- browser: r.getBrowser(),
176
- cpu: r.getCPU(),
177
- device: r.getDevice(),
178
- engine: r.getEngine(),
179
- os: r.getOS(),
180
- ua: r.getUA(),
181
- setUserAgent: function(t) {
182
- return r.setUA(t);
183
- }
184
- };
185
- }, xr = /* @__PURE__ */ Object.freeze({
186
- ClientUAInstance: le,
187
- browser: z,
188
- cpu: en,
189
- device: q,
190
- engine: Qe,
191
- os: ce,
192
- ua: Oe,
193
- setUa: yr,
194
- parseUserAgent: ke
195
- });
196
- function cr(i, e) {
197
- var r = Object.keys(i);
198
- if (Object.getOwnPropertySymbols) {
199
- var n = Object.getOwnPropertySymbols(i);
200
- e && (n = n.filter(function(t) {
201
- return Object.getOwnPropertyDescriptor(i, t).enumerable;
202
- })), r.push.apply(r, n);
203
- }
204
- return r;
205
- }
206
- function rn(i) {
207
- for (var e = 1; e < arguments.length; e++) {
208
- var r = arguments[e] != null ? arguments[e] : {};
209
- e % 2 ? cr(Object(r), !0).forEach(function(n) {
210
- an(i, n, r[n]);
211
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(i, Object.getOwnPropertyDescriptors(r)) : cr(Object(r)).forEach(function(n) {
212
- Object.defineProperty(i, n, Object.getOwnPropertyDescriptor(r, n));
213
- });
214
- }
215
- return i;
216
- }
217
- function Ee(i) {
218
- "@babel/helpers - typeof";
219
- return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Ee = function(e) {
220
- return typeof e;
221
- } : Ee = function(e) {
222
- return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
223
- }, Ee(i);
224
- }
225
- function nn(i, e) {
226
- if (!(i instanceof e))
227
- throw new TypeError("Cannot call a class as a function");
228
- }
229
- function tn(i, e) {
230
- for (var r = 0; r < e.length; r++) {
231
- var n = e[r];
232
- n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(i, n.key, n);
233
- }
234
- }
235
- function on(i, e, r) {
236
- return e && tn(i.prototype, e), i;
237
- }
238
- function an(i, e, r) {
239
- return e in i ? Object.defineProperty(i, e, {
240
- value: r,
241
- enumerable: !0,
242
- configurable: !0,
243
- writable: !0
244
- }) : i[e] = r, i;
245
- }
246
- function $e() {
247
- return $e = Object.assign || function(i) {
248
- for (var e = 1; e < arguments.length; e++) {
249
- var r = arguments[e];
250
- for (var n in r)
251
- Object.prototype.hasOwnProperty.call(r, n) && (i[n] = r[n]);
252
- }
253
- return i;
254
- }, $e.apply(this, arguments);
255
- }
256
- function sn(i, e) {
257
- if (typeof e != "function" && e !== null)
258
- throw new TypeError("Super expression must either be null or a function");
259
- i.prototype = Object.create(e && e.prototype, {
260
- constructor: {
261
- value: i,
262
- writable: !0,
263
- configurable: !0
264
- }
265
- }), e && Ye(i, e);
266
- }
267
- function qe(i) {
268
- return qe = Object.setPrototypeOf ? Object.getPrototypeOf : function(r) {
269
- return r.__proto__ || Object.getPrototypeOf(r);
270
- }, qe(i);
271
- }
272
- function Ye(i, e) {
273
- return Ye = Object.setPrototypeOf || function(n, t) {
274
- return n.__proto__ = t, n;
275
- }, Ye(i, e);
276
- }
277
- function ln(i, e) {
278
- if (i == null) return {};
279
- var r = {}, n = Object.keys(i), t, u;
280
- for (u = 0; u < n.length; u++)
281
- t = n[u], !(e.indexOf(t) >= 0) && (r[t] = i[t]);
282
- return r;
283
- }
284
- function G(i, e) {
285
- if (i == null) return {};
286
- var r = ln(i, e), n, t;
287
- if (Object.getOwnPropertySymbols) {
288
- var u = Object.getOwnPropertySymbols(i);
289
- for (t = 0; t < u.length; t++)
290
- n = u[t], !(e.indexOf(n) >= 0) && Object.prototype.propertyIsEnumerable.call(i, n) && (r[n] = i[n]);
291
- }
292
- return r;
293
- }
294
- function Ve(i) {
295
- if (i === void 0)
296
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
297
- return i;
298
- }
299
- function cn(i, e) {
300
- if (e && (typeof e == "object" || typeof e == "function"))
301
- return e;
302
- if (e !== void 0)
303
- throw new TypeError("Derived constructors may only return object or undefined");
304
- return Ve(i);
305
- }
306
- function dn(i, e) {
307
- return un(i) || pn(i, e) || mn(i, e) || bn();
308
- }
309
- function un(i) {
310
- if (Array.isArray(i)) return i;
311
- }
312
- function pn(i, e) {
313
- var r = i == null ? null : typeof Symbol < "u" && i[Symbol.iterator] || i["@@iterator"];
314
- if (r != null) {
315
- var n = [], t = !0, u = !1, h, g;
316
- try {
317
- for (r = r.call(i); !(t = (h = r.next()).done) && (n.push(h.value), !(e && n.length === e)); t = !0)
318
- ;
319
- } catch (T) {
320
- u = !0, g = T;
321
- } finally {
322
- try {
323
- !t && r.return != null && r.return();
324
- } finally {
325
- if (u) throw g;
326
- }
327
- }
328
- return n;
329
- }
330
- }
331
- function mn(i, e) {
332
- if (i) {
333
- if (typeof i == "string") return dr(i, e);
334
- var r = Object.prototype.toString.call(i).slice(8, -1);
335
- if (r === "Object" && i.constructor && (r = i.constructor.name), r === "Map" || r === "Set") return Array.from(i);
336
- if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return dr(i, e);
337
- }
338
- }
339
- function dr(i, e) {
340
- (e == null || e > i.length) && (e = i.length);
341
- for (var r = 0, n = new Array(e); r < e; r++) n[r] = i[r];
342
- return n;
343
- }
344
- function bn() {
345
- throw new TypeError(`Invalid attempt to destructure non-iterable instance.
346
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
347
- }
348
- var L = {
349
- Mobile: "mobile",
350
- Tablet: "tablet",
351
- SmartTv: "smarttv",
352
- Console: "console",
353
- Wearable: "wearable",
354
- Embedded: "embedded",
355
- Browser: void 0
356
- }, $ = {
357
- Chrome: "Chrome",
358
- Firefox: "Firefox",
359
- Opera: "Opera",
360
- Yandex: "Yandex",
361
- Safari: "Safari",
362
- InternetExplorer: "Internet Explorer",
363
- Edge: "Edge",
364
- Chromium: "Chromium",
365
- Ie: "IE",
366
- MobileSafari: "Mobile Safari",
367
- EdgeChromium: "Edge Chromium",
368
- MIUI: "MIUI Browser",
369
- SamsungBrowser: "Samsung Browser"
370
- }, ye = {
371
- IOS: "iOS",
372
- Android: "Android",
373
- WindowsPhone: "Windows Phone",
374
- Windows: "Windows",
375
- MAC_OS: "Mac OS"
376
- }, fn = {
377
- isMobile: !1,
378
- isTablet: !1,
379
- isBrowser: !1,
380
- isSmartTV: !1,
381
- isConsole: !1,
382
- isWearable: !1
383
- }, wn = function(e) {
384
- switch (e) {
385
- case L.Mobile:
386
- return {
387
- isMobile: !0
388
- };
389
- case L.Tablet:
390
- return {
391
- isTablet: !0
392
- };
393
- case L.SmartTv:
394
- return {
395
- isSmartTV: !0
396
- };
397
- case L.Console:
398
- return {
399
- isConsole: !0
400
- };
401
- case L.Wearable:
402
- return {
403
- isWearable: !0
404
- };
405
- case L.Browser:
406
- return {
407
- isBrowser: !0
408
- };
409
- case L.Embedded:
410
- return {
411
- isEmbedded: !0
412
- };
413
- default:
414
- return fn;
415
- }
416
- }, hn = function(e) {
417
- return yr(e);
418
- }, f = function(e) {
419
- var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "none";
420
- return e || r;
421
- }, Ze = function() {
422
- return typeof window < "u" && (window.navigator || navigator) ? window.navigator || navigator : !1;
423
- }, Ke = function(e) {
424
- var r = Ze();
425
- return r && r.platform && (r.platform.indexOf(e) !== -1 || r.platform === "MacIntel" && r.maxTouchPoints > 1 && !window.MSStream);
426
- }, vn = function(e, r, n, t, u) {
427
- return {
428
- isBrowser: e,
429
- browserMajorVersion: f(r.major),
430
- browserFullVersion: f(r.version),
431
- browserName: f(r.name),
432
- engineName: f(n.name),
433
- engineVersion: f(n.version),
434
- osName: f(t.name),
435
- osVersion: f(t.version),
436
- userAgent: f(u)
437
- };
438
- }, ur = function(e, r, n, t) {
439
- return rn({}, e, {
440
- vendor: f(r.vendor),
441
- model: f(r.model),
442
- os: f(n.name),
443
- osVersion: f(n.version),
444
- ua: f(t)
445
- });
446
- }, gn = function(e, r, n, t) {
447
- return {
448
- isSmartTV: e,
449
- engineName: f(r.name),
450
- engineVersion: f(r.version),
451
- osName: f(n.name),
452
- osVersion: f(n.version),
453
- userAgent: f(t)
454
- };
455
- }, yn = function(e, r, n, t) {
456
- return {
457
- isConsole: e,
458
- engineName: f(r.name),
459
- engineVersion: f(r.version),
460
- osName: f(n.name),
461
- osVersion: f(n.version),
462
- userAgent: f(t)
463
- };
464
- }, xn = function(e, r, n, t) {
465
- return {
466
- isWearable: e,
467
- engineName: f(r.name),
468
- engineVersion: f(r.version),
469
- osName: f(n.name),
470
- osVersion: f(n.version),
471
- userAgent: f(t)
472
- };
473
- }, Tn = function(e, r, n, t, u) {
474
- return {
475
- isEmbedded: e,
476
- vendor: f(r.vendor),
477
- model: f(r.model),
478
- engineName: f(n.name),
479
- engineVersion: f(n.version),
480
- osName: f(t.name),
481
- osVersion: f(t.version),
482
- userAgent: f(u)
483
- };
484
- };
485
- function En(i) {
486
- var e = i ? ke(i) : xr, r = e.device, n = e.browser, t = e.engine, u = e.os, h = e.ua, g = wn(r.type), T = g.isBrowser, I = g.isMobile, E = g.isTablet, U = g.isSmartTV, a = g.isConsole, l = g.isWearable, o = g.isEmbedded;
487
- if (T)
488
- return vn(T, n, t, u, h);
489
- if (U)
490
- return gn(U, t, u, h);
491
- if (a)
492
- return yn(a, t, u, h);
493
- if (I || E)
494
- return ur(g, r, u, h);
495
- if (l)
496
- return xn(l, t, u, h);
497
- if (o)
498
- return Tn(o, r, t, u, h);
499
- }
500
- var Tr = function(e) {
501
- var r = e.type;
502
- return r === L.Mobile;
503
- }, Er = function(e) {
504
- var r = e.type;
505
- return r === L.Tablet;
506
- }, Or = function(e) {
507
- var r = e.type;
508
- return r === L.Mobile || r === L.Tablet;
509
- }, kr = function(e) {
510
- var r = e.type;
511
- return r === L.SmartTv;
512
- }, We = function(e) {
513
- var r = e.type;
514
- return r === L.Browser;
515
- }, Sr = function(e) {
516
- var r = e.type;
517
- return r === L.Wearable;
518
- }, Pr = function(e) {
519
- var r = e.type;
520
- return r === L.Console;
521
- }, Cr = function(e) {
522
- var r = e.type;
523
- return r === L.Embedded;
524
- }, Mr = function(e) {
525
- var r = e.vendor;
526
- return f(r);
527
- }, Ar = function(e) {
528
- var r = e.model;
529
- return f(r);
530
- }, Ir = function(e) {
531
- var r = e.type;
532
- return f(r, "browser");
533
- }, Vr = function(e) {
534
- var r = e.name;
535
- return r === ye.Android;
536
- }, Nr = function(e) {
537
- var r = e.name;
538
- return r === ye.Windows;
539
- }, Wr = function(e) {
540
- var r = e.name;
541
- return r === ye.MAC_OS;
542
- }, Br = function(e) {
543
- var r = e.name;
544
- return r === ye.WindowsPhone;
545
- }, Dr = function(e) {
546
- var r = e.name;
547
- return r === ye.IOS;
548
- }, Rr = function(e) {
549
- var r = e.version;
550
- return f(r);
551
- }, Ur = function(e) {
552
- var r = e.name;
553
- return f(r);
554
- }, _r = function(e) {
555
- var r = e.name;
556
- return r === $.Chrome;
557
- }, Lr = function(e) {
558
- var r = e.name;
559
- return r === $.Firefox;
560
- }, Fr = function(e) {
561
- var r = e.name;
562
- return r === $.Chromium;
563
- }, Be = function(e) {
564
- var r = e.name;
565
- return r === $.Edge;
566
- }, zr = function(e) {
567
- var r = e.name;
568
- return r === $.Yandex;
569
- }, jr = function(e) {
570
- var r = e.name;
571
- return r === $.Safari || r === $.MobileSafari;
572
- }, Hr = function(e) {
573
- var r = e.name;
574
- return r === $.MobileSafari;
575
- }, $r = function(e) {
576
- var r = e.name;
577
- return r === $.Opera;
578
- }, qr = function(e) {
579
- var r = e.name;
580
- return r === $.InternetExplorer || r === $.Ie;
581
- }, Yr = function(e) {
582
- var r = e.name;
583
- return r === $.MIUI;
584
- }, Gr = function(e) {
585
- var r = e.name;
586
- return r === $.SamsungBrowser;
587
- }, Xr = function(e) {
588
- var r = e.version;
589
- return f(r);
590
- }, Qr = function(e) {
591
- var r = e.major;
592
- return f(r);
593
- }, Zr = function(e) {
594
- var r = e.name;
595
- return f(r);
596
- }, Kr = function(e) {
597
- var r = e.name;
598
- return f(r);
599
- }, Jr = function(e) {
600
- var r = e.version;
601
- return f(r);
602
- }, ei = function() {
603
- var e = Ze(), r = e && e.userAgent && e.userAgent.toLowerCase();
604
- return typeof r == "string" ? /electron/.test(r) : !1;
605
- }, ve = function(e) {
606
- return typeof e == "string" && e.indexOf("Edg/") !== -1;
607
- }, ri = function() {
608
- var e = Ze();
609
- return e && (/iPad|iPhone|iPod/.test(e.platform) || e.platform === "MacIntel" && e.maxTouchPoints > 1) && !window.MSStream;
610
- }, re = function() {
611
- return Ke("iPad");
612
- }, ii = function() {
613
- return Ke("iPhone");
614
- }, ni = function() {
615
- return Ke("iPod");
616
- }, ti = function(e) {
617
- return f(e);
618
- };
619
- function oi(i) {
620
- var e = i || xr, r = e.device, n = e.browser, t = e.os, u = e.engine, h = e.ua;
621
- return {
622
- isSmartTV: kr(r),
623
- isConsole: Pr(r),
624
- isWearable: Sr(r),
625
- isEmbedded: Cr(r),
626
- isMobileSafari: Hr(n) || re(),
627
- isChromium: Fr(n),
628
- isMobile: Or(r) || re(),
629
- isMobileOnly: Tr(r),
630
- isTablet: Er(r) || re(),
631
- isBrowser: We(r),
632
- isDesktop: We(r),
633
- isAndroid: Vr(t),
634
- isWinPhone: Br(t),
635
- isIOS: Dr(t) || re(),
636
- isChrome: _r(n),
637
- isFirefox: Lr(n),
638
- isSafari: jr(n),
639
- isOpera: $r(n),
640
- isIE: qr(n),
641
- osVersion: Rr(t),
642
- osName: Ur(t),
643
- fullBrowserVersion: Xr(n),
644
- browserVersion: Qr(n),
645
- browserName: Zr(n),
646
- mobileVendor: Mr(r),
647
- mobileModel: Ar(r),
648
- engineName: Kr(u),
649
- engineVersion: Jr(u),
650
- getUA: ti(h),
651
- isEdge: Be(n) || ve(h),
652
- isYandex: zr(n),
653
- deviceType: Ir(r),
654
- isIOS13: ri(),
655
- isIPad13: re(),
656
- isIPhone13: ii(),
657
- isIPod13: ni(),
658
- isElectron: ei(),
659
- isEdgeChromium: ve(h),
660
- isLegacyEdge: Be(n) && !ve(h),
661
- isWindows: Nr(t),
662
- isMacOs: Wr(t),
663
- isMIUI: Yr(n),
664
- isSamsungBrowser: Gr(n)
665
- };
666
- }
667
- var ai = kr(q), si = Pr(q), li = Sr(q), On = Cr(q), kn = Hr(z) || re(), Sn = Fr(z), De = Or(q) || re(), ci = Tr(q), di = Er(q) || re(), ui = We(q), Pn = We(q), pi = Vr(ce), mi = Br(ce), bi = Dr(ce) || re(), Cn = _r(z), Mn = Lr(z), An = jr(z), In = $r(z), fi = qr(z), Vn = Rr(ce), Nn = Ur(ce), Wn = Xr(z), Bn = Qr(z), Dn = Zr(z), Rn = Mr(q), Un = Ar(q), _n = Kr(Qe), Ln = Jr(Qe), Fn = ti(Oe), zn = Be(z) || ve(Oe), jn = zr(z), Hn = Ir(q), $n = ri(), qn = re(), Yn = ii(), Gn = ni(), Xn = ei(), Qn = ve(Oe), Zn = Be(z) && !ve(Oe), Kn = Nr(ce), Jn = Wr(ce), et = Yr(z), rt = Gr(z), it = function(e) {
668
- if (!e || typeof e != "string") {
669
- console.error("No valid user agent string was provided");
670
- return;
671
- }
672
- var r = ke(e), n = r.device, t = r.browser, u = r.os, h = r.engine, g = r.ua;
673
- return oi({
674
- device: n,
675
- browser: t,
676
- os: u,
677
- engine: h,
678
- ua: g
679
- });
680
- }, nt = function(e) {
681
- var r = e.renderWithFragment, n = e.children, t = G(e, ["renderWithFragment", "children"]);
682
- return pi ? r ? A.createElement(F.Fragment, null, n) : A.createElement("div", t, n) : null;
683
- }, tt = function(e) {
684
- var r = e.renderWithFragment, n = e.children, t = G(e, ["renderWithFragment", "children"]);
685
- return ui ? r ? A.createElement(F.Fragment, null, n) : A.createElement("div", t, n) : null;
686
- }, ot = function(e) {
687
- var r = e.renderWithFragment, n = e.children, t = G(e, ["renderWithFragment", "children"]);
688
- return fi ? r ? A.createElement(F.Fragment, null, n) : A.createElement("div", t, n) : null;
689
- }, at = function(e) {
690
- var r = e.renderWithFragment, n = e.children, t = G(e, ["renderWithFragment", "children"]);
691
- return bi ? r ? A.createElement(F.Fragment, null, n) : A.createElement("div", t, n) : null;
692
- }, st = function(e) {
693
- var r = e.renderWithFragment, n = e.children, t = G(e, ["renderWithFragment", "children"]);
694
- return De ? r ? A.createElement(F.Fragment, null, n) : A.createElement("div", t, n) : null;
695
- }, lt = function(e) {
696
- var r = e.renderWithFragment, n = e.children, t = G(e, ["renderWithFragment", "children"]);
697
- return di ? r ? A.createElement(F.Fragment, null, n) : A.createElement("div", t, n) : null;
698
- }, ct = function(e) {
699
- var r = e.renderWithFragment, n = e.children, t = G(e, ["renderWithFragment", "children"]);
700
- return mi ? r ? A.createElement(F.Fragment, null, n) : A.createElement("div", t, n) : null;
701
- }, dt = function(e) {
702
- var r = e.renderWithFragment, n = e.children;
703
- e.viewClassName, e.style;
704
- var t = G(e, ["renderWithFragment", "children", "viewClassName", "style"]);
705
- return ci ? r ? A.createElement(F.Fragment, null, n) : A.createElement("div", t, n) : null;
706
- }, ut = function(e) {
707
- var r = e.renderWithFragment, n = e.children, t = G(e, ["renderWithFragment", "children"]);
708
- return ai ? r ? A.createElement(F.Fragment, null, n) : A.createElement("div", t, n) : null;
709
- }, pt = function(e) {
710
- var r = e.renderWithFragment, n = e.children, t = G(e, ["renderWithFragment", "children"]);
711
- return si ? r ? A.createElement(F.Fragment, null, n) : A.createElement("div", t, n) : null;
712
- }, mt = function(e) {
713
- var r = e.renderWithFragment, n = e.children, t = G(e, ["renderWithFragment", "children"]);
714
- return li ? r ? A.createElement(F.Fragment, null, n) : A.createElement("div", t, n) : null;
715
- }, bt = function(e) {
716
- var r = e.renderWithFragment, n = e.children;
717
- e.viewClassName, e.style;
718
- var t = e.condition, u = G(e, ["renderWithFragment", "children", "viewClassName", "style", "condition"]);
719
- return t ? r ? A.createElement(F.Fragment, null, n) : A.createElement("div", u, n) : null;
720
- };
721
- function ft(i) {
722
- return /* @__PURE__ */ function(e) {
723
- sn(r, e);
724
- function r(n) {
725
- var t;
726
- return nn(this, r), t = cn(this, qe(r).call(this, n)), t.isEventListenerAdded = !1, t.handleOrientationChange = t.handleOrientationChange.bind(Ve(t)), t.onOrientationChange = t.onOrientationChange.bind(Ve(t)), t.onPageLoad = t.onPageLoad.bind(Ve(t)), t.state = {
727
- isLandscape: !1,
728
- isPortrait: !1
729
- }, t;
730
- }
731
- return on(r, [{
732
- key: "handleOrientationChange",
733
- value: function() {
734
- this.isEventListenerAdded || (this.isEventListenerAdded = !0);
735
- var t = window.innerWidth > window.innerHeight ? 90 : 0;
736
- this.setState({
737
- isPortrait: t === 0,
738
- isLandscape: t === 90
739
- });
740
- }
741
- }, {
742
- key: "onOrientationChange",
743
- value: function() {
744
- this.handleOrientationChange();
745
- }
746
- }, {
747
- key: "onPageLoad",
748
- value: function() {
749
- this.handleOrientationChange();
750
- }
751
- }, {
752
- key: "componentDidMount",
753
- value: function() {
754
- (typeof window > "u" ? "undefined" : Ee(window)) !== void 0 && De && (this.isEventListenerAdded ? window.removeEventListener("load", this.onPageLoad, !1) : (this.handleOrientationChange(), window.addEventListener("load", this.onPageLoad, !1)), window.addEventListener("resize", this.onOrientationChange, !1));
755
- }
756
- }, {
757
- key: "componentWillUnmount",
758
- value: function() {
759
- window.removeEventListener("resize", this.onOrientationChange, !1);
760
- }
761
- }, {
762
- key: "render",
763
- value: function() {
764
- return A.createElement(i, $e({}, this.props, {
765
- isLandscape: this.state.isLandscape,
766
- isPortrait: this.state.isPortrait
767
- }));
768
- }
769
- }]), r;
770
- }(A.Component);
771
- }
772
- function wt() {
773
- var i = F.useState(function() {
774
- var u = window.innerWidth > window.innerHeight ? 90 : 0;
775
- return {
776
- isPortrait: u === 0,
777
- isLandscape: u === 90,
778
- orientation: u === 0 ? "portrait" : "landscape"
779
- };
780
- }), e = dn(i, 2), r = e[0], n = e[1], t = F.useCallback(function() {
781
- var u = window.innerWidth > window.innerHeight ? 90 : 0, h = {
782
- isPortrait: u === 0,
783
- isLandscape: u === 90,
784
- orientation: u === 0 ? "portrait" : "landscape"
785
- };
786
- r.orientation !== h.orientation && n(h);
787
- }, [r.orientation]);
788
- return F.useEffect(function() {
789
- return (typeof window > "u" ? "undefined" : Ee(window)) !== void 0 && De && (t(), window.addEventListener("load", t, !1), window.addEventListener("resize", t, !1)), function() {
790
- window.removeEventListener("resize", t, !1), window.removeEventListener("load", t, !1);
791
- };
792
- }, [t]), r;
793
- }
794
- function wi(i) {
795
- var e = i || window.navigator.userAgent;
796
- return ke(e);
797
- }
798
- function ht(i) {
799
- var e = i || window.navigator.userAgent, r = wi(e), n = oi(r);
800
- return [n, r];
801
- }
802
- d.AndroidView = nt;
803
- d.BrowserTypes = $;
804
- d.BrowserView = tt;
805
- d.ConsoleView = pt;
806
- d.CustomView = bt;
807
- d.IEView = ot;
808
- d.IOSView = at;
809
- d.MobileOnlyView = dt;
810
- d.MobileView = st;
811
- d.OsTypes = ye;
812
- d.SmartTVView = ut;
813
- d.TabletView = lt;
814
- d.WearableView = mt;
815
- d.WinPhoneView = ct;
816
- d.browserName = Dn;
817
- d.browserVersion = Bn;
818
- d.deviceDetect = En;
819
- d.deviceType = Hn;
820
- d.engineName = _n;
821
- d.engineVersion = Ln;
822
- d.fullBrowserVersion = Wn;
823
- d.getSelectorsByUserAgent = it;
824
- d.getUA = Fn;
825
- d.isAndroid = pi;
826
- d.isBrowser = ui;
827
- d.isChrome = Cn;
828
- d.isChromium = Sn;
829
- d.isConsole = si;
830
- d.isDesktop = Pn;
831
- d.isEdge = zn;
832
- d.isEdgeChromium = Qn;
833
- d.isElectron = Xn;
834
- d.isEmbedded = On;
835
- d.isFirefox = Mn;
836
- d.isIE = fi;
837
- d.isIOS = bi;
838
- d.isIOS13 = $n;
839
- d.isIPad13 = qn;
840
- d.isIPhone13 = Yn;
841
- d.isIPod13 = Gn;
842
- d.isLegacyEdge = Zn;
843
- d.isMIUI = et;
844
- d.isMacOs = Jn;
845
- d.isMobile = De;
846
- var vt = d.isMobileOnly = ci;
847
- d.isMobileSafari = kn;
848
- d.isOpera = In;
849
- d.isSafari = An;
850
- d.isSamsungBrowser = rt;
851
- d.isSmartTV = ai;
852
- var gt = d.isTablet = di;
853
- d.isWearable = li;
854
- d.isWinPhone = mi;
855
- d.isWindows = Kn;
856
- d.isYandex = jn;
857
- d.mobileModel = Un;
858
- d.mobileVendor = Rn;
859
- d.osName = Nn;
860
- d.osVersion = Vn;
861
- d.parseUserAgent = ke;
862
- d.setUserAgent = hn;
863
- d.useDeviceData = wi;
864
- d.useDeviceSelectors = ht;
865
- d.useMobileOrientation = wt;
866
- d.withOrientationChange = ft;
867
- function yt(i, e, r) {
868
- const n = e.getBoundingClientRect(), t = r && r.getBoundingClientRect(), u = hr(e);
869
- let h;
870
- if (e.fakeTransform)
871
- h = e.fakeTransform;
79
+ function co(e, o, r) {
80
+ const t = o.getBoundingClientRect(), c = r && r.getBoundingClientRect(), f = ke(o);
81
+ let u;
82
+ if (o.fakeTransform)
83
+ u = o.fakeTransform;
872
84
  else {
873
- const I = u.getComputedStyle(e);
874
- h = I.getPropertyValue("-webkit-transform") || I.getPropertyValue("transform");
85
+ const m = f.getComputedStyle(o);
86
+ u = m.getPropertyValue("-webkit-transform") || m.getPropertyValue("transform");
875
87
  }
876
- let g = 0, T = 0;
877
- if (h && h !== "none" && typeof h == "string") {
878
- const I = h.split("(")[1].split(")")[0].split(",");
879
- g = parseInt(I[4], 10), T = parseInt(I[5], 10);
88
+ let h = 0, l = 0;
89
+ if (u && u !== "none" && typeof u == "string") {
90
+ const m = u.split("(")[1].split(")")[0].split(",");
91
+ h = parseInt(m[4], 10), l = parseInt(m[5], 10);
880
92
  }
881
- return i === "left" ? t ? `translateX(${t.right + g - n.left}px)` : `translateX(${u.innerWidth + g - n.left}px)` : i === "right" ? t ? `translateX(-${n.right - t.left - g}px)` : `translateX(-${n.left + n.width - g}px)` : i === "up" ? t ? `translateY(${t.bottom + T - n.top}px)` : `translateY(${u.innerHeight + T - n.top}px)` : t ? `translateY(-${n.top - t.top + n.height - T}px)` : `translateY(-${n.top + n.height - T}px)`;
93
+ return e === "left" ? c ? `translateX(${c.right + h - t.left}px)` : `translateX(${f.innerWidth + h - t.left}px)` : e === "right" ? c ? `translateX(-${t.right - c.left - h}px)` : `translateX(-${t.left + t.width - h}px)` : e === "up" ? c ? `translateY(${c.bottom + l - t.top}px)` : `translateY(${f.innerHeight + l - t.top}px)` : c ? `translateY(-${t.top - c.top + t.height - l}px)` : `translateY(-${t.top + t.height - l}px)`;
882
94
  }
883
- function hi(i) {
884
- return typeof i == "function" ? i() : i;
95
+ function Te(e) {
96
+ return typeof e == "function" ? e() : e;
885
97
  }
886
- function Ie(i, e, r) {
887
- const n = hi(r), t = yt(i, e, n);
888
- t && (e.style.webkitTransform = t, e.style.transform = t);
98
+ function J(e, o, r) {
99
+ const t = Te(r), c = co(e, o, t);
100
+ c && (o.style.webkitTransform = c, o.style.transform = c);
889
101
  }
890
- const vi = /* @__PURE__ */ j.forwardRef(function(e, r) {
891
- const n = fr(), t = {
892
- enter: n.transitions.easing.easeOut,
893
- exit: n.transitions.easing.sharp
894
- }, u = {
895
- enter: n.transitions.duration.enteringScreen,
896
- exit: n.transitions.duration.leavingScreen
102
+ const $e = /* @__PURE__ */ w.forwardRef(function(o, r) {
103
+ const t = we(), c = {
104
+ enter: t.transitions.easing.easeOut,
105
+ exit: t.transitions.easing.sharp
106
+ }, f = {
107
+ enter: t.transitions.duration.enteringScreen,
108
+ exit: t.transitions.duration.leavingScreen
897
109
  }, {
898
- addEndListener: h,
899
- appear: g = !0,
900
- children: T,
901
- container: I,
902
- direction: E = "down",
903
- easing: U = t,
904
- in: a,
905
- onEnter: l,
906
- onEntered: o,
907
- onEntering: s,
908
- onExit: c,
909
- onExited: W,
910
- onExiting: R,
911
- style: p,
912
- timeout: b = u,
110
+ addEndListener: u,
111
+ appear: h = !0,
112
+ children: l,
113
+ container: m,
114
+ direction: p = "down",
115
+ easing: M = c,
116
+ in: k,
117
+ onEnter: B,
118
+ onEntered: L,
119
+ onEntering: N,
120
+ onExit: C,
121
+ onExited: R,
122
+ onExiting: O,
123
+ style: I,
124
+ timeout: S = f,
913
125
  // eslint-disable-next-line react/prop-types
914
- TransitionComponent: S = Ui,
915
- ...V
916
- } = e, B = j.useRef(null), ne = Gi(Ri(T), B, r), H = (y) => (N) => {
917
- y && (N === void 0 ? y(B.current) : y(B.current, N));
918
- }, D = H((y, N) => {
919
- Ie(E, y, I), _i(y), l && l(y, N);
920
- }), _ = H((y, N) => {
921
- const se = sr({
922
- timeout: b,
923
- style: p,
924
- easing: U
126
+ TransitionComponent: g = Ye,
127
+ ...v
128
+ } = o, b = w.useRef(null), D = no(Qe(l), b, r), x = (s) => (d) => {
129
+ s && (d === void 0 ? s(b.current) : s(b.current, d));
130
+ }, T = x((s, d) => {
131
+ J(p, s, m), _e(s), B && B(s, d);
132
+ }), $ = x((s, d) => {
133
+ const Q = ue({
134
+ timeout: S,
135
+ style: I,
136
+ easing: M
925
137
  }, {
926
138
  mode: "enter"
927
139
  });
928
- y.style.webkitTransition = n.transitions.create("-webkit-transform", {
929
- ...se
930
- }), y.style.transition = n.transitions.create("transform", {
931
- ...se
932
- }), y.style.webkitTransform = "none", y.style.transform = "none", s && s(y, N);
933
- }), X = H(o), Y = H(R), te = H((y) => {
934
- const N = sr({
935
- timeout: b,
936
- style: p,
937
- easing: U
140
+ s.style.webkitTransition = t.transitions.create("-webkit-transform", {
141
+ ...Q
142
+ }), s.style.transition = t.transitions.create("transform", {
143
+ ...Q
144
+ }), s.style.webkitTransform = "none", s.style.transform = "none", N && N(s, d);
145
+ }), A = x(L), j = x(O), z = x((s) => {
146
+ const d = ue({
147
+ timeout: S,
148
+ style: I,
149
+ easing: M
938
150
  }, {
939
151
  mode: "exit"
940
152
  });
941
- y.style.webkitTransition = n.transitions.create("-webkit-transform", N), y.style.transition = n.transitions.create("transform", N), Ie(E, y, I), c && c(y);
942
- }), pe = H((y) => {
943
- y.style.webkitTransition = "", y.style.transition = "", W && W(y);
944
- }), ae = (y) => {
945
- h && h(B.current, y);
946
- }, K = j.useCallback(() => {
947
- B.current && Ie(E, B.current, I);
948
- }, [E, I]);
949
- return j.useEffect(() => {
950
- if (a || E === "down" || E === "right")
153
+ s.style.webkitTransition = t.transitions.create("-webkit-transform", d), s.style.transition = t.transitions.create("transform", d), J(p, s, m), C && C(s);
154
+ }), W = x((s) => {
155
+ s.style.webkitTransition = "", s.style.transition = "", R && R(s);
156
+ }), U = (s) => {
157
+ u && u(b.current, s);
158
+ }, X = w.useCallback(() => {
159
+ b.current && J(p, b.current, m);
160
+ }, [p, m]);
161
+ return w.useEffect(() => {
162
+ if (k || p === "down" || p === "right")
951
163
  return;
952
- const y = zi(() => {
953
- B.current && Ie(E, B.current, I);
954
- }), N = hr(B.current);
955
- return N.addEventListener("resize", y), () => {
956
- y.clear(), N.removeEventListener("resize", y);
164
+ const s = Ze(() => {
165
+ b.current && J(p, b.current, m);
166
+ }), d = ke(b.current);
167
+ return d.addEventListener("resize", s), () => {
168
+ s.clear(), d.removeEventListener("resize", s);
957
169
  };
958
- }, [E, a, I]), j.useEffect(() => {
959
- a || K();
960
- }, [a, K]), /* @__PURE__ */ C(S, {
961
- nodeRef: B,
962
- onEnter: D,
963
- onEntered: X,
964
- onEntering: _,
965
- onExit: te,
966
- onExited: pe,
967
- onExiting: Y,
968
- addEndListener: ae,
969
- appear: g,
970
- in: a,
971
- timeout: b,
972
- ...V,
973
- children: (y, N) => /* @__PURE__ */ j.cloneElement(T, {
974
- ref: ne,
170
+ }, [p, k, m]), w.useEffect(() => {
171
+ k || X();
172
+ }, [k, X]), /* @__PURE__ */ a(g, {
173
+ nodeRef: b,
174
+ onEnter: T,
175
+ onEntered: A,
176
+ onEntering: $,
177
+ onExit: z,
178
+ onExited: W,
179
+ onExiting: j,
180
+ addEndListener: U,
181
+ appear: h,
182
+ in: k,
183
+ timeout: S,
184
+ ...v,
185
+ children: (s, d) => /* @__PURE__ */ w.cloneElement(l, {
186
+ ref: D,
975
187
  style: {
976
- visibility: y === "exited" && !a ? "hidden" : void 0,
977
- ...p,
978
- ...T.props.style
188
+ visibility: s === "exited" && !k ? "hidden" : void 0,
189
+ ...I,
190
+ ...l.props.style
979
191
  },
980
- ...N
192
+ ...d
981
193
  })
982
194
  });
983
195
  });
984
- process.env.NODE_ENV !== "production" && (vi.propTypes = {
196
+ process.env.NODE_ENV !== "production" && ($e.propTypes = {
985
197
  // ┌────────────────────────────── Warning ──────────────────────────────┐
986
198
  // │ These PropTypes are generated from the TypeScript type definitions. │
987
199
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -991,30 +203,30 @@ process.env.NODE_ENV !== "production" && (vi.propTypes = {
991
203
  * node and a done callback. Allows for more fine grained transition end
992
204
  * logic. Note: Timeouts are still used as a fallback if provided.
993
205
  */
994
- addEndListener: m.func,
206
+ addEndListener: n.func,
995
207
  /**
996
208
  * Perform the enter transition when it first mounts if `in` is also `true`.
997
209
  * Set this to `false` to disable this behavior.
998
210
  * @default true
999
211
  */
1000
- appear: m.bool,
212
+ appear: n.bool,
1001
213
  /**
1002
214
  * A single child content element.
1003
215
  */
1004
- children: Bi.isRequired,
216
+ children: Xe.isRequired,
1005
217
  /**
1006
218
  * An HTML element, or a function that returns one.
1007
219
  * It's used to set the container the Slide is transitioning from.
1008
220
  */
1009
- container: qi(m.oneOfType([Di, m.func]), (i) => {
1010
- if (i.open) {
1011
- const e = hi(i.container);
1012
- if (e && e.nodeType === 1) {
1013
- const r = e.getBoundingClientRect();
221
+ container: to(n.oneOfType([Ge, n.func]), (e) => {
222
+ if (e.open) {
223
+ const o = Te(e.container);
224
+ if (o && o.nodeType === 1) {
225
+ const r = o.getBoundingClientRect();
1014
226
  if (process.env.NODE_ENV !== "test" && r.top === 0 && r.left === 0 && r.right === 0 && r.bottom === 0)
1015
227
  return new Error(["MUI: The `container` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
1016
228
  `));
1017
- } else if (!e || typeof e.getBoundingClientRect != "function" || e.contextElement != null && e.contextElement.nodeType !== 1)
229
+ } else if (!o || typeof o.getBoundingClientRect != "function" || o.contextElement != null && o.contextElement.nodeType !== 1)
1018
230
  return new Error(["MUI: The `container` prop provided to the component is invalid.", "It should be an HTML element instance."].join(`
1019
231
  `));
1020
232
  }
@@ -1024,7 +236,7 @@ process.env.NODE_ENV !== "production" && (vi.propTypes = {
1024
236
  * Direction the child node will enter from.
1025
237
  * @default 'down'
1026
238
  */
1027
- direction: m.oneOf(["down", "left", "right", "up"]),
239
+ direction: n.oneOf(["down", "left", "right", "up"]),
1028
240
  /**
1029
241
  * The transition timing function.
1030
242
  * You may specify a single easing or a object containing enter and exit values.
@@ -1033,42 +245,42 @@ process.env.NODE_ENV !== "production" && (vi.propTypes = {
1033
245
  * exit: theme.transitions.easing.sharp,
1034
246
  * }
1035
247
  */
1036
- easing: m.oneOfType([m.shape({
1037
- enter: m.string,
1038
- exit: m.string
1039
- }), m.string]),
248
+ easing: n.oneOfType([n.shape({
249
+ enter: n.string,
250
+ exit: n.string
251
+ }), n.string]),
1040
252
  /**
1041
253
  * If `true`, the component will transition in.
1042
254
  */
1043
- in: m.bool,
255
+ in: n.bool,
1044
256
  /**
1045
257
  * @ignore
1046
258
  */
1047
- onEnter: m.func,
259
+ onEnter: n.func,
1048
260
  /**
1049
261
  * @ignore
1050
262
  */
1051
- onEntered: m.func,
263
+ onEntered: n.func,
1052
264
  /**
1053
265
  * @ignore
1054
266
  */
1055
- onEntering: m.func,
267
+ onEntering: n.func,
1056
268
  /**
1057
269
  * @ignore
1058
270
  */
1059
- onExit: m.func,
271
+ onExit: n.func,
1060
272
  /**
1061
273
  * @ignore
1062
274
  */
1063
- onExited: m.func,
275
+ onExited: n.func,
1064
276
  /**
1065
277
  * @ignore
1066
278
  */
1067
- onExiting: m.func,
279
+ onExiting: n.func,
1068
280
  /**
1069
281
  * @ignore
1070
282
  */
1071
- style: m.object,
283
+ style: n.object,
1072
284
  /**
1073
285
  * The duration for the transition, in milliseconds.
1074
286
  * You may specify a single timeout for all transitions, or individually with an object.
@@ -1077,67 +289,67 @@ process.env.NODE_ENV !== "production" && (vi.propTypes = {
1077
289
  * exit: theme.transitions.duration.leavingScreen,
1078
290
  * }
1079
291
  */
1080
- timeout: m.oneOfType([m.number, m.shape({
1081
- appear: m.number,
1082
- enter: m.number,
1083
- exit: m.number
292
+ timeout: n.oneOfType([n.number, n.shape({
293
+ appear: n.number,
294
+ enter: n.number,
295
+ exit: n.number
1084
296
  })])
1085
297
  });
1086
- function xt(i) {
1087
- return Si("MuiDrawer", i);
298
+ function lo(e) {
299
+ return Ae("MuiDrawer", e);
1088
300
  }
1089
- Pi("MuiDrawer", ["root", "docked", "paper", "paperAnchorLeft", "paperAnchorRight", "paperAnchorTop", "paperAnchorBottom", "paperAnchorDockedLeft", "paperAnchorDockedRight", "paperAnchorDockedTop", "paperAnchorDockedBottom", "modal"]);
1090
- const gi = (i, e) => {
301
+ je("MuiDrawer", ["root", "docked", "paper", "paperAnchorLeft", "paperAnchorRight", "paperAnchorTop", "paperAnchorBottom", "paperAnchorDockedLeft", "paperAnchorDockedRight", "paperAnchorDockedTop", "paperAnchorDockedBottom", "modal"]);
302
+ const Ee = (e, o) => {
1091
303
  const {
1092
304
  ownerState: r
1093
- } = i;
1094
- return [e.root, (r.variant === "permanent" || r.variant === "persistent") && e.docked, e.modal];
1095
- }, Tt = (i) => {
305
+ } = e;
306
+ return [o.root, (r.variant === "permanent" || r.variant === "persistent") && o.docked, o.modal];
307
+ }, po = (e) => {
1096
308
  const {
1097
- classes: e,
309
+ classes: o,
1098
310
  anchor: r,
1099
- variant: n
1100
- } = i, t = {
311
+ variant: t
312
+ } = e, c = {
1101
313
  root: ["root"],
1102
- docked: [(n === "permanent" || n === "persistent") && "docked"],
314
+ docked: [(t === "permanent" || t === "persistent") && "docked"],
1103
315
  modal: ["modal"],
1104
- paper: ["paper", `paperAnchor${Ne(r)}`, n !== "temporary" && `paperAnchorDocked${Ne(r)}`]
316
+ paper: ["paper", `paperAnchor${Z(r)}`, t !== "temporary" && `paperAnchorDocked${Z(r)}`]
1105
317
  };
1106
- return Ai(t, xt, e);
1107
- }, Et = Ge(ji, {
318
+ return Fe(c, lo, o);
319
+ }, ho = ae(qe, {
1108
320
  name: "MuiDrawer",
1109
321
  slot: "Root",
1110
- overridesResolver: gi
1111
- })(wr(({
1112
- theme: i
322
+ overridesResolver: Ee
323
+ })(ye(({
324
+ theme: e
1113
325
  }) => ({
1114
- zIndex: (i.vars || i).zIndex.drawer
1115
- }))), pr = Ge("div", {
1116
- shouldForwardProp: Ci,
326
+ zIndex: (e.vars || e).zIndex.drawer
327
+ }))), me = ae("div", {
328
+ shouldForwardProp: Ue,
1117
329
  name: "MuiDrawer",
1118
330
  slot: "Docked",
1119
331
  skipVariantsResolver: !1,
1120
- overridesResolver: gi
332
+ overridesResolver: Ee
1121
333
  })({
1122
334
  flex: "0 0 auto"
1123
- }), Ot = Ge(Hi, {
335
+ }), uo = ae(eo, {
1124
336
  name: "MuiDrawer",
1125
337
  slot: "Paper",
1126
- overridesResolver: (i, e) => {
338
+ overridesResolver: (e, o) => {
1127
339
  const {
1128
340
  ownerState: r
1129
- } = i;
1130
- return [e.paper, e[`paperAnchor${Ne(r.anchor)}`], r.variant !== "temporary" && e[`paperAnchorDocked${Ne(r.anchor)}`]];
341
+ } = e;
342
+ return [o.paper, o[`paperAnchor${Z(r.anchor)}`], r.variant !== "temporary" && o[`paperAnchorDocked${Z(r.anchor)}`]];
1131
343
  }
1132
- })(wr(({
1133
- theme: i
344
+ })(ye(({
345
+ theme: e
1134
346
  }) => ({
1135
347
  overflowY: "auto",
1136
348
  display: "flex",
1137
349
  flexDirection: "column",
1138
350
  height: "100%",
1139
351
  flex: "1 0 auto",
1140
- zIndex: (i.vars || i).zIndex.drawer,
352
+ zIndex: (e.vars || e).zIndex.drawer,
1141
353
  // Add iOS momentum scrolling for iOS < 13.0
1142
354
  WebkitOverflowScrolling: "touch",
1143
355
  // temporary style
@@ -1186,135 +398,135 @@ const gi = (i, e) => {
1186
398
  }
1187
399
  }, {
1188
400
  props: ({
1189
- ownerState: e
1190
- }) => e.anchor === "left" && e.variant !== "temporary",
401
+ ownerState: o
402
+ }) => o.anchor === "left" && o.variant !== "temporary",
1191
403
  style: {
1192
- borderRight: `1px solid ${(i.vars || i).palette.divider}`
404
+ borderRight: `1px solid ${(e.vars || e).palette.divider}`
1193
405
  }
1194
406
  }, {
1195
407
  props: ({
1196
- ownerState: e
1197
- }) => e.anchor === "top" && e.variant !== "temporary",
408
+ ownerState: o
409
+ }) => o.anchor === "top" && o.variant !== "temporary",
1198
410
  style: {
1199
- borderBottom: `1px solid ${(i.vars || i).palette.divider}`
411
+ borderBottom: `1px solid ${(e.vars || e).palette.divider}`
1200
412
  }
1201
413
  }, {
1202
414
  props: ({
1203
- ownerState: e
1204
- }) => e.anchor === "right" && e.variant !== "temporary",
415
+ ownerState: o
416
+ }) => o.anchor === "right" && o.variant !== "temporary",
1205
417
  style: {
1206
- borderLeft: `1px solid ${(i.vars || i).palette.divider}`
418
+ borderLeft: `1px solid ${(e.vars || e).palette.divider}`
1207
419
  }
1208
420
  }, {
1209
421
  props: ({
1210
- ownerState: e
1211
- }) => e.anchor === "bottom" && e.variant !== "temporary",
422
+ ownerState: o
423
+ }) => o.anchor === "bottom" && o.variant !== "temporary",
1212
424
  style: {
1213
- borderTop: `1px solid ${(i.vars || i).palette.divider}`
425
+ borderTop: `1px solid ${(e.vars || e).palette.divider}`
1214
426
  }
1215
427
  }]
1216
- }))), yi = {
428
+ }))), Pe = {
1217
429
  left: "right",
1218
430
  right: "left",
1219
431
  top: "down",
1220
432
  bottom: "up"
1221
433
  };
1222
- function kt(i) {
1223
- return ["left", "right"].includes(i);
434
+ function fo(e) {
435
+ return ["left", "right"].includes(e);
1224
436
  }
1225
- function St({
1226
- direction: i
1227
- }, e) {
1228
- return i === "rtl" && kt(e) ? yi[e] : e;
437
+ function mo({
438
+ direction: e
439
+ }, o) {
440
+ return e === "rtl" && fo(o) ? Pe[o] : o;
1229
441
  }
1230
- const Re = /* @__PURE__ */ j.forwardRef(function(e, r) {
1231
- const n = Mi({
1232
- props: e,
442
+ const F = /* @__PURE__ */ w.forwardRef(function(o, r) {
443
+ const t = Ve({
444
+ props: o,
1233
445
  name: "MuiDrawer"
1234
- }), t = fr(), u = Li(), h = {
1235
- enter: t.transitions.duration.enteringScreen,
1236
- exit: t.transitions.duration.leavingScreen
446
+ }), c = we(), f = Je(), u = {
447
+ enter: c.transitions.duration.enteringScreen,
448
+ exit: c.transitions.duration.leavingScreen
1237
449
  }, {
1238
- anchor: g = "left",
1239
- BackdropProps: T,
1240
- children: I,
1241
- className: E,
1242
- elevation: U = 16,
1243
- hideBackdrop: a = !1,
450
+ anchor: h = "left",
451
+ BackdropProps: l,
452
+ children: m,
453
+ className: p,
454
+ elevation: M = 16,
455
+ hideBackdrop: k = !1,
1244
456
  ModalProps: {
1245
- BackdropProps: l,
1246
- ...o
457
+ BackdropProps: B,
458
+ ...L
1247
459
  } = {},
1248
- onClose: s,
1249
- open: c = !1,
1250
- PaperProps: W = {},
1251
- SlideProps: R,
460
+ onClose: N,
461
+ open: C = !1,
462
+ PaperProps: R = {},
463
+ SlideProps: O,
1252
464
  // eslint-disable-next-line react/prop-types
1253
- TransitionComponent: p = vi,
1254
- transitionDuration: b = h,
1255
- variant: S = "temporary",
1256
- ...V
1257
- } = n, B = j.useRef(!1);
1258
- j.useEffect(() => {
1259
- B.current = !0;
465
+ TransitionComponent: I = $e,
466
+ transitionDuration: S = u,
467
+ variant: g = "temporary",
468
+ ...v
469
+ } = t, b = w.useRef(!1);
470
+ w.useEffect(() => {
471
+ b.current = !0;
1260
472
  }, []);
1261
- const ne = St({
1262
- direction: u ? "rtl" : "ltr"
1263
- }, g), D = {
1264
- ...n,
1265
- anchor: g,
1266
- elevation: U,
1267
- open: c,
1268
- variant: S,
1269
- ...V
1270
- }, _ = Tt(D), X = /* @__PURE__ */ C(Ot, {
1271
- elevation: S === "temporary" ? U : 0,
473
+ const D = mo({
474
+ direction: f ? "rtl" : "ltr"
475
+ }, h), T = {
476
+ ...t,
477
+ anchor: h,
478
+ elevation: M,
479
+ open: C,
480
+ variant: g,
481
+ ...v
482
+ }, $ = po(T), A = /* @__PURE__ */ a(uo, {
483
+ elevation: g === "temporary" ? M : 0,
1272
484
  square: !0,
1273
- ...W,
1274
- className: Ae(_.paper, W.className),
1275
- ownerState: D,
1276
- children: I
485
+ ...R,
486
+ className: _($.paper, R.className),
487
+ ownerState: T,
488
+ children: m
1277
489
  });
1278
- if (S === "permanent")
1279
- return /* @__PURE__ */ C(pr, {
1280
- className: Ae(_.root, _.docked, E),
1281
- ownerState: D,
490
+ if (g === "permanent")
491
+ return /* @__PURE__ */ a(me, {
492
+ className: _($.root, $.docked, p),
493
+ ownerState: T,
1282
494
  ref: r,
1283
- ...V,
1284
- children: X
495
+ ...v,
496
+ children: A
1285
497
  });
1286
- const Y = /* @__PURE__ */ C(p, {
1287
- in: c,
1288
- direction: yi[ne],
1289
- timeout: b,
1290
- appear: B.current,
1291
- ...R,
1292
- children: X
498
+ const j = /* @__PURE__ */ a(I, {
499
+ in: C,
500
+ direction: Pe[D],
501
+ timeout: S,
502
+ appear: b.current,
503
+ ...O,
504
+ children: A
1293
505
  });
1294
- return S === "persistent" ? /* @__PURE__ */ C(pr, {
1295
- className: Ae(_.root, _.docked, E),
1296
- ownerState: D,
506
+ return g === "persistent" ? /* @__PURE__ */ a(me, {
507
+ className: _($.root, $.docked, p),
508
+ ownerState: T,
1297
509
  ref: r,
1298
- ...V,
1299
- children: Y
1300
- }) : /* @__PURE__ */ C(Et, {
510
+ ...v,
511
+ children: j
512
+ }) : /* @__PURE__ */ a(ho, {
1301
513
  BackdropProps: {
1302
- ...T,
1303
514
  ...l,
1304
- transitionDuration: b
515
+ ...B,
516
+ transitionDuration: S
1305
517
  },
1306
- className: Ae(_.root, _.modal, E),
1307
- open: c,
1308
- ownerState: D,
1309
- onClose: s,
1310
- hideBackdrop: a,
518
+ className: _($.root, $.modal, p),
519
+ open: C,
520
+ ownerState: T,
521
+ onClose: N,
522
+ hideBackdrop: k,
1311
523
  ref: r,
1312
- ...V,
1313
- ...o,
1314
- children: Y
524
+ ...v,
525
+ ...L,
526
+ children: j
1315
527
  });
1316
528
  });
1317
- process.env.NODE_ENV !== "production" && (Re.propTypes = {
529
+ process.env.NODE_ENV !== "production" && (F.propTypes = {
1318
530
  // ┌────────────────────────────── Warning ──────────────────────────────┐
1319
531
  // │ These PropTypes are generated from the TypeScript type definitions. │
1320
532
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -1323,38 +535,38 @@ process.env.NODE_ENV !== "production" && (Re.propTypes = {
1323
535
  * Side from which the drawer will appear.
1324
536
  * @default 'left'
1325
537
  */
1326
- anchor: m.oneOf(["bottom", "left", "right", "top"]),
538
+ anchor: n.oneOf(["bottom", "left", "right", "top"]),
1327
539
  /**
1328
540
  * @ignore
1329
541
  */
1330
- BackdropProps: m.object,
542
+ BackdropProps: n.object,
1331
543
  /**
1332
544
  * The content of the component.
1333
545
  */
1334
- children: m.node,
546
+ children: n.node,
1335
547
  /**
1336
548
  * Override or extend the styles applied to the component.
1337
549
  */
1338
- classes: m.object,
550
+ classes: n.object,
1339
551
  /**
1340
552
  * @ignore
1341
553
  */
1342
- className: m.string,
554
+ className: n.string,
1343
555
  /**
1344
556
  * The elevation of the drawer.
1345
557
  * @default 16
1346
558
  */
1347
- elevation: $i,
559
+ elevation: oo,
1348
560
  /**
1349
561
  * If `true`, the backdrop is not rendered.
1350
562
  * @default false
1351
563
  */
1352
- hideBackdrop: m.bool,
564
+ hideBackdrop: n.bool,
1353
565
  /**
1354
566
  * Props applied to the [`Modal`](https://mui.com/material-ui/api/modal/) element.
1355
567
  * @default {}
1356
568
  */
1357
- ModalProps: m.object,
569
+ ModalProps: n.object,
1358
570
  /**
1359
571
  * Callback fired when the component requests to be closed.
1360
572
  * The `reason` parameter can optionally be used to control the response to `onClose`.
@@ -1362,25 +574,25 @@ process.env.NODE_ENV !== "production" && (Re.propTypes = {
1362
574
  * @param {object} event The event source of the callback.
1363
575
  * @param {string} reason Can be: `"escapeKeyDown"`, `"backdropClick"`.
1364
576
  */
1365
- onClose: m.func,
577
+ onClose: n.func,
1366
578
  /**
1367
579
  * If `true`, the component is shown.
1368
580
  * @default false
1369
581
  */
1370
- open: m.bool,
582
+ open: n.bool,
1371
583
  /**
1372
584
  * Props applied to the [`Paper`](https://mui.com/material-ui/api/paper/) element.
1373
585
  * @default {}
1374
586
  */
1375
- PaperProps: m.object,
587
+ PaperProps: n.object,
1376
588
  /**
1377
589
  * Props applied to the [`Slide`](https://mui.com/material-ui/api/slide/) element.
1378
590
  */
1379
- SlideProps: m.object,
591
+ SlideProps: n.object,
1380
592
  /**
1381
593
  * The system prop that allows defining system overrides as well as additional CSS styles.
1382
594
  */
1383
- sx: m.oneOfType([m.arrayOf(m.oneOfType([m.func, m.object, m.bool])), m.func, m.object]),
595
+ sx: n.oneOfType([n.arrayOf(n.oneOfType([n.func, n.object, n.bool])), n.func, n.object]),
1384
596
  /**
1385
597
  * The duration for the transition, in milliseconds.
1386
598
  * You may specify a single timeout for all transitions, or individually with an object.
@@ -1389,97 +601,105 @@ process.env.NODE_ENV !== "production" && (Re.propTypes = {
1389
601
  * exit: theme.transitions.duration.leavingScreen,
1390
602
  * }
1391
603
  */
1392
- transitionDuration: m.oneOfType([m.number, m.shape({
1393
- appear: m.number,
1394
- enter: m.number,
1395
- exit: m.number
604
+ transitionDuration: n.oneOfType([n.number, n.shape({
605
+ appear: n.number,
606
+ enter: n.number,
607
+ exit: n.number
1396
608
  })]),
1397
609
  /**
1398
610
  * The variant to use.
1399
611
  * @default 'temporary'
1400
612
  */
1401
- variant: m.oneOf(["permanent", "persistent", "temporary"])
613
+ variant: n.oneOf(["permanent", "persistent", "temporary"])
1402
614
  });
1403
- const Pt = Xe(/* @__PURE__ */ C("path", {
615
+ const ge = q(/* @__PURE__ */ a("path", {
1404
616
  d: "m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"
1405
- }), "ArrowForward"), Ct = Xe(/* @__PURE__ */ C("path", {
617
+ }), "ArrowForward"), go = q(/* @__PURE__ */ a("path", {
1406
618
  d: "m17 7-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4z"
1407
- }), "Logout"), mr = Xe(/* @__PURE__ */ C("path", {
619
+ }), "Logout"), be = q(/* @__PURE__ */ a("path", {
1408
620
  d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z"
1409
- }), "Cancel"), Mt = ie("div")(({ backgroundColor: i }) => ({
621
+ }), "Cancel"), bo = q(/* @__PURE__ */ a("path", {
622
+ d: "M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"
623
+ }), "MoreHoriz"), xo = y("div", {
624
+ shouldForwardProp: (e) => ee(e)
625
+ })(({ backgroundColor: e }) => ({
1410
626
  display: "flex",
1411
627
  flexDirection: "column",
1412
628
  width: "100vw",
1413
629
  position: "relative",
1414
- backgroundColor: i,
630
+ backgroundColor: e,
1415
631
  height: "100vh",
1416
632
  fontFamily: "Roboto, sans-serif",
1417
633
  overflow: "hidden"
1418
- })), At = ie("div")(({ tabletPadding: i }) => ({
1419
- display: "flex",
1420
- flexDirection: "row",
1421
- justifyContent: "flex-start",
1422
- alignItems: "flex-start",
1423
- width: "100%",
1424
- padding: "0 2px 4px",
1425
- paddingLeft: i ? "2px" : 0,
1426
- boxSizing: "border-box",
1427
- minHeight: `calc(100% - ${P.constants.appHeaderHeight}px)`
1428
- })), It = ie("div")(({ withActionsPanel: i, tablet: e, borderColor: r, backgroundColor: n }) => ({
634
+ })), vo = y("div")(
635
+ ({ tabletPadding: e, mobile: o }) => ({
636
+ display: "flex",
637
+ flexDirection: o ? "column-reverse" : "row",
638
+ justifyContent: "flex-start",
639
+ alignItems: "flex-start",
640
+ width: "100%",
641
+ padding: o ? 0 : "0 2px 4px",
642
+ paddingLeft: e ? "2px" : 0,
643
+ boxSizing: "border-box",
644
+ minHeight: `calc(100% - ${i.constants.appHeaderHeight}px)`
645
+ })
646
+ ), wo = y("div", {
647
+ shouldForwardProp: (e) => ee(e)
648
+ })(({ withActionsPanel: e, tablet: o, borderColor: r, backgroundColor: t }) => ({
1429
649
  display: "flex",
1430
650
  flexDirection: "column",
1431
- opacity: i ? 1 : 0,
651
+ opacity: e ? 1 : 0,
1432
652
  border: `1px solid ${r}`,
1433
653
  borderRight: 0,
1434
654
  borderRadius: "4px",
1435
655
  borderTopRightRadius: 0,
1436
656
  borderBottomRightRadius: 0,
1437
- height: i ? "calc(100% + 2px)" : "100%",
657
+ height: e ? "calc(100% + 2px)" : "100%",
1438
658
  boxSizing: "border-box",
1439
- padding: i ? e ? "2px" : "1rem" : 0,
1440
- backgroundColor: n,
1441
- width: i ? e ? "66px" : "400px" : 0,
1442
- maxWidth: e ? "100%" : "25%",
659
+ padding: e ? o ? "2px" : "1rem" : 0,
660
+ backgroundColor: t,
661
+ width: e ? o ? "66px" : "400px" : 0,
662
+ maxWidth: o ? "100%" : "25%",
1443
663
  transition: "313ms all ease-in-out",
1444
- ...!i && {
664
+ ...!e && {
1445
665
  border: "none"
1446
666
  }
1447
- })), Vt = ie(Re)(
1448
- ({ shadowColor: i, backgroundColor: e }) => ({
1449
- ...ge`
1450
- top: ${P.constants.appHeaderHeight}px;
667
+ })), yo = y(F)(
668
+ ({ shadowColor: e, backgroundColor: o }) => ({
669
+ ...H`
670
+ top: ${i.constants.appHeaderHeight}px;
1451
671
  font-family: 'Roboto';
1452
672
 
1453
673
  .MuiDrawer-paper {
1454
674
  width: 360px;
1455
675
  max-width: 100vw;
1456
676
  box-sizing: border-box;
1457
- top: ${P.constants.appHeaderHeight}px;
1458
- height: calc(100vh - ${P.constants.appHeaderHeight}px);
1459
- background-color: ${e};
1460
- box-shadow: 0 3px 6px 3px ${i};
677
+ top: ${i.constants.appHeaderHeight}px;
678
+ height: calc(100vh - ${i.constants.appHeaderHeight}px);
679
+ background-color: ${o};
680
+ box-shadow: 0 3px 6px 3px ${e};
1461
681
  padding: 1rem;
1462
682
  overflow: visible;
1463
683
  }
1464
684
 
1465
685
  .MuiBackdrop-root {
1466
- top: ${P.constants.appHeaderHeight}px;
686
+ top: ${i.constants.appHeaderHeight}px;
1467
687
  background-color: transparent;
1468
688
  }
1469
689
  `
1470
690
  })
1471
- ), br = ie(je)(({ iconColor: i, highlight1: e, highlight2: r, rightDrawer: n = !1 }) => ({
1472
- ...ge`
691
+ ), xe = y(K)(({ iconColor: e, highlight1: o, highlight2: r, rightDrawer: t = !1 }) => ({
692
+ ...H`
1473
693
  position: absolute;
1474
694
  top: -0.5rem;
1475
- ${!n && { right: "-0.5rem" }};
1476
- ${n && { left: "-0.5rem" }};
695
+ ${!t && { right: "-0.5rem" }};
696
+ ${t && { left: "-0.5rem" }};
1477
697
  z-index: 1;
1478
698
  border-radius: 50%;
1479
699
 
1480
700
  svg {
1481
- background-color: ${i};
1482
- fill: ${e};
701
+ background-color: ${e};
702
+ fill: ${o};
1483
703
  border-radius: 50%;
1484
704
  }
1485
705
 
@@ -1488,36 +708,44 @@ const Pt = Xe(/* @__PURE__ */ C("path", {
1488
708
  svg {
1489
709
  filter: unset;
1490
710
  background-color: ${r};
1491
- fill: ${i};
711
+ fill: ${e};
1492
712
  }
1493
713
  }
1494
714
  `
1495
- })), Nt = ie("div")(({ withActionsPanel: i, borderColor: e, backgroundColor: r }) => ({
715
+ })), ko = y("div", {
716
+ shouldForwardProp: (e) => ee(e)
717
+ })(({ withActionsPanel: e, borderColor: o, backgroundColor: r, mobileScreen: t }) => ({
1496
718
  display: "flex",
1497
719
  overflow: "hidden",
1498
720
  backgroundColor: r,
1499
721
  borderRadius: "4px",
1500
- borderBottomLeftRadius: i ? 0 : "4px",
1501
- borderTopLeftRadius: i ? 0 : "4px",
1502
- border: `1px solid ${e}`,
722
+ borderBottomLeftRadius: e ? 0 : "4px",
723
+ borderTopLeftRadius: e ? 0 : "4px",
724
+ border: `1px solid ${o}`,
1503
725
  width: "100%",
1504
726
  height: "calc(100% + 2px)",
1505
727
  boxSizing: "border-box",
1506
728
  padding: "1rem",
1507
729
  h1: {
1508
730
  margin: 0
731
+ },
732
+ ...t && {
733
+ border: "none",
734
+ borderRadius: 0,
735
+ borderBottomLeftRadius: 0,
736
+ borderTopLeftRadius: 0
1509
737
  }
1510
- })), Wt = ie(Re)(
1511
- ({ backgroundColor: i, shadowColor: e }) => ({
1512
- ...ge`
1513
- z-index: 1300;
738
+ })), Co = y(F)(
739
+ ({ backgroundColor: e, shadowColor: o }) => ({
740
+ ...H`
741
+ z-index: 1327;
1514
742
 
1515
743
  .MuiDrawer-paper {
1516
744
  width: 360px;
1517
745
  max-width: 100vw;
1518
746
  height: 100vh;
1519
- background-color: ${i};
1520
- box-shadow: 0 0px 6px 3px ${e};
747
+ background-color: ${e};
748
+ box-shadow: 0 0px 6px 3px ${o};
1521
749
  }
1522
750
 
1523
751
  .MuiBackdrop-root {
@@ -1525,209 +753,371 @@ const Pt = Xe(/* @__PURE__ */ C("path", {
1525
753
  }
1526
754
  `
1527
755
  })
1528
- ), Bt = ie("img")(({ width: i, height: e }) => ({
1529
- ...ge`
1530
- width: ${i}px;
1531
- height: ${e}px;
756
+ ), To = y(F)(({ backgroundColor: e }) => ({
757
+ ...H`
758
+ z-index: 1300;
759
+
760
+ .MuiDrawer-paper {
761
+ z-index: 1300;
762
+ width: 100vw;
763
+ top: ${i.constants.appHeaderHeight}px;
764
+ height: calc(100vh - ${i.constants.appHeaderHeight}px - 72px);
765
+ background-color: ${e};
766
+ box-shadow: none;
767
+ }
768
+
769
+ .MuiBackdrop-root {
770
+ z-index: 1300;
771
+ top: ${i.constants.appHeaderHeight}px;
772
+ height: calc(100vh - ${i.constants.appHeaderHeight}px);
773
+ background-color: transparent;
774
+ }
775
+ `
776
+ })), $o = y("div", {
777
+ shouldForwardProp: (e) => ee(e)
778
+ })(({ backgroundColor: e, open: o }) => ({
779
+ ...H`
780
+ position: fixed;
781
+ transition: height 201ms cubic-bezier(0, 0, 0.2, 1);
782
+ z-index: 1300;
783
+ bottom: 72px;
784
+ width: 100vw;
785
+ height: ${o ? `calc(100vh - ${i.constants.appHeaderHeight}px - 72px)` : 0};
786
+ overflow: hidden;
787
+ background-color: ${e};
788
+ box-sizing: border-box;
789
+ `
790
+ })), Eo = y("h1")(({ color: e }) => ({
791
+ ...H`
792
+ margin: 0;
793
+ font-size: 2.1rem;
794
+ font-family: 'Roboto';
795
+ color: ${e};
796
+ `
797
+ })), Po = y(F)(() => ({
798
+ ...H`
799
+ top: ${i.constants.appHeaderHeight}px;
800
+ font-family: 'Roboto';
801
+ z-index: 1336;
802
+
803
+ .MuiDrawer-paper {
804
+ width: 100vw;
805
+ box-sizing: border-box;
806
+ top: ${i.constants.appHeaderHeight}px;
807
+ height: calc(100vh - ${i.constants.appHeaderHeight}px);
808
+ background-color: ${i.colors.white};
809
+ padding: 0;
810
+ }
811
+
812
+ .MuiBackdrop-root {
813
+ top: ${i.constants.appHeaderHeight}px;
814
+ background-color: transparent;
815
+ }
1532
816
  `
1533
- })), Dt = ie("div")(() => ({
1534
- ...ge`
817
+ })), Mo = y("img")(({ width: e, height: o }) => ({
818
+ ...H`
819
+ width: ${e}px;
820
+ height: ${o}px;
821
+ `
822
+ })), ve = y("div")(({ justifyStart: e }) => ({
823
+ ...H`
1535
824
  display: flex;
1536
825
  flex-direction: row;
1537
826
  align-items: flex-start;
1538
- justify-content: space-between;
827
+ justify-content: ${e ? "start" : "space-between"};
1539
828
  padding: 8px 16px 8px 24px;
1540
829
  `
1541
- })), Rt = ie(Re)(() => ({
1542
- ...ge`
1543
- top: ${P.constants.appHeaderHeight}px;
830
+ })), Ho = y(F)(() => ({
831
+ ...H`
832
+ top: ${i.constants.appHeaderHeight}px;
1544
833
  font-family: 'Roboto';
1545
834
 
1546
835
  .MuiDrawer-paper {
1547
836
  width: 360px;
1548
837
  max-width: 100vw;
1549
838
  box-sizing: border-box;
1550
- top: ${P.constants.appHeaderHeight}px;
1551
- height: calc(100vh - ${P.constants.appHeaderHeight}px);
1552
- background-color: ${P.colors.white};
1553
- box-shadow: 0 3px 6px 3px ${P.colors.gray};
839
+ top: ${i.constants.appHeaderHeight}px;
840
+ height: calc(100vh - ${i.constants.appHeaderHeight}px);
841
+ background-color: ${i.colors.white};
842
+ box-shadow: 0 3px 6px 3px ${i.colors.gray};
1554
843
  padding: 0;
1555
844
  overflow: visible;
1556
845
  }
1557
846
 
1558
847
  .MuiBackdrop-root {
1559
- top: ${P.constants.appHeaderHeight}px;
848
+ top: ${i.constants.appHeaderHeight}px;
1560
849
  background-color: transparent;
1561
850
  }
1562
851
  `
1563
- })), io = ({
1564
- navProps: i,
1565
- appHeaderProps: e = {},
852
+ })), _o = ({
853
+ navProps: e,
854
+ appHeaderProps: o = {},
1566
855
  userProfileMenuItems: r = [],
1567
- actionsPanelContent: n,
1568
- navWidth: t = P.constants.navDefaultWidth,
1569
- breakpoints: u = { mobile: P.screenSizes.mobile, tablet: P.screenSizes.tablet },
1570
- children: h,
1571
- themeColors: g = {},
1572
- logoProps: T = {}
856
+ actionsPanelContent: t,
857
+ navWidth: c = i.constants.navDefaultWidth,
858
+ breakpoints: f = { mobile: i.screenSizes.mobile, tablet: i.screenSizes.tablet },
859
+ children: u,
860
+ themeColors: h = {},
861
+ logoProps: l = {},
862
+ loggedIn: m,
863
+ mobileActionsPanelOpen: p
1573
864
  }) => {
1574
- const [I, E] = Le(!1), [U, a] = Le(!1), [l, o] = Le(!1), { mobile: s = P.screenSizes.mobile, tablet: c = P.screenSizes.tablet } = u, W = vt || lr(`(max-width: ${s})`), R = gt || lr(`(max-width: ${c})`), p = !W && !R, {
1575
- backgroundPrimary: b = P.colors.whiteGreen,
1576
- backgroundSecondary: S = P.colors.whiteGreenA,
1577
- backgroundTertiary: V = P.colors.sage,
1578
- highlightPrimary: B = P.colors.sunlight,
1579
- highlightSecondary: ne = P.colors.dandelion,
1580
- highlightTertiary: H = `${P.colors.dandelion}99`,
1581
- iconPrimary: D = P.colors.darkGreen,
1582
- shadowPrimary: _ = P.colors.darkGreenO99,
1583
- borderPrimary: X = P.colors.green
1584
- } = g, { logoSrc: Y = Vi, logoWidth: te = 36, logoHeight: pe = 50 } = T, ae = {
1585
- backgroundPrimary: b,
1586
- backgroundSecondary: S,
1587
- backgroundTertiary: V,
1588
- highlightPrimary: B,
1589
- highlightSecondary: ne,
1590
- highlightTertiary: H,
1591
- borderPrimary: X,
1592
- iconPrimary: D,
1593
- shadowPrimary: _
1594
- }, K = { logoSrc: Y, logoWidth: te, logoHeight: pe }, y = n != null, N = { ...e, navWidth: t }, { onLogout: se = () => {
1595
- } } = e, xe = { ...i, themeColors: ae }, de = {
1596
- ...xe,
1597
- navWidth: `${t}px`
1598
- }, Se = [
1599
- { label: "Log Out", icon: /* @__PURE__ */ C(Ct, {}), onClick: se },
865
+ const [M, k] = Y(!1), [B, L] = Y(!1), [N, C] = Y(!1), [R, O] = Y(!1), { mobile: I = i.screenSizes.mobile, tablet: S = i.screenSizes.tablet } = f, g = fe(`(max-width: ${I})`), v = fe(`(max-width: ${S})`) && !g, b = !g && !v, {
866
+ backgroundPrimary: D = i.colors.whiteGreen,
867
+ backgroundSecondary: x = i.colors.whiteGreenA,
868
+ backgroundTertiary: T = i.colors.sage,
869
+ highlightPrimary: $ = i.colors.sunlight,
870
+ highlightSecondary: A = i.colors.dandelion,
871
+ highlightTertiary: j = `${i.colors.dandelion}99`,
872
+ iconPrimary: z = i.colors.darkGreen,
873
+ shadowPrimary: W = i.colors.darkGreenO99,
874
+ shadowSecondary: U = i.boxShadows.darkGreen,
875
+ shadowTertiary: X = i.boxShadows.darkGreenThick,
876
+ borderPrimary: s = i.colors.green,
877
+ scrollColor: d = i.colors.darkGreenO99,
878
+ avatarColors: Q
879
+ } = h, { logoSrc: se = Ie, logoWidth: ce = 36, logoHeight: le = 50 } = l, Me = {
880
+ backgroundPrimary: D,
881
+ backgroundSecondary: x,
882
+ backgroundTertiary: T,
883
+ highlightPrimary: $,
884
+ highlightSecondary: A,
885
+ highlightTertiary: j,
886
+ borderPrimary: s,
887
+ iconPrimary: z,
888
+ shadowPrimary: W,
889
+ shadowSecondary: U,
890
+ shadowTertiary: X,
891
+ scrollColor: d
892
+ }, He = { logoSrc: se, logoWidth: ce, logoHeight: le }, oe = t != null, Re = { ...o, navWidth: c, loggedIn: m }, { onLogout: Se = () => {
893
+ } } = o, G = { ...e, themeColors: Me }, De = {
894
+ ...G,
895
+ navWidth: `${c}px`,
896
+ isMobile: g
897
+ }, pe = [
898
+ { label: "Log Out", icon: /* @__PURE__ */ a(go, {}), onClick: Se },
1600
899
  ...r
1601
- ].map((Q) => ({
1602
- ...Q,
900
+ ].map((E) => ({
901
+ ...E,
1603
902
  onClick: () => {
1604
- Q.onClick && Q.onClick(), o(!1);
903
+ E.onClick && E.onClick(), C(!1);
1605
904
  }
1606
- })), be = i.navItems.map((Q) => ({
1607
- ...Q,
905
+ })), { navItems: te } = e, ze = te.map((E) => ({
906
+ ...E,
1608
907
  onClick: () => {
1609
- Q.onClick && Q.onClick(), E(!1);
908
+ E.onClick && E.onClick(), k(!1);
1610
909
  }
1611
- })), fe = {
1612
- ...xe,
910
+ })), re = {
911
+ ...G,
1613
912
  navWidth: "100%",
1614
913
  isTablet: !0,
1615
- navItems: be
914
+ navItems: ze
1616
915
  };
1617
- return /* @__PURE__ */ ue(Mt, { backgroundColor: S, children: [
1618
- /* @__PURE__ */ C(
1619
- Ii,
916
+ let ne = te.map((E) => ({
917
+ ...E,
918
+ onClick: () => {
919
+ E.onClick && E.onClick(), O(!1);
920
+ }
921
+ })), de = [];
922
+ te.length > 4 && g && (de = ne.splice(3), ne.push({
923
+ label: "More",
924
+ icon: /* @__PURE__ */ a(bo, {}),
925
+ onClick: () => O(!0)
926
+ }));
927
+ const Le = {
928
+ ...G,
929
+ navWidth: "100%",
930
+ navItems: ne,
931
+ isMobile: !0,
932
+ activeRoute: R ? "More" : G.activeRoute
933
+ }, Ne = {
934
+ ...G,
935
+ navWidth: "100%",
936
+ navItems: de,
937
+ isTablet: !0
938
+ };
939
+ return /* @__PURE__ */ P(xo, { backgroundColor: x, children: [
940
+ /* @__PURE__ */ a(
941
+ Oe,
1620
942
  {
1621
- ...N,
1622
- hamburgerMenu: R,
1623
- onHamburgerMenuClick: () => E(!0),
1624
- onUserMenuClick: () => o(!0),
1625
- logoProps: K,
1626
- iconColor: D
943
+ ...Re,
944
+ hamburgerMenu: v,
945
+ onHamburgerMenuClick: () => k(!0),
946
+ onUserMenuClick: () => C(!0),
947
+ logoProps: He,
948
+ iconColor: z,
949
+ isMobile: g,
950
+ themeProps: { shadowSecondary: U, shadowTertiary: X, iconPrimary: z, borderPrimary: s },
951
+ avatarColors: Q
1627
952
  }
1628
953
  ),
1629
- /* @__PURE__ */ ue(At, { tabletPadding: !p, children: [
1630
- p && /* @__PURE__ */ C(Fe, { ...de }),
1631
- R && /* @__PURE__ */ ue(
1632
- Wt,
954
+ /* @__PURE__ */ P(vo, { tabletPadding: v, mobile: g, children: [
955
+ b && /* @__PURE__ */ a(V, { ...De }),
956
+ g && /* @__PURE__ */ P(he, { children: [
957
+ /* @__PURE__ */ a(V, { ...Le }),
958
+ /* @__PURE__ */ a(
959
+ To,
960
+ {
961
+ open: R,
962
+ onClose: () => O(!1),
963
+ backgroundColor: x,
964
+ anchor: "right",
965
+ children: /* @__PURE__ */ a(V, { ...Ne })
966
+ }
967
+ )
968
+ ] }),
969
+ v && /* @__PURE__ */ P(
970
+ Co,
1633
971
  {
1634
- open: I,
1635
- onClose: () => E(!1),
1636
- backgroundColor: S,
1637
- shadowColor: _,
972
+ open: M,
973
+ onClose: () => k(!1),
974
+ backgroundColor: x,
975
+ shadowColor: W,
1638
976
  children: [
1639
- /* @__PURE__ */ ue(Dt, { children: [
1640
- /* @__PURE__ */ C(Bt, { src: Y, alt: "logo", width: te, height: pe }),
1641
- /* @__PURE__ */ C(je, { variant: "icon", size: 36, onClick: () => E(!1), children: /* @__PURE__ */ C(Ni, {}) })
977
+ /* @__PURE__ */ P(ve, { children: [
978
+ /* @__PURE__ */ a(Mo, { src: se, alt: "logo", width: ce, height: le }),
979
+ /* @__PURE__ */ a(K, { variant: "icon", size: 36, onClick: () => k(!1), color: z, children: /* @__PURE__ */ a(Be, {}) })
1642
980
  ] }),
1643
- /* @__PURE__ */ C(Fe, { ...fe })
981
+ /* @__PURE__ */ a(V, { ...re })
1644
982
  ]
1645
983
  }
1646
984
  ),
1647
- R && /* @__PURE__ */ ue(
1648
- Vt,
985
+ v && /* @__PURE__ */ P(
986
+ yo,
1649
987
  {
1650
- open: U && y,
1651
- onClose: () => a(!1),
1652
- shadowColor: _,
1653
- backgroundColor: V,
988
+ open: B && oe,
989
+ onClose: () => L(!1),
990
+ shadowColor: W,
991
+ backgroundColor: T,
1654
992
  children: [
1655
- /* @__PURE__ */ C(
1656
- br,
993
+ /* @__PURE__ */ a(
994
+ xe,
1657
995
  {
1658
996
  variant: "icon",
1659
997
  size: 24,
1660
- onClick: () => a(!1),
1661
- iconColor: D,
1662
- highlight1: S,
1663
- highlight2: S,
1664
- children: /* @__PURE__ */ C(mr, {})
998
+ onClick: () => L(!1),
999
+ iconColor: z,
1000
+ highlight1: x,
1001
+ highlight2: x,
1002
+ children: /* @__PURE__ */ a(be, {})
1665
1003
  }
1666
1004
  ),
1667
- /* @__PURE__ */ C(ze, { direction: "vertical", children: n && n })
1005
+ /* @__PURE__ */ a(ie, { scrollColor: d, direction: "vertical", children: t && t })
1668
1006
  ]
1669
1007
  }
1670
1008
  ),
1671
- (R || p) && /* @__PURE__ */ ue(
1672
- Rt,
1009
+ (v || b) && /* @__PURE__ */ P(
1010
+ Ho,
1673
1011
  {
1674
1012
  anchor: "right",
1675
- open: l,
1676
- onClose: () => o(!1),
1013
+ open: N,
1014
+ onClose: () => C(!1),
1677
1015
  children: [
1678
- /* @__PURE__ */ C(
1679
- br,
1016
+ /* @__PURE__ */ a(
1017
+ xe,
1680
1018
  {
1681
1019
  variant: "icon",
1682
1020
  size: 24,
1683
- onClick: () => o(!1),
1684
- iconColor: P.colors.midnight,
1685
- highlight1: P.colors.white,
1686
- highlight2: S,
1021
+ onClick: () => C(!1),
1022
+ iconColor: i.colors.midnight,
1023
+ highlight1: i.colors.white,
1024
+ highlight2: x,
1687
1025
  rightDrawer: !0,
1688
- children: /* @__PURE__ */ C(mr, {})
1026
+ children: /* @__PURE__ */ a(be, {})
1689
1027
  }
1690
1028
  ),
1691
- /* @__PURE__ */ C(
1692
- Fe,
1029
+ /* @__PURE__ */ a(
1030
+ V,
1693
1031
  {
1694
- ...fe,
1695
- navItems: Se,
1032
+ ...re,
1033
+ navItems: pe,
1696
1034
  themeColors: {
1697
- iconPrimary: P.colors.midnight,
1698
- highlightPrimary: b,
1699
- highlightTertiary: S
1035
+ iconPrimary: i.colors.midnight,
1036
+ highlightPrimary: D,
1037
+ highlightTertiary: x,
1038
+ shadowSecondary: U,
1039
+ scrollColor: d
1700
1040
  }
1701
1041
  }
1702
1042
  )
1703
1043
  ]
1704
1044
  }
1705
1045
  ),
1706
- /* @__PURE__ */ ue(
1707
- It,
1046
+ g && /* @__PURE__ */ P(he, { children: [
1047
+ /* @__PURE__ */ P(
1048
+ Po,
1049
+ {
1050
+ anchor: "right",
1051
+ open: N,
1052
+ onClose: () => C(!1),
1053
+ children: [
1054
+ /* @__PURE__ */ P(ve, { children: [
1055
+ /* @__PURE__ */ a(Eo, { color: i.colors.midnight, children: "Settings" }),
1056
+ /* @__PURE__ */ a(
1057
+ K,
1058
+ {
1059
+ variant: "icon",
1060
+ size: 36,
1061
+ onClick: () => C(!1),
1062
+ color: i.colors.midnight,
1063
+ children: /* @__PURE__ */ a(ge, {})
1064
+ }
1065
+ )
1066
+ ] }),
1067
+ /* @__PURE__ */ a(
1068
+ V,
1069
+ {
1070
+ ...re,
1071
+ navItems: pe,
1072
+ themeColors: {
1073
+ iconPrimary: i.colors.midnight,
1074
+ highlightPrimary: D,
1075
+ highlightTertiary: x,
1076
+ shadowSecondary: U,
1077
+ scrollColor: d
1078
+ }
1079
+ }
1080
+ )
1081
+ ]
1082
+ }
1083
+ ),
1084
+ /* @__PURE__ */ a($o, { backgroundColor: T, open: p, children: t })
1085
+ ] }),
1086
+ !g && /* @__PURE__ */ P(
1087
+ wo,
1708
1088
  {
1709
- withActionsPanel: y,
1710
- tablet: R,
1711
- borderColor: X,
1712
- backgroundColor: V,
1089
+ withActionsPanel: oe,
1090
+ tablet: v,
1091
+ borderColor: s,
1092
+ backgroundColor: T,
1713
1093
  children: [
1714
- p && /* @__PURE__ */ C(ze, { direction: "vertical", children: n && n }),
1715
- R && /* @__PURE__ */ C(je, { variant: "icon", size: 36, onClick: () => a(!0), color: D, children: /* @__PURE__ */ C(Pt, {}) })
1094
+ b && /* @__PURE__ */ a(ie, { scrollColor: d, direction: "vertical", children: t && t }),
1095
+ v && /* @__PURE__ */ a(
1096
+ K,
1097
+ {
1098
+ variant: "icon",
1099
+ size: 36,
1100
+ onClick: () => L(!0),
1101
+ color: z,
1102
+ children: /* @__PURE__ */ a(ge, {})
1103
+ }
1104
+ )
1716
1105
  ]
1717
1106
  }
1718
1107
  ),
1719
- /* @__PURE__ */ C(
1720
- Nt,
1108
+ /* @__PURE__ */ a(
1109
+ ko,
1721
1110
  {
1722
- withActionsPanel: y,
1723
- borderColor: X,
1724
- backgroundColor: b,
1725
- children: /* @__PURE__ */ C(ze, { children: h })
1111
+ withActionsPanel: oe,
1112
+ borderColor: s,
1113
+ backgroundColor: D,
1114
+ mobileScreen: g,
1115
+ children: /* @__PURE__ */ a(ie, { scrollColor: d, children: u })
1726
1116
  }
1727
1117
  )
1728
1118
  ] })
1729
1119
  ] });
1730
1120
  };
1731
1121
  export {
1732
- io as default
1122
+ _o as default
1733
1123
  };