@vervstack/chures 0.0.37 → 0.0.38
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 +279 -277
- package/dist/chures.umd.cjs +2 -2
- package/package.json +1 -1
package/dist/chures.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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-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_1uu20_1{0%{background-position:-200% 0}to{background-position:200% 0}}:where(._InputContainer_1uu20_15){position:relative;width:100%;height:var(--chures-input-height, 3rem)}:where(._InputField_1uu20_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_1uu20_21._hasStartIcon_1uu20_35){padding-left:2.25rem}:where(._InputField_1uu20_21._hasEndIcon_1uu20_39){padding-right:2.25rem}:where(._StartIcon_1uu20_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_1uu20_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_1uu20_21):focus{border-color:#ffffff59}:where(._hasError_1uu20_69 ._InputField_1uu20_21),:where(._hasError_1uu20_69 ._InputField_1uu20_21):focus{border-color:var(--chures-error, #ef4444)}:where(._disabled_1uu20_74 ._InputField_1uu20_21){opacity:.45;cursor:not-allowed}:where(._Label_1uu20_79){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_1uu20_79._lifted_1uu20_93){top:0;transform:translateY(-50%) scale(.82);background:var(--chures-input-bg, #111111);color:var(--chures-fg-muted, #9ca3af)}:where(._hasError_1uu20_69 ._Label_1uu20_79._lifted_1uu20_93){color:var(--chures-error, #ef4444)}:where(._ErrorText_1uu20_104){display:block;margin-top:.25rem;padding-left:.875rem;font-size:var(--chures-font-xs, .75rem);color:var(--chures-error, #ef4444)}:where(._Skeleton_1uu20_112){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_1uu20_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-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_c0vws_1{0%{opacity:0;transform:scale(.96) translateY(6px)}to{opacity:1;transform:none}}@keyframes _shimmer_c0vws_1{0%{background-position:-200% center}to{background-position:200% center}}._DropdownContainer_c0vws_13{position:relative;width:100%}._PanelWrapper_c0vws_20{position:absolute;top:calc(100% + var(--chures-dropdown-panel-gap));left:0;width:100%;animation:_panelIn_c0vws_1 .14s ease}._PanelWrapper_c0vws_20._Portal_c0vws_34{position:fixed;width:auto;margin-top:var(--chures-dropdown-panel-gap)}._PanelContainer_c0vws_18{background:var(--chures-dropdown-bg);border:1px solid var(--chures-dropdown-border);border-radius:var(--chures-dropdown-radius);overflow:hidden;box-shadow:0 1rem 3rem #000c}._PanelContainer_c0vws_18._Glass_c0vws_48{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_c0vws_54{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_c0vws_54._lifted_c0vws_68{top:0;transform:translateY(-50%) scale(.82);background:var(--chures-input-bg);color:var(--chures-fg-muted)}._TriggerContainer_c0vws_75{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_c0vws_75:hover{border-color:var(--chures-dropdown-trigger-border-hover)}._TriggerContainer_c0vws_75._Open_c0vws_99{border-color:var(--chures-accent);box-shadow:0 0 0 .1875rem var(--chures-dropdown-trigger-focus-ring)}._TriggerPlaceholder_c0vws_104{color:var(--chures-fg-muted);flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._TriggerValue_c0vws_112{color:var(--chures-fg);flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._TriggerIcon_c0vws_120{color:var(--chures-fg-muted);flex-shrink:0;display:flex;align-items:center}._ChipsWrapper_c0vws_127{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_c0vws_127::-webkit-scrollbar{display:none}._ChipsWrapper_c0vws_127._Expand_c0vws_145{flex-wrap:wrap;overflow:visible;row-gap:.25rem}._TriggerContainer_c0vws_75._MultiSelect_c0vws_151 ._TriggerIcon_c0vws_120{align-self:flex-start;height:var(--chures-input-height)}._TriggerContainer_c0vws_75._ExpandHeight_c0vws_156{height:auto;min-height:var(--chures-input-height)}._TriggerContainer_c0vws_75._RichValue_c0vws_161{height:auto;min-height:calc(var(--chures-input-height) * 1.25);padding:.625rem .875rem}._TriggerValueRich_c0vws_167{flex:1;min-width:0;overflow:hidden}._Chip_c0vws_127{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_c0vws_187{padding:.5rem;border-bottom:1px solid var(--chures-dropdown-border-subtle)}._SearchBox_c0vws_192{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_c0vws_202{display:flex;align-items:center;color:var(--chures-fg-muted);flex-shrink:0}._SearchInput_c0vws_209{flex:1;background:transparent;border:none;outline:none;font-size:var(--chures-font-sm);color:var(--chures-fg);font-family:inherit}._SearchInput_c0vws_209::placeholder{color:var(--chures-fg-muted)}._ResultsList_c0vws_223{max-height:13rem;overflow-y:auto}._OptionRow_c0vws_228{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_c0vws_228:hover{background:var(--chures-dropdown-hover);color:var(--chures-fg)}._OptionRow_c0vws_228._Selected_c0vws_243{color:var(--chures-fg)}._OptionRow_c0vws_228._Indented_c0vws_247{padding-left:1.875rem}._OptionRow_c0vws_228._Disabled_c0vws_251{cursor:not-allowed;opacity:.5}._OptionRow_c0vws_228._Disabled_c0vws_251:hover{background:transparent;color:var(--chures-fg-muted)}._GroupHeader_c0vws_262{padding:.5625rem .875rem .25rem;font-size:var(--chures-font-xs);color:var(--chures-fg-muted);text-transform:uppercase;letter-spacing:.03em}._GroupHeader_c0vws_262:not(:first-child){margin-top:.25rem;border-top:1px solid var(--chures-dropdown-border-subtle)}._Checkmark_c0vws_275{color:var(--chures-accent);font-size:var(--chures-font-xs);flex-shrink:0}._CreateRow_c0vws_281{display:flex;align-items:center;gap:.625rem;padding:.5625rem .875rem;cursor:pointer;background:var(--chures-dropdown-create-bg);transition:background .1s ease}._CreateRow_c0vws_281:hover{background:var(--chures-dropdown-create-bg-hover)}._CreateRow_c0vws_281._WithBorder_c0vws_294{border-top:1px solid var(--chures-dropdown-border-subtle)}._CreateIcon_c0vws_299{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_c0vws_311{font-size:var(--chures-font-sm);font-weight:600;color:var(--chures-fg)}._EmptyHint_c0vws_317{padding:.75rem .875rem;font-size:var(--chures-font-sm);color:var(--chures-fg-muted);font-style:italic}._SkeletonRow_c0vws_324{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_c0vws_1 1.4s infinite linear}:where(._Btn_1tozl_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_1tozl_10):disabled{opacity:.4;cursor:not-allowed}:where(._Primary_1tozl_35){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_1tozl_35):hover:not(:disabled){filter:brightness(1.06)}:where(._Secondary_1tozl_50){background:transparent;border-color:#ffffff24;color:var(--chures-fg-muted, #9ca3af)}:where(._Secondary_1tozl_50):hover:not(:disabled){color:var(--chures-fg, #ffffff);border-color:#ffffff47}:where(._Ghost_1tozl_62){background:transparent;border-color:#ffffff24;color:var(--chures-fg-muted, #9ca3af)}:where(._Ghost_1tozl_62):hover:not(:disabled){color:var(--chures-fg, #ffffff);border-color:#ffffff47}:where(._IconDanger_1tozl_74){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_1tozl_74):hover:not(:disabled){background:#ef44441f;color:var(--chures-error, #ef4444)}:where(._Danger_1tozl_95){background:transparent;border-color:#ef444466;color:var(--chures-error, #ef4444);transition:background .16s ease,border-color .16s ease}:where(._Danger_1tozl_95):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-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 o, jsxs as p, Fragment as
|
|
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-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_1uu20_1{0%{background-position:-200% 0}to{background-position:200% 0}}:where(._InputContainer_1uu20_15){position:relative;width:100%;height:var(--chures-input-height, 3rem)}:where(._InputField_1uu20_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_1uu20_21._hasStartIcon_1uu20_35){padding-left:2.25rem}:where(._InputField_1uu20_21._hasEndIcon_1uu20_39){padding-right:2.25rem}:where(._StartIcon_1uu20_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_1uu20_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_1uu20_21):focus{border-color:#ffffff59}:where(._hasError_1uu20_69 ._InputField_1uu20_21),:where(._hasError_1uu20_69 ._InputField_1uu20_21):focus{border-color:var(--chures-error, #ef4444)}:where(._disabled_1uu20_74 ._InputField_1uu20_21){opacity:.45;cursor:not-allowed}:where(._Label_1uu20_79){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_1uu20_79._lifted_1uu20_93){top:0;transform:translateY(-50%) scale(.82);background:var(--chures-input-bg, #111111);color:var(--chures-fg-muted, #9ca3af)}:where(._hasError_1uu20_69 ._Label_1uu20_79._lifted_1uu20_93){color:var(--chures-error, #ef4444)}:where(._ErrorText_1uu20_104){display:block;margin-top:.25rem;padding-left:.875rem;font-size:var(--chures-font-xs, .75rem);color:var(--chures-error, #ef4444)}:where(._Skeleton_1uu20_112){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_1uu20_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-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_c0vws_1{0%{opacity:0;transform:scale(.96) translateY(6px)}to{opacity:1;transform:none}}@keyframes _shimmer_c0vws_1{0%{background-position:-200% center}to{background-position:200% center}}._DropdownContainer_c0vws_13{position:relative;width:100%}._PanelWrapper_c0vws_20{position:absolute;top:calc(100% + var(--chures-dropdown-panel-gap));left:0;width:100%;animation:_panelIn_c0vws_1 .14s ease}._PanelWrapper_c0vws_20._Portal_c0vws_34{position:fixed;width:auto;margin-top:var(--chures-dropdown-panel-gap)}._PanelContainer_c0vws_18{background:var(--chures-dropdown-bg);border:1px solid var(--chures-dropdown-border);border-radius:var(--chures-dropdown-radius);overflow:hidden;box-shadow:0 1rem 3rem #000c}._PanelContainer_c0vws_18._Glass_c0vws_48{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_c0vws_54{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_c0vws_54._lifted_c0vws_68{top:0;transform:translateY(-50%) scale(.82);background:var(--chures-input-bg);color:var(--chures-fg-muted)}._TriggerContainer_c0vws_75{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_c0vws_75:hover{border-color:var(--chures-dropdown-trigger-border-hover)}._TriggerContainer_c0vws_75._Open_c0vws_99{border-color:var(--chures-accent);box-shadow:0 0 0 .1875rem var(--chures-dropdown-trigger-focus-ring)}._TriggerPlaceholder_c0vws_104{color:var(--chures-fg-muted);flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._TriggerValue_c0vws_112{color:var(--chures-fg);flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._TriggerIcon_c0vws_120{color:var(--chures-fg-muted);flex-shrink:0;display:flex;align-items:center}._ChipsWrapper_c0vws_127{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_c0vws_127::-webkit-scrollbar{display:none}._ChipsWrapper_c0vws_127._Expand_c0vws_145{flex-wrap:wrap;overflow:visible;row-gap:.25rem}._TriggerContainer_c0vws_75._MultiSelect_c0vws_151 ._TriggerIcon_c0vws_120{align-self:flex-start;height:var(--chures-input-height)}._TriggerContainer_c0vws_75._ExpandHeight_c0vws_156{height:auto;min-height:var(--chures-input-height)}._TriggerContainer_c0vws_75._RichValue_c0vws_161{height:auto;min-height:calc(var(--chures-input-height) * 1.25);padding:.625rem .875rem}._TriggerValueRich_c0vws_167{flex:1;min-width:0;overflow:hidden}._Chip_c0vws_127{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_c0vws_187{padding:.5rem;border-bottom:1px solid var(--chures-dropdown-border-subtle)}._SearchBox_c0vws_192{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_c0vws_202{display:flex;align-items:center;color:var(--chures-fg-muted);flex-shrink:0}._SearchInput_c0vws_209{flex:1;background:transparent;border:none;outline:none;font-size:var(--chures-font-sm);color:var(--chures-fg);font-family:inherit}._SearchInput_c0vws_209::placeholder{color:var(--chures-fg-muted)}._ResultsList_c0vws_223{max-height:13rem;overflow-y:auto}._OptionRow_c0vws_228{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_c0vws_228:hover{background:var(--chures-dropdown-hover);color:var(--chures-fg)}._OptionRow_c0vws_228._Selected_c0vws_243{color:var(--chures-fg)}._OptionRow_c0vws_228._Indented_c0vws_247{padding-left:1.875rem}._OptionRow_c0vws_228._Disabled_c0vws_251{cursor:not-allowed;opacity:.5}._OptionRow_c0vws_228._Disabled_c0vws_251:hover{background:transparent;color:var(--chures-fg-muted)}._GroupHeader_c0vws_262{padding:.5625rem .875rem .25rem;font-size:var(--chures-font-xs);color:var(--chures-fg-muted);text-transform:uppercase;letter-spacing:.03em}._GroupHeader_c0vws_262:not(:first-child){margin-top:.25rem;border-top:1px solid var(--chures-dropdown-border-subtle)}._Checkmark_c0vws_275{color:var(--chures-accent);font-size:var(--chures-font-xs);flex-shrink:0}._CreateRow_c0vws_281{display:flex;align-items:center;gap:.625rem;padding:.5625rem .875rem;cursor:pointer;background:var(--chures-dropdown-create-bg);transition:background .1s ease}._CreateRow_c0vws_281:hover{background:var(--chures-dropdown-create-bg-hover)}._CreateRow_c0vws_281._WithBorder_c0vws_294{border-top:1px solid var(--chures-dropdown-border-subtle)}._CreateIcon_c0vws_299{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_c0vws_311{font-size:var(--chures-font-sm);font-weight:600;color:var(--chures-fg)}._EmptyHint_c0vws_317{padding:.75rem .875rem;font-size:var(--chures-font-sm);color:var(--chures-fg-muted);font-style:italic}._SkeletonRow_c0vws_324{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_c0vws_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-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 o, jsxs as p, Fragment as K } from "react/jsx-runtime";
|
|
3
3
|
import { createContext as We, useContext as Fe, useRef as S, useState as R, useEffect as A, forwardRef as on, useCallback as E, useLayoutEffect as ge, Fragment as ve, useMemo as qe } from "react";
|
|
4
|
-
import { AnimatePresence as
|
|
4
|
+
import { AnimatePresence as he, motion as se, useReducedMotion as rn } from "framer-motion";
|
|
5
5
|
import { create as sn } from "zustand";
|
|
6
6
|
import { createPortal as Se } from "react-dom";
|
|
7
7
|
function an(e) {
|
|
@@ -42,12 +42,12 @@ function cn() {
|
|
|
42
42
|
})(we)), we.exports;
|
|
43
43
|
}
|
|
44
44
|
var ln = cn();
|
|
45
|
-
const v = /* @__PURE__ */ an(ln), un = "_LoaderContainer_wa8op_24", dn = "_sm_wa8op_31", fn = "_md_wa8op_32",
|
|
45
|
+
const v = /* @__PURE__ */ an(ln), un = "_LoaderContainer_wa8op_24", dn = "_sm_wa8op_31", fn = "_md_wa8op_32", _n = "_lg_wa8op_33", hn = "_Arc1_wa8op_37", mn = "_Arc2_wa8op_38", pn = "_Arc3_wa8op_39", gn = "_spin_wa8op_1", vn = "_Ring1_wa8op_71", wn = "_Ring2_wa8op_72", Cn = "_Ring3_wa8op_73", yn = "_ripple_wa8op_1", Nn = "_Dot1_wa8op_86", bn = "_Dot2_wa8op_87", kn = "_Dot3_wa8op_88", In = "_dotPulse_wa8op_1", Sn = "_Wave1_wa8op_105", Rn = "_Wave2_wa8op_106", Tn = "_Wave3_wa8op_107", Dn = "_Wave4_wa8op_108", Ln = "_Wave5_wa8op_109", xn = "_waveBounce_wa8op_1", de = {
|
|
46
46
|
LoaderContainer: un,
|
|
47
47
|
sm: dn,
|
|
48
48
|
md: fn,
|
|
49
|
-
lg:
|
|
50
|
-
Arc1:
|
|
49
|
+
lg: _n,
|
|
50
|
+
Arc1: hn,
|
|
51
51
|
Arc2: mn,
|
|
52
52
|
Arc3: pn,
|
|
53
53
|
spin: gn,
|
|
@@ -73,19 +73,19 @@ function B(e, n) {
|
|
|
73
73
|
function Bn(e, n) {
|
|
74
74
|
switch (e) {
|
|
75
75
|
case "ripple":
|
|
76
|
-
return /* @__PURE__ */ p(
|
|
76
|
+
return /* @__PURE__ */ p(K, { children: [
|
|
77
77
|
/* @__PURE__ */ o("div", { className: n.Ring1 }),
|
|
78
78
|
/* @__PURE__ */ o("div", { className: n.Ring2 }),
|
|
79
79
|
/* @__PURE__ */ o("div", { className: n.Ring3 })
|
|
80
80
|
] });
|
|
81
81
|
case "dots":
|
|
82
|
-
return /* @__PURE__ */ p(
|
|
82
|
+
return /* @__PURE__ */ p(K, { children: [
|
|
83
83
|
/* @__PURE__ */ o("div", { className: n.Dot1 }),
|
|
84
84
|
/* @__PURE__ */ o("div", { className: n.Dot2 }),
|
|
85
85
|
/* @__PURE__ */ o("div", { className: n.Dot3 })
|
|
86
86
|
] });
|
|
87
87
|
case "wave":
|
|
88
|
-
return /* @__PURE__ */ p(
|
|
88
|
+
return /* @__PURE__ */ p(K, { children: [
|
|
89
89
|
/* @__PURE__ */ o("div", { className: n.Wave1 }),
|
|
90
90
|
/* @__PURE__ */ o("div", { className: n.Wave2 }),
|
|
91
91
|
/* @__PURE__ */ o("div", { className: n.Wave3 }),
|
|
@@ -93,7 +93,7 @@ function Bn(e, n) {
|
|
|
93
93
|
/* @__PURE__ */ o("div", { className: n.Wave5 })
|
|
94
94
|
] });
|
|
95
95
|
default:
|
|
96
|
-
return /* @__PURE__ */ p(
|
|
96
|
+
return /* @__PURE__ */ p(K, { children: [
|
|
97
97
|
/* @__PURE__ */ o("div", { className: n.Arc1 }),
|
|
98
98
|
/* @__PURE__ */ o("div", { className: n.Arc2 }),
|
|
99
99
|
/* @__PURE__ */ o("div", { className: n.Arc3 })
|
|
@@ -117,9 +117,9 @@ const An = "_LoadingWrapperContainer_1q0w7_1", Mn = "_SkeletonWrapper_1q0w7_9",
|
|
|
117
117
|
LoadingWrapperContainer: An,
|
|
118
118
|
SkeletonWrapper: Mn
|
|
119
119
|
};
|
|
120
|
-
function
|
|
120
|
+
function cs({ isLoading: e, children: n, skeleton: r, loaderProps: t, className: s }) {
|
|
121
121
|
const i = B("LoadingWrapper", s);
|
|
122
|
-
return e ? r ? /* @__PURE__ */ o("div", { className: v(Le.SkeletonWrapper, i), children: r }) : /* @__PURE__ */ o("div", { className: v(Le.LoadingWrapperContainer, i), children: /* @__PURE__ */ o(En, { ...t }) }) : /* @__PURE__ */ o(
|
|
122
|
+
return e ? r ? /* @__PURE__ */ o("div", { className: v(Le.SkeletonWrapper, i), children: r }) : /* @__PURE__ */ o("div", { className: v(Le.LoadingWrapperContainer, i), children: /* @__PURE__ */ o(En, { ...t }) }) : /* @__PURE__ */ o(K, { children: n });
|
|
123
123
|
}
|
|
124
124
|
const Pn = "https://oauth.telegram.org/js/telegram-login.js?3";
|
|
125
125
|
function On(e) {
|
|
@@ -202,7 +202,7 @@ function $n({
|
|
|
202
202
|
c
|
|
203
203
|
] });
|
|
204
204
|
}
|
|
205
|
-
function
|
|
205
|
+
function ls({
|
|
206
206
|
botId: e,
|
|
207
207
|
onSuccess: n,
|
|
208
208
|
lang: r,
|
|
@@ -213,7 +213,7 @@ function cs({
|
|
|
213
213
|
className: c
|
|
214
214
|
}) {
|
|
215
215
|
const { login: d, isReady: u } = On({ botId: e, onSuccess: n, redirectUri: s, requestAccess: i });
|
|
216
|
-
return a ? /* @__PURE__ */ o(
|
|
216
|
+
return a ? /* @__PURE__ */ o(K, { children: a({ login: d, isReady: u }) }) : /* @__PURE__ */ o(
|
|
217
217
|
$n,
|
|
218
218
|
{
|
|
219
219
|
onClick: d,
|
|
@@ -238,20 +238,20 @@ const Ue = sn((e, n) => ({
|
|
|
238
238
|
toasts: t.toasts.filter((s) => s.id !== r)
|
|
239
239
|
}));
|
|
240
240
|
}
|
|
241
|
-
})), jn = "_ToastContainer_1tme2_1", Vn = "_Toast_1tme2_1",
|
|
241
|
+
})), jn = "_ToastContainer_1tme2_1", Vn = "_Toast_1tme2_1", Kn = "_error_1tme2_33", zn = "_warn_1tme2_41", Xn = "_info_1tme2_49", Qn = "_Description_1tme2_53", Yn = "_DismissButton_1tme2_59", Jn = "_slideIn_1tme2_79", Zn = "_slideOut_1tme2_83", V = {
|
|
242
242
|
ToastContainer: jn,
|
|
243
243
|
Toast: Vn,
|
|
244
|
-
error:
|
|
245
|
-
warn:
|
|
244
|
+
error: Kn,
|
|
245
|
+
warn: zn,
|
|
246
246
|
info: Xn,
|
|
247
247
|
Description: Qn,
|
|
248
248
|
DismissButton: Yn,
|
|
249
249
|
slideIn: Jn,
|
|
250
250
|
slideOut: Zn
|
|
251
251
|
};
|
|
252
|
-
function
|
|
252
|
+
function us({ className: e } = {}) {
|
|
253
253
|
const { toasts: n } = Ue(), r = B("Toaster", e);
|
|
254
|
-
return /* @__PURE__ */ o("div", { className: v(V.ToastContainer, r), children: /* @__PURE__ */ o(
|
|
254
|
+
return /* @__PURE__ */ o("div", { className: v(V.ToastContainer, r), children: /* @__PURE__ */ o(he, { children: n.map((t) => /* @__PURE__ */ o(
|
|
255
255
|
se.div,
|
|
256
256
|
{
|
|
257
257
|
layout: !0,
|
|
@@ -299,8 +299,8 @@ const nt = "_InputContainer_1uu20_15", tt = "_InputField_1uu20_21", ot = "_hasSt
|
|
|
299
299
|
lifted: ut,
|
|
300
300
|
ErrorText: dt,
|
|
301
301
|
Skeleton: ft
|
|
302
|
-
},
|
|
303
|
-
const [C, T] = R(!1), M = C || n.length > 0, D = B("Input", d), { onFocus:
|
|
302
|
+
}, _t = on(function({ value: n, setValue: r, label: t, isLoader: s, type: i = "text", disabled: a, error: c, className: d, inputClassName: u, startIcon: l, endIcon: f, ...g }, y) {
|
|
303
|
+
const [C, T] = R(!1), M = C || n.length > 0, D = B("Input", d), { onFocus: _, onBlur: w, ...L } = g;
|
|
304
304
|
return s ? /* @__PURE__ */ o("div", { className: v(P.Skeleton, D), "aria-hidden": "true" }) : /* @__PURE__ */ p("div", { className: v(P.InputContainer, { [P.hasError]: !!c, [P.disabled]: a }, D), children: [
|
|
305
305
|
l && /* @__PURE__ */ o("span", { className: P.StartIcon, children: l }),
|
|
306
306
|
/* @__PURE__ */ o(
|
|
@@ -312,7 +312,7 @@ const nt = "_InputContainer_1uu20_15", tt = "_InputField_1uu20_21", ot = "_hasSt
|
|
|
312
312
|
value: n,
|
|
313
313
|
onChange: (N) => r(N.target.value),
|
|
314
314
|
onFocus: (N) => {
|
|
315
|
-
T(!0),
|
|
315
|
+
T(!0), _?.(N);
|
|
316
316
|
},
|
|
317
317
|
onBlur: (N) => {
|
|
318
318
|
T(!1), w?.(N);
|
|
@@ -325,8 +325,8 @@ const nt = "_InputContainer_1uu20_15", tt = "_InputField_1uu20_21", ot = "_hasSt
|
|
|
325
325
|
f && /* @__PURE__ */ o("span", { className: P.EndIcon, children: f }),
|
|
326
326
|
c && /* @__PURE__ */ o("span", { className: P.ErrorText, children: c })
|
|
327
327
|
] });
|
|
328
|
-
}),
|
|
329
|
-
ToggleContainer:
|
|
328
|
+
}), ht = "_ToggleContainer_1jetc_6", mt = "_disabled_1jetc_13", pt = "_Track_1jetc_18", gt = "_on_1jetc_31", vt = "_Thumb_1jetc_39", wt = "_Label_1jetc_57", Ct = "_LabelSkeleton_1jetc_63", yt = "_Skeleton_1jetc_78", U = {
|
|
329
|
+
ToggleContainer: ht,
|
|
330
330
|
disabled: mt,
|
|
331
331
|
Track: pt,
|
|
332
332
|
on: gt,
|
|
@@ -335,7 +335,7 @@ const nt = "_InputContainer_1uu20_15", tt = "_InputField_1uu20_21", ot = "_hasSt
|
|
|
335
335
|
LabelSkeleton: Ct,
|
|
336
336
|
Skeleton: yt
|
|
337
337
|
};
|
|
338
|
-
function
|
|
338
|
+
function ds({ checked: e, onChange: n, label: r, labelPosition: t = "right", disabled: s, isLoader: i, isLoadingLabel: a, className: c }) {
|
|
339
339
|
const d = !!r || a, u = B("Toggle", c), l = a ? /* @__PURE__ */ o("span", { className: U.LabelSkeleton, "aria-hidden": "true" }) : r ? /* @__PURE__ */ o("span", { className: U.Label, children: r }) : null;
|
|
340
340
|
return i ? d ? /* @__PURE__ */ p("div", { className: v(U.ToggleContainer, u), children: [
|
|
341
341
|
t === "left" && l,
|
|
@@ -358,7 +358,7 @@ function us({ checked: e, onChange: n, label: r, labelPosition: t = "right", dis
|
|
|
358
358
|
t === "right" && l
|
|
359
359
|
] });
|
|
360
360
|
}
|
|
361
|
-
const Nt = "_SegmentedControlContainer_ga29h_2", bt = "_Disabled_ga29h_20", kt = "_Highlight_ga29h_25", It = "_Option_ga29h_34", St = "_OptionDisabled_ga29h_61", Rt = "_Selected_ga29h_65",
|
|
361
|
+
const Nt = "_SegmentedControlContainer_ga29h_2", bt = "_Disabled_ga29h_20", kt = "_Highlight_ga29h_25", It = "_Option_ga29h_34", St = "_OptionDisabled_ga29h_61", Rt = "_Selected_ga29h_65", re = {
|
|
362
362
|
SegmentedControlContainer: Nt,
|
|
363
363
|
Disabled: bt,
|
|
364
364
|
Highlight: kt,
|
|
@@ -366,18 +366,18 @@ const Nt = "_SegmentedControlContainer_ga29h_2", bt = "_Disabled_ga29h_20", kt =
|
|
|
366
366
|
OptionDisabled: St,
|
|
367
367
|
Selected: Rt
|
|
368
368
|
}, Tt = 0.35;
|
|
369
|
-
function
|
|
369
|
+
function fs({ options: e, value: n, onChange: r, disabled: t, className: s }) {
|
|
370
370
|
const i = B("SegmentedControl", s), a = rn(), c = S(/* @__PURE__ */ new Map()), d = S(null), u = S(n), [l, f] = R(null), g = E(() => {
|
|
371
|
-
const
|
|
372
|
-
return
|
|
373
|
-
}, [n]), y = E((
|
|
371
|
+
const _ = c.current.get(n);
|
|
372
|
+
return _ ? { left: _.offsetLeft, width: _.offsetWidth } : null;
|
|
373
|
+
}, [n]), y = E((_) => {
|
|
374
374
|
const w = g();
|
|
375
375
|
if (!w) {
|
|
376
376
|
d.current = null, f(null);
|
|
377
377
|
return;
|
|
378
378
|
}
|
|
379
379
|
const L = d.current;
|
|
380
|
-
if (d.current = w, !
|
|
380
|
+
if (d.current = w, !_ || !L || a) {
|
|
381
381
|
f({ left: [w.left], width: [w.width], duration: 0 });
|
|
382
382
|
return;
|
|
383
383
|
}
|
|
@@ -389,61 +389,61 @@ function ds({ options: e, value: n, onChange: r, disabled: t, className: s }) {
|
|
|
389
389
|
});
|
|
390
390
|
}, [g, a]);
|
|
391
391
|
ge(() => {
|
|
392
|
-
const
|
|
393
|
-
u.current = n, y(
|
|
392
|
+
const _ = u.current !== n;
|
|
393
|
+
u.current = n, y(_);
|
|
394
394
|
}, [n, e, y]), A(() => {
|
|
395
|
-
const
|
|
396
|
-
return c.current.forEach((w) =>
|
|
395
|
+
const _ = new ResizeObserver(() => y(!1));
|
|
396
|
+
return c.current.forEach((w) => _.observe(w)), () => _.disconnect();
|
|
397
397
|
}, [e, y]);
|
|
398
|
-
const C = e.filter((
|
|
399
|
-
function M(
|
|
398
|
+
const C = e.filter((_) => !_.disabled), T = C.some((_) => _.value === n) ? n : C[0]?.value;
|
|
399
|
+
function M(_) {
|
|
400
400
|
if (t) return;
|
|
401
|
-
const w =
|
|
401
|
+
const w = _.key === "ArrowRight" || _.key === "ArrowDown", L = _.key === "ArrowLeft" || _.key === "ArrowUp";
|
|
402
402
|
if (!w && !L) return;
|
|
403
|
-
|
|
403
|
+
_.preventDefault();
|
|
404
404
|
const N = C.findIndex((H) => H.value === n), x = N === -1 ? 0 : (N + (w ? 1 : -1) + C.length) % C.length, W = C[x];
|
|
405
405
|
W && (r(W.value), c.current.get(W.value)?.focus());
|
|
406
406
|
}
|
|
407
|
-
function D(
|
|
408
|
-
t ||
|
|
407
|
+
function D(_) {
|
|
408
|
+
t || _.disabled || _.value === n || r(_.value);
|
|
409
409
|
}
|
|
410
410
|
return /* @__PURE__ */ p(
|
|
411
411
|
"div",
|
|
412
412
|
{
|
|
413
413
|
role: "radiogroup",
|
|
414
414
|
"aria-disabled": t || void 0,
|
|
415
|
-
className: v(
|
|
415
|
+
className: v(re.SegmentedControlContainer, { [re.Disabled]: t }, i),
|
|
416
416
|
onKeyDown: M,
|
|
417
417
|
children: [
|
|
418
418
|
l && /* @__PURE__ */ o(
|
|
419
419
|
se.span,
|
|
420
420
|
{
|
|
421
|
-
className:
|
|
421
|
+
className: re.Highlight,
|
|
422
422
|
"aria-hidden": "true",
|
|
423
423
|
initial: !1,
|
|
424
424
|
animate: { left: l.left, width: l.width },
|
|
425
425
|
transition: { duration: l.duration, ease: "easeInOut" }
|
|
426
426
|
}
|
|
427
427
|
),
|
|
428
|
-
e.map((
|
|
428
|
+
e.map((_) => /* @__PURE__ */ o(
|
|
429
429
|
"button",
|
|
430
430
|
{
|
|
431
431
|
ref: (w) => {
|
|
432
|
-
w ? c.current.set(
|
|
432
|
+
w ? c.current.set(_.value, w) : c.current.delete(_.value);
|
|
433
433
|
},
|
|
434
434
|
type: "button",
|
|
435
435
|
role: "radio",
|
|
436
|
-
"aria-checked":
|
|
437
|
-
tabIndex:
|
|
438
|
-
disabled: t ||
|
|
439
|
-
className: v(
|
|
440
|
-
[
|
|
441
|
-
[
|
|
436
|
+
"aria-checked": _.value === n,
|
|
437
|
+
tabIndex: _.value === T ? 0 : -1,
|
|
438
|
+
disabled: t || _.disabled,
|
|
439
|
+
className: v(re.Option, {
|
|
440
|
+
[re.Selected]: _.value === n,
|
|
441
|
+
[re.OptionDisabled]: _.disabled
|
|
442
442
|
}),
|
|
443
|
-
onClick: () => D(
|
|
444
|
-
children:
|
|
443
|
+
onClick: () => D(_),
|
|
444
|
+
children: _.content
|
|
445
445
|
},
|
|
446
|
-
|
|
446
|
+
_.value
|
|
447
447
|
))
|
|
448
448
|
]
|
|
449
449
|
}
|
|
@@ -473,7 +473,7 @@ const Lt = "_CheckboxContainer_14vl9_4", xt = "_disabled_14vl9_12", Bt = "_BoxWr
|
|
|
473
473
|
Box: Et,
|
|
474
474
|
Label: At
|
|
475
475
|
};
|
|
476
|
-
function
|
|
476
|
+
function _s({ checked: e, onChange: n, label: r, disabled: t, className: s }) {
|
|
477
477
|
const i = B("Checkbox", s);
|
|
478
478
|
return /* @__PURE__ */ p("label", { className: v(ae.CheckboxContainer, { [ae.disabled]: t }, i), children: [
|
|
479
479
|
/* @__PURE__ */ p("span", { className: ae.BoxWrapper, children: [
|
|
@@ -542,7 +542,7 @@ function Wt(e) {
|
|
|
542
542
|
function Ft(e, n) {
|
|
543
543
|
return e.map((r) => n.find((t) => O(t) === r) ?? r);
|
|
544
544
|
}
|
|
545
|
-
const qt = "_DropdownContainer_c0vws_13", Ht = "_PanelWrapper_c0vws_20", Ut = "_Portal_c0vws_34", $t = "_PanelContainer_c0vws_18", Gt = "_Glass_c0vws_48", jt = "_Label_c0vws_54", Vt = "_lifted_c0vws_68",
|
|
545
|
+
const qt = "_DropdownContainer_c0vws_13", Ht = "_PanelWrapper_c0vws_20", Ut = "_Portal_c0vws_34", $t = "_PanelContainer_c0vws_18", Gt = "_Glass_c0vws_48", jt = "_Label_c0vws_54", Vt = "_lifted_c0vws_68", Kt = "_TriggerContainer_c0vws_75", zt = "_Open_c0vws_99", Xt = "_TriggerPlaceholder_c0vws_104", Qt = "_TriggerValue_c0vws_112", Yt = "_TriggerIcon_c0vws_120", Jt = "_ChipsWrapper_c0vws_127", Zt = "_Expand_c0vws_145", eo = "_MultiSelect_c0vws_151", no = "_ExpandHeight_c0vws_156", to = "_RichValue_c0vws_161", oo = "_TriggerValueRich_c0vws_167", ro = "_Chip_c0vws_127", so = "_SearchRow_c0vws_187", io = "_SearchBox_c0vws_192", ao = "_SearchIcon_c0vws_202", co = "_SearchInput_c0vws_209", lo = "_ResultsList_c0vws_223", uo = "_OptionRow_c0vws_228", fo = "_Selected_c0vws_243", _o = "_Indented_c0vws_247", ho = "_Disabled_c0vws_251", mo = "_GroupHeader_c0vws_262", po = "_Checkmark_c0vws_275", go = "_CreateRow_c0vws_281", vo = "_WithBorder_c0vws_294", wo = "_CreateIcon_c0vws_299", Co = "_CreateLabel_c0vws_311", yo = "_EmptyHint_c0vws_317", No = "_SkeletonRow_c0vws_324", h = {
|
|
546
546
|
DropdownContainer: qt,
|
|
547
547
|
PanelWrapper: Ht,
|
|
548
548
|
Portal: Ut,
|
|
@@ -550,8 +550,8 @@ const qt = "_DropdownContainer_c0vws_13", Ht = "_PanelWrapper_c0vws_20", Ut = "_
|
|
|
550
550
|
Glass: Gt,
|
|
551
551
|
Label: jt,
|
|
552
552
|
lifted: Vt,
|
|
553
|
-
TriggerContainer:
|
|
554
|
-
Open:
|
|
553
|
+
TriggerContainer: Kt,
|
|
554
|
+
Open: zt,
|
|
555
555
|
TriggerPlaceholder: Xt,
|
|
556
556
|
TriggerValue: Qt,
|
|
557
557
|
TriggerIcon: Yt,
|
|
@@ -569,8 +569,8 @@ const qt = "_DropdownContainer_c0vws_13", Ht = "_PanelWrapper_c0vws_20", Ut = "_
|
|
|
569
569
|
ResultsList: lo,
|
|
570
570
|
OptionRow: uo,
|
|
571
571
|
Selected: fo,
|
|
572
|
-
Indented:
|
|
573
|
-
Disabled:
|
|
572
|
+
Indented: _o,
|
|
573
|
+
Disabled: ho,
|
|
574
574
|
GroupHeader: mo,
|
|
575
575
|
Checkmark: po,
|
|
576
576
|
CreateRow: go,
|
|
@@ -587,14 +587,14 @@ function bo({ query: e, withBorder: n, onCreate: r }) {
|
|
|
587
587
|
return /* @__PURE__ */ p(
|
|
588
588
|
"div",
|
|
589
589
|
{
|
|
590
|
-
className: v(
|
|
590
|
+
className: v(h.CreateRow, n && h.WithBorder),
|
|
591
591
|
onMouseDown: t,
|
|
592
592
|
children: [
|
|
593
|
-
/* @__PURE__ */ o("span", { className:
|
|
593
|
+
/* @__PURE__ */ o("span", { className: h.CreateIcon, children: /* @__PURE__ */ p("svg", { width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", children: [
|
|
594
594
|
/* @__PURE__ */ o("line", { x1: "5", y1: "1", x2: "5", y2: "9" }),
|
|
595
595
|
/* @__PURE__ */ o("line", { x1: "1", y1: "5", x2: "9", y2: "5" })
|
|
596
596
|
] }) }),
|
|
597
|
-
/* @__PURE__ */ p("span", { className:
|
|
597
|
+
/* @__PURE__ */ p("span", { className: h.CreateLabel, children: [
|
|
598
598
|
"create “",
|
|
599
599
|
e,
|
|
600
600
|
"”"
|
|
@@ -610,20 +610,20 @@ function ko({ label: e, icon: n, withBorder: r, onAction: t }) {
|
|
|
610
610
|
return /* @__PURE__ */ p(
|
|
611
611
|
"div",
|
|
612
612
|
{
|
|
613
|
-
className: v(
|
|
613
|
+
className: v(h.CreateRow, r && h.WithBorder),
|
|
614
614
|
onMouseDown: s,
|
|
615
615
|
children: [
|
|
616
|
-
/* @__PURE__ */ o("span", { className:
|
|
616
|
+
/* @__PURE__ */ o("span", { className: h.CreateIcon, children: n ?? /* @__PURE__ */ p("svg", { width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", children: [
|
|
617
617
|
/* @__PURE__ */ o("line", { x1: "5", y1: "1", x2: "5", y2: "9" }),
|
|
618
618
|
/* @__PURE__ */ o("line", { x1: "1", y1: "5", x2: "9", y2: "5" })
|
|
619
619
|
] }) }),
|
|
620
|
-
/* @__PURE__ */ o("span", { className:
|
|
620
|
+
/* @__PURE__ */ o("span", { className: h.CreateLabel, children: e })
|
|
621
621
|
]
|
|
622
622
|
}
|
|
623
623
|
);
|
|
624
624
|
}
|
|
625
625
|
function Io({ label: e }) {
|
|
626
|
-
return /* @__PURE__ */ o("div", { className:
|
|
626
|
+
return /* @__PURE__ */ o("div", { className: h.GroupHeader, children: e });
|
|
627
627
|
}
|
|
628
628
|
function xe({ opt: e, isSelected: n, multiSelect: r, onPick: t, indented: s = !1 }) {
|
|
629
629
|
const i = Ge(e);
|
|
@@ -633,19 +633,19 @@ function xe({ opt: e, isSelected: n, multiSelect: r, onPick: t, indented: s = !1
|
|
|
633
633
|
return /* @__PURE__ */ p(
|
|
634
634
|
"div",
|
|
635
635
|
{
|
|
636
|
-
className: v(
|
|
636
|
+
className: v(h.OptionRow, n && h.Selected, s && h.Indented, i && h.Disabled),
|
|
637
637
|
onMouseDown: a,
|
|
638
638
|
title: Wt(e),
|
|
639
639
|
children: [
|
|
640
|
-
r && n && /* @__PURE__ */ o("span", { className:
|
|
640
|
+
r && n && /* @__PURE__ */ o("span", { className: h.Checkmark, children: "✓" }),
|
|
641
641
|
me(e)
|
|
642
642
|
]
|
|
643
643
|
}
|
|
644
644
|
);
|
|
645
645
|
}
|
|
646
646
|
function So({ inputRef: e, query: n, onChange: r, onKeyDown: t, placeholder: s }) {
|
|
647
|
-
return /* @__PURE__ */ o("div", { className:
|
|
648
|
-
/* @__PURE__ */ o("span", { className:
|
|
647
|
+
return /* @__PURE__ */ o("div", { className: h.SearchRow, children: /* @__PURE__ */ p("div", { className: h.SearchBox, children: [
|
|
648
|
+
/* @__PURE__ */ o("span", { className: h.SearchIcon, children: /* @__PURE__ */ p("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", children: [
|
|
649
649
|
/* @__PURE__ */ o("circle", { cx: "5", cy: "5", r: "3.5" }),
|
|
650
650
|
/* @__PURE__ */ o("line", { x1: "8", y1: "8", x2: "11", y2: "11" })
|
|
651
651
|
] }) }),
|
|
@@ -653,7 +653,7 @@ function So({ inputRef: e, query: n, onChange: r, onKeyDown: t, placeholder: s }
|
|
|
653
653
|
"input",
|
|
654
654
|
{
|
|
655
655
|
ref: e,
|
|
656
|
-
className:
|
|
656
|
+
className: h.SearchInput,
|
|
657
657
|
value: n,
|
|
658
658
|
onChange: r,
|
|
659
659
|
onKeyDown: t,
|
|
@@ -663,7 +663,7 @@ function So({ inputRef: e, query: n, onChange: r, onKeyDown: t, placeholder: s }
|
|
|
663
663
|
] }) });
|
|
664
664
|
}
|
|
665
665
|
function Ro({ count: e }) {
|
|
666
|
-
return /* @__PURE__ */ o(
|
|
666
|
+
return /* @__PURE__ */ o(K, { children: Array.from({ length: e }).map((n, r) => /* @__PURE__ */ o("div", { className: h.SkeletonRow }, r)) });
|
|
667
667
|
}
|
|
668
668
|
function To({
|
|
669
669
|
onSearch: e,
|
|
@@ -684,7 +684,7 @@ function To({
|
|
|
684
684
|
glass: T = !1,
|
|
685
685
|
portal: M = !0,
|
|
686
686
|
renderOption: D,
|
|
687
|
-
footerAction:
|
|
687
|
+
footerAction: _
|
|
688
688
|
}) {
|
|
689
689
|
const [w, L] = R(""), [N, q] = R(!1), [x, W] = R(null), H = S(null), Y = S(null), b = !!e, I = Ot(w, e);
|
|
690
690
|
Pt(Y, t, s);
|
|
@@ -709,23 +709,23 @@ function To({
|
|
|
709
709
|
}), ue = l ? [
|
|
710
710
|
...ie.filter((m) => !ce(m) && d.includes(O(m))),
|
|
711
711
|
...ie.filter((m) => ce(m) || !d.includes(O(m)))
|
|
712
|
-
] : ie,
|
|
712
|
+
] : ie, z = $e(ue), J = w.trim(), ne = z.some(
|
|
713
713
|
(m) => me(m).toLowerCase() === J.toLowerCase()
|
|
714
|
-
),
|
|
714
|
+
), te = !!n && J.length > 0 && !ne;
|
|
715
715
|
async function Re() {
|
|
716
|
-
!J || N || !n || (q(!0), n(J).then(
|
|
716
|
+
!J || N || !n || (q(!0), n(J).then(oe).catch(C).finally(() => q(!1)));
|
|
717
717
|
}
|
|
718
|
-
function
|
|
718
|
+
function oe(m) {
|
|
719
719
|
Ge(m) || (r(m), u || t());
|
|
720
720
|
}
|
|
721
721
|
function Je() {
|
|
722
|
-
|
|
722
|
+
_?.onAction(), t();
|
|
723
723
|
}
|
|
724
724
|
function Ze(m) {
|
|
725
725
|
L(m.target.value);
|
|
726
726
|
}
|
|
727
727
|
function en(m) {
|
|
728
|
-
m.key === "Enter" && (m.preventDefault(),
|
|
728
|
+
m.key === "Enter" && (m.preventDefault(), z.length > 0 ? oe(z[0]) : te && Re());
|
|
729
729
|
}
|
|
730
730
|
const nn = i ?? (n ? "search or add new…" : "search…");
|
|
731
731
|
if (F && !x) return null;
|
|
@@ -733,9 +733,9 @@ function To({
|
|
|
733
733
|
"div",
|
|
734
734
|
{
|
|
735
735
|
ref: Y,
|
|
736
|
-
className: v(
|
|
736
|
+
className: v(h.PanelWrapper, { [h.Portal]: F }),
|
|
737
737
|
style: F && x ? { top: x.bottom, left: x.left, width: x.width } : void 0,
|
|
738
|
-
children: /* @__PURE__ */ p("div", { className: v(
|
|
738
|
+
children: /* @__PURE__ */ p("div", { className: v(h.PanelContainer, { [h.Glass]: T }), children: [
|
|
739
739
|
b && /* @__PURE__ */ o(
|
|
740
740
|
So,
|
|
741
741
|
{
|
|
@@ -746,21 +746,21 @@ function To({
|
|
|
746
746
|
placeholder: nn
|
|
747
747
|
}
|
|
748
748
|
),
|
|
749
|
-
/* @__PURE__ */ o("div", { className:
|
|
749
|
+
/* @__PURE__ */ o("div", { className: h.ResultsList, children: f ? /* @__PURE__ */ o(Ro, { count: y }) : /* @__PURE__ */ p(K, { children: [
|
|
750
750
|
ue.map((m) => ce(m) ? /* @__PURE__ */ p(ve, { children: [
|
|
751
751
|
/* @__PURE__ */ o(Io, { label: m.group }),
|
|
752
752
|
m.options.map(($) => /* @__PURE__ */ o(ve, { children: D ? D($, {
|
|
753
753
|
isSelected: d.includes(O($)),
|
|
754
754
|
multiSelect: u,
|
|
755
755
|
indented: !0,
|
|
756
|
-
onPick: () =>
|
|
756
|
+
onPick: () => oe($)
|
|
757
757
|
}) : /* @__PURE__ */ o(
|
|
758
758
|
xe,
|
|
759
759
|
{
|
|
760
760
|
opt: $,
|
|
761
761
|
isSelected: d.includes(O($)),
|
|
762
762
|
multiSelect: u,
|
|
763
|
-
onPick:
|
|
763
|
+
onPick: oe,
|
|
764
764
|
indented: !0
|
|
765
765
|
}
|
|
766
766
|
) }, O($)))
|
|
@@ -768,31 +768,31 @@ function To({
|
|
|
768
768
|
isSelected: d.includes(O(m)),
|
|
769
769
|
multiSelect: u,
|
|
770
770
|
indented: !1,
|
|
771
|
-
onPick: () =>
|
|
771
|
+
onPick: () => oe(m)
|
|
772
772
|
}) : /* @__PURE__ */ o(
|
|
773
773
|
xe,
|
|
774
774
|
{
|
|
775
775
|
opt: m,
|
|
776
776
|
isSelected: d.includes(O(m)),
|
|
777
777
|
multiSelect: u,
|
|
778
|
-
onPick:
|
|
778
|
+
onPick: oe
|
|
779
779
|
}
|
|
780
780
|
) }, O(m))),
|
|
781
|
-
|
|
781
|
+
te && /* @__PURE__ */ o(
|
|
782
782
|
bo,
|
|
783
783
|
{
|
|
784
784
|
query: J,
|
|
785
|
-
withBorder:
|
|
785
|
+
withBorder: z.length > 0,
|
|
786
786
|
onCreate: Re
|
|
787
787
|
}
|
|
788
788
|
),
|
|
789
|
-
|
|
790
|
-
|
|
789
|
+
z.length === 0 && !te && /* @__PURE__ */ o("div", { className: h.EmptyHint, children: g }),
|
|
790
|
+
_ && /* @__PURE__ */ o(
|
|
791
791
|
ko,
|
|
792
792
|
{
|
|
793
|
-
label:
|
|
794
|
-
icon:
|
|
795
|
-
withBorder:
|
|
793
|
+
label: _.label,
|
|
794
|
+
icon: _.icon,
|
|
795
|
+
withBorder: z.length > 0 || te,
|
|
796
796
|
onAction: Je
|
|
797
797
|
}
|
|
798
798
|
)
|
|
@@ -838,7 +838,7 @@ function hs() {
|
|
|
838
838
|
}
|
|
839
839
|
);
|
|
840
840
|
}
|
|
841
|
-
function
|
|
841
|
+
function ms() {
|
|
842
842
|
return /* @__PURE__ */ p(
|
|
843
843
|
"svg",
|
|
844
844
|
{
|
|
@@ -894,23 +894,23 @@ function xo({
|
|
|
894
894
|
type: "button",
|
|
895
895
|
ref: e,
|
|
896
896
|
className: v(
|
|
897
|
-
|
|
898
|
-
n &&
|
|
899
|
-
s &&
|
|
900
|
-
d &&
|
|
901
|
-
u &&
|
|
897
|
+
h.TriggerContainer,
|
|
898
|
+
n && h.Open,
|
|
899
|
+
s && h.MultiSelect,
|
|
900
|
+
d && h.ExpandHeight,
|
|
901
|
+
u && h.RichValue
|
|
902
902
|
),
|
|
903
903
|
onClick: r,
|
|
904
904
|
"aria-expanded": n,
|
|
905
905
|
"aria-haspopup": "listbox",
|
|
906
906
|
children: [
|
|
907
|
-
s && t.length > 0 ? /* @__PURE__ */ o("div", { className: v(
|
|
908
|
-
/* @__PURE__ */ o("span", { className:
|
|
907
|
+
s && t.length > 0 ? /* @__PURE__ */ o("div", { className: v(h.ChipsWrapper, d && h.Expand), children: t.map((l, f) => /* @__PURE__ */ o("span", { className: h.Chip, children: c ? c(l) : me(l) }, f)) }) : u ? /* @__PURE__ */ o("div", { className: h.TriggerValueRich, children: c(t[0]) }) : /* @__PURE__ */ o("span", { className: t.length === 0 ? h.TriggerPlaceholder : h.TriggerValue, children: t.length === 0 ? i : t.map(me).join(", ") }),
|
|
908
|
+
/* @__PURE__ */ o("span", { className: h.TriggerIcon, children: /* @__PURE__ */ o(Do, { size: 12 }) })
|
|
909
909
|
]
|
|
910
910
|
}
|
|
911
911
|
);
|
|
912
912
|
}
|
|
913
|
-
function
|
|
913
|
+
function ps({
|
|
914
914
|
options: e = [],
|
|
915
915
|
value: n,
|
|
916
916
|
onChange: r,
|
|
@@ -929,7 +929,7 @@ function ms({
|
|
|
929
929
|
onError: T,
|
|
930
930
|
className: M,
|
|
931
931
|
glass: D = !1,
|
|
932
|
-
portal:
|
|
932
|
+
portal: _ = !0,
|
|
933
933
|
renderOption: w,
|
|
934
934
|
renderValue: L,
|
|
935
935
|
footerAction: N,
|
|
@@ -937,20 +937,20 @@ function ms({
|
|
|
937
937
|
}) {
|
|
938
938
|
const { isOpen: x, triggerRef: W, toggleOpen: H, close: Y } = Mt(), b = B("Dropdown", M), I = Ft(n, $e(e)), F = x || I.length > 0, ie = u && !F ? "" : l;
|
|
939
939
|
function ue(J) {
|
|
940
|
-
const
|
|
940
|
+
const ne = O(J);
|
|
941
941
|
r(
|
|
942
|
-
a ? n.includes(
|
|
942
|
+
a ? n.includes(ne) ? n.filter((te) => te !== ne) : [...n, ne] : [ne]
|
|
943
943
|
);
|
|
944
944
|
}
|
|
945
|
-
const
|
|
945
|
+
const z = {
|
|
946
946
|
ref: W,
|
|
947
947
|
onClick: H,
|
|
948
948
|
"aria-expanded": x,
|
|
949
949
|
"aria-haspopup": "listbox"
|
|
950
950
|
};
|
|
951
|
-
return /* @__PURE__ */ p("div", { className: v(
|
|
952
|
-
u && /* @__PURE__ */ o("label", { className: v(
|
|
953
|
-
q ? q({ selectedOptions: I, isOpen: x, toggleOpen: H, close: Y, triggerProps:
|
|
951
|
+
return /* @__PURE__ */ p("div", { className: v(h.DropdownContainer, b), children: [
|
|
952
|
+
u && /* @__PURE__ */ o("label", { className: v(h.Label, { [h.lifted]: F }), children: u }),
|
|
953
|
+
q ? q({ selectedOptions: I, isOpen: x, toggleOpen: H, close: Y, triggerProps: z }) : /* @__PURE__ */ o(
|
|
954
954
|
xo,
|
|
955
955
|
{
|
|
956
956
|
triggerRef: W,
|
|
@@ -982,51 +982,53 @@ function ms({
|
|
|
982
982
|
skeletonRowCount: C,
|
|
983
983
|
onError: T,
|
|
984
984
|
glass: D,
|
|
985
|
-
portal:
|
|
985
|
+
portal: _,
|
|
986
986
|
renderOption: w,
|
|
987
987
|
footerAction: N
|
|
988
988
|
}
|
|
989
989
|
)
|
|
990
990
|
] });
|
|
991
991
|
}
|
|
992
|
-
const Bo = "
|
|
992
|
+
const Bo = "_Btn_1wp07_10", Eo = "_Unstyled_1wp07_35", Ao = "_Primary_1wp07_52", Mo = "_Secondary_1wp07_67", Po = "_Ghost_1wp07_79", Oo = "_IconDanger_1wp07_91", Wo = "_Danger_1wp07_112", ee = {
|
|
993
993
|
Btn: Bo,
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
994
|
+
Unstyled: Eo,
|
|
995
|
+
Primary: Ao,
|
|
996
|
+
Secondary: Mo,
|
|
997
|
+
Ghost: Po,
|
|
998
|
+
IconDanger: Oo,
|
|
999
|
+
Danger: Wo
|
|
1000
|
+
}, Fo = {
|
|
1001
|
+
primary: ee.Primary,
|
|
1002
|
+
secondary: ee.Secondary,
|
|
1003
|
+
danger: ee.Danger,
|
|
1004
|
+
ghost: ee.Ghost,
|
|
1005
|
+
iconDanger: ee.IconDanger,
|
|
1006
|
+
unstyled: ee.Unstyled
|
|
1005
1007
|
};
|
|
1006
1008
|
function je({ variant: e = "default", className: n, children: r, ...t }) {
|
|
1007
|
-
const s = B("Button", n)
|
|
1009
|
+
const s = B("Button", n);
|
|
1008
1010
|
return /* @__PURE__ */ o(
|
|
1009
1011
|
"button",
|
|
1010
1012
|
{
|
|
1011
1013
|
type: "button",
|
|
1012
1014
|
...t,
|
|
1013
|
-
className: v(!
|
|
1015
|
+
className: v(!(e === "unstyled") && ee.Btn, Fo[e], s),
|
|
1014
1016
|
children: r
|
|
1015
1017
|
}
|
|
1016
1018
|
);
|
|
1017
1019
|
}
|
|
1018
|
-
const
|
|
1019
|
-
ConfirmWrapper:
|
|
1020
|
-
ConfirmContainer:
|
|
1021
|
-
Glass:
|
|
1022
|
-
ConfirmTitle:
|
|
1023
|
-
ConfirmMessage:
|
|
1024
|
-
ConfirmActions:
|
|
1025
|
-
BtnCancel:
|
|
1026
|
-
BtnConfirm:
|
|
1020
|
+
const qo = "_ConfirmWrapper_1tq4o_4", Ho = "_ConfirmContainer_1tq4o_1", Uo = "_Glass_1tq4o_24", $o = "_ConfirmTitle_1tq4o_30", Go = "_ConfirmMessage_1tq4o_38", jo = "_ConfirmActions_1tq4o_45", Vo = "_BtnCancel_1tq4o_53", Ko = "_BtnConfirm_1tq4o_73", zo = "_BtnDanger_1tq4o_92", G = {
|
|
1021
|
+
ConfirmWrapper: qo,
|
|
1022
|
+
ConfirmContainer: Ho,
|
|
1023
|
+
Glass: Uo,
|
|
1024
|
+
ConfirmTitle: $o,
|
|
1025
|
+
ConfirmMessage: Go,
|
|
1026
|
+
ConfirmActions: jo,
|
|
1027
|
+
BtnCancel: Vo,
|
|
1028
|
+
BtnConfirm: Ko,
|
|
1027
1029
|
BtnDanger: zo
|
|
1028
1030
|
};
|
|
1029
|
-
function
|
|
1031
|
+
function gs({
|
|
1030
1032
|
title: e,
|
|
1031
1033
|
message: n,
|
|
1032
1034
|
confirmLabel: r = "Confirm",
|
|
@@ -1061,16 +1063,16 @@ function ps({
|
|
|
1061
1063
|
] })
|
|
1062
1064
|
] }) });
|
|
1063
1065
|
}
|
|
1064
|
-
const
|
|
1065
|
-
InfoWrapper:
|
|
1066
|
-
InfoContainer:
|
|
1067
|
-
Glass:
|
|
1068
|
-
InfoTitle:
|
|
1069
|
-
InfoMessage:
|
|
1070
|
-
InfoActions:
|
|
1071
|
-
BtnClose:
|
|
1066
|
+
const Xo = "_InfoWrapper_cqv58_4", Qo = "_InfoContainer_cqv58_1", Yo = "_Glass_cqv58_24", Jo = "_InfoTitle_cqv58_30", Zo = "_InfoMessage_cqv58_38", er = "_InfoActions_cqv58_45", nr = "_BtnClose_cqv58_52", Z = {
|
|
1067
|
+
InfoWrapper: Xo,
|
|
1068
|
+
InfoContainer: Qo,
|
|
1069
|
+
Glass: Yo,
|
|
1070
|
+
InfoTitle: Jo,
|
|
1071
|
+
InfoMessage: Zo,
|
|
1072
|
+
InfoActions: er,
|
|
1073
|
+
BtnClose: nr
|
|
1072
1074
|
};
|
|
1073
|
-
function
|
|
1075
|
+
function vs({ title: e, message: n, onClose: r, className: t, glass: s = !1 }) {
|
|
1074
1076
|
const i = B("InfoDialog", t);
|
|
1075
1077
|
return /* @__PURE__ */ o("div", { className: Z.InfoWrapper, children: /* @__PURE__ */ p("div", { className: v(Z.InfoContainer, { [Z.Glass]: s }, i), role: "dialog", "aria-modal": "true", children: [
|
|
1076
1078
|
/* @__PURE__ */ o("h2", { className: Z.InfoTitle, children: e }),
|
|
@@ -1078,7 +1080,7 @@ function gs({ title: e, message: n, onClose: r, className: t, glass: s = !1 }) {
|
|
|
1078
1080
|
/* @__PURE__ */ o("div", { className: Z.InfoActions, children: /* @__PURE__ */ o("button", { className: Z.BtnClose, type: "button", onClick: r, children: "Got it" }) })
|
|
1079
1081
|
] }) });
|
|
1080
1082
|
}
|
|
1081
|
-
function
|
|
1083
|
+
function ws({ buttons: e, containerClassName: n }) {
|
|
1082
1084
|
const r = B("ModalActions", n);
|
|
1083
1085
|
return /* @__PURE__ */ o("div", { className: r, children: e.map((t, s) => /* @__PURE__ */ o(
|
|
1084
1086
|
"button",
|
|
@@ -1092,7 +1094,7 @@ function vs({ buttons: e, containerClassName: n }) {
|
|
|
1092
1094
|
s
|
|
1093
1095
|
)) });
|
|
1094
1096
|
}
|
|
1095
|
-
function
|
|
1097
|
+
function Cs({ onClick: e, disabled: n, className: r }) {
|
|
1096
1098
|
const t = B("ModalClose", r);
|
|
1097
1099
|
return /* @__PURE__ */ o(
|
|
1098
1100
|
"button",
|
|
@@ -1121,45 +1123,45 @@ function ws({ onClick: e, disabled: n, className: r }) {
|
|
|
1121
1123
|
}
|
|
1122
1124
|
);
|
|
1123
1125
|
}
|
|
1124
|
-
const
|
|
1125
|
-
Backdrop:
|
|
1126
|
-
BackdropOpen:
|
|
1127
|
-
Panel:
|
|
1128
|
-
Right:
|
|
1129
|
-
Left:
|
|
1130
|
-
Top:
|
|
1131
|
-
Bottom:
|
|
1132
|
-
PanelOpen:
|
|
1126
|
+
const tr = "_Backdrop_1w1e3_7", or = "_BackdropOpen_1w1e3_16", rr = "_Panel_1w1e3_21", sr = "_Right_1w1e3_31", ir = "_Left_1w1e3_40", ar = "_Top_1w1e3_49", cr = "_Bottom_1w1e3_58", lr = "_PanelOpen_1w1e3_67", Q = {
|
|
1127
|
+
Backdrop: tr,
|
|
1128
|
+
BackdropOpen: or,
|
|
1129
|
+
Panel: rr,
|
|
1130
|
+
Right: sr,
|
|
1131
|
+
Left: ir,
|
|
1132
|
+
Top: ar,
|
|
1133
|
+
Bottom: cr,
|
|
1134
|
+
PanelOpen: lr
|
|
1133
1135
|
}, le = [];
|
|
1134
|
-
let
|
|
1136
|
+
let ur = 1, pe = !1, Ne = 0;
|
|
1135
1137
|
function Ve() {
|
|
1136
1138
|
if (Ne > 0) {
|
|
1137
1139
|
Ne -= 1;
|
|
1138
1140
|
return;
|
|
1139
1141
|
}
|
|
1140
1142
|
const e = le.pop();
|
|
1141
|
-
|
|
1143
|
+
Ke(), e && e.onBack();
|
|
1142
1144
|
}
|
|
1143
|
-
function
|
|
1145
|
+
function dr() {
|
|
1144
1146
|
pe || (pe = !0, window.addEventListener("popstate", Ve));
|
|
1145
1147
|
}
|
|
1146
|
-
function
|
|
1148
|
+
function Ke() {
|
|
1147
1149
|
le.length > 0 || !pe || (pe = !1, window.removeEventListener("popstate", Ve));
|
|
1148
1150
|
}
|
|
1149
|
-
function
|
|
1150
|
-
const n =
|
|
1151
|
-
return le.push({ handle: n, onBack: e }),
|
|
1151
|
+
function fr(e) {
|
|
1152
|
+
const n = ur++;
|
|
1153
|
+
return le.push({ handle: n, onBack: e }), dr(), window.history.pushState({ churesOverlayBackHandle: n }, ""), n;
|
|
1152
1154
|
}
|
|
1153
1155
|
function Be(e) {
|
|
1154
1156
|
const n = le.findIndex((t) => t.handle === e);
|
|
1155
|
-
n === -1 || (le.splice(n, 1),
|
|
1157
|
+
n === -1 || (le.splice(n, 1), Ke(), window.history.state?.churesOverlayBackHandle !== e) || (Ne += 1, window.history.back());
|
|
1156
1158
|
}
|
|
1157
|
-
function
|
|
1159
|
+
function _r(e, n) {
|
|
1158
1160
|
const r = S([]), t = S(n);
|
|
1159
1161
|
t.current = n, A(() => {
|
|
1160
1162
|
const s = r.current;
|
|
1161
1163
|
for (; s.length < e; )
|
|
1162
|
-
s.push(
|
|
1164
|
+
s.push(fr(() => t.current()));
|
|
1163
1165
|
for (; s.length > e; ) {
|
|
1164
1166
|
const i = s.pop();
|
|
1165
1167
|
i !== void 0 && Be(i);
|
|
@@ -1182,9 +1184,9 @@ let X = null, Ce = 0;
|
|
|
1182
1184
|
function Ee() {
|
|
1183
1185
|
return X || (X = document.createElement("div"), X.setAttribute("data-chures-side-drawer-root", ""), document.body.appendChild(X)), X;
|
|
1184
1186
|
}
|
|
1185
|
-
function
|
|
1187
|
+
function ys({ open: e, onClose: n, children: r, side: t = "right", backdropBlur: s = 0, className: i }) {
|
|
1186
1188
|
const [a, c] = R(!1), d = B("SideDrawer", i);
|
|
1187
|
-
|
|
1189
|
+
_r(e ? 1 : 0, n), ge(() => {
|
|
1188
1190
|
if (!e) {
|
|
1189
1191
|
c(!1);
|
|
1190
1192
|
return;
|
|
@@ -1197,7 +1199,7 @@ function Cs({ open: e, onClose: n, children: r, side: t = "right", backdropBlur:
|
|
|
1197
1199
|
}), []);
|
|
1198
1200
|
const u = s > 0 ? { backdropFilter: `blur(${s}rem)`, WebkitBackdropFilter: `blur(${s}rem)` } : void 0;
|
|
1199
1201
|
return Se(
|
|
1200
|
-
/* @__PURE__ */ p(
|
|
1202
|
+
/* @__PURE__ */ p(K, { children: [
|
|
1201
1203
|
/* @__PURE__ */ o(
|
|
1202
1204
|
"div",
|
|
1203
1205
|
{
|
|
@@ -1212,32 +1214,32 @@ function Cs({ open: e, onClose: n, children: r, side: t = "right", backdropBlur:
|
|
|
1212
1214
|
);
|
|
1213
1215
|
}
|
|
1214
1216
|
const be = We(!0);
|
|
1215
|
-
function
|
|
1217
|
+
function mr() {
|
|
1216
1218
|
return Fe(be);
|
|
1217
1219
|
}
|
|
1218
|
-
const
|
|
1219
|
-
FlyoutMenuContainer:
|
|
1220
|
-
Backdrop:
|
|
1221
|
-
Panel:
|
|
1222
|
-
Submenu:
|
|
1223
|
-
FlyoutPanelContainer:
|
|
1224
|
-
Back:
|
|
1225
|
-
Chevron:
|
|
1226
|
-
MenuListContainer:
|
|
1227
|
-
Heading:
|
|
1228
|
-
Divider:
|
|
1229
|
-
MenuRowContainer:
|
|
1230
|
-
Dim:
|
|
1231
|
-
Row:
|
|
1232
|
-
Icon:
|
|
1233
|
-
Label:
|
|
1234
|
-
Arrow:
|
|
1235
|
-
MenuSkeletonContainer:
|
|
1236
|
-
MenuSkeletonRow:
|
|
1237
|
-
MenuSearchFieldContainer:
|
|
1238
|
-
},
|
|
1220
|
+
const pr = "_FlyoutMenuContainer_1q0ma_5", gr = "_Backdrop_1q0ma_9", vr = "_Panel_1q0ma_14", wr = "_Submenu_1q0ma_27", Cr = "_FlyoutPanelContainer_1q0ma_41", yr = "_Back_1q0ma_9", Nr = "_Chevron_1q0ma_68", br = "_MenuListContainer_1q0ma_75", kr = "_Heading_1q0ma_81", Ir = "_Divider_1q0ma_90", Sr = "_MenuRowContainer_1q0ma_98", Rr = "_Dim_1q0ma_102", Tr = "_Row_1q0ma_106", Dr = "_Icon_1q0ma_135", Lr = "_Label_1q0ma_140", xr = "_Arrow_1q0ma_148", Br = "_MenuSkeletonContainer_1q0ma_156", Er = "_MenuSkeletonRow_1q0ma_163", Ar = "_MenuSearchFieldContainer_1q0ma_191", k = {
|
|
1221
|
+
FlyoutMenuContainer: pr,
|
|
1222
|
+
Backdrop: gr,
|
|
1223
|
+
Panel: vr,
|
|
1224
|
+
Submenu: wr,
|
|
1225
|
+
FlyoutPanelContainer: Cr,
|
|
1226
|
+
Back: yr,
|
|
1227
|
+
Chevron: Nr,
|
|
1228
|
+
MenuListContainer: br,
|
|
1229
|
+
Heading: kr,
|
|
1230
|
+
Divider: Ir,
|
|
1231
|
+
MenuRowContainer: Sr,
|
|
1232
|
+
Dim: Rr,
|
|
1233
|
+
Row: Tr,
|
|
1234
|
+
Icon: Dr,
|
|
1235
|
+
Label: Lr,
|
|
1236
|
+
Arrow: xr,
|
|
1237
|
+
MenuSkeletonContainer: Br,
|
|
1238
|
+
MenuSkeletonRow: Er,
|
|
1239
|
+
MenuSearchFieldContainer: Ar
|
|
1240
|
+
}, Mr = { duration: 0.15, ease: [0.2, 0.7, 0.2, 1] };
|
|
1239
1241
|
function Ae({ item: e, menu: n, dim: r }) {
|
|
1240
|
-
const t =
|
|
1242
|
+
const t = mr(), s = e.submenu;
|
|
1241
1243
|
function i(a) {
|
|
1242
1244
|
if (s) {
|
|
1243
1245
|
n.toggleSubmenuFrom(a.currentTarget, s);
|
|
@@ -1245,7 +1247,7 @@ function Ae({ item: e, menu: n, dim: r }) {
|
|
|
1245
1247
|
}
|
|
1246
1248
|
e.disabled || n.selectItem(e);
|
|
1247
1249
|
}
|
|
1248
|
-
return /* @__PURE__ */ o(se.div, { layout: t, transition:
|
|
1250
|
+
return /* @__PURE__ */ o(se.div, { layout: t, transition: Mr, className: v(k.MenuRowContainer, r && k.Dim), children: /* @__PURE__ */ p(
|
|
1249
1251
|
je,
|
|
1250
1252
|
{
|
|
1251
1253
|
variant: "unstyled",
|
|
@@ -1272,12 +1274,12 @@ function Me({ items: e, menu: n, heading: r, rest: t }) {
|
|
|
1272
1274
|
t?.map((i) => /* @__PURE__ */ o(Ae, { item: i, menu: n, dim: !0 }, i.key))
|
|
1273
1275
|
] });
|
|
1274
1276
|
}
|
|
1275
|
-
function
|
|
1277
|
+
function Pr({ count: e = 3 }) {
|
|
1276
1278
|
const n = qe(() => Array.from({ length: Math.max(0, e) }, (r, t) => t), [e]);
|
|
1277
1279
|
return /* @__PURE__ */ o("div", { className: k.MenuSkeletonContainer, children: n.map((r) => /* @__PURE__ */ o("div", { className: k.MenuSkeletonRow, role: "presentation" }, r)) });
|
|
1278
1280
|
}
|
|
1279
|
-
const
|
|
1280
|
-
function
|
|
1281
|
+
const Or = { duration: 0.15, ease: [0.2, 0.7, 0.2, 1] };
|
|
1282
|
+
function Wr({ value: e, onChange: n, placeholder: r }) {
|
|
1281
1283
|
function t(s) {
|
|
1282
1284
|
s.key === "Escape" && n("");
|
|
1283
1285
|
}
|
|
@@ -1288,9 +1290,9 @@ function Or({ value: e, onChange: n, placeholder: r }) {
|
|
|
1288
1290
|
initial: { opacity: 0, height: 0 },
|
|
1289
1291
|
animate: { opacity: 1, height: "auto" },
|
|
1290
1292
|
exit: { opacity: 0, height: 0 },
|
|
1291
|
-
transition:
|
|
1293
|
+
transition: Or,
|
|
1292
1294
|
children: /* @__PURE__ */ o(
|
|
1293
|
-
|
|
1295
|
+
_t,
|
|
1294
1296
|
{
|
|
1295
1297
|
value: e,
|
|
1296
1298
|
setValue: n,
|
|
@@ -1303,7 +1305,7 @@ function Or({ value: e, onChange: n, placeholder: r }) {
|
|
|
1303
1305
|
}
|
|
1304
1306
|
);
|
|
1305
1307
|
}
|
|
1306
|
-
function
|
|
1308
|
+
function Fr(e, n, r) {
|
|
1307
1309
|
const t = n.trim().toLowerCase();
|
|
1308
1310
|
if (!t) return { matches: e, rest: [] };
|
|
1309
1311
|
const s = [], i = [];
|
|
@@ -1311,15 +1313,15 @@ function Wr(e, n, r) {
|
|
|
1311
1313
|
r(a).toLowerCase().includes(t) ? s.push(a) : i.push(a);
|
|
1312
1314
|
return { matches: s, rest: i };
|
|
1313
1315
|
}
|
|
1314
|
-
function
|
|
1316
|
+
function qr(e) {
|
|
1315
1317
|
return e instanceof HTMLElement ? e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.isContentEditable : !1;
|
|
1316
1318
|
}
|
|
1317
|
-
function
|
|
1319
|
+
function Hr(e) {
|
|
1318
1320
|
const [n, r] = R("");
|
|
1319
1321
|
return A(() => {
|
|
1320
1322
|
if (!e) return;
|
|
1321
1323
|
function t(s) {
|
|
1322
|
-
if (!
|
|
1324
|
+
if (!qr(document.activeElement)) {
|
|
1323
1325
|
if (s.key === "Backspace") {
|
|
1324
1326
|
r((i) => i.slice(0, -1));
|
|
1325
1327
|
return;
|
|
@@ -1330,34 +1332,34 @@ function qr(e) {
|
|
|
1330
1332
|
return document.addEventListener("keydown", t), () => document.removeEventListener("keydown", t);
|
|
1331
1333
|
}, [e]), { query: n, setQuery: r };
|
|
1332
1334
|
}
|
|
1333
|
-
function
|
|
1335
|
+
function Ur(e) {
|
|
1334
1336
|
return e.searchText !== void 0 ? e.searchText : typeof e.label == "string" ? e.label : "";
|
|
1335
1337
|
}
|
|
1336
1338
|
function Pe({ section: e, menu: n, onBack: r, skeletonCount: t, active: s }) {
|
|
1337
|
-
const i = !!e.searchable && !!e.items, { query: a, setQuery: c } =
|
|
1339
|
+
const i = !!e.searchable && !!e.items, { query: a, setQuery: c } = Hr(!!s && i);
|
|
1338
1340
|
A(() => c(""), [e, c]);
|
|
1339
1341
|
const { matches: d, rest: u } = qe(
|
|
1340
|
-
() =>
|
|
1342
|
+
() => Fr(e.items ?? [], a, Ur),
|
|
1341
1343
|
[e.items, a]
|
|
1342
1344
|
), l = r ? void 0 : e.title;
|
|
1343
1345
|
let f;
|
|
1344
|
-
return e.loading ? f = /* @__PURE__ */ o(
|
|
1346
|
+
return e.loading ? f = /* @__PURE__ */ o(Pr, { count: t }) : e.renderPanel ? f = e.renderPanel() : i ? f = /* @__PURE__ */ o(Me, { items: d, rest: u, menu: n, heading: l }) : f = /* @__PURE__ */ o(Me, { items: e.items ?? [], menu: n, heading: l }), /* @__PURE__ */ p("div", { className: k.FlyoutPanelContainer, children: [
|
|
1345
1347
|
r && /* @__PURE__ */ p(je, { variant: "unstyled", className: k.Back, onClick: r, children: [
|
|
1346
1348
|
/* @__PURE__ */ o("span", { className: k.Chevron, children: "‹" }),
|
|
1347
1349
|
e.title ?? "Back"
|
|
1348
1350
|
] }),
|
|
1349
|
-
i && /* @__PURE__ */ o(
|
|
1351
|
+
i && /* @__PURE__ */ o(he, { children: a !== "" && /* @__PURE__ */ o(Wr, { value: a, onChange: c }) }),
|
|
1350
1352
|
f
|
|
1351
1353
|
] });
|
|
1352
1354
|
}
|
|
1353
|
-
function
|
|
1355
|
+
function $r(e, n, r, t, s) {
|
|
1354
1356
|
const i = r.width - 2 * t, a = Math.max(t, r.width - t - n.width), c = Math.min(Math.max(e.right - n.width, t), a), d = e.top - s - t, u = r.height - t - e.bottom - s;
|
|
1355
1357
|
if (n.height > d && u > d)
|
|
1356
1358
|
return { top: e.bottom + s, left: c, maxHeight: u, maxWidth: i };
|
|
1357
1359
|
const l = e.top - s - n.height;
|
|
1358
1360
|
return { top: l < t ? t : l, left: c, maxHeight: d, maxWidth: i };
|
|
1359
1361
|
}
|
|
1360
|
-
function
|
|
1362
|
+
function Gr(e, n, r, t, s) {
|
|
1361
1363
|
if (s) return { side: "collapse" };
|
|
1362
1364
|
const i = e.right + n.width <= r.width - t, a = e.left - n.width, c = i ? "right" : a >= t ? "left" : null;
|
|
1363
1365
|
if (!c) return { side: "collapse" };
|
|
@@ -1367,7 +1369,7 @@ function $r(e, n, r, t, s) {
|
|
|
1367
1369
|
const f = Math.max(e.bottom - n.height, t);
|
|
1368
1370
|
return { side: c, left: d, top: f, maxHeight: l };
|
|
1369
1371
|
}
|
|
1370
|
-
function
|
|
1372
|
+
function ze(e, n, r) {
|
|
1371
1373
|
const [t, s] = R(null), i = S(n), a = S(r);
|
|
1372
1374
|
i.current = n, a.current = r;
|
|
1373
1375
|
const c = S(null);
|
|
@@ -1390,7 +1392,7 @@ function Ke(e, n, r) {
|
|
|
1390
1392
|
};
|
|
1391
1393
|
}, [e]), t;
|
|
1392
1394
|
}
|
|
1393
|
-
const Xe = 8,
|
|
1395
|
+
const Xe = 8, jr = 8, Vr = 150, Kr = 3;
|
|
1394
1396
|
function Qe() {
|
|
1395
1397
|
return { width: window.innerWidth, height: window.innerHeight };
|
|
1396
1398
|
}
|
|
@@ -1403,36 +1405,36 @@ function Ye(e) {
|
|
|
1403
1405
|
function zr(e, n) {
|
|
1404
1406
|
return e.top === n.top && e.left === n.left && e.maxHeight === n.maxHeight && e.maxWidth === n.maxWidth;
|
|
1405
1407
|
}
|
|
1406
|
-
function
|
|
1408
|
+
function Xr(e, n) {
|
|
1407
1409
|
return e === "collapse" || n === "collapse" ? e === n : e.side === n.side && e.top === n.top && e.left === n.left && e.maxHeight === n.maxHeight;
|
|
1408
1410
|
}
|
|
1409
|
-
function
|
|
1410
|
-
return
|
|
1411
|
+
function Qr(e, n, r) {
|
|
1412
|
+
return ze(
|
|
1411
1413
|
e,
|
|
1412
1414
|
() => {
|
|
1413
1415
|
const t = n.current, s = r.current;
|
|
1414
|
-
return !t || !s ? null :
|
|
1416
|
+
return !t || !s ? null : $r(t.getBoundingClientRect(), Ye(s), Qe(), Xe, jr);
|
|
1415
1417
|
},
|
|
1416
1418
|
zr
|
|
1417
1419
|
);
|
|
1418
1420
|
}
|
|
1419
|
-
function
|
|
1420
|
-
return
|
|
1421
|
+
function Yr(e, n, r) {
|
|
1422
|
+
return ze(
|
|
1421
1423
|
e,
|
|
1422
1424
|
() => {
|
|
1423
1425
|
const t = n.current, s = r.current;
|
|
1424
1426
|
if (!t || !s) return null;
|
|
1425
|
-
const i =
|
|
1427
|
+
const i = Gr(s.getBoundingClientRect(), Ye(t), Qe(), Xe, ke());
|
|
1426
1428
|
return i.side === "collapse" ? "collapse" : i;
|
|
1427
1429
|
},
|
|
1428
|
-
|
|
1430
|
+
Xr
|
|
1429
1431
|
);
|
|
1430
1432
|
}
|
|
1431
|
-
function
|
|
1433
|
+
function Jr(e) {
|
|
1432
1434
|
const { anchorRef: n, panelRef: r, submenuRef: t, open: s, onOpenChange: i } = e, [a, c] = R(!1), d = s ?? a, [u, l] = R([]), [f, g] = R(null), y = S(null), C = S(void 0), T = E((b) => {
|
|
1433
1435
|
c(b), i?.(b);
|
|
1434
1436
|
}, [i]), M = E((b) => {
|
|
1435
|
-
g(null), l((I) => I.length >=
|
|
1437
|
+
g(null), l((I) => I.length >= Kr ? I : [...I, b]);
|
|
1436
1438
|
}, []);
|
|
1437
1439
|
A(() => {
|
|
1438
1440
|
d || (l([]), g(null), y.current = null, C.current && clearTimeout(C.current));
|
|
@@ -1443,17 +1445,17 @@ function Yr(e) {
|
|
|
1443
1445
|
return;
|
|
1444
1446
|
}
|
|
1445
1447
|
g({ section: I, placement: null });
|
|
1446
|
-
}, [M]),
|
|
1448
|
+
}, [M]), _ = E((b, I) => {
|
|
1447
1449
|
if (ke()) {
|
|
1448
1450
|
u[u.length - 1] === I ? l((F) => F.slice(0, -1)) : D(b, I);
|
|
1449
1451
|
return;
|
|
1450
1452
|
}
|
|
1451
1453
|
f && f.section === I ? g(null) : D(b, I);
|
|
1452
1454
|
}, [u, f, D]), w = E(() => {
|
|
1453
|
-
C.current && clearTimeout(C.current), C.current = setTimeout(() => g(null),
|
|
1455
|
+
C.current && clearTimeout(C.current), C.current = setTimeout(() => g(null), Vr);
|
|
1454
1456
|
}, []), L = E(() => {
|
|
1455
1457
|
C.current && clearTimeout(C.current);
|
|
1456
|
-
}, []), N =
|
|
1458
|
+
}, []), N = Yr(!!f, t, y), q = Qr(d, n, r);
|
|
1457
1459
|
A(() => {
|
|
1458
1460
|
if (!(!f || !N)) {
|
|
1459
1461
|
if (N === "collapse") {
|
|
@@ -1473,7 +1475,7 @@ function Yr(e) {
|
|
|
1473
1475
|
back: x,
|
|
1474
1476
|
selectItem: Y,
|
|
1475
1477
|
openSubmenuFrom: D,
|
|
1476
|
-
toggleSubmenuFrom:
|
|
1478
|
+
toggleSubmenuFrom: _,
|
|
1477
1479
|
closeSubmenuSoon: w,
|
|
1478
1480
|
holdSubmenu: L,
|
|
1479
1481
|
frame: u[u.length - 1] ?? null,
|
|
@@ -1482,16 +1484,16 @@ function Yr(e) {
|
|
|
1482
1484
|
};
|
|
1483
1485
|
}
|
|
1484
1486
|
const Oe = { duration: 0.15, ease: [0.2, 0.7, 0.2, 1] };
|
|
1485
|
-
function
|
|
1487
|
+
function Ns(e) {
|
|
1486
1488
|
const { anchorRef: n, open: r, onClose: t, items: s, rootTitle: i, skeletonCount: a } = e, c = S(null), d = S(null);
|
|
1487
1489
|
function u(C) {
|
|
1488
1490
|
C || t();
|
|
1489
1491
|
}
|
|
1490
|
-
const l =
|
|
1492
|
+
const l = Jr({ anchorRef: n, panelRef: c, submenuRef: d, open: r, onOpenChange: u }), f = l.frame ?? { title: i, items: s, searchable: e.searchable }, g = l.menuPlacement, y = l.submenu?.placement ?? null;
|
|
1491
1493
|
return Se(
|
|
1492
1494
|
/* @__PURE__ */ p("div", { className: k.FlyoutMenuContainer, children: [
|
|
1493
1495
|
r && /* @__PURE__ */ o("div", { className: k.Backdrop, onClick: t }),
|
|
1494
|
-
/* @__PURE__ */ o(
|
|
1496
|
+
/* @__PURE__ */ o(he, { children: r && /* @__PURE__ */ o(
|
|
1495
1497
|
se.div,
|
|
1496
1498
|
{
|
|
1497
1499
|
ref: c,
|
|
@@ -1514,7 +1516,7 @@ function ys(e) {
|
|
|
1514
1516
|
},
|
|
1515
1517
|
"flyout-panel"
|
|
1516
1518
|
) }),
|
|
1517
|
-
/* @__PURE__ */ o(
|
|
1519
|
+
/* @__PURE__ */ o(he, { children: r && l.submenu && /* @__PURE__ */ o(
|
|
1518
1520
|
se.div,
|
|
1519
1521
|
{
|
|
1520
1522
|
ref: d,
|
|
@@ -1542,23 +1544,23 @@ function ys(e) {
|
|
|
1542
1544
|
document.body
|
|
1543
1545
|
);
|
|
1544
1546
|
}
|
|
1545
|
-
function
|
|
1547
|
+
function bs({ classNames: e, children: n }) {
|
|
1546
1548
|
return /* @__PURE__ */ o(He.Provider, { value: e, children: n });
|
|
1547
1549
|
}
|
|
1548
1550
|
var Ie = /* @__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))(Ie || {});
|
|
1549
|
-
const
|
|
1551
|
+
const Zr = "type.googleapis.com/google.rpc.ErrorInfo", es = "type.googleapis.com/google.rpc.BadRequest", ns = "type.googleapis.com/google.rpc.PreconditionFailure";
|
|
1550
1552
|
function fe(e) {
|
|
1551
1553
|
return typeof e == "object" && e !== null;
|
|
1552
1554
|
}
|
|
1553
1555
|
function j(e) {
|
|
1554
1556
|
return typeof e == "string" ? e : "";
|
|
1555
1557
|
}
|
|
1556
|
-
function
|
|
1558
|
+
function ts(e) {
|
|
1557
1559
|
if (!fe(e))
|
|
1558
1560
|
return { kind: "Unknown", typeUrl: "", raw: e };
|
|
1559
1561
|
const n = j(e["@type"]);
|
|
1560
1562
|
switch (n) {
|
|
1561
|
-
case
|
|
1563
|
+
case Zr: {
|
|
1562
1564
|
const r = fe(e.metadata) ? e.metadata : {}, t = {};
|
|
1563
1565
|
for (const s of Object.keys(r))
|
|
1564
1566
|
t[s] = j(r[s]);
|
|
@@ -1569,7 +1571,7 @@ function ns(e) {
|
|
|
1569
1571
|
metadata: t
|
|
1570
1572
|
};
|
|
1571
1573
|
}
|
|
1572
|
-
case
|
|
1574
|
+
case es:
|
|
1573
1575
|
return { kind: "BadRequest", fieldViolations: (Array.isArray(e.fieldViolations) ? e.fieldViolations : []).map((s) => {
|
|
1574
1576
|
const i = fe(s) ? s : {};
|
|
1575
1577
|
return {
|
|
@@ -1577,7 +1579,7 @@ function ns(e) {
|
|
|
1577
1579
|
description: j(i.description)
|
|
1578
1580
|
};
|
|
1579
1581
|
}) };
|
|
1580
|
-
case
|
|
1582
|
+
case ns:
|
|
1581
1583
|
return { kind: "PreconditionFailure", violations: (Array.isArray(e.violations) ? e.violations : []).map((s) => {
|
|
1582
1584
|
const i = fe(s) ? s : {};
|
|
1583
1585
|
return {
|
|
@@ -1590,75 +1592,75 @@ function ns(e) {
|
|
|
1590
1592
|
return { kind: "Unknown", typeUrl: n, raw: e };
|
|
1591
1593
|
}
|
|
1592
1594
|
}
|
|
1593
|
-
function
|
|
1595
|
+
function ks(e) {
|
|
1594
1596
|
return e.kind === "ErrorInfo";
|
|
1595
1597
|
}
|
|
1596
|
-
function
|
|
1598
|
+
function Is(e) {
|
|
1597
1599
|
return e.kind === "BadRequest";
|
|
1598
1600
|
}
|
|
1599
|
-
function
|
|
1601
|
+
function Ss(e) {
|
|
1600
1602
|
return e.kind === "PreconditionFailure";
|
|
1601
1603
|
}
|
|
1602
|
-
class
|
|
1604
|
+
class _e extends Error {
|
|
1603
1605
|
constructor(n) {
|
|
1604
1606
|
super(n.title), this.isRetryable = n.isRetryable ?? !1, this.grpcCode = n.grpcCode, this.details = n.details ?? [];
|
|
1605
1607
|
}
|
|
1606
1608
|
}
|
|
1607
|
-
function
|
|
1608
|
-
if (e instanceof
|
|
1609
|
+
function Rs(e) {
|
|
1610
|
+
if (e instanceof _e) return e;
|
|
1609
1611
|
if (e instanceof Error && e.message === "Failed to fetch")
|
|
1610
|
-
return new
|
|
1612
|
+
return new _e({ title: "Server unavailable. Try again later", isRetryable: !0 });
|
|
1611
1613
|
if (typeof e == "object" && e !== null && "code" in e) {
|
|
1612
|
-
const n = e, r = n.code === Ie.UNAVAILABLE || n.code === Ie.INTERNAL, t = (n.details ?? []).map(
|
|
1613
|
-
return new
|
|
1614
|
+
const n = e, r = n.code === Ie.UNAVAILABLE || n.code === Ie.INTERNAL, t = (n.details ?? []).map(ts);
|
|
1615
|
+
return new _e({ title: n.message, isRetryable: r, grpcCode: n.code, details: t });
|
|
1614
1616
|
}
|
|
1615
|
-
return new
|
|
1617
|
+
return new _e({ title: String(e), isRetryable: !1 });
|
|
1616
1618
|
}
|
|
1617
1619
|
export {
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
+
ms as AvatarFallbackIcon,
|
|
1621
|
+
es as BAD_REQUEST_TYPE_URL,
|
|
1620
1622
|
je as Button,
|
|
1621
|
-
|
|
1623
|
+
_s as Checkbox,
|
|
1622
1624
|
Dt as CheckmarkIcon,
|
|
1623
1625
|
Do as ChevronDownIcon,
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1626
|
+
bs as ChuresConfigProvider,
|
|
1627
|
+
gs as ConfirmDialog,
|
|
1628
|
+
ps as Dropdown,
|
|
1629
|
+
Zr as ERROR_INFO_TYPE_URL,
|
|
1628
1630
|
hs as EditPencilIcon,
|
|
1629
1631
|
Ie as Errors,
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1632
|
+
Ns as FlyoutMenu,
|
|
1633
|
+
vs as InfoDialog,
|
|
1634
|
+
_t as Input,
|
|
1633
1635
|
En as Loader,
|
|
1634
|
-
|
|
1636
|
+
cs as LoadingWrapper,
|
|
1635
1637
|
be as MenuMeasuredContext,
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1638
|
+
Wr as MenuSearchField,
|
|
1639
|
+
Pr as MenuSkeleton,
|
|
1640
|
+
ws as ModalActions,
|
|
1641
|
+
Cs as ModalClose,
|
|
1642
|
+
ns as PRECONDITION_FAILURE_TYPE_URL,
|
|
1641
1643
|
Lo as SearchIcon,
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1644
|
+
fs as SegmentedControl,
|
|
1645
|
+
_e as ServiceError,
|
|
1646
|
+
ys as SideDrawer,
|
|
1647
|
+
ls as TelegramAuth,
|
|
1646
1648
|
$n as TelegramSignInButton,
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1649
|
+
us as Toaster,
|
|
1650
|
+
ds as Toggle,
|
|
1651
|
+
Is as isBadRequest,
|
|
1652
|
+
ks as isErrorInfo,
|
|
1653
|
+
Ss as isPreconditionFailure,
|
|
1654
|
+
Ur as menuItemText,
|
|
1655
|
+
ts as parseErrorDetail,
|
|
1656
|
+
Rs as parseGrpcError,
|
|
1657
|
+
Fr as partitionBySubstring,
|
|
1656
1658
|
Be as popOverlayBack,
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
+
fr as pushOverlayBack,
|
|
1660
|
+
_r as useBackableOverlay,
|
|
1659
1661
|
B as useComponentClassName,
|
|
1660
|
-
|
|
1662
|
+
mr as useMenuMeasured,
|
|
1661
1663
|
On as useTelegramLogin,
|
|
1662
1664
|
Ue as useToaster,
|
|
1663
|
-
|
|
1665
|
+
Hr as useTypeToSearch
|
|
1664
1666
|
};
|