@prozilla-os/settings 1.1.17 → 1.1.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js CHANGED
@@ -1,40 +1,45 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode('._SettingsContainer_12j2h_1{width:100%;height:100%;position:sticky;top:0;left:0}._Settings_12j2h_1{--tabs-width: 10rem;flex:1;display:flex;width:100%;height:100%;background-color:var(--background-color-2)}._Tabs_12j2h_19{display:flex;gap:.25rem;flex-direction:column;min-width:calc(var(--tabs-width) / 2);width:var(--tabs-width);height:100%;max-width:50%;padding:.5rem;margin:0;background-color:var(--background-color-2);resize:horizontal;overflow:hidden}._TabButton_12j2h_34{display:flex;gap:.5rem;align-items:center;width:100%;min-width:fit-content;padding:.75rem;border-radius:var(--border-radius-1);font-size:.875rem}._TabButton_12j2h_34._ActiveTab_12j2h_45{background-color:var(--background-color-0)}._TabButton_12j2h_34:not(._ActiveTab_12j2h_45):hover,._TabButton_12j2h_34:not(._ActiveTab_12j2h_45):focus-visible{background-color:color-mix(in srgb,var(--background-color-0) 50%,transparent)}._TabButton_12j2h_34>svg{height:1.35rem;aspect-ratio:1}._TabButton_12j2h_34>p{margin:0}._TabPanel_12j2h_63{flex:1;display:flex;flex-direction:column;align-content:flex-start;height:100%;padding:.5rem 1rem;background-color:var(--background-color-3);overflow:auto}._TabPanel_12j2h_63:not(._ActivePanel_12j2h_74){display:none}._Option_12j2h_78{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;text-align:start;width:100%;padding-bottom:1rem}._OptionList_12j2h_88{gap:.5rem}._OptionList_12j2h_88 ._Option_12j2h_78{padding-bottom:0}._OptionHorizontal_12j2h_96{flex-direction:row;justify-content:space-between}._Option_12j2h_78>._Label_12j2h_101{color:var(--foreground-color-0)}._Input_12j2h_105{display:flex;gap:.5rem;flex-wrap:wrap}._Input_12j2h_105>label{flex:1;display:flex}._ImageSelectContainer_12j2h_116{display:grid;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));gap:.5rem}._ImageSelect_12j2h_116{display:block;width:100%}._ImageSelect_12j2h_116>input{position:absolute;opacity:0;width:0;height:0}._ImageSelect_12j2h_116>input:hover+img,._ImageSelect_12j2h_116>input:focus-visible+img{filter:brightness(110%)}._ImageSelect_12j2h_116>input:checked+img{outline:.25em solid var(--foreground-color-0)}._ImageSelect_12j2h_116>img{width:100%;height:100%;border-radius:var(--border-radius-1);transition:filter var(--transition-duration-0) var(--ease-in-out-default);cursor:pointer}._ButtonGroup_12j2h_151{display:flex;gap:1rem;flex-wrap:wrap;margin:.75rem 0}._ButtonGroup_12j2h_151 ._Button_12j2h_151{margin-bottom:0}._Button_12j2h_151{--normal-color: var(--background-color-0) !important;--hover-color: var(--background-color-1) !important;margin-bottom:.75rem!important;padding:.5rem 1rem;border-radius:var(--border-radius-1)}._ButtonDanger_12j2h_171{--text-color: var(--black-1) !important;--normal-color: var(--red-0) !important;--hover-color: var(--red-1) !important}._IconButton_12j2h_177{--color: var(--foreground-color-0);position:relative;height:1.25rem;width:auto;padding:0;background:none;border:none;outline:none;aspect-ratio:1;cursor:pointer}._IconButton_12j2h_177:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-color:#fff0;border-radius:var(--border-radius-99);transform:scale(1);transform-origin:center;transition:all var(--transition-duration-1) var(--ease-in-out-default)}._IconButton_12j2h_177:hover:after,._IconButton_12j2h_177:focus-visible:after{background-color:#ffffff1a;transform:scale(1.5)}._IconButton_12j2h_177:disabled{--color: var(--foreground-color-2)}._IconButton_12j2h_177 svg{height:100%}._IconButton_12j2h_177 svg path{fill:var(--color);transition:fill var(--transition-duration-0) var(--ease-in-out-default)}._ProgressBarContainer_12j2h_223{width:100%;max-width:35rem}._ProgressBar_12j2h_223{width:100%!important}._ProgressBarLabels_12j2h_232{display:flex;justify-content:space-between;width:100%}._Option_12j2h_78>span._Label_12j2h_101{display:flex;gap:.5rem;align-items:center}._Icon_12j2h_177{display:inline-block;width:2rem;height:2rem}._Icon_12j2h_177 div{width:inherit;height:inherit}._Icon_12j2h_177 div>svg{width:inherit;height:inherit;object-fit:contain}._Dropdown_12j2h_261{width:auto;max-width:calc(60% - var(--gap));padding:.5rem 1rem;color:var(--text-color);background-color:var(--background-color-0);border:none;border-radius:var(--border-radius-1);outline:none;font-size:.875em}._Dropdown_12j2h_261>*{color:inherit;background-color:inherit;border:none;border-radius:var(--border-radius-1);outline:none;font-family:inherit;font-size:inherit}')),document.head.appendChild(o)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
2
- import { App as bt, AppsConfig as mt, useVirtualRoot as we, useWindowsManager as Ye, useSystemManager as me, useHistory as Ot, useAlert as At, useWindowedModal as ht, useContextMenu as Me, Actions as Fe, ClickAction as re, Vector2 as be, Divider as Rt, VirtualRoot as Je, DialogBox as Ze, ModalsConfig as Qe, DirectoryList as $t, CODE_EXTENSIONS as jt, utilStyles as H, WindowedModal as Bt, ImagePreview as Ue, StorageManager as ue, VirtualFile as Lt, useSettingsManager as qe, SettingsManager as Ee, Button as Se, IMAGE_EXTENSIONS as kt, ProgressBar as Dt } from "@prozilla-os/core";
3
- import { jsxs as x, jsx as s, Fragment as vt } from "react/jsx-runtime";
4
- import { FontAwesomeIcon as X } from "@fortawesome/react-fontawesome";
5
- import { faUpload as Mt, faTrash as et, faCircleInfo as yt, faCaretLeft as Ft, faCaretRight as Ut, faArrowUp as zt, faPlus as Wt, faSearch as Yt, faCog as qt, faHouse as Vt, faDesktop as Kt, faImage as Ht, faFileLines as Gt, faDownload as Xt, faThumbTack as Jt, faEllipsisVertical as Zt, faShapes as Qt, faPalette as en, faHardDrive as tn } from "@fortawesome/free-solid-svg-icons";
6
- import pe, { Children as gt, cloneElement as _e, useRef as Te, useId as nn, useState as te, useEffect as se, useCallback as rn } from "react";
7
- import { Theme as tt } from "@prozilla-os/skins";
8
- import { round as Ae, removeFromArray as on } from "@prozilla-os/shared";
9
- const an = "_SettingsContainer_12j2h_1", sn = "_Settings_12j2h_1", ln = "_Tabs_12j2h_19", cn = "_TabButton_12j2h_34", un = "_ActiveTab_12j2h_45", dn = "_TabPanel_12j2h_63", fn = "_ActivePanel_12j2h_74", pn = "_Option_12j2h_78", bn = "_OptionList_12j2h_88", mn = "_OptionHorizontal_12j2h_96", hn = "_Label_12j2h_101", vn = "_Input_12j2h_105", yn = "_ImageSelectContainer_12j2h_116", gn = "_ImageSelect_12j2h_116", _n = "_ButtonGroup_12j2h_151", Tn = "_Button_12j2h_151", xn = "_ButtonDanger_12j2h_171", En = "_IconButton_12j2h_177", Sn = "_ProgressBarContainer_12j2h_223", Cn = "_ProgressBar_12j2h_223", Pn = "_ProgressBarLabels_12j2h_232", wn = "_Icon_12j2h_177", Nn = "_Dropdown_12j2h_261", E = {
10
- SettingsContainer: an,
11
- Settings: sn,
12
- Tabs: ln,
13
- TabButton: cn,
14
- ActiveTab: un,
15
- TabPanel: dn,
16
- ActivePanel: fn,
17
- Option: pn,
18
- OptionList: bn,
19
- OptionHorizontal: mn,
20
- Label: hn,
21
- Input: vn,
22
- ImageSelectContainer: yn,
23
- ImageSelect: gn,
24
- ButtonGroup: _n,
25
- Button: Tn,
26
- ButtonDanger: xn,
27
- IconButton: En,
28
- ProgressBarContainer: Sn,
29
- ProgressBar: Cn,
30
- ProgressBarLabels: Pn,
31
- Icon: wn,
32
- Dropdown: Nn
1
+ (function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode('._SettingsContainer_oddmx_1{width:100%;height:100%;position:sticky;top:0;left:0}._Settings_oddmx_1{--tabs-width: 10rem;flex:1;display:flex;width:100%;height:100%;background-color:var(--background-color-2)}._Tabs_oddmx_19{display:flex;gap:.25rem;flex-direction:column;min-width:calc(var(--tabs-width) / 2);width:var(--tabs-width);height:100%;max-width:50%;padding:.5rem;margin:0;background-color:var(--background-color-2);resize:horizontal;overflow:hidden}._TabButton_oddmx_34{display:flex;gap:.5rem;align-items:center;width:100%;min-width:fit-content;padding:.75rem;border-radius:var(--border-radius-1);font-size:.875rem}._TabButton_oddmx_34._ActiveTab_oddmx_45{background-color:var(--background-color-0)}._TabButton_oddmx_34:not(._ActiveTab_oddmx_45):hover,._TabButton_oddmx_34:not(._ActiveTab_oddmx_45):focus-visible{background-color:color-mix(in srgb,var(--background-color-0) 50%,transparent)}._TabButton_oddmx_34>svg{height:1.35rem;aspect-ratio:1}._TabButton_oddmx_34>p{margin:0}._TabPanel_oddmx_63{flex:1;display:flex;flex-direction:column;align-content:flex-start;height:100%;padding:.5rem 1rem;background-color:var(--background-color-3);overflow:auto}._TabPanel_oddmx_63:not(._ActivePanel_oddmx_74){display:none}._Breadcrumbs_oddmx_78{font-size:1.25em;font-weight:600;-webkit-user-select:none;user-select:none;margin:1rem 0;line-height:1.5}span._Breadcrumbs_oddmx_78{--gap: .5rem;display:flex;gap:calc(var(--gap) / 2);align-items:center}._Breadcrumbs_oddmx_78 button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;font-size:inherit;font-weight:inherit;padding:0;color:var(--foreground-color-1)}._Breadcrumbs_oddmx_78 p{margin:0;line-height:inherit}._Breadcrumbs_oddmx_78>*:not(:first-child):before{content:"▸";font-weight:600;font-size:inherit;margin-right:calc(var(--gap) / 2)}._Option_oddmx_114{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;text-align:start;width:100%;padding-bottom:1rem;background:none}._OptionList_oddmx_125{gap:.5rem}._OptionList_oddmx_125 ._Option_oddmx_114{padding-bottom:0}._OptionList_oddmx_125 ._OptionListItem_oddmx_133{display:flex;justify-content:space-between;align-items:center;background-color:var(--background-color-1);border-radius:var(--border-radius-1);padding:.75rem}._OptionList_oddmx_125 ._OptionListItem_oddmx_133>._Label_oddmx_142{font-size:1rem}._OptionHorizontal_oddmx_146{flex-direction:row;justify-content:space-between}._Option_oddmx_114>._Label_oddmx_142{color:var(--foreground-color-0)}._Input_oddmx_155{display:flex;gap:.5rem;flex-wrap:wrap}._Input_oddmx_155>label{flex:1;display:flex}._ImageSelectContainer_oddmx_166{display:grid;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));gap:.5rem}._ImageSelect_oddmx_166{display:block;width:100%}._ImageSelect_oddmx_166>input{position:absolute;opacity:0;width:0;height:0}._ImageSelect_oddmx_166>input:hover+img,._ImageSelect_oddmx_166>input:focus-visible+img{filter:brightness(110%)}._ImageSelect_oddmx_166>input:checked+img{outline:.25em solid var(--foreground-color-0)}._ImageSelect_oddmx_166>img{width:100%;height:100%;border-radius:var(--border-radius-1);transition:filter var(--transition-duration-0) var(--ease-in-out-default);cursor:pointer}._ButtonGroup_oddmx_201{display:flex;gap:1rem;flex-wrap:wrap;margin:.75rem 0}._ButtonGroup_oddmx_201 ._Button_oddmx_201{margin-bottom:0}._Button_oddmx_201{--normal-color: var(--background-color-0) !important;--hover-color: var(--background-color-1) !important;margin-bottom:.75rem!important;padding:.5rem 1rem;border-radius:var(--border-radius-1)}._ButtonDanger_oddmx_221{--text-color: var(--black-1) !important;--normal-color: var(--red-0) !important;--hover-color: var(--red-1) !important}._IconButton_oddmx_227{--color: var(--foreground-color-0);position:relative;height:1.25rem;width:auto;padding:0;background:none;border:none;outline:none;aspect-ratio:1;cursor:pointer}._IconButton_oddmx_227:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-color:#fff0;border-radius:var(--border-radius-99);transform:scale(1);transform-origin:center;transition:all var(--transition-duration-1) var(--ease-in-out-default)}._IconButton_oddmx_227:hover:after,._IconButton_oddmx_227:focus-visible:after{background-color:#ffffff1a;transform:scale(1.5)}._IconButton_oddmx_227:disabled{--color: var(--foreground-color-2)}._IconButton_oddmx_227 svg{height:100%}._IconButton_oddmx_227 svg path{fill:var(--color);transition:fill var(--transition-duration-0) var(--ease-in-out-default)}._ProgressBarContainer_oddmx_273{width:100%;max-width:35rem}._ProgressBar_oddmx_273{width:100%!important}._ProgressBarLabels_oddmx_282{display:flex;justify-content:space-between;width:100%}._Option_oddmx_114>span._Label_oddmx_142{display:flex;gap:.5rem;align-items:center}._Icon_oddmx_227{display:inline-block;width:2rem;height:2rem}._Icon_oddmx_227 div{width:inherit;height:inherit}._Icon_oddmx_227 div>svg{width:inherit;height:inherit;object-fit:contain}._Dropdown_oddmx_311{width:auto;max-width:calc(60% - var(--gap));padding:.5rem 1rem;color:var(--text-color);background-color:var(--background-color-0);border:none;border-radius:var(--border-radius-1);outline:none;font-size:.875em}._Dropdown_oddmx_311>*{color:inherit;background-color:inherit;border:none;border-radius:var(--border-radius-1);outline:none;font-family:inherit;font-size:inherit}._Checkbox_oddmx_333{background:none;height:1.5rem}._Checkbox_oddmx_333>svg{width:auto;height:inherit}._OptionList_oddmx_125 ._OptionListItem_oddmx_133:has(._Checkbox_oddmx_333){transition:background-color var(--transition-duration-0) var(--ease-in-out-default)}._OptionList_oddmx_125 ._OptionListItem_oddmx_133:has(._Checkbox_oddmx_333:not(._Checked_oddmx_347)){background-color:var(--background-color-2)}._NavButton_14eky_1{display:flex;gap:1rem;flex-direction:row;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--background-color-1);width:100%;border-radius:var(--border-radius-1);padding:.75rem 1rem}._NavButton_14eky_1 span{display:flex;flex-direction:column;align-items:start}._NavButton_14eky_1 p{margin:0;line-height:1.5}._NavButton_14eky_1 ._Description_14eky_47{color:var(--foreground-color-1)}._NavButton_14eky_1:after{content:"▸";font-size:1.5rem;margin:auto 0 auto auto}')),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
+ import { utilStyles as V, useIntSetting as Mt, SettingsManager as he, App as bt, AppsConfig as ht, useVirtualRoot as Pe, useWindowsManager as Ve, useSystemManager as se, useHistory as jt, useAlert as Ft, useWindowedModal as gt, useContextMenu as Ue, Actions as ze, ClickAction as ne, Vector2 as me, Divider as Ut, VirtualRoot as Ze, DialogBox as Qe, ModalsConfig as et, DirectoryList as zt, CODE_EXTENSIONS as qt, WindowedModal as Wt, ImagePreview as Ee, StorageManager as de, VirtualFile as Yt, useStringSetting as Vt, Button as Ne, IMAGE_EXTENSIONS as Kt, useBoolSetting as Ht, ProgressBar as Gt, useListSetting as vt } from "@prozilla-os/core";
3
+ import { jsxs as y, jsx as o, Fragment as qe } from "react/jsx-runtime";
4
+ import { FontAwesomeIcon as W } from "@fortawesome/react-fontawesome";
5
+ import { faUpload as Xt, faTrash as tt, faCircleInfo as yt, faCaretLeft as Jt, faCaretRight as Zt, faArrowUp as Qt, faPlus as en, faSearch as tn, faCog as nn, faHouse as rn, faDesktop as _t, faImage as Tt, faFileLines as on, faDownload as an, faSquareCheck as xt, faPalette as St, faThumbTack as sn, faEllipsisVertical as ln, faList as cn, faFlagCheckered as dn, faShapes as un, faHardDrive as fn } from "@fortawesome/free-solid-svg-icons";
6
+ import pe, { Children as Ct, cloneElement as xe, useRef as Se, useId as pn, useState as ie, useEffect as be, useCallback as mn } from "react";
7
+ import { Theme as nt } from "@prozilla-os/skins";
8
+ import { faSquare as Et } from "@fortawesome/free-regular-svg-icons";
9
+ import { round as Re, removeFromArray as Nt } from "@prozilla-os/shared";
10
+ const bn = "_SettingsContainer_oddmx_1", hn = "_Settings_oddmx_1", gn = "_Tabs_oddmx_19", vn = "_TabButton_oddmx_34", yn = "_ActiveTab_oddmx_45", _n = "_TabPanel_oddmx_63", Tn = "_ActivePanel_oddmx_74", xn = "_Breadcrumbs_oddmx_78", Sn = "_Option_oddmx_114", Cn = "_OptionList_oddmx_125", En = "_OptionListItem_oddmx_133", Nn = "_Label_oddmx_142", wn = "_OptionHorizontal_oddmx_146", In = "_Input_oddmx_155", Pn = "_ImageSelectContainer_oddmx_166", On = "_ImageSelect_oddmx_166", An = "_ButtonGroup_oddmx_201", $n = "_Button_oddmx_201", Rn = "_ButtonDanger_oddmx_221", kn = "_IconButton_oddmx_227", Ln = "_ProgressBarContainer_oddmx_273", Bn = "_ProgressBar_oddmx_273", Dn = "_ProgressBarLabels_oddmx_282", Mn = "_Icon_oddmx_227", jn = "_Dropdown_oddmx_311", Fn = "_Checkbox_oddmx_333", Un = "_Checked_oddmx_347", b = {
11
+ SettingsContainer: bn,
12
+ Settings: hn,
13
+ Tabs: gn,
14
+ TabButton: vn,
15
+ ActiveTab: yn,
16
+ TabPanel: _n,
17
+ ActivePanel: Tn,
18
+ Breadcrumbs: xn,
19
+ Option: Sn,
20
+ OptionList: Cn,
21
+ OptionListItem: En,
22
+ Label: Nn,
23
+ OptionHorizontal: wn,
24
+ Input: In,
25
+ ImageSelectContainer: Pn,
26
+ ImageSelect: On,
27
+ ButtonGroup: An,
28
+ Button: $n,
29
+ ButtonDanger: Rn,
30
+ IconButton: kn,
31
+ ProgressBarContainer: Ln,
32
+ ProgressBar: Bn,
33
+ ProgressBarLabels: Dn,
34
+ Icon: Mn,
35
+ Dropdown: jn,
36
+ Checkbox: Fn,
37
+ Checked: Un
33
38
  };
34
- function In(e) {
39
+ function zn(e) {
35
40
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
36
41
  }
37
- var ze = { exports: {} }, ye = { exports: {} }, D = {};
42
+ var We = { exports: {} }, ye = { exports: {} }, B = {};
38
43
  /** @license React v16.13.1
39
44
  * react-is.production.min.js
40
45
  *
@@ -43,31 +48,31 @@ var ze = { exports: {} }, ye = { exports: {} }, D = {};
43
48
  * This source code is licensed under the MIT license found in the
44
49
  * LICENSE file in the root directory of this source tree.
45
50
  */
46
- var nt;
47
- function On() {
48
- if (nt) return D;
49
- nt = 1;
50
- var e = typeof Symbol == "function" && Symbol.for, n = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, l = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, h = e ? Symbol.for("react.provider") : 60109, i = e ? Symbol.for("react.context") : 60110, y = e ? Symbol.for("react.async_mode") : 60111, v = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, C = e ? Symbol.for("react.suspense") : 60113, k = e ? Symbol.for("react.suspense_list") : 60120, P = e ? Symbol.for("react.memo") : 60115, N = e ? Symbol.for("react.lazy") : 60116, S = e ? Symbol.for("react.block") : 60121, F = e ? Symbol.for("react.fundamental") : 60117, q = e ? Symbol.for("react.responder") : 60118, Q = e ? Symbol.for("react.scope") : 60119;
51
+ var rt;
52
+ function qn() {
53
+ if (rt) return B;
54
+ rt = 1;
55
+ var e = typeof Symbol == "function" && Symbol.for, n = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, l = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, i = e ? Symbol.for("react.context") : 60110, _ = e ? Symbol.for("react.async_mode") : 60111, v = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, E = e ? Symbol.for("react.suspense") : 60113, M = e ? Symbol.for("react.suspense_list") : 60120, I = e ? Symbol.for("react.memo") : 60115, j = e ? Symbol.for("react.lazy") : 60116, L = e ? Symbol.for("react.block") : 60121, F = e ? Symbol.for("react.fundamental") : 60117, K = e ? Symbol.for("react.responder") : 60118, Q = e ? Symbol.for("react.scope") : 60119;
51
56
  function z(u) {
52
57
  if (typeof u == "object" && u !== null) {
53
58
  var ee = u.$$typeof;
54
59
  switch (ee) {
55
60
  case n:
56
61
  switch (u = u.type, u) {
57
- case y:
62
+ case _:
58
63
  case v:
59
64
  case r:
60
65
  case a:
61
66
  case l:
62
- case C:
67
+ case E:
63
68
  return u;
64
69
  default:
65
70
  switch (u = u && u.$$typeof, u) {
66
71
  case i:
67
- case d:
68
- case N:
69
- case P:
70
72
  case h:
73
+ case j:
74
+ case I:
75
+ case c:
71
76
  return u;
72
77
  default:
73
78
  return ee;
@@ -81,35 +86,35 @@ function On() {
81
86
  function U(u) {
82
87
  return z(u) === v;
83
88
  }
84
- return D.AsyncMode = y, D.ConcurrentMode = v, D.ContextConsumer = i, D.ContextProvider = h, D.Element = n, D.ForwardRef = d, D.Fragment = r, D.Lazy = N, D.Memo = P, D.Portal = t, D.Profiler = a, D.StrictMode = l, D.Suspense = C, D.isAsyncMode = function(u) {
85
- return U(u) || z(u) === y;
86
- }, D.isConcurrentMode = U, D.isContextConsumer = function(u) {
89
+ return B.AsyncMode = _, B.ConcurrentMode = v, B.ContextConsumer = i, B.ContextProvider = c, B.Element = n, B.ForwardRef = h, B.Fragment = r, B.Lazy = j, B.Memo = I, B.Portal = t, B.Profiler = a, B.StrictMode = l, B.Suspense = E, B.isAsyncMode = function(u) {
90
+ return U(u) || z(u) === _;
91
+ }, B.isConcurrentMode = U, B.isContextConsumer = function(u) {
87
92
  return z(u) === i;
88
- }, D.isContextProvider = function(u) {
89
- return z(u) === h;
90
- }, D.isElement = function(u) {
93
+ }, B.isContextProvider = function(u) {
94
+ return z(u) === c;
95
+ }, B.isElement = function(u) {
91
96
  return typeof u == "object" && u !== null && u.$$typeof === n;
92
- }, D.isForwardRef = function(u) {
93
- return z(u) === d;
94
- }, D.isFragment = function(u) {
97
+ }, B.isForwardRef = function(u) {
98
+ return z(u) === h;
99
+ }, B.isFragment = function(u) {
95
100
  return z(u) === r;
96
- }, D.isLazy = function(u) {
97
- return z(u) === N;
98
- }, D.isMemo = function(u) {
99
- return z(u) === P;
100
- }, D.isPortal = function(u) {
101
+ }, B.isLazy = function(u) {
102
+ return z(u) === j;
103
+ }, B.isMemo = function(u) {
104
+ return z(u) === I;
105
+ }, B.isPortal = function(u) {
101
106
  return z(u) === t;
102
- }, D.isProfiler = function(u) {
107
+ }, B.isProfiler = function(u) {
103
108
  return z(u) === a;
104
- }, D.isStrictMode = function(u) {
109
+ }, B.isStrictMode = function(u) {
105
110
  return z(u) === l;
106
- }, D.isSuspense = function(u) {
107
- return z(u) === C;
108
- }, D.isValidElementType = function(u) {
109
- return typeof u == "string" || typeof u == "function" || u === r || u === v || u === a || u === l || u === C || u === k || typeof u == "object" && u !== null && (u.$$typeof === N || u.$$typeof === P || u.$$typeof === h || u.$$typeof === i || u.$$typeof === d || u.$$typeof === F || u.$$typeof === q || u.$$typeof === Q || u.$$typeof === S);
110
- }, D.typeOf = z, D;
111
+ }, B.isSuspense = function(u) {
112
+ return z(u) === E;
113
+ }, B.isValidElementType = function(u) {
114
+ return typeof u == "string" || typeof u == "function" || u === r || u === v || u === a || u === l || u === E || u === M || typeof u == "object" && u !== null && (u.$$typeof === j || u.$$typeof === I || u.$$typeof === c || u.$$typeof === i || u.$$typeof === h || u.$$typeof === F || u.$$typeof === K || u.$$typeof === Q || u.$$typeof === L);
115
+ }, B.typeOf = z, B;
111
116
  }
112
- var M = {};
117
+ var D = {};
113
118
  /** @license React v16.13.1
114
119
  * react-is.development.js
115
120
  *
@@ -118,37 +123,37 @@ var M = {};
118
123
  * This source code is licensed under the MIT license found in the
119
124
  * LICENSE file in the root directory of this source tree.
120
125
  */
121
- var rt;
122
- function An() {
123
- return rt || (rt = 1, process.env.NODE_ENV !== "production" && function() {
124
- var e = typeof Symbol == "function" && Symbol.for, n = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, l = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, h = e ? Symbol.for("react.provider") : 60109, i = e ? Symbol.for("react.context") : 60110, y = e ? Symbol.for("react.async_mode") : 60111, v = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, C = e ? Symbol.for("react.suspense") : 60113, k = e ? Symbol.for("react.suspense_list") : 60120, P = e ? Symbol.for("react.memo") : 60115, N = e ? Symbol.for("react.lazy") : 60116, S = e ? Symbol.for("react.block") : 60121, F = e ? Symbol.for("react.fundamental") : 60117, q = e ? Symbol.for("react.responder") : 60118, Q = e ? Symbol.for("react.scope") : 60119;
125
- function z(c) {
126
- return typeof c == "string" || typeof c == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
127
- c === r || c === v || c === a || c === l || c === C || c === k || typeof c == "object" && c !== null && (c.$$typeof === N || c.$$typeof === P || c.$$typeof === h || c.$$typeof === i || c.$$typeof === d || c.$$typeof === F || c.$$typeof === q || c.$$typeof === Q || c.$$typeof === S);
126
+ var ot;
127
+ function Wn() {
128
+ return ot || (ot = 1, process.env.NODE_ENV !== "production" && function() {
129
+ var e = typeof Symbol == "function" && Symbol.for, n = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, l = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, i = e ? Symbol.for("react.context") : 60110, _ = e ? Symbol.for("react.async_mode") : 60111, v = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, E = e ? Symbol.for("react.suspense") : 60113, M = e ? Symbol.for("react.suspense_list") : 60120, I = e ? Symbol.for("react.memo") : 60115, j = e ? Symbol.for("react.lazy") : 60116, L = e ? Symbol.for("react.block") : 60121, F = e ? Symbol.for("react.fundamental") : 60117, K = e ? Symbol.for("react.responder") : 60118, Q = e ? Symbol.for("react.scope") : 60119;
130
+ function z(d) {
131
+ return typeof d == "string" || typeof d == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
132
+ d === r || d === v || d === a || d === l || d === E || d === M || typeof d == "object" && d !== null && (d.$$typeof === j || d.$$typeof === I || d.$$typeof === c || d.$$typeof === i || d.$$typeof === h || d.$$typeof === F || d.$$typeof === K || d.$$typeof === Q || d.$$typeof === L);
128
133
  }
129
- function U(c) {
130
- if (typeof c == "object" && c !== null) {
131
- var Z = c.$$typeof;
134
+ function U(d) {
135
+ if (typeof d == "object" && d !== null) {
136
+ var Z = d.$$typeof;
132
137
  switch (Z) {
133
138
  case n:
134
- var ve = c.type;
139
+ var ve = d.type;
135
140
  switch (ve) {
136
- case y:
141
+ case _:
137
142
  case v:
138
143
  case r:
139
144
  case a:
140
145
  case l:
141
- case C:
146
+ case E:
142
147
  return ve;
143
148
  default:
144
- var Xe = ve && ve.$$typeof;
145
- switch (Xe) {
149
+ var Je = ve && ve.$$typeof;
150
+ switch (Je) {
146
151
  case i:
147
- case d:
148
- case N:
149
- case P:
150
152
  case h:
151
- return Xe;
153
+ case j:
154
+ case I:
155
+ case c:
156
+ return Je;
152
157
  default:
153
158
  return Z;
154
159
  }
@@ -158,62 +163,62 @@ function An() {
158
163
  }
159
164
  }
160
165
  }
161
- var u = y, ee = v, ne = i, le = h, ce = n, J = d, oe = r, ae = N, m = P, f = t, g = a, w = l, j = C, V = !1;
162
- function G(c) {
163
- return V || (V = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), o(c) || U(c) === y;
166
+ var u = _, ee = v, te = i, le = c, ce = n, J = h, re = r, oe = j, g = I, f = t, T = a, C = l, $ = E, H = !1;
167
+ function X(d) {
168
+ return H || (H = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), s(d) || U(d) === _;
164
169
  }
165
- function o(c) {
166
- return U(c) === v;
170
+ function s(d) {
171
+ return U(d) === v;
167
172
  }
168
- function p(c) {
169
- return U(c) === i;
173
+ function p(d) {
174
+ return U(d) === i;
170
175
  }
171
- function A(c) {
172
- return U(c) === h;
176
+ function P(d) {
177
+ return U(d) === c;
173
178
  }
174
- function O(c) {
175
- return typeof c == "object" && c !== null && c.$$typeof === n;
179
+ function w(d) {
180
+ return typeof d == "object" && d !== null && d.$$typeof === n;
176
181
  }
177
- function _(c) {
178
- return U(c) === d;
182
+ function x(d) {
183
+ return U(d) === h;
179
184
  }
180
- function R(c) {
181
- return U(c) === r;
185
+ function O(d) {
186
+ return U(d) === r;
182
187
  }
183
- function T(c) {
184
- return U(c) === N;
188
+ function S(d) {
189
+ return U(d) === j;
185
190
  }
186
- function I(c) {
187
- return U(c) === P;
191
+ function N(d) {
192
+ return U(d) === I;
188
193
  }
189
- function B(c) {
190
- return U(c) === t;
194
+ function R(d) {
195
+ return U(d) === t;
191
196
  }
192
- function L(c) {
193
- return U(c) === a;
197
+ function k(d) {
198
+ return U(d) === a;
194
199
  }
195
- function $(c) {
196
- return U(c) === l;
200
+ function A(d) {
201
+ return U(d) === l;
197
202
  }
198
- function Y(c) {
199
- return U(c) === C;
203
+ function Y(d) {
204
+ return U(d) === E;
200
205
  }
201
- M.AsyncMode = u, M.ConcurrentMode = ee, M.ContextConsumer = ne, M.ContextProvider = le, M.Element = ce, M.ForwardRef = J, M.Fragment = oe, M.Lazy = ae, M.Memo = m, M.Portal = f, M.Profiler = g, M.StrictMode = w, M.Suspense = j, M.isAsyncMode = G, M.isConcurrentMode = o, M.isContextConsumer = p, M.isContextProvider = A, M.isElement = O, M.isForwardRef = _, M.isFragment = R, M.isLazy = T, M.isMemo = I, M.isPortal = B, M.isProfiler = L, M.isStrictMode = $, M.isSuspense = Y, M.isValidElementType = z, M.typeOf = U;
202
- }()), M;
206
+ D.AsyncMode = u, D.ConcurrentMode = ee, D.ContextConsumer = te, D.ContextProvider = le, D.Element = ce, D.ForwardRef = J, D.Fragment = re, D.Lazy = oe, D.Memo = g, D.Portal = f, D.Profiler = T, D.StrictMode = C, D.Suspense = $, D.isAsyncMode = X, D.isConcurrentMode = s, D.isContextConsumer = p, D.isContextProvider = P, D.isElement = w, D.isForwardRef = x, D.isFragment = O, D.isLazy = S, D.isMemo = N, D.isPortal = R, D.isProfiler = k, D.isStrictMode = A, D.isSuspense = Y, D.isValidElementType = z, D.typeOf = U;
207
+ }()), D;
203
208
  }
204
- var ot;
205
- function _t() {
206
- return ot || (ot = 1, process.env.NODE_ENV === "production" ? ye.exports = On() : ye.exports = An()), ye.exports;
209
+ var at;
210
+ function wt() {
211
+ return at || (at = 1, process.env.NODE_ENV === "production" ? ye.exports = qn() : ye.exports = Wn()), ye.exports;
207
212
  }
208
213
  /*
209
214
  object-assign
210
215
  (c) Sindre Sorhus
211
216
  @license MIT
212
217
  */
213
- var Re, at;
214
- function Rn() {
215
- if (at) return Re;
216
- at = 1;
218
+ var ke, it;
219
+ function Yn() {
220
+ if (it) return ke;
221
+ it = 1;
217
222
  var e = Object.getOwnPropertySymbols, n = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable;
218
223
  function r(a) {
219
224
  if (a == null)
@@ -227,86 +232,86 @@ function Rn() {
227
232
  var a = new String("abc");
228
233
  if (a[5] = "de", Object.getOwnPropertyNames(a)[0] === "5")
229
234
  return !1;
230
- for (var h = {}, i = 0; i < 10; i++)
231
- h["_" + String.fromCharCode(i)] = i;
232
- var y = Object.getOwnPropertyNames(h).map(function(d) {
233
- return h[d];
235
+ for (var c = {}, i = 0; i < 10; i++)
236
+ c["_" + String.fromCharCode(i)] = i;
237
+ var _ = Object.getOwnPropertyNames(c).map(function(h) {
238
+ return c[h];
234
239
  });
235
- if (y.join("") !== "0123456789")
240
+ if (_.join("") !== "0123456789")
236
241
  return !1;
237
242
  var v = {};
238
- return "abcdefghijklmnopqrst".split("").forEach(function(d) {
239
- v[d] = d;
243
+ return "abcdefghijklmnopqrst".split("").forEach(function(h) {
244
+ v[h] = h;
240
245
  }), Object.keys(Object.assign({}, v)).join("") === "abcdefghijklmnopqrst";
241
246
  } catch {
242
247
  return !1;
243
248
  }
244
249
  }
245
- return Re = l() ? Object.assign : function(a, h) {
246
- for (var i, y = r(a), v, d = 1; d < arguments.length; d++) {
247
- i = Object(arguments[d]);
248
- for (var C in i)
249
- n.call(i, C) && (y[C] = i[C]);
250
+ return ke = l() ? Object.assign : function(a, c) {
251
+ for (var i, _ = r(a), v, h = 1; h < arguments.length; h++) {
252
+ i = Object(arguments[h]);
253
+ for (var E in i)
254
+ n.call(i, E) && (_[E] = i[E]);
250
255
  if (e) {
251
256
  v = e(i);
252
- for (var k = 0; k < v.length; k++)
253
- t.call(i, v[k]) && (y[v[k]] = i[v[k]]);
257
+ for (var M = 0; M < v.length; M++)
258
+ t.call(i, v[M]) && (_[v[M]] = i[v[M]]);
254
259
  }
255
260
  }
256
- return y;
257
- }, Re;
261
+ return _;
262
+ }, ke;
258
263
  }
259
- var $e, it;
260
- function Ve() {
261
- if (it) return $e;
262
- it = 1;
264
+ var Le, st;
265
+ function Ke() {
266
+ if (st) return Le;
267
+ st = 1;
263
268
  var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
264
- return $e = e, $e;
265
- }
266
- var je, st;
267
- function Tt() {
268
- return st || (st = 1, je = Function.call.bind(Object.prototype.hasOwnProperty)), je;
269
+ return Le = e, Le;
269
270
  }
270
271
  var Be, lt;
271
- function $n() {
272
- if (lt) return Be;
273
- lt = 1;
272
+ function It() {
273
+ return lt || (lt = 1, Be = Function.call.bind(Object.prototype.hasOwnProperty)), Be;
274
+ }
275
+ var De, ct;
276
+ function Vn() {
277
+ if (ct) return De;
278
+ ct = 1;
274
279
  var e = function() {
275
280
  };
276
281
  if (process.env.NODE_ENV !== "production") {
277
- var n = Ve(), t = {}, r = Tt();
282
+ var n = Ke(), t = {}, r = It();
278
283
  e = function(a) {
279
- var h = "Warning: " + a;
280
- typeof console < "u" && console.error(h);
284
+ var c = "Warning: " + a;
285
+ typeof console < "u" && console.error(c);
281
286
  try {
282
- throw new Error(h);
287
+ throw new Error(c);
283
288
  } catch {
284
289
  }
285
290
  };
286
291
  }
287
- function l(a, h, i, y, v) {
292
+ function l(a, c, i, _, v) {
288
293
  if (process.env.NODE_ENV !== "production") {
289
- for (var d in a)
290
- if (r(a, d)) {
291
- var C;
294
+ for (var h in a)
295
+ if (r(a, h)) {
296
+ var E;
292
297
  try {
293
- if (typeof a[d] != "function") {
294
- var k = Error(
295
- (y || "React class") + ": " + i + " type `" + d + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[d] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
298
+ if (typeof a[h] != "function") {
299
+ var M = Error(
300
+ (_ || "React class") + ": " + i + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
296
301
  );
297
- throw k.name = "Invariant Violation", k;
302
+ throw M.name = "Invariant Violation", M;
298
303
  }
299
- C = a[d](h, d, y, i, null, n);
300
- } catch (N) {
301
- C = N;
304
+ E = a[h](c, h, _, i, null, n);
305
+ } catch (j) {
306
+ E = j;
302
307
  }
303
- if (C && !(C instanceof Error) && e(
304
- (y || "React class") + ": type specification of " + i + " `" + d + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof C + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
305
- ), C instanceof Error && !(C.message in t)) {
306
- t[C.message] = !0;
307
- var P = v ? v() : "";
308
+ if (E && !(E instanceof Error) && e(
309
+ (_ || "React class") + ": type specification of " + i + " `" + h + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof E + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
310
+ ), E instanceof Error && !(E.message in t)) {
311
+ t[E.message] = !0;
312
+ var I = v ? v() : "";
308
313
  e(
309
- "Failed " + i + " type: " + C.message + (P ?? "")
314
+ "Failed " + i + " type: " + E.message + (I ?? "")
310
315
  );
311
316
  }
312
317
  }
@@ -314,41 +319,41 @@ function $n() {
314
319
  }
315
320
  return l.resetWarningCache = function() {
316
321
  process.env.NODE_ENV !== "production" && (t = {});
317
- }, Be = l, Be;
322
+ }, De = l, De;
318
323
  }
319
- var Le, ct;
320
- function jn() {
321
- if (ct) return Le;
322
- ct = 1;
323
- var e = _t(), n = Rn(), t = Ve(), r = Tt(), l = $n(), a = function() {
324
+ var Me, dt;
325
+ function Kn() {
326
+ if (dt) return Me;
327
+ dt = 1;
328
+ var e = wt(), n = Yn(), t = Ke(), r = It(), l = Vn(), a = function() {
324
329
  };
325
330
  process.env.NODE_ENV !== "production" && (a = function(i) {
326
- var y = "Warning: " + i;
327
- typeof console < "u" && console.error(y);
331
+ var _ = "Warning: " + i;
332
+ typeof console < "u" && console.error(_);
328
333
  try {
329
- throw new Error(y);
334
+ throw new Error(_);
330
335
  } catch {
331
336
  }
332
337
  });
333
- function h() {
338
+ function c() {
334
339
  return null;
335
340
  }
336
- return Le = function(i, y) {
337
- var v = typeof Symbol == "function" && Symbol.iterator, d = "@@iterator";
338
- function C(o) {
339
- var p = o && (v && o[v] || o[d]);
341
+ return Me = function(i, _) {
342
+ var v = typeof Symbol == "function" && Symbol.iterator, h = "@@iterator";
343
+ function E(s) {
344
+ var p = s && (v && s[v] || s[h]);
340
345
  if (typeof p == "function")
341
346
  return p;
342
347
  }
343
- var k = "<<anonymous>>", P = {
344
- array: q("array"),
345
- bigint: q("bigint"),
346
- bool: q("boolean"),
347
- func: q("function"),
348
- number: q("number"),
349
- object: q("object"),
350
- string: q("string"),
351
- symbol: q("symbol"),
348
+ var M = "<<anonymous>>", I = {
349
+ array: K("array"),
350
+ bigint: K("bigint"),
351
+ bool: K("boolean"),
352
+ func: K("function"),
353
+ number: K("number"),
354
+ object: K("object"),
355
+ string: K("string"),
356
+ symbol: K("symbol"),
352
357
  any: Q(),
353
358
  arrayOf: z,
354
359
  element: U(),
@@ -356,49 +361,49 @@ function jn() {
356
361
  instanceOf: ee,
357
362
  node: J(),
358
363
  objectOf: le,
359
- oneOf: ne,
364
+ oneOf: te,
360
365
  oneOfType: ce,
361
- shape: ae,
362
- exact: m
366
+ shape: oe,
367
+ exact: g
363
368
  };
364
- function N(o, p) {
365
- return o === p ? o !== 0 || 1 / o === 1 / p : o !== o && p !== p;
369
+ function j(s, p) {
370
+ return s === p ? s !== 0 || 1 / s === 1 / p : s !== s && p !== p;
366
371
  }
367
- function S(o, p) {
368
- this.message = o, this.data = p && typeof p == "object" ? p : {}, this.stack = "";
372
+ function L(s, p) {
373
+ this.message = s, this.data = p && typeof p == "object" ? p : {}, this.stack = "";
369
374
  }
370
- S.prototype = Error.prototype;
371
- function F(o) {
375
+ L.prototype = Error.prototype;
376
+ function F(s) {
372
377
  if (process.env.NODE_ENV !== "production")
373
- var p = {}, A = 0;
374
- function O(R, T, I, B, L, $, Y) {
375
- if (B = B || k, $ = $ || I, Y !== t) {
376
- if (y) {
377
- var c = new Error(
378
+ var p = {}, P = 0;
379
+ function w(O, S, N, R, k, A, Y) {
380
+ if (R = R || M, A = A || N, Y !== t) {
381
+ if (_) {
382
+ var d = new Error(
378
383
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
379
384
  );
380
- throw c.name = "Invariant Violation", c;
385
+ throw d.name = "Invariant Violation", d;
381
386
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
382
- var Z = B + ":" + I;
387
+ var Z = R + ":" + N;
383
388
  !p[Z] && // Avoid spamming the console because they are often not actionable except for lib authors
384
- A < 3 && (a(
385
- "You are manually calling a React.PropTypes validation function for the `" + $ + "` prop on `" + B + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
386
- ), p[Z] = !0, A++);
389
+ P < 3 && (a(
390
+ "You are manually calling a React.PropTypes validation function for the `" + A + "` prop on `" + R + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
391
+ ), p[Z] = !0, P++);
387
392
  }
388
393
  }
389
- return T[I] == null ? R ? T[I] === null ? new S("The " + L + " `" + $ + "` is marked as required " + ("in `" + B + "`, but its value is `null`.")) : new S("The " + L + " `" + $ + "` is marked as required in " + ("`" + B + "`, but its value is `undefined`.")) : null : o(T, I, B, L, $);
394
+ return S[N] == null ? O ? S[N] === null ? new L("The " + k + " `" + A + "` is marked as required " + ("in `" + R + "`, but its value is `null`.")) : new L("The " + k + " `" + A + "` is marked as required in " + ("`" + R + "`, but its value is `undefined`.")) : null : s(S, N, R, k, A);
390
395
  }
391
- var _ = O.bind(null, !1);
392
- return _.isRequired = O.bind(null, !0), _;
396
+ var x = w.bind(null, !1);
397
+ return x.isRequired = w.bind(null, !0), x;
393
398
  }
394
- function q(o) {
395
- function p(A, O, _, R, T, I) {
396
- var B = A[O], L = w(B);
397
- if (L !== o) {
398
- var $ = j(B);
399
- return new S(
400
- "Invalid " + R + " `" + T + "` of type " + ("`" + $ + "` supplied to `" + _ + "`, expected ") + ("`" + o + "`."),
401
- { expectedType: o }
399
+ function K(s) {
400
+ function p(P, w, x, O, S, N) {
401
+ var R = P[w], k = C(R);
402
+ if (k !== s) {
403
+ var A = $(R);
404
+ return new L(
405
+ "Invalid " + O + " `" + S + "` of type " + ("`" + A + "` supplied to `" + x + "`, expected ") + ("`" + s + "`."),
406
+ { expectedType: s }
402
407
  );
403
408
  }
404
409
  return null;
@@ -406,135 +411,135 @@ function jn() {
406
411
  return F(p);
407
412
  }
408
413
  function Q() {
409
- return F(h);
414
+ return F(c);
410
415
  }
411
- function z(o) {
412
- function p(A, O, _, R, T) {
413
- if (typeof o != "function")
414
- return new S("Property `" + T + "` of component `" + _ + "` has invalid PropType notation inside arrayOf.");
415
- var I = A[O];
416
- if (!Array.isArray(I)) {
417
- var B = w(I);
418
- return new S("Invalid " + R + " `" + T + "` of type " + ("`" + B + "` supplied to `" + _ + "`, expected an array."));
416
+ function z(s) {
417
+ function p(P, w, x, O, S) {
418
+ if (typeof s != "function")
419
+ return new L("Property `" + S + "` of component `" + x + "` has invalid PropType notation inside arrayOf.");
420
+ var N = P[w];
421
+ if (!Array.isArray(N)) {
422
+ var R = C(N);
423
+ return new L("Invalid " + O + " `" + S + "` of type " + ("`" + R + "` supplied to `" + x + "`, expected an array."));
419
424
  }
420
- for (var L = 0; L < I.length; L++) {
421
- var $ = o(I, L, _, R, T + "[" + L + "]", t);
422
- if ($ instanceof Error)
423
- return $;
425
+ for (var k = 0; k < N.length; k++) {
426
+ var A = s(N, k, x, O, S + "[" + k + "]", t);
427
+ if (A instanceof Error)
428
+ return A;
424
429
  }
425
430
  return null;
426
431
  }
427
432
  return F(p);
428
433
  }
429
434
  function U() {
430
- function o(p, A, O, _, R) {
431
- var T = p[A];
432
- if (!i(T)) {
433
- var I = w(T);
434
- return new S("Invalid " + _ + " `" + R + "` of type " + ("`" + I + "` supplied to `" + O + "`, expected a single ReactElement."));
435
+ function s(p, P, w, x, O) {
436
+ var S = p[P];
437
+ if (!i(S)) {
438
+ var N = C(S);
439
+ return new L("Invalid " + x + " `" + O + "` of type " + ("`" + N + "` supplied to `" + w + "`, expected a single ReactElement."));
435
440
  }
436
441
  return null;
437
442
  }
438
- return F(o);
443
+ return F(s);
439
444
  }
440
445
  function u() {
441
- function o(p, A, O, _, R) {
442
- var T = p[A];
443
- if (!e.isValidElementType(T)) {
444
- var I = w(T);
445
- return new S("Invalid " + _ + " `" + R + "` of type " + ("`" + I + "` supplied to `" + O + "`, expected a single ReactElement type."));
446
+ function s(p, P, w, x, O) {
447
+ var S = p[P];
448
+ if (!e.isValidElementType(S)) {
449
+ var N = C(S);
450
+ return new L("Invalid " + x + " `" + O + "` of type " + ("`" + N + "` supplied to `" + w + "`, expected a single ReactElement type."));
446
451
  }
447
452
  return null;
448
453
  }
449
- return F(o);
454
+ return F(s);
450
455
  }
451
- function ee(o) {
452
- function p(A, O, _, R, T) {
453
- if (!(A[O] instanceof o)) {
454
- var I = o.name || k, B = G(A[O]);
455
- return new S("Invalid " + R + " `" + T + "` of type " + ("`" + B + "` supplied to `" + _ + "`, expected ") + ("instance of `" + I + "`."));
456
+ function ee(s) {
457
+ function p(P, w, x, O, S) {
458
+ if (!(P[w] instanceof s)) {
459
+ var N = s.name || M, R = X(P[w]);
460
+ return new L("Invalid " + O + " `" + S + "` of type " + ("`" + R + "` supplied to `" + x + "`, expected ") + ("instance of `" + N + "`."));
456
461
  }
457
462
  return null;
458
463
  }
459
464
  return F(p);
460
465
  }
461
- function ne(o) {
462
- if (!Array.isArray(o))
466
+ function te(s) {
467
+ if (!Array.isArray(s))
463
468
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
464
469
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
465
- ) : a("Invalid argument supplied to oneOf, expected an array.")), h;
466
- function p(A, O, _, R, T) {
467
- for (var I = A[O], B = 0; B < o.length; B++)
468
- if (N(I, o[B]))
470
+ ) : a("Invalid argument supplied to oneOf, expected an array.")), c;
471
+ function p(P, w, x, O, S) {
472
+ for (var N = P[w], R = 0; R < s.length; R++)
473
+ if (j(N, s[R]))
469
474
  return null;
470
- var L = JSON.stringify(o, function(Y, c) {
471
- var Z = j(c);
472
- return Z === "symbol" ? String(c) : c;
475
+ var k = JSON.stringify(s, function(Y, d) {
476
+ var Z = $(d);
477
+ return Z === "symbol" ? String(d) : d;
473
478
  });
474
- return new S("Invalid " + R + " `" + T + "` of value `" + String(I) + "` " + ("supplied to `" + _ + "`, expected one of " + L + "."));
479
+ return new L("Invalid " + O + " `" + S + "` of value `" + String(N) + "` " + ("supplied to `" + x + "`, expected one of " + k + "."));
475
480
  }
476
481
  return F(p);
477
482
  }
478
- function le(o) {
479
- function p(A, O, _, R, T) {
480
- if (typeof o != "function")
481
- return new S("Property `" + T + "` of component `" + _ + "` has invalid PropType notation inside objectOf.");
482
- var I = A[O], B = w(I);
483
- if (B !== "object")
484
- return new S("Invalid " + R + " `" + T + "` of type " + ("`" + B + "` supplied to `" + _ + "`, expected an object."));
485
- for (var L in I)
486
- if (r(I, L)) {
487
- var $ = o(I, L, _, R, T + "." + L, t);
488
- if ($ instanceof Error)
489
- return $;
483
+ function le(s) {
484
+ function p(P, w, x, O, S) {
485
+ if (typeof s != "function")
486
+ return new L("Property `" + S + "` of component `" + x + "` has invalid PropType notation inside objectOf.");
487
+ var N = P[w], R = C(N);
488
+ if (R !== "object")
489
+ return new L("Invalid " + O + " `" + S + "` of type " + ("`" + R + "` supplied to `" + x + "`, expected an object."));
490
+ for (var k in N)
491
+ if (r(N, k)) {
492
+ var A = s(N, k, x, O, S + "." + k, t);
493
+ if (A instanceof Error)
494
+ return A;
490
495
  }
491
496
  return null;
492
497
  }
493
498
  return F(p);
494
499
  }
495
- function ce(o) {
496
- if (!Array.isArray(o))
497
- return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), h;
498
- for (var p = 0; p < o.length; p++) {
499
- var A = o[p];
500
- if (typeof A != "function")
500
+ function ce(s) {
501
+ if (!Array.isArray(s))
502
+ return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), c;
503
+ for (var p = 0; p < s.length; p++) {
504
+ var P = s[p];
505
+ if (typeof P != "function")
501
506
  return a(
502
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + V(A) + " at index " + p + "."
503
- ), h;
507
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + H(P) + " at index " + p + "."
508
+ ), c;
504
509
  }
505
- function O(_, R, T, I, B) {
506
- for (var L = [], $ = 0; $ < o.length; $++) {
507
- var Y = o[$], c = Y(_, R, T, I, B, t);
508
- if (c == null)
510
+ function w(x, O, S, N, R) {
511
+ for (var k = [], A = 0; A < s.length; A++) {
512
+ var Y = s[A], d = Y(x, O, S, N, R, t);
513
+ if (d == null)
509
514
  return null;
510
- c.data && r(c.data, "expectedType") && L.push(c.data.expectedType);
515
+ d.data && r(d.data, "expectedType") && k.push(d.data.expectedType);
511
516
  }
512
- var Z = L.length > 0 ? ", expected one of type [" + L.join(", ") + "]" : "";
513
- return new S("Invalid " + I + " `" + B + "` supplied to " + ("`" + T + "`" + Z + "."));
517
+ var Z = k.length > 0 ? ", expected one of type [" + k.join(", ") + "]" : "";
518
+ return new L("Invalid " + N + " `" + R + "` supplied to " + ("`" + S + "`" + Z + "."));
514
519
  }
515
- return F(O);
520
+ return F(w);
516
521
  }
517
522
  function J() {
518
- function o(p, A, O, _, R) {
519
- return f(p[A]) ? null : new S("Invalid " + _ + " `" + R + "` supplied to " + ("`" + O + "`, expected a ReactNode."));
523
+ function s(p, P, w, x, O) {
524
+ return f(p[P]) ? null : new L("Invalid " + x + " `" + O + "` supplied to " + ("`" + w + "`, expected a ReactNode."));
520
525
  }
521
- return F(o);
526
+ return F(s);
522
527
  }
523
- function oe(o, p, A, O, _) {
524
- return new S(
525
- (o || "React class") + ": " + p + " type `" + A + "." + O + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + _ + "`."
528
+ function re(s, p, P, w, x) {
529
+ return new L(
530
+ (s || "React class") + ": " + p + " type `" + P + "." + w + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + x + "`."
526
531
  );
527
532
  }
528
- function ae(o) {
529
- function p(A, O, _, R, T) {
530
- var I = A[O], B = w(I);
531
- if (B !== "object")
532
- return new S("Invalid " + R + " `" + T + "` of type `" + B + "` " + ("supplied to `" + _ + "`, expected `object`."));
533
- for (var L in o) {
534
- var $ = o[L];
535
- if (typeof $ != "function")
536
- return oe(_, R, T, L, j($));
537
- var Y = $(I, L, _, R, T + "." + L, t);
533
+ function oe(s) {
534
+ function p(P, w, x, O, S) {
535
+ var N = P[w], R = C(N);
536
+ if (R !== "object")
537
+ return new L("Invalid " + O + " `" + S + "` of type `" + R + "` " + ("supplied to `" + x + "`, expected `object`."));
538
+ for (var k in s) {
539
+ var A = s[k];
540
+ if (typeof A != "function")
541
+ return re(x, O, S, k, $(A));
542
+ var Y = A(N, k, x, O, S + "." + k, t);
538
543
  if (Y)
539
544
  return Y;
540
545
  }
@@ -542,53 +547,53 @@ function jn() {
542
547
  }
543
548
  return F(p);
544
549
  }
545
- function m(o) {
546
- function p(A, O, _, R, T) {
547
- var I = A[O], B = w(I);
548
- if (B !== "object")
549
- return new S("Invalid " + R + " `" + T + "` of type `" + B + "` " + ("supplied to `" + _ + "`, expected `object`."));
550
- var L = n({}, A[O], o);
551
- for (var $ in L) {
552
- var Y = o[$];
553
- if (r(o, $) && typeof Y != "function")
554
- return oe(_, R, T, $, j(Y));
550
+ function g(s) {
551
+ function p(P, w, x, O, S) {
552
+ var N = P[w], R = C(N);
553
+ if (R !== "object")
554
+ return new L("Invalid " + O + " `" + S + "` of type `" + R + "` " + ("supplied to `" + x + "`, expected `object`."));
555
+ var k = n({}, P[w], s);
556
+ for (var A in k) {
557
+ var Y = s[A];
558
+ if (r(s, A) && typeof Y != "function")
559
+ return re(x, O, S, A, $(Y));
555
560
  if (!Y)
556
- return new S(
557
- "Invalid " + R + " `" + T + "` key `" + $ + "` supplied to `" + _ + "`.\nBad object: " + JSON.stringify(A[O], null, " ") + `
558
- Valid keys: ` + JSON.stringify(Object.keys(o), null, " ")
561
+ return new L(
562
+ "Invalid " + O + " `" + S + "` key `" + A + "` supplied to `" + x + "`.\nBad object: " + JSON.stringify(P[w], null, " ") + `
563
+ Valid keys: ` + JSON.stringify(Object.keys(s), null, " ")
559
564
  );
560
- var c = Y(I, $, _, R, T + "." + $, t);
561
- if (c)
562
- return c;
565
+ var d = Y(N, A, x, O, S + "." + A, t);
566
+ if (d)
567
+ return d;
563
568
  }
564
569
  return null;
565
570
  }
566
571
  return F(p);
567
572
  }
568
- function f(o) {
569
- switch (typeof o) {
573
+ function f(s) {
574
+ switch (typeof s) {
570
575
  case "number":
571
576
  case "string":
572
577
  case "undefined":
573
578
  return !0;
574
579
  case "boolean":
575
- return !o;
580
+ return !s;
576
581
  case "object":
577
- if (Array.isArray(o))
578
- return o.every(f);
579
- if (o === null || i(o))
582
+ if (Array.isArray(s))
583
+ return s.every(f);
584
+ if (s === null || i(s))
580
585
  return !0;
581
- var p = C(o);
586
+ var p = E(s);
582
587
  if (p) {
583
- var A = p.call(o), O;
584
- if (p !== o.entries) {
585
- for (; !(O = A.next()).done; )
586
- if (!f(O.value))
588
+ var P = p.call(s), w;
589
+ if (p !== s.entries) {
590
+ for (; !(w = P.next()).done; )
591
+ if (!f(w.value))
587
592
  return !1;
588
593
  } else
589
- for (; !(O = A.next()).done; ) {
590
- var _ = O.value;
591
- if (_ && !f(_[1]))
594
+ for (; !(w = P.next()).done; ) {
595
+ var x = w.value;
596
+ if (x && !f(x[1]))
592
597
  return !1;
593
598
  }
594
599
  } else
@@ -598,27 +603,27 @@ Valid keys: ` + JSON.stringify(Object.keys(o), null, " ")
598
603
  return !1;
599
604
  }
600
605
  }
601
- function g(o, p) {
602
- return o === "symbol" ? !0 : p ? p["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && p instanceof Symbol : !1;
606
+ function T(s, p) {
607
+ return s === "symbol" ? !0 : p ? p["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && p instanceof Symbol : !1;
603
608
  }
604
- function w(o) {
605
- var p = typeof o;
606
- return Array.isArray(o) ? "array" : o instanceof RegExp ? "object" : g(p, o) ? "symbol" : p;
609
+ function C(s) {
610
+ var p = typeof s;
611
+ return Array.isArray(s) ? "array" : s instanceof RegExp ? "object" : T(p, s) ? "symbol" : p;
607
612
  }
608
- function j(o) {
609
- if (typeof o > "u" || o === null)
610
- return "" + o;
611
- var p = w(o);
613
+ function $(s) {
614
+ if (typeof s > "u" || s === null)
615
+ return "" + s;
616
+ var p = C(s);
612
617
  if (p === "object") {
613
- if (o instanceof Date)
618
+ if (s instanceof Date)
614
619
  return "date";
615
- if (o instanceof RegExp)
620
+ if (s instanceof RegExp)
616
621
  return "regexp";
617
622
  }
618
623
  return p;
619
624
  }
620
- function V(o) {
621
- var p = j(o);
625
+ function H(s) {
626
+ var p = $(s);
622
627
  switch (p) {
623
628
  case "array":
624
629
  case "object":
@@ -631,28 +636,28 @@ Valid keys: ` + JSON.stringify(Object.keys(o), null, " ")
631
636
  return p;
632
637
  }
633
638
  }
634
- function G(o) {
635
- return !o.constructor || !o.constructor.name ? k : o.constructor.name;
639
+ function X(s) {
640
+ return !s.constructor || !s.constructor.name ? M : s.constructor.name;
636
641
  }
637
- return P.checkPropTypes = l, P.resetWarningCache = l.resetWarningCache, P.PropTypes = P, P;
638
- }, Le;
642
+ return I.checkPropTypes = l, I.resetWarningCache = l.resetWarningCache, I.PropTypes = I, I;
643
+ }, Me;
639
644
  }
640
- var ke, ut;
641
- function Bn() {
642
- if (ut) return ke;
645
+ var je, ut;
646
+ function Hn() {
647
+ if (ut) return je;
643
648
  ut = 1;
644
- var e = Ve();
649
+ var e = Ke();
645
650
  function n() {
646
651
  }
647
652
  function t() {
648
653
  }
649
- return t.resetWarningCache = n, ke = function() {
650
- function r(h, i, y, v, d, C) {
651
- if (C !== e) {
652
- var k = new Error(
654
+ return t.resetWarningCache = n, je = function() {
655
+ function r(c, i, _, v, h, E) {
656
+ if (E !== e) {
657
+ var M = new Error(
653
658
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
654
659
  );
655
- throw k.name = "Invariant Violation", k;
660
+ throw M.name = "Invariant Violation", M;
656
661
  }
657
662
  }
658
663
  r.isRequired = r;
@@ -683,190 +688,190 @@ function Bn() {
683
688
  resetWarningCache: n
684
689
  };
685
690
  return a.PropTypes = a, a;
686
- }, ke;
691
+ }, je;
687
692
  }
688
693
  if (process.env.NODE_ENV !== "production") {
689
- var Ln = _t(), kn = !0;
690
- ze.exports = jn()(Ln.isElement, kn);
694
+ var Gn = wt(), Xn = !0;
695
+ We.exports = Kn()(Gn.isElement, Xn);
691
696
  } else
692
- ze.exports = Bn()();
693
- var Dn = ze.exports;
694
- const b = /* @__PURE__ */ In(Dn);
695
- function Ke(e) {
697
+ We.exports = Hn()();
698
+ var Jn = We.exports;
699
+ const m = /* @__PURE__ */ zn(Jn);
700
+ function He(e) {
696
701
  return (n) => !!n.type && n.type.tabsRole === e;
697
702
  }
698
- const he = Ke("Tab"), Ne = Ke("TabList"), Ie = Ke("TabPanel");
699
- function Mn(e) {
700
- return he(e) || Ne(e) || Ie(e);
703
+ const ge = He("Tab"), Oe = He("TabList"), Ae = He("TabPanel");
704
+ function Zn(e) {
705
+ return ge(e) || Oe(e) || Ae(e);
701
706
  }
702
- function We(e, n) {
703
- return gt.map(e, (t) => t === null ? null : Mn(t) ? n(t) : t.props && t.props.children && typeof t.props.children == "object" ? _e(t, { ...t.props, children: We(t.props.children, n) }) : t);
707
+ function Ye(e, n) {
708
+ return Ct.map(e, (t) => t === null ? null : Zn(t) ? n(t) : t.props && t.props.children && typeof t.props.children == "object" ? xe(t, { ...t.props, children: Ye(t.props.children, n) }) : t);
704
709
  }
705
- function Ce(e, n) {
706
- return gt.forEach(e, (t) => {
707
- t !== null && (he(t) || Ie(t) ? n(t) : t.props && t.props.children && typeof t.props.children == "object" && (Ne(t) && n(t), Ce(t.props.children, n)));
710
+ function we(e, n) {
711
+ return Ct.forEach(e, (t) => {
712
+ t !== null && (ge(t) || Ae(t) ? n(t) : t.props && t.props.children && typeof t.props.children == "object" && (Oe(t) && n(t), we(t.props.children, n)));
708
713
  });
709
714
  }
710
- function xt(e, n, t) {
711
- let r, l = 0, a = 0, h = !1;
712
- const i = [], y = e[n];
713
- return Ce(y, (v) => {
714
- Ne(v) && (v.props && v.props.children && typeof v.props.children == "object" && Ce(v.props.children, (d) => i.push(d)), h && (r = new Error("Found multiple 'TabList' components inside 'Tabs'. Only one is allowed.")), h = !0), he(v) ? ((!h || i.indexOf(v) === -1) && (r = new Error("Found a 'Tab' component outside of the 'TabList' component. 'Tab' components have to be inside the 'TabList' component.")), l++) : Ie(v) && a++;
715
+ function Pt(e, n, t) {
716
+ let r, l = 0, a = 0, c = !1;
717
+ const i = [], _ = e[n];
718
+ return we(_, (v) => {
719
+ Oe(v) && (v.props && v.props.children && typeof v.props.children == "object" && we(v.props.children, (h) => i.push(h)), c && (r = new Error("Found multiple 'TabList' components inside 'Tabs'. Only one is allowed.")), c = !0), ge(v) ? ((!c || i.indexOf(v) === -1) && (r = new Error("Found a 'Tab' component outside of the 'TabList' component. 'Tab' components have to be inside the 'TabList' component.")), l++) : Ae(v) && a++;
715
720
  }), !r && l !== a && (r = new Error(`There should be an equal number of 'Tab' and 'TabPanel' in \`${t}\`. Received ${l} 'Tab' and ${a} 'TabPanel'.`)), r;
716
721
  }
717
- function Fn(e, n, t, r, l) {
718
- const a = e[n], h = l || n;
722
+ function Qn(e, n, t, r, l) {
723
+ const a = e[n], c = l || n;
719
724
  let i = null;
720
- return a && typeof a != "function" ? i = new Error(`Invalid ${r} \`${h}\` of type \`${typeof a}\` supplied to \`${t}\`, expected \`function\`.`) : e.selectedIndex != null && a == null && (i = new Error(`The ${r} \`${h}\` is marked as required in \`${t}\`, but its value is \`undefined\` or \`null\`.
725
+ return a && typeof a != "function" ? i = new Error(`Invalid ${r} \`${c}\` of type \`${typeof a}\` supplied to \`${t}\`, expected \`function\`.`) : e.selectedIndex != null && a == null && (i = new Error(`The ${r} \`${c}\` is marked as required in \`${t}\`, but its value is \`undefined\` or \`null\`.
721
726
  \`onSelect\` is required when \`selectedIndex\` is also set. Not doing so will make the tabs not do anything, as \`selectedIndex\` indicates that you want to handle the selected tab yourself.
722
727
  If you only want to set the inital tab replace \`selectedIndex\` with \`defaultIndex\`.`)), i;
723
728
  }
724
- function Un(e, n, t, r, l) {
725
- const a = e[n], h = l || n;
729
+ function er(e, n, t, r, l) {
730
+ const a = e[n], c = l || n;
726
731
  let i = null;
727
732
  if (a != null && typeof a != "number")
728
- i = new Error(`Invalid ${r} \`${h}\` of type \`${typeof a}\` supplied to \`${t}\`, expected \`number\`.`);
733
+ i = new Error(`Invalid ${r} \`${c}\` of type \`${typeof a}\` supplied to \`${t}\`, expected \`number\`.`);
729
734
  else if (e.defaultIndex != null && a != null)
730
- return new Error(`The ${r} \`${h}\` cannot be used together with \`defaultIndex\` in \`${t}\`.
731
- Either remove \`${h}\` to let \`${t}\` handle the selected tab internally or remove \`defaultIndex\` to handle it yourself.`);
735
+ return new Error(`The ${r} \`${c}\` cannot be used together with \`defaultIndex\` in \`${t}\`.
736
+ Either remove \`${c}\` to let \`${t}\` handle the selected tab internally or remove \`defaultIndex\` to handle it yourself.`);
732
737
  return i;
733
738
  }
734
- function Et(e) {
739
+ function Ot(e) {
735
740
  var n, t, r = "";
736
741
  if (typeof e == "string" || typeof e == "number") r += e;
737
742
  else if (typeof e == "object") if (Array.isArray(e)) {
738
743
  var l = e.length;
739
- for (n = 0; n < l; n++) e[n] && (t = Et(e[n])) && (r && (r += " "), r += t);
744
+ for (n = 0; n < l; n++) e[n] && (t = Ot(e[n])) && (r && (r += " "), r += t);
740
745
  } else for (t in e) e[t] && (r && (r += " "), r += t);
741
746
  return r;
742
747
  }
743
- function Oe() {
744
- for (var e, n, t = 0, r = "", l = arguments.length; t < l; t++) (e = arguments[t]) && (n = Et(e)) && (r && (r += " "), r += n);
748
+ function $e() {
749
+ for (var e, n, t = 0, r = "", l = arguments.length; t < l; t++) (e = arguments[t]) && (n = Ot(e)) && (r && (r += " "), r += n);
745
750
  return r;
746
751
  }
747
- function St(e) {
752
+ function At(e) {
748
753
  let n = 0;
749
- return Ce(e, (t) => {
750
- he(t) && n++;
754
+ return we(e, (t) => {
755
+ ge(t) && n++;
751
756
  }), n;
752
757
  }
753
- function Ct(e) {
758
+ function $t(e) {
754
759
  return e && "getAttribute" in e;
755
760
  }
756
- function dt(e) {
757
- return Ct(e) && e.getAttribute("data-rttab");
761
+ function ft(e) {
762
+ return $t(e) && e.getAttribute("data-rttab");
758
763
  }
759
- function ie(e) {
760
- return Ct(e) && e.getAttribute("aria-disabled") === "true";
764
+ function ae(e) {
765
+ return $t(e) && e.getAttribute("aria-disabled") === "true";
761
766
  }
762
- let Pe;
763
- function zn(e) {
767
+ let Ie;
768
+ function tr(e) {
764
769
  const n = e || (typeof window < "u" ? window : void 0);
765
770
  try {
766
- Pe = !!(typeof n < "u" && n.document && n.document.activeElement);
771
+ Ie = !!(typeof n < "u" && n.document && n.document.activeElement);
767
772
  } catch {
768
- Pe = !1;
773
+ Ie = !1;
769
774
  }
770
775
  }
771
- const Wn = { className: "react-tabs", focus: !1 }, Yn = process.env.NODE_ENV !== "production" ? { children: xt, direction: b.oneOf(["rtl", "ltr"]), className: b.oneOfType([b.string, b.array, b.object]), disabledTabClassName: b.string, disableUpDownKeys: b.bool, disableLeftRightKeys: b.bool, domRef: b.func, focus: b.bool, forceRenderTabPanel: b.bool, onSelect: b.func.isRequired, selectedIndex: b.number.isRequired, selectedTabClassName: b.string, selectedTabPanelClassName: b.string, environment: b.object } : {}, Pt = (e) => {
772
- let n = Te([]), t = Te([]);
773
- const r = Te();
774
- function l(m, f) {
775
- if (m < 0 || m >= v()) return;
776
- const { onSelect: g, selectedIndex: w } = e;
777
- g(m, w, f);
776
+ const nr = { className: "react-tabs", focus: !1 }, rr = process.env.NODE_ENV !== "production" ? { children: Pt, direction: m.oneOf(["rtl", "ltr"]), className: m.oneOfType([m.string, m.array, m.object]), disabledTabClassName: m.string, disableUpDownKeys: m.bool, disableLeftRightKeys: m.bool, domRef: m.func, focus: m.bool, forceRenderTabPanel: m.bool, onSelect: m.func.isRequired, selectedIndex: m.number.isRequired, selectedTabClassName: m.string, selectedTabPanelClassName: m.string, environment: m.object } : {}, Rt = (e) => {
777
+ let n = Se([]), t = Se([]);
778
+ const r = Se();
779
+ function l(g, f) {
780
+ if (g < 0 || g >= v()) return;
781
+ const { onSelect: T, selectedIndex: C } = e;
782
+ T(g, C, f);
778
783
  }
779
- function a(m) {
784
+ function a(g) {
780
785
  const f = v();
781
- for (let g = m + 1; g < f; g++)
782
- if (!ie(d(g)))
783
- return g;
784
- for (let g = 0; g < m; g++)
785
- if (!ie(d(g)))
786
- return g;
787
- return m;
786
+ for (let T = g + 1; T < f; T++)
787
+ if (!ae(h(T)))
788
+ return T;
789
+ for (let T = 0; T < g; T++)
790
+ if (!ae(h(T)))
791
+ return T;
792
+ return g;
788
793
  }
789
- function h(m) {
790
- let f = m;
794
+ function c(g) {
795
+ let f = g;
791
796
  for (; f--; )
792
- if (!ie(d(f)))
797
+ if (!ae(h(f)))
793
798
  return f;
794
- for (f = v(); f-- > m; )
795
- if (!ie(d(f)))
799
+ for (f = v(); f-- > g; )
800
+ if (!ae(h(f)))
796
801
  return f;
797
- return m;
802
+ return g;
798
803
  }
799
804
  function i() {
800
- const m = v();
801
- for (let f = 0; f < m; f++)
802
- if (!ie(d(f)))
805
+ const g = v();
806
+ for (let f = 0; f < g; f++)
807
+ if (!ae(h(f)))
803
808
  return f;
804
809
  return null;
805
810
  }
806
- function y() {
807
- let m = v();
808
- for (; m--; )
809
- if (!ie(d(m)))
810
- return m;
811
+ function _() {
812
+ let g = v();
813
+ for (; g--; )
814
+ if (!ae(h(g)))
815
+ return g;
811
816
  return null;
812
817
  }
813
818
  function v() {
814
- const { children: m } = e;
815
- return St(m);
819
+ const { children: g } = e;
820
+ return At(g);
816
821
  }
817
- function d(m) {
818
- return n.current[`tabs-${m}`];
822
+ function h(g) {
823
+ return n.current[`tabs-${g}`];
819
824
  }
820
- function C() {
821
- let m = 0;
822
- const { children: f, disabledTabClassName: g, focus: w, forceRenderTabPanel: j, selectedIndex: V, selectedTabClassName: G, selectedTabPanelClassName: o, environment: p } = e;
825
+ function E() {
826
+ let g = 0;
827
+ const { children: f, disabledTabClassName: T, focus: C, forceRenderTabPanel: $, selectedIndex: H, selectedTabClassName: X, selectedTabPanelClassName: s, environment: p } = e;
823
828
  t.current = t.current || [];
824
- let A = t.current.length - v();
825
- const O = nn();
826
- for (; A++ < 0; )
827
- t.current.push(`${O}${t.current.length}`);
828
- return We(f, (_) => {
829
- let R = _;
830
- if (Ne(_)) {
831
- let T = 0, I = !1;
832
- Pe == null && zn(p);
833
- const B = p || (typeof window < "u" ? window : void 0);
834
- Pe && B && (I = pe.Children.toArray(_.props.children).filter(he).some((L, $) => B.document.activeElement === d($))), R = _e(_, { children: We(_.props.children, (L) => {
835
- const $ = `tabs-${T}`, Y = V === T, c = { tabRef: (Z) => {
836
- n.current[$] = Z;
837
- }, id: t.current[T], selected: Y, focus: Y && (w || I) };
838
- return G && (c.selectedClassName = G), g && (c.disabledClassName = g), T++, _e(L, c);
829
+ let P = t.current.length - v();
830
+ const w = pn();
831
+ for (; P++ < 0; )
832
+ t.current.push(`${w}${t.current.length}`);
833
+ return Ye(f, (x) => {
834
+ let O = x;
835
+ if (Oe(x)) {
836
+ let S = 0, N = !1;
837
+ Ie == null && tr(p);
838
+ const R = p || (typeof window < "u" ? window : void 0);
839
+ Ie && R && (N = pe.Children.toArray(x.props.children).filter(ge).some((k, A) => R.document.activeElement === h(A))), O = xe(x, { children: Ye(x.props.children, (k) => {
840
+ const A = `tabs-${S}`, Y = H === S, d = { tabRef: (Z) => {
841
+ n.current[A] = Z;
842
+ }, id: t.current[S], selected: Y, focus: Y && (C || N) };
843
+ return X && (d.selectedClassName = X), T && (d.disabledClassName = T), S++, xe(k, d);
839
844
  }) });
840
- } else if (Ie(_)) {
841
- const T = { id: t.current[m], selected: V === m };
842
- j && (T.forceRender = j), o && (T.selectedClassName = o), m++, R = _e(_, T);
845
+ } else if (Ae(x)) {
846
+ const S = { id: t.current[g], selected: H === g };
847
+ $ && (S.forceRender = $), s && (S.selectedClassName = s), g++, O = xe(x, S);
843
848
  }
844
- return R;
849
+ return O;
845
850
  });
846
851
  }
847
- function k(m) {
848
- const { direction: f, disableUpDownKeys: g, disableLeftRightKeys: w } = e;
849
- if (N(m.target)) {
850
- let { selectedIndex: j } = e, V = !1, G = !1;
851
- (m.code === "Space" || m.keyCode === 32 || m.code === "Enter" || m.keyCode === 13) && (V = !0, G = !1, P(m)), !w && (m.keyCode === 37 || m.code === "ArrowLeft") || !g && (m.keyCode === 38 || m.code === "ArrowUp") ? (f === "rtl" ? j = a(j) : j = h(j), V = !0, G = !0) : !w && (m.keyCode === 39 || m.code === "ArrowRight") || !g && (m.keyCode === 40 || m.code === "ArrowDown") ? (f === "rtl" ? j = h(j) : j = a(j), V = !0, G = !0) : m.keyCode === 35 || m.code === "End" ? (j = y(), V = !0, G = !0) : (m.keyCode === 36 || m.code === "Home") && (j = i(), V = !0, G = !0), V && m.preventDefault(), G && l(j, m);
852
+ function M(g) {
853
+ const { direction: f, disableUpDownKeys: T, disableLeftRightKeys: C } = e;
854
+ if (j(g.target)) {
855
+ let { selectedIndex: $ } = e, H = !1, X = !1;
856
+ (g.code === "Space" || g.keyCode === 32 || g.code === "Enter" || g.keyCode === 13) && (H = !0, X = !1, I(g)), !C && (g.keyCode === 37 || g.code === "ArrowLeft") || !T && (g.keyCode === 38 || g.code === "ArrowUp") ? (f === "rtl" ? $ = a($) : $ = c($), H = !0, X = !0) : !C && (g.keyCode === 39 || g.code === "ArrowRight") || !T && (g.keyCode === 40 || g.code === "ArrowDown") ? (f === "rtl" ? $ = c($) : $ = a($), H = !0, X = !0) : g.keyCode === 35 || g.code === "End" ? ($ = _(), H = !0, X = !0) : (g.keyCode === 36 || g.code === "Home") && ($ = i(), H = !0, X = !0), H && g.preventDefault(), X && l($, g);
852
857
  }
853
858
  }
854
- function P(m) {
855
- let f = m.target;
859
+ function I(g) {
860
+ let f = g.target;
856
861
  do
857
- if (N(f)) {
858
- if (ie(f))
862
+ if (j(f)) {
863
+ if (ae(f))
859
864
  return;
860
- const g = [].slice.call(f.parentNode.children).filter(dt).indexOf(f);
861
- l(g, m);
865
+ const T = [].slice.call(f.parentNode.children).filter(ft).indexOf(f);
866
+ l(T, g);
862
867
  return;
863
868
  }
864
869
  while ((f = f.parentNode) != null);
865
870
  }
866
- function N(m) {
867
- if (!dt(m))
871
+ function j(g) {
872
+ if (!ft(g))
868
873
  return !1;
869
- let f = m.parentElement;
874
+ let f = g.parentElement;
870
875
  do {
871
876
  if (f === r.current) return !0;
872
877
  if (f.getAttribute("data-rttabs")) break;
@@ -874,60 +879,108 @@ const Wn = { className: "react-tabs", focus: !1 }, Yn = process.env.NODE_ENV !==
874
879
  } while (f);
875
880
  return !1;
876
881
  }
877
- const { children: S, className: F, disabledTabClassName: q, domRef: Q, focus: z, forceRenderTabPanel: U, onSelect: u, selectedIndex: ee, selectedTabClassName: ne, selectedTabPanelClassName: le, environment: ce, disableUpDownKeys: J, disableLeftRightKeys: oe, ...ae } = { ...Wn, ...e };
878
- return pe.createElement("div", Object.assign({}, ae, { className: Oe(F), onClick: P, onKeyDown: k, ref: (m) => {
879
- r.current = m, Q && Q(m);
880
- }, "data-rttabs": !0 }), C());
882
+ const { children: L, className: F, disabledTabClassName: K, domRef: Q, focus: z, forceRenderTabPanel: U, onSelect: u, selectedIndex: ee, selectedTabClassName: te, selectedTabPanelClassName: le, environment: ce, disableUpDownKeys: J, disableLeftRightKeys: re, ...oe } = { ...nr, ...e };
883
+ return pe.createElement("div", Object.assign({}, oe, { className: $e(F), onClick: I, onKeyDown: M, ref: (g) => {
884
+ r.current = g, Q && Q(g);
885
+ }, "data-rttabs": !0 }), E());
881
886
  };
882
- Pt.propTypes = process.env.NODE_ENV !== "production" ? Yn : {};
883
- const qn = 0, xe = 1, Vn = process.env.NODE_ENV !== "production" ? { children: xt, className: b.oneOfType([b.string, b.array, b.object]), defaultFocus: b.bool, defaultIndex: b.number, direction: b.oneOf(["rtl", "ltr"]), disabledTabClassName: b.string, disableUpDownKeys: b.bool, disableLeftRightKeys: b.bool, domRef: b.func, environment: b.object, focusTabOnClick: b.bool, forceRenderTabPanel: b.bool, onSelect: Fn, selectedIndex: Un, selectedTabClassName: b.string, selectedTabPanelClassName: b.string } : {}, Kn = { defaultFocus: !1, focusTabOnClick: !0, forceRenderTabPanel: !1, selectedIndex: null, defaultIndex: null, environment: null, disableUpDownKeys: !1, disableLeftRightKeys: !1 }, wt = (e) => e.selectedIndex === null ? xe : qn, Hn = (e, n) => {
884
- if (process.env.NODE_ENV !== "production" && n != null && n !== wt(e))
887
+ Rt.propTypes = process.env.NODE_ENV !== "production" ? rr : {};
888
+ const or = 0, Ce = 1, ar = process.env.NODE_ENV !== "production" ? { children: Pt, className: m.oneOfType([m.string, m.array, m.object]), defaultFocus: m.bool, defaultIndex: m.number, direction: m.oneOf(["rtl", "ltr"]), disabledTabClassName: m.string, disableUpDownKeys: m.bool, disableLeftRightKeys: m.bool, domRef: m.func, environment: m.object, focusTabOnClick: m.bool, forceRenderTabPanel: m.bool, onSelect: Qn, selectedIndex: er, selectedTabClassName: m.string, selectedTabPanelClassName: m.string } : {}, ir = { defaultFocus: !1, focusTabOnClick: !0, forceRenderTabPanel: !1, selectedIndex: null, defaultIndex: null, environment: null, disableUpDownKeys: !1, disableLeftRightKeys: !1 }, kt = (e) => e.selectedIndex === null ? Ce : or, sr = (e, n) => {
889
+ if (process.env.NODE_ENV !== "production" && n != null && n !== kt(e))
885
890
  throw new Error("Switching between controlled mode (by using `selectedIndex`) and uncontrolled mode is not supported in `Tabs`.\nFor more information about controlled and uncontrolled mode of react-tabs see https://github.com/reactjs/react-tabs#controlled-vs-uncontrolled-mode.");
886
- }, He = (e) => {
887
- const { children: n, defaultFocus: t, defaultIndex: r, focusTabOnClick: l, onSelect: a, ...h } = { ...Kn, ...e }, [i, y] = te(t), [v] = te(wt(h)), [d, C] = te(v === xe ? r || 0 : null);
888
- if (se(() => {
889
- y(!1);
890
- }, []), v === xe) {
891
- const N = St(n);
892
- se(() => {
893
- if (d != null) {
894
- const S = Math.max(0, N - 1);
895
- C(Math.min(d, S));
891
+ }, Ge = (e) => {
892
+ const { children: n, defaultFocus: t, defaultIndex: r, focusTabOnClick: l, onSelect: a, ...c } = { ...ir, ...e }, [i, _] = ie(t), [v] = ie(kt(c)), [h, E] = ie(v === Ce ? r || 0 : null);
893
+ if (be(() => {
894
+ _(!1);
895
+ }, []), v === Ce) {
896
+ const j = At(n);
897
+ be(() => {
898
+ if (h != null) {
899
+ const L = Math.max(0, j - 1);
900
+ E(Math.min(h, L));
896
901
  }
897
- }, [N]);
902
+ }, [j]);
898
903
  }
899
- Hn(h, v);
900
- const k = (N, S, F) => {
901
- typeof a == "function" && a(N, S, F) === !1 || (l && y(!0), v === xe && C(N));
904
+ sr(c, v);
905
+ const M = (j, L, F) => {
906
+ typeof a == "function" && a(j, L, F) === !1 || (l && _(!0), v === Ce && E(j));
902
907
  };
903
- let P = { ...e, ...h };
904
- return P.focus = i, P.onSelect = k, d != null && (P.selectedIndex = d), delete P.defaultFocus, delete P.defaultIndex, delete P.focusTabOnClick, pe.createElement(Pt, P, n);
908
+ let I = { ...e, ...c };
909
+ return I.focus = i, I.onSelect = M, h != null && (I.selectedIndex = h), delete I.defaultFocus, delete I.defaultIndex, delete I.focusTabOnClick, pe.createElement(Rt, I, n);
905
910
  };
906
- He.propTypes = process.env.NODE_ENV !== "production" ? Vn : {};
907
- He.tabsRole = "Tabs";
908
- const Gn = { className: "react-tabs__tab-list" }, Xn = process.env.NODE_ENV !== "production" ? { children: b.oneOfType([b.object, b.array]), className: b.oneOfType([b.string, b.array, b.object]) } : {}, Ge = (e) => {
909
- const { children: n, className: t, ...r } = { ...Gn, ...e };
910
- return pe.createElement("ul", Object.assign({}, r, { className: Oe(t), role: "tablist" }), n);
911
+ Ge.propTypes = process.env.NODE_ENV !== "production" ? ar : {};
912
+ Ge.tabsRole = "Tabs";
913
+ const lr = { className: "react-tabs__tab-list" }, cr = process.env.NODE_ENV !== "production" ? { children: m.oneOfType([m.object, m.array]), className: m.oneOfType([m.string, m.array, m.object]) } : {}, Xe = (e) => {
914
+ const { children: n, className: t, ...r } = { ...lr, ...e };
915
+ return pe.createElement("ul", Object.assign({}, r, { className: $e(t), role: "tablist" }), n);
911
916
  };
912
- Ge.tabsRole = "TabList";
913
- Ge.propTypes = process.env.NODE_ENV !== "production" ? Xn : {};
914
- const De = "react-tabs__tab", Jn = { className: De, disabledClassName: `${De}--disabled`, focus: !1, id: null, selected: !1, selectedClassName: `${De}--selected` }, Zn = process.env.NODE_ENV !== "production" ? { children: b.oneOfType([b.array, b.object, b.string]), className: b.oneOfType([b.string, b.array, b.object]), disabled: b.bool, disabledClassName: b.string, focus: b.bool, id: b.string, selected: b.bool, selectedClassName: b.string, tabIndex: b.string, tabRef: b.func } : {}, de = (e) => {
915
- let n = Te();
916
- const { children: t, className: r, disabled: l, disabledClassName: a, focus: h, id: i, selected: y, selectedClassName: v, tabIndex: d, tabRef: C, ...k } = { ...Jn, ...e };
917
- return se(() => {
918
- y && h && n.current.focus();
919
- }, [y, h]), pe.createElement("li", Object.assign({}, k, { className: Oe(r, { [v]: y, [a]: l }), ref: (P) => {
920
- n.current = P, C && C(P);
921
- }, role: "tab", id: `tab${i}`, "aria-selected": y ? "true" : "false", "aria-disabled": l ? "true" : "false", "aria-controls": `panel${i}`, tabIndex: d || (y ? "0" : null), "data-rttab": !0 }), t);
917
+ Xe.tabsRole = "TabList";
918
+ Xe.propTypes = process.env.NODE_ENV !== "production" ? cr : {};
919
+ const Fe = "react-tabs__tab", dr = { className: Fe, disabledClassName: `${Fe}--disabled`, focus: !1, id: null, selected: !1, selectedClassName: `${Fe}--selected` }, ur = process.env.NODE_ENV !== "production" ? { children: m.oneOfType([m.array, m.object, m.string]), className: m.oneOfType([m.string, m.array, m.object]), disabled: m.bool, disabledClassName: m.string, focus: m.bool, id: m.string, selected: m.bool, selectedClassName: m.string, tabIndex: m.string, tabRef: m.func } : {}, ue = (e) => {
920
+ let n = Se();
921
+ const { children: t, className: r, disabled: l, disabledClassName: a, focus: c, id: i, selected: _, selectedClassName: v, tabIndex: h, tabRef: E, ...M } = { ...dr, ...e };
922
+ return be(() => {
923
+ _ && c && n.current.focus();
924
+ }, [_, c]), pe.createElement("li", Object.assign({}, M, { className: $e(r, { [v]: _, [a]: l }), ref: (I) => {
925
+ n.current = I, E && E(I);
926
+ }, role: "tab", id: `tab${i}`, "aria-selected": _ ? "true" : "false", "aria-disabled": l ? "true" : "false", "aria-controls": `panel${i}`, tabIndex: h || (_ ? "0" : null), "data-rttab": !0 }), t);
922
927
  };
923
- de.propTypes = process.env.NODE_ENV !== "production" ? Zn : {};
924
- de.tabsRole = "Tab";
925
- const ft = "react-tabs__tab-panel", Qn = { className: ft, forceRender: !1, selectedClassName: `${ft}--selected` }, er = process.env.NODE_ENV !== "production" ? { children: b.node, className: b.oneOfType([b.string, b.array, b.object]), forceRender: b.bool, id: b.string, selected: b.bool, selectedClassName: b.string } : {}, fe = (e) => {
926
- const { children: n, className: t, forceRender: r, id: l, selected: a, selectedClassName: h, ...i } = { ...Qn, ...e };
927
- return pe.createElement("div", Object.assign({}, i, { className: Oe(t, { [h]: a }), role: "tabpanel", id: `panel${l}`, "aria-labelledby": `tab${l}` }), r || a ? n : null);
928
+ ue.propTypes = process.env.NODE_ENV !== "production" ? ur : {};
929
+ ue.tabsRole = "Tab";
930
+ const pt = "react-tabs__tab-panel", fr = { className: pt, forceRender: !1, selectedClassName: `${pt}--selected` }, pr = process.env.NODE_ENV !== "production" ? { children: m.node, className: m.oneOfType([m.string, m.array, m.object]), forceRender: m.bool, id: m.string, selected: m.bool, selectedClassName: m.string } : {}, fe = (e) => {
931
+ const { children: n, className: t, forceRender: r, id: l, selected: a, selectedClassName: c, ...i } = { ...fr, ...e };
932
+ return pe.createElement("div", Object.assign({}, i, { className: $e(t, { [c]: a }), role: "tabpanel", id: `panel${l}`, "aria-labelledby": `tab${l}` }), r || a ? n : null);
928
933
  };
929
934
  fe.tabsRole = "TabPanel";
930
- fe.propTypes = process.env.NODE_ENV !== "production" ? er : {};
935
+ fe.propTypes = process.env.NODE_ENV !== "production" ? pr : {};
936
+ const mr = "_NavButton_14eky_1", br = "_Description_14eky_47", _e = {
937
+ NavButton: mr,
938
+ Description: br
939
+ };
940
+ function hr({ label: e, icon: n, description: t, onClick: r }) {
941
+ return /* @__PURE__ */ y("button", { className: _e.NavButton, onClick: r, children: [
942
+ n && /* @__PURE__ */ o(W, { className: _e.Icon, icon: n }),
943
+ /* @__PURE__ */ y("span", { children: [
944
+ /* @__PURE__ */ o("p", { className: `${_e.Label} ${V.TextRegular}`, children: e }),
945
+ /* @__PURE__ */ o("p", { className: `${_e.Description} ${V.TextLight}`, children: t ?? "" })
946
+ ] })
947
+ ] });
948
+ }
949
+ function Lt({ title: e, pages: n, children: t }) {
950
+ const [r, l] = ie(null), a = r ? n[r] : null;
951
+ return /* @__PURE__ */ o("div", { className: `${b.Option} ${b.OptionList}`, children: a != null ? /* @__PURE__ */ y(qe, { children: [
952
+ /* @__PURE__ */ y("span", { className: b.Breadcrumbs, children: [
953
+ /* @__PURE__ */ o("button", { className: b.Label, onClick: (c) => l(null), children: e }),
954
+ /* @__PURE__ */ o("p", { children: a.title })
955
+ ] }),
956
+ /* @__PURE__ */ o(a.Content, {})
957
+ ] }) : /* @__PURE__ */ y(qe, { children: [
958
+ /* @__PURE__ */ o("p", { className: `${b.Label} ${b.Breadcrumbs}`, children: e }),
959
+ Object.keys(n).map((c) => {
960
+ const i = n[c];
961
+ return /* @__PURE__ */ o(
962
+ hr,
963
+ {
964
+ icon: i.icon,
965
+ label: i.title,
966
+ description: i.description,
967
+ onClick: (_) => l(c)
968
+ },
969
+ c
970
+ );
971
+ }),
972
+ t
973
+ ] }) });
974
+ }
975
+ function gr() {
976
+ const [e, n] = Mt(he.VIRTUAL_PATHS.theme, "theme", nt.Dark);
977
+ return /* @__PURE__ */ y("div", { className: b.Option, children: [
978
+ /* @__PURE__ */ o("p", { className: b.Label, children: "Theme" }),
979
+ /* @__PURE__ */ o("div", { className: b.Input, children: /* @__PURE__ */ o("select", { className: b.Dropdown, "aria-label": "theme", value: e, onChange: (t) => n(t.target.value), children: Object.entries(nt).filter(([t, r]) => typeof r != "number").map(
980
+ ([t, r]) => /* @__PURE__ */ o("option", { value: t, children: r }, t)
981
+ ) }) })
982
+ ] });
983
+ }
931
984
  (function() {
932
985
  try {
933
986
  if (typeof document < "u") {
@@ -938,47 +991,47 @@ fe.propTypes = process.env.NODE_ENV !== "production" ? er : {};
938
991
  console.error("vite-plugin-css-injected-by-js", n);
939
992
  }
940
993
  })();
941
- const tr = "_FileExplorer_lr5mr_1", nr = "_Header_lr5mr_13", rr = "_IconButton_lr5mr_23", or = "_PathInput_lr5mr_69", ar = "_Body_lr5mr_80", ir = "_Sidebar_lr5mr_88", sr = "_NavButton_lr5mr_102", lr = "_Main_lr5mr_125", cr = "_Footer_lr5mr_139", ur = "_Selector_lr5mr_158", W = {
942
- FileExplorer: tr,
943
- Header: nr,
944
- IconButton: rr,
945
- PathInput: or,
946
- Body: ar,
947
- Sidebar: ir,
948
- NavButton: sr,
949
- Main: lr,
950
- Footer: cr,
951
- Selector: ur
994
+ const vr = "_FileExplorer_lr5mr_1", yr = "_Header_lr5mr_13", _r = "_IconButton_lr5mr_23", Tr = "_PathInput_lr5mr_69", xr = "_Body_lr5mr_80", Sr = "_Sidebar_lr5mr_88", Cr = "_NavButton_lr5mr_102", Er = "_Main_lr5mr_125", Nr = "_Footer_lr5mr_139", wr = "_Selector_lr5mr_158", q = {
995
+ FileExplorer: vr,
996
+ Header: yr,
997
+ IconButton: _r,
998
+ PathInput: Tr,
999
+ Body: xr,
1000
+ Sidebar: Sr,
1001
+ NavButton: Cr,
1002
+ Main: Er,
1003
+ Footer: Nr,
1004
+ Selector: wr
952
1005
  };
953
- function ge({ onClick: e, icon: n, name: t }) {
954
- return /* @__PURE__ */ x(
1006
+ function Te({ onClick: e, icon: n, name: t }) {
1007
+ return /* @__PURE__ */ y(
955
1008
  "button",
956
1009
  {
957
1010
  tabIndex: 0,
958
- className: `${W.NavButton} ${H.TextSemibold}`,
1011
+ className: `${q.NavButton} ${V.TextSemibold}`,
959
1012
  onClick: e,
960
1013
  children: [
961
- /* @__PURE__ */ s(X, { icon: n }),
1014
+ /* @__PURE__ */ o(W, { icon: n }),
962
1015
  t
963
1016
  ]
964
1017
  }
965
1018
  );
966
1019
  }
967
- function dr({ directory: e }) {
1020
+ function Ir({ directory: e }) {
968
1021
  const n = (t) => {
969
1022
  const r = t.target.files;
970
1023
  r != null && Array.from(r).forEach((l) => {
971
- const { name: a, extension: h } = Lt.splitId(l.name), i = new FileReader();
972
- i.onload = (y) => {
973
- const { result: v } = y.target;
974
- e.createFile(a, h, (d) => {
975
- d.setSource(v);
1024
+ const { name: a, extension: c } = Yt.splitId(l.name), i = new FileReader();
1025
+ i.onload = (_) => {
1026
+ const { result: v } = _.target;
1027
+ e.createFile(a, c, (h) => {
1028
+ h.setSource(v);
976
1029
  });
977
1030
  }, i.readAsDataURL(l);
978
1031
  });
979
1032
  };
980
- return /* @__PURE__ */ x("label", { title: "Import", tabIndex: 0, className: W.IconButton, children: [
981
- /* @__PURE__ */ s(
1033
+ return /* @__PURE__ */ y("label", { title: "Import", tabIndex: 0, className: q.IconButton, children: [
1034
+ /* @__PURE__ */ o(
982
1035
  "input",
983
1036
  {
984
1037
  type: "file",
@@ -988,370 +1041,394 @@ function dr({ directory: e }) {
988
1041
  onChange: n
989
1042
  }
990
1043
  ),
991
- /* @__PURE__ */ s(X, { icon: Xt })
1044
+ /* @__PURE__ */ o(W, { icon: an })
992
1045
  ] });
993
1046
  }
994
- const pt = {
1047
+ const mt = {
995
1048
  NONE: 0,
996
1049
  SINGLE: 1,
997
1050
  MULTIPLE: 2
998
- }, fr = "_FileProperties_xi8b6_1", pr = "_Icon_xi8b6_9", br = "_Section_xi8b6_25", mr = "_Line_xi8b6_46", hr = "_AppIcon_xi8b6_68", K = {
999
- FileProperties: fr,
1000
- Icon: pr,
1001
- Section: br,
1002
- Line: mr,
1003
- AppIcon: hr
1051
+ }, Pr = "_FileProperties_xi8b6_1", Or = "_Icon_xi8b6_9", Ar = "_Section_xi8b6_25", $r = "_Line_xi8b6_46", Rr = "_AppIcon_xi8b6_68", G = {
1052
+ FileProperties: Pr,
1053
+ Icon: Or,
1054
+ Section: Ar,
1055
+ Line: $r,
1056
+ AppIcon: Rr
1004
1057
  };
1005
- function vr({ modal: e, params: n, file: t, ...r }) {
1006
- const { appsConfig: l } = me(), a = t.extension != null ? l.getAppByFileExtension(t.extension) : null;
1007
- return /* @__PURE__ */ x(Bt, { className: K.FileProperties, modal: e, params: n, ...r, children: [
1008
- /* @__PURE__ */ x("span", { className: K.Section, children: [
1009
- /* @__PURE__ */ s(Ue, { className: K.Icon, source: t.getIconUrl() }),
1010
- /* @__PURE__ */ s("p", { className: `${K.Line} ${H.TextBold}`, children: t.id })
1058
+ function kr({ modal: e, params: n, file: t, ...r }) {
1059
+ const { appsConfig: l } = se(), a = t.extension != null ? l.getAppByFileExtension(t.extension) : null;
1060
+ return /* @__PURE__ */ y(Wt, { className: G.FileProperties, modal: e, params: n, ...r, children: [
1061
+ /* @__PURE__ */ y("span", { className: G.Section, children: [
1062
+ /* @__PURE__ */ o(Ee, { className: G.Icon, source: t.getIconUrl() }),
1063
+ /* @__PURE__ */ o("p", { className: `${G.Line} ${V.TextBold}`, children: t.id })
1011
1064
  ] }),
1012
- /* @__PURE__ */ x("span", { className: K.Section, children: [
1013
- /* @__PURE__ */ x("p", { className: K.Line, children: [
1065
+ /* @__PURE__ */ y("span", { className: G.Section, children: [
1066
+ /* @__PURE__ */ y("p", { className: G.Line, children: [
1014
1067
  "Type: ",
1015
1068
  t.getType()
1016
1069
  ] }),
1017
- a != null && /* @__PURE__ */ x("span", { className: K.Line, children: [
1070
+ a != null && /* @__PURE__ */ y("span", { className: G.Line, children: [
1018
1071
  "Opens with:",
1019
- /* @__PURE__ */ s(Ue, { className: K.AppIcon, source: a.iconUrl ?? "" }),
1072
+ /* @__PURE__ */ o(Ee, { className: G.AppIcon, source: a.iconUrl ?? "" }),
1020
1073
  a.name
1021
1074
  ] })
1022
1075
  ] }),
1023
- /* @__PURE__ */ x("span", { className: K.Section, children: [
1024
- /* @__PURE__ */ x("p", { className: K.Line, children: [
1076
+ /* @__PURE__ */ y("span", { className: G.Section, children: [
1077
+ /* @__PURE__ */ y("p", { className: G.Line, children: [
1025
1078
  "Location: ",
1026
1079
  t.path
1027
1080
  ] }),
1028
- /* @__PURE__ */ x("p", { className: K.Line, children: [
1081
+ /* @__PURE__ */ y("p", { className: G.Line, children: [
1029
1082
  "Size: ",
1030
- ue.getByteSize(t.source ?? t.content),
1083
+ de.getByteSize(t.source ?? t.content),
1031
1084
  " bytes"
1032
1085
  ] }),
1033
- /* @__PURE__ */ x("p", { className: K.Line, children: [
1086
+ /* @__PURE__ */ y("p", { className: G.Line, children: [
1034
1087
  "Size on drive: ",
1035
- ue.getByteSize(t.toString()),
1088
+ de.getByteSize(t.toString()),
1036
1089
  " bytes"
1037
1090
  ] })
1038
1091
  ] }),
1039
- /* @__PURE__ */ s("span", { className: K.Section, children: /* @__PURE__ */ x("p", { className: K.Line, children: [
1092
+ /* @__PURE__ */ o("span", { className: G.Section, children: /* @__PURE__ */ y("p", { className: G.Line, children: [
1040
1093
  "Attributes: ",
1041
1094
  t.isProtected ? "Protected" : "N/A"
1042
1095
  ] }) })
1043
1096
  ] });
1044
1097
  }
1045
- function yr({ app: e, path: n, selectorMode: t, Footer: r, onSelectionChange: l, onSelectionFinish: a }) {
1046
- const h = r != null && t != null && t !== pt.NONE, i = we(), y = Ye(), { windowsConfig: v } = me(), [d, C] = te(i == null ? void 0 : i.navigate(n ?? "~")), [k, P] = te((d == null ? void 0 : d.path) ?? ""), [N] = te(!0), { history: S, stateIndex: F, pushState: q, undo: Q, redo: z, undoAvailable: U, redoAvailable: u } = Ot(d.path), { alert: ee } = At(), { openWindowedModal: ne } = ht(), { onContextMenu: le } = Me({
1098
+ function Lr({ app: e, path: n, selectorMode: t, Footer: r, onSelectionChange: l, onSelectionFinish: a }) {
1099
+ const c = r != null && t != null && t !== mt.NONE, i = Pe(), _ = Ve(), { windowsConfig: v } = se(), [h, E] = ie(i == null ? void 0 : i.navigate(n ?? "~")), [M, I] = ie((h == null ? void 0 : h.path) ?? ""), [j] = ie(!0), { history: L, stateIndex: F, pushState: K, undo: Q, redo: z, undoAvailable: U, redoAvailable: u } = jt(h.path), { alert: ee } = Ft(), { openWindowedModal: te } = gt(), { onContextMenu: le } = Ue({
1047
1100
  Actions: (f) => {
1048
- var g;
1049
- return /* @__PURE__ */ x(Fe, { ...f, children: [
1050
- /* @__PURE__ */ s(re, { label: h ? "Select" : "Open", onTrigger: (w, j) => {
1051
- if (h) {
1052
- l == null || l({ files: [j.id], directory: d }), a == null || a();
1101
+ var T;
1102
+ return /* @__PURE__ */ y(ze, { ...f, children: [
1103
+ /* @__PURE__ */ o(ne, { label: c ? "Select" : "Open", onTrigger: (C, $) => {
1104
+ if (c) {
1105
+ l == null || l({ files: [$.id], directory: h }), a == null || a();
1053
1106
  return;
1054
1107
  }
1055
- y != null && j.open(y);
1108
+ _ != null && $.open(_);
1056
1109
  } }),
1057
- ((g = f.triggerParams) == null ? void 0 : g.isDownloadable()) && /* @__PURE__ */ s(re, { label: "Export", icon: Mt, onTrigger: (w, j) => {
1058
- j.download();
1110
+ ((T = f.triggerParams) == null ? void 0 : T.isDownloadable()) && /* @__PURE__ */ o(ne, { label: "Export", icon: Xt, onTrigger: (C, $) => {
1111
+ $.download();
1059
1112
  } }),
1060
- /* @__PURE__ */ s(re, { label: "Delete", icon: et, onTrigger: (w, j) => {
1061
- j.delete();
1113
+ /* @__PURE__ */ o(ne, { label: "Delete", icon: tt, onTrigger: (C, $) => {
1114
+ $.delete();
1062
1115
  } }),
1063
- /* @__PURE__ */ s(re, { label: "Properties", icon: yt, onTrigger: (w, j) => {
1064
- ne({
1065
- title: `${j.id} ${v.titleSeparator} Properties`,
1066
- iconUrl: j.getIconUrl(),
1067
- size: new be(400, 500),
1068
- Modal: (V) => /* @__PURE__ */ s(vr, { file: j, ...V })
1116
+ /* @__PURE__ */ o(ne, { label: "Properties", icon: yt, onTrigger: (C, $) => {
1117
+ te({
1118
+ title: `${$.id} ${v.titleSeparator} Properties`,
1119
+ iconUrl: $.getIconUrl(),
1120
+ size: new me(400, 500),
1121
+ Modal: (H) => /* @__PURE__ */ o(kr, { file: $, ...H })
1069
1122
  });
1070
1123
  } })
1071
1124
  ] });
1072
1125
  }
1073
- }), { onContextMenu: ce } = Me({
1074
- Actions: (f) => /* @__PURE__ */ x(Fe, { ...f, children: [
1075
- /* @__PURE__ */ s(re, { label: "Open", onTrigger: (g, w) => {
1076
- J(w.linkedPath ?? w.name);
1126
+ }), { onContextMenu: ce } = Ue({
1127
+ Actions: (f) => /* @__PURE__ */ y(ze, { ...f, children: [
1128
+ /* @__PURE__ */ o(ne, { label: "Open", onTrigger: (T, C) => {
1129
+ J(C.linkedPath ?? C.name);
1077
1130
  } }),
1078
- /* @__PURE__ */ s(Rt, {}),
1079
- /* @__PURE__ */ s(re, { label: "Delete", icon: et, onTrigger: (g, w) => {
1080
- w.delete();
1131
+ /* @__PURE__ */ o(Ut, {}),
1132
+ /* @__PURE__ */ o(ne, { label: "Delete", icon: tt, onTrigger: (T, C) => {
1133
+ C.delete();
1081
1134
  } })
1082
1135
  ] })
1083
- }), J = rn((f, g = !1) => {
1136
+ }), J = mn((f, T = !1) => {
1084
1137
  if (f == null)
1085
1138
  return;
1086
- d == null && (g = !0);
1087
- const w = g ? i == null ? void 0 : i.navigate(f) : d.navigate(f);
1088
- w != null && (C(w), P(w.root ? "/" : w.path), q(w.path));
1089
- }, [d, q, i]);
1090
- se(() => {
1091
- if (S.length === 0)
1139
+ h == null && (T = !0);
1140
+ const C = T ? i == null ? void 0 : i.navigate(f) : h.navigate(f);
1141
+ C != null && (E(C), I(C.root ? "/" : C.path), K(C.path));
1142
+ }, [h, K, i]);
1143
+ be(() => {
1144
+ if (L.length === 0)
1092
1145
  return;
1093
- const f = S[F], g = i == null ? void 0 : i.navigate(f);
1094
- g != null && (C(g), P(g.root ? "/" : g.path));
1095
- }, [S, F, i]), se(() => {
1096
- const f = (g) => {
1146
+ const f = L[F], T = i == null ? void 0 : i.navigate(f);
1147
+ T != null && (E(T), I(T.root ? "/" : T.path));
1148
+ }, [L, F, i]), be(() => {
1149
+ const f = (T) => {
1097
1150
  ee({
1098
- title: g.message,
1151
+ title: T.message,
1099
1152
  text: "You have exceeded the virtual drive capacity. Files and folders will not be saved until more storage is freed.",
1100
1153
  iconUrl: e == null ? void 0 : e.iconUrl,
1101
- size: new be(300, 200),
1154
+ size: new me(300, 200),
1102
1155
  single: !0
1103
1156
  });
1104
1157
  };
1105
- return i == null || i.on(Je.EVENT_NAMES.error, f), () => {
1106
- i == null || i.off(Je.EVENT_NAMES.error, f);
1158
+ return i == null || i.on(Ze.EVENT_NAMES.error, f), () => {
1159
+ i == null || i.off(Ze.EVENT_NAMES.error, f);
1107
1160
  };
1108
1161
  }, []);
1109
- const oe = (f) => {
1110
- P(f.target.value);
1111
- }, ae = (f) => {
1112
- let g = f.target.value;
1162
+ const re = (f) => {
1163
+ I(f.target.value);
1164
+ }, oe = (f) => {
1165
+ let T = f.target.value;
1113
1166
  if (f.key === "Enter") {
1114
- g === "" && (g = "~");
1115
- const w = i == null ? void 0 : i.navigate(g);
1116
- if (w == null) {
1117
- ne({
1167
+ T === "" && (T = "~");
1168
+ const C = i == null ? void 0 : i.navigate(T);
1169
+ if (C == null) {
1170
+ te({
1118
1171
  title: "Error",
1119
1172
  iconUrl: e == null ? void 0 : e.iconUrl,
1120
- size: new be(300, 150),
1121
- Modal: (j) => /* @__PURE__ */ x(Ze, { ...j, children: [
1122
- /* @__PURE__ */ x("p", { children: [
1173
+ size: new me(300, 150),
1174
+ Modal: ($) => /* @__PURE__ */ y(Qe, { ...$, children: [
1175
+ /* @__PURE__ */ y("p", { children: [
1123
1176
  'Invalid path: "',
1124
- g,
1177
+ T,
1125
1178
  '"'
1126
1179
  ] }),
1127
- /* @__PURE__ */ s("button", { "data-type": Qe.DIALOG_CONTENT_TYPES.closeButton, children: "Ok" })
1180
+ /* @__PURE__ */ o("button", { "data-type": et.DIALOG_CONTENT_TYPES.closeButton, children: "Ok" })
1128
1181
  ] })
1129
1182
  });
1130
1183
  return;
1131
1184
  }
1132
- C(w), P(w.root ? "/" : w.path);
1185
+ E(C), I(C.root ? "/" : C.path);
1133
1186
  }
1134
- }, m = d.getItemCount(N);
1135
- return /* @__PURE__ */ x("div", { className: h ? `${W.FileExplorer} ${W.Selector}` : W.FileExplorer, children: [
1136
- /* @__PURE__ */ x("div", { className: W.Header, children: [
1137
- /* @__PURE__ */ s(
1187
+ }, g = h.getItemCount(j);
1188
+ return /* @__PURE__ */ y("div", { className: c ? `${q.FileExplorer} ${q.Selector}` : q.FileExplorer, children: [
1189
+ /* @__PURE__ */ y("div", { className: q.Header, children: [
1190
+ /* @__PURE__ */ o(
1138
1191
  "button",
1139
1192
  {
1140
1193
  title: "Back",
1141
1194
  tabIndex: 0,
1142
- className: W.IconButton,
1195
+ className: q.IconButton,
1143
1196
  onClick: () => {
1144
1197
  Q();
1145
1198
  },
1146
1199
  disabled: !U,
1147
- children: /* @__PURE__ */ s(X, { icon: Ft })
1200
+ children: /* @__PURE__ */ o(W, { icon: Jt })
1148
1201
  }
1149
1202
  ),
1150
- /* @__PURE__ */ s(
1203
+ /* @__PURE__ */ o(
1151
1204
  "button",
1152
1205
  {
1153
1206
  title: "Forward",
1154
1207
  tabIndex: 0,
1155
- className: W.IconButton,
1208
+ className: q.IconButton,
1156
1209
  onClick: () => {
1157
1210
  z();
1158
1211
  },
1159
1212
  disabled: !u,
1160
- children: /* @__PURE__ */ s(X, { icon: Ut })
1213
+ children: /* @__PURE__ */ o(W, { icon: Zt })
1161
1214
  }
1162
1215
  ),
1163
- /* @__PURE__ */ s(
1216
+ /* @__PURE__ */ o(
1164
1217
  "button",
1165
1218
  {
1166
1219
  title: "Up",
1167
1220
  tabIndex: 0,
1168
- className: W.IconButton,
1221
+ className: q.IconButton,
1169
1222
  onClick: () => {
1170
1223
  J("..");
1171
1224
  },
1172
- disabled: d.isRoot != null && d.isRoot,
1173
- children: /* @__PURE__ */ s(X, { icon: zt })
1225
+ disabled: h.isRoot != null && h.isRoot,
1226
+ children: /* @__PURE__ */ o(W, { icon: Qt })
1174
1227
  }
1175
1228
  ),
1176
- /* @__PURE__ */ s(
1229
+ /* @__PURE__ */ o(
1177
1230
  "button",
1178
1231
  {
1179
1232
  title: "New",
1180
1233
  tabIndex: 0,
1181
- className: W.IconButton,
1234
+ className: q.IconButton,
1182
1235
  onClick: () => {
1183
- ne({
1236
+ te({
1184
1237
  title: "Error",
1185
1238
  iconUrl: e == null ? void 0 : e.iconUrl,
1186
- size: new be(300, 150),
1187
- Modal: (f) => /* @__PURE__ */ x(Ze, { ...f, children: [
1188
- /* @__PURE__ */ s("p", { children: "This folder is protected." }),
1189
- /* @__PURE__ */ s("button", { "data-type": Qe.DIALOG_CONTENT_TYPES.closeButton, children: "Ok" })
1239
+ size: new me(300, 150),
1240
+ Modal: (f) => /* @__PURE__ */ y(Qe, { ...f, children: [
1241
+ /* @__PURE__ */ o("p", { children: "This folder is protected." }),
1242
+ /* @__PURE__ */ o("button", { "data-type": et.DIALOG_CONTENT_TYPES.closeButton, children: "Ok" })
1190
1243
  ] })
1191
1244
  });
1192
1245
  },
1193
- disabled: !d.canBeEdited,
1194
- children: /* @__PURE__ */ s(X, { icon: Wt })
1246
+ disabled: !h.canBeEdited,
1247
+ children: /* @__PURE__ */ o(W, { icon: en })
1195
1248
  }
1196
1249
  ),
1197
- /* @__PURE__ */ s(
1250
+ /* @__PURE__ */ o(
1198
1251
  "input",
1199
1252
  {
1200
- value: k,
1253
+ value: M,
1201
1254
  type: "text",
1202
1255
  "aria-label": "Path",
1203
- className: W.PathInput,
1256
+ className: q.PathInput,
1204
1257
  tabIndex: 0,
1205
- onChange: oe,
1206
- onKeyDown: ae,
1258
+ onChange: re,
1259
+ onKeyDown: oe,
1207
1260
  placeholder: "Enter a path..."
1208
1261
  }
1209
1262
  ),
1210
- /* @__PURE__ */ s(dr, { directory: d }),
1211
- /* @__PURE__ */ s("button", { title: "Search", tabIndex: 0, className: W.IconButton, children: /* @__PURE__ */ s(X, { icon: Yt }) }),
1212
- /* @__PURE__ */ s("button", { title: "Settings", tabIndex: 0, className: W.IconButton, children: /* @__PURE__ */ s(X, { icon: qt }) })
1263
+ /* @__PURE__ */ o(Ir, { directory: h }),
1264
+ /* @__PURE__ */ o("button", { title: "Search", tabIndex: 0, className: q.IconButton, children: /* @__PURE__ */ o(W, { icon: tn }) }),
1265
+ /* @__PURE__ */ o("button", { title: "Settings", tabIndex: 0, className: q.IconButton, children: /* @__PURE__ */ o(W, { icon: nn }) })
1213
1266
  ] }),
1214
- /* @__PURE__ */ x("div", { className: W.Body, children: [
1215
- /* @__PURE__ */ x("div", { className: W.Sidebar, children: [
1216
- /* @__PURE__ */ s(ge, { name: "Home", onClick: () => {
1267
+ /* @__PURE__ */ y("div", { className: q.Body, children: [
1268
+ /* @__PURE__ */ y("div", { className: q.Sidebar, children: [
1269
+ /* @__PURE__ */ o(Te, { name: "Home", onClick: () => {
1217
1270
  J("~");
1218
- }, icon: Vt }),
1219
- /* @__PURE__ */ s(ge, { name: "Desktop", onClick: () => {
1271
+ }, icon: rn }),
1272
+ /* @__PURE__ */ o(Te, { name: "Desktop", onClick: () => {
1220
1273
  J("~/Desktop");
1221
- }, icon: Kt }),
1222
- /* @__PURE__ */ s(ge, { name: "Images", onClick: () => {
1274
+ }, icon: _t }),
1275
+ /* @__PURE__ */ o(Te, { name: "Images", onClick: () => {
1223
1276
  J("~/Pictures");
1224
- }, icon: Ht }),
1225
- /* @__PURE__ */ s(ge, { name: "Documents", onClick: () => {
1277
+ }, icon: Tt }),
1278
+ /* @__PURE__ */ o(Te, { name: "Documents", onClick: () => {
1226
1279
  J("~/Documents");
1227
- }, icon: Gt })
1280
+ }, icon: on })
1228
1281
  ] }),
1229
- /* @__PURE__ */ s(
1230
- $t,
1282
+ /* @__PURE__ */ o(
1283
+ zt,
1231
1284
  {
1232
- directory: d,
1285
+ directory: h,
1233
1286
  id: "main",
1234
- className: W.Main,
1235
- showHidden: N,
1236
- onOpenFile: (f, g) => {
1237
- if (f.preventDefault(), h)
1287
+ className: q.Main,
1288
+ showHidden: j,
1289
+ onOpenFile: (f, T) => {
1290
+ if (f.preventDefault(), c)
1238
1291
  return void (a == null ? void 0 : a());
1239
- const w = {};
1240
- (g.extension === "md" || g.extension != null && jt.includes(g.extension)) && (w.mode = "view"), y == null || y.openFile(g, w);
1292
+ const C = {};
1293
+ (T.extension === "md" || T.extension != null && qt.includes(T.extension)) && (C.mode = "view"), _ == null || _.openFile(T, C);
1241
1294
  },
1242
- onOpenFolder: (f, g) => {
1243
- J(g.linkedPath ?? g.name);
1295
+ onOpenFolder: (f, T) => {
1296
+ J(T.linkedPath ?? T.name);
1244
1297
  },
1245
1298
  onContextMenuFile: le,
1246
1299
  onContextMenuFolder: ce,
1247
- allowMultiSelect: t !== pt.SINGLE,
1300
+ allowMultiSelect: t !== mt.SINGLE,
1248
1301
  onSelectionChange: l
1249
1302
  }
1250
1303
  )
1251
1304
  ] }),
1252
- h ? /* @__PURE__ */ s("div", { className: W.Footer, children: /* @__PURE__ */ s(r, {}) }) : /* @__PURE__ */ s("span", { className: W.Footer, children: /* @__PURE__ */ s("p", { className: H.TextLight, children: m === 1 ? m + " item" : m + " items" }) })
1305
+ c ? /* @__PURE__ */ o("div", { className: q.Footer, children: /* @__PURE__ */ o(r, {}) }) : /* @__PURE__ */ o("span", { className: q.Footer, children: /* @__PURE__ */ o("p", { className: V.TextLight, children: g === 1 ? g + " item" : g + " items" }) })
1253
1306
  ] });
1254
1307
  }
1255
- var Nt = /* @__PURE__ */ ((e) => (e[e.None = 0] = "None", e[e.Single = 1] = "Single", e[e.Multi = 2] = "Multi", e))(Nt || {});
1256
- const It = new bt("File Explorer", "file-explorer", yr).setIconUrl("https://os.prozilla.dev/assets/apps/icons/file-explorer.svg").setRole(mt.APP_ROLES.fileExplorer).setCategory("Utilities & tools");
1257
- It.setMetadata({ name: "@prozilla-os/file-explorer", version: "1.1.16", author: "Prozilla" });
1258
- const gr = "~/Pictures/Wallpapers";
1259
- function _r() {
1260
- var k, P;
1261
- const { modalsConfig: e } = me(), n = we(), t = qe(), [r, l] = te(tt.Dark), [a, h] = te(null), i = t == null ? void 0 : t.getSettings(Ee.VIRTUAL_PATHS.desktop), y = t == null ? void 0 : t.getSettings(Ee.VIRTUAL_PATHS.theme), { openWindowedModal: v } = ht();
1262
- se(() => {
1263
- i == null || i.get("wallpaper", h), y == null || y.get("theme", (N) => {
1264
- l(parseInt(N));
1265
- });
1266
- }, [i, y]);
1267
- const d = (N) => {
1268
- const S = N.target.value;
1269
- i == null || i.set("wallpaper", S);
1270
- }, C = (N) => {
1271
- const S = N.target.value;
1272
- y == null || y.set("theme", S);
1273
- };
1274
- return /* @__PURE__ */ x(vt, { children: [
1275
- /* @__PURE__ */ x("div", { className: E.Option, children: [
1276
- /* @__PURE__ */ s("p", { className: E.Label, children: "Theme" }),
1277
- /* @__PURE__ */ s("div", { className: E.Input, children: /* @__PURE__ */ s("select", { className: E.Dropdown, "aria-label": "theme", value: r, onChange: C, children: Object.entries(tt).map(
1278
- ([N, S]) => /* @__PURE__ */ s("option", { value: N, children: S }, N)
1279
- ) }) })
1280
- ] }),
1281
- /* @__PURE__ */ x("div", { className: E.Option, children: [
1282
- /* @__PURE__ */ s("p", { className: E.Label, children: "Wallpaper" }),
1283
- /* @__PURE__ */ s(
1284
- Se,
1285
- {
1286
- className: `${E.Button} ${H.TextBold}`,
1287
- onClick: () => {
1288
- v({
1289
- size: e.defaultFileSelectorSize,
1290
- Modal: (N) => /* @__PURE__ */ s(
1291
- It.WindowContent,
1292
- {
1293
- type: Nt.Single,
1294
- allowedFormats: kt,
1295
- onFinish: (S) => {
1296
- S.source != null && (i == null || i.set("wallpaper", S.source));
1297
- },
1298
- ...N
1299
- }
1300
- )
1301
- });
1302
- },
1303
- children: "Browse"
1304
- }
1305
- ),
1306
- /* @__PURE__ */ s("div", { className: `${E.Input} ${E.ImageSelectContainer}`, children: (P = (k = n == null ? void 0 : n.navigate(gr)) == null ? void 0 : k.getFiles()) == null ? void 0 : P.map(
1307
- ({ id: N, source: S }) => /* @__PURE__ */ x("label", { className: E.ImageSelect, children: [
1308
- /* @__PURE__ */ s(
1309
- "input",
1310
- {
1311
- type: "radio",
1312
- value: S ?? "",
1313
- "aria-label": "Wallpaper image",
1314
- checked: S === a,
1315
- onChange: d,
1316
- tabIndex: 0
1317
- }
1318
- ),
1319
- /* @__PURE__ */ s("img", { src: S ?? "", alt: N, draggable: "false" })
1320
- ] }, N)
1321
- ) })
1322
- ] })
1308
+ var Bt = /* @__PURE__ */ ((e) => (e[e.None = 0] = "None", e[e.Single = 1] = "Single", e[e.Multi = 2] = "Multi", e))(Bt || {});
1309
+ const Dt = new bt("File Explorer", "file-explorer", Lr).setIconUrl("https://os.prozilla.dev/assets/apps/icons/file-explorer.svg").setRole(ht.APP_ROLES.fileExplorer).setCategory("Utilities & tools");
1310
+ Dt.setMetadata({ name: "@prozilla-os/file-explorer", version: "1.1.17", author: "Prozilla" });
1311
+ const Br = "~/Pictures/Wallpapers";
1312
+ function Dr() {
1313
+ var a, c;
1314
+ const { modalsConfig: e } = se(), n = Pe(), [t, r] = Vt(he.VIRTUAL_PATHS.desktop, "wallpaper"), { openWindowedModal: l } = gt();
1315
+ return /* @__PURE__ */ y("div", { className: b.Option, children: [
1316
+ /* @__PURE__ */ o("p", { className: b.Label, children: "Wallpaper" }),
1317
+ /* @__PURE__ */ o(
1318
+ Ne,
1319
+ {
1320
+ className: `${b.Button} ${V.TextBold}`,
1321
+ onClick: () => {
1322
+ l({
1323
+ size: e.defaultFileSelectorSize,
1324
+ Modal: (i) => /* @__PURE__ */ o(
1325
+ Dt.WindowContent,
1326
+ {
1327
+ type: Bt.Single,
1328
+ allowedFormats: Kt,
1329
+ onFinish: (_) => {
1330
+ _.source != null && r(_.source);
1331
+ },
1332
+ ...i
1333
+ }
1334
+ )
1335
+ });
1336
+ },
1337
+ children: "Browse"
1338
+ }
1339
+ ),
1340
+ /* @__PURE__ */ o("div", { className: `${b.Input} ${b.ImageSelectContainer}`, children: (c = (a = n == null ? void 0 : n.navigate(Br)) == null ? void 0 : a.getFiles()) == null ? void 0 : c.map(
1341
+ ({ id: i, source: _ }) => /* @__PURE__ */ y("label", { className: b.ImageSelect, children: [
1342
+ /* @__PURE__ */ o(
1343
+ "input",
1344
+ {
1345
+ type: "radio",
1346
+ value: _ ?? "",
1347
+ "aria-label": "Wallpaper image",
1348
+ checked: _ === t,
1349
+ onChange: (v) => r(v.target.value),
1350
+ tabIndex: 0
1351
+ }
1352
+ ),
1353
+ /* @__PURE__ */ o("img", { src: _ ?? "", alt: i, draggable: "false" })
1354
+ ] }, i)
1355
+ ) })
1356
+ ] });
1357
+ }
1358
+ function Mr({ active: e = !1, setActive: n }) {
1359
+ return /* @__PURE__ */ o(
1360
+ "button",
1361
+ {
1362
+ onClick: (t) => n(!e),
1363
+ className: `${b.Checkbox} ${e ? "Checked" : ""}`,
1364
+ children: e ? /* @__PURE__ */ o(W, { icon: xt }) : /* @__PURE__ */ o(W, { icon: Et })
1365
+ }
1366
+ );
1367
+ }
1368
+ function jr() {
1369
+ const [e, n] = Ht(he.VIRTUAL_PATHS.desktop, "show-icons", !0);
1370
+ return /* @__PURE__ */ y("div", { className: b.Option, children: [
1371
+ /* @__PURE__ */ o("p", { className: b.Label, children: "Show icons" }),
1372
+ /* @__PURE__ */ o("div", { className: b.Input, children: /* @__PURE__ */ o(Mr, { active: e, setActive: n }) })
1323
1373
  ] });
1324
1374
  }
1325
- function Tr() {
1326
- const { systemName: e } = me(), n = Ye(), t = we();
1327
- return /* @__PURE__ */ x("div", { className: E.Option, children: [
1328
- /* @__PURE__ */ x("p", { className: E.Label, children: [
1375
+ function Fr() {
1376
+ return /* @__PURE__ */ o(
1377
+ Lt,
1378
+ {
1379
+ title: "Appearance",
1380
+ pages: {
1381
+ theme: {
1382
+ title: "Theme",
1383
+ description: "Choose a color palette",
1384
+ icon: St,
1385
+ Content: gr
1386
+ },
1387
+ wallpaper: {
1388
+ title: "Wallpaper",
1389
+ description: "Choose a background image",
1390
+ icon: Tt,
1391
+ Content: Dr
1392
+ },
1393
+ desktop: {
1394
+ title: "Desktop",
1395
+ icon: _t,
1396
+ Content: jr
1397
+ }
1398
+ }
1399
+ }
1400
+ );
1401
+ }
1402
+ function Ur() {
1403
+ const { systemName: e } = se(), n = Ve(), t = Pe();
1404
+ return /* @__PURE__ */ y("div", { className: b.Option, children: [
1405
+ /* @__PURE__ */ y("p", { className: b.Label, children: [
1329
1406
  "About ",
1330
1407
  e
1331
1408
  ] }),
1332
- /* @__PURE__ */ x("p", { className: H.TextLight, children: [
1409
+ /* @__PURE__ */ y("p", { className: V.TextLight, children: [
1333
1410
  e,
1334
1411
  " is a web-based operating system inspired by Ubuntu Linux and Windows made with React.js by Prozilla."
1335
1412
  ] }),
1336
- /* @__PURE__ */ x("div", { className: E.ButtonGroup, children: [
1337
- /* @__PURE__ */ s(
1338
- Se,
1413
+ /* @__PURE__ */ y("div", { className: b.ButtonGroup, children: [
1414
+ /* @__PURE__ */ o(
1415
+ Ne,
1339
1416
  {
1340
- className: `${E.Button} ${H.TextBold}`,
1417
+ className: `${b.Button} ${V.TextBold}`,
1341
1418
  onClick: (r) => {
1342
1419
  r.preventDefault(), n == null || n.open("text-editor", {
1343
1420
  mode: "view",
1344
1421
  file: t == null ? void 0 : t.navigate("~/Documents/Info.md"),
1345
- size: new be(575, 675)
1422
+ size: new me(575, 675)
1346
1423
  });
1347
1424
  },
1348
1425
  children: "Open Info.md"
1349
1426
  }
1350
1427
  ),
1351
- /* @__PURE__ */ s(
1352
- Se,
1428
+ /* @__PURE__ */ o(
1429
+ Ne,
1353
1430
  {
1354
- className: `${E.Button} ${H.TextBold}`,
1431
+ className: `${b.Button} ${V.TextBold}`,
1355
1432
  href: "https://github.com/prozilla-os/ProzillaOS",
1356
1433
  children: "View source"
1357
1434
  }
@@ -1359,33 +1436,33 @@ function Tr() {
1359
1436
  ] })
1360
1437
  ] });
1361
1438
  }
1362
- function xr() {
1363
- const e = we(), n = ue.MAX_BYTES, t = ue.getByteSize((e == null ? void 0 : e.toString()) ?? ""), r = ue.byteToKilobyte(n), l = ue.byteToKilobyte(t), a = r - l;
1364
- return /* @__PURE__ */ x(vt, { children: [
1365
- /* @__PURE__ */ x("div", { className: `${E.Option} ${E.ProgressBarContainer}`, children: [
1366
- /* @__PURE__ */ x("p", { className: E.Label, children: [
1439
+ function zr() {
1440
+ const e = Pe(), n = de.MAX_BYTES, t = de.getByteSize((e == null ? void 0 : e.toString()) ?? ""), r = de.byteToKilobyte(n), l = de.byteToKilobyte(t), a = r - l;
1441
+ return /* @__PURE__ */ y(qe, { children: [
1442
+ /* @__PURE__ */ y("div", { className: `${b.Option} ${b.ProgressBarContainer}`, children: [
1443
+ /* @__PURE__ */ y("p", { className: b.Label, children: [
1367
1444
  "Virtual Drive (",
1368
- Ae(r, 1),
1445
+ Re(r, 1),
1369
1446
  " KB)"
1370
1447
  ] }),
1371
- /* @__PURE__ */ s(Dt, { fillPercentage: l / r * 100, className: E.ProgressBar }),
1372
- /* @__PURE__ */ x("span", { className: E.ProgressBarLabels, children: [
1373
- /* @__PURE__ */ x("p", { className: H.TextLight, children: [
1374
- Ae(l, 1),
1448
+ /* @__PURE__ */ o(Gt, { fillPercentage: l / r * 100, className: b.ProgressBar }),
1449
+ /* @__PURE__ */ y("span", { className: b.ProgressBarLabels, children: [
1450
+ /* @__PURE__ */ y("p", { className: V.TextLight, children: [
1451
+ Re(l, 1),
1375
1452
  " KB used"
1376
1453
  ] }),
1377
- /* @__PURE__ */ x("p", { className: H.TextLight, children: [
1378
- Ae(a, 1),
1454
+ /* @__PURE__ */ y("p", { className: V.TextLight, children: [
1455
+ Re(a, 1),
1379
1456
  " KB free"
1380
1457
  ] })
1381
1458
  ] })
1382
1459
  ] }),
1383
- /* @__PURE__ */ x("div", { className: E.Option, children: [
1384
- /* @__PURE__ */ s("p", { className: E.Label, children: "Manage data" }),
1385
- /* @__PURE__ */ s(
1386
- Se,
1460
+ /* @__PURE__ */ y("div", { className: b.Option, children: [
1461
+ /* @__PURE__ */ o("p", { className: b.Label, children: "Manage data" }),
1462
+ /* @__PURE__ */ o(
1463
+ Ne,
1387
1464
  {
1388
- className: `${E.Button} ${E.ButtonDanger} ${H.TextBold}`,
1465
+ className: `${b.Button} ${b.ButtonDanger} ${V.TextBold}`,
1389
1466
  onClick: () => {
1390
1467
  e == null || e.reset();
1391
1468
  },
@@ -1395,80 +1472,134 @@ function xr() {
1395
1472
  ] })
1396
1473
  ] });
1397
1474
  }
1398
- function Er({ app: e, pins: n, setPins: t }) {
1399
- const r = n.includes(e.id), l = qe(), a = Ye(), { onContextMenu: h } = Me({
1400
- Actions: (i) => /* @__PURE__ */ x(Fe, { ...i, children: [
1401
- /* @__PURE__ */ s(re, { label: "Launch", icon: e.iconUrl, onTrigger: () => a == null ? void 0 : a.open(e.id) }),
1402
- /* @__PURE__ */ s(re, { label: r ? "Unpin from taskbar" : "Pin to taskbar", icon: Jt, onTrigger: () => {
1403
- const y = [...n];
1404
- r ? on(e.id, n) : y.push(e.id);
1405
- const v = l == null ? void 0 : l.getSettings(Ee.VIRTUAL_PATHS.taskbar);
1406
- v == null || v.set("pins", y.join(","));
1475
+ function qr({ app: e, pins: n, setPins: t }) {
1476
+ const r = n.includes(e.id), l = Ve(), { onContextMenu: a } = Ue({
1477
+ Actions: (c) => /* @__PURE__ */ y(ze, { ...c, children: [
1478
+ /* @__PURE__ */ o(ne, { label: "Launch", icon: e.iconUrl, onTrigger: () => l == null ? void 0 : l.open(e.id) }),
1479
+ /* @__PURE__ */ o(ne, { label: r ? "Unpin from taskbar" : "Pin to taskbar", icon: sn, onTrigger: () => {
1480
+ const i = [...n];
1481
+ r ? Nt(e.id, i) : i.push(e.id), t(i);
1407
1482
  } })
1408
1483
  ] })
1409
1484
  });
1410
- return /* @__PURE__ */ x("div", { className: `${E.Option} ${E.OptionHorizontal}`, children: [
1411
- /* @__PURE__ */ x("span", { className: E.Label, children: [
1412
- /* @__PURE__ */ s(Ue, { className: E.Icon, source: e.iconUrl }),
1485
+ return /* @__PURE__ */ y("div", { className: `${b.Option} ${b.OptionHorizontal} ${b.OptionListItem}`, children: [
1486
+ /* @__PURE__ */ y("span", { className: b.Label, children: [
1487
+ /* @__PURE__ */ o(Ee, { className: b.Icon, source: e.iconUrl }),
1413
1488
  e.name
1414
1489
  ] }),
1415
- /* @__PURE__ */ s("button", { className: E.IconButton, onClick: h, children: /* @__PURE__ */ s(X, { icon: Zt }) })
1490
+ /* @__PURE__ */ o("button", { className: b.IconButton, onClick: a, children: /* @__PURE__ */ o(W, { icon: ln }) })
1416
1491
  ] });
1417
1492
  }
1418
- function Sr() {
1419
- const { appsConfig: e } = me(), n = qe(), [t, r] = te([]);
1420
- return se(() => {
1421
- const l = n == null ? void 0 : n.getSettings(Ee.VIRTUAL_PATHS.taskbar);
1422
- l == null || l.get("pins", (a) => {
1423
- r(a.split(","));
1424
- });
1425
- }, [n]), /* @__PURE__ */ x("div", { className: `${E.Option} ${E.OptionList}`, children: [
1426
- /* @__PURE__ */ s("p", { className: E.Label, children: "Apps" }),
1493
+ function Wr() {
1494
+ const { appsConfig: e } = se(), [n, t] = vt(he.VIRTUAL_PATHS.taskbar, "pins");
1495
+ return /* @__PURE__ */ o("div", { className: `${b.Option} ${b.OptionList}`, children: e.apps.sort(
1496
+ (r, l) => r.name.toLowerCase().localeCompare(l.name.toLowerCase())
1497
+ ).map(
1498
+ (r) => /* @__PURE__ */ o(qr, { app: r, pins: n, setPins: t }, r.id)
1499
+ ) });
1500
+ }
1501
+ function Yr() {
1502
+ const { appsConfig: e } = se(), n = se(), [t, r] = vt(he.VIRTUAL_PATHS.apps, "startup"), l = (a, c) => {
1503
+ const i = [...t];
1504
+ if (c) {
1505
+ if (i.includes(a))
1506
+ return;
1507
+ i.push(a);
1508
+ } else {
1509
+ if (!i.includes(a))
1510
+ return;
1511
+ Nt(a, i);
1512
+ }
1513
+ r(i);
1514
+ };
1515
+ return /* @__PURE__ */ y("div", { className: `${b.Option} ${b.OptionList}`, children: [
1516
+ /* @__PURE__ */ y("p", { className: V.TextLight, children: [
1517
+ "Apps can be configured to start automatically when you enter ",
1518
+ n.systemName,
1519
+ "."
1520
+ ] }),
1427
1521
  e.apps.sort(
1428
- (l, a) => l.name.toLowerCase().localeCompare(a.name.toLowerCase())
1429
- ).map(
1430
- (l) => /* @__PURE__ */ s(Er, { app: l, pins: t, setPins: r }, l.id)
1431
- )
1522
+ (a, c) => a.name.toLowerCase().localeCompare(c.name.toLowerCase())
1523
+ ).map((a) => {
1524
+ const c = t.includes(a.id);
1525
+ return /* @__PURE__ */ y(
1526
+ "button",
1527
+ {
1528
+ className: `${b.Option} ${b.OptionHorizontal} ${b.OptionListItem}`,
1529
+ onClick: (i) => l(a.id, !c),
1530
+ children: [
1531
+ /* @__PURE__ */ y("span", { className: b.Label, children: [
1532
+ /* @__PURE__ */ o(Ee, { className: b.Icon, source: a.iconUrl }),
1533
+ a.name
1534
+ ] }),
1535
+ /* @__PURE__ */ o("div", { className: `${b.Checkbox} ${c ? b.Checked : ""}`, children: c ? /* @__PURE__ */ o(W, { icon: xt }) : /* @__PURE__ */ o(W, { icon: Et }) })
1536
+ ]
1537
+ },
1538
+ a.id
1539
+ );
1540
+ })
1432
1541
  ] });
1433
1542
  }
1434
- function Cr({ tab: e }) {
1435
- return /* @__PURE__ */ s("div", { className: E.SettingsContainer, children: /* @__PURE__ */ x(
1436
- He,
1543
+ function Vr() {
1544
+ return /* @__PURE__ */ o(
1545
+ Lt,
1546
+ {
1547
+ title: "Apps",
1548
+ pages: {
1549
+ installedApps: {
1550
+ title: "Installed apps",
1551
+ description: "Manage installed apps",
1552
+ icon: cn,
1553
+ Content: Wr
1554
+ },
1555
+ startupApps: {
1556
+ title: "Startup apps",
1557
+ description: "Apps that start automatically",
1558
+ icon: dn,
1559
+ Content: Yr
1560
+ }
1561
+ }
1562
+ }
1563
+ );
1564
+ }
1565
+ function Kr({ tab: e }) {
1566
+ return /* @__PURE__ */ o("div", { className: b.SettingsContainer, children: /* @__PURE__ */ y(
1567
+ Ge,
1437
1568
  {
1438
1569
  defaultIndex: e ?? 0,
1439
- className: E.Settings,
1440
- selectedTabClassName: E.ActiveTab,
1441
- selectedTabPanelClassName: E.ActivePanel,
1570
+ className: b.Settings,
1571
+ selectedTabClassName: b.ActiveTab,
1572
+ selectedTabPanelClassName: b.ActivePanel,
1442
1573
  children: [
1443
- /* @__PURE__ */ x(Ge, { className: E.Tabs, children: [
1444
- /* @__PURE__ */ x(de, { className: E.TabButton, tabIndex: "0", children: [
1445
- /* @__PURE__ */ s(X, { icon: Qt }),
1446
- /* @__PURE__ */ s("p", { className: H.TextSemibold, children: "Apps" })
1574
+ /* @__PURE__ */ y(Xe, { className: b.Tabs, children: [
1575
+ /* @__PURE__ */ y(ue, { className: b.TabButton, tabIndex: "0", children: [
1576
+ /* @__PURE__ */ o(W, { icon: un }),
1577
+ /* @__PURE__ */ o("p", { className: V.TextSemibold, children: "Apps" })
1447
1578
  ] }),
1448
- /* @__PURE__ */ x(de, { className: E.TabButton, tabIndex: "0", children: [
1449
- /* @__PURE__ */ s(X, { icon: en }),
1450
- /* @__PURE__ */ s("p", { className: H.TextSemibold, children: "Appearance" })
1579
+ /* @__PURE__ */ y(ue, { className: b.TabButton, tabIndex: "0", children: [
1580
+ /* @__PURE__ */ o(W, { icon: St }),
1581
+ /* @__PURE__ */ o("p", { className: V.TextSemibold, children: "Appearance" })
1451
1582
  ] }),
1452
- /* @__PURE__ */ x(de, { className: E.TabButton, tabIndex: "0", children: [
1453
- /* @__PURE__ */ s(X, { icon: tn }),
1454
- /* @__PURE__ */ s("p", { className: H.TextSemibold, children: "Storage" })
1583
+ /* @__PURE__ */ y(ue, { className: b.TabButton, tabIndex: "0", children: [
1584
+ /* @__PURE__ */ o(W, { icon: fn }),
1585
+ /* @__PURE__ */ o("p", { className: V.TextSemibold, children: "Storage" })
1455
1586
  ] }),
1456
- /* @__PURE__ */ x(de, { className: E.TabButton, tabIndex: "0", children: [
1457
- /* @__PURE__ */ s(X, { icon: yt }),
1458
- /* @__PURE__ */ s("p", { className: H.TextSemibold, children: "About" })
1587
+ /* @__PURE__ */ y(ue, { className: b.TabButton, tabIndex: "0", children: [
1588
+ /* @__PURE__ */ o(W, { icon: yt }),
1589
+ /* @__PURE__ */ o("p", { className: V.TextSemibold, children: "About" })
1459
1590
  ] })
1460
1591
  ] }),
1461
- /* @__PURE__ */ s(fe, { className: E.TabPanel, children: /* @__PURE__ */ s(Sr, {}) }),
1462
- /* @__PURE__ */ s(fe, { className: E.TabPanel, children: /* @__PURE__ */ s(_r, {}) }),
1463
- /* @__PURE__ */ s(fe, { className: E.TabPanel, children: /* @__PURE__ */ s(xr, {}) }),
1464
- /* @__PURE__ */ s(fe, { className: E.TabPanel, children: /* @__PURE__ */ s(Tr, {}) })
1592
+ /* @__PURE__ */ o(fe, { className: b.TabPanel, children: /* @__PURE__ */ o(Vr, {}) }),
1593
+ /* @__PURE__ */ o(fe, { className: b.TabPanel, children: /* @__PURE__ */ o(Fr, {}) }),
1594
+ /* @__PURE__ */ o(fe, { className: b.TabPanel, children: /* @__PURE__ */ o(zr, {}) }),
1595
+ /* @__PURE__ */ o(fe, { className: b.TabPanel, children: /* @__PURE__ */ o(Ur, {}) })
1465
1596
  ]
1466
1597
  }
1467
1598
  ) });
1468
1599
  }
1469
- const Pr = new bt("Settings", "settings", Cr).setIconUrl("https://os.prozilla.dev/assets/apps/icons/settings.svg").setRole(mt.APP_ROLES.settings).setCategory("Personalization");
1470
- Pr.setMetadata({ name: "@prozilla-os/settings", version: "1.1.16", author: "Prozilla" });
1600
+ const Hr = new bt("Settings", "settings", Kr).setIconUrl("https://os.prozilla.dev/assets/apps/icons/settings.svg").setRole(ht.APP_ROLES.settings).setCategory("Personalization");
1601
+ Hr.setMetadata({ name: "@prozilla-os/settings", version: "1.1.17", author: "Prozilla" });
1471
1602
  export {
1472
- Pr as settings
1603
+ Hr as settings
1473
1604
  };
1474
1605
  //# sourceMappingURL=main.js.map