jcicl 0.0.118 → 0.0.120

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 s, jsxs as R, Fragment as ze } from "react/jsx-runtime";
2
+ import * as v from "react";
3
+ import { useState as Y } from "react";
4
+ import { c as q } from "../.chunks/createSvgIcon.js";
5
+ import { n as k } from "../.chunks/emotion-styled.browser.esm.js";
6
+ import { c as z } from "../.chunks/emotion-react.browser.esm.js";
7
+ import Le from "../AppHeader/AppHeader.js";
8
+ import { Nav as V } from "../Nav/Nav.js";
9
+ import ne from "../ScrollContainer/ScrollContainer.js";
10
+ import { Button as K } from "../Button/Button.js";
11
+ import i from "../theme.js";
12
+ import { l as Ne } from "../.chunks/jocologo.js";
13
+ import { X as Oe } from "../.chunks/Close.js";
14
+ import { P as n, g as Ie, a as Be, s as ie, r as Ae, c as Z, u as je, b as _, d as Ue } from "../.chunks/DefaultPropsProvider.js";
15
+ import { u as Ve, e as We, H as Fe, a as be, g as Xe, T as Ge, r as Qe, b as pe, c as Ye } from "../.chunks/Portal.js";
16
+ import { m as xe } from "../.chunks/memoTheme.js";
17
+ import { g as _e, o as ve, d as Je, M as Ke, P as Ze, i as qe } from "../.chunks/Input.js";
18
+ import { c as eo } from "../.chunks/chainPropTypes.js";
19
+ import { u as oo, a as to } from "../.chunks/TransitionGroupContext.js";
20
+ function ro(e, o, r, t, c) {
21
+ const [u, h] = v.useState(() => c && r ? r(e).matches : t ? t(e).matches : o);
22
+ return oo(() => {
23
23
  if (!r)
24
24
  return;
25
- const g = r(i), T = () => {
26
- h(g.matches);
25
+ const d = r(e), l = () => {
26
+ h(d.matches);
27
27
  };
28
- return T(), g.addEventListener("change", T), () => {
29
- g.removeEventListener("change", T);
28
+ return l(), d.addEventListener("change", l), () => {
29
+ d.removeEventListener("change", l);
30
30
  };
31
- }, [i, r]), u;
31
+ }, [e, r]), u;
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 no = {
34
+ ...v
35
+ }, we = no.useSyncExternalStore;
36
+ function io(e, o, r, t, c) {
37
+ const u = v.useCallback(() => o, [o]), h = v.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
46
  return u;
47
- }, [u, i, n, t, r]), [g, T] = j.useMemo(() => {
47
+ }, [u, e, t, c, r]), [d, l] = v.useMemo(() => {
48
48
  if (r === null)
49
49
  return [u, () => () => {
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, (w) => (p.addEventListener("change", w), () => {
53
+ p.removeEventListener("change", w);
54
54
  })];
55
- }, [u, r, i]);
56
- return vr(T, g, h);
55
+ }, [u, r, e]);
56
+ return we(l, d, h);
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,
58
+ function de(e, o = {}) {
59
+ const r = Ve(), t = typeof window < "u" && typeof window.matchMedia < "u", {
60
+ defaultMatches: c = !1,
61
+ matchMedia: u = t ? window.matchMedia : null,
62
62
  ssrMatchMedia: h = null,
63
- noSsr: g = !1
64
- } = Fi({
63
+ noSsr: d = !1
64
+ } = _e({
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 = (we !== void 0 ? io : ro)(l, c, u, h, d);
74
+ return process.env.NODE_ENV !== "production" && v.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);
79
+ function ao(e, o, r) {
80
+ const t = o.getBoundingClientRect(), c = r && r.getBoundingClientRect(), u = ve(o);
869
81
  let h;
870
- if (e.fakeTransform)
871
- h = e.fakeTransform;
82
+ if (o.fakeTransform)
83
+ h = o.fakeTransform;
872
84
  else {
873
- const I = u.getComputedStyle(e);
874
- h = I.getPropertyValue("-webkit-transform") || I.getPropertyValue("transform");
85
+ const f = u.getComputedStyle(o);
86
+ h = f.getPropertyValue("-webkit-transform") || f.getPropertyValue("transform");
875
87
  }
876
- let g = 0, T = 0;
88
+ let d = 0, l = 0;
877
89
  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);
90
+ const f = h.split("(")[1].split(")")[0].split(",");
91
+ d = parseInt(f[4], 10), l = parseInt(f[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 + d - t.left}px)` : `translateX(${u.innerWidth + d - t.left}px)` : e === "right" ? c ? `translateX(-${t.right - c.left - d}px)` : `translateX(-${t.left + t.width - d}px)` : e === "up" ? c ? `translateY(${c.bottom + l - t.top}px)` : `translateY(${u.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 ye(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 = ye(r), c = ao(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
102
+ const ke = /* @__PURE__ */ v.forwardRef(function(o, r) {
103
+ const t = be(), c = {
104
+ enter: t.transitions.easing.easeOut,
105
+ exit: t.transitions.easing.sharp
894
106
  }, u = {
895
- enter: n.transitions.duration.enteringScreen,
896
- exit: n.transitions.duration.leavingScreen
107
+ enter: t.transitions.duration.enteringScreen,
108
+ exit: t.transitions.duration.leavingScreen
897
109
  }, {
898
110
  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,
111
+ appear: d = !0,
112
+ children: l,
113
+ container: f,
114
+ direction: p = "down",
115
+ easing: w = c,
116
+ in: P,
117
+ onEnter: L,
118
+ onEntered: B,
119
+ onEntering: C,
120
+ onExit: N,
121
+ onExited: S,
122
+ onExiting: A,
123
+ style: O,
124
+ timeout: g = u,
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: x = Ge,
127
+ ...H
128
+ } = o, m = v.useRef(null), y = to(Xe(l), m, r), T = (a) => (b) => {
129
+ a && (b === void 0 ? a(m.current) : a(m.current, b));
130
+ }, D = T((a, b) => {
131
+ J(p, a, f), Qe(a), L && L(a, b);
132
+ }), E = T((a, b) => {
133
+ const X = pe({
134
+ timeout: g,
135
+ style: O,
136
+ easing: w
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
+ a.style.webkitTransition = t.transitions.create("-webkit-transform", {
141
+ ...X
142
+ }), a.style.transition = t.transitions.create("transform", {
143
+ ...X
144
+ }), a.style.webkitTransform = "none", a.style.transform = "none", C && C(a, b);
145
+ }), j = T(B), $ = T(A), F = T((a) => {
146
+ const b = pe({
147
+ timeout: g,
148
+ style: O,
149
+ easing: w
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
+ a.style.webkitTransition = t.transitions.create("-webkit-transform", b), a.style.transition = t.transitions.create("transform", b), J(p, a, f), N && N(a);
154
+ }), U = T((a) => {
155
+ a.style.webkitTransition = "", a.style.transition = "", S && S(a);
156
+ }), G = (a) => {
157
+ h && h(m.current, a);
158
+ }, I = v.useCallback(() => {
159
+ m.current && J(p, m.current, f);
160
+ }, [p, f]);
161
+ return v.useEffect(() => {
162
+ if (P || 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 a = Je(() => {
165
+ m.current && J(p, m.current, f);
166
+ }), b = ve(m.current);
167
+ return b.addEventListener("resize", a), () => {
168
+ a.clear(), b.removeEventListener("resize", a);
957
169
  };
958
- }, [E, a, I]), j.useEffect(() => {
959
- a || K();
960
- }, [a, K]), /* @__PURE__ */ C(S, {
961
- nodeRef: B,
170
+ }, [p, P, f]), v.useEffect(() => {
171
+ P || I();
172
+ }, [P, I]), /* @__PURE__ */ s(x, {
173
+ nodeRef: m,
962
174
  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,
175
+ onEntered: j,
176
+ onEntering: E,
177
+ onExit: F,
178
+ onExited: U,
179
+ onExiting: $,
180
+ addEndListener: G,
181
+ appear: d,
182
+ in: P,
183
+ timeout: g,
184
+ ...H,
185
+ children: (a, b) => /* @__PURE__ */ v.cloneElement(l, {
186
+ ref: y,
975
187
  style: {
976
- visibility: y === "exited" && !a ? "hidden" : void 0,
977
- ...p,
978
- ...T.props.style
188
+ visibility: a === "exited" && !P ? "hidden" : void 0,
189
+ ...O,
190
+ ...l.props.style
979
191
  },
980
- ...N
192
+ ...b
981
193
  })
982
194
  });
983
195
  });
984
- process.env.NODE_ENV !== "production" && (vi.propTypes = {
196
+ process.env.NODE_ENV !== "production" && (ke.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: We.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: eo(n.oneOfType([Fe, n.func]), (e) => {
222
+ if (e.open) {
223
+ const o = ye(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 so(e) {
299
+ return Ie("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
+ Be("MuiDrawer", ["root", "docked", "paper", "paperAnchorLeft", "paperAnchorRight", "paperAnchorTop", "paperAnchorBottom", "paperAnchorDockedLeft", "paperAnchorDockedRight", "paperAnchorDockedTop", "paperAnchorDockedBottom", "modal"]);
302
+ const Ce = (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
+ }, co = (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 Ue(c, so, o);
319
+ }, lo = ie(Ke, {
1108
320
  name: "MuiDrawer",
1109
321
  slot: "Root",
1110
- overridesResolver: gi
1111
- })(wr(({
1112
- theme: i
322
+ overridesResolver: Ce
323
+ })(xe(({
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
+ }))), he = ie("div", {
328
+ shouldForwardProp: Ae,
1117
329
  name: "MuiDrawer",
1118
330
  slot: "Docked",
1119
331
  skipVariantsResolver: !1,
1120
- overridesResolver: gi
332
+ overridesResolver: Ce
1121
333
  })({
1122
334
  flex: "0 0 auto"
1123
- }), Ot = Ge(Hi, {
335
+ }), po = ie(Ze, {
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
+ })(xe(({
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
+ }))), Te = {
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 ho(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 uo({
438
+ direction: e
439
+ }, o) {
440
+ return e === "rtl" && ho(o) ? Te[o] : o;
1229
441
  }
1230
- const Re = /* @__PURE__ */ j.forwardRef(function(e, r) {
1231
- const n = Mi({
1232
- props: e,
442
+ const W = /* @__PURE__ */ v.forwardRef(function(o, r) {
443
+ const t = je({
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 = be(), u = Ye(), h = {
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: d = "left",
451
+ BackdropProps: l,
452
+ children: f,
453
+ className: p,
454
+ elevation: w = 16,
455
+ hideBackdrop: P = !1,
1244
456
  ModalProps: {
1245
- BackdropProps: l,
1246
- ...o
457
+ BackdropProps: L,
458
+ ...B
1247
459
  } = {},
1248
- onClose: s,
1249
- open: c = !1,
1250
- PaperProps: W = {},
1251
- SlideProps: R,
460
+ onClose: C,
461
+ open: N = !1,
462
+ PaperProps: S = {},
463
+ SlideProps: A,
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: O = ke,
466
+ transitionDuration: g = h,
467
+ variant: x = "temporary",
468
+ ...H
469
+ } = t, m = v.useRef(!1);
470
+ v.useEffect(() => {
471
+ m.current = !0;
1260
472
  }, []);
1261
- const ne = St({
473
+ const y = uo({
1262
474
  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,
475
+ }, d), D = {
476
+ ...t,
477
+ anchor: d,
478
+ elevation: w,
479
+ open: N,
480
+ variant: x,
481
+ ...H
482
+ }, E = co(D), j = /* @__PURE__ */ s(po, {
483
+ elevation: x === "temporary" ? w : 0,
1272
484
  square: !0,
1273
- ...W,
1274
- className: Ae(_.paper, W.className),
485
+ ...S,
486
+ className: _(E.paper, S.className),
1275
487
  ownerState: D,
1276
- children: I
488
+ children: f
1277
489
  });
1278
- if (S === "permanent")
1279
- return /* @__PURE__ */ C(pr, {
1280
- className: Ae(_.root, _.docked, E),
490
+ if (x === "permanent")
491
+ return /* @__PURE__ */ s(he, {
492
+ className: _(E.root, E.docked, p),
1281
493
  ownerState: D,
1282
494
  ref: r,
1283
- ...V,
1284
- children: X
495
+ ...H,
496
+ children: j
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 $ = /* @__PURE__ */ s(O, {
499
+ in: N,
500
+ direction: Te[y],
501
+ timeout: g,
502
+ appear: m.current,
503
+ ...A,
504
+ children: j
1293
505
  });
1294
- return S === "persistent" ? /* @__PURE__ */ C(pr, {
1295
- className: Ae(_.root, _.docked, E),
506
+ return x === "persistent" ? /* @__PURE__ */ s(he, {
507
+ className: _(E.root, E.docked, p),
1296
508
  ownerState: D,
1297
509
  ref: r,
1298
- ...V,
1299
- children: Y
1300
- }) : /* @__PURE__ */ C(Et, {
510
+ ...H,
511
+ children: $
512
+ }) : /* @__PURE__ */ s(lo, {
1301
513
  BackdropProps: {
1302
- ...T,
1303
514
  ...l,
1304
- transitionDuration: b
515
+ ...L,
516
+ transitionDuration: g
1305
517
  },
1306
- className: Ae(_.root, _.modal, E),
1307
- open: c,
518
+ className: _(E.root, E.modal, p),
519
+ open: N,
1308
520
  ownerState: D,
1309
- onClose: s,
1310
- hideBackdrop: a,
521
+ onClose: C,
522
+ hideBackdrop: P,
1311
523
  ref: r,
1312
- ...V,
1313
- ...o,
1314
- children: Y
524
+ ...H,
525
+ ...B,
526
+ children: $
1315
527
  });
1316
528
  });
1317
- process.env.NODE_ENV !== "production" && (Re.propTypes = {
529
+ process.env.NODE_ENV !== "production" && (W.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: qe,
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,101 @@ 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 ue = q(/* @__PURE__ */ s("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"), fo = q(/* @__PURE__ */ s("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"), fe = q(/* @__PURE__ */ s("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"), mo = q(/* @__PURE__ */ s("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"), go = k("div")(({ backgroundColor: e }) => ({
1410
624
  display: "flex",
1411
625
  flexDirection: "column",
1412
626
  width: "100vw",
1413
627
  position: "relative",
1414
- backgroundColor: i,
628
+ backgroundColor: e,
1415
629
  height: "100vh",
1416
630
  fontFamily: "Roboto, sans-serif",
1417
631
  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 }) => ({
632
+ })), bo = k("div")(
633
+ ({ tabletPadding: e, mobile: o }) => ({
634
+ display: "flex",
635
+ flexDirection: o ? "column-reverse" : "row",
636
+ justifyContent: "flex-start",
637
+ alignItems: "flex-start",
638
+ width: "100%",
639
+ padding: o ? 0 : "0 2px 4px",
640
+ paddingLeft: e ? "2px" : 0,
641
+ boxSizing: "border-box",
642
+ minHeight: `calc(100% - ${i.constants.appHeaderHeight}px)`
643
+ })
644
+ ), xo = k("div")(({ withActionsPanel: e, tablet: o, borderColor: r, backgroundColor: t }) => ({
1429
645
  display: "flex",
1430
646
  flexDirection: "column",
1431
- opacity: i ? 1 : 0,
647
+ opacity: e ? 1 : 0,
1432
648
  border: `1px solid ${r}`,
1433
649
  borderRight: 0,
1434
650
  borderRadius: "4px",
1435
651
  borderTopRightRadius: 0,
1436
652
  borderBottomRightRadius: 0,
1437
- height: i ? "calc(100% + 2px)" : "100%",
653
+ height: e ? "calc(100% + 2px)" : "100%",
1438
654
  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%",
655
+ padding: e ? o ? "2px" : "1rem" : 0,
656
+ backgroundColor: t,
657
+ width: e ? o ? "66px" : "400px" : 0,
658
+ maxWidth: o ? "100%" : "25%",
1443
659
  transition: "313ms all ease-in-out",
1444
- ...!i && {
660
+ ...!e && {
1445
661
  border: "none"
1446
662
  }
1447
- })), Vt = ie(Re)(
1448
- ({ shadowColor: i, backgroundColor: e }) => ({
1449
- ...ge`
1450
- top: ${P.constants.appHeaderHeight}px;
663
+ })), vo = k(W)(
664
+ ({ shadowColor: e, backgroundColor: o }) => ({
665
+ ...z`
666
+ top: ${i.constants.appHeaderHeight}px;
1451
667
  font-family: 'Roboto';
1452
668
 
1453
669
  .MuiDrawer-paper {
1454
670
  width: 360px;
1455
671
  max-width: 100vw;
1456
672
  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};
673
+ top: ${i.constants.appHeaderHeight}px;
674
+ height: calc(100vh - ${i.constants.appHeaderHeight}px);
675
+ background-color: ${o};
676
+ box-shadow: 0 3px 6px 3px ${e};
1461
677
  padding: 1rem;
1462
678
  overflow: visible;
1463
679
  }
1464
680
 
1465
681
  .MuiBackdrop-root {
1466
- top: ${P.constants.appHeaderHeight}px;
682
+ top: ${i.constants.appHeaderHeight}px;
1467
683
  background-color: transparent;
1468
684
  }
1469
685
  `
1470
686
  })
1471
- ), br = ie(je)(({ iconColor: i, highlight1: e, highlight2: r, rightDrawer: n = !1 }) => ({
1472
- ...ge`
687
+ ), me = k(K)(({ iconColor: e, highlight1: o, highlight2: r, rightDrawer: t = !1 }) => ({
688
+ ...z`
1473
689
  position: absolute;
1474
690
  top: -0.5rem;
1475
- ${!n && { right: "-0.5rem" }};
1476
- ${n && { left: "-0.5rem" }};
691
+ ${!t && { right: "-0.5rem" }};
692
+ ${t && { left: "-0.5rem" }};
1477
693
  z-index: 1;
1478
694
  border-radius: 50%;
1479
695
 
1480
696
  svg {
1481
- background-color: ${i};
1482
- fill: ${e};
697
+ background-color: ${e};
698
+ fill: ${o};
1483
699
  border-radius: 50%;
1484
700
  }
1485
701
 
@@ -1488,36 +704,42 @@ const Pt = Xe(/* @__PURE__ */ C("path", {
1488
704
  svg {
1489
705
  filter: unset;
1490
706
  background-color: ${r};
1491
- fill: ${i};
707
+ fill: ${e};
1492
708
  }
1493
709
  }
1494
710
  `
1495
- })), Nt = ie("div")(({ withActionsPanel: i, borderColor: e, backgroundColor: r }) => ({
711
+ })), wo = k("div")(({ withActionsPanel: e, borderColor: o, backgroundColor: r, mobileScreen: t }) => ({
1496
712
  display: "flex",
1497
713
  overflow: "hidden",
1498
714
  backgroundColor: r,
1499
715
  borderRadius: "4px",
1500
- borderBottomLeftRadius: i ? 0 : "4px",
1501
- borderTopLeftRadius: i ? 0 : "4px",
1502
- border: `1px solid ${e}`,
716
+ borderBottomLeftRadius: e ? 0 : "4px",
717
+ borderTopLeftRadius: e ? 0 : "4px",
718
+ border: `1px solid ${o}`,
1503
719
  width: "100%",
1504
720
  height: "calc(100% + 2px)",
1505
721
  boxSizing: "border-box",
1506
722
  padding: "1rem",
1507
723
  h1: {
1508
724
  margin: 0
725
+ },
726
+ ...t && {
727
+ border: "none",
728
+ borderRadius: 0,
729
+ borderBottomLeftRadius: 0,
730
+ borderTopLeftRadius: 0
1509
731
  }
1510
- })), Wt = ie(Re)(
1511
- ({ backgroundColor: i, shadowColor: e }) => ({
1512
- ...ge`
1513
- z-index: 1300;
732
+ })), yo = k(W)(
733
+ ({ backgroundColor: e, shadowColor: o }) => ({
734
+ ...z`
735
+ z-index: 1327;
1514
736
 
1515
737
  .MuiDrawer-paper {
1516
738
  width: 360px;
1517
739
  max-width: 100vw;
1518
740
  height: 100vh;
1519
- background-color: ${i};
1520
- box-shadow: 0 0px 6px 3px ${e};
741
+ background-color: ${e};
742
+ box-shadow: 0 0px 6px 3px ${o};
1521
743
  }
1522
744
 
1523
745
  .MuiBackdrop-root {
@@ -1525,209 +747,350 @@ const Pt = Xe(/* @__PURE__ */ C("path", {
1525
747
  }
1526
748
  `
1527
749
  })
1528
- ), Bt = ie("img")(({ width: i, height: e }) => ({
1529
- ...ge`
1530
- width: ${i}px;
1531
- height: ${e}px;
750
+ ), ko = k(W)(({ backgroundColor: e }) => ({
751
+ ...z`
752
+ z-index: 1300;
753
+
754
+ .MuiDrawer-paper {
755
+ width: 100vw;
756
+ top: ${i.constants.appHeaderHeight}px;
757
+ height: calc(100vh - ${i.constants.appHeaderHeight}px - 72px);
758
+ background-color: ${e};
759
+ box-shadow: none;
760
+ }
761
+
762
+ .MuiBackdrop-root {
763
+ top: ${i.constants.appHeaderHeight}px;
764
+ height: calc(100vh - ${i.constants.appHeaderHeight}px);
765
+ background-color: transparent;
766
+ }
767
+ `
768
+ })), Co = k("h1")(({ color: e }) => ({
769
+ ...z`
770
+ margin: 0;
771
+ font-size: 2.1rem;
772
+ font-family: 'Roboto';
773
+ color: ${e};
774
+ `
775
+ })), To = k(W)(() => ({
776
+ ...z`
777
+ top: ${i.constants.appHeaderHeight}px;
778
+ font-family: 'Roboto';
779
+ z-index: 1336;
780
+
781
+ .MuiDrawer-paper {
782
+ width: 100vw;
783
+ box-sizing: border-box;
784
+ top: ${i.constants.appHeaderHeight}px;
785
+ height: calc(100vh - ${i.constants.appHeaderHeight}px);
786
+ background-color: ${i.colors.white};
787
+ padding: 0;
788
+ }
789
+
790
+ .MuiBackdrop-root {
791
+ top: ${i.constants.appHeaderHeight}px;
792
+ background-color: transparent;
793
+ }
794
+ `
795
+ })), Eo = k("img")(({ width: e, height: o }) => ({
796
+ ...z`
797
+ width: ${e}px;
798
+ height: ${o}px;
1532
799
  `
1533
- })), Dt = ie("div")(() => ({
1534
- ...ge`
800
+ })), ge = k("div")(({ justifyStart: e }) => ({
801
+ ...z`
1535
802
  display: flex;
1536
803
  flex-direction: row;
1537
804
  align-items: flex-start;
1538
- justify-content: space-between;
805
+ justify-content: ${e ? "start" : "space-between"};
1539
806
  padding: 8px 16px 8px 24px;
1540
807
  `
1541
- })), Rt = ie(Re)(() => ({
1542
- ...ge`
1543
- top: ${P.constants.appHeaderHeight}px;
808
+ })), $o = k(W)(() => ({
809
+ ...z`
810
+ top: ${i.constants.appHeaderHeight}px;
1544
811
  font-family: 'Roboto';
1545
812
 
1546
813
  .MuiDrawer-paper {
1547
814
  width: 360px;
1548
815
  max-width: 100vw;
1549
816
  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};
817
+ top: ${i.constants.appHeaderHeight}px;
818
+ height: calc(100vh - ${i.constants.appHeaderHeight}px);
819
+ background-color: ${i.colors.white};
820
+ box-shadow: 0 3px 6px 3px ${i.colors.gray};
1554
821
  padding: 0;
1555
822
  overflow: visible;
1556
823
  }
1557
824
 
1558
825
  .MuiBackdrop-root {
1559
- top: ${P.constants.appHeaderHeight}px;
826
+ top: ${i.constants.appHeaderHeight}px;
1560
827
  background-color: transparent;
1561
828
  }
1562
829
  `
1563
- })), io = ({
1564
- navProps: i,
1565
- appHeaderProps: e = {},
830
+ })), Go = ({
831
+ navProps: e,
832
+ appHeaderProps: o = {},
1566
833
  userProfileMenuItems: r = [],
1567
- actionsPanelContent: n,
1568
- navWidth: t = P.constants.navDefaultWidth,
1569
- breakpoints: u = { mobile: P.screenSizes.mobile, tablet: P.screenSizes.tablet },
834
+ actionsPanelContent: t,
835
+ navWidth: c = i.constants.navDefaultWidth,
836
+ breakpoints: u = { mobile: i.screenSizes.mobile, tablet: i.screenSizes.tablet },
1570
837
  children: h,
1571
- themeColors: g = {},
1572
- logoProps: T = {}
838
+ themeColors: d = {},
839
+ logoProps: l = {},
840
+ loggedIn: f
1573
841
  }) => {
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 },
1600
- ...r
1601
- ].map((Q) => ({
842
+ const [p, w] = Y(!1), [P, L] = Y(!1), [B, C] = Y(!1), [N, S] = Y(!1), { mobile: A = i.screenSizes.mobile, tablet: O = i.screenSizes.tablet } = u, g = de(`(max-width: ${A})`), x = de(`(max-width: ${O})`) && !g, H = !g && !x, {
843
+ backgroundPrimary: m = i.colors.whiteGreen,
844
+ backgroundSecondary: y = i.colors.whiteGreenA,
845
+ backgroundTertiary: T = i.colors.sage,
846
+ highlightPrimary: D = i.colors.sunlight,
847
+ highlightSecondary: E = i.colors.dandelion,
848
+ highlightTertiary: j = `${i.colors.dandelion}99`,
849
+ iconPrimary: $ = i.colors.darkGreen,
850
+ shadowPrimary: F = i.colors.darkGreenO99,
851
+ shadowSecondary: U = i.boxShadows.darkGreen,
852
+ shadowTertiary: G = i.boxShadows.darkGreenThick,
853
+ borderPrimary: I = i.colors.green,
854
+ scrollColor: a = i.colors.darkGreenO99,
855
+ avatarColors: b
856
+ } = d, { logoSrc: X = Ne, logoWidth: ae = 36, logoHeight: se = 50 } = l, Ee = {
857
+ backgroundPrimary: m,
858
+ backgroundSecondary: y,
859
+ backgroundTertiary: T,
860
+ highlightPrimary: D,
861
+ highlightSecondary: E,
862
+ highlightTertiary: j,
863
+ borderPrimary: I,
864
+ iconPrimary: $,
865
+ shadowPrimary: F,
866
+ shadowSecondary: U,
867
+ shadowTertiary: G,
868
+ scrollColor: a
869
+ }, $e = { logoSrc: X, logoWidth: ae, logoHeight: se }, ee = t != null, Me = { ...o, navWidth: c, loggedIn: f }, { onLogout: Pe = () => {
870
+ } } = o, Q = { ...e, themeColors: Ee }, He = {
1602
871
  ...Q,
872
+ navWidth: `${c}px`,
873
+ isMobile: g
874
+ }, ce = [
875
+ { label: "Log Out", icon: /* @__PURE__ */ s(fo, {}), onClick: Pe },
876
+ ...r
877
+ ].map((M) => ({
878
+ ...M,
1603
879
  onClick: () => {
1604
- Q.onClick && Q.onClick(), o(!1);
880
+ M.onClick && M.onClick(), C(!1);
1605
881
  }
1606
- })), be = i.navItems.map((Q) => ({
1607
- ...Q,
882
+ })), { navItems: oe } = e, Re = oe.map((M) => ({
883
+ ...M,
1608
884
  onClick: () => {
1609
- Q.onClick && Q.onClick(), E(!1);
885
+ M.onClick && M.onClick(), w(!1);
1610
886
  }
1611
- })), fe = {
1612
- ...xe,
887
+ })), te = {
888
+ ...Q,
1613
889
  navWidth: "100%",
1614
890
  isTablet: !0,
1615
- navItems: be
891
+ navItems: Re
1616
892
  };
1617
- return /* @__PURE__ */ ue(Mt, { backgroundColor: S, children: [
1618
- /* @__PURE__ */ C(
1619
- Ii,
893
+ let re = oe.map((M) => ({
894
+ ...M,
895
+ onClick: () => {
896
+ M.onClick && M.onClick(), S(!1);
897
+ }
898
+ })), le = [];
899
+ oe.length > 4 && g && (le = re.splice(3), re.push({
900
+ label: "More",
901
+ icon: /* @__PURE__ */ s(mo, {}),
902
+ onClick: () => S(!0)
903
+ }));
904
+ const Se = {
905
+ ...Q,
906
+ navWidth: "100%",
907
+ navItems: re,
908
+ isMobile: !0
909
+ }, De = {
910
+ ...Q,
911
+ navWidth: "100%",
912
+ navItems: le,
913
+ isTablet: !0
914
+ };
915
+ return /* @__PURE__ */ R(go, { backgroundColor: y, children: [
916
+ /* @__PURE__ */ s(
917
+ Le,
1620
918
  {
1621
- ...N,
1622
- hamburgerMenu: R,
1623
- onHamburgerMenuClick: () => E(!0),
1624
- onUserMenuClick: () => o(!0),
1625
- logoProps: K,
1626
- iconColor: D
919
+ ...Me,
920
+ hamburgerMenu: x,
921
+ onHamburgerMenuClick: () => w(!0),
922
+ onUserMenuClick: () => C(!0),
923
+ logoProps: $e,
924
+ iconColor: $,
925
+ isMobile: g,
926
+ themeProps: { shadowSecondary: U, shadowTertiary: G, iconPrimary: $, borderPrimary: I },
927
+ avatarColors: b
1627
928
  }
1628
929
  ),
1629
- /* @__PURE__ */ ue(At, { tabletPadding: !p, children: [
1630
- p && /* @__PURE__ */ C(Fe, { ...de }),
1631
- R && /* @__PURE__ */ ue(
1632
- Wt,
930
+ /* @__PURE__ */ R(bo, { tabletPadding: x, mobile: g, children: [
931
+ H && /* @__PURE__ */ s(V, { ...He }),
932
+ g && /* @__PURE__ */ R(ze, { children: [
933
+ /* @__PURE__ */ s(V, { ...Se }),
934
+ /* @__PURE__ */ s(
935
+ ko,
936
+ {
937
+ open: N,
938
+ onClose: () => S(!1),
939
+ backgroundColor: y,
940
+ anchor: "right",
941
+ children: /* @__PURE__ */ s(V, { ...De })
942
+ }
943
+ )
944
+ ] }),
945
+ x && /* @__PURE__ */ R(
946
+ yo,
1633
947
  {
1634
- open: I,
1635
- onClose: () => E(!1),
1636
- backgroundColor: S,
1637
- shadowColor: _,
948
+ open: p,
949
+ onClose: () => w(!1),
950
+ backgroundColor: y,
951
+ shadowColor: F,
1638
952
  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, {}) })
953
+ /* @__PURE__ */ R(ge, { children: [
954
+ /* @__PURE__ */ s(Eo, { src: X, alt: "logo", width: ae, height: se }),
955
+ /* @__PURE__ */ s(K, { variant: "icon", size: 36, onClick: () => w(!1), color: $, children: /* @__PURE__ */ s(Oe, {}) })
1642
956
  ] }),
1643
- /* @__PURE__ */ C(Fe, { ...fe })
957
+ /* @__PURE__ */ s(V, { ...te })
1644
958
  ]
1645
959
  }
1646
960
  ),
1647
- R && /* @__PURE__ */ ue(
1648
- Vt,
961
+ x && /* @__PURE__ */ R(
962
+ vo,
1649
963
  {
1650
- open: U && y,
1651
- onClose: () => a(!1),
1652
- shadowColor: _,
1653
- backgroundColor: V,
964
+ open: P && ee,
965
+ onClose: () => L(!1),
966
+ shadowColor: F,
967
+ backgroundColor: T,
1654
968
  children: [
1655
- /* @__PURE__ */ C(
1656
- br,
969
+ /* @__PURE__ */ s(
970
+ me,
1657
971
  {
1658
972
  variant: "icon",
1659
973
  size: 24,
1660
- onClick: () => a(!1),
1661
- iconColor: D,
1662
- highlight1: S,
1663
- highlight2: S,
1664
- children: /* @__PURE__ */ C(mr, {})
974
+ onClick: () => L(!1),
975
+ iconColor: $,
976
+ highlight1: y,
977
+ highlight2: y,
978
+ children: /* @__PURE__ */ s(fe, {})
1665
979
  }
1666
980
  ),
1667
- /* @__PURE__ */ C(ze, { direction: "vertical", children: n && n })
981
+ /* @__PURE__ */ s(ne, { scrollColor: a, direction: "vertical", children: t && t })
1668
982
  ]
1669
983
  }
1670
984
  ),
1671
- (R || p) && /* @__PURE__ */ ue(
1672
- Rt,
985
+ (x || H) && /* @__PURE__ */ R(
986
+ $o,
1673
987
  {
1674
988
  anchor: "right",
1675
- open: l,
1676
- onClose: () => o(!1),
989
+ open: B,
990
+ onClose: () => C(!1),
1677
991
  children: [
1678
- /* @__PURE__ */ C(
1679
- br,
992
+ /* @__PURE__ */ s(
993
+ me,
1680
994
  {
1681
995
  variant: "icon",
1682
996
  size: 24,
1683
- onClick: () => o(!1),
1684
- iconColor: P.colors.midnight,
1685
- highlight1: P.colors.white,
1686
- highlight2: S,
997
+ onClick: () => C(!1),
998
+ iconColor: i.colors.midnight,
999
+ highlight1: i.colors.white,
1000
+ highlight2: y,
1687
1001
  rightDrawer: !0,
1688
- children: /* @__PURE__ */ C(mr, {})
1002
+ children: /* @__PURE__ */ s(fe, {})
1689
1003
  }
1690
1004
  ),
1691
- /* @__PURE__ */ C(
1692
- Fe,
1005
+ /* @__PURE__ */ s(
1006
+ V,
1693
1007
  {
1694
- ...fe,
1695
- navItems: Se,
1008
+ ...te,
1009
+ navItems: ce,
1696
1010
  themeColors: {
1697
- iconPrimary: P.colors.midnight,
1698
- highlightPrimary: b,
1699
- highlightTertiary: S
1011
+ iconPrimary: i.colors.midnight,
1012
+ highlightPrimary: m,
1013
+ highlightTertiary: y,
1014
+ shadowSecondary: U,
1015
+ scrollColor: a
1700
1016
  }
1701
1017
  }
1702
1018
  )
1703
1019
  ]
1704
1020
  }
1705
1021
  ),
1706
- /* @__PURE__ */ ue(
1707
- It,
1022
+ g && /* @__PURE__ */ R(
1023
+ To,
1708
1024
  {
1709
- withActionsPanel: y,
1710
- tablet: R,
1711
- borderColor: X,
1712
- backgroundColor: V,
1025
+ anchor: "right",
1026
+ open: B,
1027
+ onClose: () => C(!1),
1713
1028
  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, {}) })
1029
+ /* @__PURE__ */ R(ge, { children: [
1030
+ /* @__PURE__ */ s(Co, { color: i.colors.midnight, children: "Settings" }),
1031
+ /* @__PURE__ */ s(
1032
+ K,
1033
+ {
1034
+ variant: "icon",
1035
+ size: 36,
1036
+ onClick: () => C(!1),
1037
+ color: i.colors.midnight,
1038
+ children: /* @__PURE__ */ s(ue, {})
1039
+ }
1040
+ )
1041
+ ] }),
1042
+ /* @__PURE__ */ s(
1043
+ V,
1044
+ {
1045
+ ...te,
1046
+ navItems: ce,
1047
+ themeColors: {
1048
+ iconPrimary: i.colors.midnight,
1049
+ highlightPrimary: m,
1050
+ highlightTertiary: y,
1051
+ shadowSecondary: U,
1052
+ scrollColor: a
1053
+ }
1054
+ }
1055
+ )
1056
+ ]
1057
+ }
1058
+ ),
1059
+ !A && /* @__PURE__ */ R(
1060
+ xo,
1061
+ {
1062
+ withActionsPanel: ee,
1063
+ tablet: x,
1064
+ borderColor: I,
1065
+ backgroundColor: T,
1066
+ children: [
1067
+ H && /* @__PURE__ */ s(ne, { scrollColor: a, direction: "vertical", children: t && t }),
1068
+ x && /* @__PURE__ */ s(
1069
+ K,
1070
+ {
1071
+ variant: "icon",
1072
+ size: 36,
1073
+ onClick: () => L(!0),
1074
+ color: $,
1075
+ children: /* @__PURE__ */ s(ue, {})
1076
+ }
1077
+ )
1716
1078
  ]
1717
1079
  }
1718
1080
  ),
1719
- /* @__PURE__ */ C(
1720
- Nt,
1081
+ /* @__PURE__ */ s(
1082
+ wo,
1721
1083
  {
1722
- withActionsPanel: y,
1723
- borderColor: X,
1724
- backgroundColor: b,
1725
- children: /* @__PURE__ */ C(ze, { children: h })
1084
+ withActionsPanel: ee,
1085
+ borderColor: I,
1086
+ backgroundColor: m,
1087
+ mobileScreen: g,
1088
+ children: /* @__PURE__ */ s(ne, { scrollColor: a, children: h })
1726
1089
  }
1727
1090
  )
1728
1091
  ] })
1729
1092
  ] });
1730
1093
  };
1731
1094
  export {
1732
- io as default
1095
+ Go as default
1733
1096
  };