nfx-ui 0.12.1 → 0.12.3
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/layouts.cjs +1 -1
- package/dist/layouts.cjs.map +1 -1
- package/dist/layouts.mjs +157 -152
- package/dist/layouts.mjs.map +1 -1
- package/dist/src/designs/layouts/components/SideShowLayout/index.d.ts.map +1 -1
- package/dist/src/designs/layouts/components/Sidebar/index.d.ts.map +1 -1
- package/dist/src/types/utils.d.ts +1 -1
- package/dist/src/types/utils.d.ts.map +1 -1
- package/dist/src/utils/safe.d.ts +7 -1
- package/dist/src/utils/safe.d.ts.map +1 -1
- package/dist/utils.cjs +1 -1
- package/dist/utils.cjs.map +1 -1
- package/dist/utils.mjs +9 -8
- package/dist/utils.mjs.map +1 -1
- package/package.json +1 -1
package/dist/layouts.mjs
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
(function(){try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(`.styles-module__loading___bgEAk{justify-content:center;align-items:center;display:inline-flex}.styles-module__loading___bgEAk svg polyline{fill:none;stroke-width:3px;stroke-linecap:round;stroke-linejoin:round}.styles-module__loading___bgEAk svg polyline.styles-module__back___XLPvD{fill:none;stroke:var(--color-primary-alpha)}.styles-module__loading___bgEAk svg polyline.styles-module__front___hSxig{fill:none;stroke:var(--color-primary);stroke-dasharray:48 144;stroke-dashoffset:192px;animation:1.4s linear infinite styles-module__dash_682___AQzo6}@keyframes styles-module__dash_682___AQzo6{72.5%{opacity:0}to{stroke-dashoffset:0}}.styles-module__loader___E7OIM{justify-content:center;align-items:center;width:fit-content;height:fit-content;display:flex}.styles-module__truckWrapper___Sk4zX{flex-direction:column;justify-content:flex-end;align-items:center;width:100%;height:100%;display:flex;position:relative;overflow-x:hidden}.styles-module__truckBody___j7w2C{width:65%;height:fit-content;margin-bottom:6px;animation:1s linear infinite styles-module__motion___IiNlW}@keyframes styles-module__motion___IiNlW{0%{transform:translateY(0)}50%{transform:translateY(3px)}to{transform:translateY(0)}}.styles-module__truckTires___4ncTl{justify-content:space-between;align-items:center;width:65%;height:fit-content;padding:0 10px 0 15px;display:flex;position:absolute;bottom:0}.styles-module__tiresvg___IBQcN{width:24px}.styles-module__road___sxx-E{background-color:var(--color-fg-heading);border-radius:var(--radius-button);align-self:flex-end;width:100%;height:1.5px;position:relative;bottom:0}.styles-module__road___sxx-E:before{content:"";background-color:var(--color-fg-heading);border-radius:var(--radius-button);border-left:10px solid var(--color-bg);width:20px;height:100%;animation:1.4s linear infinite styles-module__roadAnimation___yvrHP;position:absolute;right:-50%}.styles-module__road___sxx-E:after{content:"";background-color:var(--color-fg-heading);border-radius:var(--radius-button);border-left:4px solid var(--color-bg);width:10px;height:100%;animation:1.4s linear infinite styles-module__roadAnimation___yvrHP;position:absolute;right:-65%}.styles-module__lampPost___okcN5{height:45%;animation:1.4s linear infinite styles-module__roadAnimation___yvrHP;position:absolute;bottom:0;right:-90%}@keyframes styles-module__roadAnimation___yvrHP{0%{transform:translate(0)}to{transform:translate(-350px)}}.styles-module__loader___pFUzL{justify-content:center;align-items:center;display:inline-flex;position:relative}.styles-module__loader___pFUzL:before{content:"";background:var(--color-primary);opacity:.3;border-radius:50%;width:100%;height:5px;animation:.5s linear infinite styles-module__shadow324___sutUe;position:absolute;top:calc(100% + 12px);left:0}.styles-module__loader___pFUzL:after{content:"";background:var(--color-primary);width:100%;height:100%;position:absolute;top:0;left:0}.styles-module__square___GKjhm:after{border-radius:var(--radius-button);animation:.5s linear infinite styles-module__jump7456Square___Z-D9b}.styles-module__circle___bUpSN:after{border-radius:50%;animation:.5s linear infinite styles-module__jump7456Circle___2AfF7}@keyframes styles-module__jump7456Square___Z-D9b{15%{border-bottom-right-radius:3px}25%{transform:translateY(9px)rotate(22.5deg)}50%{border-bottom-right-radius:40px;transform:translateY(18px)scaleY(.9)rotate(45deg)}75%{transform:translateY(9px)rotate(67.5deg)}to{transform:translateY(0)rotate(90deg)}}@keyframes styles-module__jump7456Circle___2AfF7{15%{border-bottom-right-radius:50%}25%{transform:translateY(9px)rotate(22.5deg)}50%{border-bottom-right-radius:40px;transform:translateY(18px)scaleY(.9)rotate(45deg)}75%{transform:translateY(9px)rotate(67.5deg)}to{transform:translateY(0)rotate(90deg)}}@keyframes styles-module__shadow324___sutUe{0%,to{transform:scale(1)}50%{transform:scaleX(1.2)}}.style-module__waves___oR3u7{width:100%;height:100%;margin:0;padding:0;position:absolute;top:0;left:0;overflow:hidden}.style-module__waves___oR3u7:before{content:"";background:var(--color-bg);width:.5rem;height:.5rem;transform:translate3d(calc(var(--x) - 50%), calc(var(--y) - 50%), 0);will-change:transform;border-radius:50%;position:absolute;top:0;left:0}.style-module__wavesCanvas___zkhTC{width:100%;height:100%;display:block}.style-module__squaresCanvas___22kMc{border:none;width:100%;height:100%;display:block}.style-module__container___HkxIe{background-color:var(--color-bg);width:100%;height:100%;position:relative;overflow:hidden}.style-module__canvas___MR9JX{width:100%;height:100%;display:block}.style-module__outerVignette___i75nw{pointer-events:none;background:radial-gradient(circle,#0000 60%,#000 100%);width:100%;height:100%;position:absolute;top:0;left:0}.style-module__centerVignette___n9uVG{pointer-events:none;background:radial-gradient(circle,#000c 0%,#0000 60%);width:100%;height:100%;position:absolute;top:0;left:0}.styles-module__button___RbliA{border-radius:var(--radius-button);cursor:pointer;border:1px solid #0000;outline:none;justify-content:center;align-items:center;gap:.5rem;font-family:inherit;font-weight:500;transition:all .2s;display:inline-flex;position:relative}.styles-module__button___RbliA:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px}.styles-module__button___RbliA:disabled{cursor:not-allowed;opacity:.6}.styles-module__button___RbliA.styles-module__small___yK0Yp{min-height:2rem;padding:.5rem 1rem;font-size:.8125rem}.styles-module__button___RbliA.styles-module__medium___eBTch{min-height:2.5rem;padding:.75rem 1.5rem;font-size:.875rem}.styles-module__button___RbliA.styles-module__large___pIZkl{min-height:3rem;padding:1rem 2rem;font-size:1rem}.styles-module__button___RbliA.styles-module__primary___qsZpA{background:var(--color-primary);border-color:var(--color-primary);color:var(--color-primary-fg)}.styles-module__button___RbliA.styles-module__primary___qsZpA:hover:not(:disabled){background:var(--color-primary-light);border-color:var(--color-primary-light);transform:translateY(-1px)}.styles-module__button___RbliA.styles-module__primary___qsZpA:active:not(:disabled){transform:translateY(0)}.styles-module__button___RbliA.styles-module__secondary___SCpPv{background:var(--color-bg-2);border-color:var(--color-border-4);color:var(--color-fg-text)}.styles-module__button___RbliA.styles-module__secondary___SCpPv:hover:not(:disabled){background:var(--color-bg-3);border-color:var(--color-primary)}.styles-module__button___RbliA.styles-module__outline___rrlk9{border-color:var(--color-border-4);color:var(--color-fg-text);background:0 0}.styles-module__button___RbliA.styles-module__outline___rrlk9:hover:not(:disabled){background:var(--color-bg-2);border-color:var(--color-primary)}.styles-module__button___RbliA.styles-module__ghost___QMoiH{color:var(--color-fg-text);background:0 0;border-color:#0000}.styles-module__button___RbliA.styles-module__ghost___QMoiH:hover:not(:disabled){background:var(--color-bg-2)}.styles-module__button___RbliA.styles-module__danger___MW-pg{background:var(--color-danger);border-color:var(--color-danger);color:var(--color-danger-fg,#fff)}.styles-module__button___RbliA.styles-module__danger___MW-pg:hover:not(:disabled){background:var(--color-danger-light);border-color:var(--color-danger-light);color:var(--color-danger-fg,#fff);transform:translateY(-1px)}.styles-module__button___RbliA.styles-module__danger___MW-pg:active:not(:disabled){transform:translateY(0)}.styles-module__button___RbliA.styles-module__fullWidth___-dXBR{width:100%}.styles-module__button___RbliA.styles-module__loading___UWw6V{pointer-events:none}.styles-module__spinner___KpJ-L{border:2px solid;border-top-color:#0000;border-radius:50%;flex-shrink:0;width:1rem;height:1rem;animation:.6s linear infinite styles-module__spin___ntZKM}@keyframes styles-module__spin___ntZKM{to{transform:rotate(360deg)}}.styles-module__button___RbliA.styles-module__small___yK0Yp .styles-module__spinner___KpJ-L{border-width:1.5px;width:.875rem;height:.875rem}.styles-module__button___RbliA.styles-module__large___pIZkl .styles-module__spinner___KpJ-L{border-width:2.5px;width:1.25rem;height:1.25rem}.styles-module__content___oyZRO{align-items:center;display:flex}.styles-module__leftIcon___cDktv,.styles-module__rightIcon___1mpk0{flex-shrink:0;align-items:center;display:flex}.styles-module__leftIcon___cDktv{margin-right:-.25rem}.styles-module__rightIcon___1mpk0{margin-left:-.25rem}.styles-module__button___RbliA.styles-module__iconOnly___iOv-U{aspect-ratio:1;min-width:2.5rem;min-height:2.5rem;padding:0}.styles-module__button___RbliA.styles-module__iconOnly___iOv-U.styles-module__small___yK0Yp{min-width:2rem;min-height:2rem}.styles-module__button___RbliA.styles-module__iconOnly___iOv-U.styles-module__large___pIZkl{min-width:3rem;min-height:3rem}.styles-module__iconContainer___bwvE3{justify-content:center;align-items:center;width:100%;height:100%;display:flex}.styles-module__layout___WaGy9{flex-direction:column;justify-content:center;align-items:center;gap:.25rem;width:100%;display:flex}.styles-module__horizontal___lKpGq{justify-content:center;align-items:center;gap:.5rem;width:100%;display:flex}.styles-module__topIcon___bzw6s,.styles-module__bottomIcon___suPfa{flex-shrink:0;justify-content:center;align-items:center;display:flex}.styles-module__iconOnly___iOv-U .styles-module__iconContainer___bwvE3 .styles-module__leftIcon___cDktv,.styles-module__iconOnly___iOv-U .styles-module__iconContainer___bwvE3 .styles-module__rightIcon___1mpk0{margin:0}.Dropdown-module__dropdown___c9wIp{width:100%;display:inline-block;position:relative}.Dropdown-module__dropdownButton___suNh-{border:1px solid var(--color-separator);border-radius:var(--radius-card);cursor:pointer;text-align:left;background:var(--color-bg-2);width:100%;color:var(--color-fg-text);outline:none;justify-content:space-between;align-items:center;padding:.75rem 2.5rem .75rem 1rem;font-family:inherit;font-size:1rem;font-weight:400;line-height:1.5rem;transition:all .2s ease-in-out;display:flex;position:relative}.Dropdown-module__dropdownButton___suNh-:hover:not(:disabled){border-color:var(--color-primary);background:var(--color-bg-1)}.Dropdown-module__dropdownButton___suNh-:focus{border-color:var(--color-primary);background:var(--color-bg-1);box-shadow:0 0 0 2px var(--color-primary-transparent)}.Dropdown-module__dropdownButton___suNh-.Dropdown-module__disabled___Rz0pX{cursor:not-allowed;opacity:.6;background:var(--color-bg-3)}.Dropdown-module__dropdownButton___suNh-.Dropdown-module__error___F7dDu{border-color:var(--color-danger)}.Dropdown-module__buttonText___D2zxn{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.Dropdown-module__chevronIcon___uyawp{color:var(--color-fg-highlight);flex-shrink:0;transition:transform .15s;position:absolute;right:1rem}.Dropdown-module__chevronIcon___uyawp.Dropdown-module__open___APoXd{transform:rotate(180deg)}.Dropdown-module__dropdownMenu___WJ-QO{background:var(--color-bg);border:1px solid var(--color-border-4);border-radius:var(--radius-card);min-width:100%;box-shadow:0 .5rem 1rem var(--color-shadow);z-index:1000;animation:.15s ease-out Dropdown-module__slideDown___sRCmO;position:absolute;top:calc(100% + .5rem);left:0;right:0;overflow:hidden}@keyframes Dropdown-module__slideDown___sRCmO{0%{opacity:0;transform:translateY(-.5rem)}to{opacity:1;transform:translateY(0)}}.Dropdown-module__optionsList___Be6RN{margin:0;padding:.5rem 0;list-style:none}.Dropdown-module__option___q-NgT{cursor:pointer;color:var(--color-fg-text);align-items:center;padding:.75rem 1rem;font-size:.875rem;transition:all .15s;display:flex}.Dropdown-module__option___q-NgT:hover{background-color:var(--color-bg-2)}.Dropdown-module__option___q-NgT.Dropdown-module__selected___-OTW-{background-color:var(--color-bg-3);color:var(--color-fg-highlight);font-weight:600}@media (width<=768px){.Dropdown-module__dropdownButton___suNh-{padding:.625rem 2.25rem .625rem .875rem;font-size:.875rem}.Dropdown-module__chevronIcon___uyawp{right:.875rem}.Dropdown-module__option___q-NgT{padding:.625rem .875rem;font-size:.8125rem}}.styles-module__wrapper___COeGm{flex-direction:column;gap:.5rem;display:flex}.styles-module__wrapper___COeGm.styles-module__fullWidth___lVU49{width:100%}.styles-module__label___gfOA7{color:var(--color-fg-heading);align-items:center;gap:.25rem;font-size:.875rem;font-weight:500;display:flex}.styles-module__required___-zOy5{color:var(--color-danger)}.styles-module__inputContainer___wXY53{align-items:center;width:100%;display:flex;position:relative}.styles-module__input___IZDc3{border:1px solid var(--color-border-4);border-radius:var(--radius-input);background:var(--color-bg);width:100%;color:var(--color-fg-text);outline:none;font-family:inherit;font-size:.875rem;transition:all .2s}.styles-module__input___IZDc3[type=password]::-webkit-credentials-auto-fill-button{visibility:hidden!important;opacity:0!important;pointer-events:none!important;appearance:none!important;display:none!important;position:absolute!important;left:-9999px!important}.styles-module__input___IZDc3[type=password]::-webkit-strong-password-toggle-button{visibility:hidden!important;opacity:0!important;pointer-events:none!important;appearance:none!important;width:0!important;height:0!important;margin:0!important;padding:0!important;display:none!important;position:absolute!important;left:-9999px!important}.styles-module__input___IZDc3[type=password]::-ms-reveal{visibility:hidden!important;opacity:0!important;pointer-events:none!important;width:0!important;height:0!important;display:none!important;position:absolute!important;left:-9999px!important}.styles-module__input___IZDc3[type=password]::-ms-clear{visibility:hidden!important;opacity:0!important;pointer-events:none!important;width:0!important;height:0!important;display:none!important;position:absolute!important;left:-9999px!important}.styles-module__input___IZDc3:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px rgba(var(--color-primary-rgb), .1)}.styles-module__input___IZDc3::placeholder{color:var(--color-fg-muted);opacity:.5}.styles-module__input___IZDc3.styles-module__small___cuGyE{padding:.5rem .75rem;font-size:.8125rem}.styles-module__input___IZDc3.styles-module__medium___JdDPu{padding:.75rem;font-size:.875rem}.styles-module__input___IZDc3.styles-module__large___fMmiG{padding:1rem;font-size:1rem}.styles-module__input___IZDc3.styles-module__default___-eZTG{background:var(--color-bg);border-color:var(--color-border-4)}.styles-module__input___IZDc3.styles-module__filled___EQ5PQ{background:var(--color-bg-2);border-color:var(--color-border-3)}.styles-module__inputContainer___wXY53.styles-module__withLeftIcon___NFn6- .styles-module__input___IZDc3{padding-left:2.5rem}.styles-module__inputContainer___wXY53.styles-module__withRightIcon___mz-hn .styles-module__input___IZDc3{padding-right:2.5rem}.styles-module__inputContainer___wXY53.styles-module__withLeftIcon___NFn6- .styles-module__input___IZDc3.styles-module__small___cuGyE{padding-left:2rem}.styles-module__inputContainer___wXY53.styles-module__withRightIcon___mz-hn .styles-module__input___IZDc3.styles-module__small___cuGyE{padding-right:2rem}.styles-module__inputContainer___wXY53.styles-module__withLeftIcon___NFn6- .styles-module__input___IZDc3.styles-module__large___fMmiG{padding-left:3rem}.styles-module__inputContainer___wXY53.styles-module__withRightIcon___mz-hn .styles-module__input___IZDc3.styles-module__large___fMmiG{padding-right:3rem}.styles-module__leftIcon___jEW5H,.styles-module__rightIcon___bA3Eo{color:var(--color-fg-muted);pointer-events:none;z-index:1;justify-content:center;align-items:center;display:flex;position:absolute}.styles-module__leftIcon___jEW5H{left:.75rem}.styles-module__rightIcon___bA3Eo{right:.75rem}.styles-module__rightIcon___bA3Eo.styles-module__rightIconInteractive___ccypw{pointer-events:auto}.styles-module__inputContainer___wXY53.styles-module__containerSmall___20ICq .styles-module__leftIcon___jEW5H{left:.5rem}.styles-module__inputContainer___wXY53.styles-module__containerSmall___20ICq .styles-module__rightIcon___bA3Eo{right:.5rem}.styles-module__inputContainer___wXY53.styles-module__containerLarge___IztuN .styles-module__leftIcon___jEW5H{left:1rem}.styles-module__inputContainer___wXY53.styles-module__containerLarge___IztuN .styles-module__rightIcon___bA3Eo{right:1rem}.styles-module__input___IZDc3.styles-module__error___946qV{border-color:var(--color-danger)}.styles-module__input___IZDc3.styles-module__error___946qV:focus{border-color:var(--color-danger);box-shadow:0 0 0 3px rgba(var(--color-danger-rgb), .1)}.styles-module__input___IZDc3.styles-module__disabled___sJvLd{background:var(--color-bg-3);border-color:var(--color-border-5);color:var(--color-fg-muted);cursor:not-allowed;opacity:.6}.styles-module__errorMessage___5Mn22{color:var(--color-danger);margin:0;font-size:.75rem}.styles-module__helperText___T2eui{color:var(--color-fg-muted);margin:0;font-size:.75rem}.styles-module__container___xeg8O{flex-direction:column;gap:1rem;display:flex}.styles-module__label___qhbKe{color:var(--color-fg-text);font-size:.875rem;font-weight:500}.styles-module__error___O-7AY{color:var(--color-error);font-size:.875rem}.styles-module__pairs___owGV3{flex-direction:column;gap:.75rem;display:flex}.styles-module__pair___G4WFY{grid-template-columns:1fr 2fr auto;align-items:start;gap:.75rem;display:grid}.styles-module__keyInput___wl1M1,.styles-module__valueInput___HiwJ5{flex:1}.styles-module__removeButton___4-X0b{min-width:auto;color:var(--color-error);padding:.5rem}.styles-module__removeButton___4-X0b:hover{background-color:var(--color-error);color:var(--color-primary-fg)}.styles-module__addButton___QFljt{align-self:flex-start}@media (width<=768px){.styles-module__pair___G4WFY{grid-template-columns:1fr}.styles-module__removeButton___4-X0b{align-self:flex-end}}.styles-module__searchContainer___86TGN{width:100%;max-width:400px;position:relative}.styles-module__searchIcon___ZInry{color:var(--color-fg-muted);pointer-events:none;position:absolute;top:50%;left:1rem;transform:translateY(-50%)}.styles-module__searchInput___SqZXQ{border:1px solid var(--color-border);border-radius:var(--radius-input);width:100%;color:var(--color-fg-text);background:var(--color-bg-2);padding:.75rem 3rem;font-size:1rem;transition:all .2s}.styles-module__searchInput___SqZXQ:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-primary-bg);outline:none}.styles-module__searchInput___SqZXQ::placeholder{color:var(--color-fg-muted)}.styles-module__clearBtn___7jExr{width:1.5rem;height:1.5rem;color:var(--color-fg-muted);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;padding:0;transition:all .2s;display:flex;position:absolute;top:50%;right:.75rem;transform:translateY(-50%)}.styles-module__clearBtn___7jExr:hover{color:var(--color-fg-text)}@media (width<=768px){.styles-module__searchContainer___86TGN{max-width:100%}}.styles-module__container___nGxdM{flex-direction:column;gap:.75rem;display:flex}.styles-module__toggleContainer___VrsKI{align-items:center;display:flex}.styles-module__toggleButton___IzD6Z{border:1px solid var(--color-border-4);border-radius:var(--radius-button);background:var(--color-bg);color:var(--color-fg-muted);cursor:pointer;align-items:center;gap:.5rem;padding:.5rem 1rem;font-size:.875rem;transition:all .2s;display:flex}.styles-module__toggleButton___IzD6Z:hover{background:var(--color-bg-2);border-color:var(--color-border-3)}.styles-module__toggleButton___IzD6Z.styles-module__enabled___cao0G{background:var(--color-primary);color:var(--color-primary-fg);border-color:var(--color-primary)}.styles-module__toggleButton___IzD6Z.styles-module__enabled___cao0G:hover{background:var(--color-primary-hover);border-color:var(--color-primary-hover);color:var(--color-primary-fg)}.styles-module__optionsContainer___LOzlO{background:var(--color-bg-2);border-radius:var(--radius-card);border:1px solid var(--color-border-4);gap:.5rem;padding:.5rem;display:flex}.styles-module__option___abhnC{border:1px solid var(--color-border-4);border-radius:var(--radius-button);background:var(--color-bg);color:var(--color-fg);cursor:pointer;flex:1;justify-content:center;align-items:center;gap:.375rem;padding:.5rem .875rem;font-size:.875rem;font-weight:500;transition:all .2s;display:flex}.styles-module__option___abhnC:hover{background:var(--color-bg-3);border-color:var(--color-border-3)}.styles-module__option___abhnC.styles-module__active___pqmSi{background:var(--color-primary);color:var(--color-primary-fg);border-color:var(--color-primary)}.styles-module__option___abhnC.styles-module__active___pqmSi:hover{background:var(--color-primary-hover);border-color:var(--color-primary-hover);color:var(--color-primary-fg)}.styles-module__nbSelect___KjxSc{font-family:inherit;font-size:.9375rem;font-weight:600;line-height:1.5rem;display:inline-block;position:relative}.styles-module__selectButton___AKZe4{border-radius:var(--radius-button);cursor:pointer;text-align:left;width:100%;min-width:8rem;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;appearance:none;border:1px solid;outline:none;justify-content:space-between;align-items:center;padding:.4375rem 2.2rem .4375rem 1.125rem;transition:all .15s ease-in-out;display:flex;position:relative}.styles-module__selectButton___AKZe4.styles-module__primary___HU36a{background-color:var(--color-primary);border-color:var(--color-primary);color:var(--color-primary-fg)}.styles-module__selectButton___AKZe4.styles-module__primary___HU36a:hover:not(:disabled){background-color:var(--color-primary-light);border-color:var(--color-primary-light)}.styles-module__selectButton___AKZe4.styles-module__primary___HU36a:focus,.styles-module__selectButton___AKZe4.styles-module__primary___HU36a.styles-module__open___9AKMb{background-color:var(--color-primary-light);border-color:var(--color-primary-light);box-shadow:0 0 0 .125rem rgba(var(--color-primary-rgb), .25)}.styles-module__selectButton___AKZe4.styles-module__default___LedYP{background-color:var(--color-bg);border-color:var(--color-border-4);color:var(--color-fg-text)}.styles-module__selectButton___AKZe4.styles-module__default___LedYP:hover:not(:disabled){background-color:var(--color-bg-2);border-color:var(--color-primary)}.styles-module__selectButton___AKZe4.styles-module__default___LedYP:focus,.styles-module__selectButton___AKZe4.styles-module__default___LedYP.styles-module__open___9AKMb{background-color:var(--color-bg-2);border-color:var(--color-primary);box-shadow:0 0 0 .125rem rgba(var(--color-primary-rgb), .25)}.styles-module__selectButton___AKZe4:disabled{cursor:not-allowed;opacity:.6}.styles-module__buttonText___QSLO1{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.styles-module__chevronIcon___qAHaD{flex-shrink:0;width:1.5rem;height:1.5rem;transition:transform .15s;position:absolute;right:.41rem}.styles-module__selectButton___AKZe4.styles-module__primary___HU36a .styles-module__chevronIcon___qAHaD{color:var(--color-primary-fg)}.styles-module__selectButton___AKZe4.styles-module__default___LedYP .styles-module__chevronIcon___qAHaD{color:var(--color-fg)}.styles-module__chevronIcon___qAHaD.styles-module__open___9AKMb{transform:rotate(180deg)}.styles-module__optionsPanel___NWAp3{background-color:var(--color-bg);border:1px solid var(--color-border-4);border-radius:var(--radius-button);min-width:100%;box-shadow:0 .5rem 1rem var(--color-shadow);z-index:1000;transform-origin:top;visibility:hidden;pointer-events:none;position:absolute;top:calc(100% + .5rem);left:0;right:0;overflow:hidden}.styles-module__optionsPanel___NWAp3.styles-module__open___9AKMb{visibility:visible;pointer-events:auto;animation:.25s ease-out styles-module__expandDown___eD4lh}.styles-module__optionsPanel___NWAp3.styles-module__closed___bez-q{visibility:hidden;pointer-events:none;animation:.25s ease-out styles-module__collapseUp___dt1E7}@keyframes styles-module__expandDown___eD4lh{0%{opacity:0;transform:scaleY(0)}to{opacity:1;transform:scaleY(1)}}@keyframes styles-module__collapseUp___dt1E7{0%{opacity:1;transform:scaleY(1)}to{opacity:0;transform:scaleY(0)}}.styles-module__optionsPanel___NWAp3.styles-module__primary___HU36a{border-color:var(--color-primary)}.styles-module__optionsPanel___NWAp3.styles-module__default___LedYP{border-color:var(--color-border-4)}.styles-module__optionsList___AxhVp{margin:0;padding:.5rem 0;list-style:none}.styles-module__option___t1SSw{cursor:pointer;color:var(--color-fg-text);justify-content:space-between;align-items:center;padding:.75rem 1.125rem;transition:all .15s;display:flex}.styles-module__option___t1SSw:hover{background-color:var(--color-bg-2)}.styles-module__option___t1SSw.styles-module__selected___azD4A{background-color:var(--color-primary);color:var(--color-primary-fg);font-weight:700}@media (prefers-color-scheme:dark){.styles-module__optionsPanel___NWAp3{box-shadow:0 .5rem 1rem var(--color-shadow)}}.styles-module__sliderContainer___lgpaD{flex-direction:column;gap:.5rem;display:flex}.styles-module__sliderContainer___lgpaD.styles-module__fullWidth___ZS8W5{width:100%}.styles-module__labelRow___dkVVM{justify-content:space-between;align-items:center;min-height:1.5rem;margin-bottom:.5rem;display:flex}.styles-module__label___bXGZs{color:var(--color-fg-text);font-size:.875rem;font-weight:500}.styles-module__required___FuyfE{color:var(--color-danger);margin-left:.25rem}.styles-module__sliderWrapper___1Wdti{touch-action:none;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;gap:.75rem;width:100%;display:flex}.styles-module__sliderRoot___yzOjR{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;flex-grow:1;align-items:center;width:100%;padding:.75rem 0;display:flex;position:relative}.styles-module__sliderRoot___yzOjR:active{cursor:grabbing}.styles-module__sliderTrackWrapper___N72WQ{flex-grow:1;display:flex;position:relative}.styles-module__sliderTrack___AltcD{border-radius:var(--radius-badge);background-color:var(--color-bg-3);width:100%;height:.375rem;position:relative;overflow:hidden}.styles-module__sliderRange___U3g0-{background-color:var(--color-primary);border-radius:var(--radius-badge);height:100%;position:absolute}.styles-module__valueIndicator___aLf0I{color:var(--color-primary);text-align:center;flex-shrink:0;min-width:2rem;font-size:.875rem;font-weight:600;line-height:1}.styles-module__iconWrapper___wL-b8{flex-shrink:0;justify-content:center;align-items:center;display:flex}.styles-module__icon___vHsID{width:20px;height:20px;color:var(--color-fg-muted)}.styles-module__errorMessage___qFgGe{color:var(--color-danger);margin:0;font-size:.75rem}.styles-module__helperText___tgBGl{color:var(--color-fg-muted);margin:0;font-size:.75rem}.styles-module__loadingContainer___OMgwS{flex-direction:column;justify-content:center;align-items:center;gap:1.5rem;min-height:60vh;display:flex}.styles-module__loadingText___KRZqR{color:var(--color-fg-muted);font-size:1rem}.styles-module__errorContainer___qhAg2{text-align:center;min-height:60vh;color:var(--color-fg-text);flex-direction:column;justify-content:center;align-items:center;gap:2rem;padding:3rem 2rem;display:flex}.styles-module__errorIconWrapper___IHZrN{background:linear-gradient(135deg, rgba(var(--color-error-rgb), .1), rgba(var(--color-error-rgb), .05));border:2px solid rgba(var(--color-error-rgb), .2);border-radius:50%;justify-content:center;align-items:center;width:120px;height:120px;animation:2s ease-in-out infinite styles-module__pulse___Lju-z;display:flex}@keyframes styles-module__pulse___Lju-z{0%,to{opacity:1;transform:scale(1)}50%{opacity:.9;transform:scale(1.05)}}.styles-module__errorIcon___oGDIP{color:var(--color-error);stroke-width:1.5px}.styles-module__errorContent___F55rQ{flex-direction:column;align-items:center;gap:1rem;width:100%;max-width:600px;display:flex}.styles-module__errorTitle___hC8D-{color:var(--color-fg-heading);letter-spacing:-.02em;margin:0;font-size:1.75rem;font-weight:700;line-height:1.2}.styles-module__errorDescription___hZtuP{color:var(--color-fg-muted);max-width:480px;margin:0;font-size:1rem;line-height:1.6}.styles-module__errorDetailsWrapper___-sp8b{width:100%;max-width:600px;margin-top:.5rem}.styles-module__errorDetailsContainer___eywMo{text-align:left;border:1px solid var(--color-border);border-radius:var(--radius-card);background:var(--color-bg-2);width:100%;transition:all .2s;overflow:hidden}.styles-module__errorDetailsContainer___eywMo:hover{border-color:var(--color-border-hover);background:var(--color-bg-3)}.styles-module__errorDetailsSummary___hGEoD{cursor:pointer;color:var(--color-fg-muted);-webkit-user-select:none;user-select:none;padding:.875rem 1.25rem;font-size:.875rem;font-weight:500;list-style:none;transition:color .2s}.styles-module__errorDetailsSummary___hGEoD:hover{color:var(--color-fg-text)}.styles-module__errorDetailsSummary___hGEoD::-webkit-details-marker{display:none}.styles-module__errorDetailsSummary___hGEoD:before{content:"▶";margin-right:.5rem;font-size:.75rem;transition:transform .2s;display:inline-block}.styles-module__errorDetailsContainer___eywMo[open] .styles-module__errorDetailsSummary___hGEoD:before{transform:rotate(90deg)}.styles-module__errorDetails___tzCT-{background:var(--color-bg-3);border-top:1px solid var(--color-border);max-width:100%;color:var(--color-fg-muted);white-space:pre-wrap;word-break:break-word;margin:0;padding:1rem 1.25rem;font-family:Monaco,Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace;font-size:.8125rem;line-height:1.6;overflow-x:auto}.styles-module__errorActions___gtqYw{flex-wrap:wrap;justify-content:center;align-items:center;gap:.75rem;margin-top:1rem;display:flex}.styles-module__retryButton___TA4jm{border-radius:var(--radius-button);background:var(--color-primary);color:var(--color-primary-fg);cursor:pointer;box-shadow:0 2px 8px var(--color-shadow);border:none;justify-content:center;align-items:center;gap:.5rem;padding:.75rem 2rem;font-size:.9375rem;font-weight:500;transition:all .2s;display:inline-flex}.styles-module__retryButton___TA4jm:hover{box-shadow:0 4px 16px var(--color-shadow);background:var(--color-primary-light);color:var(--color-primary-fg);transform:translateY(-2px)}.styles-module__retryButton___TA4jm:active{box-shadow:0 2px 8px var(--color-shadow);transform:translateY(0)}.styles-module__retryButtonIcon___vzfp-{font-size:1.125rem;line-height:1;transition:transform .3s;display:inline-block}.styles-module__retryButton___TA4jm:hover .styles-module__retryButtonIcon___vzfp-{transform:rotate(180deg)}.styles-module__clearLocalDataButton___T3B-K{border-radius:var(--radius-button);color:var(--color-fg-muted);border:1px solid var(--color-border-4);cursor:pointer;background:0 0;justify-content:center;align-items:center;padding:.75rem 1.5rem;font-size:.9375rem;font-weight:500;transition:all .2s;display:inline-flex}.styles-module__clearLocalDataButton___T3B-K:hover{color:var(--color-fg-text);border-color:var(--color-border-3);background:var(--color-bg-secondary)}.styles-module__wrapper___jXPV3{flex-direction:column;gap:.5rem;display:flex}.styles-module__wrapper___jXPV3.styles-module__fullWidth___eKyGB{width:100%}.styles-module__label___MyTeo{color:var(--color-fg-heading);align-items:center;gap:.25rem;font-size:.875rem;font-weight:500;display:flex}.styles-module__required___TV-m8{color:var(--color-danger)}.styles-module__inputContainer___VvGBl{align-items:flex-start;width:100%;display:flex;position:relative}.styles-module__textarea___AjX9N{border:1px solid var(--color-border-4);border-radius:var(--radius-input);background:var(--color-bg);width:100%;color:var(--color-fg-text);resize:vertical;outline:none;min-height:4rem;font-family:inherit;font-size:.875rem;transition:all .2s}.styles-module__textarea___AjX9N:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px rgba(var(--color-primary-rgb), .1)}.styles-module__textarea___AjX9N::placeholder{color:var(--color-fg-muted);opacity:.5}.styles-module__textarea___AjX9N.styles-module__small___zMx0G{min-height:3rem;padding:.5rem .75rem;font-size:.8125rem}.styles-module__textarea___AjX9N.styles-module__medium___tO2Lb{min-height:4rem;padding:.75rem;font-size:.875rem}.styles-module__textarea___AjX9N.styles-module__large___3eU2g{min-height:5rem;padding:1rem;font-size:1rem}.styles-module__textarea___AjX9N.styles-module__default___vsSxX{background:var(--color-bg);border-color:var(--color-border-4)}.styles-module__textarea___AjX9N.styles-module__filled___TPQgI{background:var(--color-bg-2);border-color:var(--color-border-3)}.styles-module__inputContainer___VvGBl .styles-module__leftIcon___FHp2R{color:var(--color-fg-muted);pointer-events:none;z-index:1;justify-content:center;align-items:center;display:flex;position:absolute;top:.75rem;left:.75rem}.styles-module__inputContainer___VvGBl .styles-module__rightIcon___dkyvP{color:var(--color-fg-muted);pointer-events:none;z-index:1;justify-content:center;align-items:center;display:flex;position:absolute;top:.75rem;right:.75rem}.styles-module__inputContainer___VvGBl .styles-module__textarea___AjX9N.styles-module__small___zMx0G+.styles-module__leftIcon___FHp2R,.styles-module__inputContainer___VvGBl .styles-module__textarea___AjX9N.styles-module__small___zMx0G+.styles-module__rightIcon___dkyvP{top:.5rem}.styles-module__inputContainer___VvGBl .styles-module__textarea___AjX9N.styles-module__large___3eU2g+.styles-module__leftIcon___FHp2R,.styles-module__inputContainer___VvGBl .styles-module__textarea___AjX9N.styles-module__large___3eU2g+.styles-module__rightIcon___dkyvP{top:1rem}.styles-module__textarea___AjX9N.styles-module__error___d8gLK{border-color:var(--color-danger)}.styles-module__textarea___AjX9N.styles-module__error___d8gLK:focus{border-color:var(--color-danger);box-shadow:0 0 0 3px rgba(var(--color-danger-rgb), .1)}.styles-module__textarea___AjX9N.styles-module__disabled___IzbfE{background:var(--color-bg-3);border-color:var(--color-border-5);color:var(--color-fg-muted);cursor:not-allowed;opacity:.6}.styles-module__errorText___Nom7x{color:var(--color-danger);margin:0;font-size:.75rem}.styles-module__helperText___97Def{color:var(--color-fg-muted);margin:0;font-size:.75rem}.styles-module__virtualList___pM6rN{contain:strict;width:100%;padding-bottom:300px;position:relative;overflow:auto}.styles-module__emptyContainer___rm938{height:100%;color:var(--color-fg-muted);justify-content:center;align-items:center;display:flex}.styles-module__virtualListInner___HxRzc{width:100%;position:relative}.styles-module__virtualListItems___p19-a{width:100%;position:absolute;top:0;left:0}.styles-module__loadingMore___zAdLM{color:var(--color-fg-muted);justify-content:center;align-items:center;gap:.75rem;padding:2rem 0;font-size:.875rem;display:flex}.styles-module__endOfList___5cYFh{color:var(--color-fg-muted);border-top:1px solid var(--color-border-3);justify-content:center;margin-top:1rem;padding:2rem 0;font-size:.875rem;display:flex}.styles-module__endOfList___5cYFh span{background-color:var(--color-bg-2);border-radius:var(--radius-button);padding:.5rem 1rem}.styles-module__virtualList___xmj2v{width:100%;padding-bottom:300px;position:relative;overflow:visible}.styles-module__virtualListInner___quD74{width:100%;position:relative}.styles-module__virtualListItems___-Muml{width:100%;position:absolute;top:0;left:0}.styles-module__virtualListRow___h3pzX{width:100%}.styles-module__emptyContainer___LIy8r{color:var(--color-fg-muted);justify-content:center;align-items:center;padding:2rem 0;display:flex}.styles-module__loadingMore___Mzf-p{color:var(--color-fg-muted);justify-content:center;align-items:center;padding:1.5rem 0;display:flex}.styles-module__endOfList___g5G--{color:var(--color-fg-muted);border-top:1px solid var(--color-border-3);justify-content:center;padding:1.5rem 0;display:flex}.styles-module__sidebar___BMt0j{flex-direction:column;height:100%;min-height:0;display:flex;overflow:hidden}.styles-module__sidebarContent___iAwiw{flex-direction:column;height:100%;min-height:0;padding-top:1rem;display:flex;overflow:hidden}.styles-module__menuWrapper___DKuEv{flex:1;min-height:0;overflow:hidden auto}.styles-module__sidebarContent___iAwiw::-webkit-scrollbar{width:0}.styles-module__sidebarContent___iAwiw::-webkit-scrollbar-track{background:0 0}.styles-module__sidebarContent___iAwiw::-webkit-scrollbar-thumb{background:0 0}.styles-module__sidebarContent___iAwiw::-webkit-scrollbar-thumb:hover{background:0 0}.styles-module__sidebar___BMt0j a{margin-left:0}.styles-module__sidebar___BMt0j .ps-sidebar-root{background-color:var(--color-bg-2)!important;border-right:1px solid var(--color-separator)!important;flex-direction:column!important;height:100%!important;min-height:0!important;display:flex!important;overflow:hidden!important}.styles-module__sidebar___BMt0j .ps-sidebar-container{background-color:var(--color-bg-2)!important;height:100%!important;min-height:0!important;color:var(--color-fg-text)!important;flex-direction:column!important;flex:1!important;display:flex!important;overflow:hidden!important}.styles-module__sidebar___BMt0j .ps-menu-button{border-radius:var(--radius-button)!important;color:var(--color-fg-text)!important;margin:.125rem .5rem!important;padding:.5rem .75rem!important;font-size:.875rem!important;transition:all .2s!important}.styles-module__sidebar___BMt0j .ps-menu-button:hover{background-color:var(--color-bg-3)!important;color:var(--color-fg-text)!important}.styles-module__sidebar___BMt0j .ps-menu-button.ps-active{background-color:var(--color-primary)!important;color:var(--color-primary-fg)!important}.styles-module__sidebar___BMt0j .ps-menu-button.ps-active *,.styles-module__sidebar___BMt0j .ps-menu-button.ps-active .ps-menu-icon,.styles-module__sidebar___BMt0j .ps-menu-button.ps-active .ps-menu-label{color:var(--color-primary-fg)!important}.styles-module__sidebar___BMt0j .ps-menu-icon{width:1.25rem!important;height:1.25rem!important;color:var(--color-fg-text)!important;margin-right:.5rem!important}.styles-module__sidebar___BMt0j .ps-submenu-content{background-color:var(--color-bg-3)!important;padding-left:.5rem!important;overflow:hidden!important}.styles-module__sidebar___BMt0j .ps-submenu-content .ps-menu-button{margin:.125rem .25rem!important;padding:.375rem .5rem!important;font-size:.8125rem!important;transition:all .2s!important}.styles-module__sidebar___BMt0j .ps-menu-label{color:var(--color-fg-text)!important;font-weight:500!important}.styles-module__sidebar___BMt0j .ps-menu-button.ps-active,.styles-module__sidebar___BMt0j .ps-menu-button.ps-active span,.styles-module__sidebar___BMt0j .ps-menu-button.ps-active div,.styles-module__sidebar___BMt0j .ps-menu-button.ps-active .ps-menu-icon,.styles-module__sidebar___BMt0j .ps-menu-button.ps-active .ps-menu-label{color:var(--color-primary-fg)!important}.styles-module__logoutContainer___7NwBL{border-top:1px solid var(--color-separator);writing-mode:horizontal-tb;text-orientation:mixed;flex-shrink:0;margin-top:auto;padding:.5rem}.styles-module__logoutButton___rfD6u{border-radius:var(--radius-button);width:100%;color:var(--color-fg-text);cursor:pointer;white-space:nowrap;writing-mode:horizontal-tb;text-orientation:mixed;direction:ltr;background:0 0;border:none;justify-content:flex-start;align-items:center;gap:.5rem;padding:.5rem .75rem;font-size:.875rem;transition:background-color .2s,color .2s;display:flex;overflow:hidden}.styles-module__logoutButton___rfD6u span{opacity:1;max-width:200px;transition:opacity .3s,max-width .3s;display:inline-block;writing-mode:horizontal-tb!important;text-orientation:mixed!important;direction:ltr!important;transform:none!important}.styles-module__logoutButton___rfD6u .styles-module__hiddenText___z183T{opacity:0;width:0;max-width:0;overflow:hidden}.styles-module__logoutButton___rfD6u .styles-module__visibleText___lfsv-{opacity:1;width:auto;max-width:200px}.styles-module__logoutButton___rfD6u:hover{background-color:var(--color-bg-3)}.styles-module__logoutButton___rfD6u:active{transform:scale(.98)}.styles-module__logoutButton___rfD6u svg{color:inherit;flex-shrink:0}.styles-module__footer___g-hY7{background:var(--color-bg-2);width:100%;padding:0 2rem}.styles-module__footerContent___Oen5n{justify-content:space-between;align-items:center;max-width:100%;margin:0 auto;display:flex}.styles-module__copyright___1R2o3{color:var(--color-fg-text);font-size:.875rem}.styles-module__links___dQyvB{gap:1.5rem;display:flex}.styles-module__link___UWfyK{color:var(--color-fg-text);font-size:.875rem;text-decoration:none;transition:color .3s}.styles-module__link___UWfyK:hover{color:var(--color-primary)}@media (width<=768px){.styles-module__footerContent___Oen5n{flex-direction:column;gap:1rem}.styles-module__links___dQyvB{gap:1rem}}.styles-module__header___4Uc8h{width:100%;padding:.5rem 2rem;display:flex}.styles-module__header___4Uc8h>:first-child{flex:1;justify-content:flex-start;align-items:center;display:flex}.styles-module__header___4Uc8h>:last-child{flex:1;justify-content:flex-end;align-items:center;display:flex}.styles-module__layout___ZQKU7{background:var(--color-bg);flex-direction:column;width:100%;height:100vh;display:flex;position:relative}.styles-module__header___XIaFb{z-index:100;background:var(--color-bg);width:100%;box-shadow:0 .125rem .25rem 0 var(--color-shadow);position:fixed;top:0}.styles-module__footer___r8ASO{z-index:100;width:100%;position:fixed;bottom:0}.styles-module__mainWrapper___i4tEI{flex:1;display:flex;position:relative}.styles-module__sidebar___ij-8-{position:fixed;top:0}.styles-module__content___mTgUr{background:var(--color-bg);flex:1;min-height:calc(100vh - 10rem);margin:0;padding-top:0;padding-bottom:0;overflow:hidden auto}@media (width<=768px){.styles-module__content___mTgUr{width:100%}.styles-module__sidebar___ij-8-{z-index:999;height:100vh;position:fixed;top:0;left:0}}.styles-module__mainWrapper___AiTAw{flex-direction:row;flex:1;display:flex;position:relative}.styles-module__sidebarContainer___X4yj8{z-index:99;flex-direction:column;display:flex;position:fixed;left:0;overflow:hidden}.styles-module__sidebar___VQTlH{flex-shrink:0;top:0;left:0}.styles-module__content___htJlH{background:var(--color-bg);flex:1;margin:0;padding-top:0;padding-bottom:0;overflow:hidden auto}@media (width<=1024px){.styles-module__content___htJlH{padding:1.5rem}}@media (width<=768px){.styles-module__content___htJlH{width:100%}.styles-module__sidebar___VQTlH{z-index:999;height:100vh;position:fixed;top:0;left:0}}.styles-module__wavesWrapper___TK7DI{pointer-events:none;z-index:0;width:100vw;height:100vh;position:fixed;inset:0;overflow:hidden}.styles-module__wavesWrapper___TK7DI>*{pointer-events:auto}.styles-module__squaresWrapper___P25uF{pointer-events:none;z-index:0;width:100vw;height:100vh;position:fixed;inset:0;overflow:hidden}.styles-module__squaresWrapper___P25uF>*{pointer-events:auto}.styles-module__letterGlitchWrapper___KWtWU{pointer-events:none;z-index:0;width:100vw;height:100vh;position:fixed;inset:0;overflow:hidden}.styles-module__letterGlitchWrapper___KWtWU>*{pointer-events:auto}.styles-module__pixelBlastWrapper___YptHh{pointer-events:none;z-index:0;width:100vw;height:100vh;position:fixed;inset:0;overflow:hidden}.styles-module__pixelBlastWrapper___YptHh>*{pointer-events:auto}.style-module__container___Hh3-c{width:100%;height:100%;position:relative;overflow:hidden}
|
|
2
2
|
/*$vite$:1*/`)),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
3
|
-
import { J as
|
|
4
|
-
import { n as
|
|
5
|
-
import { i as x, n as
|
|
6
|
-
import { n as O, t as
|
|
7
|
-
import { n as
|
|
3
|
+
import { J as X } from "./chunk-lucide-C54WenI6.mjs";
|
|
4
|
+
import { n as Z, r as ee, t as re } from "./chunk-lstorage-BVCD00Ow.mjs";
|
|
5
|
+
import { i as x, n as er, r as L, t as ae } from "./chunk-layout-C2uqDEMJ.mjs";
|
|
6
|
+
import { n as O, t as te } from "./chunk-useLayout-DPxlynT-.mjs";
|
|
7
|
+
import { n as oe, r as se, t as ne } from "./chunk-animations-Do1xZdGL.mjs";
|
|
8
8
|
import { o as g } from "./chunk-preference-BWEpbZgC.mjs";
|
|
9
|
-
import { Suspense as
|
|
10
|
-
import { Fragment as
|
|
11
|
-
import { Menu as
|
|
9
|
+
import { Suspense as le, lazy as ie, memo as _, useCallback as h, useEffect as ce, useLayoutEffect as T, useMemo as de, useRef as B, useState as W } from "react";
|
|
10
|
+
import { Fragment as R, jsx as t, jsxs as u } from "react/jsx-runtime";
|
|
11
|
+
import { Menu as ue, MenuItem as _e, Sidebar as me, SubMenu as pe } from "react-pro-sidebar";
|
|
12
12
|
function D() {
|
|
13
|
-
return
|
|
13
|
+
return re(L);
|
|
14
14
|
}
|
|
15
|
-
function
|
|
16
|
-
|
|
15
|
+
function ve(e) {
|
|
16
|
+
ee(L, e);
|
|
17
17
|
}
|
|
18
|
-
function
|
|
19
|
-
|
|
18
|
+
function lr() {
|
|
19
|
+
Z(L);
|
|
20
20
|
}
|
|
21
|
-
var
|
|
22
|
-
sidebar:
|
|
23
|
-
sidebarContent:
|
|
24
|
-
menuWrapper:
|
|
25
|
-
logoutContainer:
|
|
26
|
-
logoutButton:
|
|
27
|
-
hiddenText:
|
|
28
|
-
visibleText:
|
|
21
|
+
var he = "styles-module__sidebar___BMt0j", fe = "styles-module__sidebarContent___iAwiw", ye = "styles-module__menuWrapper___DKuEv", be = "styles-module__logoutContainer___7NwBL", ge = "styles-module__logoutButton___rfD6u", Ne = "styles-module__hiddenText___z183T", Se = "styles-module__visibleText___lfsv-", y = {
|
|
22
|
+
sidebar: he,
|
|
23
|
+
sidebarContent: fe,
|
|
24
|
+
menuWrapper: ye,
|
|
25
|
+
logoutContainer: be,
|
|
26
|
+
logoutButton: ge,
|
|
27
|
+
hiddenText: Ne,
|
|
28
|
+
visibleText: Se
|
|
29
29
|
};
|
|
30
30
|
function $(e, r, a) {
|
|
31
31
|
return e === r ? !0 : !(!e.startsWith(r + "/") || a?.length && a.some((o) => o !== r && (e === o || e.startsWith(o + "/"))));
|
|
@@ -33,27 +33,31 @@ function $(e, r, a) {
|
|
|
33
33
|
function I(e, r) {
|
|
34
34
|
return $(e, r.path, r.children?.map((a) => a.path)) ? !0 : r.children ? r.children.some((a) => $(e, a.path, r.children?.map((o) => o.path)) || I(e, a)) : !1;
|
|
35
35
|
}
|
|
36
|
-
var
|
|
37
|
-
const f =
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
36
|
+
var E = _(({ children: e, collapsed: r = !1, toggled: a = !1, onBackdropClick: o, breakPoint: s = "all", className: i, items: n = [], currentPathname: l = "", onNavigate: m, logoutLabel: d = "Logout", handleLogout: p, bottomLogoutButton: v }) => {
|
|
37
|
+
const f = B(null);
|
|
38
|
+
T(() => {
|
|
39
|
+
a && f.current && (f.current.scrollTop = 0);
|
|
40
|
+
}, [a]);
|
|
41
|
+
const A = h((c) => {
|
|
42
|
+
m?.(c);
|
|
43
|
+
}, [m]), M = h((c, j) => {
|
|
44
|
+
const J = $(l, c.path, j);
|
|
45
|
+
if (c.children?.length) {
|
|
46
|
+
const q = I(l, c);
|
|
47
|
+
return /* @__PURE__ */ t(pe, {
|
|
48
|
+
label: c.label,
|
|
49
|
+
icon: c.icon,
|
|
50
|
+
active: q,
|
|
51
|
+
children: c.children.map((Q) => M(Q, c.children.map((V) => V.path)))
|
|
52
|
+
}, c.path);
|
|
49
53
|
}
|
|
50
|
-
return /* @__PURE__ */ t(
|
|
51
|
-
icon:
|
|
52
|
-
onClick: () =>
|
|
53
|
-
active:
|
|
54
|
-
children:
|
|
55
|
-
},
|
|
56
|
-
}, [l,
|
|
54
|
+
return /* @__PURE__ */ t(_e, {
|
|
55
|
+
icon: c.icon,
|
|
56
|
+
onClick: () => A(c.path),
|
|
57
|
+
active: J,
|
|
58
|
+
children: c.label
|
|
59
|
+
}, c.path);
|
|
60
|
+
}, [l, A]), G = n.length > 0 ? /* @__PURE__ */ t(ue, {
|
|
57
61
|
transitionDuration: 300,
|
|
58
62
|
closeOnClick: !0,
|
|
59
63
|
menuItemStyles: {
|
|
@@ -78,26 +82,26 @@ var B = m(({ children: e, collapsed: r = !1, toggled: a = !1, onBackdropClick: o
|
|
|
78
82
|
"&.active": { color: "var(--color-primary-fg)" }
|
|
79
83
|
}
|
|
80
84
|
},
|
|
81
|
-
children: n.map((
|
|
82
|
-
}, `${r}-${a}`) : null,
|
|
85
|
+
children: n.map((c) => M(c))
|
|
86
|
+
}, `${r}-${a}`) : null, K = de(() => v ?? (p != null ? /* @__PURE__ */ t("div", {
|
|
83
87
|
className: y.logoutContainer,
|
|
84
|
-
children: /* @__PURE__ */
|
|
88
|
+
children: /* @__PURE__ */ u("button", {
|
|
85
89
|
type: "button",
|
|
86
90
|
className: y.logoutButton,
|
|
87
91
|
onClick: p,
|
|
88
|
-
title:
|
|
89
|
-
children: [/* @__PURE__ */ t(
|
|
92
|
+
title: d,
|
|
93
|
+
children: [/* @__PURE__ */ t(X, { size: 20 }), /* @__PURE__ */ t("span", {
|
|
90
94
|
className: r ? y.hiddenText : y.visibleText,
|
|
91
|
-
children:
|
|
95
|
+
children: d
|
|
92
96
|
})]
|
|
93
97
|
})
|
|
94
98
|
}) : null), [
|
|
95
99
|
r,
|
|
96
|
-
|
|
100
|
+
d,
|
|
97
101
|
p,
|
|
98
102
|
v
|
|
99
103
|
]);
|
|
100
|
-
return /* @__PURE__ */ t(
|
|
104
|
+
return /* @__PURE__ */ t(me, {
|
|
101
105
|
collapsed: r,
|
|
102
106
|
toggled: a,
|
|
103
107
|
onBackdropClick: o,
|
|
@@ -108,31 +112,32 @@ var B = m(({ children: e, collapsed: r = !1, toggled: a = !1, onBackdropClick: o
|
|
|
108
112
|
borderRight: "1px solid var(--color-separator)"
|
|
109
113
|
},
|
|
110
114
|
className: `${y.sidebar} ${i || ""}`,
|
|
111
|
-
children: /* @__PURE__ */
|
|
115
|
+
children: /* @__PURE__ */ u("div", {
|
|
112
116
|
className: y.sidebarContent,
|
|
113
|
-
onWheel: (
|
|
117
|
+
onWheel: (c) => c.stopPropagation(),
|
|
114
118
|
children: [/* @__PURE__ */ t("div", {
|
|
119
|
+
ref: f,
|
|
115
120
|
className: y.menuWrapper,
|
|
116
|
-
children: e ??
|
|
117
|
-
}),
|
|
121
|
+
children: e ?? G
|
|
122
|
+
}), K]
|
|
118
123
|
})
|
|
119
124
|
});
|
|
120
125
|
});
|
|
121
|
-
|
|
122
|
-
var
|
|
123
|
-
footer:
|
|
124
|
-
footerContent:
|
|
125
|
-
copyright:
|
|
126
|
-
links:
|
|
127
|
-
link:
|
|
128
|
-
},
|
|
126
|
+
E.displayName = "Sidebar";
|
|
127
|
+
var We = "styles-module__footer___g-hY7", ke = "styles-module__footerContent___Oen5n", Ce = "styles-module__copyright___1R2o3", xe = "styles-module__links___dQyvB", $e = "styles-module__link___UWfyK", b = {
|
|
128
|
+
footer: We,
|
|
129
|
+
footerContent: ke,
|
|
130
|
+
copyright: Ce,
|
|
131
|
+
links: xe,
|
|
132
|
+
link: $e
|
|
133
|
+
}, U = _(() => {
|
|
129
134
|
const e = (/* @__PURE__ */ new Date()).getFullYear();
|
|
130
|
-
return /* @__PURE__ */
|
|
135
|
+
return /* @__PURE__ */ u("div", {
|
|
131
136
|
className: b.footerContent,
|
|
132
|
-
children: [/* @__PURE__ */
|
|
137
|
+
children: [/* @__PURE__ */ u("span", {
|
|
133
138
|
className: b.copyright,
|
|
134
139
|
children: ["© ", e]
|
|
135
|
-
}), /* @__PURE__ */
|
|
140
|
+
}), /* @__PURE__ */ u("div", {
|
|
136
141
|
className: b.links,
|
|
137
142
|
children: [
|
|
138
143
|
/* @__PURE__ */ t("a", {
|
|
@@ -154,25 +159,25 @@ var Se = "styles-module__footer___g-hY7", We = "styles-module__footerContent___O
|
|
|
154
159
|
})]
|
|
155
160
|
});
|
|
156
161
|
});
|
|
157
|
-
|
|
158
|
-
var
|
|
162
|
+
U.displayName = "DefaultFooterContent";
|
|
163
|
+
var F = _(({ children: e, className: r }) => /* @__PURE__ */ t("div", {
|
|
159
164
|
className: `${b.footer} ${r || ""}`,
|
|
160
|
-
children: e ?? /* @__PURE__ */ t(
|
|
165
|
+
children: e ?? /* @__PURE__ */ t(U, {})
|
|
161
166
|
}));
|
|
162
|
-
|
|
163
|
-
var
|
|
164
|
-
className:
|
|
167
|
+
F.displayName = "Footer";
|
|
168
|
+
var Le = "styles-module__header___4Uc8h", Oe = { header: Le }, H = _(({ leftContent: e, rightContent: r }) => /* @__PURE__ */ u("div", {
|
|
169
|
+
className: Oe.header,
|
|
165
170
|
children: [/* @__PURE__ */ t("div", { children: e }), /* @__PURE__ */ t("div", { children: r })]
|
|
166
171
|
}));
|
|
167
|
-
|
|
168
|
-
var
|
|
169
|
-
layout:
|
|
172
|
+
H.displayName = "Header";
|
|
173
|
+
var Te = "styles-module__layout___ZQKU7", Be = "styles-module__header___XIaFb", Ee = "styles-module__footer___r8ASO", k = {
|
|
174
|
+
layout: Te,
|
|
170
175
|
header: Be,
|
|
171
|
-
footer:
|
|
176
|
+
footer: Ee
|
|
172
177
|
};
|
|
173
|
-
function
|
|
174
|
-
const e =
|
|
175
|
-
return
|
|
178
|
+
function w() {
|
|
179
|
+
const e = B(null), [r, a] = W(0);
|
|
180
|
+
return T(() => {
|
|
176
181
|
const o = e.current;
|
|
177
182
|
if (!o) return;
|
|
178
183
|
const s = new ResizeObserver(([i]) => {
|
|
@@ -184,15 +189,15 @@ function E() {
|
|
|
184
189
|
o && (e.current = o);
|
|
185
190
|
}, []), r];
|
|
186
191
|
}
|
|
187
|
-
var
|
|
188
|
-
const [s, i] =
|
|
189
|
-
return /* @__PURE__ */
|
|
192
|
+
var P = _(({ children: e, headerLeft: r, headerRight: a, footerContent: o }) => {
|
|
193
|
+
const [s, i] = w(), [n, l] = w();
|
|
194
|
+
return /* @__PURE__ */ u("div", {
|
|
190
195
|
className: k.layout,
|
|
191
196
|
children: [
|
|
192
197
|
/* @__PURE__ */ t("header", {
|
|
193
198
|
ref: s,
|
|
194
199
|
className: k.header,
|
|
195
|
-
children: /* @__PURE__ */ t(
|
|
200
|
+
children: /* @__PURE__ */ t(H, {
|
|
196
201
|
leftContent: r,
|
|
197
202
|
rightContent: a
|
|
198
203
|
})
|
|
@@ -201,28 +206,28 @@ var H = m(({ children: e, headerLeft: r, headerRight: a, footerContent: o }) =>
|
|
|
201
206
|
/* @__PURE__ */ t("footer", {
|
|
202
207
|
ref: n,
|
|
203
208
|
className: k.footer,
|
|
204
|
-
children: /* @__PURE__ */ t(
|
|
209
|
+
children: /* @__PURE__ */ t(F, { children: o })
|
|
205
210
|
})
|
|
206
211
|
]
|
|
207
212
|
});
|
|
208
213
|
});
|
|
209
|
-
|
|
210
|
-
var
|
|
211
|
-
mainWrapper:
|
|
212
|
-
sidebar:
|
|
213
|
-
content:
|
|
214
|
-
},
|
|
215
|
-
const { sidebarOpen:
|
|
216
|
-
|
|
217
|
-
}, [
|
|
218
|
-
return /* @__PURE__ */
|
|
214
|
+
P.displayName = "MainWrapper";
|
|
215
|
+
var Ae = "styles-module__mainWrapper___i4tEI", Me = "styles-module__sidebar___ij-8-", we = "styles-module__content___mTgUr", C = {
|
|
216
|
+
mainWrapper: Ae,
|
|
217
|
+
sidebar: Me,
|
|
218
|
+
content: we
|
|
219
|
+
}, Y = _(({ children: e, headerHeight: r, footerHeight: a, sidebarItems: o, sidebarCurrentPathname: s, onSidebarNavigate: i, sidebarLogoutLabel: n, onSidebarLogout: l }) => {
|
|
220
|
+
const { sidebarOpen: m, closeSidebar: d } = O(), p = h(() => {
|
|
221
|
+
d();
|
|
222
|
+
}, [d]);
|
|
223
|
+
return /* @__PURE__ */ u("main", {
|
|
219
224
|
className: C.mainWrapper,
|
|
220
225
|
style: {
|
|
221
226
|
marginTop: `${r}px`,
|
|
222
227
|
marginBottom: `${a}px`
|
|
223
228
|
},
|
|
224
|
-
children: [/* @__PURE__ */ t(
|
|
225
|
-
toggled:
|
|
229
|
+
children: [/* @__PURE__ */ t(E, {
|
|
230
|
+
toggled: m,
|
|
226
231
|
onBackdropClick: p,
|
|
227
232
|
breakPoint: "all",
|
|
228
233
|
className: C.sidebar,
|
|
@@ -238,16 +243,16 @@ var Ee = "styles-module__mainWrapper___i4tEI", Ae = "styles-module__sidebar___ij
|
|
|
238
243
|
})]
|
|
239
244
|
});
|
|
240
245
|
});
|
|
241
|
-
|
|
242
|
-
var
|
|
243
|
-
mainWrapper:
|
|
246
|
+
Y.displayName = "SideHideLayout";
|
|
247
|
+
var Re = "styles-module__mainWrapper___AiTAw", De = "styles-module__sidebarContainer___X4yj8", Ie = "styles-module__sidebar___VQTlH", Ue = "styles-module__content___htJlH", N = {
|
|
248
|
+
mainWrapper: Re,
|
|
244
249
|
sidebarContainer: De,
|
|
245
250
|
sidebar: Ie,
|
|
246
|
-
content:
|
|
251
|
+
content: Ue
|
|
247
252
|
};
|
|
248
|
-
function
|
|
249
|
-
const e =
|
|
250
|
-
return
|
|
253
|
+
function Fe() {
|
|
254
|
+
const e = B(null), [r, a] = W(0);
|
|
255
|
+
return T(() => {
|
|
251
256
|
const o = e.current;
|
|
252
257
|
if (!o) return;
|
|
253
258
|
const s = new ResizeObserver(([i]) => {
|
|
@@ -259,20 +264,20 @@ function Ue() {
|
|
|
259
264
|
o && (e.current = o);
|
|
260
265
|
}, []), r];
|
|
261
266
|
}
|
|
262
|
-
var
|
|
263
|
-
const { sidebarOpen:
|
|
264
|
-
|
|
267
|
+
var z = _(({ children: e, headerHeight: r, footerHeight: a, sidebarItems: o, sidebarCurrentPathname: s, onSidebarNavigate: i, sidebarLogoutLabel: n, onSidebarLogout: l }) => {
|
|
268
|
+
const { sidebarOpen: m, closeSidebar: d } = O(), [p, v] = Fe(), f = () => {
|
|
269
|
+
d();
|
|
265
270
|
};
|
|
266
|
-
return /* @__PURE__ */
|
|
271
|
+
return /* @__PURE__ */ u(R, { children: [/* @__PURE__ */ t("div", {
|
|
267
272
|
ref: p,
|
|
268
273
|
className: N.sidebarContainer,
|
|
269
274
|
style: {
|
|
270
275
|
top: `${r}px`,
|
|
271
276
|
height: `calc(100vh - ${r + a}px)`
|
|
272
277
|
},
|
|
273
|
-
children: /* @__PURE__ */ t(
|
|
274
|
-
collapsed:
|
|
275
|
-
toggled:
|
|
278
|
+
children: /* @__PURE__ */ t(E, {
|
|
279
|
+
collapsed: !1,
|
|
280
|
+
toggled: m,
|
|
276
281
|
onBackdropClick: f,
|
|
277
282
|
breakPoint: "xs",
|
|
278
283
|
className: N.sidebar,
|
|
@@ -297,35 +302,35 @@ var Y = m(({ children: e, headerHeight: r, footerHeight: a, sidebarItems: o, sid
|
|
|
297
302
|
})
|
|
298
303
|
})] });
|
|
299
304
|
});
|
|
300
|
-
|
|
301
|
-
var
|
|
302
|
-
wavesWrapper:
|
|
303
|
-
squaresWrapper:
|
|
304
|
-
letterGlitchWrapper:
|
|
305
|
-
pixelBlastWrapper:
|
|
306
|
-
},
|
|
305
|
+
z.displayName = "SideShowLayout";
|
|
306
|
+
var He = "styles-module__wavesWrapper___TK7DI", Pe = "styles-module__squaresWrapper___P25uF", Ye = "styles-module__letterGlitchWrapper___KWtWU", ze = "styles-module__pixelBlastWrapper___YptHh", S = {
|
|
307
|
+
wavesWrapper: He,
|
|
308
|
+
squaresWrapper: Pe,
|
|
309
|
+
letterGlitchWrapper: Ye,
|
|
310
|
+
pixelBlastWrapper: ze
|
|
311
|
+
}, Ge = ie(() => import("./pixel-blast.mjs")), Ke = _(({ children: e, background: r }) => /* @__PURE__ */ u(R, { children: [e, (() => {
|
|
307
312
|
switch (r) {
|
|
308
313
|
case g.WAVES:
|
|
309
314
|
return /* @__PURE__ */ t("div", {
|
|
310
315
|
className: S.wavesWrapper,
|
|
311
|
-
children: /* @__PURE__ */ t(
|
|
316
|
+
children: /* @__PURE__ */ t(se, {})
|
|
312
317
|
});
|
|
313
318
|
case g.SQUARES:
|
|
314
319
|
return /* @__PURE__ */ t("div", {
|
|
315
320
|
className: S.squaresWrapper,
|
|
316
|
-
children: /* @__PURE__ */ t(
|
|
321
|
+
children: /* @__PURE__ */ t(oe, {})
|
|
317
322
|
});
|
|
318
323
|
case g.LETTER_GLITCH:
|
|
319
324
|
return /* @__PURE__ */ t("div", {
|
|
320
325
|
className: S.letterGlitchWrapper,
|
|
321
|
-
children: /* @__PURE__ */ t(
|
|
326
|
+
children: /* @__PURE__ */ t(ne, {})
|
|
322
327
|
});
|
|
323
328
|
case g.PIXEL_BLAST:
|
|
324
|
-
return /* @__PURE__ */ t(
|
|
329
|
+
return /* @__PURE__ */ t(le, {
|
|
325
330
|
fallback: null,
|
|
326
331
|
children: /* @__PURE__ */ t("div", {
|
|
327
332
|
className: S.pixelBlastWrapper,
|
|
328
|
-
children: /* @__PURE__ */ t(
|
|
333
|
+
children: /* @__PURE__ */ t(Ge, {})
|
|
329
334
|
})
|
|
330
335
|
});
|
|
331
336
|
case g.NONE:
|
|
@@ -333,38 +338,38 @@ var Fe = "styles-module__wavesWrapper___TK7DI", He = "styles-module__squaresWrap
|
|
|
333
338
|
return null;
|
|
334
339
|
}
|
|
335
340
|
})()] }));
|
|
336
|
-
|
|
337
|
-
var
|
|
341
|
+
Ke.displayName = "Background";
|
|
342
|
+
var je = _(({ children: e, headerLeft: r, headerRight: a, footerContent: o, sidebarItems: s, sidebarCurrentPathname: i, onSidebarNavigate: n, sidebarLogoutLabel: l, onSidebarLogout: m, bottomLogoutButton: d }) => {
|
|
338
343
|
const { layoutMode: p } = O();
|
|
339
|
-
return /* @__PURE__ */ t(
|
|
344
|
+
return /* @__PURE__ */ t(P, {
|
|
340
345
|
headerLeft: r,
|
|
341
346
|
headerRight: a,
|
|
342
347
|
footerContent: o,
|
|
343
|
-
children: (v, f) => p === x.HIDE ? /* @__PURE__ */ t(
|
|
348
|
+
children: (v, f) => p === x.HIDE ? /* @__PURE__ */ t(Y, {
|
|
344
349
|
headerHeight: v,
|
|
345
350
|
footerHeight: f,
|
|
346
351
|
sidebarItems: s,
|
|
347
352
|
sidebarCurrentPathname: i,
|
|
348
353
|
onSidebarNavigate: n,
|
|
349
354
|
sidebarLogoutLabel: l,
|
|
350
|
-
onSidebarLogout:
|
|
351
|
-
bottomLogoutButton:
|
|
355
|
+
onSidebarLogout: m,
|
|
356
|
+
bottomLogoutButton: d,
|
|
352
357
|
children: e
|
|
353
|
-
}) : /* @__PURE__ */ t(
|
|
358
|
+
}) : /* @__PURE__ */ t(z, {
|
|
354
359
|
headerHeight: v,
|
|
355
360
|
footerHeight: f,
|
|
356
361
|
sidebarItems: s,
|
|
357
362
|
sidebarCurrentPathname: i,
|
|
358
363
|
onSidebarNavigate: n,
|
|
359
364
|
sidebarLogoutLabel: l,
|
|
360
|
-
onSidebarLogout:
|
|
361
|
-
bottomLogoutButton:
|
|
365
|
+
onSidebarLogout: m,
|
|
366
|
+
bottomLogoutButton: d,
|
|
362
367
|
children: e
|
|
363
368
|
})
|
|
364
369
|
});
|
|
365
370
|
});
|
|
366
|
-
|
|
367
|
-
var
|
|
371
|
+
je.displayName = "LayoutFrame";
|
|
372
|
+
var Je = ({ defaultLayoutMode: e, sidebarOpen: r }) => {
|
|
368
373
|
const [a, o] = W(() => {
|
|
369
374
|
const s = D();
|
|
370
375
|
if (s) try {
|
|
@@ -375,8 +380,8 @@ var je = ({ defaultLayoutMode: e, sidebarOpen: r }) => {
|
|
|
375
380
|
}
|
|
376
381
|
return e;
|
|
377
382
|
});
|
|
378
|
-
return
|
|
379
|
-
|
|
383
|
+
return ce(() => {
|
|
384
|
+
ve(JSON.stringify({ state: {
|
|
380
385
|
sidebarOpen: r,
|
|
381
386
|
layoutMode: a
|
|
382
387
|
} }));
|
|
@@ -386,7 +391,7 @@ var je = ({ defaultLayoutMode: e, sidebarOpen: r }) => {
|
|
|
386
391
|
o(s);
|
|
387
392
|
}, [])
|
|
388
393
|
};
|
|
389
|
-
},
|
|
394
|
+
}, qe = () => {
|
|
390
395
|
const [e, r] = W(() => {
|
|
391
396
|
const a = D();
|
|
392
397
|
if (a) try {
|
|
@@ -409,12 +414,12 @@ var je = ({ defaultLayoutMode: e, sidebarOpen: r }) => {
|
|
|
409
414
|
r(!1);
|
|
410
415
|
}, [])
|
|
411
416
|
};
|
|
412
|
-
},
|
|
413
|
-
const { sidebarOpen: a, setSidebarOpen: o, toggleSidebar: s, closeSidebar: i } =
|
|
417
|
+
}, Qe = _(({ children: e, defaultLayoutMode: r = ae }) => {
|
|
418
|
+
const { sidebarOpen: a, setSidebarOpen: o, toggleSidebar: s, closeSidebar: i } = qe(), { layoutMode: n, setLayoutMode: l } = Je({
|
|
414
419
|
defaultLayoutMode: r,
|
|
415
420
|
sidebarOpen: a
|
|
416
421
|
});
|
|
417
|
-
return /* @__PURE__ */ t(
|
|
422
|
+
return /* @__PURE__ */ t(te.Provider, {
|
|
418
423
|
value: {
|
|
419
424
|
sidebarOpen: a,
|
|
420
425
|
layoutMode: n,
|
|
@@ -426,25 +431,25 @@ var je = ({ defaultLayoutMode: e, sidebarOpen: r }) => {
|
|
|
426
431
|
children: e
|
|
427
432
|
});
|
|
428
433
|
});
|
|
429
|
-
|
|
434
|
+
Qe.displayName = "LayoutProvider";
|
|
430
435
|
export {
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
+
Ke as Background,
|
|
437
|
+
ae as DEFAULT_LAYOUT_MODE,
|
|
438
|
+
F as Footer,
|
|
439
|
+
H as Header,
|
|
440
|
+
er as LAYOUT_MODE_VALUES,
|
|
436
441
|
L as LAYOUT_STORAGE_KEY,
|
|
437
|
-
|
|
438
|
-
|
|
442
|
+
te as LayoutContext,
|
|
443
|
+
je as LayoutFrame,
|
|
439
444
|
x as LayoutModeEnum,
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
+
Qe as LayoutProvider,
|
|
446
|
+
P as MainWrapper,
|
|
447
|
+
Y as SideHideLayout,
|
|
448
|
+
z as SideShowLayout,
|
|
449
|
+
E as Sidebar,
|
|
445
450
|
D as getLayoutStorage,
|
|
446
|
-
|
|
447
|
-
|
|
451
|
+
lr as removeLayoutStorage,
|
|
452
|
+
ve as setLayoutStorage,
|
|
448
453
|
O as useLayout
|
|
449
454
|
};
|
|
450
455
|
|