@vervstack/chures 0.0.42 → 0.0.44
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/chures.js
CHANGED
|
@@ -1,142 +1,142 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('@layer chures-defaults{:root{--chures-accent: #229ED9;--chures-accent-muted: rgb(34 158 217 / 50%);--chures-btn-from: #2AABEE;--chures-btn-to: #229ED9;--chures-button-bg: var(--chures-accent);--chures-error: #ef4444;--chures-warn: #f59e0b;--chures-bg: #000000;--chures-fg: #ffffff;--chures-fg-muted: #9ca3af;--chures-surface: #000000;--chures-font-sm: .875rem;--chures-font-xs: .75rem;--chures-input-bg: #111111;--chures-input-height: 3rem;--chures-input-radius: .75rem;--chures-skeleton-shine: #1e1e1e;--chures-toggle-width: 2.75rem;--chures-toggle-height: 1.5rem;--chures-toggle-thumb: 1.125rem;--chures-toggle-bg-off: rgb(255 255 255 / 13%);--chures-toggle-bg-on: var(--chures-accent);--chures-toggle-thumb-color: #ffffff;--chures-toggle-label-skeleton-w: 5rem;--chures-dropdown-bg: var(--chures-bg);--chures-dropdown-radius: .75rem;--chures-dropdown-row-radius: .375rem;--chures-dropdown-border: var(--chures-accent);--chures-dropdown-border-subtle: var(--chures-accent-muted);--chures-dropdown-hover: rgb(255 255 255 / 8%);--chures-dropdown-create-bg: rgb(34 158 217 / 12%);--chures-dropdown-create-bg-hover: rgb(34 158 217 / 20%);--chures-dropdown-trigger-border: rgb(255 255 255 / 22%);--chures-dropdown-trigger-border-hover: rgb(255 255 255 / 38%);--chures-dropdown-trigger-focus-ring: rgb(34 158 217 / 15%);--chures-dropdown-chip-border: rgb(34 158 217 / 30%);--chures-dropdown-panel-gap: .375rem;--chures-dropdown-icon-size: 1rem;--chures-dropdown-glass-bg: rgb(255 255 255 / 6%);--chures-dropdown-glass-blur: 1.25rem;--chures-dialog-glass-bg: rgb(255 255 255 / 6%);--chures-dialog-glass-blur: 1.25rem;--chures-overlay: rgb(0 0 0 / 58%);--chures-side-drawer-size: 22rem;--chures-flyout-bg: #0d0d0d;--chures-flyout-min-width: 10rem;--chures-flyout-border: rgb(255 255 255 / 11%);--chures-flyout-radius: .5rem;--chures-flyout-shadow: rgb(0 0 0 / 80%);--chures-flyout-fg: rgb(255 255 255 / 55%);--chures-flyout-fg-strong: rgb(255 255 255 / 92%);--chures-flyout-fg-muted: rgb(255 255 255 / 32%);--chures-flyout-hover: rgb(255 255 255 / 4%);--chures-flyout-skeleton: rgb(255 255 255 / 7%);--chures-flyout-font: .8125rem;--chures-flyout-font-sm: .6875rem;--chures-flyout-font-md: .75rem;--chures-flyout-font-mono: "JetBrains Mono", ui-monospace, sfmono-regular, menlo, monospace;--chures-segmented-bg: var(--chures-input-bg);--chures-segmented-radius: var(--chures-input-radius);--chures-segmented-pad: .25rem;--chures-segmented-highlight: var(--chures-accent);--chures-segmented-fg: var(--chures-fg-muted);--chures-segmented-fg-active: var(--chures-fg);--chures-segmented-gap: .25rem}}@keyframes _spin_wa8op_1{to{transform:rotate(360deg)}}@keyframes _ripple_wa8op_1{0%{transform:scale(.08);opacity:.9}to{transform:scale(1);opacity:0}}@keyframes _dotPulse_wa8op_1{0%,to{transform:translate(-50%,-50%) scale(.55);opacity:.3}50%{transform:translate(-50%,calc(-50% - var(--sz) * .1)) scale(1);opacity:1}}@keyframes _waveBounce_wa8op_1{0%,55%,to{transform:translate(-50%,-50%) scale(.8);opacity:.4}27%{transform:translate(-50%,calc(-50% - var(--sz) * .28)) scale(1);opacity:1}}._LoaderContainer_wa8op_24{position:relative;flex-shrink:0}._sm_wa8op_31{width:1.5rem;height:1.5rem;--sz: 1.5rem;--arc-gap: .2rem;--arc-bw: .125rem}._md_wa8op_32{width:2.5rem;height:2.5rem;--sz: 2.5rem;--arc-gap: .35rem;--arc-bw: .1875rem}._lg_wa8op_33{width:4rem;height:4rem;--sz: 4rem;--arc-gap: .55rem;--arc-bw: .25rem}._Arc1_wa8op_37,._Arc2_wa8op_38,._Arc3_wa8op_39{position:absolute;border-radius:50%;border:var(--arc-bw) solid transparent}._Arc1_wa8op_37{inset:0;border-top-color:var(--chures-accent, #229ED9);border-left-color:var(--chures-accent, #229ED9);animation:_spin_wa8op_1 1.2s linear infinite;filter:drop-shadow(0 0 .25rem var(--chures-accent, #229ED9))}._Arc2_wa8op_38{inset:var(--arc-gap);border-bottom-color:var(--chures-accent, #229ED9);border-right-color:var(--chures-accent, #229ED9);animation:_spin_wa8op_1 1.8s linear infinite reverse;opacity:.8}._Arc3_wa8op_39{inset:calc(var(--arc-gap) * 2);border-top-color:var(--chures-accent, #229ED9);border-right-color:var(--chures-accent, #229ED9);animation:_spin_wa8op_1 2.4s linear infinite;opacity:.6}._Ring1_wa8op_71,._Ring2_wa8op_72,._Ring3_wa8op_73{position:absolute;inset:0;border-radius:50%;border:var(--arc-bw) solid var(--chures-accent, #229ED9);animation:_ripple_wa8op_1 1.8s ease-out infinite both}._Ring2_wa8op_72{animation-delay:.6s}._Ring3_wa8op_73{animation-delay:1.2s}._Dot1_wa8op_86,._Dot2_wa8op_87,._Dot3_wa8op_88{position:absolute;top:50%;border-radius:50%;width:calc(var(--sz) * .2);height:calc(var(--sz) * .2);background:var(--chures-accent, #229ED9);box-shadow:0 0 calc(var(--sz) * .14) var(--chures-accent, #229ED9);animation:_dotPulse_wa8op_1 1.1s ease-in-out infinite both}._Dot1_wa8op_86{left:22%}._Dot2_wa8op_87{left:50%;animation-delay:.18s}._Dot3_wa8op_88{left:78%;animation-delay:.36s}._Wave1_wa8op_105,._Wave2_wa8op_106,._Wave3_wa8op_107,._Wave4_wa8op_108,._Wave5_wa8op_109{position:absolute;top:50%;border-radius:50%;width:calc(var(--sz) * .16);height:calc(var(--sz) * .16);background:var(--chures-accent, #229ED9);box-shadow:0 0 calc(var(--sz) * .1) var(--chures-accent, #229ED9);animation:_waveBounce_wa8op_1 1s ease-in-out infinite both}._Wave1_wa8op_105{left:10%}._Wave2_wa8op_106{left:28%;animation-delay:.12s}._Wave3_wa8op_107{left:46%;animation-delay:.24s}._Wave4_wa8op_108{left:64%;animation-delay:.36s}._Wave5_wa8op_109{left:82%;animation-delay:.48s}._LoadingWrapperContainer_1q0w7_1{display:flex;align-items:center;justify-content:center;width:100%;min-height:4rem}._SkeletonWrapper_1q0w7_9{width:100%}._TelegramSignInButtonContainer_10wun_1{display:inline-flex;align-items:center;justify-content:center;gap:.625rem;width:100%;padding:1rem 1.375rem;background:linear-gradient(180deg,var(--chures-btn-from, #2AABEE) 0%,var(--chures-btn-to, #229ED9) 100%);border:0;border-radius:.875rem;color:#fff;font-family:Comfortaa,sans-serif;font-weight:600;font-size:1rem;letter-spacing:-.005em;cursor:pointer;box-shadow:inset 0 .0625rem #ffffff26,0 .75rem 2rem -.75rem #2aabee8c;transition:transform .14s ease,box-shadow .2s ease,filter .16s ease}._TelegramSignInButtonContainer_10wun_1:hover{transform:translateY(-.0625rem);box-shadow:inset 0 .0625rem #ffffff2e,0 1.125rem 2.375rem -.75rem #2aabeea6;filter:brightness(1.05)}._TelegramSignInButtonContainer_10wun_1:active{transform:translateY(0);filter:brightness(.97)}._TelegramSignInButtonContainer_10wun_1:focus-visible{outline:.125rem solid rgba(255,255,255,.8);outline-offset:.125rem}._TelegramSignInButtonContainer_10wun_1:disabled{opacity:.6;cursor:not-allowed}._FullSize_10wun_46{height:100%}._Icon_10wun_50{flex-shrink:0}._ToastContainer_1tme2_1{position:fixed;right:1.5rem;top:1.5rem;width:clamp(25vw,24.5rem,95vw);display:flex;flex-direction:column;gap:1rem;z-index:9999}._Toast_1tme2_1{min-height:4rem;border:var(--chures-accent, #229ED9) 1px solid;border-radius:1rem;padding:1rem;box-sizing:border-box;position:relative;background:var(--chures-surface, #000000);display:flex;flex-direction:column}._Toast_1tme2_1>div:first-child{font-weight:700;font-size:var(--chures-font-sm, .875rem);color:var(--chures-fg, #ffffff)}._Toast_1tme2_1._error_1tme2_33{border-color:var(--chures-error, #ef4444)}._Toast_1tme2_1._error_1tme2_33>div:first-child{color:var(--chures-error, #ef4444)}._Toast_1tme2_1._warn_1tme2_41{border-color:var(--chures-warn, #f59e0b)}._Toast_1tme2_1._warn_1tme2_41>div:first-child{color:var(--chures-warn, #f59e0b)}._Toast_1tme2_1._info_1tme2_49{border-color:var(--chures-accent, #229ED9)}._Toast_1tme2_1 ._Description_1tme2_53{color:var(--chures-fg-muted, #9ca3af);font-size:var(--chures-font-xs, .75rem);margin-top:.125rem}._Toast_1tme2_1 ._DismissButton_1tme2_59{position:absolute;width:1rem;height:1rem;display:flex;justify-content:center;align-items:center;top:0;right:1%;cursor:pointer;font-size:1.5rem;color:var(--chures-fg-muted, #9ca3af)}._slideIn_1tme2_79{animation:_slideIn_1tme2_79 .2s ease forwards}._slideOut_1tme2_83{animation:_slideOut_1tme2_83 .2s ease forwards}@keyframes _slideIn_1tme2_79{0%{opacity:0;transform:translate(2rem)}to{opacity:1;transform:translate(0)}}@keyframes _slideOut_1tme2_83{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(2rem)}}@keyframes _shimmer_s5ba7_1{0%{background-position:-200% 0}to{background-position:200% 0}}:where(._InputContainer_s5ba7_15){position:relative;width:100%;height:var(--chures-input-height, 3rem)}:where(._InputField_s5ba7_21){width:100%;height:100%;background:var(--chures-input-bg, #111111);border:.0625rem solid rgb(255 255 255 / 13%);border-radius:var(--chures-input-radius, .75rem);color:var(--chures-fg, #ffffff);font-size:var(--chures-font-sm, .875rem);padding:0 .875rem;outline:none;transition:border-color .18s ease;box-sizing:border-box}:where(._InputField_s5ba7_21._hasStartIcon_s5ba7_35){padding-left:2.25rem}:where(._InputField_s5ba7_21._hasEndIcon_s5ba7_39){padding-right:2.25rem}:where(._StartIcon_s5ba7_43){position:absolute;left:.875rem;top:50%;transform:translateY(-50%);display:flex;align-items:center;color:var(--chures-fg-muted, #9ca3af);pointer-events:none}:where(._EndIcon_s5ba7_54){position:absolute;right:.875rem;top:50%;transform:translateY(-50%);display:flex;align-items:center;color:var(--chures-fg-muted, #9ca3af);pointer-events:none}:where(._InputField_s5ba7_21):focus{border-color:#ffffff59}:where(._InputField_s5ba7_21:not(:focus):has(+._Label_s5ba7_70))::placeholder{color:transparent}:where(._hasError_s5ba7_74 ._InputField_s5ba7_21),:where(._hasError_s5ba7_74 ._InputField_s5ba7_21):focus{border-color:var(--chures-error, #ef4444)}:where(._disabled_s5ba7_79 ._InputField_s5ba7_21){opacity:.45;cursor:not-allowed}:where(._Label_s5ba7_70){position:absolute;left:.875rem;top:50%;transform:translateY(-50%);transform-origin:left center;color:var(--chures-fg-muted, #9ca3af);font-size:var(--chures-font-sm, .875rem);pointer-events:none;transition:all .18s ease;padding:0 .25rem;border-radius:.1875rem}:where(._Label_s5ba7_70._lifted_s5ba7_98){top:0;transform:translateY(-50%) scale(.82);background:var(--chures-input-bg, #111111);color:var(--chures-fg-muted, #9ca3af)}:where(._hasError_s5ba7_74 ._Label_s5ba7_70._lifted_s5ba7_98){color:var(--chures-error, #ef4444)}:where(._ErrorText_s5ba7_109){display:block;margin-top:.25rem;padding-left:.875rem;font-size:var(--chures-font-xs, .75rem);color:var(--chures-error, #ef4444)}:where(._Skeleton_s5ba7_117){width:100%;height:var(--chures-input-height, 3rem);border-radius:var(--chures-input-radius, .75rem);background:linear-gradient(90deg,var(--chures-input-bg, #111111) 25%,var(--chures-skeleton-shine, #1e1e1e) 50%,var(--chures-input-bg, #111111) 75%);background-size:200% 100%;animation:_shimmer_s5ba7_1 1.5s ease-in-out infinite}@keyframes _shimmer_1jetc_1{0%{background-position:-200% 0}to{background-position:200% 0}}._ToggleContainer_1jetc_6{display:inline-flex;align-items:center;gap:.5rem;cursor:pointer}._disabled_1jetc_13{opacity:.45;cursor:not-allowed}._Track_1jetc_18{position:relative;width:var(--chures-toggle-width, 2.75rem);height:var(--chures-toggle-height, 1.5rem);border-radius:624.9375rem;background:var(--chures-toggle-bg-off, rgb(255 255 255 / 13%));border:none;padding:0;cursor:pointer;transition:background .2s ease;flex-shrink:0}._Track_1jetc_18._on_1jetc_31{background:var(--chures-toggle-bg-on, var(--chures-accent, #229ED9))}._disabled_1jetc_13 ._Track_1jetc_18{cursor:not-allowed}._Thumb_1jetc_39{position:absolute;top:0;bottom:0;margin:auto 0;left:.1875rem;width:var(--chures-toggle-thumb, 1.125rem);height:var(--chures-toggle-thumb, 1.125rem);border-radius:50%;background:var(--chures-toggle-thumb-color, #ffffff);transition:left .2s ease;pointer-events:none}._Track_1jetc_18._on_1jetc_31 ._Thumb_1jetc_39{left:calc(var(--chures-toggle-width, 2.75rem) - var(--chures-toggle-thumb, 1.125rem) - .1875rem)}._Label_1jetc_57{font-size:var(--chures-font-sm, .875rem);color:var(--chures-fg, #ffffff);-webkit-user-select:none;user-select:none}._LabelSkeleton_1jetc_63{display:inline-block;width:var(--chures-toggle-label-skeleton-w, 5rem);height:var(--chures-font-sm, .875rem);border-radius:624.9375rem;background:linear-gradient(90deg,var(--chures-input-bg, #111111) 25%,var(--chures-skeleton-shine, #1e1e1e) 50%,var(--chures-input-bg, #111111) 75%);background-size:200% 100%;animation:_shimmer_1jetc_1 1.5s ease-in-out infinite}._Skeleton_1jetc_78{width:var(--chures-toggle-width, 2.75rem);height:var(--chures-toggle-height, 1.5rem);border-radius:624.9375rem;background:linear-gradient(90deg,var(--chures-input-bg, #111111) 25%,var(--chures-skeleton-shine, #1e1e1e) 50%,var(--chures-input-bg, #111111) 75%);background-size:200% 100%;animation:_shimmer_1jetc_1 1.5s ease-in-out infinite}:where(._SegmentedControlContainer_ga29h_2){position:relative;display:inline-flex;align-items:stretch;gap:var(--chures-segmented-gap);box-sizing:border-box;max-width:100%;padding:var(--chures-segmented-pad);border-radius:var(--chures-segmented-radius);background:var(--chures-segmented-bg);overflow-x:auto;scrollbar-width:none}:where(._SegmentedControlContainer_ga29h_2)::-webkit-scrollbar{display:none}:where(._Disabled_ga29h_20){opacity:.45;cursor:not-allowed}:where(._Highlight_ga29h_25){position:absolute;top:var(--chures-segmented-pad);bottom:var(--chures-segmented-pad);border-radius:max(0rem,calc(var(--chures-segmented-radius) - var(--chures-segmented-pad)));background:var(--chures-segmented-highlight);pointer-events:none}:where(._Option_ga29h_34){position:relative;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;padding:.5rem 1rem;border:0;border-radius:max(0rem,calc(var(--chures-segmented-radius) - var(--chures-segmented-pad)));background:transparent;color:var(--chures-segmented-fg);font-family:inherit;font-size:var(--chures-font-sm);font-weight:500;white-space:nowrap;cursor:pointer;transition:color .2s ease}:where(._Option_ga29h_34):hover:not(:disabled){color:var(--chures-segmented-fg-active)}:where(._Option_ga29h_34):disabled{cursor:not-allowed}:where(._OptionDisabled_ga29h_61){opacity:.45}:where(._Selected_ga29h_65){color:var(--chures-segmented-fg-active)}:where(._CheckboxContainer_14vl9_4){display:inline-flex;align-items:center;gap:.5rem;cursor:pointer;-webkit-user-select:none;user-select:none}:where(._CheckboxContainer_14vl9_4._disabled_14vl9_12){opacity:.45;cursor:not-allowed}:where(._BoxWrapper_14vl9_17){position:relative;display:inline-flex;flex-shrink:0;width:var(--chures-checkbox-size, 1.125rem);height:var(--chures-checkbox-size, 1.125rem)}:where(._BoxWrapper_14vl9_17) input{position:absolute;inset:0;margin:0;cursor:pointer;opacity:0}:where(._CheckboxContainer_14vl9_4._disabled_14vl9_12) ._BoxWrapper_14vl9_17 input{cursor:not-allowed}:where(._Box_14vl9_17){position:absolute;inset:0;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--chures-checkbox-radius, .3125rem);border:1px solid var(--chures-checkbox-border, rgb(255 255 255 / 25%));background:var(--chures-checkbox-bg, transparent);color:transparent;pointer-events:none;transition:background .16s ease,border-color .16s ease,color .16s ease}:where(._BoxWrapper_14vl9_17) input:checked+:where(._Box_14vl9_17){background:var(--chures-checkbox-bg-on, var(--chures-accent, #229ED9));border-color:var(--chures-checkbox-bg-on, var(--chures-accent, #229ED9));color:var(--chures-checkbox-tick, #ffffff)}:where(._BoxWrapper_14vl9_17) input:focus-visible+:where(._Box_14vl9_17){outline:2px solid var(--chures-accent, #229ED9);outline-offset:.125rem}:where(._Label_14vl9_62){font-size:var(--chures-font-sm, .875rem);color:var(--chures-fg, #ffffff)}@layer chures-defaults{:root{--chures-accent: #229ED9;--chures-accent-muted: rgb(34 158 217 / 50%);--chures-btn-from: #2AABEE;--chures-btn-to: #229ED9;--chures-button-bg: var(--chures-accent);--chures-error: #ef4444;--chures-warn: #f59e0b;--chures-bg: #000000;--chures-fg: #ffffff;--chures-fg-muted: #9ca3af;--chures-surface: #000000;--chures-font-sm: .875rem;--chures-font-xs: .75rem;--chures-input-bg: #111111;--chures-input-height: 3rem;--chures-input-radius: .75rem;--chures-skeleton-shine: #1e1e1e;--chures-toggle-width: 2.75rem;--chures-toggle-height: 1.5rem;--chures-toggle-thumb: 1.125rem;--chures-toggle-bg-off: rgb(255 255 255 / 13%);--chures-toggle-bg-on: var(--chures-accent);--chures-toggle-thumb-color: #ffffff;--chures-toggle-label-skeleton-w: 5rem;--chures-dropdown-bg: var(--chures-bg);--chures-dropdown-radius: .75rem;--chures-dropdown-row-radius: .375rem;--chures-dropdown-border: var(--chures-accent);--chures-dropdown-border-subtle: var(--chures-accent-muted);--chures-dropdown-hover: rgb(255 255 255 / 8%);--chures-dropdown-create-bg: rgb(34 158 217 / 12%);--chures-dropdown-create-bg-hover: rgb(34 158 217 / 20%);--chures-dropdown-trigger-border: rgb(255 255 255 / 22%);--chures-dropdown-trigger-border-hover: rgb(255 255 255 / 38%);--chures-dropdown-trigger-focus-ring: rgb(34 158 217 / 15%);--chures-dropdown-chip-border: rgb(34 158 217 / 30%);--chures-dropdown-panel-gap: .375rem;--chures-dropdown-icon-size: 1rem;--chures-dropdown-glass-bg: rgb(255 255 255 / 6%);--chures-dropdown-glass-blur: 1.25rem;--chures-dialog-glass-bg: rgb(255 255 255 / 6%);--chures-dialog-glass-blur: 1.25rem;--chures-overlay: rgb(0 0 0 / 58%);--chures-side-drawer-size: 22rem;--chures-flyout-bg: #0d0d0d;--chures-flyout-min-width: 10rem;--chures-flyout-border: rgb(255 255 255 / 11%);--chures-flyout-radius: .5rem;--chures-flyout-shadow: rgb(0 0 0 / 80%);--chures-flyout-fg: rgb(255 255 255 / 55%);--chures-flyout-fg-strong: rgb(255 255 255 / 92%);--chures-flyout-fg-muted: rgb(255 255 255 / 32%);--chures-flyout-hover: rgb(255 255 255 / 4%);--chures-flyout-skeleton: rgb(255 255 255 / 7%);--chures-flyout-font: .8125rem;--chures-flyout-font-sm: .6875rem;--chures-flyout-font-md: .75rem;--chures-flyout-font-mono: "JetBrains Mono", ui-monospace, sfmono-regular, menlo, monospace;--chures-segmented-bg: var(--chures-input-bg);--chures-segmented-radius: var(--chures-input-radius);--chures-segmented-pad: .25rem;--chures-segmented-highlight: var(--chures-accent);--chures-segmented-fg: var(--chures-fg-muted);--chures-segmented-fg-active: var(--chures-fg);--chures-segmented-gap: .25rem}}@keyframes _panelIn_5x7b0_1{0%{opacity:0;transform:scale(.96) translateY(6px)}to{opacity:1;transform:none}}@keyframes _panelInAbove_5x7b0_1{0%{opacity:0;transform:scale(.96) translateY(-6px)}to{opacity:1;transform:none}}@keyframes _shimmer_5x7b0_1{0%{background-position:-200% center}to{background-position:200% center}}._DropdownContainer_5x7b0_18{position:relative;width:100%}._PanelWrapper_5x7b0_25{position:absolute;top:calc(100% + var(--chures-dropdown-panel-gap));left:0;width:100%;animation:_panelIn_5x7b0_1 .14s ease}._PanelWrapper_5x7b0_25._Portal_5x7b0_39{position:fixed;width:auto;margin:var(--chures-dropdown-panel-gap) 0}._PanelWrapper_5x7b0_25._Above_5x7b0_47{top:auto;transform-origin:bottom center;animation-name:_panelInAbove_5x7b0_1}._PanelContainer_5x7b0_23{background:var(--chures-dropdown-bg);border:1px solid var(--chures-dropdown-border);border-radius:var(--chures-dropdown-radius);overflow:hidden;display:flex;flex-direction:column;max-height:var(--dropdown-available-height, none);box-shadow:0 1rem 3rem #000c}._PanelContainer_5x7b0_23._Glass_5x7b0_64{background:var(--chures-dropdown-glass-bg, rgb(255 255 255 / 6%));backdrop-filter:blur(var(--chures-dropdown-glass-blur, 1.25rem));-webkit-backdrop-filter:blur(var(--chures-dropdown-glass-blur, 1.25rem))}._Label_5x7b0_70{position:absolute;left:.875rem;top:50%;transform:translateY(-50%);transform-origin:left center;color:var(--chures-fg-muted);font-size:var(--chures-font-sm);pointer-events:none;transition:all .18s ease;padding:0 .25rem;border-radius:.1875rem}._Label_5x7b0_70._WithIcon_5x7b0_84:not(._lifted_5x7b0_84){left:calc(.875rem + var(--chures-dropdown-icon-size) + .5rem)}._Label_5x7b0_70._lifted_5x7b0_84{top:0;transform:translateY(-50%) scale(.82);background:var(--chures-input-bg);color:var(--chures-fg-muted)}._TriggerContainer_5x7b0_95{width:100%;height:var(--chures-input-height);background:var(--chures-input-bg);border:1px solid var(--chures-dropdown-trigger-border);border-radius:var(--chures-input-radius);color:var(--chures-fg);font-size:var(--chures-font-sm);font-family:inherit;padding:0 .875rem;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:.5rem;text-align:left;overflow:hidden;transition:border-color .15s ease,box-shadow .15s ease}._TriggerContainer_5x7b0_95:hover{border-color:var(--chures-dropdown-trigger-border-hover)}._TriggerContainer_5x7b0_95._Open_5x7b0_119{border-color:var(--chures-accent);box-shadow:0 0 0 .1875rem var(--chures-dropdown-trigger-focus-ring)}._TriggerPlaceholder_5x7b0_124{color:var(--chures-fg-muted);flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._TriggerValue_5x7b0_132{color:var(--chures-fg);flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._TriggerIcon_5x7b0_140{color:var(--chures-fg-muted);flex-shrink:0;display:flex;align-items:center}._ChipsWrapper_5x7b0_147{display:flex;flex-wrap:nowrap;gap:.25rem;flex:1;overflow-x:auto;overflow-y:hidden;min-width:0;align-items:center;margin:.375rem 0;scrollbar-width:none;-ms-overflow-style:none}._ChipsWrapper_5x7b0_147::-webkit-scrollbar{display:none}._ChipsWrapper_5x7b0_147._Expand_5x7b0_165{flex-wrap:wrap;overflow:visible;row-gap:.25rem}._TriggerContainer_5x7b0_95._MultiSelect_5x7b0_171 ._TriggerIcon_5x7b0_140{align-self:flex-start;height:var(--chures-input-height)}._TriggerContainer_5x7b0_95._ExpandHeight_5x7b0_176{height:auto;min-height:var(--chures-input-height)}._TriggerContainer_5x7b0_95._RichValue_5x7b0_181{height:auto;min-height:calc(var(--chures-input-height) * 1.25);padding:.625rem .875rem}._TriggerContainer_5x7b0_95._WithIcon_5x7b0_84{padding-left:calc(.875rem + var(--chures-dropdown-icon-size) + .5rem)}._LeadingIcon_5x7b0_191{position:absolute;left:.875rem;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:var(--chures-dropdown-icon-size);height:var(--chures-dropdown-icon-size);color:var(--chures-fg-muted);pointer-events:none}._TriggerValueRich_5x7b0_205{flex:1;min-width:0;overflow:hidden}._Chip_5x7b0_147{display:inline-flex;align-items:center;flex-shrink:0;background:var(--chures-dropdown-create-bg);border:1px solid var(--chures-dropdown-chip-border);border-radius:624.9375rem;padding:.15rem .5rem;font-size:var(--chures-font-xs);color:var(--chures-fg);white-space:nowrap;line-height:1.4}._SearchRow_5x7b0_225{flex-shrink:0;padding:.5rem;border-bottom:1px solid var(--chures-dropdown-border-subtle)}._SearchBox_5x7b0_231{display:flex;align-items:center;gap:.5rem;background:var(--chures-input-bg);border:1px solid var(--chures-dropdown-border-subtle);border-radius:var(--chures-dropdown-row-radius);padding:.4rem .625rem}._SearchIcon_5x7b0_241{display:flex;align-items:center;color:var(--chures-fg-muted);flex-shrink:0}._SearchInput_5x7b0_248{flex:1;background:transparent;border:none;outline:none;font-size:var(--chures-font-sm);color:var(--chures-fg);font-family:inherit}._SearchInput_5x7b0_248::placeholder{color:var(--chures-fg-muted)}._ResultsList_5x7b0_262{max-height:13rem;min-height:0;overflow-y:auto}._OptionRow_5x7b0_268{padding:.5625rem .875rem;font-size:var(--chures-font-sm);color:var(--chures-fg-muted);cursor:pointer;transition:background .1s ease,color .1s ease;display:flex;align-items:center;gap:.5rem}._OptionRow_5x7b0_268:hover{background:var(--chures-dropdown-hover);color:var(--chures-fg)}._OptionRow_5x7b0_268._Selected_5x7b0_283{color:var(--chures-fg)}._OptionRow_5x7b0_268._Indented_5x7b0_287{padding-left:1.875rem}._OptionRow_5x7b0_268._Disabled_5x7b0_291{cursor:not-allowed;opacity:.5}._OptionRow_5x7b0_268._Disabled_5x7b0_291:hover{background:transparent;color:var(--chures-fg-muted)}._GroupHeader_5x7b0_302{padding:.5625rem .875rem .25rem;font-size:var(--chures-font-xs);color:var(--chures-fg-muted);text-transform:uppercase;letter-spacing:.03em}._GroupHeader_5x7b0_302:not(:first-child){margin-top:.25rem;border-top:1px solid var(--chures-dropdown-border-subtle)}._CheckSlot_5x7b0_317{display:inline-flex;align-items:center;flex-shrink:0;width:0;margin-right:-.5rem;overflow:hidden;color:var(--chures-accent);transition:width .18s ease,margin-right .18s ease}._CheckSlot_5x7b0_317._Checked_5x7b0_327{width:1rem;margin-right:0}._CheckIcon_5x7b0_333{width:.75rem;height:.75rem;flex-shrink:0}._CheckIcon_5x7b0_333 path{stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset .22s ease .06s}._CheckSlot_5x7b0_317._Checked_5x7b0_327 ._CheckIcon_5x7b0_333 path{stroke-dashoffset:0}@media(prefers-reduced-motion:reduce){._CheckSlot_5x7b0_317,._CheckIcon_5x7b0_333 path{transition:none}}._CreateRow_5x7b0_360{display:flex;align-items:center;gap:.625rem;padding:.5625rem .875rem;cursor:pointer;background:var(--chures-dropdown-create-bg);transition:background .1s ease}._CreateRow_5x7b0_360:hover{background:var(--chures-dropdown-create-bg-hover)}._CreateRow_5x7b0_360._WithBorder_5x7b0_373{border-top:1px solid var(--chures-dropdown-border-subtle)}._CreateIcon_5x7b0_378{display:inline-flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;border-radius:50%;background:var(--chures-accent);color:#fff;flex-shrink:0}._CreateLabel_5x7b0_390{font-size:var(--chures-font-sm);font-weight:600;color:var(--chures-fg)}._EmptyHint_5x7b0_396{padding:.75rem .875rem;font-size:var(--chures-font-sm);color:var(--chures-fg-muted);font-style:italic}._SkeletonRow_5x7b0_403{height:2rem;margin:.375rem .875rem;border-radius:var(--chures-dropdown-row-radius);background:linear-gradient(90deg,var(--chures-dropdown-bg) 25%,var(--chures-skeleton-shine) 50%,var(--chures-dropdown-bg) 75%);background-size:200% 100%;animation:_shimmer_5x7b0_1 1.4s infinite linear}:where(._Btn_1wp07_10){display:inline-flex;align-items:center;justify-content:center;gap:.375rem;border-radius:.625rem;border:1px solid transparent;font-family:inherit;font-size:.8125rem;font-weight:500;cursor:pointer;padding:.625rem 1rem;transition:all .16s ease;white-space:nowrap;color:var(--chures-fg, #ffffff);background:var(--chures-button-bg)}:where(._Btn_1wp07_10):disabled{opacity:.4;cursor:not-allowed}:where(._Unstyled_1wp07_35){appearance:none;margin:0;padding:0;border:none;background:none;font:inherit;color:inherit;text-align:inherit;cursor:pointer}:where(._Unstyled_1wp07_35):disabled{cursor:not-allowed}:where(._Primary_1wp07_52){background:var(--chures-accent, #229ED9);border-color:var(--chures-accent, #229ED9);color:#fff;font-weight:600;padding:.625rem 1.125rem;box-shadow:0 10px 28px -12px var(--chures-accent-muted, rgb(34 158 217 / 50%));transition:filter .16s ease,opacity .16s ease}:where(._Primary_1wp07_52):hover:not(:disabled){filter:brightness(1.06)}:where(._Secondary_1wp07_67){background:transparent;border-color:#ffffff24;color:var(--chures-fg-muted, #9ca3af)}:where(._Secondary_1wp07_67):hover:not(:disabled){color:var(--chures-fg, #ffffff);border-color:#ffffff47}:where(._Ghost_1wp07_79){background:transparent;border-color:#ffffff24;color:var(--chures-fg-muted, #9ca3af)}:where(._Ghost_1wp07_79):hover:not(:disabled){color:var(--chures-fg, #ffffff);border-color:#ffffff47}:where(._IconDanger_1wp07_91){width:1.375rem;height:1.375rem;padding:0;border:0;border-radius:.375rem;background:transparent;color:var(--chures-fg-muted, #9ca3af);font-size:1rem;line-height:1;justify-content:center;flex-shrink:0;transition:background .14s ease,color .14s ease}:where(._IconDanger_1wp07_91):hover:not(:disabled){background:#ef44441f;color:var(--chures-error, #ef4444)}:where(._Danger_1wp07_112){background:transparent;border-color:#ef444466;color:var(--chures-error, #ef4444);transition:background .16s ease,border-color .16s ease}:where(._Danger_1wp07_112):hover:not(:disabled){background:#ef44441a;border-color:var(--chures-error, #ef4444)}._ConfirmWrapper_1tq4o_4{width:100%;max-width:24rem;animation:_confirmIn_1tq4o_1 .28s cubic-bezier(.2,.7,.2,1) both}@keyframes _confirmIn_1tq4o_1{0%{opacity:0;transform:translateY(.75rem) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}._ConfirmContainer_1tq4o_1{width:100%;background:var(--chures-surface, #000000);border:1px solid rgb(255 255 255 / 14%);border-radius:1.25rem;padding:1.75rem 1.75rem 1.5rem;box-shadow:0 32px 80px -20px #000c}._Glass_1tq4o_24{background:var(--chures-dialog-glass-bg, rgb(255 255 255 / 6%));backdrop-filter:blur(var(--chures-dialog-glass-blur, 1.25rem));-webkit-backdrop-filter:blur(var(--chures-dialog-glass-blur, 1.25rem))}._ConfirmTitle_1tq4o_30{font-size:1.25rem;font-weight:600;letter-spacing:-.02em;color:var(--chures-fg, #ffffff);margin-bottom:.75rem}._ConfirmMessage_1tq4o_38{font-size:.875rem;color:var(--chures-fg-muted, #9ca3af);line-height:1.5;letter-spacing:-.005em}._ConfirmActions_1tq4o_45{display:flex;align-items:center;justify-content:flex-end;gap:.625rem;margin-top:1.5rem}._BtnCancel_1tq4o_53{display:inline-flex;align-items:center;padding:.625rem 1.125rem;border-radius:.625rem;border:1px solid rgb(255 255 255 / 14%);background:transparent;color:var(--chures-fg-muted, #9ca3af);font-size:.8125rem;font-weight:500;font-family:inherit;cursor:pointer;transition:background .16s ease,color .16s ease}._BtnCancel_1tq4o_53:hover:not(:disabled){background:#ffffff14;color:var(--chures-fg, #ffffff)}._BtnConfirm_1tq4o_73{display:inline-flex;align-items:center;padding:.625rem 1.125rem;border-radius:.625rem;border:1px solid var(--chures-accent, #229ED9);background:var(--chures-accent, #229ED9);color:#fff;font-size:.8125rem;font-weight:600;font-family:inherit;cursor:pointer;transition:filter .16s ease,opacity .16s ease}._BtnConfirm_1tq4o_73:hover:not(:disabled){filter:brightness(1.06)}._BtnDanger_1tq4o_92{display:inline-flex;align-items:center;padding:.625rem 1.125rem;border-radius:.625rem;border:1px solid rgb(239 68 68 / 40%);background:transparent;color:var(--chures-error, #ef4444);font-size:.8125rem;font-weight:600;font-family:inherit;cursor:pointer;transition:background .16s ease,border-color .16s ease}._BtnDanger_1tq4o_92:hover:not(:disabled){background:#ef44441a;border-color:var(--chures-error, #ef4444)}._BtnConfirm_1tq4o_73:disabled,._BtnDanger_1tq4o_92:disabled,._BtnCancel_1tq4o_53:disabled{opacity:.4;cursor:not-allowed}._InfoWrapper_cqv58_4{width:100%;max-width:24rem;animation:_infoIn_cqv58_1 .28s cubic-bezier(.2,.7,.2,1) both}@keyframes _infoIn_cqv58_1{0%{opacity:0;transform:translateY(.75rem) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}._InfoContainer_cqv58_1{width:100%;background:var(--chures-surface, #000000);border:1px solid rgb(255 255 255 / 14%);border-radius:1.25rem;padding:1.75rem 1.75rem 1.5rem;box-shadow:0 32px 80px -20px #000c}._Glass_cqv58_24{background:var(--chures-dialog-glass-bg, rgb(255 255 255 / 6%));backdrop-filter:blur(var(--chures-dialog-glass-blur, 1.25rem));-webkit-backdrop-filter:blur(var(--chures-dialog-glass-blur, 1.25rem))}._InfoTitle_cqv58_30{font-size:1.25rem;font-weight:600;letter-spacing:-.02em;color:var(--chures-fg, #ffffff);margin-bottom:.75rem}._InfoMessage_cqv58_38{font-size:.875rem;color:var(--chures-fg-muted, #9ca3af);line-height:1.5;letter-spacing:-.005em}._InfoActions_cqv58_45{display:flex;align-items:center;justify-content:flex-end;margin-top:1.5rem}._BtnClose_cqv58_52{display:inline-flex;align-items:center;padding:.625rem 1.125rem;border-radius:.625rem;border:1px solid rgb(255 255 255 / 14%);background:transparent;color:var(--chures-fg-muted, #9ca3af);font-size:.8125rem;font-weight:500;font-family:inherit;cursor:pointer;transition:background .16s ease,color .16s ease}._BtnClose_cqv58_52:hover{background:#ffffff14;color:var(--chures-fg, #ffffff)}:where(._Backdrop_1w1e3_7){position:fixed;inset:0;background:var(--chures-overlay, rgb(0 0 0 / 58%));opacity:0;pointer-events:none;transition:opacity .26s ease}:where(._BackdropOpen_1w1e3_16){opacity:1;pointer-events:auto}:where(._Panel_1w1e3_21){position:fixed;display:flex;flex-direction:column;overflow:hidden;background:var(--chures-surface, #000000);box-shadow:0 0 3rem #00000059;transition:transform .28s cubic-bezier(.32,0,0,1)}:where(._Right_1w1e3_31){top:0;right:0;bottom:0;width:var(--chures-side-drawer-size, 22rem);max-width:100vw;transform:translate(100%)}:where(._Left_1w1e3_40){top:0;bottom:0;left:0;width:var(--chures-side-drawer-size, 22rem);max-width:100vw;transform:translate(-100%)}:where(._Top_1w1e3_49){top:0;left:0;right:0;height:var(--chures-side-drawer-size, 22rem);max-height:100vh;transform:translateY(-100%)}:where(._Bottom_1w1e3_58){left:0;right:0;bottom:0;height:var(--chures-side-drawer-size, 22rem);max-height:100vh;transform:translateY(100%)}:where(._PanelOpen_1w1e3_67){transform:translate(0)}@layer chures-defaults{:root{--chures-accent: #229ED9;--chures-accent-muted: rgb(34 158 217 / 50%);--chures-btn-from: #2AABEE;--chures-btn-to: #229ED9;--chures-button-bg: var(--chures-accent);--chures-error: #ef4444;--chures-warn: #f59e0b;--chures-bg: #000000;--chures-fg: #ffffff;--chures-fg-muted: #9ca3af;--chures-surface: #000000;--chures-font-sm: .875rem;--chures-font-xs: .75rem;--chures-input-bg: #111111;--chures-input-height: 3rem;--chures-input-radius: .75rem;--chures-skeleton-shine: #1e1e1e;--chures-toggle-width: 2.75rem;--chures-toggle-height: 1.5rem;--chures-toggle-thumb: 1.125rem;--chures-toggle-bg-off: rgb(255 255 255 / 13%);--chures-toggle-bg-on: var(--chures-accent);--chures-toggle-thumb-color: #ffffff;--chures-toggle-label-skeleton-w: 5rem;--chures-dropdown-bg: var(--chures-bg);--chures-dropdown-radius: .75rem;--chures-dropdown-row-radius: .375rem;--chures-dropdown-border: var(--chures-accent);--chures-dropdown-border-subtle: var(--chures-accent-muted);--chures-dropdown-hover: rgb(255 255 255 / 8%);--chures-dropdown-create-bg: rgb(34 158 217 / 12%);--chures-dropdown-create-bg-hover: rgb(34 158 217 / 20%);--chures-dropdown-trigger-border: rgb(255 255 255 / 22%);--chures-dropdown-trigger-border-hover: rgb(255 255 255 / 38%);--chures-dropdown-trigger-focus-ring: rgb(34 158 217 / 15%);--chures-dropdown-chip-border: rgb(34 158 217 / 30%);--chures-dropdown-panel-gap: .375rem;--chures-dropdown-icon-size: 1rem;--chures-dropdown-glass-bg: rgb(255 255 255 / 6%);--chures-dropdown-glass-blur: 1.25rem;--chures-dialog-glass-bg: rgb(255 255 255 / 6%);--chures-dialog-glass-blur: 1.25rem;--chures-overlay: rgb(0 0 0 / 58%);--chures-side-drawer-size: 22rem;--chures-flyout-bg: #0d0d0d;--chures-flyout-min-width: 10rem;--chures-flyout-border: rgb(255 255 255 / 11%);--chures-flyout-radius: .5rem;--chures-flyout-shadow: rgb(0 0 0 / 80%);--chures-flyout-fg: rgb(255 255 255 / 55%);--chures-flyout-fg-strong: rgb(255 255 255 / 92%);--chures-flyout-fg-muted: rgb(255 255 255 / 32%);--chures-flyout-hover: rgb(255 255 255 / 4%);--chures-flyout-skeleton: rgb(255 255 255 / 7%);--chures-flyout-font: .8125rem;--chures-flyout-font-sm: .6875rem;--chures-flyout-font-md: .75rem;--chures-flyout-font-mono: "JetBrains Mono", ui-monospace, sfmono-regular, menlo, monospace;--chures-segmented-bg: var(--chures-input-bg);--chures-segmented-radius: var(--chures-input-radius);--chures-segmented-pad: .25rem;--chures-segmented-highlight: var(--chures-accent);--chures-segmented-fg: var(--chures-fg-muted);--chures-segmented-fg-active: var(--chures-fg);--chures-segmented-gap: .25rem}}._FlyoutMenuContainer_1q0ma_5{display:contents}._Backdrop_1q0ma_9{position:fixed;inset:0}._Panel_1q0ma_14{position:fixed;display:flex;flex-direction:column;min-width:var(--chures-flyout-min-width);padding:.35rem;background:var(--chures-flyout-bg);border:1px solid var(--chures-flyout-border);border-radius:var(--chures-flyout-radius);box-shadow:0 1rem 2.5rem -.75rem var(--chures-flyout-shadow);overflow-y:auto}._Submenu_1q0ma_27{position:fixed;display:flex;flex-direction:column;min-width:var(--chures-flyout-min-width);background:var(--chures-flyout-bg);border:1px solid var(--chures-flyout-border);border-radius:var(--chures-flyout-radius);box-shadow:0 1rem 2.5rem -.75rem var(--chures-flyout-shadow);overflow-y:auto}._FlyoutPanelContainer_1q0ma_41{display:flex;flex-direction:column;gap:.15rem}._Back_1q0ma_9{display:flex;align-items:center;justify-content:flex-start;gap:.4rem;padding:.4rem .55rem;border:1px solid transparent;border-radius:var(--chures-flyout-radius);background:transparent;color:var(--chures-flyout-fg);font-size:var(--chures-flyout-font);text-align:left;cursor:pointer;transition:background .14s ease,color .14s ease}._Back_1q0ma_9:hover{background:var(--chures-flyout-hover);color:var(--chures-flyout-fg-strong)}._Chevron_1q0ma_68{flex-shrink:0;color:var(--chures-flyout-fg-muted)}._MenuListContainer_1q0ma_75{display:flex;flex-direction:column;gap:.15rem}._Heading_1q0ma_81{padding:.35rem .55rem .25rem;color:var(--chures-flyout-fg-muted);font-family:var(--chures-flyout-font-mono);font-size:var(--chures-flyout-font-sm);letter-spacing:.06rem;text-transform:uppercase}._Divider_1q0ma_90{height:1px;margin:.3rem .2rem;background:var(--chures-flyout-border)}._MenuRowContainer_1q0ma_98{display:flex}._MenuRowContainer_1q0ma_98._Dim_1q0ma_102{opacity:.5}._Row_1q0ma_106{display:flex;flex:1;min-width:0;align-items:center;justify-content:flex-start;gap:.5rem;padding:.4rem .55rem;overflow:hidden;border:1px solid transparent;border-radius:var(--chures-flyout-radius);background:transparent;color:var(--chures-flyout-fg);font-size:var(--chures-flyout-font);text-align:left;cursor:pointer;transition:background .14s ease,color .14s ease}._Row_1q0ma_106:hover:not(:disabled){background:var(--chures-flyout-hover);color:var(--chures-flyout-fg-strong)}._Row_1q0ma_106:disabled{color:var(--chures-flyout-fg-muted);cursor:default}._Icon_1q0ma_135{display:flex;flex-shrink:0}._Label_1q0ma_140{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._Arrow_1q0ma_148{flex-shrink:0;color:var(--chures-flyout-fg-muted);font-size:var(--chures-flyout-font-md)}._MenuSkeletonContainer_1q0ma_156{display:flex;flex-direction:column;gap:.15rem;padding:.35rem .5rem}._MenuSkeletonRow_1q0ma_163{height:1.75rem;border-radius:var(--chures-flyout-radius);background:var(--chures-flyout-skeleton);animation:_churesFlyoutSkeletonPulse_1q0ma_1 1.5s ease-in-out infinite}._MenuSkeletonRow_1q0ma_163:nth-child(2){animation-delay:.15s}._MenuSkeletonRow_1q0ma_163:nth-child(3){animation-delay:.3s}@keyframes _churesFlyoutSkeletonPulse_1q0ma_1{0%,to{opacity:1}50%{opacity:.4}}._MenuSearchFieldContainer_1q0ma_191{overflow:hidden;padding-bottom:.35rem}')),document.head.appendChild(e)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
|
|
2
|
-
import { jsx as
|
|
3
|
-
import { createContext as
|
|
4
|
-
import { AnimatePresence as
|
|
5
|
-
import { create as
|
|
6
|
-
import { createPortal as
|
|
7
|
-
function
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('@layer chures-defaults{:root{--chures-accent: #229ED9;--chures-accent-muted: rgb(34 158 217 / 50%);--chures-btn-from: #2AABEE;--chures-btn-to: #229ED9;--chures-button-bg: var(--chures-accent);--chures-error: #ef4444;--chures-warn: #f59e0b;--chures-bg: #000000;--chures-fg: #ffffff;--chures-fg-muted: #9ca3af;--chures-surface: #000000;--chures-font-sm: .875rem;--chures-font-xs: .75rem;--chures-input-bg: #111111;--chures-input-height: 3rem;--chures-input-radius: .75rem;--chures-skeleton-shine: #1e1e1e;--chures-toggle-width: 2.75rem;--chures-toggle-height: 1.5rem;--chures-toggle-thumb: 1.125rem;--chures-toggle-bg-off: rgb(255 255 255 / 13%);--chures-toggle-bg-on: var(--chures-accent);--chures-toggle-thumb-color: #ffffff;--chures-toggle-label-skeleton-w: 5rem;--chures-dropdown-bg: var(--chures-bg);--chures-dropdown-radius: .75rem;--chures-dropdown-row-radius: .375rem;--chures-dropdown-border: var(--chures-accent);--chures-dropdown-border-subtle: var(--chures-accent-muted);--chures-dropdown-hover: rgb(255 255 255 / 8%);--chures-dropdown-create-bg: rgb(34 158 217 / 12%);--chures-dropdown-create-bg-hover: rgb(34 158 217 / 20%);--chures-dropdown-trigger-border: rgb(255 255 255 / 22%);--chures-dropdown-trigger-border-hover: rgb(255 255 255 / 38%);--chures-dropdown-trigger-focus-ring: rgb(34 158 217 / 15%);--chures-dropdown-chip-border: rgb(34 158 217 / 30%);--chures-dropdown-panel-gap: .375rem;--chures-dropdown-icon-size: 1rem;--chures-dropdown-glass-bg: rgb(255 255 255 / 6%);--chures-dropdown-glass-blur: 1.25rem;--chures-dialog-glass-bg: rgb(255 255 255 / 6%);--chures-dialog-glass-blur: 1.25rem;--chures-overlay: rgb(0 0 0 / 58%);--chures-side-drawer-size: 22rem;--chures-flyout-bg: #0d0d0d;--chures-flyout-min-width: 10rem;--chures-flyout-border: rgb(255 255 255 / 11%);--chures-flyout-radius: .5rem;--chures-flyout-shadow: rgb(0 0 0 / 80%);--chures-flyout-fg: rgb(255 255 255 / 55%);--chures-flyout-fg-strong: rgb(255 255 255 / 92%);--chures-flyout-fg-muted: rgb(255 255 255 / 32%);--chures-flyout-hover: rgb(255 255 255 / 4%);--chures-flyout-skeleton: rgb(255 255 255 / 7%);--chures-flyout-font: .8125rem;--chures-flyout-font-sm: .6875rem;--chures-flyout-font-md: .75rem;--chures-flyout-font-mono: "JetBrains Mono", ui-monospace, sfmono-regular, menlo, monospace;--chures-segmented-bg: var(--chures-input-bg);--chures-segmented-radius: var(--chures-input-radius);--chures-segmented-pad: .25rem;--chures-segmented-highlight: var(--chures-accent);--chures-segmented-fg: var(--chures-fg-muted);--chures-segmented-fg-active: var(--chures-fg);--chures-segmented-gap: .25rem}}@keyframes _spin_wa8op_1{to{transform:rotate(360deg)}}@keyframes _ripple_wa8op_1{0%{transform:scale(.08);opacity:.9}to{transform:scale(1);opacity:0}}@keyframes _dotPulse_wa8op_1{0%,to{transform:translate(-50%,-50%) scale(.55);opacity:.3}50%{transform:translate(-50%,calc(-50% - var(--sz) * .1)) scale(1);opacity:1}}@keyframes _waveBounce_wa8op_1{0%,55%,to{transform:translate(-50%,-50%) scale(.8);opacity:.4}27%{transform:translate(-50%,calc(-50% - var(--sz) * .28)) scale(1);opacity:1}}._LoaderContainer_wa8op_24{position:relative;flex-shrink:0}._sm_wa8op_31{width:1.5rem;height:1.5rem;--sz: 1.5rem;--arc-gap: .2rem;--arc-bw: .125rem}._md_wa8op_32{width:2.5rem;height:2.5rem;--sz: 2.5rem;--arc-gap: .35rem;--arc-bw: .1875rem}._lg_wa8op_33{width:4rem;height:4rem;--sz: 4rem;--arc-gap: .55rem;--arc-bw: .25rem}._Arc1_wa8op_37,._Arc2_wa8op_38,._Arc3_wa8op_39{position:absolute;border-radius:50%;border:var(--arc-bw) solid transparent}._Arc1_wa8op_37{inset:0;border-top-color:var(--chures-accent, #229ED9);border-left-color:var(--chures-accent, #229ED9);animation:_spin_wa8op_1 1.2s linear infinite;filter:drop-shadow(0 0 .25rem var(--chures-accent, #229ED9))}._Arc2_wa8op_38{inset:var(--arc-gap);border-bottom-color:var(--chures-accent, #229ED9);border-right-color:var(--chures-accent, #229ED9);animation:_spin_wa8op_1 1.8s linear infinite reverse;opacity:.8}._Arc3_wa8op_39{inset:calc(var(--arc-gap) * 2);border-top-color:var(--chures-accent, #229ED9);border-right-color:var(--chures-accent, #229ED9);animation:_spin_wa8op_1 2.4s linear infinite;opacity:.6}._Ring1_wa8op_71,._Ring2_wa8op_72,._Ring3_wa8op_73{position:absolute;inset:0;border-radius:50%;border:var(--arc-bw) solid var(--chures-accent, #229ED9);animation:_ripple_wa8op_1 1.8s ease-out infinite both}._Ring2_wa8op_72{animation-delay:.6s}._Ring3_wa8op_73{animation-delay:1.2s}._Dot1_wa8op_86,._Dot2_wa8op_87,._Dot3_wa8op_88{position:absolute;top:50%;border-radius:50%;width:calc(var(--sz) * .2);height:calc(var(--sz) * .2);background:var(--chures-accent, #229ED9);box-shadow:0 0 calc(var(--sz) * .14) var(--chures-accent, #229ED9);animation:_dotPulse_wa8op_1 1.1s ease-in-out infinite both}._Dot1_wa8op_86{left:22%}._Dot2_wa8op_87{left:50%;animation-delay:.18s}._Dot3_wa8op_88{left:78%;animation-delay:.36s}._Wave1_wa8op_105,._Wave2_wa8op_106,._Wave3_wa8op_107,._Wave4_wa8op_108,._Wave5_wa8op_109{position:absolute;top:50%;border-radius:50%;width:calc(var(--sz) * .16);height:calc(var(--sz) * .16);background:var(--chures-accent, #229ED9);box-shadow:0 0 calc(var(--sz) * .1) var(--chures-accent, #229ED9);animation:_waveBounce_wa8op_1 1s ease-in-out infinite both}._Wave1_wa8op_105{left:10%}._Wave2_wa8op_106{left:28%;animation-delay:.12s}._Wave3_wa8op_107{left:46%;animation-delay:.24s}._Wave4_wa8op_108{left:64%;animation-delay:.36s}._Wave5_wa8op_109{left:82%;animation-delay:.48s}._LoadingWrapperContainer_1q0w7_1{display:flex;align-items:center;justify-content:center;width:100%;min-height:4rem}._SkeletonWrapper_1q0w7_9{width:100%}._TelegramSignInButtonContainer_10wun_1{display:inline-flex;align-items:center;justify-content:center;gap:.625rem;width:100%;padding:1rem 1.375rem;background:linear-gradient(180deg,var(--chures-btn-from, #2AABEE) 0%,var(--chures-btn-to, #229ED9) 100%);border:0;border-radius:.875rem;color:#fff;font-family:Comfortaa,sans-serif;font-weight:600;font-size:1rem;letter-spacing:-.005em;cursor:pointer;box-shadow:inset 0 .0625rem #ffffff26,0 .75rem 2rem -.75rem #2aabee8c;transition:transform .14s ease,box-shadow .2s ease,filter .16s ease}._TelegramSignInButtonContainer_10wun_1:hover{transform:translateY(-.0625rem);box-shadow:inset 0 .0625rem #ffffff2e,0 1.125rem 2.375rem -.75rem #2aabeea6;filter:brightness(1.05)}._TelegramSignInButtonContainer_10wun_1:active{transform:translateY(0);filter:brightness(.97)}._TelegramSignInButtonContainer_10wun_1:focus-visible{outline:.125rem solid rgba(255,255,255,.8);outline-offset:.125rem}._TelegramSignInButtonContainer_10wun_1:disabled{opacity:.6;cursor:not-allowed}._FullSize_10wun_46{height:100%}._Icon_10wun_50{flex-shrink:0}._ToastContainer_1tme2_1{position:fixed;right:1.5rem;top:1.5rem;width:clamp(25vw,24.5rem,95vw);display:flex;flex-direction:column;gap:1rem;z-index:9999}._Toast_1tme2_1{min-height:4rem;border:var(--chures-accent, #229ED9) 1px solid;border-radius:1rem;padding:1rem;box-sizing:border-box;position:relative;background:var(--chures-surface, #000000);display:flex;flex-direction:column}._Toast_1tme2_1>div:first-child{font-weight:700;font-size:var(--chures-font-sm, .875rem);color:var(--chures-fg, #ffffff)}._Toast_1tme2_1._error_1tme2_33{border-color:var(--chures-error, #ef4444)}._Toast_1tme2_1._error_1tme2_33>div:first-child{color:var(--chures-error, #ef4444)}._Toast_1tme2_1._warn_1tme2_41{border-color:var(--chures-warn, #f59e0b)}._Toast_1tme2_1._warn_1tme2_41>div:first-child{color:var(--chures-warn, #f59e0b)}._Toast_1tme2_1._info_1tme2_49{border-color:var(--chures-accent, #229ED9)}._Toast_1tme2_1 ._Description_1tme2_53{color:var(--chures-fg-muted, #9ca3af);font-size:var(--chures-font-xs, .75rem);margin-top:.125rem}._Toast_1tme2_1 ._DismissButton_1tme2_59{position:absolute;width:1rem;height:1rem;display:flex;justify-content:center;align-items:center;top:0;right:1%;cursor:pointer;font-size:1.5rem;color:var(--chures-fg-muted, #9ca3af)}._slideIn_1tme2_79{animation:_slideIn_1tme2_79 .2s ease forwards}._slideOut_1tme2_83{animation:_slideOut_1tme2_83 .2s ease forwards}@keyframes _slideIn_1tme2_79{0%{opacity:0;transform:translate(2rem)}to{opacity:1;transform:translate(0)}}@keyframes _slideOut_1tme2_83{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(2rem)}}@keyframes _shimmer_15tk2_1{0%{background-position:-200% 0}to{background-position:200% 0}}:where(._InputContainer_15tk2_15){position:relative;display:flex;flex-direction:column;width:100%}:where(._InputBox_15tk2_22){position:relative;width:100%;height:var(--chures-input-height, 3rem)}:where(._InputField_15tk2_28){width:100%;height:100%;background:var(--chures-input-bg, #111111);border:.0625rem solid rgb(255 255 255 / 13%);border-radius:var(--chures-input-radius, .75rem);color:var(--chures-fg, #ffffff);font-size:var(--chures-font-sm, .875rem);padding:0 .875rem;outline:none;transition:border-color .18s ease;box-sizing:border-box}:where(._InputField_15tk2_28._hasStartIcon_15tk2_42){padding-left:2.25rem}:where(._InputField_15tk2_28._hasEndIcon_15tk2_46){padding-right:2.25rem}:where(._StartIcon_15tk2_50){position:absolute;left:.875rem;top:50%;transform:translateY(-50%);display:flex;align-items:center;color:var(--chures-fg-muted, #9ca3af);pointer-events:none}:where(._EndIcon_15tk2_61){position:absolute;right:.875rem;top:50%;transform:translateY(-50%);display:flex;align-items:center;color:var(--chures-fg-muted, #9ca3af);pointer-events:none}:where(._InputField_15tk2_28):focus{border-color:#ffffff59}:where(._InputField_15tk2_28:not(:focus):has(+._Label_15tk2_77))::placeholder{color:transparent}:where(._hasError_15tk2_81 ._InputField_15tk2_28),:where(._hasError_15tk2_81 ._InputField_15tk2_28):focus{border-color:var(--chures-error, #ef4444)}:where(._disabled_15tk2_86 ._InputField_15tk2_28){opacity:.45;cursor:not-allowed}:where(._Label_15tk2_77){position:absolute;left:.875rem;top:50%;transform:translateY(-50%);transform-origin:left center;color:var(--chures-fg-muted, #9ca3af);font-size:var(--chures-font-sm, .875rem);pointer-events:none;transition:all .18s ease;padding:0 .25rem;border-radius:.1875rem}:where(._Label_15tk2_77._lifted_15tk2_105){top:0;transform:translateY(-50%) scale(.82);background:var(--chures-input-bg, #111111);color:var(--chures-fg-muted, #9ca3af)}:where(._hasError_15tk2_81 ._Label_15tk2_77._lifted_15tk2_105){color:var(--chures-error, #ef4444)}@keyframes _errorIn_15tk2_1{0%{opacity:0;max-height:0}to{opacity:1;max-height:3rem}}:where(._ErrorText_15tk2_121){display:block;margin-top:.25rem;padding-left:.875rem;font-size:var(--chures-font-xs, .75rem);color:var(--chures-error, #ef4444);overflow:hidden;animation:_errorIn_15tk2_1 .18s ease-out}@media(prefers-reduced-motion:reduce){:where(._ErrorText_15tk2_121){animation:none}}:where(._Skeleton_15tk2_137){width:100%;height:var(--chures-input-height, 3rem);border-radius:var(--chures-input-radius, .75rem);background:linear-gradient(90deg,var(--chures-input-bg, #111111) 25%,var(--chures-skeleton-shine, #1e1e1e) 50%,var(--chures-input-bg, #111111) 75%);background-size:200% 100%;animation:_shimmer_15tk2_1 1.5s ease-in-out infinite}@keyframes _shimmer_1jetc_1{0%{background-position:-200% 0}to{background-position:200% 0}}._ToggleContainer_1jetc_6{display:inline-flex;align-items:center;gap:.5rem;cursor:pointer}._disabled_1jetc_13{opacity:.45;cursor:not-allowed}._Track_1jetc_18{position:relative;width:var(--chures-toggle-width, 2.75rem);height:var(--chures-toggle-height, 1.5rem);border-radius:624.9375rem;background:var(--chures-toggle-bg-off, rgb(255 255 255 / 13%));border:none;padding:0;cursor:pointer;transition:background .2s ease;flex-shrink:0}._Track_1jetc_18._on_1jetc_31{background:var(--chures-toggle-bg-on, var(--chures-accent, #229ED9))}._disabled_1jetc_13 ._Track_1jetc_18{cursor:not-allowed}._Thumb_1jetc_39{position:absolute;top:0;bottom:0;margin:auto 0;left:.1875rem;width:var(--chures-toggle-thumb, 1.125rem);height:var(--chures-toggle-thumb, 1.125rem);border-radius:50%;background:var(--chures-toggle-thumb-color, #ffffff);transition:left .2s ease;pointer-events:none}._Track_1jetc_18._on_1jetc_31 ._Thumb_1jetc_39{left:calc(var(--chures-toggle-width, 2.75rem) - var(--chures-toggle-thumb, 1.125rem) - .1875rem)}._Label_1jetc_57{font-size:var(--chures-font-sm, .875rem);color:var(--chures-fg, #ffffff);-webkit-user-select:none;user-select:none}._LabelSkeleton_1jetc_63{display:inline-block;width:var(--chures-toggle-label-skeleton-w, 5rem);height:var(--chures-font-sm, .875rem);border-radius:624.9375rem;background:linear-gradient(90deg,var(--chures-input-bg, #111111) 25%,var(--chures-skeleton-shine, #1e1e1e) 50%,var(--chures-input-bg, #111111) 75%);background-size:200% 100%;animation:_shimmer_1jetc_1 1.5s ease-in-out infinite}._Skeleton_1jetc_78{width:var(--chures-toggle-width, 2.75rem);height:var(--chures-toggle-height, 1.5rem);border-radius:624.9375rem;background:linear-gradient(90deg,var(--chures-input-bg, #111111) 25%,var(--chures-skeleton-shine, #1e1e1e) 50%,var(--chures-input-bg, #111111) 75%);background-size:200% 100%;animation:_shimmer_1jetc_1 1.5s ease-in-out infinite}._AccordionContainer_atyoj_1{display:flex;flex-direction:column}._AccordionContainer_atyoj_1 ._Header_atyoj_5{display:flex;align-items:center;justify-content:space-between;gap:.75rem;width:100%;padding:.5rem 0;font-size:var(--chures-font-sm, .875rem);color:var(--chures-fg, #ffffff);transition:color .2s ease}._AccordionContainer_atyoj_1 ._Header_atyoj_5:hover{color:var(--chures-accent, #229ED9)}._AccordionContainer_atyoj_1 ._Header_atyoj_5:focus-visible{outline:.125rem solid var(--chures-accent, #229ED9);outline-offset:.125rem;border-radius:var(--chures-dropdown-row-radius, .375rem)}._AccordionContainer_atyoj_1 ._Heading_atyoj_27{display:flex;align-items:center;gap:.5rem;min-width:0}._AccordionContainer_atyoj_1 ._Chevron_atyoj_34{width:1rem;height:1rem;flex-shrink:0;transition:transform .25s cubic-bezier(.2,.7,.2,1)}._AccordionContainer_atyoj_1 ._Title_atyoj_41{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._AccordionContainer_atyoj_1 ._Meta_atyoj_47{flex-shrink:0;font-size:var(--chures-font-xs, .75rem);color:var(--chures-fg-muted, #9ca3af)}._AccordionContainer_atyoj_1 ._Panel_atyoj_53{display:grid;grid-template-rows:0fr;visibility:hidden;transition:grid-template-rows .25s cubic-bezier(.2,.7,.2,1),visibility 0s linear .25s}._AccordionContainer_atyoj_1 ._PanelContent_atyoj_62{min-height:0;overflow:hidden}._AccordionContainer_atyoj_1._isOpen_atyoj_67 ._Chevron_atyoj_34{transform:rotate(180deg)}._AccordionContainer_atyoj_1._isOpen_atyoj_67 ._Panel_atyoj_53{grid-template-rows:1fr;visibility:visible;transition:grid-template-rows .25s cubic-bezier(.2,.7,.2,1),visibility 0s linear 0s}@media(prefers-reduced-motion:reduce){._AccordionContainer_atyoj_1 ._Header_atyoj_5,._AccordionContainer_atyoj_1 ._Chevron_atyoj_34,._AccordionContainer_atyoj_1 ._Panel_atyoj_53,._AccordionContainer_atyoj_1._isOpen_atyoj_67 ._Panel_atyoj_53{transition:none}}:where(._Btn_1wp07_10){display:inline-flex;align-items:center;justify-content:center;gap:.375rem;border-radius:.625rem;border:1px solid transparent;font-family:inherit;font-size:.8125rem;font-weight:500;cursor:pointer;padding:.625rem 1rem;transition:all .16s ease;white-space:nowrap;color:var(--chures-fg, #ffffff);background:var(--chures-button-bg)}:where(._Btn_1wp07_10):disabled{opacity:.4;cursor:not-allowed}:where(._Unstyled_1wp07_35){appearance:none;margin:0;padding:0;border:none;background:none;font:inherit;color:inherit;text-align:inherit;cursor:pointer}:where(._Unstyled_1wp07_35):disabled{cursor:not-allowed}:where(._Primary_1wp07_52){background:var(--chures-accent, #229ED9);border-color:var(--chures-accent, #229ED9);color:#fff;font-weight:600;padding:.625rem 1.125rem;box-shadow:0 10px 28px -12px var(--chures-accent-muted, rgb(34 158 217 / 50%));transition:filter .16s ease,opacity .16s ease}:where(._Primary_1wp07_52):hover:not(:disabled){filter:brightness(1.06)}:where(._Secondary_1wp07_67){background:transparent;border-color:#ffffff24;color:var(--chures-fg-muted, #9ca3af)}:where(._Secondary_1wp07_67):hover:not(:disabled){color:var(--chures-fg, #ffffff);border-color:#ffffff47}:where(._Ghost_1wp07_79){background:transparent;border-color:#ffffff24;color:var(--chures-fg-muted, #9ca3af)}:where(._Ghost_1wp07_79):hover:not(:disabled){color:var(--chures-fg, #ffffff);border-color:#ffffff47}:where(._IconDanger_1wp07_91){width:1.375rem;height:1.375rem;padding:0;border:0;border-radius:.375rem;background:transparent;color:var(--chures-fg-muted, #9ca3af);font-size:1rem;line-height:1;justify-content:center;flex-shrink:0;transition:background .14s ease,color .14s ease}:where(._IconDanger_1wp07_91):hover:not(:disabled){background:#ef44441f;color:var(--chures-error, #ef4444)}:where(._Danger_1wp07_112){background:transparent;border-color:#ef444466;color:var(--chures-error, #ef4444);transition:background .16s ease,border-color .16s ease}:where(._Danger_1wp07_112):hover:not(:disabled){background:#ef44441a;border-color:var(--chures-error, #ef4444)}:where(._SegmentedControlContainer_ga29h_2){position:relative;display:inline-flex;align-items:stretch;gap:var(--chures-segmented-gap);box-sizing:border-box;max-width:100%;padding:var(--chures-segmented-pad);border-radius:var(--chures-segmented-radius);background:var(--chures-segmented-bg);overflow-x:auto;scrollbar-width:none}:where(._SegmentedControlContainer_ga29h_2)::-webkit-scrollbar{display:none}:where(._Disabled_ga29h_20){opacity:.45;cursor:not-allowed}:where(._Highlight_ga29h_25){position:absolute;top:var(--chures-segmented-pad);bottom:var(--chures-segmented-pad);border-radius:max(0rem,calc(var(--chures-segmented-radius) - var(--chures-segmented-pad)));background:var(--chures-segmented-highlight);pointer-events:none}:where(._Option_ga29h_34){position:relative;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;padding:.5rem 1rem;border:0;border-radius:max(0rem,calc(var(--chures-segmented-radius) - var(--chures-segmented-pad)));background:transparent;color:var(--chures-segmented-fg);font-family:inherit;font-size:var(--chures-font-sm);font-weight:500;white-space:nowrap;cursor:pointer;transition:color .2s ease}:where(._Option_ga29h_34):hover:not(:disabled){color:var(--chures-segmented-fg-active)}:where(._Option_ga29h_34):disabled{cursor:not-allowed}:where(._OptionDisabled_ga29h_61){opacity:.45}:where(._Selected_ga29h_65){color:var(--chures-segmented-fg-active)}:where(._CheckboxContainer_14vl9_4){display:inline-flex;align-items:center;gap:.5rem;cursor:pointer;-webkit-user-select:none;user-select:none}:where(._CheckboxContainer_14vl9_4._disabled_14vl9_12){opacity:.45;cursor:not-allowed}:where(._BoxWrapper_14vl9_17){position:relative;display:inline-flex;flex-shrink:0;width:var(--chures-checkbox-size, 1.125rem);height:var(--chures-checkbox-size, 1.125rem)}:where(._BoxWrapper_14vl9_17) input{position:absolute;inset:0;margin:0;cursor:pointer;opacity:0}:where(._CheckboxContainer_14vl9_4._disabled_14vl9_12) ._BoxWrapper_14vl9_17 input{cursor:not-allowed}:where(._Box_14vl9_17){position:absolute;inset:0;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--chures-checkbox-radius, .3125rem);border:1px solid var(--chures-checkbox-border, rgb(255 255 255 / 25%));background:var(--chures-checkbox-bg, transparent);color:transparent;pointer-events:none;transition:background .16s ease,border-color .16s ease,color .16s ease}:where(._BoxWrapper_14vl9_17) input:checked+:where(._Box_14vl9_17){background:var(--chures-checkbox-bg-on, var(--chures-accent, #229ED9));border-color:var(--chures-checkbox-bg-on, var(--chures-accent, #229ED9));color:var(--chures-checkbox-tick, #ffffff)}:where(._BoxWrapper_14vl9_17) input:focus-visible+:where(._Box_14vl9_17){outline:2px solid var(--chures-accent, #229ED9);outline-offset:.125rem}:where(._Label_14vl9_62){font-size:var(--chures-font-sm, .875rem);color:var(--chures-fg, #ffffff)}@layer chures-defaults{:root{--chures-accent: #229ED9;--chures-accent-muted: rgb(34 158 217 / 50%);--chures-btn-from: #2AABEE;--chures-btn-to: #229ED9;--chures-button-bg: var(--chures-accent);--chures-error: #ef4444;--chures-warn: #f59e0b;--chures-bg: #000000;--chures-fg: #ffffff;--chures-fg-muted: #9ca3af;--chures-surface: #000000;--chures-font-sm: .875rem;--chures-font-xs: .75rem;--chures-input-bg: #111111;--chures-input-height: 3rem;--chures-input-radius: .75rem;--chures-skeleton-shine: #1e1e1e;--chures-toggle-width: 2.75rem;--chures-toggle-height: 1.5rem;--chures-toggle-thumb: 1.125rem;--chures-toggle-bg-off: rgb(255 255 255 / 13%);--chures-toggle-bg-on: var(--chures-accent);--chures-toggle-thumb-color: #ffffff;--chures-toggle-label-skeleton-w: 5rem;--chures-dropdown-bg: var(--chures-bg);--chures-dropdown-radius: .75rem;--chures-dropdown-row-radius: .375rem;--chures-dropdown-border: var(--chures-accent);--chures-dropdown-border-subtle: var(--chures-accent-muted);--chures-dropdown-hover: rgb(255 255 255 / 8%);--chures-dropdown-create-bg: rgb(34 158 217 / 12%);--chures-dropdown-create-bg-hover: rgb(34 158 217 / 20%);--chures-dropdown-trigger-border: rgb(255 255 255 / 22%);--chures-dropdown-trigger-border-hover: rgb(255 255 255 / 38%);--chures-dropdown-trigger-focus-ring: rgb(34 158 217 / 15%);--chures-dropdown-chip-border: rgb(34 158 217 / 30%);--chures-dropdown-panel-gap: .375rem;--chures-dropdown-icon-size: 1rem;--chures-dropdown-glass-bg: rgb(255 255 255 / 6%);--chures-dropdown-glass-blur: 1.25rem;--chures-dialog-glass-bg: rgb(255 255 255 / 6%);--chures-dialog-glass-blur: 1.25rem;--chures-overlay: rgb(0 0 0 / 58%);--chures-side-drawer-size: 22rem;--chures-flyout-bg: #0d0d0d;--chures-flyout-min-width: 10rem;--chures-flyout-border: rgb(255 255 255 / 11%);--chures-flyout-radius: .5rem;--chures-flyout-shadow: rgb(0 0 0 / 80%);--chures-flyout-fg: rgb(255 255 255 / 55%);--chures-flyout-fg-strong: rgb(255 255 255 / 92%);--chures-flyout-fg-muted: rgb(255 255 255 / 32%);--chures-flyout-hover: rgb(255 255 255 / 4%);--chures-flyout-skeleton: rgb(255 255 255 / 7%);--chures-flyout-font: .8125rem;--chures-flyout-font-sm: .6875rem;--chures-flyout-font-md: .75rem;--chures-flyout-font-mono: "JetBrains Mono", ui-monospace, sfmono-regular, menlo, monospace;--chures-segmented-bg: var(--chures-input-bg);--chures-segmented-radius: var(--chures-input-radius);--chures-segmented-pad: .25rem;--chures-segmented-highlight: var(--chures-accent);--chures-segmented-fg: var(--chures-fg-muted);--chures-segmented-fg-active: var(--chures-fg);--chures-segmented-gap: .25rem}}@keyframes _panelIn_5x7b0_1{0%{opacity:0;transform:scale(.96) translateY(6px)}to{opacity:1;transform:none}}@keyframes _panelInAbove_5x7b0_1{0%{opacity:0;transform:scale(.96) translateY(-6px)}to{opacity:1;transform:none}}@keyframes _shimmer_5x7b0_1{0%{background-position:-200% center}to{background-position:200% center}}._DropdownContainer_5x7b0_18{position:relative;width:100%}._PanelWrapper_5x7b0_25{position:absolute;top:calc(100% + var(--chures-dropdown-panel-gap));left:0;width:100%;animation:_panelIn_5x7b0_1 .14s ease}._PanelWrapper_5x7b0_25._Portal_5x7b0_39{position:fixed;width:auto;margin:var(--chures-dropdown-panel-gap) 0}._PanelWrapper_5x7b0_25._Above_5x7b0_47{top:auto;transform-origin:bottom center;animation-name:_panelInAbove_5x7b0_1}._PanelContainer_5x7b0_23{background:var(--chures-dropdown-bg);border:1px solid var(--chures-dropdown-border);border-radius:var(--chures-dropdown-radius);overflow:hidden;display:flex;flex-direction:column;max-height:var(--dropdown-available-height, none);box-shadow:0 1rem 3rem #000c}._PanelContainer_5x7b0_23._Glass_5x7b0_64{background:var(--chures-dropdown-glass-bg, rgb(255 255 255 / 6%));backdrop-filter:blur(var(--chures-dropdown-glass-blur, 1.25rem));-webkit-backdrop-filter:blur(var(--chures-dropdown-glass-blur, 1.25rem))}._Label_5x7b0_70{position:absolute;left:.875rem;top:50%;transform:translateY(-50%);transform-origin:left center;color:var(--chures-fg-muted);font-size:var(--chures-font-sm);pointer-events:none;transition:all .18s ease;padding:0 .25rem;border-radius:.1875rem}._Label_5x7b0_70._WithIcon_5x7b0_84:not(._lifted_5x7b0_84){left:calc(.875rem + var(--chures-dropdown-icon-size) + .5rem)}._Label_5x7b0_70._lifted_5x7b0_84{top:0;transform:translateY(-50%) scale(.82);background:var(--chures-input-bg);color:var(--chures-fg-muted)}._TriggerContainer_5x7b0_95{width:100%;height:var(--chures-input-height);background:var(--chures-input-bg);border:1px solid var(--chures-dropdown-trigger-border);border-radius:var(--chures-input-radius);color:var(--chures-fg);font-size:var(--chures-font-sm);font-family:inherit;padding:0 .875rem;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:.5rem;text-align:left;overflow:hidden;transition:border-color .15s ease,box-shadow .15s ease}._TriggerContainer_5x7b0_95:hover{border-color:var(--chures-dropdown-trigger-border-hover)}._TriggerContainer_5x7b0_95._Open_5x7b0_119{border-color:var(--chures-accent);box-shadow:0 0 0 .1875rem var(--chures-dropdown-trigger-focus-ring)}._TriggerPlaceholder_5x7b0_124{color:var(--chures-fg-muted);flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._TriggerValue_5x7b0_132{color:var(--chures-fg);flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._TriggerIcon_5x7b0_140{color:var(--chures-fg-muted);flex-shrink:0;display:flex;align-items:center}._ChipsWrapper_5x7b0_147{display:flex;flex-wrap:nowrap;gap:.25rem;flex:1;overflow-x:auto;overflow-y:hidden;min-width:0;align-items:center;margin:.375rem 0;scrollbar-width:none;-ms-overflow-style:none}._ChipsWrapper_5x7b0_147::-webkit-scrollbar{display:none}._ChipsWrapper_5x7b0_147._Expand_5x7b0_165{flex-wrap:wrap;overflow:visible;row-gap:.25rem}._TriggerContainer_5x7b0_95._MultiSelect_5x7b0_171 ._TriggerIcon_5x7b0_140{align-self:flex-start;height:var(--chures-input-height)}._TriggerContainer_5x7b0_95._ExpandHeight_5x7b0_176{height:auto;min-height:var(--chures-input-height)}._TriggerContainer_5x7b0_95._RichValue_5x7b0_181{height:auto;min-height:calc(var(--chures-input-height) * 1.25);padding:.625rem .875rem}._TriggerContainer_5x7b0_95._WithIcon_5x7b0_84{padding-left:calc(.875rem + var(--chures-dropdown-icon-size) + .5rem)}._LeadingIcon_5x7b0_191{position:absolute;left:.875rem;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:var(--chures-dropdown-icon-size);height:var(--chures-dropdown-icon-size);color:var(--chures-fg-muted);pointer-events:none}._TriggerValueRich_5x7b0_205{flex:1;min-width:0;overflow:hidden}._Chip_5x7b0_147{display:inline-flex;align-items:center;flex-shrink:0;background:var(--chures-dropdown-create-bg);border:1px solid var(--chures-dropdown-chip-border);border-radius:624.9375rem;padding:.15rem .5rem;font-size:var(--chures-font-xs);color:var(--chures-fg);white-space:nowrap;line-height:1.4}._SearchRow_5x7b0_225{flex-shrink:0;padding:.5rem;border-bottom:1px solid var(--chures-dropdown-border-subtle)}._SearchBox_5x7b0_231{display:flex;align-items:center;gap:.5rem;background:var(--chures-input-bg);border:1px solid var(--chures-dropdown-border-subtle);border-radius:var(--chures-dropdown-row-radius);padding:.4rem .625rem}._SearchIcon_5x7b0_241{display:flex;align-items:center;color:var(--chures-fg-muted);flex-shrink:0}._SearchInput_5x7b0_248{flex:1;background:transparent;border:none;outline:none;font-size:var(--chures-font-sm);color:var(--chures-fg);font-family:inherit}._SearchInput_5x7b0_248::placeholder{color:var(--chures-fg-muted)}._ResultsList_5x7b0_262{max-height:13rem;min-height:0;overflow-y:auto}._OptionRow_5x7b0_268{padding:.5625rem .875rem;font-size:var(--chures-font-sm);color:var(--chures-fg-muted);cursor:pointer;transition:background .1s ease,color .1s ease;display:flex;align-items:center;gap:.5rem}._OptionRow_5x7b0_268:hover{background:var(--chures-dropdown-hover);color:var(--chures-fg)}._OptionRow_5x7b0_268._Selected_5x7b0_283{color:var(--chures-fg)}._OptionRow_5x7b0_268._Indented_5x7b0_287{padding-left:1.875rem}._OptionRow_5x7b0_268._Disabled_5x7b0_291{cursor:not-allowed;opacity:.5}._OptionRow_5x7b0_268._Disabled_5x7b0_291:hover{background:transparent;color:var(--chures-fg-muted)}._GroupHeader_5x7b0_302{padding:.5625rem .875rem .25rem;font-size:var(--chures-font-xs);color:var(--chures-fg-muted);text-transform:uppercase;letter-spacing:.03em}._GroupHeader_5x7b0_302:not(:first-child){margin-top:.25rem;border-top:1px solid var(--chures-dropdown-border-subtle)}._CheckSlot_5x7b0_317{display:inline-flex;align-items:center;flex-shrink:0;width:0;margin-right:-.5rem;overflow:hidden;color:var(--chures-accent);transition:width .18s ease,margin-right .18s ease}._CheckSlot_5x7b0_317._Checked_5x7b0_327{width:1rem;margin-right:0}._CheckIcon_5x7b0_333{width:.75rem;height:.75rem;flex-shrink:0}._CheckIcon_5x7b0_333 path{stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset .22s ease .06s}._CheckSlot_5x7b0_317._Checked_5x7b0_327 ._CheckIcon_5x7b0_333 path{stroke-dashoffset:0}@media(prefers-reduced-motion:reduce){._CheckSlot_5x7b0_317,._CheckIcon_5x7b0_333 path{transition:none}}._CreateRow_5x7b0_360{display:flex;align-items:center;gap:.625rem;padding:.5625rem .875rem;cursor:pointer;background:var(--chures-dropdown-create-bg);transition:background .1s ease}._CreateRow_5x7b0_360:hover{background:var(--chures-dropdown-create-bg-hover)}._CreateRow_5x7b0_360._WithBorder_5x7b0_373{border-top:1px solid var(--chures-dropdown-border-subtle)}._CreateIcon_5x7b0_378{display:inline-flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;border-radius:50%;background:var(--chures-accent);color:#fff;flex-shrink:0}._CreateLabel_5x7b0_390{font-size:var(--chures-font-sm);font-weight:600;color:var(--chures-fg)}._EmptyHint_5x7b0_396{padding:.75rem .875rem;font-size:var(--chures-font-sm);color:var(--chures-fg-muted);font-style:italic}._SkeletonRow_5x7b0_403{height:2rem;margin:.375rem .875rem;border-radius:var(--chures-dropdown-row-radius);background:linear-gradient(90deg,var(--chures-dropdown-bg) 25%,var(--chures-skeleton-shine) 50%,var(--chures-dropdown-bg) 75%);background-size:200% 100%;animation:_shimmer_5x7b0_1 1.4s infinite linear}._ConfirmWrapper_1tq4o_4{width:100%;max-width:24rem;animation:_confirmIn_1tq4o_1 .28s cubic-bezier(.2,.7,.2,1) both}@keyframes _confirmIn_1tq4o_1{0%{opacity:0;transform:translateY(.75rem) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}._ConfirmContainer_1tq4o_1{width:100%;background:var(--chures-surface, #000000);border:1px solid rgb(255 255 255 / 14%);border-radius:1.25rem;padding:1.75rem 1.75rem 1.5rem;box-shadow:0 32px 80px -20px #000c}._Glass_1tq4o_24{background:var(--chures-dialog-glass-bg, rgb(255 255 255 / 6%));backdrop-filter:blur(var(--chures-dialog-glass-blur, 1.25rem));-webkit-backdrop-filter:blur(var(--chures-dialog-glass-blur, 1.25rem))}._ConfirmTitle_1tq4o_30{font-size:1.25rem;font-weight:600;letter-spacing:-.02em;color:var(--chures-fg, #ffffff);margin-bottom:.75rem}._ConfirmMessage_1tq4o_38{font-size:.875rem;color:var(--chures-fg-muted, #9ca3af);line-height:1.5;letter-spacing:-.005em}._ConfirmActions_1tq4o_45{display:flex;align-items:center;justify-content:flex-end;gap:.625rem;margin-top:1.5rem}._BtnCancel_1tq4o_53{display:inline-flex;align-items:center;padding:.625rem 1.125rem;border-radius:.625rem;border:1px solid rgb(255 255 255 / 14%);background:transparent;color:var(--chures-fg-muted, #9ca3af);font-size:.8125rem;font-weight:500;font-family:inherit;cursor:pointer;transition:background .16s ease,color .16s ease}._BtnCancel_1tq4o_53:hover:not(:disabled){background:#ffffff14;color:var(--chures-fg, #ffffff)}._BtnConfirm_1tq4o_73{display:inline-flex;align-items:center;padding:.625rem 1.125rem;border-radius:.625rem;border:1px solid var(--chures-accent, #229ED9);background:var(--chures-accent, #229ED9);color:#fff;font-size:.8125rem;font-weight:600;font-family:inherit;cursor:pointer;transition:filter .16s ease,opacity .16s ease}._BtnConfirm_1tq4o_73:hover:not(:disabled){filter:brightness(1.06)}._BtnDanger_1tq4o_92{display:inline-flex;align-items:center;padding:.625rem 1.125rem;border-radius:.625rem;border:1px solid rgb(239 68 68 / 40%);background:transparent;color:var(--chures-error, #ef4444);font-size:.8125rem;font-weight:600;font-family:inherit;cursor:pointer;transition:background .16s ease,border-color .16s ease}._BtnDanger_1tq4o_92:hover:not(:disabled){background:#ef44441a;border-color:var(--chures-error, #ef4444)}._BtnConfirm_1tq4o_73:disabled,._BtnDanger_1tq4o_92:disabled,._BtnCancel_1tq4o_53:disabled{opacity:.4;cursor:not-allowed}._InfoWrapper_cqv58_4{width:100%;max-width:24rem;animation:_infoIn_cqv58_1 .28s cubic-bezier(.2,.7,.2,1) both}@keyframes _infoIn_cqv58_1{0%{opacity:0;transform:translateY(.75rem) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}._InfoContainer_cqv58_1{width:100%;background:var(--chures-surface, #000000);border:1px solid rgb(255 255 255 / 14%);border-radius:1.25rem;padding:1.75rem 1.75rem 1.5rem;box-shadow:0 32px 80px -20px #000c}._Glass_cqv58_24{background:var(--chures-dialog-glass-bg, rgb(255 255 255 / 6%));backdrop-filter:blur(var(--chures-dialog-glass-blur, 1.25rem));-webkit-backdrop-filter:blur(var(--chures-dialog-glass-blur, 1.25rem))}._InfoTitle_cqv58_30{font-size:1.25rem;font-weight:600;letter-spacing:-.02em;color:var(--chures-fg, #ffffff);margin-bottom:.75rem}._InfoMessage_cqv58_38{font-size:.875rem;color:var(--chures-fg-muted, #9ca3af);line-height:1.5;letter-spacing:-.005em}._InfoActions_cqv58_45{display:flex;align-items:center;justify-content:flex-end;margin-top:1.5rem}._BtnClose_cqv58_52{display:inline-flex;align-items:center;padding:.625rem 1.125rem;border-radius:.625rem;border:1px solid rgb(255 255 255 / 14%);background:transparent;color:var(--chures-fg-muted, #9ca3af);font-size:.8125rem;font-weight:500;font-family:inherit;cursor:pointer;transition:background .16s ease,color .16s ease}._BtnClose_cqv58_52:hover{background:#ffffff14;color:var(--chures-fg, #ffffff)}:where(._Backdrop_1w1e3_7){position:fixed;inset:0;background:var(--chures-overlay, rgb(0 0 0 / 58%));opacity:0;pointer-events:none;transition:opacity .26s ease}:where(._BackdropOpen_1w1e3_16){opacity:1;pointer-events:auto}:where(._Panel_1w1e3_21){position:fixed;display:flex;flex-direction:column;overflow:hidden;background:var(--chures-surface, #000000);box-shadow:0 0 3rem #00000059;transition:transform .28s cubic-bezier(.32,0,0,1)}:where(._Right_1w1e3_31){top:0;right:0;bottom:0;width:var(--chures-side-drawer-size, 22rem);max-width:100vw;transform:translate(100%)}:where(._Left_1w1e3_40){top:0;bottom:0;left:0;width:var(--chures-side-drawer-size, 22rem);max-width:100vw;transform:translate(-100%)}:where(._Top_1w1e3_49){top:0;left:0;right:0;height:var(--chures-side-drawer-size, 22rem);max-height:100vh;transform:translateY(-100%)}:where(._Bottom_1w1e3_58){left:0;right:0;bottom:0;height:var(--chures-side-drawer-size, 22rem);max-height:100vh;transform:translateY(100%)}:where(._PanelOpen_1w1e3_67){transform:translate(0)}@layer chures-defaults{:root{--chures-accent: #229ED9;--chures-accent-muted: rgb(34 158 217 / 50%);--chures-btn-from: #2AABEE;--chures-btn-to: #229ED9;--chures-button-bg: var(--chures-accent);--chures-error: #ef4444;--chures-warn: #f59e0b;--chures-bg: #000000;--chures-fg: #ffffff;--chures-fg-muted: #9ca3af;--chures-surface: #000000;--chures-font-sm: .875rem;--chures-font-xs: .75rem;--chures-input-bg: #111111;--chures-input-height: 3rem;--chures-input-radius: .75rem;--chures-skeleton-shine: #1e1e1e;--chures-toggle-width: 2.75rem;--chures-toggle-height: 1.5rem;--chures-toggle-thumb: 1.125rem;--chures-toggle-bg-off: rgb(255 255 255 / 13%);--chures-toggle-bg-on: var(--chures-accent);--chures-toggle-thumb-color: #ffffff;--chures-toggle-label-skeleton-w: 5rem;--chures-dropdown-bg: var(--chures-bg);--chures-dropdown-radius: .75rem;--chures-dropdown-row-radius: .375rem;--chures-dropdown-border: var(--chures-accent);--chures-dropdown-border-subtle: var(--chures-accent-muted);--chures-dropdown-hover: rgb(255 255 255 / 8%);--chures-dropdown-create-bg: rgb(34 158 217 / 12%);--chures-dropdown-create-bg-hover: rgb(34 158 217 / 20%);--chures-dropdown-trigger-border: rgb(255 255 255 / 22%);--chures-dropdown-trigger-border-hover: rgb(255 255 255 / 38%);--chures-dropdown-trigger-focus-ring: rgb(34 158 217 / 15%);--chures-dropdown-chip-border: rgb(34 158 217 / 30%);--chures-dropdown-panel-gap: .375rem;--chures-dropdown-icon-size: 1rem;--chures-dropdown-glass-bg: rgb(255 255 255 / 6%);--chures-dropdown-glass-blur: 1.25rem;--chures-dialog-glass-bg: rgb(255 255 255 / 6%);--chures-dialog-glass-blur: 1.25rem;--chures-overlay: rgb(0 0 0 / 58%);--chures-side-drawer-size: 22rem;--chures-flyout-bg: #0d0d0d;--chures-flyout-min-width: 10rem;--chures-flyout-border: rgb(255 255 255 / 11%);--chures-flyout-radius: .5rem;--chures-flyout-shadow: rgb(0 0 0 / 80%);--chures-flyout-fg: rgb(255 255 255 / 55%);--chures-flyout-fg-strong: rgb(255 255 255 / 92%);--chures-flyout-fg-muted: rgb(255 255 255 / 32%);--chures-flyout-hover: rgb(255 255 255 / 4%);--chures-flyout-skeleton: rgb(255 255 255 / 7%);--chures-flyout-font: .8125rem;--chures-flyout-font-sm: .6875rem;--chures-flyout-font-md: .75rem;--chures-flyout-font-mono: "JetBrains Mono", ui-monospace, sfmono-regular, menlo, monospace;--chures-segmented-bg: var(--chures-input-bg);--chures-segmented-radius: var(--chures-input-radius);--chures-segmented-pad: .25rem;--chures-segmented-highlight: var(--chures-accent);--chures-segmented-fg: var(--chures-fg-muted);--chures-segmented-fg-active: var(--chures-fg);--chures-segmented-gap: .25rem}}._FlyoutMenuContainer_1q0ma_5{display:contents}._Backdrop_1q0ma_9{position:fixed;inset:0}._Panel_1q0ma_14{position:fixed;display:flex;flex-direction:column;min-width:var(--chures-flyout-min-width);padding:.35rem;background:var(--chures-flyout-bg);border:1px solid var(--chures-flyout-border);border-radius:var(--chures-flyout-radius);box-shadow:0 1rem 2.5rem -.75rem var(--chures-flyout-shadow);overflow-y:auto}._Submenu_1q0ma_27{position:fixed;display:flex;flex-direction:column;min-width:var(--chures-flyout-min-width);background:var(--chures-flyout-bg);border:1px solid var(--chures-flyout-border);border-radius:var(--chures-flyout-radius);box-shadow:0 1rem 2.5rem -.75rem var(--chures-flyout-shadow);overflow-y:auto}._FlyoutPanelContainer_1q0ma_41{display:flex;flex-direction:column;gap:.15rem}._Back_1q0ma_9{display:flex;align-items:center;justify-content:flex-start;gap:.4rem;padding:.4rem .55rem;border:1px solid transparent;border-radius:var(--chures-flyout-radius);background:transparent;color:var(--chures-flyout-fg);font-size:var(--chures-flyout-font);text-align:left;cursor:pointer;transition:background .14s ease,color .14s ease}._Back_1q0ma_9:hover{background:var(--chures-flyout-hover);color:var(--chures-flyout-fg-strong)}._Chevron_1q0ma_68{flex-shrink:0;color:var(--chures-flyout-fg-muted)}._MenuListContainer_1q0ma_75{display:flex;flex-direction:column;gap:.15rem}._Heading_1q0ma_81{padding:.35rem .55rem .25rem;color:var(--chures-flyout-fg-muted);font-family:var(--chures-flyout-font-mono);font-size:var(--chures-flyout-font-sm);letter-spacing:.06rem;text-transform:uppercase}._Divider_1q0ma_90{height:1px;margin:.3rem .2rem;background:var(--chures-flyout-border)}._MenuRowContainer_1q0ma_98{display:flex}._MenuRowContainer_1q0ma_98._Dim_1q0ma_102{opacity:.5}._Row_1q0ma_106{display:flex;flex:1;min-width:0;align-items:center;justify-content:flex-start;gap:.5rem;padding:.4rem .55rem;overflow:hidden;border:1px solid transparent;border-radius:var(--chures-flyout-radius);background:transparent;color:var(--chures-flyout-fg);font-size:var(--chures-flyout-font);text-align:left;cursor:pointer;transition:background .14s ease,color .14s ease}._Row_1q0ma_106:hover:not(:disabled){background:var(--chures-flyout-hover);color:var(--chures-flyout-fg-strong)}._Row_1q0ma_106:disabled{color:var(--chures-flyout-fg-muted);cursor:default}._Icon_1q0ma_135{display:flex;flex-shrink:0}._Label_1q0ma_140{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._Arrow_1q0ma_148{flex-shrink:0;color:var(--chures-flyout-fg-muted);font-size:var(--chures-flyout-font-md)}._MenuSkeletonContainer_1q0ma_156{display:flex;flex-direction:column;gap:.15rem;padding:.35rem .5rem}._MenuSkeletonRow_1q0ma_163{height:1.75rem;border-radius:var(--chures-flyout-radius);background:var(--chures-flyout-skeleton);animation:_churesFlyoutSkeletonPulse_1q0ma_1 1.5s ease-in-out infinite}._MenuSkeletonRow_1q0ma_163:nth-child(2){animation-delay:.15s}._MenuSkeletonRow_1q0ma_163:nth-child(3){animation-delay:.3s}@keyframes _churesFlyoutSkeletonPulse_1q0ma_1{0%,to{opacity:1}50%{opacity:.4}}._MenuSearchFieldContainer_1q0ma_191{overflow:hidden;padding-bottom:.35rem}')),document.head.appendChild(e)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
|
|
2
|
+
import { jsx as t, jsxs as m, Fragment as $ } from "react/jsx-runtime";
|
|
3
|
+
import { createContext as Ge, useContext as Ve, useRef as x, useState as k, useEffect as E, forwardRef as hn, useId as _n, useCallback as A, useLayoutEffect as he, Fragment as ke, useMemo as Ke } from "react";
|
|
4
|
+
import { AnimatePresence as we, motion as se, useReducedMotion as fn } from "framer-motion";
|
|
5
|
+
import { create as pn } from "zustand";
|
|
6
|
+
import { createPortal as Be } from "react-dom";
|
|
7
|
+
function mn(e) {
|
|
8
8
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
9
9
|
}
|
|
10
10
|
var Ie = { exports: {} };
|
|
11
|
-
var
|
|
12
|
-
function
|
|
13
|
-
return
|
|
11
|
+
var Me;
|
|
12
|
+
function gn() {
|
|
13
|
+
return Me || (Me = 1, (function(e) {
|
|
14
14
|
(function() {
|
|
15
15
|
var n = {}.hasOwnProperty;
|
|
16
16
|
function r() {
|
|
17
|
-
for (var
|
|
17
|
+
for (var s = "", i = 0; i < arguments.length; i++) {
|
|
18
18
|
var c = arguments[i];
|
|
19
|
-
c && (
|
|
19
|
+
c && (s = a(s, o(c)));
|
|
20
20
|
}
|
|
21
|
-
return
|
|
21
|
+
return s;
|
|
22
22
|
}
|
|
23
|
-
function
|
|
24
|
-
if (typeof
|
|
25
|
-
return
|
|
26
|
-
if (typeof
|
|
23
|
+
function o(s) {
|
|
24
|
+
if (typeof s == "string" || typeof s == "number")
|
|
25
|
+
return s;
|
|
26
|
+
if (typeof s != "object")
|
|
27
27
|
return "";
|
|
28
|
-
if (Array.isArray(
|
|
29
|
-
return r.apply(null,
|
|
30
|
-
if (
|
|
31
|
-
return
|
|
28
|
+
if (Array.isArray(s))
|
|
29
|
+
return r.apply(null, s);
|
|
30
|
+
if (s.toString !== Object.prototype.toString && !s.toString.toString().includes("[native code]"))
|
|
31
|
+
return s.toString();
|
|
32
32
|
var i = "";
|
|
33
|
-
for (var c in
|
|
34
|
-
n.call(
|
|
33
|
+
for (var c in s)
|
|
34
|
+
n.call(s, c) && s[c] && (i = a(i, c));
|
|
35
35
|
return i;
|
|
36
36
|
}
|
|
37
|
-
function s
|
|
38
|
-
return i ?
|
|
37
|
+
function a(s, i) {
|
|
38
|
+
return i ? s ? s + " " + i : s + i : s;
|
|
39
39
|
}
|
|
40
40
|
e.exports ? (r.default = r, e.exports = r) : window.classNames = r;
|
|
41
41
|
})();
|
|
42
42
|
})(Ie)), Ie.exports;
|
|
43
43
|
}
|
|
44
|
-
var
|
|
45
|
-
const C = /* @__PURE__ */
|
|
46
|
-
LoaderContainer:
|
|
47
|
-
sm:
|
|
48
|
-
md:
|
|
49
|
-
lg:
|
|
50
|
-
Arc1:
|
|
51
|
-
Arc2:
|
|
52
|
-
Arc3:
|
|
53
|
-
spin:
|
|
54
|
-
Ring1:
|
|
55
|
-
Ring2:
|
|
56
|
-
Ring3:
|
|
57
|
-
ripple:
|
|
58
|
-
Dot1:
|
|
59
|
-
Dot2:
|
|
60
|
-
Dot3:
|
|
61
|
-
dotPulse:
|
|
62
|
-
Wave1:
|
|
63
|
-
Wave2:
|
|
64
|
-
Wave3:
|
|
65
|
-
Wave4:
|
|
66
|
-
Wave5:
|
|
67
|
-
waveBounce:
|
|
68
|
-
},
|
|
69
|
-
function
|
|
70
|
-
const r =
|
|
44
|
+
var Cn = gn();
|
|
45
|
+
const C = /* @__PURE__ */ mn(Cn), vn = "_LoaderContainer_wa8op_24", wn = "_sm_wa8op_31", bn = "_md_wa8op_32", yn = "_lg_wa8op_33", Nn = "_Arc1_wa8op_37", kn = "_Arc2_wa8op_38", In = "_Arc3_wa8op_39", xn = "_spin_wa8op_1", Sn = "_Ring1_wa8op_71", Rn = "_Ring2_wa8op_72", Tn = "_Ring3_wa8op_73", Ln = "_ripple_wa8op_1", Dn = "_Dot1_wa8op_86", Bn = "_Dot2_wa8op_87", An = "_Dot3_wa8op_88", En = "_dotPulse_wa8op_1", Pn = "_Wave1_wa8op_105", Mn = "_Wave2_wa8op_106", On = "_Wave3_wa8op_107", Wn = "_Wave4_wa8op_108", Fn = "_Wave5_wa8op_109", Hn = "_waveBounce_wa8op_1", ge = {
|
|
46
|
+
LoaderContainer: vn,
|
|
47
|
+
sm: wn,
|
|
48
|
+
md: bn,
|
|
49
|
+
lg: yn,
|
|
50
|
+
Arc1: Nn,
|
|
51
|
+
Arc2: kn,
|
|
52
|
+
Arc3: In,
|
|
53
|
+
spin: xn,
|
|
54
|
+
Ring1: Sn,
|
|
55
|
+
Ring2: Rn,
|
|
56
|
+
Ring3: Tn,
|
|
57
|
+
ripple: Ln,
|
|
58
|
+
Dot1: Dn,
|
|
59
|
+
Dot2: Bn,
|
|
60
|
+
Dot3: An,
|
|
61
|
+
dotPulse: En,
|
|
62
|
+
Wave1: Pn,
|
|
63
|
+
Wave2: Mn,
|
|
64
|
+
Wave3: On,
|
|
65
|
+
Wave4: Wn,
|
|
66
|
+
Wave5: Fn,
|
|
67
|
+
waveBounce: Hn
|
|
68
|
+
}, ze = Ge({});
|
|
69
|
+
function L(e, n) {
|
|
70
|
+
const r = Ve(ze);
|
|
71
71
|
return n ?? r[e];
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function qn(e, n) {
|
|
74
74
|
switch (e) {
|
|
75
75
|
case "ripple":
|
|
76
76
|
return /* @__PURE__ */ m($, { children: [
|
|
77
|
-
/* @__PURE__ */
|
|
78
|
-
/* @__PURE__ */
|
|
79
|
-
/* @__PURE__ */
|
|
77
|
+
/* @__PURE__ */ t("div", { className: n.Ring1 }),
|
|
78
|
+
/* @__PURE__ */ t("div", { className: n.Ring2 }),
|
|
79
|
+
/* @__PURE__ */ t("div", { className: n.Ring3 })
|
|
80
80
|
] });
|
|
81
81
|
case "dots":
|
|
82
82
|
return /* @__PURE__ */ m($, { children: [
|
|
83
|
-
/* @__PURE__ */
|
|
84
|
-
/* @__PURE__ */
|
|
85
|
-
/* @__PURE__ */
|
|
83
|
+
/* @__PURE__ */ t("div", { className: n.Dot1 }),
|
|
84
|
+
/* @__PURE__ */ t("div", { className: n.Dot2 }),
|
|
85
|
+
/* @__PURE__ */ t("div", { className: n.Dot3 })
|
|
86
86
|
] });
|
|
87
87
|
case "wave":
|
|
88
88
|
return /* @__PURE__ */ m($, { children: [
|
|
89
|
-
/* @__PURE__ */
|
|
90
|
-
/* @__PURE__ */
|
|
91
|
-
/* @__PURE__ */
|
|
92
|
-
/* @__PURE__ */
|
|
93
|
-
/* @__PURE__ */
|
|
89
|
+
/* @__PURE__ */ t("div", { className: n.Wave1 }),
|
|
90
|
+
/* @__PURE__ */ t("div", { className: n.Wave2 }),
|
|
91
|
+
/* @__PURE__ */ t("div", { className: n.Wave3 }),
|
|
92
|
+
/* @__PURE__ */ t("div", { className: n.Wave4 }),
|
|
93
|
+
/* @__PURE__ */ t("div", { className: n.Wave5 })
|
|
94
94
|
] });
|
|
95
95
|
default:
|
|
96
96
|
return /* @__PURE__ */ m($, { children: [
|
|
97
|
-
/* @__PURE__ */
|
|
98
|
-
/* @__PURE__ */
|
|
99
|
-
/* @__PURE__ */
|
|
97
|
+
/* @__PURE__ */ t("div", { className: n.Arc1 }),
|
|
98
|
+
/* @__PURE__ */ t("div", { className: n.Arc2 }),
|
|
99
|
+
/* @__PURE__ */ t("div", { className: n.Arc3 })
|
|
100
100
|
] });
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
|
-
function
|
|
104
|
-
const
|
|
105
|
-
return /* @__PURE__ */
|
|
103
|
+
function Un({ variant: e = "arcs", size: n = "md", color: r, className: o }) {
|
|
104
|
+
const a = L("Loader", o);
|
|
105
|
+
return /* @__PURE__ */ t(
|
|
106
106
|
"div",
|
|
107
107
|
{
|
|
108
|
-
className: C(
|
|
108
|
+
className: C(ge.LoaderContainer, ge[n], ge[e], a),
|
|
109
109
|
role: "status",
|
|
110
110
|
"aria-label": "Loading",
|
|
111
111
|
style: r ? { "--chures-accent": r } : void 0,
|
|
112
|
-
children:
|
|
112
|
+
children: qn(e, ge)
|
|
113
113
|
}
|
|
114
114
|
);
|
|
115
115
|
}
|
|
116
|
-
const
|
|
117
|
-
LoadingWrapperContainer:
|
|
118
|
-
SkeletonWrapper:
|
|
116
|
+
const $n = "_LoadingWrapperContainer_1q0w7_1", jn = "_SkeletonWrapper_1q0w7_9", Oe = {
|
|
117
|
+
LoadingWrapperContainer: $n,
|
|
118
|
+
SkeletonWrapper: jn
|
|
119
119
|
};
|
|
120
|
-
function
|
|
121
|
-
const
|
|
122
|
-
return e ? r ? /* @__PURE__ */
|
|
123
|
-
}
|
|
124
|
-
const
|
|
125
|
-
function
|
|
126
|
-
const { botId: n, redirectUri: r, requestAccess:
|
|
127
|
-
|
|
128
|
-
const
|
|
129
|
-
|
|
120
|
+
function Aa({ isLoading: e, children: n, skeleton: r, loaderProps: o, className: a }) {
|
|
121
|
+
const s = L("LoadingWrapper", a);
|
|
122
|
+
return e ? r ? /* @__PURE__ */ t("div", { className: C(Oe.SkeletonWrapper, s), children: r }) : /* @__PURE__ */ t("div", { className: C(Oe.LoadingWrapperContainer, s), children: /* @__PURE__ */ t(Un, { ...o }) }) : /* @__PURE__ */ t($, { children: n });
|
|
123
|
+
}
|
|
124
|
+
const Gn = "https://oauth.telegram.org/js/telegram-login.js?3";
|
|
125
|
+
function Vn(e) {
|
|
126
|
+
const { botId: n, redirectUri: r, requestAccess: o = "write" } = e, a = x(e.onSuccess);
|
|
127
|
+
a.current = e.onSuccess;
|
|
128
|
+
const s = x(!1), [i, c] = k(!1), [d, u] = k(!1);
|
|
129
|
+
E(function() {
|
|
130
130
|
if (!n) return;
|
|
131
131
|
const h = r ?? window.location.origin;
|
|
132
132
|
u(!0), c(!1);
|
|
133
133
|
const g = document.createElement("script");
|
|
134
|
-
return g.src =
|
|
134
|
+
return g.src = Gn, g.async = !0, g.onload = function() {
|
|
135
135
|
const b = window.Telegram;
|
|
136
136
|
b && (b.Login.init(
|
|
137
137
|
{ client_id: n, redirect_uri: h },
|
|
138
138
|
function(w) {
|
|
139
|
-
|
|
139
|
+
s.current || (s.current = !0, a.current(w));
|
|
140
140
|
}
|
|
141
141
|
), c(!0)), u(!1);
|
|
142
142
|
}, g.onerror = function() {
|
|
@@ -148,27 +148,27 @@ function $n(e) {
|
|
|
148
148
|
function l() {
|
|
149
149
|
const h = window.Telegram;
|
|
150
150
|
if (!i || !h) return;
|
|
151
|
-
|
|
151
|
+
s.current = !1;
|
|
152
152
|
const g = r ?? window.location.origin;
|
|
153
153
|
h.Login.auth(
|
|
154
|
-
{ client_id: n, redirect_uri: g, request_access:
|
|
154
|
+
{ client_id: n, redirect_uri: g, request_access: o },
|
|
155
155
|
function(b) {
|
|
156
|
-
|
|
156
|
+
s.current || (s.current = !0, a.current(b));
|
|
157
157
|
}
|
|
158
158
|
);
|
|
159
159
|
}
|
|
160
160
|
return { login: l, isReady: i, isLoading: d };
|
|
161
161
|
}
|
|
162
|
-
const
|
|
163
|
-
TelegramSignInButtonContainer:
|
|
164
|
-
FullSize:
|
|
165
|
-
Icon:
|
|
166
|
-
},
|
|
162
|
+
const Kn = "_TelegramSignInButtonContainer_10wun_1", zn = "_FullSize_10wun_46", Xn = "_Icon_10wun_50", Se = {
|
|
163
|
+
TelegramSignInButtonContainer: Kn,
|
|
164
|
+
FullSize: zn,
|
|
165
|
+
Icon: Xn
|
|
166
|
+
}, Qn = {
|
|
167
167
|
en: "Continue with Telegram",
|
|
168
168
|
ru: "Войти через Telegram"
|
|
169
169
|
};
|
|
170
|
-
function
|
|
171
|
-
return /* @__PURE__ */
|
|
170
|
+
function Yn() {
|
|
171
|
+
return /* @__PURE__ */ t(
|
|
172
172
|
"svg",
|
|
173
173
|
{
|
|
174
174
|
viewBox: "0 0 24 24",
|
|
@@ -176,82 +176,82 @@ function zn() {
|
|
|
176
176
|
height: "20",
|
|
177
177
|
fill: "currentColor",
|
|
178
178
|
"aria-hidden": "true",
|
|
179
|
-
className:
|
|
180
|
-
children: /* @__PURE__ */
|
|
179
|
+
className: Se.Icon,
|
|
180
|
+
children: /* @__PURE__ */ t("path", { d: "M22 3.5L2.5 11l5 1.7L18 6 9.7 14l-.4 5.5 3.4-3.2 5.5 4c.9.5 1.5.2 1.7-.8L22 4.3c.2-.7-.2-1.1-.9-.8z" })
|
|
181
181
|
}
|
|
182
182
|
);
|
|
183
183
|
}
|
|
184
|
-
function
|
|
184
|
+
function Jn({
|
|
185
185
|
onClick: e,
|
|
186
186
|
disabled: n,
|
|
187
187
|
lang: r = "en",
|
|
188
|
-
title:
|
|
189
|
-
label:
|
|
190
|
-
fullSize:
|
|
188
|
+
title: o,
|
|
189
|
+
label: a,
|
|
190
|
+
fullSize: s,
|
|
191
191
|
className: i
|
|
192
192
|
}) {
|
|
193
|
-
|
|
193
|
+
E(function() {
|
|
194
194
|
const l = "comfortaa-font";
|
|
195
195
|
if (document.getElementById(l)) return;
|
|
196
196
|
const h = document.createElement("link");
|
|
197
197
|
h.id = l, h.rel = "stylesheet", h.href = "https://fonts.googleapis.com/css2?family=Comfortaa:wght@600&display=swap", document.head.appendChild(h);
|
|
198
198
|
}, []);
|
|
199
|
-
const c =
|
|
199
|
+
const c = a ?? o ?? Qn[r], d = L("TelegramSignInButton", i), u = C(Se.TelegramSignInButtonContainer, { [Se.FullSize]: s }, d);
|
|
200
200
|
return /* @__PURE__ */ m("button", { type: "button", className: u, onClick: e, disabled: n, children: [
|
|
201
|
-
/* @__PURE__ */
|
|
201
|
+
/* @__PURE__ */ t(Yn, {}),
|
|
202
202
|
c
|
|
203
203
|
] });
|
|
204
204
|
}
|
|
205
|
-
function
|
|
205
|
+
function Ea({
|
|
206
206
|
botId: e,
|
|
207
207
|
onSuccess: n,
|
|
208
208
|
lang: r,
|
|
209
|
-
title:
|
|
210
|
-
redirectUri:
|
|
211
|
-
requestAccess:
|
|
209
|
+
title: o,
|
|
210
|
+
redirectUri: a,
|
|
211
|
+
requestAccess: s,
|
|
212
212
|
children: i,
|
|
213
213
|
className: c
|
|
214
214
|
}) {
|
|
215
|
-
const { login: d, isReady: u } =
|
|
216
|
-
return i ? /* @__PURE__ */
|
|
217
|
-
|
|
215
|
+
const { login: d, isReady: u } = Vn({ botId: e, onSuccess: n, redirectUri: a, requestAccess: s });
|
|
216
|
+
return i ? /* @__PURE__ */ t($, { children: i({ login: d, isReady: u }) }) : /* @__PURE__ */ t(
|
|
217
|
+
Jn,
|
|
218
218
|
{
|
|
219
219
|
onClick: d,
|
|
220
220
|
disabled: !u,
|
|
221
221
|
lang: r,
|
|
222
|
-
title:
|
|
222
|
+
title: o,
|
|
223
223
|
className: c
|
|
224
224
|
}
|
|
225
225
|
);
|
|
226
226
|
}
|
|
227
|
-
let
|
|
228
|
-
const
|
|
227
|
+
let Zn = 0;
|
|
228
|
+
const Xe = pn((e, n) => ({
|
|
229
229
|
toasts: [],
|
|
230
230
|
bake: (r) => {
|
|
231
|
-
const
|
|
232
|
-
e((
|
|
233
|
-
n().dismiss(
|
|
231
|
+
const o = Zn++;
|
|
232
|
+
e((a) => ({ toasts: [...a.toasts, { ...r, id: o }] })), setTimeout(() => {
|
|
233
|
+
n().dismiss(o);
|
|
234
234
|
}, 5e3);
|
|
235
235
|
},
|
|
236
236
|
dismiss: (r) => {
|
|
237
|
-
e((
|
|
238
|
-
toasts:
|
|
237
|
+
e((o) => ({
|
|
238
|
+
toasts: o.toasts.filter((a) => a.id !== r)
|
|
239
239
|
}));
|
|
240
240
|
}
|
|
241
|
-
})),
|
|
242
|
-
ToastContainer:
|
|
243
|
-
Toast:
|
|
244
|
-
error:
|
|
245
|
-
warn:
|
|
246
|
-
info:
|
|
247
|
-
Description:
|
|
248
|
-
DismissButton:
|
|
249
|
-
slideIn:
|
|
250
|
-
slideOut:
|
|
241
|
+
})), et = "_ToastContainer_1tme2_1", nt = "_Toast_1tme2_1", tt = "_error_1tme2_33", ot = "_warn_1tme2_41", rt = "_info_1tme2_49", at = "_Description_1tme2_53", st = "_DismissButton_1tme2_59", it = "_slideIn_1tme2_79", ct = "_slideOut_1tme2_83", z = {
|
|
242
|
+
ToastContainer: et,
|
|
243
|
+
Toast: nt,
|
|
244
|
+
error: tt,
|
|
245
|
+
warn: ot,
|
|
246
|
+
info: rt,
|
|
247
|
+
Description: at,
|
|
248
|
+
DismissButton: st,
|
|
249
|
+
slideIn: it,
|
|
250
|
+
slideOut: ct
|
|
251
251
|
};
|
|
252
|
-
function
|
|
253
|
-
const { toasts: n } =
|
|
254
|
-
return /* @__PURE__ */
|
|
252
|
+
function Pa({ className: e } = {}) {
|
|
253
|
+
const { toasts: n } = Xe(), r = L("Toaster", e);
|
|
254
|
+
return /* @__PURE__ */ t("div", { className: C(z.ToastContainer, r), children: /* @__PURE__ */ t(we, { children: n.map((o) => /* @__PURE__ */ t(
|
|
255
255
|
se.div,
|
|
256
256
|
{
|
|
257
257
|
layout: !0,
|
|
@@ -259,173 +259,332 @@ function Ns({ className: e } = {}) {
|
|
|
259
259
|
animate: { opacity: 1, x: 0, y: 0 },
|
|
260
260
|
exit: { opacity: 0, y: -50 },
|
|
261
261
|
transition: { type: "spring", stiffness: 300, damping: 20 },
|
|
262
|
-
children: /* @__PURE__ */
|
|
262
|
+
children: /* @__PURE__ */ t(lt, { ...o })
|
|
263
263
|
},
|
|
264
|
-
|
|
264
|
+
o.id
|
|
265
265
|
)) }) });
|
|
266
266
|
}
|
|
267
|
-
function
|
|
268
|
-
const [
|
|
269
|
-
return
|
|
267
|
+
function lt({ id: e, title: n, description: r, level: o, isDismissable: a }) {
|
|
268
|
+
const [s, i] = k(!1), c = Xe();
|
|
269
|
+
return E(() => () => {
|
|
270
270
|
i(!0);
|
|
271
271
|
}, []), /* @__PURE__ */ m(
|
|
272
272
|
"div",
|
|
273
273
|
{
|
|
274
|
-
className: C(
|
|
275
|
-
[
|
|
276
|
-
[
|
|
277
|
-
[
|
|
278
|
-
[
|
|
279
|
-
[
|
|
274
|
+
className: C(z.Toast, {
|
|
275
|
+
[z.error]: o === "Error",
|
|
276
|
+
[z.warn]: o === "Warn",
|
|
277
|
+
[z.info]: o == null || o === "Info",
|
|
278
|
+
[z.slideIn]: !s,
|
|
279
|
+
[z.slideOut]: s
|
|
280
280
|
}),
|
|
281
281
|
children: [
|
|
282
|
-
/* @__PURE__ */
|
|
283
|
-
/* @__PURE__ */
|
|
284
|
-
|
|
282
|
+
/* @__PURE__ */ t("div", { children: n }),
|
|
283
|
+
/* @__PURE__ */ t("div", { className: z.Description, children: r }),
|
|
284
|
+
a && e !== void 0 && /* @__PURE__ */ t("div", { className: z.DismissButton, onClick: () => c.dismiss(e), children: "×" })
|
|
285
285
|
]
|
|
286
286
|
}
|
|
287
287
|
);
|
|
288
288
|
}
|
|
289
|
-
const
|
|
290
|
-
InputContainer:
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
/* @__PURE__ */
|
|
307
|
-
"
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
289
|
+
const ut = "_InputContainer_15tk2_15", dt = "_InputBox_15tk2_22", ht = "_InputField_15tk2_28", _t = "_hasStartIcon_15tk2_42", ft = "_hasEndIcon_15tk2_46", pt = "_StartIcon_15tk2_50", mt = "_EndIcon_15tk2_61", gt = "_Label_15tk2_77", Ct = "_hasError_15tk2_81", vt = "_disabled_15tk2_86", wt = "_lifted_15tk2_105", bt = "_ErrorText_15tk2_121", yt = "_Skeleton_15tk2_137", O = {
|
|
290
|
+
InputContainer: ut,
|
|
291
|
+
InputBox: dt,
|
|
292
|
+
InputField: ht,
|
|
293
|
+
hasStartIcon: _t,
|
|
294
|
+
hasEndIcon: ft,
|
|
295
|
+
StartIcon: pt,
|
|
296
|
+
EndIcon: mt,
|
|
297
|
+
Label: gt,
|
|
298
|
+
hasError: Ct,
|
|
299
|
+
disabled: vt,
|
|
300
|
+
lifted: wt,
|
|
301
|
+
ErrorText: bt,
|
|
302
|
+
Skeleton: yt
|
|
303
|
+
}, Nt = hn(function({ value: n, setValue: r, label: o, isLoader: a, type: s = "text", disabled: i, error: c, className: d, inputClassName: u, startIcon: l, endIcon: h, ...g }, b) {
|
|
304
|
+
const [w, S] = k(!1), W = w || n.length > 0, R = L("Input", d), { onFocus: _, onBlur: v, ...T } = g;
|
|
305
|
+
return a ? /* @__PURE__ */ t("div", { className: C(O.Skeleton, R), "aria-hidden": "true" }) : /* @__PURE__ */ m("div", { className: C(O.InputContainer, { [O.hasError]: !!c, [O.disabled]: i }, R), children: [
|
|
306
|
+
/* @__PURE__ */ m("div", { className: O.InputBox, children: [
|
|
307
|
+
l && /* @__PURE__ */ t("span", { className: O.StartIcon, children: l }),
|
|
308
|
+
/* @__PURE__ */ t(
|
|
309
|
+
"input",
|
|
310
|
+
{
|
|
311
|
+
ref: b,
|
|
312
|
+
className: C(O.InputField, { [O.hasStartIcon]: !!l, [O.hasEndIcon]: !!h }, u),
|
|
313
|
+
type: s,
|
|
314
|
+
value: n,
|
|
315
|
+
onChange: (y) => r(y.target.value),
|
|
316
|
+
onFocus: (y) => {
|
|
317
|
+
S(!0), _?.(y);
|
|
318
|
+
},
|
|
319
|
+
onBlur: (y) => {
|
|
320
|
+
S(!1), v?.(y);
|
|
321
|
+
},
|
|
322
|
+
disabled: i,
|
|
323
|
+
...T
|
|
324
|
+
}
|
|
325
|
+
),
|
|
326
|
+
o && /* @__PURE__ */ t("label", { className: C(O.Label, { [O.lifted]: W }), children: o }),
|
|
327
|
+
h && /* @__PURE__ */ t("span", { className: O.EndIcon, children: h })
|
|
328
|
+
] }),
|
|
329
|
+
c && /* @__PURE__ */ t("span", { className: O.ErrorText, children: c })
|
|
327
330
|
] });
|
|
328
|
-
}),
|
|
329
|
-
ToggleContainer:
|
|
330
|
-
disabled:
|
|
331
|
-
Track:
|
|
332
|
-
on:
|
|
333
|
-
Thumb:
|
|
334
|
-
Label:
|
|
335
|
-
LabelSkeleton:
|
|
336
|
-
Skeleton:
|
|
331
|
+
}), kt = "_ToggleContainer_1jetc_6", It = "_disabled_1jetc_13", xt = "_Track_1jetc_18", St = "_on_1jetc_31", Rt = "_Thumb_1jetc_39", Tt = "_Label_1jetc_57", Lt = "_LabelSkeleton_1jetc_63", Dt = "_Skeleton_1jetc_78", U = {
|
|
332
|
+
ToggleContainer: kt,
|
|
333
|
+
disabled: It,
|
|
334
|
+
Track: xt,
|
|
335
|
+
on: St,
|
|
336
|
+
Thumb: Rt,
|
|
337
|
+
Label: Tt,
|
|
338
|
+
LabelSkeleton: Lt,
|
|
339
|
+
Skeleton: Dt
|
|
337
340
|
};
|
|
338
|
-
function
|
|
339
|
-
const d = !!r || i, u =
|
|
340
|
-
return
|
|
341
|
-
|
|
342
|
-
/* @__PURE__ */
|
|
343
|
-
|
|
344
|
-
] }) : /* @__PURE__ */
|
|
345
|
-
|
|
346
|
-
/* @__PURE__ */
|
|
341
|
+
function Ma({ checked: e, onChange: n, label: r, labelPosition: o = "right", disabled: a, isLoader: s, isLoadingLabel: i, className: c }) {
|
|
342
|
+
const d = !!r || i, u = L("Toggle", c), l = i ? /* @__PURE__ */ t("span", { className: U.LabelSkeleton, "aria-hidden": "true" }) : r ? /* @__PURE__ */ t("span", { className: U.Label, children: r }) : null;
|
|
343
|
+
return s ? d ? /* @__PURE__ */ m("div", { className: C(U.ToggleContainer, u), children: [
|
|
344
|
+
o === "left" && l,
|
|
345
|
+
/* @__PURE__ */ t("div", { className: U.Skeleton, "aria-hidden": "true" }),
|
|
346
|
+
o === "right" && l
|
|
347
|
+
] }) : /* @__PURE__ */ t("div", { className: C(U.Skeleton, u), "aria-hidden": "true" }) : /* @__PURE__ */ m("label", { className: C(U.ToggleContainer, { [U.disabled]: a }, u), children: [
|
|
348
|
+
o === "left" && l,
|
|
349
|
+
/* @__PURE__ */ t(
|
|
347
350
|
"button",
|
|
348
351
|
{
|
|
349
352
|
role: "switch",
|
|
350
353
|
"aria-checked": e,
|
|
351
354
|
className: C(U.Track, { [U.on]: e }),
|
|
352
|
-
onClick: () => !
|
|
353
|
-
disabled:
|
|
355
|
+
onClick: () => !a && n(!e),
|
|
356
|
+
disabled: a,
|
|
354
357
|
type: "button",
|
|
355
|
-
children: /* @__PURE__ */
|
|
358
|
+
children: /* @__PURE__ */ t("span", { className: U.Thumb })
|
|
359
|
+
}
|
|
360
|
+
),
|
|
361
|
+
o === "right" && l
|
|
362
|
+
] });
|
|
363
|
+
}
|
|
364
|
+
const Bt = "_AccordionContainer_atyoj_1", At = "_Header_atyoj_5", Et = "_Heading_atyoj_27", Pt = "_Chevron_atyoj_34", Mt = "_Title_atyoj_41", Ot = "_Meta_atyoj_47", Wt = "_Panel_atyoj_53", Ft = "_PanelContent_atyoj_62", Ht = "_isOpen_atyoj_67", G = {
|
|
365
|
+
AccordionContainer: Bt,
|
|
366
|
+
Header: At,
|
|
367
|
+
Heading: Et,
|
|
368
|
+
Chevron: Pt,
|
|
369
|
+
Title: Mt,
|
|
370
|
+
Meta: Ot,
|
|
371
|
+
Panel: Wt,
|
|
372
|
+
PanelContent: Ft,
|
|
373
|
+
isOpen: Ht
|
|
374
|
+
}, qt = "_Btn_1wp07_10", Ut = "_Unstyled_1wp07_35", $t = "_Primary_1wp07_52", jt = "_Secondary_1wp07_67", Gt = "_Ghost_1wp07_79", Vt = "_IconDanger_1wp07_91", Kt = "_Danger_1wp07_112", te = {
|
|
375
|
+
Btn: qt,
|
|
376
|
+
Unstyled: Ut,
|
|
377
|
+
Primary: $t,
|
|
378
|
+
Secondary: jt,
|
|
379
|
+
Ghost: Gt,
|
|
380
|
+
IconDanger: Vt,
|
|
381
|
+
Danger: Kt
|
|
382
|
+
}, zt = {
|
|
383
|
+
primary: te.Primary,
|
|
384
|
+
secondary: te.Secondary,
|
|
385
|
+
danger: te.Danger,
|
|
386
|
+
ghost: te.Ghost,
|
|
387
|
+
iconDanger: te.IconDanger,
|
|
388
|
+
unstyled: te.Unstyled
|
|
389
|
+
};
|
|
390
|
+
function Ae({ variant: e = "default", className: n, children: r, ...o }) {
|
|
391
|
+
const a = L("Button", n);
|
|
392
|
+
return /* @__PURE__ */ t(
|
|
393
|
+
"button",
|
|
394
|
+
{
|
|
395
|
+
type: "button",
|
|
396
|
+
...o,
|
|
397
|
+
className: C(!(e === "unstyled") && te.Btn, zt[e], a),
|
|
398
|
+
children: r
|
|
399
|
+
}
|
|
400
|
+
);
|
|
401
|
+
}
|
|
402
|
+
function Qe({ size: e = 14, strokeWidth: n = 2, className: r }) {
|
|
403
|
+
return /* @__PURE__ */ t(
|
|
404
|
+
"svg",
|
|
405
|
+
{
|
|
406
|
+
viewBox: "0 0 24 24",
|
|
407
|
+
width: e,
|
|
408
|
+
height: e,
|
|
409
|
+
fill: "none",
|
|
410
|
+
stroke: "currentColor",
|
|
411
|
+
strokeWidth: n,
|
|
412
|
+
strokeLinecap: "round",
|
|
413
|
+
strokeLinejoin: "round",
|
|
414
|
+
className: r,
|
|
415
|
+
children: /* @__PURE__ */ t("polyline", { points: "6 9 12 15 18 9" })
|
|
416
|
+
}
|
|
417
|
+
);
|
|
418
|
+
}
|
|
419
|
+
function Xt({ size: e = 18, strokeWidth: n = 2.5, shrink: r = !0 }) {
|
|
420
|
+
return /* @__PURE__ */ t(
|
|
421
|
+
"svg",
|
|
422
|
+
{
|
|
423
|
+
viewBox: "0 0 24 24",
|
|
424
|
+
width: e,
|
|
425
|
+
height: e,
|
|
426
|
+
fill: "none",
|
|
427
|
+
stroke: "currentColor",
|
|
428
|
+
strokeWidth: n,
|
|
429
|
+
strokeLinecap: "round",
|
|
430
|
+
strokeLinejoin: "round",
|
|
431
|
+
style: r ? { flexShrink: 0 } : void 0,
|
|
432
|
+
children: /* @__PURE__ */ t("polyline", { points: "20 6 9 17 4 12" })
|
|
433
|
+
}
|
|
434
|
+
);
|
|
435
|
+
}
|
|
436
|
+
function Oa() {
|
|
437
|
+
return /* @__PURE__ */ m(
|
|
438
|
+
"svg",
|
|
439
|
+
{
|
|
440
|
+
viewBox: "0 0 24 24",
|
|
441
|
+
width: "14",
|
|
442
|
+
height: "14",
|
|
443
|
+
fill: "none",
|
|
444
|
+
stroke: "currentColor",
|
|
445
|
+
strokeWidth: "1.6",
|
|
446
|
+
strokeLinecap: "round",
|
|
447
|
+
strokeLinejoin: "round",
|
|
448
|
+
children: [
|
|
449
|
+
/* @__PURE__ */ t("path", { d: "M12 20h9" }),
|
|
450
|
+
/* @__PURE__ */ t("path", { d: "M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4z" })
|
|
451
|
+
]
|
|
452
|
+
}
|
|
453
|
+
);
|
|
454
|
+
}
|
|
455
|
+
function Wa() {
|
|
456
|
+
return /* @__PURE__ */ m(
|
|
457
|
+
"svg",
|
|
458
|
+
{
|
|
459
|
+
viewBox: "0 0 24 24",
|
|
460
|
+
width: "14",
|
|
461
|
+
height: "14",
|
|
462
|
+
fill: "none",
|
|
463
|
+
stroke: "white",
|
|
464
|
+
strokeWidth: "2",
|
|
465
|
+
strokeLinecap: "round",
|
|
466
|
+
strokeLinejoin: "round",
|
|
467
|
+
children: [
|
|
468
|
+
/* @__PURE__ */ t("path", { d: "M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2" }),
|
|
469
|
+
/* @__PURE__ */ t("circle", { cx: "12", cy: "7", r: "4" })
|
|
470
|
+
]
|
|
471
|
+
}
|
|
472
|
+
);
|
|
473
|
+
}
|
|
474
|
+
function Qt({ size: e = 14, strokeWidth: n = 2, className: r }) {
|
|
475
|
+
return /* @__PURE__ */ m(
|
|
476
|
+
"svg",
|
|
477
|
+
{
|
|
478
|
+
viewBox: "0 0 24 24",
|
|
479
|
+
width: e,
|
|
480
|
+
height: e,
|
|
481
|
+
fill: "none",
|
|
482
|
+
stroke: "currentColor",
|
|
483
|
+
strokeWidth: n,
|
|
484
|
+
strokeLinecap: "round",
|
|
485
|
+
strokeLinejoin: "round",
|
|
486
|
+
className: r,
|
|
487
|
+
children: [
|
|
488
|
+
/* @__PURE__ */ t("circle", { cx: "11", cy: "11", r: "7" }),
|
|
489
|
+
/* @__PURE__ */ t("line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" })
|
|
490
|
+
]
|
|
491
|
+
}
|
|
492
|
+
);
|
|
493
|
+
}
|
|
494
|
+
function Fa({ title: e, meta: n, isOpen: r, onToggle: o, children: a, className: s }) {
|
|
495
|
+
const i = L("Accordion", s), c = _n();
|
|
496
|
+
function d() {
|
|
497
|
+
o(!r);
|
|
498
|
+
}
|
|
499
|
+
return /* @__PURE__ */ m("div", { className: C(G.AccordionContainer, { [G.isOpen]: r }, i), children: [
|
|
500
|
+
/* @__PURE__ */ m(
|
|
501
|
+
Ae,
|
|
502
|
+
{
|
|
503
|
+
variant: "unstyled",
|
|
504
|
+
className: G.Header,
|
|
505
|
+
"aria-expanded": r,
|
|
506
|
+
"aria-controls": c,
|
|
507
|
+
onClick: d,
|
|
508
|
+
children: [
|
|
509
|
+
/* @__PURE__ */ m("span", { className: G.Heading, children: [
|
|
510
|
+
/* @__PURE__ */ t(Qe, { className: G.Chevron }),
|
|
511
|
+
/* @__PURE__ */ t("span", { className: G.Title, children: e })
|
|
512
|
+
] }),
|
|
513
|
+
n != null && /* @__PURE__ */ t("span", { className: G.Meta, children: n })
|
|
514
|
+
]
|
|
356
515
|
}
|
|
357
516
|
),
|
|
358
|
-
t
|
|
517
|
+
/* @__PURE__ */ t("div", { id: c, className: G.Panel, "aria-hidden": !r, children: /* @__PURE__ */ t("div", { className: G.PanelContent, children: a }) })
|
|
359
518
|
] });
|
|
360
519
|
}
|
|
361
|
-
const
|
|
362
|
-
SegmentedControlContainer:
|
|
363
|
-
Disabled:
|
|
364
|
-
Highlight:
|
|
365
|
-
Option:
|
|
366
|
-
OptionDisabled:
|
|
367
|
-
Selected:
|
|
368
|
-
},
|
|
369
|
-
function
|
|
370
|
-
const
|
|
520
|
+
const Yt = "_SegmentedControlContainer_ga29h_2", Jt = "_Disabled_ga29h_20", Zt = "_Highlight_ga29h_25", eo = "_Option_ga29h_34", no = "_OptionDisabled_ga29h_61", to = "_Selected_ga29h_65", ae = {
|
|
521
|
+
SegmentedControlContainer: Yt,
|
|
522
|
+
Disabled: Jt,
|
|
523
|
+
Highlight: Zt,
|
|
524
|
+
Option: eo,
|
|
525
|
+
OptionDisabled: no,
|
|
526
|
+
Selected: to
|
|
527
|
+
}, oo = 0.35;
|
|
528
|
+
function Ha({ options: e, value: n, onChange: r, disabled: o, className: a }) {
|
|
529
|
+
const s = L("SegmentedControl", a), i = fn(), c = x(/* @__PURE__ */ new Map()), d = x(null), u = x(n), [l, h] = k(null), g = A(() => {
|
|
371
530
|
const _ = c.current.get(n);
|
|
372
531
|
return _ ? { left: _.offsetLeft, width: _.offsetWidth } : null;
|
|
373
|
-
}, [n]), b =
|
|
532
|
+
}, [n]), b = A((_) => {
|
|
374
533
|
const v = g();
|
|
375
534
|
if (!v) {
|
|
376
535
|
d.current = null, h(null);
|
|
377
536
|
return;
|
|
378
537
|
}
|
|
379
|
-
const
|
|
380
|
-
if (d.current = v, !_ || !
|
|
538
|
+
const T = d.current;
|
|
539
|
+
if (d.current = v, !_ || !T || i) {
|
|
381
540
|
h({ left: [v.left], width: [v.width], duration: 0 });
|
|
382
541
|
return;
|
|
383
542
|
}
|
|
384
|
-
const y = Math.min(
|
|
543
|
+
const y = Math.min(T.left, v.left), F = Math.max(T.left + T.width, v.left + v.width);
|
|
385
544
|
h({
|
|
386
|
-
left: [
|
|
387
|
-
width: [
|
|
388
|
-
duration:
|
|
545
|
+
left: [T.left, y, v.left],
|
|
546
|
+
width: [T.width, F - y, v.width],
|
|
547
|
+
duration: oo
|
|
389
548
|
});
|
|
390
549
|
}, [g, i]);
|
|
391
|
-
|
|
550
|
+
he(() => {
|
|
392
551
|
const _ = u.current !== n;
|
|
393
552
|
u.current = n, b(_);
|
|
394
|
-
}, [n, e, b]),
|
|
553
|
+
}, [n, e, b]), E(() => {
|
|
395
554
|
const _ = new ResizeObserver(() => b(!1));
|
|
396
555
|
return c.current.forEach((v) => _.observe(v)), () => _.disconnect();
|
|
397
556
|
}, [e, b]);
|
|
398
557
|
const w = e.filter((_) => !_.disabled), S = w.some((_) => _.value === n) ? n : w[0]?.value;
|
|
399
|
-
function
|
|
400
|
-
if (
|
|
401
|
-
const v = _.key === "ArrowRight" || _.key === "ArrowDown",
|
|
402
|
-
if (!v && !
|
|
558
|
+
function W(_) {
|
|
559
|
+
if (o) return;
|
|
560
|
+
const v = _.key === "ArrowRight" || _.key === "ArrowDown", T = _.key === "ArrowLeft" || _.key === "ArrowUp";
|
|
561
|
+
if (!v && !T) return;
|
|
403
562
|
_.preventDefault();
|
|
404
|
-
const y = w.findIndex((
|
|
405
|
-
|
|
563
|
+
const y = w.findIndex((j) => j.value === n), D = y === -1 ? 0 : (y + (v ? 1 : -1) + w.length) % w.length, P = w[D];
|
|
564
|
+
P && (r(P.value), c.current.get(P.value)?.focus());
|
|
406
565
|
}
|
|
407
566
|
function R(_) {
|
|
408
|
-
|
|
567
|
+
o || _.disabled || _.value === n || r(_.value);
|
|
409
568
|
}
|
|
410
569
|
return /* @__PURE__ */ m(
|
|
411
570
|
"div",
|
|
412
571
|
{
|
|
413
572
|
role: "radiogroup",
|
|
414
|
-
"aria-disabled":
|
|
415
|
-
className: C(
|
|
416
|
-
onKeyDown:
|
|
573
|
+
"aria-disabled": o || void 0,
|
|
574
|
+
className: C(ae.SegmentedControlContainer, { [ae.Disabled]: o }, s),
|
|
575
|
+
onKeyDown: W,
|
|
417
576
|
children: [
|
|
418
|
-
l && /* @__PURE__ */
|
|
577
|
+
l && /* @__PURE__ */ t(
|
|
419
578
|
se.span,
|
|
420
579
|
{
|
|
421
|
-
className:
|
|
580
|
+
className: ae.Highlight,
|
|
422
581
|
"aria-hidden": "true",
|
|
423
582
|
initial: !1,
|
|
424
583
|
animate: { left: l.left, width: l.width },
|
|
425
584
|
transition: { duration: l.duration, ease: "easeInOut" }
|
|
426
585
|
}
|
|
427
586
|
),
|
|
428
|
-
e.map((_) => /* @__PURE__ */
|
|
587
|
+
e.map((_) => /* @__PURE__ */ t(
|
|
429
588
|
"button",
|
|
430
589
|
{
|
|
431
590
|
ref: (v) => {
|
|
@@ -435,10 +594,10 @@ function ks({ options: e, value: n, onChange: r, disabled: t, className: s }) {
|
|
|
435
594
|
role: "radio",
|
|
436
595
|
"aria-checked": _.value === n,
|
|
437
596
|
tabIndex: _.value === S ? 0 : -1,
|
|
438
|
-
disabled:
|
|
439
|
-
className: C(
|
|
440
|
-
[
|
|
441
|
-
[
|
|
597
|
+
disabled: o || _.disabled,
|
|
598
|
+
className: C(ae.Option, {
|
|
599
|
+
[ae.Selected]: _.value === n,
|
|
600
|
+
[ae.OptionDisabled]: _.disabled
|
|
442
601
|
}),
|
|
443
602
|
onClick: () => R(_),
|
|
444
603
|
children: _.content
|
|
@@ -449,159 +608,142 @@ function ks({ options: e, value: n, onChange: r, disabled: t, className: s }) {
|
|
|
449
608
|
}
|
|
450
609
|
);
|
|
451
610
|
}
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
height: e,
|
|
459
|
-
fill: "none",
|
|
460
|
-
stroke: "currentColor",
|
|
461
|
-
strokeWidth: n,
|
|
462
|
-
strokeLinecap: "round",
|
|
463
|
-
strokeLinejoin: "round",
|
|
464
|
-
style: r ? { flexShrink: 0 } : void 0,
|
|
465
|
-
children: /* @__PURE__ */ o("polyline", { points: "20 6 9 17 4 12" })
|
|
466
|
-
}
|
|
467
|
-
);
|
|
468
|
-
}
|
|
469
|
-
const Pt = "_CheckboxContainer_14vl9_4", Ot = "_disabled_14vl9_12", Wt = "_BoxWrapper_14vl9_17", Ft = "_Box_14vl9_17", Ht = "_Label_14vl9_62", le = {
|
|
470
|
-
CheckboxContainer: Pt,
|
|
471
|
-
disabled: Ot,
|
|
472
|
-
BoxWrapper: Wt,
|
|
473
|
-
Box: Ft,
|
|
474
|
-
Label: Ht
|
|
611
|
+
const ro = "_CheckboxContainer_14vl9_4", ao = "_disabled_14vl9_12", so = "_BoxWrapper_14vl9_17", io = "_Box_14vl9_17", co = "_Label_14vl9_62", ue = {
|
|
612
|
+
CheckboxContainer: ro,
|
|
613
|
+
disabled: ao,
|
|
614
|
+
BoxWrapper: so,
|
|
615
|
+
Box: io,
|
|
616
|
+
Label: co
|
|
475
617
|
};
|
|
476
|
-
function
|
|
477
|
-
const
|
|
478
|
-
return /* @__PURE__ */ m("label", { className: C(
|
|
479
|
-
/* @__PURE__ */ m("span", { className:
|
|
480
|
-
/* @__PURE__ */
|
|
618
|
+
function qa({ checked: e, onChange: n, label: r, disabled: o, className: a }) {
|
|
619
|
+
const s = L("Checkbox", a);
|
|
620
|
+
return /* @__PURE__ */ m("label", { className: C(ue.CheckboxContainer, { [ue.disabled]: o }, s), children: [
|
|
621
|
+
/* @__PURE__ */ m("span", { className: ue.BoxWrapper, children: [
|
|
622
|
+
/* @__PURE__ */ t(
|
|
481
623
|
"input",
|
|
482
624
|
{
|
|
483
625
|
type: "checkbox",
|
|
484
626
|
checked: e,
|
|
485
627
|
onChange: (i) => n(i.target.checked),
|
|
486
|
-
disabled:
|
|
628
|
+
disabled: o
|
|
487
629
|
}
|
|
488
630
|
),
|
|
489
|
-
/* @__PURE__ */
|
|
631
|
+
/* @__PURE__ */ t("span", { className: ue.Box, children: /* @__PURE__ */ t(Xt, { size: 11, strokeWidth: 3, shrink: !1 }) })
|
|
490
632
|
] }),
|
|
491
|
-
r && /* @__PURE__ */
|
|
633
|
+
r && /* @__PURE__ */ t("span", { className: ue.Label, children: r })
|
|
492
634
|
] });
|
|
493
635
|
}
|
|
494
|
-
function
|
|
495
|
-
const [e, n] =
|
|
496
|
-
return { isOpen: e, triggerRef: r, toggleOpen:
|
|
636
|
+
function lo() {
|
|
637
|
+
const [e, n] = k(!1), r = x(null), o = A(() => n((s) => !s), []), a = A(() => n(!1), []);
|
|
638
|
+
return { isOpen: e, triggerRef: r, toggleOpen: o, close: a };
|
|
497
639
|
}
|
|
498
|
-
function
|
|
499
|
-
|
|
500
|
-
function
|
|
501
|
-
const i =
|
|
640
|
+
function uo(e, n, r) {
|
|
641
|
+
E(() => {
|
|
642
|
+
function o(s) {
|
|
643
|
+
const i = s.target;
|
|
502
644
|
e.current?.contains(i) || r?.current?.contains(i) || n();
|
|
503
645
|
}
|
|
504
|
-
function s
|
|
505
|
-
|
|
646
|
+
function a(s) {
|
|
647
|
+
s.key === "Escape" && (s.preventDefault(), s.stopPropagation(), n());
|
|
506
648
|
}
|
|
507
|
-
return document.addEventListener("mousedown",
|
|
508
|
-
document.removeEventListener("mousedown",
|
|
649
|
+
return document.addEventListener("mousedown", o, !0), document.addEventListener("keydown", a, !0), () => {
|
|
650
|
+
document.removeEventListener("mousedown", o, !0), document.removeEventListener("keydown", a, !0);
|
|
509
651
|
};
|
|
510
652
|
}, [n, e, r]);
|
|
511
653
|
}
|
|
512
|
-
function
|
|
513
|
-
const [r,
|
|
514
|
-
return
|
|
654
|
+
function ho(e, n) {
|
|
655
|
+
const [r, o] = k([]);
|
|
656
|
+
return E(() => {
|
|
515
657
|
if (!n) return;
|
|
516
|
-
let
|
|
517
|
-
return n(e).then((
|
|
518
|
-
|
|
658
|
+
let a = !1;
|
|
659
|
+
return n(e).then((s) => {
|
|
660
|
+
a || o(s);
|
|
519
661
|
}), () => {
|
|
520
|
-
|
|
662
|
+
a = !0;
|
|
521
663
|
};
|
|
522
664
|
}, [e, n]), r;
|
|
523
665
|
}
|
|
524
|
-
function
|
|
666
|
+
function de(e) {
|
|
525
667
|
return typeof e == "object" && e !== null && "group" in e;
|
|
526
668
|
}
|
|
527
|
-
function
|
|
528
|
-
return e.flatMap((n) =>
|
|
669
|
+
function Ye(e) {
|
|
670
|
+
return e.flatMap((n) => de(n) ? n.options : [n]);
|
|
529
671
|
}
|
|
530
672
|
function H(e) {
|
|
531
673
|
return typeof e == "string" ? e : e.id;
|
|
532
674
|
}
|
|
533
|
-
function
|
|
675
|
+
function be(e) {
|
|
534
676
|
return typeof e == "string" ? e : e.name;
|
|
535
677
|
}
|
|
536
|
-
function
|
|
678
|
+
function Je(e) {
|
|
537
679
|
return typeof e == "string" ? !1 : !!e.disabled;
|
|
538
680
|
}
|
|
539
|
-
function
|
|
681
|
+
function _o(e) {
|
|
540
682
|
return typeof e == "string" ? void 0 : e.title;
|
|
541
683
|
}
|
|
542
|
-
function
|
|
543
|
-
return e.map((r) => n.find((
|
|
544
|
-
}
|
|
545
|
-
function
|
|
546
|
-
const
|
|
547
|
-
return !(n <=
|
|
548
|
-
}
|
|
549
|
-
const
|
|
550
|
-
DropdownContainer:
|
|
551
|
-
PanelWrapper:
|
|
552
|
-
Portal:
|
|
553
|
-
Above:
|
|
554
|
-
PanelContainer:
|
|
555
|
-
Glass:
|
|
556
|
-
Label:
|
|
557
|
-
WithIcon:
|
|
558
|
-
lifted:
|
|
559
|
-
TriggerContainer:
|
|
560
|
-
Open:
|
|
561
|
-
TriggerPlaceholder:
|
|
562
|
-
TriggerValue:
|
|
563
|
-
TriggerIcon:
|
|
564
|
-
ChipsWrapper:
|
|
565
|
-
Expand:
|
|
566
|
-
MultiSelect:
|
|
567
|
-
ExpandHeight:
|
|
568
|
-
RichValue:
|
|
569
|
-
LeadingIcon:
|
|
570
|
-
TriggerValueRich:
|
|
571
|
-
Chip:
|
|
572
|
-
SearchRow:
|
|
573
|
-
SearchBox:
|
|
574
|
-
SearchIcon:
|
|
575
|
-
SearchInput:
|
|
576
|
-
ResultsList:
|
|
577
|
-
OptionRow:
|
|
578
|
-
Selected:
|
|
579
|
-
Indented:
|
|
580
|
-
Disabled:
|
|
581
|
-
GroupHeader:
|
|
582
|
-
CheckSlot:
|
|
583
|
-
Checked:
|
|
584
|
-
CheckIcon:
|
|
585
|
-
CreateRow:
|
|
586
|
-
WithBorder:
|
|
587
|
-
CreateIcon:
|
|
588
|
-
CreateLabel:
|
|
589
|
-
EmptyHint:
|
|
590
|
-
SkeletonRow:
|
|
684
|
+
function fo(e, n) {
|
|
685
|
+
return e.map((r) => n.find((o) => H(o) === r) ?? r);
|
|
686
|
+
}
|
|
687
|
+
function po({ anchorRect: e, panelHeight: n, viewportHeight: r, gap: o }) {
|
|
688
|
+
const a = Math.max(0, r - e.bottom - o), s = Math.max(0, e.top - o);
|
|
689
|
+
return !(n <= a) && s > a ? { side: "above", availableHeight: s } : { side: "below", availableHeight: a };
|
|
690
|
+
}
|
|
691
|
+
const mo = "_DropdownContainer_5x7b0_18", go = "_PanelWrapper_5x7b0_25", Co = "_Portal_5x7b0_39", vo = "_Above_5x7b0_47", wo = "_PanelContainer_5x7b0_23", bo = "_Glass_5x7b0_64", yo = "_Label_5x7b0_70", No = "_WithIcon_5x7b0_84", ko = "_lifted_5x7b0_84", Io = "_TriggerContainer_5x7b0_95", xo = "_Open_5x7b0_119", So = "_TriggerPlaceholder_5x7b0_124", Ro = "_TriggerValue_5x7b0_132", To = "_TriggerIcon_5x7b0_140", Lo = "_ChipsWrapper_5x7b0_147", Do = "_Expand_5x7b0_165", Bo = "_MultiSelect_5x7b0_171", Ao = "_ExpandHeight_5x7b0_176", Eo = "_RichValue_5x7b0_181", Po = "_LeadingIcon_5x7b0_191", Mo = "_TriggerValueRich_5x7b0_205", Oo = "_Chip_5x7b0_147", Wo = "_SearchRow_5x7b0_225", Fo = "_SearchBox_5x7b0_231", Ho = "_SearchIcon_5x7b0_241", qo = "_SearchInput_5x7b0_248", Uo = "_ResultsList_5x7b0_262", $o = "_OptionRow_5x7b0_268", jo = "_Selected_5x7b0_283", Go = "_Indented_5x7b0_287", Vo = "_Disabled_5x7b0_291", Ko = "_GroupHeader_5x7b0_302", zo = "_CheckSlot_5x7b0_317", Xo = "_Checked_5x7b0_327", Qo = "_CheckIcon_5x7b0_333", Yo = "_CreateRow_5x7b0_360", Jo = "_WithBorder_5x7b0_373", Zo = "_CreateIcon_5x7b0_378", er = "_CreateLabel_5x7b0_390", nr = "_EmptyHint_5x7b0_396", tr = "_SkeletonRow_5x7b0_403", f = {
|
|
692
|
+
DropdownContainer: mo,
|
|
693
|
+
PanelWrapper: go,
|
|
694
|
+
Portal: Co,
|
|
695
|
+
Above: vo,
|
|
696
|
+
PanelContainer: wo,
|
|
697
|
+
Glass: bo,
|
|
698
|
+
Label: yo,
|
|
699
|
+
WithIcon: No,
|
|
700
|
+
lifted: ko,
|
|
701
|
+
TriggerContainer: Io,
|
|
702
|
+
Open: xo,
|
|
703
|
+
TriggerPlaceholder: So,
|
|
704
|
+
TriggerValue: Ro,
|
|
705
|
+
TriggerIcon: To,
|
|
706
|
+
ChipsWrapper: Lo,
|
|
707
|
+
Expand: Do,
|
|
708
|
+
MultiSelect: Bo,
|
|
709
|
+
ExpandHeight: Ao,
|
|
710
|
+
RichValue: Eo,
|
|
711
|
+
LeadingIcon: Po,
|
|
712
|
+
TriggerValueRich: Mo,
|
|
713
|
+
Chip: Oo,
|
|
714
|
+
SearchRow: Wo,
|
|
715
|
+
SearchBox: Fo,
|
|
716
|
+
SearchIcon: Ho,
|
|
717
|
+
SearchInput: qo,
|
|
718
|
+
ResultsList: Uo,
|
|
719
|
+
OptionRow: $o,
|
|
720
|
+
Selected: jo,
|
|
721
|
+
Indented: Go,
|
|
722
|
+
Disabled: Vo,
|
|
723
|
+
GroupHeader: Ko,
|
|
724
|
+
CheckSlot: zo,
|
|
725
|
+
Checked: Xo,
|
|
726
|
+
CheckIcon: Qo,
|
|
727
|
+
CreateRow: Yo,
|
|
728
|
+
WithBorder: Jo,
|
|
729
|
+
CreateIcon: Zo,
|
|
730
|
+
CreateLabel: er,
|
|
731
|
+
EmptyHint: nr,
|
|
732
|
+
SkeletonRow: tr
|
|
591
733
|
};
|
|
592
|
-
function
|
|
593
|
-
function
|
|
594
|
-
|
|
734
|
+
function or({ query: e, withBorder: n, onCreate: r }) {
|
|
735
|
+
function o(a) {
|
|
736
|
+
a.preventDefault(), r();
|
|
595
737
|
}
|
|
596
738
|
return /* @__PURE__ */ m(
|
|
597
739
|
"div",
|
|
598
740
|
{
|
|
599
741
|
className: C(f.CreateRow, n && f.WithBorder),
|
|
600
|
-
onMouseDown:
|
|
742
|
+
onMouseDown: o,
|
|
601
743
|
children: [
|
|
602
|
-
/* @__PURE__ */
|
|
603
|
-
/* @__PURE__ */
|
|
604
|
-
/* @__PURE__ */
|
|
744
|
+
/* @__PURE__ */ t("span", { className: f.CreateIcon, children: /* @__PURE__ */ m("svg", { width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", children: [
|
|
745
|
+
/* @__PURE__ */ t("line", { x1: "5", y1: "1", x2: "5", y2: "9" }),
|
|
746
|
+
/* @__PURE__ */ t("line", { x1: "1", y1: "5", x2: "9", y2: "5" })
|
|
605
747
|
] }) }),
|
|
606
748
|
/* @__PURE__ */ m("span", { className: f.CreateLabel, children: [
|
|
607
749
|
"create “",
|
|
@@ -612,78 +754,78 @@ function Mo({ query: e, withBorder: n, onCreate: r }) {
|
|
|
612
754
|
}
|
|
613
755
|
);
|
|
614
756
|
}
|
|
615
|
-
function
|
|
616
|
-
function s
|
|
617
|
-
|
|
757
|
+
function rr({ label: e, icon: n, withBorder: r, onAction: o }) {
|
|
758
|
+
function a(s) {
|
|
759
|
+
s.preventDefault(), o();
|
|
618
760
|
}
|
|
619
761
|
return /* @__PURE__ */ m(
|
|
620
762
|
"div",
|
|
621
763
|
{
|
|
622
764
|
className: C(f.CreateRow, r && f.WithBorder),
|
|
623
|
-
onMouseDown:
|
|
765
|
+
onMouseDown: a,
|
|
624
766
|
children: [
|
|
625
|
-
/* @__PURE__ */
|
|
626
|
-
/* @__PURE__ */
|
|
627
|
-
/* @__PURE__ */
|
|
767
|
+
/* @__PURE__ */ t("span", { className: f.CreateIcon, children: n ?? /* @__PURE__ */ m("svg", { width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", children: [
|
|
768
|
+
/* @__PURE__ */ t("line", { x1: "5", y1: "1", x2: "5", y2: "9" }),
|
|
769
|
+
/* @__PURE__ */ t("line", { x1: "1", y1: "5", x2: "9", y2: "5" })
|
|
628
770
|
] }) }),
|
|
629
|
-
/* @__PURE__ */
|
|
771
|
+
/* @__PURE__ */ t("span", { className: f.CreateLabel, children: e })
|
|
630
772
|
]
|
|
631
773
|
}
|
|
632
774
|
);
|
|
633
775
|
}
|
|
634
|
-
function
|
|
635
|
-
return /* @__PURE__ */
|
|
776
|
+
function ar({ label: e }) {
|
|
777
|
+
return /* @__PURE__ */ t("div", { className: f.GroupHeader, children: e });
|
|
636
778
|
}
|
|
637
|
-
function
|
|
638
|
-
return /* @__PURE__ */
|
|
779
|
+
function sr({ isChecked: e }) {
|
|
780
|
+
return /* @__PURE__ */ t("span", { className: C(f.CheckSlot, e && f.Checked), "aria-hidden": "true", children: /* @__PURE__ */ t("svg", { className: f.CheckIcon, viewBox: "0 0 12 12", width: "12", height: "12", fill: "none", children: /* @__PURE__ */ t("path", { d: "M2 6.5 L4.75 9 L10 3.5", pathLength: "1" }) }) });
|
|
639
781
|
}
|
|
640
|
-
function
|
|
641
|
-
const
|
|
782
|
+
function We({ opt: e, isSelected: n, multiSelect: r, onPick: o, indented: a = !1 }) {
|
|
783
|
+
const s = Je(e);
|
|
642
784
|
function i(c) {
|
|
643
|
-
c.preventDefault(), !
|
|
785
|
+
c.preventDefault(), !s && o(e);
|
|
644
786
|
}
|
|
645
787
|
return /* @__PURE__ */ m(
|
|
646
788
|
"div",
|
|
647
789
|
{
|
|
648
|
-
className: C(f.OptionRow, n && f.Selected,
|
|
790
|
+
className: C(f.OptionRow, n && f.Selected, a && f.Indented, s && f.Disabled),
|
|
649
791
|
onMouseDown: i,
|
|
650
|
-
title:
|
|
792
|
+
title: _o(e),
|
|
651
793
|
children: [
|
|
652
|
-
r && /* @__PURE__ */
|
|
653
|
-
|
|
794
|
+
r && /* @__PURE__ */ t(sr, { isChecked: n }),
|
|
795
|
+
be(e)
|
|
654
796
|
]
|
|
655
797
|
}
|
|
656
798
|
);
|
|
657
799
|
}
|
|
658
|
-
function
|
|
659
|
-
return /* @__PURE__ */
|
|
660
|
-
/* @__PURE__ */
|
|
661
|
-
/* @__PURE__ */
|
|
662
|
-
/* @__PURE__ */
|
|
800
|
+
function ir({ inputRef: e, query: n, onChange: r, onKeyDown: o, placeholder: a }) {
|
|
801
|
+
return /* @__PURE__ */ t("div", { className: f.SearchRow, children: /* @__PURE__ */ m("div", { className: f.SearchBox, children: [
|
|
802
|
+
/* @__PURE__ */ t("span", { className: f.SearchIcon, children: /* @__PURE__ */ m("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", children: [
|
|
803
|
+
/* @__PURE__ */ t("circle", { cx: "5", cy: "5", r: "3.5" }),
|
|
804
|
+
/* @__PURE__ */ t("line", { x1: "8", y1: "8", x2: "11", y2: "11" })
|
|
663
805
|
] }) }),
|
|
664
|
-
/* @__PURE__ */
|
|
806
|
+
/* @__PURE__ */ t(
|
|
665
807
|
"input",
|
|
666
808
|
{
|
|
667
809
|
ref: e,
|
|
668
810
|
className: f.SearchInput,
|
|
669
811
|
value: n,
|
|
670
812
|
onChange: r,
|
|
671
|
-
onKeyDown:
|
|
672
|
-
placeholder:
|
|
813
|
+
onKeyDown: o,
|
|
814
|
+
placeholder: a
|
|
673
815
|
}
|
|
674
816
|
)
|
|
675
817
|
] }) });
|
|
676
818
|
}
|
|
677
|
-
function
|
|
678
|
-
return /* @__PURE__ */
|
|
819
|
+
function cr({ count: e }) {
|
|
820
|
+
return /* @__PURE__ */ t($, { children: Array.from({ length: e }).map((n, r) => /* @__PURE__ */ t("div", { className: f.SkeletonRow }, r)) });
|
|
679
821
|
}
|
|
680
|
-
function
|
|
822
|
+
function lr({
|
|
681
823
|
onSearch: e,
|
|
682
824
|
onCreate: n,
|
|
683
825
|
onPick: r,
|
|
684
|
-
onClose:
|
|
685
|
-
anchorRef:
|
|
686
|
-
placeholder:
|
|
826
|
+
onClose: o,
|
|
827
|
+
anchorRef: a,
|
|
828
|
+
placeholder: s,
|
|
687
829
|
options: i = [],
|
|
688
830
|
excluded: c = [],
|
|
689
831
|
selected: d = [],
|
|
@@ -694,226 +836,151 @@ function qo({
|
|
|
694
836
|
skeletonRowCount: b = 4,
|
|
695
837
|
onError: w = console.error,
|
|
696
838
|
glass: S = !1,
|
|
697
|
-
portal:
|
|
839
|
+
portal: W = !0,
|
|
698
840
|
renderOption: R,
|
|
699
841
|
footerAction: _
|
|
700
842
|
}) {
|
|
701
|
-
const [v,
|
|
702
|
-
|
|
703
|
-
const q = S ||
|
|
704
|
-
|
|
843
|
+
const [v, T] = k(""), [y, F] = k(!1), [D, P] = k(null), [j, Z] = k(0), [I, B] = k(0), X = x(null), oe = x(null), ie = !!e, Ne = ho(v, e);
|
|
844
|
+
uo(oe, o, a);
|
|
845
|
+
const q = S || W;
|
|
846
|
+
he(() => {
|
|
705
847
|
if (!q) return;
|
|
706
848
|
function p() {
|
|
707
|
-
|
|
849
|
+
a?.current && P(a.current.getBoundingClientRect());
|
|
708
850
|
}
|
|
709
851
|
return p(), window.addEventListener("scroll", p, !0), window.addEventListener("resize", p), () => {
|
|
710
852
|
window.removeEventListener("scroll", p, !0), window.removeEventListener("resize", p);
|
|
711
853
|
};
|
|
712
|
-
}, [q,
|
|
713
|
-
const p =
|
|
854
|
+
}, [q, a]), he(() => {
|
|
855
|
+
const p = oe.current;
|
|
714
856
|
if (!q || !p) return;
|
|
715
|
-
const
|
|
716
|
-
p.style.removeProperty(
|
|
717
|
-
}),
|
|
718
|
-
|
|
719
|
-
}, [
|
|
720
|
-
const
|
|
721
|
-
if (
|
|
722
|
-
const
|
|
723
|
-
return
|
|
857
|
+
const M = "--dropdown-available-height", me = p.style.getPropertyValue(M);
|
|
858
|
+
p.style.removeProperty(M), Z(p.offsetHeight), B(parseFloat(getComputedStyle(p).marginTop) || 0), me && p.style.setProperty(M, me);
|
|
859
|
+
}), E(() => {
|
|
860
|
+
ie && X.current?.focus();
|
|
861
|
+
}, [ie]);
|
|
862
|
+
const ce = (e ? Ne : i).flatMap((p) => {
|
|
863
|
+
if (de(p)) {
|
|
864
|
+
const M = p.options.filter((me) => !c.includes(H(me)));
|
|
865
|
+
return M.length > 0 ? [{ ...p, options: M }] : [];
|
|
724
866
|
}
|
|
725
867
|
return c.includes(H(p)) ? [] : [p];
|
|
726
|
-
}),
|
|
727
|
-
...
|
|
728
|
-
...
|
|
729
|
-
] :
|
|
730
|
-
(p) =>
|
|
731
|
-
),
|
|
732
|
-
async function
|
|
733
|
-
!
|
|
868
|
+
}), ee = l ? [
|
|
869
|
+
...ce.filter((p) => !de(p) && d.includes(H(p))),
|
|
870
|
+
...ce.filter((p) => de(p) || !d.includes(H(p)))
|
|
871
|
+
] : ce, Q = Ye(ee), le = v.trim(), an = Q.some(
|
|
872
|
+
(p) => be(p).toLowerCase() === le.toLowerCase()
|
|
873
|
+
), fe = !!n && le.length > 0 && !an;
|
|
874
|
+
async function Ee() {
|
|
875
|
+
!le || y || !n || (F(!0), n(le).then(re).catch(w).finally(() => F(!1)));
|
|
734
876
|
}
|
|
735
|
-
function
|
|
736
|
-
|
|
877
|
+
function re(p) {
|
|
878
|
+
Je(p) || (r(p), u || o());
|
|
737
879
|
}
|
|
738
|
-
function
|
|
739
|
-
_?.onAction(),
|
|
880
|
+
function sn() {
|
|
881
|
+
_?.onAction(), o();
|
|
740
882
|
}
|
|
741
|
-
function
|
|
742
|
-
|
|
883
|
+
function cn(p) {
|
|
884
|
+
T(p.target.value);
|
|
743
885
|
}
|
|
744
|
-
function
|
|
745
|
-
p.key === "Enter" && (p.preventDefault(),
|
|
886
|
+
function ln(p) {
|
|
887
|
+
p.key === "Enter" && (p.preventDefault(), Q.length > 0 ? re(Q[0]) : fe && Ee());
|
|
746
888
|
}
|
|
747
|
-
const
|
|
748
|
-
if (q && !
|
|
749
|
-
const
|
|
750
|
-
left:
|
|
751
|
-
width:
|
|
752
|
-
...
|
|
753
|
-
"--dropdown-available-height": `${
|
|
754
|
-
} : void 0,
|
|
889
|
+
const un = s ?? (n ? "search or add new…" : "search…");
|
|
890
|
+
if (q && !D) return null;
|
|
891
|
+
const pe = q && D ? po({ anchorRect: D, panelHeight: j, viewportHeight: window.innerHeight, gap: I }) : null, dn = q && D && pe ? {
|
|
892
|
+
left: D.left,
|
|
893
|
+
width: D.width,
|
|
894
|
+
...pe.side === "above" ? { bottom: window.innerHeight - D.top } : { top: D.bottom },
|
|
895
|
+
"--dropdown-available-height": `${pe.availableHeight}px`
|
|
896
|
+
} : void 0, Pe = /* @__PURE__ */ t(
|
|
755
897
|
"div",
|
|
756
898
|
{
|
|
757
|
-
ref:
|
|
899
|
+
ref: oe,
|
|
758
900
|
className: C(f.PanelWrapper, {
|
|
759
901
|
[f.Portal]: q,
|
|
760
|
-
[f.Above]:
|
|
902
|
+
[f.Above]: pe?.side === "above"
|
|
761
903
|
}),
|
|
762
|
-
style:
|
|
904
|
+
style: dn,
|
|
763
905
|
children: /* @__PURE__ */ m("div", { className: C(f.PanelContainer, { [f.Glass]: S }), children: [
|
|
764
|
-
|
|
765
|
-
|
|
906
|
+
ie && /* @__PURE__ */ t(
|
|
907
|
+
ir,
|
|
766
908
|
{
|
|
767
|
-
inputRef:
|
|
909
|
+
inputRef: X,
|
|
768
910
|
query: v,
|
|
769
|
-
onChange:
|
|
770
|
-
onKeyDown:
|
|
771
|
-
placeholder:
|
|
911
|
+
onChange: cn,
|
|
912
|
+
onKeyDown: ln,
|
|
913
|
+
placeholder: un
|
|
772
914
|
}
|
|
773
915
|
),
|
|
774
|
-
/* @__PURE__ */
|
|
775
|
-
|
|
776
|
-
/* @__PURE__ */
|
|
777
|
-
p.options.map((
|
|
778
|
-
isSelected: d.includes(H(
|
|
916
|
+
/* @__PURE__ */ t("div", { className: f.ResultsList, children: h ? /* @__PURE__ */ t(cr, { count: b }) : /* @__PURE__ */ m($, { children: [
|
|
917
|
+
ee.map((p) => de(p) ? /* @__PURE__ */ m(ke, { children: [
|
|
918
|
+
/* @__PURE__ */ t(ar, { label: p.group }),
|
|
919
|
+
p.options.map((M) => /* @__PURE__ */ t(ke, { children: R ? R(M, {
|
|
920
|
+
isSelected: d.includes(H(M)),
|
|
779
921
|
multiSelect: u,
|
|
780
922
|
indented: !0,
|
|
781
|
-
onPick: () =>
|
|
782
|
-
}) : /* @__PURE__ */
|
|
783
|
-
|
|
923
|
+
onPick: () => re(M)
|
|
924
|
+
}) : /* @__PURE__ */ t(
|
|
925
|
+
We,
|
|
784
926
|
{
|
|
785
|
-
opt:
|
|
786
|
-
isSelected: d.includes(H(
|
|
927
|
+
opt: M,
|
|
928
|
+
isSelected: d.includes(H(M)),
|
|
787
929
|
multiSelect: u,
|
|
788
|
-
onPick:
|
|
930
|
+
onPick: re,
|
|
789
931
|
indented: !0
|
|
790
932
|
}
|
|
791
|
-
) }, H(
|
|
792
|
-
] }, `group:${p.group}`) : /* @__PURE__ */
|
|
933
|
+
) }, H(M)))
|
|
934
|
+
] }, `group:${p.group}`) : /* @__PURE__ */ t(ke, { children: R ? R(p, {
|
|
793
935
|
isSelected: d.includes(H(p)),
|
|
794
936
|
multiSelect: u,
|
|
795
937
|
indented: !1,
|
|
796
|
-
onPick: () =>
|
|
797
|
-
}) : /* @__PURE__ */
|
|
798
|
-
|
|
938
|
+
onPick: () => re(p)
|
|
939
|
+
}) : /* @__PURE__ */ t(
|
|
940
|
+
We,
|
|
799
941
|
{
|
|
800
942
|
opt: p,
|
|
801
943
|
isSelected: d.includes(H(p)),
|
|
802
944
|
multiSelect: u,
|
|
803
|
-
onPick:
|
|
945
|
+
onPick: re
|
|
804
946
|
}
|
|
805
947
|
) }, H(p))),
|
|
806
|
-
|
|
807
|
-
|
|
948
|
+
fe && /* @__PURE__ */ t(
|
|
949
|
+
or,
|
|
808
950
|
{
|
|
809
|
-
query:
|
|
810
|
-
withBorder:
|
|
811
|
-
onCreate:
|
|
951
|
+
query: le,
|
|
952
|
+
withBorder: Q.length > 0,
|
|
953
|
+
onCreate: Ee
|
|
812
954
|
}
|
|
813
955
|
),
|
|
814
|
-
|
|
815
|
-
_ && /* @__PURE__ */
|
|
816
|
-
|
|
956
|
+
Q.length === 0 && !fe && /* @__PURE__ */ t("div", { className: f.EmptyHint, children: g }),
|
|
957
|
+
_ && /* @__PURE__ */ t(
|
|
958
|
+
rr,
|
|
817
959
|
{
|
|
818
960
|
label: _.label,
|
|
819
961
|
icon: _.icon,
|
|
820
|
-
withBorder:
|
|
821
|
-
onAction:
|
|
962
|
+
withBorder: Q.length > 0 || fe,
|
|
963
|
+
onAction: sn
|
|
822
964
|
}
|
|
823
965
|
)
|
|
824
966
|
] }) })
|
|
825
967
|
] })
|
|
826
968
|
}
|
|
827
969
|
);
|
|
828
|
-
return q ?
|
|
970
|
+
return q ? Be(Pe, document.body) : Pe;
|
|
829
971
|
}
|
|
830
|
-
function
|
|
831
|
-
return /* @__PURE__ */ o(
|
|
832
|
-
"svg",
|
|
833
|
-
{
|
|
834
|
-
viewBox: "0 0 24 24",
|
|
835
|
-
width: e,
|
|
836
|
-
height: e,
|
|
837
|
-
fill: "none",
|
|
838
|
-
stroke: "currentColor",
|
|
839
|
-
strokeWidth: n,
|
|
840
|
-
strokeLinecap: "round",
|
|
841
|
-
strokeLinejoin: "round",
|
|
842
|
-
className: r,
|
|
843
|
-
children: /* @__PURE__ */ o("polyline", { points: "6 9 12 15 18 9" })
|
|
844
|
-
}
|
|
845
|
-
);
|
|
846
|
-
}
|
|
847
|
-
function Ss() {
|
|
848
|
-
return /* @__PURE__ */ m(
|
|
849
|
-
"svg",
|
|
850
|
-
{
|
|
851
|
-
viewBox: "0 0 24 24",
|
|
852
|
-
width: "14",
|
|
853
|
-
height: "14",
|
|
854
|
-
fill: "none",
|
|
855
|
-
stroke: "currentColor",
|
|
856
|
-
strokeWidth: "1.6",
|
|
857
|
-
strokeLinecap: "round",
|
|
858
|
-
strokeLinejoin: "round",
|
|
859
|
-
children: [
|
|
860
|
-
/* @__PURE__ */ o("path", { d: "M12 20h9" }),
|
|
861
|
-
/* @__PURE__ */ o("path", { d: "M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4z" })
|
|
862
|
-
]
|
|
863
|
-
}
|
|
864
|
-
);
|
|
865
|
-
}
|
|
866
|
-
function Rs() {
|
|
867
|
-
return /* @__PURE__ */ m(
|
|
868
|
-
"svg",
|
|
869
|
-
{
|
|
870
|
-
viewBox: "0 0 24 24",
|
|
871
|
-
width: "14",
|
|
872
|
-
height: "14",
|
|
873
|
-
fill: "none",
|
|
874
|
-
stroke: "white",
|
|
875
|
-
strokeWidth: "2",
|
|
876
|
-
strokeLinecap: "round",
|
|
877
|
-
strokeLinejoin: "round",
|
|
878
|
-
children: [
|
|
879
|
-
/* @__PURE__ */ o("path", { d: "M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2" }),
|
|
880
|
-
/* @__PURE__ */ o("circle", { cx: "12", cy: "7", r: "4" })
|
|
881
|
-
]
|
|
882
|
-
}
|
|
883
|
-
);
|
|
884
|
-
}
|
|
885
|
-
function $o({ size: e = 14, strokeWidth: n = 2, className: r }) {
|
|
886
|
-
return /* @__PURE__ */ m(
|
|
887
|
-
"svg",
|
|
888
|
-
{
|
|
889
|
-
viewBox: "0 0 24 24",
|
|
890
|
-
width: e,
|
|
891
|
-
height: e,
|
|
892
|
-
fill: "none",
|
|
893
|
-
stroke: "currentColor",
|
|
894
|
-
strokeWidth: n,
|
|
895
|
-
strokeLinecap: "round",
|
|
896
|
-
strokeLinejoin: "round",
|
|
897
|
-
className: r,
|
|
898
|
-
children: [
|
|
899
|
-
/* @__PURE__ */ o("circle", { cx: "11", cy: "11", r: "7" }),
|
|
900
|
-
/* @__PURE__ */ o("line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" })
|
|
901
|
-
]
|
|
902
|
-
}
|
|
903
|
-
);
|
|
904
|
-
}
|
|
905
|
-
function Go({
|
|
972
|
+
function ur({
|
|
906
973
|
triggerRef: e,
|
|
907
974
|
isOpen: n,
|
|
908
975
|
onClick: r,
|
|
909
|
-
selectedOptions:
|
|
910
|
-
multiSelect:
|
|
911
|
-
placeholder:
|
|
976
|
+
selectedOptions: o,
|
|
977
|
+
multiSelect: a,
|
|
978
|
+
placeholder: s,
|
|
912
979
|
onOverflow: i = "scroll",
|
|
913
980
|
renderValue: c,
|
|
914
981
|
hasIcon: d = !1
|
|
915
982
|
}) {
|
|
916
|
-
const u = i === "expand", l = !!c && !
|
|
983
|
+
const u = i === "expand", l = !!c && !a && o.length === 1;
|
|
917
984
|
return /* @__PURE__ */ m(
|
|
918
985
|
"button",
|
|
919
986
|
{
|
|
@@ -922,7 +989,7 @@ function Go({
|
|
|
922
989
|
className: C(
|
|
923
990
|
f.TriggerContainer,
|
|
924
991
|
n && f.Open,
|
|
925
|
-
|
|
992
|
+
a && f.MultiSelect,
|
|
926
993
|
u && f.ExpandHeight,
|
|
927
994
|
l && f.RichValue,
|
|
928
995
|
d && f.WithIcon
|
|
@@ -931,19 +998,19 @@ function Go({
|
|
|
931
998
|
"aria-expanded": n,
|
|
932
999
|
"aria-haspopup": "listbox",
|
|
933
1000
|
children: [
|
|
934
|
-
|
|
935
|
-
/* @__PURE__ */
|
|
1001
|
+
a && o.length > 0 ? /* @__PURE__ */ t("div", { className: C(f.ChipsWrapper, u && f.Expand), children: o.map((h, g) => /* @__PURE__ */ t("span", { className: f.Chip, children: c ? c(h) : be(h) }, g)) }) : l ? /* @__PURE__ */ t("div", { className: f.TriggerValueRich, children: c(o[0]) }) : /* @__PURE__ */ t("span", { className: o.length === 0 ? f.TriggerPlaceholder : f.TriggerValue, children: o.length === 0 ? s : o.map(be).join(", ") }),
|
|
1002
|
+
/* @__PURE__ */ t("span", { className: f.TriggerIcon, children: /* @__PURE__ */ t(Qe, { size: 12 }) })
|
|
936
1003
|
]
|
|
937
1004
|
}
|
|
938
1005
|
);
|
|
939
1006
|
}
|
|
940
|
-
function
|
|
1007
|
+
function Ua({
|
|
941
1008
|
options: e = [],
|
|
942
1009
|
value: n,
|
|
943
1010
|
onChange: r,
|
|
944
|
-
onSearch:
|
|
945
|
-
onCreate:
|
|
946
|
-
excluded:
|
|
1011
|
+
onSearch: o,
|
|
1012
|
+
onCreate: a,
|
|
1013
|
+
excluded: s,
|
|
947
1014
|
multiSelect: i = !1,
|
|
948
1015
|
selectedAtTop: c = !1,
|
|
949
1016
|
onOverflow: d = "scroll",
|
|
@@ -954,57 +1021,57 @@ function Ls({
|
|
|
954
1021
|
isLoading: b,
|
|
955
1022
|
skeletonRowCount: w,
|
|
956
1023
|
onError: S,
|
|
957
|
-
className:
|
|
1024
|
+
className: W,
|
|
958
1025
|
glass: R = !1,
|
|
959
1026
|
portal: _ = !0,
|
|
960
1027
|
renderOption: v,
|
|
961
|
-
renderValue:
|
|
1028
|
+
renderValue: T,
|
|
962
1029
|
footerAction: y,
|
|
963
|
-
icon:
|
|
964
|
-
children:
|
|
1030
|
+
icon: F,
|
|
1031
|
+
children: D
|
|
965
1032
|
}) {
|
|
966
|
-
const { isOpen:
|
|
967
|
-
function
|
|
968
|
-
const
|
|
1033
|
+
const { isOpen: P, triggerRef: j, toggleOpen: Z, close: I } = lo(), B = L("Dropdown", W), X = fo(n, Ye(e)), oe = P || X.length > 0, ie = u && !oe ? "" : l;
|
|
1034
|
+
function Ne(ce) {
|
|
1035
|
+
const ee = H(ce);
|
|
969
1036
|
r(
|
|
970
|
-
i ? n.includes(
|
|
1037
|
+
i ? n.includes(ee) ? n.filter((Q) => Q !== ee) : [...n, ee] : [ee]
|
|
971
1038
|
);
|
|
972
1039
|
}
|
|
973
1040
|
const q = {
|
|
974
|
-
ref:
|
|
975
|
-
onClick:
|
|
976
|
-
"aria-expanded":
|
|
1041
|
+
ref: j,
|
|
1042
|
+
onClick: Z,
|
|
1043
|
+
"aria-expanded": P,
|
|
977
1044
|
"aria-haspopup": "listbox"
|
|
978
1045
|
};
|
|
979
|
-
return /* @__PURE__ */ m("div", { className: C(f.DropdownContainer,
|
|
980
|
-
u && /* @__PURE__ */
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
/* @__PURE__ */
|
|
984
|
-
|
|
1046
|
+
return /* @__PURE__ */ m("div", { className: C(f.DropdownContainer, B), children: [
|
|
1047
|
+
u && /* @__PURE__ */ t("label", { className: C(f.Label, { [f.lifted]: oe, [f.WithIcon]: !!F }), children: u }),
|
|
1048
|
+
D ? D({ selectedOptions: X, isOpen: P, toggleOpen: Z, close: I, triggerProps: q }) : /* @__PURE__ */ m($, { children: [
|
|
1049
|
+
F && /* @__PURE__ */ t("span", { className: f.LeadingIcon, children: F }),
|
|
1050
|
+
/* @__PURE__ */ t(
|
|
1051
|
+
ur,
|
|
985
1052
|
{
|
|
986
|
-
triggerRef:
|
|
987
|
-
isOpen:
|
|
988
|
-
onClick:
|
|
989
|
-
selectedOptions:
|
|
1053
|
+
triggerRef: j,
|
|
1054
|
+
isOpen: P,
|
|
1055
|
+
onClick: Z,
|
|
1056
|
+
selectedOptions: X,
|
|
990
1057
|
multiSelect: i,
|
|
991
1058
|
onOverflow: d,
|
|
992
|
-
placeholder:
|
|
993
|
-
renderValue:
|
|
994
|
-
hasIcon: !!
|
|
1059
|
+
placeholder: ie,
|
|
1060
|
+
renderValue: T,
|
|
1061
|
+
hasIcon: !!F
|
|
995
1062
|
}
|
|
996
1063
|
)
|
|
997
1064
|
] }),
|
|
998
|
-
|
|
999
|
-
|
|
1065
|
+
P && /* @__PURE__ */ t(
|
|
1066
|
+
lr,
|
|
1000
1067
|
{
|
|
1001
1068
|
options: e,
|
|
1002
|
-
onSearch:
|
|
1003
|
-
onCreate:
|
|
1004
|
-
onPick:
|
|
1005
|
-
onClose:
|
|
1006
|
-
anchorRef:
|
|
1007
|
-
excluded:
|
|
1069
|
+
onSearch: o,
|
|
1070
|
+
onCreate: a,
|
|
1071
|
+
onPick: Ne,
|
|
1072
|
+
onClose: I,
|
|
1073
|
+
anchorRef: j,
|
|
1074
|
+
excluded: s,
|
|
1008
1075
|
multiSelect: i,
|
|
1009
1076
|
selectedAtTop: c,
|
|
1010
1077
|
selected: n,
|
|
@@ -1021,71 +1088,43 @@ function Ls({
|
|
|
1021
1088
|
)
|
|
1022
1089
|
] });
|
|
1023
1090
|
}
|
|
1024
|
-
const
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
secondary: ne.Secondary,
|
|
1035
|
-
danger: ne.Danger,
|
|
1036
|
-
ghost: ne.Ghost,
|
|
1037
|
-
iconDanger: ne.IconDanger,
|
|
1038
|
-
unstyled: ne.Unstyled
|
|
1039
|
-
};
|
|
1040
|
-
function Qe({ variant: e = "default", className: n, children: r, ...t }) {
|
|
1041
|
-
const s = B("Button", n);
|
|
1042
|
-
return /* @__PURE__ */ o(
|
|
1043
|
-
"button",
|
|
1044
|
-
{
|
|
1045
|
-
type: "button",
|
|
1046
|
-
...t,
|
|
1047
|
-
className: C(!(e === "unstyled") && ne.Btn, Jo[e], s),
|
|
1048
|
-
children: r
|
|
1049
|
-
}
|
|
1050
|
-
);
|
|
1051
|
-
}
|
|
1052
|
-
const Zo = "_ConfirmWrapper_1tq4o_4", er = "_ConfirmContainer_1tq4o_1", nr = "_Glass_1tq4o_24", tr = "_ConfirmTitle_1tq4o_30", or = "_ConfirmMessage_1tq4o_38", rr = "_ConfirmActions_1tq4o_45", sr = "_BtnCancel_1tq4o_53", ar = "_BtnConfirm_1tq4o_73", ir = "_BtnDanger_1tq4o_92", j = {
|
|
1053
|
-
ConfirmWrapper: Zo,
|
|
1054
|
-
ConfirmContainer: er,
|
|
1055
|
-
Glass: nr,
|
|
1056
|
-
ConfirmTitle: tr,
|
|
1057
|
-
ConfirmMessage: or,
|
|
1058
|
-
ConfirmActions: rr,
|
|
1059
|
-
BtnCancel: sr,
|
|
1060
|
-
BtnConfirm: ar,
|
|
1061
|
-
BtnDanger: ir
|
|
1091
|
+
const dr = "_ConfirmWrapper_1tq4o_4", hr = "_ConfirmContainer_1tq4o_1", _r = "_Glass_1tq4o_24", fr = "_ConfirmTitle_1tq4o_30", pr = "_ConfirmMessage_1tq4o_38", mr = "_ConfirmActions_1tq4o_45", gr = "_BtnCancel_1tq4o_53", Cr = "_BtnConfirm_1tq4o_73", vr = "_BtnDanger_1tq4o_92", V = {
|
|
1092
|
+
ConfirmWrapper: dr,
|
|
1093
|
+
ConfirmContainer: hr,
|
|
1094
|
+
Glass: _r,
|
|
1095
|
+
ConfirmTitle: fr,
|
|
1096
|
+
ConfirmMessage: pr,
|
|
1097
|
+
ConfirmActions: mr,
|
|
1098
|
+
BtnCancel: gr,
|
|
1099
|
+
BtnConfirm: Cr,
|
|
1100
|
+
BtnDanger: vr
|
|
1062
1101
|
};
|
|
1063
|
-
function
|
|
1102
|
+
function $a({
|
|
1064
1103
|
title: e,
|
|
1065
1104
|
message: n,
|
|
1066
1105
|
confirmLabel: r = "Confirm",
|
|
1067
|
-
cancelLabel:
|
|
1068
|
-
danger:
|
|
1069
|
-
onConfirm:
|
|
1106
|
+
cancelLabel: o = "Cancel",
|
|
1107
|
+
danger: a = !1,
|
|
1108
|
+
onConfirm: s,
|
|
1070
1109
|
onClose: i,
|
|
1071
1110
|
className: c,
|
|
1072
1111
|
glass: d = !1
|
|
1073
1112
|
}) {
|
|
1074
|
-
const [u, l] =
|
|
1113
|
+
const [u, l] = k(!1), h = L("ConfirmDialog", c);
|
|
1075
1114
|
function g() {
|
|
1076
|
-
l(!0), Promise.resolve(
|
|
1115
|
+
l(!0), Promise.resolve(s()).finally(() => {
|
|
1077
1116
|
l(!1), i();
|
|
1078
1117
|
});
|
|
1079
1118
|
}
|
|
1080
|
-
return /* @__PURE__ */
|
|
1081
|
-
/* @__PURE__ */
|
|
1082
|
-
/* @__PURE__ */
|
|
1083
|
-
/* @__PURE__ */ m("div", { className:
|
|
1084
|
-
/* @__PURE__ */
|
|
1085
|
-
/* @__PURE__ */
|
|
1119
|
+
return /* @__PURE__ */ t("div", { className: V.ConfirmWrapper, children: /* @__PURE__ */ m("div", { className: C(V.ConfirmContainer, { [V.Glass]: d }, h), role: "dialog", "aria-modal": "true", children: [
|
|
1120
|
+
/* @__PURE__ */ t("h2", { className: V.ConfirmTitle, children: e }),
|
|
1121
|
+
/* @__PURE__ */ t("p", { className: V.ConfirmMessage, children: n }),
|
|
1122
|
+
/* @__PURE__ */ m("div", { className: V.ConfirmActions, children: [
|
|
1123
|
+
/* @__PURE__ */ t("button", { className: V.BtnCancel, type: "button", onClick: i, disabled: u, children: o }),
|
|
1124
|
+
/* @__PURE__ */ t(
|
|
1086
1125
|
"button",
|
|
1087
1126
|
{
|
|
1088
|
-
className: C(
|
|
1127
|
+
className: C(a ? V.BtnDanger : V.BtnConfirm),
|
|
1089
1128
|
type: "button",
|
|
1090
1129
|
onClick: g,
|
|
1091
1130
|
disabled: u,
|
|
@@ -1095,43 +1134,43 @@ function Ts({
|
|
|
1095
1134
|
] })
|
|
1096
1135
|
] }) });
|
|
1097
1136
|
}
|
|
1098
|
-
const
|
|
1099
|
-
InfoWrapper:
|
|
1100
|
-
InfoContainer:
|
|
1101
|
-
Glass:
|
|
1102
|
-
InfoTitle:
|
|
1103
|
-
InfoMessage:
|
|
1104
|
-
InfoActions:
|
|
1105
|
-
BtnClose:
|
|
1137
|
+
const wr = "_InfoWrapper_cqv58_4", br = "_InfoContainer_cqv58_1", yr = "_Glass_cqv58_24", Nr = "_InfoTitle_cqv58_30", kr = "_InfoMessage_cqv58_38", Ir = "_InfoActions_cqv58_45", xr = "_BtnClose_cqv58_52", ne = {
|
|
1138
|
+
InfoWrapper: wr,
|
|
1139
|
+
InfoContainer: br,
|
|
1140
|
+
Glass: yr,
|
|
1141
|
+
InfoTitle: Nr,
|
|
1142
|
+
InfoMessage: kr,
|
|
1143
|
+
InfoActions: Ir,
|
|
1144
|
+
BtnClose: xr
|
|
1106
1145
|
};
|
|
1107
|
-
function
|
|
1108
|
-
const
|
|
1109
|
-
return /* @__PURE__ */
|
|
1110
|
-
/* @__PURE__ */
|
|
1111
|
-
/* @__PURE__ */
|
|
1112
|
-
/* @__PURE__ */
|
|
1146
|
+
function ja({ title: e, message: n, onClose: r, className: o, glass: a = !1 }) {
|
|
1147
|
+
const s = L("InfoDialog", o);
|
|
1148
|
+
return /* @__PURE__ */ t("div", { className: ne.InfoWrapper, children: /* @__PURE__ */ m("div", { className: C(ne.InfoContainer, { [ne.Glass]: a }, s), role: "dialog", "aria-modal": "true", children: [
|
|
1149
|
+
/* @__PURE__ */ t("h2", { className: ne.InfoTitle, children: e }),
|
|
1150
|
+
/* @__PURE__ */ t("p", { className: ne.InfoMessage, children: n }),
|
|
1151
|
+
/* @__PURE__ */ t("div", { className: ne.InfoActions, children: /* @__PURE__ */ t("button", { className: ne.BtnClose, type: "button", onClick: r, children: "Got it" }) })
|
|
1113
1152
|
] }) });
|
|
1114
1153
|
}
|
|
1115
|
-
function
|
|
1116
|
-
const r =
|
|
1117
|
-
return /* @__PURE__ */
|
|
1154
|
+
function Ga({ buttons: e, containerClassName: n }) {
|
|
1155
|
+
const r = L("ModalActions", n);
|
|
1156
|
+
return /* @__PURE__ */ t("div", { className: r, children: e.map((o, a) => /* @__PURE__ */ t(
|
|
1118
1157
|
"button",
|
|
1119
1158
|
{
|
|
1120
|
-
className:
|
|
1159
|
+
className: o.className,
|
|
1121
1160
|
type: "button",
|
|
1122
|
-
onClick:
|
|
1123
|
-
disabled:
|
|
1124
|
-
children:
|
|
1161
|
+
onClick: o.onClick,
|
|
1162
|
+
disabled: o.disabled,
|
|
1163
|
+
children: o.label
|
|
1125
1164
|
},
|
|
1126
|
-
|
|
1165
|
+
a
|
|
1127
1166
|
)) });
|
|
1128
1167
|
}
|
|
1129
|
-
function
|
|
1130
|
-
const
|
|
1131
|
-
return /* @__PURE__ */
|
|
1168
|
+
function Va({ onClick: e, disabled: n, className: r }) {
|
|
1169
|
+
const o = L("ModalClose", r);
|
|
1170
|
+
return /* @__PURE__ */ t(
|
|
1132
1171
|
"button",
|
|
1133
1172
|
{
|
|
1134
|
-
className:
|
|
1173
|
+
className: o,
|
|
1135
1174
|
type: "button",
|
|
1136
1175
|
onClick: e,
|
|
1137
1176
|
disabled: n,
|
|
@@ -1147,385 +1186,385 @@ function Es({ onClick: e, disabled: n, className: r }) {
|
|
|
1147
1186
|
strokeWidth: "1.8",
|
|
1148
1187
|
strokeLinecap: "round",
|
|
1149
1188
|
children: [
|
|
1150
|
-
/* @__PURE__ */
|
|
1151
|
-
/* @__PURE__ */
|
|
1189
|
+
/* @__PURE__ */ t("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
|
|
1190
|
+
/* @__PURE__ */ t("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
|
|
1152
1191
|
]
|
|
1153
1192
|
}
|
|
1154
1193
|
)
|
|
1155
1194
|
}
|
|
1156
1195
|
);
|
|
1157
1196
|
}
|
|
1158
|
-
const
|
|
1159
|
-
Backdrop:
|
|
1160
|
-
BackdropOpen:
|
|
1161
|
-
Panel:
|
|
1162
|
-
Right:
|
|
1163
|
-
Left:
|
|
1164
|
-
Top:
|
|
1165
|
-
Bottom:
|
|
1166
|
-
PanelOpen:
|
|
1167
|
-
},
|
|
1168
|
-
let
|
|
1169
|
-
function
|
|
1170
|
-
if (
|
|
1171
|
-
|
|
1197
|
+
const Sr = "_Backdrop_1w1e3_7", Rr = "_BackdropOpen_1w1e3_16", Tr = "_Panel_1w1e3_21", Lr = "_Right_1w1e3_31", Dr = "_Left_1w1e3_40", Br = "_Top_1w1e3_49", Ar = "_Bottom_1w1e3_58", Er = "_PanelOpen_1w1e3_67", J = {
|
|
1198
|
+
Backdrop: Sr,
|
|
1199
|
+
BackdropOpen: Rr,
|
|
1200
|
+
Panel: Tr,
|
|
1201
|
+
Right: Lr,
|
|
1202
|
+
Left: Dr,
|
|
1203
|
+
Top: Br,
|
|
1204
|
+
Bottom: Ar,
|
|
1205
|
+
PanelOpen: Er
|
|
1206
|
+
}, _e = [];
|
|
1207
|
+
let Pr = 1, ye = !1, Re = 0;
|
|
1208
|
+
function Ze() {
|
|
1209
|
+
if (Re > 0) {
|
|
1210
|
+
Re -= 1;
|
|
1172
1211
|
return;
|
|
1173
1212
|
}
|
|
1174
|
-
const e =
|
|
1175
|
-
|
|
1176
|
-
}
|
|
1177
|
-
function
|
|
1178
|
-
|
|
1179
|
-
}
|
|
1180
|
-
function
|
|
1181
|
-
|
|
1182
|
-
}
|
|
1183
|
-
function
|
|
1184
|
-
const n =
|
|
1185
|
-
return
|
|
1186
|
-
}
|
|
1187
|
-
function
|
|
1188
|
-
const n =
|
|
1189
|
-
n === -1 || (
|
|
1190
|
-
}
|
|
1191
|
-
function
|
|
1192
|
-
const r = x([]),
|
|
1193
|
-
|
|
1194
|
-
const
|
|
1195
|
-
for (;
|
|
1196
|
-
|
|
1197
|
-
for (;
|
|
1198
|
-
const
|
|
1199
|
-
|
|
1213
|
+
const e = _e.pop();
|
|
1214
|
+
en(), e && e.onBack();
|
|
1215
|
+
}
|
|
1216
|
+
function Mr() {
|
|
1217
|
+
ye || (ye = !0, window.addEventListener("popstate", Ze));
|
|
1218
|
+
}
|
|
1219
|
+
function en() {
|
|
1220
|
+
_e.length > 0 || !ye || (ye = !1, window.removeEventListener("popstate", Ze));
|
|
1221
|
+
}
|
|
1222
|
+
function Or(e) {
|
|
1223
|
+
const n = Pr++;
|
|
1224
|
+
return _e.push({ handle: n, onBack: e }), Mr(), window.history.pushState({ churesOverlayBackHandle: n }, ""), n;
|
|
1225
|
+
}
|
|
1226
|
+
function Fe(e) {
|
|
1227
|
+
const n = _e.findIndex((o) => o.handle === e);
|
|
1228
|
+
n === -1 || (_e.splice(n, 1), en(), window.history.state?.churesOverlayBackHandle !== e) || (Re += 1, window.history.back());
|
|
1229
|
+
}
|
|
1230
|
+
function Wr(e, n) {
|
|
1231
|
+
const r = x([]), o = x(n);
|
|
1232
|
+
o.current = n, E(() => {
|
|
1233
|
+
const a = r.current;
|
|
1234
|
+
for (; a.length < e; )
|
|
1235
|
+
a.push(Or(() => o.current()));
|
|
1236
|
+
for (; a.length > e; ) {
|
|
1237
|
+
const s = a.pop();
|
|
1238
|
+
s !== void 0 && Fe(s);
|
|
1200
1239
|
}
|
|
1201
|
-
}, [e]),
|
|
1202
|
-
const
|
|
1203
|
-
for (;
|
|
1204
|
-
const
|
|
1205
|
-
|
|
1240
|
+
}, [e]), E(() => () => {
|
|
1241
|
+
const a = r.current;
|
|
1242
|
+
for (; a.length > 0; ) {
|
|
1243
|
+
const s = a.pop();
|
|
1244
|
+
s !== void 0 && Fe(s);
|
|
1206
1245
|
}
|
|
1207
1246
|
}, []);
|
|
1208
1247
|
}
|
|
1209
|
-
const
|
|
1210
|
-
top:
|
|
1211
|
-
right:
|
|
1212
|
-
bottom:
|
|
1213
|
-
left:
|
|
1248
|
+
const Fr = {
|
|
1249
|
+
top: J.Top,
|
|
1250
|
+
right: J.Right,
|
|
1251
|
+
bottom: J.Bottom,
|
|
1252
|
+
left: J.Left
|
|
1214
1253
|
};
|
|
1215
|
-
let
|
|
1216
|
-
function
|
|
1217
|
-
return
|
|
1254
|
+
let Y = null, xe = 0;
|
|
1255
|
+
function He() {
|
|
1256
|
+
return Y || (Y = document.createElement("div"), Y.setAttribute("data-chures-side-drawer-root", ""), document.body.appendChild(Y)), Y;
|
|
1218
1257
|
}
|
|
1219
|
-
function
|
|
1220
|
-
const [i, c] =
|
|
1221
|
-
|
|
1258
|
+
function Ka({ open: e, onClose: n, children: r, side: o = "right", backdropBlur: a = 0, className: s }) {
|
|
1259
|
+
const [i, c] = k(!1), d = L("SideDrawer", s);
|
|
1260
|
+
Wr(e ? 1 : 0, n), he(() => {
|
|
1222
1261
|
if (!e) {
|
|
1223
1262
|
c(!1);
|
|
1224
1263
|
return;
|
|
1225
1264
|
}
|
|
1226
|
-
document.body.appendChild(
|
|
1265
|
+
document.body.appendChild(He());
|
|
1227
1266
|
const l = requestAnimationFrame(() => c(!0));
|
|
1228
1267
|
return () => cancelAnimationFrame(l);
|
|
1229
|
-
}, [e]),
|
|
1230
|
-
|
|
1268
|
+
}, [e]), E(() => (xe += 1, () => {
|
|
1269
|
+
xe -= 1, xe === 0 && Y && (Y.remove(), Y = null);
|
|
1231
1270
|
}), []);
|
|
1232
|
-
const u =
|
|
1233
|
-
return
|
|
1271
|
+
const u = a > 0 ? { backdropFilter: `blur(${a}rem)`, WebkitBackdropFilter: `blur(${a}rem)` } : void 0;
|
|
1272
|
+
return Be(
|
|
1234
1273
|
/* @__PURE__ */ m($, { children: [
|
|
1235
|
-
/* @__PURE__ */
|
|
1274
|
+
/* @__PURE__ */ t(
|
|
1236
1275
|
"div",
|
|
1237
1276
|
{
|
|
1238
|
-
className: C(
|
|
1277
|
+
className: C(J.Backdrop, i && J.BackdropOpen),
|
|
1239
1278
|
style: u,
|
|
1240
1279
|
onClick: n
|
|
1241
1280
|
}
|
|
1242
1281
|
),
|
|
1243
|
-
/* @__PURE__ */
|
|
1282
|
+
/* @__PURE__ */ t("div", { className: C(J.Panel, Fr[o], i && J.PanelOpen, d), children: r })
|
|
1244
1283
|
] }),
|
|
1245
|
-
|
|
1284
|
+
He()
|
|
1246
1285
|
);
|
|
1247
1286
|
}
|
|
1248
|
-
const
|
|
1249
|
-
function
|
|
1250
|
-
return
|
|
1251
|
-
}
|
|
1252
|
-
const
|
|
1253
|
-
FlyoutMenuContainer:
|
|
1254
|
-
Backdrop:
|
|
1255
|
-
Panel:
|
|
1256
|
-
Submenu:
|
|
1257
|
-
FlyoutPanelContainer:
|
|
1258
|
-
Back:
|
|
1259
|
-
Chevron:
|
|
1260
|
-
MenuListContainer:
|
|
1261
|
-
Heading:
|
|
1262
|
-
Divider:
|
|
1263
|
-
MenuRowContainer:
|
|
1264
|
-
Dim:
|
|
1265
|
-
Row:
|
|
1266
|
-
Icon:
|
|
1267
|
-
Label:
|
|
1268
|
-
Arrow:
|
|
1269
|
-
MenuSkeletonContainer:
|
|
1270
|
-
MenuSkeletonRow:
|
|
1271
|
-
MenuSearchFieldContainer:
|
|
1272
|
-
},
|
|
1273
|
-
function
|
|
1274
|
-
const
|
|
1275
|
-
function
|
|
1276
|
-
if (
|
|
1277
|
-
n.toggleSubmenuFrom(i.currentTarget,
|
|
1287
|
+
const Te = Ge(!0);
|
|
1288
|
+
function Hr() {
|
|
1289
|
+
return Ve(Te);
|
|
1290
|
+
}
|
|
1291
|
+
const qr = "_FlyoutMenuContainer_1q0ma_5", Ur = "_Backdrop_1q0ma_9", $r = "_Panel_1q0ma_14", jr = "_Submenu_1q0ma_27", Gr = "_FlyoutPanelContainer_1q0ma_41", Vr = "_Back_1q0ma_9", Kr = "_Chevron_1q0ma_68", zr = "_MenuListContainer_1q0ma_75", Xr = "_Heading_1q0ma_81", Qr = "_Divider_1q0ma_90", Yr = "_MenuRowContainer_1q0ma_98", Jr = "_Dim_1q0ma_102", Zr = "_Row_1q0ma_106", ea = "_Icon_1q0ma_135", na = "_Label_1q0ma_140", ta = "_Arrow_1q0ma_148", oa = "_MenuSkeletonContainer_1q0ma_156", ra = "_MenuSkeletonRow_1q0ma_163", aa = "_MenuSearchFieldContainer_1q0ma_191", N = {
|
|
1292
|
+
FlyoutMenuContainer: qr,
|
|
1293
|
+
Backdrop: Ur,
|
|
1294
|
+
Panel: $r,
|
|
1295
|
+
Submenu: jr,
|
|
1296
|
+
FlyoutPanelContainer: Gr,
|
|
1297
|
+
Back: Vr,
|
|
1298
|
+
Chevron: Kr,
|
|
1299
|
+
MenuListContainer: zr,
|
|
1300
|
+
Heading: Xr,
|
|
1301
|
+
Divider: Qr,
|
|
1302
|
+
MenuRowContainer: Yr,
|
|
1303
|
+
Dim: Jr,
|
|
1304
|
+
Row: Zr,
|
|
1305
|
+
Icon: ea,
|
|
1306
|
+
Label: na,
|
|
1307
|
+
Arrow: ta,
|
|
1308
|
+
MenuSkeletonContainer: oa,
|
|
1309
|
+
MenuSkeletonRow: ra,
|
|
1310
|
+
MenuSearchFieldContainer: aa
|
|
1311
|
+
}, sa = { duration: 0.15, ease: [0.2, 0.7, 0.2, 1] };
|
|
1312
|
+
function qe({ item: e, menu: n, dim: r }) {
|
|
1313
|
+
const o = Hr(), a = e.submenu;
|
|
1314
|
+
function s(i) {
|
|
1315
|
+
if (a) {
|
|
1316
|
+
n.toggleSubmenuFrom(i.currentTarget, a);
|
|
1278
1317
|
return;
|
|
1279
1318
|
}
|
|
1280
1319
|
e.disabled || n.selectItem(e);
|
|
1281
1320
|
}
|
|
1282
|
-
return /* @__PURE__ */
|
|
1283
|
-
|
|
1321
|
+
return /* @__PURE__ */ t(se.div, { layout: o, transition: sa, className: C(N.MenuRowContainer, r && N.Dim), children: /* @__PURE__ */ m(
|
|
1322
|
+
Ae,
|
|
1284
1323
|
{
|
|
1285
1324
|
variant: "unstyled",
|
|
1286
1325
|
className: N.Row,
|
|
1287
1326
|
disabled: e.disabled,
|
|
1288
|
-
"aria-haspopup":
|
|
1289
|
-
onClick:
|
|
1290
|
-
onMouseEnter:
|
|
1291
|
-
onMouseLeave:
|
|
1327
|
+
"aria-haspopup": a ? "menu" : void 0,
|
|
1328
|
+
onClick: s,
|
|
1329
|
+
onMouseEnter: a ? (i) => n.openSubmenuFrom(i.currentTarget, a) : void 0,
|
|
1330
|
+
onMouseLeave: a ? n.closeSubmenuSoon : void 0,
|
|
1292
1331
|
children: [
|
|
1293
|
-
e.icon && /* @__PURE__ */
|
|
1294
|
-
/* @__PURE__ */
|
|
1295
|
-
|
|
1332
|
+
e.icon && /* @__PURE__ */ t("span", { className: N.Icon, children: e.icon }),
|
|
1333
|
+
/* @__PURE__ */ t("span", { className: N.Label, children: e.label }),
|
|
1334
|
+
a && /* @__PURE__ */ t("span", { className: N.Arrow, children: "▸" })
|
|
1296
1335
|
]
|
|
1297
1336
|
}
|
|
1298
1337
|
) });
|
|
1299
1338
|
}
|
|
1300
|
-
function
|
|
1301
|
-
const
|
|
1339
|
+
function Ue({ items: e, menu: n, heading: r, rest: o }) {
|
|
1340
|
+
const a = !!o && o.length > 0;
|
|
1302
1341
|
return /* @__PURE__ */ m("div", { className: N.MenuListContainer, children: [
|
|
1303
|
-
r && /* @__PURE__ */
|
|
1304
|
-
e.map((
|
|
1305
|
-
|
|
1306
|
-
|
|
1342
|
+
r && /* @__PURE__ */ t("span", { className: N.Heading, children: r }),
|
|
1343
|
+
e.map((s) => /* @__PURE__ */ t(qe, { item: s, menu: n }, s.key)),
|
|
1344
|
+
a && /* @__PURE__ */ t("div", { className: N.Divider }),
|
|
1345
|
+
o?.map((s) => /* @__PURE__ */ t(qe, { item: s, menu: n, dim: !0 }, s.key))
|
|
1307
1346
|
] });
|
|
1308
1347
|
}
|
|
1309
|
-
function
|
|
1310
|
-
const n =
|
|
1311
|
-
return /* @__PURE__ */
|
|
1348
|
+
function ia({ count: e = 3 }) {
|
|
1349
|
+
const n = Ke(() => Array.from({ length: Math.max(0, e) }, (r, o) => o), [e]);
|
|
1350
|
+
return /* @__PURE__ */ t("div", { className: N.MenuSkeletonContainer, children: n.map((r) => /* @__PURE__ */ t("div", { className: N.MenuSkeletonRow, role: "presentation" }, r)) });
|
|
1312
1351
|
}
|
|
1313
|
-
const
|
|
1314
|
-
function
|
|
1315
|
-
function
|
|
1316
|
-
|
|
1352
|
+
const ca = { duration: 0.15, ease: [0.2, 0.7, 0.2, 1] };
|
|
1353
|
+
function la({ value: e, onChange: n, placeholder: r }) {
|
|
1354
|
+
function o(a) {
|
|
1355
|
+
a.key === "Escape" && n("");
|
|
1317
1356
|
}
|
|
1318
|
-
return /* @__PURE__ */
|
|
1357
|
+
return /* @__PURE__ */ t(
|
|
1319
1358
|
se.div,
|
|
1320
1359
|
{
|
|
1321
1360
|
className: N.MenuSearchFieldContainer,
|
|
1322
1361
|
initial: { opacity: 0, height: 0 },
|
|
1323
1362
|
animate: { opacity: 1, height: "auto" },
|
|
1324
1363
|
exit: { opacity: 0, height: 0 },
|
|
1325
|
-
transition:
|
|
1326
|
-
children: /* @__PURE__ */
|
|
1327
|
-
|
|
1364
|
+
transition: ca,
|
|
1365
|
+
children: /* @__PURE__ */ t(
|
|
1366
|
+
Nt,
|
|
1328
1367
|
{
|
|
1329
1368
|
value: e,
|
|
1330
1369
|
setValue: n,
|
|
1331
1370
|
placeholder: r ?? "Search",
|
|
1332
1371
|
autoFocus: !0,
|
|
1333
|
-
onKeyDown:
|
|
1334
|
-
startIcon: /* @__PURE__ */
|
|
1372
|
+
onKeyDown: o,
|
|
1373
|
+
startIcon: /* @__PURE__ */ t(Qt, { size: 14 })
|
|
1335
1374
|
}
|
|
1336
1375
|
)
|
|
1337
1376
|
}
|
|
1338
1377
|
);
|
|
1339
1378
|
}
|
|
1340
|
-
function
|
|
1341
|
-
const
|
|
1342
|
-
if (!
|
|
1343
|
-
const
|
|
1379
|
+
function ua(e, n, r) {
|
|
1380
|
+
const o = n.trim().toLowerCase();
|
|
1381
|
+
if (!o) return { matches: e, rest: [] };
|
|
1382
|
+
const a = [], s = [];
|
|
1344
1383
|
for (const i of e)
|
|
1345
|
-
r(i).toLowerCase().includes(
|
|
1346
|
-
return { matches:
|
|
1384
|
+
r(i).toLowerCase().includes(o) ? a.push(i) : s.push(i);
|
|
1385
|
+
return { matches: a, rest: s };
|
|
1347
1386
|
}
|
|
1348
|
-
function
|
|
1387
|
+
function da(e) {
|
|
1349
1388
|
return e instanceof HTMLElement ? e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.isContentEditable : !1;
|
|
1350
1389
|
}
|
|
1351
|
-
function
|
|
1352
|
-
const [n, r] =
|
|
1353
|
-
return
|
|
1390
|
+
function ha(e) {
|
|
1391
|
+
const [n, r] = k("");
|
|
1392
|
+
return E(() => {
|
|
1354
1393
|
if (!e) return;
|
|
1355
|
-
function
|
|
1356
|
-
if (!
|
|
1357
|
-
if (
|
|
1358
|
-
r((
|
|
1394
|
+
function o(a) {
|
|
1395
|
+
if (!da(document.activeElement)) {
|
|
1396
|
+
if (a.key === "Backspace") {
|
|
1397
|
+
r((s) => s.slice(0, -1));
|
|
1359
1398
|
return;
|
|
1360
1399
|
}
|
|
1361
|
-
|
|
1400
|
+
a.key.length === 1 && !a.ctrlKey && !a.metaKey && !a.altKey && (r((s) => s + a.key), a.preventDefault());
|
|
1362
1401
|
}
|
|
1363
1402
|
}
|
|
1364
|
-
return document.addEventListener("keydown",
|
|
1403
|
+
return document.addEventListener("keydown", o), () => document.removeEventListener("keydown", o);
|
|
1365
1404
|
}, [e]), { query: n, setQuery: r };
|
|
1366
1405
|
}
|
|
1367
|
-
function
|
|
1406
|
+
function _a(e) {
|
|
1368
1407
|
return e.searchText !== void 0 ? e.searchText : typeof e.label == "string" ? e.label : "";
|
|
1369
1408
|
}
|
|
1370
|
-
function
|
|
1371
|
-
const
|
|
1372
|
-
|
|
1373
|
-
const { matches: d, rest: u } =
|
|
1374
|
-
() =>
|
|
1409
|
+
function $e({ section: e, menu: n, onBack: r, skeletonCount: o, active: a }) {
|
|
1410
|
+
const s = !!e.searchable && !!e.items, { query: i, setQuery: c } = ha(!!a && s);
|
|
1411
|
+
E(() => c(""), [e, c]);
|
|
1412
|
+
const { matches: d, rest: u } = Ke(
|
|
1413
|
+
() => ua(e.items ?? [], i, _a),
|
|
1375
1414
|
[e.items, i]
|
|
1376
1415
|
), l = r ? void 0 : e.title;
|
|
1377
1416
|
let h;
|
|
1378
|
-
return e.loading ? h = /* @__PURE__ */
|
|
1379
|
-
r && /* @__PURE__ */ m(
|
|
1380
|
-
/* @__PURE__ */
|
|
1417
|
+
return e.loading ? h = /* @__PURE__ */ t(ia, { count: o }) : e.renderPanel ? h = e.renderPanel() : s ? h = /* @__PURE__ */ t(Ue, { items: d, rest: u, menu: n, heading: l }) : h = /* @__PURE__ */ t(Ue, { items: e.items ?? [], menu: n, heading: l }), /* @__PURE__ */ m("div", { className: N.FlyoutPanelContainer, children: [
|
|
1418
|
+
r && /* @__PURE__ */ m(Ae, { variant: "unstyled", className: N.Back, onClick: r, children: [
|
|
1419
|
+
/* @__PURE__ */ t("span", { className: N.Chevron, children: "‹" }),
|
|
1381
1420
|
e.title ?? "Back"
|
|
1382
1421
|
] }),
|
|
1383
|
-
|
|
1422
|
+
s && /* @__PURE__ */ t(we, { children: i !== "" && /* @__PURE__ */ t(la, { value: i, onChange: c }) }),
|
|
1384
1423
|
h
|
|
1385
1424
|
] });
|
|
1386
1425
|
}
|
|
1387
|
-
function
|
|
1388
|
-
const
|
|
1426
|
+
function fa(e, n, r, o, a) {
|
|
1427
|
+
const s = r.width - 2 * o, i = Math.max(o, r.width - o - n.width), c = Math.min(Math.max(e.right - n.width, o), i), d = e.top - a - o, u = r.height - o - e.bottom - a;
|
|
1389
1428
|
if (n.height > d && u > d)
|
|
1390
|
-
return { top: e.bottom +
|
|
1391
|
-
const l = e.top -
|
|
1392
|
-
return { top: l <
|
|
1429
|
+
return { top: e.bottom + a, left: c, maxHeight: u, maxWidth: s };
|
|
1430
|
+
const l = e.top - a - n.height;
|
|
1431
|
+
return { top: l < o ? o : l, left: c, maxHeight: d, maxWidth: s };
|
|
1393
1432
|
}
|
|
1394
|
-
function
|
|
1395
|
-
if (
|
|
1396
|
-
const
|
|
1433
|
+
function pa(e, n, r, o, a) {
|
|
1434
|
+
if (a) return { side: "collapse" };
|
|
1435
|
+
const s = e.right + n.width <= r.width - o, i = e.left - n.width, c = s ? "right" : i >= o ? "left" : null;
|
|
1397
1436
|
if (!c) return { side: "collapse" };
|
|
1398
|
-
const d = c === "right" ? e.right : i, u = r.height -
|
|
1437
|
+
const d = c === "right" ? e.right : i, u = r.height - o - e.top, l = e.bottom - o;
|
|
1399
1438
|
if (u >= n.height || u >= l)
|
|
1400
1439
|
return { side: c, left: d, top: e.top, maxHeight: u };
|
|
1401
|
-
const h = Math.max(e.bottom - n.height,
|
|
1440
|
+
const h = Math.max(e.bottom - n.height, o);
|
|
1402
1441
|
return { side: c, left: d, top: h, maxHeight: l };
|
|
1403
1442
|
}
|
|
1404
|
-
function
|
|
1405
|
-
const [
|
|
1406
|
-
|
|
1443
|
+
function nn(e, n, r) {
|
|
1444
|
+
const [o, a] = k(null), s = x(n), i = x(r);
|
|
1445
|
+
s.current = n, i.current = r;
|
|
1407
1446
|
const c = x(null);
|
|
1408
|
-
return
|
|
1447
|
+
return he(() => {
|
|
1409
1448
|
if (!e) {
|
|
1410
|
-
c.current = null,
|
|
1449
|
+
c.current = null, a(null);
|
|
1411
1450
|
return;
|
|
1412
1451
|
}
|
|
1413
1452
|
let d = 0;
|
|
1414
1453
|
function u() {
|
|
1415
|
-
const l =
|
|
1454
|
+
const l = s.current();
|
|
1416
1455
|
if (l !== null) {
|
|
1417
1456
|
const h = c.current;
|
|
1418
|
-
(h === null || !i.current(h, l)) && (c.current = l,
|
|
1457
|
+
(h === null || !i.current(h, l)) && (c.current = l, a(l));
|
|
1419
1458
|
}
|
|
1420
1459
|
d = requestAnimationFrame(u);
|
|
1421
1460
|
}
|
|
1422
1461
|
return u(), () => {
|
|
1423
|
-
cancelAnimationFrame(d), c.current = null,
|
|
1462
|
+
cancelAnimationFrame(d), c.current = null, a(null);
|
|
1424
1463
|
};
|
|
1425
|
-
}, [e]),
|
|
1464
|
+
}, [e]), o;
|
|
1426
1465
|
}
|
|
1427
|
-
const
|
|
1428
|
-
function
|
|
1466
|
+
const tn = 8, ma = 8, ga = 150, Ca = 3;
|
|
1467
|
+
function on() {
|
|
1429
1468
|
return { width: window.innerWidth, height: window.innerHeight };
|
|
1430
1469
|
}
|
|
1431
1470
|
function Le() {
|
|
1432
1471
|
return window.matchMedia("(orientation: portrait)").matches;
|
|
1433
1472
|
}
|
|
1434
|
-
function
|
|
1473
|
+
function rn(e) {
|
|
1435
1474
|
return { width: e.scrollWidth || e.offsetWidth, height: e.scrollHeight || e.offsetHeight };
|
|
1436
1475
|
}
|
|
1437
|
-
function
|
|
1476
|
+
function va(e, n) {
|
|
1438
1477
|
return e.top === n.top && e.left === n.left && e.maxHeight === n.maxHeight && e.maxWidth === n.maxWidth;
|
|
1439
1478
|
}
|
|
1440
|
-
function
|
|
1479
|
+
function wa(e, n) {
|
|
1441
1480
|
return e === "collapse" || n === "collapse" ? e === n : e.side === n.side && e.top === n.top && e.left === n.left && e.maxHeight === n.maxHeight;
|
|
1442
1481
|
}
|
|
1443
|
-
function
|
|
1444
|
-
return
|
|
1482
|
+
function ba(e, n, r) {
|
|
1483
|
+
return nn(
|
|
1445
1484
|
e,
|
|
1446
1485
|
() => {
|
|
1447
|
-
const
|
|
1448
|
-
return !
|
|
1486
|
+
const o = n.current, a = r.current;
|
|
1487
|
+
return !o || !a ? null : fa(o.getBoundingClientRect(), rn(a), on(), tn, ma);
|
|
1449
1488
|
},
|
|
1450
|
-
|
|
1489
|
+
va
|
|
1451
1490
|
);
|
|
1452
1491
|
}
|
|
1453
|
-
function
|
|
1454
|
-
return
|
|
1492
|
+
function ya(e, n, r) {
|
|
1493
|
+
return nn(
|
|
1455
1494
|
e,
|
|
1456
1495
|
() => {
|
|
1457
|
-
const
|
|
1458
|
-
if (!
|
|
1459
|
-
const
|
|
1460
|
-
return
|
|
1496
|
+
const o = n.current, a = r.current;
|
|
1497
|
+
if (!o || !a) return null;
|
|
1498
|
+
const s = pa(a.getBoundingClientRect(), rn(o), on(), tn, Le());
|
|
1499
|
+
return s.side === "collapse" ? "collapse" : s;
|
|
1461
1500
|
},
|
|
1462
|
-
|
|
1501
|
+
wa
|
|
1463
1502
|
);
|
|
1464
1503
|
}
|
|
1465
|
-
function
|
|
1466
|
-
const { anchorRef: n, panelRef: r, submenuRef:
|
|
1467
|
-
c(
|
|
1468
|
-
}, [
|
|
1469
|
-
g(null), l((
|
|
1504
|
+
function Na(e) {
|
|
1505
|
+
const { anchorRef: n, panelRef: r, submenuRef: o, open: a, onOpenChange: s } = e, [i, c] = k(!1), d = a ?? i, [u, l] = k([]), [h, g] = k(null), b = x(null), w = x(void 0), S = A((I) => {
|
|
1506
|
+
c(I), s?.(I);
|
|
1507
|
+
}, [s]), W = A((I) => {
|
|
1508
|
+
g(null), l((B) => B.length >= Ca ? B : [...B, I]);
|
|
1470
1509
|
}, []);
|
|
1471
|
-
|
|
1510
|
+
E(() => {
|
|
1472
1511
|
d || (l([]), g(null), b.current = null, w.current && clearTimeout(w.current));
|
|
1473
1512
|
}, [d]);
|
|
1474
|
-
const R =
|
|
1475
|
-
if (w.current && clearTimeout(w.current), b.current =
|
|
1476
|
-
|
|
1513
|
+
const R = A((I, B) => {
|
|
1514
|
+
if (w.current && clearTimeout(w.current), b.current = I, Le()) {
|
|
1515
|
+
W(B);
|
|
1477
1516
|
return;
|
|
1478
1517
|
}
|
|
1479
|
-
g({ section:
|
|
1480
|
-
}, [
|
|
1518
|
+
g({ section: B, placement: null });
|
|
1519
|
+
}, [W]), _ = A((I, B) => {
|
|
1481
1520
|
if (Le()) {
|
|
1482
|
-
u[u.length - 1] ===
|
|
1521
|
+
u[u.length - 1] === B ? l((X) => X.slice(0, -1)) : R(I, B);
|
|
1483
1522
|
return;
|
|
1484
1523
|
}
|
|
1485
|
-
h && h.section ===
|
|
1486
|
-
}, [u, h, R]), v =
|
|
1487
|
-
w.current && clearTimeout(w.current), w.current = setTimeout(() => g(null),
|
|
1488
|
-
}, []),
|
|
1524
|
+
h && h.section === B ? g(null) : R(I, B);
|
|
1525
|
+
}, [u, h, R]), v = A(() => {
|
|
1526
|
+
w.current && clearTimeout(w.current), w.current = setTimeout(() => g(null), ga);
|
|
1527
|
+
}, []), T = A(() => {
|
|
1489
1528
|
w.current && clearTimeout(w.current);
|
|
1490
|
-
}, []), y =
|
|
1491
|
-
|
|
1529
|
+
}, []), y = ya(!!h, o, b), F = ba(d, n, r);
|
|
1530
|
+
E(() => {
|
|
1492
1531
|
if (!(!h || !y)) {
|
|
1493
1532
|
if (y === "collapse") {
|
|
1494
|
-
|
|
1533
|
+
W(h.section);
|
|
1495
1534
|
return;
|
|
1496
1535
|
}
|
|
1497
1536
|
h.placement !== y && g({ section: h.section, placement: y });
|
|
1498
1537
|
}
|
|
1499
|
-
}, [y, h,
|
|
1500
|
-
const
|
|
1501
|
-
|
|
1538
|
+
}, [y, h, W]);
|
|
1539
|
+
const D = A(() => l((I) => I.slice(0, -1)), []), P = A(() => S(!1), [S]), j = A(() => S(!d), [S, d]), Z = A((I) => {
|
|
1540
|
+
I.onSelect?.(), S(!1);
|
|
1502
1541
|
}, [S]);
|
|
1503
1542
|
return {
|
|
1504
1543
|
open: d,
|
|
1505
|
-
toggle:
|
|
1506
|
-
close:
|
|
1507
|
-
back:
|
|
1508
|
-
selectItem:
|
|
1544
|
+
toggle: j,
|
|
1545
|
+
close: P,
|
|
1546
|
+
back: D,
|
|
1547
|
+
selectItem: Z,
|
|
1509
1548
|
openSubmenuFrom: R,
|
|
1510
1549
|
toggleSubmenuFrom: _,
|
|
1511
1550
|
closeSubmenuSoon: v,
|
|
1512
|
-
holdSubmenu:
|
|
1551
|
+
holdSubmenu: T,
|
|
1513
1552
|
frame: u[u.length - 1] ?? null,
|
|
1514
|
-
menuPlacement:
|
|
1553
|
+
menuPlacement: F,
|
|
1515
1554
|
submenu: h
|
|
1516
1555
|
};
|
|
1517
1556
|
}
|
|
1518
|
-
const
|
|
1519
|
-
function
|
|
1520
|
-
const { anchorRef: n, open: r, onClose:
|
|
1557
|
+
const je = { duration: 0.15, ease: [0.2, 0.7, 0.2, 1] };
|
|
1558
|
+
function za(e) {
|
|
1559
|
+
const { anchorRef: n, open: r, onClose: o, items: a, rootTitle: s, skeletonCount: i } = e, c = x(null), d = x(null);
|
|
1521
1560
|
function u(w) {
|
|
1522
|
-
w ||
|
|
1561
|
+
w || o();
|
|
1523
1562
|
}
|
|
1524
|
-
const l =
|
|
1525
|
-
return
|
|
1563
|
+
const l = Na({ anchorRef: n, panelRef: c, submenuRef: d, open: r, onOpenChange: u }), h = l.frame ?? { title: s, items: a, searchable: e.searchable }, g = l.menuPlacement, b = l.submenu?.placement ?? null;
|
|
1564
|
+
return Be(
|
|
1526
1565
|
/* @__PURE__ */ m("div", { className: N.FlyoutMenuContainer, children: [
|
|
1527
|
-
r && /* @__PURE__ */
|
|
1528
|
-
/* @__PURE__ */
|
|
1566
|
+
r && /* @__PURE__ */ t("div", { className: N.Backdrop, onClick: o }),
|
|
1567
|
+
/* @__PURE__ */ t(we, { children: r && /* @__PURE__ */ t(
|
|
1529
1568
|
se.div,
|
|
1530
1569
|
{
|
|
1531
1570
|
ref: c,
|
|
@@ -1534,9 +1573,9 @@ function Ms(e) {
|
|
|
1534
1573
|
initial: { opacity: 0, scale: 0.94, y: 6 },
|
|
1535
1574
|
animate: { opacity: 1, scale: 1, y: 0 },
|
|
1536
1575
|
exit: { opacity: 0, scale: 0.94, y: 6 },
|
|
1537
|
-
transition:
|
|
1538
|
-
children: /* @__PURE__ */
|
|
1539
|
-
|
|
1576
|
+
transition: je,
|
|
1577
|
+
children: /* @__PURE__ */ t(Te.Provider, { value: !!g, children: /* @__PURE__ */ t(
|
|
1578
|
+
$e,
|
|
1540
1579
|
{
|
|
1541
1580
|
section: h,
|
|
1542
1581
|
menu: l,
|
|
@@ -1548,7 +1587,7 @@ function Ms(e) {
|
|
|
1548
1587
|
},
|
|
1549
1588
|
"flyout-panel"
|
|
1550
1589
|
) }),
|
|
1551
|
-
/* @__PURE__ */
|
|
1590
|
+
/* @__PURE__ */ t(we, { children: r && l.submenu && /* @__PURE__ */ t(
|
|
1552
1591
|
se.div,
|
|
1553
1592
|
{
|
|
1554
1593
|
ref: d,
|
|
@@ -1559,9 +1598,9 @@ function Ms(e) {
|
|
|
1559
1598
|
initial: { opacity: 0, scale: 0.94, x: 6 },
|
|
1560
1599
|
animate: { opacity: 1, scale: 1, x: 0 },
|
|
1561
1600
|
exit: { opacity: 0, scale: 0.94, x: 6 },
|
|
1562
|
-
transition:
|
|
1563
|
-
children: /* @__PURE__ */
|
|
1564
|
-
|
|
1601
|
+
transition: je,
|
|
1602
|
+
children: /* @__PURE__ */ t(Te.Provider, { value: !!b, children: /* @__PURE__ */ t(
|
|
1603
|
+
$e,
|
|
1565
1604
|
{
|
|
1566
1605
|
section: l.submenu.section,
|
|
1567
1606
|
menu: l,
|
|
@@ -1576,124 +1615,125 @@ function Ms(e) {
|
|
|
1576
1615
|
document.body
|
|
1577
1616
|
);
|
|
1578
1617
|
}
|
|
1579
|
-
function
|
|
1580
|
-
return /* @__PURE__ */
|
|
1618
|
+
function Xa({ classNames: e, children: n }) {
|
|
1619
|
+
return /* @__PURE__ */ t(ze.Provider, { value: e, children: n });
|
|
1581
1620
|
}
|
|
1582
|
-
var
|
|
1583
|
-
const
|
|
1584
|
-
function
|
|
1621
|
+
var De = /* @__PURE__ */ ((e) => (e[e.OK = 0] = "OK", e[e.CANCELLED = 1] = "CANCELLED", e[e.UNKNOWN = 2] = "UNKNOWN", e[e.INVALID_ARGUMENT = 3] = "INVALID_ARGUMENT", e[e.DEADLINE_EXCEEDED = 4] = "DEADLINE_EXCEEDED", e[e.NOT_FOUND = 5] = "NOT_FOUND", e[e.ALREADY_EXISTS = 6] = "ALREADY_EXISTS", e[e.PERMISSION_DENIED = 7] = "PERMISSION_DENIED", e[e.RESOURCE_EXHAUSTED = 8] = "RESOURCE_EXHAUSTED", e[e.FAILED_PRECONDITION = 9] = "FAILED_PRECONDITION", e[e.ABORTED = 10] = "ABORTED", e[e.OUT_OF_RANGE = 11] = "OUT_OF_RANGE", e[e.UNIMPLEMENTED = 12] = "UNIMPLEMENTED", e[e.INTERNAL = 13] = "INTERNAL", e[e.UNAVAILABLE = 14] = "UNAVAILABLE", e[e.DATA_LOSS = 15] = "DATA_LOSS", e[e.UNAUTHENTICATED = 16] = "UNAUTHENTICATED", e))(De || {});
|
|
1622
|
+
const ka = "type.googleapis.com/google.rpc.ErrorInfo", Ia = "type.googleapis.com/google.rpc.BadRequest", xa = "type.googleapis.com/google.rpc.PreconditionFailure";
|
|
1623
|
+
function Ce(e) {
|
|
1585
1624
|
return typeof e == "object" && e !== null;
|
|
1586
1625
|
}
|
|
1587
|
-
function
|
|
1626
|
+
function K(e) {
|
|
1588
1627
|
return typeof e == "string" ? e : "";
|
|
1589
1628
|
}
|
|
1590
|
-
function
|
|
1591
|
-
if (!
|
|
1629
|
+
function Sa(e) {
|
|
1630
|
+
if (!Ce(e))
|
|
1592
1631
|
return { kind: "Unknown", typeUrl: "", raw: e };
|
|
1593
|
-
const n =
|
|
1632
|
+
const n = K(e["@type"]);
|
|
1594
1633
|
switch (n) {
|
|
1595
|
-
case
|
|
1596
|
-
const r =
|
|
1597
|
-
for (const
|
|
1598
|
-
|
|
1634
|
+
case ka: {
|
|
1635
|
+
const r = Ce(e.metadata) ? e.metadata : {}, o = {};
|
|
1636
|
+
for (const a of Object.keys(r))
|
|
1637
|
+
o[a] = K(r[a]);
|
|
1599
1638
|
return {
|
|
1600
1639
|
kind: "ErrorInfo",
|
|
1601
|
-
reason:
|
|
1602
|
-
domain:
|
|
1603
|
-
metadata:
|
|
1640
|
+
reason: K(e.reason),
|
|
1641
|
+
domain: K(e.domain),
|
|
1642
|
+
metadata: o
|
|
1604
1643
|
};
|
|
1605
1644
|
}
|
|
1606
|
-
case
|
|
1607
|
-
return { kind: "BadRequest", fieldViolations: (Array.isArray(e.fieldViolations) ? e.fieldViolations : []).map((
|
|
1608
|
-
const
|
|
1645
|
+
case Ia:
|
|
1646
|
+
return { kind: "BadRequest", fieldViolations: (Array.isArray(e.fieldViolations) ? e.fieldViolations : []).map((a) => {
|
|
1647
|
+
const s = Ce(a) ? a : {};
|
|
1609
1648
|
return {
|
|
1610
|
-
field:
|
|
1611
|
-
description:
|
|
1649
|
+
field: K(s.field),
|
|
1650
|
+
description: K(s.description)
|
|
1612
1651
|
};
|
|
1613
1652
|
}) };
|
|
1614
|
-
case
|
|
1615
|
-
return { kind: "PreconditionFailure", violations: (Array.isArray(e.violations) ? e.violations : []).map((
|
|
1616
|
-
const
|
|
1653
|
+
case xa:
|
|
1654
|
+
return { kind: "PreconditionFailure", violations: (Array.isArray(e.violations) ? e.violations : []).map((a) => {
|
|
1655
|
+
const s = Ce(a) ? a : {};
|
|
1617
1656
|
return {
|
|
1618
|
-
type:
|
|
1619
|
-
subject:
|
|
1620
|
-
description:
|
|
1657
|
+
type: K(s.type),
|
|
1658
|
+
subject: K(s.subject),
|
|
1659
|
+
description: K(s.description)
|
|
1621
1660
|
};
|
|
1622
1661
|
}) };
|
|
1623
1662
|
default:
|
|
1624
1663
|
return { kind: "Unknown", typeUrl: n, raw: e };
|
|
1625
1664
|
}
|
|
1626
1665
|
}
|
|
1627
|
-
function
|
|
1666
|
+
function Qa(e) {
|
|
1628
1667
|
return e.kind === "ErrorInfo";
|
|
1629
1668
|
}
|
|
1630
|
-
function
|
|
1669
|
+
function Ya(e) {
|
|
1631
1670
|
return e.kind === "BadRequest";
|
|
1632
1671
|
}
|
|
1633
|
-
function
|
|
1672
|
+
function Ja(e) {
|
|
1634
1673
|
return e.kind === "PreconditionFailure";
|
|
1635
1674
|
}
|
|
1636
|
-
class
|
|
1675
|
+
class ve extends Error {
|
|
1637
1676
|
constructor(n) {
|
|
1638
1677
|
super(n.title), this.isRetryable = n.isRetryable ?? !1, this.grpcCode = n.grpcCode, this.details = n.details ?? [];
|
|
1639
1678
|
}
|
|
1640
1679
|
}
|
|
1641
|
-
function
|
|
1642
|
-
if (e instanceof
|
|
1680
|
+
function Za(e) {
|
|
1681
|
+
if (e instanceof ve) return e;
|
|
1643
1682
|
if (e instanceof Error && e.message === "Failed to fetch")
|
|
1644
|
-
return new
|
|
1683
|
+
return new ve({ title: "Server unavailable. Try again later", isRetryable: !0 });
|
|
1645
1684
|
if (typeof e == "object" && e !== null && "code" in e) {
|
|
1646
|
-
const n = e, r = n.code ===
|
|
1647
|
-
return new
|
|
1685
|
+
const n = e, r = n.code === De.UNAVAILABLE || n.code === De.INTERNAL, o = (n.details ?? []).map(Sa);
|
|
1686
|
+
return new ve({ title: n.message, isRetryable: r, grpcCode: n.code, details: o });
|
|
1648
1687
|
}
|
|
1649
|
-
return new
|
|
1688
|
+
return new ve({ title: String(e), isRetryable: !1 });
|
|
1650
1689
|
}
|
|
1651
1690
|
export {
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1691
|
+
Fa as Accordion,
|
|
1692
|
+
Wa as AvatarFallbackIcon,
|
|
1693
|
+
Ia as BAD_REQUEST_TYPE_URL,
|
|
1694
|
+
Ae as Button,
|
|
1695
|
+
qa as Checkbox,
|
|
1696
|
+
Xt as CheckmarkIcon,
|
|
1697
|
+
Qe as ChevronDownIcon,
|
|
1698
|
+
Xa as ChuresConfigProvider,
|
|
1699
|
+
$a as ConfirmDialog,
|
|
1700
|
+
Ua as Dropdown,
|
|
1701
|
+
sr as DropdownCheckmark,
|
|
1702
|
+
ka as ERROR_INFO_TYPE_URL,
|
|
1703
|
+
Oa as EditPencilIcon,
|
|
1704
|
+
De as Errors,
|
|
1705
|
+
za as FlyoutMenu,
|
|
1706
|
+
ja as InfoDialog,
|
|
1707
|
+
Nt as Input,
|
|
1708
|
+
Un as Loader,
|
|
1709
|
+
Aa as LoadingWrapper,
|
|
1710
|
+
Te as MenuMeasuredContext,
|
|
1711
|
+
la as MenuSearchField,
|
|
1712
|
+
ia as MenuSkeleton,
|
|
1713
|
+
Ga as ModalActions,
|
|
1714
|
+
Va as ModalClose,
|
|
1715
|
+
xa as PRECONDITION_FAILURE_TYPE_URL,
|
|
1716
|
+
Qt as SearchIcon,
|
|
1717
|
+
Ha as SegmentedControl,
|
|
1718
|
+
ve as ServiceError,
|
|
1719
|
+
Ka as SideDrawer,
|
|
1720
|
+
Ea as TelegramAuth,
|
|
1721
|
+
Jn as TelegramSignInButton,
|
|
1722
|
+
Pa as Toaster,
|
|
1723
|
+
Ma as Toggle,
|
|
1724
|
+
Ya as isBadRequest,
|
|
1725
|
+
Qa as isErrorInfo,
|
|
1726
|
+
Ja as isPreconditionFailure,
|
|
1727
|
+
_a as menuItemText,
|
|
1728
|
+
Sa as parseErrorDetail,
|
|
1729
|
+
Za as parseGrpcError,
|
|
1730
|
+
ua as partitionBySubstring,
|
|
1731
|
+
Fe as popOverlayBack,
|
|
1732
|
+
Or as pushOverlayBack,
|
|
1733
|
+
Wr as useBackableOverlay,
|
|
1734
|
+
L as useComponentClassName,
|
|
1735
|
+
Hr as useMenuMeasured,
|
|
1736
|
+
Vn as useTelegramLogin,
|
|
1737
|
+
Xe as useToaster,
|
|
1738
|
+
ha as useTypeToSearch
|
|
1699
1739
|
};
|