diff --git a/assets/index-BgCseIQV.css b/assets/index-BgCseIQV.css new file mode 100644 index 0000000..81d5dcc --- /dev/null +++ b/assets/index-BgCseIQV.css @@ -0,0 +1 @@ +.splitpane-content,.splitpane{flex:1;min-height:0;min-width:0}.splitpane-divider{flex-shrink:0;z-index:1000;transition:background-color .1s ease .4s}.splitpane-divider.horizontal{width:3px}.splitpane-divider.vertical{height:3px}.splitpane-divider:hover{background-color:#2e8fff;cursor:ew-resize}.splitpane-divider.vertical:hover{cursor:ns-resize}._container_q763u_7 table{--border-color: #545d9e;border-spacing:0}._container_q763u_7 th,._container_q763u_7 td{padding:8px;text-align:left;border:1px solid #2e3252}._container_q763u_7 th{background-color:#272a3f}._container_q763u_7 td{color:#bdbddb;background-color:#212335}._sticky-header-row_q763u_57 th[scope=col]{position:sticky;top:0;border-bottom-color:var(--border-color)}._sticky-first-column_q763u_75 th[scope=col]:first-child,._sticky-first-column_q763u_75 th[scope=row]{position:sticky;left:0;border-right-color:var(--border-color)}._sticky-header-and-first-column_q763u_97 th[scope=col]{position:sticky;top:0;border-bottom-color:var(--border-color)}._sticky-header-and-first-column_q763u_97 th[scope=row]{position:sticky;left:0;border-right-color:var(--border-color)}._sticky-header-and-first-column_q763u_97 th[scope=col]:first-child{left:0;z-index:1;border-right-color:var(--border-color);border-bottom-color:var(--border-color)}._container_q763u_7::-webkit-scrollbar{width:6px;height:6px}._container_q763u_7::-webkit-scrollbar-track{background:#000}._container_q763u_7::-webkit-scrollbar-thumb{background-color:#9f9ec7;border-radius:10px}._container_q763u_7::-webkit-scrollbar-thumb:hover{background-color:#8988aa}._container_ny73l_25{display:flex;justify-content:center;align-items:center;margin:10vmin;overflow:hidden;transform:skew(5deg)}._container_ny73l_25 ._card_ny73l_41{flex:1;transition:all 1s ease-in-out;height:75vmin;position:relative}._container_ny73l_25 ._card_ny73l_41 ._card__head_ny73l_53{color:#000;background:#ff1eadbf;padding:.5em;transform:rotate(-90deg);transform-origin:0% 0%;transition:all .5s ease-in-out;min-width:100%;text-align:center;position:absolute;bottom:0;left:0;font-size:1em;white-space:nowrap}._container_ny73l_25 ._card_ny73l_41:hover{flex-grow:10}._container_ny73l_25 ._card_ny73l_41:hover img{filter:grayscale(0)}._container_ny73l_25 ._card_ny73l_41:hover ._card__head_ny73l_53{text-align:center;top:calc(100% - 2em);color:#fff;background:#00000080;font-size:2em;transform:rotate(0) skew(-5deg)}._container_ny73l_25 ._card_ny73l_41 img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;transition:all 1s ease-in-out;filter:grayscale(100%)}._container_ny73l_25 ._card_ny73l_41:not(:nth-child(5)){margin-right:1em}._wrap_84gct_1{max-width:550px;height:500px;display:flex;gap:.5rem;overflow-y:hidden}._strip_84gct_19{position:relative;padding:0 .25rem;height:0;opacity:0;flex:20%;text-align:center;border:1px solid white;border-radius:3px;transition:flex .3s ease-in-out;cursor:pointer;overflow:hidden;display:grid;grid-template-rows:10% 60% 15% 15%;place-items:center}._strip_84gct_19>*{margin:auto}._strip_84gct_19:hover{transition:all .5s ease;flex:100%}._one_84gct_79{background:khaki}._two_84gct_81{background:#f08080}._three_84gct_83{background:peru}._four_84gct_85{background:wheat}._five_84gct_87{background:tan}._crown_84gct_91{justify-self:center;padding-top:.5rem;padding-bottom:1rem;width:50px;font-size:1.4rem;line-height:normal;font-weight:100;border-bottom:.2vmin solid #000}._h1_84gct_119{align-self:center;font-size:1.4rem;font-weight:200;line-height:1;transform:rotate(-180deg);writing-mode:vertical-rl;text-orientation:sideways;transition:transform .2s ease-in-out}._strip_84gct_19:hover ._h1_84gct_119{transform:rotate(-90deg) translate(10rem);z-index:10}._h2_84gct_153{padding:.5rem 0;font-size:1rem;border-top:1px solid #000;border-bottom:1px solid #000}._h3_84gct_165{font-size:.5rem}._review_84gct_175{position:absolute;padding:0 2rem;top:50%;left:50%;width:95%;height:97%;transform:translate(-50%,-50%);color:#000;background:ivory;opacity:0}._strip_84gct_19:hover ._review_84gct_175{transition:.5s ease-in-out;opacity:1}._review_84gct_175 p{margin-top:5rem;font-size:.75rem;text-align:left}._container_1fbyo_33{position:relative;width:800px;height:500px;transition:all .4s;display:grid;grid-template-columns:1fr 1fr 1fr 1fr 1fr;gap:1em}._container_1fbyo_33:hover ._box_1fbyo_55{filter:grayscale(100%) opacity(24%)}._box_1fbyo_55{position:relative;transition:all .4s;background-size:cover;background:var(--img) center center;display:flex;justify-content:center;align-items:center}._container_1fbyo_33 ._box_1fbyo_55:hover{filter:grayscale(0%) opacity(100%)}._container_1fbyo_33:has(._box-1_1fbyo_95:hover){grid-template-columns:3fr 1fr 1fr 1fr 1fr}._container_1fbyo_33:has(._box-2_1fbyo_103:hover){grid-template-columns:1fr 3fr 1fr 1fr 1fr}._container_1fbyo_33:has(._box-3_1fbyo_111:hover){grid-template-columns:1fr 1fr 3fr 1fr 1fr}._container_1fbyo_33:has(._box-4_1fbyo_119:hover){grid-template-columns:1fr 1fr 1fr 3fr 1fr}._container_1fbyo_33:has(._box-5_1fbyo_127:hover){grid-template-columns:1fr 1fr 1fr 1fr 3fr}._box_1fbyo_55:nth-child(odd){transform:translateY(-16px)}._box_1fbyo_55:nth-child(2n){transform:translateY(16px)}._box_1fbyo_55:after{content:attr(data-text);position:absolute;padding:10px 10px 10px 14px;bottom:20px;transform:translateY(60px);transition:all .4s;color:#fff;background:#000;letter-spacing:4px;text-transform:uppercase;opacity:0}._box_1fbyo_55:hover:after{transform:translateY(0);transition-delay:.4s;opacity:1}.switch,.switch__input{-webkit-tap-highlight-color:#0000}.switch{margin:auto;position:relative;width:5em;height:3em;display:block}.switch__base-outer,.switch__base-inner{position:absolute;display:block}.switch__base-outer{left:.125em;top:.125em;width:4.75em;height:2.75em;border-radius:1.25em;box-shadow:-.125em -.125em .25em hsl(var(--hue),10%,30%),.125em .125em .125em hsl(var(--hue),10%,30%) inset,.125em .125em .25em #000,-.125em -.125em .125em hsl(var(--hue),10%,5%) inset}.switch__base-inner{left:.375em;top:.375em;width:4.25em;height:2.25em;border-radius:1.125em;box-shadow:-.25em -.25em .25em hsl(var(--hue),10%,30%) inset,.0625em .0625em .125em hsla(var(--hue),10%,30%),.125em .25em .25em hsl(var(--hue),10%,5%) inset,-.0625em -.0625em .125em hsla(var(--hue),10%,5%)}.switch__base-neon{position:absolute;left:0;top:0;width:100%;height:auto;display:block;overflow:visible}.switch__base-neon path{stroke-dasharray:0 104.26 0;transition:stroke-dasharray var(--trans-dur) var(--trans-timing)}.switch__input{position:relative;width:100%;height:100%;outline:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}.switch__input:before{content:"";position:absolute;inset:-.125em;display:block;border-radius:.125em;box-shadow:0 0 0 .125em hsla(var(--hue),90%,50%,0);transition:box-shadow .15s linear}.switch__input:focus-visible:before{box-shadow:0 0 0 .125em var(--primary)}.switch__knob,.switch__knob-container{display:block;position:absolute;border-radius:1em}.switch__knob{width:2em;height:2em;background-color:hsl(var(--hue),10%,15%);background-image:radial-gradient(88% 88% at 50% 50%,hsl(var(--hue),10%,20%) 47%,hsla(var(--hue),10%,20%,0) 50%),radial-gradient(88% 88% at 47% 47%,hsl(var(--hue),10%,85%) 45%,hsla(var(--hue),10%,85%,0) 50%),radial-gradient(65% 70% at 40% 60%,hsl(var(--hue),10%,20%) 46%,hsla(var(--hue),10%,20%,0) 50%);box-shadow:-.0625em -.0625em .0625em hsl(var(--hue),10%,15%) inset,-.125em -.125em .0625em hsl(var(--hue),10%,5%) inset,.75em .25em .125em #000c;transition:transform var(--trans-dur) var(--trans-timing)}.switch__knob-container{left:.5em;top:.5em;width:4em;height:2em;overflow:hidden}.switch__knob-neon{display:block;width:2em;height:auto}.switch__knob-neon circle{opacity:0;stroke-dasharray:0 90.32 0 54.19;transition:opacity var(--trans-dur) steps(1,end),stroke-dasharray var(--trans-dur) var(--trans-timing)}.switch__knob-shadow{position:absolute;left:.5em;top:.5em;width:2em;height:2em;display:block;border-radius:50%;box-shadow:.125em .125em .125em #000000e6;transition:transform var(--trans-dur) var(--trans-timing)}.switch__led{position:absolute;left:0;top:0;width:.25em;height:.25em;display:block;background-color:hsl(var(--off-hue),90%,70%);border-radius:50%;box-shadow:0 -.0625em .0625em hsl(var(--off-hue),90%,40%) inset,0 0 .125em hsla(var(--off-hue),90%,70%,.3),0 0 .125em hsla(var(--off-hue),90%,70%,.3),.125em .125em .125em #00000080;transition:background-color var(--trans-dur) var(--trans-timing),box-shadow var(--trans-dur) var(--trans-timing)}.switch__text{position:absolute;width:1px;height:1px;overflow:hidden}.switch__input:checked~.switch__led{background-color:hsl(var(--on-hue1),90%,70%);box-shadow:0 -.0625em .0625em hsl(var(--on-hue1),90%,40%) inset,0 -.125em .125em hsla(var(--on-hue1),90%,70%,.3),0 .125em .125em hsla(var(--on-hue1),90%,70%,.3),.125em .125em .125em #00000080}.switch__input:checked~.switch__base-neon path{stroke-dasharray:52.13 0 52.13}.switch__input:checked~.switch__knob-shadow,.switch__input:checked~.switch__knob-container .switch__knob{transform:translate(100%)}.switch__input:checked~.switch__knob-container .switch__knob-neon circle{opacity:1;stroke-dasharray:45.16 0 45.16 54.19;transition-timing-function:steps(1,start),var(--trans-timing)}.toggle-wrapper{position:relative;display:flex;justify-content:center;align-items:center;-moz-column-gap:.25em;column-gap:.25em}.toggle-icon{width:.5em;height:.5em;fill:#4c9bab;filter:drop-shadow(0 1px 1px rgba(255,255,255,.4));transition:fill .4s}.toggle-checkbox:not(:checked)+.toggle-icon.off,.toggle-checkbox:checked~.toggle-icon.on{fill:#e0f9fc}.toggle-checkbox{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:absolute;z-index:1;border-radius:3.125em;width:4.05em;height:100%;opacity:0;cursor:pointer}.toggle-container{position:relative;border-radius:3.125em;width:4.05em;height:1.5em;background-image:repeating-conic-gradient(#0b66a0 0% 25%,#1093a8 0% 50%);background-size:.125em .125em;box-shadow:inset 0 .125em .25em #00092699,inset -1.5em 0 .0625em #00092680,inset .5em 0 .5em #00092680,0 1px 1px #fff6}.toggle-button{display:flex;justify-content:center;align-items:center;position:absolute;top:.0625em;left:.0625em;border-radius:inherit;width:2.55em;height:calc(100% - .125em);background-image:linear-gradient(to right,#86e2fa,#125e79);box-shadow:0 .125em .25em #0009;transition:left .4s}.toggle-checkbox:checked~.toggle-container>.toggle-button{left:1.4375em}.toggle-button:before{content:"";position:absolute;top:inherit;border-radius:inherit;width:calc(100% - .375em);height:inherit;background-image:linear-gradient(to right,#0f73a8,#57cfe2,#b3f0ff)}.toggle-button:after{content:"";position:absolute;width:.5em;height:38%;background-image:repeating-linear-gradient(to right,#d2f2f6 0 .0625em,#4ea0ae .0625em .125em,transparent .125em .1875em)}._flip-clock_1dcm9_25{perspective:600px;margin:0 auto;text-align:center}._flip-clock_1dcm9_25 *,._flip-clock_1dcm9_25 *:before,._flip-clock_1dcm9_25 *:after{box-sizing:border-box}._flip-clock__piece_1dcm9_49{display:inline-block;margin:0 .2vw}@media (min-width: 1000px){._flip-clock__piece_1dcm9_49{margin:0 5px}}._flip-clock__slot_1dcm9_71{display:block;font-size:1rem;line-height:1.5}._flip-card_1dcm9_83{display:block;position:relative;padding-bottom:.72em;font-size:2.25rem;line-height:.95}@media (min-width: 1000px){._flip-clock__slot_1dcm9_71{font-size:1.2rem}._flip-card_1dcm9_83{font-size:3rem}}._flip-card__top_1dcm9_123,._flip-card__bottom_1dcm9_125,._flip-card__back-bottom_1dcm9_127,._flip-card__back_1dcm9_127:before,._flip-card__back_1dcm9_127:after{display:block;padding:.23em .25em .4em;width:1.8em;height:.72em;backface-visibility:hidden;transform-style:preserve-3d;color:#ccc;background:#222;border-radius:.15em .15em 0 0}._flip-card__bottom_1dcm9_125,._flip-card__back-bottom_1dcm9_127{position:absolute;left:0;top:50%;color:#fff;background:#393939;border-top:solid 1px #000;border-radius:0 0 .15em .15em;pointer-events:none;overflow:hidden;z-index:2}._flip-card__back-bottom_1dcm9_127{z-index:1}._flip-card__bottom_1dcm9_125:after,._flip-card__back-bottom_1dcm9_127:after{display:block;margin-top:-.72em}._flip-card__back_1dcm9_127:before,._flip-card__bottom_1dcm9_125:after,._flip-card__back-bottom_1dcm9_127:after{content:attr(data-value)}._flip-card__back_1dcm9_127{position:absolute;left:0%;top:0;height:100%;pointer-events:none}._flip-card__back_1dcm9_127:before{position:relative;overflow:hidden;z-index:-1}._flip_1dcm9_25 ._flip-card__back_1dcm9_127:before{z-index:1;transform-origin:center bottom;animation:_flipTop_1dcm9_1 .3s cubic-bezier(.37,.01,.94,.35);animation-fill-mode:both}._flip_1dcm9_25 ._flip-card__bottom_1dcm9_125{transform-origin:center top;animation:_flipBottom_1dcm9_1 .6s cubic-bezier(.15,.45,.28,1);animation-fill-mode:both}@keyframes _flipTop_1dcm9_1{0%{transform:rotateX(0);z-index:2}0%,99%{opacity:1}to{transform:rotateX(-90deg);opacity:0}}@keyframes _flipBottom_1dcm9_1{0%,50%{z-index:-1;transform:rotateX(90deg);opacity:0}51%{opacity:1}to{opacity:1;transform:rotateX(0);z-index:5}}._spinner_ot2c0_13{animation:_rotate_ot2c0_1 2s linear infinite;z-index:2}._spinner_ot2c0_13 ._path_ot2c0_31{stroke-linecap:round;animation:_dash_ot2c0_1 1.5s ease-in-out infinite}@keyframes _rotate_ot2c0_1{to{transform:rotate(360deg)}}@keyframes _dash_ot2c0_1{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}._owner_17gat_1{display:inline-block;animation:_donut-spin_17gat_1 1.2s linear infinite}@keyframes _donut-spin_17gat_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._bg_kvkpc_61{fill:none;stroke-width:4px;stroke:#13547a}._loader_kvkpc_73{fill:none;stroke-width:4px;stroke:#fff;stroke-dasharray:288;transform-origin:50% 50%;animation:_line_kvkpc_1 5s linear infinite,_spin_kvkpc_1 3s linear infinite}@keyframes _line_kvkpc_1{0%{stroke-dashoffset:1152}to{stroke-dashoffset:576}}@keyframes _spin_kvkpc_1{0%{transform:rotate(-90deg) translateZ(0)}to{transform:rotate(270deg) translateZ(0)}}._loading-text_164jv_45{position:relative}._loading-text_164jv_45 p{margin:0 auto;padding:5px 0;position:relative;font: 22px/1em Helvetica,Arial,sans-serif;text-transform:uppercase;color:#fff}._loading-text_164jv_45:after{content:"";border-radius:2px;animation:_lineAnimation_164jv_1 cubic-bezier(.77,0,.175,1) 2.8s infinite;background-color:#b79761;position:absolute;bottom:-7px;left:0;width:4px;height:4px}@keyframes _lineAnimation_164jv_1{25%{width:100%}50%{width:0;left:auto;right:0}75%{width:100%}to{width:0;right:auto;left:0}}._wrapper_11oqi_1 span{display:inline-block;margin:0 3px;width:8px;height:8px;border-radius:50%;background-color:currentColor;animation:_flashing_11oqi_1 2.4s infinite linear}._wrapper_11oqi_1 span:nth-child(2){animation-delay:.2s}._wrapper_11oqi_1 span:nth-child(3){animation-delay:.4s}@keyframes _flashing_11oqi_1{0%{opacity:0}20%{opacity:1}to{opacity:0}}._g--circle_1ujbv_57{transform-origin:60px 60px;fill:#1e90ff;animation:_opacity_1ujbv_1 1.2s linear infinite}._g--circle_1ujbv_57:nth-child(12n+1){animation-delay:-.1s;transform:rotate(-30deg) translate(5px,5px) scale(.9)}._g--circle_1ujbv_57:nth-child(12n+2){animation-delay:-.2s;transform:rotate(-60deg) translate(5px,5px) scale(.9)}._g--circle_1ujbv_57:nth-child(12n+3){animation-delay:-.3s;transform:rotate(-90deg) translate(5px,5px) scale(.9)}._g--circle_1ujbv_57:nth-child(12n+4){animation-delay:-.4s;transform:rotate(-120deg) translate(5px,5px) scale(.9)}._g--circle_1ujbv_57:nth-child(12n+5){animation-delay:-.5s;transform:rotate(-150deg) translate(5px,5px) scale(.9)}._g--circle_1ujbv_57:nth-child(12n+6){animation-delay:-.6s;transform:rotate(-180deg) translate(5px,5px) scale(.9)}._g--circle_1ujbv_57:nth-child(12n+7){animation-delay:-.7s;transform:rotate(-210deg) translate(5px,5px) scale(.9)}._g--circle_1ujbv_57:nth-child(12n+8){animation-delay:-.8s;transform:rotate(-240deg) translate(5px,5px) scale(.9)}._g--circle_1ujbv_57:nth-child(12n+9){animation-delay:-.9s;transform:rotate(-270deg) translate(5px,5px) scale(.9)}._g--circle_1ujbv_57:nth-child(12n+10){animation-delay:-1s;transform:rotate(-300deg) translate(5px,5px) scale(.9)}._g--circle_1ujbv_57:nth-child(12n+11){animation-delay:-1.1s;transform:rotate(-330deg) translate(5px,5px) scale(.9)}._g--circle_1ujbv_57:nth-child(12n+12){animation-delay:-1.2s;transform:rotate(-360deg) translate(5px,5px) scale(.9)}._g-circles--v1_1ujbv_193 ._g--circle_1ujbv_57{fill-opacity:0;animation-name:_opacity_1ujbv_1}._g-circles--v2_1ujbv_207 ._g--circle_1ujbv_57{fill-opacity:0;stroke-opacity:0;stroke-width:1;stroke:#9acd32;animation-name:_opacity-stroke_1ujbv_1,_colors_1ujbv_1,_colors-stroke_1ujbv_1}._g-circles--v2_1ujbv_207 ._g--circle_1ujbv_57 ._u--circle_1ujbv_223{animation:_transform-2_1ujbv_1 1.2s linear infinite}._g-circles--v2_1ujbv_207 ._g--circle_1ujbv_57:nth-child(12n+1) ._u--circle_1ujbv_223{animation-delay:-.1s}._g-circles--v2_1ujbv_207 ._g--circle_1ujbv_57:nth-child(12n+2) ._u--circle_1ujbv_223{animation-delay:-.2s}._g-circles--v2_1ujbv_207 ._g--circle_1ujbv_57:nth-child(12n+3) ._u--circle_1ujbv_223{animation-delay:-.3s}._g-circles--v2_1ujbv_207 ._g--circle_1ujbv_57:nth-child(12n+4) ._u--circle_1ujbv_223{animation-delay:-.4s}._g-circles--v2_1ujbv_207 ._g--circle_1ujbv_57:nth-child(12n+5) ._u--circle_1ujbv_223{animation-delay:-.5s}._g-circles--v2_1ujbv_207 ._g--circle_1ujbv_57:nth-child(12n+6) ._u--circle_1ujbv_223{animation-delay:-.6s}._g-circles--v2_1ujbv_207 ._g--circle_1ujbv_57:nth-child(12n+7) ._u--circle_1ujbv_223{animation-delay:-.7s}._g-circles--v2_1ujbv_207 ._g--circle_1ujbv_57:nth-child(12n+8) ._u--circle_1ujbv_223{animation-delay:-.8s}._g-circles--v2_1ujbv_207 ._g--circle_1ujbv_57:nth-child(12n+9) ._u--circle_1ujbv_223{animation-delay:-.9s}._g-circles--v2_1ujbv_207 ._g--circle_1ujbv_57:nth-child(12n+10) ._u--circle_1ujbv_223{animation-delay:-1s}._g-circles--v2_1ujbv_207 ._g--circle_1ujbv_57:nth-child(12n+11) ._u--circle_1ujbv_223{animation-delay:-1.1s}._g-circles--v2_1ujbv_207 ._g--circle_1ujbv_57:nth-child(12n+12) ._u--circle_1ujbv_223{animation-delay:-1.2s}._g-circles--v3_1ujbv_331 ._g--circle_1ujbv_57{fill-opacity:1;animation-name:_opacity_1ujbv_1,_colors_1ujbv_1}._g-circles--v4_1ujbv_345 ._g--circle_1ujbv_57{fill-opacity:1;fill:orange;animation-name:_opacity_1ujbv_1,_colors-3_1ujbv_1}._g-circles--v4_1ujbv_345 ._u--circle_1ujbv_223{animation:_transform_1ujbv_1 1.2s linear infinite}._g-circles--v4_1ujbv_345 ._g--circle_1ujbv_57:nth-child(12n+1) ._u--circle_1ujbv_223{animation-delay:-.1s}._g-circles--v4_1ujbv_345 ._g--circle_1ujbv_57:nth-child(12n+2) ._u--circle_1ujbv_223{animation-delay:-.2s}._g-circles--v4_1ujbv_345 ._g--circle_1ujbv_57:nth-child(12n+3) ._u--circle_1ujbv_223{animation-delay:-.3s}._g-circles--v4_1ujbv_345 ._g--circle_1ujbv_57:nth-child(12n+4) ._u--circle_1ujbv_223{animation-delay:-.4s}._g-circles--v4_1ujbv_345 ._g--circle_1ujbv_57:nth-child(12n+5) ._u--circle_1ujbv_223{animation-delay:-.5s}._g-circles--v4_1ujbv_345 ._g--circle_1ujbv_57:nth-child(12n+6) ._u--circle_1ujbv_223{animation-delay:-.6s}._g-circles--v4_1ujbv_345 ._g--circle_1ujbv_57:nth-child(12n+7) ._u--circle_1ujbv_223{animation-delay:-.7s}._g-circles--v4_1ujbv_345 ._g--circle_1ujbv_57:nth-child(12n+8) ._u--circle_1ujbv_223{animation-delay:-.8s}._g-circles--v4_1ujbv_345 ._g--circle_1ujbv_57:nth-child(12n+9) ._u--circle_1ujbv_223{animation-delay:-.9s}._g-circles--v4_1ujbv_345 ._g--circle_1ujbv_57:nth-child(12n+10) ._u--circle_1ujbv_223{animation-delay:-1s}._g-circles--v4_1ujbv_345 ._g--circle_1ujbv_57:nth-child(12n+11) ._u--circle_1ujbv_223{animation-delay:-1.1s}._g-circles--v4_1ujbv_345 ._g--circle_1ujbv_57:nth-child(12n+12) ._u--circle_1ujbv_223{animation-delay:-1.2s}@keyframes _opacity_1ujbv_1{3%{fill-opacity:1}75%{fill-opacity:0}}@keyframes _opacity-stroke_1ujbv_1{10%{stroke-opacity:1}85%{stroke-opacity:0}}@keyframes _colors_1ujbv_1{0%{fill:#9acd32}10%{fill:gold}75%{fill:#dc143c}}@keyframes _colors-stroke_1ujbv_1{0%{stroke:#9acd32}10%{stroke:gold}75%{stroke:#dc143c}}@keyframes _colors-2_1ujbv_1{0%{fill:#ff0}50%{fill:red}65%{fill:#ff4500}95%{fill:gold}}@keyframes _colors-3_1ujbv_1{0%{fill:#9acd32}50%{fill:#40e0d0}65%{fill:#ff0}95%{fill:orange}}@keyframes _transform_1ujbv_1{10%{transform-origin:70px 70px;transform:scale(.75)}}@keyframes _transform-2_1ujbv_1{40%{transform:scale(.85) translate(10px,10px)}60%{stroke-width:20}}._dots-ring_d2oym_5{--w: #fafafa;--b: #141414;--s: 1s;--d: calc(var(--s) / 6);--dot-size: 1vmin;position:relative}._content_d2oym_51,._dots_d2oym_5{display:flex;align-items:center;justify-content:center}._content_d2oym_51{width:50vmin;height:50vmin;background:#f000;animation:_spin_d2oym_1 8s linear 0s infinite}._control_d2oym_87{position:absolute;inset:0;opacity:0;cursor:pointer;z-index:4}._control_d2oym_87:checked~div{filter:invert(1)}._control_d2oym_87:checked+._bg_d2oym_113:before{content:"CLICK TO DARK"}._bg_d2oym_113{position:absolute;background:var(--b);z-index:-2;inset:0}._bg_d2oym_113:before{content:"CLICK TO LIGHT";position:absolute;top:100px;left:0;color:var(--w);font-family:Arial,Helvetica,serif;font-size:12px;text-shadow:0 0 1px var(--w);opacity:.25}._ring_d2oym_185{width:64%;height:64%;border:1.5vmin solid var(--w);border-radius:100%;box-shadow:0 0 0 1vmin var(--b),0 0 0 1vmin var(--b) inset;animation:_spin_d2oym_1 8s linear 0s infinite reverse;z-index:0}._dots_d2oym_5{background:#0ff0;width:100%;height:100%;position:relative}._dot_d2oym_5{position:absolute;left:0;width:50%;height:7vmin;background:#f000;transform-origin:100% 50%;z-index:-1;animation:_over-ring_d2oym_1 calc(var(--s) * 2) linear 0s infinite}._dot_d2oym_5 span{position:absolute;left:0;width:5.5vmin;height:5.5vmin;background:var(--w);border:1vmin solid var(--b);border-radius:100%;animation:_ball_d2oym_1 var(--s) ease-in-out 0s infinite alternate}._dot_d2oym_5:nth-child(1){transform:rotate(-30deg);animation-delay:calc(var(--d) * 0)}._dot_d2oym_5:nth-child(1) span{animation-delay:calc(var(--d) * 0)}._dot_d2oym_5:nth-child(2){transform:rotate(-60deg);animation-delay:calc(var(--d) * -1)}._dot_d2oym_5:nth-child(2) span{animation-delay:calc(var(--d) * -1)}._dot_d2oym_5:nth-child(3){transform:rotate(-90deg);animation-delay:calc(var(--d) * -2)}._dot_d2oym_5:nth-child(3) span{animation-delay:calc(var(--d) * -2)}._dot_d2oym_5:nth-child(4){transform:rotate(-120deg);animation-delay:calc(var(--d) * -3)}._dot_d2oym_5:nth-child(4) span{animation-delay:calc(var(--d) * -3)}._dot_d2oym_5:nth-child(5){transform:rotate(-150deg);animation-delay:calc(var(--d) * -4)}._dot_d2oym_5:nth-child(5) span{animation-delay:calc(var(--d) * -4)}._dot_d2oym_5:nth-child(6){transform:rotate(-180deg);animation-delay:calc(var(--d) * -5)}._dot_d2oym_5:nth-child(6) span{animation-delay:calc(var(--d) * -5)}._dot_d2oym_5:nth-child(7){transform:rotate(-210deg);animation-delay:calc(var(--d) * -6)}._dot_d2oym_5:nth-child(7) span{animation-delay:calc(var(--d) * -6)}._dot_d2oym_5:nth-child(8){transform:rotate(-240deg);animation-delay:calc(var(--d) * -7)}._dot_d2oym_5:nth-child(8) span{animation-delay:calc(var(--d) * -7)}._dot_d2oym_5:nth-child(9){transform:rotate(-270deg);animation-delay:calc(var(--d) * -8)}._dot_d2oym_5:nth-child(9) span{animation-delay:calc(var(--d) * -8)}._dot_d2oym_5:nth-child(10){transform:rotate(-300deg);animation-delay:calc(var(--d) * -9)}._dot_d2oym_5:nth-child(10) span{animation-delay:calc(var(--d) * -9)}._dot_d2oym_5:nth-child(11){transform:rotate(-330deg);animation-delay:calc(var(--d) * -10)}._dot_d2oym_5:nth-child(11) span{animation-delay:calc(var(--d) * -10)}._dot_d2oym_5:nth-child(12){transform:rotate(-360deg);animation-delay:calc(var(--d) * -11)}._dot_d2oym_5:nth-child(12) span{animation-delay:calc(var(--d) * -11)}@keyframes _spin_d2oym_1{to{transform:rotate(-360deg)}}@keyframes _ball_d2oym_1{to{left:calc(var(--dot-size) * 12);width:calc(var(--dot-size) * 4);height:calc(var(--dot-size) * 4)}}@keyframes _over-ring_d2oym_1{0%,50%{z-index:-1}51%,to{z-index:1}}._loader_13ftp_13{font-size:20px;line-height:150px;letter-spacing:2px;text-align:center;color:#fff000;background:transparent;border:3px solid #3c3c3c;border-radius:50%;text-shadow:0 0 10px #fff000;box-shadow:0 0 20px #00000080}._loader_13ftp_13:before{content:"";position:absolute;left:0;top:0;width:100%;height:100%;border:3px solid transparent;border-top:3px solid #fff000;border-right:3px solid #fff000;border-radius:50%;animation:_animateCircle_13ftp_1 2s linear infinite}._loader_13ftp_13 span{display:block;position:absolute;left:50%;top:calc(50% - 2px);width:50%;height:4px;transform-origin:left;background:transparent;animation:_animateDot_13ftp_1 2s linear infinite}._loader_13ftp_13 span:before{content:"";position:absolute;right:-8px;top:-6px;width:16px;height:16px;border-radius:50%;background:#fff000;box-shadow:0 0 10px #fff000}@keyframes _animateCircle_13ftp_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes _animateDot_13ftp_1{0%{transform:rotate(45deg)}to{transform:rotate(405deg)}}._a_17o17_51{animation:_rotate-clock-wise_17o17_1 3s infinite linear}@keyframes _rotate-clock-wise_17o17_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._b_17o17_79{animation:_rotate-anti-clock-wise_17o17_1 .9s infinite linear}@keyframes _rotate-anti-clock-wise_17o17_1{0%{transform:rotate(360deg)}to{transform:rotate(0)}}.pl1__g,.pl1__rect{animation:pl1-a 1.5s cubic-bezier(.65,0,.35,1) infinite}.pl1__g{transform-origin:64px 64px}.pl1__rect:first-child{animation-name:pl1-b}.pl1__rect:nth-child(2){animation-name:pl1-c}@keyframes pl1-b{0%{animation-timing-function:cubic-bezier(.33,0,.67,0);width:40px;height:40px}20%{animation-timing-function:steps(1,start);width:40px;height:0}60%{animation-timing-function:cubic-bezier(.65,0,.35,1);width:0;height:40px}80%,to{width:40px;height:40px}}@keyframes pl1-c{0%{animation-timing-function:cubic-bezier(.33,0,.67,0);width:40px;height:40px;transform:translateY(48px)}20%{animation-timing-function:cubic-bezier(.33,1,.67,1);width:40px;height:88px;transform:translate(0)}40%{animation-timing-function:cubic-bezier(.33,0,.67,0);width:40px;height:40px;transform:translate(0)}60%{animation-timing-function:cubic-bezier(.33,1,.67,1);width:88px;height:40px;transform:translate(0)}80%,to{width:40px;height:40px;transform:translate(48px)}}.pl2__rect,.pl2__rect-g{animation:pl1-a 1.5s cubic-bezier(.65,0,.35,1) infinite;animation-name:pl2-a}.pl2__rect{animation-name:pl2-b}.pl2__rect-g .pl2__rect{transform-origin:20px 128px}.pl2__rect-g:first-child,.pl2__rect-g:first-child .pl2__rect{animation-delay:-.25s}.pl2__rect-g:nth-child(2),.pl2__rect-g:nth-child(2) .pl2__rect{animation-delay:-.125s}.pl2__rect-g:nth-child(2) .pl2__rect{transform-origin:64px 128px}.pl2__rect-g:nth-child(3) .pl2__rect{transform-origin:108px 128px}@keyframes pl2-a{0%,25%,66.67%,to{transform:translateY(0)}50%{animation-timing-function:cubic-bezier(.33,0,.67,0);transform:translateY(-80px)}}@keyframes pl2-b{0%,to{animation-timing-function:cubic-bezier(.33,0,.67,0);width:40px;height:24px;transform:rotate(180deg) translate(0)}33.33%{animation-timing-function:cubic-bezier(.33,1,.67,1);width:20px;height:64px;transform:rotate(180deg) translate(10px)}66.67%{animation-timing-function:cubic-bezier(.33,1,.67,1);width:28px;height:44px;transform:rotate(180deg) translate(6px)}}.pl3__rect{animation:pl1-a 1.5s cubic-bezier(.65,0,.35,1) infinite;animation-name:pl3}.pl3__rect-g{transform-origin:64px 64px}@keyframes pl1-a{0%{transform:rotate(0)}80%,to{animation-timing-function:steps(1,start);transform:rotate(90deg)}}@keyframes pl3{0%{transform:translate(64px);width:64px;height:64px}25%{transform:translate(0);width:128px;height:32px}50%{transform:translate(0);width:64px;height:64px}75%{transform:translate(0);width:32px;height:128px}to{transform:translateY(64px);width:64px;height:64px}}._preloader-squares_1isss_5 ul{transform:rotate(45deg)}._preloader-squares_1isss_5 ul li{position:relative;width:50%;height:50%;list-style:none;float:left}._preloader-squares_1isss_5 ul li:before{content:"";position:absolute;inset:0;transform-origin:100% 100%;animation:_animate_1isss_1 3.3s linear infinite}._preloader-squares_1isss_5 ul li:nth-child(1){transform:rotate(0)}._preloader-squares_1isss_5 ul li:nth-child(1):before{animation-delay:0s;background:#f96161}._preloader-squares_1isss_5 ul li:nth-child(2){transform:rotate(90deg)}._preloader-squares_1isss_5 ul li:nth-child(2):before{animation-delay:.4s;background:#6ce5c0}._preloader-squares_1isss_5 ul li:nth-child(3){transform:rotate(270deg)}._preloader-squares_1isss_5 ul li:nth-child(3):before{animation-delay:1.2s;background:#5bcedf}._preloader-squares_1isss_5 ul li:nth-child(4){transform:rotate(180deg)}._preloader-squares_1isss_5 ul li:nth-child(4):before{animation-delay:.8s;background:#ffec78}@keyframes _animate_1isss_1{0%{transform:perspective(200px) rotateX(0);opacity:0}10%{transform:perspective(200px) rotateX(-180deg);opacity:0}25%{transform:perspective(200px) rotateX(0);opacity:1}75%{transform:perspective(200px) rotateX(0);opacity:1}90%{transform:perspective(200px) rotateY(180deg);opacity:0}to{transform:perspective(200px) rotateY(0);opacity:0}}:root{--hue: 223;--trans-dur: .3s;font-size:calc(16px + (24 - 16) * (100vw - 320px) / (2560 - 320))}._pl_b9jmf_49{display:flex;justify-content:space-between;align-items:center;filter:drop-shadow(.9em .9em 4px rgba(0,0,0,.4));margin:auto;width:12em;height:12em}._pl__bubble_b9jmf_69{position:relative;width:3em;height:3em}._pl__bubble-drop_b9jmf_81{width:.125em;height:.5em;transform:translate(-50%,-3em)}._pl__bubble-drop_b9jmf_81,._pl__bubble-drop_b9jmf_81:before{transform-origin:50% 0}._pl__bubble-drop_b9jmf_81:nth-child(2){transform:translate(-50%,-3em) rotate(51.4285714286deg)}._pl__bubble-drop_b9jmf_81:nth-child(3){transform:translate(-50%,-3em) rotate(102.8571428571deg)}._pl__bubble-drop_b9jmf_81:nth-child(4){transform:translate(-50%,-3em) rotate(154.2857142857deg)}._pl__bubble-drop_b9jmf_81:nth-child(5){transform:translate(-50%,-3em) rotate(205.7142857143deg)}._pl__bubble-drop_b9jmf_81:nth-child(6){transform:translate(-50%,-3em) rotate(257.1428571429deg)}._pl__bubble-drop_b9jmf_81:nth-child(7){transform:translate(-50%,-3em) rotate(308.5714285714deg)}._pl__bubble_b9jmf_69:before,._pl__bubble_b9jmf_69:after,._pl__bubble-drop_b9jmf_81{position:absolute}._pl__bubble_b9jmf_69:before,._pl__bubble_b9jmf_69:after,._pl__bubble-drop_b9jmf_81:before{animation:_bubble-rise-before_b9jmf_1 1.5s linear infinite}._pl__bubble_b9jmf_69:before,._pl__bubble_b9jmf_69:after{border-radius:50%}._pl__bubble_b9jmf_69:after,._pl__bubble-drop_b9jmf_81{top:50%;left:50%}._pl__bubble_b9jmf_69:before{box-shadow:0 -.0625em 0 .0625em hsl(var(--hue),90%,90%) inset,0 0 0 .0625em hsl(var(--hue),90%,70%) inset,0 0 .25em .25em hsla(var(--hue),90%,70%,.7) inset;transform:translateY(4.5em) scale(0)}._pl__bubble_b9jmf_69:after{animation-name:_bubble-rise-after_b9jmf_1;background-image:radial-gradient(25% 10% at 50% 5%,#fff 48%,#fff0 50%);width:87.5%;height:87.5%;transform:translate(-50%,-50%) translateY(4.5em) rotate(-45deg) scale(0)}._pl__bubble_b9jmf_69:before,._pl__bubble-drop_b9jmf_81:before{width:100%;height:100%}._pl__bubble-drop_b9jmf_81:before{animation-name:_bubble-drop_b9jmf_1;background-color:hsl(var(--hue),90%,80%);border-radius:.0625em;transform:translateY(0) scaleY(0);transform-origin:50% 0}._pl__bubble_b9jmf_69:before,._pl__bubble_b9jmf_69:after,._pl__bubble-drop_b9jmf_81:before{content:"";display:block}._pl__bubble_b9jmf_69:nth-child(2):before,._pl__bubble_b9jmf_69:nth-child(2):after,._pl__bubble_b9jmf_69:nth-child(2) ._pl__bubble-drop_b9jmf_81:before{animation-delay:.15s}._pl__bubble_b9jmf_69:nth-child(3):before,._pl__bubble_b9jmf_69:nth-child(3):after,._pl__bubble_b9jmf_69:nth-child(3) ._pl__bubble-drop_b9jmf_81:before{animation-delay:.3s}@keyframes _bubble-rise-before_b9jmf_1{0%{animation-timing-function:cubic-bezier(.12,0,.39,0);transform:translateY(4.5em) scale(0)}30%{animation-timing-function:cubic-bezier(.61,1,.88,1);transform:translateY(.75em) scale(1)}60%{animation-timing-function:cubic-bezier(.12,0,.39,0);opacity:1;transform:translateY(-3em) scale(1)}70%,to{opacity:0;transform:translateY(-3em) scale(.25)}}@keyframes _bubble-rise-after_b9jmf_1{0%{animation-timing-function:cubic-bezier(.12,0,.39,0);transform:translate(-50%,-50%) translateY(4.5em) rotate(-45deg) scale(0)}30%{animation-timing-function:cubic-bezier(.61,1,.88,1);transform:translate(-50%,-50%) translateY(.75em) rotate(-45deg) scale(1)}60%{animation-timing-function:cubic-bezier(.12,0,.39,0);opacity:1;transform:translate(-50%,-50%) translateY(-3em) rotate(-45deg) scale(1)}70%,to{opacity:0;transform:translate(-50%,-50%) translateY(-3em) rotate(-45deg) scale(.25)}}@keyframes _bubble-drop_b9jmf_1{0%{animation-timing-function:steps(1,end);visibility:hidden;transform:translateY(0) scaleY(1)}65%{animation-timing-function:cubic-bezier(.33,1,.68,1);visibility:visible;transform:translateY(0) scaleY(1)}80%,to{transform:translateY(400%) scaleY(0)}}._particle_qdkb4_5{--angle: (5 * var(--index));--radius: 30;--x: calc(sin(var(--angle)) * var(--radius) * var(--dot-size));--y: calc(cos(var(--angle)) * var(--radius) * var(--dot-size));--angle2: calc(var(--index) * 1turn / var(--total));--x2: calc(sin(var(--angle2)) * var(--radius) * var(--dot-size));--y2: calc(cos(var(--angle2)) * var(--radius) * var(--dot-size));--size: 5;--speed: 3s;--delay: calc(var(--index) * var(--speed) / var(--total) * 4);--hue-angle: 10;--hue-range: 60;--hue-start: 20;animation:_animation_qdkb4_1 var(--speed) ease-out infinite alternate var(--delay);transform:translate3d(var(--x),var(--y),0);opacity:0;border-radius:50%;background:currentColor;color:oklch(75% .3 calc(sin(var(--hue-angle) * var(--index)) * var(--hue-range) + var(--hue-start)));position:absolute;width:calc(var(--size) * .1 * var(--dot-size));height:calc(var(--size) * .1 * var(--dot-size));contain:strict}@keyframes _animation_qdkb4_1{to{transform:translate3d(var(--x2),var(--y2),0);opacity:1}}._wrapper_1fkod_1{display:block;position:relative;overflow:hidden}._mainText_1fkod_17{display:block;transition:transform .5s}._hoverText_1fkod_27{position:absolute;left:0;top:0;width:100%;height:100%;transform:translateY(100%);transition:transform .25s}._wrapper_1fkod_1:hover ._mainText_1fkod_17{transform:translateY(-100%);transition:transform .25s}._wrapper_1fkod_1:hover ._hoverText_1fkod_27{transform:translateY(0);transition:transform .25s}._container_18r7v_31{perspective:150px;display:flex;align-items:center;justify-content:center;-webkit-user-select:none;-moz-user-select:none;user-select:none}._container_18r7v_31 input{display:none}._container_18r7v_31 input:checked~._button_18r7v_75{transform:rotateX(180deg);box-shadow:4px -8px 12px #0001}._button_18r7v_75{position:relative;display:block;width:100%;height:100%;font-weight:600;text-align:center;line-height:46px;text-transform:uppercase;border-radius:25px;box-shadow:4px 8px 12px #0001;transform-style:preserve-3d;transition:all .5s ease-in-out;cursor:pointer}._button_18r7v_75 ._front_18r7v_141,._button_18r7v_75 ._back_18r7v_143{box-sizing:border-box;position:absolute;display:block;inset:0;color:#34495e;background:#fff;border:2px solid #eeeded60;border-radius:25px;transform:rotateX(0);backface-visibility:hidden;display:flex;align-items:center;justify-content:center;z-index:2}._button_18r7v_75 ._back_18r7v_143{color:#fff;background:#64c760;border:2px solid #489146;transform:rotateX(180deg);z-index:1}._btn_1xoda_75{background:transparent;border:1px solid #91C9FF;outline:none;transition:.3s ease-in-out}._svg-border_1xoda_99{position:absolute;inset:0;fill:none;stroke:#fff;stroke-dasharray:150 480;stroke-dashoffset:150;transition:1s ease-in-out}._btn_1xoda_75:hover{background:#4f95da}._btn_1xoda_75:hover ._svg-border_1xoda_99{stroke-dashoffset:-480}._btn_1xoda_75 span{font-size:18px;font-weight:100;color:#fff}._wrapper_sogws_7{--color-primary: #6B04FF;--duration: 1.2s;--lag-duration: calc(var(--duration) * .9);--lag-delay: .1s;--easing: cubic-bezier(.7, .1, .4, 1.5);--drip-easing: cubic-bezier(.9, .5, .7, .9)}._goo-filter_sogws_25{position:absolute;left:0;top:0;visibility:hidden}._transit_sogws_73{transition:inherit;transition-property:transform;transition-duration:var(--duration);transition-timing-function:var(--easing)}#_toggle_sogws_1{position:absolute;left:0;top:0;opacity:0}#_app_sogws_1{padding:12px;font-size:2vmin;color:#fff;display:grid;grid-gap:32px;grid-template-rows:2fr 1fr;grid-template-columns:1fr}._background_sogws_165{filter:url(#goo);grid-column:1;grid-row:1/span 2;display:grid;grid-template:inherit;z-index:-1}._bg-content_sogws_185,._bg-description_sogws_187{border-radius:12px;background:var(--color-primary)}._drip_sogws_199{position:absolute;width:32px;height:24px;background:var(--color-primary);border-radius:10px}._drip_sogws_199:nth-child(1){left:2%}._drip_sogws_199:nth-child(2){left:35%;width:15vmin}._drip_sogws_199:nth-child(3){right:10%;width:12vmin}._drip_sogws_199:nth-child(4){left:20%}._drip_sogws_199:nth-child(5){left:55%;width:15vmin}._drip_sogws_199:nth-child(6){right:4%;width:5vmin}._bg-content_sogws_185 ._drip_sogws_199{bottom:0}._bg-content_sogws_185,._content_sogws_291{width:100px;height:100px}._content_sogws_291,._description_sogws_307{padding:1em;text-align:center;display:flex;align-items:center;flex-direction:column;justify-content:center}._content_sogws_291 header,._description_sogws_307 header{font-size:1.2em}._content_sogws_291 p,._description_sogws_307 p{margin:.5em;color:#fffc}._pronunciation_sogws_349{font-size:3vmin;line-height:1.25;opacity:.8}._content_sogws_291{grid-column:1;grid-row:1;z-index:3}._description_sogws_307{width:40px;grid-row:2;grid-column:1;z-index:2}._avatar_sogws_389{margin-bottom:3vmin;width:30px;height:30px;font-size:1rem;border-radius:12px;background-color:#fff;display:flex;align-items:center;justify-content:center}._button_sogws_425{position:absolute;bottom:-12px;width:40px;height:40px;border-radius:12px;color:#000;background-color:#fff;box-shadow:0 2px 2px #0003;transition:transform calc(var(--duration) / 2) var(--easing);will-change:transform;cursor:pointer;display:flex;justify-content:center;align-items:center;z-index:10}._button_sogws_425:hover{transform:scale(.9)}._button_sogws_425:before{content:"";position:absolute;width:12px;height:12px;border:6px solid transparent;border-bottom-color:#000;border-right-color:#000;transform:rotate(45deg);transition-property:transform}._bg-description_sogws_187{transition-property:transform;transform:translateY(-140%)}._description_sogws_307{transition-property:opacity,transform;transform:translateY(-80%);opacity:0}#_toggle_sogws_1:checked~._description_sogws_307{transform:translateY(0);opacity:1}#_toggle_sogws_1:checked~* ._button_sogws_425:before{transform:rotate(-135deg)}#_toggle_sogws_1:checked~* ._bg-description_sogws_187{transform:translateY(0)}#_toggle_sogws_1:checked~* ._bg-description_sogws_187 ._drip_sogws_199{animation:_up-down_sogws_1 var(--lag-duration) var(--drip-easing) both;animation-delay:var(--lag-delay)}@keyframes _up-down_sogws_1{0%,to{transform:none}20%{transform:scaleX(.01) translateY(-100%)}}#_toggle_sogws_1:checked~* ._bg-content_sogws_185 ._drip_sogws_199{animation:_down-up_sogws_1 var(--lag-duration) var(--drip-easing) both;animation-delay:var(--lag-delay)}@keyframes _down-up_sogws_1{0%,10%,to{transform:none}40%{transform:scaleX(.01) translateY(100%)}}#_toggle_sogws_1:checked~* ._drip_sogws_199:nth-child(2){animation-duration:calc(var(--lag-duration) * 1.1)}#_toggle_sogws_1:checked~* ._drip_sogws_199:nth-child(4){animation-duration:calc(var(--lag-duration) * .9)}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root{--background: 0 0% 100%;--foreground: 222.2 47.4% 11.2%;--muted: 210 40% 96.1%;--muted-foreground: 215.4 16.3% 46.9%;--accent: 210 40% 96.1%;--accent-foreground: 222.2 47.4% 11.2%;--primary: 222.2 47.4% 11.2%;--primary-foreground: 210 40% 98%;--secondary: 210 40% 96.1%;--secondary-foreground: 222.2 47.4% 11.2%;--destructive: 0 100% 50%;--destructive-foreground: 210 40% 98%;--popover: 0 0% 100%;--popover-foreground: 222.2 47.4% 11.2%;--card: 0 0% 100%;--card-foreground: 222.2 47.4% 11.2%;--input: 214.3 31.8% 91.4%;--border: 214.3 31.8% 91.4%;--ring: 215 20.2% 65.1%;--radius: .5rem}.dark{--background: 224 71% 4%;--foreground: 213 31% 91%;--muted: 223 47% 11%;--muted-foreground: 215.4 16.3% 56.9%;--accent: 216 34% 17%;--accent-foreground: 210 40% 98%;--primary: 210 40% 98%;--primary-foreground: 222.2 47.4% 1.2%;--secondary: 222.2 47.4% 11.2%;--secondary-foreground: 210 40% 98%;--destructive: 0 63% 31%;--destructive-foreground: 210 40% 98%;--popover: 224 71% 4%;--popover-foreground: 215 20.2% 65.1%;--card: 224 71% 4%;--card-foreground: 213 31% 91%;--input: 216 34% 17%;--border: 216 34% 17%;--ring: 216 34% 17%;--radius: .5rem}*{border-color:hsl(var(--border))}html,body{background-color:hsl(var(--background));color:hsl(var(--foreground));font-feature-settings:"rlig" 1,"calt" 1}:root{--destructive: 0 100% 97%;--destructive-foreground: 360 100% 45%;--destructive-border: 359 100% 94%;--warning: 49 100% 97%;--warning-foreground: 31 92% 45%;--warning-border: 49 91% 91%;--info: 208 100% 97%;--info-foreground: 210 92% 45%;--info-border: 221 91% 91%;--success: 143 85% 96%;--success-foreground: 140 100% 27%;--success-border: 145 92% 91%}.dark{--destructive: 358 76% 10%;--destructive-foreground: 358 100% 81%;--destructive-border: 357 89% 16%;--warning: 64 100% 6%;--warning-foreground: 46 87% 65%;--warning-border: 60 100% 12%;--info: 215 100% 6%;--info-foreground: 216 87% 65%;--info-border: 223 100% 12%;--success: 150 100% 6%;--success-foreground: 150 86% 65%;--success-border: 147 100% 12%}*{scrollbar-color:initial;scrollbar-width:initial}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.\!container{width:100%!important}.container{width:100%}@media (min-width: 640px){.\!container{max-width:640px!important}.container{max-width:640px}}@media (min-width: 768px){.\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width: 1024px){.\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width: 1280px){.\!container{max-width:1280px!important}.container{max-width:1280px}}@media (min-width: 1536px){.\!container{max-width:1536px!important}.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.invisible{visibility:hidden}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{left:0;right:0}.inset-y-0{top:0;bottom:0}.-bottom-12{bottom:-3rem}.-left-12{left:-3rem}.-right-12{right:-3rem}.-top-12{top:-3rem}.bottom-0{bottom:0}.left-0{left:0}.left-1{left:.25rem}.left-1\/2{left:50%}.left-2{left:.5rem}.left-\[50\%\]{left:50%}.right-0{right:0}.right-1{right:.25rem}.right-2{right:.5rem}.right-4{right:1rem}.top-0{top:0}.top-1{top:.25rem}.top-1\/2{top:50%}.top-4{top:1rem}.top-\[1px\]{top:1px}.top-\[50\%\]{top:50%}.top-\[60\%\]{top:60%}.top-full{top:100%}.isolate{isolation:isolate}.z-0{z-index:0}.z-10{z-index:10}.z-50{z-index:50}.z-\[100\]{z-index:100}.z-\[1\]{z-index:1}.col-span-2{grid-column:span 2 / span 2}.col-span-3{grid-column:span 3 / span 3}.col-start-2{grid-column-start:2}.m-1{margin:.25rem}.m-2{margin:.5rem}.m-4{margin:1rem}.m-auto{margin:auto}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-4{margin-top:1rem;margin-bottom:1rem}.my-8{margin-top:2rem;margin-bottom:2rem}.-ml-4{margin-left:-1rem}.-mt-4{margin-top:-1rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-auto{margin-left:auto}.mr-12{margin-right:3rem}.mr-2{margin-right:.5rem}.mt-0{margin-top:0}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-1\.5{margin-top:.375rem}.mt-2{margin-top:.5rem}.mt-24{margin-top:6rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-auto{margin-top:auto}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.\!table{display:table!important}.table{display:table}.grid{display:grid}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.size-12{width:3rem;height:3rem}.size-3{width:.75rem;height:.75rem}.size-4{width:1rem;height:1rem}.size-6{width:1.5rem;height:1.5rem}.size-7{width:1.75rem;height:1.75rem}.size-8{width:2rem;height:2rem}.size-9{width:2.25rem;height:2.25rem}.h-1{height:.25rem}.h-1\.5{height:.375rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-24{height:6rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-32{height:8rem}.h-4{height:1rem}.h-52{height:13rem}.h-6{height:1.5rem}.h-60{height:15rem}.h-7{height:1.75rem}.h-72{height:18rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[1\.2rem\]{height:1.2rem}.h-\[100px\]{height:100px}.h-\[120px\]{height:120px}.h-\[150px\]{height:150px}.h-\[160px\]{height:160px}.h-\[1px\]{height:1px}.h-\[200px\]{height:200px}.h-\[20px\]{height:20px}.h-\[240px\]{height:240px}.h-\[60px\]{height:60px}.h-\[var\(--radix-navigation-menu-viewport-height\)\]{height:var(--radix-navigation-menu-viewport-height)}.h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-\[300px\]{max-height:300px}.max-h-\[720px\]{max-height:720px}.max-h-screen{max-height:100vh}.min-h-0{min-height:0px}.min-h-\[60px\]{min-height:60px}.w-10{width:2.5rem}.w-12{width:3rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-20{width:5rem}.w-24{width:6rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-3\/4{width:75%}.w-32{width:8rem}.w-4{width:1rem}.w-40{width:10rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-72{width:18rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-96{width:24rem}.w-\[1\.2rem\]{width:1.2rem}.w-\[100px\]{width:100px}.w-\[150px\]{width:150px}.w-\[180px\]{width:180px}.w-\[1px\]{width:1px}.w-\[200px\]{width:200px}.w-\[220px\]{width:220px}.w-\[250px\]{width:250px}.w-\[280px\]{width:280px}.w-\[36px\]{width:36px}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.w-px{width:1px}.min-w-0{min-width:0px}.min-w-96{min-width:24rem}.min-w-\[12rem\]{min-width:12rem}.min-w-\[8rem\]{min-width:8rem}.min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.max-w-lg{max-width:32rem}.max-w-max{max-width:-moz-max-content;max-width:max-content}.max-w-md{max-width:28rem}.max-w-sm{max-width:24rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow,.grow{flex-grow:1}.grow-0{flex-grow:0}.basis-full{flex-basis:100%}.caption-bottom{caption-side:bottom}.border-collapse{border-collapse:collapse}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-\[-50\%\]{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[-50\%\]{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-rotate-90{--tw-rotate: -90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-0{--tw-rotate: 0deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-45{--tw-rotate: 45deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-0{--tw-scale-x: 0;--tw-scale-y: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.list-none{list-style-type:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-\[16px\,1fr\]{grid-template-columns:16px 1fr}.grid-rows-\[auto\,1fr\,auto\]{grid-template-rows:auto 1fr auto}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-center{align-content:center}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-normal{justify-content:normal}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-8{gap:2rem}.gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.text-nowrap{text-wrap:nowrap}.rounded{border-radius:.25rem}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-xl{border-radius:.75rem}.rounded-l-md{border-top-left-radius:calc(var(--radius) - 2px);border-bottom-left-radius:calc(var(--radius) - 2px)}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-r-md{border-top-right-radius:calc(var(--radius) - 2px);border-bottom-right-radius:calc(var(--radius) - 2px)}.rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.rounded-t-\[10px\]{border-top-left-radius:10px;border-top-right-radius:10px}.rounded-tl-sm{border-top-left-radius:calc(var(--radius) - 4px)}.border{border-width:1px}.border-2{border-width:2px}.border-4{border-width:4px}.border-\[14px\]{border-width:14px}.border-\[20px\]{border-width:20px}.border-\[8px\]{border-width:8px}.border-y{border-top-width:1px;border-bottom-width:1px}.border-b{border-bottom-width:1px}.border-b-0{border-bottom-width:0px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-dotted{border-style:dotted}.border-current{border-color:currentColor}.border-destructive{border-color:hsl(var(--destructive))}.border-destructive\/50{border-color:hsl(var(--destructive) / .5)}.border-input{border-color:hsl(var(--input))}.border-muted{border-color:hsl(var(--muted))}.border-muted-foreground{border-color:hsl(var(--muted-foreground))}.border-muted-foreground\/30{border-color:hsl(var(--muted-foreground) / .3)}.border-primary{border-color:hsl(var(--primary))}.border-primary-400{--tw-border-opacity: 1;border-color:rgb(161 161 170 / var(--tw-border-opacity))}.border-primary-foreground{border-color:hsl(var(--primary-foreground))}.border-primary\/50{border-color:hsl(var(--primary) / .5)}.border-transparent{border-color:transparent}.border-x-transparent{border-left-color:transparent;border-right-color:transparent}.border-y-transparent{border-top-color:transparent;border-bottom-color:transparent}.border-l-sky-500{--tw-border-opacity: 1;border-left-color:rgb(14 165 233 / var(--tw-border-opacity))}.border-l-transparent{border-left-color:transparent}.border-t-transparent{border-top-color:transparent}.bg-accent{background-color:hsl(var(--accent))}.bg-background{background-color:hsl(var(--background))}.bg-background\/80{background-color:hsl(var(--background) / .8)}.bg-black\/80{background-color:#000c}.bg-blue-400{--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity))}.bg-border{background-color:hsl(var(--border))}.bg-card{background-color:hsl(var(--card))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-lime-400{--tw-bg-opacity: 1;background-color:rgb(163 230 53 / var(--tw-bg-opacity))}.bg-muted{background-color:hsl(var(--muted))}.bg-muted-foreground\/20{background-color:hsl(var(--muted-foreground) / .2)}.bg-muted\/30{background-color:hsl(var(--muted) / .3)}.bg-orange-400{--tw-bg-opacity: 1;background-color:rgb(251 146 60 / var(--tw-bg-opacity))}.bg-popover{background-color:hsl(var(--popover))}.bg-popover\/80{background-color:hsl(var(--popover) / .8)}.bg-primary{background-color:hsl(var(--primary))}.bg-primary-200{--tw-bg-opacity: 1;background-color:rgb(228 228 231 / var(--tw-bg-opacity))}.bg-primary-500\/20{background-color:#71717a33}.bg-primary-foreground{background-color:hsl(var(--primary-foreground))}.bg-primary\/10{background-color:hsl(var(--primary) / .1)}.bg-primary\/20{background-color:hsl(var(--primary) / .2)}.bg-red-400{--tw-bg-opacity: 1;background-color:rgb(248 113 113 / var(--tw-bg-opacity))}.bg-secondary{background-color:hsl(var(--secondary))}.bg-sky-950{--tw-bg-opacity: 1;background-color:rgb(8 47 73 / var(--tw-bg-opacity))}.bg-slate-800\/90{background-color:#1e293be6}.bg-transparent{background-color:transparent}.bg-zinc-400{--tw-bg-opacity: 1;background-color:rgb(161 161 170 / var(--tw-bg-opacity))}.\!bg-cover{background-size:cover!important}.bg-cover{background-size:cover}.\!bg-center{background-position:center!important}.bg-center{background-position:center}.fill-current{fill:currentColor}.fill-none{fill:none}.fill-primary{fill:hsl(var(--primary))}.fill-slate-600{fill:#475569}.stroke-current{stroke:currentColor}.stroke-none{stroke:none}.stroke-primary{stroke:hsl(var(--primary))}.stroke-sky-500{stroke:#0ea5e9}.stroke-\[1\.5\]{stroke-width:1.5}.stroke-\[5\]{stroke-width:5}.p-0{padding:0}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-10{padding:2.5rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-\[1px\]{padding:1px}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-0{padding-bottom:0}.pb-4{padding-bottom:1rem}.pl-2{padding-left:.5rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pl-6{padding-left:1.5rem}.pl-8{padding-left:2rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:.75rem}.pr-6{padding-right:1.5rem}.pr-8{padding-right:2rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-2{padding-top:.5rem}.pt-4{padding-top:1rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-serif{font-family:ui-serif,Georgia,Cambria,Times New Roman,Times,serif}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-5xl{font-size:3rem;line-height:1}.text-7xl{font-size:4.5rem;line-height:1}.text-\[\.65rem\]{font-size:.65rem}.text-\[0\.70rem\]{font-size:.7rem}.text-\[0\.8rem\]{font-size:.8rem}.text-\[10px\]{font-size:10px}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-extralight{font-weight:200}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.font-thin{font-weight:100}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.leading-none{line-height:1}.tracking-tight{letter-spacing:-.025em}.tracking-tighter{letter-spacing:-.05em}.tracking-widest{letter-spacing:.1em}.text-accent-foreground{color:hsl(var(--accent-foreground))}.text-accent-foreground\/50{color:hsl(var(--accent-foreground) / .5)}.text-background{color:hsl(var(--background))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.text-card-foreground{color:hsl(var(--card-foreground))}.text-current{color:currentColor}.text-destructive{color:hsl(var(--destructive))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-foreground{color:hsl(var(--foreground))}.text-foreground\/50{color:hsl(var(--foreground) / .5)}.text-green-400{--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity))}.text-green-950{--tw-text-opacity: 1;color:rgb(5 46 22 / var(--tw-text-opacity))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.text-sky-300{--tw-text-opacity: 1;color:rgb(125 211 252 / var(--tw-text-opacity))}.text-sky-500{--tw-text-opacity: 1;color:rgb(14 165 233 / var(--tw-text-opacity))}.text-slate-50{--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}.text-slate-600{--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity))}.text-yellow-400{--tw-text-opacity: 1;color:rgb(250 204 21 / var(--tw-text-opacity))}.underline-offset-4{text-underline-offset:4px}.accent-foreground{accent-color:hsl(var(--foreground))}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-25{opacity:.25}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-90{opacity:.9}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-muted-foreground\/50{--tw-ring-color: hsl(var(--muted-foreground) / .5)}.ring-offset-1{--tw-ring-offset-width: 1px}.ring-offset-background{--tw-ring-offset-color: hsl(var(--background))}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.fade-in-0{--tw-enter-opacity: 0}.zoom-in-95{--tw-enter-scale: .95}.smallscroll{--sb-width: 8px;--sb-radius: 4px;--sb-color: #666b7a;scrollbar-color:var(--sb-color) transparent;scrollbar-width:thin}.smallscroll::-webkit-scrollbar{width:var(--sb-width);height:var(--sb-width);background-color:transparent}.smallscroll::-webkit-scrollbar-thumb{background-color:var(--sb-color);border-radius:var(--sb-radius)}.smallscroll::-webkit-scrollbar-corner{background-color:transparent}.resizer::-webkit-resizer{background-color:transparent;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAACXBIWXMAAAsSAAALEgHS3X78AAAAIGNIUk0AAG11AABzoAAA9q8AAIWZAABumgAA57sAADF9AAAXvQF2CngAAABESURBVHjajM67DQAgDENBw6x0WZDtHi3KR4klF5ausAAVvf8u0TGjgwFlMEUeepR+DCj72CJAC9AkW8OM4QMAAP//AwD5ltVB1vqf0gAAAABJRU5ErkJggg==);background-repeat:no-repeat;background-position:bottom right;background-size:95% 95%}.scrollbar-thin::-webkit-scrollbar-track{background-color:var(--scrollbar-track);border-radius:var(--scrollbar-track-radius)}.scrollbar-thin::-webkit-scrollbar-track:hover{background-color:var(--scrollbar-track-hover, var(--scrollbar-track))}.scrollbar-thin::-webkit-scrollbar-track:active{background-color:var(--scrollbar-track-active, var(--scrollbar-track-hover, var(--scrollbar-track)))}.scrollbar-thin::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);border-radius:var(--scrollbar-thumb-radius)}.scrollbar-thin::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover, var(--scrollbar-thumb))}.scrollbar-thin::-webkit-scrollbar-thumb:active{background-color:var(--scrollbar-thumb-active, var(--scrollbar-thumb-hover, var(--scrollbar-thumb)))}.scrollbar-thin::-webkit-scrollbar-corner{background-color:var(--scrollbar-corner);border-radius:var(--scrollbar-corner-radius)}.scrollbar-thin::-webkit-scrollbar-corner:hover{background-color:var(--scrollbar-corner-hover, var(--scrollbar-corner))}.scrollbar-thin::-webkit-scrollbar-corner:active{background-color:var(--scrollbar-corner-active, var(--scrollbar-corner-hover, var(--scrollbar-corner)))}.scrollbar-thin{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb, initial) var(--scrollbar-track, initial)}.scrollbar-thin::-webkit-scrollbar{display:block;width:8px;height:8px}.\!\[--github-background-color\:hsla\(var\(--muted\)\/\.7\)\]{--github-background-color: hsla(var(--muted)/.7) !important}.\!\[--github-border\:none\]{--github-border: none !important}.\[--bg\:hsl\(var\(--hue1\)\,90\%\,90\%\)\]{--bg: hsl(var(--hue1),90%,90%)}.\[--fg\:hsl\(var\(--hue1\)\,90\%\,10\%\)\]{--fg: hsl(var(--hue1),90%,10%)}.\[--hue1\:223\]{--hue1: 223}.\[--hue1\:53\]{--hue1: 53}.\[--hue2\:153\]{--hue2: 153}.\[--hue2\:163\]{--hue2: 163}.\[--hue2\:253\]{--hue2: 253}.\[--hue2\:283\]{--hue2: 283}.\[--hue2\:343\]{--hue2: 343}.\[--hue\:223\]{--hue: 223}.\[--off-hue\:3\]{--off-hue: 3}.\[--on-hue1\:123\]{--on-hue1: 123}.\[--on-hue2\:168\]{--on-hue2: 168}.\[--primary\:hsl\(var\(--hue\)\,90\%\,50\%\)\]{--primary: hsl(var(--hue),90%,50%)}.\[--primary\:hsl\(var\(--hue1\)\,90\%\,50\%\)\]{--primary: hsl(var(--hue1),90%,50%)}.\[--secondary\:hsl\(var\(--hue2\)\,90\%\,50\%\)\]{--secondary: hsl(var(--hue2),90%,50%)}.\[--trans-dur\:0\.2s\]{--trans-dur: .2s}.\[--trans-timing\:cubic-bezier\(0\.65\,0\,0\.35\,1\)\]{--trans-timing: cubic-bezier(.65,0,.35,1)}.\[background-size\:_1em_1em\]{background-size:1em 1em}.\[grid-area\:1\/1\/2\/2\]{grid-area:1/1/2/2}.\[scrollbar-gutter\:stable\]{scrollbar-gutter:stable}.file\:border-0::file-selector-button{border-width:0px}.file\:bg-transparent::file-selector-button{background-color:transparent}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.placeholder\:text-muted-foreground::-moz-placeholder{color:hsl(var(--muted-foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.before\:absolute:before{content:var(--tw-content);position:absolute}.before\:left-0:before{content:var(--tw-content);left:0}.before\:right-1:before{content:var(--tw-content);right:.25rem}.before\:-z-10:before{content:var(--tw-content);z-index:-10}.before\:h-\[1\.75rem\]:before{content:var(--tw-content);height:1.75rem}.before\:w-full:before{content:var(--tw-content);width:100%}.before\:border-l-2:before{content:var(--tw-content);border-left-width:2px}.before\:border-l-accent-foreground\/50:before{content:var(--tw-content);border-left-color:hsl(var(--accent-foreground) / .5)}.before\:bg-accent:before{content:var(--tw-content);background-color:hsl(var(--accent))}.before\:bg-muted\/80:before{content:var(--tw-content);background-color:hsl(var(--muted) / .8)}.before\:opacity-0:before{content:var(--tw-content);opacity:0}.before\:opacity-100:before{content:var(--tw-content);opacity:1}.after\:pointer-events-none:after{content:var(--tw-content);pointer-events:none}.after\:visible:after{content:var(--tw-content);visibility:visible}.after\:invisible:after{content:var(--tw-content);visibility:hidden}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);top:0;bottom:0}.after\:left-1\/2:after{content:var(--tw-content);left:50%}.after\:w-1:after{content:var(--tw-content);width:.25rem}.after\:-translate-x-1\/2:after{content:var(--tw-content);--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.after\:whitespace-pre:after{content:var(--tw-content);white-space:pre}.after\:border:after{content:var(--tw-content);border-width:1px}.after\:border-transparent:after{content:var(--tw-content);border-color:transparent}.after\:px-3:after{content:var(--tw-content);padding-left:.75rem;padding-right:.75rem}.after\:py-2:after{content:var(--tw-content);padding-top:.5rem;padding-bottom:.5rem}.after\:text-sm:after{content:var(--tw-content);font-size:.875rem;line-height:1.25rem}.after\:text-red-500:after{content:var(--tw-content);--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.after\:\!\[content\:attr\(data-replicated\)_\"_\"\]:after{content:attr(data-replicated) " "!important}.after\:\[grid-area\:1\/1\/2\/2\]:after{content:var(--tw-content);grid-area:1/1/2/2}.focus-within\:relative:focus-within{position:relative}.focus-within\:z-20:focus-within{z-index:20}.focus-within\:ring-1:focus-within{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-within\:ring-ring:focus-within{--tw-ring-color: hsl(var(--ring))}.group:hover .group-hover\:opacity-100{opacity:1}.group.destructive .group-\[\.destructive\]\:border-muted\/40{border-color:hsl(var(--muted) / .4)}.group.toaster .group-\[\.toaster\]\:border-border{border-color:hsl(var(--border))}.group.toast .group-\[\.toast\]\:bg-muted{background-color:hsl(var(--muted))}.group.toast .group-\[\.toast\]\:bg-primary{background-color:hsl(var(--primary))}.group.toaster .group-\[\.toaster\]\:bg-background{background-color:hsl(var(--background))}.group.destructive .group-\[\.destructive\]\:text-red-300{--tw-text-opacity: 1;color:rgb(252 165 165 / var(--tw-text-opacity))}.group.toast .group-\[\.toast\]\:text-muted-foreground{color:hsl(var(--muted-foreground))}.group.toast .group-\[\.toast\]\:text-primary-foreground{color:hsl(var(--primary-foreground))}.group.toaster .group-\[\.toaster\]\:text-foreground{color:hsl(var(--foreground))}.group.toaster .group-\[\.toaster\]\:shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.aria-selected\:bg-accent[aria-selected=true]{background-color:hsl(var(--accent))}.aria-selected\:text-accent-foreground[aria-selected=true]{color:hsl(var(--accent-foreground))}.aria-selected\:opacity-100[aria-selected=true]{opacity:1}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[panel-group-direction\=vertical\]\:h-px[data-panel-group-direction=vertical]{height:1px}.data-\[panel-group-direction\=vertical\]\:w-full[data-panel-group-direction=vertical]{width:100%}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=left\]\:-translate-x-1[data-side=left]{--tw-translate-x: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=right\]\:translate-x-1[data-side=right]{--tw-translate-x: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=top\]\:-translate-y-1[data-side=top]{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=checked\]\:translate-x-4[data-state=checked]{--tw-translate-x: 1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked],.data-\[swipe\=cancel\]\:translate-x-0[data-swipe=cancel]{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[swipe\=end\]\:translate-x-\[var\(--radix-toast-swipe-end-x\)\][data-swipe=end]{--tw-translate-x: var(--radix-toast-swipe-end-x);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[swipe\=move\]\:translate-x-\[var\(--radix-toast-swipe-move-x\)\][data-swipe=move]{--tw-translate-x: var(--radix-toast-swipe-move-x);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes accordion-up{0%{height:var(--radix-accordion-content-height)}to{height:0}}.data-\[state\=closed\]\:animate-accordion-up[data-state=closed]{animation:accordion-up .2s ease-out}@keyframes accordion-down{0%{height:0}to{height:var(--radix-accordion-content-height)}}.data-\[state\=open\]\:animate-accordion-down[data-state=open]{animation:accordion-down .2s ease-out}.data-\[panel-group-direction\=vertical\]\:flex-col[data-panel-group-direction=vertical]{flex-direction:column}.data-\[active\]\:bg-accent\/50[data-active]{background-color:hsl(var(--accent) / .5)}.data-\[state\=active\]\:bg-background[data-state=active]{background-color:hsl(var(--background))}.data-\[state\=checked\]\:bg-muted-foreground[data-state=checked]{background-color:hsl(var(--muted-foreground))}.data-\[state\=checked\]\:bg-primary[data-state=checked]{background-color:hsl(var(--primary))}.data-\[state\=on\]\:bg-accent[data-state=on],.data-\[state\=open\]\:bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\[state\=open\]\:bg-accent\/50[data-state=open]{background-color:hsl(var(--accent) / .5)}.data-\[state\=open\]\:bg-secondary[data-state=open]{background-color:hsl(var(--secondary))}.data-\[state\=selected\]\:bg-muted[data-state=selected]{background-color:hsl(var(--muted))}.data-\[state\=unchecked\]\:bg-input[data-state=unchecked]{background-color:hsl(var(--input))}.data-\[state\=active\]\:text-foreground[data-state=active]{color:hsl(var(--foreground))}.data-\[state\=checked\]\:text-accent[data-state=checked]{color:hsl(var(--accent))}.data-\[state\=checked\]\:text-primary-foreground[data-state=checked]{color:hsl(var(--primary-foreground))}.data-\[state\=on\]\:text-accent-foreground[data-state=on],.data-\[state\=open\]\:text-accent-foreground[data-state=open]{color:hsl(var(--accent-foreground))}.data-\[state\=open\]\:text-muted-foreground[data-state=open]{color:hsl(var(--muted-foreground))}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[state\=active\]\:shadow[data-state=active]{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.data-\[swipe\=move\]\:transition-none[data-swipe=move]{transition-property:none}.data-\[state\=closed\]\:duration-300[data-state=closed]{transition-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{transition-duration:.5s}.data-\[motion\^\=from-\]\:animate-in[data-motion^=from-],.data-\[state\=open\]\:animate-in[data-state=open],.data-\[state\=visible\]\:animate-in[data-state=visible]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.data-\[motion\^\=to-\]\:animate-out[data-motion^=to-],.data-\[state\=closed\]\:animate-out[data-state=closed],.data-\[state\=hidden\]\:animate-out[data-state=hidden],.data-\[swipe\=end\]\:animate-out[data-swipe=end]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\[motion\^\=from-\]\:fade-in[data-motion^=from-]{--tw-enter-opacity: 0}.data-\[motion\^\=to-\]\:fade-out[data-motion^=to-],.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\[state\=closed\]\:fade-out-80[data-state=closed]{--tw-exit-opacity: .8}.data-\[state\=hidden\]\:fade-out[data-state=hidden]{--tw-exit-opacity: 0}.data-\[state\=open\]\:fade-in-0[data-state=open],.data-\[state\=visible\]\:fade-in[data-state=visible]{--tw-enter-opacity: 0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\[state\=open\]\:zoom-in-90[data-state=open]{--tw-enter-scale: .9}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale: .95}.data-\[motion\=from-end\]\:slide-in-from-right-52[data-motion=from-end]{--tw-enter-translate-x: 13rem}.data-\[motion\=from-start\]\:slide-in-from-left-52[data-motion=from-start]{--tw-enter-translate-x: -13rem}.data-\[motion\=to-end\]\:slide-out-to-right-52[data-motion=to-end]{--tw-exit-translate-x: 13rem}.data-\[motion\=to-start\]\:slide-out-to-left-52[data-motion=to-start]{--tw-exit-translate-x: -13rem}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}.data-\[state\=closed\]\:slide-out-to-bottom[data-state=closed]{--tw-exit-translate-y: 100%}.data-\[state\=closed\]\:slide-out-to-left[data-state=closed]{--tw-exit-translate-x: -100%}.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state=closed]{--tw-exit-translate-x: -50%}.data-\[state\=closed\]\:slide-out-to-right[data-state=closed],.data-\[state\=closed\]\:slide-out-to-right-full[data-state=closed]{--tw-exit-translate-x: 100%}.data-\[state\=closed\]\:slide-out-to-top[data-state=closed]{--tw-exit-translate-y: -100%}.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state=closed]{--tw-exit-translate-y: -48%}.data-\[state\=open\]\:slide-in-from-bottom[data-state=open]{--tw-enter-translate-y: 100%}.data-\[state\=open\]\:slide-in-from-left[data-state=open]{--tw-enter-translate-x: -100%}.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state=open]{--tw-enter-translate-x: -50%}.data-\[state\=open\]\:slide-in-from-right[data-state=open]{--tw-enter-translate-x: 100%}.data-\[state\=open\]\:slide-in-from-top[data-state=open]{--tw-enter-translate-y: -100%}.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open]{--tw-enter-translate-y: -48%}.data-\[state\=open\]\:slide-in-from-top-full[data-state=open]{--tw-enter-translate-y: -100%}.data-\[panel-group-direction\=vertical\]\:after\:left-0[data-panel-group-direction=vertical]:after{content:var(--tw-content);left:0}.data-\[panel-group-direction\=vertical\]\:after\:h-1[data-panel-group-direction=vertical]:after{content:var(--tw-content);height:.25rem}.data-\[panel-group-direction\=vertical\]\:after\:w-full[data-panel-group-direction=vertical]:after{content:var(--tw-content);width:100%}.data-\[panel-group-direction\=vertical\]\:after\:-translate-y-1\/2[data-panel-group-direction=vertical]:after{content:var(--tw-content);--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[panel-group-direction\=vertical\]\:after\:translate-x-0[data-panel-group-direction=vertical]:after{content:var(--tw-content);--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group[data-state=open] .group-data-\[state\=open\]\:rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-destructive\/80:hover{background-color:hsl(var(--destructive) / .8)}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive) / .9)}.hover\:bg-muted:hover{background-color:hsl(var(--muted))}.hover\:bg-muted\/50:hover{background-color:hsl(var(--muted) / .5)}.hover\:bg-primary:hover{background-color:hsl(var(--primary))}.hover\:bg-primary\/80:hover{background-color:hsl(var(--primary) / .8)}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary) / .9)}.hover\:bg-secondary:hover{background-color:hsl(var(--secondary))}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary) / .8)}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:text-foreground:hover{color:hsl(var(--foreground))}.hover\:text-muted-foreground:hover{color:hsl(var(--muted-foreground))}.hover\:text-primary-foreground:hover{color:hsl(var(--primary-foreground))}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.hover\:before\:opacity-100:hover:before{content:var(--tw-content);opacity:1}.group.destructive .group-\[\.destructive\]\:hover\:border-destructive\/30:hover{border-color:hsl(var(--destructive) / .3)}.group.destructive .group-\[\.destructive\]\:hover\:bg-destructive:hover{background-color:hsl(var(--destructive))}.group.destructive .group-\[\.destructive\]\:hover\:text-destructive-foreground:hover{color:hsl(var(--destructive-foreground))}.group.destructive .group-\[\.destructive\]\:hover\:text-red-50:hover{--tw-text-opacity: 1;color:rgb(254 242 242 / var(--tw-text-opacity))}.focus\:bg-accent:focus{background-color:hsl(var(--accent))}.focus\:bg-primary:focus{background-color:hsl(var(--primary))}.focus\:text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.focus\:text-primary-foreground:focus{color:hsl(var(--primary-foreground))}.focus\:opacity-100:focus{opacity:1}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-1:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-primary-600:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(82 82 91 / var(--tw-ring-opacity))}.focus\:ring-ring:focus{--tw-ring-color: hsl(var(--ring))}.focus\:ring-offset-1:focus{--tw-ring-offset-width: 1px}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.focus\:ring-offset-primary-200:focus{--tw-ring-offset-color: #e4e4e7}.group.destructive .group-\[\.destructive\]\:focus\:ring-destructive:focus{--tw-ring-color: hsl(var(--destructive))}.group.destructive .group-\[\.destructive\]\:focus\:ring-red-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(248 113 113 / var(--tw-ring-opacity))}.group.destructive .group-\[\.destructive\]\:focus\:ring-offset-red-600:focus{--tw-ring-offset-color: #dc2626}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-0:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-1:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--ring))}.focus-visible\:ring-offset-1:focus-visible{--tw-ring-offset-width: 1px}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.focus-visible\:ring-offset-background:focus-visible{--tw-ring-offset-color: hsl(var(--background))}.active\:scale-105:active{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}:is(.dark .dark\:-rotate-90){--tw-rotate: -90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:is(.dark .dark\:rotate-0){--tw-rotate: 0deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:is(.dark .dark\:scale-0){--tw-scale-x: 0;--tw-scale-y: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:is(.dark .dark\:scale-100){--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:is(.dark .dark\:border-destructive){border-color:hsl(var(--destructive))}:is(.dark .dark\:\[--bg\:hsl\(var\(--hue1\)\,90\%\,10\%\)\]){--bg: hsl(var(--hue1),90%,10%)}:is(.dark .dark\:\[--fg\:hsl\(var\(--hue1\)\,90\%\,90\%\)\]){--fg: hsl(var(--hue1),90%,90%)}:is(.dark .dark\:before\:border-0):before{content:var(--tw-content);border-width:0px}:is(.dark .dark\:focus\:ring-primary-400:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(161 161 170 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-offset-primary-800:focus){--tw-ring-offset-color: #27272a}@media (min-width: 640px){.sm\:bottom-0{bottom:0}.sm\:right-0{right:0}.sm\:top-auto{top:auto}.sm\:mt-0{margin-top:0}.sm\:max-w-\[425px\]{max-width:425px}.sm\:max-w-sm{max-width:24rem}.sm\:flex-row{flex-direction:row}.sm\:flex-col{flex-direction:column}.sm\:justify-end{justify-content:flex-end}.sm\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.sm\:rounded-lg{border-radius:var(--radius)}.sm\:text-left{text-align:left}.data-\[state\=open\]\:sm\:slide-in-from-bottom-full[data-state=open]{--tw-enter-translate-y: 100%}}@media (min-width: 768px){.md\:absolute{position:absolute}.md\:w-\[var\(--radix-navigation-menu-viewport-width\)\]{width:var(--radix-navigation-menu-viewport-width)}.md\:w-auto{width:auto}.md\:w-full{width:100%}.md\:max-w-\[420px\]{max-width:420px}}.\[\&\+div\]\:text-xs+div{font-size:.75rem;line-height:1rem}.\[\&\:\:-webkit-resizer\]\:rounded::-webkit-resizer{border-radius:.25rem}.\[\&\:\:-webkit-resizer\]\:\[backgroundSize\:80\%_80\%\]::-webkit-resizer{background-size:80% 80%}.\[\&\:has\(\>\.day-range-end\)\]\:rounded-r-md:has(>.day-range-end){border-top-right-radius:calc(var(--radius) - 2px);border-bottom-right-radius:calc(var(--radius) - 2px)}.\[\&\:has\(\>\.day-range-start\)\]\:rounded-l-md:has(>.day-range-start){border-top-left-radius:calc(var(--radius) - 2px);border-bottom-left-radius:calc(var(--radius) - 2px)}.\[\&\:has\(\[aria-selected\]\)\]\:rounded-md:has([aria-selected]){border-radius:calc(var(--radius) - 2px)}.\[\&\:has\(\[aria-selected\]\)\]\:bg-accent:has([aria-selected]){background-color:hsl(var(--accent))}.first\:\[\&\:has\(\[aria-selected\]\)\]\:rounded-l-md:has([aria-selected]):first-child{border-top-left-radius:calc(var(--radius) - 2px);border-bottom-left-radius:calc(var(--radius) - 2px)}.last\:\[\&\:has\(\[aria-selected\]\)\]\:rounded-r-md:has([aria-selected]):last-child{border-top-right-radius:calc(var(--radius) - 2px);border-bottom-right-radius:calc(var(--radius) - 2px)}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:0}.\[\&\>\.track\]\:h-px>.track{height:1px}.\[\&\>\[role\=checkbox\]\]\:translate-y-\[2px\]>[role=checkbox]{--tw-translate-y: 2px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>div\]\:w-full>div{width:100%}.\[\&\>div\]\:text-left>div{text-align:left}.\[\&\>div\]\:\[--github-arrow-border-color\:transparent\]>div{--github-arrow-border-color: transparent}.\[\&\>div\]\:\[--github-background-color\:transparent\]>div{--github-background-color: transparent}.\[\&\>svg\+div\]\:translate-y-\[-3px\]>svg+div{--tw-translate-y: -3px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>svg\]\:absolute>svg{position:absolute}.\[\&\>svg\]\:left-4>svg{left:1rem}.\[\&\>svg\]\:top-4>svg{top:1rem}.\[\&\>svg\]\:text-destructive>svg{color:hsl(var(--destructive))}.\[\&\>svg\]\:text-foreground>svg{color:hsl(var(--foreground))}.\[\&\>svg\~\*\]\:pl-7>svg~*{padding-left:1.75rem}.\[\&\[data-fixed-width\]\>div\>div\]\:\!\[display\:block\][data-fixed-width]>div>div{display:block!important}.\[\&\[data-panel-group-direction\=vertical\]\>div\]\:rotate-90[data-panel-group-direction=vertical]>div{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\[data-state\=open\]\>svg\]\:rotate-180[data-state=open]>svg{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.first\:\[\&\[data-state\=open\]\>svg\]\:rotate-90[data-state=open]>svg:first-child{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.last\:\[\&\[data-state\=open\]\>svg\]\:rotate-90[data-state=open]>svg:last-child{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&_\.w-color-saturation-fill\]\:\!size-4 .w-color-saturation-fill{width:1rem!important;height:1rem!important}.\[\&_\.w-color-saturation-fill\]\:\!-translate-x-2 .w-color-saturation-fill{--tw-translate-x: -.5rem !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.\[\&_\.w-color-saturation-fill\]\:\!-translate-y-2 .w-color-saturation-fill{--tw-translate-y: -.5rem !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.\[\&_\[cmdk-group-heading\]\]\:px-2 [cmdk-group-heading]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-group-heading\]\]\:py-1\.5 [cmdk-group-heading]{padding-top:.375rem;padding-bottom:.375rem}.\[\&_\[cmdk-group-heading\]\]\:text-xs [cmdk-group-heading]{font-size:.75rem;line-height:1rem}.\[\&_\[cmdk-group-heading\]\]\:font-medium [cmdk-group-heading]{font-weight:500}.\[\&_\[cmdk-group-heading\]\]\:text-muted-foreground [cmdk-group-heading]{color:hsl(var(--muted-foreground))}.\[\&_\[cmdk-group\]\:not\(\[hidden\]\)_\~\[cmdk-group\]\]\:pt-0 [cmdk-group]:not([hidden])~[cmdk-group]{padding-top:0}.\[\&_\[cmdk-group\]\]\:px-2 [cmdk-group]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-input-wrapper\]_svg\]\:h-5 [cmdk-input-wrapper] svg{height:1.25rem}.\[\&_\[cmdk-input-wrapper\]_svg\]\:w-5 [cmdk-input-wrapper] svg{width:1.25rem}.\[\&_\[cmdk-input\]\]\:h-12 [cmdk-input]{height:3rem}.\[\&_\[cmdk-item\]\]\:px-2 [cmdk-item]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-item\]\]\:py-3 [cmdk-item]{padding-top:.75rem;padding-bottom:.75rem}.\[\&_\[cmdk-item\]_svg\]\:h-5 [cmdk-item] svg{height:1.25rem}.\[\&_\[cmdk-item\]_svg\]\:w-5 [cmdk-item] svg{width:1.25rem}.\[\&_p\]\:leading-relaxed p{line-height:1.625}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-width:0px}.\[\&_tr\]\:border-b tr{border-bottom-width:1px} diff --git a/assets/index-CN-mkdNg.css b/assets/index-CN-mkdNg.css deleted file mode 100644 index 8bd1f28..0000000 --- a/assets/index-CN-mkdNg.css +++ /dev/null @@ -1 +0,0 @@ -.splitpane-content,.splitpane{flex:1;min-height:0;min-width:0}.splitpane-divider{flex-shrink:0;z-index:1000;transition:background-color .1s ease .4s}.splitpane-divider.horizontal{width:3px}.splitpane-divider.vertical{height:3px}.splitpane-divider:hover{background-color:#2e8fff;cursor:ew-resize}.splitpane-divider.vertical:hover{cursor:ns-resize}._container_q763u_7 table{--border-color: #545d9e;border-spacing:0}._container_q763u_7 th,._container_q763u_7 td{padding:8px;text-align:left;border:1px solid #2e3252}._container_q763u_7 th{background-color:#272a3f}._container_q763u_7 td{color:#bdbddb;background-color:#212335}._sticky-header-row_q763u_57 th[scope=col]{position:sticky;top:0;border-bottom-color:var(--border-color)}._sticky-first-column_q763u_75 th[scope=col]:first-child,._sticky-first-column_q763u_75 th[scope=row]{position:sticky;left:0;border-right-color:var(--border-color)}._sticky-header-and-first-column_q763u_97 th[scope=col]{position:sticky;top:0;border-bottom-color:var(--border-color)}._sticky-header-and-first-column_q763u_97 th[scope=row]{position:sticky;left:0;border-right-color:var(--border-color)}._sticky-header-and-first-column_q763u_97 th[scope=col]:first-child{left:0;z-index:1;border-right-color:var(--border-color);border-bottom-color:var(--border-color)}._container_q763u_7::-webkit-scrollbar{width:6px;height:6px}._container_q763u_7::-webkit-scrollbar-track{background:#000}._container_q763u_7::-webkit-scrollbar-thumb{background-color:#9f9ec7;border-radius:10px}._container_q763u_7::-webkit-scrollbar-thumb:hover{background-color:#8988aa}._container_ny73l_25{display:flex;justify-content:center;align-items:center;margin:10vmin;overflow:hidden;transform:skew(5deg)}._container_ny73l_25 ._card_ny73l_41{flex:1;transition:all 1s ease-in-out;height:75vmin;position:relative}._container_ny73l_25 ._card_ny73l_41 ._card__head_ny73l_53{color:#000;background:#ff1eadbf;padding:.5em;transform:rotate(-90deg);transform-origin:0% 0%;transition:all .5s ease-in-out;min-width:100%;text-align:center;position:absolute;bottom:0;left:0;font-size:1em;white-space:nowrap}._container_ny73l_25 ._card_ny73l_41:hover{flex-grow:10}._container_ny73l_25 ._card_ny73l_41:hover img{filter:grayscale(0)}._container_ny73l_25 ._card_ny73l_41:hover ._card__head_ny73l_53{text-align:center;top:calc(100% - 2em);color:#fff;background:#00000080;font-size:2em;transform:rotate(0) skew(-5deg)}._container_ny73l_25 ._card_ny73l_41 img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;transition:all 1s ease-in-out;filter:grayscale(100%)}._container_ny73l_25 ._card_ny73l_41:not(:nth-child(5)){margin-right:1em}._wrap_84gct_1{max-width:550px;height:500px;display:flex;gap:.5rem;overflow-y:hidden}._strip_84gct_19{position:relative;padding:0 .25rem;height:0;opacity:0;flex:20%;text-align:center;border:1px solid white;border-radius:3px;transition:flex .3s ease-in-out;cursor:pointer;overflow:hidden;display:grid;grid-template-rows:10% 60% 15% 15%;place-items:center}._strip_84gct_19>*{margin:auto}._strip_84gct_19:hover{transition:all .5s ease;flex:100%}._one_84gct_79{background:khaki}._two_84gct_81{background:#f08080}._three_84gct_83{background:peru}._four_84gct_85{background:wheat}._five_84gct_87{background:tan}._crown_84gct_91{justify-self:center;padding-top:.5rem;padding-bottom:1rem;width:50px;font-size:1.4rem;line-height:normal;font-weight:100;border-bottom:.2vmin solid #000}._h1_84gct_119{align-self:center;font-size:1.4rem;font-weight:200;line-height:1;transform:rotate(-180deg);writing-mode:vertical-rl;text-orientation:sideways;transition:transform .2s ease-in-out}._strip_84gct_19:hover ._h1_84gct_119{transform:rotate(-90deg) translate(10rem);z-index:10}._h2_84gct_153{padding:.5rem 0;font-size:1rem;border-top:1px solid #000;border-bottom:1px solid #000}._h3_84gct_165{font-size:.5rem}._review_84gct_175{position:absolute;padding:0 2rem;top:50%;left:50%;width:95%;height:97%;transform:translate(-50%,-50%);color:#000;background:ivory;opacity:0}._strip_84gct_19:hover ._review_84gct_175{transition:.5s ease-in-out;opacity:1}._review_84gct_175 p{margin-top:5rem;font-size:.75rem;text-align:left}._container_1fbyo_33{position:relative;width:800px;height:500px;transition:all .4s;display:grid;grid-template-columns:1fr 1fr 1fr 1fr 1fr;gap:1em}._container_1fbyo_33:hover ._box_1fbyo_55{filter:grayscale(100%) opacity(24%)}._box_1fbyo_55{position:relative;transition:all .4s;background-size:cover;background:var(--img) center center;display:flex;justify-content:center;align-items:center}._container_1fbyo_33 ._box_1fbyo_55:hover{filter:grayscale(0%) opacity(100%)}._container_1fbyo_33:has(._box-1_1fbyo_95:hover){grid-template-columns:3fr 1fr 1fr 1fr 1fr}._container_1fbyo_33:has(._box-2_1fbyo_103:hover){grid-template-columns:1fr 3fr 1fr 1fr 1fr}._container_1fbyo_33:has(._box-3_1fbyo_111:hover){grid-template-columns:1fr 1fr 3fr 1fr 1fr}._container_1fbyo_33:has(._box-4_1fbyo_119:hover){grid-template-columns:1fr 1fr 1fr 3fr 1fr}._container_1fbyo_33:has(._box-5_1fbyo_127:hover){grid-template-columns:1fr 1fr 1fr 1fr 3fr}._box_1fbyo_55:nth-child(odd){transform:translateY(-16px)}._box_1fbyo_55:nth-child(2n){transform:translateY(16px)}._box_1fbyo_55:after{content:attr(data-text);position:absolute;padding:10px 10px 10px 14px;bottom:20px;transform:translateY(60px);transition:all .4s;color:#fff;background:#000;letter-spacing:4px;text-transform:uppercase;opacity:0}._box_1fbyo_55:hover:after{transform:translateY(0);transition-delay:.4s;opacity:1}.switch,.switch__input{-webkit-tap-highlight-color:#0000}.switch{margin:auto;position:relative;width:5em;height:3em;display:block}.switch__base-outer,.switch__base-inner{position:absolute;display:block}.switch__base-outer{left:.125em;top:.125em;width:4.75em;height:2.75em;border-radius:1.25em;box-shadow:-.125em -.125em .25em hsl(var(--hue),10%,30%),.125em .125em .125em hsl(var(--hue),10%,30%) inset,.125em .125em .25em #000,-.125em -.125em .125em hsl(var(--hue),10%,5%) inset}.switch__base-inner{left:.375em;top:.375em;width:4.25em;height:2.25em;border-radius:1.125em;box-shadow:-.25em -.25em .25em hsl(var(--hue),10%,30%) inset,.0625em .0625em .125em hsla(var(--hue),10%,30%),.125em .25em .25em hsl(var(--hue),10%,5%) inset,-.0625em -.0625em .125em hsla(var(--hue),10%,5%)}.switch__base-neon{position:absolute;left:0;top:0;width:100%;height:auto;display:block;overflow:visible}.switch__base-neon path{stroke-dasharray:0 104.26 0;transition:stroke-dasharray var(--trans-dur) var(--trans-timing)}.switch__input{position:relative;width:100%;height:100%;outline:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}.switch__input:before{content:"";position:absolute;inset:-.125em;display:block;border-radius:.125em;box-shadow:0 0 0 .125em hsla(var(--hue),90%,50%,0);transition:box-shadow .15s linear}.switch__input:focus-visible:before{box-shadow:0 0 0 .125em var(--primary)}.switch__knob,.switch__knob-container{display:block;position:absolute;border-radius:1em}.switch__knob{width:2em;height:2em;background-color:hsl(var(--hue),10%,15%);background-image:radial-gradient(88% 88% at 50% 50%,hsl(var(--hue),10%,20%) 47%,hsla(var(--hue),10%,20%,0) 50%),radial-gradient(88% 88% at 47% 47%,hsl(var(--hue),10%,85%) 45%,hsla(var(--hue),10%,85%,0) 50%),radial-gradient(65% 70% at 40% 60%,hsl(var(--hue),10%,20%) 46%,hsla(var(--hue),10%,20%,0) 50%);box-shadow:-.0625em -.0625em .0625em hsl(var(--hue),10%,15%) inset,-.125em -.125em .0625em hsl(var(--hue),10%,5%) inset,.75em .25em .125em #000c;transition:transform var(--trans-dur) var(--trans-timing)}.switch__knob-container{left:.5em;top:.5em;width:4em;height:2em;overflow:hidden}.switch__knob-neon{display:block;width:2em;height:auto}.switch__knob-neon circle{opacity:0;stroke-dasharray:0 90.32 0 54.19;transition:opacity var(--trans-dur) steps(1,end),stroke-dasharray var(--trans-dur) var(--trans-timing)}.switch__knob-shadow{position:absolute;left:.5em;top:.5em;width:2em;height:2em;display:block;border-radius:50%;box-shadow:.125em .125em .125em #000000e6;transition:transform var(--trans-dur) var(--trans-timing)}.switch__led{position:absolute;left:0;top:0;width:.25em;height:.25em;display:block;background-color:hsl(var(--off-hue),90%,70%);border-radius:50%;box-shadow:0 -.0625em .0625em hsl(var(--off-hue),90%,40%) inset,0 0 .125em hsla(var(--off-hue),90%,70%,.3),0 0 .125em hsla(var(--off-hue),90%,70%,.3),.125em .125em .125em #00000080;transition:background-color var(--trans-dur) var(--trans-timing),box-shadow var(--trans-dur) var(--trans-timing)}.switch__text{position:absolute;width:1px;height:1px;overflow:hidden}.switch__input:checked~.switch__led{background-color:hsl(var(--on-hue1),90%,70%);box-shadow:0 -.0625em .0625em hsl(var(--on-hue1),90%,40%) inset,0 -.125em .125em hsla(var(--on-hue1),90%,70%,.3),0 .125em .125em hsla(var(--on-hue1),90%,70%,.3),.125em .125em .125em #00000080}.switch__input:checked~.switch__base-neon path{stroke-dasharray:52.13 0 52.13}.switch__input:checked~.switch__knob-shadow,.switch__input:checked~.switch__knob-container .switch__knob{transform:translate(100%)}.switch__input:checked~.switch__knob-container .switch__knob-neon circle{opacity:1;stroke-dasharray:45.16 0 45.16 54.19;transition-timing-function:steps(1,start),var(--trans-timing)}.toggle-wrapper{position:relative;display:flex;justify-content:center;align-items:center;-moz-column-gap:.25em;column-gap:.25em}.toggle-icon{width:.5em;height:.5em;fill:#4c9bab;filter:drop-shadow(0 1px 1px rgba(255,255,255,.4));transition:fill .4s}.toggle-checkbox:not(:checked)+.toggle-icon.off,.toggle-checkbox:checked~.toggle-icon.on{fill:#e0f9fc}.toggle-checkbox{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:absolute;z-index:1;border-radius:3.125em;width:4.05em;height:100%;opacity:0;cursor:pointer}.toggle-container{position:relative;border-radius:3.125em;width:4.05em;height:1.5em;background-image:repeating-conic-gradient(#0b66a0 0% 25%,#1093a8 0% 50%);background-size:.125em .125em;box-shadow:inset 0 .125em .25em #00092699,inset -1.5em 0 .0625em #00092680,inset .5em 0 .5em #00092680,0 1px 1px #fff6}.toggle-button{display:flex;justify-content:center;align-items:center;position:absolute;top:.0625em;left:.0625em;border-radius:inherit;width:2.55em;height:calc(100% - .125em);background-image:linear-gradient(to right,#86e2fa,#125e79);box-shadow:0 .125em .25em #0009;transition:left .4s}.toggle-checkbox:checked~.toggle-container>.toggle-button{left:1.4375em}.toggle-button:before{content:"";position:absolute;top:inherit;border-radius:inherit;width:calc(100% - .375em);height:inherit;background-image:linear-gradient(to right,#0f73a8,#57cfe2,#b3f0ff)}.toggle-button:after{content:"";position:absolute;width:.5em;height:38%;background-image:repeating-linear-gradient(to right,#d2f2f6 0 .0625em,#4ea0ae .0625em .125em,transparent .125em .1875em)}._flip-clock_1dcm9_25{perspective:600px;margin:0 auto;text-align:center}._flip-clock_1dcm9_25 *,._flip-clock_1dcm9_25 *:before,._flip-clock_1dcm9_25 *:after{box-sizing:border-box}._flip-clock__piece_1dcm9_49{display:inline-block;margin:0 .2vw}@media (min-width: 1000px){._flip-clock__piece_1dcm9_49{margin:0 5px}}._flip-clock__slot_1dcm9_71{display:block;font-size:1rem;line-height:1.5}._flip-card_1dcm9_83{display:block;position:relative;padding-bottom:.72em;font-size:2.25rem;line-height:.95}@media (min-width: 1000px){._flip-clock__slot_1dcm9_71{font-size:1.2rem}._flip-card_1dcm9_83{font-size:3rem}}._flip-card__top_1dcm9_123,._flip-card__bottom_1dcm9_125,._flip-card__back-bottom_1dcm9_127,._flip-card__back_1dcm9_127:before,._flip-card__back_1dcm9_127:after{display:block;padding:.23em .25em .4em;width:1.8em;height:.72em;backface-visibility:hidden;transform-style:preserve-3d;color:#ccc;background:#222;border-radius:.15em .15em 0 0}._flip-card__bottom_1dcm9_125,._flip-card__back-bottom_1dcm9_127{position:absolute;left:0;top:50%;color:#fff;background:#393939;border-top:solid 1px #000;border-radius:0 0 .15em .15em;pointer-events:none;overflow:hidden;z-index:2}._flip-card__back-bottom_1dcm9_127{z-index:1}._flip-card__bottom_1dcm9_125:after,._flip-card__back-bottom_1dcm9_127:after{display:block;margin-top:-.72em}._flip-card__back_1dcm9_127:before,._flip-card__bottom_1dcm9_125:after,._flip-card__back-bottom_1dcm9_127:after{content:attr(data-value)}._flip-card__back_1dcm9_127{position:absolute;left:0%;top:0;height:100%;pointer-events:none}._flip-card__back_1dcm9_127:before{position:relative;overflow:hidden;z-index:-1}._flip_1dcm9_25 ._flip-card__back_1dcm9_127:before{z-index:1;transform-origin:center bottom;animation:_flipTop_1dcm9_1 .3s cubic-bezier(.37,.01,.94,.35);animation-fill-mode:both}._flip_1dcm9_25 ._flip-card__bottom_1dcm9_125{transform-origin:center top;animation:_flipBottom_1dcm9_1 .6s cubic-bezier(.15,.45,.28,1);animation-fill-mode:both}@keyframes _flipTop_1dcm9_1{0%{transform:rotateX(0);z-index:2}0%,99%{opacity:1}to{transform:rotateX(-90deg);opacity:0}}@keyframes _flipBottom_1dcm9_1{0%,50%{z-index:-1;transform:rotateX(90deg);opacity:0}51%{opacity:1}to{opacity:1;transform:rotateX(0);z-index:5}}._wrapper_1fkod_1{display:block;position:relative;overflow:hidden}._mainText_1fkod_17{display:block;transition:transform .5s}._hoverText_1fkod_27{position:absolute;left:0;top:0;width:100%;height:100%;transform:translateY(100%);transition:transform .25s}._wrapper_1fkod_1:hover ._mainText_1fkod_17{transform:translateY(-100%);transition:transform .25s}._wrapper_1fkod_1:hover ._hoverText_1fkod_27{transform:translateY(0);transition:transform .25s}._wrapper_8txox_1 span{display:inline-block;margin:0 3px;width:8px;height:8px;border-radius:50%;background-color:currentColor;animation:_flashing_8txox_1 2.4s infinite linear}._wrapper_8txox_1 span:nth-child(2){animation-delay:.2s}._wrapper_8txox_1 span:nth-child(3){animation-delay:.4s}@keyframes _flashing_8txox_1{0%{opacity:.2}20%{opacity:1}to{opacity:.2}}._wrapper_sogws_7{--color-primary: #6B04FF;--duration: 1.2s;--lag-duration: calc(var(--duration) * .9);--lag-delay: .1s;--easing: cubic-bezier(.7, .1, .4, 1.5);--drip-easing: cubic-bezier(.9, .5, .7, .9)}._goo-filter_sogws_25{position:absolute;left:0;top:0;visibility:hidden}._transit_sogws_73{transition:inherit;transition-property:transform;transition-duration:var(--duration);transition-timing-function:var(--easing)}#_toggle_sogws_1{position:absolute;left:0;top:0;opacity:0}#_app_sogws_1{padding:12px;font-size:2vmin;color:#fff;display:grid;grid-gap:32px;grid-template-rows:2fr 1fr;grid-template-columns:1fr}._background_sogws_165{filter:url(#goo);grid-column:1;grid-row:1/span 2;display:grid;grid-template:inherit;z-index:-1}._bg-content_sogws_185,._bg-description_sogws_187{border-radius:12px;background:var(--color-primary)}._drip_sogws_199{position:absolute;width:32px;height:24px;background:var(--color-primary);border-radius:10px}._drip_sogws_199:nth-child(1){left:2%}._drip_sogws_199:nth-child(2){left:35%;width:15vmin}._drip_sogws_199:nth-child(3){right:10%;width:12vmin}._drip_sogws_199:nth-child(4){left:20%}._drip_sogws_199:nth-child(5){left:55%;width:15vmin}._drip_sogws_199:nth-child(6){right:4%;width:5vmin}._bg-content_sogws_185 ._drip_sogws_199{bottom:0}._bg-content_sogws_185,._content_sogws_291{width:100px;height:100px}._content_sogws_291,._description_sogws_307{padding:1em;text-align:center;display:flex;align-items:center;flex-direction:column;justify-content:center}._content_sogws_291 header,._description_sogws_307 header{font-size:1.2em}._content_sogws_291 p,._description_sogws_307 p{margin:.5em;color:#fffc}._pronunciation_sogws_349{font-size:3vmin;line-height:1.25;opacity:.8}._content_sogws_291{grid-column:1;grid-row:1;z-index:3}._description_sogws_307{width:40px;grid-row:2;grid-column:1;z-index:2}._avatar_sogws_389{margin-bottom:3vmin;width:30px;height:30px;font-size:1rem;border-radius:12px;background-color:#fff;display:flex;align-items:center;justify-content:center}._button_sogws_425{position:absolute;bottom:-12px;width:40px;height:40px;border-radius:12px;color:#000;background-color:#fff;box-shadow:0 2px 2px #0003;transition:transform calc(var(--duration) / 2) var(--easing);will-change:transform;cursor:pointer;display:flex;justify-content:center;align-items:center;z-index:10}._button_sogws_425:hover{transform:scale(.9)}._button_sogws_425:before{content:"";position:absolute;width:12px;height:12px;border:6px solid transparent;border-bottom-color:#000;border-right-color:#000;transform:rotate(45deg);transition-property:transform}._bg-description_sogws_187{transition-property:transform;transform:translateY(-140%)}._description_sogws_307{transition-property:opacity,transform;transform:translateY(-80%);opacity:0}#_toggle_sogws_1:checked~._description_sogws_307{transform:translateY(0);opacity:1}#_toggle_sogws_1:checked~* ._button_sogws_425:before{transform:rotate(-135deg)}#_toggle_sogws_1:checked~* ._bg-description_sogws_187{transform:translateY(0)}#_toggle_sogws_1:checked~* ._bg-description_sogws_187 ._drip_sogws_199{animation:_up-down_sogws_1 var(--lag-duration) var(--drip-easing) both;animation-delay:var(--lag-delay)}@keyframes _up-down_sogws_1{0%,to{transform:none}20%{transform:scaleX(.01) translateY(-100%)}}#_toggle_sogws_1:checked~* ._bg-content_sogws_185 ._drip_sogws_199{animation:_down-up_sogws_1 var(--lag-duration) var(--drip-easing) both;animation-delay:var(--lag-delay)}@keyframes _down-up_sogws_1{0%,10%,to{transform:none}40%{transform:scaleX(.01) translateY(100%)}}#_toggle_sogws_1:checked~* ._drip_sogws_199:nth-child(2){animation-duration:calc(var(--lag-duration) * 1.1)}#_toggle_sogws_1:checked~* ._drip_sogws_199:nth-child(4){animation-duration:calc(var(--lag-duration) * .9)}.pl1__g,.pl1__rect{animation:pl1-a 1.5s cubic-bezier(.65,0,.35,1) infinite}.pl1__g{transform-origin:64px 64px}.pl1__rect:first-child{animation-name:pl1-b}.pl1__rect:nth-child(2){animation-name:pl1-c}@keyframes pl1-b{0%{animation-timing-function:cubic-bezier(.33,0,.67,0);width:40px;height:40px}20%{animation-timing-function:steps(1,start);width:40px;height:0}60%{animation-timing-function:cubic-bezier(.65,0,.35,1);width:0;height:40px}80%,to{width:40px;height:40px}}@keyframes pl1-c{0%{animation-timing-function:cubic-bezier(.33,0,.67,0);width:40px;height:40px;transform:translateY(48px)}20%{animation-timing-function:cubic-bezier(.33,1,.67,1);width:40px;height:88px;transform:translate(0)}40%{animation-timing-function:cubic-bezier(.33,0,.67,0);width:40px;height:40px;transform:translate(0)}60%{animation-timing-function:cubic-bezier(.33,1,.67,1);width:88px;height:40px;transform:translate(0)}80%,to{width:40px;height:40px;transform:translate(48px)}}.pl2__rect,.pl2__rect-g{animation:pl1-a 1.5s cubic-bezier(.65,0,.35,1) infinite;animation-name:pl2-a}.pl2__rect{animation-name:pl2-b}.pl2__rect-g .pl2__rect{transform-origin:20px 128px}.pl2__rect-g:first-child,.pl2__rect-g:first-child .pl2__rect{animation-delay:-.25s}.pl2__rect-g:nth-child(2),.pl2__rect-g:nth-child(2) .pl2__rect{animation-delay:-.125s}.pl2__rect-g:nth-child(2) .pl2__rect{transform-origin:64px 128px}.pl2__rect-g:nth-child(3) .pl2__rect{transform-origin:108px 128px}@keyframes pl2-a{0%,25%,66.67%,to{transform:translateY(0)}50%{animation-timing-function:cubic-bezier(.33,0,.67,0);transform:translateY(-80px)}}@keyframes pl2-b{0%,to{animation-timing-function:cubic-bezier(.33,0,.67,0);width:40px;height:24px;transform:rotate(180deg) translate(0)}33.33%{animation-timing-function:cubic-bezier(.33,1,.67,1);width:20px;height:64px;transform:rotate(180deg) translate(10px)}66.67%{animation-timing-function:cubic-bezier(.33,1,.67,1);width:28px;height:44px;transform:rotate(180deg) translate(6px)}}.pl3__rect{animation:pl1-a 1.5s cubic-bezier(.65,0,.35,1) infinite;animation-name:pl3}.pl3__rect-g{transform-origin:64px 64px}@keyframes pl1-a{0%{transform:rotate(0)}80%,to{animation-timing-function:steps(1,start);transform:rotate(90deg)}}@keyframes pl3{0%{transform:translate(64px);width:64px;height:64px}25%{transform:translate(0);width:128px;height:32px}50%{transform:translate(0);width:64px;height:64px}75%{transform:translate(0);width:32px;height:128px}to{transform:translateY(64px);width:64px;height:64px}}._dots-ring_d2oym_5{--w: #fafafa;--b: #141414;--s: 1s;--d: calc(var(--s) / 6);--dot-size: 1vmin;position:relative}._content_d2oym_51,._dots_d2oym_5{display:flex;align-items:center;justify-content:center}._content_d2oym_51{width:50vmin;height:50vmin;background:#f000;animation:_spin_d2oym_1 8s linear 0s infinite}._control_d2oym_87{position:absolute;inset:0;opacity:0;cursor:pointer;z-index:4}._control_d2oym_87:checked~div{filter:invert(1)}._control_d2oym_87:checked+._bg_d2oym_113:before{content:"CLICK TO DARK"}._bg_d2oym_113{position:absolute;background:var(--b);z-index:-2;inset:0}._bg_d2oym_113:before{content:"CLICK TO LIGHT";position:absolute;top:100px;left:0;color:var(--w);font-family:Arial,Helvetica,serif;font-size:12px;text-shadow:0 0 1px var(--w);opacity:.25}._ring_d2oym_185{width:64%;height:64%;border:1.5vmin solid var(--w);border-radius:100%;box-shadow:0 0 0 1vmin var(--b),0 0 0 1vmin var(--b) inset;animation:_spin_d2oym_1 8s linear 0s infinite reverse;z-index:0}._dots_d2oym_5{background:#0ff0;width:100%;height:100%;position:relative}._dot_d2oym_5{position:absolute;left:0;width:50%;height:7vmin;background:#f000;transform-origin:100% 50%;z-index:-1;animation:_over-ring_d2oym_1 calc(var(--s) * 2) linear 0s infinite}._dot_d2oym_5 span{position:absolute;left:0;width:5.5vmin;height:5.5vmin;background:var(--w);border:1vmin solid var(--b);border-radius:100%;animation:_ball_d2oym_1 var(--s) ease-in-out 0s infinite alternate}._dot_d2oym_5:nth-child(1){transform:rotate(-30deg);animation-delay:calc(var(--d) * 0)}._dot_d2oym_5:nth-child(1) span{animation-delay:calc(var(--d) * 0)}._dot_d2oym_5:nth-child(2){transform:rotate(-60deg);animation-delay:calc(var(--d) * -1)}._dot_d2oym_5:nth-child(2) span{animation-delay:calc(var(--d) * -1)}._dot_d2oym_5:nth-child(3){transform:rotate(-90deg);animation-delay:calc(var(--d) * -2)}._dot_d2oym_5:nth-child(3) span{animation-delay:calc(var(--d) * -2)}._dot_d2oym_5:nth-child(4){transform:rotate(-120deg);animation-delay:calc(var(--d) * -3)}._dot_d2oym_5:nth-child(4) span{animation-delay:calc(var(--d) * -3)}._dot_d2oym_5:nth-child(5){transform:rotate(-150deg);animation-delay:calc(var(--d) * -4)}._dot_d2oym_5:nth-child(5) span{animation-delay:calc(var(--d) * -4)}._dot_d2oym_5:nth-child(6){transform:rotate(-180deg);animation-delay:calc(var(--d) * -5)}._dot_d2oym_5:nth-child(6) span{animation-delay:calc(var(--d) * -5)}._dot_d2oym_5:nth-child(7){transform:rotate(-210deg);animation-delay:calc(var(--d) * -6)}._dot_d2oym_5:nth-child(7) span{animation-delay:calc(var(--d) * -6)}._dot_d2oym_5:nth-child(8){transform:rotate(-240deg);animation-delay:calc(var(--d) * -7)}._dot_d2oym_5:nth-child(8) span{animation-delay:calc(var(--d) * -7)}._dot_d2oym_5:nth-child(9){transform:rotate(-270deg);animation-delay:calc(var(--d) * -8)}._dot_d2oym_5:nth-child(9) span{animation-delay:calc(var(--d) * -8)}._dot_d2oym_5:nth-child(10){transform:rotate(-300deg);animation-delay:calc(var(--d) * -9)}._dot_d2oym_5:nth-child(10) span{animation-delay:calc(var(--d) * -9)}._dot_d2oym_5:nth-child(11){transform:rotate(-330deg);animation-delay:calc(var(--d) * -10)}._dot_d2oym_5:nth-child(11) span{animation-delay:calc(var(--d) * -10)}._dot_d2oym_5:nth-child(12){transform:rotate(-360deg);animation-delay:calc(var(--d) * -11)}._dot_d2oym_5:nth-child(12) span{animation-delay:calc(var(--d) * -11)}@keyframes _spin_d2oym_1{to{transform:rotate(-360deg)}}@keyframes _ball_d2oym_1{to{left:calc(var(--dot-size) * 12);width:calc(var(--dot-size) * 4);height:calc(var(--dot-size) * 4)}}@keyframes _over-ring_d2oym_1{0%,50%{z-index:-1}51%,to{z-index:1}}._a_17o17_51{animation:_rotate-clock-wise_17o17_1 3s infinite linear}@keyframes _rotate-clock-wise_17o17_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._b_17o17_79{animation:_rotate-anti-clock-wise_17o17_1 .9s infinite linear}@keyframes _rotate-anti-clock-wise_17o17_1{0%{transform:rotate(360deg)}to{transform:rotate(0)}}._spinner_ot2c0_13{animation:_rotate_ot2c0_1 2s linear infinite;z-index:2}._spinner_ot2c0_13 ._path_ot2c0_31{stroke-linecap:round;animation:_dash_ot2c0_1 1.5s ease-in-out infinite}@keyframes _rotate_ot2c0_1{to{transform:rotate(360deg)}}@keyframes _dash_ot2c0_1{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}._owner_17gat_1{display:inline-block;animation:_donut-spin_17gat_1 1.2s linear infinite}@keyframes _donut-spin_17gat_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._loader_13ftp_13{font-size:20px;line-height:150px;letter-spacing:2px;text-align:center;color:#fff000;background:transparent;border:3px solid #3c3c3c;border-radius:50%;text-shadow:0 0 10px #fff000;box-shadow:0 0 20px #00000080}._loader_13ftp_13:before{content:"";position:absolute;left:0;top:0;width:100%;height:100%;border:3px solid transparent;border-top:3px solid #fff000;border-right:3px solid #fff000;border-radius:50%;animation:_animateCircle_13ftp_1 2s linear infinite}._loader_13ftp_13 span{display:block;position:absolute;left:50%;top:calc(50% - 2px);width:50%;height:4px;transform-origin:left;background:transparent;animation:_animateDot_13ftp_1 2s linear infinite}._loader_13ftp_13 span:before{content:"";position:absolute;right:-8px;top:-6px;width:16px;height:16px;border-radius:50%;background:#fff000;box-shadow:0 0 10px #fff000}@keyframes _animateCircle_13ftp_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes _animateDot_13ftp_1{0%{transform:rotate(45deg)}to{transform:rotate(405deg)}}._g--circle_1ujbv_57{transform-origin:60px 60px;fill:#1e90ff;animation:_opacity_1ujbv_1 1.2s linear infinite}._g--circle_1ujbv_57:nth-child(12n+1){animation-delay:-.1s;transform:rotate(-30deg) translate(5px,5px) scale(.9)}._g--circle_1ujbv_57:nth-child(12n+2){animation-delay:-.2s;transform:rotate(-60deg) translate(5px,5px) scale(.9)}._g--circle_1ujbv_57:nth-child(12n+3){animation-delay:-.3s;transform:rotate(-90deg) translate(5px,5px) scale(.9)}._g--circle_1ujbv_57:nth-child(12n+4){animation-delay:-.4s;transform:rotate(-120deg) translate(5px,5px) scale(.9)}._g--circle_1ujbv_57:nth-child(12n+5){animation-delay:-.5s;transform:rotate(-150deg) translate(5px,5px) scale(.9)}._g--circle_1ujbv_57:nth-child(12n+6){animation-delay:-.6s;transform:rotate(-180deg) translate(5px,5px) scale(.9)}._g--circle_1ujbv_57:nth-child(12n+7){animation-delay:-.7s;transform:rotate(-210deg) translate(5px,5px) scale(.9)}._g--circle_1ujbv_57:nth-child(12n+8){animation-delay:-.8s;transform:rotate(-240deg) translate(5px,5px) scale(.9)}._g--circle_1ujbv_57:nth-child(12n+9){animation-delay:-.9s;transform:rotate(-270deg) translate(5px,5px) scale(.9)}._g--circle_1ujbv_57:nth-child(12n+10){animation-delay:-1s;transform:rotate(-300deg) translate(5px,5px) scale(.9)}._g--circle_1ujbv_57:nth-child(12n+11){animation-delay:-1.1s;transform:rotate(-330deg) translate(5px,5px) scale(.9)}._g--circle_1ujbv_57:nth-child(12n+12){animation-delay:-1.2s;transform:rotate(-360deg) translate(5px,5px) scale(.9)}._g-circles--v1_1ujbv_193 ._g--circle_1ujbv_57{fill-opacity:0;animation-name:_opacity_1ujbv_1}._g-circles--v2_1ujbv_207 ._g--circle_1ujbv_57{fill-opacity:0;stroke-opacity:0;stroke-width:1;stroke:#9acd32;animation-name:_opacity-stroke_1ujbv_1,_colors_1ujbv_1,_colors-stroke_1ujbv_1}._g-circles--v2_1ujbv_207 ._g--circle_1ujbv_57 ._u--circle_1ujbv_223{animation:_transform-2_1ujbv_1 1.2s linear infinite}._g-circles--v2_1ujbv_207 ._g--circle_1ujbv_57:nth-child(12n+1) ._u--circle_1ujbv_223{animation-delay:-.1s}._g-circles--v2_1ujbv_207 ._g--circle_1ujbv_57:nth-child(12n+2) ._u--circle_1ujbv_223{animation-delay:-.2s}._g-circles--v2_1ujbv_207 ._g--circle_1ujbv_57:nth-child(12n+3) ._u--circle_1ujbv_223{animation-delay:-.3s}._g-circles--v2_1ujbv_207 ._g--circle_1ujbv_57:nth-child(12n+4) ._u--circle_1ujbv_223{animation-delay:-.4s}._g-circles--v2_1ujbv_207 ._g--circle_1ujbv_57:nth-child(12n+5) ._u--circle_1ujbv_223{animation-delay:-.5s}._g-circles--v2_1ujbv_207 ._g--circle_1ujbv_57:nth-child(12n+6) ._u--circle_1ujbv_223{animation-delay:-.6s}._g-circles--v2_1ujbv_207 ._g--circle_1ujbv_57:nth-child(12n+7) ._u--circle_1ujbv_223{animation-delay:-.7s}._g-circles--v2_1ujbv_207 ._g--circle_1ujbv_57:nth-child(12n+8) ._u--circle_1ujbv_223{animation-delay:-.8s}._g-circles--v2_1ujbv_207 ._g--circle_1ujbv_57:nth-child(12n+9) ._u--circle_1ujbv_223{animation-delay:-.9s}._g-circles--v2_1ujbv_207 ._g--circle_1ujbv_57:nth-child(12n+10) ._u--circle_1ujbv_223{animation-delay:-1s}._g-circles--v2_1ujbv_207 ._g--circle_1ujbv_57:nth-child(12n+11) ._u--circle_1ujbv_223{animation-delay:-1.1s}._g-circles--v2_1ujbv_207 ._g--circle_1ujbv_57:nth-child(12n+12) ._u--circle_1ujbv_223{animation-delay:-1.2s}._g-circles--v3_1ujbv_331 ._g--circle_1ujbv_57{fill-opacity:1;animation-name:_opacity_1ujbv_1,_colors_1ujbv_1}._g-circles--v4_1ujbv_345 ._g--circle_1ujbv_57{fill-opacity:1;fill:orange;animation-name:_opacity_1ujbv_1,_colors-3_1ujbv_1}._g-circles--v4_1ujbv_345 ._u--circle_1ujbv_223{animation:_transform_1ujbv_1 1.2s linear infinite}._g-circles--v4_1ujbv_345 ._g--circle_1ujbv_57:nth-child(12n+1) ._u--circle_1ujbv_223{animation-delay:-.1s}._g-circles--v4_1ujbv_345 ._g--circle_1ujbv_57:nth-child(12n+2) ._u--circle_1ujbv_223{animation-delay:-.2s}._g-circles--v4_1ujbv_345 ._g--circle_1ujbv_57:nth-child(12n+3) ._u--circle_1ujbv_223{animation-delay:-.3s}._g-circles--v4_1ujbv_345 ._g--circle_1ujbv_57:nth-child(12n+4) ._u--circle_1ujbv_223{animation-delay:-.4s}._g-circles--v4_1ujbv_345 ._g--circle_1ujbv_57:nth-child(12n+5) ._u--circle_1ujbv_223{animation-delay:-.5s}._g-circles--v4_1ujbv_345 ._g--circle_1ujbv_57:nth-child(12n+6) ._u--circle_1ujbv_223{animation-delay:-.6s}._g-circles--v4_1ujbv_345 ._g--circle_1ujbv_57:nth-child(12n+7) ._u--circle_1ujbv_223{animation-delay:-.7s}._g-circles--v4_1ujbv_345 ._g--circle_1ujbv_57:nth-child(12n+8) ._u--circle_1ujbv_223{animation-delay:-.8s}._g-circles--v4_1ujbv_345 ._g--circle_1ujbv_57:nth-child(12n+9) ._u--circle_1ujbv_223{animation-delay:-.9s}._g-circles--v4_1ujbv_345 ._g--circle_1ujbv_57:nth-child(12n+10) ._u--circle_1ujbv_223{animation-delay:-1s}._g-circles--v4_1ujbv_345 ._g--circle_1ujbv_57:nth-child(12n+11) ._u--circle_1ujbv_223{animation-delay:-1.1s}._g-circles--v4_1ujbv_345 ._g--circle_1ujbv_57:nth-child(12n+12) ._u--circle_1ujbv_223{animation-delay:-1.2s}@keyframes _opacity_1ujbv_1{3%{fill-opacity:1}75%{fill-opacity:0}}@keyframes _opacity-stroke_1ujbv_1{10%{stroke-opacity:1}85%{stroke-opacity:0}}@keyframes _colors_1ujbv_1{0%{fill:#9acd32}10%{fill:gold}75%{fill:#dc143c}}@keyframes _colors-stroke_1ujbv_1{0%{stroke:#9acd32}10%{stroke:gold}75%{stroke:#dc143c}}@keyframes _colors-2_1ujbv_1{0%{fill:#ff0}50%{fill:red}65%{fill:#ff4500}95%{fill:gold}}@keyframes _colors-3_1ujbv_1{0%{fill:#9acd32}50%{fill:#40e0d0}65%{fill:#ff0}95%{fill:orange}}@keyframes _transform_1ujbv_1{10%{transform-origin:70px 70px;transform:scale(.75)}}@keyframes _transform-2_1ujbv_1{40%{transform:scale(.85) translate(10px,10px)}60%{stroke-width:20}}._particle_qdkb4_5{--angle: (5 * var(--index));--radius: 30;--x: calc(sin(var(--angle)) * var(--radius) * var(--dot-size));--y: calc(cos(var(--angle)) * var(--radius) * var(--dot-size));--angle2: calc(var(--index) * 1turn / var(--total));--x2: calc(sin(var(--angle2)) * var(--radius) * var(--dot-size));--y2: calc(cos(var(--angle2)) * var(--radius) * var(--dot-size));--size: 5;--speed: 3s;--delay: calc(var(--index) * var(--speed) / var(--total) * 4);--hue-angle: 10;--hue-range: 60;--hue-start: 20;animation:_animation_qdkb4_1 var(--speed) ease-out infinite alternate var(--delay);transform:translate3d(var(--x),var(--y),0);opacity:0;border-radius:50%;background:currentColor;color:oklch(75% .3 calc(sin(var(--hue-angle) * var(--index)) * var(--hue-range) + var(--hue-start)));position:absolute;width:calc(var(--size) * .1 * var(--dot-size));height:calc(var(--size) * .1 * var(--dot-size));contain:strict}@keyframes _animation_qdkb4_1{to{transform:translate3d(var(--x2),var(--y2),0);opacity:1}}:root{--hue: 223;--trans-dur: .3s;font-size:calc(16px + (24 - 16) * (100vw - 320px) / (2560 - 320))}._pl_b9jmf_49{display:flex;justify-content:space-between;align-items:center;filter:drop-shadow(.9em .9em 4px rgba(0,0,0,.4));margin:auto;width:12em;height:12em}._pl__bubble_b9jmf_69{position:relative;width:3em;height:3em}._pl__bubble-drop_b9jmf_81{width:.125em;height:.5em;transform:translate(-50%,-3em)}._pl__bubble-drop_b9jmf_81,._pl__bubble-drop_b9jmf_81:before{transform-origin:50% 0}._pl__bubble-drop_b9jmf_81:nth-child(2){transform:translate(-50%,-3em) rotate(51.4285714286deg)}._pl__bubble-drop_b9jmf_81:nth-child(3){transform:translate(-50%,-3em) rotate(102.8571428571deg)}._pl__bubble-drop_b9jmf_81:nth-child(4){transform:translate(-50%,-3em) rotate(154.2857142857deg)}._pl__bubble-drop_b9jmf_81:nth-child(5){transform:translate(-50%,-3em) rotate(205.7142857143deg)}._pl__bubble-drop_b9jmf_81:nth-child(6){transform:translate(-50%,-3em) rotate(257.1428571429deg)}._pl__bubble-drop_b9jmf_81:nth-child(7){transform:translate(-50%,-3em) rotate(308.5714285714deg)}._pl__bubble_b9jmf_69:before,._pl__bubble_b9jmf_69:after,._pl__bubble-drop_b9jmf_81{position:absolute}._pl__bubble_b9jmf_69:before,._pl__bubble_b9jmf_69:after,._pl__bubble-drop_b9jmf_81:before{animation:_bubble-rise-before_b9jmf_1 1.5s linear infinite}._pl__bubble_b9jmf_69:before,._pl__bubble_b9jmf_69:after{border-radius:50%}._pl__bubble_b9jmf_69:after,._pl__bubble-drop_b9jmf_81{top:50%;left:50%}._pl__bubble_b9jmf_69:before{box-shadow:0 -.0625em 0 .0625em hsl(var(--hue),90%,90%) inset,0 0 0 .0625em hsl(var(--hue),90%,70%) inset,0 0 .25em .25em hsla(var(--hue),90%,70%,.7) inset;transform:translateY(4.5em) scale(0)}._pl__bubble_b9jmf_69:after{animation-name:_bubble-rise-after_b9jmf_1;background-image:radial-gradient(25% 10% at 50% 5%,#fff 48%,#fff0 50%);width:87.5%;height:87.5%;transform:translate(-50%,-50%) translateY(4.5em) rotate(-45deg) scale(0)}._pl__bubble_b9jmf_69:before,._pl__bubble-drop_b9jmf_81:before{width:100%;height:100%}._pl__bubble-drop_b9jmf_81:before{animation-name:_bubble-drop_b9jmf_1;background-color:hsl(var(--hue),90%,80%);border-radius:.0625em;transform:translateY(0) scaleY(0);transform-origin:50% 0}._pl__bubble_b9jmf_69:before,._pl__bubble_b9jmf_69:after,._pl__bubble-drop_b9jmf_81:before{content:"";display:block}._pl__bubble_b9jmf_69:nth-child(2):before,._pl__bubble_b9jmf_69:nth-child(2):after,._pl__bubble_b9jmf_69:nth-child(2) ._pl__bubble-drop_b9jmf_81:before{animation-delay:.15s}._pl__bubble_b9jmf_69:nth-child(3):before,._pl__bubble_b9jmf_69:nth-child(3):after,._pl__bubble_b9jmf_69:nth-child(3) ._pl__bubble-drop_b9jmf_81:before{animation-delay:.3s}@keyframes _bubble-rise-before_b9jmf_1{0%{animation-timing-function:cubic-bezier(.12,0,.39,0);transform:translateY(4.5em) scale(0)}30%{animation-timing-function:cubic-bezier(.61,1,.88,1);transform:translateY(.75em) scale(1)}60%{animation-timing-function:cubic-bezier(.12,0,.39,0);opacity:1;transform:translateY(-3em) scale(1)}70%,to{opacity:0;transform:translateY(-3em) scale(.25)}}@keyframes _bubble-rise-after_b9jmf_1{0%{animation-timing-function:cubic-bezier(.12,0,.39,0);transform:translate(-50%,-50%) translateY(4.5em) rotate(-45deg) scale(0)}30%{animation-timing-function:cubic-bezier(.61,1,.88,1);transform:translate(-50%,-50%) translateY(.75em) rotate(-45deg) scale(1)}60%{animation-timing-function:cubic-bezier(.12,0,.39,0);opacity:1;transform:translate(-50%,-50%) translateY(-3em) rotate(-45deg) scale(1)}70%,to{opacity:0;transform:translate(-50%,-50%) translateY(-3em) rotate(-45deg) scale(.25)}}@keyframes _bubble-drop_b9jmf_1{0%{animation-timing-function:steps(1,end);visibility:hidden;transform:translateY(0) scaleY(1)}65%{animation-timing-function:cubic-bezier(.33,1,.68,1);visibility:visible;transform:translateY(0) scaleY(1)}80%,to{transform:translateY(400%) scaleY(0)}}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root{--background: 0 0% 100%;--foreground: 222.2 47.4% 11.2%;--muted: 210 40% 96.1%;--muted-foreground: 215.4 16.3% 46.9%;--accent: 210 40% 96.1%;--accent-foreground: 222.2 47.4% 11.2%;--primary: 222.2 47.4% 11.2%;--primary-foreground: 210 40% 98%;--secondary: 210 40% 96.1%;--secondary-foreground: 222.2 47.4% 11.2%;--destructive: 0 100% 50%;--destructive-foreground: 210 40% 98%;--popover: 0 0% 100%;--popover-foreground: 222.2 47.4% 11.2%;--card: 0 0% 100%;--card-foreground: 222.2 47.4% 11.2%;--input: 214.3 31.8% 91.4%;--border: 214.3 31.8% 91.4%;--ring: 215 20.2% 65.1%;--radius: .5rem}.dark{--background: 224 71% 4%;--foreground: 213 31% 91%;--muted: 223 47% 11%;--muted-foreground: 215.4 16.3% 56.9%;--accent: 216 34% 17%;--accent-foreground: 210 40% 98%;--primary: 210 40% 98%;--primary-foreground: 222.2 47.4% 1.2%;--secondary: 222.2 47.4% 11.2%;--secondary-foreground: 210 40% 98%;--destructive: 0 63% 31%;--destructive-foreground: 210 40% 98%;--popover: 224 71% 4%;--popover-foreground: 215 20.2% 65.1%;--card: 224 71% 4%;--card-foreground: 213 31% 91%;--input: 216 34% 17%;--border: 216 34% 17%;--ring: 216 34% 17%;--radius: .5rem}*{border-color:hsl(var(--border))}html,body{background-color:hsl(var(--background));color:hsl(var(--foreground));font-feature-settings:"rlig" 1,"calt" 1}:root{--destructive: 0 100% 97%;--destructive-foreground: 360 100% 45%;--destructive-border: 359 100% 94%;--warning: 49 100% 97%;--warning-foreground: 31 92% 45%;--warning-border: 49 91% 91%;--info: 208 100% 97%;--info-foreground: 210 92% 45%;--info-border: 221 91% 91%;--success: 143 85% 96%;--success-foreground: 140 100% 27%;--success-border: 145 92% 91%}.dark{--destructive: 358 76% 10%;--destructive-foreground: 358 100% 81%;--destructive-border: 357 89% 16%;--warning: 64 100% 6%;--warning-foreground: 46 87% 65%;--warning-border: 60 100% 12%;--info: 215 100% 6%;--info-foreground: 216 87% 65%;--info-border: 223 100% 12%;--success: 150 100% 6%;--success-foreground: 150 86% 65%;--success-border: 147 100% 12%}*{scrollbar-color:initial;scrollbar-width:initial}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.\!container{width:100%!important}.container{width:100%}@media (min-width: 640px){.\!container{max-width:640px!important}.container{max-width:640px}}@media (min-width: 768px){.\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width: 1024px){.\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width: 1280px){.\!container{max-width:1280px!important}.container{max-width:1280px}}@media (min-width: 1536px){.\!container{max-width:1536px!important}.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.invisible{visibility:hidden}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{left:0;right:0}.inset-y-0{top:0;bottom:0}.-bottom-12{bottom:-3rem}.-left-12{left:-3rem}.-right-12{right:-3rem}.-top-12{top:-3rem}.bottom-0{bottom:0}.left-0{left:0}.left-1{left:.25rem}.left-1\/2{left:50%}.left-2{left:.5rem}.left-\[50\%\]{left:50%}.right-0{right:0}.right-1{right:.25rem}.right-2{right:.5rem}.right-4{right:1rem}.top-0{top:0}.top-1{top:.25rem}.top-1\/2{top:50%}.top-4{top:1rem}.top-\[1px\]{top:1px}.top-\[50\%\]{top:50%}.top-\[60\%\]{top:60%}.top-full{top:100%}.isolate{isolation:isolate}.z-0{z-index:0}.z-10{z-index:10}.z-50{z-index:50}.z-\[100\]{z-index:100}.z-\[1\]{z-index:1}.col-span-2{grid-column:span 2 / span 2}.col-span-3{grid-column:span 3 / span 3}.col-start-2{grid-column-start:2}.m-1{margin:.25rem}.m-2{margin:.5rem}.m-4{margin:1rem}.m-auto{margin:auto}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-4{margin-top:1rem;margin-bottom:1rem}.my-8{margin-top:2rem;margin-bottom:2rem}.-ml-4{margin-left:-1rem}.-mt-4{margin-top:-1rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-auto{margin-left:auto}.mr-12{margin-right:3rem}.mr-2{margin-right:.5rem}.mt-0{margin-top:0}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-1\.5{margin-top:.375rem}.mt-2{margin-top:.5rem}.mt-24{margin-top:6rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-auto{margin-top:auto}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.\!table{display:table!important}.table{display:table}.grid{display:grid}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.size-12{width:3rem;height:3rem}.size-3{width:.75rem;height:.75rem}.size-4{width:1rem;height:1rem}.size-6{width:1.5rem;height:1.5rem}.size-7{width:1.75rem;height:1.75rem}.size-9{width:2.25rem;height:2.25rem}.h-1{height:.25rem}.h-1\.5{height:.375rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-24{height:6rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-32{height:8rem}.h-4{height:1rem}.h-52{height:13rem}.h-6{height:1.5rem}.h-60{height:15rem}.h-7{height:1.75rem}.h-72{height:18rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[1\.2rem\]{height:1.2rem}.h-\[100px\]{height:100px}.h-\[120px\]{height:120px}.h-\[150px\]{height:150px}.h-\[160px\]{height:160px}.h-\[1px\]{height:1px}.h-\[200px\]{height:200px}.h-\[20px\]{height:20px}.h-\[240px\]{height:240px}.h-\[var\(--radix-navigation-menu-viewport-height\)\]{height:var(--radix-navigation-menu-viewport-height)}.h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-\[300px\]{max-height:300px}.max-h-\[720px\]{max-height:720px}.max-h-screen{max-height:100vh}.min-h-0{min-height:0px}.min-h-\[60px\]{min-height:60px}.w-10{width:2.5rem}.w-12{width:3rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-24{width:6rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-3\/4{width:75%}.w-32{width:8rem}.w-4{width:1rem}.w-40{width:10rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-72{width:18rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-96{width:24rem}.w-\[1\.2rem\]{width:1.2rem}.w-\[100px\]{width:100px}.w-\[150px\]{width:150px}.w-\[180px\]{width:180px}.w-\[1px\]{width:1px}.w-\[200px\]{width:200px}.w-\[220px\]{width:220px}.w-\[250px\]{width:250px}.w-\[280px\]{width:280px}.w-\[36px\]{width:36px}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.w-px{width:1px}.min-w-0{min-width:0px}.min-w-96{min-width:24rem}.min-w-\[12rem\]{min-width:12rem}.min-w-\[8rem\]{min-width:8rem}.min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.max-w-lg{max-width:32rem}.max-w-max{max-width:-moz-max-content;max-width:max-content}.max-w-md{max-width:28rem}.max-w-sm{max-width:24rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow,.grow{flex-grow:1}.grow-0{flex-grow:0}.basis-full{flex-basis:100%}.caption-bottom{caption-side:bottom}.border-collapse{border-collapse:collapse}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-\[-50\%\]{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[-50\%\]{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-rotate-90{--tw-rotate: -90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-0{--tw-rotate: 0deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-45{--tw-rotate: 45deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-0{--tw-scale-x: 0;--tw-scale-y: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.list-none{list-style-type:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-\[16px\,1fr\]{grid-template-columns:16px 1fr}.grid-rows-\[auto\,1fr\,auto\]{grid-template-rows:auto 1fr auto}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-center{align-content:center}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-normal{justify-content:normal}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-8{gap:2rem}.gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.text-nowrap{text-wrap:nowrap}.rounded{border-radius:.25rem}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-xl{border-radius:.75rem}.rounded-l-md{border-top-left-radius:calc(var(--radius) - 2px);border-bottom-left-radius:calc(var(--radius) - 2px)}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-r-md{border-top-right-radius:calc(var(--radius) - 2px);border-bottom-right-radius:calc(var(--radius) - 2px)}.rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.rounded-t-\[10px\]{border-top-left-radius:10px;border-top-right-radius:10px}.rounded-tl-sm{border-top-left-radius:calc(var(--radius) - 4px)}.border{border-width:1px}.border-2{border-width:2px}.border-4{border-width:4px}.border-\[14px\]{border-width:14px}.border-\[20px\]{border-width:20px}.border-\[8px\]{border-width:8px}.border-y{border-top-width:1px;border-bottom-width:1px}.border-b{border-bottom-width:1px}.border-b-0{border-bottom-width:0px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-dotted{border-style:dotted}.border-current{border-color:currentColor}.border-destructive{border-color:hsl(var(--destructive))}.border-destructive\/50{border-color:hsl(var(--destructive) / .5)}.border-input{border-color:hsl(var(--input))}.border-muted{border-color:hsl(var(--muted))}.border-muted-foreground{border-color:hsl(var(--muted-foreground))}.border-muted-foreground\/30{border-color:hsl(var(--muted-foreground) / .3)}.border-primary{border-color:hsl(var(--primary))}.border-primary-400{--tw-border-opacity: 1;border-color:rgb(161 161 170 / var(--tw-border-opacity))}.border-primary-foreground{border-color:hsl(var(--primary-foreground))}.border-primary\/50{border-color:hsl(var(--primary) / .5)}.border-transparent{border-color:transparent}.border-x-transparent{border-left-color:transparent;border-right-color:transparent}.border-y-transparent{border-top-color:transparent;border-bottom-color:transparent}.border-l-sky-500{--tw-border-opacity: 1;border-left-color:rgb(14 165 233 / var(--tw-border-opacity))}.border-l-transparent{border-left-color:transparent}.border-t-transparent{border-top-color:transparent}.bg-accent{background-color:hsl(var(--accent))}.bg-background{background-color:hsl(var(--background))}.bg-background\/80{background-color:hsl(var(--background) / .8)}.bg-black\/80{background-color:#000c}.bg-blue-400{--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity))}.bg-border{background-color:hsl(var(--border))}.bg-card{background-color:hsl(var(--card))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-lime-400{--tw-bg-opacity: 1;background-color:rgb(163 230 53 / var(--tw-bg-opacity))}.bg-muted{background-color:hsl(var(--muted))}.bg-muted-foreground\/20{background-color:hsl(var(--muted-foreground) / .2)}.bg-muted\/30{background-color:hsl(var(--muted) / .3)}.bg-orange-400{--tw-bg-opacity: 1;background-color:rgb(251 146 60 / var(--tw-bg-opacity))}.bg-popover{background-color:hsl(var(--popover))}.bg-popover\/80{background-color:hsl(var(--popover) / .8)}.bg-primary{background-color:hsl(var(--primary))}.bg-primary-200{--tw-bg-opacity: 1;background-color:rgb(228 228 231 / var(--tw-bg-opacity))}.bg-primary-500\/20{background-color:#71717a33}.bg-primary-foreground{background-color:hsl(var(--primary-foreground))}.bg-primary\/10{background-color:hsl(var(--primary) / .1)}.bg-primary\/20{background-color:hsl(var(--primary) / .2)}.bg-red-400{--tw-bg-opacity: 1;background-color:rgb(248 113 113 / var(--tw-bg-opacity))}.bg-secondary{background-color:hsl(var(--secondary))}.bg-sky-950{--tw-bg-opacity: 1;background-color:rgb(8 47 73 / var(--tw-bg-opacity))}.bg-slate-800\/90{background-color:#1e293be6}.bg-transparent{background-color:transparent}.bg-zinc-400{--tw-bg-opacity: 1;background-color:rgb(161 161 170 / var(--tw-bg-opacity))}.\!bg-cover{background-size:cover!important}.bg-cover{background-size:cover}.\!bg-center{background-position:center!important}.bg-center{background-position:center}.fill-current{fill:currentColor}.fill-none{fill:none}.fill-primary{fill:hsl(var(--primary))}.fill-slate-600{fill:#475569}.stroke-current{stroke:currentColor}.stroke-none{stroke:none}.stroke-primary{stroke:hsl(var(--primary))}.stroke-sky-500{stroke:#0ea5e9}.stroke-\[1\.5\]{stroke-width:1.5}.stroke-\[5\]{stroke-width:5}.p-0{padding:0}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-10{padding:2.5rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-\[1px\]{padding:1px}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-0{padding-bottom:0}.pb-4{padding-bottom:1rem}.pl-2{padding-left:.5rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pl-6{padding-left:1.5rem}.pl-8{padding-left:2rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:.75rem}.pr-6{padding-right:1.5rem}.pr-8{padding-right:2rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-2{padding-top:.5rem}.pt-4{padding-top:1rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-serif{font-family:ui-serif,Georgia,Cambria,Times New Roman,Times,serif}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-5xl{font-size:3rem;line-height:1}.text-7xl{font-size:4.5rem;line-height:1}.text-\[\.65rem\]{font-size:.65rem}.text-\[0\.70rem\]{font-size:.7rem}.text-\[0\.8rem\]{font-size:.8rem}.text-\[10px\]{font-size:10px}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-extralight{font-weight:200}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.font-thin{font-weight:100}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.leading-none{line-height:1}.tracking-tight{letter-spacing:-.025em}.tracking-tighter{letter-spacing:-.05em}.tracking-widest{letter-spacing:.1em}.text-accent-foreground{color:hsl(var(--accent-foreground))}.text-accent-foreground\/50{color:hsl(var(--accent-foreground) / .5)}.text-background{color:hsl(var(--background))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.text-card-foreground{color:hsl(var(--card-foreground))}.text-current{color:currentColor}.text-destructive{color:hsl(var(--destructive))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-foreground{color:hsl(var(--foreground))}.text-foreground\/50{color:hsl(var(--foreground) / .5)}.text-green-400{--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity))}.text-green-950{--tw-text-opacity: 1;color:rgb(5 46 22 / var(--tw-text-opacity))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.text-sky-500{--tw-text-opacity: 1;color:rgb(14 165 233 / var(--tw-text-opacity))}.text-sky-800{--tw-text-opacity: 1;color:rgb(7 89 133 / var(--tw-text-opacity))}.text-slate-50{--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}.text-slate-600{--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity))}.text-yellow-400{--tw-text-opacity: 1;color:rgb(250 204 21 / var(--tw-text-opacity))}.underline-offset-4{text-underline-offset:4px}.accent-foreground{accent-color:hsl(var(--foreground))}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-25{opacity:.25}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-90{opacity:.9}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-muted-foreground\/50{--tw-ring-color: hsl(var(--muted-foreground) / .5)}.ring-offset-1{--tw-ring-offset-width: 1px}.ring-offset-background{--tw-ring-offset-color: hsl(var(--background))}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.fade-in-0{--tw-enter-opacity: 0}.zoom-in-95{--tw-enter-scale: .95}.smallscroll{--sb-width: 8px;--sb-radius: 4px;--sb-color: #666b7a;scrollbar-color:var(--sb-color) transparent;scrollbar-width:thin}.smallscroll::-webkit-scrollbar{width:var(--sb-width);height:var(--sb-width);background-color:transparent}.smallscroll::-webkit-scrollbar-thumb{background-color:var(--sb-color);border-radius:var(--sb-radius)}.smallscroll::-webkit-scrollbar-corner{background-color:transparent}.resizer::-webkit-resizer{background-color:transparent;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAACXBIWXMAAAsSAAALEgHS3X78AAAAIGNIUk0AAG11AABzoAAA9q8AAIWZAABumgAA57sAADF9AAAXvQF2CngAAABESURBVHjajM67DQAgDENBw6x0WZDtHi3KR4klF5ausAAVvf8u0TGjgwFlMEUeepR+DCj72CJAC9AkW8OM4QMAAP//AwD5ltVB1vqf0gAAAABJRU5ErkJggg==);background-repeat:no-repeat;background-position:bottom right;background-size:95% 95%}.scrollbar-thin::-webkit-scrollbar-track{background-color:var(--scrollbar-track);border-radius:var(--scrollbar-track-radius)}.scrollbar-thin::-webkit-scrollbar-track:hover{background-color:var(--scrollbar-track-hover, var(--scrollbar-track))}.scrollbar-thin::-webkit-scrollbar-track:active{background-color:var(--scrollbar-track-active, var(--scrollbar-track-hover, var(--scrollbar-track)))}.scrollbar-thin::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);border-radius:var(--scrollbar-thumb-radius)}.scrollbar-thin::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover, var(--scrollbar-thumb))}.scrollbar-thin::-webkit-scrollbar-thumb:active{background-color:var(--scrollbar-thumb-active, var(--scrollbar-thumb-hover, var(--scrollbar-thumb)))}.scrollbar-thin::-webkit-scrollbar-corner{background-color:var(--scrollbar-corner);border-radius:var(--scrollbar-corner-radius)}.scrollbar-thin::-webkit-scrollbar-corner:hover{background-color:var(--scrollbar-corner-hover, var(--scrollbar-corner))}.scrollbar-thin::-webkit-scrollbar-corner:active{background-color:var(--scrollbar-corner-active, var(--scrollbar-corner-hover, var(--scrollbar-corner)))}.scrollbar-thin{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb, initial) var(--scrollbar-track, initial)}.scrollbar-thin::-webkit-scrollbar{display:block;width:8px;height:8px}.\!\[--github-background-color\:hsla\(var\(--muted\)\/\.7\)\]{--github-background-color: hsla(var(--muted)/.7) !important}.\!\[--github-border\:none\]{--github-border: none !important}.\[--bg\:hsl\(var\(--hue1\)\,90\%\,90\%\)\]{--bg: hsl(var(--hue1),90%,90%)}.\[--fg\:hsl\(var\(--hue1\)\,90\%\,10\%\)\]{--fg: hsl(var(--hue1),90%,10%)}.\[--hue1\:223\]{--hue1: 223}.\[--hue1\:53\]{--hue1: 53}.\[--hue2\:153\]{--hue2: 153}.\[--hue2\:163\]{--hue2: 163}.\[--hue2\:253\]{--hue2: 253}.\[--hue2\:283\]{--hue2: 283}.\[--hue2\:343\]{--hue2: 343}.\[--hue\:223\]{--hue: 223}.\[--off-hue\:3\]{--off-hue: 3}.\[--on-hue1\:123\]{--on-hue1: 123}.\[--on-hue2\:168\]{--on-hue2: 168}.\[--primary\:hsl\(var\(--hue\)\,90\%\,50\%\)\]{--primary: hsl(var(--hue),90%,50%)}.\[--primary\:hsl\(var\(--hue1\)\,90\%\,50\%\)\]{--primary: hsl(var(--hue1),90%,50%)}.\[--secondary\:hsl\(var\(--hue2\)\,90\%\,50\%\)\]{--secondary: hsl(var(--hue2),90%,50%)}.\[--trans-dur\:0\.2s\]{--trans-dur: .2s}.\[--trans-timing\:cubic-bezier\(0\.65\,0\,0\.35\,1\)\]{--trans-timing: cubic-bezier(.65,0,.35,1)}.\[background-size\:_1em_1em\]{background-size:1em 1em}.\[grid-area\:1\/1\/2\/2\]{grid-area:1/1/2/2}.\[scrollbar-gutter\:stable\]{scrollbar-gutter:stable}.file\:border-0::file-selector-button{border-width:0px}.file\:bg-transparent::file-selector-button{background-color:transparent}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.placeholder\:text-muted-foreground::-moz-placeholder{color:hsl(var(--muted-foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.before\:absolute:before{content:var(--tw-content);position:absolute}.before\:left-0:before{content:var(--tw-content);left:0}.before\:right-1:before{content:var(--tw-content);right:.25rem}.before\:-z-10:before{content:var(--tw-content);z-index:-10}.before\:h-\[1\.75rem\]:before{content:var(--tw-content);height:1.75rem}.before\:w-full:before{content:var(--tw-content);width:100%}.before\:border-l-2:before{content:var(--tw-content);border-left-width:2px}.before\:border-l-accent-foreground\/50:before{content:var(--tw-content);border-left-color:hsl(var(--accent-foreground) / .5)}.before\:bg-accent:before{content:var(--tw-content);background-color:hsl(var(--accent))}.before\:bg-muted\/80:before{content:var(--tw-content);background-color:hsl(var(--muted) / .8)}.before\:opacity-0:before{content:var(--tw-content);opacity:0}.before\:opacity-100:before{content:var(--tw-content);opacity:1}.after\:pointer-events-none:after{content:var(--tw-content);pointer-events:none}.after\:visible:after{content:var(--tw-content);visibility:visible}.after\:invisible:after{content:var(--tw-content);visibility:hidden}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);top:0;bottom:0}.after\:left-1\/2:after{content:var(--tw-content);left:50%}.after\:w-1:after{content:var(--tw-content);width:.25rem}.after\:-translate-x-1\/2:after{content:var(--tw-content);--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.after\:whitespace-pre:after{content:var(--tw-content);white-space:pre}.after\:border:after{content:var(--tw-content);border-width:1px}.after\:border-transparent:after{content:var(--tw-content);border-color:transparent}.after\:px-3:after{content:var(--tw-content);padding-left:.75rem;padding-right:.75rem}.after\:py-2:after{content:var(--tw-content);padding-top:.5rem;padding-bottom:.5rem}.after\:text-sm:after{content:var(--tw-content);font-size:.875rem;line-height:1.25rem}.after\:text-red-500:after{content:var(--tw-content);--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.after\:\!\[content\:attr\(data-replicated\)_\"_\"\]:after{content:attr(data-replicated) " "!important}.after\:\[grid-area\:1\/1\/2\/2\]:after{content:var(--tw-content);grid-area:1/1/2/2}.focus-within\:relative:focus-within{position:relative}.focus-within\:z-20:focus-within{z-index:20}.focus-within\:ring-1:focus-within{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-within\:ring-ring:focus-within{--tw-ring-color: hsl(var(--ring))}.group:hover .group-hover\:opacity-100{opacity:1}.group.destructive .group-\[\.destructive\]\:border-muted\/40{border-color:hsl(var(--muted) / .4)}.group.toaster .group-\[\.toaster\]\:border-border{border-color:hsl(var(--border))}.group.toast .group-\[\.toast\]\:bg-muted{background-color:hsl(var(--muted))}.group.toast .group-\[\.toast\]\:bg-primary{background-color:hsl(var(--primary))}.group.toaster .group-\[\.toaster\]\:bg-background{background-color:hsl(var(--background))}.group.destructive .group-\[\.destructive\]\:text-red-300{--tw-text-opacity: 1;color:rgb(252 165 165 / var(--tw-text-opacity))}.group.toast .group-\[\.toast\]\:text-muted-foreground{color:hsl(var(--muted-foreground))}.group.toast .group-\[\.toast\]\:text-primary-foreground{color:hsl(var(--primary-foreground))}.group.toaster .group-\[\.toaster\]\:text-foreground{color:hsl(var(--foreground))}.group.toaster .group-\[\.toaster\]\:shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.aria-selected\:bg-accent[aria-selected=true]{background-color:hsl(var(--accent))}.aria-selected\:text-accent-foreground[aria-selected=true]{color:hsl(var(--accent-foreground))}.aria-selected\:opacity-100[aria-selected=true]{opacity:1}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[panel-group-direction\=vertical\]\:h-px[data-panel-group-direction=vertical]{height:1px}.data-\[panel-group-direction\=vertical\]\:w-full[data-panel-group-direction=vertical]{width:100%}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=left\]\:-translate-x-1[data-side=left]{--tw-translate-x: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=right\]\:translate-x-1[data-side=right]{--tw-translate-x: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=top\]\:-translate-y-1[data-side=top]{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=checked\]\:translate-x-4[data-state=checked]{--tw-translate-x: 1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked],.data-\[swipe\=cancel\]\:translate-x-0[data-swipe=cancel]{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[swipe\=end\]\:translate-x-\[var\(--radix-toast-swipe-end-x\)\][data-swipe=end]{--tw-translate-x: var(--radix-toast-swipe-end-x);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[swipe\=move\]\:translate-x-\[var\(--radix-toast-swipe-move-x\)\][data-swipe=move]{--tw-translate-x: var(--radix-toast-swipe-move-x);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes accordion-up{0%{height:var(--radix-accordion-content-height)}to{height:0}}.data-\[state\=closed\]\:animate-accordion-up[data-state=closed]{animation:accordion-up .2s ease-out}@keyframes accordion-down{0%{height:0}to{height:var(--radix-accordion-content-height)}}.data-\[state\=open\]\:animate-accordion-down[data-state=open]{animation:accordion-down .2s ease-out}.data-\[panel-group-direction\=vertical\]\:flex-col[data-panel-group-direction=vertical]{flex-direction:column}.data-\[active\]\:bg-accent\/50[data-active]{background-color:hsl(var(--accent) / .5)}.data-\[state\=active\]\:bg-background[data-state=active]{background-color:hsl(var(--background))}.data-\[state\=checked\]\:bg-muted-foreground[data-state=checked]{background-color:hsl(var(--muted-foreground))}.data-\[state\=checked\]\:bg-primary[data-state=checked]{background-color:hsl(var(--primary))}.data-\[state\=on\]\:bg-accent[data-state=on],.data-\[state\=open\]\:bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\[state\=open\]\:bg-accent\/50[data-state=open]{background-color:hsl(var(--accent) / .5)}.data-\[state\=open\]\:bg-secondary[data-state=open]{background-color:hsl(var(--secondary))}.data-\[state\=selected\]\:bg-muted[data-state=selected]{background-color:hsl(var(--muted))}.data-\[state\=unchecked\]\:bg-input[data-state=unchecked]{background-color:hsl(var(--input))}.data-\[state\=active\]\:text-foreground[data-state=active]{color:hsl(var(--foreground))}.data-\[state\=checked\]\:text-accent[data-state=checked]{color:hsl(var(--accent))}.data-\[state\=checked\]\:text-primary-foreground[data-state=checked]{color:hsl(var(--primary-foreground))}.data-\[state\=on\]\:text-accent-foreground[data-state=on],.data-\[state\=open\]\:text-accent-foreground[data-state=open]{color:hsl(var(--accent-foreground))}.data-\[state\=open\]\:text-muted-foreground[data-state=open]{color:hsl(var(--muted-foreground))}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[state\=active\]\:shadow[data-state=active]{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.data-\[swipe\=move\]\:transition-none[data-swipe=move]{transition-property:none}.data-\[state\=closed\]\:duration-300[data-state=closed]{transition-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{transition-duration:.5s}.data-\[motion\^\=from-\]\:animate-in[data-motion^=from-],.data-\[state\=open\]\:animate-in[data-state=open],.data-\[state\=visible\]\:animate-in[data-state=visible]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.data-\[motion\^\=to-\]\:animate-out[data-motion^=to-],.data-\[state\=closed\]\:animate-out[data-state=closed],.data-\[state\=hidden\]\:animate-out[data-state=hidden],.data-\[swipe\=end\]\:animate-out[data-swipe=end]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\[motion\^\=from-\]\:fade-in[data-motion^=from-]{--tw-enter-opacity: 0}.data-\[motion\^\=to-\]\:fade-out[data-motion^=to-],.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\[state\=closed\]\:fade-out-80[data-state=closed]{--tw-exit-opacity: .8}.data-\[state\=hidden\]\:fade-out[data-state=hidden]{--tw-exit-opacity: 0}.data-\[state\=open\]\:fade-in-0[data-state=open],.data-\[state\=visible\]\:fade-in[data-state=visible]{--tw-enter-opacity: 0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\[state\=open\]\:zoom-in-90[data-state=open]{--tw-enter-scale: .9}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale: .95}.data-\[motion\=from-end\]\:slide-in-from-right-52[data-motion=from-end]{--tw-enter-translate-x: 13rem}.data-\[motion\=from-start\]\:slide-in-from-left-52[data-motion=from-start]{--tw-enter-translate-x: -13rem}.data-\[motion\=to-end\]\:slide-out-to-right-52[data-motion=to-end]{--tw-exit-translate-x: 13rem}.data-\[motion\=to-start\]\:slide-out-to-left-52[data-motion=to-start]{--tw-exit-translate-x: -13rem}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}.data-\[state\=closed\]\:slide-out-to-bottom[data-state=closed]{--tw-exit-translate-y: 100%}.data-\[state\=closed\]\:slide-out-to-left[data-state=closed]{--tw-exit-translate-x: -100%}.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state=closed]{--tw-exit-translate-x: -50%}.data-\[state\=closed\]\:slide-out-to-right[data-state=closed],.data-\[state\=closed\]\:slide-out-to-right-full[data-state=closed]{--tw-exit-translate-x: 100%}.data-\[state\=closed\]\:slide-out-to-top[data-state=closed]{--tw-exit-translate-y: -100%}.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state=closed]{--tw-exit-translate-y: -48%}.data-\[state\=open\]\:slide-in-from-bottom[data-state=open]{--tw-enter-translate-y: 100%}.data-\[state\=open\]\:slide-in-from-left[data-state=open]{--tw-enter-translate-x: -100%}.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state=open]{--tw-enter-translate-x: -50%}.data-\[state\=open\]\:slide-in-from-right[data-state=open]{--tw-enter-translate-x: 100%}.data-\[state\=open\]\:slide-in-from-top[data-state=open]{--tw-enter-translate-y: -100%}.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open]{--tw-enter-translate-y: -48%}.data-\[state\=open\]\:slide-in-from-top-full[data-state=open]{--tw-enter-translate-y: -100%}.data-\[panel-group-direction\=vertical\]\:after\:left-0[data-panel-group-direction=vertical]:after{content:var(--tw-content);left:0}.data-\[panel-group-direction\=vertical\]\:after\:h-1[data-panel-group-direction=vertical]:after{content:var(--tw-content);height:.25rem}.data-\[panel-group-direction\=vertical\]\:after\:w-full[data-panel-group-direction=vertical]:after{content:var(--tw-content);width:100%}.data-\[panel-group-direction\=vertical\]\:after\:-translate-y-1\/2[data-panel-group-direction=vertical]:after{content:var(--tw-content);--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[panel-group-direction\=vertical\]\:after\:translate-x-0[data-panel-group-direction=vertical]:after{content:var(--tw-content);--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group[data-state=open] .group-data-\[state\=open\]\:rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-destructive\/80:hover{background-color:hsl(var(--destructive) / .8)}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive) / .9)}.hover\:bg-muted:hover{background-color:hsl(var(--muted))}.hover\:bg-muted\/50:hover{background-color:hsl(var(--muted) / .5)}.hover\:bg-primary:hover{background-color:hsl(var(--primary))}.hover\:bg-primary\/80:hover{background-color:hsl(var(--primary) / .8)}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary) / .9)}.hover\:bg-secondary:hover{background-color:hsl(var(--secondary))}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary) / .8)}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:text-foreground:hover{color:hsl(var(--foreground))}.hover\:text-muted-foreground:hover{color:hsl(var(--muted-foreground))}.hover\:text-primary-foreground:hover{color:hsl(var(--primary-foreground))}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.hover\:before\:opacity-100:hover:before{content:var(--tw-content);opacity:1}.group.destructive .group-\[\.destructive\]\:hover\:border-destructive\/30:hover{border-color:hsl(var(--destructive) / .3)}.group.destructive .group-\[\.destructive\]\:hover\:bg-destructive:hover{background-color:hsl(var(--destructive))}.group.destructive .group-\[\.destructive\]\:hover\:text-destructive-foreground:hover{color:hsl(var(--destructive-foreground))}.group.destructive .group-\[\.destructive\]\:hover\:text-red-50:hover{--tw-text-opacity: 1;color:rgb(254 242 242 / var(--tw-text-opacity))}.focus\:bg-accent:focus{background-color:hsl(var(--accent))}.focus\:bg-primary:focus{background-color:hsl(var(--primary))}.focus\:text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.focus\:text-primary-foreground:focus{color:hsl(var(--primary-foreground))}.focus\:opacity-100:focus{opacity:1}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-1:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-primary-600:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(82 82 91 / var(--tw-ring-opacity))}.focus\:ring-ring:focus{--tw-ring-color: hsl(var(--ring))}.focus\:ring-offset-1:focus{--tw-ring-offset-width: 1px}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.focus\:ring-offset-primary-200:focus{--tw-ring-offset-color: #e4e4e7}.group.destructive .group-\[\.destructive\]\:focus\:ring-destructive:focus{--tw-ring-color: hsl(var(--destructive))}.group.destructive .group-\[\.destructive\]\:focus\:ring-red-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(248 113 113 / var(--tw-ring-opacity))}.group.destructive .group-\[\.destructive\]\:focus\:ring-offset-red-600:focus{--tw-ring-offset-color: #dc2626}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-0:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-1:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--ring))}.focus-visible\:ring-offset-1:focus-visible{--tw-ring-offset-width: 1px}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.focus-visible\:ring-offset-background:focus-visible{--tw-ring-offset-color: hsl(var(--background))}.active\:scale-105:active{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}:is(.dark .dark\:-rotate-90){--tw-rotate: -90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:is(.dark .dark\:rotate-0){--tw-rotate: 0deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:is(.dark .dark\:scale-0){--tw-scale-x: 0;--tw-scale-y: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:is(.dark .dark\:scale-100){--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:is(.dark .dark\:border-destructive){border-color:hsl(var(--destructive))}:is(.dark .dark\:\[--bg\:hsl\(var\(--hue1\)\,90\%\,10\%\)\]){--bg: hsl(var(--hue1),90%,10%)}:is(.dark .dark\:\[--fg\:hsl\(var\(--hue1\)\,90\%\,90\%\)\]){--fg: hsl(var(--hue1),90%,90%)}:is(.dark .dark\:before\:border-0):before{content:var(--tw-content);border-width:0px}:is(.dark .dark\:focus\:ring-primary-400:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(161 161 170 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-offset-primary-800:focus){--tw-ring-offset-color: #27272a}@media (min-width: 640px){.sm\:bottom-0{bottom:0}.sm\:right-0{right:0}.sm\:top-auto{top:auto}.sm\:mt-0{margin-top:0}.sm\:max-w-\[425px\]{max-width:425px}.sm\:max-w-sm{max-width:24rem}.sm\:flex-row{flex-direction:row}.sm\:flex-col{flex-direction:column}.sm\:justify-end{justify-content:flex-end}.sm\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.sm\:rounded-lg{border-radius:var(--radius)}.sm\:text-left{text-align:left}.data-\[state\=open\]\:sm\:slide-in-from-bottom-full[data-state=open]{--tw-enter-translate-y: 100%}}@media (min-width: 768px){.md\:absolute{position:absolute}.md\:w-\[var\(--radix-navigation-menu-viewport-width\)\]{width:var(--radix-navigation-menu-viewport-width)}.md\:w-auto{width:auto}.md\:w-full{width:100%}.md\:max-w-\[420px\]{max-width:420px}}.\[\&\+div\]\:text-xs+div{font-size:.75rem;line-height:1rem}.\[\&\:\:-webkit-resizer\]\:rounded::-webkit-resizer{border-radius:.25rem}.\[\&\:\:-webkit-resizer\]\:\[backgroundSize\:80\%_80\%\]::-webkit-resizer{background-size:80% 80%}.\[\&\:has\(\>\.day-range-end\)\]\:rounded-r-md:has(>.day-range-end){border-top-right-radius:calc(var(--radius) - 2px);border-bottom-right-radius:calc(var(--radius) - 2px)}.\[\&\:has\(\>\.day-range-start\)\]\:rounded-l-md:has(>.day-range-start){border-top-left-radius:calc(var(--radius) - 2px);border-bottom-left-radius:calc(var(--radius) - 2px)}.\[\&\:has\(\[aria-selected\]\)\]\:rounded-md:has([aria-selected]){border-radius:calc(var(--radius) - 2px)}.\[\&\:has\(\[aria-selected\]\)\]\:bg-accent:has([aria-selected]){background-color:hsl(var(--accent))}.first\:\[\&\:has\(\[aria-selected\]\)\]\:rounded-l-md:has([aria-selected]):first-child{border-top-left-radius:calc(var(--radius) - 2px);border-bottom-left-radius:calc(var(--radius) - 2px)}.last\:\[\&\:has\(\[aria-selected\]\)\]\:rounded-r-md:has([aria-selected]):last-child{border-top-right-radius:calc(var(--radius) - 2px);border-bottom-right-radius:calc(var(--radius) - 2px)}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:0}.\[\&\>\.track\]\:h-px>.track{height:1px}.\[\&\>\[role\=checkbox\]\]\:translate-y-\[2px\]>[role=checkbox]{--tw-translate-y: 2px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>div\]\:w-full>div{width:100%}.\[\&\>div\]\:text-left>div{text-align:left}.\[\&\>div\]\:\[--github-arrow-border-color\:transparent\]>div{--github-arrow-border-color: transparent}.\[\&\>div\]\:\[--github-background-color\:transparent\]>div{--github-background-color: transparent}.\[\&\>svg\+div\]\:translate-y-\[-3px\]>svg+div{--tw-translate-y: -3px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>svg\]\:absolute>svg{position:absolute}.\[\&\>svg\]\:left-4>svg{left:1rem}.\[\&\>svg\]\:top-4>svg{top:1rem}.\[\&\>svg\]\:text-destructive>svg{color:hsl(var(--destructive))}.\[\&\>svg\]\:text-foreground>svg{color:hsl(var(--foreground))}.\[\&\>svg\~\*\]\:pl-7>svg~*{padding-left:1.75rem}.\[\&\[data-fixed-width\]\>div\>div\]\:\!\[display\:block\][data-fixed-width]>div>div{display:block!important}.\[\&\[data-panel-group-direction\=vertical\]\>div\]\:rotate-90[data-panel-group-direction=vertical]>div{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\[data-state\=open\]\>svg\]\:rotate-180[data-state=open]>svg{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.first\:\[\&\[data-state\=open\]\>svg\]\:rotate-90[data-state=open]>svg:first-child{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.last\:\[\&\[data-state\=open\]\>svg\]\:rotate-90[data-state=open]>svg:last-child{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&_\.w-color-saturation-fill\]\:\!size-4 .w-color-saturation-fill{width:1rem!important;height:1rem!important}.\[\&_\.w-color-saturation-fill\]\:\!-translate-x-2 .w-color-saturation-fill{--tw-translate-x: -.5rem !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.\[\&_\.w-color-saturation-fill\]\:\!-translate-y-2 .w-color-saturation-fill{--tw-translate-y: -.5rem !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.\[\&_\[cmdk-group-heading\]\]\:px-2 [cmdk-group-heading]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-group-heading\]\]\:py-1\.5 [cmdk-group-heading]{padding-top:.375rem;padding-bottom:.375rem}.\[\&_\[cmdk-group-heading\]\]\:text-xs [cmdk-group-heading]{font-size:.75rem;line-height:1rem}.\[\&_\[cmdk-group-heading\]\]\:font-medium [cmdk-group-heading]{font-weight:500}.\[\&_\[cmdk-group-heading\]\]\:text-muted-foreground [cmdk-group-heading]{color:hsl(var(--muted-foreground))}.\[\&_\[cmdk-group\]\:not\(\[hidden\]\)_\~\[cmdk-group\]\]\:pt-0 [cmdk-group]:not([hidden])~[cmdk-group]{padding-top:0}.\[\&_\[cmdk-group\]\]\:px-2 [cmdk-group]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-input-wrapper\]_svg\]\:h-5 [cmdk-input-wrapper] svg{height:1.25rem}.\[\&_\[cmdk-input-wrapper\]_svg\]\:w-5 [cmdk-input-wrapper] svg{width:1.25rem}.\[\&_\[cmdk-input\]\]\:h-12 [cmdk-input]{height:3rem}.\[\&_\[cmdk-item\]\]\:px-2 [cmdk-item]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-item\]\]\:py-3 [cmdk-item]{padding-top:.75rem;padding-bottom:.75rem}.\[\&_\[cmdk-item\]_svg\]\:h-5 [cmdk-item] svg{height:1.25rem}.\[\&_\[cmdk-item\]_svg\]\:w-5 [cmdk-item] svg{width:1.25rem}.\[\&_p\]\:leading-relaxed p{line-height:1.625}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-width:0px}.\[\&_tr\]\:border-b tr{border-bottom-width:1px} diff --git a/assets/index-CeOxPS9D.js b/assets/index-MKKYJTlw.js similarity index 54% rename from assets/index-CeOxPS9D.js rename to assets/index-MKKYJTlw.js index f1a42fe..f704581 100644 --- a/assets/index-CeOxPS9D.js +++ b/assets/index-MKKYJTlw.js @@ -1,54 +1,54 @@ -import{a as Uu,r as C,G as a,R as G,g as Xu,b as zh,c as $C,P as EC,H as Yo,I as qu,J as PC}from"./nivo-C0xxZE_O.js";import{$ as Bh,a as AC,b as Hh,C as rl,c as Vh,d as Gh,e as Ku,f as Yu,g as Wh,h as Uh,i as cs,j as Xh,D as Ju,k as qh,l as Kh,m as Yh,n as Jh,o as Zh,p as Qh,q as MC,r as em,s as tm,t as nm,u as rm,v as om,w as sm,x as am,y as im,z as lm,A as cm,B as Zu,E as um,F as dm,G as fm,H as pm,I as DC,J as gm,K as hm,L as TC,M as mm,N as IC,O as vm,P as kC,Q as xm,R as LC,S as bm,T as ym,U as FC,V as OC,W as wm,X as zC,Y as BC,Z as HC,_ as _m,a0 as VC,a1 as GC,a2 as pa,a3 as ga,a4 as Qu,a5 as ed,a6 as ha,a7 as ma,a8 as ol,a9 as Sm,aa as WC,ab as UC,ac as XC,ad as qC,ae as KC,af as Cm,ag as YC,ah as JC,ai as ZC,aj as jm,ak as QC,al as Nm,am as Rm,an as ej,ao as tj,ap as nj,aq as $m,ar as Em,as as Pm,at as Am,au as rj,av as Mm,aw as Dm,ax as Tm,ay as Im,az as km,aA as Lm,aB as Fm,aC as oj,aD as sj,aE as aj,aF as Om,aG as zm,aH as td,aI as nd,aJ as Bm,aK as Hm,aL as ij,aM as lj,aN as Vm,aO as cj,aP as Gm,aQ as Wm,aR as Um,aS as Xm,aT as qm,aU as Km,aV as uj,aW as Ym,aX as Jm,aY as Zm,aZ as dj,a_ as Qm,a$ as e0,b0 as fj,b1 as pj,b2 as t0,b3 as n0,b4 as r0,b5 as o0,b6 as s0,b7 as a0,b8 as gj,b9 as hj,ba as i0,bb as mj,bc as vj,bd as xj,be as _e,bf as bj,bg as yj}from"./radix-ui-BoNWqpVp.js";import{R as rd,B as l0,X as wj,Y as _j,a as c0,L as Sj,T as Cj,b as pg,_ as Kn}from"./recharts-Bkn1Ho_8.js";(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))o(i);new MutationObserver(i=>{for(const l of i)if(l.type==="childList")for(const u of l.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&o(u)}).observe(document,{childList:!0,subtree:!0});function t(i){const l={};return i.integrity&&(l.integrity=i.integrity),i.referrerPolicy&&(l.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?l.credentials="include":i.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function o(i){if(i.ep)return;i.ep=!0;const l=t(i);fetch(i.href,l)}})();var bu={},gg=Uu;bu.createRoot=gg.createRoot,bu.hydrateRoot=gg.hydrateRoot;const va=" data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ";function u0(e){var n,t,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e))for(n=0;ntypeof e=="boolean"?"".concat(e):e===0?"0":e,mg=jj,us=(e,n)=>t=>{var o;if(n?.variants==null)return mg(e,t?.class,t?.className);const{variants:i,defaultVariants:l}=n,u=Object.keys(i).map(f=>{const g=t?.[f],v=l?.[f];if(g===null)return null;const x=hg(g)||hg(v);return i[f][x]}),d=t&&Object.entries(t).reduce((f,g)=>{let[v,x]=g;return x===void 0||(f[v]=x),f},{}),p=n==null||(o=n.compoundVariants)===null||o===void 0?void 0:o.reduce((f,g)=>{let{class:v,className:x,...m}=g;return Object.entries(m).every(S=>{let[w,$]=S;return Array.isArray($)?$.includes({...l,...d}[w]):{...l,...d}[w]===$})?[...f,v,x]:f},[]);return mg(e,u,p,t?.class,t?.className)},od="-";function Nj(e){const n=$j(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;function i(u){const d=u.split(od);return d[0]===""&&d.length!==1&&d.shift(),d0(d,n)||Rj(u)}function l(u,d){const p=t[u]||[];return d&&o[u]?[...p,...o[u]]:p}return{getClassGroupId:i,getConflictingClassGroupIds:l}}function d0(e,n){if(e.length===0)return n.classGroupId;const t=e[0],o=n.nextPart.get(t),i=o?d0(e.slice(1),o):void 0;if(i)return i;if(n.validators.length===0)return;const l=e.join(od);return n.validators.find(({validator:u})=>u(l))?.classGroupId}const vg=/^\[(.+)\]$/;function Rj(e){if(vg.test(e)){const n=vg.exec(e)[1],t=n?.substring(0,n.indexOf(":"));if(t)return"arbitrary.."+t}}function $j(e){const{theme:n,prefix:t}=e,o={nextPart:new Map,validators:[]};return Pj(Object.entries(e.classGroups),t).forEach(([l,u])=>{yu(u,o,l,n)}),o}function yu(e,n,t,o){e.forEach(i=>{if(typeof i=="string"){const l=i===""?n:xg(n,i);l.classGroupId=t;return}if(typeof i=="function"){if(Ej(i)){yu(i(o),n,t,o);return}n.validators.push({validator:i,classGroupId:t});return}Object.entries(i).forEach(([l,u])=>{yu(u,xg(n,l),t,o)})})}function xg(e,n){let t=e;return n.split(od).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o)}),t}function Ej(e){return e.isThemeGetter}function Pj(e,n){return n?e.map(([t,o])=>{const i=o.map(l=>typeof l=="string"?n+l:typeof l=="object"?Object.fromEntries(Object.entries(l).map(([u,d])=>[n+u,d])):l);return[t,i]}):e}function Aj(e){if(e<1)return{get:()=>{},set:()=>{}};let n=0,t=new Map,o=new Map;function i(l,u){t.set(l,u),n++,n>e&&(n=0,o=t,t=new Map)}return{get(l){let u=t.get(l);if(u!==void 0)return u;if((u=o.get(l))!==void 0)return i(l,u),u},set(l,u){t.has(l)?t.set(l,u):i(l,u)}}}const f0="!";function Mj(e){const n=e.separator,t=n.length===1,o=n[0],i=n.length;return function(u){const d=[];let p=0,f=0,g;for(let w=0;wf?g-f:void 0;return{modifiers:d,hasImportantModifier:x,baseClassName:m,maybePostfixModifierPosition:S}}}function Dj(e){if(e.length<=1)return e;const n=[];let t=[];return e.forEach(o=>{o[0]==="["?(n.push(...t.sort(),o),t=[]):t.push(o)}),n.push(...t.sort()),n}function Tj(e){return{cache:Aj(e.cacheSize),splitModifiers:Mj(e),...Nj(e)}}const Ij=/\s+/;function kj(e,n){const{splitModifiers:t,getClassGroupId:o,getConflictingClassGroupIds:i}=n,l=new Set;return e.trim().split(Ij).map(u=>{const{modifiers:d,hasImportantModifier:p,baseClassName:f,maybePostfixModifierPosition:g}=t(u);let v=o(g?f.substring(0,g):f),x=!!g;if(!v){if(!g)return{isTailwindClass:!1,originalClassName:u};if(v=o(f),!v)return{isTailwindClass:!1,originalClassName:u};x=!1}const m=Dj(d).join(":");return{isTailwindClass:!0,modifierId:p?m+f0:m,classGroupId:v,originalClassName:u,hasPostfixModifier:x}}).reverse().filter(u=>{if(!u.isTailwindClass)return!0;const{modifierId:d,classGroupId:p,hasPostfixModifier:f}=u,g=d+p;return l.has(g)?!1:(l.add(g),i(p,f).forEach(v=>l.add(d+v)),!0)}).reverse().map(u=>u.originalClassName).join(" ")}function Lj(){let e=0,n,t,o="";for(;ev(g),e());return t=Tj(f),o=t.cache.get,i=t.cache.set,l=d,d(p)}function d(p){const f=o(p);if(f)return f;const g=kj(p,t);return i(p,g),g}return function(){return l(Lj.apply(null,arguments))}}function gt(e){const n=t=>t[e]||[];return n.isThemeGetter=!0,n}const g0=/^\[(?:([a-z-]+):)?(.+)\]$/i,Oj=/^\d+\/\d+$/,zj=new Set(["px","full","screen"]),Bj=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Hj=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Vj=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Gj=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Wj=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function jr(e){return _o(e)||zj.has(e)||Oj.test(e)}function Gr(e){return ds(e,"length",Qj)}function _o(e){return!!e&&!Number.isNaN(Number(e))}function yi(e){return ds(e,"number",_o)}function Ds(e){return!!e&&Number.isInteger(Number(e))}function Uj(e){return e.endsWith("%")&&_o(e.slice(0,-1))}function Fe(e){return g0.test(e)}function Wr(e){return Bj.test(e)}const Xj=new Set(["length","size","percentage"]);function qj(e){return ds(e,Xj,h0)}function Kj(e){return ds(e,"position",h0)}const Yj=new Set(["image","url"]);function Jj(e){return ds(e,Yj,tN)}function Zj(e){return ds(e,"",eN)}function Ts(){return!0}function ds(e,n,t){const o=g0.exec(e);return o?o[1]?typeof n=="string"?o[1]===n:n.has(o[1]):t(o[2]):!1}function Qj(e){return Hj.test(e)&&!Vj.test(e)}function h0(){return!1}function eN(e){return Gj.test(e)}function tN(e){return Wj.test(e)}function nN(){const e=gt("colors"),n=gt("spacing"),t=gt("blur"),o=gt("brightness"),i=gt("borderColor"),l=gt("borderRadius"),u=gt("borderSpacing"),d=gt("borderWidth"),p=gt("contrast"),f=gt("grayscale"),g=gt("hueRotate"),v=gt("invert"),x=gt("gap"),m=gt("gradientColorStops"),S=gt("gradientColorStopPositions"),w=gt("inset"),$=gt("margin"),_=gt("opacity"),y=gt("padding"),R=gt("saturate"),M=gt("scale"),E=gt("sepia"),k=gt("skew"),H=gt("space"),P=gt("translate"),D=()=>["auto","contain","none"],I=()=>["auto","hidden","clip","visible","scroll"],L=()=>["auto",Fe,n],F=()=>[Fe,n],Z=()=>["",jr,Gr],V=()=>["auto",_o,Fe],J=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],de=()=>["solid","dashed","dotted","double","none"],ge=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],ce=()=>["start","end","center","between","around","evenly","stretch"],ue=()=>["","0",Fe],K=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ne=()=>[_o,yi],U=()=>[_o,Fe];return{cacheSize:500,separator:":",theme:{colors:[Ts],spacing:[jr,Gr],blur:["none","",Wr,Fe],brightness:ne(),borderColor:[e],borderRadius:["none","","full",Wr,Fe],borderSpacing:F(),borderWidth:Z(),contrast:ne(),grayscale:ue(),hueRotate:U(),invert:ue(),gap:F(),gradientColorStops:[e],gradientColorStopPositions:[Uj,Gr],inset:L(),margin:L(),opacity:ne(),padding:F(),saturate:ne(),scale:ne(),sepia:ue(),skew:U(),space:F(),translate:F()},classGroups:{aspect:[{aspect:["auto","square","video",Fe]}],container:["container"],columns:[{columns:[Wr]}],"break-after":[{"break-after":K()}],"break-before":[{"break-before":K()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...J(),Fe]}],overflow:[{overflow:I()}],"overflow-x":[{"overflow-x":I()}],"overflow-y":[{"overflow-y":I()}],overscroll:[{overscroll:D()}],"overscroll-x":[{"overscroll-x":D()}],"overscroll-y":[{"overscroll-y":D()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[w]}],"inset-x":[{"inset-x":[w]}],"inset-y":[{"inset-y":[w]}],start:[{start:[w]}],end:[{end:[w]}],top:[{top:[w]}],right:[{right:[w]}],bottom:[{bottom:[w]}],left:[{left:[w]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Ds,Fe]}],basis:[{basis:L()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Fe]}],grow:[{grow:ue()}],shrink:[{shrink:ue()}],order:[{order:["first","last","none",Ds,Fe]}],"grid-cols":[{"grid-cols":[Ts]}],"col-start-end":[{col:["auto",{span:["full",Ds,Fe]},Fe]}],"col-start":[{"col-start":V()}],"col-end":[{"col-end":V()}],"grid-rows":[{"grid-rows":[Ts]}],"row-start-end":[{row:["auto",{span:[Ds,Fe]},Fe]}],"row-start":[{"row-start":V()}],"row-end":[{"row-end":V()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Fe]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Fe]}],gap:[{gap:[x]}],"gap-x":[{"gap-x":[x]}],"gap-y":[{"gap-y":[x]}],"justify-content":[{justify:["normal",...ce()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ce(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ce(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[$]}],mx:[{mx:[$]}],my:[{my:[$]}],ms:[{ms:[$]}],me:[{me:[$]}],mt:[{mt:[$]}],mr:[{mr:[$]}],mb:[{mb:[$]}],ml:[{ml:[$]}],"space-x":[{"space-x":[H]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[H]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Fe,n]}],"min-w":[{"min-w":[Fe,n,"min","max","fit"]}],"max-w":[{"max-w":[Fe,n,"none","full","min","max","fit","prose",{screen:[Wr]},Wr]}],h:[{h:[Fe,n,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Fe,n,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Fe,n,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Fe,n,"auto","min","max","fit"]}],"font-size":[{text:["base",Wr,Gr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",yi]}],"font-family":[{font:[Ts]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Fe]}],"line-clamp":[{"line-clamp":["none",_o,yi]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",jr,Fe]}],"list-image":[{"list-image":["none",Fe]}],"list-style-type":[{list:["none","disc","decimal",Fe]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[_]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[_]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...de(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",jr,Gr]}],"underline-offset":[{"underline-offset":["auto",jr,Fe]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:F()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Fe]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Fe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[_]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...J(),Kj]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",qj]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Jj]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[S]}],"gradient-via-pos":[{via:[S]}],"gradient-to-pos":[{to:[S]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[l]}],"rounded-s":[{"rounded-s":[l]}],"rounded-e":[{"rounded-e":[l]}],"rounded-t":[{"rounded-t":[l]}],"rounded-r":[{"rounded-r":[l]}],"rounded-b":[{"rounded-b":[l]}],"rounded-l":[{"rounded-l":[l]}],"rounded-ss":[{"rounded-ss":[l]}],"rounded-se":[{"rounded-se":[l]}],"rounded-ee":[{"rounded-ee":[l]}],"rounded-es":[{"rounded-es":[l]}],"rounded-tl":[{"rounded-tl":[l]}],"rounded-tr":[{"rounded-tr":[l]}],"rounded-br":[{"rounded-br":[l]}],"rounded-bl":[{"rounded-bl":[l]}],"border-w":[{border:[d]}],"border-w-x":[{"border-x":[d]}],"border-w-y":[{"border-y":[d]}],"border-w-s":[{"border-s":[d]}],"border-w-e":[{"border-e":[d]}],"border-w-t":[{"border-t":[d]}],"border-w-r":[{"border-r":[d]}],"border-w-b":[{"border-b":[d]}],"border-w-l":[{"border-l":[d]}],"border-opacity":[{"border-opacity":[_]}],"border-style":[{border:[...de(),"hidden"]}],"divide-x":[{"divide-x":[d]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[d]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[_]}],"divide-style":[{divide:de()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...de()]}],"outline-offset":[{"outline-offset":[jr,Fe]}],"outline-w":[{outline:[jr,Gr]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[_]}],"ring-offset-w":[{"ring-offset":[jr,Gr]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Wr,Zj]}],"shadow-color":[{shadow:[Ts]}],opacity:[{opacity:[_]}],"mix-blend":[{"mix-blend":ge()}],"bg-blend":[{"bg-blend":ge()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",Wr,Fe]}],grayscale:[{grayscale:[f]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[v]}],saturate:[{saturate:[R]}],sepia:[{sepia:[E]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[f]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[v]}],"backdrop-opacity":[{"backdrop-opacity":[_]}],"backdrop-saturate":[{"backdrop-saturate":[R]}],"backdrop-sepia":[{"backdrop-sepia":[E]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[u]}],"border-spacing-x":[{"border-spacing-x":[u]}],"border-spacing-y":[{"border-spacing-y":[u]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Fe]}],duration:[{duration:U()}],ease:[{ease:["linear","in","out","in-out",Fe]}],delay:[{delay:U()}],animate:[{animate:["none","spin","ping","pulse","bounce",Fe]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[M]}],"scale-x":[{"scale-x":[M]}],"scale-y":[{"scale-y":[M]}],rotate:[{rotate:[Ds,Fe]}],"translate-x":[{"translate-x":[P]}],"translate-y":[{"translate-y":[P]}],"skew-x":[{"skew-x":[k]}],"skew-y":[{"skew-y":[k]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Fe]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Fe]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":F()}],"scroll-mx":[{"scroll-mx":F()}],"scroll-my":[{"scroll-my":F()}],"scroll-ms":[{"scroll-ms":F()}],"scroll-me":[{"scroll-me":F()}],"scroll-mt":[{"scroll-mt":F()}],"scroll-mr":[{"scroll-mr":F()}],"scroll-mb":[{"scroll-mb":F()}],"scroll-ml":[{"scroll-ml":F()}],"scroll-p":[{"scroll-p":F()}],"scroll-px":[{"scroll-px":F()}],"scroll-py":[{"scroll-py":F()}],"scroll-ps":[{"scroll-ps":F()}],"scroll-pe":[{"scroll-pe":F()}],"scroll-pt":[{"scroll-pt":F()}],"scroll-pr":[{"scroll-pr":F()}],"scroll-pb":[{"scroll-pb":F()}],"scroll-pl":[{"scroll-pl":F()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Fe]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[jr,Gr,yi]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}const rN=Fj(nN);function _t(...e){return e.filter(Boolean).join(" ")}function X(...e){return rN(_t(...e))}function m0(e,n=100){let t,o,i;function l(...u){i=this,o=u,!t&&(t=setTimeout(()=>{t=null,e.apply(i,o)},n))}return l}function oN(e,n=2){return e.toFixed(Math.max(Math.min(n,20),0))}function sN(e,n,t){return Math.min(Math.max(e,n),t)}function aN(e,{asArrayBuffer:n}){return new Promise((t,o)=>{const i=new FileReader;i.onload=()=>t(i.result),i.onerror=()=>o(new Error("Failed to load file")),n?i.readAsArrayBuffer(e):i.readAsDataURL(e)})}function v0(e){const n=window.document.documentElement;if(n.classList.remove("light","dark"),e==="system"){const t=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";n.classList.add(t);return}n.classList.add(e)}function x0(e){return n=>{e.forEach(t=>{typeof t=="function"?t(n):t!=null&&(t.current=n)})}}const b0=Date.now();function oa(){const e=Date.now(),n=oa.last||e;return oa.last=e>n?e:n+1}function iN(){return oa()}function lN(){return oa()-b0}function sa(e){let n=oa();return e&&(n-=b0),n.toString(36)}sa.asNumber=iN;sa.asRelativeNumber=lN;const cN="text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",uN=us(cN),Xi=C.forwardRef(({className:e,...n},t)=>a.jsx(Bh,{ref:t,className:X(uN(),e),...n}));Xi.displayName=Bh.displayName;const dN="px-3 py-1 w-full h-9 text-sm border-input bg-transparent file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:opacity-50 disabled:cursor-not-allowed transition-colors border rounded-md shadow-sm flex",aa=C.forwardRef(({className:e,type:n,...t},o)=>a.jsx("input",{type:n,className:X(dN,e),ref:o,...t}));aa.displayName="Input";const fN="px-3 py-2 w-full min-h-[60px] text-sm border-input bg-transparent placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:opacity-50 disabled:cursor-not-allowed border rounded-md shadow-sm flex",y0=C.forwardRef(({className:e,...n},t)=>a.jsx("textarea",{className:X(fN,e),ref:t,...n}));y0.displayName="Textarea";const pN='after:![content:attr(data-replicated)_"_"] after:whitespace-pre after:border-transparent after:invisible after:[grid-area:1/1/2/2] grid',gN="resize-none overflow-hidden [grid-area:1/1/2/2]",hN="after:px-3 after:py-2 after:text-sm after:border",mN=C.forwardRef(({containerPaddingFont:e=hN,className:n,value:t,...o},i)=>a.jsx("div",{className:X(pN,e),"data-replicated":t,children:a.jsx(y0,{className:X(gN,n),value:t,ref:i,...o})}));mN.displayName="TextareaAutoGrow";const vN="text-sm font-medium focus-visible:ring-1 focus-visible:ring-ring focus-visible:outline-none disabled:opacity-50 disabled:pointer-events-none transition-colors rounded-md inline-flex items-center justify-center",sl=us(vN,{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90 shadow",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90 shadow-sm",outline:"border border-input bg-transparent hover:bg-accent hover:text-accent-foreground shadow-sm",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80 shadow-sm",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"px-4 py-2 h-9",xs:"px-2 h-7 text-xs rounded-md",sm:"px-3 h-8 text-xs rounded-md",lg:"px-8 h-10 rounded-md",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}}),dt=C.forwardRef(({className:e,variant:n,size:t,asChild:o=!1,...i},l)=>{const u=o?AC:"button";return a.jsx(u,{className:X(sl({variant:n,size:t,className:e})),ref:l,...i})});dt.displayName="Button";const sd=Yh,ad=Jh,xN="px-2 py-1.5 text-sm focus:bg-accent data-[state=open]:bg-accent rounded-sm outline-none select-none cursor-default flex items-center",bN=C.forwardRef(({className:e,inset:n,children:t,...o},i)=>a.jsxs(Hh,{ref:i,className:X(xN,n&&"pl-8",e),...o,children:[t,a.jsx(rl,{className:"ml-auto h-4 w-4"})]}));bN.displayName=Hh.displayName;const w0=`p-1 min-w-[8rem] z-50 text-popover-foreground bg-popover border rounded-md shadow-md overflow-hidden ${va}`,yN=C.forwardRef(({className:e,...n},t)=>a.jsx(Vh,{ref:t,className:X(w0,e),...n}));yN.displayName=Vh.displayName;const wN=w0,al=C.forwardRef(({className:e,sideOffset:n=4,...t},o)=>a.jsx(Gh,{children:a.jsx(Ku,{ref:o,className:X(wN,e),sideOffset:n,...t})}));al.displayName=Ku.displayName;const _N="relative px-2 py-1.5 text-sm focus:text-accent-foreground focus:bg-accent data-[disabled]:opacity-50 data-[disabled]:pointer-events-none transition-colors rounded-sm outline-none select-none cursor-default flex items-center",qs=C.forwardRef(({className:e,inset:n,...t},o)=>a.jsx(Yu,{ref:o,className:X(_N,n&&"pl-8",e),...t}));qs.displayName=Yu.displayName;const SN="relative pl-8 pr-2 py-1.5 text-sm focus:text-accent-foreground focus:bg-accent data-[disabled]:opacity-50 data-[disabled]:pointer-events-none transition-colors rounded-sm outline-none select-none cursor-default flex items-center",_0=C.forwardRef(({className:e,children:n,checked:t,...o},i)=>a.jsxs(Wh,{ref:i,className:X(SN,e),checked:t,...o,children:[a.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:a.jsx(Uh,{children:a.jsx(cs,{className:"h-4 w-4"})})}),n]}));_0.displayName=Wh.displayName;const CN="relative pl-8 pr-2 py-1.5 text-sm focus:text-accent-foreground focus:bg-accent data-[disabled]:opacity-50 data-[disabled]:pointer-events-none transition-colors rounded-sm outline-none select-none cursor-default flex items-center",jN=C.forwardRef(({className:e,children:n,...t},o)=>a.jsxs(Xh,{ref:o,className:X(CN,e),...t,children:[a.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:a.jsx(Uh,{children:a.jsx(Ju,{className:"h-4 w-4 fill-current"})})}),n]}));jN.displayName=Xh.displayName;const S0=C.forwardRef(({className:e,inset:n,...t},o)=>a.jsx(qh,{ref:o,className:X("px-2 py-1.5 text-sm font-semibold",n&&"pl-8",e),...t}));S0.displayName=qh.displayName;const C0=C.forwardRef(({className:e,...n},t)=>a.jsx(Kh,{ref:t,className:X("-mx-1 my-1 h-px bg-muted",e),...n}));C0.displayName=Kh.displayName;const NN="px-2 py-1.5 text-sm focus:text-accent-foreground focus:bg-accent data-[state=open]:text-accent-foreground data-[state=open]:bg-accent rounded-sm outline-none select-none cursor-default flex items-center",RN=C.forwardRef(({className:e,inset:n,children:t,...o},i)=>a.jsxs(Zh,{ref:i,className:X(NN,n&&"pl-8",e),...o,children:[t,a.jsx(rl,{className:"ml-auto h-4 w-4"})]}));RN.displayName=Zh.displayName;const j0=`z-50 p-1 min-w-[8rem] text-popover-foreground bg-popover border rounded-md shadow-md overflow-hidden ${va}`,$N=C.forwardRef(({className:e,...n},t)=>a.jsx(Qh,{ref:t,className:X(j0,e),...n}));$N.displayName=Qh.displayName;const EN=j0,PN=C.forwardRef(({className:e,...n},t)=>a.jsx(MC,{children:a.jsx(em,{ref:t,className:X(EN,e),...n})}));PN.displayName=em.displayName;const AN="relative px-2 py-1.5 text-sm focus:text-accent-foreground focus:bg-accent data-[disabled]:opacity-50 data-[disabled]:pointer-events-none rounded-sm outline-none select-none cursor-default flex items-center",MN=C.forwardRef(({className:e,inset:n,...t},o)=>a.jsx(tm,{ref:o,className:X(AN,n&&"pl-8",e),...t}));MN.displayName=tm.displayName;const N0="relative pl-8 pr-2 py-1.5 text-sm focus:text-accent-foreground focus:bg-accent data-[disabled]:opacity-50 data-[disabled]:pointer-events-none rounded-sm outline-none select-none cursor-default flex items-center",DN=C.forwardRef(({className:e,children:n,checked:t,...o},i)=>a.jsxs(nm,{ref:i,className:X(N0,e),checked:t,...o,children:[a.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:a.jsx(rm,{children:a.jsx(cs,{className:"h-4 w-4"})})}),n]}));DN.displayName=nm.displayName;const TN=C.forwardRef(({className:e,children:n,...t},o)=>a.jsxs(om,{ref:o,className:X(N0,e),...t,children:[a.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:a.jsx(rm,{children:a.jsx(Ju,{className:"h-4 w-4 fill-current"})})}),n]}));TN.displayName=om.displayName;const IN=C.forwardRef(({className:e,inset:n,...t},o)=>a.jsx(sm,{ref:o,className:X("px-2 py-1.5 text-sm font-semibold text-foreground",n&&"pl-8",e),...t}));IN.displayName=sm.displayName;const kN=C.forwardRef(({className:e,...n},t)=>a.jsx(am,{ref:t,className:X("-mx-1 my-1 h-px bg-border",e),...n}));kN.displayName=am.displayName;const LN="z-10 relative max-w-max flex-1 flex items-center justify-center",FN=C.forwardRef(({className:e,children:n,...t},o)=>a.jsxs(im,{ref:o,className:X(LN,e),...t,children:[n,a.jsx(R0,{})]}));FN.displayName=im.displayName;const ON="group flex-1list-none flex items-center justify-center space-x-1",zN=C.forwardRef(({className:e,...n},t)=>a.jsx(lm,{ref:t,className:X(ON,e),...n}));zN.displayName=lm.displayName;const BN="group px-4 py-2 w-max h-9 text-sm font-medium bg-background hover:text-accent-foreground hover:bg-accent focus:text-accent-foreground focus:bg-accent focus:outline-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50 disabled:pointer-events-none transition-colors rounded-md inline-flex items-center justify-center",HN=us(BN),VN="relative ml-1 top-[1px] w-3 h-3 group-data-[state=open]:rotate-180 transition duration-300 ",GN=C.forwardRef(({className:e,children:n,...t},o)=>a.jsxs(cm,{ref:o,className:X(HN(),"group",e),...t,children:[n," ",a.jsx(Zu,{className:VN,"aria-hidden":"true"})]}));GN.displayName=cm.displayName;const WN="left-0 top-0 w-full md:absolute md:w-auto data-[motion^=from-]:animate-in data-[motion^=from-]:fade-in data-[motion^=to-]:animate-out data-[motion^=to-]:fade-out data-[motion=from-start]:slide-in-from-left-52 data-[motion=from-end]:slide-in-from-right-52 data-[motion=to-start]:slide-out-to-left-52 data-[motion=to-end]:slide-out-to-right-52",UN=C.forwardRef(({className:e,...n},t)=>a.jsx(um,{ref:t,className:X(WN,e),...n}));UN.displayName=um.displayName;const XN="relative mt-1.5 w-full h-[var(--radix-navigation-menu-viewport-height)] text-popover-foreground bg-popover data-[state=open]:animate-in data-[state=open]:zoom-in-90 data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 md:w-[var(--radix-navigation-menu-viewport-width)] overflow-hidden origin-top-center border rounded-md shadow",R0=C.forwardRef(({className:e,...n},t)=>a.jsx("div",{className:X("absolute left-0 top-full flex justify-center"),children:a.jsx(dm,{ref:t,className:X(XN,e),...n})}));R0.displayName=dm.displayName;const qN="z-[1] top-full h-1.5 data-[state=visible]:animate-in data-[state=visible]:fade-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out overflow-hidden flex items-end justify-center",KN=C.forwardRef(({className:e,...n},t)=>a.jsx(fm,{ref:t,className:X(qN,e),...n,children:a.jsx("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})}));KN.displayName=fm.displayName;const YN="peer w-4 h-4 shrink-0 border-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:text-accent data-[state=checked]:bg-muted-foreground border rounded-sm shadow",os=C.forwardRef(({className:e,...n},t)=>a.jsx(pm,{ref:t,className:X(YN,e),...n,children:a.jsx(DC,{className:X("flex items-center justify-center text-current"),children:a.jsx(cs,{className:"h-4 w-4"})})}));os.displayName=pm.displayName;const JN=C.forwardRef(({className:e,...n},t)=>a.jsx(gm,{className:X("grid gap-2",e),...n,ref:t}));JN.displayName=gm.displayName;const ZN="h-4 w-4 aspect-square text-primary border-primary focus:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 border rounded-full shadow",QN=C.forwardRef(({className:e,children:n,...t},o)=>a.jsx(hm,{ref:o,className:X(ZN,e),...t,children:a.jsx(TC,{className:"flex items-center justify-center",children:a.jsx(cs,{className:"h-3.5 w-3.5 fill-primary"})})}));QN.displayName=hm.displayName;const eR=zC,tR=BC,nR="px-3 py-2 h-9 w-full text-sm border-input bg-transparent ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 border rounded-md shadow-sm flex items-center justify-between",$0=C.forwardRef(({className:e,children:n,...t},o)=>a.jsxs(mm,{ref:o,className:X(nR,e),...t,children:[n,a.jsx(IC,{asChild:!0,children:a.jsx(vm,{className:"h-4 w-4 opacity-50"})})]}));$0.displayName=mm.displayName;const rR="z-50 relative min-w-[8rem] bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 overflow-hidden border rounded-md shadow-md",oR="data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",sR="w-full h-[var(--radix-select-trigger-height)] min-w-[var(--radix-select-trigger-width)]",E0=C.forwardRef(({className:e,children:n,position:t="popper",...o},i)=>a.jsx(kC,{children:a.jsx(xm,{ref:i,className:X(rR,t==="popper"&&oR,e),position:t,...o,children:a.jsx(LC,{className:X("p-1",t==="popper"&&sR),children:n})})}));E0.displayName=xm.displayName;const aR=C.forwardRef(({className:e,...n},t)=>a.jsx(bm,{ref:t,className:X("px-2 py-1.5 text-sm font-semibold",e),...n}));aR.displayName=bm.displayName;const iR="relative pl-2 pr-8 py-1.5 w-full text-sm focus:bg-accent focus:text-accent-foreground data-[disabled]:opacity-50 data-[disabled]:pointer-events-none rounded-sm outline-none select-none cursor-default flex items-center",P0=C.forwardRef(({className:e,children:n,...t},o)=>a.jsxs(ym,{ref:o,className:X(iR,e),...t,children:[a.jsx("span",{className:"absolute right-2 h-3.5 w-3.5 flex items-center justify-center",children:a.jsx(FC,{children:a.jsx(cs,{className:"h-4 w-4"})})}),a.jsx(OC,{children:n})]}));P0.displayName=ym.displayName;const lR=C.forwardRef(({className:e,...n},t)=>a.jsx(wm,{ref:t,className:X("-mx-1 my-1 h-px bg-muted",e),...n}));lR.displayName=wm.displayName;const id=VC,ld=GC,cR=`p-4 w-72 z-50 text-popover-foreground bg-popover border rounded-md shadow-md outline-none ${va}`,il=C.forwardRef(({className:e,align:n="center",sideOffset:t=4,...o},i)=>a.jsx(HC,{children:a.jsx(_m,{ref:i,align:n,sideOffset:t,className:X(cR,e),...o})}));il.displayName=_m.displayName;const uR=Sm,dR=ol,fR="fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",A0=C.forwardRef(({className:e,...n},t)=>a.jsx(pa,{ref:t,className:X(fR,e),...n}));A0.displayName=pa.displayName;const pR="fixed left-[50%] top-[50%] translate-x-[-50%] translate-y-[-50%] z-50 p-6 w-full md:w-full max-w-lg bg-background data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] border sm:rounded-lg shadow-lg duration-200 grid gap-4",gR="absolute right-4 top-4 opacity-70 transition-opacityhover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 data-[state=open]:bg-accent data-[state=open]:text-muted-foreground ring-offset-background rounded-sm disabled:pointer-events-none",M0=C.forwardRef(({className:e,children:n,...t},o)=>a.jsxs(dR,{children:[a.jsx(A0,{}),a.jsxs(ga,{ref:o,className:X(pR,e),...t,children:[n,a.jsxs(Qu,{className:gR,children:[a.jsx(ed,{className:"h-4 w-4"}),a.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));M0.displayName=ga.displayName;const D0=({className:e,...n})=>a.jsx("div",{className:X("text-center sm:text-left flex flex-col space-y-1.5",e),...n});D0.displayName="DialogHeader";const T0=({className:e,...n})=>a.jsx("div",{className:X("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...n});T0.displayName="DialogFooter";const I0=C.forwardRef(({className:e,...n},t)=>a.jsx(ha,{ref:t,className:X("text-lg font-semibold leading-none tracking-tight",e),...n}));I0.displayName=ha.displayName;const k0=C.forwardRef(({className:e,...n},t)=>a.jsx(ma,{ref:t,className:X("text-sm text-muted-foreground",e),...n}));k0.displayName=ma.displayName;var bg=1,hR=.9,mR=.8,vR=.17,Oc=.1,zc=.999,xR=.9999,bR=.99,yR=/[\\\/_+.#"@\[\(\{&]/,wR=/[\\\/_+.#"@\[\(\{&]/g,_R=/[\s-]/,L0=/[\s-]/g;function wu(e,n,t,o,i,l,u){if(l===n.length)return i===e.length?bg:bR;var d=`${i},${l}`;if(u[d]!==void 0)return u[d];for(var p=o.charAt(l),f=t.indexOf(p,i),g=0,v,x,m,S;f>=0;)v=wu(e,n,t,o,f+1,l+1,u),v>g&&(f===i?v*=bg:yR.test(e.charAt(f-1))?(v*=mR,m=e.slice(i,f-1).match(wR),m&&i>0&&(v*=Math.pow(zc,m.length))):_R.test(e.charAt(f-1))?(v*=hR,S=e.slice(i,f-1).match(L0),S&&i>0&&(v*=Math.pow(zc,S.length))):(v*=vR,i>0&&(v*=Math.pow(zc,f-i))),e.charAt(f)!==n.charAt(l)&&(v*=xR)),(vv&&(v=x*Oc)),v>g&&(g=v),f=t.indexOf(p,f+1);return u[d]=g,g}function yg(e){return e.toLowerCase().replace(L0," ")}function SR(e,n){return wu(e,n,yg(e),yg(n),0,0,{})}var CR='[cmdk-list-sizer=""]',Is='[cmdk-group=""]',Bc='[cmdk-group-items=""]',jR='[cmdk-group-heading=""]',cd='[cmdk-item=""]',wg=`${cd}:not([aria-disabled="true"])`,_u="cmdk-item-select",Pr="data-value",NR=(e,n)=>SR(e,n),F0=C.createContext(void 0),xa=()=>C.useContext(F0),O0=C.createContext(void 0),ud=()=>C.useContext(O0),z0=C.createContext(void 0),B0=C.forwardRef((e,n)=>{let t=C.useRef(null),o=Jo(()=>{var K,ne,U;return{search:"",value:(U=(ne=e.value)!=null?ne:(K=e.defaultValue)==null?void 0:K.toLowerCase())!=null?U:"",filtered:{count:0,items:new Map,groups:new Set}}}),i=Jo(()=>new Set),l=Jo(()=>new Map),u=Jo(()=>new Map),d=Jo(()=>new Set),p=H0(e),{label:f,children:g,value:v,onValueChange:x,filter:m,shouldFilter:S,vimBindings:w=!0,...$}=e,_=C.useId(),y=C.useId(),R=C.useId(),M=LR();fs(()=>{if(v!==void 0){let K=v.trim().toLowerCase();o.current.value=K,M(6,L),E.emit()}},[v]);let E=C.useMemo(()=>({subscribe:K=>(d.current.add(K),()=>d.current.delete(K)),snapshot:()=>o.current,setState:(K,ne,U)=>{var q,ie,pe;if(!Object.is(o.current[K],ne)){if(o.current[K]=ne,K==="search")I(),P(),M(1,D);else if(K==="value")if(((q=p.current)==null?void 0:q.value)!==void 0){let Y=ne??"";(pe=(ie=p.current).onValueChange)==null||pe.call(ie,Y);return}else U||M(5,L);E.emit()}},emit:()=>{d.current.forEach(K=>K())}}),[]),k=C.useMemo(()=>({value:(K,ne)=>{ne!==u.current.get(K)&&(u.current.set(K,ne),o.current.filtered.items.set(K,H(ne)),M(2,()=>{P(),E.emit()}))},item:(K,ne)=>(i.current.add(K),ne&&(l.current.has(ne)?l.current.get(ne).add(K):l.current.set(ne,new Set([K]))),M(3,()=>{I(),P(),o.current.value||D(),E.emit()}),()=>{u.current.delete(K),i.current.delete(K),o.current.filtered.items.delete(K);let U=F();M(4,()=>{I(),U?.getAttribute("id")===K&&D(),E.emit()})}),group:K=>(l.current.has(K)||l.current.set(K,new Set),()=>{u.current.delete(K),l.current.delete(K)}),filter:()=>p.current.shouldFilter,label:f||e["aria-label"],commandRef:t,listId:_,inputId:R,labelId:y}),[]);function H(K){var ne,U;let q=(U=(ne=p.current)==null?void 0:ne.filter)!=null?U:NR;return K?q(K,o.current.search):0}function P(){if(!t.current||!o.current.search||p.current.shouldFilter===!1)return;let K=o.current.filtered.items,ne=[];o.current.filtered.groups.forEach(q=>{let ie=l.current.get(q),pe=0;ie.forEach(Y=>{let be=K.get(Y);pe=Math.max(be,pe)}),ne.push([q,pe])});let U=t.current.querySelector(CR);Z().sort((q,ie)=>{var pe,Y;let be=q.getAttribute(Pr),B=ie.getAttribute(Pr);return((pe=K.get(B))!=null?pe:0)-((Y=K.get(be))!=null?Y:0)}).forEach(q=>{let ie=q.closest(Bc);ie?ie.appendChild(q.parentElement===ie?q:q.closest(`${Bc} > *`)):U.appendChild(q.parentElement===U?q:q.closest(`${Bc} > *`))}),ne.sort((q,ie)=>ie[1]-q[1]).forEach(q=>{let ie=t.current.querySelector(`${Is}[${Pr}="${q[0]}"]`);ie?.parentElement.appendChild(ie)})}function D(){let K=Z().find(U=>!U.ariaDisabled),ne=K?.getAttribute(Pr);E.setState("value",ne||void 0)}function I(){if(!o.current.search||p.current.shouldFilter===!1){o.current.filtered.count=i.current.size;return}o.current.filtered.groups=new Set;let K=0;for(let ne of i.current){let U=u.current.get(ne),q=H(U);o.current.filtered.items.set(ne,q),q>0&&K++}for(let[ne,U]of l.current)for(let q of U)if(o.current.filtered.items.get(q)>0){o.current.filtered.groups.add(ne);break}o.current.filtered.count=K}function L(){var K,ne,U;let q=F();q&&(((K=q.parentElement)==null?void 0:K.firstChild)===q&&((U=(ne=q.closest(Is))==null?void 0:ne.querySelector(jR))==null||U.scrollIntoView({block:"nearest"})),q.scrollIntoView({block:"nearest"}))}function F(){var K;return(K=t.current)==null?void 0:K.querySelector(`${cd}[aria-selected="true"]`)}function Z(){return Array.from(t.current.querySelectorAll(wg))}function V(K){let ne=Z()[K];ne&&E.setState("value",ne.getAttribute(Pr))}function J(K){var ne;let U=F(),q=Z(),ie=q.findIndex(Y=>Y===U),pe=q[ie+K];(ne=p.current)!=null&&ne.loop&&(pe=ie+K<0?q[q.length-1]:ie+K===q.length?q[0]:q[ie+K]),pe&&E.setState("value",pe.getAttribute(Pr))}function de(K){let ne=F(),U=ne?.closest(Is),q;for(;U&&!q;)U=K>0?IR(U,Is):kR(U,Is),q=U?.querySelector(wg);q?E.setState("value",q.getAttribute(Pr)):J(K)}let ge=()=>V(Z().length-1),ce=K=>{K.preventDefault(),K.metaKey?ge():K.altKey?de(1):J(1)},ue=K=>{K.preventDefault(),K.metaKey?V(0):K.altKey?de(-1):J(-1)};return C.createElement("div",{ref:ba([t,n]),...$,"cmdk-root":"",onKeyDown:K=>{var ne;if((ne=$.onKeyDown)==null||ne.call($,K),!K.defaultPrevented)switch(K.key){case"n":case"j":{w&&K.ctrlKey&&ce(K);break}case"ArrowDown":{ce(K);break}case"p":case"k":{w&&K.ctrlKey&&ue(K);break}case"ArrowUp":{ue(K);break}case"Home":{K.preventDefault(),V(0);break}case"End":{K.preventDefault(),ge();break}case"Enter":if(!K.nativeEvent.isComposing){K.preventDefault();let U=F();if(U){let q=new Event(_u);U.dispatchEvent(q)}}}}},C.createElement("label",{"cmdk-label":"",htmlFor:k.inputId,id:k.labelId,style:FR},f),C.createElement(O0.Provider,{value:E},C.createElement(F0.Provider,{value:k},g)))}),RR=C.forwardRef((e,n)=>{var t,o;let i=C.useId(),l=C.useRef(null),u=C.useContext(z0),d=xa(),p=H0(e),f=(o=(t=p.current)==null?void 0:t.forceMount)!=null?o:u?.forceMount;fs(()=>d.item(i,u?.id),[]);let g=V0(i,l,[e.value,e.children,l]),v=ud(),x=$o(E=>E.value&&E.value===g.current),m=$o(E=>f||d.filter()===!1?!0:E.search?E.filtered.items.get(i)>0:!0);C.useEffect(()=>{let E=l.current;if(!(!E||e.disabled))return E.addEventListener(_u,S),()=>E.removeEventListener(_u,S)},[m,e.onSelect,e.disabled]);function S(){var E,k;w(),(k=(E=p.current).onSelect)==null||k.call(E,g.current)}function w(){v.setState("value",g.current,!0)}if(!m)return null;let{disabled:$,value:_,onSelect:y,forceMount:R,...M}=e;return C.createElement("div",{ref:ba([l,n]),...M,id:i,"cmdk-item":"",role:"option","aria-disabled":$||void 0,"aria-selected":x||void 0,"data-disabled":$||void 0,"data-selected":x||void 0,onPointerMove:$?void 0:w,onClick:$?void 0:S},e.children)}),$R=C.forwardRef((e,n)=>{let{heading:t,children:o,forceMount:i,...l}=e,u=C.useId(),d=C.useRef(null),p=C.useRef(null),f=C.useId(),g=xa(),v=$o(S=>i||g.filter()===!1?!0:S.search?S.filtered.groups.has(u):!0);fs(()=>g.group(u),[]),V0(u,d,[e.value,e.heading,p]);let x=C.useMemo(()=>({id:u,forceMount:i}),[i]),m=C.createElement(z0.Provider,{value:x},o);return C.createElement("div",{ref:ba([d,n]),...l,"cmdk-group":"",role:"presentation",hidden:v?void 0:!0},t&&C.createElement("div",{ref:p,"cmdk-group-heading":"","aria-hidden":!0,id:f},t),C.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":t?f:void 0},m))}),ER=C.forwardRef((e,n)=>{let{alwaysRender:t,...o}=e,i=C.useRef(null),l=$o(u=>!u.search);return!t&&!l?null:C.createElement("div",{ref:ba([i,n]),...o,"cmdk-separator":"",role:"separator"})}),PR=C.forwardRef((e,n)=>{let{onValueChange:t,...o}=e,i=e.value!=null,l=ud(),u=$o(g=>g.search),d=$o(g=>g.value),p=xa(),f=C.useMemo(()=>{var g;let v=(g=p.commandRef.current)==null?void 0:g.querySelector(`${cd}[${Pr}="${d}"]`);return v?.getAttribute("id")},[d,p.commandRef]);return C.useEffect(()=>{e.value!=null&&l.setState("search",e.value)},[e.value]),C.createElement("input",{ref:n,...o,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":p.listId,"aria-labelledby":p.labelId,"aria-activedescendant":f,id:p.inputId,type:"text",value:i?e.value:u,onChange:g=>{i||l.setState("search",g.target.value),t?.(g.target.value)}})}),AR=C.forwardRef((e,n)=>{let{children:t,...o}=e,i=C.useRef(null),l=C.useRef(null),u=xa();return C.useEffect(()=>{if(l.current&&i.current){let d=l.current,p=i.current,f,g=new ResizeObserver(()=>{f=requestAnimationFrame(()=>{let v=d.offsetHeight;p.style.setProperty("--cmdk-list-height",v.toFixed(1)+"px")})});return g.observe(d),()=>{cancelAnimationFrame(f),g.unobserve(d)}}},[]),C.createElement("div",{ref:ba([i,n]),...o,"cmdk-list":"",role:"listbox","aria-label":"Suggestions",id:u.listId,"aria-labelledby":u.inputId},C.createElement("div",{ref:l,"cmdk-list-sizer":""},t))}),MR=C.forwardRef((e,n)=>{let{open:t,onOpenChange:o,overlayClassName:i,contentClassName:l,container:u,...d}=e;return C.createElement(WC,{open:t,onOpenChange:o},C.createElement(UC,{container:u},C.createElement(XC,{"cmdk-overlay":"",className:i}),C.createElement(qC,{"aria-label":e.label,"cmdk-dialog":"",className:l},C.createElement(B0,{ref:n,...d}))))}),DR=C.forwardRef((e,n)=>{let t=C.useRef(!0),o=$o(i=>i.filtered.count===0);return C.useEffect(()=>{t.current=!1},[]),t.current||!o?null:C.createElement("div",{ref:n,...e,"cmdk-empty":"",role:"presentation"})}),TR=C.forwardRef((e,n)=>{let{progress:t,children:o,...i}=e;return C.createElement("div",{ref:n,...i,"cmdk-loading":"",role:"progressbar","aria-valuenow":t,"aria-valuemin":0,"aria-valuemax":100,"aria-label":"Loading..."},C.createElement("div",{"aria-hidden":!0},o))}),vn=Object.assign(B0,{List:AR,Item:RR,Input:PR,Group:$R,Separator:ER,Dialog:MR,Empty:DR,Loading:TR});function IR(e,n){let t=e.nextElementSibling;for(;t;){if(t.matches(n))return t;t=t.nextElementSibling}}function kR(e,n){let t=e.previousElementSibling;for(;t;){if(t.matches(n))return t;t=t.previousElementSibling}}function H0(e){let n=C.useRef(e);return fs(()=>{n.current=e}),n}var fs=typeof window>"u"?C.useEffect:C.useLayoutEffect;function Jo(e){let n=C.useRef();return n.current===void 0&&(n.current=e()),n}function ba(e){return n=>{e.forEach(t=>{typeof t=="function"?t(n):t!=null&&(t.current=n)})}}function $o(e){let n=ud(),t=()=>e(n.snapshot());return C.useSyncExternalStore(n.subscribe,t,t)}function V0(e,n,t){let o=C.useRef(),i=xa();return fs(()=>{var l;let u=(()=>{var d;for(let p of t){if(typeof p=="string")return p.trim().toLowerCase();if(typeof p=="object"&&"current"in p)return p.current?(d=p.current.textContent)==null?void 0:d.trim().toLowerCase():o.current}})();i.value(e,u),(l=n.current)==null||l.setAttribute(Pr,u),o.current=u}),o}var LR=()=>{let[e,n]=C.useState(),t=Jo(()=>new Map);return fs(()=>{t.current.forEach(o=>o()),t.current=new Map},[e]),(o,i)=>{t.current.set(o,i),n({})}},FR={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};const OR="w-full h-full text-popover-foreground bg-popover overflow-hidden rounded-md flex flex-col",zR=C.forwardRef(({className:e,...n},t)=>a.jsx(vn,{ref:t,className:X(OR,e),...n}));zR.displayName=vn.displayName;const BR="py-3 w-full h-10 text-sm bg-transparent placeholder:text-muted-foreground disabled:opacity-50 disabled:cursor-not-allowed rounded-md outline-none flex",HR=C.forwardRef(({className:e,...n},t)=>a.jsxs("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[a.jsx(KC,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),a.jsx(vn.Input,{ref:t,className:X(BR,e),...n})]}));HR.displayName=vn.Input.displayName;const VR=C.forwardRef(({className:e,...n},t)=>a.jsx(vn.List,{ref:t,className:X("max-h-[300px] overflow-y-auto overflow-x-hidden",e),...n}));VR.displayName=vn.List.displayName;const GR=C.forwardRef((e,n)=>a.jsx(vn.Empty,{ref:n,className:"py-6 text-sm text-center",...e}));GR.displayName=vn.Empty.displayName;const WR="p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden ",UR=C.forwardRef(({className:e,...n},t)=>a.jsx(vn.Group,{ref:t,className:X(WR,e),...n}));UR.displayName=vn.Group.displayName;const XR=C.forwardRef(({className:e,...n},t)=>a.jsx(vn.Separator,{ref:t,className:X("-mx-1 h-px bg-border",e),...n}));XR.displayName=vn.Separator.displayName;const qR="relative px-2 py-1.5 text-sm aria-selected:text-accent-foreground aria-selected:bg-accent data-[disabled]:opacity-50 data-[disabled]:pointer-events-none rounded-sm outline-none select-none cursor-default flex items-center",KR=C.forwardRef(({className:e,...n},t)=>a.jsx(vn.Item,{ref:t,className:X(qR,e),...n}));KR.displayName=vn.Item.displayName;/** +import{a as Yu,r as C,G as a,R as G,g as Ju,b as Wh,c as DC,P as TC,H as Yo,I as Zu,J as kC}from"./nivo-C0xxZE_O.js";import{$ as Uh,a as IC,b as Xh,C as sl,c as qh,d as Kh,e as Qu,f as ed,g as Yh,h as Jh,i as cs,j as Zh,D as td,k as Qh,l as em,m as tm,n as nm,o as rm,p as om,q as LC,r as sm,s as am,t as im,u as lm,v as cm,w as um,x as dm,y as fm,z as pm,A as gm,B as nd,E as hm,F as mm,G as vm,H as xm,I as FC,J as bm,K as ym,L as OC,M as wm,N as zC,O as _m,P as BC,Q as Sm,R as HC,S as Cm,T as jm,U as VC,V as GC,W as Nm,X as WC,Y as UC,Z as XC,_ as Rm,a0 as qC,a1 as KC,a2 as pa,a3 as ga,a4 as rd,a5 as od,a6 as ha,a7 as ma,a8 as al,a9 as $m,aa as YC,ab as JC,ac as ZC,ad as QC,ae as ej,af as Em,ag as tj,ah as nj,ai as rj,aj as Pm,ak as oj,al as Am,am as Mm,an as sj,ao as aj,ap as ij,aq as Dm,ar as Tm,as as km,at as Im,au as lj,av as Lm,aw as Fm,ax as Om,ay as zm,az as Bm,aA as Hm,aB as Vm,aC as cj,aD as uj,aE as dj,aF as Gm,aG as Wm,aH as sd,aI as ad,aJ as Um,aK as Xm,aL as fj,aM as pj,aN as qm,aO as gj,aP as Km,aQ as Ym,aR as Jm,aS as Zm,aT as Qm,aU as e0,aV as hj,aW as t0,aX as n0,aY as r0,aZ as mj,a_ as o0,a$ as s0,b0 as vj,b1 as xj,b2 as a0,b3 as i0,b4 as l0,b5 as c0,b6 as u0,b7 as d0,b8 as bj,b9 as yj,ba as f0,bb as wj,bc as _j,bd as Sj,be as _e,bf as Cj,bg as jj}from"./radix-ui-BoNWqpVp.js";import{R as id,B as p0,X as Nj,Y as Rj,a as g0,L as $j,T as Ej,b as vg,_ as Kn}from"./recharts-Bkn1Ho_8.js";(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))o(i);new MutationObserver(i=>{for(const l of i)if(l.type==="childList")for(const u of l.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&o(u)}).observe(document,{childList:!0,subtree:!0});function t(i){const l={};return i.integrity&&(l.integrity=i.integrity),i.referrerPolicy&&(l.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?l.credentials="include":i.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function o(i){if(i.ep)return;i.ep=!0;const l=t(i);fetch(i.href,l)}})();var Su={},xg=Yu;Su.createRoot=xg.createRoot,Su.hydrateRoot=xg.hydrateRoot;const va=" data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ";function h0(e){var n,t,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e))for(n=0;ntypeof e=="boolean"?"".concat(e):e===0?"0":e,yg=Pj,us=(e,n)=>t=>{var o;if(n?.variants==null)return yg(e,t?.class,t?.className);const{variants:i,defaultVariants:l}=n,u=Object.keys(i).map(f=>{const g=t?.[f],v=l?.[f];if(g===null)return null;const x=bg(g)||bg(v);return i[f][x]}),d=t&&Object.entries(t).reduce((f,g)=>{let[v,x]=g;return x===void 0||(f[v]=x),f},{}),p=n==null||(o=n.compoundVariants)===null||o===void 0?void 0:o.reduce((f,g)=>{let{class:v,className:x,...m}=g;return Object.entries(m).every(S=>{let[w,$]=S;return Array.isArray($)?$.includes({...l,...d}[w]):{...l,...d}[w]===$})?[...f,v,x]:f},[]);return yg(e,u,p,t?.class,t?.className)},ld="-";function Aj(e){const n=Dj(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;function i(u){const d=u.split(ld);return d[0]===""&&d.length!==1&&d.shift(),m0(d,n)||Mj(u)}function l(u,d){const p=t[u]||[];return d&&o[u]?[...p,...o[u]]:p}return{getClassGroupId:i,getConflictingClassGroupIds:l}}function m0(e,n){if(e.length===0)return n.classGroupId;const t=e[0],o=n.nextPart.get(t),i=o?m0(e.slice(1),o):void 0;if(i)return i;if(n.validators.length===0)return;const l=e.join(ld);return n.validators.find(({validator:u})=>u(l))?.classGroupId}const wg=/^\[(.+)\]$/;function Mj(e){if(wg.test(e)){const n=wg.exec(e)[1],t=n?.substring(0,n.indexOf(":"));if(t)return"arbitrary.."+t}}function Dj(e){const{theme:n,prefix:t}=e,o={nextPart:new Map,validators:[]};return kj(Object.entries(e.classGroups),t).forEach(([l,u])=>{Cu(u,o,l,n)}),o}function Cu(e,n,t,o){e.forEach(i=>{if(typeof i=="string"){const l=i===""?n:_g(n,i);l.classGroupId=t;return}if(typeof i=="function"){if(Tj(i)){Cu(i(o),n,t,o);return}n.validators.push({validator:i,classGroupId:t});return}Object.entries(i).forEach(([l,u])=>{Cu(u,_g(n,l),t,o)})})}function _g(e,n){let t=e;return n.split(ld).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o)}),t}function Tj(e){return e.isThemeGetter}function kj(e,n){return n?e.map(([t,o])=>{const i=o.map(l=>typeof l=="string"?n+l:typeof l=="object"?Object.fromEntries(Object.entries(l).map(([u,d])=>[n+u,d])):l);return[t,i]}):e}function Ij(e){if(e<1)return{get:()=>{},set:()=>{}};let n=0,t=new Map,o=new Map;function i(l,u){t.set(l,u),n++,n>e&&(n=0,o=t,t=new Map)}return{get(l){let u=t.get(l);if(u!==void 0)return u;if((u=o.get(l))!==void 0)return i(l,u),u},set(l,u){t.has(l)?t.set(l,u):i(l,u)}}}const v0="!";function Lj(e){const n=e.separator,t=n.length===1,o=n[0],i=n.length;return function(u){const d=[];let p=0,f=0,g;for(let w=0;wf?g-f:void 0;return{modifiers:d,hasImportantModifier:x,baseClassName:m,maybePostfixModifierPosition:S}}}function Fj(e){if(e.length<=1)return e;const n=[];let t=[];return e.forEach(o=>{o[0]==="["?(n.push(...t.sort(),o),t=[]):t.push(o)}),n.push(...t.sort()),n}function Oj(e){return{cache:Ij(e.cacheSize),splitModifiers:Lj(e),...Aj(e)}}const zj=/\s+/;function Bj(e,n){const{splitModifiers:t,getClassGroupId:o,getConflictingClassGroupIds:i}=n,l=new Set;return e.trim().split(zj).map(u=>{const{modifiers:d,hasImportantModifier:p,baseClassName:f,maybePostfixModifierPosition:g}=t(u);let v=o(g?f.substring(0,g):f),x=!!g;if(!v){if(!g)return{isTailwindClass:!1,originalClassName:u};if(v=o(f),!v)return{isTailwindClass:!1,originalClassName:u};x=!1}const m=Fj(d).join(":");return{isTailwindClass:!0,modifierId:p?m+v0:m,classGroupId:v,originalClassName:u,hasPostfixModifier:x}}).reverse().filter(u=>{if(!u.isTailwindClass)return!0;const{modifierId:d,classGroupId:p,hasPostfixModifier:f}=u,g=d+p;return l.has(g)?!1:(l.add(g),i(p,f).forEach(v=>l.add(d+v)),!0)}).reverse().map(u=>u.originalClassName).join(" ")}function Hj(){let e=0,n,t,o="";for(;ev(g),e());return t=Oj(f),o=t.cache.get,i=t.cache.set,l=d,d(p)}function d(p){const f=o(p);if(f)return f;const g=Bj(p,t);return i(p,g),g}return function(){return l(Hj.apply(null,arguments))}}function ht(e){const n=t=>t[e]||[];return n.isThemeGetter=!0,n}const b0=/^\[(?:([a-z-]+):)?(.+)\]$/i,Gj=/^\d+\/\d+$/,Wj=new Set(["px","full","screen"]),Uj=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Xj=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,qj=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Kj=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Yj=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function Rr(e){return So(e)||Wj.has(e)||Gj.test(e)}function Ur(e){return ds(e,"length",oN)}function So(e){return!!e&&!Number.isNaN(Number(e))}function yi(e){return ds(e,"number",So)}function Ds(e){return!!e&&Number.isInteger(Number(e))}function Jj(e){return e.endsWith("%")&&So(e.slice(0,-1))}function Fe(e){return b0.test(e)}function Xr(e){return Uj.test(e)}const Zj=new Set(["length","size","percentage"]);function Qj(e){return ds(e,Zj,y0)}function eN(e){return ds(e,"position",y0)}const tN=new Set(["image","url"]);function nN(e){return ds(e,tN,aN)}function rN(e){return ds(e,"",sN)}function Ts(){return!0}function ds(e,n,t){const o=b0.exec(e);return o?o[1]?typeof n=="string"?o[1]===n:n.has(o[1]):t(o[2]):!1}function oN(e){return Xj.test(e)&&!qj.test(e)}function y0(){return!1}function sN(e){return Kj.test(e)}function aN(e){return Yj.test(e)}function iN(){const e=ht("colors"),n=ht("spacing"),t=ht("blur"),o=ht("brightness"),i=ht("borderColor"),l=ht("borderRadius"),u=ht("borderSpacing"),d=ht("borderWidth"),p=ht("contrast"),f=ht("grayscale"),g=ht("hueRotate"),v=ht("invert"),x=ht("gap"),m=ht("gradientColorStops"),S=ht("gradientColorStopPositions"),w=ht("inset"),$=ht("margin"),_=ht("opacity"),y=ht("padding"),R=ht("saturate"),M=ht("scale"),E=ht("sepia"),I=ht("skew"),H=ht("space"),P=ht("translate"),D=()=>["auto","contain","none"],k=()=>["auto","hidden","clip","visible","scroll"],L=()=>["auto",Fe,n],F=()=>[Fe,n],Z=()=>["",Rr,Ur],V=()=>["auto",So,Fe],J=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],de=()=>["solid","dashed","dotted","double","none"],ge=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],ce=()=>["start","end","center","between","around","evenly","stretch"],ue=()=>["","0",Fe],K=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ne=()=>[So,yi],U=()=>[So,Fe];return{cacheSize:500,separator:":",theme:{colors:[Ts],spacing:[Rr,Ur],blur:["none","",Xr,Fe],brightness:ne(),borderColor:[e],borderRadius:["none","","full",Xr,Fe],borderSpacing:F(),borderWidth:Z(),contrast:ne(),grayscale:ue(),hueRotate:U(),invert:ue(),gap:F(),gradientColorStops:[e],gradientColorStopPositions:[Jj,Ur],inset:L(),margin:L(),opacity:ne(),padding:F(),saturate:ne(),scale:ne(),sepia:ue(),skew:U(),space:F(),translate:F()},classGroups:{aspect:[{aspect:["auto","square","video",Fe]}],container:["container"],columns:[{columns:[Xr]}],"break-after":[{"break-after":K()}],"break-before":[{"break-before":K()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...J(),Fe]}],overflow:[{overflow:k()}],"overflow-x":[{"overflow-x":k()}],"overflow-y":[{"overflow-y":k()}],overscroll:[{overscroll:D()}],"overscroll-x":[{"overscroll-x":D()}],"overscroll-y":[{"overscroll-y":D()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[w]}],"inset-x":[{"inset-x":[w]}],"inset-y":[{"inset-y":[w]}],start:[{start:[w]}],end:[{end:[w]}],top:[{top:[w]}],right:[{right:[w]}],bottom:[{bottom:[w]}],left:[{left:[w]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Ds,Fe]}],basis:[{basis:L()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Fe]}],grow:[{grow:ue()}],shrink:[{shrink:ue()}],order:[{order:["first","last","none",Ds,Fe]}],"grid-cols":[{"grid-cols":[Ts]}],"col-start-end":[{col:["auto",{span:["full",Ds,Fe]},Fe]}],"col-start":[{"col-start":V()}],"col-end":[{"col-end":V()}],"grid-rows":[{"grid-rows":[Ts]}],"row-start-end":[{row:["auto",{span:[Ds,Fe]},Fe]}],"row-start":[{"row-start":V()}],"row-end":[{"row-end":V()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Fe]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Fe]}],gap:[{gap:[x]}],"gap-x":[{"gap-x":[x]}],"gap-y":[{"gap-y":[x]}],"justify-content":[{justify:["normal",...ce()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ce(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ce(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[$]}],mx:[{mx:[$]}],my:[{my:[$]}],ms:[{ms:[$]}],me:[{me:[$]}],mt:[{mt:[$]}],mr:[{mr:[$]}],mb:[{mb:[$]}],ml:[{ml:[$]}],"space-x":[{"space-x":[H]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[H]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Fe,n]}],"min-w":[{"min-w":[Fe,n,"min","max","fit"]}],"max-w":[{"max-w":[Fe,n,"none","full","min","max","fit","prose",{screen:[Xr]},Xr]}],h:[{h:[Fe,n,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Fe,n,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Fe,n,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Fe,n,"auto","min","max","fit"]}],"font-size":[{text:["base",Xr,Ur]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",yi]}],"font-family":[{font:[Ts]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Fe]}],"line-clamp":[{"line-clamp":["none",So,yi]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Rr,Fe]}],"list-image":[{"list-image":["none",Fe]}],"list-style-type":[{list:["none","disc","decimal",Fe]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[_]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[_]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...de(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Rr,Ur]}],"underline-offset":[{"underline-offset":["auto",Rr,Fe]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:F()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Fe]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Fe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[_]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...J(),eN]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Qj]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},nN]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[S]}],"gradient-via-pos":[{via:[S]}],"gradient-to-pos":[{to:[S]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[l]}],"rounded-s":[{"rounded-s":[l]}],"rounded-e":[{"rounded-e":[l]}],"rounded-t":[{"rounded-t":[l]}],"rounded-r":[{"rounded-r":[l]}],"rounded-b":[{"rounded-b":[l]}],"rounded-l":[{"rounded-l":[l]}],"rounded-ss":[{"rounded-ss":[l]}],"rounded-se":[{"rounded-se":[l]}],"rounded-ee":[{"rounded-ee":[l]}],"rounded-es":[{"rounded-es":[l]}],"rounded-tl":[{"rounded-tl":[l]}],"rounded-tr":[{"rounded-tr":[l]}],"rounded-br":[{"rounded-br":[l]}],"rounded-bl":[{"rounded-bl":[l]}],"border-w":[{border:[d]}],"border-w-x":[{"border-x":[d]}],"border-w-y":[{"border-y":[d]}],"border-w-s":[{"border-s":[d]}],"border-w-e":[{"border-e":[d]}],"border-w-t":[{"border-t":[d]}],"border-w-r":[{"border-r":[d]}],"border-w-b":[{"border-b":[d]}],"border-w-l":[{"border-l":[d]}],"border-opacity":[{"border-opacity":[_]}],"border-style":[{border:[...de(),"hidden"]}],"divide-x":[{"divide-x":[d]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[d]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[_]}],"divide-style":[{divide:de()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...de()]}],"outline-offset":[{"outline-offset":[Rr,Fe]}],"outline-w":[{outline:[Rr,Ur]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[_]}],"ring-offset-w":[{"ring-offset":[Rr,Ur]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Xr,rN]}],"shadow-color":[{shadow:[Ts]}],opacity:[{opacity:[_]}],"mix-blend":[{"mix-blend":ge()}],"bg-blend":[{"bg-blend":ge()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",Xr,Fe]}],grayscale:[{grayscale:[f]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[v]}],saturate:[{saturate:[R]}],sepia:[{sepia:[E]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[f]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[v]}],"backdrop-opacity":[{"backdrop-opacity":[_]}],"backdrop-saturate":[{"backdrop-saturate":[R]}],"backdrop-sepia":[{"backdrop-sepia":[E]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[u]}],"border-spacing-x":[{"border-spacing-x":[u]}],"border-spacing-y":[{"border-spacing-y":[u]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Fe]}],duration:[{duration:U()}],ease:[{ease:["linear","in","out","in-out",Fe]}],delay:[{delay:U()}],animate:[{animate:["none","spin","ping","pulse","bounce",Fe]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[M]}],"scale-x":[{"scale-x":[M]}],"scale-y":[{"scale-y":[M]}],rotate:[{rotate:[Ds,Fe]}],"translate-x":[{"translate-x":[P]}],"translate-y":[{"translate-y":[P]}],"skew-x":[{"skew-x":[I]}],"skew-y":[{"skew-y":[I]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Fe]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Fe]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":F()}],"scroll-mx":[{"scroll-mx":F()}],"scroll-my":[{"scroll-my":F()}],"scroll-ms":[{"scroll-ms":F()}],"scroll-me":[{"scroll-me":F()}],"scroll-mt":[{"scroll-mt":F()}],"scroll-mr":[{"scroll-mr":F()}],"scroll-mb":[{"scroll-mb":F()}],"scroll-ml":[{"scroll-ml":F()}],"scroll-p":[{"scroll-p":F()}],"scroll-px":[{"scroll-px":F()}],"scroll-py":[{"scroll-py":F()}],"scroll-ps":[{"scroll-ps":F()}],"scroll-pe":[{"scroll-pe":F()}],"scroll-pt":[{"scroll-pt":F()}],"scroll-pr":[{"scroll-pr":F()}],"scroll-pb":[{"scroll-pb":F()}],"scroll-pl":[{"scroll-pl":F()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Fe]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Rr,Ur,yi]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}const lN=Vj(iN);function ct(...e){return e.filter(Boolean).join(" ")}function X(...e){return lN(ct(...e))}function w0(e,n=100){let t,o,i;function l(...u){i=this,o=u,!t&&(t=setTimeout(()=>{t=null,e.apply(i,o)},n))}return l}function cN(e,n=2){return e.toFixed(Math.max(Math.min(n,20),0))}function uN(e,n,t){return Math.min(Math.max(e,n),t)}function dN(e,{asArrayBuffer:n}){return new Promise((t,o)=>{const i=new FileReader;i.onload=()=>t(i.result),i.onerror=()=>o(new Error("Failed to load file")),n?i.readAsArrayBuffer(e):i.readAsDataURL(e)})}function _0(e){const n=window.document.documentElement;if(n.classList.remove("light","dark"),e==="system"){const t=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";n.classList.add(t);return}n.classList.add(e)}function S0(e){return n=>{e.forEach(t=>{typeof t=="function"?t(n):t!=null&&(t.current=n)})}}const C0=Date.now();function oa(){const e=Date.now(),n=oa.last||e;return oa.last=e>n?e:n+1}function fN(){return oa()}function pN(){return oa()-C0}function sa(e){let n=oa();return e&&(n-=C0),n.toString(36)}sa.asNumber=fN;sa.asRelativeNumber=pN;const gN="text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",hN=us(gN),Ki=C.forwardRef(({className:e,...n},t)=>a.jsx(Uh,{ref:t,className:X(hN(),e),...n}));Ki.displayName=Uh.displayName;const mN="px-3 py-1 w-full h-9 text-sm border-input bg-transparent file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:opacity-50 disabled:cursor-not-allowed transition-colors border rounded-md shadow-sm flex",aa=C.forwardRef(({className:e,type:n,...t},o)=>a.jsx("input",{type:n,className:X(mN,e),ref:o,...t}));aa.displayName="Input";const vN="px-3 py-2 w-full min-h-[60px] text-sm border-input bg-transparent placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:opacity-50 disabled:cursor-not-allowed border rounded-md shadow-sm flex",j0=C.forwardRef(({className:e,...n},t)=>a.jsx("textarea",{className:X(vN,e),ref:t,...n}));j0.displayName="Textarea";const xN='after:![content:attr(data-replicated)_"_"] after:whitespace-pre after:border-transparent after:invisible after:[grid-area:1/1/2/2] grid',bN="resize-none overflow-hidden [grid-area:1/1/2/2]",yN="after:px-3 after:py-2 after:text-sm after:border",wN=C.forwardRef(({containerPaddingFont:e=yN,className:n,value:t,...o},i)=>a.jsx("div",{className:X(xN,e),"data-replicated":t,children:a.jsx(j0,{className:X(bN,n),value:t,ref:i,...o})}));wN.displayName="TextareaAutoGrow";const _N="text-sm font-medium focus-visible:ring-1 focus-visible:ring-ring focus-visible:outline-none disabled:opacity-50 disabled:pointer-events-none transition-colors rounded-md inline-flex items-center justify-center",il=us(_N,{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90 shadow",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90 shadow-sm",outline:"border border-input bg-transparent hover:bg-accent hover:text-accent-foreground shadow-sm",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80 shadow-sm",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"px-4 py-2 h-9",xs:"px-2 h-7 text-xs rounded-md",sm:"px-3 h-8 text-xs rounded-md",lg:"px-8 h-10 rounded-md",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}}),ft=C.forwardRef(({className:e,variant:n,size:t,asChild:o=!1,...i},l)=>{const u=o?IC:"button";return a.jsx(u,{className:X(il({variant:n,size:t,className:e})),ref:l,...i})});ft.displayName="Button";const cd=tm,ud=nm,SN="px-2 py-1.5 text-sm focus:bg-accent data-[state=open]:bg-accent rounded-sm outline-none select-none cursor-default flex items-center",CN=C.forwardRef(({className:e,inset:n,children:t,...o},i)=>a.jsxs(Xh,{ref:i,className:X(SN,n&&"pl-8",e),...o,children:[t,a.jsx(sl,{className:"ml-auto h-4 w-4"})]}));CN.displayName=Xh.displayName;const N0=`p-1 min-w-[8rem] z-50 text-popover-foreground bg-popover border rounded-md shadow-md overflow-hidden ${va}`,jN=C.forwardRef(({className:e,...n},t)=>a.jsx(qh,{ref:t,className:X(N0,e),...n}));jN.displayName=qh.displayName;const NN=N0,ll=C.forwardRef(({className:e,sideOffset:n=4,...t},o)=>a.jsx(Kh,{children:a.jsx(Qu,{ref:o,className:X(NN,e),sideOffset:n,...t})}));ll.displayName=Qu.displayName;const RN="relative px-2 py-1.5 text-sm focus:text-accent-foreground focus:bg-accent data-[disabled]:opacity-50 data-[disabled]:pointer-events-none transition-colors rounded-sm outline-none select-none cursor-default flex items-center",qs=C.forwardRef(({className:e,inset:n,...t},o)=>a.jsx(ed,{ref:o,className:X(RN,n&&"pl-8",e),...t}));qs.displayName=ed.displayName;const $N="relative pl-8 pr-2 py-1.5 text-sm focus:text-accent-foreground focus:bg-accent data-[disabled]:opacity-50 data-[disabled]:pointer-events-none transition-colors rounded-sm outline-none select-none cursor-default flex items-center",R0=C.forwardRef(({className:e,children:n,checked:t,...o},i)=>a.jsxs(Yh,{ref:i,className:X($N,e),checked:t,...o,children:[a.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:a.jsx(Jh,{children:a.jsx(cs,{className:"h-4 w-4"})})}),n]}));R0.displayName=Yh.displayName;const EN="relative pl-8 pr-2 py-1.5 text-sm focus:text-accent-foreground focus:bg-accent data-[disabled]:opacity-50 data-[disabled]:pointer-events-none transition-colors rounded-sm outline-none select-none cursor-default flex items-center",PN=C.forwardRef(({className:e,children:n,...t},o)=>a.jsxs(Zh,{ref:o,className:X(EN,e),...t,children:[a.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:a.jsx(Jh,{children:a.jsx(td,{className:"h-4 w-4 fill-current"})})}),n]}));PN.displayName=Zh.displayName;const $0=C.forwardRef(({className:e,inset:n,...t},o)=>a.jsx(Qh,{ref:o,className:X("px-2 py-1.5 text-sm font-semibold",n&&"pl-8",e),...t}));$0.displayName=Qh.displayName;const E0=C.forwardRef(({className:e,...n},t)=>a.jsx(em,{ref:t,className:X("-mx-1 my-1 h-px bg-muted",e),...n}));E0.displayName=em.displayName;const AN="px-2 py-1.5 text-sm focus:text-accent-foreground focus:bg-accent data-[state=open]:text-accent-foreground data-[state=open]:bg-accent rounded-sm outline-none select-none cursor-default flex items-center",MN=C.forwardRef(({className:e,inset:n,children:t,...o},i)=>a.jsxs(rm,{ref:i,className:X(AN,n&&"pl-8",e),...o,children:[t,a.jsx(sl,{className:"ml-auto h-4 w-4"})]}));MN.displayName=rm.displayName;const P0=`z-50 p-1 min-w-[8rem] text-popover-foreground bg-popover border rounded-md shadow-md overflow-hidden ${va}`,DN=C.forwardRef(({className:e,...n},t)=>a.jsx(om,{ref:t,className:X(P0,e),...n}));DN.displayName=om.displayName;const TN=P0,kN=C.forwardRef(({className:e,...n},t)=>a.jsx(LC,{children:a.jsx(sm,{ref:t,className:X(TN,e),...n})}));kN.displayName=sm.displayName;const IN="relative px-2 py-1.5 text-sm focus:text-accent-foreground focus:bg-accent data-[disabled]:opacity-50 data-[disabled]:pointer-events-none rounded-sm outline-none select-none cursor-default flex items-center",LN=C.forwardRef(({className:e,inset:n,...t},o)=>a.jsx(am,{ref:o,className:X(IN,n&&"pl-8",e),...t}));LN.displayName=am.displayName;const A0="relative pl-8 pr-2 py-1.5 text-sm focus:text-accent-foreground focus:bg-accent data-[disabled]:opacity-50 data-[disabled]:pointer-events-none rounded-sm outline-none select-none cursor-default flex items-center",FN=C.forwardRef(({className:e,children:n,checked:t,...o},i)=>a.jsxs(im,{ref:i,className:X(A0,e),checked:t,...o,children:[a.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:a.jsx(lm,{children:a.jsx(cs,{className:"h-4 w-4"})})}),n]}));FN.displayName=im.displayName;const ON=C.forwardRef(({className:e,children:n,...t},o)=>a.jsxs(cm,{ref:o,className:X(A0,e),...t,children:[a.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:a.jsx(lm,{children:a.jsx(td,{className:"h-4 w-4 fill-current"})})}),n]}));ON.displayName=cm.displayName;const zN=C.forwardRef(({className:e,inset:n,...t},o)=>a.jsx(um,{ref:o,className:X("px-2 py-1.5 text-sm font-semibold text-foreground",n&&"pl-8",e),...t}));zN.displayName=um.displayName;const BN=C.forwardRef(({className:e,...n},t)=>a.jsx(dm,{ref:t,className:X("-mx-1 my-1 h-px bg-border",e),...n}));BN.displayName=dm.displayName;const HN="z-10 relative max-w-max flex-1 flex items-center justify-center",VN=C.forwardRef(({className:e,children:n,...t},o)=>a.jsxs(fm,{ref:o,className:X(HN,e),...t,children:[n,a.jsx(M0,{})]}));VN.displayName=fm.displayName;const GN="group flex-1list-none flex items-center justify-center space-x-1",WN=C.forwardRef(({className:e,...n},t)=>a.jsx(pm,{ref:t,className:X(GN,e),...n}));WN.displayName=pm.displayName;const UN="group px-4 py-2 w-max h-9 text-sm font-medium bg-background hover:text-accent-foreground hover:bg-accent focus:text-accent-foreground focus:bg-accent focus:outline-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50 disabled:pointer-events-none transition-colors rounded-md inline-flex items-center justify-center",XN=us(UN),qN="relative ml-1 top-[1px] w-3 h-3 group-data-[state=open]:rotate-180 transition duration-300 ",KN=C.forwardRef(({className:e,children:n,...t},o)=>a.jsxs(gm,{ref:o,className:X(XN(),"group",e),...t,children:[n," ",a.jsx(nd,{className:qN,"aria-hidden":"true"})]}));KN.displayName=gm.displayName;const YN="left-0 top-0 w-full md:absolute md:w-auto data-[motion^=from-]:animate-in data-[motion^=from-]:fade-in data-[motion^=to-]:animate-out data-[motion^=to-]:fade-out data-[motion=from-start]:slide-in-from-left-52 data-[motion=from-end]:slide-in-from-right-52 data-[motion=to-start]:slide-out-to-left-52 data-[motion=to-end]:slide-out-to-right-52",JN=C.forwardRef(({className:e,...n},t)=>a.jsx(hm,{ref:t,className:X(YN,e),...n}));JN.displayName=hm.displayName;const ZN="relative mt-1.5 w-full h-[var(--radix-navigation-menu-viewport-height)] text-popover-foreground bg-popover data-[state=open]:animate-in data-[state=open]:zoom-in-90 data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 md:w-[var(--radix-navigation-menu-viewport-width)] overflow-hidden origin-top-center border rounded-md shadow",M0=C.forwardRef(({className:e,...n},t)=>a.jsx("div",{className:X("absolute left-0 top-full flex justify-center"),children:a.jsx(mm,{ref:t,className:X(ZN,e),...n})}));M0.displayName=mm.displayName;const QN="z-[1] top-full h-1.5 data-[state=visible]:animate-in data-[state=visible]:fade-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out overflow-hidden flex items-end justify-center",eR=C.forwardRef(({className:e,...n},t)=>a.jsx(vm,{ref:t,className:X(QN,e),...n,children:a.jsx("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})}));eR.displayName=vm.displayName;const tR="peer w-4 h-4 shrink-0 border-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:text-accent data-[state=checked]:bg-muted-foreground border rounded-sm shadow",os=C.forwardRef(({className:e,...n},t)=>a.jsx(xm,{ref:t,className:X(tR,e),...n,children:a.jsx(FC,{className:X("flex items-center justify-center text-current"),children:a.jsx(cs,{className:"h-4 w-4"})})}));os.displayName=xm.displayName;const nR=C.forwardRef(({className:e,...n},t)=>a.jsx(bm,{className:X("grid gap-2",e),...n,ref:t}));nR.displayName=bm.displayName;const rR="h-4 w-4 aspect-square text-primary border-primary focus:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 border rounded-full shadow",oR=C.forwardRef(({className:e,children:n,...t},o)=>a.jsx(ym,{ref:o,className:X(rR,e),...t,children:a.jsx(OC,{className:"flex items-center justify-center",children:a.jsx(cs,{className:"h-3.5 w-3.5 fill-primary"})})}));oR.displayName=ym.displayName;const sR=WC,aR=UC,iR="px-3 py-2 h-9 w-full text-sm border-input bg-transparent ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 border rounded-md shadow-sm flex items-center justify-between",D0=C.forwardRef(({className:e,children:n,...t},o)=>a.jsxs(wm,{ref:o,className:X(iR,e),...t,children:[n,a.jsx(zC,{asChild:!0,children:a.jsx(_m,{className:"h-4 w-4 opacity-50"})})]}));D0.displayName=wm.displayName;const lR="z-50 relative min-w-[8rem] bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 overflow-hidden border rounded-md shadow-md",cR="data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",uR="w-full h-[var(--radix-select-trigger-height)] min-w-[var(--radix-select-trigger-width)]",T0=C.forwardRef(({className:e,children:n,position:t="popper",...o},i)=>a.jsx(BC,{children:a.jsx(Sm,{ref:i,className:X(lR,t==="popper"&&cR,e),position:t,...o,children:a.jsx(HC,{className:X("p-1",t==="popper"&&uR),children:n})})}));T0.displayName=Sm.displayName;const dR=C.forwardRef(({className:e,...n},t)=>a.jsx(Cm,{ref:t,className:X("px-2 py-1.5 text-sm font-semibold",e),...n}));dR.displayName=Cm.displayName;const fR="relative pl-2 pr-8 py-1.5 w-full text-sm focus:bg-accent focus:text-accent-foreground data-[disabled]:opacity-50 data-[disabled]:pointer-events-none rounded-sm outline-none select-none cursor-default flex items-center",k0=C.forwardRef(({className:e,children:n,...t},o)=>a.jsxs(jm,{ref:o,className:X(fR,e),...t,children:[a.jsx("span",{className:"absolute right-2 h-3.5 w-3.5 flex items-center justify-center",children:a.jsx(VC,{children:a.jsx(cs,{className:"h-4 w-4"})})}),a.jsx(GC,{children:n})]}));k0.displayName=jm.displayName;const pR=C.forwardRef(({className:e,...n},t)=>a.jsx(Nm,{ref:t,className:X("-mx-1 my-1 h-px bg-muted",e),...n}));pR.displayName=Nm.displayName;const dd=qC,fd=KC,gR=`p-4 w-72 z-50 text-popover-foreground bg-popover border rounded-md shadow-md outline-none ${va}`,cl=C.forwardRef(({className:e,align:n="center",sideOffset:t=4,...o},i)=>a.jsx(XC,{children:a.jsx(Rm,{ref:i,align:n,sideOffset:t,className:X(gR,e),...o})}));cl.displayName=Rm.displayName;const hR=$m,mR=al,vR="fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",I0=C.forwardRef(({className:e,...n},t)=>a.jsx(pa,{ref:t,className:X(vR,e),...n}));I0.displayName=pa.displayName;const xR="fixed left-[50%] top-[50%] translate-x-[-50%] translate-y-[-50%] z-50 p-6 w-full md:w-full max-w-lg bg-background data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] border sm:rounded-lg shadow-lg duration-200 grid gap-4",bR="absolute right-4 top-4 opacity-70 transition-opacityhover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 data-[state=open]:bg-accent data-[state=open]:text-muted-foreground ring-offset-background rounded-sm disabled:pointer-events-none",L0=C.forwardRef(({className:e,children:n,...t},o)=>a.jsxs(mR,{children:[a.jsx(I0,{}),a.jsxs(ga,{ref:o,className:X(xR,e),...t,children:[n,a.jsxs(rd,{className:bR,children:[a.jsx(od,{className:"h-4 w-4"}),a.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));L0.displayName=ga.displayName;const F0=({className:e,...n})=>a.jsx("div",{className:X("text-center sm:text-left flex flex-col space-y-1.5",e),...n});F0.displayName="DialogHeader";const O0=({className:e,...n})=>a.jsx("div",{className:X("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...n});O0.displayName="DialogFooter";const z0=C.forwardRef(({className:e,...n},t)=>a.jsx(ha,{ref:t,className:X("text-lg font-semibold leading-none tracking-tight",e),...n}));z0.displayName=ha.displayName;const B0=C.forwardRef(({className:e,...n},t)=>a.jsx(ma,{ref:t,className:X("text-sm text-muted-foreground",e),...n}));B0.displayName=ma.displayName;var Sg=1,yR=.9,wR=.8,_R=.17,Hc=.1,Vc=.999,SR=.9999,CR=.99,jR=/[\\\/_+.#"@\[\(\{&]/,NR=/[\\\/_+.#"@\[\(\{&]/g,RR=/[\s-]/,H0=/[\s-]/g;function ju(e,n,t,o,i,l,u){if(l===n.length)return i===e.length?Sg:CR;var d=`${i},${l}`;if(u[d]!==void 0)return u[d];for(var p=o.charAt(l),f=t.indexOf(p,i),g=0,v,x,m,S;f>=0;)v=ju(e,n,t,o,f+1,l+1,u),v>g&&(f===i?v*=Sg:jR.test(e.charAt(f-1))?(v*=wR,m=e.slice(i,f-1).match(NR),m&&i>0&&(v*=Math.pow(Vc,m.length))):RR.test(e.charAt(f-1))?(v*=yR,S=e.slice(i,f-1).match(H0),S&&i>0&&(v*=Math.pow(Vc,S.length))):(v*=_R,i>0&&(v*=Math.pow(Vc,f-i))),e.charAt(f)!==n.charAt(l)&&(v*=SR)),(vv&&(v=x*Hc)),v>g&&(g=v),f=t.indexOf(p,f+1);return u[d]=g,g}function Cg(e){return e.toLowerCase().replace(H0," ")}function $R(e,n){return ju(e,n,Cg(e),Cg(n),0,0,{})}var ER='[cmdk-list-sizer=""]',ks='[cmdk-group=""]',Gc='[cmdk-group-items=""]',PR='[cmdk-group-heading=""]',pd='[cmdk-item=""]',jg=`${pd}:not([aria-disabled="true"])`,Nu="cmdk-item-select",Mr="data-value",AR=(e,n)=>$R(e,n),V0=C.createContext(void 0),xa=()=>C.useContext(V0),G0=C.createContext(void 0),gd=()=>C.useContext(G0),W0=C.createContext(void 0),U0=C.forwardRef((e,n)=>{let t=C.useRef(null),o=Jo(()=>{var K,ne,U;return{search:"",value:(U=(ne=e.value)!=null?ne:(K=e.defaultValue)==null?void 0:K.toLowerCase())!=null?U:"",filtered:{count:0,items:new Map,groups:new Set}}}),i=Jo(()=>new Set),l=Jo(()=>new Map),u=Jo(()=>new Map),d=Jo(()=>new Set),p=X0(e),{label:f,children:g,value:v,onValueChange:x,filter:m,shouldFilter:S,vimBindings:w=!0,...$}=e,_=C.useId(),y=C.useId(),R=C.useId(),M=HR();fs(()=>{if(v!==void 0){let K=v.trim().toLowerCase();o.current.value=K,M(6,L),E.emit()}},[v]);let E=C.useMemo(()=>({subscribe:K=>(d.current.add(K),()=>d.current.delete(K)),snapshot:()=>o.current,setState:(K,ne,U)=>{var q,ie,pe;if(!Object.is(o.current[K],ne)){if(o.current[K]=ne,K==="search")k(),P(),M(1,D);else if(K==="value")if(((q=p.current)==null?void 0:q.value)!==void 0){let Y=ne??"";(pe=(ie=p.current).onValueChange)==null||pe.call(ie,Y);return}else U||M(5,L);E.emit()}},emit:()=>{d.current.forEach(K=>K())}}),[]),I=C.useMemo(()=>({value:(K,ne)=>{ne!==u.current.get(K)&&(u.current.set(K,ne),o.current.filtered.items.set(K,H(ne)),M(2,()=>{P(),E.emit()}))},item:(K,ne)=>(i.current.add(K),ne&&(l.current.has(ne)?l.current.get(ne).add(K):l.current.set(ne,new Set([K]))),M(3,()=>{k(),P(),o.current.value||D(),E.emit()}),()=>{u.current.delete(K),i.current.delete(K),o.current.filtered.items.delete(K);let U=F();M(4,()=>{k(),U?.getAttribute("id")===K&&D(),E.emit()})}),group:K=>(l.current.has(K)||l.current.set(K,new Set),()=>{u.current.delete(K),l.current.delete(K)}),filter:()=>p.current.shouldFilter,label:f||e["aria-label"],commandRef:t,listId:_,inputId:R,labelId:y}),[]);function H(K){var ne,U;let q=(U=(ne=p.current)==null?void 0:ne.filter)!=null?U:AR;return K?q(K,o.current.search):0}function P(){if(!t.current||!o.current.search||p.current.shouldFilter===!1)return;let K=o.current.filtered.items,ne=[];o.current.filtered.groups.forEach(q=>{let ie=l.current.get(q),pe=0;ie.forEach(Y=>{let be=K.get(Y);pe=Math.max(be,pe)}),ne.push([q,pe])});let U=t.current.querySelector(ER);Z().sort((q,ie)=>{var pe,Y;let be=q.getAttribute(Mr),B=ie.getAttribute(Mr);return((pe=K.get(B))!=null?pe:0)-((Y=K.get(be))!=null?Y:0)}).forEach(q=>{let ie=q.closest(Gc);ie?ie.appendChild(q.parentElement===ie?q:q.closest(`${Gc} > *`)):U.appendChild(q.parentElement===U?q:q.closest(`${Gc} > *`))}),ne.sort((q,ie)=>ie[1]-q[1]).forEach(q=>{let ie=t.current.querySelector(`${ks}[${Mr}="${q[0]}"]`);ie?.parentElement.appendChild(ie)})}function D(){let K=Z().find(U=>!U.ariaDisabled),ne=K?.getAttribute(Mr);E.setState("value",ne||void 0)}function k(){if(!o.current.search||p.current.shouldFilter===!1){o.current.filtered.count=i.current.size;return}o.current.filtered.groups=new Set;let K=0;for(let ne of i.current){let U=u.current.get(ne),q=H(U);o.current.filtered.items.set(ne,q),q>0&&K++}for(let[ne,U]of l.current)for(let q of U)if(o.current.filtered.items.get(q)>0){o.current.filtered.groups.add(ne);break}o.current.filtered.count=K}function L(){var K,ne,U;let q=F();q&&(((K=q.parentElement)==null?void 0:K.firstChild)===q&&((U=(ne=q.closest(ks))==null?void 0:ne.querySelector(PR))==null||U.scrollIntoView({block:"nearest"})),q.scrollIntoView({block:"nearest"}))}function F(){var K;return(K=t.current)==null?void 0:K.querySelector(`${pd}[aria-selected="true"]`)}function Z(){return Array.from(t.current.querySelectorAll(jg))}function V(K){let ne=Z()[K];ne&&E.setState("value",ne.getAttribute(Mr))}function J(K){var ne;let U=F(),q=Z(),ie=q.findIndex(Y=>Y===U),pe=q[ie+K];(ne=p.current)!=null&&ne.loop&&(pe=ie+K<0?q[q.length-1]:ie+K===q.length?q[0]:q[ie+K]),pe&&E.setState("value",pe.getAttribute(Mr))}function de(K){let ne=F(),U=ne?.closest(ks),q;for(;U&&!q;)U=K>0?zR(U,ks):BR(U,ks),q=U?.querySelector(jg);q?E.setState("value",q.getAttribute(Mr)):J(K)}let ge=()=>V(Z().length-1),ce=K=>{K.preventDefault(),K.metaKey?ge():K.altKey?de(1):J(1)},ue=K=>{K.preventDefault(),K.metaKey?V(0):K.altKey?de(-1):J(-1)};return C.createElement("div",{ref:ba([t,n]),...$,"cmdk-root":"",onKeyDown:K=>{var ne;if((ne=$.onKeyDown)==null||ne.call($,K),!K.defaultPrevented)switch(K.key){case"n":case"j":{w&&K.ctrlKey&&ce(K);break}case"ArrowDown":{ce(K);break}case"p":case"k":{w&&K.ctrlKey&&ue(K);break}case"ArrowUp":{ue(K);break}case"Home":{K.preventDefault(),V(0);break}case"End":{K.preventDefault(),ge();break}case"Enter":if(!K.nativeEvent.isComposing){K.preventDefault();let U=F();if(U){let q=new Event(Nu);U.dispatchEvent(q)}}}}},C.createElement("label",{"cmdk-label":"",htmlFor:I.inputId,id:I.labelId,style:VR},f),C.createElement(G0.Provider,{value:E},C.createElement(V0.Provider,{value:I},g)))}),MR=C.forwardRef((e,n)=>{var t,o;let i=C.useId(),l=C.useRef(null),u=C.useContext(W0),d=xa(),p=X0(e),f=(o=(t=p.current)==null?void 0:t.forceMount)!=null?o:u?.forceMount;fs(()=>d.item(i,u?.id),[]);let g=q0(i,l,[e.value,e.children,l]),v=gd(),x=Eo(E=>E.value&&E.value===g.current),m=Eo(E=>f||d.filter()===!1?!0:E.search?E.filtered.items.get(i)>0:!0);C.useEffect(()=>{let E=l.current;if(!(!E||e.disabled))return E.addEventListener(Nu,S),()=>E.removeEventListener(Nu,S)},[m,e.onSelect,e.disabled]);function S(){var E,I;w(),(I=(E=p.current).onSelect)==null||I.call(E,g.current)}function w(){v.setState("value",g.current,!0)}if(!m)return null;let{disabled:$,value:_,onSelect:y,forceMount:R,...M}=e;return C.createElement("div",{ref:ba([l,n]),...M,id:i,"cmdk-item":"",role:"option","aria-disabled":$||void 0,"aria-selected":x||void 0,"data-disabled":$||void 0,"data-selected":x||void 0,onPointerMove:$?void 0:w,onClick:$?void 0:S},e.children)}),DR=C.forwardRef((e,n)=>{let{heading:t,children:o,forceMount:i,...l}=e,u=C.useId(),d=C.useRef(null),p=C.useRef(null),f=C.useId(),g=xa(),v=Eo(S=>i||g.filter()===!1?!0:S.search?S.filtered.groups.has(u):!0);fs(()=>g.group(u),[]),q0(u,d,[e.value,e.heading,p]);let x=C.useMemo(()=>({id:u,forceMount:i}),[i]),m=C.createElement(W0.Provider,{value:x},o);return C.createElement("div",{ref:ba([d,n]),...l,"cmdk-group":"",role:"presentation",hidden:v?void 0:!0},t&&C.createElement("div",{ref:p,"cmdk-group-heading":"","aria-hidden":!0,id:f},t),C.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":t?f:void 0},m))}),TR=C.forwardRef((e,n)=>{let{alwaysRender:t,...o}=e,i=C.useRef(null),l=Eo(u=>!u.search);return!t&&!l?null:C.createElement("div",{ref:ba([i,n]),...o,"cmdk-separator":"",role:"separator"})}),kR=C.forwardRef((e,n)=>{let{onValueChange:t,...o}=e,i=e.value!=null,l=gd(),u=Eo(g=>g.search),d=Eo(g=>g.value),p=xa(),f=C.useMemo(()=>{var g;let v=(g=p.commandRef.current)==null?void 0:g.querySelector(`${pd}[${Mr}="${d}"]`);return v?.getAttribute("id")},[d,p.commandRef]);return C.useEffect(()=>{e.value!=null&&l.setState("search",e.value)},[e.value]),C.createElement("input",{ref:n,...o,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":p.listId,"aria-labelledby":p.labelId,"aria-activedescendant":f,id:p.inputId,type:"text",value:i?e.value:u,onChange:g=>{i||l.setState("search",g.target.value),t?.(g.target.value)}})}),IR=C.forwardRef((e,n)=>{let{children:t,...o}=e,i=C.useRef(null),l=C.useRef(null),u=xa();return C.useEffect(()=>{if(l.current&&i.current){let d=l.current,p=i.current,f,g=new ResizeObserver(()=>{f=requestAnimationFrame(()=>{let v=d.offsetHeight;p.style.setProperty("--cmdk-list-height",v.toFixed(1)+"px")})});return g.observe(d),()=>{cancelAnimationFrame(f),g.unobserve(d)}}},[]),C.createElement("div",{ref:ba([i,n]),...o,"cmdk-list":"",role:"listbox","aria-label":"Suggestions",id:u.listId,"aria-labelledby":u.inputId},C.createElement("div",{ref:l,"cmdk-list-sizer":""},t))}),LR=C.forwardRef((e,n)=>{let{open:t,onOpenChange:o,overlayClassName:i,contentClassName:l,container:u,...d}=e;return C.createElement(YC,{open:t,onOpenChange:o},C.createElement(JC,{container:u},C.createElement(ZC,{"cmdk-overlay":"",className:i}),C.createElement(QC,{"aria-label":e.label,"cmdk-dialog":"",className:l},C.createElement(U0,{ref:n,...d}))))}),FR=C.forwardRef((e,n)=>{let t=C.useRef(!0),o=Eo(i=>i.filtered.count===0);return C.useEffect(()=>{t.current=!1},[]),t.current||!o?null:C.createElement("div",{ref:n,...e,"cmdk-empty":"",role:"presentation"})}),OR=C.forwardRef((e,n)=>{let{progress:t,children:o,...i}=e;return C.createElement("div",{ref:n,...i,"cmdk-loading":"",role:"progressbar","aria-valuenow":t,"aria-valuemin":0,"aria-valuemax":100,"aria-label":"Loading..."},C.createElement("div",{"aria-hidden":!0},o))}),vn=Object.assign(U0,{List:IR,Item:MR,Input:kR,Group:DR,Separator:TR,Dialog:LR,Empty:FR,Loading:OR});function zR(e,n){let t=e.nextElementSibling;for(;t;){if(t.matches(n))return t;t=t.nextElementSibling}}function BR(e,n){let t=e.previousElementSibling;for(;t;){if(t.matches(n))return t;t=t.previousElementSibling}}function X0(e){let n=C.useRef(e);return fs(()=>{n.current=e}),n}var fs=typeof window>"u"?C.useEffect:C.useLayoutEffect;function Jo(e){let n=C.useRef();return n.current===void 0&&(n.current=e()),n}function ba(e){return n=>{e.forEach(t=>{typeof t=="function"?t(n):t!=null&&(t.current=n)})}}function Eo(e){let n=gd(),t=()=>e(n.snapshot());return C.useSyncExternalStore(n.subscribe,t,t)}function q0(e,n,t){let o=C.useRef(),i=xa();return fs(()=>{var l;let u=(()=>{var d;for(let p of t){if(typeof p=="string")return p.trim().toLowerCase();if(typeof p=="object"&&"current"in p)return p.current?(d=p.current.textContent)==null?void 0:d.trim().toLowerCase():o.current}})();i.value(e,u),(l=n.current)==null||l.setAttribute(Mr,u),o.current=u}),o}var HR=()=>{let[e,n]=C.useState(),t=Jo(()=>new Map);return fs(()=>{t.current.forEach(o=>o()),t.current=new Map},[e]),(o,i)=>{t.current.set(o,i),n({})}},VR={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};const GR="w-full h-full text-popover-foreground bg-popover overflow-hidden rounded-md flex flex-col",WR=C.forwardRef(({className:e,...n},t)=>a.jsx(vn,{ref:t,className:X(GR,e),...n}));WR.displayName=vn.displayName;const UR="py-3 w-full h-10 text-sm bg-transparent placeholder:text-muted-foreground disabled:opacity-50 disabled:cursor-not-allowed rounded-md outline-none flex",XR=C.forwardRef(({className:e,...n},t)=>a.jsxs("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[a.jsx(ej,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),a.jsx(vn.Input,{ref:t,className:X(UR,e),...n})]}));XR.displayName=vn.Input.displayName;const qR=C.forwardRef(({className:e,...n},t)=>a.jsx(vn.List,{ref:t,className:X("max-h-[300px] overflow-y-auto overflow-x-hidden",e),...n}));qR.displayName=vn.List.displayName;const KR=C.forwardRef((e,n)=>a.jsx(vn.Empty,{ref:n,className:"py-6 text-sm text-center",...e}));KR.displayName=vn.Empty.displayName;const YR="p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden ",JR=C.forwardRef(({className:e,...n},t)=>a.jsx(vn.Group,{ref:t,className:X(YR,e),...n}));JR.displayName=vn.Group.displayName;const ZR=C.forwardRef(({className:e,...n},t)=>a.jsx(vn.Separator,{ref:t,className:X("-mx-1 h-px bg-border",e),...n}));ZR.displayName=vn.Separator.displayName;const QR="relative px-2 py-1.5 text-sm aria-selected:text-accent-foreground aria-selected:bg-accent data-[disabled]:opacity-50 data-[disabled]:pointer-events-none rounded-sm outline-none select-none cursor-default flex items-center",e5=C.forwardRef(({className:e,...n},t)=>a.jsx(vn.Item,{ref:t,className:X(QR,e),...n}));e5.displayName=vn.Item.displayName;/** * @license lucide-react v0.341.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */var YR={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** + */var t5={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** * @license lucide-react v0.341.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const JR=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim(),so=(e,n)=>{const t=C.forwardRef(({color:o="currentColor",size:i=24,strokeWidth:l=2,absoluteStrokeWidth:u,className:d="",children:p,...f},g)=>C.createElement("svg",{ref:g,...YR,width:i,height:i,stroke:o,strokeWidth:u?Number(l)*24/Number(i):l,className:["lucide",`lucide-${JR(e)}`,d].join(" "),...f},[...n.map(([v,x])=>C.createElement(v,x)),...Array.isArray(p)?p:[p]]));return t.displayName=`${e}`,t};/** + */const n5=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim(),io=(e,n)=>{const t=C.forwardRef(({color:o="currentColor",size:i=24,strokeWidth:l=2,absoluteStrokeWidth:u,className:d="",children:p,...f},g)=>C.createElement("svg",{ref:g,...t5,width:i,height:i,stroke:o,strokeWidth:u?Number(l)*24/Number(i):l,className:["lucide",`lucide-${n5(e)}`,d].join(" "),...f},[...n.map(([v,x])=>C.createElement(v,x)),...Array.isArray(p)?p:[p]]));return t.displayName=`${e}`,t};/** * @license lucide-react v0.341.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ZR=so("AppWindow",[["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}],["path",{d:"M10 4v4",key:"pp8u80"}],["path",{d:"M2 8h20",key:"d11cs7"}],["path",{d:"M6 4v4",key:"1svtjw"}]]);/** + */const r5=io("AppWindow",[["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}],["path",{d:"M10 4v4",key:"pp8u80"}],["path",{d:"M2 8h20",key:"d11cs7"}],["path",{d:"M6 4v4",key:"1svtjw"}]]);/** * @license lucide-react v0.341.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const QR=so("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/** + */const o5=io("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/** * @license lucide-react v0.341.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const e5=so("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** + */const s5=io("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** * @license lucide-react v0.341.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const t5=so("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/** + */const a5=io("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/** * @license lucide-react v0.341.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const n5=so("Dices",[["rect",{width:"12",height:"12",x:"2",y:"10",rx:"2",ry:"2",key:"6agr2n"}],["path",{d:"m17.92 14 3.5-3.5a2.24 2.24 0 0 0 0-3l-5-4.92a2.24 2.24 0 0 0-3 0L10 6",key:"1o487t"}],["path",{d:"M6 18h.01",key:"uhywen"}],["path",{d:"M10 14h.01",key:"ssrbsk"}],["path",{d:"M15 6h.01",key:"cblpky"}],["path",{d:"M18 9h.01",key:"2061c0"}]]);/** + */const i5=io("Dices",[["rect",{width:"12",height:"12",x:"2",y:"10",rx:"2",ry:"2",key:"6agr2n"}],["path",{d:"m17.92 14 3.5-3.5a2.24 2.24 0 0 0 0-3l-5-4.92a2.24 2.24 0 0 0-3 0L10 6",key:"1o487t"}],["path",{d:"M6 18h.01",key:"uhywen"}],["path",{d:"M10 14h.01",key:"ssrbsk"}],["path",{d:"M15 6h.01",key:"cblpky"}],["path",{d:"M18 9h.01",key:"2061c0"}]]);/** * @license lucide-react v0.341.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const r5=so("Folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]);/** + */const l5=io("Folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]);/** * @license lucide-react v0.341.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const G0=so("Paintbrush",[["path",{d:"M18.37 2.63 14 7l-1.59-1.59a2 2 0 0 0-2.82 0L8 7l9 9 1.59-1.59a2 2 0 0 0 0-2.82L17 10l4.37-4.37a2.12 2.12 0 1 0-3-3Z",key:"m6k5sh"}],["path",{d:"M9 8c-2 3-4 3.5-7 4l8 10c2-1 6-5 6-7",key:"arzq70"}],["path",{d:"M14.5 17.5 4.5 15",key:"s7fvrz"}]]);/** + */const K0=io("Paintbrush",[["path",{d:"M18.37 2.63 14 7l-1.59-1.59a2 2 0 0 0-2.82 0L8 7l9 9 1.59-1.59a2 2 0 0 0 0-2.82L17 10l4.37-4.37a2.12 2.12 0 1 0-3-3Z",key:"m6k5sh"}],["path",{d:"M9 8c-2 3-4 3.5-7 4l8 10c2-1 6-5 6-7",key:"arzq70"}],["path",{d:"M14.5 17.5 4.5 15",key:"s7fvrz"}]]);/** * @license lucide-react v0.341.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const _g=so("PanelsTopLeft",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M9 21V9",key:"1oto5p"}]]),o5="block h-4 w-4 bg-background border-primary/50 focus-visible:ring-1 focus-visible:ring-ring focus-visible:outline-none disabled:opacity-50 disabled:pointer-events-none transition-colors border rounded-full shadow",W0=C.forwardRef(({className:e,...n},t)=>a.jsxs(Cm,{ref:t,className:X("relative w-full touch-none select-none flex items-center",e),...n,children:[a.jsx(YC,{className:"track relative w-full h-1.5 bg-primary/20 rounded-full grow overflow-hidden",children:a.jsx(JC,{className:"absolute h-full bg-primary"})}),a.jsx(ZC,{className:o5})]}));W0.displayName=Cm.displayName;const s5="peer w-[36px] h-[20px] border-transparent focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-ring focus-visible:ring-offset-background focus-visible:outline-none disabled:opacity-50 disabled:cursor-not-allowed data-[state=checked]:bg-primary data-[state=unchecked]:bg-input transition-colors border-2 rounded-full shadow-sm cursor-pointer shrink-0 inline-flex items-center",a5="block w-4 h-4 bg-background data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0 transition-transform pointer-events-none ring-0 rounded-full shadow-lg",i5=C.forwardRef(({className:e,...n},t)=>a.jsx(jm,{ref:t,className:X(s5,e),...n,children:a.jsx(QC,{className:X(a5)})}));i5.displayName=jm.displayName;const l5="text-sm font-medium hover:text-muted-foreground hover:bg-muted focus-visible:ring-1 focus-visible:ring-ring focus-visible:outline-none disabled:opacity-50 disabled:pointer-events-none data-[state=on]:text-accent-foreground data-[state=on]:bg-accent transition-colors rounded-md inline-flex items-center justify-center",c5=us(l5,{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent hover:bg-accent hover:text-accent-foreground shadow-sm"},size:{default:"h-9 px-3",sm:"h-8 px-2",lg:"h-10 px-3"}},defaultVariants:{variant:"default",size:"default"}}),u5=C.forwardRef(({className:e,variant:n,size:t,...o},i)=>a.jsx(Nm,{ref:i,className:X(c5({variant:n,size:t,className:e})),...o}));u5.displayName=Nm.displayName;const d5=ej,f5=tj,p5=nj,g5="z-50 px-3 py-1.5 text-xs text-primary-foreground bg-primary animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 overflow-hidden rounded-md",U0=C.forwardRef(({className:e,sideOffset:n=4,...t},o)=>a.jsx(Rm,{ref:o,sideOffset:n,className:X(g5,e),...t}));U0.displayName=Rm.displayName;const ll=oj,X0=sj,h5=aj,m5="p-1 h-9 bg-background border rounded-md shadow-sm flex items-center space-x-1",q0=C.forwardRef(({className:e,...n},t)=>a.jsx($m,{ref:t,className:X(m5,e),...n}));q0.displayName=$m.displayName;const v5="px-3 py-1 text-sm font-medium focus:text-accent-foreground focus:bg-accent data-[state=open]:text-accent-foreground data-[state=open]:bg-accent rounded-sm outline-none select-none cursor-default flex items-center",ya=C.forwardRef(({className:e,...n},t)=>a.jsx(Em,{ref:t,className:X(v5,e),...n}));ya.displayName=Em.displayName;const x5="px-2 py-1.5 text-sm focus:text-accent-foreground focus:bg-accent data-[state=open]:text-accent-foreground data-[state=open]:bg-accent rounded-sm outline-none select-none cursor-default flex items-center",dd=C.forwardRef(({className:e,inset:n,children:t,...o},i)=>a.jsxs(Pm,{ref:i,className:X(x5,n&&"pl-8",e),...o,children:[t,a.jsx(rl,{className:"ml-auto h-4 w-4"})]}));dd.displayName=Pm.displayName;const b5="p-1 min-w-[8rem] z-50 text-popover-foreground bg-popover data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 border rounded-md shadow-lg overflow-hidden",fd=C.forwardRef(({className:e,...n},t)=>a.jsx(Am,{ref:t,className:X(b5,e),...n}));fd.displayName=Am.displayName;const y5="p-1 min-w-[12rem] z-50 text-popover-foreground bg-popover data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 border rounded-md shadow-md overflow-hidden",wa=C.forwardRef(({className:e,align:n="start",alignOffset:t=-4,sideOffset:o=8,...i},l)=>a.jsx(rj,{children:a.jsx(Mm,{ref:l,align:n,alignOffset:t,sideOffset:o,className:X(y5,e),...i})}));wa.displayName=Mm.displayName;const w5="relative px-2 py-1.5 text-sm focus:text-accent-foreground focus:bg-accent data-[disabled]:opacity-50 data-[disabled]:pointer-events-none rounded-sm select-none outline-none cursor-default flex items-center",bt=C.forwardRef(({className:e,inset:n,...t},o)=>a.jsx(Dm,{ref:o,className:X(w5,n&&"pl-8",e),...t}));bt.displayName=Dm.displayName;const K0="relative pl-8 pr-2 py-1.5 text-sm focus:text-accent-foreground focus:bg-accent data-[disabled]:opacity-50 data-[disabled]:pointer-events-none rounded-sm outline-none select-none cursor-default flex items-center",Su=C.forwardRef(({className:e,children:n,checked:t,...o},i)=>a.jsxs(Tm,{ref:i,className:X(K0,e),checked:t,...o,children:[a.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:a.jsx(Im,{children:a.jsx(cs,{className:"h-4 w-4"})})}),n]}));Su.displayName=Tm.displayName;const Oi=C.forwardRef(({className:e,children:n,...t},o)=>a.jsxs(km,{ref:o,className:X(K0,e),...t,children:[a.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:a.jsx(Im,{children:a.jsx(Ju,{className:"h-4 w-4 fill-current"})})}),n]}));Oi.displayName=km.displayName;const _5=C.forwardRef(({className:e,inset:n,...t},o)=>a.jsx(Lm,{ref:o,className:X("px-2 py-1.5 text-sm font-semibold",n&&"pl-8",e),...t}));_5.displayName=Lm.displayName;const sr=C.forwardRef(({className:e,...n},t)=>a.jsx(Fm,{ref:t,className:X("-mx-1 my-1 h-px bg-muted",e),...n}));sr.displayName=Fm.displayName;const Mr=({className:e,...n})=>a.jsx("span",{className:X("ml-auto text-xs tracking-widest text-muted-foreground",e),...n});Mr.displayname="MenubarShortcut";const S5=Bm,Y0=C.forwardRef(({className:e,...n},t)=>a.jsx(Om,{ref:t,className:X("border-b",e),...n}));Y0.displayName="AccordionItem";const C5="flex-1 py-4 text-sm font-medium hover:underline [&[data-state=open]>svg]:rotate-180 transition-all flex items-center justify-between",J0=C.forwardRef(({className:e,children:n,...t},o)=>a.jsx(zm,{className:"flex",children:a.jsxs(td,{ref:o,className:X(C5,e),...t,children:[a.jsx("div",{children:n}),a.jsx(Zu,{className:"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"})]})}));J0.displayName=td.displayName;const j5="text-sm overflow-hidden data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",Z0=C.forwardRef(({className:e,children:n,...t},o)=>a.jsx(nd,{ref:o,className:X(j5,e),...t,children:a.jsx("div",{className:"pb-4 pt-0",children:n})}));Z0.displayName=nd.displayName;const cl=C.forwardRef(({className:e,children:n,...t},o)=>a.jsxs(Hm,{ref:o,className:X("relative overflow-hidden","[&[data-fixed-width]>div>div]:![display:block]",e),...t,children:[a.jsx(ij,{className:"h-full w-full rounded-[inherit]",children:n}),a.jsx(Q0,{}),a.jsx(lj,{})]}));cl.displayName=Hm.displayName;const Q0=C.forwardRef(({className:e,orientation:n="vertical",...t},o)=>a.jsx(Vm,{ref:o,orientation:n,className:X("flex touch-none select-none transition-colors",n==="vertical"&&"w-2.5 h-full border-l border-l-transparent p-[1px]",n==="horizontal"&&"h-2.5 border-t border-t-transparent p-[1px]",e),...t,children:a.jsx(cj,{className:X("relative rounded-full bg-border",n==="vertical"&&"flex-1")})}));Q0.displayName=Vm.displayName;const N5=uj,R5="fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=closed]:animate-out data-[state=closed]:fade-out-0",ev=C.forwardRef(({className:e,...n},t)=>a.jsx(Gm,{ref:t,className:X(R5,e),...n}));ev.displayName=Gm.displayName;const $5="fixed left-[50%] top-[50%] translate-x-[-50%] translate-y-[-50%] w-full md:w-full max-w-lg p-6 z-50 bg-background data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] duration-200 border sm:rounded-lg shadow-lg grid gap-4",E5=C.forwardRef(({className:e,...n},t)=>a.jsxs(N5,{children:[a.jsx(ev,{}),a.jsx(Wm,{ref:t,className:X($5,e),...n})]}));E5.displayName=Wm.displayName;const P5=C.forwardRef(({className:e,...n},t)=>a.jsx(Um,{ref:t,className:X("text-lg font-semibold",e),...n}));P5.displayName=Um.displayName;const A5=C.forwardRef(({className:e,...n},t)=>a.jsx(Xm,{ref:t,className:X("text-sm text-muted-foreground",e),...n}));A5.displayName=Xm.displayName;const M5=C.forwardRef(({className:e,...n},t)=>a.jsx(qm,{ref:t,className:X(sl(),e),...n}));M5.displayName=qm.displayName;const D5=C.forwardRef(({className:e,...n},t)=>a.jsx(Km,{ref:t,className:X(sl({variant:"outline"}),"mt-2 sm:mt-0",e),...n}));D5.displayName=Km.displayName;const tv=ol;tv.displayName=ol.displayName;const T5="fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",nv=C.forwardRef(({className:e,...n},t)=>a.jsx(pa,{ref:t,className:X(T5,e),...n}));nv.displayName=pa.displayName;const I5="fixed z-50 p-6 bg-background data-[state=open]:animate-in data-[state=open]:duration-500 data-[state=closed]:animate-out data-[state=closed]:duration-300 transition ease-in-out shadow-lg gap-4",k5="inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",L5="inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",F5="inset-y-0 left-0 h-full w-3/4 sm:max-w-sm border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left",O5="inset-y-0 right-0 h-full w-3/4 sm:max-w-sm border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right",z5=us(I5,{variants:{side:{top:k5,bottom:L5,left:F5,right:O5}},defaultVariants:{side:"right"}}),B5="absolute right-4 top-4 opacity-70 hover:opacity-100 focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:outline-none disabled:pointer-events-none data-[state=open]:bg-secondary ring-offset-background transition-opacity rounded-sm",H5=C.forwardRef(({side:e="right",className:n,children:t,...o},i)=>a.jsxs(tv,{children:[a.jsx(nv,{}),a.jsxs(ga,{ref:i,className:X(z5({side:e}),n),...o,children:[t,a.jsxs(Qu,{className:B5,children:[a.jsx(ed,{className:"h-4 w-4"}),a.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));H5.displayName=ga.displayName;const V5=C.forwardRef(({className:e,...n},t)=>a.jsx(ha,{ref:t,className:X("text-lg font-semibold text-foreground",e),...n}));V5.displayName=ha.displayName;const G5=C.forwardRef(({className:e,...n},t)=>a.jsx(ma,{ref:t,className:X("text-sm text-muted-foreground",e),...n}));G5.displayName=ma.displayName;const pd=C.forwardRef(({className:e,...n},t)=>a.jsx("div",{className:"relative w-full overflow-auto",children:a.jsx("table",{ref:t,className:X("w-full caption-bottom text-sm",e),...n})}));pd.displayName="Table";const gd=C.forwardRef(({className:e,...n},t)=>a.jsx("thead",{ref:t,className:X("[&_tr]:border-b",e),...n}));gd.displayName="TableHeader";const hd=C.forwardRef(({className:e,...n},t)=>a.jsx("tbody",{ref:t,className:X("[&_tr:last-child]:border-0",e),...n}));hd.displayName="TableBody";const rv=C.forwardRef(({className:e,...n},t)=>a.jsx("tfoot",{ref:t,className:X("text-primary-foreground bg-primary font-medium",e),...n}));rv.displayName="TableFooter";const jo=C.forwardRef(({className:e,...n},t)=>a.jsx("tr",{ref:t,className:X("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",e),...n}));jo.displayName="TableRow";const Qo=C.forwardRef(({className:e,...n},t)=>a.jsx("th",{ref:t,className:X("h-10 px-2 text-left font-medium align-middle text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...n}));Qo.displayName="TableHead";const Ar=C.forwardRef(({className:e,...n},t)=>a.jsx("td",{ref:t,className:X("p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...n}));Ar.displayName="TableCell";const ov=C.forwardRef(({className:e,...n},t)=>a.jsx("caption",{ref:t,className:X("mt-4 text-sm text-muted-foreground",e),...n}));ov.displayName="TableCaption";const Po=dj,W5="p-1 h-9 text-muted-foreground bg-muted rounded-lg inline-flex items-center justify-center",U5="h-auto justify-normal flex-wrap",ao=C.forwardRef(({className:e,...n},t)=>a.jsx(Ym,{ref:t,className:X(W5,e),...n}));ao.displayName=Ym.displayName;const X5="px-3 py-1 text-sm font-medium whitespace-nowrapfocus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-none disabled:opacity-50 disabled:pointer-events-none data-[state=active]:text-foreground data-[state=active]:bg-background data-[state=active]:shadow ring-offset-background transition-all rounded-md inline-flex items-center justify-center",Ke=C.forwardRef(({className:e,...n},t)=>a.jsx(Jm,{ref:t,className:X(X5,e),...n}));Ke.displayName=Jm.displayName;const q5="mt-2 focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-none ring-offset-background",Ye=C.forwardRef(({className:e,...n},t)=>a.jsx(Zm,{ref:t,className:X(q5,e),...n}));Ye.displayName=Zm.displayName;const K5=`z-50 p-4 w-64 text-popover-foreground bg-popover border rounded-md shadow-md outline-none ${va}`,Y5=C.forwardRef(({className:e,align:n="center",sideOffset:t=4,...o},i)=>a.jsx(Qm,{ref:i,align:n,sideOffset:t,className:X(K5,e),...o}));Y5.displayName=Qm.displayName;const ul=C.forwardRef(({className:e,...n},t)=>a.jsx("div",{ref:t,className:X("rounded-xl border bg-card text-card-foreground shadow",e),...n}));ul.displayName="Card";const md=C.forwardRef(({className:e,...n},t)=>a.jsx("div",{ref:t,className:X("flex flex-col space-y-1.5 p-6",e),...n}));md.displayName="CardHeader";const vd=C.forwardRef(({className:e,...n},t)=>a.jsx("h3",{ref:t,className:X("font-semibold leading-none tracking-tight",e),...n}));vd.displayName="CardTitle";const sv=C.forwardRef(({className:e,...n},t)=>a.jsx("p",{ref:t,className:X("text-sm text-muted-foreground",e),...n}));sv.displayName="CardDescription";const dl=C.forwardRef(({className:e,...n},t)=>a.jsx("div",{ref:t,className:X("p-6 pt-0",e),...n}));dl.displayName="CardContent";const J5=C.forwardRef(({className:e,...n},t)=>a.jsx("div",{ref:t,className:X("flex items-center p-6 pt-0",e),...n}));J5.displayName="CardFooter";function Hc({className:e,...n}){return a.jsx("div",{className:X("animate-pulse rounded-md bg-primary/10",e),...n})}const Z5=C.forwardRef(({className:e,value:n,...t},o)=>a.jsx(e0,{ref:o,className:X("relative h-2 w-full overflow-hidden rounded-full bg-primary/20",e),...t,children:a.jsx(fj,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(n||0)}%)`}})}));Z5.displayName=e0.displayName;var Ks=function(){return Ks=Object.assign||function(n){for(var t,o=1,i=arguments.length;oa.jsxs(Em,{ref:t,className:X("relative w-full touch-none select-none flex items-center",e),...n,children:[a.jsx(tj,{className:"track relative w-full h-1.5 bg-primary/20 rounded-full grow overflow-hidden",children:a.jsx(nj,{className:"absolute h-full bg-primary"})}),a.jsx(rj,{className:c5})]}));Y0.displayName=Em.displayName;const u5="peer w-[36px] h-[20px] border-transparent focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-ring focus-visible:ring-offset-background focus-visible:outline-none disabled:opacity-50 disabled:cursor-not-allowed data-[state=checked]:bg-primary data-[state=unchecked]:bg-input transition-colors border-2 rounded-full shadow-sm cursor-pointer shrink-0 inline-flex items-center",d5="block w-4 h-4 bg-background data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0 transition-transform pointer-events-none ring-0 rounded-full shadow-lg",f5=C.forwardRef(({className:e,...n},t)=>a.jsx(Pm,{ref:t,className:X(u5,e),...n,children:a.jsx(oj,{className:X(d5)})}));f5.displayName=Pm.displayName;const p5="text-sm font-medium hover:text-muted-foreground hover:bg-muted focus-visible:ring-1 focus-visible:ring-ring focus-visible:outline-none disabled:opacity-50 disabled:pointer-events-none data-[state=on]:text-accent-foreground data-[state=on]:bg-accent transition-colors rounded-md inline-flex items-center justify-center",g5=us(p5,{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent hover:bg-accent hover:text-accent-foreground shadow-sm"},size:{default:"h-9 px-3",sm:"h-8 px-2",lg:"h-10 px-3"}},defaultVariants:{variant:"default",size:"default"}}),h5=C.forwardRef(({className:e,variant:n,size:t,...o},i)=>a.jsx(Am,{ref:i,className:X(g5({variant:n,size:t,className:e})),...o}));h5.displayName=Am.displayName;const m5=sj,v5=aj,x5=ij,b5="z-50 px-3 py-1.5 text-xs text-primary-foreground bg-primary animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 overflow-hidden rounded-md",J0=C.forwardRef(({className:e,sideOffset:n=4,...t},o)=>a.jsx(Mm,{ref:o,sideOffset:n,className:X(b5,e),...t}));J0.displayName=Mm.displayName;const ul=cj,Z0=uj,y5=dj,w5="p-1 h-9 bg-background border rounded-md shadow-sm flex items-center space-x-1",Q0=C.forwardRef(({className:e,...n},t)=>a.jsx(Dm,{ref:t,className:X(w5,e),...n}));Q0.displayName=Dm.displayName;const _5="px-3 py-1 text-sm font-medium focus:text-accent-foreground focus:bg-accent data-[state=open]:text-accent-foreground data-[state=open]:bg-accent rounded-sm outline-none select-none cursor-default flex items-center",ya=C.forwardRef(({className:e,...n},t)=>a.jsx(Tm,{ref:t,className:X(_5,e),...n}));ya.displayName=Tm.displayName;const S5="px-2 py-1.5 text-sm focus:text-accent-foreground focus:bg-accent data-[state=open]:text-accent-foreground data-[state=open]:bg-accent rounded-sm outline-none select-none cursor-default flex items-center",hd=C.forwardRef(({className:e,inset:n,children:t,...o},i)=>a.jsxs(km,{ref:i,className:X(S5,n&&"pl-8",e),...o,children:[t,a.jsx(sl,{className:"ml-auto h-4 w-4"})]}));hd.displayName=km.displayName;const C5="p-1 min-w-[8rem] z-50 text-popover-foreground bg-popover data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 border rounded-md shadow-lg overflow-hidden",md=C.forwardRef(({className:e,...n},t)=>a.jsx(Im,{ref:t,className:X(C5,e),...n}));md.displayName=Im.displayName;const j5="p-1 min-w-[12rem] z-50 text-popover-foreground bg-popover data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 border rounded-md shadow-md overflow-hidden",wa=C.forwardRef(({className:e,align:n="start",alignOffset:t=-4,sideOffset:o=8,...i},l)=>a.jsx(lj,{children:a.jsx(Lm,{ref:l,align:n,alignOffset:t,sideOffset:o,className:X(j5,e),...i})}));wa.displayName=Lm.displayName;const N5="relative px-2 py-1.5 text-sm focus:text-accent-foreground focus:bg-accent data-[disabled]:opacity-50 data-[disabled]:pointer-events-none rounded-sm select-none outline-none cursor-default flex items-center",yt=C.forwardRef(({className:e,inset:n,...t},o)=>a.jsx(Fm,{ref:o,className:X(N5,n&&"pl-8",e),...t}));yt.displayName=Fm.displayName;const ev="relative pl-8 pr-2 py-1.5 text-sm focus:text-accent-foreground focus:bg-accent data-[disabled]:opacity-50 data-[disabled]:pointer-events-none rounded-sm outline-none select-none cursor-default flex items-center",Ru=C.forwardRef(({className:e,children:n,checked:t,...o},i)=>a.jsxs(Om,{ref:i,className:X(ev,e),checked:t,...o,children:[a.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:a.jsx(zm,{children:a.jsx(cs,{className:"h-4 w-4"})})}),n]}));Ru.displayName=Om.displayName;const Bi=C.forwardRef(({className:e,children:n,...t},o)=>a.jsxs(Bm,{ref:o,className:X(ev,e),...t,children:[a.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:a.jsx(zm,{children:a.jsx(td,{className:"h-4 w-4 fill-current"})})}),n]}));Bi.displayName=Bm.displayName;const R5=C.forwardRef(({className:e,inset:n,...t},o)=>a.jsx(Hm,{ref:o,className:X("px-2 py-1.5 text-sm font-semibold",n&&"pl-8",e),...t}));R5.displayName=Hm.displayName;const sr=C.forwardRef(({className:e,...n},t)=>a.jsx(Vm,{ref:t,className:X("-mx-1 my-1 h-px bg-muted",e),...n}));sr.displayName=Vm.displayName;const Tr=({className:e,...n})=>a.jsx("span",{className:X("ml-auto text-xs tracking-widest text-muted-foreground",e),...n});Tr.displayname="MenubarShortcut";const $5=Um,tv=C.forwardRef(({className:e,...n},t)=>a.jsx(Gm,{ref:t,className:X("border-b",e),...n}));tv.displayName="AccordionItem";const E5="flex-1 py-4 text-sm font-medium hover:underline [&[data-state=open]>svg]:rotate-180 transition-all flex items-center justify-between",nv=C.forwardRef(({className:e,children:n,...t},o)=>a.jsx(Wm,{className:"flex",children:a.jsxs(sd,{ref:o,className:X(E5,e),...t,children:[a.jsx("div",{children:n}),a.jsx(nd,{className:"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"})]})}));nv.displayName=sd.displayName;const P5="text-sm overflow-hidden data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",rv=C.forwardRef(({className:e,children:n,...t},o)=>a.jsx(ad,{ref:o,className:X(P5,e),...t,children:a.jsx("div",{className:"pb-4 pt-0",children:n})}));rv.displayName=ad.displayName;const dl=C.forwardRef(({className:e,children:n,...t},o)=>a.jsxs(Xm,{ref:o,className:X("relative overflow-hidden","[&[data-fixed-width]>div>div]:![display:block]",e),...t,children:[a.jsx(fj,{className:"h-full w-full rounded-[inherit]",children:n}),a.jsx(ov,{}),a.jsx(pj,{})]}));dl.displayName=Xm.displayName;const ov=C.forwardRef(({className:e,orientation:n="vertical",...t},o)=>a.jsx(qm,{ref:o,orientation:n,className:X("flex touch-none select-none transition-colors",n==="vertical"&&"w-2.5 h-full border-l border-l-transparent p-[1px]",n==="horizontal"&&"h-2.5 border-t border-t-transparent p-[1px]",e),...t,children:a.jsx(gj,{className:X("relative rounded-full bg-border",n==="vertical"&&"flex-1")})}));ov.displayName=qm.displayName;const A5=hj,M5="fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=closed]:animate-out data-[state=closed]:fade-out-0",sv=C.forwardRef(({className:e,...n},t)=>a.jsx(Km,{ref:t,className:X(M5,e),...n}));sv.displayName=Km.displayName;const D5="fixed left-[50%] top-[50%] translate-x-[-50%] translate-y-[-50%] w-full md:w-full max-w-lg p-6 z-50 bg-background data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] duration-200 border sm:rounded-lg shadow-lg grid gap-4",T5=C.forwardRef(({className:e,...n},t)=>a.jsxs(A5,{children:[a.jsx(sv,{}),a.jsx(Ym,{ref:t,className:X(D5,e),...n})]}));T5.displayName=Ym.displayName;const k5=C.forwardRef(({className:e,...n},t)=>a.jsx(Jm,{ref:t,className:X("text-lg font-semibold",e),...n}));k5.displayName=Jm.displayName;const I5=C.forwardRef(({className:e,...n},t)=>a.jsx(Zm,{ref:t,className:X("text-sm text-muted-foreground",e),...n}));I5.displayName=Zm.displayName;const L5=C.forwardRef(({className:e,...n},t)=>a.jsx(Qm,{ref:t,className:X(il(),e),...n}));L5.displayName=Qm.displayName;const F5=C.forwardRef(({className:e,...n},t)=>a.jsx(e0,{ref:t,className:X(il({variant:"outline"}),"mt-2 sm:mt-0",e),...n}));F5.displayName=e0.displayName;const av=al;av.displayName=al.displayName;const O5="fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",iv=C.forwardRef(({className:e,...n},t)=>a.jsx(pa,{ref:t,className:X(O5,e),...n}));iv.displayName=pa.displayName;const z5="fixed z-50 p-6 bg-background data-[state=open]:animate-in data-[state=open]:duration-500 data-[state=closed]:animate-out data-[state=closed]:duration-300 transition ease-in-out shadow-lg gap-4",B5="inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",H5="inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",V5="inset-y-0 left-0 h-full w-3/4 sm:max-w-sm border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left",G5="inset-y-0 right-0 h-full w-3/4 sm:max-w-sm border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right",W5=us(z5,{variants:{side:{top:B5,bottom:H5,left:V5,right:G5}},defaultVariants:{side:"right"}}),U5="absolute right-4 top-4 opacity-70 hover:opacity-100 focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:outline-none disabled:pointer-events-none data-[state=open]:bg-secondary ring-offset-background transition-opacity rounded-sm",X5=C.forwardRef(({side:e="right",className:n,children:t,...o},i)=>a.jsxs(av,{children:[a.jsx(iv,{}),a.jsxs(ga,{ref:i,className:X(W5({side:e}),n),...o,children:[t,a.jsxs(rd,{className:U5,children:[a.jsx(od,{className:"h-4 w-4"}),a.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));X5.displayName=ga.displayName;const q5=C.forwardRef(({className:e,...n},t)=>a.jsx(ha,{ref:t,className:X("text-lg font-semibold text-foreground",e),...n}));q5.displayName=ha.displayName;const K5=C.forwardRef(({className:e,...n},t)=>a.jsx(ma,{ref:t,className:X("text-sm text-muted-foreground",e),...n}));K5.displayName=ma.displayName;const vd=C.forwardRef(({className:e,...n},t)=>a.jsx("div",{className:"relative w-full overflow-auto",children:a.jsx("table",{ref:t,className:X("w-full caption-bottom text-sm",e),...n})}));vd.displayName="Table";const xd=C.forwardRef(({className:e,...n},t)=>a.jsx("thead",{ref:t,className:X("[&_tr]:border-b",e),...n}));xd.displayName="TableHeader";const bd=C.forwardRef(({className:e,...n},t)=>a.jsx("tbody",{ref:t,className:X("[&_tr:last-child]:border-0",e),...n}));bd.displayName="TableBody";const lv=C.forwardRef(({className:e,...n},t)=>a.jsx("tfoot",{ref:t,className:X("text-primary-foreground bg-primary font-medium",e),...n}));lv.displayName="TableFooter";const No=C.forwardRef(({className:e,...n},t)=>a.jsx("tr",{ref:t,className:X("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",e),...n}));No.displayName="TableRow";const Qo=C.forwardRef(({className:e,...n},t)=>a.jsx("th",{ref:t,className:X("h-10 px-2 text-left font-medium align-middle text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...n}));Qo.displayName="TableHead";const Dr=C.forwardRef(({className:e,...n},t)=>a.jsx("td",{ref:t,className:X("p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...n}));Dr.displayName="TableCell";const cv=C.forwardRef(({className:e,...n},t)=>a.jsx("caption",{ref:t,className:X("mt-4 text-sm text-muted-foreground",e),...n}));cv.displayName="TableCaption";const hr=mj,Y5="p-1 h-9 text-muted-foreground bg-muted rounded-lg inline-flex items-center justify-center",fl="h-auto justify-normal flex-wrap",lr=C.forwardRef(({className:e,...n},t)=>a.jsx(t0,{ref:t,className:X(Y5,e),...n}));lr.displayName=t0.displayName;const J5="px-3 py-1 text-sm font-medium whitespace-nowrapfocus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-none disabled:opacity-50 disabled:pointer-events-none data-[state=active]:text-foreground data-[state=active]:bg-background data-[state=active]:shadow ring-offset-background transition-all rounded-md inline-flex items-center justify-center",He=C.forwardRef(({className:e,...n},t)=>a.jsx(n0,{ref:t,className:X(J5,e),...n}));He.displayName=n0.displayName;const Z5="mt-2 focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-none ring-offset-background",Ve=C.forwardRef(({className:e,...n},t)=>a.jsx(r0,{ref:t,className:X(Z5,e),...n}));Ve.displayName=r0.displayName;const Q5=`z-50 p-4 w-64 text-popover-foreground bg-popover border rounded-md shadow-md outline-none ${va}`,e$=C.forwardRef(({className:e,align:n="center",sideOffset:t=4,...o},i)=>a.jsx(o0,{ref:i,align:n,sideOffset:t,className:X(Q5,e),...o}));e$.displayName=o0.displayName;const pl=C.forwardRef(({className:e,...n},t)=>a.jsx("div",{ref:t,className:X("rounded-xl border bg-card text-card-foreground shadow",e),...n}));pl.displayName="Card";const yd=C.forwardRef(({className:e,...n},t)=>a.jsx("div",{ref:t,className:X("flex flex-col space-y-1.5 p-6",e),...n}));yd.displayName="CardHeader";const wd=C.forwardRef(({className:e,...n},t)=>a.jsx("h3",{ref:t,className:X("font-semibold leading-none tracking-tight",e),...n}));wd.displayName="CardTitle";const uv=C.forwardRef(({className:e,...n},t)=>a.jsx("p",{ref:t,className:X("text-sm text-muted-foreground",e),...n}));uv.displayName="CardDescription";const gl=C.forwardRef(({className:e,...n},t)=>a.jsx("div",{ref:t,className:X("p-6 pt-0",e),...n}));gl.displayName="CardContent";const t$=C.forwardRef(({className:e,...n},t)=>a.jsx("div",{ref:t,className:X("flex items-center p-6 pt-0",e),...n}));t$.displayName="CardFooter";function Wc({className:e,...n}){return a.jsx("div",{className:X("animate-pulse rounded-md bg-primary/10",e),...n})}const n$=C.forwardRef(({className:e,value:n,...t},o)=>a.jsx(s0,{ref:o,className:X("relative h-2 w-full overflow-hidden rounded-full bg-primary/20",e),...t,children:a.jsx(vj,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(n||0)}%)`}})}));n$.displayName=s0.displayName;var Ks=function(){return Ks=Object.assign||function(n){for(var t,o=1,i=arguments.length;o({...n,children:n.children?iv(n.children):void 0}))}function es(e,n){if(n&&e){!Array.isArray(e)&&(e=[e]);for(const t of e){if(t.id===n)return t;if(t.children){const o=es(t.children,n);if(o)return o}}}}function i$(e,n,t){const o=[];return n&&i(e,n),o;function i(l,u){if(l)if(l instanceof Array)for(let d=0;d({id:u.dataset.treeId,el:u}));if(!i.length)return;if(n.preventDefault(),n.stopPropagation(),!t)return i[0].id;const l=i.findIndex(u=>u.id===t);if(l!==-1)switch(n.key){case"ArrowDown":case"ArrowUp":{const u=n.key==="ArrowDown"?l+1:l-1;if(u>=0&&unew Proxy(e,n);const ju=Object.getPrototypeOf,Nu=new WeakMap,lv=e=>e&&(Nu.has(e)?Nu.get(e):ju(e)===Object.prototype||ju(e)===Array.prototype),qi=e=>typeof e=="object"&&e!==null,d$=e=>{if(Array.isArray(e))return Array.from(e);const n=Object.getOwnPropertyDescriptors(e);return Object.values(n).forEach(t=>{t.configurable=!0}),Object.create(ju(e),n)},bd=e=>e[xd]||e,cv=(e,n,t,o)=>{if(!lv(e))return e;let i=o&&o.get(e);if(!i){const p=bd(e);i=(f=>Object.values(Object.getOwnPropertyDescriptors(f)).some(g=>!g.configurable&&!g.writable))(p)?[p,d$(p)]:[p],o?.set(e,i)}const[l,u]=i;let d=t&&t.get(l);return d&&d[1].f===!!u||(d=((p,f)=>{const g={f};let v=!1;const x=(S,w)=>{if(!v){let $=g[Ls].get(p);if($||($={},g[Ls].set(p,$)),S===Ys)$[Ys]=!0;else{let _=$[S];_||(_=new Set,$[S]=_),_.add(w)}}},m={get:(S,w)=>w===xd?p:(x("k",w),cv(Reflect.get(S,w),g[Ls],g.c,g.t)),has:(S,w)=>w===c$?(v=!0,g[Ls].delete(p),!0):(x("h",w),Reflect.has(S,w)),getOwnPropertyDescriptor:(S,w)=>(x("o",w),Reflect.getOwnPropertyDescriptor(S,w)),ownKeys:S=>(x(Ys),Reflect.ownKeys(S))};return f&&(m.set=m.deleteProperty=()=>!1),[m,g]})(l,!!u),d[1].p=u$(u||l,d[0]),t&&t.set(l,d)),d[1][Ls]=n,d[1].c=t,d[1].t=o,d[1].p},uv=(e,n,t,o,i=Object.is)=>{if(i(e,n))return!1;if(!qi(e)||!qi(n))return!0;const l=t.get(bd(e));if(!l)return!0;if(o){const d=o.get(e);if(d&&d.n===n)return d.g;o.set(e,{n,g:!1})}let u=null;try{for(const d of l.h||[])if(u=Reflect.has(e,d)!==Reflect.has(n,d),u)return u;if(l[Ys]===!0){if(u=((d,p)=>{const f=Reflect.ownKeys(d),g=Reflect.ownKeys(p);return f.length!==g.length||f.some((v,x)=>v!==g[x])})(e,n),u)return u}else for(const d of l.o||[])if(u=!!Reflect.getOwnPropertyDescriptor(e,d)!=!!Reflect.getOwnPropertyDescriptor(n,d),u)return u;for(const d of l.k||[])if(u=uv(e[d],n[d],t,o,i),u)return u;return u===null&&(u=!0),u}finally{o&&o.set(e,{n,g:u})}},f$=e=>lv(e)&&e[xd]||null,Cg=(e,n=!0)=>{Nu.set(e,n)},p$=(e,n,t)=>{const o=[],i=new WeakSet,l=(u,d)=>{if(i.has(u))return;qi(u)&&i.add(u);const p=qi(u)&&n.get(bd(u));if(p){var f,g;if((f=p.h)==null||f.forEach(x=>{const m=`:has(${String(x)})`;o.push(d?[...d,m]:[m])}),p[Ys]===!0){const x=":ownKeys";o.push(d?[...d,x]:[x])}else{var v;(v=p.o)==null||v.forEach(x=>{const m=`:hasOwn(${String(x)})`;o.push(d?[...d,m]:[m])})}(g=p.k)==null||g.forEach(x=>{t&&!("value"in(Object.getOwnPropertyDescriptor(u,x)||{}))||l(u[x],d?[...d,x]:[x])})}else d&&o.push(d)};return l(e),o};var Ki={BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const Vc=e=>typeof e=="object"&&e!==null,Qr=new WeakMap,wi=new WeakSet,g$=(e=Object.is,n=(f,g)=>new Proxy(f,g),t=f=>Vc(f)&&!wi.has(f)&&(Array.isArray(f)||!(Symbol.iterator in f))&&!(f instanceof WeakMap)&&!(f instanceof WeakSet)&&!(f instanceof Error)&&!(f instanceof Number)&&!(f instanceof Date)&&!(f instanceof String)&&!(f instanceof RegExp)&&!(f instanceof ArrayBuffer),o=f=>{switch(f.status){case"fulfilled":return f.value;case"rejected":throw f.reason;default:throw f}},i=new WeakMap,l=(f,g,v=o)=>{const x=i.get(f);if(x?.[0]===g)return x[1];const m=Array.isArray(f)?[]:Object.create(Object.getPrototypeOf(f));return Cg(m,!0),i.set(f,[g,m]),Reflect.ownKeys(f).forEach(S=>{if(Object.getOwnPropertyDescriptor(m,S))return;const w=Reflect.get(f,S),{enumerable:$}=Reflect.getOwnPropertyDescriptor(f,S),_={value:w,enumerable:$,configurable:!0};if(wi.has(w))Cg(w,!1);else if(w instanceof Promise)delete _.value,_.get=()=>v(w);else if(Qr.has(w)){const[y,R]=Qr.get(w);_.value=l(y,R(),v)}Object.defineProperty(m,S,_)}),Object.preventExtensions(m)},u=new WeakMap,d=[1,1],p=f=>{if(!Vc(f))throw new Error("object required");const g=u.get(f);if(g)return g;let v=d[0];const x=new Set,m=(D,I=++d[0])=>{v!==I&&(v=I,x.forEach(L=>L(D,I)))};let S=d[1];const w=(D=++d[1])=>(S!==D&&!x.size&&(S=D,_.forEach(([I])=>{const L=I[1](D);L>v&&(v=L)})),v),$=D=>(I,L)=>{const F=[...I];F[1]=[D,...F[1]],m(F,L)},_=new Map,y=(D,I)=>{if((Ki?"production":void 0)!=="production"&&_.has(D))throw new Error("prop listener already exists");if(x.size){const L=I[3]($(D));_.set(D,[I,L])}else _.set(D,[I])},R=D=>{var I;const L=_.get(D);L&&(_.delete(D),(I=L[1])==null||I.call(L))},M=D=>(x.add(D),x.size===1&&_.forEach(([L,F],Z)=>{if((Ki?"production":void 0)!=="production"&&F)throw new Error("remove already exists");const V=L[3]($(Z));_.set(Z,[L,V])}),()=>{x.delete(D),x.size===0&&_.forEach(([L,F],Z)=>{F&&(F(),_.set(Z,[L]))})}),E=Array.isArray(f)?[]:Object.create(Object.getPrototypeOf(f)),H=n(E,{deleteProperty(D,I){const L=Reflect.get(D,I);R(I);const F=Reflect.deleteProperty(D,I);return F&&m(["delete",[I],L]),F},set(D,I,L,F){const Z=Reflect.has(D,I),V=Reflect.get(D,I,F);if(Z&&(e(V,L)||u.has(L)&&e(V,u.get(L))))return!0;R(I),Vc(L)&&(L=f$(L)||L);let J=L;if(L instanceof Promise)L.then(de=>{L.status="fulfilled",L.value=de,m(["resolve",[I],de])}).catch(de=>{L.status="rejected",L.reason=de,m(["reject",[I],de])});else{!Qr.has(L)&&t(L)&&(J=p(L));const de=!wi.has(J)&&Qr.get(J);de&&y(I,de)}return Reflect.set(D,I,J,F),m(["set",[I],L,V]),!0}});u.set(f,H);const P=[E,w,l,M];return Qr.set(H,P),Reflect.ownKeys(f).forEach(D=>{const I=Object.getOwnPropertyDescriptor(f,D);"value"in I&&(H[D]=f[D],delete I.value,delete I.writable),Object.defineProperty(E,D,I)}),H})=>[p,Qr,wi,e,n,t,o,i,l,u,d],[h$]=g$();function _a(e={}){return h$(e)}function fl(e,n,t){const o=Qr.get(e);(Ki?"production":void 0)!=="production"&&!o&&console.warn("Please use proxy object");let i;const l=[],u=o[3];let d=!1;const f=u(g=>{if(l.push(g),t){n(l.splice(0));return}i||(i=Promise.resolve().then(()=>{i=void 0,d&&n(l.splice(0))}))});return d=!0,()=>{d=!1,f()}}function jg(e,n){const t=Qr.get(e);(Ki?"production":void 0)!=="production"&&!t&&console.warn("Please use proxy object");const[o,i,l]=t;return l(o,i(),n)}var dv={exports:{}},fv={};/** + */var Rg;function r$(){if(Rg)return Is;Rg=1;var e=G,n=Symbol.for("react.element"),t=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(d,p,f){var g,v={},x=null,m=null;f!==void 0&&(x=""+f),p.key!==void 0&&(x=""+p.key),p.ref!==void 0&&(m=p.ref);for(g in p)o.call(p,g)&&!l.hasOwnProperty(g)&&(v[g]=p[g]);if(d&&d.defaultProps)for(g in p=d.defaultProps,p)v[g]===void 0&&(v[g]=p[g]);return{$$typeof:n,type:d,key:x,ref:m,props:v,_owner:i.current}}return Is.Fragment=t,Is.jsx=u,Is.jsxs=u,Is}dv.exports=r$();var o$=dv.exports,s$=C.createContext(void 0);function a$(){var e=C.useContext(s$);if(!e)throw new Error("useDayPicker must be used within a DayPickerProvider.");return e}C.createContext(void 0);C.forwardRef(function(e,n){var t=a$(),o=t.classNames,i=t.styles,l=[o.button_reset,o.button];e.className&&l.push(e.className);var u=l.join(" "),d=Ks(Ks({},i.button_reset),i.button);return e.style&&Object.assign(d,e.style),o$.jsx("button",Ks({},e,{ref:n,type:"button",className:u,style:d}))});C.createContext(void 0);C.createContext(void 0);var gr;(function(e){e.Outside="outside",e.Disabled="disabled",e.Selected="selected",e.Hidden="hidden",e.Today="today",e.RangeStart="range_start",e.RangeEnd="range_end",e.RangeMiddle="range_middle"})(gr||(gr={}));gr.Selected;gr.Disabled;gr.Hidden;gr.Today;gr.RangeEnd;gr.RangeMiddle;gr.RangeStart;gr.Outside;C.createContext(void 0);C.createContext(void 0);C.createContext(void 0);const i$="data-tree-id",l$="data-tree-folder-trigger",c$="folder",u$="folder-trigger";function $u(e,n){if(e)if(e instanceof Array)for(let t=0;t({...n,children:n.children?fv(n.children):void 0}))}function es(e,n){if(n&&e){!Array.isArray(e)&&(e=[e]);for(const t of e){if(t.id===n)return t;if(t.children){const o=es(t.children,n);if(o)return o}}}}function d$(e,n,t){const o=[];return n&&i(e,n),o;function i(l,u){if(l)if(l instanceof Array)for(let d=0;d({id:u.dataset.treeId,el:u}));if(!i.length)return;if(n.preventDefault(),n.stopPropagation(),!t)return i[0].id;const l=i.findIndex(u=>u.id===t);if(l!==-1)switch(n.key){case"ArrowDown":case"ArrowUp":{const u=n.key==="ArrowDown"?l+1:l-1;if(u>=0&&unew Proxy(e,n);const Eu=Object.getPrototypeOf,Pu=new WeakMap,pv=e=>e&&(Pu.has(e)?Pu.get(e):Eu(e)===Object.prototype||Eu(e)===Array.prototype),Yi=e=>typeof e=="object"&&e!==null,h$=e=>{if(Array.isArray(e))return Array.from(e);const n=Object.getOwnPropertyDescriptors(e);return Object.values(n).forEach(t=>{t.configurable=!0}),Object.create(Eu(e),n)},Sd=e=>e[_d]||e,gv=(e,n,t,o)=>{if(!pv(e))return e;let i=o&&o.get(e);if(!i){const p=Sd(e);i=(f=>Object.values(Object.getOwnPropertyDescriptors(f)).some(g=>!g.configurable&&!g.writable))(p)?[p,h$(p)]:[p],o?.set(e,i)}const[l,u]=i;let d=t&&t.get(l);return d&&d[1].f===!!u||(d=((p,f)=>{const g={f};let v=!1;const x=(S,w)=>{if(!v){let $=g[Ls].get(p);if($||($={},g[Ls].set(p,$)),S===Ys)$[Ys]=!0;else{let _=$[S];_||(_=new Set,$[S]=_),_.add(w)}}},m={get:(S,w)=>w===_d?p:(x("k",w),gv(Reflect.get(S,w),g[Ls],g.c,g.t)),has:(S,w)=>w===p$?(v=!0,g[Ls].delete(p),!0):(x("h",w),Reflect.has(S,w)),getOwnPropertyDescriptor:(S,w)=>(x("o",w),Reflect.getOwnPropertyDescriptor(S,w)),ownKeys:S=>(x(Ys),Reflect.ownKeys(S))};return f&&(m.set=m.deleteProperty=()=>!1),[m,g]})(l,!!u),d[1].p=g$(u||l,d[0]),t&&t.set(l,d)),d[1][Ls]=n,d[1].c=t,d[1].t=o,d[1].p},hv=(e,n,t,o,i=Object.is)=>{if(i(e,n))return!1;if(!Yi(e)||!Yi(n))return!0;const l=t.get(Sd(e));if(!l)return!0;if(o){const d=o.get(e);if(d&&d.n===n)return d.g;o.set(e,{n,g:!1})}let u=null;try{for(const d of l.h||[])if(u=Reflect.has(e,d)!==Reflect.has(n,d),u)return u;if(l[Ys]===!0){if(u=((d,p)=>{const f=Reflect.ownKeys(d),g=Reflect.ownKeys(p);return f.length!==g.length||f.some((v,x)=>v!==g[x])})(e,n),u)return u}else for(const d of l.o||[])if(u=!!Reflect.getOwnPropertyDescriptor(e,d)!=!!Reflect.getOwnPropertyDescriptor(n,d),u)return u;for(const d of l.k||[])if(u=hv(e[d],n[d],t,o,i),u)return u;return u===null&&(u=!0),u}finally{o&&o.set(e,{n,g:u})}},m$=e=>pv(e)&&e[_d]||null,$g=(e,n=!0)=>{Pu.set(e,n)},v$=(e,n,t)=>{const o=[],i=new WeakSet,l=(u,d)=>{if(i.has(u))return;Yi(u)&&i.add(u);const p=Yi(u)&&n.get(Sd(u));if(p){var f,g;if((f=p.h)==null||f.forEach(x=>{const m=`:has(${String(x)})`;o.push(d?[...d,m]:[m])}),p[Ys]===!0){const x=":ownKeys";o.push(d?[...d,x]:[x])}else{var v;(v=p.o)==null||v.forEach(x=>{const m=`:hasOwn(${String(x)})`;o.push(d?[...d,m]:[m])})}(g=p.k)==null||g.forEach(x=>{t&&!("value"in(Object.getOwnPropertyDescriptor(u,x)||{}))||l(u[x],d?[...d,x]:[x])})}else d&&o.push(d)};return l(e),o};var Ji={BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const Uc=e=>typeof e=="object"&&e!==null,to=new WeakMap,wi=new WeakSet,x$=(e=Object.is,n=(f,g)=>new Proxy(f,g),t=f=>Uc(f)&&!wi.has(f)&&(Array.isArray(f)||!(Symbol.iterator in f))&&!(f instanceof WeakMap)&&!(f instanceof WeakSet)&&!(f instanceof Error)&&!(f instanceof Number)&&!(f instanceof Date)&&!(f instanceof String)&&!(f instanceof RegExp)&&!(f instanceof ArrayBuffer),o=f=>{switch(f.status){case"fulfilled":return f.value;case"rejected":throw f.reason;default:throw f}},i=new WeakMap,l=(f,g,v=o)=>{const x=i.get(f);if(x?.[0]===g)return x[1];const m=Array.isArray(f)?[]:Object.create(Object.getPrototypeOf(f));return $g(m,!0),i.set(f,[g,m]),Reflect.ownKeys(f).forEach(S=>{if(Object.getOwnPropertyDescriptor(m,S))return;const w=Reflect.get(f,S),{enumerable:$}=Reflect.getOwnPropertyDescriptor(f,S),_={value:w,enumerable:$,configurable:!0};if(wi.has(w))$g(w,!1);else if(w instanceof Promise)delete _.value,_.get=()=>v(w);else if(to.has(w)){const[y,R]=to.get(w);_.value=l(y,R(),v)}Object.defineProperty(m,S,_)}),Object.preventExtensions(m)},u=new WeakMap,d=[1,1],p=f=>{if(!Uc(f))throw new Error("object required");const g=u.get(f);if(g)return g;let v=d[0];const x=new Set,m=(D,k=++d[0])=>{v!==k&&(v=k,x.forEach(L=>L(D,k)))};let S=d[1];const w=(D=++d[1])=>(S!==D&&!x.size&&(S=D,_.forEach(([k])=>{const L=k[1](D);L>v&&(v=L)})),v),$=D=>(k,L)=>{const F=[...k];F[1]=[D,...F[1]],m(F,L)},_=new Map,y=(D,k)=>{if((Ji?"production":void 0)!=="production"&&_.has(D))throw new Error("prop listener already exists");if(x.size){const L=k[3]($(D));_.set(D,[k,L])}else _.set(D,[k])},R=D=>{var k;const L=_.get(D);L&&(_.delete(D),(k=L[1])==null||k.call(L))},M=D=>(x.add(D),x.size===1&&_.forEach(([L,F],Z)=>{if((Ji?"production":void 0)!=="production"&&F)throw new Error("remove already exists");const V=L[3]($(Z));_.set(Z,[L,V])}),()=>{x.delete(D),x.size===0&&_.forEach(([L,F],Z)=>{F&&(F(),_.set(Z,[L]))})}),E=Array.isArray(f)?[]:Object.create(Object.getPrototypeOf(f)),H=n(E,{deleteProperty(D,k){const L=Reflect.get(D,k);R(k);const F=Reflect.deleteProperty(D,k);return F&&m(["delete",[k],L]),F},set(D,k,L,F){const Z=Reflect.has(D,k),V=Reflect.get(D,k,F);if(Z&&(e(V,L)||u.has(L)&&e(V,u.get(L))))return!0;R(k),Uc(L)&&(L=m$(L)||L);let J=L;if(L instanceof Promise)L.then(de=>{L.status="fulfilled",L.value=de,m(["resolve",[k],de])}).catch(de=>{L.status="rejected",L.reason=de,m(["reject",[k],de])});else{!to.has(L)&&t(L)&&(J=p(L));const de=!wi.has(J)&&to.get(J);de&&y(k,de)}return Reflect.set(D,k,J,F),m(["set",[k],L,V]),!0}});u.set(f,H);const P=[E,w,l,M];return to.set(H,P),Reflect.ownKeys(f).forEach(D=>{const k=Object.getOwnPropertyDescriptor(f,D);"value"in k&&(H[D]=f[D],delete k.value,delete k.writable),Object.defineProperty(E,D,k)}),H})=>[p,to,wi,e,n,t,o,i,l,u,d],[b$]=x$();function _a(e={}){return b$(e)}function hl(e,n,t){const o=to.get(e);(Ji?"production":void 0)!=="production"&&!o&&console.warn("Please use proxy object");let i;const l=[],u=o[3];let d=!1;const f=u(g=>{if(l.push(g),t){n(l.splice(0));return}i||(i=Promise.resolve().then(()=>{i=void 0,d&&n(l.splice(0))}))});return d=!0,()=>{d=!1,f()}}function Eg(e,n){const t=to.get(e);(Ji?"production":void 0)!=="production"&&!t&&console.warn("Please use proxy object");const[o,i,l]=t;return l(o,i(),n)}var mv={exports:{}},vv={};/** * @license React * use-sync-external-store-shim.production.min.js * @@ -64,9 +64,9 @@ import{a as Uu,r as C,G as a,R as G,g as Xu,b as zh,c as $C,P as EC,H as Yo,I as * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var ss=C;function m$(e,n){return e===n&&(e!==0||1/e===1/n)||e!==e&&n!==n}var v$=typeof Object.is=="function"?Object.is:m$,x$=ss.useState,b$=ss.useEffect,y$=ss.useLayoutEffect,w$=ss.useDebugValue;function _$(e,n){var t=n(),o=x$({inst:{value:t,getSnapshot:n}}),i=o[0].inst,l=o[1];return y$(function(){i.value=t,i.getSnapshot=n,Gc(i)&&l({inst:i})},[e,t,n]),b$(function(){return Gc(i)&&l({inst:i}),e(function(){Gc(i)&&l({inst:i})})},[e]),w$(t),t}function Gc(e){var n=e.getSnapshot;e=e.value;try{var t=n();return!v$(e,t)}catch{return!0}}function S$(e,n){return n()}var C$=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?S$:_$;fv.useSyncExternalStore=ss.useSyncExternalStore!==void 0?ss.useSyncExternalStore:C$;dv.exports=fv;var j$=dv.exports;const N$=Xu(j$);var R$={BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const{use:Ng}=G,{useSyncExternalStore:$$}=N$,E$=(e,n)=>{const t=C.useRef();C.useEffect(()=>{t.current=p$(e,n,!0)}),C.useDebugValue(t.current)},P$=new WeakMap;function Tr(e,n){const t=n?.sync,o=C.useRef(),i=C.useRef();let l=!0;const u=$$(C.useCallback(f=>{const g=fl(e,f,t);return f(),g},[e,t]),()=>{const f=jg(e,Ng);try{if(!l&&o.current&&i.current&&!uv(o.current,f,i.current,new WeakMap))return o.current}catch{}return f},()=>jg(e,Ng));l=!1;const d=new WeakMap;C.useEffect(()=>{o.current=u,i.current=d}),(R$?"production":void 0)!=="production"&&E$(u,d);const p=C.useMemo(()=>new WeakMap,[]);return cv(u,d,p,P$)}function A$(e,n){var t=C.useRef(null),o=C.useRef(null);o.current=n;var i=C.useRef(null);C.useEffect(function(){l()});var l=C.useCallback(function(){var u=i.current,d=o.current,p=u||(d?d instanceof Element?d:d.current:null);t.current&&t.current.element===p&&t.current.subscriber===e||(t.current&&t.current.cleanup&&t.current.cleanup(),t.current={element:p,subscriber:e,cleanup:p?e(p):void 0})},[e]);return C.useEffect(function(){return function(){t.current&&t.current.cleanup&&(t.current.cleanup(),t.current=null)}},[]),C.useCallback(function(u){i.current=u,l()},[l])}function Rg(e,n,t){return e[n]?e[n][0]?e[n][0][t]:e[n][t]:n==="contentBoxSize"?e.contentRect[t==="inlineSize"?"width":"height"]:void 0}function M$(e){e===void 0&&(e={});var n=e.onResize,t=C.useRef(void 0);t.current=n;var o=e.round||Math.round,i=C.useRef(),l=C.useState({width:void 0,height:void 0}),u=l[0],d=l[1],p=C.useRef(!1);C.useEffect(function(){return p.current=!1,function(){p.current=!0}},[]);var f=C.useRef({width:void 0,height:void 0}),g=A$(C.useCallback(function(v){return(!i.current||i.current.box!==e.box||i.current.round!==o)&&(i.current={box:e.box,round:o,instance:new ResizeObserver(function(x){var m=x[0],S=e.box==="border-box"?"borderBoxSize":e.box==="device-pixel-content-box"?"devicePixelContentBoxSize":"contentBoxSize",w=Rg(m,S,"inlineSize"),$=Rg(m,S,"blockSize"),_=w?o(w):void 0,y=$?o($):void 0;if(f.current.width!==_||f.current.height!==y){var R={width:_,height:y};f.current.width=_,f.current.height=y,t.current?t.current(R):p.current||d(R)}})}),i.current.instance.observe(v,{box:e.box}),function(){i.current&&i.current.instance.unobserve(v)}},[e.box,o]),e.ref);return C.useMemo(function(){return{ref:g,width:u.width,height:u.height}},[g,u.width,u.height])}const D$="px-2 before:absolute before:left-0 before:w-full before:h-[1.75rem] before:bg-muted/80 before:opacity-0 hover:before:opacity-100 before:-z-10 ",T$="text-accent-foreground dark:before:border-0 before:bg-accent before:opacity-100 before:border-l-2 before:border-l-accent-foreground/50 ",I$="shrink-0 mr-2 w-4 h-4 text-accent-foreground/50",k$="px-2 py-1 r1elative before:absolute before:left-0 before:right-1 before:w-full before:h-[1.75rem] before:bg-muted/80 before:opacity-0 hover:before:opacity-100 before:-z-10 cursor-pointer flex items-center ",L$="text-accent-foreground dark:before:border-0 before:bg-accent before:opacity-100 before:border-l-2 before:border-l-accent-foreground/50 ",F$="shrink-0 mr-2 w-4 h-4 text-accent-foreground/50",O$=C.forwardRef(({data:e,initialSelectedItemId:n,onSelectChange:t,expandAll:o,IconForFolder:i,IconForItem:l,arrowFirst:u,hideFolderIcon:d,className:p,...f},g)=>{const[v]=C.useState(()=>_a({selectedId:void 0})),x=C.useMemo(()=>{const y=i$(e,n,o),R=es(e,v.selectedId);R&&(R.state.selected=!1);const M=es(e,y[y.length-1]);return M&&(M.state.selected=!0,v.selectedId=M.id),y},[e,n,o]),m=C.useCallback((y,R)=>{if(y.stopPropagation(),v.selectedId){const M=es(e,v.selectedId);M&&(M.state.selected=!1)}R?(R.state.selected=!R.state.selected,v.selectedId=R.id):v.selectedId=void 0,t?.(R)},[v,t]),S=C.useRef(null),{ref:w,width:$,height:_}=M$();return a.jsx("div",{ref:y=>{w(y),S.current=y},className:X("_overflow-hidden",p),tabIndex:0,onKeyDown:y=>{const R=l$(S.current,y,v.selectedId);R&&m(y,es(e,R))},children:a.jsx(cl,{className:"tree-scroll",style:{width:$,height:_},onClick:y=>m(y,void 0),children:a.jsx("div",{className:"relative z-0 px-2 py-1",children:a.jsx(pv,{ref:g,data:e,handleSelectChange:m,expandedItemIds:x,IconForFolder:i,IconForItem:l,arrowFirst:u,hideFolderIcon:d,...f})})})})}),pv=C.forwardRef(({className:e,data:n,handleSelectChange:t,expandedItemIds:o,IconForFolder:i,IconForItem:l,arrowFirst:u,hideFolderIcon:d,...p},f)=>a.jsx("div",{ref:f,role:"tree",className:e,...p,children:a.jsx("ul",{children:n instanceof Array?n.map(g=>a.jsx("li",{children:g.children?a.jsx(Bm,{type:"multiple",defaultValue:o,children:a.jsxs(Om,{value:g.id,"data-tree-id":g.id,"data-tree-folder":s$,children:[a.jsx(gv,{item:g,Icon:i,arrowFirst:u,hideFolderIcon:d,onClick:v=>t(v,g)}),a.jsx(mv,{className:"pl-6",children:a.jsx(pv,{data:g.children,handleSelectChange:t,expandedItemIds:o,IconForFolder:i,IconForItem:l,arrowFirst:u,hideFolderIcon:d})})]})}):a.jsx(Ru,{item:g,onClick:v=>t(v,g),Icon:l})},g.id)):a.jsx("li",{children:a.jsx(Ru,{item:n,onClick:g=>t(g,n),Icon:l})})})})),Ru=C.forwardRef(({className:e,item:n,Icon:t,...o},i)=>{const{selected:l}=Tr(n.state);return a.jsx("div",{ref:i,className:X(k$,e,l&&L$),"data-tree-id":n.id,...o,children:a.jsx(vv,{item:n,Icon:t,classes:F$,hideFolderIcon:!1})})});Ru.displayName="Tree.Leaf";const gv=C.forwardRef(({className:e,item:n,Icon:t,arrowFirst:o=!0,hideFolderIcon:i,...l},u)=>{const{selected:d}=Tr(n.state);return a.jsx(hv,{className:X(D$,d&&T$),"data-tree-folder-trigger":a$,arrowFirst:o,ref:u,...l,children:a.jsx(vv,{item:n,Icon:t,hideFolderIcon:i,classes:I$})})});gv.displayName="Tree.Folder";const hv=C.forwardRef(({className:e,children:n,arrowFirst:t,...o},i)=>{const l=a.jsx(t5,{className:_t("shrink-0 ml-auto h-4 w-4 text-accent-foreground/50 transition-transform duration-200",t&&"mr-2")});return a.jsx(zm,{children:a.jsx(td,{asChild:!0,className:X("flex-1 py-1 w-full transition-all outline-none cursor-pointer flex items-center",t?"first:[&[data-state=open]>svg]:rotate-90":"last:[&[data-state=open]>svg]:rotate-90",e),ref:i,...o,children:a.jsxs("div",{children:[t&&a.jsx(a.Fragment,{children:l}),n,!t&&a.jsx(a.Fragment,{children:l})]})})})});hv.displayName="Tree.Folder.Trigger";const mv=C.forwardRef(({className:e,children:n,...t},o)=>a.jsx(nd,{ref:o,className:X("text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down transition-all overflow-hidden",e),...t,children:a.jsx("div",{children:n})}));mv.displayName="Tree.Folder.Content";function vv({item:e,Icon:n,classes:t,hideFolderIcon:o}){return a.jsxs(a.Fragment,{children:[e.icon&&a.jsx(e.icon,{className:t,"aria-hidden":"true"}),!e.icon&&n&&!o&&a.jsx(n,{className:t,"aria-hidden":"true"}),a.jsx("span",{className:"flex-grow text-sm truncate",children:e.name})]})}function xv(e,n,t=""){if(!n)return e;const o={...e};for(const i in n){const l=n[i];if(l==null)continue;const u=o[i];if(u==null){o[i]=l;continue}if(Array.isArray(u)||Array.isArray(l)){o[i]=[...Eg(u??[]),...Eg(l??[])];continue}if($g(u)&&$g(l)){o[i]=xv(u,l,t?`${t}.${i}`:i);continue}o[i]=l}return o}function $g(e){return Object.prototype.toString.call(e)==="[object Object]"}function Eg(e){return Array.isArray(e)?e:[e]}const z$={splitterPos:30,arrowFirst:!0,hideFolderIcon:!0},B$={positions:{}},H$={positions:[],animate:!0,strokeWidth:2,path:"smooth",boxes:[]};function V$(e){e.boxes.length||(e.boxes=[{id:sa.asRelativeNumber(),label:"elem1",x:0,y:0},{id:sa.asRelativeNumber(),label:"elem2",x:140,y:160}])}const G$={activeDemoAccordion:"60"},Pg={theme:"light",demosState:G$,treeState:z$,resisablesState:B$,xArrowsState:H$},bv="shadcn-tv-app-settings",lt=_a(W$());function W$(){const e=localStorage.getItem(bv);let n=Pg;if(e)try{n=JSON.parse(e)}catch{}const t=xv(Pg,n);return V$(t.xArrowsState),t}v0(lt.theme);fl(lt,()=>{v0(lt.theme)});const U$=m0(()=>localStorage.setItem(bv,JSON.stringify(lt)),400);fl(lt,U$);function X$({className:e,title:n,...t}){return a.jsxs("svg",{className:_t("fill-none stroke-[1.5] stroke-current",e),viewBox:"0 0 24 24",...t,children:[n&&a.jsx("title",{children:n}),a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 3v2.25m6.364.386l-1.591 1.591M21 12h-2.25m-.386 6.364l-1.591-1.591M12 18.75V21m-4.773-4.227l-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 11-7.5 0 3.75 3.75 0 017.5 0z"})]})}function q$({className:e,title:n,...t}){return a.jsxs("svg",{className:_t("fill-none stroke-[1.5] stroke-current",e),viewBox:"0 0 24 24",...t,children:[n&&a.jsx("title",{children:n}),a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z"})]})}function K$({className:e,title:n,...t}){return a.jsxs("svg",{className:_t("fill-none stroke-[1.5] stroke-current",e),viewBox:"0 0 24 24",strokeLinecap:"round",strokeLinejoin:"round",...t,children:[n&&a.jsx("title",{children:n}),a.jsx("path",{d:"M12 8a2.83 2.83 0 0 0 4 4 4 4 0 1 1-4-4"}),a.jsx("path",{d:"M12 2v2"}),a.jsx("path",{d:"M12 20v2"}),a.jsx("path",{d:"m4.9 4.9 1.4 1.4"}),a.jsx("path",{d:"m17.7 17.7 1.4 1.4"}),a.jsx("path",{d:"M2 12h2"}),a.jsx("path",{d:"M20 12h2"}),a.jsx("path",{d:"m6.3 17.7-1.4 1.4"}),a.jsx("path",{d:"m19.1 4.9-1.4 1.4"})]})}function Y$({title:e,...n}){return a.jsxs("svg",{viewBox:"0 0 21 21",strokeLinecap:"round",fill:"none",stroke:"currentColor",strokeWidth:1.2,...n,children:[e&&a.jsx("title",{children:e}),a.jsx("path",{d:"M4.5 6.5h12"}),a.jsx("path",{d:"M4.498 10.5h11.997"}),a.jsx("path",{d:"M4.5 14.5h11.995"})]})}function J$({title:e,...n}){return a.jsxs("svg",{viewBox:"0 0 422 422",strokeLinecap:"round",fill:"none",stroke:"currentColor",strokeWidth:1.2,...n,children:[e&&a.jsx("title",{children:e}),a.jsx("path",{d:"M364.35 116.86h-32.97v-27a8 8 0 0 0-8-8h-22V8a8 8 0 0 0-8-8h-215a8 8 0 0 0-8 8v73.86h-22a8 8 0 0 0-8 8v27h-13.3a8 8 0 0 0 0 16h13.3v27a8 8 0 0 0 8 8h22V293a8 8 0 0 0 8 8h44.5v13a8 8 0 0 0 8 8h17v92a8 8 0 0 0 8 8h60a8 8 0 0 0 8-8v-92h17a8 8 0 0 0 8-8v-13h44.5a8 8 0 0 0 8-8v-64.05l69.28-11.48a38.45 38.45 0 0 0 32.26-38.06v-23.98a38.62 38.62 0 0 0-38.57-38.57zM86.38 16h199v65.86h-199V16zm121.5 390h-44v-84h44v84zm25-100h-94v-24h94v24zm52.5-21h-36.5v-11a8 8 0 0 0-8-8h-47v-.08a22.5 22.5 0 0 1 18.88-22.27l72.62-12.04V285zm0-69.61-75.23 12.48a38.45 38.45 0 0 0-32.27 38.05v.08h-47a8 8 0 0 0-8 8v11h-36.5V167.86h27.7v69.64a8 8 0 0 0 16 0v-69.64h39V201a8 8 0 0 0 16 0v-33.14h100.3v47.53zm-229-63.53v-54h259v54h-259zm330.54 27.55a22.5 22.5 0 0 1-18.88 22.27l-66.66 11.06v-44.88h22a8 8 0 0 0 8-8v-27h32.97a22.6 22.6 0 0 1 22.57 22.57v23.98z"})]})}function Wc({label:e,theme:n,current:t}){return a.jsxs(qs,{className:"grid grid-cols-[16px,1fr] items-center gap-x-2",onClick:()=>lt.theme=n,children:[t===n&&a.jsx(QR,{className:"size-4"}),a.jsx("div",{className:"col-start-2",children:e})]})}function Z$(){const{theme:e}=Tr(lt),n=e==="dark",t=e==="system",o=!n&&!t;return a.jsxs("div",{className:"focus-within:ring-1 focus-within:ring-ring rounded-md flex items-center",children:[a.jsxs(dt,{variant:"ghost",size:"xs",tabIndex:-1,className:"py-0 border-y border-l border-input rounded-r-none",onClick:()=>lt.theme=lt.theme==="dark"?"light":"dark",children:[t&&a.jsx(K$,{className:"size-4"}),o&&a.jsx(X$,{className:"size-4"}),n&&a.jsx(q$,{className:"size-4 p-0.5"})]}),a.jsxs(sd,{children:[a.jsx(ad,{asChild:!0,children:a.jsx(dt,{variant:"ghost",size:"xs",className:"px-1 py-0 border border-input rounded-l-none focus-visible:ring-0",children:a.jsx(e5,{className:"size-3"})})}),a.jsxs(al,{align:"end",children:[a.jsx(Wc,{label:"Light",theme:"light",current:e}),a.jsx(Wc,{label:"Dark",theme:"dark",current:e}),a.jsx(Wc,{label:"System",theme:"system",current:e})]})]})]})}const Q$={theme:"system",setTheme:()=>null};C.createContext(Q$);const{createElement:as,createContext:eE,createRef:bI,forwardRef:yv,useCallback:Rn,useContext:wv,useEffect:No,useImperativeHandle:_v,useLayoutEffect:tE,useMemo:nE,useRef:mn,useState:Js}=zh,Ag=zh.useId,rE=tE,pl=eE(null);pl.displayName="PanelGroupContext";const Ro=rE,oE=typeof Ag=="function"?Ag:()=>null;let sE=0;function yd(e=null){const n=oE(),t=mn(e||n||null);return t.current===null&&(t.current=""+sE++),e??t.current}function Sv({children:e,className:n="",collapsedSize:t,collapsible:o,defaultSize:i,forwardedRef:l,id:u,maxSize:d,minSize:p,onCollapse:f,onExpand:g,onResize:v,order:x,style:m,tagName:S="div",...w}){const $=wv(pl);if($===null)throw Error("Panel components must be rendered within a PanelGroup container");const{collapsePanel:_,expandPanel:y,getPanelSize:R,getPanelStyle:M,groupId:E,isPanelCollapsed:k,reevaluatePanelConstraints:H,registerPanel:P,resizePanel:D,unregisterPanel:I}=$,L=yd(u),F=mn({callbacks:{onCollapse:f,onExpand:g,onResize:v},constraints:{collapsedSize:t,collapsible:o,defaultSize:i,maxSize:d,minSize:p},id:L,idIsFromProps:u!==void 0,order:x});mn({didLogMissingDefaultSizeWarning:!1}),Ro(()=>{const{callbacks:V,constraints:J}=F.current,de={...J};F.current.id=L,F.current.idIsFromProps=u!==void 0,F.current.order=x,V.onCollapse=f,V.onExpand=g,V.onResize=v,J.collapsedSize=t,J.collapsible=o,J.defaultSize=i,J.maxSize=d,J.minSize=p,(de.collapsedSize!==J.collapsedSize||de.collapsible!==J.collapsible||de.maxSize!==J.maxSize||de.minSize!==J.minSize)&&H(F.current,de)}),Ro(()=>{const V=F.current;return P(V),()=>{I(V)}},[x,L,P,I]),_v(l,()=>({collapse:()=>{_(F.current)},expand:()=>{y(F.current)},getId(){return L},getSize(){return R(F.current)},isCollapsed(){return k(F.current)},isExpanded(){return!k(F.current)},resize:V=>{D(F.current,V)}}),[_,y,R,k,L,D]);const Z=M(F.current,i);return as(S,{...w,children:e,className:n,id:u,style:{...Z,...m},"data-panel":"","data-panel-collapsible":o||void 0,"data-panel-group-id":E,"data-panel-id":L,"data-panel-size":parseFloat(""+Z.flexGrow).toFixed(1)})}const Cv=yv((e,n)=>as(Sv,{...e,forwardedRef:n}));Sv.displayName="Panel";Cv.displayName="forwardRef(Panel)";let $u=null,So=null;function aE(e,n){if(n){const t=(n&Ev)!==0,o=(n&Pv)!==0,i=(n&Av)!==0,l=(n&Mv)!==0;if(t)return i?"se-resize":l?"ne-resize":"e-resize";if(o)return i?"sw-resize":l?"nw-resize":"w-resize";if(i)return"s-resize";if(l)return"n-resize"}switch(e){case"horizontal":return"ew-resize";case"intersection":return"move";case"vertical":return"ns-resize"}}function iE(){So!==null&&(document.head.removeChild(So),$u=null,So=null)}function Uc(e,n){const t=aE(e,n);$u!==t&&($u=t,So===null&&(So=document.createElement("style"),document.head.appendChild(So)),So.innerHTML=`*{cursor: ${t}!important;}`)}function jv(e){return e.type==="keydown"}function Nv(e){return e.type.startsWith("mouse")}function Rv(e){return e.type.startsWith("touch")}function gl(e){if(Nv(e))return{x:e.clientX,y:e.clientY};if(Rv(e)){const n=e.touches[0];if(n&&n.clientX&&n.clientY)return{x:n.clientX,y:n.clientY}}return{x:1/0,y:1/0}}function lE(){if(typeof matchMedia=="function")return matchMedia("(pointer:coarse)").matches?"coarse":"fine"}function cE(e,n,t){return t?e.xn.x&&e.yn.y:e.x<=n.x+n.width&&e.x+e.width>=n.x&&e.y<=n.y+n.height&&e.y+e.height>=n.y}function uE(e,n){if(e===n)throw new Error("Cannot compare node with itself");const t={a:Tg(e),b:Tg(n)};let o;for(;t.a.at(-1)===t.b.at(-1);)e=t.a.pop(),n=t.b.pop(),o=e;Ge(o,"Stacking order can only be calculated for elements with a common ancestor");const i={a:Dg(Mg(t.a)),b:Dg(Mg(t.b))};if(i.a===i.b){const l=o.childNodes,u={a:t.a.at(-1),b:t.b.at(-1)};let d=l.length;for(;d--;){const p=l[d];if(p===u.a)return 1;if(p===u.b)return-1}}return Math.sign(i.a-i.b)}const dE=/\b(?:position|zIndex|opacity|transform|webkitTransform|mixBlendMode|filter|webkitFilter|isolation)\b/;function fE(e){const n=getComputedStyle($v(e)).display;return n==="flex"||n==="inline-flex"}function pE(e){const n=getComputedStyle(e);return!!(n.position==="fixed"||n.zIndex!=="auto"&&(n.position!=="static"||fE(e))||+n.opacity<1||"transform"in n&&n.transform!=="none"||"webkitTransform"in n&&n.webkitTransform!=="none"||"mixBlendMode"in n&&n.mixBlendMode!=="normal"||"filter"in n&&n.filter!=="none"||"webkitFilter"in n&&n.webkitFilter!=="none"||"isolation"in n&&n.isolation==="isolate"||dE.test(n.willChange)||n.webkitOverflowScrolling==="touch")}function Mg(e){let n=e.length;for(;n--;){const t=e[n];if(Ge(t,"Missing node"),pE(t))return t}return null}function Dg(e){return e&&Number(getComputedStyle(e).zIndex)||0}function Tg(e){const n=[];for(;e;)n.push(e),e=$v(e);return n}function $v(e){var n;return((n=e.parentNode)===null||n===void 0?void 0:n.host)||e.parentNode}const Ev=1,Pv=2,Av=4,Mv=8,gE=lE()==="coarse";let ro=[],hl=!1,eo=new Map,ml=new Map;const ia=new Set;function hE(e,n,t,o,i){var l;const{ownerDocument:u}=n,d={direction:t,element:n,hitAreaMargins:o,setResizeHandlerState:i},p=(l=eo.get(u))!==null&&l!==void 0?l:0;return eo.set(u,p+1),ia.add(d),Yi(),function(){var g;ml.delete(e),ia.delete(d);const v=(g=eo.get(u))!==null&&g!==void 0?g:1;eo.set(u,v-1),Yi(),v===1&&eo.delete(u)}}function _i(e){const{target:n}=e,{x:t,y:o}=gl(e);hl=!0,wd({target:n,x:t,y:o}),Yi(),ro.length>0&&(_d("down",e),e.preventDefault())}function Ur(e){const{x:n,y:t}=gl(e);if(!hl){const{target:o}=e;wd({target:o,x:n,y:t})}_d("move",e),Dv(),ro.length>0&&e.preventDefault()}function Xr(e){const{target:n}=e,{x:t,y:o}=gl(e);ml.clear(),hl=!1,ro.length>0&&e.preventDefault(),_d("up",e),wd({target:n,x:t,y:o}),Dv(),Yi()}function wd({target:e,x:n,y:t}){ro.splice(0);let o=null;e instanceof HTMLElement&&(o=e),ia.forEach(i=>{const{element:l,hitAreaMargins:u}=i,d=l.getBoundingClientRect(),{bottom:p,left:f,right:g,top:v}=d,x=gE?u.coarse:u.fine;if(n>=f-x&&n<=g+x&&t>=v-x&&t<=p+x){if(o!==null&&l!==o&&!l.contains(o)&&!o.contains(l)&&uE(o,l)>0){let S=o,w=!1;for(;S&&!S.contains(l);){if(cE(S.getBoundingClientRect(),d,!0)){w=!0;break}S=S.parentElement}if(w)return}ro.push(i)}})}function Xc(e,n){ml.set(e,n)}function Dv(){let e=!1,n=!1;ro.forEach(o=>{const{direction:i}=o;i==="horizontal"?e=!0:n=!0});let t=0;ml.forEach(o=>{t|=o}),e&&n?Uc("intersection",t):e?Uc("horizontal",t):n?Uc("vertical",t):iE()}function Yi(){eo.forEach((e,n)=>{const{body:t}=n;t.removeEventListener("contextmenu",Xr),t.removeEventListener("mousedown",_i),t.removeEventListener("mouseleave",Ur),t.removeEventListener("mousemove",Ur),t.removeEventListener("touchmove",Ur),t.removeEventListener("touchstart",_i)}),window.removeEventListener("mouseup",Xr),window.removeEventListener("touchcancel",Xr),window.removeEventListener("touchend",Xr),ia.size>0&&(hl?(ro.length>0&&eo.forEach((e,n)=>{const{body:t}=n;e>0&&(t.addEventListener("contextmenu",Xr),t.addEventListener("mouseleave",Ur),t.addEventListener("mousemove",Ur),t.addEventListener("touchmove",Ur,{passive:!1}))}),window.addEventListener("mouseup",Xr),window.addEventListener("touchcancel",Xr),window.addEventListener("touchend",Xr)):eo.forEach((e,n)=>{const{body:t}=n;e>0&&(t.addEventListener("mousedown",_i),t.addEventListener("mousemove",Ur),t.addEventListener("touchmove",Ur,{passive:!1}),t.addEventListener("touchstart",_i))}))}function _d(e,n){ia.forEach(t=>{const{setResizeHandlerState:o}=t,i=ro.includes(t);o(e,i,n)})}function Ge(e,n){if(!e)throw console.error(n),Error(n)}const Tv=10;function la(e,n,t=Tv){e=parseFloat(e.toFixed(t)),n=parseFloat(n.toFixed(t));const o=e-n;return o===0?0:o>0?1:-1}function En(e,n,t){return la(e,n,t)===0}function ts({panelConstraints:e,panelIndex:n,size:t}){const o=e[n];Ge(o!=null,`Panel constraints not found for index ${n}`);let{collapsedSize:i=0,collapsible:l,maxSize:u=100,minSize:d=0}=o;if(la(t,d)<0)if(l){const p=(i+d)/2;la(t,p)<0?t=i:t=d}else t=d;return t=Math.min(u,t),t=parseFloat(t.toFixed(Tv)),t}function Hs({delta:e,layout:n,panelConstraints:t,pivotIndices:o,trigger:i}){if(En(e,0))return n;const l=[...n],[u,d]=o;Ge(u!=null,"Invalid first pivot index"),Ge(d!=null,"Invalid second pivot index");let p=0;if(i==="keyboard"){{const g=e<0?d:u,v=t[g];Ge(v,`Panel constraints not found for index ${g}`);const{collapsedSize:x=0,collapsible:m,minSize:S=0}=v;if(m){const w=n[g];if(Ge(w!=null,`Previous layout not found for panel index ${g}`),En(w,x)){const $=S-w;la($,Math.abs(e))>0&&(e=e<0?0-$:$)}}}{const g=e<0?u:d,v=t[g];Ge(v,`No panel constraints found for index ${g}`);const{collapsedSize:x=0,collapsible:m,minSize:S=0}=v;if(m){const w=n[g];if(Ge(w!=null,`Previous layout not found for panel index ${g}`),En(w,S)){const $=w-x;la($,Math.abs(e))>0&&(e=e<0?0-$:$)}}}}{const g=e<0?1:-1;let v=e<0?d:u,x=0;for(;;){const S=n[v];Ge(S!=null,`Previous layout not found for panel index ${v}`);const $=ts({panelConstraints:t,panelIndex:v,size:100})-S;if(x+=$,v+=g,v<0||v>=t.length)break}const m=Math.min(Math.abs(e),Math.abs(x));e=e<0?0-m:m}{let v=e<0?u:d;for(;v>=0&&v=0))break;e<0?v--:v++}}if(En(p,0))return n;{const g=e<0?d:u,v=n[g];Ge(v!=null,`Previous layout not found for panel index ${g}`);const x=v+p,m=ts({panelConstraints:t,panelIndex:g,size:x});if(l[g]=m,!En(m,x)){let S=x-m,$=e<0?d:u;for(;$>=0&&$0?$--:$++}}}const f=l.reduce((g,v)=>v+g,0);return En(f,100)?l:n}function mE({layout:e,panelsArray:n,pivotIndices:t}){let o=0,i=100,l=0,u=0;const d=t[0];Ge(d!=null,"No pivot index found"),n.forEach((v,x)=>{const{constraints:m}=v,{maxSize:S=100,minSize:w=0}=m;x===d?(o=w,i=S):(l+=w,u+=S)});const p=Math.min(i,100-l),f=Math.max(o,100-u),g=e[d];return{valueMax:p,valueMin:f,valueNow:g}}function ca(e,n=document){return Array.from(n.querySelectorAll(`[data-panel-resize-handle-id][data-panel-group-id="${e}"]`))}function Iv(e,n,t=document){const i=ca(e,t).findIndex(l=>l.getAttribute("data-panel-resize-handle-id")===n);return i??null}function kv(e,n,t){const o=Iv(e,n,t);return o!=null?[o,o+1]:[-1,-1]}function Lv(e,n=document){var t;if(n instanceof HTMLElement&&(n==null||(t=n.dataset)===null||t===void 0?void 0:t.panelGroupId)==e)return n;const o=n.querySelector(`[data-panel-group][data-panel-group-id="${e}"]`);return o||null}function vl(e,n=document){const t=n.querySelector(`[data-panel-resize-handle-id="${e}"]`);return t||null}function vE(e,n,t,o=document){var i,l,u,d;const p=vl(n,o),f=ca(e,o),g=p?f.indexOf(p):-1,v=(i=(l=t[g])===null||l===void 0?void 0:l.id)!==null&&i!==void 0?i:null,x=(u=(d=t[g+1])===null||d===void 0?void 0:d.id)!==null&&u!==void 0?u:null;return[v,x]}function xE({committedValuesRef:e,eagerValuesRef:n,groupId:t,layout:o,panelDataArray:i,panelGroupElement:l,setLayout:u}){mn({didWarnAboutMissingResizeHandle:!1}),Ro(()=>{if(!l)return;const d=ca(t,l);for(let p=0;p{d.forEach((p,f)=>{p.removeAttribute("aria-controls"),p.removeAttribute("aria-valuemax"),p.removeAttribute("aria-valuemin"),p.removeAttribute("aria-valuenow")})}},[t,o,i,l]),No(()=>{if(!l)return;const d=n.current;Ge(d,"Eager values not found");const{panelDataArray:p}=d,f=Lv(t,l);Ge(f!=null,`No group found for id "${t}"`);const g=ca(t,l);Ge(g,`No resize handles found for group id "${t}"`);const v=g.map(x=>{const m=x.getAttribute("data-panel-resize-handle-id");Ge(m,"Resize handle element has no handle id attribute");const[S,w]=vE(t,m,p,l);if(S==null||w==null)return()=>{};const $=_=>{if(!_.defaultPrevented)switch(_.key){case"Enter":{_.preventDefault();const y=p.findIndex(R=>R.id===S);if(y>=0){const R=p[y];Ge(R,`No panel data found for index ${y}`);const M=o[y],{collapsedSize:E=0,collapsible:k,minSize:H=0}=R.constraints;if(M!=null&&k){const P=Hs({delta:En(M,E)?H-E:E-M,layout:o,panelConstraints:p.map(D=>D.constraints),pivotIndices:kv(t,m,l),trigger:"keyboard"});o!==P&&u(P)}}break}}};return x.addEventListener("keydown",$),()=>{x.removeEventListener("keydown",$)}});return()=>{v.forEach(x=>x())}},[l,e,n,t,o,i,u])}function Ig(e,n){if(e.length!==n.length)return!1;for(let t=0;tl.constraints);let o=0,i=100;for(let l=0;l{const l=e[i];Ge(l,`Panel data not found for index ${i}`);const{callbacks:u,constraints:d,id:p}=l,{collapsedSize:f=0,collapsible:g}=d,v=t[p];if(v==null||o!==v){t[p]=o;const{onCollapse:x,onExpand:m,onResize:S}=u;S&&S(o,v),g&&(x||m)&&(m&&(v==null||v===f)&&o!==f&&m(),x&&(v==null||v!==f)&&o===f&&x())}})}function Si(e,n){if(e.length!==n.length)return!1;for(let t=0;t{t!==null&&clearTimeout(t),t=setTimeout(()=>{e(...i)},n)}}function kg(e){try{if(typeof localStorage<"u")e.getItem=n=>localStorage.getItem(n),e.setItem=(n,t)=>{localStorage.setItem(n,t)};else throw new Error("localStorage not supported in this environment")}catch(n){console.error(n),e.getItem=()=>null,e.setItem=()=>{}}}function Ov(e){return`react-resizable-panels:${e}`}function zv(e){return e.map(n=>{const{constraints:t,id:o,idIsFromProps:i,order:l}=n;return i?o:l?`${l}:${JSON.stringify(t)}`:JSON.stringify(t)}).sort((n,t)=>n.localeCompare(t)).join(",")}function Bv(e,n){try{const t=Ov(e),o=n.getItem(t);if(o){const i=JSON.parse(o);if(typeof i=="object"&&i!=null)return i}}catch{}return null}function CE(e,n,t){var o,i;const l=(o=Bv(e,t))!==null&&o!==void 0?o:{},u=zv(n);return(i=l[u])!==null&&i!==void 0?i:null}function jE(e,n,t,o,i){var l;const u=Ov(e),d=zv(n),p=(l=Bv(e,i))!==null&&l!==void 0?l:{};p[d]={expandToSizes:Object.fromEntries(t.entries()),layout:o};try{i.setItem(u,JSON.stringify(p))}catch(f){console.error(f)}}function Lg({layout:e,panelConstraints:n}){const t=[...e],o=t.reduce((l,u)=>l+u,0);if(t.length!==n.length)throw Error(`Invalid ${n.length} panel layout: ${t.map(l=>`${l}%`).join(", ")}`);if(!En(o,100))for(let l=0;l(kg(Vs),Vs.getItem(e)),setItem:(e,n)=>{kg(Vs),Vs.setItem(e,n)}},Fg={};function Hv({autoSaveId:e=null,children:n,className:t="",direction:o,forwardedRef:i,id:l=null,onLayout:u=null,keyboardResizeBy:d=null,storage:p=Vs,style:f,tagName:g="div",...v}){const x=yd(l),m=mn(null),[S,w]=Js(null),[$,_]=Js([]),y=mn({}),R=mn(new Map),M=mn(0),E=mn({autoSaveId:e,direction:o,dragState:S,id:x,keyboardResizeBy:d,onLayout:u,storage:p}),k=mn({layout:$,panelDataArray:[],panelDataArrayChanged:!1});mn({didLogIdAndOrderWarning:!1,didLogPanelConstraintsWarning:!1,prevPanelIds:[]}),_v(i,()=>({getId:()=>E.current.id,getLayout:()=>{const{layout:U}=k.current;return U},setLayout:U=>{const{onLayout:q}=E.current,{layout:ie,panelDataArray:pe}=k.current,Y=Lg({layout:U,panelConstraints:pe.map(be=>be.constraints)});Ig(ie,Y)||(_(Y),k.current.layout=Y,q&&q(Y),qo(pe,Y,y.current))}}),[]),Ro(()=>{E.current.autoSaveId=e,E.current.direction=o,E.current.dragState=S,E.current.id=x,E.current.onLayout=u,E.current.storage=p}),xE({committedValuesRef:E,eagerValuesRef:k,groupId:x,layout:$,panelDataArray:k.current.panelDataArray,setLayout:_,panelGroupElement:m.current}),No(()=>{const{panelDataArray:U}=k.current;if(e){if($.length===0||$.length!==U.length)return;let q=Fg[e];q==null&&(q=SE(jE,NE),Fg[e]=q);const ie=[...U],pe=new Map(R.current);q(e,ie,pe,$,p)}},[e,$,p]),No(()=>{});const H=Rn(U=>{const{onLayout:q}=E.current,{layout:ie,panelDataArray:pe}=k.current;if(U.constraints.collapsible){const Y=pe.map(fe=>fe.constraints),{collapsedSize:be=0,panelSize:B,pivotIndices:se}=yo(pe,U,ie);if(Ge(B!=null,`Panel size not found for panel "${U.id}"`),B!==be){R.current.set(U.id,B);const le=Zo(pe,U)===pe.length-1?B-be:be-B,oe=Hs({delta:le,layout:ie,panelConstraints:Y,pivotIndices:se,trigger:"imperative-api"});Si(ie,oe)||(_(oe),k.current.layout=oe,q&&q(oe),qo(pe,oe,y.current))}}},[]),P=Rn(U=>{const{onLayout:q}=E.current,{layout:ie,panelDataArray:pe}=k.current;if(U.constraints.collapsible){const Y=pe.map(le=>le.constraints),{collapsedSize:be=0,panelSize:B,minSize:se=0,pivotIndices:fe}=yo(pe,U,ie);if(B===be){const le=R.current.get(U.id),oe=le!=null&&le>=se?le:se,xe=Zo(pe,U)===pe.length-1?B-oe:oe-B,Ce=Hs({delta:xe,layout:ie,panelConstraints:Y,pivotIndices:fe,trigger:"imperative-api"});Si(ie,Ce)||(_(Ce),k.current.layout=Ce,q&&q(Ce),qo(pe,Ce,y.current))}}},[]),D=Rn(U=>{const{layout:q,panelDataArray:ie}=k.current,{panelSize:pe}=yo(ie,U,q);return Ge(pe!=null,`Panel size not found for panel "${U.id}"`),pe},[]),I=Rn((U,q)=>{const{panelDataArray:ie}=k.current,pe=Zo(ie,U);return _E({defaultSize:q,dragState:S,layout:$,panelData:ie,panelIndex:pe})},[S,$]),L=Rn(U=>{const{layout:q,panelDataArray:ie}=k.current,{collapsedSize:pe=0,collapsible:Y,panelSize:be}=yo(ie,U,q);return Y===!0&&be===pe},[]),F=Rn(U=>{const{layout:q,panelDataArray:ie}=k.current,{collapsedSize:pe=0,collapsible:Y,panelSize:be}=yo(ie,U,q);return Ge(be!=null,`Panel size not found for panel "${U.id}"`),!Y||be>pe},[]),Z=Rn(U=>{const{panelDataArray:q}=k.current;q.push(U),q.sort((ie,pe)=>{const Y=ie.order,be=pe.order;return Y==null&&be==null?0:Y==null?-1:be==null?1:Y-be}),k.current.panelDataArrayChanged=!0},[]);Ro(()=>{if(k.current.panelDataArrayChanged){k.current.panelDataArrayChanged=!1;const{autoSaveId:U,onLayout:q,storage:ie}=E.current,{layout:pe,panelDataArray:Y}=k.current;let be=null;if(U){const se=CE(U,Y,ie);se&&(R.current=new Map(Object.entries(se.expandToSizes)),be=se.layout)}be==null&&(be=wE({panelDataArray:Y}));const B=Lg({layout:be,panelConstraints:Y.map(se=>se.constraints)});Ig(pe,B)||(_(B),k.current.layout=B,q&&q(B),qo(Y,B,y.current))}}),Ro(()=>{const U=k.current;return()=>{U.layout=[]}},[]);const V=Rn(U=>function(ie){ie.preventDefault();const pe=m.current;if(!pe)return()=>null;const{direction:Y,dragState:be,id:B,keyboardResizeBy:se,onLayout:fe}=E.current,{layout:le,panelDataArray:oe}=k.current,{initialLayout:he}=be??{},xe=kv(B,U,pe);let Ce=yE(ie,U,Y,be,se,pe);if(Ce===0)return;const nt=Y==="horizontal";document.dir==="rtl"&&nt&&(Ce=-Ce);const Ze=oe.map(rt=>rt.constraints),Qe=Hs({delta:Ce,layout:he??le,panelConstraints:Ze,pivotIndices:xe,trigger:jv(ie)?"keyboard":"mouse-or-touch"}),Ue=!Si(le,Qe);(Nv(ie)||Rv(ie))&&M.current!=Ce&&(M.current=Ce,Ue?Xc(U,0):nt?Xc(U,Ce<0?Ev:Pv):Xc(U,Ce<0?Av:Mv)),Ue&&(_(Qe),k.current.layout=Qe,fe&&fe(Qe),qo(oe,Qe,y.current))},[]),J=Rn((U,q)=>{const{onLayout:ie}=E.current,{layout:pe,panelDataArray:Y}=k.current,be=Y.map(he=>he.constraints),{panelSize:B,pivotIndices:se}=yo(Y,U,pe);Ge(B!=null,`Panel size not found for panel "${U.id}"`);const le=Zo(Y,U)===Y.length-1?B-q:q-B,oe=Hs({delta:le,layout:pe,panelConstraints:be,pivotIndices:se,trigger:"imperative-api"});Si(pe,oe)||(_(oe),k.current.layout=oe,ie&&ie(oe),qo(Y,oe,y.current))},[]),de=Rn((U,q)=>{const{layout:ie,panelDataArray:pe}=k.current,{collapsedSize:Y=0,collapsible:be}=q,{collapsedSize:B=0,collapsible:se,maxSize:fe=100,minSize:le=0}=U.constraints,{panelSize:oe}=yo(pe,U,ie);oe!=null&&(be&&se&&oe===Y?Y!==B&&J(U,B):oefe&&J(U,fe))},[J]),ge=Rn((U,q)=>{const{direction:ie}=E.current,{layout:pe}=k.current;if(!m.current)return;const Y=vl(U,m.current);Ge(Y,`Drag handle element not found for id "${U}"`);const be=Fv(ie,q);w({dragHandleId:U,dragHandleRect:Y.getBoundingClientRect(),initialCursorPosition:be,initialLayout:pe})},[]),ce=Rn(()=>{w(null)},[]),ue=Rn(U=>{const{panelDataArray:q}=k.current,ie=Zo(q,U);ie>=0&&(q.splice(ie,1),delete y.current[U.id],k.current.panelDataArrayChanged=!0)},[]),K=nE(()=>({collapsePanel:H,direction:o,dragState:S,expandPanel:P,getPanelSize:D,getPanelStyle:I,groupId:x,isPanelCollapsed:L,isPanelExpanded:F,reevaluatePanelConstraints:de,registerPanel:Z,registerResizeHandle:V,resizePanel:J,startDragging:ge,stopDragging:ce,unregisterPanel:ue,panelGroupElement:m.current}),[H,S,o,P,D,I,x,L,F,de,Z,V,J,ge,ce,ue]),ne={display:"flex",flexDirection:o==="horizontal"?"row":"column",height:"100%",overflow:"hidden",width:"100%"};return as(pl.Provider,{value:K},as(g,{...v,children:n,className:t,id:l,ref:m,style:{...ne,...f},"data-panel-group":"","data-panel-group-direction":o,"data-panel-group-id":x}))}const Vv=yv((e,n)=>as(Hv,{...e,forwardedRef:n}));Hv.displayName="PanelGroup";Vv.displayName="forwardRef(PanelGroup)";function Zo(e,n){return e.findIndex(t=>t===n||t.id===n.id)}function yo(e,n,t){const o=Zo(e,n),l=o===e.length-1?[o-1,o]:[o,o+1],u=t[o];return{...n.constraints,panelSize:u,pivotIndices:l}}function RE({disabled:e,handleId:n,resizeHandler:t,panelGroupElement:o}){No(()=>{if(e||t==null||o==null)return;const i=vl(n,o);if(i==null)return;const l=u=>{if(!u.defaultPrevented)switch(u.key){case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"ArrowUp":case"End":case"Home":{u.preventDefault(),t(u);break}case"F6":{u.preventDefault();const d=i.getAttribute("data-panel-group-id");Ge(d,`No group element found for id "${d}"`);const p=ca(d,o),f=Iv(d,n,o);Ge(f!==null,`No resize element found for id "${n}"`);const g=u.shiftKey?f>0?f-1:p.length-1:f+1{i.removeEventListener("keydown",l)}},[o,e,n,t])}function Gv({children:e=null,className:n="",disabled:t=!1,hitAreaMargins:o,id:i,onDragging:l,style:u={},tabIndex:d=0,tagName:p="div",...f}){const g=mn(null),v=mn({onDragging:l});No(()=>{v.current.onDragging=l});const x=wv(pl);if(x===null)throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");const{direction:m,groupId:S,registerResizeHandle:w,startDragging:$,stopDragging:_,panelGroupElement:y}=x,R=yd(i),[M,E]=Js("inactive"),[k,H]=Js(!1),[P,D]=Js(null),I=mn({state:M});return Ro(()=>{I.current.state=M}),No(()=>{if(t)D(null);else{const F=w(R);D(()=>F)}},[t,R,w]),No(()=>{var F,Z;if(t||P==null)return;const V=g.current;Ge(V,"Element ref not attached");const J=(de,ge,ce)=>{if(ge)switch(de){case"down":{E("drag"),$(R,ce);const{onDragging:ue}=v.current;ue&&ue(!0);break}case"move":{const{state:ue}=I.current;ue!=="drag"&&E("hover"),P(ce);break}case"up":{E("hover"),_();const{onDragging:ue}=v.current;ue&&ue(!1);break}}else E("inactive")};return hE(R,V,m,{coarse:(F=o?.coarse)!==null&&F!==void 0?F:15,fine:(Z=o?.fine)!==null&&Z!==void 0?Z:5},J)},[m,t,o,w,R,P,$,_]),RE({disabled:t,handleId:R,resizeHandler:P,panelGroupElement:y}),as(p,{...f,children:e,className:n,id:i,onBlur:()=>H(!1),onFocus:()=>H(!0),ref:g,role:"separator",style:{...{touchAction:"none",userSelect:"none"},...u},tabIndex:d,"data-panel-group-direction":m,"data-panel-group-id":S,"data-resize-handle":"","data-resize-handle-active":M==="drag"?"pointer":k?"keyboard":void 0,"data-resize-handle-state":M,"data-panel-resize-handle-enabled":!t,"data-panel-resize-handle-id":R})}Gv.displayName="PanelResizeHandle";const Og=({className:e,...n})=>a.jsx(Vv,{className:X("w-full h-full flex data-[panel-group-direction=vertical]:flex-col",e),...n}),Ci=Cv,$E="relative w-px bg-border after:absolute after:left-1/2 after:-translate-x-1/2 after:w-1 after:inset-y-0 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:translate-x-0 data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:h-1 [&[data-panel-group-direction=vertical]>div]:rotate-90 flex items-center justify-center ";function zg({withHandle:e,className:n,...t}){return a.jsx(Gv,{className:X($E,n),...t,children:e&&a.jsx("div",{className:"w-3 h-4 rounded-sm border bg-border flex items-center justify-center z-10",children:a.jsx(pj,{className:"h-2.5 w-2.5"})})})}function EE(e,{insertAt:n}={}){if(!e||typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css",n==="top"&&t.firstChild?t.insertBefore(o,t.firstChild):t.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}EE(`html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}html[dir=rtl],[data-sonner-toaster][dir=rtl]{--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999}[data-sonner-toaster][data-x-position=right]{right:max(var(--offset),env(safe-area-inset-right))}[data-sonner-toaster][data-x-position=left]{left:max(var(--offset),env(safe-area-inset-left))}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translate(-50%)}[data-sonner-toaster][data-y-position=top]{top:max(var(--offset),env(safe-area-inset-top))}[data-sonner-toaster][data-y-position=bottom]{bottom:max(var(--offset),env(safe-area-inset-bottom))}[data-sonner-toast]{--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}[data-sonner-toast][data-y-position=top]{top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}[data-sonner-toast] [data-description]{font-weight:400;line-height:1.4;color:inherit}[data-sonner-toast] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast] [data-icon]>*{flex-shrink:0}[data-sonner-toast] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast] [data-button]:focus-visible{box-shadow:0 0 0 2px #0006}[data-sonner-toast] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toast][data-theme=dark] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;background:var(--gray1);color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]:focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}[data-sonner-toast] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]:before{content:"";position:absolute;left:0;right:0;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]:before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]:before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]:before{content:"";position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast]:after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y: translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y: translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]:before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount, 0px));transition:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{0%{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;--mobile-offset: 16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - 32px)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);--error-text: hsl(358, 100%, 81%)}[data-rich-colors=true] [data-sonner-toast][data-type=success],[data-rich-colors=true] [data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true] [data-sonner-toast][data-type=info],[data-rich-colors=true] [data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true] [data-sonner-toast][data-type=warning],[data-rich-colors=true] [data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true] [data-sonner-toast][data-type=error],[data-rich-colors=true] [data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)} -`);var PE=e=>{switch(e){case"success":return DE;case"info":return IE;case"warning":return TE;case"error":return kE;default:return null}},AE=Array(12).fill(0),ME=({visible:e})=>G.createElement("div",{className:"sonner-loading-wrapper","data-visible":e},G.createElement("div",{className:"sonner-spinner"},AE.map((n,t)=>G.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${t}`})))),DE=G.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},G.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),TE=G.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},G.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),IE=G.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},G.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),kE=G.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},G.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),LE=()=>{let[e,n]=G.useState(!1);return G.useEffect(()=>{let t=()=>{n(document.hidden)};return document.addEventListener("visibilitychange",t),()=>window.removeEventListener("visibilitychange",t)},[]),e},Eu=1,FE=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let n=this.subscribers.indexOf(e);this.subscribers.splice(n,1)}),this.publish=e=>{this.subscribers.forEach(n=>n(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var n;let{message:t,...o}=e,i=typeof e?.id=="number"||((n=e.id)==null?void 0:n.length)>0?e.id:Eu++,l=this.toasts.find(d=>d.id===i),u=e.dismissible===void 0?!0:e.dismissible;return l?this.toasts=this.toasts.map(d=>d.id===i?(this.publish({...d,...e,id:i,title:t}),{...d,...e,id:i,dismissible:u,title:t}):d):this.addToast({title:t,...o,dismissible:u,id:i}),i},this.dismiss=e=>(e||this.toasts.forEach(n=>{this.subscribers.forEach(t=>t({id:n.id,dismiss:!0}))}),this.subscribers.forEach(n=>n({id:e,dismiss:!0})),e),this.message=(e,n)=>this.create({...n,message:e}),this.error=(e,n)=>this.create({...n,message:e,type:"error"}),this.success=(e,n)=>this.create({...n,type:"success",message:e}),this.info=(e,n)=>this.create({...n,type:"info",message:e}),this.warning=(e,n)=>this.create({...n,type:"warning",message:e}),this.loading=(e,n)=>this.create({...n,type:"loading",message:e}),this.promise=(e,n)=>{if(!n)return;let t;n.loading!==void 0&&(t=this.create({...n,promise:e,type:"loading",message:n.loading,description:typeof n.description!="function"?n.description:void 0}));let o=e instanceof Promise?e:e(),i=t!==void 0;return o.then(l=>{if(l&&typeof l.ok=="boolean"&&!l.ok){i=!1;let u=typeof n.error=="function"?n.error(`HTTP error! status: ${l.status}`):n.error,d=typeof n.description=="function"?n.description(`HTTP error! status: ${l.status}`):n.description;this.create({id:t,type:"error",message:u,description:d})}else if(n.success!==void 0){i=!1;let u=typeof n.success=="function"?n.success(l):n.success,d=typeof n.description=="function"?n.description(l):n.description;this.create({id:t,type:"success",message:u,description:d})}}).catch(l=>{if(n.error!==void 0){i=!1;let u=typeof n.error=="function"?n.error(l):n.error,d=typeof n.description=="function"?n.description(l):n.description;this.create({id:t,type:"error",message:u,description:d})}}).finally(()=>{var l;i&&(this.dismiss(t),t=void 0),(l=n.finally)==null||l.call(n)}),t},this.custom=(e,n)=>{let t=n?.id||Eu++;return this.create({jsx:e(t),id:t,...n}),t},this.subscribers=[],this.toasts=[]}},rr=new FE,OE=(e,n)=>{let t=n?.id||Eu++;return rr.addToast({title:e,...n,id:t}),t},zE=OE,Pu=Object.assign(zE,{success:rr.success,info:rr.info,warning:rr.warning,error:rr.error,custom:rr.custom,message:rr.message,promise:rr.promise,dismiss:rr.dismiss,loading:rr.loading}),BE=3,HE="32px",VE=4e3,GE=356,Wv=14,WE=20,UE=200;function XE(...e){return e.filter(Boolean).join(" ")}var qE=e=>{var n,t,o,i,l,u,d;let{invert:p,toast:f,unstyled:g,interacting:v,setHeights:x,visibleToasts:m,heights:S,index:w,toasts:$,expanded:_,removeToast:y,closeButton:R,style:M,cancelButtonStyle:E,actionButtonStyle:k,className:H="",descriptionClassName:P="",duration:D,position:I,gap:L=Wv,loadingIcon:F,expandByDefault:Z,classNames:V,icons:J,closeButtonAriaLabel:de="Close toast",pauseWhenPageIsHidden:ge,cn:ce}=e,[ue,K]=G.useState(!1),[ne,U]=G.useState(!1),[q,ie]=G.useState(!1),[pe,Y]=G.useState(!1),[be,B]=G.useState(0),[se,fe]=G.useState(0),le=G.useRef(null),oe=G.useRef(null),he=w===0,xe=w+1<=m,Ce=f.type,nt=f.dismissible!==!1,Ze=f.className||"",Qe=f.descriptionClassName||"",Ue=G.useMemo(()=>S.findIndex(ve=>ve.toastId===f.id)||0,[S,f.id]),rt=G.useMemo(()=>{var ve;return(ve=f.closeButton)!=null?ve:R},[f.closeButton,R]),ze=G.useMemo(()=>f.duration||D||VE,[f.duration,D]),ot=G.useRef(0),He=G.useRef(0),Ft=G.useRef(0),St=G.useRef(null),[Ht,Vt]=I.split("-"),Ct=G.useMemo(()=>S.reduce((ve,je,Ne)=>Ne>=Ue?ve:ve+je.height,0),[S,Ue]),Xe=LE(),ee=f.invert||p,me=Ce==="loading";He.current=G.useMemo(()=>Ue*L+Ct,[Ue,Ct]),G.useEffect(()=>{K(!0)},[]),G.useLayoutEffect(()=>{if(!ue)return;let ve=oe.current,je=ve.style.height;ve.style.height="auto";let Ne=ve.getBoundingClientRect().height;ve.style.height=je,fe(Ne),x(ke=>ke.find(et=>et.toastId===f.id)?ke.map(et=>et.toastId===f.id?{...et,height:Ne}:et):[{toastId:f.id,height:Ne,position:f.position},...ke])},[ue,f.title,f.description,x,f.id]);let we=G.useCallback(()=>{U(!0),B(He.current),x(ve=>ve.filter(je=>je.toastId!==f.id)),setTimeout(()=>{y(f)},UE)},[f,y,x,He]);G.useEffect(()=>{if(f.promise&&Ce==="loading"||f.duration===1/0||f.type==="loading")return;let ve,je=ze;return _||v||ge&&Xe?(()=>{if(Ft.current{var Ne;(Ne=f.onAutoClose)==null||Ne.call(f,f),we()},je)),()=>clearTimeout(ve)},[_,v,Z,f,ze,we,f.promise,Ce,ge,Xe]),G.useEffect(()=>{let ve=oe.current;if(ve){let je=ve.getBoundingClientRect().height;return fe(je),x(Ne=>[{toastId:f.id,height:je,position:f.position},...Ne]),()=>x(Ne=>Ne.filter(ke=>ke.toastId!==f.id))}},[x,f.id]),G.useEffect(()=>{f.delete&&we()},[we,f.delete]);function De(){return J!=null&&J.loading?G.createElement("div",{className:"loader","data-visible":Ce==="loading"},J.loading):F?G.createElement("div",{className:"sonner-loader","data-visible":Ce==="loading"},F):G.createElement(ME,{visible:Ce==="loading"})}return G.createElement("li",{"aria-live":f.important?"assertive":"polite","aria-atomic":"true",role:"status",tabIndex:0,ref:oe,className:ce(H,Ze,V?.toast,(n=f?.classNames)==null?void 0:n.toast,V?.default,V?.[Ce],(t=f?.classNames)==null?void 0:t[Ce]),"data-sonner-toast":"","data-styled":!(f.jsx||f.unstyled||g),"data-mounted":ue,"data-promise":!!f.promise,"data-removed":ne,"data-visible":xe,"data-y-position":Ht,"data-x-position":Vt,"data-index":w,"data-front":he,"data-swiping":q,"data-dismissible":nt,"data-type":Ce,"data-invert":ee,"data-swipe-out":pe,"data-expanded":!!(_||Z&&ue),style:{"--index":w,"--toasts-before":w,"--z-index":$.length-w,"--offset":`${ne?be:He.current}px`,"--initial-height":Z?"auto":`${se}px`,...M,...f.style},onPointerDown:ve=>{me||!nt||(le.current=new Date,B(He.current),ve.target.setPointerCapture(ve.pointerId),ve.target.tagName!=="BUTTON"&&(ie(!0),St.current={x:ve.clientX,y:ve.clientY}))},onPointerUp:()=>{var ve,je,Ne,ke;if(pe||!nt)return;St.current=null;let et=Number(((ve=oe.current)==null?void 0:ve.style.getPropertyValue("--swipe-amount").replace("px",""))||0),st=new Date().getTime()-((je=le.current)==null?void 0:je.getTime()),Rt=Math.abs(et)/st;if(Math.abs(et)>=WE||Rt>.11){B(He.current),(Ne=f.onDismiss)==null||Ne.call(f,f),we(),Y(!0);return}(ke=oe.current)==null||ke.style.setProperty("--swipe-amount","0px"),ie(!1)},onPointerMove:ve=>{var je;if(!St.current||!nt)return;let Ne=ve.clientY-St.current.y,ke=ve.clientX-St.current.x,et=(Ht==="top"?Math.min:Math.max)(0,Ne),st=ve.pointerType==="touch"?10:2;Math.abs(et)>st?(je=oe.current)==null||je.style.setProperty("--swipe-amount",`${Ne}px`):Math.abs(ke)>st&&(St.current=null)}},rt&&!f.jsx?G.createElement("button",{"aria-label":de,"data-disabled":me,"data-close-button":!0,onClick:me||!nt?()=>{}:()=>{var ve;we(),(ve=f.onDismiss)==null||ve.call(f,f)},className:ce(V?.closeButton,(o=f?.classNames)==null?void 0:o.closeButton)},G.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},G.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),G.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))):null,f.jsx||G.isValidElement(f.title)?f.jsx||f.title:G.createElement(G.Fragment,null,Ce||f.icon||f.promise?G.createElement("div",{"data-icon":""},f.promise&&f.type==="loading"&&!f.icon?f.icon||J?.loading||De():null,f.type!=="loading"?f.icon||J?.[Ce]||PE(Ce):null):null,G.createElement("div",{"data-content":""},G.createElement("div",{"data-title":"",className:ce(V?.title,(i=f?.classNames)==null?void 0:i.title)},f.title),f.description?G.createElement("div",{"data-description":"",className:ce(P,Qe,V?.description,(l=f?.classNames)==null?void 0:l.description)},f.description):null),f.cancel?G.createElement("button",{"data-button":!0,"data-cancel":!0,style:f.cancelButtonStyle||E,onClick:ve=>{var je;nt&&(we(),(je=f.cancel)!=null&&je.onClick&&f.cancel.onClick(ve))},className:ce(V?.cancelButton,(u=f?.classNames)==null?void 0:u.cancelButton)},f.cancel.label):null,f.action?G.createElement("button",{"data-button":"",style:f.actionButtonStyle||k,onClick:ve=>{var je;(je=f.action)==null||je.onClick(ve),!ve.defaultPrevented&&we()},className:ce(V?.actionButton,(d=f?.classNames)==null?void 0:d.actionButton)},f.action.label):null))};function Bg(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}var KE=e=>{let{invert:n,position:t="bottom-right",hotkey:o=["altKey","KeyT"],expand:i,closeButton:l,className:u,offset:d,theme:p="light",richColors:f,duration:g,style:v,visibleToasts:x=BE,toastOptions:m,dir:S=Bg(),gap:w,loadingIcon:$,icons:_,containerAriaLabel:y="Notifications",pauseWhenPageIsHidden:R,cn:M=XE}=e,[E,k]=G.useState([]),H=G.useMemo(()=>Array.from(new Set([t].concat(E.filter(ne=>ne.position).map(ne=>ne.position)))),[E,t]),[P,D]=G.useState([]),[I,L]=G.useState(!1),[F,Z]=G.useState(!1),[V,J]=G.useState(p!=="system"?p:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),de=G.useRef(null),ge=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),ce=G.useRef(null),ue=G.useRef(!1),K=G.useCallback(ne=>k(U=>U.filter(({id:q})=>q!==ne.id)),[]);return G.useEffect(()=>rr.subscribe(ne=>{if(ne.dismiss){k(U=>U.map(q=>q.id===ne.id?{...q,delete:!0}:q));return}setTimeout(()=>{$C.flushSync(()=>{k(U=>{let q=U.findIndex(ie=>ie.id===ne.id);return q!==-1?[...U.slice(0,q),{...U[q],...ne},...U.slice(q+1)]:[ne,...U]})})})}),[]),G.useEffect(()=>{if(p!=="system"){J(p);return}p==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?J("dark"):J("light")),typeof window<"u"&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",({matches:ne})=>{J(ne?"dark":"light")})},[p]),G.useEffect(()=>{E.length<=1&&L(!1)},[E]),G.useEffect(()=>{let ne=U=>{var q,ie;o.every(pe=>U[pe]||U.code===pe)&&(L(!0),(q=de.current)==null||q.focus()),U.code==="Escape"&&(document.activeElement===de.current||(ie=de.current)!=null&&ie.contains(document.activeElement))&&L(!1)};return document.addEventListener("keydown",ne),()=>document.removeEventListener("keydown",ne)},[o]),G.useEffect(()=>{if(de.current)return()=>{ce.current&&(ce.current.focus({preventScroll:!0}),ce.current=null,ue.current=!1)}},[de.current]),E.length?G.createElement("section",{"aria-label":`${y} ${ge}`,tabIndex:-1},H.map((ne,U)=>{var q;let[ie,pe]=ne.split("-");return G.createElement("ol",{key:ne,dir:S==="auto"?Bg():S,tabIndex:-1,ref:de,className:u,"data-sonner-toaster":!0,"data-theme":V,"data-rich-colors":f,"data-y-position":ie,"data-x-position":pe,style:{"--front-toast-height":`${((q=P[0])==null?void 0:q.height)||0}px`,"--offset":typeof d=="number"?`${d}px`:d||HE,"--width":`${GE}px`,"--gap":`${Wv}px`,...v},onBlur:Y=>{ue.current&&!Y.currentTarget.contains(Y.relatedTarget)&&(ue.current=!1,ce.current&&(ce.current.focus({preventScroll:!0}),ce.current=null))},onFocus:Y=>{Y.target instanceof HTMLElement&&Y.target.dataset.dismissible==="false"||ue.current||(ue.current=!0,ce.current=Y.relatedTarget)},onMouseEnter:()=>L(!0),onMouseMove:()=>L(!0),onMouseLeave:()=>{F||L(!1)},onPointerDown:Y=>{Y.target instanceof HTMLElement&&Y.target.dataset.dismissible==="false"||Z(!0)},onPointerUp:()=>Z(!1)},E.filter(Y=>!Y.position&&U===0||Y.position===ne).map((Y,be)=>{var B,se;return G.createElement(qE,{key:Y.id,icons:_,index:be,toast:Y,duration:(B=m?.duration)!=null?B:g,className:m?.className,descriptionClassName:m?.descriptionClassName,invert:n,visibleToasts:x,closeButton:(se=m?.closeButton)!=null?se:l,interacting:F,position:ne,style:m?.style,unstyled:m?.unstyled,classNames:m?.classNames,cancelButtonStyle:m?.cancelButtonStyle,actionButtonStyle:m?.actionButtonStyle,removeToast:K,toasts:E.filter(fe=>fe.position==Y.position),heights:P.filter(fe=>fe.position==Y.position),setHeights:D,expandByDefault:i,gap:w,loadingIcon:$,expanded:I,pauseWhenPageIsHidden:R,cn:M})}))})):null};const YE="group toast group-[.toaster]:text-foreground group-[.toaster]:bg-background group-[.toaster]:border-border group-[.toaster]:shadow-lg ",JE="group-[.toast]:text-muted-foreground",ZE="group-[.toast]:text-primary-foreground group-[.toast]:bg-primary ",QE="group-[.toast]:text-muted-foreground group-[.toast]:bg-muted ";function eP(e){return a.jsx(KE,{theme:"system",className:"toaster group",toastOptions:{classNames:{toast:YE,description:JE,actionButton:ZE,cancelButton:QE}},...e})}const tP=gj,nP="fixed p-4 top-0 w-full max-h-screen z-[100] sm:right-0 sm:top-auto sm:bottom-0 sm:flex-col md:max-w-[420px] flex flex-col-reverse",Uv=C.forwardRef(({className:e,...n},t)=>a.jsx(t0,{ref:t,className:X(nP,e),...n}));Uv.displayName=t0.displayName;const rP="group relative p-4 pr-6 w-full data-[state=open]:animate-in data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full data-[state=closed]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[swipe=end]:animate-out data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[swipe=cancel]:translate-x-0 overflow-hidden pointer-events-auto transition-all border rounded-md shadow-lg flex items-center justify-between space-x-2",oP=us(rP,{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),Xv=C.forwardRef(({className:e,variant:n,...t},o)=>a.jsx(n0,{ref:o,className:X(oP({variant:n}),e),...t}));Xv.displayName=n0.displayName;const sP="px-3 h-8 shrink-0 text-sm font-medium bg-transparent hover:bg-secondary focus:ring-1 focus:ring-ring focus:outline-none disabled:opacity-50 disabled:pointer-events-none group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive transition-colors border rounded-md inline-flex items-center justify-center",aP=C.forwardRef(({className:e,...n},t)=>a.jsx(r0,{ref:t,className:X(sP,e),...n}));aP.displayName=r0.displayName;const iP="absolute p-1 right-1 top-1 text-foreground/50 opacity-0 group-hover:opacity-100 hover:text-foreground focus:opacity-100 focus:ring-1 focus:outline-none group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600 transition-opacity rounded-md",qv=C.forwardRef(({className:e,...n},t)=>a.jsx(o0,{ref:t,className:X(iP,e),"toast-close":"",...n,children:a.jsx(ed,{className:"h-4 w-4"})}));qv.displayName=o0.displayName;const Kv=C.forwardRef(({className:e,...n},t)=>a.jsx(s0,{ref:t,className:X("text-sm font-semibold [&+div]:text-xs",e),...n}));Kv.displayName=s0.displayName;const Yv=C.forwardRef(({className:e,...n},t)=>a.jsx(a0,{ref:t,className:X("text-sm opacity-90",e),...n}));Yv.displayName=a0.displayName;const lP=1,cP=1e6;let qc=0;function uP(){return qc=(qc+1)%Number.MAX_SAFE_INTEGER,qc.toString()}const Kc=new Map,Hg=e=>{if(Kc.has(e))return;const n=setTimeout(()=>{Kc.delete(e),Zs({type:"REMOVE_TOAST",toastId:e})},cP);Kc.set(e,n)},dP=(e,n)=>{switch(n.type){case"ADD_TOAST":return{...e,toasts:[n.toast,...e.toasts].slice(0,lP)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(t=>t.id===n.toast.id?{...t,...n.toast}:t)};case"DISMISS_TOAST":{const{toastId:t}=n;return t?Hg(t):e.toasts.forEach(o=>{Hg(o.id)}),{...e,toasts:e.toasts.map(o=>o.id===t||t===void 0?{...o,open:!1}:o)}}case"REMOVE_TOAST":return n.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(t=>t.id!==n.toastId)}}},zi=[];let Bi={toasts:[]};function Zs(e){Bi=dP(Bi,e),zi.forEach(n=>{n(Bi)})}function Jv({...e}){const n=uP(),t=i=>Zs({type:"UPDATE_TOAST",toast:{...i,id:n}}),o=()=>Zs({type:"DISMISS_TOAST",toastId:n});return Zs({type:"ADD_TOAST",toast:{...e,id:n,open:!0,onOpenChange:i=>{i||o()}}}),{id:n,dismiss:o,update:t}}function fP(){const[e,n]=C.useState(Bi);return C.useEffect(()=>(zi.push(n),()=>{const t=zi.indexOf(n);t>-1&&zi.splice(t,1)}),[e]),{...e,toast:Jv,dismiss:t=>Zs({type:"DISMISS_TOAST",toastId:t})}}function pP(){const{toasts:e}=fP();return a.jsxs(tP,{children:[e.map(function({id:n,title:t,description:o,action:i,...l}){return a.jsxs(Xv,{...l,children:[a.jsxs("div",{className:"grid gap-1",children:[t&&a.jsx(Kv,{children:t}),o&&a.jsx(Yv,{children:o})]}),i,a.jsx(qv,{})]},n)}),a.jsx(Uv,{})]})}function gP({className:e,...n}){return a.jsx("nav",{className:X("mx-auto w-full flex justify-center",e),role:"navigation","aria-label":"pagination",...n})}const Zv=C.forwardRef(({className:e,...n},t)=>a.jsx("ul",{ref:t,className:X("flex flex-row items-center gap-1",e),...n}));Zv.displayName="Pagination.Content";function Qs({className:e,isActive:n,size:t="icon",...o}){return a.jsx("li",{children:a.jsx("a",{className:X(sl({variant:n?"outline":"ghost",size:t}),e),"aria-current":n?"page":void 0,...o})})}function hP({className:e,...n}){return a.jsxs(Qs,{className:X("pl-3 gap-1",e),"aria-label":"Go to previous page",size:"default",...n,children:[a.jsx(hj,{className:"w-4 h-4"}),a.jsx("span",{children:"Previous"})]})}function mP({className:e,...n}){return a.jsxs(Qs,{className:X("pr-3 gap-1",e),"aria-label":"Go to next page",size:"default",...n,children:[a.jsx("span",{children:"Next"}),a.jsx(rl,{className:"w-4 h-4"})]})}function vP({className:e,...n}){return a.jsxs("span",{className:X("w-9 h-9 flex items-center justify-center",e),"aria-hidden":!0,...n,children:[a.jsx(i0,{className:"w-4 h-4"}),a.jsx("span",{className:"sr-only",children:"More pages"})]})}function xP(e){return Object.prototype.toString.call(e)==="[object Object]"}function Vg(e){return xP(e)||Array.isArray(e)}function bP(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Sd(e,n){const t=Object.keys(e),o=Object.keys(n);if(t.length!==o.length)return!1;const i=JSON.stringify(Object.keys(e.breakpoints||{})),l=JSON.stringify(Object.keys(n.breakpoints||{}));return i!==l?!1:t.every(u=>{const d=e[u],p=n[u];return typeof d=="function"?`${d}`==`${p}`:!Vg(d)||!Vg(p)?d===p:Sd(d,p)})}function Gg(e){return e.concat().sort((n,t)=>n.name>t.name?1:-1).map(n=>n.options)}function yP(e,n){if(e.length!==n.length)return!1;const t=Gg(e),o=Gg(n);return t.every((i,l)=>{const u=o[l];return Sd(i,u)})}function Cd(e){return typeof e=="number"}function Au(e){return typeof e=="string"}function jd(e){return typeof e=="boolean"}function Wg(e){return Object.prototype.toString.call(e)==="[object Object]"}function yt(e){return Math.abs(e)}function Nd(e){return Math.sign(e)}function ea(e,n){return yt(e-n)}function wP(e,n){if(e===0||n===0||yt(e)<=yt(n))return 0;const t=ea(yt(e),yt(n));return yt(t/e)}function ua(e){return da(e).map(Number)}function ar(e){return e[Sa(e)]}function Sa(e){return Math.max(0,e.length-1)}function Rd(e,n){return n===Sa(e)}function Ug(e,n=0){return Array.from(Array(e),(t,o)=>n+o)}function da(e){return Object.keys(e)}function Qv(e,n){return[e,n].reduce((t,o)=>(da(o).forEach(i=>{const l=t[i],u=o[i],d=Wg(l)&&Wg(u);t[i]=d?Qv(l,u):u}),t),{})}function ex(e,n){return typeof n.MouseEvent<"u"&&e instanceof n.MouseEvent}function _P(e,n){const t={start:o,center:i,end:l};function o(){return 0}function i(p){return l(p)/2}function l(p){return n-p}function u(p,f){return Au(e)?t[e](p):e(n,p,f)}return{measure:u}}function fa(){let e=[];function n(i,l,u,d={passive:!0}){let p;if("addEventListener"in i)i.addEventListener(l,u,d),p=()=>i.removeEventListener(l,u,d);else{const f=i;f.addListener(u),p=()=>f.removeListener(u)}return e.push(p),o}function t(){e=e.filter(i=>i())}const o={add:n,clear:t};return o}function SP(e,n,t,o){const i=fa(),l=1e3/60;let u=null,d=0,p=0;function f(){i.add(e,"visibilitychange",()=>{e.hidden&&S()})}function g(){m(),i.clear()}function v($){if(!p)return;u||(u=$);const _=$-u;for(u=$,d+=_;d>=l;)t(),d-=l;const y=yt(d/l);o(y),p&&n.requestAnimationFrame(v)}function x(){p||(p=n.requestAnimationFrame(v))}function m(){n.cancelAnimationFrame(p),u=null,d=0,p=0}function S(){u=null,d=0}return{init:f,destroy:g,start:x,stop:m,update:t,render:o}}function CP(e,n){const t=e==="y"?"y":"x",o=e==="y"?"x":"y",i=d(),l=p();function u(g){const{width:v,height:x}=g;return t==="x"?v:x}function d(){return t==="y"?"top":n==="rtl"?"right":"left"}function p(){return t==="y"?"bottom":n==="rtl"?"left":"right"}return{scroll:t,cross:o,startEdge:i,endEdge:l,measureSize:u}}function Eo(e=0,n=0){const t=yt(e-n);function o(f){return fn}function l(f){return o(f)||i(f)}function u(f){return l(f)?o(f)?e:n:f}function d(f){return t?f-t*Math.ceil((f-n)/t):f}return{length:t,max:n,min:e,constrain:u,reachedAny:l,reachedMax:i,reachedMin:o,removeOffset:d}}function tx(e,n,t){const{constrain:o}=Eo(0,e),i=e+1;let l=u(n);function u(x){return t?yt((i+x)%i):o(x)}function d(){return l}function p(x){return l=u(x),v}function f(x){return g().set(d()+x)}function g(){return tx(e,d(),t)}const v={get:d,set:p,add:f,clone:g};return v}function jP(e){const n=e==="rtl"?-1:1;function t(i){return i*n}return{apply:t}}function NP(e,n,t,o,i,l,u,d,p,f,g,v,x,m,S,w,$,_,y,R){const{cross:M}=e,E=["INPUT","SELECT","TEXTAREA"],k={passive:!1},H=fa(),P=fa(),D=Eo(50,225).constrain(S.measure(20)),I={mouse:300,touch:400},L={mouse:500,touch:600},F=w?43:25;let Z=!1,V=0,J=0,de=!1,ge=!1,ce=!1,ue=!1;function K(oe){if(!R)return;function he(Ce){(jd(R)||R(oe,Ce))&&Y(Ce)}const xe=t;H.add(xe,"dragstart",Ce=>Ce.preventDefault(),k).add(xe,"touchmove",()=>{},k).add(xe,"touchend",()=>{}).add(xe,"touchstart",he).add(xe,"mousedown",he).add(xe,"touchcancel",B).add(xe,"contextmenu",B).add(xe,"click",se,!0)}function ne(){H.clear(),P.clear()}function U(){const oe=ue?o:t;P.add(oe,"touchmove",be,k).add(oe,"touchend",B).add(oe,"mousemove",be,k).add(oe,"mouseup",B)}function q(oe){const he=oe.nodeName||"";return E.includes(he)}function ie(){return(w?L:I)[ue?"mouse":"touch"]}function pe(oe,he){const xe=x.add(Nd(oe)*-1),Ce=v.byDistance(oe,!w).distance;return w||yt(oe)=2,de=!0,u.pointerDown(oe),g.useFriction(0).useDuration(0),l.set(d),U(),V=u.readPoint(oe),J=u.readPoint(oe,M),m.emit("pointerDown")))}function be(oe){const he=u.readPoint(oe),xe=u.readPoint(oe,M),Ce=ea(he,V),nt=ea(xe,J);if(!ge&&!ue&&(!oe.cancelable||(ge=Ce>nt,!ge)))return B(oe);const Ze=u.pointerMove(oe);Ce>$&&(ce=!0),g.useFriction(.3).useDuration(1),p.start(),l.add(n.apply(Ze)),oe.preventDefault()}function B(oe){const xe=v.byDistance(0,!1).index!==x.get(),Ce=u.pointerUp(oe)*ie(),nt=pe(n.apply(Ce),xe),Ze=wP(Ce,nt),Qe=F-10*Ze,Ue=y+Ze/50;ge=!1,de=!1,P.clear(),g.useDuration(Qe).useFriction(Ue),f.distance(nt,!w),ue=!1,m.emit("pointerUp")}function se(oe){ce&&(oe.stopPropagation(),oe.preventDefault())}function fe(){return de}return{init:K,pointerDown:fe,destroy:ne}}function RP(e,n){let o,i;function l(v){return v.timeStamp}function u(v,x){const S=`client${(x||e.scroll)==="x"?"X":"Y"}`;return(ex(v,n)?v:v.touches[0])[S]}function d(v){return o=v,i=v,u(v)}function p(v){const x=u(v)-u(i),m=l(v)-l(o)>170;return i=v,m&&(o=v),x}function f(v){if(!o||!i)return 0;const x=u(i)-u(o),m=l(v)-l(o),S=l(v)-l(i)>170,w=x/m;return m&&!S&&yt(w)>.1?w:0}return{pointerDown:d,pointerMove:p,pointerUp:f,readPoint:u}}function $P(){function e(t){const{offsetTop:o,offsetLeft:i,offsetWidth:l,offsetHeight:u}=t;return{top:o,right:i+l,bottom:o+u,left:i,width:l,height:u}}return{measure:e}}function EP(e){function n(o){return e*(o/100)}return{measure:n}}function PP(e,n,t,o,i,l,u){let d,p,f=[],g=!1;function v(w){return i.measureSize(u.measure(w))}function x(w){if(!l)return;p=v(e),f=o.map(v);function $(y){for(const R of y){const M=R.target===e,E=o.indexOf(R.target),k=M?p:f[E],H=v(M?e:o[E]);if(yt(H-k)>=.5){t.requestAnimationFrame(()=>{w.reInit(),n.emit("resize")});break}}}d=new ResizeObserver(y=>{g||(jd(l)||l(w,y))&&$(y)}),[e].concat(o).forEach(y=>d.observe(y))}function m(){d&&d.disconnect(),g=!0}return{init:x,destroy:m}}function AP(e,n,t,o,i){let l=0,u=0,d=o,p=i,f=e.get(),g=0;function v(){const E=t.get()-e.get(),k=!d;let H=0;return k?(l=0,e.set(t),H=E):(l+=E/d,l*=p,f+=l,e.add(l),H=f-g),u=Nd(H),g=f,M}function x(){const E=t.get()-n.get();return yt(E)<.001}function m(){return d}function S(){return u}function w(){return l}function $(){return y(o)}function _(){return R(i)}function y(E){return d=E,M}function R(E){return p=E,M}const M={direction:S,duration:m,velocity:w,seek:v,settled:x,useBaseFriction:_,useBaseDuration:$,useFriction:R,useDuration:y};return M}function MP(e,n,t,o,i){const l=i.measure(10),u=i.measure(50),d=Eo(.1,.99);let p=!1;function f(){return!(p||!e.reachedAny(t.get())||!e.reachedAny(n.get()))}function g(m){if(!f())return;const S=e.reachedMin(n.get())?"min":"max",w=yt(e[S]-n.get()),$=t.get()-n.get(),_=d.constrain(w/u);t.subtract($*_),!m&&yt($){const{min:$,max:_}=l,y=l.constrain(S),R=!w,M=Rd(t,w);return R?_:M||f($,y)?$:f(_,y)?_:y}).map(S=>parseFloat(S.toFixed(3)))}function x(){if(n<=e+i)return[l.max];if(o==="keepSnaps")return u;const{min:S,max:w}=d;return u.slice(S,w)}return{snapsContained:p,scrollContainLimit:d}}function TP(e,n,t){const o=n[0],i=t?o-e:ar(n);return{limit:Eo(i,o)}}function IP(e,n,t,o){const l=n.min+.1,u=n.max+.1,{reachedMin:d,reachedMax:p}=Eo(l,u);function f(x){return x===1?p(t.get()):x===-1?d(t.get()):!1}function g(x){if(!f(x))return;const m=e*(x*-1);o.forEach(S=>S.add(m))}return{loop:g}}function kP(e){const{max:n,length:t}=e;function o(l){const u=l-n;return t?u/-t:0}return{get:o}}function LP(e,n,t,o,i){const{startEdge:l,endEdge:u}=e,{groupSlides:d}=i,p=v().map(n.measure),f=x(),g=m();function v(){return d(o).map(w=>ar(w)[u]-w[0][l]).map(yt)}function x(){return o.map(w=>t[l]-w[l]).map(w=>-yt(w))}function m(){return d(f).map(w=>w[0]).map((w,$)=>w+p[$])}return{snaps:f,snapsAligned:g}}function FP(e,n,t,o,i,l){const{groupSlides:u}=i,{min:d,max:p}=o,f=g();function g(){const x=u(l),m=!e||n==="keepSnaps";return t.length===1?[l]:m?x:x.slice(d,p).map((S,w,$)=>{const _=!w,y=Rd($,w);if(_){const R=ar($[0])+1;return Ug(R)}if(y){const R=Sa(l)-ar($)[0]+1;return Ug(R,ar($)[0])}return S})}return{slideRegistry:f}}function OP(e,n,t,o,i){const{reachedAny:l,removeOffset:u,constrain:d}=o;function p(S){return S.concat().sort((w,$)=>yt(w)-yt($))[0]}function f(S){const w=e?u(S):d(S),$=n.map(y=>y-w).map(y=>g(y,0)).map((y,R)=>({diff:y,index:R})).sort((y,R)=>yt(y.diff)-yt(R.diff)),{index:_}=$[0];return{index:_,distance:w}}function g(S,w){const $=[S,S+t,S-t];if(!e)return $[0];if(!w)return p($);const _=$.filter(y=>Nd(y)===w);return _.length?p(_):ar($)-t}function v(S,w){const $=n[S]-i.get(),_=g($,w);return{index:S,distance:_}}function x(S,w){const $=i.get()+S,{index:_,distance:y}=f($),R=!e&&l($);if(!w||R)return{index:_,distance:S};const M=n[_]-y,E=S+g(M,0);return{index:_,distance:E}}return{byDistance:x,byIndex:v,shortcut:g}}function zP(e,n,t,o,i,l,u){function d(v){const x=v.distance,m=v.index!==n.get();l.add(x),x&&(o.duration()?e.start():(e.update(),e.render(1),e.update())),m&&(t.set(n.get()),n.set(v.index),u.emit("select"))}function p(v,x){const m=i.byDistance(v,x);d(m)}function f(v,x){const m=n.clone().set(v),S=i.byIndex(m.get(),x);d(S)}return{distance:p,index:f}}function BP(e,n,t,o,i,l){let u=0;function d(){l.add(document,"keydown",p,!1),n.forEach(f)}function p(v){v.code==="Tab"&&(u=new Date().getTime())}function f(v){const x=()=>{if(new Date().getTime()-u>10)return;e.scrollLeft=0;const w=n.indexOf(v),$=t.findIndex(_=>_.includes(w));Cd($)&&(i.useDuration(0),o.index($,0))};l.add(v,"focus",x,{passive:!0,capture:!0})}return{init:d}}function Hi(e){let n=e;function t(){return n}function o(p){n=u(p)}function i(p){n+=u(p)}function l(p){n-=u(p)}function u(p){return Cd(p)?p:p.get()}return{get:t,set:o,add:i,subtract:l}}function nx(e,n,t){const o=e.scroll==="x"?u:d,i=t.style;let l=!1;function u(x){return`translate3d(${x}px,0px,0px)`}function d(x){return`translate3d(0px,${x}px,0px)`}function p(x){l||(i.transform=o(n.apply(x)))}function f(x){l=!x}function g(){l||(i.transform="",t.getAttribute("style")||t.removeAttribute("style"))}return{clear:g,to:p,toggleActive:f}}function HP(e,n,t,o,i,l,u,d,p,f){const v=ua(l),x=ua(l).reverse(),m=y().concat(R());function S(P,D){return P.reduce((I,L)=>I-l[L],D)}function w(P,D){return P.reduce((I,L)=>S(I,D)>0?I.concat([L]):I,[])}function $(P){return u.map((D,I)=>({start:D-i[I]+.5+P,end:D+t-.5+P}))}function _(P,D,I){const L=$(D);return P.map(F=>{const Z=I?0:-o,V=I?o:0,J=I?"end":"start",de=L[F][J];return{index:F,loopPoint:de,slideLocation:Hi(-1),translate:nx(e,n,f[F]),target:()=>p.get()>de?Z:V}})}function y(){const P=d[0],D=w(x,P);return _(D,o,!1)}function R(){const P=t-d[0]-1,D=w(v,P);return _(D,-o,!0)}function M(){return m.every(({index:P})=>{const D=v.filter(I=>I!==P);return S(D,t)<=.1})}function E(){m.forEach(P=>{const{target:D,translate:I,slideLocation:L}=P,F=D();F!==L.get()&&(I.to(F),L.set(F))})}function k(){m.forEach(P=>P.translate.clear())}return{canLoop:M,clear:k,loop:E,loopPoints:m}}function VP(e,n,t){let o,i=!1;function l(p){if(!t)return;function f(g){for(const v of g)if(v.type==="childList"){p.reInit(),n.emit("slidesChanged");break}}o=new MutationObserver(g=>{i||(jd(t)||t(p,g))&&f(g)}),o.observe(e,{childList:!0})}function u(){o&&o.disconnect(),i=!0}return{init:l,destroy:u}}function GP(e,n,t,o){const i={};let l=null,u=null,d,p=!1;function f(){d=new IntersectionObserver(S=>{p||(S.forEach(w=>{const $=n.indexOf(w.target);i[$]=w}),l=null,u=null,t.emit("slidesInView"))},{root:e.parentElement,threshold:o}),n.forEach(S=>d.observe(S))}function g(){d&&d.disconnect(),p=!0}function v(S){return da(i).reduce((w,$)=>{const _=parseInt($),{isIntersecting:y}=i[_];return(S&&y||!S&&!y)&&w.push(_),w},[])}function x(S=!0){if(S&&l)return l;if(!S&&u)return u;const w=v(S);return S&&(l=w),S||(u=w),w}return{init:f,destroy:g,get:x}}function WP(e,n,t,o,i,l){const{measureSize:u,startEdge:d,endEdge:p}=e,f=t[0]&&i,g=S(),v=w(),x=t.map(u),m=$();function S(){if(!f)return 0;const y=t[0];return yt(n[d]-y[d])}function w(){if(!f)return 0;const y=l.getComputedStyle(ar(o));return parseFloat(y.getPropertyValue(`margin-${p}`))}function $(){return t.map((y,R,M)=>{const E=!R,k=Rd(M,R);return E?x[R]+g:k?x[R]+v:M[R+1][d]-y[d]}).map(yt)}return{slideSizes:x,slideSizesWithGaps:m,startGap:g,endGap:v}}function UP(e,n,t,o,i,l,u,d,p,f){const{startEdge:g,endEdge:v}=e,x=Cd(o);function m(_,y){return ua(_).filter(R=>R%y===0).map(R=>_.slice(R,R+y))}function S(_){return _.length?ua(_).reduce((y,R)=>{const M=ar(y)||0,E=M===0,k=R===Sa(_),H=l[g]-u[M][g],P=l[g]-u[R][v],D=!i&&E?n.apply(d):0,I=!i&&k?n.apply(p):0;return yt(P-I-(H+D))>t+f&&y.push(R),k&&y.push(_.length),y},[]).map((y,R,M)=>{const E=Math.max(M[R-1]||0);return _.slice(E,y)}):[]}function w(_){return x?m(_,o):S(_)}return{groupSlides:w}}function XP(e,n,t,o,i,l,u){const{align:d,axis:p,direction:f,startIndex:g,loop:v,duration:x,dragFree:m,dragThreshold:S,inViewThreshold:w,slidesToScroll:$,skipSnaps:_,containScroll:y,watchResize:R,watchSlides:M,watchDrag:E}=l,k=2,H=$P(),P=H.measure(n),D=t.map(H.measure),I=jP(f),L=CP(p,f),F=L.measureSize(P),Z=EP(F),V=_P(d,F),J=!v&&!!y,de=v||!!y,{slideSizes:ge,slideSizesWithGaps:ce,startGap:ue,endGap:K}=WP(L,P,D,t,de,i),ne=UP(L,I,F,$,v,P,D,ue,K,k),{snaps:U,snapsAligned:q}=LP(L,V,P,D,ne),ie=-ar(U)+ar(ce),{snapsContained:pe,scrollContainLimit:Y}=DP(F,ie,q,y,k),be=J?pe:q,{limit:B}=TP(ie,be,v),se=tx(Sa(be),g,v),fe=se.clone(),le=ua(t),oe=({dragHandler:Xe,scrollBody:ee,scrollBounds:me,options:{loop:we}})=>{we||me.constrain(Xe.pointerDown()),ee.seek()},he=({scrollBody:Xe,translate:ee,location:me,offsetLocation:we,scrollLooper:De,slideLooper:ve,dragHandler:je,animation:Ne,eventHandler:ke,options:{loop:et}},st)=>{const Rt=Xe.velocity(),At=Xe.settled();At&&!je.pointerDown()&&(Ne.stop(),ke.emit("settle")),At||ke.emit("scroll"),we.set(me.get()-Rt+Rt*st),et&&(De.loop(Xe.direction()),ve.loop()),ee.to(we.get())},xe=SP(o,i,()=>oe(Ct),Xe=>he(Ct,Xe)),Ce=.68,nt=be[se.get()],Ze=Hi(nt),Qe=Hi(nt),Ue=Hi(nt),rt=AP(Ze,Qe,Ue,x,Ce),ze=OP(v,be,ie,B,Ue),ot=zP(xe,se,fe,rt,ze,Ue,u),He=kP(B),Ft=fa(),St=GP(n,t,u,w),{slideRegistry:Ht}=FP(J,y,be,Y,ne,le),Vt=BP(e,t,Ht,ot,rt,Ft),Ct={ownerDocument:o,ownerWindow:i,eventHandler:u,containerRect:P,slideRects:D,animation:xe,axis:L,direction:I,dragHandler:NP(L,I,e,o,i,Ue,RP(L,i),Ze,xe,ot,rt,ze,se,u,Z,m,S,_,Ce,E),eventStore:Ft,percentOfView:Z,index:se,indexPrevious:fe,limit:B,location:Ze,offsetLocation:Qe,options:l,resizeHandler:PP(n,u,i,t,L,R,H),scrollBody:rt,scrollBounds:MP(B,Qe,Ue,rt,Z),scrollLooper:IP(ie,B,Qe,[Ze,Qe,Ue]),scrollProgress:He,scrollSnapList:be.map(He.get),scrollSnaps:be,scrollTarget:ze,scrollTo:ot,slideLooper:HP(L,I,F,ie,ge,ce,U,be,Qe,t),slideFocus:Vt,slidesHandler:VP(n,u,M),slidesInView:St,slideIndexes:le,slideRegistry:Ht,slidesToScroll:ne,target:Ue,translate:nx(L,I,n)};return Ct}function qP(){const e={};let n;function t(p){n=p}function o(p){return e[p]||[]}function i(p){return o(p).forEach(f=>f(n,p)),d}function l(p,f){return e[p]=o(p).concat([f]),d}function u(p,f){return e[p]=o(p).filter(g=>g!==f),d}const d={init:t,emit:i,off:u,on:l};return d}const KP={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0};function YP(e){function n(l,u){return Qv(l,u||{})}function t(l){const u=l.breakpoints||{},d=da(u).filter(p=>e.matchMedia(p).matches).map(p=>u[p]).reduce((p,f)=>n(p,f),{});return n(l,d)}function o(l){return l.map(u=>da(u.breakpoints||{})).reduce((u,d)=>u.concat(d),[]).map(e.matchMedia)}return{mergeOptions:n,optionsAtMedia:t,optionsMediaQueries:o}}function JP(e){let n=[];function t(l,u){return n=u.filter(({options:d})=>e.optionsAtMedia(d).active!==!1),n.forEach(d=>d.init(l,e)),u.reduce((d,p)=>Object.assign(d,{[p.name]:p}),{})}function o(){n=n.filter(l=>l.destroy())}return{init:t,destroy:o}}function Ji(e,n,t){const o=e.ownerDocument,i=o.defaultView,l=YP(i),u=JP(l),d=fa(),p=qP(),{mergeOptions:f,optionsAtMedia:g,optionsMediaQueries:v}=l,{on:x,off:m,emit:S}=p,w=L;let $=!1,_,y=f(KP,Ji.globalOptions),R=f(y),M=[],E,k,H;function P(){const{container:le,slides:oe}=R;k=(Au(le)?e.querySelector(le):le)||e.children[0];const xe=Au(oe)?k.querySelectorAll(oe):oe;H=[].slice.call(xe||k.children)}function D(le){const oe=XP(e,k,H,o,i,le,p);if(le.loop&&!oe.slideLooper.canLoop()){const he=Object.assign({},le,{loop:!1});return D(he)}return oe}function I(le,oe){$||(y=f(y,le),R=g(y),M=oe||M,P(),_=D(R),v([y,...M.map(({options:he})=>he)]).forEach(he=>d.add(he,"change",L)),R.active&&(_.translate.to(_.location.get()),_.animation.init(),_.slidesInView.init(),_.slideFocus.init(),_.eventHandler.init(fe),_.resizeHandler.init(fe),_.slidesHandler.init(fe),_.options.loop&&_.slideLooper.loop(),k.offsetParent&&H.length&&_.dragHandler.init(fe),E=u.init(fe,M)))}function L(le,oe){const he=ne();F(),I(f({startIndex:he},le),oe),p.emit("reInit")}function F(){_.dragHandler.destroy(),_.eventStore.clear(),_.translate.clear(),_.slideLooper.clear(),_.resizeHandler.destroy(),_.slidesHandler.destroy(),_.slidesInView.destroy(),_.animation.destroy(),u.destroy(),d.clear()}function Z(){$||($=!0,d.clear(),F(),p.emit("destroy"))}function V(le,oe,he){!R.active||$||(_.scrollBody.useBaseFriction().useDuration(oe===!0?0:R.duration),_.scrollTo.index(le,he||0))}function J(le){const oe=_.index.add(1).get();V(oe,le,-1)}function de(le){const oe=_.index.add(-1).get();V(oe,le,1)}function ge(){return _.index.add(1).get()!==ne()}function ce(){return _.index.add(-1).get()!==ne()}function ue(){return _.scrollSnapList}function K(){return _.scrollProgress.get(_.location.get())}function ne(){return _.index.get()}function U(){return _.indexPrevious.get()}function q(){return _.slidesInView.get()}function ie(){return _.slidesInView.get(!1)}function pe(){return E}function Y(){return _}function be(){return e}function B(){return k}function se(){return H}const fe={canScrollNext:ge,canScrollPrev:ce,containerNode:B,internalEngine:Y,destroy:Z,off:m,on:x,emit:S,plugins:pe,previousScrollSnap:U,reInit:w,rootNode:be,scrollNext:J,scrollPrev:de,scrollProgress:K,scrollSnapList:ue,scrollTo:V,selectedScrollSnap:ne,slideNodes:se,slidesInView:q,slidesNotInView:ie};return I(n,t),setTimeout(()=>p.emit("init"),0),fe}Ji.globalOptions=void 0;function $d(e={},n=[]){const t=C.useRef(e),o=C.useRef(n),[i,l]=C.useState(),[u,d]=C.useState(),p=C.useCallback(()=>{i&&i.reInit(t.current,o.current)},[i]);return C.useEffect(()=>{if(bP()&&u){Ji.globalOptions=$d.globalOptions;const f=Ji(u,t.current,o.current);return l(f),()=>f.destroy()}else l(void 0)},[u,l]),C.useEffect(()=>{Sd(t.current,e)||(t.current=e,p())},[e,p]),C.useEffect(()=>{yP(o.current,n)||(o.current=n,p())},[n,p]),[d,i]}$d.globalOptions=void 0;const rx=C.createContext(null);function xl(){const e=C.useContext(rx);if(!e)throw new Error("useCarousel must be used within a ");return e}const ox=C.forwardRef(({orientation:e="horizontal",opts:n,setApi:t,plugins:o,className:i,children:l,...u},d)=>{const[p,f]=$d({...n,axis:e==="horizontal"?"x":"y"},o),[g,v]=C.useState(!1),[x,m]=C.useState(!1),S=C.useCallback(y=>{y&&(v(y.canScrollPrev()),m(y.canScrollNext()))},[]),w=C.useCallback(()=>f?.scrollPrev(),[f]),$=C.useCallback(()=>f?.scrollNext(),[f]),_=C.useCallback(y=>{y.key==="ArrowLeft"?(y.preventDefault(),w()):y.key==="ArrowRight"&&(y.preventDefault(),$())},[w,$]);return C.useEffect(()=>{!f||!t||t(f)},[f,t]),C.useEffect(()=>{if(f)return S(f),f.on("reInit",S),f.on("select",S),()=>{f.off("select",S)}},[f,S]),a.jsx(rx.Provider,{value:{carouselRef:p,api:f,opts:n,orientation:e||(n?.axis==="y"?"vertical":"horizontal"),scrollPrev:w,scrollNext:$,canScrollPrev:g,canScrollNext:x},children:a.jsx("div",{ref:d,onKeyDownCapture:_,className:X("relative",i),role:"region","aria-roledescription":"carousel",...u,children:l})})});ox.displayName="Carousel";const sx=C.forwardRef(({className:e,...n},t)=>{const{carouselRef:o,orientation:i}=xl();return a.jsx("div",{ref:o,className:"overflow-hidden",children:a.jsx("div",{ref:t,className:X("flex",i==="horizontal"?"-ml-4":"-mt-4 flex-col",e),...n})})});sx.displayName="Carousel.Content";const ax=C.forwardRef(({className:e,...n},t)=>{const{orientation:o}=xl();return a.jsx("div",{ref:t,className:X("shrink-0 grow-0 basis-full min-w-0",o==="horizontal"?"pl-4":"pt-4",e),role:"group","aria-roledescription":"slide",...n})});ax.displayName="Carousel.Item";const ix=C.forwardRef(({className:e,variant:n="outline",size:t="icon",...o},i)=>{const{orientation:l,scrollPrev:u,canScrollPrev:d}=xl();return a.jsxs(dt,{ref:i,variant:n,size:t,className:X("absolute w-8 h-8 rounded-full",l==="horizontal"?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!d,onClick:u,...o,children:[a.jsx(mj,{className:"h-4 w-4"}),a.jsx("span",{className:"sr-only",children:"Previous slide"})]})});ix.displayName="Carousel.Prev";const lx=C.forwardRef(({className:e,variant:n="outline",size:t="icon",...o},i)=>{const{orientation:l,scrollNext:u,canScrollNext:d}=xl();return a.jsxs(dt,{ref:i,variant:n,size:t,className:X("absolute w-8 h-8 rounded-full",l==="horizontal"?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!d,onClick:u,...o,children:[a.jsx(vj,{className:"h-4 w-4"}),a.jsx("span",{className:"sr-only",children:"Next slide"})]})});lx.displayName="Carousel.Next";var cx=G.createContext({drawerRef:{current:null},overlayRef:{current:null},scaleBackground:()=>{},onPress:()=>{},onRelease:()=>{},onDrag:()=>{},onNestedDrag:()=>{},onNestedOpenChange:()=>{},onNestedRelease:()=>{},openProp:void 0,dismissible:!1,isOpen:!1,keyboardIsOpen:{current:!1},snapPointsOffset:null,snapPoints:null,modal:!1,shouldFade:!1,activeSnapPoint:null,onOpenChange:()=>{},setActiveSnapPoint:()=>{},visible:!1,closeDrawer:()=>{},setVisible:()=>{},direction:"bottom"}),Ed=()=>G.useContext(cx);function ZP(e,{insertAt:n}={}){if(!e||typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css",n==="top"&&t.firstChild?t.insertBefore(o,t.firstChild):t.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}ZP(`[vaul-drawer]{touch-action:none;transition:transform .5s cubic-bezier(.32,.72,0,1)}[vaul-drawer][vaul-drawer-direction=bottom]{transform:translate3d(0,100%,0)}[vaul-drawer][vaul-drawer-direction=top]{transform:translate3d(0,-100%,0)}[vaul-drawer][vaul-drawer-direction=left]{transform:translate3d(-100%,0,0)}[vaul-drawer][vaul-drawer-direction=right]{transform:translate3d(100%,0,0)}.vaul-dragging .vaul-scrollable [vault-drawer-direction=top],.vaul-dragging .vaul-scrollable [vault-drawer-direction=bottom]{overflow-y:hidden!important}.vaul-dragging .vaul-scrollable [vault-drawer-direction=left],.vaul-dragging .vaul-scrollable [vault-drawer-direction=right]{overflow-x:hidden!important}[vaul-drawer][vaul-drawer-visible=true][vaul-drawer-direction=top],[vaul-drawer][vaul-drawer-visible=true][vaul-drawer-direction=bottom]{transform:translate3d(0,var(--snap-point-height, 0),0)}[vaul-drawer][vaul-drawer-visible=true][vaul-drawer-direction=left],[vaul-drawer][vaul-drawer-visible=true][vaul-drawer-direction=right]{transform:translate3d(var(--snap-point-height, 0),0,0)}[vaul-overlay]{opacity:0;transition:opacity .5s cubic-bezier(.32,.72,0,1)}[vaul-overlay][vaul-drawer-visible=true]{opacity:1}[vaul-drawer]:after{content:"";position:absolute;background:inherit;background-color:inherit}[vaul-drawer][vaul-drawer-direction=top]:after{top:initial;bottom:100%;left:0;right:0;height:200%}[vaul-drawer][vaul-drawer-direction=bottom]:after{top:100%;bottom:initial;left:0;right:0;height:200%}[vaul-drawer][vaul-drawer-direction=left]:after{left:initial;right:100%;top:0;bottom:0;width:200%}[vaul-drawer][vaul-drawer-direction=right]:after{left:100%;right:initial;top:0;bottom:0;width:200%}[vaul-overlay][vaul-snap-points=true]:not([vaul-snap-points-overlay="true"]):not([data-state="closed"]){opacity:0}[vaul-overlay][vaul-snap-points-overlay=true]:not([vaul-drawer-visible="false"]){opacity:1}@keyframes fake-animation{}@media (hover: hover) and (pointer: fine){[vaul-drawer]{user-select:none}} -`);var QP=typeof window<"u"?C.useLayoutEffect:C.useEffect;function Mu(...e){return(...n)=>{for(let t of e)typeof t=="function"&&t(...n)}}function e3(){return Pd(/^Mac/)}function t3(){return Pd(/^iPhone/)}function n3(){return Pd(/^iPad/)||e3()&&navigator.maxTouchPoints>1}function ux(){return t3()||n3()}function Pd(e){return typeof window<"u"&&window.navigator!=null?e.test(window.navigator.platform):void 0}var Yc=typeof document<"u"&&window.visualViewport;function Xg(e){let n=window.getComputedStyle(e);return/(auto|scroll)/.test(n.overflow+n.overflowX+n.overflowY)}function dx(e){for(Xg(e)&&(e=e.parentElement);e&&!Xg(e);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}var r3=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]),ji=0,Jc;function o3(e={}){let{isDisabled:n}=e;QP(()=>{if(!n)return ji++,ji===1&&(ux()?Jc=a3():Jc=s3()),()=>{ji--,ji===0&&Jc()}},[n])}function s3(){return Mu(fx(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`))}function a3(){let e,n=0,t=v=>{e=dx(v.target),!(e===document.documentElement&&e===document.body)&&(n=v.changedTouches[0].pageY)},o=v=>{if(!e||e===document.documentElement||e===document.body){v.preventDefault();return}let x=v.changedTouches[0].pageY,m=e.scrollTop,S=e.scrollHeight-e.clientHeight;S!==0&&((m<=0&&x>n||m>=S&&x{let x=v.target;Du(x)&&x!==document.activeElement&&(v.preventDefault(),x.style.transform="translateY(-2000px)",x.focus(),requestAnimationFrame(()=>{x.style.transform=""}))},l=v=>{let x=v.target;Du(x)&&(x.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{x.style.transform="",Yc&&(Yc.height{qg(x)}):Yc.addEventListener("resize",()=>qg(x),{once:!0}))}))},u=()=>{window.scrollTo(0,0)},d=window.pageXOffset,p=window.pageYOffset,f=Mu(fx(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`));window.scrollTo(0,0);let g=Mu(Fs(document,"touchstart",t,{passive:!1,capture:!0}),Fs(document,"touchmove",o,{passive:!1,capture:!0}),Fs(document,"touchend",i,{passive:!1,capture:!0}),Fs(document,"focus",l,!0),Fs(window,"scroll",u));return()=>{f(),g(),window.scrollTo(d,p)}}function fx(e,n,t){let o=e.style[n];return e.style[n]=t,()=>{e.style[n]=o}}function Fs(e,n,t,o){return e.addEventListener(n,t,o),()=>{e.removeEventListener(n,t,o)}}function qg(e){let n=document.scrollingElement||document.documentElement;for(;e&&e!==n;){let t=dx(e);if(t!==document.documentElement&&t!==document.body&&t!==e){let o=t.getBoundingClientRect().top,i=e.getBoundingClientRect().top,l=e.getBoundingClientRect().bottom,u=t.getBoundingClientRect().bottom;l>u&&(t.scrollTop+=i-o)}e=t.parentElement}}function Du(e){return e instanceof HTMLInputElement&&!r3.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}function i3(e,n){typeof e=="function"?e(n):e!=null&&(e.current=n)}function l3(...e){return n=>e.forEach(t=>i3(t,n))}function px(...e){return C.useCallback(l3(...e),e)}var qr=null;function c3({isOpen:e,modal:n,nested:t,hasBeenOpened:o,preventScrollRestoration:i}){let[l,u]=G.useState(typeof window<"u"?window.location.href:""),d=G.useRef(0),p=G.useCallback(()=>{if(qr===null&&e){qr={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left,height:document.body.style.height};let{scrollX:g,innerHeight:v}=window;document.body.style.setProperty("position","fixed","important"),document.body.style.top=`${-d.current}px`,document.body.style.left=`${-g}px`,document.body.style.right="0px",document.body.style.height="auto",setTimeout(()=>requestAnimationFrame(()=>{let x=v-window.innerHeight;x&&d.current>=v&&(document.body.style.top=`${-(d.current+x)}px`)}),300)}},[e]),f=G.useCallback(()=>{if(qr!==null){let g=-parseInt(document.body.style.top,10),v=-parseInt(document.body.style.left,10);document.body.style.position=qr.position,document.body.style.top=qr.top,document.body.style.left=qr.left,document.body.style.height=qr.height,document.body.style.right="unset",requestAnimationFrame(()=>{if(i&&l!==window.location.href){u(window.location.href);return}window.scrollTo(v,g)}),qr=null}},[l]);return G.useEffect(()=>{function g(){d.current=window.scrollY}return g(),window.addEventListener("scroll",g),()=>{window.removeEventListener("scroll",g)}},[]),G.useEffect(()=>{t||!o||(e?(p(),n||setTimeout(()=>{f()},500)):f())},[e,o,l,n,t,p,f]),{restorePositionSetting:f}}var gx=new WeakMap;function vt(e,n,t=!1){if(!e||!(e instanceof HTMLElement)||!n)return;let o={};Object.entries(n).forEach(([i,l])=>{if(i.startsWith("--")){e.style.setProperty(i,l);return}o[i]=e.style[i],e.style[i]=l}),!t&&gx.set(e,o)}function Ni(e,n){if(!e||!(e instanceof HTMLElement))return;let t=gx.get(e);t&&(n?e.style[n]=t[n]:Object.entries(t).forEach(([o,i])=>{e.style[o]=i}))}var Dt=e=>{switch(e){case"top":case"bottom":return!0;case"left":case"right":return!1;default:return e}};function Ri(e,n){let t=window.getComputedStyle(e),o=t.transform||t.webkitTransform||t.mozTransform,i=o.match(/^matrix3d\((.+)\)$/);return i?parseFloat(i[1].split(", ")[Dt(n)?13:12]):(i=o.match(/^matrix\((.+)\)$/),i?parseFloat(i[1].split(", ")[Dt(n)?5:4]):null)}function u3(e){return 8*(Math.log(e+1)-2)}var ut={DURATION:.5,EASE:[.32,.72,0,1]},hx=.4;function mx(e){let n=G.useRef(e);return G.useEffect(()=>{n.current=e}),G.useMemo(()=>(...t)=>{var o;return(o=n.current)==null?void 0:o.call(n,...t)},[])}function d3({defaultProp:e,onChange:n}){let t=G.useState(e),[o]=t,i=G.useRef(o),l=mx(n);return G.useEffect(()=>{i.current!==o&&(l(o),i.current=o)},[o,i,l]),t}function f3({prop:e,defaultProp:n,onChange:t=()=>{}}){let[o,i]=d3({defaultProp:n,onChange:t}),l=e!==void 0,u=l?e:o,d=mx(t),p=G.useCallback(f=>{if(l){let g=typeof f=="function"?f(e):f;g!==e&&d(g)}else i(f)},[l,e,i,d]);return[u,p]}function p3({activeSnapPointProp:e,setActiveSnapPointProp:n,snapPoints:t,drawerRef:o,overlayRef:i,fadeFromIndex:l,onSnapPointChange:u,direction:d="bottom"}){let[p,f]=f3({prop:e,defaultProp:t?.[0],onChange:n}),g=G.useMemo(()=>p===t?.[t.length-1]||null,[t,p]),v=t&&t.length>0&&(l||l===0)&&!Number.isNaN(l)&&t[l]===p||!t,x=G.useMemo(()=>t?.findIndex(R=>R===p),[t,p]),m=G.useMemo(()=>{var R;return(R=t?.map(M=>{let E=typeof window<"u",k=typeof M=="string",H=0;if(k&&(H=parseInt(M,10)),Dt(d)){let D=k?H:E?M*window.innerHeight:0;return E?d==="bottom"?window.innerHeight-D:-window.innerHeight+D:D}let P=k?H:E?M*window.innerWidth:0;return E?d==="right"?window.innerWidth-P:-window.innerWidth+P:P}))!=null?R:[]},[t]),S=G.useMemo(()=>x!==null?m?.[x]:null,[m,x]),w=G.useCallback(R=>{var M;let E=(M=m?.findIndex(k=>k===R))!=null?M:null;u(E),vt(o.current,{transition:`transform ${ut.DURATION}s cubic-bezier(${ut.EASE.join(",")})`,transform:Dt(d)?`translate3d(0, ${R}px, 0)`:`translate3d(${R}px, 0, 0)`}),m&&E!==m.length-1&&E!==l?vt(i.current,{transition:`opacity ${ut.DURATION}s cubic-bezier(${ut.EASE.join(",")})`,opacity:"0"}):vt(i.current,{transition:`opacity ${ut.DURATION}s cubic-bezier(${ut.EASE.join(",")})`,opacity:"1"}),f(E!==null?t?.[E]:null)},[o.current,t,m,l,i,f]);G.useEffect(()=>{var R;if(e){let M=(R=t?.findIndex(E=>E===e))!=null?R:-1;m&&M!==-1&&typeof m[M]=="number"&&w(m[M])}},[e,t,m,w]);function $({draggedDistance:R,closeDrawer:M,velocity:E,dismissible:k}){if(l===void 0)return;let H=d==="bottom"||d==="right"?(S??0)-R:(S??0)+R,P=x===l-1,D=x===0,I=R>0;if(P&&vt(i.current,{transition:`opacity ${ut.DURATION}s cubic-bezier(${ut.EASE.join(",")})`}),E>2&&!I){k?M():w(m[0]);return}if(E>2&&I&&m&&t){w(m[t.length-1]);return}let L=m?.reduce((Z,V)=>typeof Z!="number"||typeof V!="number"?Z:Math.abs(V-H)hx&&Math.abs(R)0&&g){w(m[t.length-1]);return}if(D&&Z<0&&k&&M(),x===null)return;w(m[x+Z]);return}w(L)}function _({draggedDistance:R}){if(S===null)return;let M=d==="bottom"||d==="right"?S-R:S+R;(d==="bottom"||d==="right")&&Mm[m.length-1]||vt(o.current,{transform:Dt(d)?`translate3d(0, ${M}px, 0)`:`translate3d(${M}px, 0, 0)`})}function y(R,M){if(!t||typeof x!="number"||!m||l===void 0)return null;let E=x===l-1;if(x>=l&&M)return 0;if(E&&!M)return 1;if(!v&&!E)return null;let k=E?x+1:x-1,H=E?m[k]-m[k-1]:m[k+1]-m[k],P=R/Math.abs(H);return E?1-P:P}return{isLastSnapPoint:g,activeSnapPoint:p,shouldFade:v,getPercentageDragged:y,setActiveSnapPoint:f,activeSnapPointIndex:x,onRelease:$,onDrag:_,snapPointsOffset:m}}var g3=.25,h3=100,Kg=8,wo=16,Yg=26,Jg="vaul-dragging";function vx({open:e,onOpenChange:n,children:t,shouldScaleBackground:o,onDrag:i,onRelease:l,snapPoints:u,nested:d=!1,closeThreshold:p=g3,scrollLockTimeout:f=h3,dismissible:g=!0,fadeFromIndex:v=u&&u.length-1,activeSnapPoint:x,setActiveSnapPoint:m,fixed:S,modal:w=!0,onClose:$,direction:_="bottom",preventScrollRestoration:y=!0}){var R;let[M=!1,E]=G.useState(!1),[k,H]=G.useState(!1),[P,D]=G.useState(!1),[I,L]=G.useState(!1),[F,Z]=G.useState(!1),[V,J]=G.useState(!1),de=G.useRef(null),ge=G.useRef(null),ce=G.useRef(null),ue=G.useRef(null),K=G.useRef(null),ne=G.useRef(!1),U=G.useRef(null),q=G.useRef(0),ie=G.useRef(!1),pe=G.useRef(0),Y=G.useRef(null),be=G.useRef(((R=Y.current)==null?void 0:R.getBoundingClientRect().height)||0),B=G.useRef(0),se=G.useCallback(ee=>{u&&ee===xe.length-1&&(ge.current=new Date)},[]),{activeSnapPoint:fe,activeSnapPointIndex:le,setActiveSnapPoint:oe,onRelease:he,snapPointsOffset:xe,onDrag:Ce,shouldFade:nt,getPercentageDragged:Ze}=p3({snapPoints:u,activeSnapPointProp:x,setActiveSnapPointProp:m,drawerRef:Y,fadeFromIndex:v,overlayRef:de,onSnapPointChange:se,direction:_});o3({isDisabled:!M||F||!w||V||!k});let{restorePositionSetting:Qe}=c3({isOpen:M,modal:w,nested:d,hasBeenOpened:k,preventScrollRestoration:y});function Ue(){return(window.innerWidth-Yg)/window.innerWidth}function rt(ee){var me;!g&&!u||Y.current&&!Y.current.contains(ee.target)||(be.current=((me=Y.current)==null?void 0:me.getBoundingClientRect().height)||0,Z(!0),ce.current=new Date,ux()&&window.addEventListener("touchend",()=>ne.current=!1,{once:!0}),ee.target.setPointerCapture(ee.pointerId),q.current=Dt(_)?ee.screenY:ee.screenX)}function ze(ee,me){var we;let De=ee,ve=(we=window.getSelection())==null?void 0:we.toString(),je=Y.current?Ri(Y.current,_):null,Ne=new Date;if(De.hasAttribute("data-vaul-no-drag"))return!1;if(_==="right"||_==="left")return!0;if(ge.current&&Ne.getTime()-ge.current.getTime()<500)return!1;if(je!==null&&(_==="bottom"?je>0:je<0))return!0;if(ve&&ve.length>0)return!1;if(K.current&&Ne.getTime()-K.current.getTime()De.clientHeight){if(De.scrollTop!==0)return K.current=new Date,!1;if(De.getAttribute("role")==="dialog")return!0}De=De.parentNode}return!0}function ot(ee){if(Y.current&&F){let me=_==="bottom"||_==="right"?1:-1,we=(q.current-(Dt(_)?ee.screenY:ee.screenX))*me,De=we>0;if(u&&le===0&&!g||!ne.current&&!ze(ee.target,De))return;if(Y.current.classList.add(Jg),ne.current=!0,vt(Y.current,{transition:"none"}),vt(de.current,{transition:"none"}),u&&Ce({draggedDistance:we}),De&&!u){let st=u3(we),Rt=Math.min(st*-1,0)*me;vt(Y.current,{transform:Dt(_)?`translate3d(0, ${Rt}px, 0)`:`translate3d(${Rt}px, 0, 0)`});return}let ve=Math.abs(we),je=document.querySelector("[vaul-drawer-wrapper]"),Ne=ve/be.current,ke=Ze(ve,De);ke!==null&&(Ne=ke);let et=1-Ne;if((nt||v&&le===v-1)&&(i?.(ee,Ne),vt(de.current,{opacity:`${et}`,transition:"none"},!0)),je&&de.current&&o){let st=Math.min(Ue()+Ne*(1-Ue()),1),Rt=8-Ne*8,At=Math.max(0,14-Ne*14);vt(je,{borderRadius:`${Rt}px`,transform:Dt(_)?`scale(${st}) translate3d(0, ${At}px, 0)`:`scale(${st}) translate3d(${At}px, 0, 0)`,transition:"none"},!0)}if(!u){let st=ve*me;vt(Y.current,{transform:Dt(_)?`translate3d(0, ${st}px, 0)`:`translate3d(${st}px, 0, 0)`})}}}G.useEffect(()=>()=>{Ht(!1),Qe()},[]),G.useEffect(()=>{var ee;function me(){var we;if(!Y.current)return;let De=document.activeElement;if(Du(De)||ie.current){let ve=((we=window.visualViewport)==null?void 0:we.height)||0,je=window.innerHeight-ve,Ne=Y.current.getBoundingClientRect().height||0;B.current||(B.current=Ne);let ke=Y.current.getBoundingClientRect().top;if(Math.abs(pe.current-je)>60&&(ie.current=!ie.current),u&&u.length>0&&xe&&le){let et=xe[le]||0;je+=et}if(pe.current=je,Ne>ve||ie.current){let et=Y.current.getBoundingClientRect().height,st=et;et>ve&&(st=ve-Yg),S?Y.current.style.height=`${et-Math.max(je,0)}px`:Y.current.style.height=`${Math.max(st,ve-ke)}px`}else Y.current.style.height=`${B.current}px`;u&&u.length>0&&!ie.current?Y.current.style.bottom="0px":Y.current.style.bottom=`${Math.max(je,0)}px`}}return(ee=window.visualViewport)==null||ee.addEventListener("resize",me),()=>{var we;return(we=window.visualViewport)==null?void 0:we.removeEventListener("resize",me)}},[le,u,xe]);function He(){Y.current&&($?.(),vt(Y.current,{transform:Dt(_)?`translate3d(0, ${_==="bottom"?"100%":"-100%"}, 0)`:`translate3d(${_==="right"?"100%":"-100%"}, 0, 0)`,transition:`transform ${ut.DURATION}s cubic-bezier(${ut.EASE.join(",")})`}),vt(de.current,{opacity:"0",transition:`opacity ${ut.DURATION}s cubic-bezier(${ut.EASE.join(",")})`}),Ht(!1),setTimeout(()=>{D(!1),E(!1)},300),setTimeout(()=>{u&&oe(u[0])},ut.DURATION*1e3))}G.useEffect(()=>{if(!M&&o){let ee=setTimeout(()=>{Ni(document.body)},200);return()=>clearTimeout(ee)}},[M,o]),G.useEffect(()=>{e?(E(!0),H(!0)):He()},[e]),G.useEffect(()=>{I&&n?.(M)},[M]),G.useEffect(()=>{L(!0)},[]);function Ft(){if(!Y.current)return;let ee=document.querySelector("[vaul-drawer-wrapper]"),me=Ri(Y.current,_);vt(Y.current,{transform:"translate3d(0, 0, 0)",transition:`transform ${ut.DURATION}s cubic-bezier(${ut.EASE.join(",")})`}),vt(de.current,{transition:`opacity ${ut.DURATION}s cubic-bezier(${ut.EASE.join(",")})`,opacity:"1"}),o&&me&&me>0&&M&&vt(ee,{borderRadius:`${Kg}px`,overflow:"hidden",...Dt(_)?{transform:`scale(${Ue()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`,transformOrigin:"top"}:{transform:`scale(${Ue()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`,transformOrigin:"left"},transitionProperty:"transform, border-radius",transitionDuration:`${ut.DURATION}s`,transitionTimingFunction:`cubic-bezier(${ut.EASE.join(",")})`},!0)}function St(ee){var me;if(!F||!Y.current)return;Y.current.classList.remove(Jg),ne.current=!1,Z(!1),ue.current=new Date;let we=Ri(Y.current,_);if(!ze(ee.target,!1)||!we||Number.isNaN(we)||ce.current===null)return;let De=ue.current.getTime()-ce.current.getTime(),ve=q.current-(Dt(_)?ee.screenY:ee.screenX),je=Math.abs(ve)/De;if(je>.05&&(J(!0),setTimeout(()=>{J(!1)},200)),u){he({draggedDistance:ve*(_==="bottom"||_==="right"?1:-1),closeDrawer:He,velocity:je,dismissible:g}),l?.(ee,!0);return}if(_==="bottom"||_==="right"?ve>0:ve<0){Ft(),l?.(ee,!0);return}if(je>hx){He(),l?.(ee,!1);return}let Ne=Math.min((me=Y.current.getBoundingClientRect().height)!=null?me:0,window.innerHeight);if(we>=Ne*p){He(),l?.(ee,!1);return}l?.(ee,!0),Ft()}G.useEffect(()=>{M&&(vt(document.documentElement,{scrollBehavior:"auto"}),ge.current=new Date,Ht(!0))},[M]),G.useEffect(()=>{var ee;if(Y.current&&P){let me=(ee=Y?.current)==null?void 0:ee.querySelectorAll("*");me?.forEach(we=>{let De=we;(De.scrollHeight>De.clientHeight||De.scrollWidth>De.clientWidth)&&De.classList.add("vaul-scrollable")})}},[P]);function Ht(ee){let me=document.querySelector("[vaul-drawer-wrapper]");!me||!o||(ee?(vt(document.body,{background:document.body.style.backgroundColor||document.body.style.background}),vt(document.body,{background:"black"},!0),vt(me,{borderRadius:`${Kg}px`,overflow:"hidden",...Dt(_)?{transform:`scale(${Ue()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`,transformOrigin:"top"}:{transform:`scale(${Ue()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`,transformOrigin:"left"},transitionProperty:"transform, border-radius",transitionDuration:`${ut.DURATION}s`,transitionTimingFunction:`cubic-bezier(${ut.EASE.join(",")})`})):(Ni(me,"overflow"),Ni(me,"transform"),Ni(me,"borderRadius"),vt(me,{transitionProperty:"transform, border-radius",transitionDuration:`${ut.DURATION}s`,transitionTimingFunction:`cubic-bezier(${ut.EASE.join(",")})`})))}function Vt(ee){let me=ee?(window.innerWidth-wo)/window.innerWidth:1,we=ee?-wo:0;U.current&&window.clearTimeout(U.current),vt(Y.current,{transition:`transform ${ut.DURATION}s cubic-bezier(${ut.EASE.join(",")})`,transform:`scale(${me}) translate3d(0, ${we}px, 0)`}),!ee&&Y.current&&(U.current=setTimeout(()=>{let De=Ri(Y.current,_);vt(Y.current,{transition:"none",transform:Dt(_)?`translate3d(0, ${De}px, 0)`:`translate3d(${De}px, 0, 0)`})},500))}function Ct(ee,me){if(me<0)return;let we=Dt(_)?window.innerHeight:window.innerWidth,De=(we-wo)/we,ve=De+me*(1-De),je=-wo+me*wo;vt(Y.current,{transform:Dt(_)?`scale(${ve}) translate3d(0, ${je}px, 0)`:`scale(${ve}) translate3d(${je}px, 0, 0)`,transition:"none"})}function Xe(ee,me){let we=Dt(_)?window.innerHeight:window.innerWidth,De=me?(we-wo)/we:1,ve=me?-wo:0;me&&vt(Y.current,{transition:`transform ${ut.DURATION}s cubic-bezier(${ut.EASE.join(",")})`,transform:Dt(_)?`scale(${De}) translate3d(0, ${ve}px, 0)`:`scale(${De}) translate3d(${ve}px, 0, 0)`})}return G.createElement(Sm,{modal:w,onOpenChange:ee=>{if(e!==void 0){n?.(ee);return}ee?(H(!0),E(ee)):He()},open:M},G.createElement(cx.Provider,{value:{visible:P,activeSnapPoint:fe,snapPoints:u,setActiveSnapPoint:oe,drawerRef:Y,overlayRef:de,scaleBackground:Ht,onOpenChange:n,onPress:rt,setVisible:D,onRelease:St,onDrag:ot,dismissible:g,isOpen:M,shouldFade:nt,closeDrawer:He,onNestedDrag:Ct,onNestedOpenChange:Vt,onNestedRelease:Xe,keyboardIsOpen:ie,openProp:e,modal:w,snapPointsOffset:xe,direction:_}},t))}var xx=G.forwardRef(function({children:e,...n},t){let{overlayRef:o,snapPoints:i,onRelease:l,shouldFade:u,isOpen:d,visible:p}=Ed(),f=px(t,o),g=i&&i.length>0;return G.createElement(pa,{onMouseUp:l,ref:f,"vaul-drawer-visible":p?"true":"false","vaul-overlay":"","vaul-snap-points":d&&g?"true":"false","vaul-snap-points-overlay":d&&u?"true":"false",...n})});xx.displayName="Drawer.Overlay";var bx=G.forwardRef(function({onOpenAutoFocus:e,onPointerDownOutside:n,onAnimationEnd:t,style:o,...i},l){let{drawerRef:u,onPress:d,onRelease:p,onDrag:f,dismissible:g,keyboardIsOpen:v,snapPointsOffset:x,visible:m,closeDrawer:S,modal:w,openProp:$,onOpenChange:_,setVisible:y,direction:R}=Ed(),M=px(l,u);return G.useEffect(()=>{y(!0)},[]),G.createElement(ga,{onOpenAutoFocus:E=>{var k;e?e(E):(E.preventDefault(),(k=u.current)==null||k.focus())},onPointerDown:d,onPointerDownOutside:E=>{if(n?.(E),!w||E.defaultPrevented){E.preventDefault();return}v.current&&(v.current=!1),E.preventDefault(),_?.(!1),!(!g||$!==void 0)&&S()},onPointerMove:f,onPointerUp:p,ref:M,style:x&&x.length>0?{"--snap-point-height":`${x[0]}px`,...o}:o,...i,"vaul-drawer":"","vaul-drawer-direction":R,"vaul-drawer-visible":m?"true":"false"})});bx.displayName="Drawer.Content";function m3({onDrag:e,onOpenChange:n,...t}){let{onNestedDrag:o,onNestedOpenChange:i,onNestedRelease:l}=Ed();if(!o)throw new Error("Drawer.NestedRoot must be placed in another drawer");return G.createElement(vx,{nested:!0,onClose:()=>{i(!1)},onDrag:(u,d)=>{o(u,d),e?.(u,d)},onOpenChange:u=>{u&&i(u),n?.(u)},onRelease:l,...t})}var lr={Root:vx,NestedRoot:m3,Content:bx,Overlay:xx,Trigger:xj,Portal:ol,Close:Qu,Title:ha,Description:ma};function yx({shouldScaleBackground:e=!0,...n}){return a.jsx(lr.Root,{shouldScaleBackground:e,...n})}yx.displayName="Drawer";const v3=lr.Trigger,x3=lr.Portal,b3=lr.Close,wx=C.forwardRef(({className:e,...n},t)=>a.jsx(lr.Overlay,{ref:t,className:X("fixed inset-0 bg-black/80 z-50",e),...n}));wx.displayName=lr.Overlay.displayName;const _x=C.forwardRef(({className:e,children:n,...t},o)=>a.jsxs(x3,{children:[a.jsx(wx,{}),a.jsxs(lr.Content,{ref:o,className:X("fixed mt-24 inset-x-0 bottom-0 h-auto bg-background z-50 border rounded-t-[10px] flex flex-col",e),...t,children:[a.jsx("div",{className:"mx-auto mt-4 w-[100px] h-2 bg-muted rounded-full"}),n]})]}));_x.displayName="DrawerContent";function y3({className:e,...n}){return a.jsx("div",{className:X("p-4 text-center sm:text-left grid gap-1.5",e),...n})}function w3({className:e,...n}){return a.jsx("div",{className:X("mt-auto p-4 flex flex-col gap-2",e),...n})}const Sx=C.forwardRef(({className:e,...n},t)=>a.jsx(lr.Title,{ref:t,className:X("text-lg font-semibold leading-none tracking-tight",e),...n}));Sx.displayName=lr.Title.displayName;const Cx=C.forwardRef(({className:e,...n},t)=>a.jsx(lr.Description,{ref:t,className:X("text-sm text-muted-foreground",e),...n}));Cx.displayName=lr.Description.displayName;function _3(){return a.jsxs("div",{className:"px-2 py-3 flex items-center justify-between bg-primary-foreground",children:[a.jsxs("div",{className:"flex items-center gap-x-1",children:[a.jsx("div",{className:"ml-2 pt-1",children:a.jsx(J$,{className:"size-7 stroke-none fill-slate-600 -rotate-90"})}),a.jsx("div",{className:"text-2xl font-extralight tracking-tighter text-blue-600",children:"shadcn-ui"}),a.jsx("div",{className:"text-2xl font-extralight tracking-tighter text-slate-600",children:"components showroom"})]}),a.jsx("div",{className:"pt-1 flex items-center justify-end gap-x-1",children:a.jsx(Z$,{})})]})}const jx="bg-muted/30 border-muted-foreground/30 border-t border-b";function S3(){return a.jsx("div",{className:`p-0.5 flex flex-col space-y-4 ${jx}`,children:a.jsx("div",{className:"flex items-center gap-2"})})}const C3=[{id:"1",name:"Unread"},{id:"2",name:"Threads"},{id:"3",name:"Chat Rooms",children:[{id:"3.1",name:"General"},{id:"3.2",name:"Random"},{id:"3.3",name:"Open Source Projects"}]},{id:"4",name:"Direct Messages",children:[{id:"4.1",name:"Alice",children:[{id:"4.1.1",name:"Alice2",icon:_g},{id:"4.1.2",name:"Bob2"},{id:"4.1.3",name:"Charlie2"}]},{id:"4.2",name:"Bob",icon:_g},{id:"4.3",name:"Charlie"}]},{id:"5",name:"Direct Messages",children:[{id:"5.1",name:"Alice",children:[{id:"5.1.1",name:"Alice2"},{id:"5.1.2",name:"Bob2"},{id:"5.1.3",name:"Charlie2"}]},{id:"5.2",name:"Bob"},{id:"5.3",name:"Charlie"}]},{id:"6",name:"Direct Messages",children:[{id:"6.1",name:"Alice",children:[{id:"6.1.1",name:"Alice2"},{id:"6.1.2",name:"Bob2"},{id:"6.1.3",name:"Charlie2"}]},{id:"6.2",name:"Bob"},{id:"6.3",name:"Charlie"}]}],Zg="focus:ring-primary-600 dark:focus:ring-primary-400 focus:ring-offset-primary-200 dark:focus:ring-offset-primary-800 focus:ring-1 focus:ring-offset-1 focus:outline-none",Nx={display:"flex",flex:"1"},j3=(e,n)=>{const t={...Nx};return e?t.minHeight=t.maxHeight=n+"%":t.minWidth=t.maxWidth=n+"%",t},N3={...Nx,minWidth:0,minHeight:0};function R3(e){const{vertical:n=!0,min:t=0,max:o=100,className:i,children:l,position:u,setPosition:d,onResize:p}=e,f=G.useRef(null),g=G.useCallback(x=>{if(!f.current)return;x.preventDefault();const{current:m}=f,S=m.getBoundingClientRect(),w=n?window.scrollY+S.y:window.scrollX+S.x,$=n?m.offsetHeight:m.offsetWidth,_=R=>{R.preventDefault();const M=((n?R.pageY:R.pageX)-w)/$*100,E=+oN(sN(M,t,o));d(E)},y=()=>{document.removeEventListener("mousemove",_),document.removeEventListener("mouseup",y),p?.()};document.addEventListener("mousemove",_),document.addEventListener("mouseup",y)},[f,n]);let v=G.Children.toArray(l);return v.length<2?a.jsx("div",{className:i,style:{display:"flex"},children:v}):a.jsxs("div",{ref:f,className:i,style:{display:"flex",flexDirection:n?"column":"row"},children:[a.jsx("div",{style:j3(n,u),children:v[0]}),a.jsx("div",{className:_t("splitpane-divider",n?"vertical":"horizontal"),onMouseDown:g}),a.jsx("div",{style:N3,children:v[1]})]})}const $3="d09GMgABAAAAAADcAAoAAAAAAggAAACWAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAABk4ALAoUNAE2AiQDCAsGAAQgBSAHIBtvAcieB3aD8wURQ+TZazbRE9HvF5vde4KCYGhiCgq/NKPF0i6UIsZynbP+Xi9Ng+XLbNlmNz/xIBBqq61FIQRJhC/+QA/08PJQJ3sK5TZFMlWzC/iK5GUN40psgqvxwBjBOg6JUSJ7ewyKE2AAaXZrfUB4v+hze37ugJ9d+DeYqiDwVgCawviwVFGnuttkLqIMGivmDg",E3=`data:application/font-woff2;base64,${$3}`,Vi=_a({text:E3}),$i=_a({fontText:Vi.text,xmlText:"",glyphs:[]});function P3(){const e=/^\s*data:(?[\w\/\+-]*);?(?(?:charset=[\w-]+)?);?(?base64?),(?[a-z0-9\!\$\&\'\,\(\)\*\+\,\;\=\-\.\_\~\:\@\/\?\%]*)\s*$/i;n();function n(){$i.dataUri=e.exec(Vi.text)?.groups}fl(Vi,()=>{$i.fontText=Vi.text,n(),$i.isUrl=!1,$i.dataUri})}P3();var Lt={BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0,SSR:!1};let A3=0;function Ad(e,n){const t=`atom${++A3}`,o={toString:()=>t};return typeof e=="function"?o.read=e:(o.init=e,o.read=M3,o.write=D3),n&&(o.write=n),o}function M3(e){return e(this)}function D3(e,n,t){return n(this,typeof t=="function"?t(e(this)):t)}const Zc=(e,n)=>e.unstable_is?e.unstable_is(n):n===e,Qc=e=>"init"in e,eu=e=>!!e.write,Zi=new WeakMap,T3=(e,n)=>{Zi.set(e,n),e.catch(()=>{}).finally(()=>Zi.delete(e))},Qg=(e,n)=>{const t=Zi.get(e);t&&(Zi.delete(e),t(n))},eh=(e,n)=>{e.status="fulfilled",e.value=n},th=(e,n)=>{e.status="rejected",e.reason=n},I3=e=>typeof e?.then=="function",Os=(e,n)=>!!e&&"v"in e&&"v"in n&&Object.is(e.v,n.v),nh=(e,n)=>!!e&&"e"in e&&"e"in n&&Object.is(e.e,n.e),Ko=e=>!!e&&"v"in e&&e.v instanceof Promise,k3=(e,n)=>"v"in e&&"v"in n&&e.v.orig&&e.v.orig===n.v.orig,Ei=e=>{if("e"in e)throw e.e;return e.v},L3=()=>{const e=new WeakMap,n=new WeakMap,t=new Map;let o,i;(Lt?"production":void 0)!=="production"&&(o=new Set,i=new Set);const l=P=>e.get(P),u=(P,D)=>{(Lt?"production":void 0)!=="production"&&Object.freeze(D);const I=l(P);if(e.set(P,D),t.has(P)||t.set(P,I),Ko(I)){const L="v"in D?D.v instanceof Promise?D.v:Promise.resolve(D.v):Promise.reject(D.e);I.v!==L&&Qg(I.v,L)}},d=(P,D,I,L)=>{const F=new Map(L?D.d:null);let Z=!1;I.forEach((V,J)=>{!V&&Zc(P,J)&&(V=D),V?(F.set(J,V),D.d.get(J)!==V&&(Z=!0)):(Lt?"production":void 0)!=="production"&&console.warn("[Bug] atom state not found")}),(Z||D.d.size!==F.size)&&(D.d=F)},p=(P,D,I,L)=>{const F=l(P),Z={d:F?.d||new Map,v:D};if(I&&d(P,Z,I,L),Os(F,Z)&&F.d===Z.d)return F;if(Ko(F)&&Ko(Z)&&k3(F,Z)){if(F.d===Z.d)return F;Z.v=F.v}return u(P,Z),Z},f=(P,D,I,L)=>{if(I3(D)){let F;const Z=()=>{const J=l(P);if(!Ko(J)||J.v!==V)return;const de=p(P,V,I);n.has(P)&&J.d!==de.d&&E(P,de,J.d)},V=new Promise((J,de)=>{let ge=!1;D.then(ce=>{ge||(ge=!0,eh(V,ce),J(ce),Z())},ce=>{ge||(ge=!0,th(V,ce),de(ce),Z())}),F=ce=>{ge||(ge=!0,ce.then(ue=>eh(V,ue),ue=>th(V,ue)),J(ce))}});return V.orig=D,V.status="pending",T3(V,J=>{J&&F(J),L?.()}),p(P,V,I,!0)}return p(P,D,I)},g=(P,D,I)=>{const L=l(P),F={d:L?.d||new Map,e:D};return I&&d(P,F,I),nh(L,F)&&L.d===F.d?L:(u(P,F),F)},v=(P,D)=>{const I=l(P);if(!D&&I&&(n.has(P)||Array.from(I.d).every(([ge,ce])=>{if(ge===P)return!0;const ue=v(ge);return ue===ce||Os(ue,ce)})))return I;const L=new Map;let F=!0;const Z=ge=>{if(Zc(P,ge)){const ue=l(ge);if(ue)return L.set(ge,ue),Ei(ue);if(Qc(ge))return L.set(ge,void 0),ge.init;throw new Error("no atom init")}const ce=v(ge);return L.set(ge,ce),Ei(ce)};let V,J;const de={get signal(){return V||(V=new AbortController),V.signal},get setSelf(){return(Lt?"production":void 0)!=="production"&&!eu(P)&&console.warn("setSelf function cannot be used with read-only atom"),!J&&eu(P)&&(J=(...ge)=>{if((Lt?"production":void 0)!=="production"&&F&&console.warn("setSelf function cannot be called in sync"),!F)return y(P,...ge)}),J}};try{const ge=P.read(Z,de);return f(P,ge,L,()=>V?.abort())}catch(ge){return g(P,ge,L)}finally{F=!1}},x=P=>Ei(v(P)),m=P=>{let D=n.get(P);return D||(D=R(P)),D},S=(P,D)=>!D.l.size&&(!D.t.size||D.t.size===1&&D.t.has(P)),w=P=>{const D=n.get(P);D&&S(P,D)&&M(P)},$=P=>{const D=V=>{var J;const de=new Set((J=n.get(V))==null?void 0:J.t);return t.forEach((ge,ce)=>{var ue;(ue=l(ce))!=null&&ue.d.has(V)&&de.add(ce)}),de},I=new Array,L=new Set,F=V=>{if(!L.has(V)){L.add(V);for(const J of D(V))V!==J&&F(J);I.push(V)}};F(P);const Z=new Set([P]);for(let V=I.length-1;V>=0;--V){const J=I[V],de=l(J);if(!de)continue;let ge=!1;for(const ce of de.d.keys())if(ce!==J&&Z.has(ce)){ge=!0;break}if(ge){const ce=v(J,!0);Os(de,ce)||Z.add(J)}}},_=(P,...D)=>{let I=!0;const L=V=>Ei(v(V)),F=(V,...J)=>{let de;if(Zc(P,V)){if(!Qc(V))throw new Error("atom not writable");const ge=l(V),ce=f(V,J[0]);Os(ge,ce)||$(V)}else de=_(V,...J);if(!I){const ge=k();(Lt?"production":void 0)!=="production"&&o.forEach(ce=>ce({type:"async-write",flushed:ge}))}return de},Z=P.write(L,F,...D);return I=!1,Z},y=(P,...D)=>{const I=_(P,...D),L=k();return(Lt?"production":void 0)!=="production"&&o.forEach(F=>F({type:"write",flushed:L})),I},R=(P,D,I)=>{var L;const F=I||[];(L=l(P))==null||L.d.forEach((V,J)=>{const de=n.get(J);de?de.t.add(P):J!==P&&R(J,P,F)}),v(P);const Z={t:new Set(D&&[D]),l:new Set};if(n.set(P,Z),(Lt?"production":void 0)!=="production"&&i.add(P),eu(P)&&P.onMount){const{onMount:V}=P;F.push(()=>{const J=V((...de)=>y(P,...de));J&&(Z.u=J)})}return I||F.forEach(V=>V()),Z},M=P=>{var D;const I=(D=n.get(P))==null?void 0:D.u;I&&I(),n.delete(P),(Lt?"production":void 0)!=="production"&&i.delete(P);const L=l(P);L?(Ko(L)&&Qg(L.v),L.d.forEach((F,Z)=>{if(Z!==P){const V=n.get(Z);V&&(V.t.delete(P),S(Z,V)&&M(Z))}})):(Lt?"production":void 0)!=="production"&&console.warn("[Bug] could not find atom state to unmount",P)},E=(P,D,I)=>{const L=new Set(D.d.keys()),F=new Set;I?.forEach((Z,V)=>{if(L.has(V)){L.delete(V);return}F.add(V);const J=n.get(V);J&&J.t.delete(P)}),L.forEach(Z=>{const V=n.get(Z);V?V.t.add(P):n.has(P)&&R(Z,P)}),F.forEach(Z=>{const V=n.get(Z);V&&S(Z,V)&&M(Z)})},k=()=>{let P;for((Lt?"production":void 0)!=="production"&&(P=new Set);t.size;){const D=Array.from(t);t.clear(),D.forEach(([I,L])=>{const F=l(I);if(F){const Z=n.get(I);Z&&F.d!==L?.d&&E(I,F,L?.d),Z&&!(!Ko(L)&&(Os(L,F)||nh(L,F)))&&(Z.l.forEach(V=>V()),(Lt?"production":void 0)!=="production"&&P.add(I))}else(Lt?"production":void 0)!=="production"&&console.warn("[Bug] no atom state to flush")})}if((Lt?"production":void 0)!=="production")return P},H=(P,D)=>{const I=m(P),L=k(),F=I.l;return F.add(D),(Lt?"production":void 0)!=="production"&&o.forEach(Z=>Z({type:"sub",flushed:L})),()=>{F.delete(D),w(P),(Lt?"production":void 0)!=="production"&&o.forEach(Z=>Z({type:"unsub"}))}};return(Lt?"production":void 0)!=="production"?{get:x,set:y,sub:H,dev_subscribe_store:(P,D)=>{if(D!==2)throw new Error("The current StoreListener revision is 2.");return o.add(P),()=>{o.delete(P)}},dev_get_mounted_atoms:()=>i.values(),dev_get_atom_state:P=>e.get(P),dev_get_mounted:P=>n.get(P),dev_restore_atoms:P=>{for(const[I,L]of P)Qc(I)&&(f(I,L),$(I));const D=k();o.forEach(I=>I({type:"restore",flushed:D}))}}:{get:x,set:y,sub:H}};let tu;(Lt?"production":void 0)!=="production"&&(typeof globalThis.__NUMBER_OF_JOTAI_INSTANCES__=="number"?++globalThis.__NUMBER_OF_JOTAI_INSTANCES__:globalThis.__NUMBER_OF_JOTAI_INSTANCES__=1);const F3=()=>(tu||((Lt?"production":void 0)!=="production"&&globalThis.__NUMBER_OF_JOTAI_INSTANCES__!==1&&console.warn("Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044"),tu=L3()),tu);var O3={BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const z3=C.createContext(void 0),Rx=e=>{const n=C.useContext(z3);return e?.store||n||F3()},B3=e=>typeof e?.then=="function",H3=G.use||(e=>{if(e.status==="pending")throw e;if(e.status==="fulfilled")return e.value;throw e.status==="rejected"?e.reason:(e.status="pending",e.then(n=>{e.status="fulfilled",e.value=n},n=>{e.status="rejected",e.reason=n}),e)});function $x(e,n){const t=Rx(n),[[o,i,l],u]=C.useReducer(f=>{const g=t.get(e);return Object.is(f[0],g)&&f[1]===t&&f[2]===e?f:[g,t,e]},void 0,()=>[t.get(e),t,e]);let d=o;(i!==t||l!==e)&&(u(),d=t.get(e));const p=n?.delay;return C.useEffect(()=>{const f=t.sub(e,()=>{if(typeof p=="number"){setTimeout(u,p);return}u()});return u(),f},[t,e,p]),C.useDebugValue(d),B3(d)?H3(d):d}function Tu(e,n){const t=Rx(n);return C.useCallback((...i)=>{if((O3?"production":void 0)!=="production"&&!("write"in e))throw new Error("not writable atom");return t.set(e,...i)},[t,e])}function V3({doDroppedFilesAtom:e,activeAtom:n}){const t=Tu(n),o=Tu(e),i=C.useRef(0);return C.useEffect(()=>{function l(){i.current++||t(!0)}function u(g){g.preventDefault()}function d(){--i.current||t(!1)}function p(g){g.preventDefault(),i.current=0,t(!1),g.dataTransfer&&o(g.dataTransfer.files)}const f=document.addEventListener;return f("dragenter",l),f("dragover",u),f("dragleave",d),f("drop",p),()=>{const g=document.removeEventListener;g("dragenter",l),g("dragover",u),g("dragleave",d),g("drop",p)}},[]),null}function G3(){const[e]=C.useState(Ad(!1)),n=$x(e);return V3({doDroppedFilesAtom:FA,activeAtom:e}),a.jsx(a.Fragment,{children:n&&a.jsx("div",{className:"absolute inset-0 grid place-items-center text-5xl font-bold text-slate-50 bg-slate-800/90 z-10",children:"Drop it!"})})}let W3={data:""},U3=e=>typeof window=="object"?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||W3,X3=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,q3=/\/\*[^]*?\*\/| +/g,rh=/\n+/g,to=(e,n)=>{let t="",o="",i="";for(let l in e){let u=e[l];l[0]=="@"?l[1]=="i"?t=l+" "+u+";":o+=l[1]=="f"?to(u,l):l+"{"+to(u,l[1]=="k"?"":n)+"}":typeof u=="object"?o+=to(u,n?n.replace(/([^,])+/g,d=>l.replace(/(^:.*)|([^,])+/g,p=>/&/.test(p)?p.replace(/&/g,d):d?d+" "+p:p)):l):u!=null&&(l=/^--/.test(l)?l:l.replace(/[A-Z]/g,"-$&").toLowerCase(),i+=to.p?to.p(l,u):l+":"+u+";")}return t+(n&&i?n+"{"+i+"}":i)+o},Nr={},Ex=e=>{if(typeof e=="object"){let n="";for(let t in e)n+=t+Ex(e[t]);return n}return e},K3=(e,n,t,o,i)=>{let l=Ex(e),u=Nr[l]||(Nr[l]=(p=>{let f=0,g=11;for(;f>>0;return"go"+g})(l));if(!Nr[u]){let p=l!==e?e:(f=>{let g,v,x=[{}];for(;g=X3.exec(f.replace(q3,""));)g[4]?x.shift():g[3]?(v=g[3].replace(rh," ").trim(),x.unshift(x[0][v]=x[0][v]||{})):x[0][g[1]]=g[2].replace(rh," ").trim();return x[0]})(e);Nr[u]=to(i?{["@keyframes "+u]:p}:p,t?"":"."+u)}let d=t&&Nr.g?Nr.g:null;return t&&(Nr.g=Nr[u]),((p,f,g,v)=>{v?f.data=f.data.replace(v,p):f.data.indexOf(p)===-1&&(f.data=g?p+f.data:f.data+p)})(Nr[u],n,o,d),u},Y3=(e,n,t)=>e.reduce((o,i,l)=>{let u=n[l];if(u&&u.call){let d=u(t),p=d&&d.props&&d.props.className||/^go/.test(d)&&d;u=p?"."+p:d&&typeof d=="object"?d.props?"":to(d,""):d===!1?"":d}return o+i+(u??"")},"");function bl(e){let n=this||{},t=e.call?e(n.p):e;return K3(t.unshift?t.raw?Y3(t,[].slice.call(arguments,1),n.p):t.reduce((o,i)=>Object.assign(o,i&&i.call?i(n.p):i),{}):t,U3(n.target),n.g,n.o,n.k)}let Px,Iu,ku;bl.bind({g:1});let Dr=bl.bind({k:1});function J3(e,n,t,o){to.p=n,Px=e,Iu=t,ku=o}function io(e,n){let t=this||{};return function(){let o=arguments;function i(l,u){let d=Object.assign({},l),p=d.className||i.className;t.p=Object.assign({theme:Iu&&Iu()},d),t.o=/ *go\d+/.test(p),d.className=bl.apply(t,o)+(p?" "+p:""),n&&(d.ref=u);let f=e;return e[0]&&(f=d.as||e,delete d.as),ku&&f[0]&&ku(d),Px(f,d)}return n?n(i):i}}var Z3=e=>typeof e=="function",Qi=(e,n)=>Z3(e)?e(n):e,Q3=(()=>{let e=0;return()=>(++e).toString()})(),Ax=(()=>{let e;return()=>{if(e===void 0&&typeof window<"u"){let n=matchMedia("(prefers-reduced-motion: reduce)");e=!n||n.matches}return e}})(),eA=20,Gi=new Map,tA=1e3,oh=e=>{if(Gi.has(e))return;let n=setTimeout(()=>{Gi.delete(e),Ao({type:4,toastId:e})},tA);Gi.set(e,n)},nA=e=>{let n=Gi.get(e);n&&clearTimeout(n)},Lu=(e,n)=>{switch(n.type){case 0:return{...e,toasts:[n.toast,...e.toasts].slice(0,eA)};case 1:return n.toast.id&&nA(n.toast.id),{...e,toasts:e.toasts.map(l=>l.id===n.toast.id?{...l,...n.toast}:l)};case 2:let{toast:t}=n;return e.toasts.find(l=>l.id===t.id)?Lu(e,{type:1,toast:t}):Lu(e,{type:0,toast:t});case 3:let{toastId:o}=n;return o?oh(o):e.toasts.forEach(l=>{oh(l.id)}),{...e,toasts:e.toasts.map(l=>l.id===o||o===void 0?{...l,visible:!1}:l)};case 4:return n.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(l=>l.id!==n.toastId)};case 5:return{...e,pausedAt:n.time};case 6:let i=n.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(l=>({...l,pauseDuration:l.pauseDuration+i}))}}},Wi=[],Ui={toasts:[],pausedAt:void 0},Ao=e=>{Ui=Lu(Ui,e),Wi.forEach(n=>{n(Ui)})},rA={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},oA=(e={})=>{let[n,t]=C.useState(Ui);C.useEffect(()=>(Wi.push(t),()=>{let i=Wi.indexOf(t);i>-1&&Wi.splice(i,1)}),[n]);let o=n.toasts.map(i=>{var l,u;return{...e,...e[i.type],...i,duration:i.duration||((l=e[i.type])==null?void 0:l.duration)||e?.duration||rA[i.type],style:{...e.style,...(u=e[i.type])==null?void 0:u.style,...i.style}}});return{...n,toasts:o}},sA=(e,n="blank",t)=>({createdAt:Date.now(),visible:!0,type:n,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...t,id:t?.id||Q3()}),Ca=e=>(n,t)=>{let o=sA(n,e,t);return Ao({type:2,toast:o}),o.id},Pn=(e,n)=>Ca("blank")(e,n);Pn.error=Ca("error");Pn.success=Ca("success");Pn.loading=Ca("loading");Pn.custom=Ca("custom");Pn.dismiss=e=>{Ao({type:3,toastId:e})};Pn.remove=e=>Ao({type:4,toastId:e});Pn.promise=(e,n,t)=>{let o=Pn.loading(n.loading,{...t,...t?.loading});return e.then(i=>(Pn.success(Qi(n.success,i),{id:o,...t,...t?.success}),i)).catch(i=>{Pn.error(Qi(n.error,i),{id:o,...t,...t?.error})}),e};var aA=(e,n)=>{Ao({type:1,toast:{id:e,height:n}})},iA=()=>{Ao({type:5,time:Date.now()})},lA=e=>{let{toasts:n,pausedAt:t}=oA(e);C.useEffect(()=>{if(t)return;let l=Date.now(),u=n.map(d=>{if(d.duration===1/0)return;let p=(d.duration||0)+d.pauseDuration-(l-d.createdAt);if(p<0){d.visible&&Pn.dismiss(d.id);return}return setTimeout(()=>Pn.dismiss(d.id),p)});return()=>{u.forEach(d=>d&&clearTimeout(d))}},[n,t]);let o=C.useCallback(()=>{t&&Ao({type:6,time:Date.now()})},[t]),i=C.useCallback((l,u)=>{let{reverseOrder:d=!1,gutter:p=8,defaultPosition:f}=u||{},g=n.filter(m=>(m.position||f)===(l.position||f)&&m.height),v=g.findIndex(m=>m.id===l.id),x=g.filter((m,S)=>Sm.visible).slice(...d?[x+1]:[0,x]).reduce((m,S)=>m+(S.height||0)+p,0)},[n]);return{toasts:n,handlers:{updateHeight:aA,startPause:iA,endPause:o,calculateOffset:i}}},cA=Dr` + */var ss=C;function y$(e,n){return e===n&&(e!==0||1/e===1/n)||e!==e&&n!==n}var w$=typeof Object.is=="function"?Object.is:y$,_$=ss.useState,S$=ss.useEffect,C$=ss.useLayoutEffect,j$=ss.useDebugValue;function N$(e,n){var t=n(),o=_$({inst:{value:t,getSnapshot:n}}),i=o[0].inst,l=o[1];return C$(function(){i.value=t,i.getSnapshot=n,Xc(i)&&l({inst:i})},[e,t,n]),S$(function(){return Xc(i)&&l({inst:i}),e(function(){Xc(i)&&l({inst:i})})},[e]),j$(t),t}function Xc(e){var n=e.getSnapshot;e=e.value;try{var t=n();return!w$(e,t)}catch{return!0}}function R$(e,n){return n()}var $$=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?R$:N$;vv.useSyncExternalStore=ss.useSyncExternalStore!==void 0?ss.useSyncExternalStore:$$;mv.exports=vv;var E$=mv.exports;const P$=Ju(E$);var A$={BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const{use:Pg}=G,{useSyncExternalStore:M$}=P$,D$=(e,n)=>{const t=C.useRef();C.useEffect(()=>{t.current=v$(e,n,!0)}),C.useDebugValue(t.current)},T$=new WeakMap;function Ir(e,n){const t=n?.sync,o=C.useRef(),i=C.useRef();let l=!0;const u=M$(C.useCallback(f=>{const g=hl(e,f,t);return f(),g},[e,t]),()=>{const f=Eg(e,Pg);try{if(!l&&o.current&&i.current&&!hv(o.current,f,i.current,new WeakMap))return o.current}catch{}return f},()=>Eg(e,Pg));l=!1;const d=new WeakMap;C.useEffect(()=>{o.current=u,i.current=d}),(A$?"production":void 0)!=="production"&&D$(u,d);const p=C.useMemo(()=>new WeakMap,[]);return gv(u,d,p,T$)}function k$(e,n){var t=C.useRef(null),o=C.useRef(null);o.current=n;var i=C.useRef(null);C.useEffect(function(){l()});var l=C.useCallback(function(){var u=i.current,d=o.current,p=u||(d?d instanceof Element?d:d.current:null);t.current&&t.current.element===p&&t.current.subscriber===e||(t.current&&t.current.cleanup&&t.current.cleanup(),t.current={element:p,subscriber:e,cleanup:p?e(p):void 0})},[e]);return C.useEffect(function(){return function(){t.current&&t.current.cleanup&&(t.current.cleanup(),t.current=null)}},[]),C.useCallback(function(u){i.current=u,l()},[l])}function Ag(e,n,t){return e[n]?e[n][0]?e[n][0][t]:e[n][t]:n==="contentBoxSize"?e.contentRect[t==="inlineSize"?"width":"height"]:void 0}function I$(e){e===void 0&&(e={});var n=e.onResize,t=C.useRef(void 0);t.current=n;var o=e.round||Math.round,i=C.useRef(),l=C.useState({width:void 0,height:void 0}),u=l[0],d=l[1],p=C.useRef(!1);C.useEffect(function(){return p.current=!1,function(){p.current=!0}},[]);var f=C.useRef({width:void 0,height:void 0}),g=k$(C.useCallback(function(v){return(!i.current||i.current.box!==e.box||i.current.round!==o)&&(i.current={box:e.box,round:o,instance:new ResizeObserver(function(x){var m=x[0],S=e.box==="border-box"?"borderBoxSize":e.box==="device-pixel-content-box"?"devicePixelContentBoxSize":"contentBoxSize",w=Ag(m,S,"inlineSize"),$=Ag(m,S,"blockSize"),_=w?o(w):void 0,y=$?o($):void 0;if(f.current.width!==_||f.current.height!==y){var R={width:_,height:y};f.current.width=_,f.current.height=y,t.current?t.current(R):p.current||d(R)}})}),i.current.instance.observe(v,{box:e.box}),function(){i.current&&i.current.instance.unobserve(v)}},[e.box,o]),e.ref);return C.useMemo(function(){return{ref:g,width:u.width,height:u.height}},[g,u.width,u.height])}const L$="px-2 before:absolute before:left-0 before:w-full before:h-[1.75rem] before:bg-muted/80 before:opacity-0 hover:before:opacity-100 before:-z-10 ",F$="text-accent-foreground dark:before:border-0 before:bg-accent before:opacity-100 before:border-l-2 before:border-l-accent-foreground/50 ",O$="shrink-0 mr-2 w-4 h-4 text-accent-foreground/50",z$="px-2 py-1 r1elative before:absolute before:left-0 before:right-1 before:w-full before:h-[1.75rem] before:bg-muted/80 before:opacity-0 hover:before:opacity-100 before:-z-10 cursor-pointer flex items-center ",B$="text-accent-foreground dark:before:border-0 before:bg-accent before:opacity-100 before:border-l-2 before:border-l-accent-foreground/50 ",H$="shrink-0 mr-2 w-4 h-4 text-accent-foreground/50",V$=C.forwardRef(({data:e,initialSelectedItemId:n,onSelectChange:t,expandAll:o,IconForFolder:i,IconForItem:l,arrowFirst:u,hideFolderIcon:d,className:p,...f},g)=>{const[v]=C.useState(()=>_a({selectedId:void 0})),x=C.useMemo(()=>{const y=d$(e,n,o),R=es(e,v.selectedId);R&&(R.state.selected=!1);const M=es(e,y[y.length-1]);return M&&(M.state.selected=!0,v.selectedId=M.id),y},[e,n,o]),m=C.useCallback((y,R)=>{if(y.stopPropagation(),v.selectedId){const M=es(e,v.selectedId);M&&(M.state.selected=!1)}R?(R.state.selected=!R.state.selected,v.selectedId=R.id):v.selectedId=void 0,t?.(R)},[v,t]),S=C.useRef(null),{ref:w,width:$,height:_}=I$();return a.jsx("div",{ref:y=>{w(y),S.current=y},className:X("_overflow-hidden",p),tabIndex:0,onKeyDown:y=>{const R=f$(S.current,y,v.selectedId);R&&m(y,es(e,R))},children:a.jsx(dl,{className:"tree-scroll",style:{width:$,height:_},onClick:y=>m(y,void 0),children:a.jsx("div",{className:"relative z-0 px-2 py-1",children:a.jsx(xv,{ref:g,data:e,handleSelectChange:m,expandedItemIds:x,IconForFolder:i,IconForItem:l,arrowFirst:u,hideFolderIcon:d,...f})})})})}),xv=C.forwardRef(({className:e,data:n,handleSelectChange:t,expandedItemIds:o,IconForFolder:i,IconForItem:l,arrowFirst:u,hideFolderIcon:d,...p},f)=>a.jsx("div",{ref:f,role:"tree",className:e,...p,children:a.jsx("ul",{children:n instanceof Array?n.map(g=>a.jsx("li",{children:g.children?a.jsx(Um,{type:"multiple",defaultValue:o,children:a.jsxs(Gm,{value:g.id,"data-tree-id":g.id,"data-tree-folder":c$,children:[a.jsx(bv,{item:g,Icon:i,arrowFirst:u,hideFolderIcon:d,onClick:v=>t(v,g)}),a.jsx(wv,{className:"pl-6",children:a.jsx(xv,{data:g.children,handleSelectChange:t,expandedItemIds:o,IconForFolder:i,IconForItem:l,arrowFirst:u,hideFolderIcon:d})})]})}):a.jsx(Au,{item:g,onClick:v=>t(v,g),Icon:l})},g.id)):a.jsx("li",{children:a.jsx(Au,{item:n,onClick:g=>t(g,n),Icon:l})})})})),Au=C.forwardRef(({className:e,item:n,Icon:t,...o},i)=>{const{selected:l}=Ir(n.state);return a.jsx("div",{ref:i,className:X(z$,e,l&&B$),"data-tree-id":n.id,...o,children:a.jsx(_v,{item:n,Icon:t,classes:H$,hideFolderIcon:!1})})});Au.displayName="Tree.Leaf";const bv=C.forwardRef(({className:e,item:n,Icon:t,arrowFirst:o=!0,hideFolderIcon:i,...l},u)=>{const{selected:d}=Ir(n.state);return a.jsx(yv,{className:X(L$,d&&F$),"data-tree-folder-trigger":u$,arrowFirst:o,ref:u,...l,children:a.jsx(_v,{item:n,Icon:t,hideFolderIcon:i,classes:O$})})});bv.displayName="Tree.Folder";const yv=C.forwardRef(({className:e,children:n,arrowFirst:t,...o},i)=>{const l=a.jsx(a5,{className:ct("shrink-0 ml-auto h-4 w-4 text-accent-foreground/50 transition-transform duration-200",t&&"mr-2")});return a.jsx(Wm,{children:a.jsx(sd,{asChild:!0,className:X("flex-1 py-1 w-full transition-all outline-none cursor-pointer flex items-center",t?"first:[&[data-state=open]>svg]:rotate-90":"last:[&[data-state=open]>svg]:rotate-90",e),ref:i,...o,children:a.jsxs("div",{children:[t&&a.jsx(a.Fragment,{children:l}),n,!t&&a.jsx(a.Fragment,{children:l})]})})})});yv.displayName="Tree.Folder.Trigger";const wv=C.forwardRef(({className:e,children:n,...t},o)=>a.jsx(ad,{ref:o,className:X("text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down transition-all overflow-hidden",e),...t,children:a.jsx("div",{children:n})}));wv.displayName="Tree.Folder.Content";function _v({item:e,Icon:n,classes:t,hideFolderIcon:o}){return a.jsxs(a.Fragment,{children:[e.icon&&a.jsx(e.icon,{className:t,"aria-hidden":"true"}),!e.icon&&n&&!o&&a.jsx(n,{className:t,"aria-hidden":"true"}),a.jsx("span",{className:"flex-grow text-sm truncate",children:e.name})]})}function Sv(e,n,t=""){if(!n)return e;const o={...e};for(const i in n){const l=n[i];if(l==null)continue;const u=o[i];if(u==null){o[i]=l;continue}if(Array.isArray(u)||Array.isArray(l)){o[i]=[...Dg(u??[]),...Dg(l??[])];continue}if(Mg(u)&&Mg(l)){o[i]=Sv(u,l,t?`${t}.${i}`:i);continue}o[i]=l}return o}function Mg(e){return Object.prototype.toString.call(e)==="[object Object]"}function Dg(e){return Array.isArray(e)?e:[e]}const G$={splitterPos:30,arrowFirst:!0,hideFolderIcon:!0},W$={positions:{}},U$={positions:[],animate:!0,strokeWidth:2,path:"smooth",boxes:[]};function X$(e){e.boxes.length||(e.boxes=[{id:sa.asRelativeNumber(),label:"elem1",x:0,y:0},{id:sa.asRelativeNumber(),label:"elem2",x:140,y:160}])}const q$={activeDemoAccordion:"60"},Tg={theme:"light",demosState:q$,treeState:G$,resisablesState:W$,xArrowsState:U$},Cv="shadcn-tv-app-settings",lt=_a(K$());function K$(){const e=localStorage.getItem(Cv);let n=Tg;if(e)try{n=JSON.parse(e)}catch{}const t=Sv(Tg,n);return X$(t.xArrowsState),t}_0(lt.theme);hl(lt,()=>{_0(lt.theme)});const Y$=w0(()=>localStorage.setItem(Cv,JSON.stringify(lt)),400);hl(lt,Y$);function J$({className:e,title:n,...t}){return a.jsxs("svg",{className:ct("fill-none stroke-[1.5] stroke-current",e),viewBox:"0 0 24 24",...t,children:[n&&a.jsx("title",{children:n}),a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 3v2.25m6.364.386l-1.591 1.591M21 12h-2.25m-.386 6.364l-1.591-1.591M12 18.75V21m-4.773-4.227l-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 11-7.5 0 3.75 3.75 0 017.5 0z"})]})}function Z$({className:e,title:n,...t}){return a.jsxs("svg",{className:ct("fill-none stroke-[1.5] stroke-current",e),viewBox:"0 0 24 24",...t,children:[n&&a.jsx("title",{children:n}),a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z"})]})}function Q$({className:e,title:n,...t}){return a.jsxs("svg",{className:ct("fill-none stroke-[1.5] stroke-current",e),viewBox:"0 0 24 24",strokeLinecap:"round",strokeLinejoin:"round",...t,children:[n&&a.jsx("title",{children:n}),a.jsx("path",{d:"M12 8a2.83 2.83 0 0 0 4 4 4 4 0 1 1-4-4"}),a.jsx("path",{d:"M12 2v2"}),a.jsx("path",{d:"M12 20v2"}),a.jsx("path",{d:"m4.9 4.9 1.4 1.4"}),a.jsx("path",{d:"m17.7 17.7 1.4 1.4"}),a.jsx("path",{d:"M2 12h2"}),a.jsx("path",{d:"M20 12h2"}),a.jsx("path",{d:"m6.3 17.7-1.4 1.4"}),a.jsx("path",{d:"m19.1 4.9-1.4 1.4"})]})}function eE({title:e,...n}){return a.jsxs("svg",{viewBox:"0 0 21 21",strokeLinecap:"round",fill:"none",stroke:"currentColor",strokeWidth:1.2,...n,children:[e&&a.jsx("title",{children:e}),a.jsx("path",{d:"M4.5 6.5h12"}),a.jsx("path",{d:"M4.498 10.5h11.997"}),a.jsx("path",{d:"M4.5 14.5h11.995"})]})}function tE({title:e,...n}){return a.jsxs("svg",{viewBox:"0 0 422 422",strokeLinecap:"round",fill:"none",stroke:"currentColor",strokeWidth:1.2,...n,children:[e&&a.jsx("title",{children:e}),a.jsx("path",{d:"M364.35 116.86h-32.97v-27a8 8 0 0 0-8-8h-22V8a8 8 0 0 0-8-8h-215a8 8 0 0 0-8 8v73.86h-22a8 8 0 0 0-8 8v27h-13.3a8 8 0 0 0 0 16h13.3v27a8 8 0 0 0 8 8h22V293a8 8 0 0 0 8 8h44.5v13a8 8 0 0 0 8 8h17v92a8 8 0 0 0 8 8h60a8 8 0 0 0 8-8v-92h17a8 8 0 0 0 8-8v-13h44.5a8 8 0 0 0 8-8v-64.05l69.28-11.48a38.45 38.45 0 0 0 32.26-38.06v-23.98a38.62 38.62 0 0 0-38.57-38.57zM86.38 16h199v65.86h-199V16zm121.5 390h-44v-84h44v84zm25-100h-94v-24h94v24zm52.5-21h-36.5v-11a8 8 0 0 0-8-8h-47v-.08a22.5 22.5 0 0 1 18.88-22.27l72.62-12.04V285zm0-69.61-75.23 12.48a38.45 38.45 0 0 0-32.27 38.05v.08h-47a8 8 0 0 0-8 8v11h-36.5V167.86h27.7v69.64a8 8 0 0 0 16 0v-69.64h39V201a8 8 0 0 0 16 0v-33.14h100.3v47.53zm-229-63.53v-54h259v54h-259zm330.54 27.55a22.5 22.5 0 0 1-18.88 22.27l-66.66 11.06v-44.88h22a8 8 0 0 0 8-8v-27h32.97a22.6 22.6 0 0 1 22.57 22.57v23.98z"})]})}function qc({label:e,theme:n,current:t}){return a.jsxs(qs,{className:"grid grid-cols-[16px,1fr] items-center gap-x-2",onClick:()=>lt.theme=n,children:[t===n&&a.jsx(o5,{className:"size-4"}),a.jsx("div",{className:"col-start-2",children:e})]})}function nE(){const{theme:e}=Ir(lt),n=e==="dark",t=e==="system",o=!n&&!t;return a.jsxs("div",{className:"focus-within:ring-1 focus-within:ring-ring rounded-md flex items-center",children:[a.jsxs(ft,{variant:"ghost",size:"xs",tabIndex:-1,className:"py-0 border-y border-l border-input rounded-r-none",onClick:()=>lt.theme=lt.theme==="dark"?"light":"dark",children:[t&&a.jsx(Q$,{className:"size-4"}),o&&a.jsx(J$,{className:"size-4"}),n&&a.jsx(Z$,{className:"size-4 p-0.5"})]}),a.jsxs(cd,{children:[a.jsx(ud,{asChild:!0,children:a.jsx(ft,{variant:"ghost",size:"xs",className:"px-1 py-0 border border-input rounded-l-none focus-visible:ring-0",children:a.jsx(s5,{className:"size-3"})})}),a.jsxs(ll,{align:"end",children:[a.jsx(qc,{label:"Light",theme:"light",current:e}),a.jsx(qc,{label:"Dark",theme:"dark",current:e}),a.jsx(qc,{label:"System",theme:"system",current:e})]})]})]})}const rE={theme:"system",setTheme:()=>null};C.createContext(rE);const{createElement:as,createContext:oE,createRef:Vk,forwardRef:jv,useCallback:Rn,useContext:Nv,useEffect:Ro,useImperativeHandle:Rv,useLayoutEffect:sE,useMemo:aE,useRef:mn,useState:Js}=Wh,kg=Wh.useId,iE=sE,ml=oE(null);ml.displayName="PanelGroupContext";const $o=iE,lE=typeof kg=="function"?kg:()=>null;let cE=0;function Cd(e=null){const n=lE(),t=mn(e||n||null);return t.current===null&&(t.current=""+cE++),e??t.current}function $v({children:e,className:n="",collapsedSize:t,collapsible:o,defaultSize:i,forwardedRef:l,id:u,maxSize:d,minSize:p,onCollapse:f,onExpand:g,onResize:v,order:x,style:m,tagName:S="div",...w}){const $=Nv(ml);if($===null)throw Error("Panel components must be rendered within a PanelGroup container");const{collapsePanel:_,expandPanel:y,getPanelSize:R,getPanelStyle:M,groupId:E,isPanelCollapsed:I,reevaluatePanelConstraints:H,registerPanel:P,resizePanel:D,unregisterPanel:k}=$,L=Cd(u),F=mn({callbacks:{onCollapse:f,onExpand:g,onResize:v},constraints:{collapsedSize:t,collapsible:o,defaultSize:i,maxSize:d,minSize:p},id:L,idIsFromProps:u!==void 0,order:x});mn({didLogMissingDefaultSizeWarning:!1}),$o(()=>{const{callbacks:V,constraints:J}=F.current,de={...J};F.current.id=L,F.current.idIsFromProps=u!==void 0,F.current.order=x,V.onCollapse=f,V.onExpand=g,V.onResize=v,J.collapsedSize=t,J.collapsible=o,J.defaultSize=i,J.maxSize=d,J.minSize=p,(de.collapsedSize!==J.collapsedSize||de.collapsible!==J.collapsible||de.maxSize!==J.maxSize||de.minSize!==J.minSize)&&H(F.current,de)}),$o(()=>{const V=F.current;return P(V),()=>{k(V)}},[x,L,P,k]),Rv(l,()=>({collapse:()=>{_(F.current)},expand:()=>{y(F.current)},getId(){return L},getSize(){return R(F.current)},isCollapsed(){return I(F.current)},isExpanded(){return!I(F.current)},resize:V=>{D(F.current,V)}}),[_,y,R,I,L,D]);const Z=M(F.current,i);return as(S,{...w,children:e,className:n,id:u,style:{...Z,...m},"data-panel":"","data-panel-collapsible":o||void 0,"data-panel-group-id":E,"data-panel-id":L,"data-panel-size":parseFloat(""+Z.flexGrow).toFixed(1)})}const Ev=jv((e,n)=>as($v,{...e,forwardedRef:n}));$v.displayName="Panel";Ev.displayName="forwardRef(Panel)";let Mu=null,Co=null;function uE(e,n){if(n){const t=(n&Tv)!==0,o=(n&kv)!==0,i=(n&Iv)!==0,l=(n&Lv)!==0;if(t)return i?"se-resize":l?"ne-resize":"e-resize";if(o)return i?"sw-resize":l?"nw-resize":"w-resize";if(i)return"s-resize";if(l)return"n-resize"}switch(e){case"horizontal":return"ew-resize";case"intersection":return"move";case"vertical":return"ns-resize"}}function dE(){Co!==null&&(document.head.removeChild(Co),Mu=null,Co=null)}function Kc(e,n){const t=uE(e,n);Mu!==t&&(Mu=t,Co===null&&(Co=document.createElement("style"),document.head.appendChild(Co)),Co.innerHTML=`*{cursor: ${t}!important;}`)}function Pv(e){return e.type==="keydown"}function Av(e){return e.type.startsWith("mouse")}function Mv(e){return e.type.startsWith("touch")}function vl(e){if(Av(e))return{x:e.clientX,y:e.clientY};if(Mv(e)){const n=e.touches[0];if(n&&n.clientX&&n.clientY)return{x:n.clientX,y:n.clientY}}return{x:1/0,y:1/0}}function fE(){if(typeof matchMedia=="function")return matchMedia("(pointer:coarse)").matches?"coarse":"fine"}function pE(e,n,t){return t?e.xn.x&&e.yn.y:e.x<=n.x+n.width&&e.x+e.width>=n.x&&e.y<=n.y+n.height&&e.y+e.height>=n.y}function gE(e,n){if(e===n)throw new Error("Cannot compare node with itself");const t={a:Fg(e),b:Fg(n)};let o;for(;t.a.at(-1)===t.b.at(-1);)e=t.a.pop(),n=t.b.pop(),o=e;Ue(o,"Stacking order can only be calculated for elements with a common ancestor");const i={a:Lg(Ig(t.a)),b:Lg(Ig(t.b))};if(i.a===i.b){const l=o.childNodes,u={a:t.a.at(-1),b:t.b.at(-1)};let d=l.length;for(;d--;){const p=l[d];if(p===u.a)return 1;if(p===u.b)return-1}}return Math.sign(i.a-i.b)}const hE=/\b(?:position|zIndex|opacity|transform|webkitTransform|mixBlendMode|filter|webkitFilter|isolation)\b/;function mE(e){const n=getComputedStyle(Dv(e)).display;return n==="flex"||n==="inline-flex"}function vE(e){const n=getComputedStyle(e);return!!(n.position==="fixed"||n.zIndex!=="auto"&&(n.position!=="static"||mE(e))||+n.opacity<1||"transform"in n&&n.transform!=="none"||"webkitTransform"in n&&n.webkitTransform!=="none"||"mixBlendMode"in n&&n.mixBlendMode!=="normal"||"filter"in n&&n.filter!=="none"||"webkitFilter"in n&&n.webkitFilter!=="none"||"isolation"in n&&n.isolation==="isolate"||hE.test(n.willChange)||n.webkitOverflowScrolling==="touch")}function Ig(e){let n=e.length;for(;n--;){const t=e[n];if(Ue(t,"Missing node"),vE(t))return t}return null}function Lg(e){return e&&Number(getComputedStyle(e).zIndex)||0}function Fg(e){const n=[];for(;e;)n.push(e),e=Dv(e);return n}function Dv(e){var n;return((n=e.parentNode)===null||n===void 0?void 0:n.host)||e.parentNode}const Tv=1,kv=2,Iv=4,Lv=8,xE=fE()==="coarse";let so=[],xl=!1,no=new Map,bl=new Map;const ia=new Set;function bE(e,n,t,o,i){var l;const{ownerDocument:u}=n,d={direction:t,element:n,hitAreaMargins:o,setResizeHandlerState:i},p=(l=no.get(u))!==null&&l!==void 0?l:0;return no.set(u,p+1),ia.add(d),Zi(),function(){var g;bl.delete(e),ia.delete(d);const v=(g=no.get(u))!==null&&g!==void 0?g:1;no.set(u,v-1),Zi(),v===1&&no.delete(u)}}function _i(e){const{target:n}=e,{x:t,y:o}=vl(e);xl=!0,jd({target:n,x:t,y:o}),Zi(),so.length>0&&(Nd("down",e),e.preventDefault())}function qr(e){const{x:n,y:t}=vl(e);if(!xl){const{target:o}=e;jd({target:o,x:n,y:t})}Nd("move",e),Fv(),so.length>0&&e.preventDefault()}function Kr(e){const{target:n}=e,{x:t,y:o}=vl(e);bl.clear(),xl=!1,so.length>0&&e.preventDefault(),Nd("up",e),jd({target:n,x:t,y:o}),Fv(),Zi()}function jd({target:e,x:n,y:t}){so.splice(0);let o=null;e instanceof HTMLElement&&(o=e),ia.forEach(i=>{const{element:l,hitAreaMargins:u}=i,d=l.getBoundingClientRect(),{bottom:p,left:f,right:g,top:v}=d,x=xE?u.coarse:u.fine;if(n>=f-x&&n<=g+x&&t>=v-x&&t<=p+x){if(o!==null&&l!==o&&!l.contains(o)&&!o.contains(l)&&gE(o,l)>0){let S=o,w=!1;for(;S&&!S.contains(l);){if(pE(S.getBoundingClientRect(),d,!0)){w=!0;break}S=S.parentElement}if(w)return}so.push(i)}})}function Yc(e,n){bl.set(e,n)}function Fv(){let e=!1,n=!1;so.forEach(o=>{const{direction:i}=o;i==="horizontal"?e=!0:n=!0});let t=0;bl.forEach(o=>{t|=o}),e&&n?Kc("intersection",t):e?Kc("horizontal",t):n?Kc("vertical",t):dE()}function Zi(){no.forEach((e,n)=>{const{body:t}=n;t.removeEventListener("contextmenu",Kr),t.removeEventListener("mousedown",_i),t.removeEventListener("mouseleave",qr),t.removeEventListener("mousemove",qr),t.removeEventListener("touchmove",qr),t.removeEventListener("touchstart",_i)}),window.removeEventListener("mouseup",Kr),window.removeEventListener("touchcancel",Kr),window.removeEventListener("touchend",Kr),ia.size>0&&(xl?(so.length>0&&no.forEach((e,n)=>{const{body:t}=n;e>0&&(t.addEventListener("contextmenu",Kr),t.addEventListener("mouseleave",qr),t.addEventListener("mousemove",qr),t.addEventListener("touchmove",qr,{passive:!1}))}),window.addEventListener("mouseup",Kr),window.addEventListener("touchcancel",Kr),window.addEventListener("touchend",Kr)):no.forEach((e,n)=>{const{body:t}=n;e>0&&(t.addEventListener("mousedown",_i),t.addEventListener("mousemove",qr),t.addEventListener("touchmove",qr,{passive:!1}),t.addEventListener("touchstart",_i))}))}function Nd(e,n){ia.forEach(t=>{const{setResizeHandlerState:o}=t,i=so.includes(t);o(e,i,n)})}function Ue(e,n){if(!e)throw console.error(n),Error(n)}const Ov=10;function la(e,n,t=Ov){e=parseFloat(e.toFixed(t)),n=parseFloat(n.toFixed(t));const o=e-n;return o===0?0:o>0?1:-1}function En(e,n,t){return la(e,n,t)===0}function ts({panelConstraints:e,panelIndex:n,size:t}){const o=e[n];Ue(o!=null,`Panel constraints not found for index ${n}`);let{collapsedSize:i=0,collapsible:l,maxSize:u=100,minSize:d=0}=o;if(la(t,d)<0)if(l){const p=(i+d)/2;la(t,p)<0?t=i:t=d}else t=d;return t=Math.min(u,t),t=parseFloat(t.toFixed(Ov)),t}function Hs({delta:e,layout:n,panelConstraints:t,pivotIndices:o,trigger:i}){if(En(e,0))return n;const l=[...n],[u,d]=o;Ue(u!=null,"Invalid first pivot index"),Ue(d!=null,"Invalid second pivot index");let p=0;if(i==="keyboard"){{const g=e<0?d:u,v=t[g];Ue(v,`Panel constraints not found for index ${g}`);const{collapsedSize:x=0,collapsible:m,minSize:S=0}=v;if(m){const w=n[g];if(Ue(w!=null,`Previous layout not found for panel index ${g}`),En(w,x)){const $=S-w;la($,Math.abs(e))>0&&(e=e<0?0-$:$)}}}{const g=e<0?u:d,v=t[g];Ue(v,`No panel constraints found for index ${g}`);const{collapsedSize:x=0,collapsible:m,minSize:S=0}=v;if(m){const w=n[g];if(Ue(w!=null,`Previous layout not found for panel index ${g}`),En(w,S)){const $=w-x;la($,Math.abs(e))>0&&(e=e<0?0-$:$)}}}}{const g=e<0?1:-1;let v=e<0?d:u,x=0;for(;;){const S=n[v];Ue(S!=null,`Previous layout not found for panel index ${v}`);const $=ts({panelConstraints:t,panelIndex:v,size:100})-S;if(x+=$,v+=g,v<0||v>=t.length)break}const m=Math.min(Math.abs(e),Math.abs(x));e=e<0?0-m:m}{let v=e<0?u:d;for(;v>=0&&v=0))break;e<0?v--:v++}}if(En(p,0))return n;{const g=e<0?d:u,v=n[g];Ue(v!=null,`Previous layout not found for panel index ${g}`);const x=v+p,m=ts({panelConstraints:t,panelIndex:g,size:x});if(l[g]=m,!En(m,x)){let S=x-m,$=e<0?d:u;for(;$>=0&&$0?$--:$++}}}const f=l.reduce((g,v)=>v+g,0);return En(f,100)?l:n}function yE({layout:e,panelsArray:n,pivotIndices:t}){let o=0,i=100,l=0,u=0;const d=t[0];Ue(d!=null,"No pivot index found"),n.forEach((v,x)=>{const{constraints:m}=v,{maxSize:S=100,minSize:w=0}=m;x===d?(o=w,i=S):(l+=w,u+=S)});const p=Math.min(i,100-l),f=Math.max(o,100-u),g=e[d];return{valueMax:p,valueMin:f,valueNow:g}}function ca(e,n=document){return Array.from(n.querySelectorAll(`[data-panel-resize-handle-id][data-panel-group-id="${e}"]`))}function zv(e,n,t=document){const i=ca(e,t).findIndex(l=>l.getAttribute("data-panel-resize-handle-id")===n);return i??null}function Bv(e,n,t){const o=zv(e,n,t);return o!=null?[o,o+1]:[-1,-1]}function Hv(e,n=document){var t;if(n instanceof HTMLElement&&(n==null||(t=n.dataset)===null||t===void 0?void 0:t.panelGroupId)==e)return n;const o=n.querySelector(`[data-panel-group][data-panel-group-id="${e}"]`);return o||null}function yl(e,n=document){const t=n.querySelector(`[data-panel-resize-handle-id="${e}"]`);return t||null}function wE(e,n,t,o=document){var i,l,u,d;const p=yl(n,o),f=ca(e,o),g=p?f.indexOf(p):-1,v=(i=(l=t[g])===null||l===void 0?void 0:l.id)!==null&&i!==void 0?i:null,x=(u=(d=t[g+1])===null||d===void 0?void 0:d.id)!==null&&u!==void 0?u:null;return[v,x]}function _E({committedValuesRef:e,eagerValuesRef:n,groupId:t,layout:o,panelDataArray:i,panelGroupElement:l,setLayout:u}){mn({didWarnAboutMissingResizeHandle:!1}),$o(()=>{if(!l)return;const d=ca(t,l);for(let p=0;p{d.forEach((p,f)=>{p.removeAttribute("aria-controls"),p.removeAttribute("aria-valuemax"),p.removeAttribute("aria-valuemin"),p.removeAttribute("aria-valuenow")})}},[t,o,i,l]),Ro(()=>{if(!l)return;const d=n.current;Ue(d,"Eager values not found");const{panelDataArray:p}=d,f=Hv(t,l);Ue(f!=null,`No group found for id "${t}"`);const g=ca(t,l);Ue(g,`No resize handles found for group id "${t}"`);const v=g.map(x=>{const m=x.getAttribute("data-panel-resize-handle-id");Ue(m,"Resize handle element has no handle id attribute");const[S,w]=wE(t,m,p,l);if(S==null||w==null)return()=>{};const $=_=>{if(!_.defaultPrevented)switch(_.key){case"Enter":{_.preventDefault();const y=p.findIndex(R=>R.id===S);if(y>=0){const R=p[y];Ue(R,`No panel data found for index ${y}`);const M=o[y],{collapsedSize:E=0,collapsible:I,minSize:H=0}=R.constraints;if(M!=null&&I){const P=Hs({delta:En(M,E)?H-E:E-M,layout:o,panelConstraints:p.map(D=>D.constraints),pivotIndices:Bv(t,m,l),trigger:"keyboard"});o!==P&&u(P)}}break}}};return x.addEventListener("keydown",$),()=>{x.removeEventListener("keydown",$)}});return()=>{v.forEach(x=>x())}},[l,e,n,t,o,i,u])}function Og(e,n){if(e.length!==n.length)return!1;for(let t=0;tl.constraints);let o=0,i=100;for(let l=0;l{const l=e[i];Ue(l,`Panel data not found for index ${i}`);const{callbacks:u,constraints:d,id:p}=l,{collapsedSize:f=0,collapsible:g}=d,v=t[p];if(v==null||o!==v){t[p]=o;const{onCollapse:x,onExpand:m,onResize:S}=u;S&&S(o,v),g&&(x||m)&&(m&&(v==null||v===f)&&o!==f&&m(),x&&(v==null||v!==f)&&o===f&&x())}})}function Si(e,n){if(e.length!==n.length)return!1;for(let t=0;t{t!==null&&clearTimeout(t),t=setTimeout(()=>{e(...i)},n)}}function zg(e){try{if(typeof localStorage<"u")e.getItem=n=>localStorage.getItem(n),e.setItem=(n,t)=>{localStorage.setItem(n,t)};else throw new Error("localStorage not supported in this environment")}catch(n){console.error(n),e.getItem=()=>null,e.setItem=()=>{}}}function Gv(e){return`react-resizable-panels:${e}`}function Wv(e){return e.map(n=>{const{constraints:t,id:o,idIsFromProps:i,order:l}=n;return i?o:l?`${l}:${JSON.stringify(t)}`:JSON.stringify(t)}).sort((n,t)=>n.localeCompare(t)).join(",")}function Uv(e,n){try{const t=Gv(e),o=n.getItem(t);if(o){const i=JSON.parse(o);if(typeof i=="object"&&i!=null)return i}}catch{}return null}function $E(e,n,t){var o,i;const l=(o=Uv(e,t))!==null&&o!==void 0?o:{},u=Wv(n);return(i=l[u])!==null&&i!==void 0?i:null}function EE(e,n,t,o,i){var l;const u=Gv(e),d=Wv(n),p=(l=Uv(e,i))!==null&&l!==void 0?l:{};p[d]={expandToSizes:Object.fromEntries(t.entries()),layout:o};try{i.setItem(u,JSON.stringify(p))}catch(f){console.error(f)}}function Bg({layout:e,panelConstraints:n}){const t=[...e],o=t.reduce((l,u)=>l+u,0);if(t.length!==n.length)throw Error(`Invalid ${n.length} panel layout: ${t.map(l=>`${l}%`).join(", ")}`);if(!En(o,100))for(let l=0;l(zg(Vs),Vs.getItem(e)),setItem:(e,n)=>{zg(Vs),Vs.setItem(e,n)}},Hg={};function Xv({autoSaveId:e=null,children:n,className:t="",direction:o,forwardedRef:i,id:l=null,onLayout:u=null,keyboardResizeBy:d=null,storage:p=Vs,style:f,tagName:g="div",...v}){const x=Cd(l),m=mn(null),[S,w]=Js(null),[$,_]=Js([]),y=mn({}),R=mn(new Map),M=mn(0),E=mn({autoSaveId:e,direction:o,dragState:S,id:x,keyboardResizeBy:d,onLayout:u,storage:p}),I=mn({layout:$,panelDataArray:[],panelDataArrayChanged:!1});mn({didLogIdAndOrderWarning:!1,didLogPanelConstraintsWarning:!1,prevPanelIds:[]}),Rv(i,()=>({getId:()=>E.current.id,getLayout:()=>{const{layout:U}=I.current;return U},setLayout:U=>{const{onLayout:q}=E.current,{layout:ie,panelDataArray:pe}=I.current,Y=Bg({layout:U,panelConstraints:pe.map(be=>be.constraints)});Og(ie,Y)||(_(Y),I.current.layout=Y,q&&q(Y),qo(pe,Y,y.current))}}),[]),$o(()=>{E.current.autoSaveId=e,E.current.direction=o,E.current.dragState=S,E.current.id=x,E.current.onLayout=u,E.current.storage=p}),_E({committedValuesRef:E,eagerValuesRef:I,groupId:x,layout:$,panelDataArray:I.current.panelDataArray,setLayout:_,panelGroupElement:m.current}),Ro(()=>{const{panelDataArray:U}=I.current;if(e){if($.length===0||$.length!==U.length)return;let q=Hg[e];q==null&&(q=RE(EE,PE),Hg[e]=q);const ie=[...U],pe=new Map(R.current);q(e,ie,pe,$,p)}},[e,$,p]),Ro(()=>{});const H=Rn(U=>{const{onLayout:q}=E.current,{layout:ie,panelDataArray:pe}=I.current;if(U.constraints.collapsible){const Y=pe.map(fe=>fe.constraints),{collapsedSize:be=0,panelSize:B,pivotIndices:se}=wo(pe,U,ie);if(Ue(B!=null,`Panel size not found for panel "${U.id}"`),B!==be){R.current.set(U.id,B);const le=Zo(pe,U)===pe.length-1?B-be:be-B,oe=Hs({delta:le,layout:ie,panelConstraints:Y,pivotIndices:se,trigger:"imperative-api"});Si(ie,oe)||(_(oe),I.current.layout=oe,q&&q(oe),qo(pe,oe,y.current))}}},[]),P=Rn(U=>{const{onLayout:q}=E.current,{layout:ie,panelDataArray:pe}=I.current;if(U.constraints.collapsible){const Y=pe.map(le=>le.constraints),{collapsedSize:be=0,panelSize:B,minSize:se=0,pivotIndices:fe}=wo(pe,U,ie);if(B===be){const le=R.current.get(U.id),oe=le!=null&&le>=se?le:se,xe=Zo(pe,U)===pe.length-1?B-oe:oe-B,Ce=Hs({delta:xe,layout:ie,panelConstraints:Y,pivotIndices:fe,trigger:"imperative-api"});Si(ie,Ce)||(_(Ce),I.current.layout=Ce,q&&q(Ce),qo(pe,Ce,y.current))}}},[]),D=Rn(U=>{const{layout:q,panelDataArray:ie}=I.current,{panelSize:pe}=wo(ie,U,q);return Ue(pe!=null,`Panel size not found for panel "${U.id}"`),pe},[]),k=Rn((U,q)=>{const{panelDataArray:ie}=I.current,pe=Zo(ie,U);return NE({defaultSize:q,dragState:S,layout:$,panelData:ie,panelIndex:pe})},[S,$]),L=Rn(U=>{const{layout:q,panelDataArray:ie}=I.current,{collapsedSize:pe=0,collapsible:Y,panelSize:be}=wo(ie,U,q);return Y===!0&&be===pe},[]),F=Rn(U=>{const{layout:q,panelDataArray:ie}=I.current,{collapsedSize:pe=0,collapsible:Y,panelSize:be}=wo(ie,U,q);return Ue(be!=null,`Panel size not found for panel "${U.id}"`),!Y||be>pe},[]),Z=Rn(U=>{const{panelDataArray:q}=I.current;q.push(U),q.sort((ie,pe)=>{const Y=ie.order,be=pe.order;return Y==null&&be==null?0:Y==null?-1:be==null?1:Y-be}),I.current.panelDataArrayChanged=!0},[]);$o(()=>{if(I.current.panelDataArrayChanged){I.current.panelDataArrayChanged=!1;const{autoSaveId:U,onLayout:q,storage:ie}=E.current,{layout:pe,panelDataArray:Y}=I.current;let be=null;if(U){const se=$E(U,Y,ie);se&&(R.current=new Map(Object.entries(se.expandToSizes)),be=se.layout)}be==null&&(be=jE({panelDataArray:Y}));const B=Bg({layout:be,panelConstraints:Y.map(se=>se.constraints)});Og(pe,B)||(_(B),I.current.layout=B,q&&q(B),qo(Y,B,y.current))}}),$o(()=>{const U=I.current;return()=>{U.layout=[]}},[]);const V=Rn(U=>function(ie){ie.preventDefault();const pe=m.current;if(!pe)return()=>null;const{direction:Y,dragState:be,id:B,keyboardResizeBy:se,onLayout:fe}=E.current,{layout:le,panelDataArray:oe}=I.current,{initialLayout:he}=be??{},xe=Bv(B,U,pe);let Ce=CE(ie,U,Y,be,se,pe);if(Ce===0)return;const nt=Y==="horizontal";document.dir==="rtl"&&nt&&(Ce=-Ce);const Ze=oe.map(rt=>rt.constraints),Qe=Hs({delta:Ce,layout:he??le,panelConstraints:Ze,pivotIndices:xe,trigger:Pv(ie)?"keyboard":"mouse-or-touch"}),qe=!Si(le,Qe);(Av(ie)||Mv(ie))&&M.current!=Ce&&(M.current=Ce,qe?Yc(U,0):nt?Yc(U,Ce<0?Tv:kv):Yc(U,Ce<0?Iv:Lv)),qe&&(_(Qe),I.current.layout=Qe,fe&&fe(Qe),qo(oe,Qe,y.current))},[]),J=Rn((U,q)=>{const{onLayout:ie}=E.current,{layout:pe,panelDataArray:Y}=I.current,be=Y.map(he=>he.constraints),{panelSize:B,pivotIndices:se}=wo(Y,U,pe);Ue(B!=null,`Panel size not found for panel "${U.id}"`);const le=Zo(Y,U)===Y.length-1?B-q:q-B,oe=Hs({delta:le,layout:pe,panelConstraints:be,pivotIndices:se,trigger:"imperative-api"});Si(pe,oe)||(_(oe),I.current.layout=oe,ie&&ie(oe),qo(Y,oe,y.current))},[]),de=Rn((U,q)=>{const{layout:ie,panelDataArray:pe}=I.current,{collapsedSize:Y=0,collapsible:be}=q,{collapsedSize:B=0,collapsible:se,maxSize:fe=100,minSize:le=0}=U.constraints,{panelSize:oe}=wo(pe,U,ie);oe!=null&&(be&&se&&oe===Y?Y!==B&&J(U,B):oefe&&J(U,fe))},[J]),ge=Rn((U,q)=>{const{direction:ie}=E.current,{layout:pe}=I.current;if(!m.current)return;const Y=yl(U,m.current);Ue(Y,`Drag handle element not found for id "${U}"`);const be=Vv(ie,q);w({dragHandleId:U,dragHandleRect:Y.getBoundingClientRect(),initialCursorPosition:be,initialLayout:pe})},[]),ce=Rn(()=>{w(null)},[]),ue=Rn(U=>{const{panelDataArray:q}=I.current,ie=Zo(q,U);ie>=0&&(q.splice(ie,1),delete y.current[U.id],I.current.panelDataArrayChanged=!0)},[]),K=aE(()=>({collapsePanel:H,direction:o,dragState:S,expandPanel:P,getPanelSize:D,getPanelStyle:k,groupId:x,isPanelCollapsed:L,isPanelExpanded:F,reevaluatePanelConstraints:de,registerPanel:Z,registerResizeHandle:V,resizePanel:J,startDragging:ge,stopDragging:ce,unregisterPanel:ue,panelGroupElement:m.current}),[H,S,o,P,D,k,x,L,F,de,Z,V,J,ge,ce,ue]),ne={display:"flex",flexDirection:o==="horizontal"?"row":"column",height:"100%",overflow:"hidden",width:"100%"};return as(ml.Provider,{value:K},as(g,{...v,children:n,className:t,id:l,ref:m,style:{...ne,...f},"data-panel-group":"","data-panel-group-direction":o,"data-panel-group-id":x}))}const qv=jv((e,n)=>as(Xv,{...e,forwardedRef:n}));Xv.displayName="PanelGroup";qv.displayName="forwardRef(PanelGroup)";function Zo(e,n){return e.findIndex(t=>t===n||t.id===n.id)}function wo(e,n,t){const o=Zo(e,n),l=o===e.length-1?[o-1,o]:[o,o+1],u=t[o];return{...n.constraints,panelSize:u,pivotIndices:l}}function AE({disabled:e,handleId:n,resizeHandler:t,panelGroupElement:o}){Ro(()=>{if(e||t==null||o==null)return;const i=yl(n,o);if(i==null)return;const l=u=>{if(!u.defaultPrevented)switch(u.key){case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"ArrowUp":case"End":case"Home":{u.preventDefault(),t(u);break}case"F6":{u.preventDefault();const d=i.getAttribute("data-panel-group-id");Ue(d,`No group element found for id "${d}"`);const p=ca(d,o),f=zv(d,n,o);Ue(f!==null,`No resize element found for id "${n}"`);const g=u.shiftKey?f>0?f-1:p.length-1:f+1{i.removeEventListener("keydown",l)}},[o,e,n,t])}function Kv({children:e=null,className:n="",disabled:t=!1,hitAreaMargins:o,id:i,onDragging:l,style:u={},tabIndex:d=0,tagName:p="div",...f}){const g=mn(null),v=mn({onDragging:l});Ro(()=>{v.current.onDragging=l});const x=Nv(ml);if(x===null)throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");const{direction:m,groupId:S,registerResizeHandle:w,startDragging:$,stopDragging:_,panelGroupElement:y}=x,R=Cd(i),[M,E]=Js("inactive"),[I,H]=Js(!1),[P,D]=Js(null),k=mn({state:M});return $o(()=>{k.current.state=M}),Ro(()=>{if(t)D(null);else{const F=w(R);D(()=>F)}},[t,R,w]),Ro(()=>{var F,Z;if(t||P==null)return;const V=g.current;Ue(V,"Element ref not attached");const J=(de,ge,ce)=>{if(ge)switch(de){case"down":{E("drag"),$(R,ce);const{onDragging:ue}=v.current;ue&&ue(!0);break}case"move":{const{state:ue}=k.current;ue!=="drag"&&E("hover"),P(ce);break}case"up":{E("hover"),_();const{onDragging:ue}=v.current;ue&&ue(!1);break}}else E("inactive")};return bE(R,V,m,{coarse:(F=o?.coarse)!==null&&F!==void 0?F:15,fine:(Z=o?.fine)!==null&&Z!==void 0?Z:5},J)},[m,t,o,w,R,P,$,_]),AE({disabled:t,handleId:R,resizeHandler:P,panelGroupElement:y}),as(p,{...f,children:e,className:n,id:i,onBlur:()=>H(!1),onFocus:()=>H(!0),ref:g,role:"separator",style:{...{touchAction:"none",userSelect:"none"},...u},tabIndex:d,"data-panel-group-direction":m,"data-panel-group-id":S,"data-resize-handle":"","data-resize-handle-active":M==="drag"?"pointer":I?"keyboard":void 0,"data-resize-handle-state":M,"data-panel-resize-handle-enabled":!t,"data-panel-resize-handle-id":R})}Kv.displayName="PanelResizeHandle";const Vg=({className:e,...n})=>a.jsx(qv,{className:X("w-full h-full flex data-[panel-group-direction=vertical]:flex-col",e),...n}),Ci=Ev,ME="relative w-px bg-border after:absolute after:left-1/2 after:-translate-x-1/2 after:w-1 after:inset-y-0 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:translate-x-0 data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:h-1 [&[data-panel-group-direction=vertical]>div]:rotate-90 flex items-center justify-center ";function Gg({withHandle:e,className:n,...t}){return a.jsx(Kv,{className:X(ME,n),...t,children:e&&a.jsx("div",{className:"w-3 h-4 rounded-sm border bg-border flex items-center justify-center z-10",children:a.jsx(xj,{className:"h-2.5 w-2.5"})})})}function DE(e,{insertAt:n}={}){if(!e||typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css",n==="top"&&t.firstChild?t.insertBefore(o,t.firstChild):t.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}DE(`html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}html[dir=rtl],[data-sonner-toaster][dir=rtl]{--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999}[data-sonner-toaster][data-x-position=right]{right:max(var(--offset),env(safe-area-inset-right))}[data-sonner-toaster][data-x-position=left]{left:max(var(--offset),env(safe-area-inset-left))}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translate(-50%)}[data-sonner-toaster][data-y-position=top]{top:max(var(--offset),env(safe-area-inset-top))}[data-sonner-toaster][data-y-position=bottom]{bottom:max(var(--offset),env(safe-area-inset-bottom))}[data-sonner-toast]{--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}[data-sonner-toast][data-y-position=top]{top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}[data-sonner-toast] [data-description]{font-weight:400;line-height:1.4;color:inherit}[data-sonner-toast] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast] [data-icon]>*{flex-shrink:0}[data-sonner-toast] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast] [data-button]:focus-visible{box-shadow:0 0 0 2px #0006}[data-sonner-toast] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toast][data-theme=dark] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;background:var(--gray1);color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]:focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}[data-sonner-toast] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]:before{content:"";position:absolute;left:0;right:0;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]:before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]:before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]:before{content:"";position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast]:after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y: translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y: translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]:before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount, 0px));transition:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{0%{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;--mobile-offset: 16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - 32px)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);--error-text: hsl(358, 100%, 81%)}[data-rich-colors=true] [data-sonner-toast][data-type=success],[data-rich-colors=true] [data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true] [data-sonner-toast][data-type=info],[data-rich-colors=true] [data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true] [data-sonner-toast][data-type=warning],[data-rich-colors=true] [data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true] [data-sonner-toast][data-type=error],[data-rich-colors=true] [data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)} +`);var TE=e=>{switch(e){case"success":return LE;case"info":return OE;case"warning":return FE;case"error":return zE;default:return null}},kE=Array(12).fill(0),IE=({visible:e})=>G.createElement("div",{className:"sonner-loading-wrapper","data-visible":e},G.createElement("div",{className:"sonner-spinner"},kE.map((n,t)=>G.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${t}`})))),LE=G.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},G.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),FE=G.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},G.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),OE=G.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},G.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),zE=G.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},G.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),BE=()=>{let[e,n]=G.useState(!1);return G.useEffect(()=>{let t=()=>{n(document.hidden)};return document.addEventListener("visibilitychange",t),()=>window.removeEventListener("visibilitychange",t)},[]),e},Du=1,HE=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let n=this.subscribers.indexOf(e);this.subscribers.splice(n,1)}),this.publish=e=>{this.subscribers.forEach(n=>n(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var n;let{message:t,...o}=e,i=typeof e?.id=="number"||((n=e.id)==null?void 0:n.length)>0?e.id:Du++,l=this.toasts.find(d=>d.id===i),u=e.dismissible===void 0?!0:e.dismissible;return l?this.toasts=this.toasts.map(d=>d.id===i?(this.publish({...d,...e,id:i,title:t}),{...d,...e,id:i,dismissible:u,title:t}):d):this.addToast({title:t,...o,dismissible:u,id:i}),i},this.dismiss=e=>(e||this.toasts.forEach(n=>{this.subscribers.forEach(t=>t({id:n.id,dismiss:!0}))}),this.subscribers.forEach(n=>n({id:e,dismiss:!0})),e),this.message=(e,n)=>this.create({...n,message:e}),this.error=(e,n)=>this.create({...n,message:e,type:"error"}),this.success=(e,n)=>this.create({...n,type:"success",message:e}),this.info=(e,n)=>this.create({...n,type:"info",message:e}),this.warning=(e,n)=>this.create({...n,type:"warning",message:e}),this.loading=(e,n)=>this.create({...n,type:"loading",message:e}),this.promise=(e,n)=>{if(!n)return;let t;n.loading!==void 0&&(t=this.create({...n,promise:e,type:"loading",message:n.loading,description:typeof n.description!="function"?n.description:void 0}));let o=e instanceof Promise?e:e(),i=t!==void 0;return o.then(l=>{if(l&&typeof l.ok=="boolean"&&!l.ok){i=!1;let u=typeof n.error=="function"?n.error(`HTTP error! status: ${l.status}`):n.error,d=typeof n.description=="function"?n.description(`HTTP error! status: ${l.status}`):n.description;this.create({id:t,type:"error",message:u,description:d})}else if(n.success!==void 0){i=!1;let u=typeof n.success=="function"?n.success(l):n.success,d=typeof n.description=="function"?n.description(l):n.description;this.create({id:t,type:"success",message:u,description:d})}}).catch(l=>{if(n.error!==void 0){i=!1;let u=typeof n.error=="function"?n.error(l):n.error,d=typeof n.description=="function"?n.description(l):n.description;this.create({id:t,type:"error",message:u,description:d})}}).finally(()=>{var l;i&&(this.dismiss(t),t=void 0),(l=n.finally)==null||l.call(n)}),t},this.custom=(e,n)=>{let t=n?.id||Du++;return this.create({jsx:e(t),id:t,...n}),t},this.subscribers=[],this.toasts=[]}},rr=new HE,VE=(e,n)=>{let t=n?.id||Du++;return rr.addToast({title:e,...n,id:t}),t},GE=VE,Tu=Object.assign(GE,{success:rr.success,info:rr.info,warning:rr.warning,error:rr.error,custom:rr.custom,message:rr.message,promise:rr.promise,dismiss:rr.dismiss,loading:rr.loading}),WE=3,UE="32px",XE=4e3,qE=356,Yv=14,KE=20,YE=200;function JE(...e){return e.filter(Boolean).join(" ")}var ZE=e=>{var n,t,o,i,l,u,d;let{invert:p,toast:f,unstyled:g,interacting:v,setHeights:x,visibleToasts:m,heights:S,index:w,toasts:$,expanded:_,removeToast:y,closeButton:R,style:M,cancelButtonStyle:E,actionButtonStyle:I,className:H="",descriptionClassName:P="",duration:D,position:k,gap:L=Yv,loadingIcon:F,expandByDefault:Z,classNames:V,icons:J,closeButtonAriaLabel:de="Close toast",pauseWhenPageIsHidden:ge,cn:ce}=e,[ue,K]=G.useState(!1),[ne,U]=G.useState(!1),[q,ie]=G.useState(!1),[pe,Y]=G.useState(!1),[be,B]=G.useState(0),[se,fe]=G.useState(0),le=G.useRef(null),oe=G.useRef(null),he=w===0,xe=w+1<=m,Ce=f.type,nt=f.dismissible!==!1,Ze=f.className||"",Qe=f.descriptionClassName||"",qe=G.useMemo(()=>S.findIndex(ve=>ve.toastId===f.id)||0,[S,f.id]),rt=G.useMemo(()=>{var ve;return(ve=f.closeButton)!=null?ve:R},[f.closeButton,R]),ze=G.useMemo(()=>f.duration||D||XE,[f.duration,D]),ot=G.useRef(0),Ge=G.useRef(0),Ft=G.useRef(0),St=G.useRef(null),[Ht,Vt]=k.split("-"),Ct=G.useMemo(()=>S.reduce((ve,je,Ne)=>Ne>=qe?ve:ve+je.height,0),[S,qe]),Ke=BE(),ee=f.invert||p,me=Ce==="loading";Ge.current=G.useMemo(()=>qe*L+Ct,[qe,Ct]),G.useEffect(()=>{K(!0)},[]),G.useLayoutEffect(()=>{if(!ue)return;let ve=oe.current,je=ve.style.height;ve.style.height="auto";let Ne=ve.getBoundingClientRect().height;ve.style.height=je,fe(Ne),x(Ie=>Ie.find(et=>et.toastId===f.id)?Ie.map(et=>et.toastId===f.id?{...et,height:Ne}:et):[{toastId:f.id,height:Ne,position:f.position},...Ie])},[ue,f.title,f.description,x,f.id]);let we=G.useCallback(()=>{U(!0),B(Ge.current),x(ve=>ve.filter(je=>je.toastId!==f.id)),setTimeout(()=>{y(f)},YE)},[f,y,x,Ge]);G.useEffect(()=>{if(f.promise&&Ce==="loading"||f.duration===1/0||f.type==="loading")return;let ve,je=ze;return _||v||ge&&Ke?(()=>{if(Ft.current{var Ne;(Ne=f.onAutoClose)==null||Ne.call(f,f),we()},je)),()=>clearTimeout(ve)},[_,v,Z,f,ze,we,f.promise,Ce,ge,Ke]),G.useEffect(()=>{let ve=oe.current;if(ve){let je=ve.getBoundingClientRect().height;return fe(je),x(Ne=>[{toastId:f.id,height:je,position:f.position},...Ne]),()=>x(Ne=>Ne.filter(Ie=>Ie.toastId!==f.id))}},[x,f.id]),G.useEffect(()=>{f.delete&&we()},[we,f.delete]);function De(){return J!=null&&J.loading?G.createElement("div",{className:"loader","data-visible":Ce==="loading"},J.loading):F?G.createElement("div",{className:"sonner-loader","data-visible":Ce==="loading"},F):G.createElement(IE,{visible:Ce==="loading"})}return G.createElement("li",{"aria-live":f.important?"assertive":"polite","aria-atomic":"true",role:"status",tabIndex:0,ref:oe,className:ce(H,Ze,V?.toast,(n=f?.classNames)==null?void 0:n.toast,V?.default,V?.[Ce],(t=f?.classNames)==null?void 0:t[Ce]),"data-sonner-toast":"","data-styled":!(f.jsx||f.unstyled||g),"data-mounted":ue,"data-promise":!!f.promise,"data-removed":ne,"data-visible":xe,"data-y-position":Ht,"data-x-position":Vt,"data-index":w,"data-front":he,"data-swiping":q,"data-dismissible":nt,"data-type":Ce,"data-invert":ee,"data-swipe-out":pe,"data-expanded":!!(_||Z&&ue),style:{"--index":w,"--toasts-before":w,"--z-index":$.length-w,"--offset":`${ne?be:Ge.current}px`,"--initial-height":Z?"auto":`${se}px`,...M,...f.style},onPointerDown:ve=>{me||!nt||(le.current=new Date,B(Ge.current),ve.target.setPointerCapture(ve.pointerId),ve.target.tagName!=="BUTTON"&&(ie(!0),St.current={x:ve.clientX,y:ve.clientY}))},onPointerUp:()=>{var ve,je,Ne,Ie;if(pe||!nt)return;St.current=null;let et=Number(((ve=oe.current)==null?void 0:ve.style.getPropertyValue("--swipe-amount").replace("px",""))||0),st=new Date().getTime()-((je=le.current)==null?void 0:je.getTime()),Rt=Math.abs(et)/st;if(Math.abs(et)>=KE||Rt>.11){B(Ge.current),(Ne=f.onDismiss)==null||Ne.call(f,f),we(),Y(!0);return}(Ie=oe.current)==null||Ie.style.setProperty("--swipe-amount","0px"),ie(!1)},onPointerMove:ve=>{var je;if(!St.current||!nt)return;let Ne=ve.clientY-St.current.y,Ie=ve.clientX-St.current.x,et=(Ht==="top"?Math.min:Math.max)(0,Ne),st=ve.pointerType==="touch"?10:2;Math.abs(et)>st?(je=oe.current)==null||je.style.setProperty("--swipe-amount",`${Ne}px`):Math.abs(Ie)>st&&(St.current=null)}},rt&&!f.jsx?G.createElement("button",{"aria-label":de,"data-disabled":me,"data-close-button":!0,onClick:me||!nt?()=>{}:()=>{var ve;we(),(ve=f.onDismiss)==null||ve.call(f,f)},className:ce(V?.closeButton,(o=f?.classNames)==null?void 0:o.closeButton)},G.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},G.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),G.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))):null,f.jsx||G.isValidElement(f.title)?f.jsx||f.title:G.createElement(G.Fragment,null,Ce||f.icon||f.promise?G.createElement("div",{"data-icon":""},f.promise&&f.type==="loading"&&!f.icon?f.icon||J?.loading||De():null,f.type!=="loading"?f.icon||J?.[Ce]||TE(Ce):null):null,G.createElement("div",{"data-content":""},G.createElement("div",{"data-title":"",className:ce(V?.title,(i=f?.classNames)==null?void 0:i.title)},f.title),f.description?G.createElement("div",{"data-description":"",className:ce(P,Qe,V?.description,(l=f?.classNames)==null?void 0:l.description)},f.description):null),f.cancel?G.createElement("button",{"data-button":!0,"data-cancel":!0,style:f.cancelButtonStyle||E,onClick:ve=>{var je;nt&&(we(),(je=f.cancel)!=null&&je.onClick&&f.cancel.onClick(ve))},className:ce(V?.cancelButton,(u=f?.classNames)==null?void 0:u.cancelButton)},f.cancel.label):null,f.action?G.createElement("button",{"data-button":"",style:f.actionButtonStyle||I,onClick:ve=>{var je;(je=f.action)==null||je.onClick(ve),!ve.defaultPrevented&&we()},className:ce(V?.actionButton,(d=f?.classNames)==null?void 0:d.actionButton)},f.action.label):null))};function Wg(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}var QE=e=>{let{invert:n,position:t="bottom-right",hotkey:o=["altKey","KeyT"],expand:i,closeButton:l,className:u,offset:d,theme:p="light",richColors:f,duration:g,style:v,visibleToasts:x=WE,toastOptions:m,dir:S=Wg(),gap:w,loadingIcon:$,icons:_,containerAriaLabel:y="Notifications",pauseWhenPageIsHidden:R,cn:M=JE}=e,[E,I]=G.useState([]),H=G.useMemo(()=>Array.from(new Set([t].concat(E.filter(ne=>ne.position).map(ne=>ne.position)))),[E,t]),[P,D]=G.useState([]),[k,L]=G.useState(!1),[F,Z]=G.useState(!1),[V,J]=G.useState(p!=="system"?p:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),de=G.useRef(null),ge=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),ce=G.useRef(null),ue=G.useRef(!1),K=G.useCallback(ne=>I(U=>U.filter(({id:q})=>q!==ne.id)),[]);return G.useEffect(()=>rr.subscribe(ne=>{if(ne.dismiss){I(U=>U.map(q=>q.id===ne.id?{...q,delete:!0}:q));return}setTimeout(()=>{DC.flushSync(()=>{I(U=>{let q=U.findIndex(ie=>ie.id===ne.id);return q!==-1?[...U.slice(0,q),{...U[q],...ne},...U.slice(q+1)]:[ne,...U]})})})}),[]),G.useEffect(()=>{if(p!=="system"){J(p);return}p==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?J("dark"):J("light")),typeof window<"u"&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",({matches:ne})=>{J(ne?"dark":"light")})},[p]),G.useEffect(()=>{E.length<=1&&L(!1)},[E]),G.useEffect(()=>{let ne=U=>{var q,ie;o.every(pe=>U[pe]||U.code===pe)&&(L(!0),(q=de.current)==null||q.focus()),U.code==="Escape"&&(document.activeElement===de.current||(ie=de.current)!=null&&ie.contains(document.activeElement))&&L(!1)};return document.addEventListener("keydown",ne),()=>document.removeEventListener("keydown",ne)},[o]),G.useEffect(()=>{if(de.current)return()=>{ce.current&&(ce.current.focus({preventScroll:!0}),ce.current=null,ue.current=!1)}},[de.current]),E.length?G.createElement("section",{"aria-label":`${y} ${ge}`,tabIndex:-1},H.map((ne,U)=>{var q;let[ie,pe]=ne.split("-");return G.createElement("ol",{key:ne,dir:S==="auto"?Wg():S,tabIndex:-1,ref:de,className:u,"data-sonner-toaster":!0,"data-theme":V,"data-rich-colors":f,"data-y-position":ie,"data-x-position":pe,style:{"--front-toast-height":`${((q=P[0])==null?void 0:q.height)||0}px`,"--offset":typeof d=="number"?`${d}px`:d||UE,"--width":`${qE}px`,"--gap":`${Yv}px`,...v},onBlur:Y=>{ue.current&&!Y.currentTarget.contains(Y.relatedTarget)&&(ue.current=!1,ce.current&&(ce.current.focus({preventScroll:!0}),ce.current=null))},onFocus:Y=>{Y.target instanceof HTMLElement&&Y.target.dataset.dismissible==="false"||ue.current||(ue.current=!0,ce.current=Y.relatedTarget)},onMouseEnter:()=>L(!0),onMouseMove:()=>L(!0),onMouseLeave:()=>{F||L(!1)},onPointerDown:Y=>{Y.target instanceof HTMLElement&&Y.target.dataset.dismissible==="false"||Z(!0)},onPointerUp:()=>Z(!1)},E.filter(Y=>!Y.position&&U===0||Y.position===ne).map((Y,be)=>{var B,se;return G.createElement(ZE,{key:Y.id,icons:_,index:be,toast:Y,duration:(B=m?.duration)!=null?B:g,className:m?.className,descriptionClassName:m?.descriptionClassName,invert:n,visibleToasts:x,closeButton:(se=m?.closeButton)!=null?se:l,interacting:F,position:ne,style:m?.style,unstyled:m?.unstyled,classNames:m?.classNames,cancelButtonStyle:m?.cancelButtonStyle,actionButtonStyle:m?.actionButtonStyle,removeToast:K,toasts:E.filter(fe=>fe.position==Y.position),heights:P.filter(fe=>fe.position==Y.position),setHeights:D,expandByDefault:i,gap:w,loadingIcon:$,expanded:k,pauseWhenPageIsHidden:R,cn:M})}))})):null};const eP="group toast group-[.toaster]:text-foreground group-[.toaster]:bg-background group-[.toaster]:border-border group-[.toaster]:shadow-lg ",tP="group-[.toast]:text-muted-foreground",nP="group-[.toast]:text-primary-foreground group-[.toast]:bg-primary ",rP="group-[.toast]:text-muted-foreground group-[.toast]:bg-muted ";function oP(e){return a.jsx(QE,{theme:"system",className:"toaster group",toastOptions:{classNames:{toast:eP,description:tP,actionButton:nP,cancelButton:rP}},...e})}const sP=bj,aP="fixed p-4 top-0 w-full max-h-screen z-[100] sm:right-0 sm:top-auto sm:bottom-0 sm:flex-col md:max-w-[420px] flex flex-col-reverse",Jv=C.forwardRef(({className:e,...n},t)=>a.jsx(a0,{ref:t,className:X(aP,e),...n}));Jv.displayName=a0.displayName;const iP="group relative p-4 pr-6 w-full data-[state=open]:animate-in data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full data-[state=closed]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[swipe=end]:animate-out data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[swipe=cancel]:translate-x-0 overflow-hidden pointer-events-auto transition-all border rounded-md shadow-lg flex items-center justify-between space-x-2",lP=us(iP,{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),Zv=C.forwardRef(({className:e,variant:n,...t},o)=>a.jsx(i0,{ref:o,className:X(lP({variant:n}),e),...t}));Zv.displayName=i0.displayName;const cP="px-3 h-8 shrink-0 text-sm font-medium bg-transparent hover:bg-secondary focus:ring-1 focus:ring-ring focus:outline-none disabled:opacity-50 disabled:pointer-events-none group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive transition-colors border rounded-md inline-flex items-center justify-center",uP=C.forwardRef(({className:e,...n},t)=>a.jsx(l0,{ref:t,className:X(cP,e),...n}));uP.displayName=l0.displayName;const dP="absolute p-1 right-1 top-1 text-foreground/50 opacity-0 group-hover:opacity-100 hover:text-foreground focus:opacity-100 focus:ring-1 focus:outline-none group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600 transition-opacity rounded-md",Qv=C.forwardRef(({className:e,...n},t)=>a.jsx(c0,{ref:t,className:X(dP,e),"toast-close":"",...n,children:a.jsx(od,{className:"h-4 w-4"})}));Qv.displayName=c0.displayName;const ex=C.forwardRef(({className:e,...n},t)=>a.jsx(u0,{ref:t,className:X("text-sm font-semibold [&+div]:text-xs",e),...n}));ex.displayName=u0.displayName;const tx=C.forwardRef(({className:e,...n},t)=>a.jsx(d0,{ref:t,className:X("text-sm opacity-90",e),...n}));tx.displayName=d0.displayName;const fP=1,pP=1e6;let Jc=0;function gP(){return Jc=(Jc+1)%Number.MAX_SAFE_INTEGER,Jc.toString()}const Zc=new Map,Ug=e=>{if(Zc.has(e))return;const n=setTimeout(()=>{Zc.delete(e),Zs({type:"REMOVE_TOAST",toastId:e})},pP);Zc.set(e,n)},hP=(e,n)=>{switch(n.type){case"ADD_TOAST":return{...e,toasts:[n.toast,...e.toasts].slice(0,fP)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(t=>t.id===n.toast.id?{...t,...n.toast}:t)};case"DISMISS_TOAST":{const{toastId:t}=n;return t?Ug(t):e.toasts.forEach(o=>{Ug(o.id)}),{...e,toasts:e.toasts.map(o=>o.id===t||t===void 0?{...o,open:!1}:o)}}case"REMOVE_TOAST":return n.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(t=>t.id!==n.toastId)}}},Hi=[];let Vi={toasts:[]};function Zs(e){Vi=hP(Vi,e),Hi.forEach(n=>{n(Vi)})}function nx({...e}){const n=gP(),t=i=>Zs({type:"UPDATE_TOAST",toast:{...i,id:n}}),o=()=>Zs({type:"DISMISS_TOAST",toastId:n});return Zs({type:"ADD_TOAST",toast:{...e,id:n,open:!0,onOpenChange:i=>{i||o()}}}),{id:n,dismiss:o,update:t}}function mP(){const[e,n]=C.useState(Vi);return C.useEffect(()=>(Hi.push(n),()=>{const t=Hi.indexOf(n);t>-1&&Hi.splice(t,1)}),[e]),{...e,toast:nx,dismiss:t=>Zs({type:"DISMISS_TOAST",toastId:t})}}function vP(){const{toasts:e}=mP();return a.jsxs(sP,{children:[e.map(function({id:n,title:t,description:o,action:i,...l}){return a.jsxs(Zv,{...l,children:[a.jsxs("div",{className:"grid gap-1",children:[t&&a.jsx(ex,{children:t}),o&&a.jsx(tx,{children:o})]}),i,a.jsx(Qv,{})]},n)}),a.jsx(Jv,{})]})}function xP({className:e,...n}){return a.jsx("nav",{className:X("mx-auto w-full flex justify-center",e),role:"navigation","aria-label":"pagination",...n})}const rx=C.forwardRef(({className:e,...n},t)=>a.jsx("ul",{ref:t,className:X("flex flex-row items-center gap-1",e),...n}));rx.displayName="Pagination.Content";function Qs({className:e,isActive:n,size:t="icon",...o}){return a.jsx("li",{children:a.jsx("a",{className:X(il({variant:n?"outline":"ghost",size:t}),e),"aria-current":n?"page":void 0,...o})})}function bP({className:e,...n}){return a.jsxs(Qs,{className:X("pl-3 gap-1",e),"aria-label":"Go to previous page",size:"default",...n,children:[a.jsx(yj,{className:"w-4 h-4"}),a.jsx("span",{children:"Previous"})]})}function yP({className:e,...n}){return a.jsxs(Qs,{className:X("pr-3 gap-1",e),"aria-label":"Go to next page",size:"default",...n,children:[a.jsx("span",{children:"Next"}),a.jsx(sl,{className:"w-4 h-4"})]})}function wP({className:e,...n}){return a.jsxs("span",{className:X("w-9 h-9 flex items-center justify-center",e),"aria-hidden":!0,...n,children:[a.jsx(f0,{className:"w-4 h-4"}),a.jsx("span",{className:"sr-only",children:"More pages"})]})}function _P(e){return Object.prototype.toString.call(e)==="[object Object]"}function Xg(e){return _P(e)||Array.isArray(e)}function SP(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Rd(e,n){const t=Object.keys(e),o=Object.keys(n);if(t.length!==o.length)return!1;const i=JSON.stringify(Object.keys(e.breakpoints||{})),l=JSON.stringify(Object.keys(n.breakpoints||{}));return i!==l?!1:t.every(u=>{const d=e[u],p=n[u];return typeof d=="function"?`${d}`==`${p}`:!Xg(d)||!Xg(p)?d===p:Rd(d,p)})}function qg(e){return e.concat().sort((n,t)=>n.name>t.name?1:-1).map(n=>n.options)}function CP(e,n){if(e.length!==n.length)return!1;const t=qg(e),o=qg(n);return t.every((i,l)=>{const u=o[l];return Rd(i,u)})}function $d(e){return typeof e=="number"}function ku(e){return typeof e=="string"}function Ed(e){return typeof e=="boolean"}function Kg(e){return Object.prototype.toString.call(e)==="[object Object]"}function wt(e){return Math.abs(e)}function Pd(e){return Math.sign(e)}function ea(e,n){return wt(e-n)}function jP(e,n){if(e===0||n===0||wt(e)<=wt(n))return 0;const t=ea(wt(e),wt(n));return wt(t/e)}function ua(e){return da(e).map(Number)}function ar(e){return e[Sa(e)]}function Sa(e){return Math.max(0,e.length-1)}function Ad(e,n){return n===Sa(e)}function Yg(e,n=0){return Array.from(Array(e),(t,o)=>n+o)}function da(e){return Object.keys(e)}function ox(e,n){return[e,n].reduce((t,o)=>(da(o).forEach(i=>{const l=t[i],u=o[i],d=Kg(l)&&Kg(u);t[i]=d?ox(l,u):u}),t),{})}function sx(e,n){return typeof n.MouseEvent<"u"&&e instanceof n.MouseEvent}function NP(e,n){const t={start:o,center:i,end:l};function o(){return 0}function i(p){return l(p)/2}function l(p){return n-p}function u(p,f){return ku(e)?t[e](p):e(n,p,f)}return{measure:u}}function fa(){let e=[];function n(i,l,u,d={passive:!0}){let p;if("addEventListener"in i)i.addEventListener(l,u,d),p=()=>i.removeEventListener(l,u,d);else{const f=i;f.addListener(u),p=()=>f.removeListener(u)}return e.push(p),o}function t(){e=e.filter(i=>i())}const o={add:n,clear:t};return o}function RP(e,n,t,o){const i=fa(),l=1e3/60;let u=null,d=0,p=0;function f(){i.add(e,"visibilitychange",()=>{e.hidden&&S()})}function g(){m(),i.clear()}function v($){if(!p)return;u||(u=$);const _=$-u;for(u=$,d+=_;d>=l;)t(),d-=l;const y=wt(d/l);o(y),p&&n.requestAnimationFrame(v)}function x(){p||(p=n.requestAnimationFrame(v))}function m(){n.cancelAnimationFrame(p),u=null,d=0,p=0}function S(){u=null,d=0}return{init:f,destroy:g,start:x,stop:m,update:t,render:o}}function $P(e,n){const t=e==="y"?"y":"x",o=e==="y"?"x":"y",i=d(),l=p();function u(g){const{width:v,height:x}=g;return t==="x"?v:x}function d(){return t==="y"?"top":n==="rtl"?"right":"left"}function p(){return t==="y"?"bottom":n==="rtl"?"left":"right"}return{scroll:t,cross:o,startEdge:i,endEdge:l,measureSize:u}}function Po(e=0,n=0){const t=wt(e-n);function o(f){return fn}function l(f){return o(f)||i(f)}function u(f){return l(f)?o(f)?e:n:f}function d(f){return t?f-t*Math.ceil((f-n)/t):f}return{length:t,max:n,min:e,constrain:u,reachedAny:l,reachedMax:i,reachedMin:o,removeOffset:d}}function ax(e,n,t){const{constrain:o}=Po(0,e),i=e+1;let l=u(n);function u(x){return t?wt((i+x)%i):o(x)}function d(){return l}function p(x){return l=u(x),v}function f(x){return g().set(d()+x)}function g(){return ax(e,d(),t)}const v={get:d,set:p,add:f,clone:g};return v}function EP(e){const n=e==="rtl"?-1:1;function t(i){return i*n}return{apply:t}}function PP(e,n,t,o,i,l,u,d,p,f,g,v,x,m,S,w,$,_,y,R){const{cross:M}=e,E=["INPUT","SELECT","TEXTAREA"],I={passive:!1},H=fa(),P=fa(),D=Po(50,225).constrain(S.measure(20)),k={mouse:300,touch:400},L={mouse:500,touch:600},F=w?43:25;let Z=!1,V=0,J=0,de=!1,ge=!1,ce=!1,ue=!1;function K(oe){if(!R)return;function he(Ce){(Ed(R)||R(oe,Ce))&&Y(Ce)}const xe=t;H.add(xe,"dragstart",Ce=>Ce.preventDefault(),I).add(xe,"touchmove",()=>{},I).add(xe,"touchend",()=>{}).add(xe,"touchstart",he).add(xe,"mousedown",he).add(xe,"touchcancel",B).add(xe,"contextmenu",B).add(xe,"click",se,!0)}function ne(){H.clear(),P.clear()}function U(){const oe=ue?o:t;P.add(oe,"touchmove",be,I).add(oe,"touchend",B).add(oe,"mousemove",be,I).add(oe,"mouseup",B)}function q(oe){const he=oe.nodeName||"";return E.includes(he)}function ie(){return(w?L:k)[ue?"mouse":"touch"]}function pe(oe,he){const xe=x.add(Pd(oe)*-1),Ce=v.byDistance(oe,!w).distance;return w||wt(oe)=2,de=!0,u.pointerDown(oe),g.useFriction(0).useDuration(0),l.set(d),U(),V=u.readPoint(oe),J=u.readPoint(oe,M),m.emit("pointerDown")))}function be(oe){const he=u.readPoint(oe),xe=u.readPoint(oe,M),Ce=ea(he,V),nt=ea(xe,J);if(!ge&&!ue&&(!oe.cancelable||(ge=Ce>nt,!ge)))return B(oe);const Ze=u.pointerMove(oe);Ce>$&&(ce=!0),g.useFriction(.3).useDuration(1),p.start(),l.add(n.apply(Ze)),oe.preventDefault()}function B(oe){const xe=v.byDistance(0,!1).index!==x.get(),Ce=u.pointerUp(oe)*ie(),nt=pe(n.apply(Ce),xe),Ze=jP(Ce,nt),Qe=F-10*Ze,qe=y+Ze/50;ge=!1,de=!1,P.clear(),g.useDuration(Qe).useFriction(qe),f.distance(nt,!w),ue=!1,m.emit("pointerUp")}function se(oe){ce&&(oe.stopPropagation(),oe.preventDefault())}function fe(){return de}return{init:K,pointerDown:fe,destroy:ne}}function AP(e,n){let o,i;function l(v){return v.timeStamp}function u(v,x){const S=`client${(x||e.scroll)==="x"?"X":"Y"}`;return(sx(v,n)?v:v.touches[0])[S]}function d(v){return o=v,i=v,u(v)}function p(v){const x=u(v)-u(i),m=l(v)-l(o)>170;return i=v,m&&(o=v),x}function f(v){if(!o||!i)return 0;const x=u(i)-u(o),m=l(v)-l(o),S=l(v)-l(i)>170,w=x/m;return m&&!S&&wt(w)>.1?w:0}return{pointerDown:d,pointerMove:p,pointerUp:f,readPoint:u}}function MP(){function e(t){const{offsetTop:o,offsetLeft:i,offsetWidth:l,offsetHeight:u}=t;return{top:o,right:i+l,bottom:o+u,left:i,width:l,height:u}}return{measure:e}}function DP(e){function n(o){return e*(o/100)}return{measure:n}}function TP(e,n,t,o,i,l,u){let d,p,f=[],g=!1;function v(w){return i.measureSize(u.measure(w))}function x(w){if(!l)return;p=v(e),f=o.map(v);function $(y){for(const R of y){const M=R.target===e,E=o.indexOf(R.target),I=M?p:f[E],H=v(M?e:o[E]);if(wt(H-I)>=.5){t.requestAnimationFrame(()=>{w.reInit(),n.emit("resize")});break}}}d=new ResizeObserver(y=>{g||(Ed(l)||l(w,y))&&$(y)}),[e].concat(o).forEach(y=>d.observe(y))}function m(){d&&d.disconnect(),g=!0}return{init:x,destroy:m}}function kP(e,n,t,o,i){let l=0,u=0,d=o,p=i,f=e.get(),g=0;function v(){const E=t.get()-e.get(),I=!d;let H=0;return I?(l=0,e.set(t),H=E):(l+=E/d,l*=p,f+=l,e.add(l),H=f-g),u=Pd(H),g=f,M}function x(){const E=t.get()-n.get();return wt(E)<.001}function m(){return d}function S(){return u}function w(){return l}function $(){return y(o)}function _(){return R(i)}function y(E){return d=E,M}function R(E){return p=E,M}const M={direction:S,duration:m,velocity:w,seek:v,settled:x,useBaseFriction:_,useBaseDuration:$,useFriction:R,useDuration:y};return M}function IP(e,n,t,o,i){const l=i.measure(10),u=i.measure(50),d=Po(.1,.99);let p=!1;function f(){return!(p||!e.reachedAny(t.get())||!e.reachedAny(n.get()))}function g(m){if(!f())return;const S=e.reachedMin(n.get())?"min":"max",w=wt(e[S]-n.get()),$=t.get()-n.get(),_=d.constrain(w/u);t.subtract($*_),!m&&wt($){const{min:$,max:_}=l,y=l.constrain(S),R=!w,M=Ad(t,w);return R?_:M||f($,y)?$:f(_,y)?_:y}).map(S=>parseFloat(S.toFixed(3)))}function x(){if(n<=e+i)return[l.max];if(o==="keepSnaps")return u;const{min:S,max:w}=d;return u.slice(S,w)}return{snapsContained:p,scrollContainLimit:d}}function FP(e,n,t){const o=n[0],i=t?o-e:ar(n);return{limit:Po(i,o)}}function OP(e,n,t,o){const l=n.min+.1,u=n.max+.1,{reachedMin:d,reachedMax:p}=Po(l,u);function f(x){return x===1?p(t.get()):x===-1?d(t.get()):!1}function g(x){if(!f(x))return;const m=e*(x*-1);o.forEach(S=>S.add(m))}return{loop:g}}function zP(e){const{max:n,length:t}=e;function o(l){const u=l-n;return t?u/-t:0}return{get:o}}function BP(e,n,t,o,i){const{startEdge:l,endEdge:u}=e,{groupSlides:d}=i,p=v().map(n.measure),f=x(),g=m();function v(){return d(o).map(w=>ar(w)[u]-w[0][l]).map(wt)}function x(){return o.map(w=>t[l]-w[l]).map(w=>-wt(w))}function m(){return d(f).map(w=>w[0]).map((w,$)=>w+p[$])}return{snaps:f,snapsAligned:g}}function HP(e,n,t,o,i,l){const{groupSlides:u}=i,{min:d,max:p}=o,f=g();function g(){const x=u(l),m=!e||n==="keepSnaps";return t.length===1?[l]:m?x:x.slice(d,p).map((S,w,$)=>{const _=!w,y=Ad($,w);if(_){const R=ar($[0])+1;return Yg(R)}if(y){const R=Sa(l)-ar($)[0]+1;return Yg(R,ar($)[0])}return S})}return{slideRegistry:f}}function VP(e,n,t,o,i){const{reachedAny:l,removeOffset:u,constrain:d}=o;function p(S){return S.concat().sort((w,$)=>wt(w)-wt($))[0]}function f(S){const w=e?u(S):d(S),$=n.map(y=>y-w).map(y=>g(y,0)).map((y,R)=>({diff:y,index:R})).sort((y,R)=>wt(y.diff)-wt(R.diff)),{index:_}=$[0];return{index:_,distance:w}}function g(S,w){const $=[S,S+t,S-t];if(!e)return $[0];if(!w)return p($);const _=$.filter(y=>Pd(y)===w);return _.length?p(_):ar($)-t}function v(S,w){const $=n[S]-i.get(),_=g($,w);return{index:S,distance:_}}function x(S,w){const $=i.get()+S,{index:_,distance:y}=f($),R=!e&&l($);if(!w||R)return{index:_,distance:S};const M=n[_]-y,E=S+g(M,0);return{index:_,distance:E}}return{byDistance:x,byIndex:v,shortcut:g}}function GP(e,n,t,o,i,l,u){function d(v){const x=v.distance,m=v.index!==n.get();l.add(x),x&&(o.duration()?e.start():(e.update(),e.render(1),e.update())),m&&(t.set(n.get()),n.set(v.index),u.emit("select"))}function p(v,x){const m=i.byDistance(v,x);d(m)}function f(v,x){const m=n.clone().set(v),S=i.byIndex(m.get(),x);d(S)}return{distance:p,index:f}}function WP(e,n,t,o,i,l){let u=0;function d(){l.add(document,"keydown",p,!1),n.forEach(f)}function p(v){v.code==="Tab"&&(u=new Date().getTime())}function f(v){const x=()=>{if(new Date().getTime()-u>10)return;e.scrollLeft=0;const w=n.indexOf(v),$=t.findIndex(_=>_.includes(w));$d($)&&(i.useDuration(0),o.index($,0))};l.add(v,"focus",x,{passive:!0,capture:!0})}return{init:d}}function Gi(e){let n=e;function t(){return n}function o(p){n=u(p)}function i(p){n+=u(p)}function l(p){n-=u(p)}function u(p){return $d(p)?p:p.get()}return{get:t,set:o,add:i,subtract:l}}function ix(e,n,t){const o=e.scroll==="x"?u:d,i=t.style;let l=!1;function u(x){return`translate3d(${x}px,0px,0px)`}function d(x){return`translate3d(0px,${x}px,0px)`}function p(x){l||(i.transform=o(n.apply(x)))}function f(x){l=!x}function g(){l||(i.transform="",t.getAttribute("style")||t.removeAttribute("style"))}return{clear:g,to:p,toggleActive:f}}function UP(e,n,t,o,i,l,u,d,p,f){const v=ua(l),x=ua(l).reverse(),m=y().concat(R());function S(P,D){return P.reduce((k,L)=>k-l[L],D)}function w(P,D){return P.reduce((k,L)=>S(k,D)>0?k.concat([L]):k,[])}function $(P){return u.map((D,k)=>({start:D-i[k]+.5+P,end:D+t-.5+P}))}function _(P,D,k){const L=$(D);return P.map(F=>{const Z=k?0:-o,V=k?o:0,J=k?"end":"start",de=L[F][J];return{index:F,loopPoint:de,slideLocation:Gi(-1),translate:ix(e,n,f[F]),target:()=>p.get()>de?Z:V}})}function y(){const P=d[0],D=w(x,P);return _(D,o,!1)}function R(){const P=t-d[0]-1,D=w(v,P);return _(D,-o,!0)}function M(){return m.every(({index:P})=>{const D=v.filter(k=>k!==P);return S(D,t)<=.1})}function E(){m.forEach(P=>{const{target:D,translate:k,slideLocation:L}=P,F=D();F!==L.get()&&(k.to(F),L.set(F))})}function I(){m.forEach(P=>P.translate.clear())}return{canLoop:M,clear:I,loop:E,loopPoints:m}}function XP(e,n,t){let o,i=!1;function l(p){if(!t)return;function f(g){for(const v of g)if(v.type==="childList"){p.reInit(),n.emit("slidesChanged");break}}o=new MutationObserver(g=>{i||(Ed(t)||t(p,g))&&f(g)}),o.observe(e,{childList:!0})}function u(){o&&o.disconnect(),i=!0}return{init:l,destroy:u}}function qP(e,n,t,o){const i={};let l=null,u=null,d,p=!1;function f(){d=new IntersectionObserver(S=>{p||(S.forEach(w=>{const $=n.indexOf(w.target);i[$]=w}),l=null,u=null,t.emit("slidesInView"))},{root:e.parentElement,threshold:o}),n.forEach(S=>d.observe(S))}function g(){d&&d.disconnect(),p=!0}function v(S){return da(i).reduce((w,$)=>{const _=parseInt($),{isIntersecting:y}=i[_];return(S&&y||!S&&!y)&&w.push(_),w},[])}function x(S=!0){if(S&&l)return l;if(!S&&u)return u;const w=v(S);return S&&(l=w),S||(u=w),w}return{init:f,destroy:g,get:x}}function KP(e,n,t,o,i,l){const{measureSize:u,startEdge:d,endEdge:p}=e,f=t[0]&&i,g=S(),v=w(),x=t.map(u),m=$();function S(){if(!f)return 0;const y=t[0];return wt(n[d]-y[d])}function w(){if(!f)return 0;const y=l.getComputedStyle(ar(o));return parseFloat(y.getPropertyValue(`margin-${p}`))}function $(){return t.map((y,R,M)=>{const E=!R,I=Ad(M,R);return E?x[R]+g:I?x[R]+v:M[R+1][d]-y[d]}).map(wt)}return{slideSizes:x,slideSizesWithGaps:m,startGap:g,endGap:v}}function YP(e,n,t,o,i,l,u,d,p,f){const{startEdge:g,endEdge:v}=e,x=$d(o);function m(_,y){return ua(_).filter(R=>R%y===0).map(R=>_.slice(R,R+y))}function S(_){return _.length?ua(_).reduce((y,R)=>{const M=ar(y)||0,E=M===0,I=R===Sa(_),H=l[g]-u[M][g],P=l[g]-u[R][v],D=!i&&E?n.apply(d):0,k=!i&&I?n.apply(p):0;return wt(P-k-(H+D))>t+f&&y.push(R),I&&y.push(_.length),y},[]).map((y,R,M)=>{const E=Math.max(M[R-1]||0);return _.slice(E,y)}):[]}function w(_){return x?m(_,o):S(_)}return{groupSlides:w}}function JP(e,n,t,o,i,l,u){const{align:d,axis:p,direction:f,startIndex:g,loop:v,duration:x,dragFree:m,dragThreshold:S,inViewThreshold:w,slidesToScroll:$,skipSnaps:_,containScroll:y,watchResize:R,watchSlides:M,watchDrag:E}=l,I=2,H=MP(),P=H.measure(n),D=t.map(H.measure),k=EP(f),L=$P(p,f),F=L.measureSize(P),Z=DP(F),V=NP(d,F),J=!v&&!!y,de=v||!!y,{slideSizes:ge,slideSizesWithGaps:ce,startGap:ue,endGap:K}=KP(L,P,D,t,de,i),ne=YP(L,k,F,$,v,P,D,ue,K,I),{snaps:U,snapsAligned:q}=BP(L,V,P,D,ne),ie=-ar(U)+ar(ce),{snapsContained:pe,scrollContainLimit:Y}=LP(F,ie,q,y,I),be=J?pe:q,{limit:B}=FP(ie,be,v),se=ax(Sa(be),g,v),fe=se.clone(),le=ua(t),oe=({dragHandler:Ke,scrollBody:ee,scrollBounds:me,options:{loop:we}})=>{we||me.constrain(Ke.pointerDown()),ee.seek()},he=({scrollBody:Ke,translate:ee,location:me,offsetLocation:we,scrollLooper:De,slideLooper:ve,dragHandler:je,animation:Ne,eventHandler:Ie,options:{loop:et}},st)=>{const Rt=Ke.velocity(),At=Ke.settled();At&&!je.pointerDown()&&(Ne.stop(),Ie.emit("settle")),At||Ie.emit("scroll"),we.set(me.get()-Rt+Rt*st),et&&(De.loop(Ke.direction()),ve.loop()),ee.to(we.get())},xe=RP(o,i,()=>oe(Ct),Ke=>he(Ct,Ke)),Ce=.68,nt=be[se.get()],Ze=Gi(nt),Qe=Gi(nt),qe=Gi(nt),rt=kP(Ze,Qe,qe,x,Ce),ze=VP(v,be,ie,B,qe),ot=GP(xe,se,fe,rt,ze,qe,u),Ge=zP(B),Ft=fa(),St=qP(n,t,u,w),{slideRegistry:Ht}=HP(J,y,be,Y,ne,le),Vt=WP(e,t,Ht,ot,rt,Ft),Ct={ownerDocument:o,ownerWindow:i,eventHandler:u,containerRect:P,slideRects:D,animation:xe,axis:L,direction:k,dragHandler:PP(L,k,e,o,i,qe,AP(L,i),Ze,xe,ot,rt,ze,se,u,Z,m,S,_,Ce,E),eventStore:Ft,percentOfView:Z,index:se,indexPrevious:fe,limit:B,location:Ze,offsetLocation:Qe,options:l,resizeHandler:TP(n,u,i,t,L,R,H),scrollBody:rt,scrollBounds:IP(B,Qe,qe,rt,Z),scrollLooper:OP(ie,B,Qe,[Ze,Qe,qe]),scrollProgress:Ge,scrollSnapList:be.map(Ge.get),scrollSnaps:be,scrollTarget:ze,scrollTo:ot,slideLooper:UP(L,k,F,ie,ge,ce,U,be,Qe,t),slideFocus:Vt,slidesHandler:XP(n,u,M),slidesInView:St,slideIndexes:le,slideRegistry:Ht,slidesToScroll:ne,target:qe,translate:ix(L,k,n)};return Ct}function ZP(){const e={};let n;function t(p){n=p}function o(p){return e[p]||[]}function i(p){return o(p).forEach(f=>f(n,p)),d}function l(p,f){return e[p]=o(p).concat([f]),d}function u(p,f){return e[p]=o(p).filter(g=>g!==f),d}const d={init:t,emit:i,off:u,on:l};return d}const QP={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0};function e3(e){function n(l,u){return ox(l,u||{})}function t(l){const u=l.breakpoints||{},d=da(u).filter(p=>e.matchMedia(p).matches).map(p=>u[p]).reduce((p,f)=>n(p,f),{});return n(l,d)}function o(l){return l.map(u=>da(u.breakpoints||{})).reduce((u,d)=>u.concat(d),[]).map(e.matchMedia)}return{mergeOptions:n,optionsAtMedia:t,optionsMediaQueries:o}}function t3(e){let n=[];function t(l,u){return n=u.filter(({options:d})=>e.optionsAtMedia(d).active!==!1),n.forEach(d=>d.init(l,e)),u.reduce((d,p)=>Object.assign(d,{[p.name]:p}),{})}function o(){n=n.filter(l=>l.destroy())}return{init:t,destroy:o}}function Qi(e,n,t){const o=e.ownerDocument,i=o.defaultView,l=e3(i),u=t3(l),d=fa(),p=ZP(),{mergeOptions:f,optionsAtMedia:g,optionsMediaQueries:v}=l,{on:x,off:m,emit:S}=p,w=L;let $=!1,_,y=f(QP,Qi.globalOptions),R=f(y),M=[],E,I,H;function P(){const{container:le,slides:oe}=R;I=(ku(le)?e.querySelector(le):le)||e.children[0];const xe=ku(oe)?I.querySelectorAll(oe):oe;H=[].slice.call(xe||I.children)}function D(le){const oe=JP(e,I,H,o,i,le,p);if(le.loop&&!oe.slideLooper.canLoop()){const he=Object.assign({},le,{loop:!1});return D(he)}return oe}function k(le,oe){$||(y=f(y,le),R=g(y),M=oe||M,P(),_=D(R),v([y,...M.map(({options:he})=>he)]).forEach(he=>d.add(he,"change",L)),R.active&&(_.translate.to(_.location.get()),_.animation.init(),_.slidesInView.init(),_.slideFocus.init(),_.eventHandler.init(fe),_.resizeHandler.init(fe),_.slidesHandler.init(fe),_.options.loop&&_.slideLooper.loop(),I.offsetParent&&H.length&&_.dragHandler.init(fe),E=u.init(fe,M)))}function L(le,oe){const he=ne();F(),k(f({startIndex:he},le),oe),p.emit("reInit")}function F(){_.dragHandler.destroy(),_.eventStore.clear(),_.translate.clear(),_.slideLooper.clear(),_.resizeHandler.destroy(),_.slidesHandler.destroy(),_.slidesInView.destroy(),_.animation.destroy(),u.destroy(),d.clear()}function Z(){$||($=!0,d.clear(),F(),p.emit("destroy"))}function V(le,oe,he){!R.active||$||(_.scrollBody.useBaseFriction().useDuration(oe===!0?0:R.duration),_.scrollTo.index(le,he||0))}function J(le){const oe=_.index.add(1).get();V(oe,le,-1)}function de(le){const oe=_.index.add(-1).get();V(oe,le,1)}function ge(){return _.index.add(1).get()!==ne()}function ce(){return _.index.add(-1).get()!==ne()}function ue(){return _.scrollSnapList}function K(){return _.scrollProgress.get(_.location.get())}function ne(){return _.index.get()}function U(){return _.indexPrevious.get()}function q(){return _.slidesInView.get()}function ie(){return _.slidesInView.get(!1)}function pe(){return E}function Y(){return _}function be(){return e}function B(){return I}function se(){return H}const fe={canScrollNext:ge,canScrollPrev:ce,containerNode:B,internalEngine:Y,destroy:Z,off:m,on:x,emit:S,plugins:pe,previousScrollSnap:U,reInit:w,rootNode:be,scrollNext:J,scrollPrev:de,scrollProgress:K,scrollSnapList:ue,scrollTo:V,selectedScrollSnap:ne,slideNodes:se,slidesInView:q,slidesNotInView:ie};return k(n,t),setTimeout(()=>p.emit("init"),0),fe}Qi.globalOptions=void 0;function Md(e={},n=[]){const t=C.useRef(e),o=C.useRef(n),[i,l]=C.useState(),[u,d]=C.useState(),p=C.useCallback(()=>{i&&i.reInit(t.current,o.current)},[i]);return C.useEffect(()=>{if(SP()&&u){Qi.globalOptions=Md.globalOptions;const f=Qi(u,t.current,o.current);return l(f),()=>f.destroy()}else l(void 0)},[u,l]),C.useEffect(()=>{Rd(t.current,e)||(t.current=e,p())},[e,p]),C.useEffect(()=>{CP(o.current,n)||(o.current=n,p())},[n,p]),[d,i]}Md.globalOptions=void 0;const lx=C.createContext(null);function wl(){const e=C.useContext(lx);if(!e)throw new Error("useCarousel must be used within a ");return e}const cx=C.forwardRef(({orientation:e="horizontal",opts:n,setApi:t,plugins:o,className:i,children:l,...u},d)=>{const[p,f]=Md({...n,axis:e==="horizontal"?"x":"y"},o),[g,v]=C.useState(!1),[x,m]=C.useState(!1),S=C.useCallback(y=>{y&&(v(y.canScrollPrev()),m(y.canScrollNext()))},[]),w=C.useCallback(()=>f?.scrollPrev(),[f]),$=C.useCallback(()=>f?.scrollNext(),[f]),_=C.useCallback(y=>{y.key==="ArrowLeft"?(y.preventDefault(),w()):y.key==="ArrowRight"&&(y.preventDefault(),$())},[w,$]);return C.useEffect(()=>{!f||!t||t(f)},[f,t]),C.useEffect(()=>{if(f)return S(f),f.on("reInit",S),f.on("select",S),()=>{f.off("select",S)}},[f,S]),a.jsx(lx.Provider,{value:{carouselRef:p,api:f,opts:n,orientation:e||(n?.axis==="y"?"vertical":"horizontal"),scrollPrev:w,scrollNext:$,canScrollPrev:g,canScrollNext:x},children:a.jsx("div",{ref:d,onKeyDownCapture:_,className:X("relative",i),role:"region","aria-roledescription":"carousel",...u,children:l})})});cx.displayName="Carousel";const ux=C.forwardRef(({className:e,...n},t)=>{const{carouselRef:o,orientation:i}=wl();return a.jsx("div",{ref:o,className:"overflow-hidden",children:a.jsx("div",{ref:t,className:X("flex",i==="horizontal"?"-ml-4":"-mt-4 flex-col",e),...n})})});ux.displayName="Carousel.Content";const dx=C.forwardRef(({className:e,...n},t)=>{const{orientation:o}=wl();return a.jsx("div",{ref:t,className:X("shrink-0 grow-0 basis-full min-w-0",o==="horizontal"?"pl-4":"pt-4",e),role:"group","aria-roledescription":"slide",...n})});dx.displayName="Carousel.Item";const fx=C.forwardRef(({className:e,variant:n="outline",size:t="icon",...o},i)=>{const{orientation:l,scrollPrev:u,canScrollPrev:d}=wl();return a.jsxs(ft,{ref:i,variant:n,size:t,className:X("absolute w-8 h-8 rounded-full",l==="horizontal"?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!d,onClick:u,...o,children:[a.jsx(wj,{className:"h-4 w-4"}),a.jsx("span",{className:"sr-only",children:"Previous slide"})]})});fx.displayName="Carousel.Prev";const px=C.forwardRef(({className:e,variant:n="outline",size:t="icon",...o},i)=>{const{orientation:l,scrollNext:u,canScrollNext:d}=wl();return a.jsxs(ft,{ref:i,variant:n,size:t,className:X("absolute w-8 h-8 rounded-full",l==="horizontal"?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!d,onClick:u,...o,children:[a.jsx(_j,{className:"h-4 w-4"}),a.jsx("span",{className:"sr-only",children:"Next slide"})]})});px.displayName="Carousel.Next";var gx=G.createContext({drawerRef:{current:null},overlayRef:{current:null},scaleBackground:()=>{},onPress:()=>{},onRelease:()=>{},onDrag:()=>{},onNestedDrag:()=>{},onNestedOpenChange:()=>{},onNestedRelease:()=>{},openProp:void 0,dismissible:!1,isOpen:!1,keyboardIsOpen:{current:!1},snapPointsOffset:null,snapPoints:null,modal:!1,shouldFade:!1,activeSnapPoint:null,onOpenChange:()=>{},setActiveSnapPoint:()=>{},visible:!1,closeDrawer:()=>{},setVisible:()=>{},direction:"bottom"}),Dd=()=>G.useContext(gx);function n3(e,{insertAt:n}={}){if(!e||typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css",n==="top"&&t.firstChild?t.insertBefore(o,t.firstChild):t.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}n3(`[vaul-drawer]{touch-action:none;transition:transform .5s cubic-bezier(.32,.72,0,1)}[vaul-drawer][vaul-drawer-direction=bottom]{transform:translate3d(0,100%,0)}[vaul-drawer][vaul-drawer-direction=top]{transform:translate3d(0,-100%,0)}[vaul-drawer][vaul-drawer-direction=left]{transform:translate3d(-100%,0,0)}[vaul-drawer][vaul-drawer-direction=right]{transform:translate3d(100%,0,0)}.vaul-dragging .vaul-scrollable [vault-drawer-direction=top],.vaul-dragging .vaul-scrollable [vault-drawer-direction=bottom]{overflow-y:hidden!important}.vaul-dragging .vaul-scrollable [vault-drawer-direction=left],.vaul-dragging .vaul-scrollable [vault-drawer-direction=right]{overflow-x:hidden!important}[vaul-drawer][vaul-drawer-visible=true][vaul-drawer-direction=top],[vaul-drawer][vaul-drawer-visible=true][vaul-drawer-direction=bottom]{transform:translate3d(0,var(--snap-point-height, 0),0)}[vaul-drawer][vaul-drawer-visible=true][vaul-drawer-direction=left],[vaul-drawer][vaul-drawer-visible=true][vaul-drawer-direction=right]{transform:translate3d(var(--snap-point-height, 0),0,0)}[vaul-overlay]{opacity:0;transition:opacity .5s cubic-bezier(.32,.72,0,1)}[vaul-overlay][vaul-drawer-visible=true]{opacity:1}[vaul-drawer]:after{content:"";position:absolute;background:inherit;background-color:inherit}[vaul-drawer][vaul-drawer-direction=top]:after{top:initial;bottom:100%;left:0;right:0;height:200%}[vaul-drawer][vaul-drawer-direction=bottom]:after{top:100%;bottom:initial;left:0;right:0;height:200%}[vaul-drawer][vaul-drawer-direction=left]:after{left:initial;right:100%;top:0;bottom:0;width:200%}[vaul-drawer][vaul-drawer-direction=right]:after{left:100%;right:initial;top:0;bottom:0;width:200%}[vaul-overlay][vaul-snap-points=true]:not([vaul-snap-points-overlay="true"]):not([data-state="closed"]){opacity:0}[vaul-overlay][vaul-snap-points-overlay=true]:not([vaul-drawer-visible="false"]){opacity:1}@keyframes fake-animation{}@media (hover: hover) and (pointer: fine){[vaul-drawer]{user-select:none}} +`);var r3=typeof window<"u"?C.useLayoutEffect:C.useEffect;function Iu(...e){return(...n)=>{for(let t of e)typeof t=="function"&&t(...n)}}function o3(){return Td(/^Mac/)}function s3(){return Td(/^iPhone/)}function a3(){return Td(/^iPad/)||o3()&&navigator.maxTouchPoints>1}function hx(){return s3()||a3()}function Td(e){return typeof window<"u"&&window.navigator!=null?e.test(window.navigator.platform):void 0}var Qc=typeof document<"u"&&window.visualViewport;function Jg(e){let n=window.getComputedStyle(e);return/(auto|scroll)/.test(n.overflow+n.overflowX+n.overflowY)}function mx(e){for(Jg(e)&&(e=e.parentElement);e&&!Jg(e);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}var i3=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]),ji=0,eu;function l3(e={}){let{isDisabled:n}=e;r3(()=>{if(!n)return ji++,ji===1&&(hx()?eu=u3():eu=c3()),()=>{ji--,ji===0&&eu()}},[n])}function c3(){return Iu(vx(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`))}function u3(){let e,n=0,t=v=>{e=mx(v.target),!(e===document.documentElement&&e===document.body)&&(n=v.changedTouches[0].pageY)},o=v=>{if(!e||e===document.documentElement||e===document.body){v.preventDefault();return}let x=v.changedTouches[0].pageY,m=e.scrollTop,S=e.scrollHeight-e.clientHeight;S!==0&&((m<=0&&x>n||m>=S&&x{let x=v.target;Lu(x)&&x!==document.activeElement&&(v.preventDefault(),x.style.transform="translateY(-2000px)",x.focus(),requestAnimationFrame(()=>{x.style.transform=""}))},l=v=>{let x=v.target;Lu(x)&&(x.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{x.style.transform="",Qc&&(Qc.height{Zg(x)}):Qc.addEventListener("resize",()=>Zg(x),{once:!0}))}))},u=()=>{window.scrollTo(0,0)},d=window.pageXOffset,p=window.pageYOffset,f=Iu(vx(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`));window.scrollTo(0,0);let g=Iu(Fs(document,"touchstart",t,{passive:!1,capture:!0}),Fs(document,"touchmove",o,{passive:!1,capture:!0}),Fs(document,"touchend",i,{passive:!1,capture:!0}),Fs(document,"focus",l,!0),Fs(window,"scroll",u));return()=>{f(),g(),window.scrollTo(d,p)}}function vx(e,n,t){let o=e.style[n];return e.style[n]=t,()=>{e.style[n]=o}}function Fs(e,n,t,o){return e.addEventListener(n,t,o),()=>{e.removeEventListener(n,t,o)}}function Zg(e){let n=document.scrollingElement||document.documentElement;for(;e&&e!==n;){let t=mx(e);if(t!==document.documentElement&&t!==document.body&&t!==e){let o=t.getBoundingClientRect().top,i=e.getBoundingClientRect().top,l=e.getBoundingClientRect().bottom,u=t.getBoundingClientRect().bottom;l>u&&(t.scrollTop+=i-o)}e=t.parentElement}}function Lu(e){return e instanceof HTMLInputElement&&!i3.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}function d3(e,n){typeof e=="function"?e(n):e!=null&&(e.current=n)}function f3(...e){return n=>e.forEach(t=>d3(t,n))}function xx(...e){return C.useCallback(f3(...e),e)}var Yr=null;function p3({isOpen:e,modal:n,nested:t,hasBeenOpened:o,preventScrollRestoration:i}){let[l,u]=G.useState(typeof window<"u"?window.location.href:""),d=G.useRef(0),p=G.useCallback(()=>{if(Yr===null&&e){Yr={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left,height:document.body.style.height};let{scrollX:g,innerHeight:v}=window;document.body.style.setProperty("position","fixed","important"),document.body.style.top=`${-d.current}px`,document.body.style.left=`${-g}px`,document.body.style.right="0px",document.body.style.height="auto",setTimeout(()=>requestAnimationFrame(()=>{let x=v-window.innerHeight;x&&d.current>=v&&(document.body.style.top=`${-(d.current+x)}px`)}),300)}},[e]),f=G.useCallback(()=>{if(Yr!==null){let g=-parseInt(document.body.style.top,10),v=-parseInt(document.body.style.left,10);document.body.style.position=Yr.position,document.body.style.top=Yr.top,document.body.style.left=Yr.left,document.body.style.height=Yr.height,document.body.style.right="unset",requestAnimationFrame(()=>{if(i&&l!==window.location.href){u(window.location.href);return}window.scrollTo(v,g)}),Yr=null}},[l]);return G.useEffect(()=>{function g(){d.current=window.scrollY}return g(),window.addEventListener("scroll",g),()=>{window.removeEventListener("scroll",g)}},[]),G.useEffect(()=>{t||!o||(e?(p(),n||setTimeout(()=>{f()},500)):f())},[e,o,l,n,t,p,f]),{restorePositionSetting:f}}var bx=new WeakMap;function xt(e,n,t=!1){if(!e||!(e instanceof HTMLElement)||!n)return;let o={};Object.entries(n).forEach(([i,l])=>{if(i.startsWith("--")){e.style.setProperty(i,l);return}o[i]=e.style[i],e.style[i]=l}),!t&&bx.set(e,o)}function Ni(e,n){if(!e||!(e instanceof HTMLElement))return;let t=bx.get(e);t&&(n?e.style[n]=t[n]:Object.entries(t).forEach(([o,i])=>{e.style[o]=i}))}var Dt=e=>{switch(e){case"top":case"bottom":return!0;case"left":case"right":return!1;default:return e}};function Ri(e,n){let t=window.getComputedStyle(e),o=t.transform||t.webkitTransform||t.mozTransform,i=o.match(/^matrix3d\((.+)\)$/);return i?parseFloat(i[1].split(", ")[Dt(n)?13:12]):(i=o.match(/^matrix\((.+)\)$/),i?parseFloat(i[1].split(", ")[Dt(n)?5:4]):null)}function g3(e){return 8*(Math.log(e+1)-2)}var dt={DURATION:.5,EASE:[.32,.72,0,1]},yx=.4;function wx(e){let n=G.useRef(e);return G.useEffect(()=>{n.current=e}),G.useMemo(()=>(...t)=>{var o;return(o=n.current)==null?void 0:o.call(n,...t)},[])}function h3({defaultProp:e,onChange:n}){let t=G.useState(e),[o]=t,i=G.useRef(o),l=wx(n);return G.useEffect(()=>{i.current!==o&&(l(o),i.current=o)},[o,i,l]),t}function m3({prop:e,defaultProp:n,onChange:t=()=>{}}){let[o,i]=h3({defaultProp:n,onChange:t}),l=e!==void 0,u=l?e:o,d=wx(t),p=G.useCallback(f=>{if(l){let g=typeof f=="function"?f(e):f;g!==e&&d(g)}else i(f)},[l,e,i,d]);return[u,p]}function v3({activeSnapPointProp:e,setActiveSnapPointProp:n,snapPoints:t,drawerRef:o,overlayRef:i,fadeFromIndex:l,onSnapPointChange:u,direction:d="bottom"}){let[p,f]=m3({prop:e,defaultProp:t?.[0],onChange:n}),g=G.useMemo(()=>p===t?.[t.length-1]||null,[t,p]),v=t&&t.length>0&&(l||l===0)&&!Number.isNaN(l)&&t[l]===p||!t,x=G.useMemo(()=>t?.findIndex(R=>R===p),[t,p]),m=G.useMemo(()=>{var R;return(R=t?.map(M=>{let E=typeof window<"u",I=typeof M=="string",H=0;if(I&&(H=parseInt(M,10)),Dt(d)){let D=I?H:E?M*window.innerHeight:0;return E?d==="bottom"?window.innerHeight-D:-window.innerHeight+D:D}let P=I?H:E?M*window.innerWidth:0;return E?d==="right"?window.innerWidth-P:-window.innerWidth+P:P}))!=null?R:[]},[t]),S=G.useMemo(()=>x!==null?m?.[x]:null,[m,x]),w=G.useCallback(R=>{var M;let E=(M=m?.findIndex(I=>I===R))!=null?M:null;u(E),xt(o.current,{transition:`transform ${dt.DURATION}s cubic-bezier(${dt.EASE.join(",")})`,transform:Dt(d)?`translate3d(0, ${R}px, 0)`:`translate3d(${R}px, 0, 0)`}),m&&E!==m.length-1&&E!==l?xt(i.current,{transition:`opacity ${dt.DURATION}s cubic-bezier(${dt.EASE.join(",")})`,opacity:"0"}):xt(i.current,{transition:`opacity ${dt.DURATION}s cubic-bezier(${dt.EASE.join(",")})`,opacity:"1"}),f(E!==null?t?.[E]:null)},[o.current,t,m,l,i,f]);G.useEffect(()=>{var R;if(e){let M=(R=t?.findIndex(E=>E===e))!=null?R:-1;m&&M!==-1&&typeof m[M]=="number"&&w(m[M])}},[e,t,m,w]);function $({draggedDistance:R,closeDrawer:M,velocity:E,dismissible:I}){if(l===void 0)return;let H=d==="bottom"||d==="right"?(S??0)-R:(S??0)+R,P=x===l-1,D=x===0,k=R>0;if(P&&xt(i.current,{transition:`opacity ${dt.DURATION}s cubic-bezier(${dt.EASE.join(",")})`}),E>2&&!k){I?M():w(m[0]);return}if(E>2&&k&&m&&t){w(m[t.length-1]);return}let L=m?.reduce((Z,V)=>typeof Z!="number"||typeof V!="number"?Z:Math.abs(V-H)yx&&Math.abs(R)0&&g){w(m[t.length-1]);return}if(D&&Z<0&&I&&M(),x===null)return;w(m[x+Z]);return}w(L)}function _({draggedDistance:R}){if(S===null)return;let M=d==="bottom"||d==="right"?S-R:S+R;(d==="bottom"||d==="right")&&Mm[m.length-1]||xt(o.current,{transform:Dt(d)?`translate3d(0, ${M}px, 0)`:`translate3d(${M}px, 0, 0)`})}function y(R,M){if(!t||typeof x!="number"||!m||l===void 0)return null;let E=x===l-1;if(x>=l&&M)return 0;if(E&&!M)return 1;if(!v&&!E)return null;let I=E?x+1:x-1,H=E?m[I]-m[I-1]:m[I+1]-m[I],P=R/Math.abs(H);return E?1-P:P}return{isLastSnapPoint:g,activeSnapPoint:p,shouldFade:v,getPercentageDragged:y,setActiveSnapPoint:f,activeSnapPointIndex:x,onRelease:$,onDrag:_,snapPointsOffset:m}}var x3=.25,b3=100,Qg=8,_o=16,eh=26,th="vaul-dragging";function _x({open:e,onOpenChange:n,children:t,shouldScaleBackground:o,onDrag:i,onRelease:l,snapPoints:u,nested:d=!1,closeThreshold:p=x3,scrollLockTimeout:f=b3,dismissible:g=!0,fadeFromIndex:v=u&&u.length-1,activeSnapPoint:x,setActiveSnapPoint:m,fixed:S,modal:w=!0,onClose:$,direction:_="bottom",preventScrollRestoration:y=!0}){var R;let[M=!1,E]=G.useState(!1),[I,H]=G.useState(!1),[P,D]=G.useState(!1),[k,L]=G.useState(!1),[F,Z]=G.useState(!1),[V,J]=G.useState(!1),de=G.useRef(null),ge=G.useRef(null),ce=G.useRef(null),ue=G.useRef(null),K=G.useRef(null),ne=G.useRef(!1),U=G.useRef(null),q=G.useRef(0),ie=G.useRef(!1),pe=G.useRef(0),Y=G.useRef(null),be=G.useRef(((R=Y.current)==null?void 0:R.getBoundingClientRect().height)||0),B=G.useRef(0),se=G.useCallback(ee=>{u&&ee===xe.length-1&&(ge.current=new Date)},[]),{activeSnapPoint:fe,activeSnapPointIndex:le,setActiveSnapPoint:oe,onRelease:he,snapPointsOffset:xe,onDrag:Ce,shouldFade:nt,getPercentageDragged:Ze}=v3({snapPoints:u,activeSnapPointProp:x,setActiveSnapPointProp:m,drawerRef:Y,fadeFromIndex:v,overlayRef:de,onSnapPointChange:se,direction:_});l3({isDisabled:!M||F||!w||V||!I});let{restorePositionSetting:Qe}=p3({isOpen:M,modal:w,nested:d,hasBeenOpened:I,preventScrollRestoration:y});function qe(){return(window.innerWidth-eh)/window.innerWidth}function rt(ee){var me;!g&&!u||Y.current&&!Y.current.contains(ee.target)||(be.current=((me=Y.current)==null?void 0:me.getBoundingClientRect().height)||0,Z(!0),ce.current=new Date,hx()&&window.addEventListener("touchend",()=>ne.current=!1,{once:!0}),ee.target.setPointerCapture(ee.pointerId),q.current=Dt(_)?ee.screenY:ee.screenX)}function ze(ee,me){var we;let De=ee,ve=(we=window.getSelection())==null?void 0:we.toString(),je=Y.current?Ri(Y.current,_):null,Ne=new Date;if(De.hasAttribute("data-vaul-no-drag"))return!1;if(_==="right"||_==="left")return!0;if(ge.current&&Ne.getTime()-ge.current.getTime()<500)return!1;if(je!==null&&(_==="bottom"?je>0:je<0))return!0;if(ve&&ve.length>0)return!1;if(K.current&&Ne.getTime()-K.current.getTime()De.clientHeight){if(De.scrollTop!==0)return K.current=new Date,!1;if(De.getAttribute("role")==="dialog")return!0}De=De.parentNode}return!0}function ot(ee){if(Y.current&&F){let me=_==="bottom"||_==="right"?1:-1,we=(q.current-(Dt(_)?ee.screenY:ee.screenX))*me,De=we>0;if(u&&le===0&&!g||!ne.current&&!ze(ee.target,De))return;if(Y.current.classList.add(th),ne.current=!0,xt(Y.current,{transition:"none"}),xt(de.current,{transition:"none"}),u&&Ce({draggedDistance:we}),De&&!u){let st=g3(we),Rt=Math.min(st*-1,0)*me;xt(Y.current,{transform:Dt(_)?`translate3d(0, ${Rt}px, 0)`:`translate3d(${Rt}px, 0, 0)`});return}let ve=Math.abs(we),je=document.querySelector("[vaul-drawer-wrapper]"),Ne=ve/be.current,Ie=Ze(ve,De);Ie!==null&&(Ne=Ie);let et=1-Ne;if((nt||v&&le===v-1)&&(i?.(ee,Ne),xt(de.current,{opacity:`${et}`,transition:"none"},!0)),je&&de.current&&o){let st=Math.min(qe()+Ne*(1-qe()),1),Rt=8-Ne*8,At=Math.max(0,14-Ne*14);xt(je,{borderRadius:`${Rt}px`,transform:Dt(_)?`scale(${st}) translate3d(0, ${At}px, 0)`:`scale(${st}) translate3d(${At}px, 0, 0)`,transition:"none"},!0)}if(!u){let st=ve*me;xt(Y.current,{transform:Dt(_)?`translate3d(0, ${st}px, 0)`:`translate3d(${st}px, 0, 0)`})}}}G.useEffect(()=>()=>{Ht(!1),Qe()},[]),G.useEffect(()=>{var ee;function me(){var we;if(!Y.current)return;let De=document.activeElement;if(Lu(De)||ie.current){let ve=((we=window.visualViewport)==null?void 0:we.height)||0,je=window.innerHeight-ve,Ne=Y.current.getBoundingClientRect().height||0;B.current||(B.current=Ne);let Ie=Y.current.getBoundingClientRect().top;if(Math.abs(pe.current-je)>60&&(ie.current=!ie.current),u&&u.length>0&&xe&&le){let et=xe[le]||0;je+=et}if(pe.current=je,Ne>ve||ie.current){let et=Y.current.getBoundingClientRect().height,st=et;et>ve&&(st=ve-eh),S?Y.current.style.height=`${et-Math.max(je,0)}px`:Y.current.style.height=`${Math.max(st,ve-Ie)}px`}else Y.current.style.height=`${B.current}px`;u&&u.length>0&&!ie.current?Y.current.style.bottom="0px":Y.current.style.bottom=`${Math.max(je,0)}px`}}return(ee=window.visualViewport)==null||ee.addEventListener("resize",me),()=>{var we;return(we=window.visualViewport)==null?void 0:we.removeEventListener("resize",me)}},[le,u,xe]);function Ge(){Y.current&&($?.(),xt(Y.current,{transform:Dt(_)?`translate3d(0, ${_==="bottom"?"100%":"-100%"}, 0)`:`translate3d(${_==="right"?"100%":"-100%"}, 0, 0)`,transition:`transform ${dt.DURATION}s cubic-bezier(${dt.EASE.join(",")})`}),xt(de.current,{opacity:"0",transition:`opacity ${dt.DURATION}s cubic-bezier(${dt.EASE.join(",")})`}),Ht(!1),setTimeout(()=>{D(!1),E(!1)},300),setTimeout(()=>{u&&oe(u[0])},dt.DURATION*1e3))}G.useEffect(()=>{if(!M&&o){let ee=setTimeout(()=>{Ni(document.body)},200);return()=>clearTimeout(ee)}},[M,o]),G.useEffect(()=>{e?(E(!0),H(!0)):Ge()},[e]),G.useEffect(()=>{k&&n?.(M)},[M]),G.useEffect(()=>{L(!0)},[]);function Ft(){if(!Y.current)return;let ee=document.querySelector("[vaul-drawer-wrapper]"),me=Ri(Y.current,_);xt(Y.current,{transform:"translate3d(0, 0, 0)",transition:`transform ${dt.DURATION}s cubic-bezier(${dt.EASE.join(",")})`}),xt(de.current,{transition:`opacity ${dt.DURATION}s cubic-bezier(${dt.EASE.join(",")})`,opacity:"1"}),o&&me&&me>0&&M&&xt(ee,{borderRadius:`${Qg}px`,overflow:"hidden",...Dt(_)?{transform:`scale(${qe()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`,transformOrigin:"top"}:{transform:`scale(${qe()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`,transformOrigin:"left"},transitionProperty:"transform, border-radius",transitionDuration:`${dt.DURATION}s`,transitionTimingFunction:`cubic-bezier(${dt.EASE.join(",")})`},!0)}function St(ee){var me;if(!F||!Y.current)return;Y.current.classList.remove(th),ne.current=!1,Z(!1),ue.current=new Date;let we=Ri(Y.current,_);if(!ze(ee.target,!1)||!we||Number.isNaN(we)||ce.current===null)return;let De=ue.current.getTime()-ce.current.getTime(),ve=q.current-(Dt(_)?ee.screenY:ee.screenX),je=Math.abs(ve)/De;if(je>.05&&(J(!0),setTimeout(()=>{J(!1)},200)),u){he({draggedDistance:ve*(_==="bottom"||_==="right"?1:-1),closeDrawer:Ge,velocity:je,dismissible:g}),l?.(ee,!0);return}if(_==="bottom"||_==="right"?ve>0:ve<0){Ft(),l?.(ee,!0);return}if(je>yx){Ge(),l?.(ee,!1);return}let Ne=Math.min((me=Y.current.getBoundingClientRect().height)!=null?me:0,window.innerHeight);if(we>=Ne*p){Ge(),l?.(ee,!1);return}l?.(ee,!0),Ft()}G.useEffect(()=>{M&&(xt(document.documentElement,{scrollBehavior:"auto"}),ge.current=new Date,Ht(!0))},[M]),G.useEffect(()=>{var ee;if(Y.current&&P){let me=(ee=Y?.current)==null?void 0:ee.querySelectorAll("*");me?.forEach(we=>{let De=we;(De.scrollHeight>De.clientHeight||De.scrollWidth>De.clientWidth)&&De.classList.add("vaul-scrollable")})}},[P]);function Ht(ee){let me=document.querySelector("[vaul-drawer-wrapper]");!me||!o||(ee?(xt(document.body,{background:document.body.style.backgroundColor||document.body.style.background}),xt(document.body,{background:"black"},!0),xt(me,{borderRadius:`${Qg}px`,overflow:"hidden",...Dt(_)?{transform:`scale(${qe()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`,transformOrigin:"top"}:{transform:`scale(${qe()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`,transformOrigin:"left"},transitionProperty:"transform, border-radius",transitionDuration:`${dt.DURATION}s`,transitionTimingFunction:`cubic-bezier(${dt.EASE.join(",")})`})):(Ni(me,"overflow"),Ni(me,"transform"),Ni(me,"borderRadius"),xt(me,{transitionProperty:"transform, border-radius",transitionDuration:`${dt.DURATION}s`,transitionTimingFunction:`cubic-bezier(${dt.EASE.join(",")})`})))}function Vt(ee){let me=ee?(window.innerWidth-_o)/window.innerWidth:1,we=ee?-_o:0;U.current&&window.clearTimeout(U.current),xt(Y.current,{transition:`transform ${dt.DURATION}s cubic-bezier(${dt.EASE.join(",")})`,transform:`scale(${me}) translate3d(0, ${we}px, 0)`}),!ee&&Y.current&&(U.current=setTimeout(()=>{let De=Ri(Y.current,_);xt(Y.current,{transition:"none",transform:Dt(_)?`translate3d(0, ${De}px, 0)`:`translate3d(${De}px, 0, 0)`})},500))}function Ct(ee,me){if(me<0)return;let we=Dt(_)?window.innerHeight:window.innerWidth,De=(we-_o)/we,ve=De+me*(1-De),je=-_o+me*_o;xt(Y.current,{transform:Dt(_)?`scale(${ve}) translate3d(0, ${je}px, 0)`:`scale(${ve}) translate3d(${je}px, 0, 0)`,transition:"none"})}function Ke(ee,me){let we=Dt(_)?window.innerHeight:window.innerWidth,De=me?(we-_o)/we:1,ve=me?-_o:0;me&&xt(Y.current,{transition:`transform ${dt.DURATION}s cubic-bezier(${dt.EASE.join(",")})`,transform:Dt(_)?`scale(${De}) translate3d(0, ${ve}px, 0)`:`scale(${De}) translate3d(${ve}px, 0, 0)`})}return G.createElement($m,{modal:w,onOpenChange:ee=>{if(e!==void 0){n?.(ee);return}ee?(H(!0),E(ee)):Ge()},open:M},G.createElement(gx.Provider,{value:{visible:P,activeSnapPoint:fe,snapPoints:u,setActiveSnapPoint:oe,drawerRef:Y,overlayRef:de,scaleBackground:Ht,onOpenChange:n,onPress:rt,setVisible:D,onRelease:St,onDrag:ot,dismissible:g,isOpen:M,shouldFade:nt,closeDrawer:Ge,onNestedDrag:Ct,onNestedOpenChange:Vt,onNestedRelease:Ke,keyboardIsOpen:ie,openProp:e,modal:w,snapPointsOffset:xe,direction:_}},t))}var Sx=G.forwardRef(function({children:e,...n},t){let{overlayRef:o,snapPoints:i,onRelease:l,shouldFade:u,isOpen:d,visible:p}=Dd(),f=xx(t,o),g=i&&i.length>0;return G.createElement(pa,{onMouseUp:l,ref:f,"vaul-drawer-visible":p?"true":"false","vaul-overlay":"","vaul-snap-points":d&&g?"true":"false","vaul-snap-points-overlay":d&&u?"true":"false",...n})});Sx.displayName="Drawer.Overlay";var Cx=G.forwardRef(function({onOpenAutoFocus:e,onPointerDownOutside:n,onAnimationEnd:t,style:o,...i},l){let{drawerRef:u,onPress:d,onRelease:p,onDrag:f,dismissible:g,keyboardIsOpen:v,snapPointsOffset:x,visible:m,closeDrawer:S,modal:w,openProp:$,onOpenChange:_,setVisible:y,direction:R}=Dd(),M=xx(l,u);return G.useEffect(()=>{y(!0)},[]),G.createElement(ga,{onOpenAutoFocus:E=>{var I;e?e(E):(E.preventDefault(),(I=u.current)==null||I.focus())},onPointerDown:d,onPointerDownOutside:E=>{if(n?.(E),!w||E.defaultPrevented){E.preventDefault();return}v.current&&(v.current=!1),E.preventDefault(),_?.(!1),!(!g||$!==void 0)&&S()},onPointerMove:f,onPointerUp:p,ref:M,style:x&&x.length>0?{"--snap-point-height":`${x[0]}px`,...o}:o,...i,"vaul-drawer":"","vaul-drawer-direction":R,"vaul-drawer-visible":m?"true":"false"})});Cx.displayName="Drawer.Content";function y3({onDrag:e,onOpenChange:n,...t}){let{onNestedDrag:o,onNestedOpenChange:i,onNestedRelease:l}=Dd();if(!o)throw new Error("Drawer.NestedRoot must be placed in another drawer");return G.createElement(_x,{nested:!0,onClose:()=>{i(!1)},onDrag:(u,d)=>{o(u,d),e?.(u,d)},onOpenChange:u=>{u&&i(u),n?.(u)},onRelease:l,...t})}var cr={Root:_x,NestedRoot:y3,Content:Cx,Overlay:Sx,Trigger:Sj,Portal:al,Close:rd,Title:ha,Description:ma};function jx({shouldScaleBackground:e=!0,...n}){return a.jsx(cr.Root,{shouldScaleBackground:e,...n})}jx.displayName="Drawer";const w3=cr.Trigger,_3=cr.Portal,S3=cr.Close,Nx=C.forwardRef(({className:e,...n},t)=>a.jsx(cr.Overlay,{ref:t,className:X("fixed inset-0 bg-black/80 z-50",e),...n}));Nx.displayName=cr.Overlay.displayName;const Rx=C.forwardRef(({className:e,children:n,...t},o)=>a.jsxs(_3,{children:[a.jsx(Nx,{}),a.jsxs(cr.Content,{ref:o,className:X("fixed mt-24 inset-x-0 bottom-0 h-auto bg-background z-50 border rounded-t-[10px] flex flex-col",e),...t,children:[a.jsx("div",{className:"mx-auto mt-4 w-[100px] h-2 bg-muted rounded-full"}),n]})]}));Rx.displayName="DrawerContent";function C3({className:e,...n}){return a.jsx("div",{className:X("p-4 text-center sm:text-left grid gap-1.5",e),...n})}function j3({className:e,...n}){return a.jsx("div",{className:X("mt-auto p-4 flex flex-col gap-2",e),...n})}const $x=C.forwardRef(({className:e,...n},t)=>a.jsx(cr.Title,{ref:t,className:X("text-lg font-semibold leading-none tracking-tight",e),...n}));$x.displayName=cr.Title.displayName;const Ex=C.forwardRef(({className:e,...n},t)=>a.jsx(cr.Description,{ref:t,className:X("text-sm text-muted-foreground",e),...n}));Ex.displayName=cr.Description.displayName;function N3(){return a.jsxs("div",{className:"px-2 py-3 flex items-center justify-between bg-primary-foreground",children:[a.jsxs("div",{className:"flex items-center gap-x-1",children:[a.jsx("div",{className:"ml-2 pt-1",children:a.jsx(tE,{className:"size-7 stroke-none fill-slate-600 -rotate-90"})}),a.jsx("div",{className:"text-2xl font-extralight tracking-tighter text-blue-600",children:"shadcn-ui"}),a.jsx("div",{className:"text-2xl font-extralight tracking-tighter text-slate-600",children:"components showroom"})]}),a.jsx("div",{className:"pt-1 flex items-center justify-end gap-x-1",children:a.jsx(nE,{})})]})}const Px="bg-muted/30 border-muted-foreground/30 border-t border-b";function R3(){return a.jsx("div",{className:`p-0.5 flex flex-col space-y-4 ${Px}`,children:a.jsx("div",{className:"flex items-center gap-2"})})}const $3=[{id:"1",name:"Unread"},{id:"2",name:"Threads"},{id:"3",name:"Chat Rooms",children:[{id:"3.1",name:"General"},{id:"3.2",name:"Random"},{id:"3.3",name:"Open Source Projects"}]},{id:"4",name:"Direct Messages",children:[{id:"4.1",name:"Alice",children:[{id:"4.1.1",name:"Alice2",icon:Ng},{id:"4.1.2",name:"Bob2"},{id:"4.1.3",name:"Charlie2"}]},{id:"4.2",name:"Bob",icon:Ng},{id:"4.3",name:"Charlie"}]},{id:"5",name:"Direct Messages",children:[{id:"5.1",name:"Alice",children:[{id:"5.1.1",name:"Alice2"},{id:"5.1.2",name:"Bob2"},{id:"5.1.3",name:"Charlie2"}]},{id:"5.2",name:"Bob"},{id:"5.3",name:"Charlie"}]},{id:"6",name:"Direct Messages",children:[{id:"6.1",name:"Alice",children:[{id:"6.1.1",name:"Alice2"},{id:"6.1.2",name:"Bob2"},{id:"6.1.3",name:"Charlie2"}]},{id:"6.2",name:"Bob"},{id:"6.3",name:"Charlie"}]}],nh="focus:ring-primary-600 dark:focus:ring-primary-400 focus:ring-offset-primary-200 dark:focus:ring-offset-primary-800 focus:ring-1 focus:ring-offset-1 focus:outline-none",Ax={display:"flex",flex:"1"},E3=(e,n)=>{const t={...Ax};return e?t.minHeight=t.maxHeight=n+"%":t.minWidth=t.maxWidth=n+"%",t},P3={...Ax,minWidth:0,minHeight:0};function A3(e){const{vertical:n=!0,min:t=0,max:o=100,className:i,children:l,position:u,setPosition:d,onResize:p}=e,f=G.useRef(null),g=G.useCallback(x=>{if(!f.current)return;x.preventDefault();const{current:m}=f,S=m.getBoundingClientRect(),w=n?window.scrollY+S.y:window.scrollX+S.x,$=n?m.offsetHeight:m.offsetWidth,_=R=>{R.preventDefault();const M=((n?R.pageY:R.pageX)-w)/$*100,E=+cN(uN(M,t,o));d(E)},y=()=>{document.removeEventListener("mousemove",_),document.removeEventListener("mouseup",y),p?.()};document.addEventListener("mousemove",_),document.addEventListener("mouseup",y)},[f,n]);let v=G.Children.toArray(l);return v.length<2?a.jsx("div",{className:i,style:{display:"flex"},children:v}):a.jsxs("div",{ref:f,className:i,style:{display:"flex",flexDirection:n?"column":"row"},children:[a.jsx("div",{style:E3(n,u),children:v[0]}),a.jsx("div",{className:ct("splitpane-divider",n?"vertical":"horizontal"),onMouseDown:g}),a.jsx("div",{style:P3,children:v[1]})]})}const M3="d09GMgABAAAAAADcAAoAAAAAAggAAACWAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAABk4ALAoUNAE2AiQDCAsGAAQgBSAHIBtvAcieB3aD8wURQ+TZazbRE9HvF5vde4KCYGhiCgq/NKPF0i6UIsZynbP+Xi9Ng+XLbNlmNz/xIBBqq61FIQRJhC/+QA/08PJQJ3sK5TZFMlWzC/iK5GUN40psgqvxwBjBOg6JUSJ7ewyKE2AAaXZrfUB4v+hze37ugJ9d+DeYqiDwVgCawviwVFGnuttkLqIMGivmDg",D3=`data:application/font-woff2;base64,${M3}`,Wi=_a({text:D3}),$i=_a({fontText:Wi.text,xmlText:"",glyphs:[]});function T3(){const e=/^\s*data:(?[\w\/\+-]*);?(?(?:charset=[\w-]+)?);?(?base64?),(?[a-z0-9\!\$\&\'\,\(\)\*\+\,\;\=\-\.\_\~\:\@\/\?\%]*)\s*$/i;n();function n(){$i.dataUri=e.exec(Wi.text)?.groups}hl(Wi,()=>{$i.fontText=Wi.text,n(),$i.isUrl=!1,$i.dataUri})}T3();var Lt={BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0,SSR:!1};let k3=0;function kd(e,n){const t=`atom${++k3}`,o={toString:()=>t};return typeof e=="function"?o.read=e:(o.init=e,o.read=I3,o.write=L3),n&&(o.write=n),o}function I3(e){return e(this)}function L3(e,n,t){return n(this,typeof t=="function"?t(e(this)):t)}const tu=(e,n)=>e.unstable_is?e.unstable_is(n):n===e,nu=e=>"init"in e,ru=e=>!!e.write,el=new WeakMap,F3=(e,n)=>{el.set(e,n),e.catch(()=>{}).finally(()=>el.delete(e))},rh=(e,n)=>{const t=el.get(e);t&&(el.delete(e),t(n))},oh=(e,n)=>{e.status="fulfilled",e.value=n},sh=(e,n)=>{e.status="rejected",e.reason=n},O3=e=>typeof e?.then=="function",Os=(e,n)=>!!e&&"v"in e&&"v"in n&&Object.is(e.v,n.v),ah=(e,n)=>!!e&&"e"in e&&"e"in n&&Object.is(e.e,n.e),Ko=e=>!!e&&"v"in e&&e.v instanceof Promise,z3=(e,n)=>"v"in e&&"v"in n&&e.v.orig&&e.v.orig===n.v.orig,Ei=e=>{if("e"in e)throw e.e;return e.v},B3=()=>{const e=new WeakMap,n=new WeakMap,t=new Map;let o,i;(Lt?"production":void 0)!=="production"&&(o=new Set,i=new Set);const l=P=>e.get(P),u=(P,D)=>{(Lt?"production":void 0)!=="production"&&Object.freeze(D);const k=l(P);if(e.set(P,D),t.has(P)||t.set(P,k),Ko(k)){const L="v"in D?D.v instanceof Promise?D.v:Promise.resolve(D.v):Promise.reject(D.e);k.v!==L&&rh(k.v,L)}},d=(P,D,k,L)=>{const F=new Map(L?D.d:null);let Z=!1;k.forEach((V,J)=>{!V&&tu(P,J)&&(V=D),V?(F.set(J,V),D.d.get(J)!==V&&(Z=!0)):(Lt?"production":void 0)!=="production"&&console.warn("[Bug] atom state not found")}),(Z||D.d.size!==F.size)&&(D.d=F)},p=(P,D,k,L)=>{const F=l(P),Z={d:F?.d||new Map,v:D};if(k&&d(P,Z,k,L),Os(F,Z)&&F.d===Z.d)return F;if(Ko(F)&&Ko(Z)&&z3(F,Z)){if(F.d===Z.d)return F;Z.v=F.v}return u(P,Z),Z},f=(P,D,k,L)=>{if(O3(D)){let F;const Z=()=>{const J=l(P);if(!Ko(J)||J.v!==V)return;const de=p(P,V,k);n.has(P)&&J.d!==de.d&&E(P,de,J.d)},V=new Promise((J,de)=>{let ge=!1;D.then(ce=>{ge||(ge=!0,oh(V,ce),J(ce),Z())},ce=>{ge||(ge=!0,sh(V,ce),de(ce),Z())}),F=ce=>{ge||(ge=!0,ce.then(ue=>oh(V,ue),ue=>sh(V,ue)),J(ce))}});return V.orig=D,V.status="pending",F3(V,J=>{J&&F(J),L?.()}),p(P,V,k,!0)}return p(P,D,k)},g=(P,D,k)=>{const L=l(P),F={d:L?.d||new Map,e:D};return k&&d(P,F,k),ah(L,F)&&L.d===F.d?L:(u(P,F),F)},v=(P,D)=>{const k=l(P);if(!D&&k&&(n.has(P)||Array.from(k.d).every(([ge,ce])=>{if(ge===P)return!0;const ue=v(ge);return ue===ce||Os(ue,ce)})))return k;const L=new Map;let F=!0;const Z=ge=>{if(tu(P,ge)){const ue=l(ge);if(ue)return L.set(ge,ue),Ei(ue);if(nu(ge))return L.set(ge,void 0),ge.init;throw new Error("no atom init")}const ce=v(ge);return L.set(ge,ce),Ei(ce)};let V,J;const de={get signal(){return V||(V=new AbortController),V.signal},get setSelf(){return(Lt?"production":void 0)!=="production"&&!ru(P)&&console.warn("setSelf function cannot be used with read-only atom"),!J&&ru(P)&&(J=(...ge)=>{if((Lt?"production":void 0)!=="production"&&F&&console.warn("setSelf function cannot be called in sync"),!F)return y(P,...ge)}),J}};try{const ge=P.read(Z,de);return f(P,ge,L,()=>V?.abort())}catch(ge){return g(P,ge,L)}finally{F=!1}},x=P=>Ei(v(P)),m=P=>{let D=n.get(P);return D||(D=R(P)),D},S=(P,D)=>!D.l.size&&(!D.t.size||D.t.size===1&&D.t.has(P)),w=P=>{const D=n.get(P);D&&S(P,D)&&M(P)},$=P=>{const D=V=>{var J;const de=new Set((J=n.get(V))==null?void 0:J.t);return t.forEach((ge,ce)=>{var ue;(ue=l(ce))!=null&&ue.d.has(V)&&de.add(ce)}),de},k=new Array,L=new Set,F=V=>{if(!L.has(V)){L.add(V);for(const J of D(V))V!==J&&F(J);k.push(V)}};F(P);const Z=new Set([P]);for(let V=k.length-1;V>=0;--V){const J=k[V],de=l(J);if(!de)continue;let ge=!1;for(const ce of de.d.keys())if(ce!==J&&Z.has(ce)){ge=!0;break}if(ge){const ce=v(J,!0);Os(de,ce)||Z.add(J)}}},_=(P,...D)=>{let k=!0;const L=V=>Ei(v(V)),F=(V,...J)=>{let de;if(tu(P,V)){if(!nu(V))throw new Error("atom not writable");const ge=l(V),ce=f(V,J[0]);Os(ge,ce)||$(V)}else de=_(V,...J);if(!k){const ge=I();(Lt?"production":void 0)!=="production"&&o.forEach(ce=>ce({type:"async-write",flushed:ge}))}return de},Z=P.write(L,F,...D);return k=!1,Z},y=(P,...D)=>{const k=_(P,...D),L=I();return(Lt?"production":void 0)!=="production"&&o.forEach(F=>F({type:"write",flushed:L})),k},R=(P,D,k)=>{var L;const F=k||[];(L=l(P))==null||L.d.forEach((V,J)=>{const de=n.get(J);de?de.t.add(P):J!==P&&R(J,P,F)}),v(P);const Z={t:new Set(D&&[D]),l:new Set};if(n.set(P,Z),(Lt?"production":void 0)!=="production"&&i.add(P),ru(P)&&P.onMount){const{onMount:V}=P;F.push(()=>{const J=V((...de)=>y(P,...de));J&&(Z.u=J)})}return k||F.forEach(V=>V()),Z},M=P=>{var D;const k=(D=n.get(P))==null?void 0:D.u;k&&k(),n.delete(P),(Lt?"production":void 0)!=="production"&&i.delete(P);const L=l(P);L?(Ko(L)&&rh(L.v),L.d.forEach((F,Z)=>{if(Z!==P){const V=n.get(Z);V&&(V.t.delete(P),S(Z,V)&&M(Z))}})):(Lt?"production":void 0)!=="production"&&console.warn("[Bug] could not find atom state to unmount",P)},E=(P,D,k)=>{const L=new Set(D.d.keys()),F=new Set;k?.forEach((Z,V)=>{if(L.has(V)){L.delete(V);return}F.add(V);const J=n.get(V);J&&J.t.delete(P)}),L.forEach(Z=>{const V=n.get(Z);V?V.t.add(P):n.has(P)&&R(Z,P)}),F.forEach(Z=>{const V=n.get(Z);V&&S(Z,V)&&M(Z)})},I=()=>{let P;for((Lt?"production":void 0)!=="production"&&(P=new Set);t.size;){const D=Array.from(t);t.clear(),D.forEach(([k,L])=>{const F=l(k);if(F){const Z=n.get(k);Z&&F.d!==L?.d&&E(k,F,L?.d),Z&&!(!Ko(L)&&(Os(L,F)||ah(L,F)))&&(Z.l.forEach(V=>V()),(Lt?"production":void 0)!=="production"&&P.add(k))}else(Lt?"production":void 0)!=="production"&&console.warn("[Bug] no atom state to flush")})}if((Lt?"production":void 0)!=="production")return P},H=(P,D)=>{const k=m(P),L=I(),F=k.l;return F.add(D),(Lt?"production":void 0)!=="production"&&o.forEach(Z=>Z({type:"sub",flushed:L})),()=>{F.delete(D),w(P),(Lt?"production":void 0)!=="production"&&o.forEach(Z=>Z({type:"unsub"}))}};return(Lt?"production":void 0)!=="production"?{get:x,set:y,sub:H,dev_subscribe_store:(P,D)=>{if(D!==2)throw new Error("The current StoreListener revision is 2.");return o.add(P),()=>{o.delete(P)}},dev_get_mounted_atoms:()=>i.values(),dev_get_atom_state:P=>e.get(P),dev_get_mounted:P=>n.get(P),dev_restore_atoms:P=>{for(const[k,L]of P)nu(k)&&(f(k,L),$(k));const D=I();o.forEach(k=>k({type:"restore",flushed:D}))}}:{get:x,set:y,sub:H}};let ou;(Lt?"production":void 0)!=="production"&&(typeof globalThis.__NUMBER_OF_JOTAI_INSTANCES__=="number"?++globalThis.__NUMBER_OF_JOTAI_INSTANCES__:globalThis.__NUMBER_OF_JOTAI_INSTANCES__=1);const H3=()=>(ou||((Lt?"production":void 0)!=="production"&&globalThis.__NUMBER_OF_JOTAI_INSTANCES__!==1&&console.warn("Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044"),ou=B3()),ou);var V3={BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const G3=C.createContext(void 0),Mx=e=>{const n=C.useContext(G3);return e?.store||n||H3()},W3=e=>typeof e?.then=="function",U3=G.use||(e=>{if(e.status==="pending")throw e;if(e.status==="fulfilled")return e.value;throw e.status==="rejected"?e.reason:(e.status="pending",e.then(n=>{e.status="fulfilled",e.value=n},n=>{e.status="rejected",e.reason=n}),e)});function Dx(e,n){const t=Mx(n),[[o,i,l],u]=C.useReducer(f=>{const g=t.get(e);return Object.is(f[0],g)&&f[1]===t&&f[2]===e?f:[g,t,e]},void 0,()=>[t.get(e),t,e]);let d=o;(i!==t||l!==e)&&(u(),d=t.get(e));const p=n?.delay;return C.useEffect(()=>{const f=t.sub(e,()=>{if(typeof p=="number"){setTimeout(u,p);return}u()});return u(),f},[t,e,p]),C.useDebugValue(d),W3(d)?U3(d):d}function Fu(e,n){const t=Mx(n);return C.useCallback((...i)=>{if((V3?"production":void 0)!=="production"&&!("write"in e))throw new Error("not writable atom");return t.set(e,...i)},[t,e])}function X3({doDroppedFilesAtom:e,activeAtom:n}){const t=Fu(n),o=Fu(e),i=C.useRef(0);return C.useEffect(()=>{function l(){i.current++||t(!0)}function u(g){g.preventDefault()}function d(){--i.current||t(!1)}function p(g){g.preventDefault(),i.current=0,t(!1),g.dataTransfer&&o(g.dataTransfer.files)}const f=document.addEventListener;return f("dragenter",l),f("dragover",u),f("dragleave",d),f("drop",p),()=>{const g=document.removeEventListener;g("dragenter",l),g("dragover",u),g("dragleave",d),g("drop",p)}},[]),null}function q3(){const[e]=C.useState(kd(!1)),n=Dx(e);return X3({doDroppedFilesAtom:HA,activeAtom:e}),a.jsx(a.Fragment,{children:n&&a.jsx("div",{className:"absolute inset-0 grid place-items-center text-5xl font-bold text-slate-50 bg-slate-800/90 z-10",children:"Drop it!"})})}let K3={data:""},Y3=e=>typeof window=="object"?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||K3,J3=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,Z3=/\/\*[^]*?\*\/| +/g,ih=/\n+/g,ro=(e,n)=>{let t="",o="",i="";for(let l in e){let u=e[l];l[0]=="@"?l[1]=="i"?t=l+" "+u+";":o+=l[1]=="f"?ro(u,l):l+"{"+ro(u,l[1]=="k"?"":n)+"}":typeof u=="object"?o+=ro(u,n?n.replace(/([^,])+/g,d=>l.replace(/(^:.*)|([^,])+/g,p=>/&/.test(p)?p.replace(/&/g,d):d?d+" "+p:p)):l):u!=null&&(l=/^--/.test(l)?l:l.replace(/[A-Z]/g,"-$&").toLowerCase(),i+=ro.p?ro.p(l,u):l+":"+u+";")}return t+(n&&i?n+"{"+i+"}":i)+o},$r={},Tx=e=>{if(typeof e=="object"){let n="";for(let t in e)n+=t+Tx(e[t]);return n}return e},Q3=(e,n,t,o,i)=>{let l=Tx(e),u=$r[l]||($r[l]=(p=>{let f=0,g=11;for(;f>>0;return"go"+g})(l));if(!$r[u]){let p=l!==e?e:(f=>{let g,v,x=[{}];for(;g=J3.exec(f.replace(Z3,""));)g[4]?x.shift():g[3]?(v=g[3].replace(ih," ").trim(),x.unshift(x[0][v]=x[0][v]||{})):x[0][g[1]]=g[2].replace(ih," ").trim();return x[0]})(e);$r[u]=ro(i?{["@keyframes "+u]:p}:p,t?"":"."+u)}let d=t&&$r.g?$r.g:null;return t&&($r.g=$r[u]),((p,f,g,v)=>{v?f.data=f.data.replace(v,p):f.data.indexOf(p)===-1&&(f.data=g?p+f.data:f.data+p)})($r[u],n,o,d),u},eA=(e,n,t)=>e.reduce((o,i,l)=>{let u=n[l];if(u&&u.call){let d=u(t),p=d&&d.props&&d.props.className||/^go/.test(d)&&d;u=p?"."+p:d&&typeof d=="object"?d.props?"":ro(d,""):d===!1?"":d}return o+i+(u??"")},"");function _l(e){let n=this||{},t=e.call?e(n.p):e;return Q3(t.unshift?t.raw?eA(t,[].slice.call(arguments,1),n.p):t.reduce((o,i)=>Object.assign(o,i&&i.call?i(n.p):i),{}):t,Y3(n.target),n.g,n.o,n.k)}let kx,Ou,zu;_l.bind({g:1});let kr=_l.bind({k:1});function tA(e,n,t,o){ro.p=n,kx=e,Ou=t,zu=o}function lo(e,n){let t=this||{};return function(){let o=arguments;function i(l,u){let d=Object.assign({},l),p=d.className||i.className;t.p=Object.assign({theme:Ou&&Ou()},d),t.o=/ *go\d+/.test(p),d.className=_l.apply(t,o)+(p?" "+p:""),n&&(d.ref=u);let f=e;return e[0]&&(f=d.as||e,delete d.as),zu&&f[0]&&zu(d),kx(f,d)}return n?n(i):i}}var nA=e=>typeof e=="function",tl=(e,n)=>nA(e)?e(n):e,rA=(()=>{let e=0;return()=>(++e).toString()})(),Ix=(()=>{let e;return()=>{if(e===void 0&&typeof window<"u"){let n=matchMedia("(prefers-reduced-motion: reduce)");e=!n||n.matches}return e}})(),oA=20,Ui=new Map,sA=1e3,lh=e=>{if(Ui.has(e))return;let n=setTimeout(()=>{Ui.delete(e),Ao({type:4,toastId:e})},sA);Ui.set(e,n)},aA=e=>{let n=Ui.get(e);n&&clearTimeout(n)},Bu=(e,n)=>{switch(n.type){case 0:return{...e,toasts:[n.toast,...e.toasts].slice(0,oA)};case 1:return n.toast.id&&aA(n.toast.id),{...e,toasts:e.toasts.map(l=>l.id===n.toast.id?{...l,...n.toast}:l)};case 2:let{toast:t}=n;return e.toasts.find(l=>l.id===t.id)?Bu(e,{type:1,toast:t}):Bu(e,{type:0,toast:t});case 3:let{toastId:o}=n;return o?lh(o):e.toasts.forEach(l=>{lh(l.id)}),{...e,toasts:e.toasts.map(l=>l.id===o||o===void 0?{...l,visible:!1}:l)};case 4:return n.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(l=>l.id!==n.toastId)};case 5:return{...e,pausedAt:n.time};case 6:let i=n.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(l=>({...l,pauseDuration:l.pauseDuration+i}))}}},Xi=[],qi={toasts:[],pausedAt:void 0},Ao=e=>{qi=Bu(qi,e),Xi.forEach(n=>{n(qi)})},iA={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},lA=(e={})=>{let[n,t]=C.useState(qi);C.useEffect(()=>(Xi.push(t),()=>{let i=Xi.indexOf(t);i>-1&&Xi.splice(i,1)}),[n]);let o=n.toasts.map(i=>{var l,u;return{...e,...e[i.type],...i,duration:i.duration||((l=e[i.type])==null?void 0:l.duration)||e?.duration||iA[i.type],style:{...e.style,...(u=e[i.type])==null?void 0:u.style,...i.style}}});return{...n,toasts:o}},cA=(e,n="blank",t)=>({createdAt:Date.now(),visible:!0,type:n,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...t,id:t?.id||rA()}),Ca=e=>(n,t)=>{let o=cA(n,e,t);return Ao({type:2,toast:o}),o.id},Pn=(e,n)=>Ca("blank")(e,n);Pn.error=Ca("error");Pn.success=Ca("success");Pn.loading=Ca("loading");Pn.custom=Ca("custom");Pn.dismiss=e=>{Ao({type:3,toastId:e})};Pn.remove=e=>Ao({type:4,toastId:e});Pn.promise=(e,n,t)=>{let o=Pn.loading(n.loading,{...t,...t?.loading});return e.then(i=>(Pn.success(tl(n.success,i),{id:o,...t,...t?.success}),i)).catch(i=>{Pn.error(tl(n.error,i),{id:o,...t,...t?.error})}),e};var uA=(e,n)=>{Ao({type:1,toast:{id:e,height:n}})},dA=()=>{Ao({type:5,time:Date.now()})},fA=e=>{let{toasts:n,pausedAt:t}=lA(e);C.useEffect(()=>{if(t)return;let l=Date.now(),u=n.map(d=>{if(d.duration===1/0)return;let p=(d.duration||0)+d.pauseDuration-(l-d.createdAt);if(p<0){d.visible&&Pn.dismiss(d.id);return}return setTimeout(()=>Pn.dismiss(d.id),p)});return()=>{u.forEach(d=>d&&clearTimeout(d))}},[n,t]);let o=C.useCallback(()=>{t&&Ao({type:6,time:Date.now()})},[t]),i=C.useCallback((l,u)=>{let{reverseOrder:d=!1,gutter:p=8,defaultPosition:f}=u||{},g=n.filter(m=>(m.position||f)===(l.position||f)&&m.height),v=g.findIndex(m=>m.id===l.id),x=g.filter((m,S)=>Sm.visible).slice(...d?[x+1]:[0,x]).reduce((m,S)=>m+(S.height||0)+p,0)},[n]);return{toasts:n,handlers:{updateHeight:uA,startPause:dA,endPause:o,calculateOffset:i}}},pA=kr` from { transform: scale(0) rotate(45deg); opacity: 0; @@ -74,7 +74,7 @@ from { to { transform: scale(1) rotate(45deg); opacity: 1; -}`,uA=Dr` +}`,gA=kr` from { transform: scale(0); opacity: 0; @@ -82,7 +82,7 @@ from { to { transform: scale(1); opacity: 1; -}`,dA=Dr` +}`,hA=kr` from { transform: scale(0) rotate(90deg); opacity: 0; @@ -90,7 +90,7 @@ from { to { transform: scale(1) rotate(90deg); opacity: 1; -}`,fA=io("div")` +}`,mA=lo("div")` width: 20px; opacity: 0; height: 20px; @@ -99,14 +99,14 @@ to { position: relative; transform: rotate(45deg); - animation: ${cA} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) + animation: ${pA} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; animation-delay: 100ms; &:after, &:before { content: ''; - animation: ${uA} 0.15s ease-out forwards; + animation: ${gA} 0.15s ease-out forwards; animation-delay: 150ms; position: absolute; border-radius: 3px; @@ -119,18 +119,18 @@ to { } &:before { - animation: ${dA} 0.15s ease-out forwards; + animation: ${hA} 0.15s ease-out forwards; animation-delay: 180ms; transform: rotate(90deg); } -`,pA=Dr` +`,vA=kr` from { transform: rotate(0deg); } to { transform: rotate(360deg); } -`,gA=io("div")` +`,xA=lo("div")` width: 12px; height: 12px; box-sizing: border-box; @@ -138,8 +138,8 @@ to { border-radius: 100%; border-color: ${e=>e.secondary||"#e0e0e0"}; border-right-color: ${e=>e.primary||"#616161"}; - animation: ${pA} 1s linear infinite; -`,hA=Dr` + animation: ${vA} 1s linear infinite; +`,bA=kr` from { transform: scale(0) rotate(45deg); opacity: 0; @@ -147,7 +147,7 @@ from { to { transform: scale(1) rotate(45deg); opacity: 1; -}`,mA=Dr` +}`,yA=kr` 0% { height: 0; width: 0; @@ -161,7 +161,7 @@ to { 100% { opacity: 1; height: 10px; -}`,vA=io("div")` +}`,wA=lo("div")` width: 20px; opacity: 0; height: 20px; @@ -170,13 +170,13 @@ to { position: relative; transform: rotate(45deg); - animation: ${hA} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) + animation: ${bA} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; animation-delay: 100ms; &:after { content: ''; box-sizing: border-box; - animation: ${mA} 0.2s ease-out forwards; + animation: ${yA} 0.2s ease-out forwards; opacity: 0; animation-delay: 200ms; position: absolute; @@ -188,16 +188,16 @@ to { height: 10px; width: 6px; } -`,xA=io("div")` +`,_A=lo("div")` position: absolute; -`,bA=io("div")` +`,SA=lo("div")` position: relative; display: flex; justify-content: center; align-items: center; min-width: 20px; min-height: 20px; -`,yA=Dr` +`,CA=kr` from { transform: scale(0.6); opacity: 0.4; @@ -205,20 +205,20 @@ from { to { transform: scale(1); opacity: 1; -}`,wA=io("div")` +}`,jA=lo("div")` position: relative; transform: scale(0.6); opacity: 0.4; min-width: 20px; - animation: ${yA} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275) + animation: ${CA} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; -`,_A=({toast:e})=>{let{icon:n,type:t,iconTheme:o}=e;return n!==void 0?typeof n=="string"?C.createElement(wA,null,n):n:t==="blank"?null:C.createElement(bA,null,C.createElement(gA,{...o}),t!=="loading"&&C.createElement(xA,null,t==="error"?C.createElement(fA,{...o}):C.createElement(vA,{...o})))},SA=e=>` +`,NA=({toast:e})=>{let{icon:n,type:t,iconTheme:o}=e;return n!==void 0?typeof n=="string"?C.createElement(jA,null,n):n:t==="blank"?null:C.createElement(SA,null,C.createElement(xA,{...o}),t!=="loading"&&C.createElement(_A,null,t==="error"?C.createElement(mA,{...o}):C.createElement(wA,{...o})))},RA=e=>` 0% {transform: translate3d(0,${e*-200}%,0) scale(.6); opacity:.5;} 100% {transform: translate3d(0,0,0) scale(1); opacity:1;} -`,CA=e=>` +`,$A=e=>` 0% {transform: translate3d(0,0,-1px) scale(1); opacity:1;} 100% {transform: translate3d(0,${e*-150}%,-1px) scale(.6); opacity:0;} -`,jA="0%{opacity:0;} 100%{opacity:1;}",NA="0%{opacity:1;} 100%{opacity:0;}",RA=io("div")` +`,EA="0%{opacity:0;} 100%{opacity:1;}",PA="0%{opacity:1;} 100%{opacity:0;}",AA=lo("div")` display: flex; align-items: center; background: #fff; @@ -230,20 +230,20 @@ to { pointer-events: auto; padding: 8px 10px; border-radius: 8px; -`,$A=io("div")` +`,MA=lo("div")` display: flex; justify-content: center; margin: 4px 10px; color: inherit; flex: 1 1 auto; white-space: pre-line; -`,EA=(e,n)=>{let t=e.includes("top")?1:-1,[o,i]=Ax()?[jA,NA]:[SA(t),CA(t)];return{animation:n?`${Dr(o)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${Dr(i)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}},PA=C.memo(({toast:e,position:n,style:t,children:o})=>{let i=e.height?EA(e.position||n||"top-center",e.visible):{opacity:0},l=C.createElement(_A,{toast:e}),u=C.createElement($A,{...e.ariaProps},Qi(e.message,e));return C.createElement(RA,{className:e.className,style:{...i,...t,...e.style}},typeof o=="function"?o({icon:l,message:u}):C.createElement(C.Fragment,null,l,u))});J3(C.createElement);var AA=({id:e,className:n,style:t,onHeightUpdate:o,children:i})=>{let l=C.useCallback(u=>{if(u){let d=()=>{let p=u.getBoundingClientRect().height;o(e,p)};d(),new MutationObserver(d).observe(u,{subtree:!0,childList:!0,characterData:!0})}},[e,o]);return C.createElement("div",{ref:l,className:n,style:t},i)},MA=(e,n)=>{let t=e.includes("top"),o=t?{top:0}:{bottom:0},i=e.includes("center")?{justifyContent:"center"}:e.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:Ax()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${n*(t?1:-1)}px)`,...o,...i}},DA=bl` +`,DA=(e,n)=>{let t=e.includes("top")?1:-1,[o,i]=Ix()?[EA,PA]:[RA(t),$A(t)];return{animation:n?`${kr(o)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${kr(i)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}},TA=C.memo(({toast:e,position:n,style:t,children:o})=>{let i=e.height?DA(e.position||n||"top-center",e.visible):{opacity:0},l=C.createElement(NA,{toast:e}),u=C.createElement(MA,{...e.ariaProps},tl(e.message,e));return C.createElement(AA,{className:e.className,style:{...i,...t,...e.style}},typeof o=="function"?o({icon:l,message:u}):C.createElement(C.Fragment,null,l,u))});tA(C.createElement);var kA=({id:e,className:n,style:t,onHeightUpdate:o,children:i})=>{let l=C.useCallback(u=>{if(u){let d=()=>{let p=u.getBoundingClientRect().height;o(e,p)};d(),new MutationObserver(d).observe(u,{subtree:!0,childList:!0,characterData:!0})}},[e,o]);return C.createElement("div",{ref:l,className:n,style:t},i)},IA=(e,n)=>{let t=e.includes("top"),o=t?{top:0}:{bottom:0},i=e.includes("center")?{justifyContent:"center"}:e.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:Ix()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${n*(t?1:-1)}px)`,...o,...i}},LA=_l` z-index: 9999; > * { pointer-events: auto; } -`,Pi=16,TA=({reverseOrder:e,position:n="top-center",toastOptions:t,gutter:o,children:i,containerStyle:l,containerClassName:u})=>{let{toasts:d,handlers:p}=lA(t);return C.createElement("div",{style:{position:"fixed",zIndex:9999,top:Pi,left:Pi,right:Pi,bottom:Pi,pointerEvents:"none",...l},className:u,onMouseEnter:p.startPause,onMouseLeave:p.endPause},d.map(f=>{let g=f.position||n,v=p.calculateOffset(f,{reverseOrder:e,gutter:o,defaultPosition:n}),x=MA(g,v);return C.createElement(AA,{id:f.id,key:f.id,onHeightUpdate:p.updateHeight,className:f.visible?DA:"",style:x},f.type==="custom"?Qi(f.message,f):i?i(f):C.createElement(PA,{toast:f,position:g}))}))};function IA(){return a.jsx("div",{className:"toaser",children:a.jsx(TA,{position:"bottom-right",reverseOrder:!1,gutter:8,containerClassName:"",containerStyle:{},toastOptions:{className:"",duration:5e3,style:{background:"#363636",color:"#fff"},success:{duration:3e3,iconTheme:{primary:"green",secondary:"black"}}}})})}const kA=(e,n)=>Pn(e,{style:{backgroundColor:"red"},...n});function LA(e=""){return/[.]/.exec(e)&&/([^.]+$)/.exec(e)?.[0]||""}const FA=Ad(null,async(e,n,t)=>{try{if(t.length!==1)throw new Error("Only one file can be dropped");if(LA(t[0].name)!=="woff2")throw new Error(`Dropped file "${t[0].name}". -Only .woff2 files are supported`);const i=await aN(t[0],{asArrayBuffer:!1});console.log("files",t),console.log("blob",i)}catch(o){kA(o?.message||"Failed to load image")}});function OA(e){const{splitterPos:n}=Tr(lt.treeState),t=C.useCallback(m0(o=>lt.treeState.splitterPos=o,50),[]);return a.jsx(R3,{position:n,setPosition:t,...e})}const sh="6.1.2";function zA(e){const n=iv(e);return Cu(n,t=>t.state=_a({selected:!1})),n}const ah=zA(C3);function Mx(){const[e,n]=C.useState(()=>es(ah,sh)?.name||"No content selected"),{arrowFirst:t,hideFolderIcon:o}=Tr(lt.treeState),i=C.useMemo(()=>a.jsx(O$,{data:ah,className:`w-full h-full border rounded-l-md ${Zg}`,initialSelectedItemId:sh,onSelectChange:l=>n(l?.name??""),IconForFolder:r5,IconForItem:ZR,arrowFirst:t,hideFolderIcon:o}),[t,o]);return a.jsxs("div",{className:"mr-12 p-0.5 w-full h-full",children:[a.jsxs(OA,{vertical:!1,className:"splitpane h-full",children:[a.jsx("div",{className:"w-full",children:i}),a.jsx("div",{className:_t("flex-1 w-full h-full min-w-0 border border-l rounded-r-md z-10",Zg),tabIndex:0,children:a.jsx("div",{className:"min-w-0 overflow-hidden",children:a.jsx("div",{className:"px-2 py-1",children:e})})})]}),a.jsxs("div",{className:"mt-2 text-sm text-muted-foreground",children:[a.jsxs("label",{className:"flex items-center",children:[a.jsx(os,{className:"mr-2",checked:t,onCheckedChange:()=>lt.treeState.arrowFirst=!lt.treeState.arrowFirst}),"Icons first"]}),a.jsxs("label",{className:"flex items-center",children:[a.jsx(os,{className:"mr-2",checked:o,onCheckedChange:()=>lt.treeState.hideFolderIcon=!lt.treeState.hideFolderIcon}),"Hide folder icons"]})]})]})}function BA(){return a.jsxs("div",{className:`px-4 py-2 ${jx}`,children:[a.jsx("div",{className:"mb-1 px-1 text-sm",children:"Tree inside fixed height, non-scrollable area"}),a.jsx("div",{className:"h-[160px] overflow-hidden",children:a.jsx(Mx,{})})]})}/** +`,Pi=16,FA=({reverseOrder:e,position:n="top-center",toastOptions:t,gutter:o,children:i,containerStyle:l,containerClassName:u})=>{let{toasts:d,handlers:p}=fA(t);return C.createElement("div",{style:{position:"fixed",zIndex:9999,top:Pi,left:Pi,right:Pi,bottom:Pi,pointerEvents:"none",...l},className:u,onMouseEnter:p.startPause,onMouseLeave:p.endPause},d.map(f=>{let g=f.position||n,v=p.calculateOffset(f,{reverseOrder:e,gutter:o,defaultPosition:n}),x=IA(g,v);return C.createElement(kA,{id:f.id,key:f.id,onHeightUpdate:p.updateHeight,className:f.visible?LA:"",style:x},f.type==="custom"?tl(f.message,f):i?i(f):C.createElement(TA,{toast:f,position:g}))}))};function OA(){return a.jsx("div",{className:"toaser",children:a.jsx(FA,{position:"bottom-right",reverseOrder:!1,gutter:8,containerClassName:"",containerStyle:{},toastOptions:{className:"",duration:5e3,style:{background:"#363636",color:"#fff"},success:{duration:3e3,iconTheme:{primary:"green",secondary:"black"}}}})})}const zA=(e,n)=>Pn(e,{style:{backgroundColor:"red"},...n});function BA(e=""){return/[.]/.exec(e)&&/([^.]+$)/.exec(e)?.[0]||""}const HA=kd(null,async(e,n,t)=>{try{if(t.length!==1)throw new Error("Only one file can be dropped");if(BA(t[0].name)!=="woff2")throw new Error(`Dropped file "${t[0].name}". +Only .woff2 files are supported`);const i=await dN(t[0],{asArrayBuffer:!1});console.log("files",t),console.log("blob",i)}catch(o){zA(o?.message||"Failed to load image")}});function VA(e){const{splitterPos:n}=Ir(lt.treeState),t=C.useCallback(w0(o=>lt.treeState.splitterPos=o,50),[]);return a.jsx(A3,{position:n,setPosition:t,...e})}const ch="6.1.2";function GA(e){const n=fv(e);return $u(n,t=>t.state=_a({selected:!1})),n}const uh=GA($3);function Lx(){const[e,n]=C.useState(()=>es(uh,ch)?.name||"No content selected"),{arrowFirst:t,hideFolderIcon:o}=Ir(lt.treeState),i=C.useMemo(()=>a.jsx(V$,{data:uh,className:`w-full h-full border rounded-l-md ${nh}`,initialSelectedItemId:ch,onSelectChange:l=>n(l?.name??""),IconForFolder:l5,IconForItem:r5,arrowFirst:t,hideFolderIcon:o}),[t,o]);return a.jsxs("div",{className:"mr-12 p-0.5 w-full h-full",children:[a.jsxs(VA,{vertical:!1,className:"splitpane h-full",children:[a.jsx("div",{className:"w-full",children:i}),a.jsx("div",{className:ct("flex-1 w-full h-full min-w-0 border border-l rounded-r-md z-10",nh),tabIndex:0,children:a.jsx("div",{className:"min-w-0 overflow-hidden",children:a.jsx("div",{className:"px-2 py-1",children:e})})})]}),a.jsxs("div",{className:"mt-2 text-sm text-muted-foreground",children:[a.jsxs("label",{className:"flex items-center",children:[a.jsx(os,{className:"mr-2",checked:t,onCheckedChange:()=>lt.treeState.arrowFirst=!lt.treeState.arrowFirst}),"Icons first"]}),a.jsxs("label",{className:"flex items-center",children:[a.jsx(os,{className:"mr-2",checked:o,onCheckedChange:()=>lt.treeState.hideFolderIcon=!lt.treeState.hideFolderIcon}),"Hide folder icons"]})]})]})}function WA(){return a.jsxs("div",{className:`px-4 py-2 ${Px}`,children:[a.jsx("div",{className:"mb-1 px-1 text-sm",children:"Tree inside fixed height, non-scrollable area"}),a.jsx("div",{className:"h-[160px] overflow-hidden",children:a.jsx(Lx,{})})]})}/** * table-core * * Copyright (c) TanStack @@ -252,10 +252,10 @@ Only .woff2 files are supported`);const i=await aN(t[0],{asArrayBuffer:!1});cons * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function no(e,n){return typeof e=="function"?e(n):e}function Dn(e,n){return t=>{n.setState(o=>({...o,[e]:no(t,o[e])}))}}function el(e){return e instanceof Function}function HA(e){return Array.isArray(e)&&e.every(n=>typeof n=="number")}function VA(e,n){const t=[],o=i=>{i.forEach(l=>{t.push(l);const u=n(l);u!=null&&u.length&&o(u)})};return o(e),t}function Ae(e,n,t){let o=[],i;return l=>{let u;t.key&&t.debug&&(u=Date.now());const d=e(l);if(!(d.length!==o.length||d.some((g,v)=>o[v]!==g)))return i;o=d;let f;if(t.key&&t.debug&&(f=Date.now()),i=n(...d),t==null||t.onChange==null||t.onChange(i),t.key&&t.debug&&t!=null&&t.debug()){const g=Math.round((Date.now()-u)*100)/100,v=Math.round((Date.now()-f)*100)/100,x=v/16,m=(S,w)=>{for(S=String(S);S.length{n.setState(o=>({...o,[e]:oo(t,o[e])}))}}function nl(e){return e instanceof Function}function UA(e){return Array.isArray(e)&&e.every(n=>typeof n=="number")}function XA(e,n){const t=[],o=i=>{i.forEach(l=>{t.push(l);const u=n(l);u!=null&&u.length&&o(u)})};return o(e),t}function Ae(e,n,t){let o=[],i;return l=>{let u;t.key&&t.debug&&(u=Date.now());const d=e(l);if(!(d.length!==o.length||d.some((g,v)=>o[v]!==g)))return i;o=d;let f;if(t.key&&t.debug&&(f=Date.now()),i=n(...d),t==null||t.onChange==null||t.onChange(i),t.key&&t.debug&&t!=null&&t.debug()){const g=Math.round((Date.now()-u)*100)/100,v=Math.round((Date.now()-f)*100)/100,x=v/16,m=(S,w)=>{for(S=String(S);S.length{var i;return(i=e?.debugAll)!=null?i:e[n]},key:!1,onChange:o}}function GA(e,n,t,o){var i,l;const d={...e._getDefaultColumnDef(),...n},p=d.accessorKey;let f=(i=(l=d.id)!=null?l:p?p.replace(".","_"):void 0)!=null?i:typeof d.header=="string"?d.header:void 0,g;if(d.accessorFn?g=d.accessorFn:p&&(p.includes(".")?g=x=>{let m=x;for(const w of p.split(".")){var S;m=(S=m)==null?void 0:S[w]}return m}:g=x=>x[d.accessorKey]),!f)throw new Error;let v={id:`${String(f)}`,accessorFn:g,parent:o,depth:t,columnDef:d,columns:[],getFlatColumns:Ae(()=>[!0],()=>{var x;return[v,...(x=v.columns)==null?void 0:x.flatMap(m=>m.getFlatColumns())]},Me(e.options,"debugColumns")),getLeafColumns:Ae(()=>[e._getOrderColumnsFn()],x=>{var m;if((m=v.columns)!=null&&m.length){let S=v.columns.flatMap(w=>w.getLeafColumns());return x(S)}return[v]},Me(e.options,"debugColumns"))};for(const x of e._features)x.createColumn==null||x.createColumn(v,e);return v}const Kt="debugHeaders";function ih(e,n,t){var o;let l={id:(o=t.id)!=null?o:n.id,column:n,index:t.index,isPlaceholder:!!t.isPlaceholder,placeholderId:t.placeholderId,depth:t.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{const u=[],d=p=>{p.subHeaders&&p.subHeaders.length&&p.subHeaders.map(d),u.push(p)};return d(l),u},getContext:()=>({table:e,header:l,column:n})};return e._features.forEach(u=>{u.createHeader==null||u.createHeader(l,e)}),l}const WA={createTable:e=>{e.getHeaderGroups=Ae(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(n,t,o,i)=>{var l,u;const d=(l=o?.map(v=>t.find(x=>x.id===v)).filter(Boolean))!=null?l:[],p=(u=i?.map(v=>t.find(x=>x.id===v)).filter(Boolean))!=null?u:[],f=t.filter(v=>!(o!=null&&o.includes(v.id))&&!(i!=null&&i.includes(v.id)));return Ai(n,[...d,...f,...p],e)},Me(e.options,Kt)),e.getCenterHeaderGroups=Ae(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(n,t,o,i)=>(t=t.filter(l=>!(o!=null&&o.includes(l.id))&&!(i!=null&&i.includes(l.id))),Ai(n,t,e,"center")),Me(e.options,Kt)),e.getLeftHeaderGroups=Ae(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left],(n,t,o)=>{var i;const l=(i=o?.map(u=>t.find(d=>d.id===u)).filter(Boolean))!=null?i:[];return Ai(n,l,e,"left")},Me(e.options,Kt)),e.getRightHeaderGroups=Ae(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right],(n,t,o)=>{var i;const l=(i=o?.map(u=>t.find(d=>d.id===u)).filter(Boolean))!=null?i:[];return Ai(n,l,e,"right")},Me(e.options,Kt)),e.getFooterGroups=Ae(()=>[e.getHeaderGroups()],n=>[...n].reverse(),Me(e.options,Kt)),e.getLeftFooterGroups=Ae(()=>[e.getLeftHeaderGroups()],n=>[...n].reverse(),Me(e.options,Kt)),e.getCenterFooterGroups=Ae(()=>[e.getCenterHeaderGroups()],n=>[...n].reverse(),Me(e.options,Kt)),e.getRightFooterGroups=Ae(()=>[e.getRightHeaderGroups()],n=>[...n].reverse(),Me(e.options,Kt)),e.getFlatHeaders=Ae(()=>[e.getHeaderGroups()],n=>n.map(t=>t.headers).flat(),Me(e.options,Kt)),e.getLeftFlatHeaders=Ae(()=>[e.getLeftHeaderGroups()],n=>n.map(t=>t.headers).flat(),Me(e.options,Kt)),e.getCenterFlatHeaders=Ae(()=>[e.getCenterHeaderGroups()],n=>n.map(t=>t.headers).flat(),Me(e.options,Kt)),e.getRightFlatHeaders=Ae(()=>[e.getRightHeaderGroups()],n=>n.map(t=>t.headers).flat(),Me(e.options,Kt)),e.getCenterLeafHeaders=Ae(()=>[e.getCenterFlatHeaders()],n=>n.filter(t=>{var o;return!((o=t.subHeaders)!=null&&o.length)}),Me(e.options,Kt)),e.getLeftLeafHeaders=Ae(()=>[e.getLeftFlatHeaders()],n=>n.filter(t=>{var o;return!((o=t.subHeaders)!=null&&o.length)}),Me(e.options,Kt)),e.getRightLeafHeaders=Ae(()=>[e.getRightFlatHeaders()],n=>n.filter(t=>{var o;return!((o=t.subHeaders)!=null&&o.length)}),Me(e.options,Kt)),e.getLeafHeaders=Ae(()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()],(n,t,o)=>{var i,l,u,d,p,f;return[...(i=(l=n[0])==null?void 0:l.headers)!=null?i:[],...(u=(d=t[0])==null?void 0:d.headers)!=null?u:[],...(p=(f=o[0])==null?void 0:f.headers)!=null?p:[]].map(g=>g.getLeafHeaders()).flat()},Me(e.options,Kt))}};function Ai(e,n,t,o){var i,l;let u=0;const d=function(x,m){m===void 0&&(m=1),u=Math.max(u,m),x.filter(S=>S.getIsVisible()).forEach(S=>{var w;(w=S.columns)!=null&&w.length&&d(S.columns,m+1)},0)};d(e);let p=[];const f=(x,m)=>{const S={depth:m,id:[o,`${m}`].filter(Boolean).join("_"),headers:[]},w=[];x.forEach($=>{const _=[...w].reverse()[0],y=$.column.depth===S.depth;let R,M=!1;if(y&&$.column.parent?R=$.column.parent:(R=$.column,M=!0),_&&_?.column===R)_.subHeaders.push($);else{const E=ih(t,R,{id:[o,m,R.id,$?.id].filter(Boolean).join("_"),isPlaceholder:M,placeholderId:M?`${w.filter(k=>k.column===R).length}`:void 0,depth:m,index:w.length});E.subHeaders.push($),w.push(E)}S.headers.push($),$.headerGroup=S}),p.push(S),m>0&&f(w,m-1)},g=n.map((x,m)=>ih(t,x,{depth:u,index:m}));f(g,u-1),p.reverse();const v=x=>x.filter(S=>S.column.getIsVisible()).map(S=>{let w=0,$=0,_=[0];S.subHeaders&&S.subHeaders.length?(_=[],v(S.subHeaders).forEach(R=>{let{colSpan:M,rowSpan:E}=R;w+=M,_.push(E)})):w=1;const y=Math.min(..._);return $=$+y,S.colSpan=w,S.rowSpan=$,{colSpan:w,rowSpan:$}});return v((i=(l=p[0])==null?void 0:l.headers)!=null?i:[]),p}const Mi={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},nu=()=>({startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}),UA={getDefaultColumnDef:()=>Mi,getInitialState:e=>({columnSizing:{},columnSizingInfo:nu(),...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:Dn("columnSizing",e),onColumnSizingInfoChange:Dn("columnSizingInfo",e)}),createColumn:(e,n)=>{e.getSize=()=>{var t,o,i;const l=n.getState().columnSizing[e.id];return Math.min(Math.max((t=e.columnDef.minSize)!=null?t:Mi.minSize,(o=l??e.columnDef.size)!=null?o:Mi.size),(i=e.columnDef.maxSize)!=null?i:Mi.maxSize)},e.getStart=Ae(t=>[t,ta(n,t),n.getState().columnSizing],(t,o)=>o.slice(0,e.getIndex(t)).reduce((i,l)=>i+l.getSize(),0),Me(n.options,"debugColumns")),e.getAfter=Ae(t=>[t,ta(n,t),n.getState().columnSizing],(t,o)=>o.slice(e.getIndex(t)+1).reduce((i,l)=>i+l.getSize(),0),Me(n.options,"debugColumns")),e.resetSize=()=>{n.setColumnSizing(t=>{let{[e.id]:o,...i}=t;return i})},e.getCanResize=()=>{var t,o;return((t=e.columnDef.enableResizing)!=null?t:!0)&&((o=n.options.enableColumnResizing)!=null?o:!0)},e.getIsResizing=()=>n.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,n)=>{e.getSize=()=>{let t=0;const o=i=>{if(i.subHeaders.length)i.subHeaders.forEach(o);else{var l;t+=(l=i.column.getSize())!=null?l:0}};return o(e),t},e.getStart=()=>{if(e.index>0){const t=e.headerGroup.headers[e.index-1];return t.getStart()+t.getSize()}return 0},e.getResizeHandler=t=>{const o=n.getColumn(e.column.id),i=o?.getCanResize();return l=>{if(!o||!i||(l.persist==null||l.persist(),ru(l)&&l.touches&&l.touches.length>1))return;const u=e.getSize(),d=e?e.getLeafHeaders().map(_=>[_.column.id,_.column.getSize()]):[[o.id,o.getSize()]],p=ru(l)?Math.round(l.touches[0].clientX):l.clientX,f={},g=(_,y)=>{typeof y=="number"&&(n.setColumnSizingInfo(R=>{var M,E;const k=n.options.columnResizeDirection==="rtl"?-1:1,H=(y-((M=R?.startOffset)!=null?M:0))*k,P=Math.max(H/((E=R?.startSize)!=null?E:0),-.999999);return R.columnSizingStart.forEach(D=>{let[I,L]=D;f[I]=Math.round(Math.max(L+L*P,0)*100)/100}),{...R,deltaOffset:H,deltaPercentage:P}}),(n.options.columnResizeMode==="onChange"||_==="end")&&n.setColumnSizing(R=>({...R,...f})))},v=_=>g("move",_),x=_=>{g("end",_),n.setColumnSizingInfo(y=>({...y,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]}))},m=t||typeof document<"u"?document:null,S={moveHandler:_=>v(_.clientX),upHandler:_=>{m?.removeEventListener("mousemove",S.moveHandler),m?.removeEventListener("mouseup",S.upHandler),x(_.clientX)}},w={moveHandler:_=>(_.cancelable&&(_.preventDefault(),_.stopPropagation()),v(_.touches[0].clientX),!1),upHandler:_=>{var y;m?.removeEventListener("touchmove",w.moveHandler),m?.removeEventListener("touchend",w.upHandler),_.cancelable&&(_.preventDefault(),_.stopPropagation()),x((y=_.touches[0])==null?void 0:y.clientX)}},$=XA()?{passive:!1}:!1;ru(l)?(m?.addEventListener("touchmove",w.moveHandler,$),m?.addEventListener("touchend",w.upHandler,$)):(m?.addEventListener("mousemove",S.moveHandler,$),m?.addEventListener("mouseup",S.upHandler,$)),n.setColumnSizingInfo(_=>({..._,startOffset:p,startSize:u,deltaOffset:0,deltaPercentage:0,columnSizingStart:d,isResizingColumn:o.id}))}}},createTable:e=>{e.setColumnSizing=n=>e.options.onColumnSizingChange==null?void 0:e.options.onColumnSizingChange(n),e.setColumnSizingInfo=n=>e.options.onColumnSizingInfoChange==null?void 0:e.options.onColumnSizingInfoChange(n),e.resetColumnSizing=n=>{var t;e.setColumnSizing(n?{}:(t=e.initialState.columnSizing)!=null?t:{})},e.resetHeaderSizeInfo=n=>{var t;e.setColumnSizingInfo(n?nu():(t=e.initialState.columnSizingInfo)!=null?t:nu())},e.getTotalSize=()=>{var n,t;return(n=(t=e.getHeaderGroups()[0])==null?void 0:t.headers.reduce((o,i)=>o+i.getSize(),0))!=null?n:0},e.getLeftTotalSize=()=>{var n,t;return(n=(t=e.getLeftHeaderGroups()[0])==null?void 0:t.headers.reduce((o,i)=>o+i.getSize(),0))!=null?n:0},e.getCenterTotalSize=()=>{var n,t;return(n=(t=e.getCenterHeaderGroups()[0])==null?void 0:t.headers.reduce((o,i)=>o+i.getSize(),0))!=null?n:0},e.getRightTotalSize=()=>{var n,t;return(n=(t=e.getRightHeaderGroups()[0])==null?void 0:t.headers.reduce((o,i)=>o+i.getSize(),0))!=null?n:0}}};let Di=null;function XA(){if(typeof Di=="boolean")return Di;let e=!1;try{const n={get passive(){return e=!0,!1}},t=()=>{};window.addEventListener("test",t,n),window.removeEventListener("test",t)}catch{e=!1}return Di=e,Di}function ru(e){return e.type==="touchstart"}const qA={getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:Dn("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let n=!1,t=!1;e._autoResetExpanded=()=>{var o,i;if(!n){e._queue(()=>{n=!0});return}if((o=(i=e.options.autoResetAll)!=null?i:e.options.autoResetExpanded)!=null?o:!e.options.manualExpanding){if(t)return;t=!0,e._queue(()=>{e.resetExpanded(),t=!1})}},e.setExpanded=o=>e.options.onExpandedChange==null?void 0:e.options.onExpandedChange(o),e.toggleAllRowsExpanded=o=>{o??!e.getIsAllRowsExpanded()?e.setExpanded(!0):e.setExpanded({})},e.resetExpanded=o=>{var i,l;e.setExpanded(o?{}:(i=(l=e.initialState)==null?void 0:l.expanded)!=null?i:{})},e.getCanSomeRowsExpand=()=>e.getPrePaginationRowModel().flatRows.some(o=>o.getCanExpand()),e.getToggleAllRowsExpandedHandler=()=>o=>{o.persist==null||o.persist(),e.toggleAllRowsExpanded()},e.getIsSomeRowsExpanded=()=>{const o=e.getState().expanded;return o===!0||Object.values(o).some(Boolean)},e.getIsAllRowsExpanded=()=>{const o=e.getState().expanded;return typeof o=="boolean"?o===!0:!(!Object.keys(o).length||e.getRowModel().flatRows.some(i=>!i.getIsExpanded()))},e.getExpandedDepth=()=>{let o=0;return(e.getState().expanded===!0?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEach(l=>{const u=l.split(".");o=Math.max(o,u.length)}),o},e.getPreExpandedRowModel=()=>e.getSortedRowModel(),e.getExpandedRowModel=()=>(!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel?e.getPreExpandedRowModel():e._getExpandedRowModel())},createRow:(e,n)=>{e.toggleExpanded=t=>{n.setExpanded(o=>{var i;const l=o===!0?!0:!!(o!=null&&o[e.id]);let u={};if(o===!0?Object.keys(n.getRowModel().rowsById).forEach(d=>{u[d]=!0}):u=o,t=(i=t)!=null?i:!l,!l&&t)return{...u,[e.id]:!0};if(l&&!t){const{[e.id]:d,...p}=u;return p}return o})},e.getIsExpanded=()=>{var t;const o=n.getState().expanded;return!!((t=n.options.getIsRowExpanded==null?void 0:n.options.getIsRowExpanded(e))!=null?t:o===!0||o?.[e.id])},e.getCanExpand=()=>{var t,o,i;return(t=n.options.getRowCanExpand==null?void 0:n.options.getRowCanExpand(e))!=null?t:((o=n.options.enableExpanding)!=null?o:!0)&&!!((i=e.subRows)!=null&&i.length)},e.getIsAllParentsExpanded=()=>{let t=!0,o=e;for(;t&&o.parentId;)o=n.getRow(o.parentId,!0),t=o.getIsExpanded();return t},e.getToggleExpandedHandler=()=>{const t=e.getCanExpand();return()=>{t&&e.toggleExpanded()}}}},Dx=(e,n,t)=>{var o;const i=t.toLowerCase();return!!(!((o=e.getValue(n))==null||(o=o.toString())==null||(o=o.toLowerCase())==null)&&o.includes(i))};Dx.autoRemove=e=>ir(e);const Tx=(e,n,t)=>{var o;return!!(!((o=e.getValue(n))==null||(o=o.toString())==null)&&o.includes(t))};Tx.autoRemove=e=>ir(e);const Ix=(e,n,t)=>{var o;return((o=e.getValue(n))==null||(o=o.toString())==null?void 0:o.toLowerCase())===t?.toLowerCase()};Ix.autoRemove=e=>ir(e);const kx=(e,n,t)=>{var o;return(o=e.getValue(n))==null?void 0:o.includes(t)};kx.autoRemove=e=>ir(e)||!(e!=null&&e.length);const Lx=(e,n,t)=>!t.some(o=>{var i;return!((i=e.getValue(n))!=null&&i.includes(o))});Lx.autoRemove=e=>ir(e)||!(e!=null&&e.length);const Fx=(e,n,t)=>t.some(o=>{var i;return(i=e.getValue(n))==null?void 0:i.includes(o)});Fx.autoRemove=e=>ir(e)||!(e!=null&&e.length);const Ox=(e,n,t)=>e.getValue(n)===t;Ox.autoRemove=e=>ir(e);const zx=(e,n,t)=>e.getValue(n)==t;zx.autoRemove=e=>ir(e);const Md=(e,n,t)=>{let[o,i]=t;const l=e.getValue(n);return l>=o&&l<=i};Md.resolveFilterValue=e=>{let[n,t]=e,o=typeof n!="number"?parseFloat(n):n,i=typeof t!="number"?parseFloat(t):t,l=n===null||Number.isNaN(o)?-1/0:o,u=t===null||Number.isNaN(i)?1/0:i;if(l>u){const d=l;l=u,u=d}return[l,u]};Md.autoRemove=e=>ir(e)||ir(e[0])&&ir(e[1]);const Rr={includesString:Dx,includesStringSensitive:Tx,equalsString:Ix,arrIncludes:kx,arrIncludesAll:Lx,arrIncludesSome:Fx,equals:Ox,weakEquals:zx,inNumberRange:Md};function ir(e){return e==null||e===""}const KA={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],globalFilter:void 0,...e}),getDefaultOptions:e=>({onColumnFiltersChange:Dn("columnFilters",e),onGlobalFilterChange:Dn("globalFilter",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100,globalFilterFn:"auto",getColumnCanGlobalFilter:n=>{var t;const o=(t=e.getCoreRowModel().flatRows[0])==null||(t=t._getAllCellsByColumnId()[n.id])==null?void 0:t.getValue();return typeof o=="string"||typeof o=="number"}}),createColumn:(e,n)=>{e.getAutoFilterFn=()=>{const t=n.getCoreRowModel().flatRows[0],o=t?.getValue(e.id);return typeof o=="string"?Rr.includesString:typeof o=="number"?Rr.inNumberRange:typeof o=="boolean"||o!==null&&typeof o=="object"?Rr.equals:Array.isArray(o)?Rr.arrIncludes:Rr.weakEquals},e.getFilterFn=()=>{var t,o;return el(e.columnDef.filterFn)?e.columnDef.filterFn:e.columnDef.filterFn==="auto"?e.getAutoFilterFn():(t=(o=n.options.filterFns)==null?void 0:o[e.columnDef.filterFn])!=null?t:Rr[e.columnDef.filterFn]},e.getCanFilter=()=>{var t,o,i;return((t=e.columnDef.enableColumnFilter)!=null?t:!0)&&((o=n.options.enableColumnFilters)!=null?o:!0)&&((i=n.options.enableFilters)!=null?i:!0)&&!!e.accessorFn},e.getCanGlobalFilter=()=>{var t,o,i,l;return((t=e.columnDef.enableGlobalFilter)!=null?t:!0)&&((o=n.options.enableGlobalFilter)!=null?o:!0)&&((i=n.options.enableFilters)!=null?i:!0)&&((l=n.options.getColumnCanGlobalFilter==null?void 0:n.options.getColumnCanGlobalFilter(e))!=null?l:!0)&&!!e.accessorFn},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var t;return(t=n.getState().columnFilters)==null||(t=t.find(o=>o.id===e.id))==null?void 0:t.value},e.getFilterIndex=()=>{var t,o;return(t=(o=n.getState().columnFilters)==null?void 0:o.findIndex(i=>i.id===e.id))!=null?t:-1},e.setFilterValue=t=>{n.setColumnFilters(o=>{const i=e.getFilterFn(),l=o?.find(g=>g.id===e.id),u=no(t,l?l.value:void 0);if(lh(i,u,e)){var d;return(d=o?.filter(g=>g.id!==e.id))!=null?d:[]}const p={id:e.id,value:u};if(l){var f;return(f=o?.map(g=>g.id===e.id?p:g))!=null?f:[]}return o!=null&&o.length?[...o,p]:[p]})},e._getFacetedRowModel=n.options.getFacetedRowModel&&n.options.getFacetedRowModel(n,e.id),e.getFacetedRowModel=()=>e._getFacetedRowModel?e._getFacetedRowModel():n.getPreFilteredRowModel(),e._getFacetedUniqueValues=n.options.getFacetedUniqueValues&&n.options.getFacetedUniqueValues(n,e.id),e.getFacetedUniqueValues=()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,e._getFacetedMinMaxValues=n.options.getFacetedMinMaxValues&&n.options.getFacetedMinMaxValues(n,e.id),e.getFacetedMinMaxValues=()=>{if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}},createRow:(e,n)=>{e.columnFilters={},e.columnFiltersMeta={}},createTable:e=>{e.getGlobalAutoFilterFn=()=>Rr.includesString,e.getGlobalFilterFn=()=>{var n,t;const{globalFilterFn:o}=e.options;return el(o)?o:o==="auto"?e.getGlobalAutoFilterFn():(n=(t=e.options.filterFns)==null?void 0:t[o])!=null?n:Rr[o]},e.setColumnFilters=n=>{const t=e.getAllLeafColumns(),o=i=>{var l;return(l=no(n,i))==null?void 0:l.filter(u=>{const d=t.find(p=>p.id===u.id);if(d){const p=d.getFilterFn();if(lh(p,u.value,d))return!1}return!0})};e.options.onColumnFiltersChange==null||e.options.onColumnFiltersChange(o)},e.setGlobalFilter=n=>{e.options.onGlobalFilterChange==null||e.options.onGlobalFilterChange(n)},e.resetGlobalFilter=n=>{e.setGlobalFilter(n?void 0:e.initialState.globalFilter)},e.resetColumnFilters=n=>{var t,o;e.setColumnFilters(n?[]:(t=(o=e.initialState)==null?void 0:o.columnFilters)!=null?t:[])},e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel?e.getPreFilteredRowModel():e._getFilteredRowModel()),e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),e.getGlobalFacetedMinMaxValues=()=>{if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}};function lh(e,n,t){return(e&&e.autoRemove?e.autoRemove(n,t):!1)||typeof n>"u"||typeof n=="string"&&!n}const YA=(e,n,t)=>t.reduce((o,i)=>{const l=i.getValue(e);return o+(typeof l=="number"?l:0)},0),JA=(e,n,t)=>{let o;return t.forEach(i=>{const l=i.getValue(e);l!=null&&(o>l||o===void 0&&l>=l)&&(o=l)}),o},ZA=(e,n,t)=>{let o;return t.forEach(i=>{const l=i.getValue(e);l!=null&&(o=l)&&(o=l)}),o},QA=(e,n,t)=>{let o,i;return t.forEach(l=>{const u=l.getValue(e);u!=null&&(o===void 0?u>=u&&(o=i=u):(o>u&&(o=u),i{let t=0,o=0;if(n.forEach(i=>{let l=i.getValue(e);l!=null&&(l=+l)>=l&&(++t,o+=l)}),t)return o/t},t4=(e,n)=>{if(!n.length)return;const t=n.map(l=>l.getValue(e));if(!HA(t))return;if(t.length===1)return t[0];const o=Math.floor(t.length/2),i=t.sort((l,u)=>l-u);return t.length%2!==0?i[o]:(i[o-1]+i[o])/2},n4=(e,n)=>Array.from(new Set(n.map(t=>t.getValue(e))).values()),r4=(e,n)=>new Set(n.map(t=>t.getValue(e))).size,o4=(e,n)=>n.length,ou={sum:YA,min:JA,max:ZA,extent:QA,mean:e4,median:t4,unique:n4,uniqueCount:r4,count:o4},s4={getDefaultColumnDef:()=>({aggregatedCell:e=>{var n,t;return(n=(t=e.getValue())==null||t.toString==null?void 0:t.toString())!=null?n:null},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),getDefaultOptions:e=>({onGroupingChange:Dn("grouping",e),groupedColumnMode:"reorder"}),createColumn:(e,n)=>{e.toggleGrouping=()=>{n.setGrouping(t=>t!=null&&t.includes(e.id)?t.filter(o=>o!==e.id):[...t??[],e.id])},e.getCanGroup=()=>{var t,o,i,l;return(t=(o=(i=(l=e.columnDef.enableGrouping)!=null?l:!0)!=null?i:n.options.enableGrouping)!=null?o:!0)!=null?t:!!e.accessorFn},e.getIsGrouped=()=>{var t;return(t=n.getState().grouping)==null?void 0:t.includes(e.id)},e.getGroupedIndex=()=>{var t;return(t=n.getState().grouping)==null?void 0:t.indexOf(e.id)},e.getToggleGroupingHandler=()=>{const t=e.getCanGroup();return()=>{t&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{const t=n.getCoreRowModel().flatRows[0],o=t?.getValue(e.id);if(typeof o=="number")return ou.sum;if(Object.prototype.toString.call(o)==="[object Date]")return ou.extent},e.getAggregationFn=()=>{var t,o;if(!e)throw new Error;return el(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:e.columnDef.aggregationFn==="auto"?e.getAutoAggregationFn():(t=(o=n.options.aggregationFns)==null?void 0:o[e.columnDef.aggregationFn])!=null?t:ou[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=n=>e.options.onGroupingChange==null?void 0:e.options.onGroupingChange(n),e.resetGrouping=n=>{var t,o;e.setGrouping(n?[]:(t=(o=e.initialState)==null?void 0:o.grouping)!=null?t:[])},e.getPreGroupedRowModel=()=>e.getFilteredRowModel(),e.getGroupedRowModel=()=>(!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel?e.getPreGroupedRowModel():e._getGroupedRowModel())},createRow:(e,n)=>{e.getIsGrouped=()=>!!e.groupingColumnId,e.getGroupingValue=t=>{if(e._groupingValuesCache.hasOwnProperty(t))return e._groupingValuesCache[t];const o=n.getColumn(t);return o!=null&&o.columnDef.getGroupingValue?(e._groupingValuesCache[t]=o.columnDef.getGroupingValue(e.original),e._groupingValuesCache[t]):e.getValue(t)},e._groupingValuesCache={}},createCell:(e,n,t,o)=>{e.getIsGrouped=()=>n.getIsGrouped()&&n.id===t.groupingColumnId,e.getIsPlaceholder=()=>!e.getIsGrouped()&&n.getIsGrouped(),e.getIsAggregated=()=>{var i;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!!((i=t.subRows)!=null&&i.length)}}};function a4(e,n,t){if(!(n!=null&&n.length)||!t)return e;const o=e.filter(l=>!n.includes(l.id));return t==="remove"?o:[...n.map(l=>e.find(u=>u.id===l)).filter(Boolean),...o]}const i4={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:Dn("columnOrder",e)}),createColumn:(e,n)=>{e.getIndex=Ae(t=>[ta(n,t)],t=>t.findIndex(o=>o.id===e.id),Me(n.options,"debugColumns")),e.getIsFirstColumn=t=>{var o;return((o=ta(n,t)[0])==null?void 0:o.id)===e.id},e.getIsLastColumn=t=>{var o;const i=ta(n,t);return((o=i[i.length-1])==null?void 0:o.id)===e.id}},createTable:e=>{e.setColumnOrder=n=>e.options.onColumnOrderChange==null?void 0:e.options.onColumnOrderChange(n),e.resetColumnOrder=n=>{var t;e.setColumnOrder(n?[]:(t=e.initialState.columnOrder)!=null?t:[])},e._getOrderColumnsFn=Ae(()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode],(n,t,o)=>i=>{let l=[];if(!(n!=null&&n.length))l=i;else{const u=[...n],d=[...i];for(;d.length&&u.length;){const p=u.shift(),f=d.findIndex(g=>g.id===p);f>-1&&l.push(d.splice(f,1)[0])}l=[...l,...d]}return a4(l,t,o)},Me(e.options,"debugTable"))}},Fu=0,Ou=10,su=()=>({pageIndex:Fu,pageSize:Ou}),l4={getInitialState:e=>({...e,pagination:{...su(),...e?.pagination}}),getDefaultOptions:e=>({onPaginationChange:Dn("pagination",e)}),createTable:e=>{let n=!1,t=!1;e._autoResetPageIndex=()=>{var o,i;if(!n){e._queue(()=>{n=!0});return}if((o=(i=e.options.autoResetAll)!=null?i:e.options.autoResetPageIndex)!=null?o:!e.options.manualPagination){if(t)return;t=!0,e._queue(()=>{e.resetPageIndex(),t=!1})}},e.setPagination=o=>{const i=l=>no(o,l);return e.options.onPaginationChange==null?void 0:e.options.onPaginationChange(i)},e.resetPagination=o=>{var i;e.setPagination(o?su():(i=e.initialState.pagination)!=null?i:su())},e.setPageIndex=o=>{e.setPagination(i=>{let l=no(o,i.pageIndex);const u=typeof e.options.pageCount>"u"||e.options.pageCount===-1?Number.MAX_SAFE_INTEGER:e.options.pageCount-1;return l=Math.max(0,Math.min(l,u)),{...i,pageIndex:l}})},e.resetPageIndex=o=>{var i,l;e.setPageIndex(o?Fu:(i=(l=e.initialState)==null||(l=l.pagination)==null?void 0:l.pageIndex)!=null?i:Fu)},e.resetPageSize=o=>{var i,l;e.setPageSize(o?Ou:(i=(l=e.initialState)==null||(l=l.pagination)==null?void 0:l.pageSize)!=null?i:Ou)},e.setPageSize=o=>{e.setPagination(i=>{const l=Math.max(1,no(o,i.pageSize)),u=i.pageSize*i.pageIndex,d=Math.floor(u/l);return{...i,pageIndex:d,pageSize:l}})},e.setPageCount=o=>e.setPagination(i=>{var l;let u=no(o,(l=e.options.pageCount)!=null?l:-1);return typeof u=="number"&&(u=Math.max(-1,u)),{...i,pageCount:u}}),e.getPageOptions=Ae(()=>[e.getPageCount()],o=>{let i=[];return o&&o>0&&(i=[...new Array(o)].fill(null).map((l,u)=>u)),i},Me(e.options,"debugTable")),e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,e.getCanNextPage=()=>{const{pageIndex:o}=e.getState().pagination,i=e.getPageCount();return i===-1?!0:i===0?!1:oe.setPageIndex(o=>o-1),e.nextPage=()=>e.setPageIndex(o=>o+1),e.firstPage=()=>e.setPageIndex(0),e.lastPage=()=>e.setPageIndex(e.getPageCount()-1),e.getPrePaginationRowModel=()=>e.getExpandedRowModel(),e.getPaginationRowModel=()=>(!e._getPaginationRowModel&&e.options.getPaginationRowModel&&(e._getPaginationRowModel=e.options.getPaginationRowModel(e)),e.options.manualPagination||!e._getPaginationRowModel?e.getPrePaginationRowModel():e._getPaginationRowModel()),e.getPageCount=()=>{var o;return(o=e.options.pageCount)!=null?o:Math.ceil(e.getRowCount()/e.getState().pagination.pageSize)},e.getRowCount=()=>{var o;return(o=e.options.rowCount)!=null?o:e.getPrePaginationRowModel().rows.length}}},au=()=>({left:[],right:[]}),iu=()=>({top:[],bottom:[]}),c4={getInitialState:e=>({columnPinning:au(),rowPinning:iu(),...e}),getDefaultOptions:e=>({onColumnPinningChange:Dn("columnPinning",e),onRowPinningChange:Dn("rowPinning",e)}),createColumn:(e,n)=>{e.pin=t=>{const o=e.getLeafColumns().map(i=>i.id).filter(Boolean);n.setColumnPinning(i=>{var l,u;if(t==="right"){var d,p;return{left:((d=i?.left)!=null?d:[]).filter(v=>!(o!=null&&o.includes(v))),right:[...((p=i?.right)!=null?p:[]).filter(v=>!(o!=null&&o.includes(v))),...o]}}if(t==="left"){var f,g;return{left:[...((f=i?.left)!=null?f:[]).filter(v=>!(o!=null&&o.includes(v))),...o],right:((g=i?.right)!=null?g:[]).filter(v=>!(o!=null&&o.includes(v)))}}return{left:((l=i?.left)!=null?l:[]).filter(v=>!(o!=null&&o.includes(v))),right:((u=i?.right)!=null?u:[]).filter(v=>!(o!=null&&o.includes(v)))}})},e.getCanPin=()=>e.getLeafColumns().some(o=>{var i,l,u;return((i=o.columnDef.enablePinning)!=null?i:!0)&&((l=(u=n.options.enableColumnPinning)!=null?u:n.options.enablePinning)!=null?l:!0)}),e.getIsPinned=()=>{const t=e.getLeafColumns().map(d=>d.id),{left:o,right:i}=n.getState().columnPinning,l=t.some(d=>o?.includes(d)),u=t.some(d=>i?.includes(d));return l?"left":u?"right":!1},e.getPinnedIndex=()=>{var t,o;const i=e.getIsPinned();return i?(t=(o=n.getState().columnPinning)==null||(o=o[i])==null?void 0:o.indexOf(e.id))!=null?t:-1:0}},createRow:(e,n)=>{e.pin=(t,o,i)=>{const l=o?e.getLeafRows().map(p=>{let{id:f}=p;return f}):[],u=i?e.getParentRows().map(p=>{let{id:f}=p;return f}):[],d=new Set([...u,e.id,...l]);n.setRowPinning(p=>{var f,g;if(t==="bottom"){var v,x;return{top:((v=p?.top)!=null?v:[]).filter(w=>!(d!=null&&d.has(w))),bottom:[...((x=p?.bottom)!=null?x:[]).filter(w=>!(d!=null&&d.has(w))),...Array.from(d)]}}if(t==="top"){var m,S;return{top:[...((m=p?.top)!=null?m:[]).filter(w=>!(d!=null&&d.has(w))),...Array.from(d)],bottom:((S=p?.bottom)!=null?S:[]).filter(w=>!(d!=null&&d.has(w)))}}return{top:((f=p?.top)!=null?f:[]).filter(w=>!(d!=null&&d.has(w))),bottom:((g=p?.bottom)!=null?g:[]).filter(w=>!(d!=null&&d.has(w)))}})},e.getCanPin=()=>{var t;const{enableRowPinning:o,enablePinning:i}=n.options;return typeof o=="function"?o(e):(t=o??i)!=null?t:!0},e.getIsPinned=()=>{const t=[e.id],{top:o,bottom:i}=n.getState().rowPinning,l=t.some(d=>o?.includes(d)),u=t.some(d=>i?.includes(d));return l?"top":u?"bottom":!1},e.getPinnedIndex=()=>{var t,o;const i=e.getIsPinned();if(!i)return-1;const l=(t=n._getPinnedRows(i))==null?void 0:t.map(u=>{let{id:d}=u;return d});return(o=l?.indexOf(e.id))!=null?o:-1},e.getCenterVisibleCells=Ae(()=>[e._getAllVisibleCells(),n.getState().columnPinning.left,n.getState().columnPinning.right],(t,o,i)=>{const l=[...o??[],...i??[]];return t.filter(u=>!l.includes(u.column.id))},Me(n.options,"debugRows")),e.getLeftVisibleCells=Ae(()=>[e._getAllVisibleCells(),n.getState().columnPinning.left],(t,o)=>(o??[]).map(l=>t.find(u=>u.column.id===l)).filter(Boolean).map(l=>({...l,position:"left"})),Me(n.options,"debugRows")),e.getRightVisibleCells=Ae(()=>[e._getAllVisibleCells(),n.getState().columnPinning.right],(t,o)=>(o??[]).map(l=>t.find(u=>u.column.id===l)).filter(Boolean).map(l=>({...l,position:"right"})),Me(n.options,"debugRows"))},createTable:e=>{e.setColumnPinning=n=>e.options.onColumnPinningChange==null?void 0:e.options.onColumnPinningChange(n),e.resetColumnPinning=n=>{var t,o;return e.setColumnPinning(n?au():(t=(o=e.initialState)==null?void 0:o.columnPinning)!=null?t:au())},e.getIsSomeColumnsPinned=n=>{var t;const o=e.getState().columnPinning;if(!n){var i,l;return!!((i=o.left)!=null&&i.length||(l=o.right)!=null&&l.length)}return!!((t=o[n])!=null&&t.length)},e.getLeftLeafColumns=Ae(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left],(n,t)=>(t??[]).map(o=>n.find(i=>i.id===o)).filter(Boolean),Me(e.options,"debugColumns")),e.getRightLeafColumns=Ae(()=>[e.getAllLeafColumns(),e.getState().columnPinning.right],(n,t)=>(t??[]).map(o=>n.find(i=>i.id===o)).filter(Boolean),Me(e.options,"debugColumns")),e.getCenterLeafColumns=Ae(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(n,t,o)=>{const i=[...t??[],...o??[]];return n.filter(l=>!i.includes(l.id))},Me(e.options,"debugColumns")),e.setRowPinning=n=>e.options.onRowPinningChange==null?void 0:e.options.onRowPinningChange(n),e.resetRowPinning=n=>{var t,o;return e.setRowPinning(n?iu():(t=(o=e.initialState)==null?void 0:o.rowPinning)!=null?t:iu())},e.getIsSomeRowsPinned=n=>{var t;const o=e.getState().rowPinning;if(!n){var i,l;return!!((i=o.top)!=null&&i.length||(l=o.bottom)!=null&&l.length)}return!!((t=o[n])!=null&&t.length)},e._getPinnedRows=Ae(n=>[e.getRowModel().rows,e.getState().rowPinning[n],n],(n,t,o)=>{var i;return((i=e.options.keepPinnedRows)==null||i?(t??[]).map(u=>{const d=e.getRow(u,!0);return d.getIsAllParentsExpanded()?d:null}):(t??[]).map(u=>n.find(d=>d.id===u))).filter(Boolean).map(u=>({...u,position:o}))},Me(e.options,"debugRows")),e.getTopRows=()=>e._getPinnedRows("top"),e.getBottomRows=()=>e._getPinnedRows("bottom"),e.getCenterRows=Ae(()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom],(n,t,o)=>{const i=new Set([...t??[],...o??[]]);return n.filter(l=>!i.has(l.id))},Me(e.options,"debugRows"))}},u4={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:Dn("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{e.setRowSelection=n=>e.options.onRowSelectionChange==null?void 0:e.options.onRowSelectionChange(n),e.resetRowSelection=n=>{var t;return e.setRowSelection(n?{}:(t=e.initialState.rowSelection)!=null?t:{})},e.toggleAllRowsSelected=n=>{e.setRowSelection(t=>{n=typeof n<"u"?n:!e.getIsAllRowsSelected();const o={...t},i=e.getPreGroupedRowModel().flatRows;return n?i.forEach(l=>{l.getCanSelect()&&(o[l.id]=!0)}):i.forEach(l=>{delete o[l.id]}),o})},e.toggleAllPageRowsSelected=n=>e.setRowSelection(t=>{const o=typeof n<"u"?n:!e.getIsAllPageRowsSelected(),i={...t};return e.getRowModel().rows.forEach(l=>{zu(i,l.id,o,!0,e)}),i}),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=Ae(()=>[e.getState().rowSelection,e.getCoreRowModel()],(n,t)=>Object.keys(n).length?lu(e,t):{rows:[],flatRows:[],rowsById:{}},Me(e.options,"debugTable")),e.getFilteredSelectedRowModel=Ae(()=>[e.getState().rowSelection,e.getFilteredRowModel()],(n,t)=>Object.keys(n).length?lu(e,t):{rows:[],flatRows:[],rowsById:{}},Me(e.options,"debugTable")),e.getGroupedSelectedRowModel=Ae(()=>[e.getState().rowSelection,e.getSortedRowModel()],(n,t)=>Object.keys(n).length?lu(e,t):{rows:[],flatRows:[],rowsById:{}},Me(e.options,"debugTable")),e.getIsAllRowsSelected=()=>{const n=e.getFilteredRowModel().flatRows,{rowSelection:t}=e.getState();let o=!!(n.length&&Object.keys(t).length);return o&&n.some(i=>i.getCanSelect()&&!t[i.id])&&(o=!1),o},e.getIsAllPageRowsSelected=()=>{const n=e.getPaginationRowModel().flatRows.filter(i=>i.getCanSelect()),{rowSelection:t}=e.getState();let o=!!n.length;return o&&n.some(i=>!t[i.id])&&(o=!1),o},e.getIsSomeRowsSelected=()=>{var n;const t=Object.keys((n=e.getState().rowSelection)!=null?n:{}).length;return t>0&&t{const n=e.getPaginationRowModel().flatRows;return e.getIsAllPageRowsSelected()?!1:n.filter(t=>t.getCanSelect()).some(t=>t.getIsSelected()||t.getIsSomeSelected())},e.getToggleAllRowsSelectedHandler=()=>n=>{e.toggleAllRowsSelected(n.target.checked)},e.getToggleAllPageRowsSelectedHandler=()=>n=>{e.toggleAllPageRowsSelected(n.target.checked)}},createRow:(e,n)=>{e.toggleSelected=(t,o)=>{const i=e.getIsSelected();n.setRowSelection(l=>{var u;if(t=typeof t<"u"?t:!i,e.getCanSelect()&&i===t)return l;const d={...l};return zu(d,e.id,t,(u=o?.selectChildren)!=null?u:!0,n),d})},e.getIsSelected=()=>{const{rowSelection:t}=n.getState();return Dd(e,t)},e.getIsSomeSelected=()=>{const{rowSelection:t}=n.getState();return Bu(e,t)==="some"},e.getIsAllSubRowsSelected=()=>{const{rowSelection:t}=n.getState();return Bu(e,t)==="all"},e.getCanSelect=()=>{var t;return typeof n.options.enableRowSelection=="function"?n.options.enableRowSelection(e):(t=n.options.enableRowSelection)!=null?t:!0},e.getCanSelectSubRows=()=>{var t;return typeof n.options.enableSubRowSelection=="function"?n.options.enableSubRowSelection(e):(t=n.options.enableSubRowSelection)!=null?t:!0},e.getCanMultiSelect=()=>{var t;return typeof n.options.enableMultiRowSelection=="function"?n.options.enableMultiRowSelection(e):(t=n.options.enableMultiRowSelection)!=null?t:!0},e.getToggleSelectedHandler=()=>{const t=e.getCanSelect();return o=>{var i;t&&e.toggleSelected((i=o.target)==null?void 0:i.checked)}}}},zu=(e,n,t,o,i)=>{var l;const u=i.getRow(n,!0);t?(u.getCanMultiSelect()||Object.keys(e).forEach(d=>delete e[d]),u.getCanSelect()&&(e[n]=!0)):delete e[n],o&&(l=u.subRows)!=null&&l.length&&u.getCanSelectSubRows()&&u.subRows.forEach(d=>zu(e,d.id,t,o,i))};function lu(e,n){const t=e.getState().rowSelection,o=[],i={},l=function(u,d){return u.map(p=>{var f;const g=Dd(p,t);if(g&&(o.push(p),i[p.id]=p),(f=p.subRows)!=null&&f.length&&(p={...p,subRows:l(p.subRows)}),g)return p}).filter(Boolean)};return{rows:l(n.rows),flatRows:o,rowsById:i}}function Dd(e,n){var t;return(t=n[e.id])!=null?t:!1}function Bu(e,n,t){var o;if(!((o=e.subRows)!=null&&o.length))return!1;let i=!0,l=!1;return e.subRows.forEach(u=>{if(!(l&&!i)&&(u.getCanSelect()&&(Dd(u,n)?l=!0:i=!1),u.subRows&&u.subRows.length)){const d=Bu(u,n);d==="all"?l=!0:(d==="some"&&(l=!0),i=!1)}}),i?"all":l?"some":!1}const Hu=/([0-9]+)/gm,d4=(e,n,t)=>Bx(oo(e.getValue(t)).toLowerCase(),oo(n.getValue(t)).toLowerCase()),f4=(e,n,t)=>Bx(oo(e.getValue(t)),oo(n.getValue(t))),p4=(e,n,t)=>Td(oo(e.getValue(t)).toLowerCase(),oo(n.getValue(t)).toLowerCase()),g4=(e,n,t)=>Td(oo(e.getValue(t)),oo(n.getValue(t))),h4=(e,n,t)=>{const o=e.getValue(t),i=n.getValue(t);return o>i?1:oTd(e.getValue(t),n.getValue(t));function Td(e,n){return e===n?0:e>n?1:-1}function oo(e){return typeof e=="number"?isNaN(e)||e===1/0||e===-1/0?"":String(e):typeof e=="string"?e:""}function Bx(e,n){const t=e.split(Hu).filter(Boolean),o=n.split(Hu).filter(Boolean);for(;t.length&&o.length;){const i=t.shift(),l=o.shift(),u=parseInt(i,10),d=parseInt(l,10),p=[u,d].sort();if(isNaN(p[0])){if(i>l)return 1;if(l>i)return-1;continue}if(isNaN(p[1]))return isNaN(u)?-1:1;if(u>d)return 1;if(d>u)return-1}return t.length-o.length}const zs={alphanumeric:d4,alphanumericCaseSensitive:f4,text:p4,textCaseSensitive:g4,datetime:h4,basic:m4},v4={getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:Dn("sorting",e),isMultiSortEvent:n=>n.shiftKey}),createColumn:(e,n)=>{e.getAutoSortingFn=()=>{const t=n.getFilteredRowModel().flatRows.slice(10);let o=!1;for(const i of t){const l=i?.getValue(e.id);if(Object.prototype.toString.call(l)==="[object Date]")return zs.datetime;if(typeof l=="string"&&(o=!0,l.split(Hu).length>1))return zs.alphanumeric}return o?zs.text:zs.basic},e.getAutoSortDir=()=>{const t=n.getFilteredRowModel().flatRows[0];return typeof t?.getValue(e.id)=="string"?"asc":"desc"},e.getSortingFn=()=>{var t,o;if(!e)throw new Error;return el(e.columnDef.sortingFn)?e.columnDef.sortingFn:e.columnDef.sortingFn==="auto"?e.getAutoSortingFn():(t=(o=n.options.sortingFns)==null?void 0:o[e.columnDef.sortingFn])!=null?t:zs[e.columnDef.sortingFn]},e.toggleSorting=(t,o)=>{const i=e.getNextSortingOrder(),l=typeof t<"u"&&t!==null;n.setSorting(u=>{const d=u?.find(m=>m.id===e.id),p=u?.findIndex(m=>m.id===e.id);let f=[],g,v=l?t:i==="desc";if(u!=null&&u.length&&e.getCanMultiSort()&&o?d?g="toggle":g="add":u!=null&&u.length&&p!==u.length-1?g="replace":d?g="toggle":g="replace",g==="toggle"&&(l||i||(g="remove")),g==="add"){var x;f=[...u,{id:e.id,desc:v}],f.splice(0,f.length-((x=n.options.maxMultiSortColCount)!=null?x:Number.MAX_SAFE_INTEGER))}else g==="toggle"?f=u.map(m=>m.id===e.id?{...m,desc:v}:m):g==="remove"?f=u.filter(m=>m.id!==e.id):f=[{id:e.id,desc:v}];return f})},e.getFirstSortDir=()=>{var t,o;return((t=(o=e.columnDef.sortDescFirst)!=null?o:n.options.sortDescFirst)!=null?t:e.getAutoSortDir()==="desc")?"desc":"asc"},e.getNextSortingOrder=t=>{var o,i;const l=e.getFirstSortDir(),u=e.getIsSorted();return u?u!==l&&((o=n.options.enableSortingRemoval)==null||o)&&(!(t&&(i=n.options.enableMultiRemove)!=null)||i)?!1:u==="desc"?"asc":"desc":l},e.getCanSort=()=>{var t,o;return((t=e.columnDef.enableSorting)!=null?t:!0)&&((o=n.options.enableSorting)!=null?o:!0)&&!!e.accessorFn},e.getCanMultiSort=()=>{var t,o;return(t=(o=e.columnDef.enableMultiSort)!=null?o:n.options.enableMultiSort)!=null?t:!!e.accessorFn},e.getIsSorted=()=>{var t;const o=(t=n.getState().sorting)==null?void 0:t.find(i=>i.id===e.id);return o?o.desc?"desc":"asc":!1},e.getSortIndex=()=>{var t,o;return(t=(o=n.getState().sorting)==null?void 0:o.findIndex(i=>i.id===e.id))!=null?t:-1},e.clearSorting=()=>{n.setSorting(t=>t!=null&&t.length?t.filter(o=>o.id!==e.id):[])},e.getToggleSortingHandler=()=>{const t=e.getCanSort();return o=>{t&&(o.persist==null||o.persist(),e.toggleSorting==null||e.toggleSorting(void 0,e.getCanMultiSort()?n.options.isMultiSortEvent==null?void 0:n.options.isMultiSortEvent(o):!1))}}},createTable:e=>{e.setSorting=n=>e.options.onSortingChange==null?void 0:e.options.onSortingChange(n),e.resetSorting=n=>{var t,o;e.setSorting(n?[]:(t=(o=e.initialState)==null?void 0:o.sorting)!=null?t:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())}},x4={getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:Dn("columnVisibility",e)}),createColumn:(e,n)=>{e.toggleVisibility=t=>{e.getCanHide()&&n.setColumnVisibility(o=>({...o,[e.id]:t??!e.getIsVisible()}))},e.getIsVisible=()=>{var t,o;return(t=(o=n.getState().columnVisibility)==null?void 0:o[e.id])!=null?t:!0},e.getCanHide=()=>{var t,o;return((t=e.columnDef.enableHiding)!=null?t:!0)&&((o=n.options.enableHiding)!=null?o:!0)},e.getToggleVisibilityHandler=()=>t=>{e.toggleVisibility==null||e.toggleVisibility(t.target.checked)}},createRow:(e,n)=>{e._getAllVisibleCells=Ae(()=>[e.getAllCells(),n.getState().columnVisibility],t=>t.filter(o=>o.column.getIsVisible()),Me(n.options,"debugRows")),e.getVisibleCells=Ae(()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()],(t,o,i)=>[...t,...o,...i],Me(n.options,"debugRows"))},createTable:e=>{const n=(t,o)=>Ae(()=>[o(),o().filter(i=>i.getIsVisible()).map(i=>i.id).join("_")],i=>i.filter(l=>l.getIsVisible==null?void 0:l.getIsVisible()),Me(e.options,"debugColumns"));e.getVisibleFlatColumns=n("getVisibleFlatColumns",()=>e.getAllFlatColumns()),e.getVisibleLeafColumns=n("getVisibleLeafColumns",()=>e.getAllLeafColumns()),e.getLeftVisibleLeafColumns=n("getLeftVisibleLeafColumns",()=>e.getLeftLeafColumns()),e.getRightVisibleLeafColumns=n("getRightVisibleLeafColumns",()=>e.getRightLeafColumns()),e.getCenterVisibleLeafColumns=n("getCenterVisibleLeafColumns",()=>e.getCenterLeafColumns()),e.setColumnVisibility=t=>e.options.onColumnVisibilityChange==null?void 0:e.options.onColumnVisibilityChange(t),e.resetColumnVisibility=t=>{var o;e.setColumnVisibility(t?{}:(o=e.initialState.columnVisibility)!=null?o:{})},e.toggleAllColumnsVisible=t=>{var o;t=(o=t)!=null?o:!e.getIsAllColumnsVisible(),e.setColumnVisibility(e.getAllLeafColumns().reduce((i,l)=>({...i,[l.id]:t||!(l.getCanHide!=null&&l.getCanHide())}),{}))},e.getIsAllColumnsVisible=()=>!e.getAllLeafColumns().some(t=>!(t.getIsVisible!=null&&t.getIsVisible())),e.getIsSomeColumnsVisible=()=>e.getAllLeafColumns().some(t=>t.getIsVisible==null?void 0:t.getIsVisible()),e.getToggleAllColumnsVisibilityHandler=()=>t=>{var o;e.toggleAllColumnsVisible((o=t.target)==null?void 0:o.checked)}}};function ta(e,n){return n?n==="center"?e.getCenterVisibleLeafColumns():n==="left"?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()}const ch=[WA,x4,i4,c4,KA,v4,s4,qA,l4,u4,UA];function b4(e){var n;(e.debugAll||e.debugTable)&&console.info("Creating Table Instance...");let t={_features:ch};const o=t._features.reduce((g,v)=>Object.assign(g,v.getDefaultOptions==null?void 0:v.getDefaultOptions(t)),{}),i=g=>t.options.mergeOptions?t.options.mergeOptions(o,g):{...o,...g};let u={...{},...(n=e.initialState)!=null?n:{}};t._features.forEach(g=>{var v;u=(v=g.getInitialState==null?void 0:g.getInitialState(u))!=null?v:u});const d=[];let p=!1;const f={_features:ch,options:{...o,...e},initialState:u,_queue:g=>{d.push(g),p||(p=!0,Promise.resolve().then(()=>{for(;d.length;)d.shift()();p=!1}).catch(v=>setTimeout(()=>{throw v})))},reset:()=>{t.setState(t.initialState)},setOptions:g=>{const v=no(g,t.options);t.options=i(v)},getState:()=>t.options.state,setState:g=>{t.options.onStateChange==null||t.options.onStateChange(g)},_getRowId:(g,v,x)=>{var m;return(m=t.options.getRowId==null?void 0:t.options.getRowId(g,v,x))!=null?m:`${x?[x.id,v].join("."):v}`},getCoreRowModel:()=>(t._getCoreRowModel||(t._getCoreRowModel=t.options.getCoreRowModel(t)),t._getCoreRowModel()),getRowModel:()=>t.getPaginationRowModel(),getRow:(g,v)=>{let x=(v?t.getPrePaginationRowModel():t.getRowModel()).rowsById[g];if(!x&&(x=t.getCoreRowModel().rowsById[g],!x))throw new Error;return x},_getDefaultColumnDef:Ae(()=>[t.options.defaultColumn],g=>{var v;return g=(v=g)!=null?v:{},{header:x=>{const m=x.header.column.columnDef;return m.accessorKey?m.accessorKey:m.accessorFn?m.id:null},cell:x=>{var m,S;return(m=(S=x.renderValue())==null||S.toString==null?void 0:S.toString())!=null?m:null},...t._features.reduce((x,m)=>Object.assign(x,m.getDefaultColumnDef==null?void 0:m.getDefaultColumnDef()),{}),...g}},Me(e,"debugColumns")),_getColumnDefs:()=>t.options.columns,getAllColumns:Ae(()=>[t._getColumnDefs()],g=>{const v=function(x,m,S){return S===void 0&&(S=0),x.map(w=>{const $=GA(t,w,S,m),_=w;return $.columns=_.columns?v(_.columns,$,S+1):[],$})};return v(g)},Me(e,"debugColumns")),getAllFlatColumns:Ae(()=>[t.getAllColumns()],g=>g.flatMap(v=>v.getFlatColumns()),Me(e,"debugColumns")),_getAllFlatColumnsById:Ae(()=>[t.getAllFlatColumns()],g=>g.reduce((v,x)=>(v[x.id]=x,v),{}),Me(e,"debugColumns")),getAllLeafColumns:Ae(()=>[t.getAllColumns(),t._getOrderColumnsFn()],(g,v)=>{let x=g.flatMap(m=>m.getLeafColumns());return v(x)},Me(e,"debugColumns")),getColumn:g=>t._getAllFlatColumnsById()[g]};Object.assign(t,f);for(let g=0;g{var u;return(u=l.getValue())!=null?u:e.options.renderFallbackValue},l={id:`${n.id}_${t.id}`,row:n,column:t,getValue:()=>n.getValue(o),renderValue:i,getContext:Ae(()=>[e,t,n,l],(u,d,p,f)=>({table:u,column:d,row:p,cell:f,getValue:f.getValue,renderValue:f.renderValue}),Me(e.options,"debugCells"))};return e._features.forEach(u=>{u.createCell==null||u.createCell(l,t,n,e)},{}),l}const Id=(e,n,t,o,i,l,u)=>{let d={id:n,index:o,original:t,depth:i,parentId:u,_valuesCache:{},_uniqueValuesCache:{},getValue:p=>{if(d._valuesCache.hasOwnProperty(p))return d._valuesCache[p];const f=e.getColumn(p);if(f!=null&&f.accessorFn)return d._valuesCache[p]=f.accessorFn(d.original,o),d._valuesCache[p]},getUniqueValues:p=>{if(d._uniqueValuesCache.hasOwnProperty(p))return d._uniqueValuesCache[p];const f=e.getColumn(p);if(f!=null&&f.accessorFn)return f.columnDef.getUniqueValues?(d._uniqueValuesCache[p]=f.columnDef.getUniqueValues(d.original,o),d._uniqueValuesCache[p]):(d._uniqueValuesCache[p]=[d.getValue(p)],d._uniqueValuesCache[p])},renderValue:p=>{var f;return(f=d.getValue(p))!=null?f:e.options.renderFallbackValue},subRows:l??[],getLeafRows:()=>VA(d.subRows,p=>p.subRows),getParentRow:()=>d.parentId?e.getRow(d.parentId,!0):void 0,getParentRows:()=>{let p=[],f=d;for(;;){const g=f.getParentRow();if(!g)break;p.push(g),f=g}return p.reverse()},getAllCells:Ae(()=>[e.getAllLeafColumns()],p=>p.map(f=>y4(e,d,f,f.id)),Me(e.options,"debugRows")),_getAllCellsByColumnId:Ae(()=>[d.getAllCells()],p=>p.reduce((f,g)=>(f[g.column.id]=g,f),{}),Me(e.options,"debugRows"))};for(let p=0;pAe(()=>[e.options.data],n=>{const t={rows:[],flatRows:[],rowsById:{}},o=function(i,l,u){l===void 0&&(l=0);const d=[];for(let f=0;fe._autoResetPageIndex()))}function _4(e,n,t){return t.options.filterFromLeafRows?S4(e,n,t):C4(e,n,t)}function S4(e,n,t){var o;const i=[],l={},u=(o=t.options.maxLeafRowFilterDepth)!=null?o:100,d=function(p,f){f===void 0&&(f=0);const g=[];for(let x=0;xAe(()=>[e.getPreFilteredRowModel(),e.getState().columnFilters,e.getState().globalFilter],(n,t,o)=>{if(!n.rows.length||!(t!=null&&t.length)&&!o){for(let x=0;x{var m;const S=e.getColumn(x.id);if(!S)return;const w=S.getFilterFn();w&&i.push({id:x.id,filterFn:w,resolvedValue:(m=w.resolveFilterValue==null?void 0:w.resolveFilterValue(x.value))!=null?m:x.value})});const u=t.map(x=>x.id),d=e.getGlobalFilterFn(),p=e.getAllLeafColumns().filter(x=>x.getCanGlobalFilter());o&&d&&p.length&&(u.push("__global__"),p.forEach(x=>{var m;l.push({id:x.id,filterFn:d,resolvedValue:(m=d.resolveFilterValue==null?void 0:d.resolveFilterValue(o))!=null?m:o})}));let f,g;for(let x=0;x{m.columnFiltersMeta[w]=$})}if(l.length){for(let S=0;S{m.columnFiltersMeta[w]=$})){m.columnFilters.__global__=!0;break}}m.columnFilters.__global__!==!0&&(m.columnFilters.__global__=!1)}}const v=x=>{for(let m=0;me._autoResetPageIndex()))}function N4(){return e=>Ae(()=>[e.getState().sorting,e.getPreSortedRowModel()],(n,t)=>{if(!t.rows.length||!(n!=null&&n.length))return t;const o=e.getState().sorting,i=[],l=o.filter(p=>{var f;return(f=e.getColumn(p.id))==null?void 0:f.getCanSort()}),u={};l.forEach(p=>{const f=e.getColumn(p.id);f&&(u[p.id]={sortUndefined:f.columnDef.sortUndefined,invertSorting:f.columnDef.invertSorting,sortingFn:f.getSortingFn()})});const d=p=>{const f=p.map(g=>({...g}));return f.sort((g,v)=>{for(let m=0;m{var v;i.push(g),(v=g.subRows)!=null&&v.length&&(g.subRows=d(g.subRows))}),f};return{rows:d(t.rows),flatRows:i,rowsById:t.rowsById}},Me(e.options,"debugTable","getSortedRowModel",()=>e._autoResetPageIndex()))}function R4(e){const n=[],t=o=>{var i;n.push(o),(i=o.subRows)!=null&&i.length&&o.getIsExpanded()&&o.subRows.forEach(t)};return e.rows.forEach(t),{rows:n,flatRows:e.flatRows,rowsById:e.rowsById}}function $4(e){return n=>Ae(()=>[n.getState().pagination,n.getPrePaginationRowModel(),n.options.paginateExpandedRows?void 0:n.getState().expanded],(t,o)=>{if(!o.rows.length)return o;const{pageSize:i,pageIndex:l}=t;let{rows:u,flatRows:d,rowsById:p}=o;const f=i*l,g=f+i;u=u.slice(f,g);let v;n.options.paginateExpandedRows?v={rows:u,flatRows:d,rowsById:p}:v=R4({rows:u,flatRows:d,rowsById:p}),v.flatRows=[];const x=m=>{v.flatRows.push(m),m.subRows.length&&m.subRows.forEach(x)};return v.rows.forEach(x),v},Me(n.options,"debugTable"))}/** + color: hsl(${Math.max(0,Math.min(120-120*x,120))}deg 100% 31%);`,t?.key)}return i}}function Me(e,n,t,o){return{debug:()=>{var i;return(i=e?.debugAll)!=null?i:e[n]},key:!1,onChange:o}}function qA(e,n,t,o){var i,l;const d={...e._getDefaultColumnDef(),...n},p=d.accessorKey;let f=(i=(l=d.id)!=null?l:p?p.replace(".","_"):void 0)!=null?i:typeof d.header=="string"?d.header:void 0,g;if(d.accessorFn?g=d.accessorFn:p&&(p.includes(".")?g=x=>{let m=x;for(const w of p.split(".")){var S;m=(S=m)==null?void 0:S[w]}return m}:g=x=>x[d.accessorKey]),!f)throw new Error;let v={id:`${String(f)}`,accessorFn:g,parent:o,depth:t,columnDef:d,columns:[],getFlatColumns:Ae(()=>[!0],()=>{var x;return[v,...(x=v.columns)==null?void 0:x.flatMap(m=>m.getFlatColumns())]},Me(e.options,"debugColumns")),getLeafColumns:Ae(()=>[e._getOrderColumnsFn()],x=>{var m;if((m=v.columns)!=null&&m.length){let S=v.columns.flatMap(w=>w.getLeafColumns());return x(S)}return[v]},Me(e.options,"debugColumns"))};for(const x of e._features)x.createColumn==null||x.createColumn(v,e);return v}const Kt="debugHeaders";function dh(e,n,t){var o;let l={id:(o=t.id)!=null?o:n.id,column:n,index:t.index,isPlaceholder:!!t.isPlaceholder,placeholderId:t.placeholderId,depth:t.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{const u=[],d=p=>{p.subHeaders&&p.subHeaders.length&&p.subHeaders.map(d),u.push(p)};return d(l),u},getContext:()=>({table:e,header:l,column:n})};return e._features.forEach(u=>{u.createHeader==null||u.createHeader(l,e)}),l}const KA={createTable:e=>{e.getHeaderGroups=Ae(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(n,t,o,i)=>{var l,u;const d=(l=o?.map(v=>t.find(x=>x.id===v)).filter(Boolean))!=null?l:[],p=(u=i?.map(v=>t.find(x=>x.id===v)).filter(Boolean))!=null?u:[],f=t.filter(v=>!(o!=null&&o.includes(v.id))&&!(i!=null&&i.includes(v.id)));return Ai(n,[...d,...f,...p],e)},Me(e.options,Kt)),e.getCenterHeaderGroups=Ae(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(n,t,o,i)=>(t=t.filter(l=>!(o!=null&&o.includes(l.id))&&!(i!=null&&i.includes(l.id))),Ai(n,t,e,"center")),Me(e.options,Kt)),e.getLeftHeaderGroups=Ae(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left],(n,t,o)=>{var i;const l=(i=o?.map(u=>t.find(d=>d.id===u)).filter(Boolean))!=null?i:[];return Ai(n,l,e,"left")},Me(e.options,Kt)),e.getRightHeaderGroups=Ae(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right],(n,t,o)=>{var i;const l=(i=o?.map(u=>t.find(d=>d.id===u)).filter(Boolean))!=null?i:[];return Ai(n,l,e,"right")},Me(e.options,Kt)),e.getFooterGroups=Ae(()=>[e.getHeaderGroups()],n=>[...n].reverse(),Me(e.options,Kt)),e.getLeftFooterGroups=Ae(()=>[e.getLeftHeaderGroups()],n=>[...n].reverse(),Me(e.options,Kt)),e.getCenterFooterGroups=Ae(()=>[e.getCenterHeaderGroups()],n=>[...n].reverse(),Me(e.options,Kt)),e.getRightFooterGroups=Ae(()=>[e.getRightHeaderGroups()],n=>[...n].reverse(),Me(e.options,Kt)),e.getFlatHeaders=Ae(()=>[e.getHeaderGroups()],n=>n.map(t=>t.headers).flat(),Me(e.options,Kt)),e.getLeftFlatHeaders=Ae(()=>[e.getLeftHeaderGroups()],n=>n.map(t=>t.headers).flat(),Me(e.options,Kt)),e.getCenterFlatHeaders=Ae(()=>[e.getCenterHeaderGroups()],n=>n.map(t=>t.headers).flat(),Me(e.options,Kt)),e.getRightFlatHeaders=Ae(()=>[e.getRightHeaderGroups()],n=>n.map(t=>t.headers).flat(),Me(e.options,Kt)),e.getCenterLeafHeaders=Ae(()=>[e.getCenterFlatHeaders()],n=>n.filter(t=>{var o;return!((o=t.subHeaders)!=null&&o.length)}),Me(e.options,Kt)),e.getLeftLeafHeaders=Ae(()=>[e.getLeftFlatHeaders()],n=>n.filter(t=>{var o;return!((o=t.subHeaders)!=null&&o.length)}),Me(e.options,Kt)),e.getRightLeafHeaders=Ae(()=>[e.getRightFlatHeaders()],n=>n.filter(t=>{var o;return!((o=t.subHeaders)!=null&&o.length)}),Me(e.options,Kt)),e.getLeafHeaders=Ae(()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()],(n,t,o)=>{var i,l,u,d,p,f;return[...(i=(l=n[0])==null?void 0:l.headers)!=null?i:[],...(u=(d=t[0])==null?void 0:d.headers)!=null?u:[],...(p=(f=o[0])==null?void 0:f.headers)!=null?p:[]].map(g=>g.getLeafHeaders()).flat()},Me(e.options,Kt))}};function Ai(e,n,t,o){var i,l;let u=0;const d=function(x,m){m===void 0&&(m=1),u=Math.max(u,m),x.filter(S=>S.getIsVisible()).forEach(S=>{var w;(w=S.columns)!=null&&w.length&&d(S.columns,m+1)},0)};d(e);let p=[];const f=(x,m)=>{const S={depth:m,id:[o,`${m}`].filter(Boolean).join("_"),headers:[]},w=[];x.forEach($=>{const _=[...w].reverse()[0],y=$.column.depth===S.depth;let R,M=!1;if(y&&$.column.parent?R=$.column.parent:(R=$.column,M=!0),_&&_?.column===R)_.subHeaders.push($);else{const E=dh(t,R,{id:[o,m,R.id,$?.id].filter(Boolean).join("_"),isPlaceholder:M,placeholderId:M?`${w.filter(I=>I.column===R).length}`:void 0,depth:m,index:w.length});E.subHeaders.push($),w.push(E)}S.headers.push($),$.headerGroup=S}),p.push(S),m>0&&f(w,m-1)},g=n.map((x,m)=>dh(t,x,{depth:u,index:m}));f(g,u-1),p.reverse();const v=x=>x.filter(S=>S.column.getIsVisible()).map(S=>{let w=0,$=0,_=[0];S.subHeaders&&S.subHeaders.length?(_=[],v(S.subHeaders).forEach(R=>{let{colSpan:M,rowSpan:E}=R;w+=M,_.push(E)})):w=1;const y=Math.min(..._);return $=$+y,S.colSpan=w,S.rowSpan=$,{colSpan:w,rowSpan:$}});return v((i=(l=p[0])==null?void 0:l.headers)!=null?i:[]),p}const Mi={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},su=()=>({startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}),YA={getDefaultColumnDef:()=>Mi,getInitialState:e=>({columnSizing:{},columnSizingInfo:su(),...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:Dn("columnSizing",e),onColumnSizingInfoChange:Dn("columnSizingInfo",e)}),createColumn:(e,n)=>{e.getSize=()=>{var t,o,i;const l=n.getState().columnSizing[e.id];return Math.min(Math.max((t=e.columnDef.minSize)!=null?t:Mi.minSize,(o=l??e.columnDef.size)!=null?o:Mi.size),(i=e.columnDef.maxSize)!=null?i:Mi.maxSize)},e.getStart=Ae(t=>[t,ta(n,t),n.getState().columnSizing],(t,o)=>o.slice(0,e.getIndex(t)).reduce((i,l)=>i+l.getSize(),0),Me(n.options,"debugColumns")),e.getAfter=Ae(t=>[t,ta(n,t),n.getState().columnSizing],(t,o)=>o.slice(e.getIndex(t)+1).reduce((i,l)=>i+l.getSize(),0),Me(n.options,"debugColumns")),e.resetSize=()=>{n.setColumnSizing(t=>{let{[e.id]:o,...i}=t;return i})},e.getCanResize=()=>{var t,o;return((t=e.columnDef.enableResizing)!=null?t:!0)&&((o=n.options.enableColumnResizing)!=null?o:!0)},e.getIsResizing=()=>n.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,n)=>{e.getSize=()=>{let t=0;const o=i=>{if(i.subHeaders.length)i.subHeaders.forEach(o);else{var l;t+=(l=i.column.getSize())!=null?l:0}};return o(e),t},e.getStart=()=>{if(e.index>0){const t=e.headerGroup.headers[e.index-1];return t.getStart()+t.getSize()}return 0},e.getResizeHandler=t=>{const o=n.getColumn(e.column.id),i=o?.getCanResize();return l=>{if(!o||!i||(l.persist==null||l.persist(),au(l)&&l.touches&&l.touches.length>1))return;const u=e.getSize(),d=e?e.getLeafHeaders().map(_=>[_.column.id,_.column.getSize()]):[[o.id,o.getSize()]],p=au(l)?Math.round(l.touches[0].clientX):l.clientX,f={},g=(_,y)=>{typeof y=="number"&&(n.setColumnSizingInfo(R=>{var M,E;const I=n.options.columnResizeDirection==="rtl"?-1:1,H=(y-((M=R?.startOffset)!=null?M:0))*I,P=Math.max(H/((E=R?.startSize)!=null?E:0),-.999999);return R.columnSizingStart.forEach(D=>{let[k,L]=D;f[k]=Math.round(Math.max(L+L*P,0)*100)/100}),{...R,deltaOffset:H,deltaPercentage:P}}),(n.options.columnResizeMode==="onChange"||_==="end")&&n.setColumnSizing(R=>({...R,...f})))},v=_=>g("move",_),x=_=>{g("end",_),n.setColumnSizingInfo(y=>({...y,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]}))},m=t||typeof document<"u"?document:null,S={moveHandler:_=>v(_.clientX),upHandler:_=>{m?.removeEventListener("mousemove",S.moveHandler),m?.removeEventListener("mouseup",S.upHandler),x(_.clientX)}},w={moveHandler:_=>(_.cancelable&&(_.preventDefault(),_.stopPropagation()),v(_.touches[0].clientX),!1),upHandler:_=>{var y;m?.removeEventListener("touchmove",w.moveHandler),m?.removeEventListener("touchend",w.upHandler),_.cancelable&&(_.preventDefault(),_.stopPropagation()),x((y=_.touches[0])==null?void 0:y.clientX)}},$=JA()?{passive:!1}:!1;au(l)?(m?.addEventListener("touchmove",w.moveHandler,$),m?.addEventListener("touchend",w.upHandler,$)):(m?.addEventListener("mousemove",S.moveHandler,$),m?.addEventListener("mouseup",S.upHandler,$)),n.setColumnSizingInfo(_=>({..._,startOffset:p,startSize:u,deltaOffset:0,deltaPercentage:0,columnSizingStart:d,isResizingColumn:o.id}))}}},createTable:e=>{e.setColumnSizing=n=>e.options.onColumnSizingChange==null?void 0:e.options.onColumnSizingChange(n),e.setColumnSizingInfo=n=>e.options.onColumnSizingInfoChange==null?void 0:e.options.onColumnSizingInfoChange(n),e.resetColumnSizing=n=>{var t;e.setColumnSizing(n?{}:(t=e.initialState.columnSizing)!=null?t:{})},e.resetHeaderSizeInfo=n=>{var t;e.setColumnSizingInfo(n?su():(t=e.initialState.columnSizingInfo)!=null?t:su())},e.getTotalSize=()=>{var n,t;return(n=(t=e.getHeaderGroups()[0])==null?void 0:t.headers.reduce((o,i)=>o+i.getSize(),0))!=null?n:0},e.getLeftTotalSize=()=>{var n,t;return(n=(t=e.getLeftHeaderGroups()[0])==null?void 0:t.headers.reduce((o,i)=>o+i.getSize(),0))!=null?n:0},e.getCenterTotalSize=()=>{var n,t;return(n=(t=e.getCenterHeaderGroups()[0])==null?void 0:t.headers.reduce((o,i)=>o+i.getSize(),0))!=null?n:0},e.getRightTotalSize=()=>{var n,t;return(n=(t=e.getRightHeaderGroups()[0])==null?void 0:t.headers.reduce((o,i)=>o+i.getSize(),0))!=null?n:0}}};let Di=null;function JA(){if(typeof Di=="boolean")return Di;let e=!1;try{const n={get passive(){return e=!0,!1}},t=()=>{};window.addEventListener("test",t,n),window.removeEventListener("test",t)}catch{e=!1}return Di=e,Di}function au(e){return e.type==="touchstart"}const ZA={getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:Dn("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let n=!1,t=!1;e._autoResetExpanded=()=>{var o,i;if(!n){e._queue(()=>{n=!0});return}if((o=(i=e.options.autoResetAll)!=null?i:e.options.autoResetExpanded)!=null?o:!e.options.manualExpanding){if(t)return;t=!0,e._queue(()=>{e.resetExpanded(),t=!1})}},e.setExpanded=o=>e.options.onExpandedChange==null?void 0:e.options.onExpandedChange(o),e.toggleAllRowsExpanded=o=>{o??!e.getIsAllRowsExpanded()?e.setExpanded(!0):e.setExpanded({})},e.resetExpanded=o=>{var i,l;e.setExpanded(o?{}:(i=(l=e.initialState)==null?void 0:l.expanded)!=null?i:{})},e.getCanSomeRowsExpand=()=>e.getPrePaginationRowModel().flatRows.some(o=>o.getCanExpand()),e.getToggleAllRowsExpandedHandler=()=>o=>{o.persist==null||o.persist(),e.toggleAllRowsExpanded()},e.getIsSomeRowsExpanded=()=>{const o=e.getState().expanded;return o===!0||Object.values(o).some(Boolean)},e.getIsAllRowsExpanded=()=>{const o=e.getState().expanded;return typeof o=="boolean"?o===!0:!(!Object.keys(o).length||e.getRowModel().flatRows.some(i=>!i.getIsExpanded()))},e.getExpandedDepth=()=>{let o=0;return(e.getState().expanded===!0?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEach(l=>{const u=l.split(".");o=Math.max(o,u.length)}),o},e.getPreExpandedRowModel=()=>e.getSortedRowModel(),e.getExpandedRowModel=()=>(!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel?e.getPreExpandedRowModel():e._getExpandedRowModel())},createRow:(e,n)=>{e.toggleExpanded=t=>{n.setExpanded(o=>{var i;const l=o===!0?!0:!!(o!=null&&o[e.id]);let u={};if(o===!0?Object.keys(n.getRowModel().rowsById).forEach(d=>{u[d]=!0}):u=o,t=(i=t)!=null?i:!l,!l&&t)return{...u,[e.id]:!0};if(l&&!t){const{[e.id]:d,...p}=u;return p}return o})},e.getIsExpanded=()=>{var t;const o=n.getState().expanded;return!!((t=n.options.getIsRowExpanded==null?void 0:n.options.getIsRowExpanded(e))!=null?t:o===!0||o?.[e.id])},e.getCanExpand=()=>{var t,o,i;return(t=n.options.getRowCanExpand==null?void 0:n.options.getRowCanExpand(e))!=null?t:((o=n.options.enableExpanding)!=null?o:!0)&&!!((i=e.subRows)!=null&&i.length)},e.getIsAllParentsExpanded=()=>{let t=!0,o=e;for(;t&&o.parentId;)o=n.getRow(o.parentId,!0),t=o.getIsExpanded();return t},e.getToggleExpandedHandler=()=>{const t=e.getCanExpand();return()=>{t&&e.toggleExpanded()}}}},Fx=(e,n,t)=>{var o;const i=t.toLowerCase();return!!(!((o=e.getValue(n))==null||(o=o.toString())==null||(o=o.toLowerCase())==null)&&o.includes(i))};Fx.autoRemove=e=>ir(e);const Ox=(e,n,t)=>{var o;return!!(!((o=e.getValue(n))==null||(o=o.toString())==null)&&o.includes(t))};Ox.autoRemove=e=>ir(e);const zx=(e,n,t)=>{var o;return((o=e.getValue(n))==null||(o=o.toString())==null?void 0:o.toLowerCase())===t?.toLowerCase()};zx.autoRemove=e=>ir(e);const Bx=(e,n,t)=>{var o;return(o=e.getValue(n))==null?void 0:o.includes(t)};Bx.autoRemove=e=>ir(e)||!(e!=null&&e.length);const Hx=(e,n,t)=>!t.some(o=>{var i;return!((i=e.getValue(n))!=null&&i.includes(o))});Hx.autoRemove=e=>ir(e)||!(e!=null&&e.length);const Vx=(e,n,t)=>t.some(o=>{var i;return(i=e.getValue(n))==null?void 0:i.includes(o)});Vx.autoRemove=e=>ir(e)||!(e!=null&&e.length);const Gx=(e,n,t)=>e.getValue(n)===t;Gx.autoRemove=e=>ir(e);const Wx=(e,n,t)=>e.getValue(n)==t;Wx.autoRemove=e=>ir(e);const Id=(e,n,t)=>{let[o,i]=t;const l=e.getValue(n);return l>=o&&l<=i};Id.resolveFilterValue=e=>{let[n,t]=e,o=typeof n!="number"?parseFloat(n):n,i=typeof t!="number"?parseFloat(t):t,l=n===null||Number.isNaN(o)?-1/0:o,u=t===null||Number.isNaN(i)?1/0:i;if(l>u){const d=l;l=u,u=d}return[l,u]};Id.autoRemove=e=>ir(e)||ir(e[0])&&ir(e[1]);const Er={includesString:Fx,includesStringSensitive:Ox,equalsString:zx,arrIncludes:Bx,arrIncludesAll:Hx,arrIncludesSome:Vx,equals:Gx,weakEquals:Wx,inNumberRange:Id};function ir(e){return e==null||e===""}const QA={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],globalFilter:void 0,...e}),getDefaultOptions:e=>({onColumnFiltersChange:Dn("columnFilters",e),onGlobalFilterChange:Dn("globalFilter",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100,globalFilterFn:"auto",getColumnCanGlobalFilter:n=>{var t;const o=(t=e.getCoreRowModel().flatRows[0])==null||(t=t._getAllCellsByColumnId()[n.id])==null?void 0:t.getValue();return typeof o=="string"||typeof o=="number"}}),createColumn:(e,n)=>{e.getAutoFilterFn=()=>{const t=n.getCoreRowModel().flatRows[0],o=t?.getValue(e.id);return typeof o=="string"?Er.includesString:typeof o=="number"?Er.inNumberRange:typeof o=="boolean"||o!==null&&typeof o=="object"?Er.equals:Array.isArray(o)?Er.arrIncludes:Er.weakEquals},e.getFilterFn=()=>{var t,o;return nl(e.columnDef.filterFn)?e.columnDef.filterFn:e.columnDef.filterFn==="auto"?e.getAutoFilterFn():(t=(o=n.options.filterFns)==null?void 0:o[e.columnDef.filterFn])!=null?t:Er[e.columnDef.filterFn]},e.getCanFilter=()=>{var t,o,i;return((t=e.columnDef.enableColumnFilter)!=null?t:!0)&&((o=n.options.enableColumnFilters)!=null?o:!0)&&((i=n.options.enableFilters)!=null?i:!0)&&!!e.accessorFn},e.getCanGlobalFilter=()=>{var t,o,i,l;return((t=e.columnDef.enableGlobalFilter)!=null?t:!0)&&((o=n.options.enableGlobalFilter)!=null?o:!0)&&((i=n.options.enableFilters)!=null?i:!0)&&((l=n.options.getColumnCanGlobalFilter==null?void 0:n.options.getColumnCanGlobalFilter(e))!=null?l:!0)&&!!e.accessorFn},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var t;return(t=n.getState().columnFilters)==null||(t=t.find(o=>o.id===e.id))==null?void 0:t.value},e.getFilterIndex=()=>{var t,o;return(t=(o=n.getState().columnFilters)==null?void 0:o.findIndex(i=>i.id===e.id))!=null?t:-1},e.setFilterValue=t=>{n.setColumnFilters(o=>{const i=e.getFilterFn(),l=o?.find(g=>g.id===e.id),u=oo(t,l?l.value:void 0);if(fh(i,u,e)){var d;return(d=o?.filter(g=>g.id!==e.id))!=null?d:[]}const p={id:e.id,value:u};if(l){var f;return(f=o?.map(g=>g.id===e.id?p:g))!=null?f:[]}return o!=null&&o.length?[...o,p]:[p]})},e._getFacetedRowModel=n.options.getFacetedRowModel&&n.options.getFacetedRowModel(n,e.id),e.getFacetedRowModel=()=>e._getFacetedRowModel?e._getFacetedRowModel():n.getPreFilteredRowModel(),e._getFacetedUniqueValues=n.options.getFacetedUniqueValues&&n.options.getFacetedUniqueValues(n,e.id),e.getFacetedUniqueValues=()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,e._getFacetedMinMaxValues=n.options.getFacetedMinMaxValues&&n.options.getFacetedMinMaxValues(n,e.id),e.getFacetedMinMaxValues=()=>{if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}},createRow:(e,n)=>{e.columnFilters={},e.columnFiltersMeta={}},createTable:e=>{e.getGlobalAutoFilterFn=()=>Er.includesString,e.getGlobalFilterFn=()=>{var n,t;const{globalFilterFn:o}=e.options;return nl(o)?o:o==="auto"?e.getGlobalAutoFilterFn():(n=(t=e.options.filterFns)==null?void 0:t[o])!=null?n:Er[o]},e.setColumnFilters=n=>{const t=e.getAllLeafColumns(),o=i=>{var l;return(l=oo(n,i))==null?void 0:l.filter(u=>{const d=t.find(p=>p.id===u.id);if(d){const p=d.getFilterFn();if(fh(p,u.value,d))return!1}return!0})};e.options.onColumnFiltersChange==null||e.options.onColumnFiltersChange(o)},e.setGlobalFilter=n=>{e.options.onGlobalFilterChange==null||e.options.onGlobalFilterChange(n)},e.resetGlobalFilter=n=>{e.setGlobalFilter(n?void 0:e.initialState.globalFilter)},e.resetColumnFilters=n=>{var t,o;e.setColumnFilters(n?[]:(t=(o=e.initialState)==null?void 0:o.columnFilters)!=null?t:[])},e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel?e.getPreFilteredRowModel():e._getFilteredRowModel()),e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),e.getGlobalFacetedMinMaxValues=()=>{if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}};function fh(e,n,t){return(e&&e.autoRemove?e.autoRemove(n,t):!1)||typeof n>"u"||typeof n=="string"&&!n}const e4=(e,n,t)=>t.reduce((o,i)=>{const l=i.getValue(e);return o+(typeof l=="number"?l:0)},0),t4=(e,n,t)=>{let o;return t.forEach(i=>{const l=i.getValue(e);l!=null&&(o>l||o===void 0&&l>=l)&&(o=l)}),o},n4=(e,n,t)=>{let o;return t.forEach(i=>{const l=i.getValue(e);l!=null&&(o=l)&&(o=l)}),o},r4=(e,n,t)=>{let o,i;return t.forEach(l=>{const u=l.getValue(e);u!=null&&(o===void 0?u>=u&&(o=i=u):(o>u&&(o=u),i{let t=0,o=0;if(n.forEach(i=>{let l=i.getValue(e);l!=null&&(l=+l)>=l&&(++t,o+=l)}),t)return o/t},s4=(e,n)=>{if(!n.length)return;const t=n.map(l=>l.getValue(e));if(!UA(t))return;if(t.length===1)return t[0];const o=Math.floor(t.length/2),i=t.sort((l,u)=>l-u);return t.length%2!==0?i[o]:(i[o-1]+i[o])/2},a4=(e,n)=>Array.from(new Set(n.map(t=>t.getValue(e))).values()),i4=(e,n)=>new Set(n.map(t=>t.getValue(e))).size,l4=(e,n)=>n.length,iu={sum:e4,min:t4,max:n4,extent:r4,mean:o4,median:s4,unique:a4,uniqueCount:i4,count:l4},c4={getDefaultColumnDef:()=>({aggregatedCell:e=>{var n,t;return(n=(t=e.getValue())==null||t.toString==null?void 0:t.toString())!=null?n:null},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),getDefaultOptions:e=>({onGroupingChange:Dn("grouping",e),groupedColumnMode:"reorder"}),createColumn:(e,n)=>{e.toggleGrouping=()=>{n.setGrouping(t=>t!=null&&t.includes(e.id)?t.filter(o=>o!==e.id):[...t??[],e.id])},e.getCanGroup=()=>{var t,o,i,l;return(t=(o=(i=(l=e.columnDef.enableGrouping)!=null?l:!0)!=null?i:n.options.enableGrouping)!=null?o:!0)!=null?t:!!e.accessorFn},e.getIsGrouped=()=>{var t;return(t=n.getState().grouping)==null?void 0:t.includes(e.id)},e.getGroupedIndex=()=>{var t;return(t=n.getState().grouping)==null?void 0:t.indexOf(e.id)},e.getToggleGroupingHandler=()=>{const t=e.getCanGroup();return()=>{t&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{const t=n.getCoreRowModel().flatRows[0],o=t?.getValue(e.id);if(typeof o=="number")return iu.sum;if(Object.prototype.toString.call(o)==="[object Date]")return iu.extent},e.getAggregationFn=()=>{var t,o;if(!e)throw new Error;return nl(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:e.columnDef.aggregationFn==="auto"?e.getAutoAggregationFn():(t=(o=n.options.aggregationFns)==null?void 0:o[e.columnDef.aggregationFn])!=null?t:iu[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=n=>e.options.onGroupingChange==null?void 0:e.options.onGroupingChange(n),e.resetGrouping=n=>{var t,o;e.setGrouping(n?[]:(t=(o=e.initialState)==null?void 0:o.grouping)!=null?t:[])},e.getPreGroupedRowModel=()=>e.getFilteredRowModel(),e.getGroupedRowModel=()=>(!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel?e.getPreGroupedRowModel():e._getGroupedRowModel())},createRow:(e,n)=>{e.getIsGrouped=()=>!!e.groupingColumnId,e.getGroupingValue=t=>{if(e._groupingValuesCache.hasOwnProperty(t))return e._groupingValuesCache[t];const o=n.getColumn(t);return o!=null&&o.columnDef.getGroupingValue?(e._groupingValuesCache[t]=o.columnDef.getGroupingValue(e.original),e._groupingValuesCache[t]):e.getValue(t)},e._groupingValuesCache={}},createCell:(e,n,t,o)=>{e.getIsGrouped=()=>n.getIsGrouped()&&n.id===t.groupingColumnId,e.getIsPlaceholder=()=>!e.getIsGrouped()&&n.getIsGrouped(),e.getIsAggregated=()=>{var i;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!!((i=t.subRows)!=null&&i.length)}}};function u4(e,n,t){if(!(n!=null&&n.length)||!t)return e;const o=e.filter(l=>!n.includes(l.id));return t==="remove"?o:[...n.map(l=>e.find(u=>u.id===l)).filter(Boolean),...o]}const d4={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:Dn("columnOrder",e)}),createColumn:(e,n)=>{e.getIndex=Ae(t=>[ta(n,t)],t=>t.findIndex(o=>o.id===e.id),Me(n.options,"debugColumns")),e.getIsFirstColumn=t=>{var o;return((o=ta(n,t)[0])==null?void 0:o.id)===e.id},e.getIsLastColumn=t=>{var o;const i=ta(n,t);return((o=i[i.length-1])==null?void 0:o.id)===e.id}},createTable:e=>{e.setColumnOrder=n=>e.options.onColumnOrderChange==null?void 0:e.options.onColumnOrderChange(n),e.resetColumnOrder=n=>{var t;e.setColumnOrder(n?[]:(t=e.initialState.columnOrder)!=null?t:[])},e._getOrderColumnsFn=Ae(()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode],(n,t,o)=>i=>{let l=[];if(!(n!=null&&n.length))l=i;else{const u=[...n],d=[...i];for(;d.length&&u.length;){const p=u.shift(),f=d.findIndex(g=>g.id===p);f>-1&&l.push(d.splice(f,1)[0])}l=[...l,...d]}return u4(l,t,o)},Me(e.options,"debugTable"))}},Hu=0,Vu=10,lu=()=>({pageIndex:Hu,pageSize:Vu}),f4={getInitialState:e=>({...e,pagination:{...lu(),...e?.pagination}}),getDefaultOptions:e=>({onPaginationChange:Dn("pagination",e)}),createTable:e=>{let n=!1,t=!1;e._autoResetPageIndex=()=>{var o,i;if(!n){e._queue(()=>{n=!0});return}if((o=(i=e.options.autoResetAll)!=null?i:e.options.autoResetPageIndex)!=null?o:!e.options.manualPagination){if(t)return;t=!0,e._queue(()=>{e.resetPageIndex(),t=!1})}},e.setPagination=o=>{const i=l=>oo(o,l);return e.options.onPaginationChange==null?void 0:e.options.onPaginationChange(i)},e.resetPagination=o=>{var i;e.setPagination(o?lu():(i=e.initialState.pagination)!=null?i:lu())},e.setPageIndex=o=>{e.setPagination(i=>{let l=oo(o,i.pageIndex);const u=typeof e.options.pageCount>"u"||e.options.pageCount===-1?Number.MAX_SAFE_INTEGER:e.options.pageCount-1;return l=Math.max(0,Math.min(l,u)),{...i,pageIndex:l}})},e.resetPageIndex=o=>{var i,l;e.setPageIndex(o?Hu:(i=(l=e.initialState)==null||(l=l.pagination)==null?void 0:l.pageIndex)!=null?i:Hu)},e.resetPageSize=o=>{var i,l;e.setPageSize(o?Vu:(i=(l=e.initialState)==null||(l=l.pagination)==null?void 0:l.pageSize)!=null?i:Vu)},e.setPageSize=o=>{e.setPagination(i=>{const l=Math.max(1,oo(o,i.pageSize)),u=i.pageSize*i.pageIndex,d=Math.floor(u/l);return{...i,pageIndex:d,pageSize:l}})},e.setPageCount=o=>e.setPagination(i=>{var l;let u=oo(o,(l=e.options.pageCount)!=null?l:-1);return typeof u=="number"&&(u=Math.max(-1,u)),{...i,pageCount:u}}),e.getPageOptions=Ae(()=>[e.getPageCount()],o=>{let i=[];return o&&o>0&&(i=[...new Array(o)].fill(null).map((l,u)=>u)),i},Me(e.options,"debugTable")),e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,e.getCanNextPage=()=>{const{pageIndex:o}=e.getState().pagination,i=e.getPageCount();return i===-1?!0:i===0?!1:oe.setPageIndex(o=>o-1),e.nextPage=()=>e.setPageIndex(o=>o+1),e.firstPage=()=>e.setPageIndex(0),e.lastPage=()=>e.setPageIndex(e.getPageCount()-1),e.getPrePaginationRowModel=()=>e.getExpandedRowModel(),e.getPaginationRowModel=()=>(!e._getPaginationRowModel&&e.options.getPaginationRowModel&&(e._getPaginationRowModel=e.options.getPaginationRowModel(e)),e.options.manualPagination||!e._getPaginationRowModel?e.getPrePaginationRowModel():e._getPaginationRowModel()),e.getPageCount=()=>{var o;return(o=e.options.pageCount)!=null?o:Math.ceil(e.getRowCount()/e.getState().pagination.pageSize)},e.getRowCount=()=>{var o;return(o=e.options.rowCount)!=null?o:e.getPrePaginationRowModel().rows.length}}},cu=()=>({left:[],right:[]}),uu=()=>({top:[],bottom:[]}),p4={getInitialState:e=>({columnPinning:cu(),rowPinning:uu(),...e}),getDefaultOptions:e=>({onColumnPinningChange:Dn("columnPinning",e),onRowPinningChange:Dn("rowPinning",e)}),createColumn:(e,n)=>{e.pin=t=>{const o=e.getLeafColumns().map(i=>i.id).filter(Boolean);n.setColumnPinning(i=>{var l,u;if(t==="right"){var d,p;return{left:((d=i?.left)!=null?d:[]).filter(v=>!(o!=null&&o.includes(v))),right:[...((p=i?.right)!=null?p:[]).filter(v=>!(o!=null&&o.includes(v))),...o]}}if(t==="left"){var f,g;return{left:[...((f=i?.left)!=null?f:[]).filter(v=>!(o!=null&&o.includes(v))),...o],right:((g=i?.right)!=null?g:[]).filter(v=>!(o!=null&&o.includes(v)))}}return{left:((l=i?.left)!=null?l:[]).filter(v=>!(o!=null&&o.includes(v))),right:((u=i?.right)!=null?u:[]).filter(v=>!(o!=null&&o.includes(v)))}})},e.getCanPin=()=>e.getLeafColumns().some(o=>{var i,l,u;return((i=o.columnDef.enablePinning)!=null?i:!0)&&((l=(u=n.options.enableColumnPinning)!=null?u:n.options.enablePinning)!=null?l:!0)}),e.getIsPinned=()=>{const t=e.getLeafColumns().map(d=>d.id),{left:o,right:i}=n.getState().columnPinning,l=t.some(d=>o?.includes(d)),u=t.some(d=>i?.includes(d));return l?"left":u?"right":!1},e.getPinnedIndex=()=>{var t,o;const i=e.getIsPinned();return i?(t=(o=n.getState().columnPinning)==null||(o=o[i])==null?void 0:o.indexOf(e.id))!=null?t:-1:0}},createRow:(e,n)=>{e.pin=(t,o,i)=>{const l=o?e.getLeafRows().map(p=>{let{id:f}=p;return f}):[],u=i?e.getParentRows().map(p=>{let{id:f}=p;return f}):[],d=new Set([...u,e.id,...l]);n.setRowPinning(p=>{var f,g;if(t==="bottom"){var v,x;return{top:((v=p?.top)!=null?v:[]).filter(w=>!(d!=null&&d.has(w))),bottom:[...((x=p?.bottom)!=null?x:[]).filter(w=>!(d!=null&&d.has(w))),...Array.from(d)]}}if(t==="top"){var m,S;return{top:[...((m=p?.top)!=null?m:[]).filter(w=>!(d!=null&&d.has(w))),...Array.from(d)],bottom:((S=p?.bottom)!=null?S:[]).filter(w=>!(d!=null&&d.has(w)))}}return{top:((f=p?.top)!=null?f:[]).filter(w=>!(d!=null&&d.has(w))),bottom:((g=p?.bottom)!=null?g:[]).filter(w=>!(d!=null&&d.has(w)))}})},e.getCanPin=()=>{var t;const{enableRowPinning:o,enablePinning:i}=n.options;return typeof o=="function"?o(e):(t=o??i)!=null?t:!0},e.getIsPinned=()=>{const t=[e.id],{top:o,bottom:i}=n.getState().rowPinning,l=t.some(d=>o?.includes(d)),u=t.some(d=>i?.includes(d));return l?"top":u?"bottom":!1},e.getPinnedIndex=()=>{var t,o;const i=e.getIsPinned();if(!i)return-1;const l=(t=n._getPinnedRows(i))==null?void 0:t.map(u=>{let{id:d}=u;return d});return(o=l?.indexOf(e.id))!=null?o:-1},e.getCenterVisibleCells=Ae(()=>[e._getAllVisibleCells(),n.getState().columnPinning.left,n.getState().columnPinning.right],(t,o,i)=>{const l=[...o??[],...i??[]];return t.filter(u=>!l.includes(u.column.id))},Me(n.options,"debugRows")),e.getLeftVisibleCells=Ae(()=>[e._getAllVisibleCells(),n.getState().columnPinning.left],(t,o)=>(o??[]).map(l=>t.find(u=>u.column.id===l)).filter(Boolean).map(l=>({...l,position:"left"})),Me(n.options,"debugRows")),e.getRightVisibleCells=Ae(()=>[e._getAllVisibleCells(),n.getState().columnPinning.right],(t,o)=>(o??[]).map(l=>t.find(u=>u.column.id===l)).filter(Boolean).map(l=>({...l,position:"right"})),Me(n.options,"debugRows"))},createTable:e=>{e.setColumnPinning=n=>e.options.onColumnPinningChange==null?void 0:e.options.onColumnPinningChange(n),e.resetColumnPinning=n=>{var t,o;return e.setColumnPinning(n?cu():(t=(o=e.initialState)==null?void 0:o.columnPinning)!=null?t:cu())},e.getIsSomeColumnsPinned=n=>{var t;const o=e.getState().columnPinning;if(!n){var i,l;return!!((i=o.left)!=null&&i.length||(l=o.right)!=null&&l.length)}return!!((t=o[n])!=null&&t.length)},e.getLeftLeafColumns=Ae(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left],(n,t)=>(t??[]).map(o=>n.find(i=>i.id===o)).filter(Boolean),Me(e.options,"debugColumns")),e.getRightLeafColumns=Ae(()=>[e.getAllLeafColumns(),e.getState().columnPinning.right],(n,t)=>(t??[]).map(o=>n.find(i=>i.id===o)).filter(Boolean),Me(e.options,"debugColumns")),e.getCenterLeafColumns=Ae(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(n,t,o)=>{const i=[...t??[],...o??[]];return n.filter(l=>!i.includes(l.id))},Me(e.options,"debugColumns")),e.setRowPinning=n=>e.options.onRowPinningChange==null?void 0:e.options.onRowPinningChange(n),e.resetRowPinning=n=>{var t,o;return e.setRowPinning(n?uu():(t=(o=e.initialState)==null?void 0:o.rowPinning)!=null?t:uu())},e.getIsSomeRowsPinned=n=>{var t;const o=e.getState().rowPinning;if(!n){var i,l;return!!((i=o.top)!=null&&i.length||(l=o.bottom)!=null&&l.length)}return!!((t=o[n])!=null&&t.length)},e._getPinnedRows=Ae(n=>[e.getRowModel().rows,e.getState().rowPinning[n],n],(n,t,o)=>{var i;return((i=e.options.keepPinnedRows)==null||i?(t??[]).map(u=>{const d=e.getRow(u,!0);return d.getIsAllParentsExpanded()?d:null}):(t??[]).map(u=>n.find(d=>d.id===u))).filter(Boolean).map(u=>({...u,position:o}))},Me(e.options,"debugRows")),e.getTopRows=()=>e._getPinnedRows("top"),e.getBottomRows=()=>e._getPinnedRows("bottom"),e.getCenterRows=Ae(()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom],(n,t,o)=>{const i=new Set([...t??[],...o??[]]);return n.filter(l=>!i.has(l.id))},Me(e.options,"debugRows"))}},g4={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:Dn("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{e.setRowSelection=n=>e.options.onRowSelectionChange==null?void 0:e.options.onRowSelectionChange(n),e.resetRowSelection=n=>{var t;return e.setRowSelection(n?{}:(t=e.initialState.rowSelection)!=null?t:{})},e.toggleAllRowsSelected=n=>{e.setRowSelection(t=>{n=typeof n<"u"?n:!e.getIsAllRowsSelected();const o={...t},i=e.getPreGroupedRowModel().flatRows;return n?i.forEach(l=>{l.getCanSelect()&&(o[l.id]=!0)}):i.forEach(l=>{delete o[l.id]}),o})},e.toggleAllPageRowsSelected=n=>e.setRowSelection(t=>{const o=typeof n<"u"?n:!e.getIsAllPageRowsSelected(),i={...t};return e.getRowModel().rows.forEach(l=>{Gu(i,l.id,o,!0,e)}),i}),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=Ae(()=>[e.getState().rowSelection,e.getCoreRowModel()],(n,t)=>Object.keys(n).length?du(e,t):{rows:[],flatRows:[],rowsById:{}},Me(e.options,"debugTable")),e.getFilteredSelectedRowModel=Ae(()=>[e.getState().rowSelection,e.getFilteredRowModel()],(n,t)=>Object.keys(n).length?du(e,t):{rows:[],flatRows:[],rowsById:{}},Me(e.options,"debugTable")),e.getGroupedSelectedRowModel=Ae(()=>[e.getState().rowSelection,e.getSortedRowModel()],(n,t)=>Object.keys(n).length?du(e,t):{rows:[],flatRows:[],rowsById:{}},Me(e.options,"debugTable")),e.getIsAllRowsSelected=()=>{const n=e.getFilteredRowModel().flatRows,{rowSelection:t}=e.getState();let o=!!(n.length&&Object.keys(t).length);return o&&n.some(i=>i.getCanSelect()&&!t[i.id])&&(o=!1),o},e.getIsAllPageRowsSelected=()=>{const n=e.getPaginationRowModel().flatRows.filter(i=>i.getCanSelect()),{rowSelection:t}=e.getState();let o=!!n.length;return o&&n.some(i=>!t[i.id])&&(o=!1),o},e.getIsSomeRowsSelected=()=>{var n;const t=Object.keys((n=e.getState().rowSelection)!=null?n:{}).length;return t>0&&t{const n=e.getPaginationRowModel().flatRows;return e.getIsAllPageRowsSelected()?!1:n.filter(t=>t.getCanSelect()).some(t=>t.getIsSelected()||t.getIsSomeSelected())},e.getToggleAllRowsSelectedHandler=()=>n=>{e.toggleAllRowsSelected(n.target.checked)},e.getToggleAllPageRowsSelectedHandler=()=>n=>{e.toggleAllPageRowsSelected(n.target.checked)}},createRow:(e,n)=>{e.toggleSelected=(t,o)=>{const i=e.getIsSelected();n.setRowSelection(l=>{var u;if(t=typeof t<"u"?t:!i,e.getCanSelect()&&i===t)return l;const d={...l};return Gu(d,e.id,t,(u=o?.selectChildren)!=null?u:!0,n),d})},e.getIsSelected=()=>{const{rowSelection:t}=n.getState();return Ld(e,t)},e.getIsSomeSelected=()=>{const{rowSelection:t}=n.getState();return Wu(e,t)==="some"},e.getIsAllSubRowsSelected=()=>{const{rowSelection:t}=n.getState();return Wu(e,t)==="all"},e.getCanSelect=()=>{var t;return typeof n.options.enableRowSelection=="function"?n.options.enableRowSelection(e):(t=n.options.enableRowSelection)!=null?t:!0},e.getCanSelectSubRows=()=>{var t;return typeof n.options.enableSubRowSelection=="function"?n.options.enableSubRowSelection(e):(t=n.options.enableSubRowSelection)!=null?t:!0},e.getCanMultiSelect=()=>{var t;return typeof n.options.enableMultiRowSelection=="function"?n.options.enableMultiRowSelection(e):(t=n.options.enableMultiRowSelection)!=null?t:!0},e.getToggleSelectedHandler=()=>{const t=e.getCanSelect();return o=>{var i;t&&e.toggleSelected((i=o.target)==null?void 0:i.checked)}}}},Gu=(e,n,t,o,i)=>{var l;const u=i.getRow(n,!0);t?(u.getCanMultiSelect()||Object.keys(e).forEach(d=>delete e[d]),u.getCanSelect()&&(e[n]=!0)):delete e[n],o&&(l=u.subRows)!=null&&l.length&&u.getCanSelectSubRows()&&u.subRows.forEach(d=>Gu(e,d.id,t,o,i))};function du(e,n){const t=e.getState().rowSelection,o=[],i={},l=function(u,d){return u.map(p=>{var f;const g=Ld(p,t);if(g&&(o.push(p),i[p.id]=p),(f=p.subRows)!=null&&f.length&&(p={...p,subRows:l(p.subRows)}),g)return p}).filter(Boolean)};return{rows:l(n.rows),flatRows:o,rowsById:i}}function Ld(e,n){var t;return(t=n[e.id])!=null?t:!1}function Wu(e,n,t){var o;if(!((o=e.subRows)!=null&&o.length))return!1;let i=!0,l=!1;return e.subRows.forEach(u=>{if(!(l&&!i)&&(u.getCanSelect()&&(Ld(u,n)?l=!0:i=!1),u.subRows&&u.subRows.length)){const d=Wu(u,n);d==="all"?l=!0:(d==="some"&&(l=!0),i=!1)}}),i?"all":l?"some":!1}const Uu=/([0-9]+)/gm,h4=(e,n,t)=>Ux(ao(e.getValue(t)).toLowerCase(),ao(n.getValue(t)).toLowerCase()),m4=(e,n,t)=>Ux(ao(e.getValue(t)),ao(n.getValue(t))),v4=(e,n,t)=>Fd(ao(e.getValue(t)).toLowerCase(),ao(n.getValue(t)).toLowerCase()),x4=(e,n,t)=>Fd(ao(e.getValue(t)),ao(n.getValue(t))),b4=(e,n,t)=>{const o=e.getValue(t),i=n.getValue(t);return o>i?1:oFd(e.getValue(t),n.getValue(t));function Fd(e,n){return e===n?0:e>n?1:-1}function ao(e){return typeof e=="number"?isNaN(e)||e===1/0||e===-1/0?"":String(e):typeof e=="string"?e:""}function Ux(e,n){const t=e.split(Uu).filter(Boolean),o=n.split(Uu).filter(Boolean);for(;t.length&&o.length;){const i=t.shift(),l=o.shift(),u=parseInt(i,10),d=parseInt(l,10),p=[u,d].sort();if(isNaN(p[0])){if(i>l)return 1;if(l>i)return-1;continue}if(isNaN(p[1]))return isNaN(u)?-1:1;if(u>d)return 1;if(d>u)return-1}return t.length-o.length}const zs={alphanumeric:h4,alphanumericCaseSensitive:m4,text:v4,textCaseSensitive:x4,datetime:b4,basic:y4},w4={getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:Dn("sorting",e),isMultiSortEvent:n=>n.shiftKey}),createColumn:(e,n)=>{e.getAutoSortingFn=()=>{const t=n.getFilteredRowModel().flatRows.slice(10);let o=!1;for(const i of t){const l=i?.getValue(e.id);if(Object.prototype.toString.call(l)==="[object Date]")return zs.datetime;if(typeof l=="string"&&(o=!0,l.split(Uu).length>1))return zs.alphanumeric}return o?zs.text:zs.basic},e.getAutoSortDir=()=>{const t=n.getFilteredRowModel().flatRows[0];return typeof t?.getValue(e.id)=="string"?"asc":"desc"},e.getSortingFn=()=>{var t,o;if(!e)throw new Error;return nl(e.columnDef.sortingFn)?e.columnDef.sortingFn:e.columnDef.sortingFn==="auto"?e.getAutoSortingFn():(t=(o=n.options.sortingFns)==null?void 0:o[e.columnDef.sortingFn])!=null?t:zs[e.columnDef.sortingFn]},e.toggleSorting=(t,o)=>{const i=e.getNextSortingOrder(),l=typeof t<"u"&&t!==null;n.setSorting(u=>{const d=u?.find(m=>m.id===e.id),p=u?.findIndex(m=>m.id===e.id);let f=[],g,v=l?t:i==="desc";if(u!=null&&u.length&&e.getCanMultiSort()&&o?d?g="toggle":g="add":u!=null&&u.length&&p!==u.length-1?g="replace":d?g="toggle":g="replace",g==="toggle"&&(l||i||(g="remove")),g==="add"){var x;f=[...u,{id:e.id,desc:v}],f.splice(0,f.length-((x=n.options.maxMultiSortColCount)!=null?x:Number.MAX_SAFE_INTEGER))}else g==="toggle"?f=u.map(m=>m.id===e.id?{...m,desc:v}:m):g==="remove"?f=u.filter(m=>m.id!==e.id):f=[{id:e.id,desc:v}];return f})},e.getFirstSortDir=()=>{var t,o;return((t=(o=e.columnDef.sortDescFirst)!=null?o:n.options.sortDescFirst)!=null?t:e.getAutoSortDir()==="desc")?"desc":"asc"},e.getNextSortingOrder=t=>{var o,i;const l=e.getFirstSortDir(),u=e.getIsSorted();return u?u!==l&&((o=n.options.enableSortingRemoval)==null||o)&&(!(t&&(i=n.options.enableMultiRemove)!=null)||i)?!1:u==="desc"?"asc":"desc":l},e.getCanSort=()=>{var t,o;return((t=e.columnDef.enableSorting)!=null?t:!0)&&((o=n.options.enableSorting)!=null?o:!0)&&!!e.accessorFn},e.getCanMultiSort=()=>{var t,o;return(t=(o=e.columnDef.enableMultiSort)!=null?o:n.options.enableMultiSort)!=null?t:!!e.accessorFn},e.getIsSorted=()=>{var t;const o=(t=n.getState().sorting)==null?void 0:t.find(i=>i.id===e.id);return o?o.desc?"desc":"asc":!1},e.getSortIndex=()=>{var t,o;return(t=(o=n.getState().sorting)==null?void 0:o.findIndex(i=>i.id===e.id))!=null?t:-1},e.clearSorting=()=>{n.setSorting(t=>t!=null&&t.length?t.filter(o=>o.id!==e.id):[])},e.getToggleSortingHandler=()=>{const t=e.getCanSort();return o=>{t&&(o.persist==null||o.persist(),e.toggleSorting==null||e.toggleSorting(void 0,e.getCanMultiSort()?n.options.isMultiSortEvent==null?void 0:n.options.isMultiSortEvent(o):!1))}}},createTable:e=>{e.setSorting=n=>e.options.onSortingChange==null?void 0:e.options.onSortingChange(n),e.resetSorting=n=>{var t,o;e.setSorting(n?[]:(t=(o=e.initialState)==null?void 0:o.sorting)!=null?t:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())}},_4={getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:Dn("columnVisibility",e)}),createColumn:(e,n)=>{e.toggleVisibility=t=>{e.getCanHide()&&n.setColumnVisibility(o=>({...o,[e.id]:t??!e.getIsVisible()}))},e.getIsVisible=()=>{var t,o;return(t=(o=n.getState().columnVisibility)==null?void 0:o[e.id])!=null?t:!0},e.getCanHide=()=>{var t,o;return((t=e.columnDef.enableHiding)!=null?t:!0)&&((o=n.options.enableHiding)!=null?o:!0)},e.getToggleVisibilityHandler=()=>t=>{e.toggleVisibility==null||e.toggleVisibility(t.target.checked)}},createRow:(e,n)=>{e._getAllVisibleCells=Ae(()=>[e.getAllCells(),n.getState().columnVisibility],t=>t.filter(o=>o.column.getIsVisible()),Me(n.options,"debugRows")),e.getVisibleCells=Ae(()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()],(t,o,i)=>[...t,...o,...i],Me(n.options,"debugRows"))},createTable:e=>{const n=(t,o)=>Ae(()=>[o(),o().filter(i=>i.getIsVisible()).map(i=>i.id).join("_")],i=>i.filter(l=>l.getIsVisible==null?void 0:l.getIsVisible()),Me(e.options,"debugColumns"));e.getVisibleFlatColumns=n("getVisibleFlatColumns",()=>e.getAllFlatColumns()),e.getVisibleLeafColumns=n("getVisibleLeafColumns",()=>e.getAllLeafColumns()),e.getLeftVisibleLeafColumns=n("getLeftVisibleLeafColumns",()=>e.getLeftLeafColumns()),e.getRightVisibleLeafColumns=n("getRightVisibleLeafColumns",()=>e.getRightLeafColumns()),e.getCenterVisibleLeafColumns=n("getCenterVisibleLeafColumns",()=>e.getCenterLeafColumns()),e.setColumnVisibility=t=>e.options.onColumnVisibilityChange==null?void 0:e.options.onColumnVisibilityChange(t),e.resetColumnVisibility=t=>{var o;e.setColumnVisibility(t?{}:(o=e.initialState.columnVisibility)!=null?o:{})},e.toggleAllColumnsVisible=t=>{var o;t=(o=t)!=null?o:!e.getIsAllColumnsVisible(),e.setColumnVisibility(e.getAllLeafColumns().reduce((i,l)=>({...i,[l.id]:t||!(l.getCanHide!=null&&l.getCanHide())}),{}))},e.getIsAllColumnsVisible=()=>!e.getAllLeafColumns().some(t=>!(t.getIsVisible!=null&&t.getIsVisible())),e.getIsSomeColumnsVisible=()=>e.getAllLeafColumns().some(t=>t.getIsVisible==null?void 0:t.getIsVisible()),e.getToggleAllColumnsVisibilityHandler=()=>t=>{var o;e.toggleAllColumnsVisible((o=t.target)==null?void 0:o.checked)}}};function ta(e,n){return n?n==="center"?e.getCenterVisibleLeafColumns():n==="left"?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()}const ph=[KA,_4,d4,p4,QA,w4,c4,ZA,f4,g4,YA];function S4(e){var n;(e.debugAll||e.debugTable)&&console.info("Creating Table Instance...");let t={_features:ph};const o=t._features.reduce((g,v)=>Object.assign(g,v.getDefaultOptions==null?void 0:v.getDefaultOptions(t)),{}),i=g=>t.options.mergeOptions?t.options.mergeOptions(o,g):{...o,...g};let u={...{},...(n=e.initialState)!=null?n:{}};t._features.forEach(g=>{var v;u=(v=g.getInitialState==null?void 0:g.getInitialState(u))!=null?v:u});const d=[];let p=!1;const f={_features:ph,options:{...o,...e},initialState:u,_queue:g=>{d.push(g),p||(p=!0,Promise.resolve().then(()=>{for(;d.length;)d.shift()();p=!1}).catch(v=>setTimeout(()=>{throw v})))},reset:()=>{t.setState(t.initialState)},setOptions:g=>{const v=oo(g,t.options);t.options=i(v)},getState:()=>t.options.state,setState:g=>{t.options.onStateChange==null||t.options.onStateChange(g)},_getRowId:(g,v,x)=>{var m;return(m=t.options.getRowId==null?void 0:t.options.getRowId(g,v,x))!=null?m:`${x?[x.id,v].join("."):v}`},getCoreRowModel:()=>(t._getCoreRowModel||(t._getCoreRowModel=t.options.getCoreRowModel(t)),t._getCoreRowModel()),getRowModel:()=>t.getPaginationRowModel(),getRow:(g,v)=>{let x=(v?t.getPrePaginationRowModel():t.getRowModel()).rowsById[g];if(!x&&(x=t.getCoreRowModel().rowsById[g],!x))throw new Error;return x},_getDefaultColumnDef:Ae(()=>[t.options.defaultColumn],g=>{var v;return g=(v=g)!=null?v:{},{header:x=>{const m=x.header.column.columnDef;return m.accessorKey?m.accessorKey:m.accessorFn?m.id:null},cell:x=>{var m,S;return(m=(S=x.renderValue())==null||S.toString==null?void 0:S.toString())!=null?m:null},...t._features.reduce((x,m)=>Object.assign(x,m.getDefaultColumnDef==null?void 0:m.getDefaultColumnDef()),{}),...g}},Me(e,"debugColumns")),_getColumnDefs:()=>t.options.columns,getAllColumns:Ae(()=>[t._getColumnDefs()],g=>{const v=function(x,m,S){return S===void 0&&(S=0),x.map(w=>{const $=qA(t,w,S,m),_=w;return $.columns=_.columns?v(_.columns,$,S+1):[],$})};return v(g)},Me(e,"debugColumns")),getAllFlatColumns:Ae(()=>[t.getAllColumns()],g=>g.flatMap(v=>v.getFlatColumns()),Me(e,"debugColumns")),_getAllFlatColumnsById:Ae(()=>[t.getAllFlatColumns()],g=>g.reduce((v,x)=>(v[x.id]=x,v),{}),Me(e,"debugColumns")),getAllLeafColumns:Ae(()=>[t.getAllColumns(),t._getOrderColumnsFn()],(g,v)=>{let x=g.flatMap(m=>m.getLeafColumns());return v(x)},Me(e,"debugColumns")),getColumn:g=>t._getAllFlatColumnsById()[g]};Object.assign(t,f);for(let g=0;g{var u;return(u=l.getValue())!=null?u:e.options.renderFallbackValue},l={id:`${n.id}_${t.id}`,row:n,column:t,getValue:()=>n.getValue(o),renderValue:i,getContext:Ae(()=>[e,t,n,l],(u,d,p,f)=>({table:u,column:d,row:p,cell:f,getValue:f.getValue,renderValue:f.renderValue}),Me(e.options,"debugCells"))};return e._features.forEach(u=>{u.createCell==null||u.createCell(l,t,n,e)},{}),l}const Od=(e,n,t,o,i,l,u)=>{let d={id:n,index:o,original:t,depth:i,parentId:u,_valuesCache:{},_uniqueValuesCache:{},getValue:p=>{if(d._valuesCache.hasOwnProperty(p))return d._valuesCache[p];const f=e.getColumn(p);if(f!=null&&f.accessorFn)return d._valuesCache[p]=f.accessorFn(d.original,o),d._valuesCache[p]},getUniqueValues:p=>{if(d._uniqueValuesCache.hasOwnProperty(p))return d._uniqueValuesCache[p];const f=e.getColumn(p);if(f!=null&&f.accessorFn)return f.columnDef.getUniqueValues?(d._uniqueValuesCache[p]=f.columnDef.getUniqueValues(d.original,o),d._uniqueValuesCache[p]):(d._uniqueValuesCache[p]=[d.getValue(p)],d._uniqueValuesCache[p])},renderValue:p=>{var f;return(f=d.getValue(p))!=null?f:e.options.renderFallbackValue},subRows:l??[],getLeafRows:()=>XA(d.subRows,p=>p.subRows),getParentRow:()=>d.parentId?e.getRow(d.parentId,!0):void 0,getParentRows:()=>{let p=[],f=d;for(;;){const g=f.getParentRow();if(!g)break;p.push(g),f=g}return p.reverse()},getAllCells:Ae(()=>[e.getAllLeafColumns()],p=>p.map(f=>C4(e,d,f,f.id)),Me(e.options,"debugRows")),_getAllCellsByColumnId:Ae(()=>[d.getAllCells()],p=>p.reduce((f,g)=>(f[g.column.id]=g,f),{}),Me(e.options,"debugRows"))};for(let p=0;pAe(()=>[e.options.data],n=>{const t={rows:[],flatRows:[],rowsById:{}},o=function(i,l,u){l===void 0&&(l=0);const d=[];for(let f=0;fe._autoResetPageIndex()))}function N4(e,n,t){return t.options.filterFromLeafRows?R4(e,n,t):$4(e,n,t)}function R4(e,n,t){var o;const i=[],l={},u=(o=t.options.maxLeafRowFilterDepth)!=null?o:100,d=function(p,f){f===void 0&&(f=0);const g=[];for(let x=0;xAe(()=>[e.getPreFilteredRowModel(),e.getState().columnFilters,e.getState().globalFilter],(n,t,o)=>{if(!n.rows.length||!(t!=null&&t.length)&&!o){for(let x=0;x{var m;const S=e.getColumn(x.id);if(!S)return;const w=S.getFilterFn();w&&i.push({id:x.id,filterFn:w,resolvedValue:(m=w.resolveFilterValue==null?void 0:w.resolveFilterValue(x.value))!=null?m:x.value})});const u=t.map(x=>x.id),d=e.getGlobalFilterFn(),p=e.getAllLeafColumns().filter(x=>x.getCanGlobalFilter());o&&d&&p.length&&(u.push("__global__"),p.forEach(x=>{var m;l.push({id:x.id,filterFn:d,resolvedValue:(m=d.resolveFilterValue==null?void 0:d.resolveFilterValue(o))!=null?m:o})}));let f,g;for(let x=0;x{m.columnFiltersMeta[w]=$})}if(l.length){for(let S=0;S{m.columnFiltersMeta[w]=$})){m.columnFilters.__global__=!0;break}}m.columnFilters.__global__!==!0&&(m.columnFilters.__global__=!1)}}const v=x=>{for(let m=0;me._autoResetPageIndex()))}function P4(){return e=>Ae(()=>[e.getState().sorting,e.getPreSortedRowModel()],(n,t)=>{if(!t.rows.length||!(n!=null&&n.length))return t;const o=e.getState().sorting,i=[],l=o.filter(p=>{var f;return(f=e.getColumn(p.id))==null?void 0:f.getCanSort()}),u={};l.forEach(p=>{const f=e.getColumn(p.id);f&&(u[p.id]={sortUndefined:f.columnDef.sortUndefined,invertSorting:f.columnDef.invertSorting,sortingFn:f.getSortingFn()})});const d=p=>{const f=p.map(g=>({...g}));return f.sort((g,v)=>{for(let m=0;m{var v;i.push(g),(v=g.subRows)!=null&&v.length&&(g.subRows=d(g.subRows))}),f};return{rows:d(t.rows),flatRows:i,rowsById:t.rowsById}},Me(e.options,"debugTable","getSortedRowModel",()=>e._autoResetPageIndex()))}function A4(e){const n=[],t=o=>{var i;n.push(o),(i=o.subRows)!=null&&i.length&&o.getIsExpanded()&&o.subRows.forEach(t)};return e.rows.forEach(t),{rows:n,flatRows:e.flatRows,rowsById:e.rowsById}}function M4(e){return n=>Ae(()=>[n.getState().pagination,n.getPrePaginationRowModel(),n.options.paginateExpandedRows?void 0:n.getState().expanded],(t,o)=>{if(!o.rows.length)return o;const{pageSize:i,pageIndex:l}=t;let{rows:u,flatRows:d,rowsById:p}=o;const f=i*l,g=f+i;u=u.slice(f,g);let v;n.options.paginateExpandedRows?v={rows:u,flatRows:d,rowsById:p}:v=A4({rows:u,flatRows:d,rowsById:p}),v.flatRows=[];const x=m=>{v.flatRows.push(m),m.subRows.length&&m.subRows.forEach(x)};return v.rows.forEach(x),v},Me(n.options,"debugTable"))}/** * react-table * * Copyright (c) TanStack @@ -264,22 +264,22 @@ Only .woff2 files are supported`);const i=await aN(t[0],{asArrayBuffer:!1});cons * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function uh(e,n){return e?E4(e)?C.createElement(e,n):e:null}function E4(e){return P4(e)||typeof e=="function"||A4(e)}function P4(e){return typeof e=="function"&&(()=>{const n=Object.getPrototypeOf(e);return n.prototype&&n.prototype.isReactComponent})()}function A4(e){return typeof e=="object"&&typeof e.$$typeof=="symbol"&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}function M4(e){const n={state:{},onStateChange:()=>{},renderFallbackValue:null,...e},[t]=C.useState(()=>({current:b4(n)})),[o,i]=C.useState(()=>t.current.initialState);return t.current.setOptions(l=>({...l,...e,state:{...o,...e.state},onStateChange:u=>{i(u),e.onStateChange==null||e.onStateChange(u)}})),t.current}const D4=[{id:"m5gr84i9",amount:316,status:"success",email:"ken99@yahoo.com"},{id:"3u1reuv4",amount:242,status:"success",email:"Abe45@gmail.com"},{id:"derv1ws0",amount:837,status:"processing",email:"Monserrat44@gmail.com"},{id:"5kma53ae",amount:874,status:"success",email:"Silas22@gmail.com"},{id:"bhqecj4p",amount:721,status:"failed",email:"carmella@hotmail.com"}],dh=[{id:"select",header:({table:e})=>a.jsx(os,{checked:e.getIsAllPageRowsSelected()||e.getIsSomePageRowsSelected()&&"indeterminate",onCheckedChange:n=>e.toggleAllPageRowsSelected(!!n),"aria-label":"Select all"}),cell:({row:e})=>a.jsx(os,{checked:e.getIsSelected(),onCheckedChange:n=>e.toggleSelected(!!n),"aria-label":"Select row"}),enableSorting:!1,enableHiding:!1},{accessorKey:"status",header:"Status",cell:({row:e})=>a.jsx("div",{className:"capitalize",children:e.getValue("status")})},{accessorKey:"email",header:({column:e})=>a.jsxs(dt,{variant:"ghost",onClick:()=>e.toggleSorting(e.getIsSorted()==="asc"),children:["Email",a.jsx(vm,{className:"ml-2 h-4 w-4"})]}),cell:({row:e})=>a.jsx("div",{className:"lowercase",children:e.getValue("email")})},{accessorKey:"amount",header:()=>a.jsx("div",{className:"text-right",children:"Amount"}),cell:({row:e})=>{const n=parseFloat(e.getValue("amount")),t=new Intl.NumberFormat("en-US",{style:"currency",currency:"USD"}).format(n);return a.jsx("div",{className:"text-right font-medium",children:t})}},{id:"actions",enableHiding:!1,cell:({row:e})=>{const n=e.original;return a.jsxs(sd,{children:[a.jsx(ad,{asChild:!0,children:a.jsxs(dt,{className:"h-8 w-8 p-0",variant:"ghost",children:[a.jsx("span",{className:"sr-only",children:"Open menu"}),a.jsx(i0,{className:"h-4 w-4"})]})}),a.jsxs(al,{align:"end",children:[a.jsx(S0,{children:"Actions"}),a.jsx(qs,{onClick:()=>navigator.clipboard.writeText(n.id),children:"Copy payment ID"}),a.jsx(C0,{}),a.jsx(qs,{children:"View customer"}),a.jsx(qs,{children:"View payment details"})]})]})}}];function T4(){const[e,n]=C.useState([]),[t,o]=C.useState([]),[i,l]=C.useState({}),[u,d]=C.useState({}),p=M4({data:D4,columns:dh,onSortingChange:n,onColumnFiltersChange:o,getCoreRowModel:w4(),getPaginationRowModel:$4(),getSortedRowModel:N4(),getFilteredRowModel:j4(),onColumnVisibilityChange:l,onRowSelectionChange:d,state:{sorting:e,columnFilters:t,columnVisibility:i,rowSelection:u}});return a.jsxs("div",{className:"w-full",children:[a.jsxs("div",{className:"flex items-center py-4",children:[a.jsx(aa,{className:"max-w-sm",placeholder:"Filter emails...",value:p.getColumn("email")?.getFilterValue()??"",onChange:f=>p.getColumn("email")?.setFilterValue(f.target.value)}),a.jsxs(sd,{children:[a.jsx(ad,{asChild:!0,children:a.jsxs(dt,{className:"ml-auto",variant:"outline",children:["Columns",a.jsx(Zu,{className:"ml-2 h-4 w-4"})]})}),a.jsx(al,{align:"end",children:p.getAllColumns().filter(f=>f.getCanHide()).map(f=>a.jsx(_0,{className:"capitalize",checked:f.getIsVisible(),onCheckedChange:g=>f.toggleVisibility(!!g),children:f.id},f.id))})]})]}),a.jsx("div",{className:"rounded-md border",children:a.jsxs(pd,{children:[a.jsx(gd,{children:p.getHeaderGroups().map(f=>a.jsx(jo,{children:f.headers.map(g=>a.jsx(Qo,{children:g.isPlaceholder?null:uh(g.column.columnDef.header,g.getContext())},g.id))},f.id))}),a.jsx(hd,{children:p.getRowModel().rows?.length?p.getRowModel().rows.map(f=>a.jsx(jo,{"data-state":f.getIsSelected()&&"selected",children:f.getVisibleCells().map(g=>a.jsx(Ar,{children:uh(g.column.columnDef.cell,g.getContext())},g.id))},f.id)):a.jsx(jo,{children:a.jsx(Ar,{className:"h-24 text-center",colSpan:dh.length,children:"No results."})})})]})}),a.jsxs("div",{className:"flex items-center justify-end space-x-2 py-4",children:[a.jsxs("div",{className:"flex-1 text-sm text-muted-foreground",children:[p.getFilteredSelectedRowModel().rows.length," of"," ",p.getFilteredRowModel().rows.length," row(s) selected."]}),a.jsxs("div",{className:"space-x-2",children:[a.jsx(dt,{variant:"outline",size:"sm",onClick:()=>p.previousPage(),disabled:!p.getCanPreviousPage(),children:"Previous"}),a.jsx(dt,{variant:"outline",size:"sm",onClick:()=>p.nextPage(),disabled:!p.getCanNextPage(),children:"Next"})]})]})]})}const I4=[{invoice:"INV001",paymentStatus:"Paid",totalAmount:"$250.00",paymentMethod:"Credit Card"},{invoice:"INV002",paymentStatus:"Pending",totalAmount:"$150.00",paymentMethod:"PayPal"},{invoice:"INV003",paymentStatus:"Unpaid",totalAmount:"$350.00",paymentMethod:"Bank Transfer"},{invoice:"INV004",paymentStatus:"Paid",totalAmount:"$450.00",paymentMethod:"Credit Card"},{invoice:"INV005",paymentStatus:"Paid",totalAmount:"$550.00",paymentMethod:"PayPal"},{invoice:"INV006",paymentStatus:"Pending",totalAmount:"$200.00",paymentMethod:"Bank Transfer"},{invoice:"INV007",paymentStatus:"Unpaid",totalAmount:"$300.00",paymentMethod:"Credit Card"}];function k4(e){return a.jsxs(pd,{...e,children:[a.jsx(ov,{children:"A list of your recent invoices."}),a.jsx(gd,{children:a.jsxs(jo,{children:[a.jsx(Qo,{className:"w-[100px]",children:"Invoice"}),a.jsx(Qo,{children:"Status"}),a.jsx(Qo,{children:"Method"}),a.jsx(Qo,{className:"text-right",children:"Amount"})]})}),a.jsx(hd,{children:I4.map(n=>a.jsxs(jo,{children:[a.jsx(Ar,{className:"font-medium",children:n.invoice}),a.jsx(Ar,{children:n.paymentStatus}),a.jsx(Ar,{children:n.paymentMethod}),a.jsx(Ar,{className:"text-right",children:n.totalAmount})]},n.invoice))}),a.jsx(rv,{className:"text-muted-foreground bg-muted",children:a.jsxs(jo,{children:[a.jsx(Ar,{colSpan:3,children:"Total"}),a.jsx(Ar,{className:"text-right",children:"$2,500.00"})]})})]})}const L4="_container_q763u_7",is={container:L4,"sticky-header-row":"_sticky-header-row_q763u_57","sticky-first-column":"_sticky-first-column_q763u_75","sticky-header-and-first-column":"_sticky-header-and-first-column_q763u_97"};function F4(){return a.jsxs(a.Fragment,{children:[a.jsx("td",{children:"John Doe"}),a.jsx("td",{children:"john@example.com"}),a.jsx("td",{children:"Developer"}),a.jsx("td",{children:"USA"})]})}function O4(){return a.jsxs(a.Fragment,{children:[a.jsx("td",{children:"Jane Smith"}),a.jsx("td",{children:"jane@example.com"}),a.jsx("td",{children:"Manager"}),a.jsx("td",{children:"Canada"})]})}function z4(){return a.jsxs(a.Fragment,{children:[a.jsx("td",{children:"Bob Johnson"}),a.jsx("td",{children:"bob@example.com"}),a.jsx("td",{children:"Designer"}),a.jsx("td",{children:"UK"})]})}function B4(){return a.jsxs(a.Fragment,{children:[a.jsx("td",{children:"Alice Brown"}),a.jsx("td",{children:"alice@example.com"}),a.jsx("td",{children:"Analyst"}),a.jsx("td",{children:"Australia"})]})}function H4(){return a.jsxs(a.Fragment,{children:[a.jsx("td",{children:"Mike Wilson"}),a.jsx("td",{children:"mike@example.com"}),a.jsx("td",{children:"Engineer"}),a.jsx("td",{children:"Germany"})]})}function V4(){return a.jsxs(a.Fragment,{children:[a.jsx("td",{children:"Sara Davis"}),a.jsx("td",{children:"sara@example.com"}),a.jsx("td",{children:"Consultant"}),a.jsx("td",{children:"France"})]})}function G4(){return a.jsxs(a.Fragment,{children:[a.jsx("td",{children:"David Lee"}),a.jsx("td",{children:"david@example.com"}),a.jsx("td",{children:"Coordinator"}),a.jsx("td",{children:"Japan"})]})}function W4(){return a.jsxs(a.Fragment,{children:[a.jsx("td",{children:"Linda Chen"}),a.jsx("td",{children:"linda@example.com"}),a.jsx("td",{children:"Tester"}),a.jsx("td",{children:"China"})]})}function U4(){return a.jsxs(a.Fragment,{children:[a.jsx("td",{children:"Ryan Miller"}),a.jsx("td",{children:"ryan@example.com"}),a.jsx("td",{children:"Architect"}),a.jsx("td",{children:"Brazil"})]})}function X4(){return a.jsxs(a.Fragment,{children:[a.jsx("td",{children:"Emily White"}),a.jsx("td",{children:"emily@example.com"}),a.jsx("td",{children:"Administrator"}),a.jsx("td",{children:"India"})]})}const kd=[F4,O4,z4,B4,H4,V4,G4,W4,U4,X4];function q4(){return a.jsx(a.Fragment,{children:a.jsxs("section",{className:`${is["sticky-header-row"]}`,children:[a.jsx("h2",{className:"py-2",children:"Sticky Header"}),a.jsx("div",{className:`${is.container} w-fit h-52 overflow-auto`,children:a.jsxs("table",{children:[a.jsx("thead",{children:a.jsxs("tr",{children:[a.jsx("th",{scope:"col",children:"ID"}),a.jsx("th",{scope:"col",children:"Name"}),a.jsx("th",{scope:"col",children:"Email"}),a.jsx("th",{scope:"col",children:"Role"}),a.jsx("th",{scope:"col",children:"Country"})]})}),a.jsx("tbody",{children:kd.map((e,n)=>a.jsxs("tr",{children:[a.jsx("td",{children:n+1}),a.jsx(e,{})]},n))})]})})]})})}function K4(){return a.jsx(a.Fragment,{children:a.jsxs("section",{className:`${is["sticky-first-column"]}`,children:[a.jsx("h2",{className:"py-2",children:"Sticky First Column"}),a.jsx("div",{className:`${is.container} w-64 h-60 overflow-auto`,children:a.jsxs("table",{children:[a.jsx("thead",{children:a.jsxs("tr",{children:[a.jsx("th",{scope:"col",children:"ID"}),a.jsx("th",{scope:"col",children:"Name"}),a.jsx("th",{scope:"col",children:"Email"}),a.jsx("th",{scope:"col",children:"Role"}),a.jsx("th",{scope:"col",children:"Country"})]})}),a.jsx("tbody",{children:kd.slice(0,5).map((e,n)=>a.jsxs("tr",{children:[a.jsx("th",{scope:"row",children:n+1}),a.jsx(e,{})]},n))})]})})]})})}function Y4(){return a.jsx(a.Fragment,{children:a.jsxs("section",{className:`${is["sticky-header-and-first-column"]}`,children:[a.jsx("h2",{className:"py-2",children:"Sticky Header and First Column"}),a.jsx("div",{className:`${is.container} w-64 h-60 overflow-auto`,children:a.jsxs("table",{children:[a.jsx("thead",{children:a.jsxs("tr",{children:[a.jsx("th",{scope:"col",children:"ID"}),a.jsx("th",{scope:"col",children:"Name"}),a.jsx("th",{scope:"col",children:"Email"}),a.jsx("th",{scope:"col",children:"Role"}),a.jsx("th",{scope:"col",children:"Country"})]})}),a.jsx("tbody",{children:kd.map((e,n)=>a.jsxs("tr",{children:[a.jsx("th",{scope:"row",children:n+1}),a.jsx(e,{})]},n))})]})})]})})}function J4(){return a.jsxs("div",{className:"text-xs flex flex-wrap gap-4",children:[a.jsx(q4,{}),a.jsx(K4,{}),a.jsx(Y4,{})]})}const Z4="_container_ny73l_25",Q4="_card_ny73l_41",eM="_card__head_ny73l_53",cu={container:Z4,card:Q4,card__head:eM},tM=["Plotting Cat","Angry Cat","Curious Cat","Prowling Cat","Sleepy Cat"],nM=["https://upload.wikimedia.org/wikipedia/commons/d/d6/Cat_plotting_something_evil%21.jpg","https://upload.wikimedia.org/wikipedia/commons/thumb/d/d8/False_alarm_-a.jpg/1280px-False_alarm_-a.jpg","https://upload.wikimedia.org/wikipedia/commons/thumb/8/83/Neugierige-Katze.JPG/1280px-Neugierige-Katze.JPG","https://upload.wikimedia.org/wikipedia/commons/thumb/7/75/Al_acecho_%289272124788%29.jpg/1280px-Al_acecho_%289272124788%29.jpg","https://upload.wikimedia.org/wikipedia/commons/thumb/d/de/Mimi%26Tigsi.jpg/1280px-Mimi%26Tigsi.jpg"];function rM(){return a.jsx("div",{className:cu.container,children:nM.map((e,n)=>a.jsxs("div",{className:cu.card,children:[a.jsx("img",{src:e}),a.jsx("div",{className:cu.card__head,children:tM[n]})]},n))})}const oM="_wrap_84gct_1",sM="_strip_84gct_19",aM="_one_84gct_79",iM="_two_84gct_81",lM="_three_84gct_83",cM="_four_84gct_85",uM="_five_84gct_87",dM="_crown_84gct_91",fM="_h1_84gct_119",pM="_h2_84gct_153",gM="_h3_84gct_165",hM="_review_84gct_175",Kr={wrap:oM,strip:sM,one:aM,two:iM,three:lM,four:cM,five:uM,crown:dM,h1:fM,h2:pM,h3:gM,review:hM},mM=[{title:"Angels 3o'clock",author:"Jack Hartley",publisher:"Crown Press",review:"When Jack wakes up at 3am one morning to find angels in his bedroom his life changes forever. An extraordinary read and a fine first novel. The Grauniad"},{title:"Cloud Bustin'",author:"Sian O'Brien",publisher:"Crown Press",review:"Kate's father has a secret. When the Russians discover it she and her father have a race against time to stop it falling into the wrong hands. I couldn't put this down. The story charges towards a thrilling climax. Woman's Weekly"},{title:"Seven Deadly Bins",author:"Trash Norton",publisher:"Crown Press",review:"Michael uncovers a plot to blow up the Australian Embassy in London. However, no one believes him and he must find a way to convince the authorities of the truth. Following hot on the heels of his previous novel, The Henchman's Basin, this is a fine novel indeed. Fishing Magazine Monthly"},{title:"A Cuckoo Calls",author:"Erasmus Coach",publisher:"Crown Press",review:"Expect the unexpected in this expertly woven tale of a birdwatcher. Well, I certainly didn't expect this when I started reading. Twitcher's Monthly"},{title:"A Steamy Romance",author:"Eliza Smalls",publisher:"Crown Press",review:"Hubert and Molly have worked in the same clothes cleaner's for years. When they fall in love their loyalty to their boss is tested. I cried buckets to this one and got the pages wet. The Rock Garden Hobbyist"}],vM=["one","two","three","four","five"];function xM(){return a.jsx("div",{className:`${Kr.wrap} font-serif font-thin text-background`,children:mM.map((e,n)=>a.jsxs("div",{className:`${Kr.strip} ${Kr[vM[n]]}`,style:{opacity:1,height:"100%"},children:[a.jsx("p",{className:Kr.crown,children:"♔"}),a.jsx("div",{className:Kr.h1,children:e.title}),a.jsx("div",{className:Kr.h2,children:e.author}),a.jsx("div",{className:Kr.h3,children:e.publisher}),a.jsx("div",{className:Kr.review,children:a.jsx("p",{children:e.review})})]},n))})}const bM="_container_1fbyo_33",yM="_box_1fbyo_55",er={container:bM,box:yM,"box-1":"_box-1_1fbyo_95","box-2":"_box-2_1fbyo_103","box-3":"_box-3_1fbyo_111","box-4":"_box-4_1fbyo_119","box-5":"_box-5_1fbyo_127"};function wM(){return a.jsxs("div",{className:`${er.container} py-8`,children:[a.jsx("div",{className:`${er.box} ${er["box-1"]}`,style:{"--img":"url(https://i.postimg.cc/sgBkfbtx/img-1.jpg)"},"data-text":"Renji"}),a.jsx("div",{className:`${er.box} ${er["box-2"]}`,style:{"--img":"url(https://i.postimg.cc/3RZ6bhDS/img-2.jpg)"},"data-text":"Sora"}),a.jsx("div",{className:`${er.box} ${er["box-3"]}`,style:{"--img":"url(https://i.postimg.cc/DZhHg0m4/img-3.jpg)"},"data-text":"Kaito"}),a.jsx("div",{className:`${er.box} ${er["box-4"]}`,style:{"--img":"url(https://i.postimg.cc/KjqWx5ft/img-4.jpg)"},"data-text":"Tsuki"}),a.jsx("div",{className:`${er.box} ${er["box-5"]}`,style:{"--img":"url(https://i.postimg.cc/nrcWyW4H/img-5.jpg)"},"data-text":"Mitsui"})]})}function _M(){return a.jsxs(Po,{defaultValue:"table6",children:[a.jsxs(ao,{children:[a.jsx(Ke,{value:"table1",children:"Simple"}),a.jsx(Ke,{value:"table2",children:"Data"}),a.jsx(Ke,{value:"table3",children:"Sticky headers"}),a.jsx(Ke,{value:"table4",children:"Skew"}),a.jsx(Ke,{value:"table5",children:"Books"}),a.jsx(Ke,{value:"table6",children:"Cartoons"})]}),a.jsx(Ye,{value:"table1",children:a.jsx(k4,{className:"m-auto max-w-sm"})}),a.jsx(Ye,{value:"table2",children:a.jsx(T4,{})}),a.jsx(Ye,{value:"table3",children:a.jsx(J4,{})}),a.jsx(Ye,{value:"table4",children:a.jsx(rM,{})}),a.jsx(Ye,{value:"table5",children:a.jsx(xM,{})}),a.jsx(Ye,{value:"table6",children:a.jsx(wM,{})})]})}const fh={getItem(e){return lt.resisablesState.positions[e]||""},setItem(e,n){lt.resisablesState.positions[e]=n}};function SM(){return a.jsxs(Og,{direction:"horizontal",className:"w-full _max-w-md rounded-lg border",autoSaveId:"tm-example",storage:fh,children:[a.jsx(Ci,{defaultSize:25,children:a.jsx(CM,{})}),a.jsx(zg,{withHandle:!0}),a.jsx(Ci,{children:a.jsxs(Og,{direction:"vertical",autoSaveId:"tm-example2",storage:fh,children:[a.jsx(Ci,{defaultSize:25,children:a.jsx(jM,{})}),a.jsx(zg,{}),a.jsx(Ci,{defaultSize:75,children:a.jsx(NM,{})})]})})]})}function CM(){return a.jsx("div",{className:"p-6 h-[200px] flex items-center justify-center",children:a.jsx("span",{className:"font-semibold",children:"One"})})}function jM(){return a.jsx("div",{className:"p-6 h-full flex items-center justify-center",children:a.jsx("span",{className:"font-semibold",children:"Two"})})}function NM(){return a.jsx("div",{className:"p-6 h-full flex items-center justify-center",children:a.jsx("span",{className:"font-semibold",children:"Three"})})}function RM(){return a.jsx(a.Fragment,{children:Array.from({length:5}).map((e,n)=>a.jsx(ax,{children:a.jsx("div",{className:"p-1 flex justify-center",children:a.jsx(ul,{className:"w-24 h-24",children:a.jsx(dl,{className:"p-6 aspect-square flex items-center justify-center",children:a.jsx("span",{className:"text-4xl font-semibold",children:n+1})})})})},n))})}function $M(){return a.jsx("div",{className:"flex justify-center",children:a.jsxs(ox,{className:"w-full max-w-xs",children:[a.jsx(sx,{children:a.jsx(RM,{})}),a.jsx(ix,{}),a.jsx(lx,{})]})})}function EM(){return a.jsx("div",{className:"flex flex-col items-center justify-center w-full h-full",children:a.jsx(gP,{children:a.jsxs(Zv,{children:[a.jsx(hP,{href:"#"}),a.jsx(Qs,{href:"#",children:"1"}),a.jsx(Qs,{href:"#",isActive:!0,children:"2"}),a.jsx(Qs,{href:"#",children:"3"}),a.jsx(vP,{}),a.jsx(mP,{href:"#"})]})})})}function PM(){return a.jsxs("div",{className:"flex items-center space-x-4",children:[a.jsx(Hc,{className:"h-12 w-12 rounded-full"}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(Hc,{className:"h-4 w-[250px]"}),a.jsx(Hc,{className:"h-4 w-[200px]"})]})]})}const AM=[{name:"Jan",total:Math.floor(Math.random()*5e3)+1e3},{name:"Feb",total:Math.floor(Math.random()*5e3)+1e3},{name:"Mar",total:Math.floor(Math.random()*5e3)+1e3},{name:"Apr",total:Math.floor(Math.random()*5e3)+1e3},{name:"May",total:Math.floor(Math.random()*5e3)+1e3},{name:"Jun",total:Math.floor(Math.random()*5e3)+1e3},{name:"Jul",total:Math.floor(Math.random()*5e3)+1e3},{name:"Aug",total:Math.floor(Math.random()*5e3)+1e3},{name:"Sep",total:Math.floor(Math.random()*5e3)+1e3},{name:"Oct",total:Math.floor(Math.random()*5e3)+1e3},{name:"Nov",total:Math.floor(Math.random()*5e3)+1e3},{name:"Dec",total:Math.floor(Math.random()*5e3)+1e3}];function MM(){return a.jsx(rd,{width:"100%",height:100,children:a.jsxs(l0,{data:AM,children:[a.jsx(wj,{dataKey:"name",stroke:"#888888",fontSize:12,tickLine:!1,axisLine:!1}),a.jsx(_j,{stroke:"#888888",fontSize:12,tickLine:!1,axisLine:!1,tickFormatter:e=>`$${e}`}),a.jsx(c0,{dataKey:"total",fill:"currentColor",radius:[4,4,0,0],className:"fill-primary"})]})})}function DM(){return a.jsxs(ul,{className:"max-w-md",children:[a.jsx(md,{children:a.jsx(vd,{children:"Overview"})}),a.jsx(dl,{className:"pl-2",children:a.jsx(MM,{})})]})}const TM=[{average:400,today:240},{average:300,today:139},{average:200,today:980},{average:278,today:390},{average:189,today:480},{average:239,today:380},{average:349,today:430}];function IM(){return a.jsx("div",{className:"h-[100px]",children:a.jsx(rd,{width:"100%",height:"100%",children:a.jsxs(Sj,{data:TM,margin:{top:7,right:10,left:10,bottom:0},children:[a.jsx(Cj,{content:({active:e,payload:n})=>e&&n&&n.length?a.jsx("div",{className:"rounded-lg border bg-background p-2 shadow-sm",children:a.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[a.jsxs("div",{className:"flex flex-col",children:[a.jsx("span",{className:"text-[0.70rem] uppercase text-muted-foreground",children:"Average"}),a.jsx("span",{className:"font-bold text-muted-foreground",children:n[0].value})]}),a.jsxs("div",{className:"flex flex-col",children:[a.jsx("span",{className:"text-[0.70rem] uppercase text-muted-foreground",children:"Today"}),a.jsx("span",{className:"font-bold",children:n[1].value})]})]})}):null}),a.jsx(pg,{type:"monotone",strokeWidth:2,dataKey:"average",activeDot:{r:6,style:{fill:"var(--theme-primary)",opacity:.25}},className:"stroke-primary opacity-25"}),a.jsx(pg,{type:"monotone",dataKey:"today",strokeWidth:2,activeDot:{r:8,style:{fill:"var(--theme-primary)"}},className:"stroke-primary"})]})})})}function kM(){return a.jsxs(ul,{children:[a.jsxs(md,{children:[a.jsx(vd,{children:"Exercise Minutes"}),a.jsx(sv,{children:"Your exercise minutes are ahead of where you normally are."})]}),a.jsx(dl,{className:"pb-4",children:a.jsx(IM,{})})]})}const LM=[{anchor:"bottom-right",direction:"column",justify:!1,translateX:100,translateY:0,itemsSpacing:0,itemDirection:"left-to-right",itemWidth:80,itemHeight:20,itemOpacity:.75,symbolSize:12,symbolShape:"circle",symbolBorderColor:"rgba(0, 0, 0, .5)",effects:[{on:"hover",style:{itemBackground:"rgba(0, 0, 0, .03)",itemOpacity:1}}]}],FM=({width:e=440,height:n=240,data:t=[]})=>a.jsx("div",{style:{height:n,width:e},children:a.jsx(EC,{data:t,margin:{top:5,right:0,bottom:5,left:0},xScale:{type:"point"},yScale:{type:"linear",min:"auto",max:"auto",stacked:!0,reverse:!1},yFormat:" >-.2f",curve:"cardinal",axisTop:null,axisRight:null,axisBottom:null,axisLeft:null,enableGridX:!1,enableGridY:!1,enablePoints:!1,pointSize:10,pointColor:{theme:"background"},pointBorderWidth:2,pointBorderColor:{from:"serieColor"},pointLabelYOffset:-12,isInteractive:!1,legends:LM})}),OM=[{id:"japan",color:"hsl(63, 70%, 50%)",data:[{x:"plane",y:287},{x:"helicopter",y:183},{x:"boat",y:112},{x:"train",y:78},{x:"subway",y:47},{x:"bus",y:218},{x:"car",y:106},{x:"moto",y:190},{x:"bicycle",y:88},{x:"horse",y:8},{x:"skateboard",y:248},{x:"others",y:76},{x:"adwawd",y:76},{x:"awdawdd",y:38},{x:"awd",y:42},{x:"adwadadw",y:26},{x:"dadawda",y:76}]}];function zM(){return a.jsxs(Po,{defaultValue:"charts1",children:[a.jsxs(ao,{children:[a.jsx(Ke,{value:"charts1",children:"Overview"}),a.jsx(Ke,{value:"charts2",children:"Metric"}),a.jsx(Ke,{value:"charts3",children:"Nivo line"})]}),a.jsx(Ye,{value:"charts1",children:a.jsx(DM,{})}),a.jsx(Ye,{value:"charts2",children:a.jsx(kM,{})}),a.jsx(Ye,{value:"charts3",children:a.jsx(FM,{data:OM})})]})}function BM(){return a.jsxs("svg",{className:"switch__base-neon",viewBox:"0 0 40 24",width:"40px",height:"24px",children:[a.jsxs("defs",{children:[a.jsxs("filter",{id:"switch-glow",children:[a.jsx("feGaussianBlur",{result:"coloredBlur",stdDeviation:1}),a.jsxs("feMerge",{children:[a.jsx("feMergeNode",{in:"coloredBlur"}),a.jsx("feMergeNode",{in:"SourceGraphic"})]})]}),a.jsxs("linearGradient",{id:"switch-gradient1",x1:0,y1:0,x2:1,y2:0,children:[a.jsx("stop",{offset:"0%",stopColor:"hsl(var(--on-hue1),90%,70%)"}),a.jsx("stop",{offset:"100%",stopColor:"hsl(var(--on-hue2),90%,70%)"})]}),a.jsxs("linearGradient",{id:"switch-gradient2",x1:"0.7",y1:0,x2:"0.3",y2:1,children:[a.jsx("stop",{offset:"25%",stopColor:"hsla(var(--on-hue1),90%,70%,0)"}),a.jsx("stop",{offset:"50%",stopColor:"hsla(var(--on-hue1),90%,70%,0.3)"}),a.jsx("stop",{offset:"100%",stopColor:"hsla(var(--on-hue2),90%,70%,0.3)"})]})]}),a.jsx("path",{fill:"none",filter:"url(#switch-glow)",stroke:"url(#switch-gradient1)",strokeWidth:1,strokeDasharray:"0 104.26 0",strokeDashoffset:"0.01",strokeLinecap:"round",d:"m.5,12C.5,5.649,5.649.5,12,.5h16c6.351,0,11.5,5.149,11.5,11.5s-5.149,11.5-11.5,11.5H12C5.649,23.5.5,18.351.5,12Z"})]})}function HM(){return a.jsxs(a.Fragment,{children:[a.jsx("span",{className:"switch__knob-shadow"}),a.jsx("span",{className:"switch__knob-container",children:a.jsx("span",{className:"switch__knob",children:a.jsx("svg",{className:"switch__knob-neon",viewBox:"0 0 48 48",width:"48px",height:"48px",children:a.jsx("circle",{fill:"none",stroke:"url(#switch-gradient2)",strokeDasharray:"0 90.32 0 54.19",strokeLinecap:"round",strokeWidth:1,r:23,cx:24,cy:24,transform:"rotate(-112.5,24,24)"})})})})]})}const VM="[--hue:223] [--off-hue:3] [--on-hue1:123] [--on-hue2:168] [--primary:hsl(var(--hue),90%,50%)] [--trans-dur:0.2s] [--trans-timing:cubic-bezier(0.65,0,0.35,1)] ";function GM(e){return a.jsxs("label",{className:_t(VM,"switch"),children:[a.jsx("input",{className:"switch__input",type:"checkbox",role:"switch",...e}),a.jsx("span",{className:"switch__base-outer"}),a.jsx("span",{className:"switch__base-inner"}),a.jsx(BM,{}),a.jsx(HM,{}),a.jsx("span",{className:"switch__led"}),a.jsx("span",{className:"switch__text",children:"Power"})]})}function ph({className:e,...n}){return a.jsxs("div",{className:_t("toggle-wrapper",e),children:[a.jsx("input",{className:"toggle-checkbox",type:"checkbox",...n}),a.jsx("svg",{className:"toggle-icon off",viewBox:"0 0 16 16",children:a.jsx("path",{d:"M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM2 8C2 11.3137 4.68629 14 8 14C11.3137 14 14 11.3137 14 8C14 4.68629 11.3137 2 8 2C4.68629 2 2 4.68629 2 8Z"})}),a.jsx("div",{className:"toggle-container",children:a.jsx("div",{className:"toggle-button"})}),a.jsx("svg",{className:"toggle-icon on",viewBox:"0 0 16 16",children:a.jsx("path",{d:"M16 8A8 8 0 1 1 0 8a8 8 0 1 1 16 0zM2 8a6 6 0 1 0 12 0A6 6 0 1 0 2 8zm10 0a4 4 0 1 1-8 0 4 4 0 1 1 8 0z"})})]})}function WM(){return a.jsxs("div",{className:"flex flex-col space-y-2 text-3xl",children:[a.jsx(ph,{}),a.jsx(ph,{defaultChecked:!0})]})}var ns=255,or=100,Gs=e=>{var{r:n,g:t,b:o,a:i}=e,l=Math.max(n,t,o),u=l-Math.min(n,t,o),d=u?l===n?(t-o)/u:l===t?2+(o-n)/u:4+(n-t)/u:0;return{h:60*(d<0?d+6:d),s:l?u/l*or:0,v:l/ns*or,a:i}},Hx=e=>{var{h:n,s:t,l:o,a:i}=Ld(e);return"hsla("+n+", "+t+"%, "+o+"%, "+i+")"},Ws=e=>{var{h:n,s:t,l:o,a:i}=e;return t*=(o<50?o:or-o)/or,{h:n,s:t>0?2*t/(o+t)*or:0,v:o+t,a:i}},Ld=e=>{var{h:n,s:t,v:o,a:i}=e,l=(200-t)*o/or;return{h:n,s:l>0&&l<200?t*o/or/(l<=or?l:200-l)*or:0,l:l/2,a:i}},Vx=e=>{var{r:n,g:t,b:o}=e,i=n<<16|t<<8|o;return"#"+(l=>new Array(7-l.length).join("0")+l)(i.toString(16))},Gx=e=>{var{r:n,g:t,b:o,a:i}=e,l=typeof i=="number"&&(i*255|256).toString(16).slice(1);return""+Vx({r:n,g:t,b:o,a:i})+(l||"")},ls=e=>Gs(UM(e)),UM=e=>{var n=e.replace("#","");/^#?/.test(e)&&n.length===3&&(e="#"+n.charAt(0)+n.charAt(0)+n.charAt(1)+n.charAt(1)+n.charAt(2)+n.charAt(2));var t=new RegExp("[A-Za-z0-9]{2}","g"),[o,i,l=0,u]=e.match(t).map(d=>parseInt(d,16));return{r:o,g:i,b:l,a:(u??255)/ns}},ja=e=>{var{h:n,s:t,v:o,a:i}=e,l=n/60,u=t/or,d=o/or,p=Math.floor(l)%6,f=l-Math.floor(l),g=ns*d*(1-u),v=ns*d*(1-u*f),x=ns*d*(1-u*(1-f));d*=ns;var m={};switch(p){case 0:m.r=d,m.g=x,m.b=g;break;case 1:m.r=v,m.g=d,m.b=g;break;case 2:m.r=g,m.g=d,m.b=x;break;case 3:m.r=g,m.g=v,m.b=d;break;case 4:m.r=x,m.g=g,m.b=d;break;case 5:m.r=d,m.g=g,m.b=v;break}return m.r=Math.round(m.r),m.g=Math.round(m.g),m.b=Math.round(m.b),_e({},m,{a:i})},XM=e=>{var{r:n,g:t,b:o,a:i}=ja(e);return"rgba("+n+", "+t+", "+o+", "+i+")"},qM=e=>{var{r:n,g:t,b:o}=e;return{r:n,g:t,b:o}},KM=e=>{var{h:n,s:t,l:o}=e;return{h:n,s:t,l:o}},yl=e=>Vx(ja(e)),YM=e=>Gx(ja(e)),JM=e=>{var{h:n,s:t,v:o}=e;return{h:n,s:t,v:o}},An=e=>{var n,t,o,i,l,u,d,p;return typeof e=="string"&&Fd(e)?(u=ls(e),d=e):typeof e!="string"&&(u=e),u&&(o=JM(u),l=Ld(u),i=ja(u),p=Gx(i),d=yl(u),t=KM(l),n=qM(i)),{rgb:n,hsl:t,hsv:o,rgba:i,hsla:l,hsva:u,hex:d,hexa:p}},Fd=e=>/^#?([A-Fa-f0-9]{3,4}){1,2}$/.test(e);function gh(e){var n=C.useRef(e);return C.useEffect(()=>{n.current=e}),C.useCallback((t,o)=>n.current&&n.current(t,o),[])}var na=e=>"touches"in e,hh=e=>{!na(e)&&e.preventDefault&&e.preventDefault()},mh=function(n,t,o){return t===void 0&&(t=0),o===void 0&&(o=1),n>o?o:n{var t=e.getBoundingClientRect(),o=na(n)?n.touches[0]:n;return{left:mh((o.pageX-(t.left+window.pageXOffset))/t.width),top:mh((o.pageY-(t.top+window.pageYOffset))/t.height),width:t.width,height:t.height,x:o.pageX-(t.left+window.pageXOffset),y:o.pageY-(t.top+window.pageYOffset)}},ZM=["prefixCls","className","onMove","onDown"],Wx=G.forwardRef((e,n)=>{var{prefixCls:t="w-color-interactive",className:o,onMove:i,onDown:l}=e,u=Kn(e,ZM),d=C.useRef(null),p=C.useRef(!1),[f,g]=C.useState(!1),v=gh(i),x=gh(l),m=y=>p.current&&!na(y)?!1:(p.current=na(y),!0),S=C.useCallback(y=>{hh(y);var R=na(y)?y.touches.length>0:y.buttons>0;R&&d.current?v&&v(vh(d.current,y),y):g(!1)},[v]),w=C.useCallback(()=>g(!1),[]),$=C.useCallback(y=>{var R=y?window.addEventListener:window.removeEventListener;R(p.current?"touchmove":"mousemove",S),R(p.current?"touchend":"mouseup",w)},[]);C.useEffect(()=>($(f),()=>{f&&$(!1)}),[f,$]);var _=C.useCallback(y=>{hh(y.nativeEvent),m(y.nativeEvent)&&(x&&x(vh(d.current,y.nativeEvent),y.nativeEvent),g(!0))},[x]);return a.jsx("div",_e({},u,{className:[t,o||""].filter(Boolean).join(" "),style:_e({},u.style,{touchAction:"none"}),ref:d,tabIndex:0,onMouseDown:_,onTouchStart:_}))});Wx.displayName="Interactive";const Ux=Wx;var QM=["className","prefixCls","left","top","style","fillProps"],eD=e=>{var{className:n,prefixCls:t,left:o,top:i,style:l,fillProps:u}=e,d=Kn(e,QM),p=_e({},l,{position:"absolute",left:o,top:i}),f=_e({width:18,height:18,boxShadow:"var(--alpha-pointer-box-shadow)",borderRadius:"50%",backgroundColor:"var(--alpha-pointer-background-color)"},u?.style,{transform:o?"translate(-9px, -1px)":"translate(-1px, -9px)"});return a.jsx("div",_e({className:t+"-pointer "+(n||""),style:p},d,{children:a.jsx("div",_e({className:t+"-fill"},u,{style:f}))}))},tD=["prefixCls","className","hsva","background","bgProps","innerProps","pointerProps","radius","width","height","direction","style","onChange","pointer"],nD="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAMUlEQVQ4T2NkYGAQYcAP3uCTZhw1gGGYhAGBZIA/nYDCgBDAm9BGDWAAJyRCgLaBCAAgXwixzAS0pgAAAABJRU5ErkJggg==",Xx=G.forwardRef((e,n)=>{var{prefixCls:t="w-color-alpha",className:o,hsva:i,background:l,bgProps:u={},innerProps:d={},pointerProps:p={},radius:f=0,width:g,height:v=16,direction:x="horizontal",style:m,onChange:S,pointer:w}=e,$=Kn(e,tD),_=H=>{S&&S(_e({},i,{a:x==="horizontal"?H.left:H.top}),H)},y=Hx(Object.assign({},i,{a:1})),R="linear-gradient(to "+(x==="horizontal"?"right":"bottom")+", rgba(244, 67, 54, 0) 0%, "+y+" 100%)",M={};x==="horizontal"?M.left=i.a*100+"%":M.top=i.a*100+"%";var E=_e({"--alpha-background-color":"#fff","--alpha-pointer-background-color":"rgb(248, 248, 248)","--alpha-pointer-box-shadow":"rgb(0 0 0 / 37%) 0px 1px 4px 0px",borderRadius:f,background:"url("+nD+") left center",backgroundColor:"var(--alpha-background-color)"},{width:g,height:v},m,{position:"relative"}),k=w&&typeof w=="function"?w(_e({prefixCls:t},p,M)):a.jsx(eD,_e({},p,{prefixCls:t},M));return a.jsxs("div",_e({},$,{className:[t,t+"-"+x,o||""].filter(Boolean).join(" "),style:E,ref:n,children:[a.jsx("div",_e({},u,{style:_e({inset:0,position:"absolute",background:l||R,borderRadius:f},u.style)})),a.jsx(Ux,_e({},d,{style:_e({},d.style,{inset:0,zIndex:1,position:"absolute"}),onMove:_,onDown:_,children:k}))]}))});Xx.displayName="Alpha";const Vu=Xx;var rD=["prefixCls","placement","label","value","className","style","labelStyle","inputStyle","onChange","onBlur"],oD=e=>/^#?([A-Fa-f0-9]{3,4}){1,2}$/.test(e),sD=e=>Number(String(e).replace(/%/g,"")),qx=G.forwardRef((e,n)=>{var{prefixCls:t="w-color-editable-input",placement:o="bottom",label:i,value:l,className:u,style:d,labelStyle:p,inputStyle:f,onChange:g,onBlur:v}=e,x=Kn(e,rD),[m,S]=C.useState(l),w=C.useRef(!1);C.useEffect(()=>{e.value!==m&&(w.current||S(e.value))},[e.value]);function $(E,k){var H=(k||E.target.value).trim().replace(/^#/,"");oD(H)&&g&&g(E,H);var P=sD(H);isNaN(P)||g&&g(E,P),S(H)}function _(E){w.current=!1,S(e.value),v&&v(E)}var y={};o==="bottom"&&(y.flexDirection="column"),o==="top"&&(y.flexDirection="column-reverse"),o==="left"&&(y.flexDirection="row-reverse");var R=_e({"--editable-input-label-color":"rgb(153, 153, 153)","--editable-input-box-shadow":"rgb(204 204 204) 0px 0px 0px 1px inset","--editable-input-color":"#666",position:"relative",alignItems:"center",display:"flex",fontSize:11},y,d),M=_e({width:"100%",paddingTop:2,paddingBottom:2,paddingLeft:3,paddingRight:3,fontSize:11,background:"transparent",boxSizing:"border-box",border:"none",color:"var(--editable-input-color)",boxShadow:"var(--editable-input-box-shadow)"},f);return a.jsxs("div",{className:[t,u||""].filter(Boolean).join(" "),style:R,children:[a.jsx("input",_e({ref:n,value:m,onChange:$,onBlur:_,autoComplete:"off",onFocus:()=>w.current=!0},x,{style:M})),i&&a.jsx("span",{style:_e({color:"var(--editable-input-label-color)",textTransform:"capitalize"},p),children:i})]})});qx.displayName="EditableInput";const Us=qx;var aD=["prefixCls","className","color","colors","style","rectProps","onChange","addonAfter","addonBefore","rectRender"],Kx=G.forwardRef((e,n)=>{var{prefixCls:t="w-color-swatch",className:o,color:i,colors:l=[],style:u,rectProps:d={},onChange:p,addonAfter:f,addonBefore:g,rectRender:v}=e,x=Kn(e,aD),m=_e({"--swatch-background-color":"rgb(144, 19, 254)",background:"var(--swatch-background-color)",height:15,width:15,marginRight:5,marginBottom:5,cursor:"pointer",position:"relative",outline:"none",borderRadius:2},d.style),S=(w,$)=>{p&&p(ls(w),An(ls(w)),$)};return a.jsxs("div",_e({ref:n},x,{className:[t,o||""].filter(Boolean).join(" "),style:_e({display:"flex",flexWrap:"wrap",position:"relative"},u),children:[g&&G.isValidElement(g)&&g,l&&Array.isArray(l)&&l.map((w,$)=>{var _="",y="";typeof w=="string"&&(_=w,y=w),typeof w=="object"&&w.color&&(_=w.title||w.color,y=w.color);var R=i&&i.toLocaleLowerCase()===y.toLocaleLowerCase(),M=v&&v({title:_,color:y,checked:!!R,style:_e({},m,{background:y}),onClick:k=>S(y,k)});if(M)return a.jsx(C.Fragment,{children:M},$);var E=d.children&&G.isValidElement(d.children)?G.cloneElement(d.children,{color:y,checked:R}):null;return a.jsx("div",_e({tabIndex:0,title:_,onClick:k=>S(y,k)},d,{children:E,style:_e({},m,{background:y})}),$)}),f&&G.isValidElement(f)&&f]}))});Kx.displayName="Swatch";const iD=Kx;function lD(e){if(e==null)throw new TypeError("Cannot destructure "+e)}var cD={marginRight:0,marginBottom:0,borderRadius:0,boxSizing:"border-box",height:25,width:25};function uD(e){var{style:n,title:t,checked:o,color:i,onClick:l,rectProps:u}=e,d=C.useRef(null),p=C.useCallback(()=>{d.current.style.zIndex="2",d.current.style.outline="#fff solid 2px",d.current.style.boxShadow="rgb(0 0 0 / 25%) 0 0 5px 2px"},[]),f=C.useCallback(()=>{o||(d.current.style.zIndex="0",d.current.style.outline="initial",d.current.style.boxShadow="initial")},[o]),g=o?{zIndex:1,outline:"#fff solid 2px",boxShadow:"rgb(0 0 0 / 25%) 0 0 5px 2px"}:{zIndex:0};return a.jsx("div",_e({ref:d,title:t},u,{onClick:l,onMouseEnter:p,onMouseLeave:f,style:_e({},n,{marginRight:0,marginBottom:0,borderRadius:0,boxSizing:"border-box",height:25,width:25},cD,g,u?.style)}))}var dD=["prefixCls","placement","className","style","color","colors","rectProps","onChange","rectRender"],fD=["#B80000","#DB3E00","#FCCB00","#008B02","#006B76","#1273DE","#004DCF","#5300EB","#EB9694","#FAD0C3","#FEF3BD","#C1E1C5","#BEDADC","#C4DEF6","#BED3F3","#D4C4FB"],Mt=function(e){return e.Left="L",e.LeftTop="LT",e.LeftBottom="LB",e.Right="R",e.RightTop="RT",e.RightBottom="RB",e.Top="T",e.TopRight="TR",e.TopLeft="TL",e.Bottom="B",e.BottomLeft="BL",e.BottomRight="BR",e}({}),Yx=G.forwardRef((e,n)=>{var{prefixCls:t="w-color-github",placement:o=Mt.TopRight,className:i,style:l,color:u,colors:d=fD,rectProps:p={},onChange:f,rectRender:g}=e,v=Kn(e,dD),x=typeof u=="string"&&Fd(u)?ls(u):u,m=u?yl(x):"",S=M=>f&&f(An(M)),w=_e({"--github-border":"1px solid rgba(0, 0, 0, 0.2)","--github-background-color":"#fff","--github-box-shadow":"rgb(0 0 0 / 15%) 0px 3px 12px","--github-arrow-border-color":"rgba(0, 0, 0, 0.15)",width:200,borderRadius:4,background:"var(--github-background-color)",boxShadow:"var(--github-box-shadow)",border:"var(--github-border)",position:"relative",padding:5},l),$={borderStyle:"solid",position:"absolute"},_=_e({},$),y=_e({},$);/^T/.test(o)&&(_.borderWidth="0 8px 8px",_.borderColor="transparent transparent var(--github-arrow-border-color)",y.borderWidth="0 7px 7px",y.borderColor="transparent transparent var(--github-background-color)"),o===Mt.TopRight&&(_.top=-8,y.top=-7),o===Mt.Top&&(_.top=-8,y.top=-7),o===Mt.TopLeft&&(_.top=-8,y.top=-7),/^B/.test(o)&&(_.borderWidth="8px 8px 0",_.borderColor="var(--github-arrow-border-color) transparent transparent",y.borderWidth="7px 7px 0",y.borderColor="var(--github-background-color) transparent transparent",o===Mt.BottomRight&&(_.top="100%",y.top="100%"),o===Mt.Bottom&&(_.top="100%",y.top="100%"),o===Mt.BottomLeft&&(_.top="100%",y.top="100%")),/^(B|T)/.test(o)&&((o===Mt.Top||o===Mt.Bottom)&&(_.left="50%",_.marginLeft=-8,y.left="50%",y.marginLeft=-7),(o===Mt.TopRight||o===Mt.BottomRight)&&(_.right=10,y.right=11),(o===Mt.TopLeft||o===Mt.BottomLeft)&&(_.left=7,y.left=8)),/^L/.test(o)&&(_.borderWidth="8px 8px 8px 0",_.borderColor="transparent var(--github-arrow-border-color) transparent transparent",y.borderWidth="7px 7px 7px 0",y.borderColor="transparent var(--github-background-color) transparent transparent",_.left=-8,y.left=-7),/^R/.test(o)&&(_.borderWidth="8px 0 8px 8px",_.borderColor="transparent transparent transparent var(--github-arrow-border-color)",y.borderWidth="7px 0 7px 7px",y.borderColor="transparent transparent transparent var(--github-background-color)",_.right=-8,y.right=-7),/^(L|R)/.test(o)&&((o===Mt.RightTop||o===Mt.LeftTop)&&(_.top=5,y.top=6),(o===Mt.Left||o===Mt.Right)&&(_.top="50%",y.top="50%",_.marginTop=-8,y.marginTop=-7),(o===Mt.LeftBottom||o===Mt.RightBottom)&&(_.top="100%",y.top="100%",_.marginTop=-21,y.marginTop=-20));var R=M=>{var E=_e({},(lD(M),M)),k=g&&g(_e({},E));return k||a.jsx(uD,_e({},E,{rectProps:p}))};return a.jsx(iD,_e({ref:n,className:[t,i].filter(Boolean).join(" "),colors:d,color:m,rectRender:R},v,{onChange:S,style:w,rectProps:{style:{marginRight:0,marginBottom:0,borderRadius:0,height:25,width:25}},addonBefore:a.jsxs(C.Fragment,{children:[a.jsx("div",{style:_}),a.jsx("div",{style:y})]})}))});Yx.displayName="Github";const pD=Yx;var gD=e=>{var{className:n,color:t,left:o,top:i,prefixCls:l}=e,u={position:"absolute",top:i,left:o},d={"--saturation-pointer-box-shadow":"rgb(255 255 255) 0px 0px 0px 1.5px, rgb(0 0 0 / 30%) 0px 0px 1px 1px inset, rgb(0 0 0 / 40%) 0px 0px 1px 2px",width:6,height:6,transform:"translate(-3px, -3px)",boxShadow:"var(--saturation-pointer-box-shadow)",borderRadius:"50%",backgroundColor:t};return C.useMemo(()=>a.jsx("div",{className:l+"-pointer "+(n||""),style:u,children:a.jsx("div",{className:l+"-fill",style:d})}),[i,o,t,n,l])},hD=["prefixCls","radius","pointer","className","hue","style","hsva","onChange"],Jx=G.forwardRef((e,n)=>{var t,{prefixCls:o="w-color-saturation",radius:i=0,pointer:l,className:u,hue:d=0,style:p,hsva:f,onChange:g}=e,v=Kn(e,hD),x=_e({width:200,height:200,borderRadius:i},p,{position:"relative"}),m=(w,$)=>{g&&f&&g({h:f.h,s:w.left*100,v:(1-w.top)*100,a:f.a})},S=C.useMemo(()=>{if(!f)return null;var w={top:100-f.v+"%",left:f.s+"%",color:Hx(f)};return l&&typeof l=="function"?l(_e({prefixCls:o},w)):a.jsx(gD,_e({prefixCls:o},w))},[f,l,o]);return a.jsx(Ux,_e({className:[o,u||""].filter(Boolean).join(" ")},v,{style:_e({position:"absolute",inset:0,cursor:"crosshair",backgroundImage:"linear-gradient(0deg, #000, transparent), linear-gradient(90deg, #fff, hsl("+((t=f?.h)!=null?t:d)+", 100%, 50%))"},x),ref:n,onMove:m,onDown:m,children:S}))});Jx.displayName="Saturation";const mD=Jx;var vD=["prefixCls","className","hue","onChange","direction"],Zx=G.forwardRef((e,n)=>{var{prefixCls:t="w-color-hue",className:o,hue:i=0,onChange:l,direction:u="horizontal"}=e,d=Kn(e,vD);return a.jsx(Vu,_e({ref:n,className:t+" "+(o||"")},d,{direction:u,background:"linear-gradient(to "+(u==="horizontal"?"right":"bottom")+", rgb(255, 0, 0) 0%, rgb(255, 255, 0) 17%, rgb(0, 255, 0) 33%, rgb(0, 255, 255) 50%, rgb(0, 0, 255) 67%, rgb(255, 0, 255) 83%, rgb(255, 0, 0) 100%)",hsva:{h:i,s:100,v:100,a:i/360},onChange:(p,f)=>{l&&l({h:u==="horizontal"?360*f.left:360*f.top})}}))});Zx.displayName="Hue";const xD=Zx;var bD=["prefixCls","hsva","placement","rProps","gProps","bProps","aProps","className","style","onChange"],Qx=G.forwardRef((e,n)=>{var{prefixCls:t="w-color-editable-input-rgba",hsva:o,placement:i="bottom",rProps:l={},gProps:u={},bProps:d={},aProps:p={},className:f,style:g,onChange:v}=e,x=Kn(e,bD),m=o?ja(o):{};function S($){var _=Number($.target.value);_&&_>255&&($.target.value="255"),_&&_<0&&($.target.value="0")}var w=($,_,y)=>{typeof $=="number"&&(_==="a"&&($<0&&($=0),$>100&&($=100),v&&v(An(Gs(_e({},m,{a:$/100}))))),$>255&&($=255,y.target.value="255"),$<0&&($=0,y.target.value="0"),_==="r"&&v&&v(An(Gs(_e({},m,{r:$})))),_==="g"&&v&&v(An(Gs(_e({},m,{g:$})))),_==="b"&&v&&v(An(Gs(_e({},m,{b:$})))))};return a.jsxs("div",_e({ref:n,className:[t,f||""].filter(Boolean).join(" ")},x,{style:_e({fontSize:11,display:"flex"},g),children:[a.jsx(Us,_e({label:"R",value:m.r||0,onBlur:S,placement:i,onChange:($,_)=>w(_,"r",$)},l,{style:_e({},l.style)})),a.jsx(Us,_e({label:"G",value:m.g||0,onBlur:S,placement:i,onChange:($,_)=>w(_,"g",$)},u,{style:_e({marginLeft:5},l.style)})),a.jsx(Us,_e({label:"B",value:m.b||0,onBlur:S,placement:i,onChange:($,_)=>w(_,"b",$)},d,{style:_e({marginLeft:5},d.style)})),p&&a.jsx(Us,_e({label:"A",value:m.a?parseInt(String(m.a*100),10):0,onBlur:S,placement:i,onChange:($,_)=>w(_,"a",$)},p,{style:_e({marginLeft:5},p.style)}))]}))});Qx.displayName="EditableInputRGBA";const eb=Qx;var yD=["prefixCls","hsva","hProps","sProps","lProps","aProps","className","onChange"],tb=G.forwardRef((e,n)=>{var{prefixCls:t="w-color-editable-input-hsla",hsva:o,hProps:i={},sProps:l={},lProps:u={},aProps:d={},className:p,onChange:f}=e,g=Kn(e,yD),v=o?Ld(o):{h:0,s:0,l:0,a:0},x=(m,S,w)=>{typeof m=="number"&&(S==="h"&&(m<0&&(m=0),m>360&&(m=360),f&&f(An(Ws(_e({},v,{h:m}))))),S==="s"&&(m<0&&(m=0),m>100&&(m=100),f&&f(An(Ws(_e({},v,{s:m}))))),S==="l"&&(m<0&&(m=0),m>100&&(m=100),f&&f(An(Ws(_e({},v,{l:m}))))),S==="a"&&(m<0&&(m=0),m>1&&(m=1),f&&f(An(Ws(_e({},v,{a:m}))))))};return a.jsx(eb,_e({ref:n,hsva:o,rProps:_e({label:"H",value:Math.round(v.h)},i,{onChange:(m,S)=>x(S,"h")}),gProps:_e({label:"S",value:Math.round(v.s)+"%"},l,{onChange:(m,S)=>x(S,"s")}),bProps:_e({label:"L",value:Math.round(v.l)+"%"},u,{onChange:(m,S)=>x(S,"l")}),aProps:_e({label:"A",value:Math.round(v.a*100)/100},d,{onChange:(m,S)=>x(S,"a")}),className:[t,p||""].filter(Boolean).join(" ")},g))});tb.displayName="EditableInputHSLA";const wD=tb;var _D=["style"];function SD(e){var{style:n}=e,t=Kn(e,_D),o=C.useRef(null),i=C.useCallback(()=>{o.current.style.backgroundColor="var(--chrome-arrow-background-color)"},[]),l=C.useCallback(()=>{o.current.style.backgroundColor="transparent"},[]);return a.jsx("div",_e({ref:o,style:_e({marginLeft:5,cursor:"pointer",transition:"background-color .3s",borderRadius:2},n)},t,{onMouseEnter:i,onMouseLeave:l,children:a.jsx("svg",{viewBox:"0 0 1024 1024",width:"24",height:"24",style:{display:"block"},children:a.jsx("path",{d:"M373.888 576h276.224c9.322667 0 14.293333 11.178667 9.173333 18.773333l-1.258666 1.557334-138.112 146.858666a10.709333 10.709333 0 0 1-14.293334 1.365334l-1.536-1.365334-138.112-146.858666c-6.592-6.997333-2.666667-18.645333 5.973334-20.16l1.941333-0.170667h276.224-276.224z m146.026667-295.189333l138.112 146.858666c7.04 7.509333 2.069333 20.330667-7.914667 20.330667H373.888c-9.984 0-14.976-12.821333-7.914667-20.330667l138.112-146.858666a10.730667 10.730667 0 0 1 15.829334 0z",fill:"var(--chrome-arrow-fill)"})})}))}var CD=["prefixCls","className","style","color","inputType","rectProps","onChange"],tr=function(e){return e.HEXA="hexa",e.RGBA="rgba",e.HSLA="hsla",e}({}),nb=G.forwardRef((e,n)=>{var{prefixCls:t="w-color-chrome",className:o,style:i,color:l,inputType:u=tr.RGBA,rectProps:d={},onChange:p}=e,f=Kn(e,CD),g=typeof l=="string"&&Fd(l)?ls(l):l||{h:0,s:0,l:0,a:0},v=R=>p&&p(An(R)),[x,m]=C.useState(u),S=()=>{x===tr.RGBA&&m(tr.HSLA),x===tr.HSLA&&m(tr.HEXA),x===tr.HEXA&&m(tr.RGBA)},w={paddingTop:6},$={textAlign:"center",paddingTop:4,paddingBottom:4},_=_e({"--chrome-arrow-fill":"#333","--chrome-arrow-background-color":"#e8e8e8",borderRadius:0,flexDirection:"column",width:230,padding:0},i),y={"--chrome-alpha-box-shadow":"rgb(0 0 0 / 25%) 0px 0px 1px inset",borderRadius:"50%",background:XM(g),boxShadow:"var(--chrome-alpha-box-shadow)"};return a.jsx(pD,_e({ref:n,color:g,style:_,colors:void 0,className:[t,o].filter(Boolean).join(" "),placement:Mt.TopLeft},f,{addonAfter:a.jsxs(C.Fragment,{children:[a.jsx(mD,{hsva:g,style:{width:"100%",height:130},onChange:R=>{v(_e({},g,R,{a:g.a}))}}),a.jsxs("div",{style:{padding:15,display:"flex",alignItems:"center"},children:[a.jsx(Vu,{width:24,height:24,hsva:g,radius:2,style:{marginRight:15,borderRadius:"50%"},bgProps:{style:{background:"transparent"}},innerProps:{style:y},pointer:()=>a.jsx(C.Fragment,{})}),a.jsxs("div",{style:{flex:1},children:[a.jsx(xD,{hue:g.h,style:{width:"100%"},bgProps:{style:{borderRadius:2}},onChange:R=>{v(_e({},g,R))}}),a.jsx(Vu,{hsva:g,style:{marginTop:10},bgProps:{style:{borderRadius:2}},onChange:R=>{v(_e({},g,R))}})]})]}),a.jsxs("div",{style:{display:"flex",alignItems:"flex-start",padding:"0 15px 15px 15px",userSelect:"none"},children:[a.jsxs("div",{style:{flex:1},children:[x==tr.RGBA&&a.jsx(eb,{hsva:g,rProps:{labelStyle:w,inputStyle:$},gProps:{labelStyle:w,inputStyle:$},bProps:{labelStyle:w,inputStyle:$},aProps:{labelStyle:w,inputStyle:$},onChange:R=>v(R.hsva)}),x===tr.HEXA&&a.jsx(Us,{label:"HEX",labelStyle:w,inputStyle:$,value:g.a>0&&g.a<1?YM(g).toLocaleUpperCase():yl(g).toLocaleUpperCase(),onChange:(R,M)=>{typeof M=="string"&&v(ls(/^#/.test(M)?M:"#"+M))}}),x===tr.HSLA&&a.jsx(wD,{hsva:g,hProps:{labelStyle:w,inputStyle:$},sProps:{labelStyle:w,inputStyle:$},lProps:{labelStyle:w,inputStyle:$},aProps:{labelStyle:w,inputStyle:$},onChange:R=>v(R.hsva)})]}),a.jsx(SD,{onClick:S})]})]}),rectRender:()=>a.jsx(C.Fragment,{})}))});nb.displayName="Chrome";const jD=nb,ND="mx-1 p-0 w-auto rounded-md overflow-hidden ring-muted-foreground/50 ring-1 ring-offset-1 ring-offset-background isolate z-50",RD="![--github-background-color:hsla(var(--muted)/.7)]",$D="![--github-border:none] [&>div]:[--github-background-color:transparent] [&>div]:[--github-arrow-border-color:transparent]",ED="[&_.w-color-saturation-fill]:!size-4 [&_.w-color-saturation-fill]:!-translate-x-2 [&_.w-color-saturation-fill]:!-translate-y-2";function Gu({className:e,color:n,onColorChange:t,...o}){const i=Ws(n);return a.jsxs(id,{children:[a.jsx(ld,{asChild:!0,children:a.jsx("button",{className:_t("size-12 flex-shrink-0 rounded border",e),style:{backgroundColor:yl(i)},...o})}),a.jsx(il,{className:ND,children:a.jsx(jD,{color:i,onChange:t,inputType:tr.HEXA,className:`${RD} ${$D} ${ED}`})})]})}function PD(){const[e,n]=C.useState(An("#2719D5").hsla),[t,o]=C.useState(An("#FFA121").hsla);return a.jsx("div",{children:a.jsxs("div",{className:"flex flex-col gap-1",children:[a.jsx(Gu,{color:e,onColorChange:i=>{n(i.hsla)}}),a.jsx(Gu,{color:t,onColorChange:i=>{o(i.hsla)}})]})})}const AD=["#e2e2e2","#ff75c3","#ffa647","#ffe83f","#9fff5b","#70e2ff","#cd93ff","#09203f"];function MD({background:e,setBackground:n}){return a.jsx(Ye,{value:"solid",className:"mt-0 flex flex-wrap gap-1",children:AD.map(t=>a.jsx("div",{style:{background:t},className:"h-6 w-6 cursor-pointer rounded-md active:scale-105",onClick:()=>n(t)},t))})}const rb=({background:e,children:n})=>a.jsx("div",{className:"relative rounded-md !bg-cover !bg-center p-0.5 transition-all",style:{background:e},children:a.jsx("div",{className:"rounded-md bg-popover/80 p-1 text-center text-xs",children:n})}),DD=["linear-gradient(to bottom right,#accbee,#e7f0fd)","linear-gradient(to bottom right,#d5d4d0,#d5d4d0,#eeeeec)","linear-gradient(to bottom right,#000000,#434343)","linear-gradient(to bottom right,#09203f,#537895)","linear-gradient(to bottom right,#ac32e4,#7918f2,#4801FF)","linear-gradient(to bottom right,#f953c6,#b91d73)","linear-gradient(to bottom right,#ee0979,#ff6a00)","linear-gradient(to bottom right,#f00000,#dc281e)","linear-gradient(to bottom right,#00c6ff,#0072ff)","linear-gradient(to bottom right,#4facfe,#00f2fe)","linear-gradient(to bottom right,#0ba360,#3cba92)","linear-gradient(to bottom right,#fdfc47,#24fe41)","linear-gradient(to bottom right,#8a2be2,#0000cd,#228b22,#ccff00)","linear-gradient(to bottom right,#40e0d0,#ff8c00,#ff0080)","linear-gradient(to bottom right,#fcc5e4,#fda34b,#ff7882,#c8699e,#7046aa,#0c1db8,#020f75)","linear-gradient(to bottom right,#ff75c3,#ffa647,#ffe83f,#9fff5b,#70e2ff,#cd93ff)"];function TD({background:e,setBackground:n}){return a.jsxs(Ye,{value:"gradient",className:"mt-0",children:[a.jsx("div",{className:"mb-2 flex flex-wrap gap-1",children:DD.map(t=>a.jsx("div",{style:{background:t},className:"h-6 w-6 cursor-pointer rounded-md active:scale-105",onClick:()=>n(t)},t))}),a.jsxs(rb,{background:e,children:["💡 Get more at"," ",a.jsx("a",{href:"https://gradient.page/css/ui-gradients",className:"font-bold hover:underline",target:"_blank",children:"GradientPage"})]})]})}const ID=""+new URL("1_beautiful-blue-001-BN32iEVL.jpg",import.meta.url).href,kD=""+new URL("2_pretty-in-pink-005-iM5RfYRQ.jpg",import.meta.url).href,LD=""+new URL("3_vibrant-vista-004-wMjFmYoa.jpg",import.meta.url).href,FD=""+new URL("4_deep-dusk-003-3xvTILTq.jpg",import.meta.url).href,OD=[`url(${ID})`,`url(${kD})`,`url(${LD})`,`url(${FD})`];function zD({background:e,setBackground:n}){return a.jsxs(Ye,{value:"image",className:"mt-0",children:[a.jsx("div",{className:"mb-2 grid grid-cols-2 gap-1",children:OD.map(t=>a.jsx("div",{style:{backgroundImage:t},className:"h-12 w-full cursor-pointer rounded-md bg-cover bg-center active:scale-105",onClick:()=>n(t)},t))}),a.jsxs(rb,{background:e,children:["🔓 Get more"," ",a.jsx("a",{href:"https://gradient.page/wallpapers",className:"font-bold hover:underline",target:"_blank",children:"wallpapers"}),a.jsx("br",{}),a.jsxs("div",{className:"text-[10px]",children:["App dev? Refer ",a.jsx("a",{href:"https://gradient.page/affiliate",className:"font-bold hover:underline",target:"_blank",children:"GradientPage"}),", get 80%"]})]})]})}function BD({background:e,className:n}){return a.jsx(ld,{asChild:!0,children:a.jsx(dt,{variant:"outline",className:X("w-[220px] justify-start text-left font-normal",!e&&"text-muted-foreground",n),children:a.jsxs("div",{className:"flex w-full items-center gap-2",children:[e?a.jsx("div",{className:"h-4 w-4 rounded !bg-cover !bg-center transition-all",style:{background:e}}):a.jsx(G0,{className:"h-4 w-4"}),a.jsx("div",{className:"flex-1 truncate",children:e||"Pick a color"})]})})})}function HD({background:e,setBackground:n,className:t}){const o=C.useMemo(()=>e.includes("url")?"image":e.includes("gradient")?"gradient":"solid",[e]);return a.jsxs(id,{children:[a.jsx(BD,{className:t,background:e}),a.jsxs(il,{className:"w-64",children:[a.jsxs(Po,{defaultValue:o,className:"w-full",children:[a.jsxs(ao,{className:"mb-4 w-full",children:[a.jsx(Ke,{className:"flex-1",value:"solid",children:"Solid"}),a.jsx(Ke,{className:"flex-1",value:"gradient",children:"Gradient"}),a.jsx(Ke,{className:"flex-1",value:"image",children:"Image"})]}),a.jsx(MD,{background:e,setBackground:n}),a.jsx(TD,{background:e,setBackground:n}),a.jsx(zD,{background:e,setBackground:n})]}),a.jsx(aa,{className:"col-span-2 mt-4 h-8",value:e,onChange:i=>n(i.currentTarget.value)})]})]})}const VD="linear-gradient(to right, #283048,#859398 )";function GD(){const[e,n]=C.useState(VD);return a.jsx("div",{className:"preview flex items-center justify-center rounded !bg-cover !bg-center p-10 transition-all",style:{background:e},children:a.jsx(HD,{background:e,setBackground:n})})}var WD={grad:.9,turn:360,rad:360/(2*Math.PI)},$r=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},Bt=function(e,n,t){return n===void 0&&(n=0),t===void 0&&(t=Math.pow(10,n)),Math.round(t*e)/t+0},qn=function(e,n,t){return n===void 0&&(n=0),t===void 0&&(t=1),e>t?t:e>n?e:n},ob=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},xh=function(e){return{r:qn(e.r,0,255),g:qn(e.g,0,255),b:qn(e.b,0,255),a:qn(e.a)}},uu=function(e){return{r:Bt(e.r),g:Bt(e.g),b:Bt(e.b),a:Bt(e.a,3)}},UD=/^#([0-9a-f]{3,8})$/i,Ti=function(e){var n=e.toString(16);return n.length<2?"0"+n:n},sb=function(e){var n=e.r,t=e.g,o=e.b,i=e.a,l=Math.max(n,t,o),u=l-Math.min(n,t,o),d=u?l===n?(t-o)/u:l===t?2+(o-n)/u:4+(n-t)/u:0;return{h:60*(d<0?d+6:d),s:l?u/l*100:0,v:l/255*100,a:i}},ab=function(e){var n=e.h,t=e.s,o=e.v,i=e.a;n=n/360*6,t/=100,o/=100;var l=Math.floor(n),u=o*(1-t),d=o*(1-(n-l)*t),p=o*(1-(1-n+l)*t),f=l%6;return{r:255*[o,d,u,u,p,o][f],g:255*[p,o,o,d,u,u][f],b:255*[u,u,p,o,o,d][f],a:i}},bh=function(e){return{h:ob(e.h),s:qn(e.s,0,100),l:qn(e.l,0,100),a:qn(e.a)}},yh=function(e){return{h:Bt(e.h),s:Bt(e.s),l:Bt(e.l),a:Bt(e.a,3)}},wh=function(e){return ab((t=(n=e).s,{h:n.h,s:(t*=((o=n.l)<50?o:100-o)/100)>0?2*t/(o+t)*100:0,v:o+t,a:n.a}));var n,t,o},ra=function(e){return{h:(n=sb(e)).h,s:(i=(200-(t=n.s))*(o=n.v)/100)>0&&i<200?t*o/100/(i<=100?i:200-i)*100:0,l:i/2,a:n.a};var n,t,o,i},XD=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,qD=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,KD=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,YD=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Wu={string:[[function(e){var n=UD.exec(e);return n?(e=n[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?Bt(parseInt(e[3]+e[3],16)/255,2):1}:e.length===6||e.length===8?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:e.length===8?Bt(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var n=KD.exec(e)||YD.exec(e);return n?n[2]!==n[4]||n[4]!==n[6]?null:xh({r:Number(n[1])/(n[2]?100/255:1),g:Number(n[3])/(n[4]?100/255:1),b:Number(n[5])/(n[6]?100/255:1),a:n[7]===void 0?1:Number(n[7])/(n[8]?100:1)}):null},"rgb"],[function(e){var n=XD.exec(e)||qD.exec(e);if(!n)return null;var t,o,i=bh({h:(t=n[1],o=n[2],o===void 0&&(o="deg"),Number(t)*(WD[o]||1)),s:Number(n[3]),l:Number(n[4]),a:n[5]===void 0?1:Number(n[5])/(n[6]?100:1)});return wh(i)},"hsl"]],object:[[function(e){var n=e.r,t=e.g,o=e.b,i=e.a,l=i===void 0?1:i;return $r(n)&&$r(t)&&$r(o)?xh({r:Number(n),g:Number(t),b:Number(o),a:Number(l)}):null},"rgb"],[function(e){var n=e.h,t=e.s,o=e.l,i=e.a,l=i===void 0?1:i;if(!$r(n)||!$r(t)||!$r(o))return null;var u=bh({h:Number(n),s:Number(t),l:Number(o),a:Number(l)});return wh(u)},"hsl"],[function(e){var n=e.h,t=e.s,o=e.v,i=e.a,l=i===void 0?1:i;if(!$r(n)||!$r(t)||!$r(o))return null;var u=function(d){return{h:ob(d.h),s:qn(d.s,0,100),v:qn(d.v,0,100),a:qn(d.a)}}({h:Number(n),s:Number(t),v:Number(o),a:Number(l)});return ab(u)},"hsv"]]},_h=function(e,n){for(var t=0;t=.5},e.prototype.toHex=function(){return n=uu(this.rgba),t=n.r,o=n.g,i=n.b,u=(l=n.a)<1?Ti(Bt(255*l)):"","#"+Ti(t)+Ti(o)+Ti(i)+u;var n,t,o,i,l,u},e.prototype.toRgb=function(){return uu(this.rgba)},e.prototype.toRgbString=function(){return n=uu(this.rgba),t=n.r,o=n.g,i=n.b,(l=n.a)<1?"rgba("+t+", "+o+", "+i+", "+l+")":"rgb("+t+", "+o+", "+i+")";var n,t,o,i,l},e.prototype.toHsl=function(){return yh(ra(this.rgba))},e.prototype.toHslString=function(){return n=yh(ra(this.rgba)),t=n.h,o=n.s,i=n.l,(l=n.a)<1?"hsla("+t+", "+o+"%, "+i+"%, "+l+")":"hsl("+t+", "+o+"%, "+i+"%)";var n,t,o,i,l},e.prototype.toHsv=function(){return n=sb(this.rgba),{h:Bt(n.h),s:Bt(n.s),v:Bt(n.v),a:Bt(n.a,3)};var n},e.prototype.invert=function(){return Er({r:255-(n=this.rgba).r,g:255-n.g,b:255-n.b,a:n.a});var n},e.prototype.saturate=function(n){return n===void 0&&(n=.1),Er(du(this.rgba,n))},e.prototype.desaturate=function(n){return n===void 0&&(n=.1),Er(du(this.rgba,-n))},e.prototype.grayscale=function(){return Er(du(this.rgba,-1))},e.prototype.lighten=function(n){return n===void 0&&(n=.1),Er(Sh(this.rgba,n))},e.prototype.darken=function(n){return n===void 0&&(n=.1),Er(Sh(this.rgba,-n))},e.prototype.rotate=function(n){return n===void 0&&(n=15),this.hue(this.hue()+n)},e.prototype.alpha=function(n){return typeof n=="number"?Er({r:(t=this.rgba).r,g:t.g,b:t.b,a:n}):Bt(this.rgba.a,3);var t},e.prototype.hue=function(n){var t=ra(this.rgba);return typeof n=="number"?Er({h:n,s:t.s,l:t.l,a:t.a}):Bt(t.h)},e.prototype.isEqual=function(n){return this.toHex()===Er(n).toHex()},e}(),Er=function(e){return e instanceof Un?e:new Un(e)},Ch=[],ZD=function(e){e.forEach(function(n){Ch.indexOf(n)<0&&(n(Un,Wu),Ch.push(n))})},pu=function(e){var n=e/255;return n<.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)},gu=function(e){return .2126*pu(e.r)+.7152*pu(e.g)+.0722*pu(e.b)};function QD(e){e.prototype.luminance=function(){return n=gu(this.rgba),(t=2)===void 0&&(t=0),o===void 0&&(o=Math.pow(10,t)),Math.round(o*n)/o+0;var n,t,o},e.prototype.contrast=function(n){n===void 0&&(n="#FFF");var t,o,i,l,u,d,p,f=n instanceof e?n:new e(n);return l=this.rgba,u=f.toRgb(),d=gu(l),p=gu(u),t=d>p?(d+.05)/(p+.05):(p+.05)/(d+.05),(o=2)===void 0&&(o=0),i===void 0&&(i=Math.pow(10,o)),Math.floor(i*t)/i+0},e.prototype.isReadable=function(n,t){return n===void 0&&(n="#FFF"),t===void 0&&(t={}),this.contrast(n)>=(d=(u=(o=t).size)===void 0?"normal":u,(l=(i=o.level)===void 0?"AA":i)==="AAA"&&d==="normal"?7:l==="AA"&&d==="large"?3:4.5);var o,i,l,u,d}}function e8(e){var n={analogous:[-30,0,30],complementary:[0,180],"double-split-complementary":[-30,0,30,150,210],rectangle:[0,60,180,240],tetradic:[0,90,180,270],triadic:[0,120,240],"split-complementary":[0,150,210]};e.prototype.harmonies=function(t){var o=this;return t===void 0&&(t="complementary"),n[t].map(function(i){return o.rotate(i)})}}ZD([QD,e8]);const Je={number:{int:e=>Math.floor(Math.random()*(e.max-e.min+1))+e.min,float:e=>Math.random()*(e.max-e.min)+e.min},datatype:{boolean:()=>Math.random()<.5},helpers:{arrayElement:e=>e[Math.floor(Math.random()*e.length)]}};function t8(){return{h:Je.number.int({min:0,max:360}),s:Je.number.int({min:0,max:100}),l:Je.number.int({min:10,max:90})}}function n8(e){return{h:e,s:Je.number.int({min:30,max:70}),l:Je.number.int({min:98,max:100})}}function r8(e){return{h:e,s:Je.number.int({min:30,max:60}),l:Je.number.int({min:0,max:4})}}function o8(e){return{h:e,s:Je.number.int({min:50,max:80}),l:Je.number.int({min:0,max:5})}}function s8(e){return{h:e,s:Je.number.int({min:10,max:40}),l:Je.number.int({min:97,max:100})}}function a8(){return new Un({h:Je.number.int({min:0,max:22}),s:Je.number.int({min:80,max:100}),l:Je.number.int({min:20,max:45})})}const i8=["complementary","triadic","analogous","slick"];function jh(e,n,t,o){switch(n){case"triadic":{const[,i,l]=e.harmonies(n);if(!i||!l)throw new Error("Failed to create harmony");return{secondary:i,accent:l}}case"complementary":{const[,i]=e.harmonies(n);if(!i)throw new Error("Failed to create harmony");return{secondary:i,accent:i}}case"analogous":{const[i,,l]=e.harmonies(n);if(!i||!l)throw new Error("Failed to create harmony");return{secondary:i,accent:l}}case"slick":if(o){const i=Je.number.int({min:0,max:20}),l=Je.number.int({min:8,max:20}),u=new Un({h:e.hue(),s:i,l});return{secondary:u,accent:t?u:u.saturate(Je.number.float({min:.05,max:.1})).lighten(Je.number.float({min:.05,max:.1}))}}else{const i=Je.number.int({min:0,max:20}),l=Je.number.int({min:80,max:92}),u=new Un({h:e.hue(),s:i,l});return{secondary:u,accent:t?u:u.darken(Je.number.float({min:.05,max:.1})).saturate(Je.number.float({min:.05,max:.1}))}}default:{const i=n;throw new Error(`Invalid mode ${i}`)}}}function Yr(e){const n=e.isLight();let t=e,o=0;for(;t.contrast(e)<6&&(t=n?t.darken(.2):t.lighten(.2),!(o++>10)););return t}function kt(e){const n=e.toHsl();return{h:n.h,s:n.s,l:n.l}}function Od(e){const n=new Un(e??t8()),t=n,o=n,i=kt(t),l=kt(o),u=kt(Yr(t)),d=kt(Yr(o)),p=r8(n.hue()),f=n8(n.hue()),g=s8(n.hue()),v=o8(n.hue()),x=Je.datatype.boolean(),m=x?kt(new Un(f).darken(.01)):f,S=x?kt(new Un(p).lighten(.01)):p,w=x?kt(new Un(v).darken(.01)):v,$=x?kt(new Un(g).lighten(.01)):g,_=Je.datatype.boolean(),y=_?m:f,R=_?S:p,M=_?w:v,E=_?$:g,k=Je.helpers.arrayElement(i8),H=Je.datatype.boolean(),P=jh(t,k,H,!1),D=kt(P.secondary),I=kt(Yr(P.secondary)),L=kt(P.accent),F=kt(Yr(P.accent)),Z=jh(o,k,H,!0),V=kt(Z.secondary),J=kt(Yr(Z.secondary)),de=kt(Z.accent),ge=kt(Yr(Z.accent)),ce=a8(),ue=kt(ce),K={h:ue.h,s:ue.s,l:Je.number.int({min:45,max:60})},ne=kt(Yr(ce)),U=kt(Yr(new Un(K))),q={s:Je.number.int({min:5,max:40}),l:Je.number.int({min:0,max:10})},ie={h:D.h,s:q.s,l:85+q.l},pe={h:V.h,s:q.s,l:15-q.l},Y={s:Je.number.int({min:0,max:15}),l:Je.number.int({min:0,max:15})},be={h:ie.h,s:Y.s,l:25+Y.l},B={h:pe.h,s:Y.s,l:75-Y.l},se={s:Je.number.int({min:2,max:15}),l:Je.number.int({min:5,max:10})},fe={h:f.h,s:se.s,l:f.l-se.l},le={h:p.h,s:se.s,l:Je.number.int({min:10,max:15})};return{light:{background:f,foreground:v,card:m,cardForeground:w,popover:y,popoverForeground:M,primary:i,primaryForeground:u,secondary:D,secondaryForeground:I,accent:L,accentForeground:F,destructive:ue,destructiveForeground:ne,muted:ie,mutedForeground:be,border:fe,input:fe,ring:i},dark:{background:p,foreground:g,card:S,cardForeground:$,popover:R,popoverForeground:E,primary:l,primaryForeground:d,secondary:V,secondaryForeground:J,accent:de,accentForeground:ge,destructive:K,destructiveForeground:U,muted:pe,mutedForeground:B,border:le,input:le,ring:l}}}const l8=Object.freeze(Object.defineProperty({__proto__:null,createThemeConfig:Od},Symbol.toStringTag,{value:"Module"}));function ib(){const{theme:e}=Tr(lt);return e}const c8=()=>ib(),lb=Ad(Od());function wl(){return Tu(lb)}function cb(){const e=c8(),n=$x(lb);return e?n[e]:null}function ub({label:e,themeKey:n}){const t=ib(),o=wl(),i=cb();if(!i)return null;const l=i[n];function u(d,p){if(!t)return;const f={...i,[d]:p};o(g=>({...g,[t]:f}))}return a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(Gu,{color:{...l,a:1},onColorChange:d=>{const p=d.hsl,f=Number(p.h.toFixed(2)),g=Number(p.s.toFixed(2)),v=Number(p.l.toFixed(2));u(n,{h:f,s:g,l:v})},className:"size-6"}),a.jsx(Xi,{className:"flex-shrink-0",children:e})]})}function u8(){return a.jsx("div",{className:"flex flex-col gap-3 py-4",children:d8.map(({label:e,themeKey:n})=>a.jsx(ub,{label:e,themeKey:n},n))})}const d8=[{label:"Background",themeKey:"background"},{label:"Foreground",themeKey:"foreground"},{label:"Card",themeKey:"card"},{label:"Card Foreground",themeKey:"cardForeground"},{label:"Popover",themeKey:"popover"},{label:"Popover Foreground",themeKey:"popoverForeground"},{label:"Primary",themeKey:"primary"},{label:"Primary Foreground",themeKey:"primaryForeground"},{label:"Secondary",themeKey:"secondary"},{label:"Secondary Foreground",themeKey:"secondaryForeground"},{label:"Muted",themeKey:"muted"},{label:"Muted Foreground",themeKey:"mutedForeground"},{label:"Accent",themeKey:"accent"},{label:"Accent Foreground",themeKey:"accentForeground"},{label:"Destructive",themeKey:"destructive"},{label:"Destructive Foreground",themeKey:"destructiveForeground"},{label:"Border",themeKey:"border"},{label:"Input",themeKey:"input"},{label:"Ring",themeKey:"ring"}];var f8=function(e,n,t){if(t||arguments.length===2)for(var o=0,i=n.length,l;o{const n=e.split(/\r?\n/),t=g8(m8),o=[],i=[];let l=0,u=!1;for(const d of n){d.includes(".dark")&&(u=!0),d.includes("}")&&(u=!1);const p=d.trim();if(p.startsWith("--")){const[f,g]=p.split(":");if(!f){l++;continue}const v=t[f.replace("--","")];if(!v)continue;if(!g){l++;continue}const x=g.trim().replace(";","").replaceAll("%","").split(" ");if(x.length!==3){l++;continue}const[m,S,w]=x;if(!m||!S||!w){l++;continue}const $=Number(m),_=Number(S),y=Number(w);if(isNaN($)||isNaN(_)||isNaN(y)){l++;continue}const R={h:$,s:_,l:y};if(u){i.push([v,R]);continue}o.push([v,R])}}return{light:tl.strict(o),dark:tl.strict(i),errors:l}};function x8(){return typeof navigator>"u"?!1:navigator.platform.toUpperCase().indexOf("MAC")>=0}function b8(){const e=wl(),n=C.useCallback(t=>{const o=v8(t);e(i=>({dark:{...i.dark,...o.dark},light:{...i.light,...o.light}})),o.errors>0?Pu.warning("Some values were invalid and were not pasted."):Pu.success("Theme pasted successfully! 🎉")},[e]);return C.useEffect(()=>{function t(o){const i=o?.clipboardData?.getData("text");i&&n(i)}return window.addEventListener("paste",t),()=>{window.removeEventListener("paste",t)}},[n]),a.jsxs("div",{className:"flex flex-col items-center border border-dotted px-2 py-4 text-center",children:[a.jsx("p",{className:"text-sm",children:"Paste existing theme"}),a.jsxs("p",{className:"mx-auto flex rounded-pill font-mono text-sm text-muted-foreground",children:[x8()?"⌘":"Ctrl"," + V"]})]})}function y8(){const e=cb(),n=wl();return e?a.jsxs("div",{className:"border border-dotted px-2 py-4",children:[a.jsx("p",{className:"text-sm font-medium",children:"Generate theme"}),a.jsx("p",{className:"text-xs text-muted-foreground",children:"Based on the primary color"}),a.jsxs("div",{className:"flex items-center justify-between gap-1 py-2",children:[a.jsx(ub,{label:"Primary",themeKey:"primary"}),a.jsx(dt,{className:"h-auto px-4 py-1 text-sm",onClick:()=>n(Od(e.primary)),children:"Generate"})]})]}):null}function w8(){return a.jsxs(a.Fragment,{children:[a.jsx("p",{className:"text-lg font-semibold leading-none tracking-tight",children:"Customize Theme"}),a.jsx(cl,{className:"my-4 h-72",children:a.jsx(u8,{})}),a.jsx("div",{children:a.jsx(b8,{})}),a.jsx("div",{className:"pt-8",children:a.jsx(y8,{})})]})}function _8(){return a.jsxs(id,{children:[a.jsx(ld,{asChild:!0,children:a.jsxs(dt,{variant:"outline",children:[a.jsx(G0,{className:"size-4"}),a.jsx("span",{className:"sr-only",children:"Customize"})]})}),a.jsxs(il,{className:"w-auto min-w-96 max-h-[720px] bg-muted overflow-auto smallscroll",children:[" ",a.jsx(w8,{})]})]})}const S8="modulepreload",C8=function(e,n){return new URL(e,n).href},Nh={},j8=function(n,t,o){let i=Promise.resolve();if(t&&t.length>0){const l=document.getElementsByTagName("link");i=Promise.all(t.map(u=>{if(u=C8(u,o),u in Nh)return;Nh[u]=!0;const d=u.endsWith(".css"),p=d?'[rel="stylesheet"]':"";if(!!o)for(let v=l.length-1;v>=0;v--){const x=l[v];if(x.href===u&&(!d||x.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${p}`))return;const g=document.createElement("link");if(g.rel=d?"stylesheet":S8,d||(g.as="script",g.crossOrigin=""),g.href=u,document.head.appendChild(g),d)return new Promise((v,x)=>{g.addEventListener("load",v),g.addEventListener("error",()=>x(new Error(`Unable to preload CSS for ${u}`)))})}))}return i.then(()=>n()).catch(l=>{const u=new Event("vite:preloadError",{cancelable:!0});if(u.payload=l,window.dispatchEvent(u),!u.defaultPrevented)throw l})},N8=({className:e})=>{const n=wl();return a.jsxs(f5,{children:[a.jsx(p5,{asChild:!0,children:a.jsx(dt,{asChild:!0,variant:"outline",className:_t(e),children:a.jsxs("button",{onClick:async()=>{const t=(await j8(()=>Promise.resolve().then(()=>l8),void 0,import.meta.url)).createThemeConfig,o=t();n(o)},className:"flex items-center gap-2",children:[a.jsx(n5,{className:"size-4"}),"Random Theme"]})})}),a.jsx(U0,{children:"Generate Random theme"})]})};var db={exports:{}},Xs={exports:{}};/** + */function gh(e,n){return e?D4(e)?C.createElement(e,n):e:null}function D4(e){return T4(e)||typeof e=="function"||k4(e)}function T4(e){return typeof e=="function"&&(()=>{const n=Object.getPrototypeOf(e);return n.prototype&&n.prototype.isReactComponent})()}function k4(e){return typeof e=="object"&&typeof e.$$typeof=="symbol"&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}function I4(e){const n={state:{},onStateChange:()=>{},renderFallbackValue:null,...e},[t]=C.useState(()=>({current:S4(n)})),[o,i]=C.useState(()=>t.current.initialState);return t.current.setOptions(l=>({...l,...e,state:{...o,...e.state},onStateChange:u=>{i(u),e.onStateChange==null||e.onStateChange(u)}})),t.current}const L4=[{id:"m5gr84i9",amount:316,status:"success",email:"ken99@yahoo.com"},{id:"3u1reuv4",amount:242,status:"success",email:"Abe45@gmail.com"},{id:"derv1ws0",amount:837,status:"processing",email:"Monserrat44@gmail.com"},{id:"5kma53ae",amount:874,status:"success",email:"Silas22@gmail.com"},{id:"bhqecj4p",amount:721,status:"failed",email:"carmella@hotmail.com"}],hh=[{id:"select",header:({table:e})=>a.jsx(os,{checked:e.getIsAllPageRowsSelected()||e.getIsSomePageRowsSelected()&&"indeterminate",onCheckedChange:n=>e.toggleAllPageRowsSelected(!!n),"aria-label":"Select all"}),cell:({row:e})=>a.jsx(os,{checked:e.getIsSelected(),onCheckedChange:n=>e.toggleSelected(!!n),"aria-label":"Select row"}),enableSorting:!1,enableHiding:!1},{accessorKey:"status",header:"Status",cell:({row:e})=>a.jsx("div",{className:"capitalize",children:e.getValue("status")})},{accessorKey:"email",header:({column:e})=>a.jsxs(ft,{variant:"ghost",onClick:()=>e.toggleSorting(e.getIsSorted()==="asc"),children:["Email",a.jsx(_m,{className:"ml-2 h-4 w-4"})]}),cell:({row:e})=>a.jsx("div",{className:"lowercase",children:e.getValue("email")})},{accessorKey:"amount",header:()=>a.jsx("div",{className:"text-right",children:"Amount"}),cell:({row:e})=>{const n=parseFloat(e.getValue("amount")),t=new Intl.NumberFormat("en-US",{style:"currency",currency:"USD"}).format(n);return a.jsx("div",{className:"text-right font-medium",children:t})}},{id:"actions",enableHiding:!1,cell:({row:e})=>{const n=e.original;return a.jsxs(cd,{children:[a.jsx(ud,{asChild:!0,children:a.jsxs(ft,{className:"h-8 w-8 p-0",variant:"ghost",children:[a.jsx("span",{className:"sr-only",children:"Open menu"}),a.jsx(f0,{className:"h-4 w-4"})]})}),a.jsxs(ll,{align:"end",children:[a.jsx($0,{children:"Actions"}),a.jsx(qs,{onClick:()=>navigator.clipboard.writeText(n.id),children:"Copy payment ID"}),a.jsx(E0,{}),a.jsx(qs,{children:"View customer"}),a.jsx(qs,{children:"View payment details"})]})]})}}];function F4(){const[e,n]=C.useState([]),[t,o]=C.useState([]),[i,l]=C.useState({}),[u,d]=C.useState({}),p=I4({data:L4,columns:hh,onSortingChange:n,onColumnFiltersChange:o,getCoreRowModel:j4(),getPaginationRowModel:M4(),getSortedRowModel:P4(),getFilteredRowModel:E4(),onColumnVisibilityChange:l,onRowSelectionChange:d,state:{sorting:e,columnFilters:t,columnVisibility:i,rowSelection:u}});return a.jsxs("div",{className:"w-full",children:[a.jsxs("div",{className:"flex items-center py-4",children:[a.jsx(aa,{className:"max-w-sm",placeholder:"Filter emails...",value:p.getColumn("email")?.getFilterValue()??"",onChange:f=>p.getColumn("email")?.setFilterValue(f.target.value)}),a.jsxs(cd,{children:[a.jsx(ud,{asChild:!0,children:a.jsxs(ft,{className:"ml-auto",variant:"outline",children:["Columns",a.jsx(nd,{className:"ml-2 h-4 w-4"})]})}),a.jsx(ll,{align:"end",children:p.getAllColumns().filter(f=>f.getCanHide()).map(f=>a.jsx(R0,{className:"capitalize",checked:f.getIsVisible(),onCheckedChange:g=>f.toggleVisibility(!!g),children:f.id},f.id))})]})]}),a.jsx("div",{className:"rounded-md border",children:a.jsxs(vd,{children:[a.jsx(xd,{children:p.getHeaderGroups().map(f=>a.jsx(No,{children:f.headers.map(g=>a.jsx(Qo,{children:g.isPlaceholder?null:gh(g.column.columnDef.header,g.getContext())},g.id))},f.id))}),a.jsx(bd,{children:p.getRowModel().rows?.length?p.getRowModel().rows.map(f=>a.jsx(No,{"data-state":f.getIsSelected()&&"selected",children:f.getVisibleCells().map(g=>a.jsx(Dr,{children:gh(g.column.columnDef.cell,g.getContext())},g.id))},f.id)):a.jsx(No,{children:a.jsx(Dr,{className:"h-24 text-center",colSpan:hh.length,children:"No results."})})})]})}),a.jsxs("div",{className:"flex items-center justify-end space-x-2 py-4",children:[a.jsxs("div",{className:"flex-1 text-sm text-muted-foreground",children:[p.getFilteredSelectedRowModel().rows.length," of"," ",p.getFilteredRowModel().rows.length," row(s) selected."]}),a.jsxs("div",{className:"space-x-2",children:[a.jsx(ft,{variant:"outline",size:"sm",onClick:()=>p.previousPage(),disabled:!p.getCanPreviousPage(),children:"Previous"}),a.jsx(ft,{variant:"outline",size:"sm",onClick:()=>p.nextPage(),disabled:!p.getCanNextPage(),children:"Next"})]})]})]})}const O4=[{invoice:"INV001",paymentStatus:"Paid",totalAmount:"$250.00",paymentMethod:"Credit Card"},{invoice:"INV002",paymentStatus:"Pending",totalAmount:"$150.00",paymentMethod:"PayPal"},{invoice:"INV003",paymentStatus:"Unpaid",totalAmount:"$350.00",paymentMethod:"Bank Transfer"},{invoice:"INV004",paymentStatus:"Paid",totalAmount:"$450.00",paymentMethod:"Credit Card"},{invoice:"INV005",paymentStatus:"Paid",totalAmount:"$550.00",paymentMethod:"PayPal"},{invoice:"INV006",paymentStatus:"Pending",totalAmount:"$200.00",paymentMethod:"Bank Transfer"},{invoice:"INV007",paymentStatus:"Unpaid",totalAmount:"$300.00",paymentMethod:"Credit Card"}];function z4(e){return a.jsxs(vd,{...e,children:[a.jsx(cv,{children:"A list of your recent invoices."}),a.jsx(xd,{children:a.jsxs(No,{children:[a.jsx(Qo,{className:"w-[100px]",children:"Invoice"}),a.jsx(Qo,{children:"Status"}),a.jsx(Qo,{children:"Method"}),a.jsx(Qo,{className:"text-right",children:"Amount"})]})}),a.jsx(bd,{children:O4.map(n=>a.jsxs(No,{children:[a.jsx(Dr,{className:"font-medium",children:n.invoice}),a.jsx(Dr,{children:n.paymentStatus}),a.jsx(Dr,{children:n.paymentMethod}),a.jsx(Dr,{className:"text-right",children:n.totalAmount})]},n.invoice))}),a.jsx(lv,{className:"text-muted-foreground bg-muted",children:a.jsxs(No,{children:[a.jsx(Dr,{colSpan:3,children:"Total"}),a.jsx(Dr,{className:"text-right",children:"$2,500.00"})]})})]})}const B4="_container_q763u_7",is={container:B4,"sticky-header-row":"_sticky-header-row_q763u_57","sticky-first-column":"_sticky-first-column_q763u_75","sticky-header-and-first-column":"_sticky-header-and-first-column_q763u_97"};function H4(){return a.jsxs(a.Fragment,{children:[a.jsx("td",{children:"John Doe"}),a.jsx("td",{children:"john@example.com"}),a.jsx("td",{children:"Developer"}),a.jsx("td",{children:"USA"})]})}function V4(){return a.jsxs(a.Fragment,{children:[a.jsx("td",{children:"Jane Smith"}),a.jsx("td",{children:"jane@example.com"}),a.jsx("td",{children:"Manager"}),a.jsx("td",{children:"Canada"})]})}function G4(){return a.jsxs(a.Fragment,{children:[a.jsx("td",{children:"Bob Johnson"}),a.jsx("td",{children:"bob@example.com"}),a.jsx("td",{children:"Designer"}),a.jsx("td",{children:"UK"})]})}function W4(){return a.jsxs(a.Fragment,{children:[a.jsx("td",{children:"Alice Brown"}),a.jsx("td",{children:"alice@example.com"}),a.jsx("td",{children:"Analyst"}),a.jsx("td",{children:"Australia"})]})}function U4(){return a.jsxs(a.Fragment,{children:[a.jsx("td",{children:"Mike Wilson"}),a.jsx("td",{children:"mike@example.com"}),a.jsx("td",{children:"Engineer"}),a.jsx("td",{children:"Germany"})]})}function X4(){return a.jsxs(a.Fragment,{children:[a.jsx("td",{children:"Sara Davis"}),a.jsx("td",{children:"sara@example.com"}),a.jsx("td",{children:"Consultant"}),a.jsx("td",{children:"France"})]})}function q4(){return a.jsxs(a.Fragment,{children:[a.jsx("td",{children:"David Lee"}),a.jsx("td",{children:"david@example.com"}),a.jsx("td",{children:"Coordinator"}),a.jsx("td",{children:"Japan"})]})}function K4(){return a.jsxs(a.Fragment,{children:[a.jsx("td",{children:"Linda Chen"}),a.jsx("td",{children:"linda@example.com"}),a.jsx("td",{children:"Tester"}),a.jsx("td",{children:"China"})]})}function Y4(){return a.jsxs(a.Fragment,{children:[a.jsx("td",{children:"Ryan Miller"}),a.jsx("td",{children:"ryan@example.com"}),a.jsx("td",{children:"Architect"}),a.jsx("td",{children:"Brazil"})]})}function J4(){return a.jsxs(a.Fragment,{children:[a.jsx("td",{children:"Emily White"}),a.jsx("td",{children:"emily@example.com"}),a.jsx("td",{children:"Administrator"}),a.jsx("td",{children:"India"})]})}const zd=[H4,V4,G4,W4,U4,X4,q4,K4,Y4,J4];function Z4(){return a.jsx(a.Fragment,{children:a.jsxs("section",{className:`${is["sticky-header-row"]}`,children:[a.jsx("h2",{className:"py-2",children:"Sticky Header"}),a.jsx("div",{className:`${is.container} w-fit h-52 overflow-auto`,children:a.jsxs("table",{children:[a.jsx("thead",{children:a.jsxs("tr",{children:[a.jsx("th",{scope:"col",children:"ID"}),a.jsx("th",{scope:"col",children:"Name"}),a.jsx("th",{scope:"col",children:"Email"}),a.jsx("th",{scope:"col",children:"Role"}),a.jsx("th",{scope:"col",children:"Country"})]})}),a.jsx("tbody",{children:zd.map((e,n)=>a.jsxs("tr",{children:[a.jsx("td",{children:n+1}),a.jsx(e,{})]},n))})]})})]})})}function Q4(){return a.jsx(a.Fragment,{children:a.jsxs("section",{className:`${is["sticky-first-column"]}`,children:[a.jsx("h2",{className:"py-2",children:"Sticky First Column"}),a.jsx("div",{className:`${is.container} w-64 h-60 overflow-auto`,children:a.jsxs("table",{children:[a.jsx("thead",{children:a.jsxs("tr",{children:[a.jsx("th",{scope:"col",children:"ID"}),a.jsx("th",{scope:"col",children:"Name"}),a.jsx("th",{scope:"col",children:"Email"}),a.jsx("th",{scope:"col",children:"Role"}),a.jsx("th",{scope:"col",children:"Country"})]})}),a.jsx("tbody",{children:zd.slice(0,5).map((e,n)=>a.jsxs("tr",{children:[a.jsx("th",{scope:"row",children:n+1}),a.jsx(e,{})]},n))})]})})]})})}function eM(){return a.jsx(a.Fragment,{children:a.jsxs("section",{className:`${is["sticky-header-and-first-column"]}`,children:[a.jsx("h2",{className:"py-2",children:"Sticky Header and First Column"}),a.jsx("div",{className:`${is.container} w-64 h-60 overflow-auto`,children:a.jsxs("table",{children:[a.jsx("thead",{children:a.jsxs("tr",{children:[a.jsx("th",{scope:"col",children:"ID"}),a.jsx("th",{scope:"col",children:"Name"}),a.jsx("th",{scope:"col",children:"Email"}),a.jsx("th",{scope:"col",children:"Role"}),a.jsx("th",{scope:"col",children:"Country"})]})}),a.jsx("tbody",{children:zd.map((e,n)=>a.jsxs("tr",{children:[a.jsx("th",{scope:"row",children:n+1}),a.jsx(e,{})]},n))})]})})]})})}function tM(){return a.jsxs("div",{className:"text-xs flex flex-wrap gap-4",children:[a.jsx(Z4,{}),a.jsx(Q4,{}),a.jsx(eM,{})]})}const nM="_container_ny73l_25",rM="_card_ny73l_41",oM="_card__head_ny73l_53",fu={container:nM,card:rM,card__head:oM},sM=["Plotting Cat","Angry Cat","Curious Cat","Prowling Cat","Sleepy Cat"],aM=["https://upload.wikimedia.org/wikipedia/commons/d/d6/Cat_plotting_something_evil%21.jpg","https://upload.wikimedia.org/wikipedia/commons/thumb/d/d8/False_alarm_-a.jpg/1280px-False_alarm_-a.jpg","https://upload.wikimedia.org/wikipedia/commons/thumb/8/83/Neugierige-Katze.JPG/1280px-Neugierige-Katze.JPG","https://upload.wikimedia.org/wikipedia/commons/thumb/7/75/Al_acecho_%289272124788%29.jpg/1280px-Al_acecho_%289272124788%29.jpg","https://upload.wikimedia.org/wikipedia/commons/thumb/d/de/Mimi%26Tigsi.jpg/1280px-Mimi%26Tigsi.jpg"];function iM(){return a.jsx("div",{className:fu.container,children:aM.map((e,n)=>a.jsxs("div",{className:fu.card,children:[a.jsx("img",{src:e}),a.jsx("div",{className:fu.card__head,children:sM[n]})]},n))})}const lM="_wrap_84gct_1",cM="_strip_84gct_19",uM="_one_84gct_79",dM="_two_84gct_81",fM="_three_84gct_83",pM="_four_84gct_85",gM="_five_84gct_87",hM="_crown_84gct_91",mM="_h1_84gct_119",vM="_h2_84gct_153",xM="_h3_84gct_165",bM="_review_84gct_175",Jr={wrap:lM,strip:cM,one:uM,two:dM,three:fM,four:pM,five:gM,crown:hM,h1:mM,h2:vM,h3:xM,review:bM},yM=[{title:"Angels 3o'clock",author:"Jack Hartley",publisher:"Crown Press",review:"When Jack wakes up at 3am one morning to find angels in his bedroom his life changes forever. An extraordinary read and a fine first novel. The Grauniad"},{title:"Cloud Bustin'",author:"Sian O'Brien",publisher:"Crown Press",review:"Kate's father has a secret. When the Russians discover it she and her father have a race against time to stop it falling into the wrong hands. I couldn't put this down. The story charges towards a thrilling climax. Woman's Weekly"},{title:"Seven Deadly Bins",author:"Trash Norton",publisher:"Crown Press",review:"Michael uncovers a plot to blow up the Australian Embassy in London. However, no one believes him and he must find a way to convince the authorities of the truth. Following hot on the heels of his previous novel, The Henchman's Basin, this is a fine novel indeed. Fishing Magazine Monthly"},{title:"A Cuckoo Calls",author:"Erasmus Coach",publisher:"Crown Press",review:"Expect the unexpected in this expertly woven tale of a birdwatcher. Well, I certainly didn't expect this when I started reading. Twitcher's Monthly"},{title:"A Steamy Romance",author:"Eliza Smalls",publisher:"Crown Press",review:"Hubert and Molly have worked in the same clothes cleaner's for years. When they fall in love their loyalty to their boss is tested. I cried buckets to this one and got the pages wet. The Rock Garden Hobbyist"}],wM=["one","two","three","four","five"];function _M(){return a.jsx("div",{className:`${Jr.wrap} font-serif font-thin text-background`,children:yM.map((e,n)=>a.jsxs("div",{className:`${Jr.strip} ${Jr[wM[n]]}`,style:{opacity:1,height:"100%"},children:[a.jsx("p",{className:Jr.crown,children:"♔"}),a.jsx("div",{className:Jr.h1,children:e.title}),a.jsx("div",{className:Jr.h2,children:e.author}),a.jsx("div",{className:Jr.h3,children:e.publisher}),a.jsx("div",{className:Jr.review,children:a.jsx("p",{children:e.review})})]},n))})}const SM="_container_1fbyo_33",CM="_box_1fbyo_55",er={container:SM,box:CM,"box-1":"_box-1_1fbyo_95","box-2":"_box-2_1fbyo_103","box-3":"_box-3_1fbyo_111","box-4":"_box-4_1fbyo_119","box-5":"_box-5_1fbyo_127"};function jM(){return a.jsxs("div",{className:`${er.container} py-8`,children:[a.jsx("div",{className:`${er.box} ${er["box-1"]}`,style:{"--img":"url(https://i.postimg.cc/sgBkfbtx/img-1.jpg)"},"data-text":"Renji"}),a.jsx("div",{className:`${er.box} ${er["box-2"]}`,style:{"--img":"url(https://i.postimg.cc/3RZ6bhDS/img-2.jpg)"},"data-text":"Sora"}),a.jsx("div",{className:`${er.box} ${er["box-3"]}`,style:{"--img":"url(https://i.postimg.cc/DZhHg0m4/img-3.jpg)"},"data-text":"Kaito"}),a.jsx("div",{className:`${er.box} ${er["box-4"]}`,style:{"--img":"url(https://i.postimg.cc/KjqWx5ft/img-4.jpg)"},"data-text":"Tsuki"}),a.jsx("div",{className:`${er.box} ${er["box-5"]}`,style:{"--img":"url(https://i.postimg.cc/nrcWyW4H/img-5.jpg)"},"data-text":"Mitsui"})]})}function NM(){return a.jsxs(hr,{defaultValue:"table6",children:[a.jsxs(lr,{children:[a.jsx(He,{value:"table1",children:"Simple"}),a.jsx(He,{value:"table2",children:"Data"}),a.jsx(He,{value:"table3",children:"Sticky headers"}),a.jsx(He,{value:"table4",children:"Skew"}),a.jsx(He,{value:"table5",children:"Books"}),a.jsx(He,{value:"table6",children:"Cartoons"})]}),a.jsx(Ve,{value:"table1",children:a.jsx(z4,{className:"m-auto max-w-sm"})}),a.jsx(Ve,{value:"table2",children:a.jsx(F4,{})}),a.jsx(Ve,{value:"table3",children:a.jsx(tM,{})}),a.jsx(Ve,{value:"table4",children:a.jsx(iM,{})}),a.jsx(Ve,{value:"table5",children:a.jsx(_M,{})}),a.jsx(Ve,{value:"table6",children:a.jsx(jM,{})})]})}const mh={getItem(e){return lt.resisablesState.positions[e]||""},setItem(e,n){lt.resisablesState.positions[e]=n}};function RM(){return a.jsxs(Vg,{direction:"horizontal",className:"w-full _max-w-md rounded-lg border",autoSaveId:"tm-example",storage:mh,children:[a.jsx(Ci,{defaultSize:25,children:a.jsx($M,{})}),a.jsx(Gg,{withHandle:!0}),a.jsx(Ci,{children:a.jsxs(Vg,{direction:"vertical",autoSaveId:"tm-example2",storage:mh,children:[a.jsx(Ci,{defaultSize:25,children:a.jsx(EM,{})}),a.jsx(Gg,{}),a.jsx(Ci,{defaultSize:75,children:a.jsx(PM,{})})]})})]})}function $M(){return a.jsx("div",{className:"p-6 h-[200px] flex items-center justify-center",children:a.jsx("span",{className:"font-semibold",children:"One"})})}function EM(){return a.jsx("div",{className:"p-6 h-full flex items-center justify-center",children:a.jsx("span",{className:"font-semibold",children:"Two"})})}function PM(){return a.jsx("div",{className:"p-6 h-full flex items-center justify-center",children:a.jsx("span",{className:"font-semibold",children:"Three"})})}function AM(){return a.jsx(a.Fragment,{children:Array.from({length:5}).map((e,n)=>a.jsx(dx,{children:a.jsx("div",{className:"p-1 flex justify-center",children:a.jsx(pl,{className:"w-24 h-24",children:a.jsx(gl,{className:"p-6 aspect-square flex items-center justify-center",children:a.jsx("span",{className:"text-4xl font-semibold",children:n+1})})})})},n))})}function MM(){return a.jsx("div",{className:"flex justify-center",children:a.jsxs(cx,{className:"w-full max-w-xs",children:[a.jsx(ux,{children:a.jsx(AM,{})}),a.jsx(fx,{}),a.jsx(px,{})]})})}function DM(){return a.jsx("div",{className:"flex flex-col items-center justify-center w-full h-full",children:a.jsx(xP,{children:a.jsxs(rx,{children:[a.jsx(bP,{href:"#"}),a.jsx(Qs,{href:"#",children:"1"}),a.jsx(Qs,{href:"#",isActive:!0,children:"2"}),a.jsx(Qs,{href:"#",children:"3"}),a.jsx(wP,{}),a.jsx(yP,{href:"#"})]})})})}function TM(){return a.jsxs("div",{className:"flex items-center space-x-4",children:[a.jsx(Wc,{className:"h-12 w-12 rounded-full"}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(Wc,{className:"h-4 w-[250px]"}),a.jsx(Wc,{className:"h-4 w-[200px]"})]})]})}const kM=[{name:"Jan",total:Math.floor(Math.random()*5e3)+1e3},{name:"Feb",total:Math.floor(Math.random()*5e3)+1e3},{name:"Mar",total:Math.floor(Math.random()*5e3)+1e3},{name:"Apr",total:Math.floor(Math.random()*5e3)+1e3},{name:"May",total:Math.floor(Math.random()*5e3)+1e3},{name:"Jun",total:Math.floor(Math.random()*5e3)+1e3},{name:"Jul",total:Math.floor(Math.random()*5e3)+1e3},{name:"Aug",total:Math.floor(Math.random()*5e3)+1e3},{name:"Sep",total:Math.floor(Math.random()*5e3)+1e3},{name:"Oct",total:Math.floor(Math.random()*5e3)+1e3},{name:"Nov",total:Math.floor(Math.random()*5e3)+1e3},{name:"Dec",total:Math.floor(Math.random()*5e3)+1e3}];function IM(){return a.jsx(id,{width:"100%",height:100,children:a.jsxs(p0,{data:kM,children:[a.jsx(Nj,{dataKey:"name",stroke:"#888888",fontSize:12,tickLine:!1,axisLine:!1}),a.jsx(Rj,{stroke:"#888888",fontSize:12,tickLine:!1,axisLine:!1,tickFormatter:e=>`$${e}`}),a.jsx(g0,{dataKey:"total",fill:"currentColor",radius:[4,4,0,0],className:"fill-primary"})]})})}function LM(){return a.jsxs(pl,{className:"max-w-md",children:[a.jsx(yd,{children:a.jsx(wd,{children:"Overview"})}),a.jsx(gl,{className:"pl-2",children:a.jsx(IM,{})})]})}const FM=[{average:400,today:240},{average:300,today:139},{average:200,today:980},{average:278,today:390},{average:189,today:480},{average:239,today:380},{average:349,today:430}];function OM(){return a.jsx("div",{className:"h-[100px]",children:a.jsx(id,{width:"100%",height:"100%",children:a.jsxs($j,{data:FM,margin:{top:7,right:10,left:10,bottom:0},children:[a.jsx(Ej,{content:({active:e,payload:n})=>e&&n&&n.length?a.jsx("div",{className:"rounded-lg border bg-background p-2 shadow-sm",children:a.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[a.jsxs("div",{className:"flex flex-col",children:[a.jsx("span",{className:"text-[0.70rem] uppercase text-muted-foreground",children:"Average"}),a.jsx("span",{className:"font-bold text-muted-foreground",children:n[0].value})]}),a.jsxs("div",{className:"flex flex-col",children:[a.jsx("span",{className:"text-[0.70rem] uppercase text-muted-foreground",children:"Today"}),a.jsx("span",{className:"font-bold",children:n[1].value})]})]})}):null}),a.jsx(vg,{type:"monotone",strokeWidth:2,dataKey:"average",activeDot:{r:6,style:{fill:"var(--theme-primary)",opacity:.25}},className:"stroke-primary opacity-25"}),a.jsx(vg,{type:"monotone",dataKey:"today",strokeWidth:2,activeDot:{r:8,style:{fill:"var(--theme-primary)"}},className:"stroke-primary"})]})})})}function zM(){return a.jsxs(pl,{children:[a.jsxs(yd,{children:[a.jsx(wd,{children:"Exercise Minutes"}),a.jsx(uv,{children:"Your exercise minutes are ahead of where you normally are."})]}),a.jsx(gl,{className:"pb-4",children:a.jsx(OM,{})})]})}const BM=[{anchor:"bottom-right",direction:"column",justify:!1,translateX:100,translateY:0,itemsSpacing:0,itemDirection:"left-to-right",itemWidth:80,itemHeight:20,itemOpacity:.75,symbolSize:12,symbolShape:"circle",symbolBorderColor:"rgba(0, 0, 0, .5)",effects:[{on:"hover",style:{itemBackground:"rgba(0, 0, 0, .03)",itemOpacity:1}}]}],HM=({width:e=440,height:n=240,data:t=[]})=>a.jsx("div",{style:{height:n,width:e},children:a.jsx(TC,{data:t,margin:{top:5,right:0,bottom:5,left:0},xScale:{type:"point"},yScale:{type:"linear",min:"auto",max:"auto",stacked:!0,reverse:!1},yFormat:" >-.2f",curve:"cardinal",axisTop:null,axisRight:null,axisBottom:null,axisLeft:null,enableGridX:!1,enableGridY:!1,enablePoints:!1,pointSize:10,pointColor:{theme:"background"},pointBorderWidth:2,pointBorderColor:{from:"serieColor"},pointLabelYOffset:-12,isInteractive:!1,legends:BM})}),VM=[{id:"japan",color:"hsl(63, 70%, 50%)",data:[{x:"plane",y:287},{x:"helicopter",y:183},{x:"boat",y:112},{x:"train",y:78},{x:"subway",y:47},{x:"bus",y:218},{x:"car",y:106},{x:"moto",y:190},{x:"bicycle",y:88},{x:"horse",y:8},{x:"skateboard",y:248},{x:"others",y:76},{x:"adwawd",y:76},{x:"awdawdd",y:38},{x:"awd",y:42},{x:"adwadadw",y:26},{x:"dadawda",y:76}]}];function GM(){return a.jsxs(hr,{defaultValue:"charts1",children:[a.jsxs(lr,{children:[a.jsx(He,{value:"charts1",children:"Overview"}),a.jsx(He,{value:"charts2",children:"Metric"}),a.jsx(He,{value:"charts3",children:"Nivo line"})]}),a.jsx(Ve,{value:"charts1",children:a.jsx(LM,{})}),a.jsx(Ve,{value:"charts2",children:a.jsx(zM,{})}),a.jsx(Ve,{value:"charts3",children:a.jsx(HM,{data:VM})})]})}function WM(){return a.jsxs("svg",{className:"switch__base-neon",viewBox:"0 0 40 24",width:"40px",height:"24px",children:[a.jsxs("defs",{children:[a.jsxs("filter",{id:"switch-glow",children:[a.jsx("feGaussianBlur",{result:"coloredBlur",stdDeviation:1}),a.jsxs("feMerge",{children:[a.jsx("feMergeNode",{in:"coloredBlur"}),a.jsx("feMergeNode",{in:"SourceGraphic"})]})]}),a.jsxs("linearGradient",{id:"switch-gradient1",x1:0,y1:0,x2:1,y2:0,children:[a.jsx("stop",{offset:"0%",stopColor:"hsl(var(--on-hue1),90%,70%)"}),a.jsx("stop",{offset:"100%",stopColor:"hsl(var(--on-hue2),90%,70%)"})]}),a.jsxs("linearGradient",{id:"switch-gradient2",x1:"0.7",y1:0,x2:"0.3",y2:1,children:[a.jsx("stop",{offset:"25%",stopColor:"hsla(var(--on-hue1),90%,70%,0)"}),a.jsx("stop",{offset:"50%",stopColor:"hsla(var(--on-hue1),90%,70%,0.3)"}),a.jsx("stop",{offset:"100%",stopColor:"hsla(var(--on-hue2),90%,70%,0.3)"})]})]}),a.jsx("path",{fill:"none",filter:"url(#switch-glow)",stroke:"url(#switch-gradient1)",strokeWidth:1,strokeDasharray:"0 104.26 0",strokeDashoffset:"0.01",strokeLinecap:"round",d:"m.5,12C.5,5.649,5.649.5,12,.5h16c6.351,0,11.5,5.149,11.5,11.5s-5.149,11.5-11.5,11.5H12C5.649,23.5.5,18.351.5,12Z"})]})}function UM(){return a.jsxs(a.Fragment,{children:[a.jsx("span",{className:"switch__knob-shadow"}),a.jsx("span",{className:"switch__knob-container",children:a.jsx("span",{className:"switch__knob",children:a.jsx("svg",{className:"switch__knob-neon",viewBox:"0 0 48 48",width:"48px",height:"48px",children:a.jsx("circle",{fill:"none",stroke:"url(#switch-gradient2)",strokeDasharray:"0 90.32 0 54.19",strokeLinecap:"round",strokeWidth:1,r:23,cx:24,cy:24,transform:"rotate(-112.5,24,24)"})})})})]})}const XM="[--hue:223] [--off-hue:3] [--on-hue1:123] [--on-hue2:168] [--primary:hsl(var(--hue),90%,50%)] [--trans-dur:0.2s] [--trans-timing:cubic-bezier(0.65,0,0.35,1)] ";function qM(e){return a.jsxs("label",{className:ct(XM,"switch"),children:[a.jsx("input",{className:"switch__input",type:"checkbox",role:"switch",...e}),a.jsx("span",{className:"switch__base-outer"}),a.jsx("span",{className:"switch__base-inner"}),a.jsx(WM,{}),a.jsx(UM,{}),a.jsx("span",{className:"switch__led"}),a.jsx("span",{className:"switch__text",children:"Power"})]})}function vh({className:e,...n}){return a.jsxs("div",{className:ct("toggle-wrapper",e),children:[a.jsx("input",{className:"toggle-checkbox",type:"checkbox",...n}),a.jsx("svg",{className:"toggle-icon off",viewBox:"0 0 16 16",children:a.jsx("path",{d:"M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM2 8C2 11.3137 4.68629 14 8 14C11.3137 14 14 11.3137 14 8C14 4.68629 11.3137 2 8 2C4.68629 2 2 4.68629 2 8Z"})}),a.jsx("div",{className:"toggle-container",children:a.jsx("div",{className:"toggle-button"})}),a.jsx("svg",{className:"toggle-icon on",viewBox:"0 0 16 16",children:a.jsx("path",{d:"M16 8A8 8 0 1 1 0 8a8 8 0 1 1 16 0zM2 8a6 6 0 1 0 12 0A6 6 0 1 0 2 8zm10 0a4 4 0 1 1-8 0 4 4 0 1 1 8 0z"})})]})}function KM(){return a.jsxs("div",{className:"flex flex-col space-y-2 text-3xl",children:[a.jsx(vh,{}),a.jsx(vh,{defaultChecked:!0})]})}var ns=255,or=100,Gs=e=>{var{r:n,g:t,b:o,a:i}=e,l=Math.max(n,t,o),u=l-Math.min(n,t,o),d=u?l===n?(t-o)/u:l===t?2+(o-n)/u:4+(n-t)/u:0;return{h:60*(d<0?d+6:d),s:l?u/l*or:0,v:l/ns*or,a:i}},Xx=e=>{var{h:n,s:t,l:o,a:i}=Bd(e);return"hsla("+n+", "+t+"%, "+o+"%, "+i+")"},Ws=e=>{var{h:n,s:t,l:o,a:i}=e;return t*=(o<50?o:or-o)/or,{h:n,s:t>0?2*t/(o+t)*or:0,v:o+t,a:i}},Bd=e=>{var{h:n,s:t,v:o,a:i}=e,l=(200-t)*o/or;return{h:n,s:l>0&&l<200?t*o/or/(l<=or?l:200-l)*or:0,l:l/2,a:i}},qx=e=>{var{r:n,g:t,b:o}=e,i=n<<16|t<<8|o;return"#"+(l=>new Array(7-l.length).join("0")+l)(i.toString(16))},Kx=e=>{var{r:n,g:t,b:o,a:i}=e,l=typeof i=="number"&&(i*255|256).toString(16).slice(1);return""+qx({r:n,g:t,b:o,a:i})+(l||"")},ls=e=>Gs(YM(e)),YM=e=>{var n=e.replace("#","");/^#?/.test(e)&&n.length===3&&(e="#"+n.charAt(0)+n.charAt(0)+n.charAt(1)+n.charAt(1)+n.charAt(2)+n.charAt(2));var t=new RegExp("[A-Za-z0-9]{2}","g"),[o,i,l=0,u]=e.match(t).map(d=>parseInt(d,16));return{r:o,g:i,b:l,a:(u??255)/ns}},ja=e=>{var{h:n,s:t,v:o,a:i}=e,l=n/60,u=t/or,d=o/or,p=Math.floor(l)%6,f=l-Math.floor(l),g=ns*d*(1-u),v=ns*d*(1-u*f),x=ns*d*(1-u*(1-f));d*=ns;var m={};switch(p){case 0:m.r=d,m.g=x,m.b=g;break;case 1:m.r=v,m.g=d,m.b=g;break;case 2:m.r=g,m.g=d,m.b=x;break;case 3:m.r=g,m.g=v,m.b=d;break;case 4:m.r=x,m.g=g,m.b=d;break;case 5:m.r=d,m.g=g,m.b=v;break}return m.r=Math.round(m.r),m.g=Math.round(m.g),m.b=Math.round(m.b),_e({},m,{a:i})},JM=e=>{var{r:n,g:t,b:o,a:i}=ja(e);return"rgba("+n+", "+t+", "+o+", "+i+")"},ZM=e=>{var{r:n,g:t,b:o}=e;return{r:n,g:t,b:o}},QM=e=>{var{h:n,s:t,l:o}=e;return{h:n,s:t,l:o}},Sl=e=>qx(ja(e)),eD=e=>Kx(ja(e)),tD=e=>{var{h:n,s:t,v:o}=e;return{h:n,s:t,v:o}},An=e=>{var n,t,o,i,l,u,d,p;return typeof e=="string"&&Hd(e)?(u=ls(e),d=e):typeof e!="string"&&(u=e),u&&(o=tD(u),l=Bd(u),i=ja(u),p=Kx(i),d=Sl(u),t=QM(l),n=ZM(i)),{rgb:n,hsl:t,hsv:o,rgba:i,hsla:l,hsva:u,hex:d,hexa:p}},Hd=e=>/^#?([A-Fa-f0-9]{3,4}){1,2}$/.test(e);function xh(e){var n=C.useRef(e);return C.useEffect(()=>{n.current=e}),C.useCallback((t,o)=>n.current&&n.current(t,o),[])}var na=e=>"touches"in e,bh=e=>{!na(e)&&e.preventDefault&&e.preventDefault()},yh=function(n,t,o){return t===void 0&&(t=0),o===void 0&&(o=1),n>o?o:n{var t=e.getBoundingClientRect(),o=na(n)?n.touches[0]:n;return{left:yh((o.pageX-(t.left+window.pageXOffset))/t.width),top:yh((o.pageY-(t.top+window.pageYOffset))/t.height),width:t.width,height:t.height,x:o.pageX-(t.left+window.pageXOffset),y:o.pageY-(t.top+window.pageYOffset)}},nD=["prefixCls","className","onMove","onDown"],Yx=G.forwardRef((e,n)=>{var{prefixCls:t="w-color-interactive",className:o,onMove:i,onDown:l}=e,u=Kn(e,nD),d=C.useRef(null),p=C.useRef(!1),[f,g]=C.useState(!1),v=xh(i),x=xh(l),m=y=>p.current&&!na(y)?!1:(p.current=na(y),!0),S=C.useCallback(y=>{bh(y);var R=na(y)?y.touches.length>0:y.buttons>0;R&&d.current?v&&v(wh(d.current,y),y):g(!1)},[v]),w=C.useCallback(()=>g(!1),[]),$=C.useCallback(y=>{var R=y?window.addEventListener:window.removeEventListener;R(p.current?"touchmove":"mousemove",S),R(p.current?"touchend":"mouseup",w)},[]);C.useEffect(()=>($(f),()=>{f&&$(!1)}),[f,$]);var _=C.useCallback(y=>{bh(y.nativeEvent),m(y.nativeEvent)&&(x&&x(wh(d.current,y.nativeEvent),y.nativeEvent),g(!0))},[x]);return a.jsx("div",_e({},u,{className:[t,o||""].filter(Boolean).join(" "),style:_e({},u.style,{touchAction:"none"}),ref:d,tabIndex:0,onMouseDown:_,onTouchStart:_}))});Yx.displayName="Interactive";const Jx=Yx;var rD=["className","prefixCls","left","top","style","fillProps"],oD=e=>{var{className:n,prefixCls:t,left:o,top:i,style:l,fillProps:u}=e,d=Kn(e,rD),p=_e({},l,{position:"absolute",left:o,top:i}),f=_e({width:18,height:18,boxShadow:"var(--alpha-pointer-box-shadow)",borderRadius:"50%",backgroundColor:"var(--alpha-pointer-background-color)"},u?.style,{transform:o?"translate(-9px, -1px)":"translate(-1px, -9px)"});return a.jsx("div",_e({className:t+"-pointer "+(n||""),style:p},d,{children:a.jsx("div",_e({className:t+"-fill"},u,{style:f}))}))},sD=["prefixCls","className","hsva","background","bgProps","innerProps","pointerProps","radius","width","height","direction","style","onChange","pointer"],aD="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAMUlEQVQ4T2NkYGAQYcAP3uCTZhw1gGGYhAGBZIA/nYDCgBDAm9BGDWAAJyRCgLaBCAAgXwixzAS0pgAAAABJRU5ErkJggg==",Zx=G.forwardRef((e,n)=>{var{prefixCls:t="w-color-alpha",className:o,hsva:i,background:l,bgProps:u={},innerProps:d={},pointerProps:p={},radius:f=0,width:g,height:v=16,direction:x="horizontal",style:m,onChange:S,pointer:w}=e,$=Kn(e,sD),_=H=>{S&&S(_e({},i,{a:x==="horizontal"?H.left:H.top}),H)},y=Xx(Object.assign({},i,{a:1})),R="linear-gradient(to "+(x==="horizontal"?"right":"bottom")+", rgba(244, 67, 54, 0) 0%, "+y+" 100%)",M={};x==="horizontal"?M.left=i.a*100+"%":M.top=i.a*100+"%";var E=_e({"--alpha-background-color":"#fff","--alpha-pointer-background-color":"rgb(248, 248, 248)","--alpha-pointer-box-shadow":"rgb(0 0 0 / 37%) 0px 1px 4px 0px",borderRadius:f,background:"url("+aD+") left center",backgroundColor:"var(--alpha-background-color)"},{width:g,height:v},m,{position:"relative"}),I=w&&typeof w=="function"?w(_e({prefixCls:t},p,M)):a.jsx(oD,_e({},p,{prefixCls:t},M));return a.jsxs("div",_e({},$,{className:[t,t+"-"+x,o||""].filter(Boolean).join(" "),style:E,ref:n,children:[a.jsx("div",_e({},u,{style:_e({inset:0,position:"absolute",background:l||R,borderRadius:f},u.style)})),a.jsx(Jx,_e({},d,{style:_e({},d.style,{inset:0,zIndex:1,position:"absolute"}),onMove:_,onDown:_,children:I}))]}))});Zx.displayName="Alpha";const Xu=Zx;var iD=["prefixCls","placement","label","value","className","style","labelStyle","inputStyle","onChange","onBlur"],lD=e=>/^#?([A-Fa-f0-9]{3,4}){1,2}$/.test(e),cD=e=>Number(String(e).replace(/%/g,"")),Qx=G.forwardRef((e,n)=>{var{prefixCls:t="w-color-editable-input",placement:o="bottom",label:i,value:l,className:u,style:d,labelStyle:p,inputStyle:f,onChange:g,onBlur:v}=e,x=Kn(e,iD),[m,S]=C.useState(l),w=C.useRef(!1);C.useEffect(()=>{e.value!==m&&(w.current||S(e.value))},[e.value]);function $(E,I){var H=(I||E.target.value).trim().replace(/^#/,"");lD(H)&&g&&g(E,H);var P=cD(H);isNaN(P)||g&&g(E,P),S(H)}function _(E){w.current=!1,S(e.value),v&&v(E)}var y={};o==="bottom"&&(y.flexDirection="column"),o==="top"&&(y.flexDirection="column-reverse"),o==="left"&&(y.flexDirection="row-reverse");var R=_e({"--editable-input-label-color":"rgb(153, 153, 153)","--editable-input-box-shadow":"rgb(204 204 204) 0px 0px 0px 1px inset","--editable-input-color":"#666",position:"relative",alignItems:"center",display:"flex",fontSize:11},y,d),M=_e({width:"100%",paddingTop:2,paddingBottom:2,paddingLeft:3,paddingRight:3,fontSize:11,background:"transparent",boxSizing:"border-box",border:"none",color:"var(--editable-input-color)",boxShadow:"var(--editable-input-box-shadow)"},f);return a.jsxs("div",{className:[t,u||""].filter(Boolean).join(" "),style:R,children:[a.jsx("input",_e({ref:n,value:m,onChange:$,onBlur:_,autoComplete:"off",onFocus:()=>w.current=!0},x,{style:M})),i&&a.jsx("span",{style:_e({color:"var(--editable-input-label-color)",textTransform:"capitalize"},p),children:i})]})});Qx.displayName="EditableInput";const Us=Qx;var uD=["prefixCls","className","color","colors","style","rectProps","onChange","addonAfter","addonBefore","rectRender"],eb=G.forwardRef((e,n)=>{var{prefixCls:t="w-color-swatch",className:o,color:i,colors:l=[],style:u,rectProps:d={},onChange:p,addonAfter:f,addonBefore:g,rectRender:v}=e,x=Kn(e,uD),m=_e({"--swatch-background-color":"rgb(144, 19, 254)",background:"var(--swatch-background-color)",height:15,width:15,marginRight:5,marginBottom:5,cursor:"pointer",position:"relative",outline:"none",borderRadius:2},d.style),S=(w,$)=>{p&&p(ls(w),An(ls(w)),$)};return a.jsxs("div",_e({ref:n},x,{className:[t,o||""].filter(Boolean).join(" "),style:_e({display:"flex",flexWrap:"wrap",position:"relative"},u),children:[g&&G.isValidElement(g)&&g,l&&Array.isArray(l)&&l.map((w,$)=>{var _="",y="";typeof w=="string"&&(_=w,y=w),typeof w=="object"&&w.color&&(_=w.title||w.color,y=w.color);var R=i&&i.toLocaleLowerCase()===y.toLocaleLowerCase(),M=v&&v({title:_,color:y,checked:!!R,style:_e({},m,{background:y}),onClick:I=>S(y,I)});if(M)return a.jsx(C.Fragment,{children:M},$);var E=d.children&&G.isValidElement(d.children)?G.cloneElement(d.children,{color:y,checked:R}):null;return a.jsx("div",_e({tabIndex:0,title:_,onClick:I=>S(y,I)},d,{children:E,style:_e({},m,{background:y})}),$)}),f&&G.isValidElement(f)&&f]}))});eb.displayName="Swatch";const dD=eb;function fD(e){if(e==null)throw new TypeError("Cannot destructure "+e)}var pD={marginRight:0,marginBottom:0,borderRadius:0,boxSizing:"border-box",height:25,width:25};function gD(e){var{style:n,title:t,checked:o,color:i,onClick:l,rectProps:u}=e,d=C.useRef(null),p=C.useCallback(()=>{d.current.style.zIndex="2",d.current.style.outline="#fff solid 2px",d.current.style.boxShadow="rgb(0 0 0 / 25%) 0 0 5px 2px"},[]),f=C.useCallback(()=>{o||(d.current.style.zIndex="0",d.current.style.outline="initial",d.current.style.boxShadow="initial")},[o]),g=o?{zIndex:1,outline:"#fff solid 2px",boxShadow:"rgb(0 0 0 / 25%) 0 0 5px 2px"}:{zIndex:0};return a.jsx("div",_e({ref:d,title:t},u,{onClick:l,onMouseEnter:p,onMouseLeave:f,style:_e({},n,{marginRight:0,marginBottom:0,borderRadius:0,boxSizing:"border-box",height:25,width:25},pD,g,u?.style)}))}var hD=["prefixCls","placement","className","style","color","colors","rectProps","onChange","rectRender"],mD=["#B80000","#DB3E00","#FCCB00","#008B02","#006B76","#1273DE","#004DCF","#5300EB","#EB9694","#FAD0C3","#FEF3BD","#C1E1C5","#BEDADC","#C4DEF6","#BED3F3","#D4C4FB"],Mt=function(e){return e.Left="L",e.LeftTop="LT",e.LeftBottom="LB",e.Right="R",e.RightTop="RT",e.RightBottom="RB",e.Top="T",e.TopRight="TR",e.TopLeft="TL",e.Bottom="B",e.BottomLeft="BL",e.BottomRight="BR",e}({}),tb=G.forwardRef((e,n)=>{var{prefixCls:t="w-color-github",placement:o=Mt.TopRight,className:i,style:l,color:u,colors:d=mD,rectProps:p={},onChange:f,rectRender:g}=e,v=Kn(e,hD),x=typeof u=="string"&&Hd(u)?ls(u):u,m=u?Sl(x):"",S=M=>f&&f(An(M)),w=_e({"--github-border":"1px solid rgba(0, 0, 0, 0.2)","--github-background-color":"#fff","--github-box-shadow":"rgb(0 0 0 / 15%) 0px 3px 12px","--github-arrow-border-color":"rgba(0, 0, 0, 0.15)",width:200,borderRadius:4,background:"var(--github-background-color)",boxShadow:"var(--github-box-shadow)",border:"var(--github-border)",position:"relative",padding:5},l),$={borderStyle:"solid",position:"absolute"},_=_e({},$),y=_e({},$);/^T/.test(o)&&(_.borderWidth="0 8px 8px",_.borderColor="transparent transparent var(--github-arrow-border-color)",y.borderWidth="0 7px 7px",y.borderColor="transparent transparent var(--github-background-color)"),o===Mt.TopRight&&(_.top=-8,y.top=-7),o===Mt.Top&&(_.top=-8,y.top=-7),o===Mt.TopLeft&&(_.top=-8,y.top=-7),/^B/.test(o)&&(_.borderWidth="8px 8px 0",_.borderColor="var(--github-arrow-border-color) transparent transparent",y.borderWidth="7px 7px 0",y.borderColor="var(--github-background-color) transparent transparent",o===Mt.BottomRight&&(_.top="100%",y.top="100%"),o===Mt.Bottom&&(_.top="100%",y.top="100%"),o===Mt.BottomLeft&&(_.top="100%",y.top="100%")),/^(B|T)/.test(o)&&((o===Mt.Top||o===Mt.Bottom)&&(_.left="50%",_.marginLeft=-8,y.left="50%",y.marginLeft=-7),(o===Mt.TopRight||o===Mt.BottomRight)&&(_.right=10,y.right=11),(o===Mt.TopLeft||o===Mt.BottomLeft)&&(_.left=7,y.left=8)),/^L/.test(o)&&(_.borderWidth="8px 8px 8px 0",_.borderColor="transparent var(--github-arrow-border-color) transparent transparent",y.borderWidth="7px 7px 7px 0",y.borderColor="transparent var(--github-background-color) transparent transparent",_.left=-8,y.left=-7),/^R/.test(o)&&(_.borderWidth="8px 0 8px 8px",_.borderColor="transparent transparent transparent var(--github-arrow-border-color)",y.borderWidth="7px 0 7px 7px",y.borderColor="transparent transparent transparent var(--github-background-color)",_.right=-8,y.right=-7),/^(L|R)/.test(o)&&((o===Mt.RightTop||o===Mt.LeftTop)&&(_.top=5,y.top=6),(o===Mt.Left||o===Mt.Right)&&(_.top="50%",y.top="50%",_.marginTop=-8,y.marginTop=-7),(o===Mt.LeftBottom||o===Mt.RightBottom)&&(_.top="100%",y.top="100%",_.marginTop=-21,y.marginTop=-20));var R=M=>{var E=_e({},(fD(M),M)),I=g&&g(_e({},E));return I||a.jsx(gD,_e({},E,{rectProps:p}))};return a.jsx(dD,_e({ref:n,className:[t,i].filter(Boolean).join(" "),colors:d,color:m,rectRender:R},v,{onChange:S,style:w,rectProps:{style:{marginRight:0,marginBottom:0,borderRadius:0,height:25,width:25}},addonBefore:a.jsxs(C.Fragment,{children:[a.jsx("div",{style:_}),a.jsx("div",{style:y})]})}))});tb.displayName="Github";const vD=tb;var xD=e=>{var{className:n,color:t,left:o,top:i,prefixCls:l}=e,u={position:"absolute",top:i,left:o},d={"--saturation-pointer-box-shadow":"rgb(255 255 255) 0px 0px 0px 1.5px, rgb(0 0 0 / 30%) 0px 0px 1px 1px inset, rgb(0 0 0 / 40%) 0px 0px 1px 2px",width:6,height:6,transform:"translate(-3px, -3px)",boxShadow:"var(--saturation-pointer-box-shadow)",borderRadius:"50%",backgroundColor:t};return C.useMemo(()=>a.jsx("div",{className:l+"-pointer "+(n||""),style:u,children:a.jsx("div",{className:l+"-fill",style:d})}),[i,o,t,n,l])},bD=["prefixCls","radius","pointer","className","hue","style","hsva","onChange"],nb=G.forwardRef((e,n)=>{var t,{prefixCls:o="w-color-saturation",radius:i=0,pointer:l,className:u,hue:d=0,style:p,hsva:f,onChange:g}=e,v=Kn(e,bD),x=_e({width:200,height:200,borderRadius:i},p,{position:"relative"}),m=(w,$)=>{g&&f&&g({h:f.h,s:w.left*100,v:(1-w.top)*100,a:f.a})},S=C.useMemo(()=>{if(!f)return null;var w={top:100-f.v+"%",left:f.s+"%",color:Xx(f)};return l&&typeof l=="function"?l(_e({prefixCls:o},w)):a.jsx(xD,_e({prefixCls:o},w))},[f,l,o]);return a.jsx(Jx,_e({className:[o,u||""].filter(Boolean).join(" ")},v,{style:_e({position:"absolute",inset:0,cursor:"crosshair",backgroundImage:"linear-gradient(0deg, #000, transparent), linear-gradient(90deg, #fff, hsl("+((t=f?.h)!=null?t:d)+", 100%, 50%))"},x),ref:n,onMove:m,onDown:m,children:S}))});nb.displayName="Saturation";const yD=nb;var wD=["prefixCls","className","hue","onChange","direction"],rb=G.forwardRef((e,n)=>{var{prefixCls:t="w-color-hue",className:o,hue:i=0,onChange:l,direction:u="horizontal"}=e,d=Kn(e,wD);return a.jsx(Xu,_e({ref:n,className:t+" "+(o||"")},d,{direction:u,background:"linear-gradient(to "+(u==="horizontal"?"right":"bottom")+", rgb(255, 0, 0) 0%, rgb(255, 255, 0) 17%, rgb(0, 255, 0) 33%, rgb(0, 255, 255) 50%, rgb(0, 0, 255) 67%, rgb(255, 0, 255) 83%, rgb(255, 0, 0) 100%)",hsva:{h:i,s:100,v:100,a:i/360},onChange:(p,f)=>{l&&l({h:u==="horizontal"?360*f.left:360*f.top})}}))});rb.displayName="Hue";const _D=rb;var SD=["prefixCls","hsva","placement","rProps","gProps","bProps","aProps","className","style","onChange"],ob=G.forwardRef((e,n)=>{var{prefixCls:t="w-color-editable-input-rgba",hsva:o,placement:i="bottom",rProps:l={},gProps:u={},bProps:d={},aProps:p={},className:f,style:g,onChange:v}=e,x=Kn(e,SD),m=o?ja(o):{};function S($){var _=Number($.target.value);_&&_>255&&($.target.value="255"),_&&_<0&&($.target.value="0")}var w=($,_,y)=>{typeof $=="number"&&(_==="a"&&($<0&&($=0),$>100&&($=100),v&&v(An(Gs(_e({},m,{a:$/100}))))),$>255&&($=255,y.target.value="255"),$<0&&($=0,y.target.value="0"),_==="r"&&v&&v(An(Gs(_e({},m,{r:$})))),_==="g"&&v&&v(An(Gs(_e({},m,{g:$})))),_==="b"&&v&&v(An(Gs(_e({},m,{b:$})))))};return a.jsxs("div",_e({ref:n,className:[t,f||""].filter(Boolean).join(" ")},x,{style:_e({fontSize:11,display:"flex"},g),children:[a.jsx(Us,_e({label:"R",value:m.r||0,onBlur:S,placement:i,onChange:($,_)=>w(_,"r",$)},l,{style:_e({},l.style)})),a.jsx(Us,_e({label:"G",value:m.g||0,onBlur:S,placement:i,onChange:($,_)=>w(_,"g",$)},u,{style:_e({marginLeft:5},l.style)})),a.jsx(Us,_e({label:"B",value:m.b||0,onBlur:S,placement:i,onChange:($,_)=>w(_,"b",$)},d,{style:_e({marginLeft:5},d.style)})),p&&a.jsx(Us,_e({label:"A",value:m.a?parseInt(String(m.a*100),10):0,onBlur:S,placement:i,onChange:($,_)=>w(_,"a",$)},p,{style:_e({marginLeft:5},p.style)}))]}))});ob.displayName="EditableInputRGBA";const sb=ob;var CD=["prefixCls","hsva","hProps","sProps","lProps","aProps","className","onChange"],ab=G.forwardRef((e,n)=>{var{prefixCls:t="w-color-editable-input-hsla",hsva:o,hProps:i={},sProps:l={},lProps:u={},aProps:d={},className:p,onChange:f}=e,g=Kn(e,CD),v=o?Bd(o):{h:0,s:0,l:0,a:0},x=(m,S,w)=>{typeof m=="number"&&(S==="h"&&(m<0&&(m=0),m>360&&(m=360),f&&f(An(Ws(_e({},v,{h:m}))))),S==="s"&&(m<0&&(m=0),m>100&&(m=100),f&&f(An(Ws(_e({},v,{s:m}))))),S==="l"&&(m<0&&(m=0),m>100&&(m=100),f&&f(An(Ws(_e({},v,{l:m}))))),S==="a"&&(m<0&&(m=0),m>1&&(m=1),f&&f(An(Ws(_e({},v,{a:m}))))))};return a.jsx(sb,_e({ref:n,hsva:o,rProps:_e({label:"H",value:Math.round(v.h)},i,{onChange:(m,S)=>x(S,"h")}),gProps:_e({label:"S",value:Math.round(v.s)+"%"},l,{onChange:(m,S)=>x(S,"s")}),bProps:_e({label:"L",value:Math.round(v.l)+"%"},u,{onChange:(m,S)=>x(S,"l")}),aProps:_e({label:"A",value:Math.round(v.a*100)/100},d,{onChange:(m,S)=>x(S,"a")}),className:[t,p||""].filter(Boolean).join(" ")},g))});ab.displayName="EditableInputHSLA";const jD=ab;var ND=["style"];function RD(e){var{style:n}=e,t=Kn(e,ND),o=C.useRef(null),i=C.useCallback(()=>{o.current.style.backgroundColor="var(--chrome-arrow-background-color)"},[]),l=C.useCallback(()=>{o.current.style.backgroundColor="transparent"},[]);return a.jsx("div",_e({ref:o,style:_e({marginLeft:5,cursor:"pointer",transition:"background-color .3s",borderRadius:2},n)},t,{onMouseEnter:i,onMouseLeave:l,children:a.jsx("svg",{viewBox:"0 0 1024 1024",width:"24",height:"24",style:{display:"block"},children:a.jsx("path",{d:"M373.888 576h276.224c9.322667 0 14.293333 11.178667 9.173333 18.773333l-1.258666 1.557334-138.112 146.858666a10.709333 10.709333 0 0 1-14.293334 1.365334l-1.536-1.365334-138.112-146.858666c-6.592-6.997333-2.666667-18.645333 5.973334-20.16l1.941333-0.170667h276.224-276.224z m146.026667-295.189333l138.112 146.858666c7.04 7.509333 2.069333 20.330667-7.914667 20.330667H373.888c-9.984 0-14.976-12.821333-7.914667-20.330667l138.112-146.858666a10.730667 10.730667 0 0 1 15.829334 0z",fill:"var(--chrome-arrow-fill)"})})}))}var $D=["prefixCls","className","style","color","inputType","rectProps","onChange"],tr=function(e){return e.HEXA="hexa",e.RGBA="rgba",e.HSLA="hsla",e}({}),ib=G.forwardRef((e,n)=>{var{prefixCls:t="w-color-chrome",className:o,style:i,color:l,inputType:u=tr.RGBA,rectProps:d={},onChange:p}=e,f=Kn(e,$D),g=typeof l=="string"&&Hd(l)?ls(l):l||{h:0,s:0,l:0,a:0},v=R=>p&&p(An(R)),[x,m]=C.useState(u),S=()=>{x===tr.RGBA&&m(tr.HSLA),x===tr.HSLA&&m(tr.HEXA),x===tr.HEXA&&m(tr.RGBA)},w={paddingTop:6},$={textAlign:"center",paddingTop:4,paddingBottom:4},_=_e({"--chrome-arrow-fill":"#333","--chrome-arrow-background-color":"#e8e8e8",borderRadius:0,flexDirection:"column",width:230,padding:0},i),y={"--chrome-alpha-box-shadow":"rgb(0 0 0 / 25%) 0px 0px 1px inset",borderRadius:"50%",background:JM(g),boxShadow:"var(--chrome-alpha-box-shadow)"};return a.jsx(vD,_e({ref:n,color:g,style:_,colors:void 0,className:[t,o].filter(Boolean).join(" "),placement:Mt.TopLeft},f,{addonAfter:a.jsxs(C.Fragment,{children:[a.jsx(yD,{hsva:g,style:{width:"100%",height:130},onChange:R=>{v(_e({},g,R,{a:g.a}))}}),a.jsxs("div",{style:{padding:15,display:"flex",alignItems:"center"},children:[a.jsx(Xu,{width:24,height:24,hsva:g,radius:2,style:{marginRight:15,borderRadius:"50%"},bgProps:{style:{background:"transparent"}},innerProps:{style:y},pointer:()=>a.jsx(C.Fragment,{})}),a.jsxs("div",{style:{flex:1},children:[a.jsx(_D,{hue:g.h,style:{width:"100%"},bgProps:{style:{borderRadius:2}},onChange:R=>{v(_e({},g,R))}}),a.jsx(Xu,{hsva:g,style:{marginTop:10},bgProps:{style:{borderRadius:2}},onChange:R=>{v(_e({},g,R))}})]})]}),a.jsxs("div",{style:{display:"flex",alignItems:"flex-start",padding:"0 15px 15px 15px",userSelect:"none"},children:[a.jsxs("div",{style:{flex:1},children:[x==tr.RGBA&&a.jsx(sb,{hsva:g,rProps:{labelStyle:w,inputStyle:$},gProps:{labelStyle:w,inputStyle:$},bProps:{labelStyle:w,inputStyle:$},aProps:{labelStyle:w,inputStyle:$},onChange:R=>v(R.hsva)}),x===tr.HEXA&&a.jsx(Us,{label:"HEX",labelStyle:w,inputStyle:$,value:g.a>0&&g.a<1?eD(g).toLocaleUpperCase():Sl(g).toLocaleUpperCase(),onChange:(R,M)=>{typeof M=="string"&&v(ls(/^#/.test(M)?M:"#"+M))}}),x===tr.HSLA&&a.jsx(jD,{hsva:g,hProps:{labelStyle:w,inputStyle:$},sProps:{labelStyle:w,inputStyle:$},lProps:{labelStyle:w,inputStyle:$},aProps:{labelStyle:w,inputStyle:$},onChange:R=>v(R.hsva)})]}),a.jsx(RD,{onClick:S})]})]}),rectRender:()=>a.jsx(C.Fragment,{})}))});ib.displayName="Chrome";const ED=ib,PD="mx-1 p-0 w-auto rounded-md overflow-hidden ring-muted-foreground/50 ring-1 ring-offset-1 ring-offset-background isolate z-50",AD="![--github-background-color:hsla(var(--muted)/.7)]",MD="![--github-border:none] [&>div]:[--github-background-color:transparent] [&>div]:[--github-arrow-border-color:transparent]",DD="[&_.w-color-saturation-fill]:!size-4 [&_.w-color-saturation-fill]:!-translate-x-2 [&_.w-color-saturation-fill]:!-translate-y-2";function qu({className:e,color:n,onColorChange:t,...o}){const i=Ws(n);return a.jsxs(dd,{children:[a.jsx(fd,{asChild:!0,children:a.jsx("button",{className:ct("size-12 flex-shrink-0 rounded border",e),style:{backgroundColor:Sl(i)},...o})}),a.jsx(cl,{className:PD,children:a.jsx(ED,{color:i,onChange:t,inputType:tr.HEXA,className:`${AD} ${MD} ${DD}`})})]})}function TD(){const[e,n]=C.useState(An("#2719D5").hsla),[t,o]=C.useState(An("#FFA121").hsla);return a.jsx("div",{children:a.jsxs("div",{className:"flex flex-col gap-1",children:[a.jsx(qu,{color:e,onColorChange:i=>{n(i.hsla)}}),a.jsx(qu,{color:t,onColorChange:i=>{o(i.hsla)}})]})})}const kD=["#e2e2e2","#ff75c3","#ffa647","#ffe83f","#9fff5b","#70e2ff","#cd93ff","#09203f"];function ID({background:e,setBackground:n}){return a.jsx(Ve,{value:"solid",className:"mt-0 flex flex-wrap gap-1",children:kD.map(t=>a.jsx("div",{style:{background:t},className:"h-6 w-6 cursor-pointer rounded-md active:scale-105",onClick:()=>n(t)},t))})}const lb=({background:e,children:n})=>a.jsx("div",{className:"relative rounded-md !bg-cover !bg-center p-0.5 transition-all",style:{background:e},children:a.jsx("div",{className:"rounded-md bg-popover/80 p-1 text-center text-xs",children:n})}),LD=["linear-gradient(to bottom right,#accbee,#e7f0fd)","linear-gradient(to bottom right,#d5d4d0,#d5d4d0,#eeeeec)","linear-gradient(to bottom right,#000000,#434343)","linear-gradient(to bottom right,#09203f,#537895)","linear-gradient(to bottom right,#ac32e4,#7918f2,#4801FF)","linear-gradient(to bottom right,#f953c6,#b91d73)","linear-gradient(to bottom right,#ee0979,#ff6a00)","linear-gradient(to bottom right,#f00000,#dc281e)","linear-gradient(to bottom right,#00c6ff,#0072ff)","linear-gradient(to bottom right,#4facfe,#00f2fe)","linear-gradient(to bottom right,#0ba360,#3cba92)","linear-gradient(to bottom right,#fdfc47,#24fe41)","linear-gradient(to bottom right,#8a2be2,#0000cd,#228b22,#ccff00)","linear-gradient(to bottom right,#40e0d0,#ff8c00,#ff0080)","linear-gradient(to bottom right,#fcc5e4,#fda34b,#ff7882,#c8699e,#7046aa,#0c1db8,#020f75)","linear-gradient(to bottom right,#ff75c3,#ffa647,#ffe83f,#9fff5b,#70e2ff,#cd93ff)"];function FD({background:e,setBackground:n}){return a.jsxs(Ve,{value:"gradient",className:"mt-0",children:[a.jsx("div",{className:"mb-2 flex flex-wrap gap-1",children:LD.map(t=>a.jsx("div",{style:{background:t},className:"h-6 w-6 cursor-pointer rounded-md active:scale-105",onClick:()=>n(t)},t))}),a.jsxs(lb,{background:e,children:["💡 Get more at"," ",a.jsx("a",{href:"https://gradient.page/css/ui-gradients",className:"font-bold hover:underline",target:"_blank",children:"GradientPage"})]})]})}const OD=""+new URL("1_beautiful-blue-001-BN32iEVL.jpg",import.meta.url).href,zD=""+new URL("2_pretty-in-pink-005-iM5RfYRQ.jpg",import.meta.url).href,BD=""+new URL("3_vibrant-vista-004-wMjFmYoa.jpg",import.meta.url).href,HD=""+new URL("4_deep-dusk-003-3xvTILTq.jpg",import.meta.url).href,VD=[`url(${OD})`,`url(${zD})`,`url(${BD})`,`url(${HD})`];function GD({background:e,setBackground:n}){return a.jsxs(Ve,{value:"image",className:"mt-0",children:[a.jsx("div",{className:"mb-2 grid grid-cols-2 gap-1",children:VD.map(t=>a.jsx("div",{style:{backgroundImage:t},className:"h-12 w-full cursor-pointer rounded-md bg-cover bg-center active:scale-105",onClick:()=>n(t)},t))}),a.jsxs(lb,{background:e,children:["🔓 Get more"," ",a.jsx("a",{href:"https://gradient.page/wallpapers",className:"font-bold hover:underline",target:"_blank",children:"wallpapers"}),a.jsx("br",{}),a.jsxs("div",{className:"text-[10px]",children:["App dev? Refer ",a.jsx("a",{href:"https://gradient.page/affiliate",className:"font-bold hover:underline",target:"_blank",children:"GradientPage"}),", get 80%"]})]})]})}function WD({background:e,className:n}){return a.jsx(fd,{asChild:!0,children:a.jsx(ft,{variant:"outline",className:X("w-[220px] justify-start text-left font-normal",!e&&"text-muted-foreground",n),children:a.jsxs("div",{className:"flex w-full items-center gap-2",children:[e?a.jsx("div",{className:"h-4 w-4 rounded !bg-cover !bg-center transition-all",style:{background:e}}):a.jsx(K0,{className:"h-4 w-4"}),a.jsx("div",{className:"flex-1 truncate",children:e||"Pick a color"})]})})})}function UD({background:e,setBackground:n,className:t}){const o=C.useMemo(()=>e.includes("url")?"image":e.includes("gradient")?"gradient":"solid",[e]);return a.jsxs(dd,{children:[a.jsx(WD,{className:t,background:e}),a.jsxs(cl,{className:"w-64",children:[a.jsxs(hr,{defaultValue:o,className:"w-full",children:[a.jsxs(lr,{className:"mb-4 w-full",children:[a.jsx(He,{className:"flex-1",value:"solid",children:"Solid"}),a.jsx(He,{className:"flex-1",value:"gradient",children:"Gradient"}),a.jsx(He,{className:"flex-1",value:"image",children:"Image"})]}),a.jsx(ID,{background:e,setBackground:n}),a.jsx(FD,{background:e,setBackground:n}),a.jsx(GD,{background:e,setBackground:n})]}),a.jsx(aa,{className:"col-span-2 mt-4 h-8",value:e,onChange:i=>n(i.currentTarget.value)})]})]})}const XD="linear-gradient(to right, #283048,#859398 )";function qD(){const[e,n]=C.useState(XD);return a.jsx("div",{className:"preview flex items-center justify-center rounded !bg-cover !bg-center p-10 transition-all",style:{background:e},children:a.jsx(UD,{background:e,setBackground:n})})}var KD={grad:.9,turn:360,rad:360/(2*Math.PI)},Pr=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},Bt=function(e,n,t){return n===void 0&&(n=0),t===void 0&&(t=Math.pow(10,n)),Math.round(t*e)/t+0},qn=function(e,n,t){return n===void 0&&(n=0),t===void 0&&(t=1),e>t?t:e>n?e:n},cb=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},_h=function(e){return{r:qn(e.r,0,255),g:qn(e.g,0,255),b:qn(e.b,0,255),a:qn(e.a)}},pu=function(e){return{r:Bt(e.r),g:Bt(e.g),b:Bt(e.b),a:Bt(e.a,3)}},YD=/^#([0-9a-f]{3,8})$/i,Ti=function(e){var n=e.toString(16);return n.length<2?"0"+n:n},ub=function(e){var n=e.r,t=e.g,o=e.b,i=e.a,l=Math.max(n,t,o),u=l-Math.min(n,t,o),d=u?l===n?(t-o)/u:l===t?2+(o-n)/u:4+(n-t)/u:0;return{h:60*(d<0?d+6:d),s:l?u/l*100:0,v:l/255*100,a:i}},db=function(e){var n=e.h,t=e.s,o=e.v,i=e.a;n=n/360*6,t/=100,o/=100;var l=Math.floor(n),u=o*(1-t),d=o*(1-(n-l)*t),p=o*(1-(1-n+l)*t),f=l%6;return{r:255*[o,d,u,u,p,o][f],g:255*[p,o,o,d,u,u][f],b:255*[u,u,p,o,o,d][f],a:i}},Sh=function(e){return{h:cb(e.h),s:qn(e.s,0,100),l:qn(e.l,0,100),a:qn(e.a)}},Ch=function(e){return{h:Bt(e.h),s:Bt(e.s),l:Bt(e.l),a:Bt(e.a,3)}},jh=function(e){return db((t=(n=e).s,{h:n.h,s:(t*=((o=n.l)<50?o:100-o)/100)>0?2*t/(o+t)*100:0,v:o+t,a:n.a}));var n,t,o},ra=function(e){return{h:(n=ub(e)).h,s:(i=(200-(t=n.s))*(o=n.v)/100)>0&&i<200?t*o/100/(i<=100?i:200-i)*100:0,l:i/2,a:n.a};var n,t,o,i},JD=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,ZD=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,QD=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,e8=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Ku={string:[[function(e){var n=YD.exec(e);return n?(e=n[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?Bt(parseInt(e[3]+e[3],16)/255,2):1}:e.length===6||e.length===8?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:e.length===8?Bt(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var n=QD.exec(e)||e8.exec(e);return n?n[2]!==n[4]||n[4]!==n[6]?null:_h({r:Number(n[1])/(n[2]?100/255:1),g:Number(n[3])/(n[4]?100/255:1),b:Number(n[5])/(n[6]?100/255:1),a:n[7]===void 0?1:Number(n[7])/(n[8]?100:1)}):null},"rgb"],[function(e){var n=JD.exec(e)||ZD.exec(e);if(!n)return null;var t,o,i=Sh({h:(t=n[1],o=n[2],o===void 0&&(o="deg"),Number(t)*(KD[o]||1)),s:Number(n[3]),l:Number(n[4]),a:n[5]===void 0?1:Number(n[5])/(n[6]?100:1)});return jh(i)},"hsl"]],object:[[function(e){var n=e.r,t=e.g,o=e.b,i=e.a,l=i===void 0?1:i;return Pr(n)&&Pr(t)&&Pr(o)?_h({r:Number(n),g:Number(t),b:Number(o),a:Number(l)}):null},"rgb"],[function(e){var n=e.h,t=e.s,o=e.l,i=e.a,l=i===void 0?1:i;if(!Pr(n)||!Pr(t)||!Pr(o))return null;var u=Sh({h:Number(n),s:Number(t),l:Number(o),a:Number(l)});return jh(u)},"hsl"],[function(e){var n=e.h,t=e.s,o=e.v,i=e.a,l=i===void 0?1:i;if(!Pr(n)||!Pr(t)||!Pr(o))return null;var u=function(d){return{h:cb(d.h),s:qn(d.s,0,100),v:qn(d.v,0,100),a:qn(d.a)}}({h:Number(n),s:Number(t),v:Number(o),a:Number(l)});return db(u)},"hsv"]]},Nh=function(e,n){for(var t=0;t=.5},e.prototype.toHex=function(){return n=pu(this.rgba),t=n.r,o=n.g,i=n.b,u=(l=n.a)<1?Ti(Bt(255*l)):"","#"+Ti(t)+Ti(o)+Ti(i)+u;var n,t,o,i,l,u},e.prototype.toRgb=function(){return pu(this.rgba)},e.prototype.toRgbString=function(){return n=pu(this.rgba),t=n.r,o=n.g,i=n.b,(l=n.a)<1?"rgba("+t+", "+o+", "+i+", "+l+")":"rgb("+t+", "+o+", "+i+")";var n,t,o,i,l},e.prototype.toHsl=function(){return Ch(ra(this.rgba))},e.prototype.toHslString=function(){return n=Ch(ra(this.rgba)),t=n.h,o=n.s,i=n.l,(l=n.a)<1?"hsla("+t+", "+o+"%, "+i+"%, "+l+")":"hsl("+t+", "+o+"%, "+i+"%)";var n,t,o,i,l},e.prototype.toHsv=function(){return n=ub(this.rgba),{h:Bt(n.h),s:Bt(n.s),v:Bt(n.v),a:Bt(n.a,3)};var n},e.prototype.invert=function(){return Ar({r:255-(n=this.rgba).r,g:255-n.g,b:255-n.b,a:n.a});var n},e.prototype.saturate=function(n){return n===void 0&&(n=.1),Ar(gu(this.rgba,n))},e.prototype.desaturate=function(n){return n===void 0&&(n=.1),Ar(gu(this.rgba,-n))},e.prototype.grayscale=function(){return Ar(gu(this.rgba,-1))},e.prototype.lighten=function(n){return n===void 0&&(n=.1),Ar(Rh(this.rgba,n))},e.prototype.darken=function(n){return n===void 0&&(n=.1),Ar(Rh(this.rgba,-n))},e.prototype.rotate=function(n){return n===void 0&&(n=15),this.hue(this.hue()+n)},e.prototype.alpha=function(n){return typeof n=="number"?Ar({r:(t=this.rgba).r,g:t.g,b:t.b,a:n}):Bt(this.rgba.a,3);var t},e.prototype.hue=function(n){var t=ra(this.rgba);return typeof n=="number"?Ar({h:n,s:t.s,l:t.l,a:t.a}):Bt(t.h)},e.prototype.isEqual=function(n){return this.toHex()===Ar(n).toHex()},e}(),Ar=function(e){return e instanceof Un?e:new Un(e)},$h=[],n8=function(e){e.forEach(function(n){$h.indexOf(n)<0&&(n(Un,Ku),$h.push(n))})},mu=function(e){var n=e/255;return n<.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)},vu=function(e){return .2126*mu(e.r)+.7152*mu(e.g)+.0722*mu(e.b)};function r8(e){e.prototype.luminance=function(){return n=vu(this.rgba),(t=2)===void 0&&(t=0),o===void 0&&(o=Math.pow(10,t)),Math.round(o*n)/o+0;var n,t,o},e.prototype.contrast=function(n){n===void 0&&(n="#FFF");var t,o,i,l,u,d,p,f=n instanceof e?n:new e(n);return l=this.rgba,u=f.toRgb(),d=vu(l),p=vu(u),t=d>p?(d+.05)/(p+.05):(p+.05)/(d+.05),(o=2)===void 0&&(o=0),i===void 0&&(i=Math.pow(10,o)),Math.floor(i*t)/i+0},e.prototype.isReadable=function(n,t){return n===void 0&&(n="#FFF"),t===void 0&&(t={}),this.contrast(n)>=(d=(u=(o=t).size)===void 0?"normal":u,(l=(i=o.level)===void 0?"AA":i)==="AAA"&&d==="normal"?7:l==="AA"&&d==="large"?3:4.5);var o,i,l,u,d}}function o8(e){var n={analogous:[-30,0,30],complementary:[0,180],"double-split-complementary":[-30,0,30,150,210],rectangle:[0,60,180,240],tetradic:[0,90,180,270],triadic:[0,120,240],"split-complementary":[0,150,210]};e.prototype.harmonies=function(t){var o=this;return t===void 0&&(t="complementary"),n[t].map(function(i){return o.rotate(i)})}}n8([r8,o8]);const Je={number:{int:e=>Math.floor(Math.random()*(e.max-e.min+1))+e.min,float:e=>Math.random()*(e.max-e.min)+e.min},datatype:{boolean:()=>Math.random()<.5},helpers:{arrayElement:e=>e[Math.floor(Math.random()*e.length)]}};function s8(){return{h:Je.number.int({min:0,max:360}),s:Je.number.int({min:0,max:100}),l:Je.number.int({min:10,max:90})}}function a8(e){return{h:e,s:Je.number.int({min:30,max:70}),l:Je.number.int({min:98,max:100})}}function i8(e){return{h:e,s:Je.number.int({min:30,max:60}),l:Je.number.int({min:0,max:4})}}function l8(e){return{h:e,s:Je.number.int({min:50,max:80}),l:Je.number.int({min:0,max:5})}}function c8(e){return{h:e,s:Je.number.int({min:10,max:40}),l:Je.number.int({min:97,max:100})}}function u8(){return new Un({h:Je.number.int({min:0,max:22}),s:Je.number.int({min:80,max:100}),l:Je.number.int({min:20,max:45})})}const d8=["complementary","triadic","analogous","slick"];function Eh(e,n,t,o){switch(n){case"triadic":{const[,i,l]=e.harmonies(n);if(!i||!l)throw new Error("Failed to create harmony");return{secondary:i,accent:l}}case"complementary":{const[,i]=e.harmonies(n);if(!i)throw new Error("Failed to create harmony");return{secondary:i,accent:i}}case"analogous":{const[i,,l]=e.harmonies(n);if(!i||!l)throw new Error("Failed to create harmony");return{secondary:i,accent:l}}case"slick":if(o){const i=Je.number.int({min:0,max:20}),l=Je.number.int({min:8,max:20}),u=new Un({h:e.hue(),s:i,l});return{secondary:u,accent:t?u:u.saturate(Je.number.float({min:.05,max:.1})).lighten(Je.number.float({min:.05,max:.1}))}}else{const i=Je.number.int({min:0,max:20}),l=Je.number.int({min:80,max:92}),u=new Un({h:e.hue(),s:i,l});return{secondary:u,accent:t?u:u.darken(Je.number.float({min:.05,max:.1})).saturate(Je.number.float({min:.05,max:.1}))}}default:{const i=n;throw new Error(`Invalid mode ${i}`)}}}function Zr(e){const n=e.isLight();let t=e,o=0;for(;t.contrast(e)<6&&(t=n?t.darken(.2):t.lighten(.2),!(o++>10)););return t}function It(e){const n=e.toHsl();return{h:n.h,s:n.s,l:n.l}}function Vd(e){const n=new Un(e??s8()),t=n,o=n,i=It(t),l=It(o),u=It(Zr(t)),d=It(Zr(o)),p=i8(n.hue()),f=a8(n.hue()),g=c8(n.hue()),v=l8(n.hue()),x=Je.datatype.boolean(),m=x?It(new Un(f).darken(.01)):f,S=x?It(new Un(p).lighten(.01)):p,w=x?It(new Un(v).darken(.01)):v,$=x?It(new Un(g).lighten(.01)):g,_=Je.datatype.boolean(),y=_?m:f,R=_?S:p,M=_?w:v,E=_?$:g,I=Je.helpers.arrayElement(d8),H=Je.datatype.boolean(),P=Eh(t,I,H,!1),D=It(P.secondary),k=It(Zr(P.secondary)),L=It(P.accent),F=It(Zr(P.accent)),Z=Eh(o,I,H,!0),V=It(Z.secondary),J=It(Zr(Z.secondary)),de=It(Z.accent),ge=It(Zr(Z.accent)),ce=u8(),ue=It(ce),K={h:ue.h,s:ue.s,l:Je.number.int({min:45,max:60})},ne=It(Zr(ce)),U=It(Zr(new Un(K))),q={s:Je.number.int({min:5,max:40}),l:Je.number.int({min:0,max:10})},ie={h:D.h,s:q.s,l:85+q.l},pe={h:V.h,s:q.s,l:15-q.l},Y={s:Je.number.int({min:0,max:15}),l:Je.number.int({min:0,max:15})},be={h:ie.h,s:Y.s,l:25+Y.l},B={h:pe.h,s:Y.s,l:75-Y.l},se={s:Je.number.int({min:2,max:15}),l:Je.number.int({min:5,max:10})},fe={h:f.h,s:se.s,l:f.l-se.l},le={h:p.h,s:se.s,l:Je.number.int({min:10,max:15})};return{light:{background:f,foreground:v,card:m,cardForeground:w,popover:y,popoverForeground:M,primary:i,primaryForeground:u,secondary:D,secondaryForeground:k,accent:L,accentForeground:F,destructive:ue,destructiveForeground:ne,muted:ie,mutedForeground:be,border:fe,input:fe,ring:i},dark:{background:p,foreground:g,card:S,cardForeground:$,popover:R,popoverForeground:E,primary:l,primaryForeground:d,secondary:V,secondaryForeground:J,accent:de,accentForeground:ge,destructive:K,destructiveForeground:U,muted:pe,mutedForeground:B,border:le,input:le,ring:l}}}const f8=Object.freeze(Object.defineProperty({__proto__:null,createThemeConfig:Vd},Symbol.toStringTag,{value:"Module"}));function fb(){const{theme:e}=Ir(lt);return e}const p8=()=>fb(),pb=kd(Vd());function Cl(){return Fu(pb)}function gb(){const e=p8(),n=Dx(pb);return e?n[e]:null}function hb({label:e,themeKey:n}){const t=fb(),o=Cl(),i=gb();if(!i)return null;const l=i[n];function u(d,p){if(!t)return;const f={...i,[d]:p};o(g=>({...g,[t]:f}))}return a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(qu,{color:{...l,a:1},onColorChange:d=>{const p=d.hsl,f=Number(p.h.toFixed(2)),g=Number(p.s.toFixed(2)),v=Number(p.l.toFixed(2));u(n,{h:f,s:g,l:v})},className:"size-6"}),a.jsx(Ki,{className:"flex-shrink-0",children:e})]})}function g8(){return a.jsx("div",{className:"flex flex-col gap-3 py-4",children:h8.map(({label:e,themeKey:n})=>a.jsx(hb,{label:e,themeKey:n},n))})}const h8=[{label:"Background",themeKey:"background"},{label:"Foreground",themeKey:"foreground"},{label:"Card",themeKey:"card"},{label:"Card Foreground",themeKey:"cardForeground"},{label:"Popover",themeKey:"popover"},{label:"Popover Foreground",themeKey:"popoverForeground"},{label:"Primary",themeKey:"primary"},{label:"Primary Foreground",themeKey:"primaryForeground"},{label:"Secondary",themeKey:"secondary"},{label:"Secondary Foreground",themeKey:"secondaryForeground"},{label:"Muted",themeKey:"muted"},{label:"Muted Foreground",themeKey:"mutedForeground"},{label:"Accent",themeKey:"accent"},{label:"Accent Foreground",themeKey:"accentForeground"},{label:"Destructive",themeKey:"destructive"},{label:"Destructive Foreground",themeKey:"destructiveForeground"},{label:"Border",themeKey:"border"},{label:"Input",themeKey:"input"},{label:"Ring",themeKey:"ring"}];var m8=function(e,n,t){if(t||arguments.length===2)for(var o=0,i=n.length,l;o{const n=e.split(/\r?\n/),t=x8(y8),o=[],i=[];let l=0,u=!1;for(const d of n){d.includes(".dark")&&(u=!0),d.includes("}")&&(u=!1);const p=d.trim();if(p.startsWith("--")){const[f,g]=p.split(":");if(!f){l++;continue}const v=t[f.replace("--","")];if(!v)continue;if(!g){l++;continue}const x=g.trim().replace(";","").replaceAll("%","").split(" ");if(x.length!==3){l++;continue}const[m,S,w]=x;if(!m||!S||!w){l++;continue}const $=Number(m),_=Number(S),y=Number(w);if(isNaN($)||isNaN(_)||isNaN(y)){l++;continue}const R={h:$,s:_,l:y};if(u){i.push([v,R]);continue}o.push([v,R])}}return{light:rl.strict(o),dark:rl.strict(i),errors:l}};function _8(){return typeof navigator>"u"?!1:navigator.platform.toUpperCase().indexOf("MAC")>=0}function S8(){const e=Cl(),n=C.useCallback(t=>{const o=w8(t);e(i=>({dark:{...i.dark,...o.dark},light:{...i.light,...o.light}})),o.errors>0?Tu.warning("Some values were invalid and were not pasted."):Tu.success("Theme pasted successfully! 🎉")},[e]);return C.useEffect(()=>{function t(o){const i=o?.clipboardData?.getData("text");i&&n(i)}return window.addEventListener("paste",t),()=>{window.removeEventListener("paste",t)}},[n]),a.jsxs("div",{className:"flex flex-col items-center border border-dotted px-2 py-4 text-center",children:[a.jsx("p",{className:"text-sm",children:"Paste existing theme"}),a.jsxs("p",{className:"mx-auto flex rounded-pill font-mono text-sm text-muted-foreground",children:[_8()?"⌘":"Ctrl"," + V"]})]})}function C8(){const e=gb(),n=Cl();return e?a.jsxs("div",{className:"border border-dotted px-2 py-4",children:[a.jsx("p",{className:"text-sm font-medium",children:"Generate theme"}),a.jsx("p",{className:"text-xs text-muted-foreground",children:"Based on the primary color"}),a.jsxs("div",{className:"flex items-center justify-between gap-1 py-2",children:[a.jsx(hb,{label:"Primary",themeKey:"primary"}),a.jsx(ft,{className:"h-auto px-4 py-1 text-sm",onClick:()=>n(Vd(e.primary)),children:"Generate"})]})]}):null}function j8(){return a.jsxs(a.Fragment,{children:[a.jsx("p",{className:"text-lg font-semibold leading-none tracking-tight",children:"Customize Theme"}),a.jsx(dl,{className:"my-4 h-72",children:a.jsx(g8,{})}),a.jsx("div",{children:a.jsx(S8,{})}),a.jsx("div",{className:"pt-8",children:a.jsx(C8,{})})]})}function N8(){return a.jsxs(dd,{children:[a.jsx(fd,{asChild:!0,children:a.jsxs(ft,{variant:"outline",children:[a.jsx(K0,{className:"size-4"}),a.jsx("span",{className:"sr-only",children:"Customize"})]})}),a.jsxs(cl,{className:"w-auto min-w-96 max-h-[720px] bg-muted overflow-auto smallscroll",children:[" ",a.jsx(j8,{})]})]})}const R8="modulepreload",$8=function(e,n){return new URL(e,n).href},Ph={},E8=function(n,t,o){let i=Promise.resolve();if(t&&t.length>0){const l=document.getElementsByTagName("link");i=Promise.all(t.map(u=>{if(u=$8(u,o),u in Ph)return;Ph[u]=!0;const d=u.endsWith(".css"),p=d?'[rel="stylesheet"]':"";if(!!o)for(let v=l.length-1;v>=0;v--){const x=l[v];if(x.href===u&&(!d||x.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${p}`))return;const g=document.createElement("link");if(g.rel=d?"stylesheet":R8,d||(g.as="script",g.crossOrigin=""),g.href=u,document.head.appendChild(g),d)return new Promise((v,x)=>{g.addEventListener("load",v),g.addEventListener("error",()=>x(new Error(`Unable to preload CSS for ${u}`)))})}))}return i.then(()=>n()).catch(l=>{const u=new Event("vite:preloadError",{cancelable:!0});if(u.payload=l,window.dispatchEvent(u),!u.defaultPrevented)throw l})},P8=({className:e})=>{const n=Cl();return a.jsxs(v5,{children:[a.jsx(x5,{asChild:!0,children:a.jsx(ft,{asChild:!0,variant:"outline",className:ct(e),children:a.jsxs("button",{onClick:async()=>{const t=(await E8(()=>Promise.resolve().then(()=>f8),void 0,import.meta.url)).createThemeConfig,o=t();n(o)},className:"flex items-center gap-2",children:[a.jsx(i5,{className:"size-4"}),"Random Theme"]})})}),a.jsx(J0,{children:"Generate Random theme"})]})};var mb={exports:{}},Xs={exports:{}};/** * @license * Lodash * Copyright OpenJS Foundation and other contributors * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */Xs.exports;var Rh;function R8(){return Rh||(Rh=1,function(e,n){(function(){var t,o="4.17.21",i=200,l="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",u="Expected a function",d="Invalid `variable` option passed into `_.template`",p="__lodash_hash_undefined__",f=500,g="__lodash_placeholder__",v=1,x=2,m=4,S=1,w=2,$=1,_=2,y=4,R=8,M=16,E=32,k=64,H=128,P=256,D=512,I=30,L="...",F=800,Z=16,V=1,J=2,de=3,ge=1/0,ce=9007199254740991,ue=17976931348623157e292,K=NaN,ne=4294967295,U=ne-1,q=ne>>>1,ie=[["ary",H],["bind",$],["bindKey",_],["curry",R],["curryRight",M],["flip",D],["partial",E],["partialRight",k],["rearg",P]],pe="[object Arguments]",Y="[object Array]",be="[object AsyncFunction]",B="[object Boolean]",se="[object Date]",fe="[object DOMException]",le="[object Error]",oe="[object Function]",he="[object GeneratorFunction]",xe="[object Map]",Ce="[object Number]",nt="[object Null]",Ze="[object Object]",Qe="[object Promise]",Ue="[object Proxy]",rt="[object RegExp]",ze="[object Set]",ot="[object String]",He="[object Symbol]",Ft="[object Undefined]",St="[object WeakMap]",Ht="[object WeakSet]",Vt="[object ArrayBuffer]",Ct="[object DataView]",Xe="[object Float32Array]",ee="[object Float64Array]",me="[object Int8Array]",we="[object Int16Array]",De="[object Int32Array]",ve="[object Uint8Array]",je="[object Uint8ClampedArray]",Ne="[object Uint16Array]",ke="[object Uint32Array]",et=/\b__p \+= '';/g,st=/\b(__p \+=) '' \+/g,Rt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,At=/&(?:amp|lt|gt|quot|#39);/g,xn=/[&<>"']/g,Jt=RegExp(At.source),$t=RegExp(xn.source),cr=/<%-([\s\S]+?)%>/g,bn=/<%([\s\S]+?)%>/g,Tn=/<%=([\s\S]+?)%>/g,Ut=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,In=/^\w*$/,lo=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Zt=/[\\^$.*+?()[\]{}|]/g,ln=RegExp(Zt.source),Qt=/^\s+/,cn=/\s/,kn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ln=/\{\n\/\* \[wrapped with (.+)\] \*/,Nl=/,? & /,Rl=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,en=/[()=,{}\[\]\/\s]/,tn=/\\(\\)?/g,un=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,nn=/\w*$/,gs=/^[-+]0x[0-9a-f]+$/i,yn=/^0b[01]+$/i,Na=/^\[object .+?Constructor\]$/,Ra=/^0o[0-7]+$/i,$a=/^(?:0|[1-9]\d*)$/,Ea=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,co=/($^)/,Pa=/['\n\r\u2028\u2029\\]/g,Do="\\ud800-\\udfff",$l="\\u0300-\\u036f",hs="\\ufe20-\\ufe2f",ms="\\u20d0-\\u20ff",Aa=$l+hs+ms,Ma="\\u2700-\\u27bf",Da="a-z\\xdf-\\xf6\\xf8-\\xff",vs="\\xac\\xb1\\xd7\\xf7",jb="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Nb="\\u2000-\\u206f",Rb=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Gd="A-Z\\xc0-\\xd6\\xd8-\\xde",Wd="\\ufe0e\\ufe0f",Ud=vs+jb+Nb+Rb,El="['’]",$b="["+Do+"]",Xd="["+Ud+"]",Ta="["+Aa+"]",qd="\\d+",Eb="["+Ma+"]",Kd="["+Da+"]",Yd="[^"+Do+Ud+qd+Ma+Da+Gd+"]",Pl="\\ud83c[\\udffb-\\udfff]",Pb="(?:"+Ta+"|"+Pl+")",Jd="[^"+Do+"]",Al="(?:\\ud83c[\\udde6-\\uddff]){2}",Ml="[\\ud800-\\udbff][\\udc00-\\udfff]",To="["+Gd+"]",Zd="\\u200d",Qd="(?:"+Kd+"|"+Yd+")",Ab="(?:"+To+"|"+Yd+")",ef="(?:"+El+"(?:d|ll|m|re|s|t|ve))?",tf="(?:"+El+"(?:D|LL|M|RE|S|T|VE))?",nf=Pb+"?",rf="["+Wd+"]?",Mb="(?:"+Zd+"(?:"+[Jd,Al,Ml].join("|")+")"+rf+nf+")*",Db="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Tb="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",of=rf+nf+Mb,Ib="(?:"+[Eb,Al,Ml].join("|")+")"+of,kb="(?:"+[Jd+Ta+"?",Ta,Al,Ml,$b].join("|")+")",Lb=RegExp(El,"g"),Fb=RegExp(Ta,"g"),Dl=RegExp(Pl+"(?="+Pl+")|"+kb+of,"g"),Ob=RegExp([To+"?"+Kd+"+"+ef+"(?="+[Xd,To,"$"].join("|")+")",Ab+"+"+tf+"(?="+[Xd,To+Qd,"$"].join("|")+")",To+"?"+Qd+"+"+ef,To+"+"+tf,Tb,Db,qd,Ib].join("|"),"g"),zb=RegExp("["+Zd+Do+Aa+Wd+"]"),Bb=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Hb=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Vb=-1,pt={};pt[Xe]=pt[ee]=pt[me]=pt[we]=pt[De]=pt[ve]=pt[je]=pt[Ne]=pt[ke]=!0,pt[pe]=pt[Y]=pt[Vt]=pt[B]=pt[Ct]=pt[se]=pt[le]=pt[oe]=pt[xe]=pt[Ce]=pt[Ze]=pt[rt]=pt[ze]=pt[ot]=pt[St]=!1;var ft={};ft[pe]=ft[Y]=ft[Vt]=ft[Ct]=ft[B]=ft[se]=ft[Xe]=ft[ee]=ft[me]=ft[we]=ft[De]=ft[xe]=ft[Ce]=ft[Ze]=ft[rt]=ft[ze]=ft[ot]=ft[He]=ft[ve]=ft[je]=ft[Ne]=ft[ke]=!0,ft[le]=ft[oe]=ft[St]=!1;var Gb={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Wb={"&":"&","<":"<",">":">",'"':""","'":"'"},Ub={"&":"&","<":"<",">":">",""":'"',"'":"'"},Xb={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},qb=parseFloat,Kb=parseInt,sf=typeof Yo=="object"&&Yo&&Yo.Object===Object&&Yo,Yb=typeof self=="object"&&self&&self.Object===Object&&self,Gt=sf||Yb||Function("return this")(),Tl=n&&!n.nodeType&&n,uo=Tl&&!0&&e&&!e.nodeType&&e,af=uo&&uo.exports===Tl,Il=af&&sf.process,Fn=function(){try{var O=uo&&uo.require&&uo.require("util").types;return O||Il&&Il.binding&&Il.binding("util")}catch{}}(),lf=Fn&&Fn.isArrayBuffer,cf=Fn&&Fn.isDate,uf=Fn&&Fn.isMap,df=Fn&&Fn.isRegExp,ff=Fn&&Fn.isSet,pf=Fn&&Fn.isTypedArray;function wn(O,Q,W){switch(W.length){case 0:return O.call(Q);case 1:return O.call(Q,W[0]);case 2:return O.call(Q,W[0],W[1]);case 3:return O.call(Q,W[0],W[1],W[2])}return O.apply(Q,W)}function Jb(O,Q,W,Se){for(var Te=-1,tt=O==null?0:O.length;++Te-1}function kl(O,Q,W){for(var Se=-1,Te=O==null?0:O.length;++Se-1;);return W}function wf(O,Q){for(var W=O.length;W--&&Io(Q,O[W],0)>-1;);return W}function ay(O,Q){for(var W=O.length,Se=0;W--;)O[W]===Q&&++Se;return Se}var iy=zl(Gb),ly=zl(Wb);function cy(O){return"\\"+Xb[O]}function uy(O,Q){return O==null?t:O[Q]}function ko(O){return zb.test(O)}function dy(O){return Bb.test(O)}function fy(O){for(var Q,W=[];!(Q=O.next()).done;)W.push(Q.value);return W}function Gl(O){var Q=-1,W=Array(O.size);return O.forEach(function(Se,Te){W[++Q]=[Te,Se]}),W}function _f(O,Q){return function(W){return O(Q(W))}}function Lr(O,Q){for(var W=-1,Se=O.length,Te=0,tt=[];++W-1}function Qy(r,s){var c=this.__data__,h=Za(c,r);return h<0?(++this.size,c.push([r,s])):c[h][1]=s,this}mr.prototype.clear=Ky,mr.prototype.delete=Yy,mr.prototype.get=Jy,mr.prototype.has=Zy,mr.prototype.set=Qy;function vr(r){var s=-1,c=r==null?0:r.length;for(this.clear();++s=s?r:s)),r}function Hn(r,s,c,h,b,N){var A,T=s&v,z=s&x,te=s&m;if(c&&(A=b?c(r,h,b,N):c(r)),A!==t)return A;if(!wt(r))return r;var re=Ie(r);if(re){if(A=rw(r),!T)return dn(r,A)}else{var ae=qt(r),ye=ae==oe||ae==he;if(Vr(r))return op(r,T);if(ae==Ze||ae==pe||ye&&!b){if(A=z||ye?{}:Sp(r),!T)return z?U1(r,h1(A,r)):W1(r,Tf(A,r))}else{if(!ft[ae])return b?r:{};A=ow(r,ae,T)}}N||(N=new Jn);var Re=N.get(r);if(Re)return Re;N.set(r,A),Zp(r)?r.forEach(function(Pe){A.add(Hn(Pe,s,c,Pe,r,N))}):Yp(r)&&r.forEach(function(Pe,Ve){A.set(Ve,Hn(Pe,s,c,Ve,r,N))});var Ee=te?z?mc:hc:z?pn:Ot,Oe=re?t:Ee(r);return On(Oe||r,function(Pe,Ve){Oe&&(Ve=Pe,Pe=r[Ve]),Cs(A,Ve,Hn(Pe,s,c,Ve,r,N))}),A}function m1(r){var s=Ot(r);return function(c){return If(c,r,s)}}function If(r,s,c){var h=c.length;if(r==null)return!h;for(r=ct(r);h--;){var b=c[h],N=s[b],A=r[b];if(A===t&&!(b in r)||!N(A))return!1}return!0}function kf(r,s,c){if(typeof r!="function")throw new zn(u);return As(function(){r.apply(t,c)},s)}function js(r,s,c,h){var b=-1,N=Ia,A=!0,T=r.length,z=[],te=s.length;if(!T)return z;c&&(s=xt(s,_n(c))),h?(N=kl,A=!1):s.length>=i&&(N=xs,A=!1,s=new go(s));e:for(;++bb?0:b+c),h=h===t||h>b?b:Le(h),h<0&&(h+=b),h=c>h?0:eg(h);c0&&c(T)?s>1?Wt(T,s-1,c,h,b):kr(b,T):h||(b[b.length]=T)}return b}var Jl=up(),Of=up(!0);function ur(r,s){return r&&Jl(r,s,Ot)}function Zl(r,s){return r&&Of(r,s,Ot)}function ei(r,s){return Ir(s,function(c){return _r(r[c])})}function mo(r,s){s=Br(s,r);for(var c=0,h=s.length;r!=null&&cs}function b1(r,s){return r!=null&&it.call(r,s)}function y1(r,s){return r!=null&&s in ct(r)}function w1(r,s,c){return r>=Xt(s,c)&&r=120&&re.length>=120)?new go(A&&re):t}re=r[0];var ae=-1,ye=T[0];e:for(;++ae-1;)T!==r&&Wa.call(T,z,1),Wa.call(r,z,1);return r}function Yf(r,s){for(var c=r?s.length:0,h=c-1;c--;){var b=s[c];if(c==h||b!==N){var N=b;wr(b)?Wa.call(r,b,1):lc(r,b)}}return r}function sc(r,s){return r+qa(Pf()*(s-r+1))}function T1(r,s,c,h){for(var b=-1,N=It(Xa((s-r)/(c||1)),0),A=W(N);N--;)A[h?N:++b]=r,r+=c;return A}function ac(r,s){var c="";if(!r||s<1||s>ce)return c;do s%2&&(c+=r),s=qa(s/2),s&&(r+=r);while(s);return c}function Be(r,s){return Sc(Np(r,s,gn),r+"")}function I1(r){return Df(Xo(r))}function k1(r,s){var c=Xo(r);return di(c,ho(s,0,c.length))}function $s(r,s,c,h){if(!wt(r))return r;s=Br(s,r);for(var b=-1,N=s.length,A=N-1,T=r;T!=null&&++bb?0:b+s),c=c>b?b:c,c<0&&(c+=b),b=s>c?0:c-s>>>0,s>>>=0;for(var N=W(b);++h>>1,A=r[N];A!==null&&!Cn(A)&&(c?A<=s:A=i){var te=s?null:Y1(r);if(te)return La(te);A=!1,b=xs,z=new go}else z=s?[]:T;e:for(;++h=h?r:Vn(r,s,c)}var rp=Ry||function(r){return Gt.clearTimeout(r)};function op(r,s){if(s)return r.slice();var c=r.length,h=jf?jf(c):new r.constructor(c);return r.copy(h),h}function fc(r){var s=new r.constructor(r.byteLength);return new Va(s).set(new Va(r)),s}function B1(r,s){var c=s?fc(r.buffer):r.buffer;return new r.constructor(c,r.byteOffset,r.byteLength)}function H1(r){var s=new r.constructor(r.source,nn.exec(r));return s.lastIndex=r.lastIndex,s}function V1(r){return Ss?ct(Ss.call(r)):{}}function sp(r,s){var c=s?fc(r.buffer):r.buffer;return new r.constructor(c,r.byteOffset,r.length)}function ap(r,s){if(r!==s){var c=r!==t,h=r===null,b=r===r,N=Cn(r),A=s!==t,T=s===null,z=s===s,te=Cn(s);if(!T&&!te&&!N&&r>s||N&&A&&z&&!T&&!te||h&&A&&z||!c&&z||!b)return 1;if(!h&&!N&&!te&&r=T)return z;var te=c[h];return z*(te=="desc"?-1:1)}}return r.index-s.index}function ip(r,s,c,h){for(var b=-1,N=r.length,A=c.length,T=-1,z=s.length,te=It(N-A,0),re=W(z+te),ae=!h;++T1?c[b-1]:t,A=b>2?c[2]:t;for(N=r.length>3&&typeof N=="function"?(b--,N):t,A&&on(c[0],c[1],A)&&(N=b<3?t:N,b=1),s=ct(s);++h-1?b[N?s[A]:A]:t}}function pp(r){return yr(function(s){var c=s.length,h=c,b=Bn.prototype.thru;for(r&&s.reverse();h--;){var N=s[h];if(typeof N!="function")throw new zn(u);if(b&&!A&&ci(N)=="wrapper")var A=new Bn([],!0)}for(h=A?h:c;++h1&&qe.reverse(),re&&zT))return!1;var te=N.get(r),re=N.get(s);if(te&&re)return te==s&&re==r;var ae=-1,ye=!0,Re=c&w?new go:t;for(N.set(r,s),N.set(s,r);++ae1?"& ":"")+s[h],s=s.join(c>2?", ":" "),r.replace(kn,`{ + */Xs.exports;var Ah;function A8(){return Ah||(Ah=1,function(e,n){(function(){var t,o="4.17.21",i=200,l="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",u="Expected a function",d="Invalid `variable` option passed into `_.template`",p="__lodash_hash_undefined__",f=500,g="__lodash_placeholder__",v=1,x=2,m=4,S=1,w=2,$=1,_=2,y=4,R=8,M=16,E=32,I=64,H=128,P=256,D=512,k=30,L="...",F=800,Z=16,V=1,J=2,de=3,ge=1/0,ce=9007199254740991,ue=17976931348623157e292,K=NaN,ne=4294967295,U=ne-1,q=ne>>>1,ie=[["ary",H],["bind",$],["bindKey",_],["curry",R],["curryRight",M],["flip",D],["partial",E],["partialRight",I],["rearg",P]],pe="[object Arguments]",Y="[object Array]",be="[object AsyncFunction]",B="[object Boolean]",se="[object Date]",fe="[object DOMException]",le="[object Error]",oe="[object Function]",he="[object GeneratorFunction]",xe="[object Map]",Ce="[object Number]",nt="[object Null]",Ze="[object Object]",Qe="[object Promise]",qe="[object Proxy]",rt="[object RegExp]",ze="[object Set]",ot="[object String]",Ge="[object Symbol]",Ft="[object Undefined]",St="[object WeakMap]",Ht="[object WeakSet]",Vt="[object ArrayBuffer]",Ct="[object DataView]",Ke="[object Float32Array]",ee="[object Float64Array]",me="[object Int8Array]",we="[object Int16Array]",De="[object Int32Array]",ve="[object Uint8Array]",je="[object Uint8ClampedArray]",Ne="[object Uint16Array]",Ie="[object Uint32Array]",et=/\b__p \+= '';/g,st=/\b(__p \+=) '' \+/g,Rt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,At=/&(?:amp|lt|gt|quot|#39);/g,xn=/[&<>"']/g,Jt=RegExp(At.source),$t=RegExp(xn.source),ur=/<%-([\s\S]+?)%>/g,bn=/<%([\s\S]+?)%>/g,Tn=/<%=([\s\S]+?)%>/g,Ut=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,kn=/^\w*$/,co=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Zt=/[\\^$.*+?()[\]{}|]/g,ln=RegExp(Zt.source),Qt=/^\s+/,cn=/\s/,In=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ln=/\{\n\/\* \[wrapped with (.+)\] \*/,El=/,? & /,Pl=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,en=/[()=,{}\[\]\/\s]/,tn=/\\(\\)?/g,un=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,nn=/\w*$/,gs=/^[-+]0x[0-9a-f]+$/i,yn=/^0b[01]+$/i,Na=/^\[object .+?Constructor\]$/,Ra=/^0o[0-7]+$/i,$a=/^(?:0|[1-9]\d*)$/,Ea=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,uo=/($^)/,Pa=/['\n\r\u2028\u2029\\]/g,Do="\\ud800-\\udfff",Al="\\u0300-\\u036f",hs="\\ufe20-\\ufe2f",ms="\\u20d0-\\u20ff",Aa=Al+hs+ms,Ma="\\u2700-\\u27bf",Da="a-z\\xdf-\\xf6\\xf8-\\xff",vs="\\xac\\xb1\\xd7\\xf7",Pb="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Ab="\\u2000-\\u206f",Mb=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",qd="A-Z\\xc0-\\xd6\\xd8-\\xde",Kd="\\ufe0e\\ufe0f",Yd=vs+Pb+Ab+Mb,Ml="['’]",Db="["+Do+"]",Jd="["+Yd+"]",Ta="["+Aa+"]",Zd="\\d+",Tb="["+Ma+"]",Qd="["+Da+"]",ef="[^"+Do+Yd+Zd+Ma+Da+qd+"]",Dl="\\ud83c[\\udffb-\\udfff]",kb="(?:"+Ta+"|"+Dl+")",tf="[^"+Do+"]",Tl="(?:\\ud83c[\\udde6-\\uddff]){2}",kl="[\\ud800-\\udbff][\\udc00-\\udfff]",To="["+qd+"]",nf="\\u200d",rf="(?:"+Qd+"|"+ef+")",Ib="(?:"+To+"|"+ef+")",of="(?:"+Ml+"(?:d|ll|m|re|s|t|ve))?",sf="(?:"+Ml+"(?:D|LL|M|RE|S|T|VE))?",af=kb+"?",lf="["+Kd+"]?",Lb="(?:"+nf+"(?:"+[tf,Tl,kl].join("|")+")"+lf+af+")*",Fb="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ob="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",cf=lf+af+Lb,zb="(?:"+[Tb,Tl,kl].join("|")+")"+cf,Bb="(?:"+[tf+Ta+"?",Ta,Tl,kl,Db].join("|")+")",Hb=RegExp(Ml,"g"),Vb=RegExp(Ta,"g"),Il=RegExp(Dl+"(?="+Dl+")|"+Bb+cf,"g"),Gb=RegExp([To+"?"+Qd+"+"+of+"(?="+[Jd,To,"$"].join("|")+")",Ib+"+"+sf+"(?="+[Jd,To+rf,"$"].join("|")+")",To+"?"+rf+"+"+of,To+"+"+sf,Ob,Fb,Zd,zb].join("|"),"g"),Wb=RegExp("["+nf+Do+Aa+Kd+"]"),Ub=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Xb=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],qb=-1,gt={};gt[Ke]=gt[ee]=gt[me]=gt[we]=gt[De]=gt[ve]=gt[je]=gt[Ne]=gt[Ie]=!0,gt[pe]=gt[Y]=gt[Vt]=gt[B]=gt[Ct]=gt[se]=gt[le]=gt[oe]=gt[xe]=gt[Ce]=gt[Ze]=gt[rt]=gt[ze]=gt[ot]=gt[St]=!1;var pt={};pt[pe]=pt[Y]=pt[Vt]=pt[Ct]=pt[B]=pt[se]=pt[Ke]=pt[ee]=pt[me]=pt[we]=pt[De]=pt[xe]=pt[Ce]=pt[Ze]=pt[rt]=pt[ze]=pt[ot]=pt[Ge]=pt[ve]=pt[je]=pt[Ne]=pt[Ie]=!0,pt[le]=pt[oe]=pt[St]=!1;var Kb={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Yb={"&":"&","<":"<",">":">",'"':""","'":"'"},Jb={"&":"&","<":"<",">":">",""":'"',"'":"'"},Zb={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Qb=parseFloat,e1=parseInt,uf=typeof Yo=="object"&&Yo&&Yo.Object===Object&&Yo,t1=typeof self=="object"&&self&&self.Object===Object&&self,Gt=uf||t1||Function("return this")(),Ll=n&&!n.nodeType&&n,fo=Ll&&!0&&e&&!e.nodeType&&e,df=fo&&fo.exports===Ll,Fl=df&&uf.process,Fn=function(){try{var O=fo&&fo.require&&fo.require("util").types;return O||Fl&&Fl.binding&&Fl.binding("util")}catch{}}(),ff=Fn&&Fn.isArrayBuffer,pf=Fn&&Fn.isDate,gf=Fn&&Fn.isMap,hf=Fn&&Fn.isRegExp,mf=Fn&&Fn.isSet,vf=Fn&&Fn.isTypedArray;function wn(O,Q,W){switch(W.length){case 0:return O.call(Q);case 1:return O.call(Q,W[0]);case 2:return O.call(Q,W[0],W[1]);case 3:return O.call(Q,W[0],W[1],W[2])}return O.apply(Q,W)}function n1(O,Q,W,Se){for(var Te=-1,tt=O==null?0:O.length;++Te-1}function Ol(O,Q,W){for(var Se=-1,Te=O==null?0:O.length;++Se-1;);return W}function jf(O,Q){for(var W=O.length;W--&&ko(Q,O[W],0)>-1;);return W}function d1(O,Q){for(var W=O.length,Se=0;W--;)O[W]===Q&&++Se;return Se}var f1=Vl(Kb),p1=Vl(Yb);function g1(O){return"\\"+Zb[O]}function h1(O,Q){return O==null?t:O[Q]}function Io(O){return Wb.test(O)}function m1(O){return Ub.test(O)}function v1(O){for(var Q,W=[];!(Q=O.next()).done;)W.push(Q.value);return W}function Xl(O){var Q=-1,W=Array(O.size);return O.forEach(function(Se,Te){W[++Q]=[Te,Se]}),W}function Nf(O,Q){return function(W){return O(Q(W))}}function Or(O,Q){for(var W=-1,Se=O.length,Te=0,tt=[];++W-1}function oy(r,s){var c=this.__data__,h=Za(c,r);return h<0?(++this.size,c.push([r,s])):c[h][1]=s,this}xr.prototype.clear=ey,xr.prototype.delete=ty,xr.prototype.get=ny,xr.prototype.has=ry,xr.prototype.set=oy;function br(r){var s=-1,c=r==null?0:r.length;for(this.clear();++s=s?r:s)),r}function Hn(r,s,c,h,b,N){var A,T=s&v,z=s&x,te=s&m;if(c&&(A=b?c(r,h,b,N):c(r)),A!==t)return A;if(!_t(r))return r;var re=ke(r);if(re){if(A=lw(r),!T)return dn(r,A)}else{var ae=qt(r),ye=ae==oe||ae==he;if(Wr(r))return lp(r,T);if(ae==Ze||ae==pe||ye&&!b){if(A=z||ye?{}:Rp(r),!T)return z?Jy(r,yy(A,r)):Yy(r,Ff(A,r))}else{if(!pt[ae])return b?r:{};A=cw(r,ae,T)}}N||(N=new Jn);var Re=N.get(r);if(Re)return Re;N.set(r,A),ng(r)?r.forEach(function(Pe){A.add(Hn(Pe,s,c,Pe,r,N))}):eg(r)&&r.forEach(function(Pe,We){A.set(We,Hn(Pe,s,c,We,r,N))});var Ee=te?z?bc:xc:z?pn:Ot,Oe=re?t:Ee(r);return On(Oe||r,function(Pe,We){Oe&&(We=Pe,Pe=r[We]),Cs(A,We,Hn(Pe,s,c,We,r,N))}),A}function wy(r){var s=Ot(r);return function(c){return Of(c,r,s)}}function Of(r,s,c){var h=c.length;if(r==null)return!h;for(r=ut(r);h--;){var b=c[h],N=s[b],A=r[b];if(A===t&&!(b in r)||!N(A))return!1}return!0}function zf(r,s,c){if(typeof r!="function")throw new zn(u);return As(function(){r.apply(t,c)},s)}function js(r,s,c,h){var b=-1,N=ka,A=!0,T=r.length,z=[],te=s.length;if(!T)return z;c&&(s=bt(s,_n(c))),h?(N=Ol,A=!1):s.length>=i&&(N=xs,A=!1,s=new ho(s));e:for(;++bb?0:b+c),h=h===t||h>b?b:Le(h),h<0&&(h+=b),h=c>h?0:og(h);c0&&c(T)?s>1?Wt(T,s-1,c,h,b):Fr(b,T):h||(b[b.length]=T)}return b}var ec=gp(),Vf=gp(!0);function dr(r,s){return r&&ec(r,s,Ot)}function tc(r,s){return r&&Vf(r,s,Ot)}function ei(r,s){return Lr(s,function(c){return Cr(r[c])})}function vo(r,s){s=Vr(s,r);for(var c=0,h=s.length;r!=null&&cs}function Cy(r,s){return r!=null&&it.call(r,s)}function jy(r,s){return r!=null&&s in ut(r)}function Ny(r,s,c){return r>=Xt(s,c)&&r=120&&re.length>=120)?new ho(A&&re):t}re=r[0];var ae=-1,ye=T[0];e:for(;++ae-1;)T!==r&&Wa.call(T,z,1),Wa.call(r,z,1);return r}function ep(r,s){for(var c=r?s.length:0,h=c-1;c--;){var b=s[c];if(c==h||b!==N){var N=b;Sr(b)?Wa.call(r,b,1):dc(r,b)}}return r}function lc(r,s){return r+qa(Tf()*(s-r+1))}function Oy(r,s,c,h){for(var b=-1,N=kt(Xa((s-r)/(c||1)),0),A=W(N);N--;)A[h?N:++b]=r,r+=c;return A}function cc(r,s){var c="";if(!r||s<1||s>ce)return c;do s%2&&(c+=r),s=qa(s/2),s&&(r+=r);while(s);return c}function Be(r,s){return Nc(Pp(r,s,gn),r+"")}function zy(r){return Lf(Xo(r))}function By(r,s){var c=Xo(r);return di(c,mo(s,0,c.length))}function $s(r,s,c,h){if(!_t(r))return r;s=Vr(s,r);for(var b=-1,N=s.length,A=N-1,T=r;T!=null&&++bb?0:b+s),c=c>b?b:c,c<0&&(c+=b),b=s>c?0:c-s>>>0,s>>>=0;for(var N=W(b);++h>>1,A=r[N];A!==null&&!Cn(A)&&(c?A<=s:A=i){var te=s?null:tw(r);if(te)return La(te);A=!1,b=xs,z=new ho}else z=s?[]:T;e:for(;++h=h?r:Vn(r,s,c)}var ip=M1||function(r){return Gt.clearTimeout(r)};function lp(r,s){if(s)return r.slice();var c=r.length,h=Ef?Ef(c):new r.constructor(c);return r.copy(h),h}function hc(r){var s=new r.constructor(r.byteLength);return new Va(s).set(new Va(r)),s}function Uy(r,s){var c=s?hc(r.buffer):r.buffer;return new r.constructor(c,r.byteOffset,r.byteLength)}function Xy(r){var s=new r.constructor(r.source,nn.exec(r));return s.lastIndex=r.lastIndex,s}function qy(r){return Ss?ut(Ss.call(r)):{}}function cp(r,s){var c=s?hc(r.buffer):r.buffer;return new r.constructor(c,r.byteOffset,r.length)}function up(r,s){if(r!==s){var c=r!==t,h=r===null,b=r===r,N=Cn(r),A=s!==t,T=s===null,z=s===s,te=Cn(s);if(!T&&!te&&!N&&r>s||N&&A&&z&&!T&&!te||h&&A&&z||!c&&z||!b)return 1;if(!h&&!N&&!te&&r=T)return z;var te=c[h];return z*(te=="desc"?-1:1)}}return r.index-s.index}function dp(r,s,c,h){for(var b=-1,N=r.length,A=c.length,T=-1,z=s.length,te=kt(N-A,0),re=W(z+te),ae=!h;++T1?c[b-1]:t,A=b>2?c[2]:t;for(N=r.length>3&&typeof N=="function"?(b--,N):t,A&&on(c[0],c[1],A)&&(N=b<3?t:N,b=1),s=ut(s);++h-1?b[N?s[A]:A]:t}}function vp(r){return _r(function(s){var c=s.length,h=c,b=Bn.prototype.thru;for(r&&s.reverse();h--;){var N=s[h];if(typeof N!="function")throw new zn(u);if(b&&!A&&ci(N)=="wrapper")var A=new Bn([],!0)}for(h=A?h:c;++h1&&Ye.reverse(),re&&zT))return!1;var te=N.get(r),re=N.get(s);if(te&&re)return te==s&&re==r;var ae=-1,ye=!0,Re=c&w?new ho:t;for(N.set(r,s),N.set(s,r);++ae1?"& ":"")+s[h],s=s.join(c>2?", ":" "),r.replace(In,`{ /* [wrapped with `+s+`] */ -`)}function aw(r){return Ie(r)||bo(r)||!!($f&&r&&r[$f])}function wr(r,s){var c=typeof r;return s=s??ce,!!s&&(c=="number"||c!="symbol"&&$a.test(r))&&r>-1&&r%1==0&&r0){if(++s>=F)return arguments[0]}else s=0;return r.apply(t,arguments)}}function di(r,s){var c=-1,h=r.length,b=h-1;for(s=s===t?h:s;++c1?r[s-1]:t;return c=typeof c=="function"?(r.pop(),c):t,Fp(r,c)});function Op(r){var s=j(r);return s.__chain__=!0,s}function v_(r,s){return s(r),r}function fi(r,s){return s(r)}var x_=yr(function(r){var s=r.length,c=s?r[0]:0,h=this.__wrapped__,b=function(N){return Yl(N,r)};return s>1||this.__actions__.length||!(h instanceof We)||!wr(c)?this.thru(b):(h=h.slice(c,+c+(s?1:0)),h.__actions__.push({func:fi,args:[b],thisArg:t}),new Bn(h,this.__chain__).thru(function(N){return s&&!N.length&&N.push(t),N}))});function b_(){return Op(this)}function y_(){return new Bn(this.value(),this.__chain__)}function w_(){this.__values__===t&&(this.__values__=Qp(this.value()));var r=this.__index__>=this.__values__.length,s=r?t:this.__values__[this.__index__++];return{done:r,value:s}}function __(){return this}function S_(r){for(var s,c=this;c instanceof Ja;){var h=Mp(c);h.__index__=0,h.__values__=t,s?b.__wrapped__=h:s=h;var b=h;c=c.__wrapped__}return b.__wrapped__=r,s}function C_(){var r=this.__wrapped__;if(r instanceof We){var s=r;return this.__actions__.length&&(s=new We(this)),s=s.reverse(),s.__actions__.push({func:fi,args:[Cc],thisArg:t}),new Bn(s,this.__chain__)}return this.thru(Cc)}function j_(){return tp(this.__wrapped__,this.__actions__)}var N_=oi(function(r,s,c){it.call(r,c)?++r[c]:xr(r,c,1)});function R_(r,s,c){var h=Ie(r)?gf:v1;return c&&on(r,s,c)&&(s=t),h(r,$e(s,3))}function $_(r,s){var c=Ie(r)?Ir:Ff;return c(r,$e(s,3))}var E_=fp(Dp),P_=fp(Tp);function A_(r,s){return Wt(pi(r,s),1)}function M_(r,s){return Wt(pi(r,s),ge)}function D_(r,s,c){return c=c===t?1:Le(c),Wt(pi(r,s),c)}function zp(r,s){var c=Ie(r)?On:Or;return c(r,$e(s,3))}function Bp(r,s){var c=Ie(r)?Zb:Lf;return c(r,$e(s,3))}var T_=oi(function(r,s,c){it.call(r,c)?r[c].push(s):xr(r,c,[s])});function I_(r,s,c,h){r=fn(r)?r:Xo(r),c=c&&!h?Le(c):0;var b=r.length;return c<0&&(c=It(b+c,0)),xi(r)?c<=b&&r.indexOf(s,c)>-1:!!b&&Io(r,s,c)>-1}var k_=Be(function(r,s,c){var h=-1,b=typeof s=="function",N=fn(r)?W(r.length):[];return Or(r,function(A){N[++h]=b?wn(s,A,c):Ns(A,s,c)}),N}),L_=oi(function(r,s,c){xr(r,c,s)});function pi(r,s){var c=Ie(r)?xt:Gf;return c(r,$e(s,3))}function F_(r,s,c,h){return r==null?[]:(Ie(s)||(s=s==null?[]:[s]),c=h?t:c,Ie(c)||(c=c==null?[]:[c]),qf(r,s,c))}var O_=oi(function(r,s,c){r[c?0:1].push(s)},function(){return[[],[]]});function z_(r,s,c){var h=Ie(r)?Ll:xf,b=arguments.length<3;return h(r,$e(s,4),c,b,Or)}function B_(r,s,c){var h=Ie(r)?Qb:xf,b=arguments.length<3;return h(r,$e(s,4),c,b,Lf)}function H_(r,s){var c=Ie(r)?Ir:Ff;return c(r,mi($e(s,3)))}function V_(r){var s=Ie(r)?Df:I1;return s(r)}function G_(r,s,c){(c?on(r,s,c):s===t)?s=1:s=Le(s);var h=Ie(r)?f1:k1;return h(r,s)}function W_(r){var s=Ie(r)?p1:F1;return s(r)}function U_(r){if(r==null)return 0;if(fn(r))return xi(r)?Lo(r):r.length;var s=qt(r);return s==xe||s==ze?r.size:nc(r).length}function X_(r,s,c){var h=Ie(r)?Fl:O1;return c&&on(r,s,c)&&(s=t),h(r,$e(s,3))}var q_=Be(function(r,s){if(r==null)return[];var c=s.length;return c>1&&on(r,s[0],s[1])?s=[]:c>2&&on(s[0],s[1],s[2])&&(s=[s[0]]),qf(r,Wt(s,1),[])}),gi=$y||function(){return Gt.Date.now()};function K_(r,s){if(typeof s!="function")throw new zn(u);return r=Le(r),function(){if(--r<1)return s.apply(this,arguments)}}function Hp(r,s,c){return s=c?t:s,s=r&&s==null?r.length:s,br(r,H,t,t,t,t,s)}function Vp(r,s){var c;if(typeof s!="function")throw new zn(u);return r=Le(r),function(){return--r>0&&(c=s.apply(this,arguments)),r<=1&&(s=t),c}}var Nc=Be(function(r,s,c){var h=$;if(c.length){var b=Lr(c,Wo(Nc));h|=E}return br(r,h,s,c,b)}),Gp=Be(function(r,s,c){var h=$|_;if(c.length){var b=Lr(c,Wo(Gp));h|=E}return br(s,h,r,c,b)});function Wp(r,s,c){s=c?t:s;var h=br(r,R,t,t,t,t,t,s);return h.placeholder=Wp.placeholder,h}function Up(r,s,c){s=c?t:s;var h=br(r,M,t,t,t,t,t,s);return h.placeholder=Up.placeholder,h}function Xp(r,s,c){var h,b,N,A,T,z,te=0,re=!1,ae=!1,ye=!0;if(typeof r!="function")throw new zn(u);s=Wn(s)||0,wt(c)&&(re=!!c.leading,ae="maxWait"in c,N=ae?It(Wn(c.maxWait)||0,s):N,ye="trailing"in c?!!c.trailing:ye);function Re(Pt){var Qn=h,Cr=b;return h=b=t,te=Pt,A=r.apply(Cr,Qn),A}function Ee(Pt){return te=Pt,T=As(Ve,s),re?Re(Pt):A}function Oe(Pt){var Qn=Pt-z,Cr=Pt-te,fg=s-Qn;return ae?Xt(fg,N-Cr):fg}function Pe(Pt){var Qn=Pt-z,Cr=Pt-te;return z===t||Qn>=s||Qn<0||ae&&Cr>=N}function Ve(){var Pt=gi();if(Pe(Pt))return qe(Pt);T=As(Ve,Oe(Pt))}function qe(Pt){return T=t,ye&&h?Re(Pt):(h=b=t,A)}function jn(){T!==t&&rp(T),te=0,h=z=b=T=t}function sn(){return T===t?A:qe(gi())}function Nn(){var Pt=gi(),Qn=Pe(Pt);if(h=arguments,b=this,z=Pt,Qn){if(T===t)return Ee(z);if(ae)return rp(T),T=As(Ve,s),Re(z)}return T===t&&(T=As(Ve,s)),A}return Nn.cancel=jn,Nn.flush=sn,Nn}var Y_=Be(function(r,s){return kf(r,1,s)}),J_=Be(function(r,s,c){return kf(r,Wn(s)||0,c)});function Z_(r){return br(r,D)}function hi(r,s){if(typeof r!="function"||s!=null&&typeof s!="function")throw new zn(u);var c=function(){var h=arguments,b=s?s.apply(this,h):h[0],N=c.cache;if(N.has(b))return N.get(b);var A=r.apply(this,h);return c.cache=N.set(b,A)||N,A};return c.cache=new(hi.Cache||vr),c}hi.Cache=vr;function mi(r){if(typeof r!="function")throw new zn(u);return function(){var s=arguments;switch(s.length){case 0:return!r.call(this);case 1:return!r.call(this,s[0]);case 2:return!r.call(this,s[0],s[1]);case 3:return!r.call(this,s[0],s[1],s[2])}return!r.apply(this,s)}}function Q_(r){return Vp(2,r)}var eS=z1(function(r,s){s=s.length==1&&Ie(s[0])?xt(s[0],_n($e())):xt(Wt(s,1),_n($e()));var c=s.length;return Be(function(h){for(var b=-1,N=Xt(h.length,c);++b=s}),bo=Bf(function(){return arguments}())?Bf:function(r){return jt(r)&&it.call(r,"callee")&&!Rf.call(r,"callee")},Ie=W.isArray,hS=lf?_n(lf):S1;function fn(r){return r!=null&&vi(r.length)&&!_r(r)}function Et(r){return jt(r)&&fn(r)}function mS(r){return r===!0||r===!1||jt(r)&&rn(r)==B}var Vr=Py||Fc,vS=cf?_n(cf):C1;function xS(r){return jt(r)&&r.nodeType===1&&!Ms(r)}function bS(r){if(r==null)return!0;if(fn(r)&&(Ie(r)||typeof r=="string"||typeof r.splice=="function"||Vr(r)||Uo(r)||bo(r)))return!r.length;var s=qt(r);if(s==xe||s==ze)return!r.size;if(Ps(r))return!nc(r).length;for(var c in r)if(it.call(r,c))return!1;return!0}function yS(r,s){return Rs(r,s)}function wS(r,s,c){c=typeof c=="function"?c:t;var h=c?c(r,s):t;return h===t?Rs(r,s,t,c):!!h}function $c(r){if(!jt(r))return!1;var s=rn(r);return s==le||s==fe||typeof r.message=="string"&&typeof r.name=="string"&&!Ms(r)}function _S(r){return typeof r=="number"&&Ef(r)}function _r(r){if(!wt(r))return!1;var s=rn(r);return s==oe||s==he||s==be||s==Ue}function Kp(r){return typeof r=="number"&&r==Le(r)}function vi(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=ce}function wt(r){var s=typeof r;return r!=null&&(s=="object"||s=="function")}function jt(r){return r!=null&&typeof r=="object"}var Yp=uf?_n(uf):N1;function SS(r,s){return r===s||tc(r,s,xc(s))}function CS(r,s,c){return c=typeof c=="function"?c:t,tc(r,s,xc(s),c)}function jS(r){return Jp(r)&&r!=+r}function NS(r){if(cw(r))throw new Te(l);return Hf(r)}function RS(r){return r===null}function $S(r){return r==null}function Jp(r){return typeof r=="number"||jt(r)&&rn(r)==Ce}function Ms(r){if(!jt(r)||rn(r)!=Ze)return!1;var s=Ga(r);if(s===null)return!0;var c=it.call(s,"constructor")&&s.constructor;return typeof c=="function"&&c instanceof c&&za.call(c)==Cy}var Ec=df?_n(df):R1;function ES(r){return Kp(r)&&r>=-ce&&r<=ce}var Zp=ff?_n(ff):$1;function xi(r){return typeof r=="string"||!Ie(r)&&jt(r)&&rn(r)==ot}function Cn(r){return typeof r=="symbol"||jt(r)&&rn(r)==He}var Uo=pf?_n(pf):E1;function PS(r){return r===t}function AS(r){return jt(r)&&qt(r)==St}function MS(r){return jt(r)&&rn(r)==Ht}var DS=li(rc),TS=li(function(r,s){return r<=s});function Qp(r){if(!r)return[];if(fn(r))return xi(r)?Yn(r):dn(r);if(bs&&r[bs])return fy(r[bs]());var s=qt(r),c=s==xe?Gl:s==ze?La:Xo;return c(r)}function Sr(r){if(!r)return r===0?r:0;if(r=Wn(r),r===ge||r===-ge){var s=r<0?-1:1;return s*ue}return r===r?r:0}function Le(r){var s=Sr(r),c=s%1;return s===s?c?s-c:s:0}function eg(r){return r?ho(Le(r),0,ne):0}function Wn(r){if(typeof r=="number")return r;if(Cn(r))return K;if(wt(r)){var s=typeof r.valueOf=="function"?r.valueOf():r;r=wt(s)?s+"":s}if(typeof r!="string")return r===0?r:+r;r=bf(r);var c=yn.test(r);return c||Ra.test(r)?Kb(r.slice(2),c?2:8):gs.test(r)?K:+r}function tg(r){return dr(r,pn(r))}function IS(r){return r?ho(Le(r),-ce,ce):r===0?r:0}function at(r){return r==null?"":Sn(r)}var kS=Vo(function(r,s){if(Ps(s)||fn(s)){dr(s,Ot(s),r);return}for(var c in s)it.call(s,c)&&Cs(r,c,s[c])}),ng=Vo(function(r,s){dr(s,pn(s),r)}),bi=Vo(function(r,s,c,h){dr(s,pn(s),r,h)}),LS=Vo(function(r,s,c,h){dr(s,Ot(s),r,h)}),FS=yr(Yl);function OS(r,s){var c=Ho(r);return s==null?c:Tf(c,s)}var zS=Be(function(r,s){r=ct(r);var c=-1,h=s.length,b=h>2?s[2]:t;for(b&&on(s[0],s[1],b)&&(h=1);++c1),N}),dr(r,mc(r),c),h&&(c=Hn(c,v|x|m,J1));for(var b=s.length;b--;)lc(c,s[b]);return c});function o2(r,s){return og(r,mi($e(s)))}var s2=yr(function(r,s){return r==null?{}:M1(r,s)});function og(r,s){if(r==null)return{};var c=xt(mc(r),function(h){return[h]});return s=$e(s),Kf(r,c,function(h,b){return s(h,b[0])})}function a2(r,s,c){s=Br(s,r);var h=-1,b=s.length;for(b||(b=1,r=t);++hs){var h=r;r=s,s=h}if(c||r%1||s%1){var b=Pf();return Xt(r+b*(s-r+qb("1e-"+((b+"").length-1))),s)}return sc(r,s)}var v2=Go(function(r,s,c){return s=s.toLowerCase(),r+(c?ig(s):s)});function ig(r){return Mc(at(r).toLowerCase())}function lg(r){return r=at(r),r&&r.replace(Ea,iy).replace(Fb,"")}function x2(r,s,c){r=at(r),s=Sn(s);var h=r.length;c=c===t?h:ho(Le(c),0,h);var b=c;return c-=s.length,c>=0&&r.slice(c,b)==s}function b2(r){return r=at(r),r&&$t.test(r)?r.replace(xn,ly):r}function y2(r){return r=at(r),r&&ln.test(r)?r.replace(Zt,"\\$&"):r}var w2=Go(function(r,s,c){return r+(c?"-":"")+s.toLowerCase()}),_2=Go(function(r,s,c){return r+(c?" ":"")+s.toLowerCase()}),S2=dp("toLowerCase");function C2(r,s,c){r=at(r),s=Le(s);var h=s?Lo(r):0;if(!s||h>=s)return r;var b=(s-h)/2;return ii(qa(b),c)+r+ii(Xa(b),c)}function j2(r,s,c){r=at(r),s=Le(s);var h=s?Lo(r):0;return s&&h>>0,c?(r=at(r),r&&(typeof s=="string"||s!=null&&!Ec(s))&&(s=Sn(s),!s&&ko(r))?Hr(Yn(r),0,c):r.split(s,c)):[]}var M2=Go(function(r,s,c){return r+(c?" ":"")+Mc(s)});function D2(r,s,c){return r=at(r),c=c==null?0:ho(Le(c),0,r.length),s=Sn(s),r.slice(c,c+s.length)==s}function T2(r,s,c){var h=j.templateSettings;c&&on(r,s,c)&&(s=t),r=at(r),s=bi({},s,h,xp);var b=bi({},s.imports,h.imports,xp),N=Ot(b),A=Vl(b,N),T,z,te=0,re=s.interpolate||co,ae="__p += '",ye=Wl((s.escape||co).source+"|"+re.source+"|"+(re===Tn?un:co).source+"|"+(s.evaluate||co).source+"|$","g"),Re="//# sourceURL="+(it.call(s,"sourceURL")?(s.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Vb+"]")+` -`;r.replace(ye,function(Pe,Ve,qe,jn,sn,Nn){return qe||(qe=jn),ae+=r.slice(te,Nn).replace(Pa,cy),Ve&&(T=!0,ae+=`' + -__e(`+Ve+`) + +`)}function dw(r){return ke(r)||yo(r)||!!(Mf&&r&&r[Mf])}function Sr(r,s){var c=typeof r;return s=s??ce,!!s&&(c=="number"||c!="symbol"&&$a.test(r))&&r>-1&&r%1==0&&r0){if(++s>=F)return arguments[0]}else s=0;return r.apply(t,arguments)}}function di(r,s){var c=-1,h=r.length,b=h-1;for(s=s===t?h:s;++c1?r[s-1]:t;return c=typeof c=="function"?(r.pop(),c):t,Hp(r,c)});function Vp(r){var s=j(r);return s.__chain__=!0,s}function __(r,s){return s(r),r}function fi(r,s){return s(r)}var S_=_r(function(r){var s=r.length,c=s?r[0]:0,h=this.__wrapped__,b=function(N){return Ql(N,r)};return s>1||this.__actions__.length||!(h instanceof Xe)||!Sr(c)?this.thru(b):(h=h.slice(c,+c+(s?1:0)),h.__actions__.push({func:fi,args:[b],thisArg:t}),new Bn(h,this.__chain__).thru(function(N){return s&&!N.length&&N.push(t),N}))});function C_(){return Vp(this)}function j_(){return new Bn(this.value(),this.__chain__)}function N_(){this.__values__===t&&(this.__values__=rg(this.value()));var r=this.__index__>=this.__values__.length,s=r?t:this.__values__[this.__index__++];return{done:r,value:s}}function R_(){return this}function $_(r){for(var s,c=this;c instanceof Ja;){var h=Ip(c);h.__index__=0,h.__values__=t,s?b.__wrapped__=h:s=h;var b=h;c=c.__wrapped__}return b.__wrapped__=r,s}function E_(){var r=this.__wrapped__;if(r instanceof Xe){var s=r;return this.__actions__.length&&(s=new Xe(this)),s=s.reverse(),s.__actions__.push({func:fi,args:[Rc],thisArg:t}),new Bn(s,this.__chain__)}return this.thru(Rc)}function P_(){return sp(this.__wrapped__,this.__actions__)}var A_=oi(function(r,s,c){it.call(r,c)?++r[c]:yr(r,c,1)});function M_(r,s,c){var h=ke(r)?xf:_y;return c&&on(r,s,c)&&(s=t),h(r,$e(s,3))}function D_(r,s){var c=ke(r)?Lr:Hf;return c(r,$e(s,3))}var T_=mp(Lp),k_=mp(Fp);function I_(r,s){return Wt(pi(r,s),1)}function L_(r,s){return Wt(pi(r,s),ge)}function F_(r,s,c){return c=c===t?1:Le(c),Wt(pi(r,s),c)}function Gp(r,s){var c=ke(r)?On:Br;return c(r,$e(s,3))}function Wp(r,s){var c=ke(r)?r1:Bf;return c(r,$e(s,3))}var O_=oi(function(r,s,c){it.call(r,c)?r[c].push(s):yr(r,c,[s])});function z_(r,s,c,h){r=fn(r)?r:Xo(r),c=c&&!h?Le(c):0;var b=r.length;return c<0&&(c=kt(b+c,0)),xi(r)?c<=b&&r.indexOf(s,c)>-1:!!b&&ko(r,s,c)>-1}var B_=Be(function(r,s,c){var h=-1,b=typeof s=="function",N=fn(r)?W(r.length):[];return Br(r,function(A){N[++h]=b?wn(s,A,c):Ns(A,s,c)}),N}),H_=oi(function(r,s,c){yr(r,c,s)});function pi(r,s){var c=ke(r)?bt:qf;return c(r,$e(s,3))}function V_(r,s,c,h){return r==null?[]:(ke(s)||(s=s==null?[]:[s]),c=h?t:c,ke(c)||(c=c==null?[]:[c]),Zf(r,s,c))}var G_=oi(function(r,s,c){r[c?0:1].push(s)},function(){return[[],[]]});function W_(r,s,c){var h=ke(r)?zl:_f,b=arguments.length<3;return h(r,$e(s,4),c,b,Br)}function U_(r,s,c){var h=ke(r)?o1:_f,b=arguments.length<3;return h(r,$e(s,4),c,b,Bf)}function X_(r,s){var c=ke(r)?Lr:Hf;return c(r,mi($e(s,3)))}function q_(r){var s=ke(r)?Lf:zy;return s(r)}function K_(r,s,c){(c?on(r,s,c):s===t)?s=1:s=Le(s);var h=ke(r)?vy:By;return h(r,s)}function Y_(r){var s=ke(r)?xy:Vy;return s(r)}function J_(r){if(r==null)return 0;if(fn(r))return xi(r)?Lo(r):r.length;var s=qt(r);return s==xe||s==ze?r.size:sc(r).length}function Z_(r,s,c){var h=ke(r)?Bl:Gy;return c&&on(r,s,c)&&(s=t),h(r,$e(s,3))}var Q_=Be(function(r,s){if(r==null)return[];var c=s.length;return c>1&&on(r,s[0],s[1])?s=[]:c>2&&on(s[0],s[1],s[2])&&(s=[s[0]]),Zf(r,Wt(s,1),[])}),gi=D1||function(){return Gt.Date.now()};function eS(r,s){if(typeof s!="function")throw new zn(u);return r=Le(r),function(){if(--r<1)return s.apply(this,arguments)}}function Up(r,s,c){return s=c?t:s,s=r&&s==null?r.length:s,wr(r,H,t,t,t,t,s)}function Xp(r,s){var c;if(typeof s!="function")throw new zn(u);return r=Le(r),function(){return--r>0&&(c=s.apply(this,arguments)),r<=1&&(s=t),c}}var Ec=Be(function(r,s,c){var h=$;if(c.length){var b=Or(c,Wo(Ec));h|=E}return wr(r,h,s,c,b)}),qp=Be(function(r,s,c){var h=$|_;if(c.length){var b=Or(c,Wo(qp));h|=E}return wr(s,h,r,c,b)});function Kp(r,s,c){s=c?t:s;var h=wr(r,R,t,t,t,t,t,s);return h.placeholder=Kp.placeholder,h}function Yp(r,s,c){s=c?t:s;var h=wr(r,M,t,t,t,t,t,s);return h.placeholder=Yp.placeholder,h}function Jp(r,s,c){var h,b,N,A,T,z,te=0,re=!1,ae=!1,ye=!0;if(typeof r!="function")throw new zn(u);s=Wn(s)||0,_t(c)&&(re=!!c.leading,ae="maxWait"in c,N=ae?kt(Wn(c.maxWait)||0,s):N,ye="trailing"in c?!!c.trailing:ye);function Re(Pt){var Qn=h,Nr=b;return h=b=t,te=Pt,A=r.apply(Nr,Qn),A}function Ee(Pt){return te=Pt,T=As(We,s),re?Re(Pt):A}function Oe(Pt){var Qn=Pt-z,Nr=Pt-te,mg=s-Qn;return ae?Xt(mg,N-Nr):mg}function Pe(Pt){var Qn=Pt-z,Nr=Pt-te;return z===t||Qn>=s||Qn<0||ae&&Nr>=N}function We(){var Pt=gi();if(Pe(Pt))return Ye(Pt);T=As(We,Oe(Pt))}function Ye(Pt){return T=t,ye&&h?Re(Pt):(h=b=t,A)}function jn(){T!==t&&ip(T),te=0,h=z=b=T=t}function sn(){return T===t?A:Ye(gi())}function Nn(){var Pt=gi(),Qn=Pe(Pt);if(h=arguments,b=this,z=Pt,Qn){if(T===t)return Ee(z);if(ae)return ip(T),T=As(We,s),Re(z)}return T===t&&(T=As(We,s)),A}return Nn.cancel=jn,Nn.flush=sn,Nn}var tS=Be(function(r,s){return zf(r,1,s)}),nS=Be(function(r,s,c){return zf(r,Wn(s)||0,c)});function rS(r){return wr(r,D)}function hi(r,s){if(typeof r!="function"||s!=null&&typeof s!="function")throw new zn(u);var c=function(){var h=arguments,b=s?s.apply(this,h):h[0],N=c.cache;if(N.has(b))return N.get(b);var A=r.apply(this,h);return c.cache=N.set(b,A)||N,A};return c.cache=new(hi.Cache||br),c}hi.Cache=br;function mi(r){if(typeof r!="function")throw new zn(u);return function(){var s=arguments;switch(s.length){case 0:return!r.call(this);case 1:return!r.call(this,s[0]);case 2:return!r.call(this,s[0],s[1]);case 3:return!r.call(this,s[0],s[1],s[2])}return!r.apply(this,s)}}function oS(r){return Xp(2,r)}var sS=Wy(function(r,s){s=s.length==1&&ke(s[0])?bt(s[0],_n($e())):bt(Wt(s,1),_n($e()));var c=s.length;return Be(function(h){for(var b=-1,N=Xt(h.length,c);++b=s}),yo=Wf(function(){return arguments}())?Wf:function(r){return jt(r)&&it.call(r,"callee")&&!Af.call(r,"callee")},ke=W.isArray,yS=ff?_n(ff):$y;function fn(r){return r!=null&&vi(r.length)&&!Cr(r)}function Et(r){return jt(r)&&fn(r)}function wS(r){return r===!0||r===!1||jt(r)&&rn(r)==B}var Wr=k1||Bc,_S=pf?_n(pf):Ey;function SS(r){return jt(r)&&r.nodeType===1&&!Ms(r)}function CS(r){if(r==null)return!0;if(fn(r)&&(ke(r)||typeof r=="string"||typeof r.splice=="function"||Wr(r)||Uo(r)||yo(r)))return!r.length;var s=qt(r);if(s==xe||s==ze)return!r.size;if(Ps(r))return!sc(r).length;for(var c in r)if(it.call(r,c))return!1;return!0}function jS(r,s){return Rs(r,s)}function NS(r,s,c){c=typeof c=="function"?c:t;var h=c?c(r,s):t;return h===t?Rs(r,s,t,c):!!h}function Ac(r){if(!jt(r))return!1;var s=rn(r);return s==le||s==fe||typeof r.message=="string"&&typeof r.name=="string"&&!Ms(r)}function RS(r){return typeof r=="number"&&Df(r)}function Cr(r){if(!_t(r))return!1;var s=rn(r);return s==oe||s==he||s==be||s==qe}function Qp(r){return typeof r=="number"&&r==Le(r)}function vi(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=ce}function _t(r){var s=typeof r;return r!=null&&(s=="object"||s=="function")}function jt(r){return r!=null&&typeof r=="object"}var eg=gf?_n(gf):Ay;function $S(r,s){return r===s||oc(r,s,wc(s))}function ES(r,s,c){return c=typeof c=="function"?c:t,oc(r,s,wc(s),c)}function PS(r){return tg(r)&&r!=+r}function AS(r){if(gw(r))throw new Te(l);return Uf(r)}function MS(r){return r===null}function DS(r){return r==null}function tg(r){return typeof r=="number"||jt(r)&&rn(r)==Ce}function Ms(r){if(!jt(r)||rn(r)!=Ze)return!1;var s=Ga(r);if(s===null)return!0;var c=it.call(s,"constructor")&&s.constructor;return typeof c=="function"&&c instanceof c&&za.call(c)==E1}var Mc=hf?_n(hf):My;function TS(r){return Qp(r)&&r>=-ce&&r<=ce}var ng=mf?_n(mf):Dy;function xi(r){return typeof r=="string"||!ke(r)&&jt(r)&&rn(r)==ot}function Cn(r){return typeof r=="symbol"||jt(r)&&rn(r)==Ge}var Uo=vf?_n(vf):Ty;function kS(r){return r===t}function IS(r){return jt(r)&&qt(r)==St}function LS(r){return jt(r)&&rn(r)==Ht}var FS=li(ac),OS=li(function(r,s){return r<=s});function rg(r){if(!r)return[];if(fn(r))return xi(r)?Yn(r):dn(r);if(bs&&r[bs])return v1(r[bs]());var s=qt(r),c=s==xe?Xl:s==ze?La:Xo;return c(r)}function jr(r){if(!r)return r===0?r:0;if(r=Wn(r),r===ge||r===-ge){var s=r<0?-1:1;return s*ue}return r===r?r:0}function Le(r){var s=jr(r),c=s%1;return s===s?c?s-c:s:0}function og(r){return r?mo(Le(r),0,ne):0}function Wn(r){if(typeof r=="number")return r;if(Cn(r))return K;if(_t(r)){var s=typeof r.valueOf=="function"?r.valueOf():r;r=_t(s)?s+"":s}if(typeof r!="string")return r===0?r:+r;r=Sf(r);var c=yn.test(r);return c||Ra.test(r)?e1(r.slice(2),c?2:8):gs.test(r)?K:+r}function sg(r){return fr(r,pn(r))}function zS(r){return r?mo(Le(r),-ce,ce):r===0?r:0}function at(r){return r==null?"":Sn(r)}var BS=Vo(function(r,s){if(Ps(s)||fn(s)){fr(s,Ot(s),r);return}for(var c in s)it.call(s,c)&&Cs(r,c,s[c])}),ag=Vo(function(r,s){fr(s,pn(s),r)}),bi=Vo(function(r,s,c,h){fr(s,pn(s),r,h)}),HS=Vo(function(r,s,c,h){fr(s,Ot(s),r,h)}),VS=_r(Ql);function GS(r,s){var c=Ho(r);return s==null?c:Ff(c,s)}var WS=Be(function(r,s){r=ut(r);var c=-1,h=s.length,b=h>2?s[2]:t;for(b&&on(s[0],s[1],b)&&(h=1);++c1),N}),fr(r,bc(r),c),h&&(c=Hn(c,v|x|m,nw));for(var b=s.length;b--;)dc(c,s[b]);return c});function c2(r,s){return lg(r,mi($e(s)))}var u2=_r(function(r,s){return r==null?{}:Ly(r,s)});function lg(r,s){if(r==null)return{};var c=bt(bc(r),function(h){return[h]});return s=$e(s),Qf(r,c,function(h,b){return s(h,b[0])})}function d2(r,s,c){s=Vr(s,r);var h=-1,b=s.length;for(b||(b=1,r=t);++hs){var h=r;r=s,s=h}if(c||r%1||s%1){var b=Tf();return Xt(r+b*(s-r+Qb("1e-"+((b+"").length-1))),s)}return lc(r,s)}var _2=Go(function(r,s,c){return s=s.toLowerCase(),r+(c?dg(s):s)});function dg(r){return kc(at(r).toLowerCase())}function fg(r){return r=at(r),r&&r.replace(Ea,f1).replace(Vb,"")}function S2(r,s,c){r=at(r),s=Sn(s);var h=r.length;c=c===t?h:mo(Le(c),0,h);var b=c;return c-=s.length,c>=0&&r.slice(c,b)==s}function C2(r){return r=at(r),r&&$t.test(r)?r.replace(xn,p1):r}function j2(r){return r=at(r),r&&ln.test(r)?r.replace(Zt,"\\$&"):r}var N2=Go(function(r,s,c){return r+(c?"-":"")+s.toLowerCase()}),R2=Go(function(r,s,c){return r+(c?" ":"")+s.toLowerCase()}),$2=hp("toLowerCase");function E2(r,s,c){r=at(r),s=Le(s);var h=s?Lo(r):0;if(!s||h>=s)return r;var b=(s-h)/2;return ii(qa(b),c)+r+ii(Xa(b),c)}function P2(r,s,c){r=at(r),s=Le(s);var h=s?Lo(r):0;return s&&h>>0,c?(r=at(r),r&&(typeof s=="string"||s!=null&&!Mc(s))&&(s=Sn(s),!s&&Io(r))?Gr(Yn(r),0,c):r.split(s,c)):[]}var L2=Go(function(r,s,c){return r+(c?" ":"")+kc(s)});function F2(r,s,c){return r=at(r),c=c==null?0:mo(Le(c),0,r.length),s=Sn(s),r.slice(c,c+s.length)==s}function O2(r,s,c){var h=j.templateSettings;c&&on(r,s,c)&&(s=t),r=at(r),s=bi({},s,h,_p);var b=bi({},s.imports,h.imports,_p),N=Ot(b),A=Ul(b,N),T,z,te=0,re=s.interpolate||uo,ae="__p += '",ye=ql((s.escape||uo).source+"|"+re.source+"|"+(re===Tn?un:uo).source+"|"+(s.evaluate||uo).source+"|$","g"),Re="//# sourceURL="+(it.call(s,"sourceURL")?(s.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++qb+"]")+` +`;r.replace(ye,function(Pe,We,Ye,jn,sn,Nn){return Ye||(Ye=jn),ae+=r.slice(te,Nn).replace(Pa,g1),We&&(T=!0,ae+=`' + +__e(`+We+`) + '`),sn&&(z=!0,ae+=`'; `+sn+`; -__p += '`),qe&&(ae+=`' + -((__t = (`+qe+`)) == null ? '' : __t) + +__p += '`),Ye&&(ae+=`' + +((__t = (`+Ye+`)) == null ? '' : __t) + '`),te=Nn+Pe.length,Pe}),ae+=`'; `;var Ee=it.call(s,"variable")&&s.variable;if(!Ee)ae=`with (obj) { `+ae+` @@ -290,10 +290,10 @@ __p += '`),qe&&(ae+=`' + function print() { __p += __j.call(arguments, '') } `:`; `)+ae+`return __p -}`;var Oe=ug(function(){return tt(N,Re+"return "+ae).apply(t,A)});if(Oe.source=ae,$c(Oe))throw Oe;return Oe}function I2(r){return at(r).toLowerCase()}function k2(r){return at(r).toUpperCase()}function L2(r,s,c){if(r=at(r),r&&(c||s===t))return bf(r);if(!r||!(s=Sn(s)))return r;var h=Yn(r),b=Yn(s),N=yf(h,b),A=wf(h,b)+1;return Hr(h,N,A).join("")}function F2(r,s,c){if(r=at(r),r&&(c||s===t))return r.slice(0,Sf(r)+1);if(!r||!(s=Sn(s)))return r;var h=Yn(r),b=wf(h,Yn(s))+1;return Hr(h,0,b).join("")}function O2(r,s,c){if(r=at(r),r&&(c||s===t))return r.replace(Qt,"");if(!r||!(s=Sn(s)))return r;var h=Yn(r),b=yf(h,Yn(s));return Hr(h,b).join("")}function z2(r,s){var c=I,h=L;if(wt(s)){var b="separator"in s?s.separator:b;c="length"in s?Le(s.length):c,h="omission"in s?Sn(s.omission):h}r=at(r);var N=r.length;if(ko(r)){var A=Yn(r);N=A.length}if(c>=N)return r;var T=c-Lo(h);if(T<1)return h;var z=A?Hr(A,0,T).join(""):r.slice(0,T);if(b===t)return z+h;if(A&&(T+=z.length-T),Ec(b)){if(r.slice(T).search(b)){var te,re=z;for(b.global||(b=Wl(b.source,at(nn.exec(b))+"g")),b.lastIndex=0;te=b.exec(re);)var ae=te.index;z=z.slice(0,ae===t?T:ae)}}else if(r.indexOf(Sn(b),T)!=T){var ye=z.lastIndexOf(b);ye>-1&&(z=z.slice(0,ye))}return z+h}function B2(r){return r=at(r),r&&Jt.test(r)?r.replace(At,my):r}var H2=Go(function(r,s,c){return r+(c?" ":"")+s.toUpperCase()}),Mc=dp("toUpperCase");function cg(r,s,c){return r=at(r),s=c?t:s,s===t?dy(r)?by(r):ny(r):r.match(s)||[]}var ug=Be(function(r,s){try{return wn(r,t,s)}catch(c){return $c(c)?c:new Te(c)}}),V2=yr(function(r,s){return On(s,function(c){c=fr(c),xr(r,c,Nc(r[c],r))}),r});function G2(r){var s=r==null?0:r.length,c=$e();return r=s?xt(r,function(h){if(typeof h[1]!="function")throw new zn(u);return[c(h[0]),h[1]]}):[],Be(function(h){for(var b=-1;++bce)return[];var c=ne,h=Xt(r,ne);s=$e(s),r-=ne;for(var b=Hl(h,s);++c0||s<0)?new We(c):(r<0?c=c.takeRight(-r):r&&(c=c.drop(r)),s!==t&&(s=Le(s),c=s<0?c.dropRight(-s):c.take(s-r)),c)},We.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},We.prototype.toArray=function(){return this.take(ne)},ur(We.prototype,function(r,s){var c=/^(?:filter|find|map|reject)|While$/.test(s),h=/^(?:head|last)$/.test(s),b=j[h?"take"+(s=="last"?"Right":""):s],N=h||/^find/.test(s);b&&(j.prototype[s]=function(){var A=this.__wrapped__,T=h?[1]:arguments,z=A instanceof We,te=T[0],re=z||Ie(A),ae=function(Ve){var qe=b.apply(j,kr([Ve],T));return h&&ye?qe[0]:qe};re&&c&&typeof te=="function"&&te.length!=1&&(z=re=!1);var ye=this.__chain__,Re=!!this.__actions__.length,Ee=N&&!ye,Oe=z&&!Re;if(!N&&re){A=Oe?A:new We(this);var Pe=r.apply(A,T);return Pe.__actions__.push({func:fi,args:[ae],thisArg:t}),new Bn(Pe,ye)}return Ee&&Oe?r.apply(this,T):(Pe=this.thru(ae),Ee?h?Pe.value()[0]:Pe.value():Pe)})}),On(["pop","push","shift","sort","splice","unshift"],function(r){var s=Fa[r],c=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",h=/^(?:pop|shift)$/.test(r);j.prototype[r]=function(){var b=arguments;if(h&&!this.__chain__){var N=this.value();return s.apply(Ie(N)?N:[],b)}return this[c](function(A){return s.apply(Ie(A)?A:[],b)})}}),ur(We.prototype,function(r,s){var c=j[s];if(c){var h=c.name+"";it.call(Bo,h)||(Bo[h]=[]),Bo[h].push({name:s,func:c})}}),Bo[si(t,_).name]=[{name:"wrapper",func:t}],We.prototype.clone=By,We.prototype.reverse=Hy,We.prototype.value=Vy,j.prototype.at=x_,j.prototype.chain=b_,j.prototype.commit=y_,j.prototype.next=w_,j.prototype.plant=S_,j.prototype.reverse=C_,j.prototype.toJSON=j.prototype.valueOf=j.prototype.value=j_,j.prototype.first=j.prototype.head,bs&&(j.prototype[bs]=__),j},Fo=yy();uo?((uo.exports=Fo)._=Fo,Tl._=Fo):Gt._=Fo}).call(Yo)}(Xs,Xs.exports)),Xs.exports}(function(e,n){(function(o,i){e.exports=i(C,R8(),qu())})(Yo,function(t,o,i){return function(){var l={"./src/Xarrow/utils/buzzier.js":function(f,g,v){v.r(g),v.d(g,{bzFunction:function(){return x},buzzierMinSols:function(){return m}});var x=function(w,$,_,y){return function(R){return Math.pow(1-R,3)*w+3*Math.pow(1-R,2)*R*$+3*(1-R)*Math.pow(R,2)*_+Math.pow(R,3)*y}},m=function(w,$,_,y){var R=x(w,$,_,y),M=-6*w+12*$-6*_,E=Math.pow(-6*w+12*$-6*_,2)-4*(3*$-3*w)*(-3*w+9*$-9*_+3*y),k=2*(-3*w+9*$-9*_+3*y),H=R((M+Math.sqrt(E))/k),P=R((M-Math.sqrt(E))/k);return[H,P]}},"./src/Xarrow/Xarrow.tsx":function(f,g,v){var x=this&&this.__assign||function(){return x=Object.assign||function(P){for(var D,I=1,L=arguments.length;I0?"translate(-100% , -50%)":"translate(-0% , -50%)",width:"max-content",position:"absolute",left:ee.cx0+ee.labelEndPos.x,top:ee.cy0+ee.labelEndPos.y+ie+5}},K.end):null,ze?y.default.createElement(y.default.Fragment,null,$($([],ee.startPoints),ee.endPoints).map(function(Jt,$t){return y.default.createElement("div",{key:$t,style:{background:"gray",opacity:.5,borderRadius:"50%",transform:"translate(-50%, -50%)",height:5,width:5,position:"absolute",left:Jt.x-ee.mainDivPos.x,top:Jt.y-ee.mainDivPos.y}})})):null):null)};H.propTypes=E.default,g.default=H},"./src/Xarrow/anchors.ts":function(f,g,v){f=v.nmd(f),Object.defineProperty(g,"__esModule",{value:!0}),g.calcAnchors=void 0;var x=function(S,w){return{middle:{x:S*.5,y:w*.5},left:{x:0,y:w*.5},right:{x:S,y:w*.5},top:{x:S*.5,y:0},bottom:{x:S*.5,y:w}}},m=function(S,w){return S.map(function($){var _=x(w.right-w.x,w.bottom-w.y),y=_[$.position],R=y.x,M=y.y;return{x:w.x+R+$.offset.x,y:w.y+M+$.offset.y,anchor:$}})};g.calcAnchors=m,v.c[v.s]},"./src/Xarrow/propTypes.ts":function(f,g,v){var x=this&&this.__importDefault||function(I){return I&&I.__esModule?I:{default:I}};Object.defineProperty(g,"__esModule",{value:!0});var m=x(v("prop-types")),S=v("./src/constants.tsx"),w=m.default.oneOf(S.cAnchorEdge),$=m.default.exact({position:w.isRequired,offset:m.default.exact({x:m.default.number,y:m.default.number}).isRequired}),_=m.default.oneOfType([w,$]),y=m.default.oneOfType([_,m.default.arrayOf(_)]),R=m.default.oneOfType([m.default.string,m.default.exact({current:m.default.any})]),M=m.default.oneOfType([m.default.element,m.default.string]),E=m.default.exact({start:M,middle:M,end:M}),k=m.default.oneOf(Object.keys(S.arrowShapes)),H=m.default.any,P=m.default.oneOfType([k,m.default.exact({svgElem:H,offsetForward:m.default.number}).isRequired]),D={start:R.isRequired,end:R.isRequired,startAnchor:y,endAnchor:y,labels:m.default.oneOfType([M,E]),color:m.default.string,lineColor:m.default.string,showHead:m.default.bool,headColor:m.default.string,headSize:m.default.number,tailSize:m.default.number,tailColor:m.default.string,strokeWidth:m.default.number,showTail:m.default.bool,path:m.default.oneOf(S.cPaths),showXarrow:m.default.bool,curveness:m.default.number,gridBreak:m.default.string,dashness:m.default.oneOfType([m.default.bool,m.default.object]),headShape:P,tailShape:P,animateDrawing:m.default.oneOfType([m.default.bool,m.default.number]),zIndex:m.default.number,passProps:m.default.object,arrowBodyProps:m.default.object,arrowHeadProps:m.default.object,arrowTailProps:m.default.object,SVGcanvasProps:m.default.object,divContainerProps:m.default.object,_extendSVGcanvas:m.default.number,_debug:m.default.bool,_cpx1Offset:m.default.number,_cpy1Offset:m.default.number,_cpx2Offset:m.default.number,_cpy2Offset:m.default.number};g.default=D},"./src/Xarrow/useXarrowProps.ts":function(f,g,v){var x=this&&this.__assign||function(){return x=Object.assign||function(B){for(var se,fe=1,le=arguments.length;fe0&&(fe=fe.filter(function(he){return he.position!=="auto"}),fe.push.apply(fe,le.flatMap(function(he){return["left","right","top","bottom"].map(function(xe){return x(x({},he),{position:xe})})})));var oe=fe.map(function(he){if(typeof he=="object"){var xe=he;return xe.position||(xe.position="auto"),xe.offset||(xe.offset={x:0,y:0}),xe.offset.y||(xe.offset.y=0),xe.offset.x||(xe.offset.x=0),xe=xe,xe}else return he});return oe},H=function(B,se){var fe=0,le=0,oe,he=1;return typeof B=="object"?(fe=B.strokeLen||se.strokeWidth*2,le=B.strokeLen?B.nonStrokeLen:se.strokeWidth,oe=B.animation?B.animation:null):typeof B=="boolean"&&B&&(fe=se.strokeWidth*2,le=se.strokeWidth,oe=null),{strokeLen:fe,nonStrokeLen:le,animation:oe,animDirection:he}},P=function(B){return typeof B=="string"&&(B in M.arrowShapes?B=M.arrowShapes[B]:(console.warn("'"+B+"' is not supported arrow shape. the supported arrow shapes is one of "+M.cArrowShapes+`. - reverting to default shape.`),B=M.arrowShapes.arrow1)),B=B,B?.offsetForward===void 0&&(B.offsetForward=.25),B?.svgElem===void 0&&(B.svgElem="path"),B},D=function(B){var se=y.xStr2absRelative(B);return se||(se={relative:.5,abs:0}),se},I=function(B,se){return se&&(se.current=!0),B},L=function(B){return B},F=function(B,se,fe){return I(B,fe)},Z=function(B,se,fe){return I(Number(B),fe)},V=function(B){return Number(B)},J={start:function(B){return y.getElementByPropGiven(B)},end:function(B){return y.getElementByPropGiven(B)},startAnchor:function(B,se,fe){return I(k(B),fe)},endAnchor:function(B,se,fe){return I(k(B),fe)},labels:function(B){return E(B)},color:L,lineColor:function(B,se){return B||se.color},headColor:function(B,se){return B||se.color},tailColor:function(B,se){return B||se.color},strokeWidth:Z,showHead:F,headSize:Z,showTail:F,tailSize:Z,path:F,curveness:Z,gridBreak:function(B,se,fe){return I(D(B),fe)},dashness:function(B,se){return H(B,se)},headShape:function(B){return P(B)},tailShape:function(B){return P(B)},showXarrow:L,animateDrawing:L,zIndex:V,passProps:L,arrowBodyProps:F,arrowHeadProps:F,arrowTailProps:F,SVGcanvasProps:F,divContainerProps:F,divContainerStyle:F,SVGcanvasStyle:F,_extendSVGcanvas:F,_debug:F,_cpx1Offset:F,_cpy1Offset:F,_cpx2Offset:F,_cpy2Offset:F},de={};for(var ge in J)de[ge]=[ge];for(var ce=0,ue=["lineColor","headColor","tailColor"];ce0?1:-1,we=Ct>0?1:-1,De=[ne.offsetForward,U.offsetForward],ve=De[0],je=De[1],Ne=J*Z,ke=ge*Z,et=0,st=0,Rt=0,At=0,xn=Ne*ve,Jt=ke*je,$t=Number(ue);$.cPaths.includes(ce)||(ce="smooth"),ce==="straight"&&($t=0,ce="smooth");var cr=J>ge?J:ge,bn=Z+Z*cr/2,Tn=bn,Ut=bn,In=bn,lo=bn;Ut+=Number(q),Tn+=Number(q),In+=Number(q),lo+=Number(q);var Zt=0,ln=Xe,Qt=0,cn=ee;if(Vt<0&&(E=[ln,Zt],Zt=E[0],ln=E[1]),Ct<0&&(k=[cn,Qt],Qt=k[0],cn=k[1]),$t===0){var kn=Math.atan(ee/Xe);V&&(ln-=Ne*(1-ve)*me*Math.cos(kn),cn-=Ne*(1-ve)*we*Math.sin(kn),kn*=we,me<0&&(kn=(Math.PI-kn*me)*me),et=Math.cos(kn)*xn-Math.sin(kn)*Ne/2,st=Math.cos(kn)*Ne/2+Math.sin(kn)*xn,he=kn*180/Math.PI);var Ln=Math.atan(ee/Xe);de&&(Zt+=ke*(1-je)*me*Math.cos(Ln),Qt+=ke*(1-je)*we*Math.sin(Ln),Ln*=-we,me>0&&(Ln=(Math.PI-Ln*me)*me),Rt=Math.cos(Ln)*Jt-Math.sin(Ln)*ke/2,At=Math.cos(Ln)*ke/2+Math.sin(Ln)*Jt,xe=Ln*180/Math.PI)}else ze==="middle"&&(Xe>ee?ze=me?"left":"right":ze=we?"top":"bottom"),V&&(["left","right"].includes(ze)?(et+=xn*me,ln-=Ne*(1-ve)*me,st+=Ne*me/2,ze==="left"?(he=0,me<0&&(he+=180)):(he=180,me>0&&(he+=180))):["top","bottom"].includes(ze)&&(et+=Ne*-we/2,st+=xn*we,cn-=Ne*we-st,ze==="top"?(he=270,we>0&&(he+=180)):(he=90,we<0&&(he+=180))));de&&$t!==0&&(["left","right"].includes(rt)?(Rt+=Jt*-me,Zt+=ke*me+Rt,At+=-(ke*me)/2,rt==="left"?(xe=180,me<0&&(xe+=180)):(xe=0,me>0&&(xe+=180))):["top","bottom"].includes(rt)&&(At+=Jt*-we,Qt+=ke*we+At,Rt+=ke*we/2,rt==="top"?(xe=90,we>0&&(xe+=180)):(xe=270,we<0&&(xe+=180))));var Nl={x:et,y:st},Rl={x:Rt,y:At},en=Zt,tn=Qt,un=ln,nn=cn,gs={};ce==="smooth"?gs={hh:function(){en+=Xe*$t*me,un-=Xe*$t*me},vv:function(){tn+=ee*$t*we,nn-=ee*$t*we},hv:function(){en+=Xe*$t*me,nn-=ee*$t*we},vh:function(){tn+=ee*$t*we,un-=Xe*$t*me}}:ce==="grid"&&(gs={hh:function(){en+=(Xe*K.relative+K.abs)*me,un-=(Xe*(1-K.relative)-K.abs)*me,V&&(en-=Ne*(1-ve)/2*me,un+=Ne*(1-ve)/2*me),de&&(en-=ke*(1-je)/2*me,un+=ke*(1-je)/2*me)},vv:function(){tn+=(ee*K.relative+K.abs)*we,nn-=(ee*(1-K.relative)-K.abs)*we,V&&(tn-=Ne*(1-ve)/2*we,nn+=Ne*(1-ve)/2*we),de&&(tn-=ke*(1-je)/2*we,nn+=ke*(1-je)/2*we)},hv:function(){en=ln},vh:function(){tn=cn}});var yn="";["left","right"].includes(rt)?yn+="h":["bottom","top"].includes(rt)?yn+="v":rt==="middle"&&(yn+="m"),["left","right"].includes(ze)?yn+="h":["bottom","top"].includes(ze)?yn+="v":ze==="middle"&&(yn+="m"),Xe>ee?yn=yn.replace(/m/g,"h"):yn=yn.replace(/m/g,"v"),gs[yn](),en+=ie,tn+=pe,un+=Y,nn+=be;var Na=_.buzzierMinSols(Zt,en,un,ln),Ra=Na[0],$a=Na[1],Ea=_.buzzierMinSols(Qt,tn,nn,cn),co=Ea[0],Pa=Ea[1];Ra<0&&(Ut+=-Ra),$a>Xe&&(Tn+=$a-Xe),co<0&&(In+=-co),Pa>ee&&(lo+=Pa-ee),ce==="grid"&&(Ut+=bn,Tn+=bn,In+=bn,lo+=bn),Zt+=Ut,ln+=Ut,Qt+=In,cn+=In,en+=Ut,un+=Ut,tn+=In,nn+=In;var Do=Xe+Ut+Tn,$l=ee+In+lo;St-=Ut,Ht-=In;var hs=_.bzFunction(Zt,en,un,ln),ms=_.bzFunction(Qt,tn,nn,cn),Aa={x:hs(.01),y:ms(.01)},Ma={x:hs(.5),y:ms(.5)},Da={x:hs(.99),y:ms(.99)},vs;return ce==="grid"?vs="M "+Zt+" "+Qt+" L "+en+" "+tn+" L "+un+" "+nn+" "+ln+" "+cn:ce==="smooth"&&(vs="M "+Zt+" "+Qt+" C "+en+" "+tn+", "+un+" "+nn+", "+ln+" "+cn),{cx0:St,cy0:Ht,x1:Zt,x2:ln,y1:Qt,y2:cn,cw:Do,ch:$l,cpx1:en,cpy1:tn,cpx2:un,cpy2:nn,dx:Vt,dy:Ct,absDx:Xe,absDy:ee,headOrient:he,tailOrient:xe,labelStartPos:Aa,labelMiddlePos:Ma,labelEndPos:Da,excLeft:Ut,excRight:Tn,excUp:In,excDown:lo,headOffset:xn,arrowHeadOffset:Nl,arrowTailOffset:Rl,startPoints:Ce,endPoints:nt,mainDivPos:Ft,xSign:me,ySign:we,lineLength:(P=(H=oe.current)===null||H===void 0?void 0:H.getTotalLength())!==null&&P!==void 0?P:0,fHeadSize:Ne,fTailSize:ke,arrowPath:vs}};g.getPosition=y},"./src/Xarrow/utils/index.ts":function(f,g){Object.defineProperty(g,"__esModule",{value:!0}),g.getSvgPos=g.getElemPos=g.getShortestLine=g.xStr2absRelative=g.factorDpathStr=g.getElementByPropGiven=void 0;var v=function(y){var R;return typeof y=="string"?R=document.getElementById(y):R=y?.current,R};g.getElementByPropGiven=v;var x=function(y,R){var M=y.split(/(\d+(?:\.\d+)?)/);return M=M.map(function(E){return Number(E)?(Number(E)*R).toString():E}),M.join("")};g.factorDpathStr=x;var m=function(y){if(typeof y!="string")return{abs:0,relative:.5};var R=y.split("%"),M=0,E=0;if(R.length==1){var k=parseFloat(R[0]);if(!isNaN(k))return M=k,{abs:M,relative:0}}else if(R.length==2){var H=[parseFloat(R[0]),parseFloat(R[1])],P=H[0],D=H[1];if(isNaN(P)||(E=P/100),isNaN(D)||(M=D),!isNaN(P)||!isNaN(D))return{abs:M,relative:E}}};g.xStr2absRelative=m;var S=function(y,R){return Math.sqrt(Math.pow(y.x-R.x,2)+Math.pow(y.y-R.y,2))},w=function(y,R){var M=1/0,E=1/0,k;return y.forEach(function(H){R.forEach(function(P){E=S(H,P),Ea.jsx(P0,{className:"text-xs",value:i.value,children:i.label},i.value))})]})}const P8=ps.cPaths.map(e=>({label:e,value:e}));function A8(){const e=Tr(lt.xArrowsState);return a.jsxs("div",{className:"absolute right-2 top-1 w-40 text-xs text-muted-foreground flex flex-col gap-2",children:[a.jsxs("div",{className:"pt-2 flex items-center gap-2",children:[a.jsx("div",{className:"text-nowrap",children:"Path style"}),a.jsx(E8,{defaultValue:ps.cPaths[0],value:e.path,onValueChange:n=>lt.xArrowsState.path=n,options:P8})]}),a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx("div",{className:"text-nowrap",children:"Stroke width"}),a.jsx(W0,{min:1,max:10,step:1,value:[e.strokeWidth],className:"[&>.track]:h-px",onValueChange:n=>lt.xArrowsState.strokeWidth=n[0]}),a.jsx("div",{className:"text-[.65rem]",children:e.strokeWidth})]}),a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(os,{checked:e.animate,onCheckedChange:n=>lt.xArrowsState.animate=!!n}),"Animate on initial draw"]}),a.jsx("div",{className:"mt-2",children:"You can drag items within the designated area"}),a.jsx("div",{className:"",children:a.jsx(dt,{variant:"outline",onClick:()=>lt.xArrowsState.boxes.push({label:`elem${e.boxes.length+1}`,x:0,y:0,id:sa.asRelativeNumber()}),children:"Add item"})})]})}function M8({box1Ref:e,box2Ref:n}){const t=Tr(lt.xArrowsState);return a.jsx($8,{start:e,end:n,color:"hsl(var(--muted-foreground))",strokeWidth:t.strokeWidth,dashness:{strokeLen:8,nonStrokeLen:3},animateDrawing:t.animate,path:t.path})}var _l={exports:{}},fb={};function pb(e){var n,t,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e))for(n=0;n0&&arguments[0]!==void 0?arguments[0]:"transform";if(typeof window>"u")return"";const t=(e=window.document)===null||e===void 0||(e=e.documentElement)===null||e===void 0?void 0:e.style;if(!t||n in t)return"";for(let o=0;on===t.identifier)||e.changedTouches&&(0,Mn.findInArray)(e.changedTouches,t=>n===t.identifier)}function eT(e){if(e.targetTouches&&e.targetTouches[0])return e.targetTouches[0].identifier;if(e.changedTouches&&e.changedTouches[0])return e.changedTouches[0].identifier}function tT(e){if(!e)return;let n=e.getElementById("react-draggable-style-el");n||(n=e.createElement("style"),n.type="text/css",n.id="react-draggable-style-el",n.innerHTML=`.react-draggable-transparent-selection *::-moz-selection {all: inherit;} +}`;var Oe=gg(function(){return tt(N,Re+"return "+ae).apply(t,A)});if(Oe.source=ae,Ac(Oe))throw Oe;return Oe}function z2(r){return at(r).toLowerCase()}function B2(r){return at(r).toUpperCase()}function H2(r,s,c){if(r=at(r),r&&(c||s===t))return Sf(r);if(!r||!(s=Sn(s)))return r;var h=Yn(r),b=Yn(s),N=Cf(h,b),A=jf(h,b)+1;return Gr(h,N,A).join("")}function V2(r,s,c){if(r=at(r),r&&(c||s===t))return r.slice(0,Rf(r)+1);if(!r||!(s=Sn(s)))return r;var h=Yn(r),b=jf(h,Yn(s))+1;return Gr(h,0,b).join("")}function G2(r,s,c){if(r=at(r),r&&(c||s===t))return r.replace(Qt,"");if(!r||!(s=Sn(s)))return r;var h=Yn(r),b=Cf(h,Yn(s));return Gr(h,b).join("")}function W2(r,s){var c=k,h=L;if(_t(s)){var b="separator"in s?s.separator:b;c="length"in s?Le(s.length):c,h="omission"in s?Sn(s.omission):h}r=at(r);var N=r.length;if(Io(r)){var A=Yn(r);N=A.length}if(c>=N)return r;var T=c-Lo(h);if(T<1)return h;var z=A?Gr(A,0,T).join(""):r.slice(0,T);if(b===t)return z+h;if(A&&(T+=z.length-T),Mc(b)){if(r.slice(T).search(b)){var te,re=z;for(b.global||(b=ql(b.source,at(nn.exec(b))+"g")),b.lastIndex=0;te=b.exec(re);)var ae=te.index;z=z.slice(0,ae===t?T:ae)}}else if(r.indexOf(Sn(b),T)!=T){var ye=z.lastIndexOf(b);ye>-1&&(z=z.slice(0,ye))}return z+h}function U2(r){return r=at(r),r&&Jt.test(r)?r.replace(At,w1):r}var X2=Go(function(r,s,c){return r+(c?" ":"")+s.toUpperCase()}),kc=hp("toUpperCase");function pg(r,s,c){return r=at(r),s=c?t:s,s===t?m1(r)?C1(r):i1(r):r.match(s)||[]}var gg=Be(function(r,s){try{return wn(r,t,s)}catch(c){return Ac(c)?c:new Te(c)}}),q2=_r(function(r,s){return On(s,function(c){c=pr(c),yr(r,c,Ec(r[c],r))}),r});function K2(r){var s=r==null?0:r.length,c=$e();return r=s?bt(r,function(h){if(typeof h[1]!="function")throw new zn(u);return[c(h[0]),h[1]]}):[],Be(function(h){for(var b=-1;++bce)return[];var c=ne,h=Xt(r,ne);s=$e(s),r-=ne;for(var b=Wl(h,s);++c0||s<0)?new Xe(c):(r<0?c=c.takeRight(-r):r&&(c=c.drop(r)),s!==t&&(s=Le(s),c=s<0?c.dropRight(-s):c.take(s-r)),c)},Xe.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},Xe.prototype.toArray=function(){return this.take(ne)},dr(Xe.prototype,function(r,s){var c=/^(?:filter|find|map|reject)|While$/.test(s),h=/^(?:head|last)$/.test(s),b=j[h?"take"+(s=="last"?"Right":""):s],N=h||/^find/.test(s);b&&(j.prototype[s]=function(){var A=this.__wrapped__,T=h?[1]:arguments,z=A instanceof Xe,te=T[0],re=z||ke(A),ae=function(We){var Ye=b.apply(j,Fr([We],T));return h&&ye?Ye[0]:Ye};re&&c&&typeof te=="function"&&te.length!=1&&(z=re=!1);var ye=this.__chain__,Re=!!this.__actions__.length,Ee=N&&!ye,Oe=z&&!Re;if(!N&&re){A=Oe?A:new Xe(this);var Pe=r.apply(A,T);return Pe.__actions__.push({func:fi,args:[ae],thisArg:t}),new Bn(Pe,ye)}return Ee&&Oe?r.apply(this,T):(Pe=this.thru(ae),Ee?h?Pe.value()[0]:Pe.value():Pe)})}),On(["pop","push","shift","sort","splice","unshift"],function(r){var s=Fa[r],c=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",h=/^(?:pop|shift)$/.test(r);j.prototype[r]=function(){var b=arguments;if(h&&!this.__chain__){var N=this.value();return s.apply(ke(N)?N:[],b)}return this[c](function(A){return s.apply(ke(A)?A:[],b)})}}),dr(Xe.prototype,function(r,s){var c=j[s];if(c){var h=c.name+"";it.call(Bo,h)||(Bo[h]=[]),Bo[h].push({name:s,func:c})}}),Bo[si(t,_).name]=[{name:"wrapper",func:t}],Xe.prototype.clone=U1,Xe.prototype.reverse=X1,Xe.prototype.value=q1,j.prototype.at=S_,j.prototype.chain=C_,j.prototype.commit=j_,j.prototype.next=N_,j.prototype.plant=$_,j.prototype.reverse=E_,j.prototype.toJSON=j.prototype.valueOf=j.prototype.value=P_,j.prototype.first=j.prototype.head,bs&&(j.prototype[bs]=R_),j},Fo=j1();fo?((fo.exports=Fo)._=Fo,Ll._=Fo):Gt._=Fo}).call(Yo)}(Xs,Xs.exports)),Xs.exports}(function(e,n){(function(o,i){e.exports=i(C,A8(),Zu())})(Yo,function(t,o,i){return function(){var l={"./src/Xarrow/utils/buzzier.js":function(f,g,v){v.r(g),v.d(g,{bzFunction:function(){return x},buzzierMinSols:function(){return m}});var x=function(w,$,_,y){return function(R){return Math.pow(1-R,3)*w+3*Math.pow(1-R,2)*R*$+3*(1-R)*Math.pow(R,2)*_+Math.pow(R,3)*y}},m=function(w,$,_,y){var R=x(w,$,_,y),M=-6*w+12*$-6*_,E=Math.pow(-6*w+12*$-6*_,2)-4*(3*$-3*w)*(-3*w+9*$-9*_+3*y),I=2*(-3*w+9*$-9*_+3*y),H=R((M+Math.sqrt(E))/I),P=R((M-Math.sqrt(E))/I);return[H,P]}},"./src/Xarrow/Xarrow.tsx":function(f,g,v){var x=this&&this.__assign||function(){return x=Object.assign||function(P){for(var D,k=1,L=arguments.length;k0?"translate(-100% , -50%)":"translate(-0% , -50%)",width:"max-content",position:"absolute",left:ee.cx0+ee.labelEndPos.x,top:ee.cy0+ee.labelEndPos.y+ie+5}},K.end):null,ze?y.default.createElement(y.default.Fragment,null,$($([],ee.startPoints),ee.endPoints).map(function(Jt,$t){return y.default.createElement("div",{key:$t,style:{background:"gray",opacity:.5,borderRadius:"50%",transform:"translate(-50%, -50%)",height:5,width:5,position:"absolute",left:Jt.x-ee.mainDivPos.x,top:Jt.y-ee.mainDivPos.y}})})):null):null)};H.propTypes=E.default,g.default=H},"./src/Xarrow/anchors.ts":function(f,g,v){f=v.nmd(f),Object.defineProperty(g,"__esModule",{value:!0}),g.calcAnchors=void 0;var x=function(S,w){return{middle:{x:S*.5,y:w*.5},left:{x:0,y:w*.5},right:{x:S,y:w*.5},top:{x:S*.5,y:0},bottom:{x:S*.5,y:w}}},m=function(S,w){return S.map(function($){var _=x(w.right-w.x,w.bottom-w.y),y=_[$.position],R=y.x,M=y.y;return{x:w.x+R+$.offset.x,y:w.y+M+$.offset.y,anchor:$}})};g.calcAnchors=m,v.c[v.s]},"./src/Xarrow/propTypes.ts":function(f,g,v){var x=this&&this.__importDefault||function(k){return k&&k.__esModule?k:{default:k}};Object.defineProperty(g,"__esModule",{value:!0});var m=x(v("prop-types")),S=v("./src/constants.tsx"),w=m.default.oneOf(S.cAnchorEdge),$=m.default.exact({position:w.isRequired,offset:m.default.exact({x:m.default.number,y:m.default.number}).isRequired}),_=m.default.oneOfType([w,$]),y=m.default.oneOfType([_,m.default.arrayOf(_)]),R=m.default.oneOfType([m.default.string,m.default.exact({current:m.default.any})]),M=m.default.oneOfType([m.default.element,m.default.string]),E=m.default.exact({start:M,middle:M,end:M}),I=m.default.oneOf(Object.keys(S.arrowShapes)),H=m.default.any,P=m.default.oneOfType([I,m.default.exact({svgElem:H,offsetForward:m.default.number}).isRequired]),D={start:R.isRequired,end:R.isRequired,startAnchor:y,endAnchor:y,labels:m.default.oneOfType([M,E]),color:m.default.string,lineColor:m.default.string,showHead:m.default.bool,headColor:m.default.string,headSize:m.default.number,tailSize:m.default.number,tailColor:m.default.string,strokeWidth:m.default.number,showTail:m.default.bool,path:m.default.oneOf(S.cPaths),showXarrow:m.default.bool,curveness:m.default.number,gridBreak:m.default.string,dashness:m.default.oneOfType([m.default.bool,m.default.object]),headShape:P,tailShape:P,animateDrawing:m.default.oneOfType([m.default.bool,m.default.number]),zIndex:m.default.number,passProps:m.default.object,arrowBodyProps:m.default.object,arrowHeadProps:m.default.object,arrowTailProps:m.default.object,SVGcanvasProps:m.default.object,divContainerProps:m.default.object,_extendSVGcanvas:m.default.number,_debug:m.default.bool,_cpx1Offset:m.default.number,_cpy1Offset:m.default.number,_cpx2Offset:m.default.number,_cpy2Offset:m.default.number};g.default=D},"./src/Xarrow/useXarrowProps.ts":function(f,g,v){var x=this&&this.__assign||function(){return x=Object.assign||function(B){for(var se,fe=1,le=arguments.length;fe0&&(fe=fe.filter(function(he){return he.position!=="auto"}),fe.push.apply(fe,le.flatMap(function(he){return["left","right","top","bottom"].map(function(xe){return x(x({},he),{position:xe})})})));var oe=fe.map(function(he){if(typeof he=="object"){var xe=he;return xe.position||(xe.position="auto"),xe.offset||(xe.offset={x:0,y:0}),xe.offset.y||(xe.offset.y=0),xe.offset.x||(xe.offset.x=0),xe=xe,xe}else return he});return oe},H=function(B,se){var fe=0,le=0,oe,he=1;return typeof B=="object"?(fe=B.strokeLen||se.strokeWidth*2,le=B.strokeLen?B.nonStrokeLen:se.strokeWidth,oe=B.animation?B.animation:null):typeof B=="boolean"&&B&&(fe=se.strokeWidth*2,le=se.strokeWidth,oe=null),{strokeLen:fe,nonStrokeLen:le,animation:oe,animDirection:he}},P=function(B){return typeof B=="string"&&(B in M.arrowShapes?B=M.arrowShapes[B]:(console.warn("'"+B+"' is not supported arrow shape. the supported arrow shapes is one of "+M.cArrowShapes+`. + reverting to default shape.`),B=M.arrowShapes.arrow1)),B=B,B?.offsetForward===void 0&&(B.offsetForward=.25),B?.svgElem===void 0&&(B.svgElem="path"),B},D=function(B){var se=y.xStr2absRelative(B);return se||(se={relative:.5,abs:0}),se},k=function(B,se){return se&&(se.current=!0),B},L=function(B){return B},F=function(B,se,fe){return k(B,fe)},Z=function(B,se,fe){return k(Number(B),fe)},V=function(B){return Number(B)},J={start:function(B){return y.getElementByPropGiven(B)},end:function(B){return y.getElementByPropGiven(B)},startAnchor:function(B,se,fe){return k(I(B),fe)},endAnchor:function(B,se,fe){return k(I(B),fe)},labels:function(B){return E(B)},color:L,lineColor:function(B,se){return B||se.color},headColor:function(B,se){return B||se.color},tailColor:function(B,se){return B||se.color},strokeWidth:Z,showHead:F,headSize:Z,showTail:F,tailSize:Z,path:F,curveness:Z,gridBreak:function(B,se,fe){return k(D(B),fe)},dashness:function(B,se){return H(B,se)},headShape:function(B){return P(B)},tailShape:function(B){return P(B)},showXarrow:L,animateDrawing:L,zIndex:V,passProps:L,arrowBodyProps:F,arrowHeadProps:F,arrowTailProps:F,SVGcanvasProps:F,divContainerProps:F,divContainerStyle:F,SVGcanvasStyle:F,_extendSVGcanvas:F,_debug:F,_cpx1Offset:F,_cpy1Offset:F,_cpx2Offset:F,_cpy2Offset:F},de={};for(var ge in J)de[ge]=[ge];for(var ce=0,ue=["lineColor","headColor","tailColor"];ce0?1:-1,we=Ct>0?1:-1,De=[ne.offsetForward,U.offsetForward],ve=De[0],je=De[1],Ne=J*Z,Ie=ge*Z,et=0,st=0,Rt=0,At=0,xn=Ne*ve,Jt=Ie*je,$t=Number(ue);$.cPaths.includes(ce)||(ce="smooth"),ce==="straight"&&($t=0,ce="smooth");var ur=J>ge?J:ge,bn=Z+Z*ur/2,Tn=bn,Ut=bn,kn=bn,co=bn;Ut+=Number(q),Tn+=Number(q),kn+=Number(q),co+=Number(q);var Zt=0,ln=Ke,Qt=0,cn=ee;if(Vt<0&&(E=[ln,Zt],Zt=E[0],ln=E[1]),Ct<0&&(I=[cn,Qt],Qt=I[0],cn=I[1]),$t===0){var In=Math.atan(ee/Ke);V&&(ln-=Ne*(1-ve)*me*Math.cos(In),cn-=Ne*(1-ve)*we*Math.sin(In),In*=we,me<0&&(In=(Math.PI-In*me)*me),et=Math.cos(In)*xn-Math.sin(In)*Ne/2,st=Math.cos(In)*Ne/2+Math.sin(In)*xn,he=In*180/Math.PI);var Ln=Math.atan(ee/Ke);de&&(Zt+=Ie*(1-je)*me*Math.cos(Ln),Qt+=Ie*(1-je)*we*Math.sin(Ln),Ln*=-we,me>0&&(Ln=(Math.PI-Ln*me)*me),Rt=Math.cos(Ln)*Jt-Math.sin(Ln)*Ie/2,At=Math.cos(Ln)*Ie/2+Math.sin(Ln)*Jt,xe=Ln*180/Math.PI)}else ze==="middle"&&(Ke>ee?ze=me?"left":"right":ze=we?"top":"bottom"),V&&(["left","right"].includes(ze)?(et+=xn*me,ln-=Ne*(1-ve)*me,st+=Ne*me/2,ze==="left"?(he=0,me<0&&(he+=180)):(he=180,me>0&&(he+=180))):["top","bottom"].includes(ze)&&(et+=Ne*-we/2,st+=xn*we,cn-=Ne*we-st,ze==="top"?(he=270,we>0&&(he+=180)):(he=90,we<0&&(he+=180))));de&&$t!==0&&(["left","right"].includes(rt)?(Rt+=Jt*-me,Zt+=Ie*me+Rt,At+=-(Ie*me)/2,rt==="left"?(xe=180,me<0&&(xe+=180)):(xe=0,me>0&&(xe+=180))):["top","bottom"].includes(rt)&&(At+=Jt*-we,Qt+=Ie*we+At,Rt+=Ie*we/2,rt==="top"?(xe=90,we>0&&(xe+=180)):(xe=270,we<0&&(xe+=180))));var El={x:et,y:st},Pl={x:Rt,y:At},en=Zt,tn=Qt,un=ln,nn=cn,gs={};ce==="smooth"?gs={hh:function(){en+=Ke*$t*me,un-=Ke*$t*me},vv:function(){tn+=ee*$t*we,nn-=ee*$t*we},hv:function(){en+=Ke*$t*me,nn-=ee*$t*we},vh:function(){tn+=ee*$t*we,un-=Ke*$t*me}}:ce==="grid"&&(gs={hh:function(){en+=(Ke*K.relative+K.abs)*me,un-=(Ke*(1-K.relative)-K.abs)*me,V&&(en-=Ne*(1-ve)/2*me,un+=Ne*(1-ve)/2*me),de&&(en-=Ie*(1-je)/2*me,un+=Ie*(1-je)/2*me)},vv:function(){tn+=(ee*K.relative+K.abs)*we,nn-=(ee*(1-K.relative)-K.abs)*we,V&&(tn-=Ne*(1-ve)/2*we,nn+=Ne*(1-ve)/2*we),de&&(tn-=Ie*(1-je)/2*we,nn+=Ie*(1-je)/2*we)},hv:function(){en=ln},vh:function(){tn=cn}});var yn="";["left","right"].includes(rt)?yn+="h":["bottom","top"].includes(rt)?yn+="v":rt==="middle"&&(yn+="m"),["left","right"].includes(ze)?yn+="h":["bottom","top"].includes(ze)?yn+="v":ze==="middle"&&(yn+="m"),Ke>ee?yn=yn.replace(/m/g,"h"):yn=yn.replace(/m/g,"v"),gs[yn](),en+=ie,tn+=pe,un+=Y,nn+=be;var Na=_.buzzierMinSols(Zt,en,un,ln),Ra=Na[0],$a=Na[1],Ea=_.buzzierMinSols(Qt,tn,nn,cn),uo=Ea[0],Pa=Ea[1];Ra<0&&(Ut+=-Ra),$a>Ke&&(Tn+=$a-Ke),uo<0&&(kn+=-uo),Pa>ee&&(co+=Pa-ee),ce==="grid"&&(Ut+=bn,Tn+=bn,kn+=bn,co+=bn),Zt+=Ut,ln+=Ut,Qt+=kn,cn+=kn,en+=Ut,un+=Ut,tn+=kn,nn+=kn;var Do=Ke+Ut+Tn,Al=ee+kn+co;St-=Ut,Ht-=kn;var hs=_.bzFunction(Zt,en,un,ln),ms=_.bzFunction(Qt,tn,nn,cn),Aa={x:hs(.01),y:ms(.01)},Ma={x:hs(.5),y:ms(.5)},Da={x:hs(.99),y:ms(.99)},vs;return ce==="grid"?vs="M "+Zt+" "+Qt+" L "+en+" "+tn+" L "+un+" "+nn+" "+ln+" "+cn:ce==="smooth"&&(vs="M "+Zt+" "+Qt+" C "+en+" "+tn+", "+un+" "+nn+", "+ln+" "+cn),{cx0:St,cy0:Ht,x1:Zt,x2:ln,y1:Qt,y2:cn,cw:Do,ch:Al,cpx1:en,cpy1:tn,cpx2:un,cpy2:nn,dx:Vt,dy:Ct,absDx:Ke,absDy:ee,headOrient:he,tailOrient:xe,labelStartPos:Aa,labelMiddlePos:Ma,labelEndPos:Da,excLeft:Ut,excRight:Tn,excUp:kn,excDown:co,headOffset:xn,arrowHeadOffset:El,arrowTailOffset:Pl,startPoints:Ce,endPoints:nt,mainDivPos:Ft,xSign:me,ySign:we,lineLength:(P=(H=oe.current)===null||H===void 0?void 0:H.getTotalLength())!==null&&P!==void 0?P:0,fHeadSize:Ne,fTailSize:Ie,arrowPath:vs}};g.getPosition=y},"./src/Xarrow/utils/index.ts":function(f,g){Object.defineProperty(g,"__esModule",{value:!0}),g.getSvgPos=g.getElemPos=g.getShortestLine=g.xStr2absRelative=g.factorDpathStr=g.getElementByPropGiven=void 0;var v=function(y){var R;return typeof y=="string"?R=document.getElementById(y):R=y?.current,R};g.getElementByPropGiven=v;var x=function(y,R){var M=y.split(/(\d+(?:\.\d+)?)/);return M=M.map(function(E){return Number(E)?(Number(E)*R).toString():E}),M.join("")};g.factorDpathStr=x;var m=function(y){if(typeof y!="string")return{abs:0,relative:.5};var R=y.split("%"),M=0,E=0;if(R.length==1){var I=parseFloat(R[0]);if(!isNaN(I))return M=I,{abs:M,relative:0}}else if(R.length==2){var H=[parseFloat(R[0]),parseFloat(R[1])],P=H[0],D=H[1];if(isNaN(P)||(E=P/100),isNaN(D)||(M=D),!isNaN(P)||!isNaN(D))return{abs:M,relative:E}}};g.xStr2absRelative=m;var S=function(y,R){return Math.sqrt(Math.pow(y.x-R.x,2)+Math.pow(y.y-R.y,2))},w=function(y,R){var M=1/0,E=1/0,I;return y.forEach(function(H){R.forEach(function(P){E=S(H,P),Ea.jsx(k0,{className:"text-xs",value:i.value,children:i.label},i.value))})]})}const T8=ps.cPaths.map(e=>({label:e,value:e}));function k8(){const e=Ir(lt.xArrowsState);return a.jsxs("div",{className:"absolute right-2 top-1 w-40 text-xs text-muted-foreground flex flex-col gap-2",children:[a.jsxs("div",{className:"pt-2 flex items-center gap-2",children:[a.jsx("div",{className:"text-nowrap",children:"Path style"}),a.jsx(D8,{defaultValue:ps.cPaths[0],value:e.path,onValueChange:n=>lt.xArrowsState.path=n,options:T8})]}),a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx("div",{className:"text-nowrap",children:"Stroke width"}),a.jsx(Y0,{min:1,max:10,step:1,value:[e.strokeWidth],className:"[&>.track]:h-px",onValueChange:n=>lt.xArrowsState.strokeWidth=n[0]}),a.jsx("div",{className:"text-[.65rem]",children:e.strokeWidth})]}),a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(os,{checked:e.animate,onCheckedChange:n=>lt.xArrowsState.animate=!!n}),"Animate on initial draw"]}),a.jsx("div",{className:"mt-2",children:"You can drag items within the designated area"}),a.jsx("div",{className:"",children:a.jsx(ft,{variant:"outline",onClick:()=>lt.xArrowsState.boxes.push({label:`elem${e.boxes.length+1}`,x:0,y:0,id:sa.asRelativeNumber()}),children:"Add item"})})]})}function I8({box1Ref:e,box2Ref:n}){const t=Ir(lt.xArrowsState);return a.jsx(M8,{start:e,end:n,color:"hsl(var(--muted-foreground))",strokeWidth:t.strokeWidth,dashness:{strokeLen:8,nonStrokeLen:3},animateDrawing:t.animate,path:t.path})}var jl={exports:{}},vb={};function xb(e){var n,t,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e))for(n=0;n0&&arguments[0]!==void 0?arguments[0]:"transform";if(typeof window>"u")return"";const t=(e=window.document)===null||e===void 0||(e=e.documentElement)===null||e===void 0?void 0:e.style;if(!t||n in t)return"";for(let o=0;on===t.identifier)||e.changedTouches&&(0,Mn.findInArray)(e.changedTouches,t=>n===t.identifier)}function oT(e){if(e.targetTouches&&e.targetTouches[0])return e.targetTouches[0].identifier;if(e.changedTouches&&e.changedTouches[0])return e.changedTouches[0].identifier}function sT(e){if(!e)return;let n=e.getElementById("react-draggable-style-el");n||(n=e.createElement("style"),n.type="text/css",n.id="react-draggable-style-el",n.innerHTML=`.react-draggable-transparent-selection *::-moz-selection {all: inherit;} `,n.innerHTML+=`.react-draggable-transparent-selection *::selection {all: inherit;} -`,e.getElementsByTagName("head")[0].appendChild(n)),e.body&&xb(e.body,"react-draggable-transparent-selection")}function nT(e){if(e)try{if(e.body&&bb(e.body,"react-draggable-transparent-selection"),e.selection)e.selection.empty();else{const n=(e.defaultView||window).getSelection();n&&n.type!=="Caret"&&n.removeAllRanges()}}catch{}}function xb(e,n){e.classList?e.classList.add(n):e.className.match(new RegExp("(?:^|\\s)".concat(n,"(?!\\S)")))||(e.className+=" ".concat(n))}function bb(e,n){e.classList?e.classList.remove(n):e.className=e.className.replace(new RegExp("(?:^|\\s)".concat(n,"(?!\\S)"),"g"),"")}var hr={};Object.defineProperty(hr,"__esModule",{value:!0});hr.canDragX=sT;hr.canDragY=aT;hr.createCoreData=lT;hr.createDraggableData=cT;hr.getBoundPosition=rT;hr.getControlPosition=iT;hr.snapToGrid=oT;var $n=gr,rs=Nt;function rT(e,n,t){if(!e.props.bounds)return[n,t];let{bounds:o}=e.props;o=typeof o=="string"?o:uT(o);const i=Bd(e);if(typeof o=="string"){const{ownerDocument:l}=i,u=l.defaultView;let d;if(o==="parent"?d=i.parentNode:d=l.querySelector(o),!(d instanceof u.HTMLElement))throw new Error('Bounds selector "'+o+'" could not find an element.');const p=d,f=u.getComputedStyle(i),g=u.getComputedStyle(p);o={left:-i.offsetLeft+(0,$n.int)(g.paddingLeft)+(0,$n.int)(f.marginLeft),top:-i.offsetTop+(0,$n.int)(g.paddingTop)+(0,$n.int)(f.marginTop),right:(0,rs.innerWidth)(p)-(0,rs.outerWidth)(i)-i.offsetLeft+(0,$n.int)(g.paddingRight)-(0,$n.int)(f.marginRight),bottom:(0,rs.innerHeight)(p)-(0,rs.outerHeight)(i)-i.offsetTop+(0,$n.int)(g.paddingBottom)-(0,$n.int)(f.marginBottom)}}return(0,$n.isNum)(o.right)&&(n=Math.min(n,o.right)),(0,$n.isNum)(o.bottom)&&(t=Math.min(t,o.bottom)),(0,$n.isNum)(o.left)&&(n=Math.max(n,o.left)),(0,$n.isNum)(o.top)&&(t=Math.max(t,o.top)),[n,t]}function oT(e,n,t){const o=Math.round(n/e[0])*e[0],i=Math.round(t/e[1])*e[1];return[o,i]}function sT(e){return e.props.axis==="both"||e.props.axis==="x"}function aT(e){return e.props.axis==="both"||e.props.axis==="y"}function iT(e,n,t){const o=typeof n=="number"?(0,rs.getTouch)(e,n):null;if(typeof n=="number"&&!o)return null;const i=Bd(t),l=t.props.offsetParent||i.offsetParent||i.ownerDocument.body;return(0,rs.offsetXYFromParent)(o||e,l,t.props.scale)}function lT(e,n,t){const o=!(0,$n.isNum)(e.lastX),i=Bd(e);return o?{node:i,deltaX:0,deltaY:0,lastX:n,lastY:t,x:n,y:t}:{node:i,deltaX:n-e.lastX,deltaY:t-e.lastY,lastX:e.lastX,lastY:e.lastY,x:n,y:t}}function cT(e,n){const t=e.props.scale;return{node:n.node,x:e.state.x+n.deltaX/t,y:e.state.y+n.deltaY/t,deltaX:n.deltaX/t,deltaY:n.deltaY/t,lastX:e.state.x,lastY:e.state.y}}function uT(e){return{left:e.left,top:e.top,right:e.right,bottom:e.bottom}}function Bd(e){const n=e.findDOMNode();if(!n)throw new Error(": Unmounted during event!");return n}var Sl={},Cl={};Object.defineProperty(Cl,"__esModule",{value:!0});Cl.default=dT;function dT(){}Object.defineProperty(Sl,"__esModule",{value:!0});Sl.default=void 0;var mu=pT(C),hn=Hd(qu()),fT=Hd(Uu),Yt=Nt,Jr=hr,vu=gr,Bs=Hd(Cl);function Hd(e){return e&&e.__esModule?e:{default:e}}function yb(e){if(typeof WeakMap!="function")return null;var n=new WeakMap,t=new WeakMap;return(yb=function(o){return o?t:n})(e)}function pT(e,n){if(!n&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=yb(n);if(t&&t.has(e))return t.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if(l!=="default"&&Object.prototype.hasOwnProperty.call(e,l)){var u=i?Object.getOwnPropertyDescriptor(e,l):null;u&&(u.get||u.set)?Object.defineProperty(o,l,u):o[l]=e[l]}return o.default=e,t&&t.set(e,o),o}function an(e,n,t){return n=gT(n),n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function gT(e){var n=hT(e,"string");return typeof n=="symbol"?n:String(n)}function hT(e,n){if(typeof e!="object"||e===null)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var o=t.call(e,n||"default");if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(e)}const nr={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}};let Zr=nr.mouse,jl=class extends mu.Component{constructor(){super(...arguments),an(this,"dragging",!1),an(this,"lastX",NaN),an(this,"lastY",NaN),an(this,"touchIdentifier",null),an(this,"mounted",!1),an(this,"handleDragStart",n=>{if(this.props.onMouseDown(n),!this.props.allowAnyClick&&typeof n.button=="number"&&n.button!==0)return!1;const t=this.findDOMNode();if(!t||!t.ownerDocument||!t.ownerDocument.body)throw new Error(" not mounted on DragStart!");const{ownerDocument:o}=t;if(this.props.disabled||!(n.target instanceof o.defaultView.Node)||this.props.handle&&!(0,Yt.matchesSelectorAndParentsTo)(n.target,this.props.handle,t)||this.props.cancel&&(0,Yt.matchesSelectorAndParentsTo)(n.target,this.props.cancel,t))return;n.type==="touchstart"&&n.preventDefault();const i=(0,Yt.getTouchIdentifier)(n);this.touchIdentifier=i;const l=(0,Jr.getControlPosition)(n,i,this);if(l==null)return;const{x:u,y:d}=l,p=(0,Jr.createCoreData)(this,u,d);(0,Bs.default)("DraggableCore: handleDragStart: %j",p),(0,Bs.default)("calling",this.props.onStart),!(this.props.onStart(n,p)===!1||this.mounted===!1)&&(this.props.enableUserSelectHack&&(0,Yt.addUserSelectStyles)(o),this.dragging=!0,this.lastX=u,this.lastY=d,(0,Yt.addEvent)(o,Zr.move,this.handleDrag),(0,Yt.addEvent)(o,Zr.stop,this.handleDragStop))}),an(this,"handleDrag",n=>{const t=(0,Jr.getControlPosition)(n,this.touchIdentifier,this);if(t==null)return;let{x:o,y:i}=t;if(Array.isArray(this.props.grid)){let d=o-this.lastX,p=i-this.lastY;if([d,p]=(0,Jr.snapToGrid)(this.props.grid,d,p),!d&&!p)return;o=this.lastX+d,i=this.lastY+p}const l=(0,Jr.createCoreData)(this,o,i);if((0,Bs.default)("DraggableCore: handleDrag: %j",l),this.props.onDrag(n,l)===!1||this.mounted===!1){try{this.handleDragStop(new MouseEvent("mouseup"))}catch{const p=document.createEvent("MouseEvents");p.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(p)}return}this.lastX=o,this.lastY=i}),an(this,"handleDragStop",n=>{if(!this.dragging)return;const t=(0,Jr.getControlPosition)(n,this.touchIdentifier,this);if(t==null)return;let{x:o,y:i}=t;if(Array.isArray(this.props.grid)){let p=o-this.lastX||0,f=i-this.lastY||0;[p,f]=(0,Jr.snapToGrid)(this.props.grid,p,f),o=this.lastX+p,i=this.lastY+f}const l=(0,Jr.createCoreData)(this,o,i);if(this.props.onStop(n,l)===!1||this.mounted===!1)return!1;const d=this.findDOMNode();d&&this.props.enableUserSelectHack&&(0,Yt.removeUserSelectStyles)(d.ownerDocument),(0,Bs.default)("DraggableCore: handleDragStop: %j",l),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,d&&((0,Bs.default)("DraggableCore: Removing handlers"),(0,Yt.removeEvent)(d.ownerDocument,Zr.move,this.handleDrag),(0,Yt.removeEvent)(d.ownerDocument,Zr.stop,this.handleDragStop))}),an(this,"onMouseDown",n=>(Zr=nr.mouse,this.handleDragStart(n))),an(this,"onMouseUp",n=>(Zr=nr.mouse,this.handleDragStop(n))),an(this,"onTouchStart",n=>(Zr=nr.touch,this.handleDragStart(n))),an(this,"onTouchEnd",n=>(Zr=nr.touch,this.handleDragStop(n)))}componentDidMount(){this.mounted=!0;const n=this.findDOMNode();n&&(0,Yt.addEvent)(n,nr.touch.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;const n=this.findDOMNode();if(n){const{ownerDocument:t}=n;(0,Yt.removeEvent)(t,nr.mouse.move,this.handleDrag),(0,Yt.removeEvent)(t,nr.touch.move,this.handleDrag),(0,Yt.removeEvent)(t,nr.mouse.stop,this.handleDragStop),(0,Yt.removeEvent)(t,nr.touch.stop,this.handleDragStop),(0,Yt.removeEvent)(n,nr.touch.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,Yt.removeUserSelectStyles)(t)}}findDOMNode(){var n,t;return(n=this.props)!==null&&n!==void 0&&n.nodeRef?(t=this.props)===null||t===void 0||(t=t.nodeRef)===null||t===void 0?void 0:t.current:fT.default.findDOMNode(this)}render(){return mu.cloneElement(mu.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}};Sl.default=jl;an(jl,"displayName","DraggableCore");an(jl,"propTypes",{allowAnyClick:hn.default.bool,children:hn.default.node.isRequired,disabled:hn.default.bool,enableUserSelectHack:hn.default.bool,offsetParent:function(e,n){if(e[n]&&e[n].nodeType!==1)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:hn.default.arrayOf(hn.default.number),handle:hn.default.string,cancel:hn.default.string,nodeRef:hn.default.object,onStart:hn.default.func,onDrag:hn.default.func,onStop:hn.default.func,onMouseDown:hn.default.func,scale:hn.default.number,className:vu.dontSetMe,style:vu.dontSetMe,transform:vu.dontSetMe});an(jl,"defaultProps",{allowAnyClick:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1});(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"DraggableCore",{enumerable:!0,get:function(){return p.default}}),e.default=void 0;var n=x(C),t=g(qu()),o=g(Uu),i=g(T8),l=Nt,u=hr,d=gr,p=g(Sl),f=g(Cl);function g(y){return y&&y.__esModule?y:{default:y}}function v(y){if(typeof WeakMap!="function")return null;var R=new WeakMap,M=new WeakMap;return(v=function(E){return E?M:R})(y)}function x(y,R){if(!R&&y&&y.__esModule)return y;if(y===null||typeof y!="object"&&typeof y!="function")return{default:y};var M=v(R);if(M&&M.has(y))return M.get(y);var E={},k=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var H in y)if(H!=="default"&&Object.prototype.hasOwnProperty.call(y,H)){var P=k?Object.getOwnPropertyDescriptor(y,H):null;P&&(P.get||P.set)?Object.defineProperty(E,H,P):E[H]=y[H]}return E.default=y,M&&M.set(y,E),E}function m(){return m=Object.assign?Object.assign.bind():function(y){for(var R=1;R{if((0,f.default)("Draggable: onDragStart: %j",E),this.props.onStart(M,(0,u.createDraggableData)(this,E))===!1)return!1;this.setState({dragging:!0,dragged:!0})}),S(this,"onDrag",(M,E)=>{if(!this.state.dragging)return!1;(0,f.default)("Draggable: onDrag: %j",E);const k=(0,u.createDraggableData)(this,E),H={x:k.x,y:k.y,slackX:0,slackY:0};if(this.props.bounds){const{x:D,y:I}=H;H.x+=this.state.slackX,H.y+=this.state.slackY;const[L,F]=(0,u.getBoundPosition)(this,H.x,H.y);H.x=L,H.y=F,H.slackX=this.state.slackX+(D-H.x),H.slackY=this.state.slackY+(I-H.y),k.x=H.x,k.y=H.y,k.deltaX=H.x-this.state.x,k.deltaY=H.y-this.state.y}if(this.props.onDrag(M,k)===!1)return!1;this.setState(H)}),S(this,"onDragStop",(M,E)=>{if(!this.state.dragging||this.props.onStop(M,(0,u.createDraggableData)(this,E))===!1)return!1;(0,f.default)("Draggable: onDragStop: %j",E);const H={dragging:!1,slackX:0,slackY:0};if(!!this.props.position){const{x:D,y:I}=this.props.position;H.x=D,H.y=I}this.setState(H)}),this.state={dragging:!1,dragged:!1,x:R.position?R.position.x:R.defaultPosition.x,y:R.position?R.position.y:R.defaultPosition.y,prevPropsPosition:{...R.position},slackX:0,slackY:0,isElementSVG:!1},R.position&&!(R.onDrag||R.onStop)&&console.warn("A `position` was applied to this , without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}componentDidMount(){typeof window.SVGElement<"u"&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}componentWillUnmount(){this.setState({dragging:!1})}findDOMNode(){var R,M;return(R=(M=this.props)===null||M===void 0||(M=M.nodeRef)===null||M===void 0?void 0:M.current)!==null&&R!==void 0?R:o.default.findDOMNode(this)}render(){const{axis:R,bounds:M,children:E,defaultPosition:k,defaultClassName:H,defaultClassNameDragging:P,defaultClassNameDragged:D,position:I,positionOffset:L,scale:F,...Z}=this.props;let V={},J=null;const ge=!!!I||this.state.dragging,ce=I||k,ue={x:(0,u.canDragX)(this)&&ge?this.state.x:ce.x,y:(0,u.canDragY)(this)&&ge?this.state.y:ce.y};this.state.isElementSVG?J=(0,l.createSVGTransform)(ue,L):V=(0,l.createCSSTransform)(ue,L);const K=(0,i.default)(E.props.className||"",H,{[P]:this.state.dragging,[D]:this.state.dragged});return n.createElement(p.default,m({},Z,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),n.cloneElement(n.Children.only(E),{className:K,style:{...E.props.style,...V},transform:J}))}}e.default=_,S(_,"displayName","Draggable"),S(_,"propTypes",{...p.default.propTypes,axis:t.default.oneOf(["both","x","y","none"]),bounds:t.default.oneOfType([t.default.shape({left:t.default.number,right:t.default.number,top:t.default.number,bottom:t.default.number}),t.default.string,t.default.oneOf([!1])]),defaultClassName:t.default.string,defaultClassNameDragging:t.default.string,defaultClassNameDragged:t.default.string,defaultPosition:t.default.shape({x:t.default.number,y:t.default.number}),positionOffset:t.default.shape({x:t.default.oneOfType([t.default.number,t.default.string]),y:t.default.oneOfType([t.default.number,t.default.string])}),position:t.default.shape({x:t.default.number,y:t.default.number}),className:d.dontSetMe,style:d.dontSetMe,transform:d.dontSetMe}),S(_,"defaultProps",{...p.default.defaultProps,axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1})})(fb);const{default:wb,DraggableCore:mT}=fb;_l.exports=wb;_l.exports.default=wb;_l.exports.DraggableCore=mT;var vT=_l.exports;const _b=Xu(vT),xT="inline-block m-2 p-4 bg-muted-foreground/20 border-muted-foreground border rounded select-none cursor-default",Ph=C.forwardRef(({label:e,dragOptions:n},t)=>{const o=ps.useXarrow(),i=C.useRef(null);function l(u,d){const{x:p,y:f}=d;console.log(`${e} uses translate(${p}px, ${f}px)`),o()}return a.jsx(_b,{onDrag:o,onStop:l,nodeRef:i,bounds:"parent",...n,children:a.jsx("div",{ref:x0([t,i]),className:xT,children:e})})});function bT(){const e=C.useRef(null),n=C.useRef(null);return a.jsxs("div",{className:"h-[240px] relative bg-muted rounded overflow-hidden",children:[a.jsx(A8,{}),a.jsxs(ps.Xwrapper,{children:[a.jsx(Ph,{ref:e,label:"elem1",dragOptions:{defaultPosition:{x:0,y:0}}}),a.jsx(Ph,{ref:n,label:"elem2",dragOptions:{defaultPosition:{x:140,y:160}}}),a.jsx(M8,{box1Ref:e,box2Ref:n})]})]})}const yT="inline-block m-2 p-4 bg-muted-foreground/20 border-muted-foreground border rounded select-none cursor-default";C.forwardRef(({label:e,boxId:n,dragOptions:t},o)=>{const i=ps.useXarrow(),l=C.useRef(null);function u(d,p){const{x:f,y:g}=p;console.log(`${e} uses translate(${f}px, ${g}px)`),i()}return a.jsx(_b,{onDrag:i,onStop:u,nodeRef:l,bounds:"parent",...t,children:a.jsx("div",{ref:x0([o,l]),className:yT,onClick:d=>{if(d.ctrlKey){const p=lt.xArrowsState.boxes.findIndex(f=>f.id===n);p>-1&<.xArrowsState.boxes.splice(p,1)}},children:e})})});const wT="_flip_1dcm9_25",_T="_flipTop_1dcm9_1",ST="_flipBottom_1dcm9_1",Xn={"flip-clock":"_flip-clock_1dcm9_25","flip-clock__piece":"_flip-clock__piece_1dcm9_49","flip-clock__slot":"_flip-clock__slot_1dcm9_71","flip-card":"_flip-card_1dcm9_83","flip-card__top":"_flip-card__top_1dcm9_123","flip-card__bottom":"_flip-card__bottom_1dcm9_125","flip-card__back-bottom":"_flip-card__back-bottom_1dcm9_127","flip-card__back":"_flip-card__back_1dcm9_127",flip:wT,flipTop:_T,flipBottom:ST};function ki({newNumber:e,label:n,className:t,...o}){const i=C.useRef(null),[l,u]=C.useState(e),[d,p]=C.useState(e);return C.useEffect(()=>{l!==e&&(p(l),u(e),i.current?.classList.remove(Xn.flip),i.current?.offsetHeight,i.current?.classList.add(Xn.flip))},[e]),a.jsxs("span",{ref:i,className:_t(Xn["flip-clock__piece"],Xn.flip,t),...o,children:[a.jsx(CT,{currentNumber:l,previousNumber:d}),a.jsx("span",{className:Xn["flip-clock__slot"],children:n})]})}function CT({currentNumber:e,previousNumber:n}){const t=e.toString().padStart(2,"0"),o=n.toString().padStart(2,"0");return a.jsxs("span",{className:`${Xn["flip-clock__card"]} ${Xn["flip-card"]}`,children:[a.jsx("b",{className:Xn["flip-card__top"],children:t}),a.jsx("b",{className:Xn["flip-card__bottom"],"data-value":t}),a.jsx("b",{className:Xn["flip-card__back"],"data-value":o}),a.jsx("b",{className:Xn["flip-card__back-bottom"],"data-value":o})]})}const Li=["Days","Hours","Minutes","Seconds"];function jT(e){return[Math.floor(e/(1e3*60*60*24)),Math.floor(e/(1e3*60*60)%24),Math.floor(e/1e3/60%60),Math.floor(e/1e3%60)]}function NT({initialTime:e,add:n=!1}){const[t,o]=C.useState(e),[i,l]=C.useState(!0),u=C.useMemo(()=>jT(t),[t]);return C.useEffect(()=>{if(!i)return;const d=setInterval(()=>o(p=>p+(n?1:-1)*1e3),1e3);return()=>clearInterval(d)},[i]),a.jsxs("div",{className:"flex flex-col gap-4",children:[a.jsx(dt,{variant:"outline",size:"sm",onClick:()=>l(!i),children:i?"Stop":"Start"}),a.jsxs("div",{className:Xn["flip-clock"],"data-date":"2017-02-11",children:[a.jsx(ki,{label:Li[0],newNumber:u[0]}),a.jsx(ki,{label:Li[1],newNumber:u[1]}),a.jsx(ki,{label:Li[2],newNumber:u[2]}),a.jsx(ki,{label:Li[3],newNumber:u[3]})]})]})}function RT(){const[e]=C.useState(()=>(new Date().getTime()-new Date().getTimezoneOffset()*60*1e3)%864e5);return a.jsx("div",{className:"flex items-center justify-center",children:a.jsx(NT,{initialTime:e})})}const $T="_wrapper_1fkod_1",ET="_mainText_1fkod_17",PT="_hoverText_1fkod_27",xu={wrapper:$T,mainText:ET,hoverText:PT};function Ah({className:e,...n}){return a.jsxs("div",{className:_t(xu.wrapper,e),...n,children:[a.jsx("span",{className:xu.mainText,children:"Hover over me 1"}),a.jsx("span",{className:xu.hoverText,children:"Hover over me 2"})]})}const AT="_wrapper_8txox_1",MT="_flashing_8txox_1",DT={wrapper:AT,flashing:MT};function TT({className:e,...n}){return a.jsxs("div",{className:_t(DT.wrapper,e),...n,children:[a.jsx("span",{}),a.jsx("span",{}),a.jsx("span",{})]})}const IT="_wrapper_sogws_7",kT="_transit_sogws_73",LT="_toggle_sogws_1",FT="_app_sogws_1",OT="_background_sogws_165",zT="_drip_sogws_199",BT="_content_sogws_291",HT="_description_sogws_307",VT="_pronunciation_sogws_349",GT="_avatar_sogws_389",WT="_button_sogws_425",ht={wrapper:IT,"goo-filter":"_goo-filter_sogws_25",transit:kT,toggle:LT,app:FT,background:OT,"bg-content":"_bg-content_sogws_185","bg-description":"_bg-description_sogws_187",drip:zT,content:BT,description:HT,pronunciation:VT,avatar:GT,button:WT,"up-down":"_up-down_sogws_1","down-up":"_down-up_sogws_1"};function UT(){return a.jsxs("div",{className:`relative ${ht.wrapper} bg-sky-950 flex items-center justify-center`,children:[a.jsx("svg",{className:`w-full h-full ${ht["goo-filter"]}`,viewBox:"0 0 1 1",children:a.jsxs("filter",{id:"goo",children:[a.jsx("feGaussianBlur",{in:"SourceGraphic",stdDeviation:10,result:"blur"}),a.jsx("feColorMatrix",{in:"blur",mode:"matrix",values:"1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 50 -20",result:"goo"}),a.jsx("feBlend",{in:"SourceGraphic",in2:"goo"})]})}),a.jsxs("div",{id:`relative ${ht.app}`,children:[a.jsx("input",{type:"checkbox",id:ht.toggle,name:"toggle"}),a.jsxs("div",{className:ht.background,children:[a.jsxs("div",{className:ht["bg-content"],children:[a.jsx("div",{className:ht.drip}),a.jsx("div",{className:ht.drip}),a.jsx("div",{className:ht.drip}),a.jsx("div",{className:ht.drip}),a.jsx("div",{className:ht.drip}),a.jsx("div",{className:ht.drip})]}),a.jsxs("div",{className:`${ht["bg-description"]}`,children:[a.jsx("div",{className:ht.drip}),a.jsx("div",{className:ht.drip}),a.jsx("div",{className:ht.drip}),a.jsx("div",{className:ht.drip}),a.jsx("div",{className:ht.drip}),a.jsx("div",{className:ht.drip})]})]}),a.jsxs("div",{className:ht.content,children:[a.jsx("div",{className:ht.avatar,children:"🕶"}),a.jsx("header",{children:"Ocularia Solaria"}),a.jsx("label",{className:ht.button,htmlFor:ht.toggle})]}),a.jsxs("div",{className:`${ht.description} ${ht.transit}`,children:[a.jsx("header",{children:"Sunglasses!"}),a.jsx("p",{children:"Cool."})]})]})]})}function XT(){return a.jsxs(Po,{defaultValue:"switch1",children:[a.jsxs(ao,{children:[a.jsx(Ke,{value:"switch1",children:"Neon switch"}),a.jsx(Ke,{value:"switch2",children:"Styled switch"}),a.jsx(Ke,{value:"switch3",children:"Effects"}),a.jsx(Ke,{value:"switch4",children:"Goo"})]}),a.jsx(Ye,{value:"switch1",children:a.jsx(GM,{})}),a.jsx(Ye,{value:"switch2",children:a.jsx(WM,{})}),a.jsx(Ye,{value:"switch3",children:a.jsxs("div",{className:"py-4 flex items-center justify-between",children:[a.jsx(dt,{variant:"outline",children:a.jsx(Ah,{className:"cursor-pointer"})}),a.jsx(Ah,{className:"cursor-pointer"}),a.jsx(TT,{className:"text-sky-800"})]})}),a.jsx(Ye,{value:"switch4",children:a.jsx(UT,{})})]})}function qT(){return a.jsxs(Po,{defaultValue:"controls1",children:[a.jsxs(ao,{children:[a.jsx(Ke,{value:"controls1",children:"Switches"}),a.jsx(Ke,{value:"controls2",children:"Carousel"}),a.jsx(Ke,{value:"controls3",children:"Pagination"}),a.jsx(Ke,{value:"controls4",children:"Skeleton"}),a.jsx(Ke,{value:"controls5",children:"Charts"})]}),a.jsx(Ye,{value:"controls1",children:a.jsx(XT,{})}),a.jsx(Ye,{value:"controls2",children:a.jsx($M,{})}),a.jsx(Ye,{value:"controls3",children:a.jsx(EM,{})}),a.jsx(Ye,{value:"controls4",children:a.jsx(PM,{})}),a.jsx(Ye,{value:"controls5",children:a.jsx(zM,{})})]})}function KT(){return a.jsx("div",{children:a.jsx(dt,{variant:"outline",onClick:()=>{Jv({title:"Too many requests, please try again later"})},children:"Radix toast"})})}const Mh=["success","info","warning","error","message","loading"];function YT(){const e=Mh[Math.floor(Math.random()*Mh.length)],n=`Event has been created as "${e}" toast`,t=`Today ${new Date().toLocaleString().replace(/\//g,".")}`,o={label:"Undo",onClick:()=>console.log("Undo")};Pu[e](n,{description:t,action:o})}function JT(){return a.jsx(dt,{variant:"outline",onClick:()=>{YT()},children:"Sonner toast"})}const ZT=[{goal:400},{goal:300},{goal:200},{goal:300},{goal:200},{goal:278},{goal:189},{goal:239},{goal:300},{goal:200},{goal:278},{goal:189},{goal:349}];function QT(){const[e,n]=C.useState(350);function t(o){n(Math.max(200,Math.min(400,e+o)))}return a.jsxs("div",{className:"p-4 pb-0",children:[a.jsxs("div",{className:"flex items-center justify-center space-x-2",children:[a.jsxs(dt,{variant:"outline",size:"icon",className:"shrink-0 w-8 h-8 rounded-full",disabled:e<=200,onClick:()=>t(-10),children:[a.jsx(bj,{className:"w-4 h-4"}),a.jsx("span",{className:"sr-only",children:"Decrease"})]}),a.jsxs("div",{className:"flex-1 text-center",children:[a.jsx("div",{className:"text-7xl font-bold tracking-tighter",children:e}),a.jsx("div",{className:"text-[0.70rem] uppercase text-muted-foreground",children:"Calories/day"})]}),a.jsxs(dt,{variant:"outline",size:"icon",className:"shrink-0 w-8 h-8 rounded-full",disabled:e>=400,onClick:()=>t(10),children:[a.jsx(yj,{className:"w-4 h-4"}),a.jsx("span",{className:"sr-only",children:"Increase"})]})]}),a.jsx("div",{className:"mt-3 h-[120px]",children:a.jsx(rd,{width:"100%",height:"100%",children:a.jsx(l0,{data:ZT,children:a.jsx(c0,{dataKey:"goal",style:{fill:"hsl(var(--foreground))",opacity:.9}})})})})]})}function e6(){return a.jsxs(yx,{children:[a.jsx(v3,{asChild:!0,children:a.jsx(dt,{variant:"outline",children:"Open drawer"})}),a.jsx(_x,{children:a.jsxs("div",{className:"mx-auto w-full max-w-sm",children:[a.jsxs(y3,{children:[a.jsx(Sx,{children:"Move Goal"}),a.jsx(Cx,{children:"Set your daily activity goal."})]}),a.jsx(QT,{}),a.jsxs(w3,{children:[a.jsx(dt,{children:"Submit"}),a.jsx(b3,{asChild:!0,children:a.jsx(dt,{variant:"outline",children:"Cancel"})})]})]})})]})}function t6(){return a.jsxs(ll,{children:[a.jsx(ya,{children:"File"}),a.jsxs(wa,{children:[a.jsxs(bt,{children:["Open Files ",a.jsx(Mr,{children:"Ctrl+T"})]}),a.jsxs(bt,{children:["New Tab ",a.jsx(Mr,{children:"⌘T"})]}),a.jsxs(bt,{children:["New Window ",a.jsx(Mr,{children:"⌘N"})]}),a.jsx(bt,{disabled:!0,children:"New Incognito Window"}),a.jsx(sr,{}),a.jsxs(X0,{children:[a.jsx(dd,{children:"Share"}),a.jsxs(fd,{children:[a.jsx(bt,{children:"Email link"}),a.jsx(bt,{children:"Messages"}),a.jsx(bt,{children:"Notes"})]})]}),a.jsx(sr,{}),a.jsxs(bt,{children:["Print... ",a.jsx(Mr,{children:"⌘P"})]})]})]})}function n6(){return a.jsxs(ll,{children:[a.jsx(ya,{children:"Edit"}),a.jsxs(wa,{children:[a.jsxs(bt,{children:["Undo ",a.jsx(Mr,{children:"⌘Z"})]}),a.jsxs(bt,{children:["Redo ",a.jsx(Mr,{children:"⇧⌘Z"})]}),a.jsx(sr,{}),a.jsxs(X0,{children:[a.jsx(dd,{children:"Find"}),a.jsxs(fd,{children:[a.jsx(bt,{children:"Search the web"}),a.jsx(sr,{}),a.jsx(bt,{children:"Find..."}),a.jsx(bt,{children:"Find Next"}),a.jsx(bt,{children:"Find Previous"})]})]}),a.jsx(sr,{}),a.jsx(bt,{children:"Cut"}),a.jsx(bt,{children:"Copy"}),a.jsx(bt,{children:"Paste"})]})]})}function r6(){return a.jsxs(ll,{children:[a.jsx(ya,{children:"View"}),a.jsxs(wa,{children:[a.jsx(Su,{children:"Always Show Bookmarks Bar"}),a.jsx(Su,{checked:!0,children:"Always Show Full URLs"}),a.jsx(sr,{}),a.jsxs(bt,{inset:!0,children:["Reload ",a.jsx(Mr,{children:"⌘R"})]}),a.jsxs(bt,{disabled:!0,inset:!0,children:["Force Reload ",a.jsx(Mr,{children:"⇧⌘R"})]}),a.jsx(sr,{}),a.jsx(bt,{inset:!0,children:"Toggle Fullscreen"}),a.jsx(sr,{}),a.jsx(bt,{inset:!0,children:"Hide Sidebar"})]})]})}function o6(){return a.jsxs(ll,{children:[a.jsx(ya,{children:"Profiles"}),a.jsxs(wa,{children:[a.jsxs(h5,{value:"benoit",children:[a.jsx(Oi,{value:"andy",children:"Andy"}),a.jsx(Oi,{value:"benoit",children:"Benoit"}),a.jsx(Oi,{value:"Luis",children:"Luis"})]}),a.jsx(sr,{}),a.jsx(bt,{inset:!0,children:"Edit..."}),a.jsx(sr,{}),a.jsx(bt,{inset:!0,children:"Add Profile..."})]})]})}function s6(){return a.jsxs(q0,{children:[a.jsx(t6,{}),a.jsx(n6,{}),a.jsx(r6,{}),a.jsx(o6,{})]})}const a6=`p-1 bg-background border rounded-md shadow-md ${va}`,i6=" px-2 py-2 text-xs focus:bg-accent focus:text-accent-foreground outline-none rounded-md select-none cursor-default flex items-center ",l6=({trigger:e,onCommand:n,items:t,containerClasses:o,menuContentProps:i})=>a.jsx("div",{className:"relative inline-block text-left",children:a.jsxs(Yh,{children:[a.jsx(Jh,{asChild:!0,children:e}),a.jsx(Gh,{children:a.jsx(Ku,{align:"end",...i,className:_t(a6,o),children:t.map(({id:l,label:u,icon:d,shortcut:p},f)=>a.jsxs(Yu,{className:i6,onClick:()=>n(l),children:[d,a.jsx("span",{className:"flex-grow",children:u}),p&&a.jsx("span",{className:"text-xs",children:p})]},l))})})]})}),c6=[{id:"new-file",label:"New File"},{id:"open-settings",label:"Settings"}],u6="w-40";function d6(){function e(n){switch(n){case"new-file":console.log(n);break;case"open-settings":console.log(n);break}}return a.jsx("div",{className:"py-1 select-none flex items-center justify-between",children:a.jsx("div",{className:"",children:a.jsx(l6,{trigger:a.jsxs(dt,{variant:"outline",className:"px-2 flex items-center gap-1",children:[a.jsx(Y$,{className:"size-4 mt-0.5"}),"Dropdown"]}),items:c6,containerClasses:u6,menuContentProps:{sideOffset:4,align:"start"},onCommand:e})})})}function f6(){return a.jsxs(a.Fragment,{children:[a.jsxs(D0,{children:[a.jsx(I0,{children:"Demo dialog"}),a.jsx(k0,{children:"Make changes to your profile here. Click save when you're done."})]}),a.jsxs("div",{className:"grid gap-4 py-4",children:[a.jsxs("div",{className:"grid grid-cols-4 items-center gap-4",children:[a.jsx(Xi,{htmlFor:"name",className:"text-right",children:"Name"}),a.jsx(aa,{id:"name",className:"col-span-3",value:"Pedro Duarte",onChange:()=>{}})]}),a.jsxs("div",{className:"grid grid-cols-4 items-center gap-4",children:[a.jsx(Xi,{htmlFor:"username",className:"text-right",children:"Username"}),a.jsx(aa,{id:"username",className:"col-span-3",value:"@peduarte",onChange:e=>{}})]})]})]})}function p6(){const[e,n]=C.useState(!1);return a.jsxs(a.Fragment,{children:[a.jsx(dt,{variant:"outline",onClick:()=>n(!0),children:"Demo dialog"}),a.jsx(uR,{open:e,onOpenChange:()=>n(!1),children:a.jsxs(M0,{className:"sm:max-w-[425px]",children:[a.jsx(f6,{}),a.jsx(T0,{children:a.jsx(dt,{type:"submit",onClick:()=>n(!1),children:"Save changes"})})]})})]})}function g6(){return a.jsxs("div",{className:"flex flex-col gap-4",children:[a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(JT,{}),a.jsx(KT,{}),a.jsx(e6,{})]}),a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(s6,{}),a.jsx(d6,{})]}),a.jsx("div",{className:"flex items-center gap-2",children:a.jsx(p6,{})})]})}function h6(){return a.jsxs(Po,{defaultValue:"picker5",children:[a.jsxs(ao,{children:[a.jsx(Ke,{value:"picker1",children:"Color"}),a.jsx(Ke,{value:"picker2",children:"Gradient"}),a.jsx(Ke,{value:"picker3",children:"Theme"}),a.jsx(Ke,{value:"picker4",children:"Data flow"}),a.jsx(Ke,{value:"picker5",children:"Clock"})]}),a.jsx(Ye,{value:"picker1",children:a.jsx(PD,{})}),a.jsx(Ye,{value:"picker2",children:a.jsx(GD,{})}),a.jsx(Ye,{value:"picker3",children:a.jsx(d5,{delayDuration:100,children:a.jsxs("div",{className:"my-8 flex items-center justify-center gap-2",children:[a.jsx(_8,{}),a.jsx(N8,{})]})})}),a.jsx(Ye,{value:"picker4",children:a.jsx(bT,{})}),a.jsx(Ye,{value:"picker5",children:a.jsx("div",{className:"my-8 flex items-center justify-center",children:a.jsx(RT,{})})})]})}function Vd({maskId:e="p1loader"}={}){return a.jsxs("defs",{children:[a.jsxs("linearGradient",{id:`${e}-grad`,x1:0,y1:0,x2:1,y2:1,children:[a.jsx("stop",{offset:"0%"}),a.jsx("stop",{offset:"100%",stopColor:"#fff"})]}),a.jsx("mask",{id:`${e}`,children:a.jsx("rect",{x:"0",y:"0",width:"128",height:"128",fill:`url(#${e}-grad)`})})]})}const m6="[--hue1:223] [--hue2:343] [--primary:hsl(var(--hue1),90%,50%)] [--secondary:hsl(var(--hue2),90%,50%)] ",Dh="p1loader";function v6({className:e,...n}){return a.jsxs("svg",{className:_t(m6,e),viewBox:"0 0 128 128",...n,children:[a.jsx(Vd,{maskId:Dh}),a.jsxs("g",{className:"pl1__g",fill:"var(--primary)",children:[a.jsxs("g",{className:"pl1__rect-g",transform:"translate(20 20)",children:[a.jsx("rect",{className:"pl1__rect",rx:8,ry:8,width:40,height:40}),a.jsx("rect",{className:"pl1__rect",rx:8,ry:8,width:40,height:40,transform:"translate(0 48)"})]}),a.jsxs("g",{className:"pl1__rect-g",transform:"translate(20 20) rotate(180 44 44)",children:[a.jsx("rect",{className:"pl1__rect",rx:8,ry:8,width:40,height:40}),a.jsx("rect",{className:"pl1__rect",rx:8,ry:8,width:40,height:40,transform:"translate(0 48)"})]})]}),a.jsxs("g",{className:"pl1__g",fill:"var(--secondary)",mask:`url(#${Dh})`,children:[a.jsxs("g",{className:"pl1__rect-g",transform:"translate(20 20)",children:[a.jsx("rect",{className:"pl1__rect",rx:8,ry:8,width:40,height:40}),a.jsx("rect",{className:"pl1__rect",rx:8,ry:8,width:40,height:40,transform:"translate(0 48)"})]}),a.jsxs("g",{className:"pl1__rect-g",transform:"translate(20 20) rotate(180 44 44)",children:[a.jsx("rect",{className:"pl1__rect",rx:8,ry:8,width:40,height:40}),a.jsx("rect",{className:"pl1__rect",rx:8,ry:8,width:40,height:40,transform:"translate(0 48)"})]})]})]})}const x6="[--hue1:223] [--hue2:283] [--primary:hsl(var(--hue1),90%,50%)] [--secondary:hsl(var(--hue2),90%,50%)] ",Th="p2loader";function b6({className:e,...n}){return a.jsxs("svg",{className:_t(x6,e),viewBox:"0 0 128 128",...n,children:[a.jsx(Vd,{maskId:Th}),a.jsxs("g",{fill:"var(--primary)",children:[a.jsx("g",{className:"pl2__rect-g",children:a.jsx("rect",{className:"pl2__rect",rx:8,ry:8,y:128,width:40,height:24,transform:"rotate(180)"})}),a.jsx("g",{className:"pl2__rect-g",children:a.jsx("rect",{className:"pl2__rect",rx:8,ry:8,x:44,y:128,width:40,height:24,transform:"rotate(180)"})}),a.jsx("g",{className:"pl2__rect-g",children:a.jsx("rect",{className:"pl2__rect",rx:8,ry:8,x:88,y:128,width:40,height:24,transform:"rotate(180)"})})]}),a.jsxs("g",{fill:"var(--secondary)",mask:`url(#${Th})`,children:[a.jsx("g",{className:"pl2__rect-g",children:a.jsx("rect",{className:"pl2__rect",rx:8,ry:8,y:128,width:40,height:24,transform:"rotate(180)"})}),a.jsx("g",{className:"pl2__rect-g",children:a.jsx("rect",{className:"pl2__rect",rx:8,ry:8,x:44,y:128,width:40,height:24,transform:"rotate(180)"})}),a.jsx("g",{className:"pl2__rect-g",children:a.jsx("rect",{className:"pl2__rect",rx:8,ry:8,x:88,y:128,width:40,height:24,transform:"rotate(180)"})})]})]})}const y6="[--hue1:223] [--hue2:163] [--primary:hsl(var(--hue1),90%,50%)] [--secondary:hsl(var(--hue2),90%,50%)] ",Ih="p3loader";function w6({className:e,...n}){return a.jsxs("svg",{className:_t(y6,e),viewBox:"0 0 128 128",...n,children:[a.jsx(Vd,{maskId:Ih}),a.jsxs("g",{fill:"var(--primary)",children:[a.jsx("rect",{className:"pl3__rect",rx:8,ry:8,width:64,height:64,transform:"translate(64)"}),a.jsx("g",{className:"pl3__rect-g",transform:"scale(-1)",children:a.jsx("rect",{className:"pl3__rect",rx:8,ry:8,width:64,height:64,transform:"translate(64)"})})]}),a.jsxs("g",{fill:"var(--secondary)",mask:`url(#${Ih})`,children:[a.jsx("rect",{className:"pl3__rect",rx:8,ry:8,width:64,height:64,transform:"translate(64)"}),a.jsx("g",{className:"pl3__rect-g",transform:"scale(-1)",children:a.jsx("rect",{className:"pl3__rect",rx:8,ry:8,width:64,height:64,transform:"translate(64)"})})]})]})}function _6({className:e,...n}){return a.jsxs("div",{className:_t("flex items-center gap-2",e),...n,children:[a.jsx(v6,{className:"w-6 h-6 [--hue1:53] [--hue2:253]"}),a.jsx(b6,{className:"w-6 h-6 [--hue2:253]"}),a.jsx(w6,{className:"w-6 h-6 [--hue2:153]"})]})}const S6="_content_d2oym_51",C6="_dots_d2oym_5",j6="_spin_d2oym_1",N6="_control_d2oym_87",R6="_bg_d2oym_113",$6="_ring_d2oym_185",E6="_dot_d2oym_5",P6="_ball_d2oym_1",zt={"dots-ring":"_dots-ring_d2oym_5",content:S6,dots:C6,spin:j6,control:N6,bg:R6,ring:$6,dot:E6,"over-ring":"_over-ring_d2oym_1",ball:P6};function A6(){return a.jsxs("div",{className:`qw-64 qh-64 ${zt["dots-ring"]}`,children:[a.jsx("input",{className:zt.control,type:"checkbox"}),a.jsx("div",{className:zt.bg}),a.jsx("div",{className:zt.content,children:a.jsxs("div",{className:zt.dots,children:[a.jsxs("div",{className:zt.dot,children:[" ",a.jsx("span",{})," "]}),a.jsxs("div",{className:zt.dot,children:[" ",a.jsx("span",{})," "]}),a.jsxs("div",{className:zt.dot,children:[" ",a.jsx("span",{})," "]}),a.jsxs("div",{className:zt.dot,children:[" ",a.jsx("span",{})," "]}),a.jsxs("div",{className:zt.dot,children:[" ",a.jsx("span",{})," "]}),a.jsxs("div",{className:zt.dot,children:[" ",a.jsx("span",{})," "]}),a.jsxs("div",{className:zt.dot,children:[" ",a.jsx("span",{})," "]}),a.jsxs("div",{className:zt.dot,children:[" ",a.jsx("span",{})," "]}),a.jsxs("div",{className:zt.dot,children:[" ",a.jsx("span",{})," "]}),a.jsxs("div",{className:zt.dot,children:[" ",a.jsx("span",{})," "]}),a.jsxs("div",{className:zt.dot,children:[" ",a.jsx("span",{})," "]}),a.jsxs("div",{className:zt.dot,children:[" ",a.jsx("span",{})," "]}),a.jsx("div",{className:zt.ring})]})})]})}const M6="_a_17o17_51",D6="_b_17o17_79",kh={a:M6,"rotate-clock-wise":"_rotate-clock-wise_17o17_1",b:D6,"rotate-anti-clock-wise":"_rotate-anti-clock-wise_17o17_1"};function T6(){return a.jsx("div",{className:"p-4 text-green-950 flex items-center justify-center",children:a.jsxs("div",{className:"relative w-32 h-32 border-current border-[14px] rounded-full",children:[a.jsx("div",{className:`${kh.a} m-1 absolute inset-0 border-current border-[8px] border-y-transparent rounded-full`}),a.jsx("div",{className:`${kh.b} m-4 absolute inset-0 border-current border-[20px] border-x-transparent rounded-full`})]})})}const I6="_spinner_ot2c0_13",k6="_rotate_ot2c0_1",L6="_path_ot2c0_31",F6="_dash_ot2c0_1",Lh={spinner:I6,rotate:k6,path:L6,dash:F6};function O6({className:e,...n}){return a.jsx("svg",{className:_t(Lh.spinner,e),viewBox:"0 0 50 50",...n,children:a.jsx("circle",{className:Lh.path,cx:25,cy:25,r:20,fill:"none"})})}const z6="_owner_17gat_1",B6={owner:z6,"donut-spin":"_donut-spin_17gat_1"};function H6({className:e,...n}){return a.jsx("div",{className:_t(B6.owner,"border-transparent border-l-sky-500 border-4 rounded-full",e),...n})}const Sb=C.forwardRef(({className:e,...n},t)=>a.jsxs("div",{ref:t,role:"status",children:[a.jsxs("svg",{className:_t("w-6 h-6 fill-red-none animate-spin",e),viewBox:"0 0 100 101","aria-hidden":"true",...n,children:[a.jsx("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z"}),a.jsx("path",{className:"fill-current",d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z"})]}),a.jsx("span",{className:"sr-only",children:"Loading..."})]}));Sb.displayName="Spinner9";function V6({className:e,...n}){return a.jsx("div",{className:_t("px-3 flex items-center justify-center animate-spin",e),...n,children:"⍥"})}const G6="_loader_13ftp_13",W6="_animateCircle_13ftp_1",U6="_animateDot_13ftp_1",X6={loader:G6,animateCircle:W6,animateDot:U6};function q6(){return a.jsxs("div",{className:`relative w-[150px] h-[150px] ${X6.loader}`,children:["Loading",a.jsx("span",{})]})}const K6="_opacity_1ujbv_1",Y6="_colors_1ujbv_1",J6="_transform_1ujbv_1",Co={"g--circle":"_g--circle_1ujbv_57",opacity:K6,"g-circles--v1":"_g-circles--v1_1ujbv_193","g-circles--v2":"_g-circles--v2_1ujbv_207","opacity-stroke":"_opacity-stroke_1ujbv_1",colors:Y6,"colors-stroke":"_colors-stroke_1ujbv_1","u--circle":"_u--circle_1ujbv_223","transform-2":"_transform-2_1ujbv_1","g-circles--v3":"_g-circles--v3_1ujbv_331","g-circles--v4":"_g-circles--v4_1ujbv_345","colors-3":"_colors-3_1ujbv_1",transform:J6,"colors-2":"_colors-2_1ujbv_1"};function Z6(){return a.jsx("svg",{viewBox:"0 0 120 120",style:{position:"absolute",width:0,height:0,overflow:"hidden"},children:a.jsx("symbol",{id:"symbol--circle",children:a.jsx("circle",{r:10,cx:20,cy:20})})})}function Fi({className:e,...n}){return a.jsx("svg",{viewBox:"0 0 120 120",...n,children:a.jsx("g",{className:`${Co["g-circles"]} ${e}`,children:Array.from({length:12}).map((t,o)=>a.jsxs("g",{className:Co["g--circle"],children:[" ",a.jsx("use",{xlinkHref:"#symbol--circle",className:Co["u--circle"]})," "]},o))})})}const nl="rgba(255,_255,_255,_0)",Cb="rgba(255,_255,_255,_0.05)",Q6=`linear-gradient(45deg,_${nl}_48%,_${Cb}_50%,_${nl}_52%)`,eI=`linear-gradient(-45deg,_${nl}_48%,_${Cb}_50%,_${nl}_52%)`,tI=`[background:${Q6},_${eI}] [background-size:_1em_1em]`;function nI(){return a.jsx("div",{className:`p-4 text-green-950 flex items-center justify-center ${tI}`,children:a.jsxs("div",{className:"relative w-96 flex items-center gap-4",children:[a.jsx(Z6,{}),a.jsx(Fi,{className:Co["g-circles--v1"]}),a.jsx(Fi,{className:Co["g-circles--v2"]}),a.jsx(Fi,{className:Co["g-circles--v3"]}),a.jsx(Fi,{className:Co["g-circles--v4"]})]})})}const rI="_particle_qdkb4_5",oI="_animation_qdkb4_1",Fh={particle:rI,animation:oI},Oh=360*3;function sI({className:e,...n}){return a.jsx(a.Fragment,{children:a.jsx("div",{className:Fh.center,style:{"--total":Oh,"--dot-size":"4px"},...n,children:Array.from({length:Oh}).map((t,o)=>a.jsx("div",{className:Fh.particle,style:{"--index":o}},o))})})}function aI(){return a.jsx("div",{className:"p-4 text-green-950 flex items-center justify-center",children:a.jsx("div",{className:"relative w-96 h-[200px] flex items-center justify-center content-center gap-4",children:a.jsx(sI,{})})})}const iI="_pl_b9jmf_49",lI="_pl__bubble_b9jmf_69",mt={pl:iI,pl__bubble:lI,"pl__bubble-drop":"_pl__bubble-drop_b9jmf_81","bubble-rise-before":"_bubble-rise-before_b9jmf_1","bubble-rise-after":"_bubble-rise-after_b9jmf_1","bubble-drop":"_bubble-drop_b9jmf_1"};function cI(){return a.jsxs("div",{className:mt.pl,children:[a.jsxs("div",{className:mt.pl__bubble,children:[a.jsx("div",{className:mt["pl__bubble-drop"]}),a.jsx("div",{className:mt["pl__bubble-drop"]}),a.jsx("div",{className:mt["pl__bubble-drop"]}),a.jsx("div",{className:mt["pl__bubble-drop"]}),a.jsx("div",{className:mt["pl__bubble-drop"]}),a.jsx("div",{className:mt["pl__bubble-drop"]}),a.jsx("div",{className:mt["pl__bubble-drop"]})]}),a.jsxs("div",{className:mt.pl__bubble,children:[a.jsx("div",{className:mt["pl__bubble-drop"]}),a.jsx("div",{className:mt["pl__bubble-drop"]}),a.jsx("div",{className:mt["pl__bubble-drop"]}),a.jsx("div",{className:mt["pl__bubble-drop"]}),a.jsx("div",{className:mt["pl__bubble-drop"]}),a.jsx("div",{className:mt["pl__bubble-drop"]}),a.jsx("div",{className:mt["pl__bubble-drop"]})]}),a.jsxs("div",{className:mt.pl__bubble,children:[a.jsx("div",{className:mt["pl__bubble-drop"]}),a.jsx("div",{className:mt["pl__bubble-drop"]}),a.jsx("div",{className:mt["pl__bubble-drop"]}),a.jsx("div",{className:mt["pl__bubble-drop"]}),a.jsx("div",{className:mt["pl__bubble-drop"]}),a.jsx("div",{className:mt["pl__bubble-drop"]}),a.jsx("div",{className:mt["pl__bubble-drop"]})]})]})}function uI(){return a.jsxs(Po,{defaultValue:"loaders8",children:[a.jsxs(ao,{className:U5,children:[a.jsx(Ke,{value:"loaders1",children:"Loaders"}),a.jsx(Ke,{value:"loaders2",children:"Circle loader"}),a.jsx(Ke,{value:"loaders3",children:"Radial"}),a.jsx(Ke,{value:"loaders4",children:"Spinner"}),a.jsx(Ke,{value:"loaders5",children:"Spinner7"}),a.jsx(Ke,{value:"loaders6",children:"Circles"}),a.jsx(Ke,{value:"loaders7",children:"Spheres"}),a.jsx(Ke,{value:"loaders8",children:"Bubbles"})]}),a.jsx(Ye,{value:"loaders1",children:a.jsx(_6,{className:"m-auto max-w-sm flex items-center justify-between"})}),a.jsx(Ye,{value:"loaders2",children:a.jsx(A6,{})}),a.jsx(Ye,{value:"loaders3",children:a.jsx(T6,{})}),a.jsx(Ye,{value:"loaders4",children:a.jsxs("div",{className:"my-8 flex items-center justify-center gap-8",children:[a.jsx(O6,{className:"w-8 h-8 stroke-[5] stroke-sky-500"}),a.jsx(H6,{className:"w-8 h-8"}),a.jsx(Sb,{className:"w-8 h-8 text-sky-500"}),a.jsx(V6,{className:"text-4xl text-sky-500"})]})}),a.jsx(Ye,{value:"loaders5",children:a.jsx("div",{className:"my-8 flex items-center justify-center",children:a.jsx(q6,{})})}),a.jsx(Ye,{value:"loaders6",children:a.jsx("div",{className:"my-8 flex items-center justify-center",children:a.jsx(nI,{})})}),a.jsx(Ye,{value:"loaders7",children:a.jsx("div",{className:"my-8 flex items-center justify-center",children:a.jsx(aI,{})})}),a.jsx(Ye,{value:"loaders8",children:a.jsx("div",{className:"my-8 flex items-center justify-center",children:a.jsx(cI,{})})})]})}function dI({cases:e}){const{activeDemoAccordion:n}=Tr(lt).demosState;return a.jsx(S5,{className:"w-full",type:"single",collapsible:!0,value:n,onValueChange:t=>lt.demosState.activeDemoAccordion=t,children:e.map(t=>a.jsxs(Y0,{className:"border-b-0",value:t.id,children:[a.jsx(J0,{children:t.name}),a.jsx(Z0,{className:"pt-4 border-t border-b",children:t.component})]},t.id))})}const fI=[{id:"10",name:"Tables",component:a.jsx(_M,{})},{id:"20",name:"Tree",component:a.jsx(Mx,{})},{id:"30",name:"Resizable",component:a.jsx(SM,{})},{id:"40",name:"Switches, Carousel, Pagination, Skeleton, Charts",component:a.jsx(qT,{})},{id:"50",name:"Toasts, Drawer, Menus, Dialog",component:a.jsx(g6,{})},{id:"60",name:"Loaders",component:a.jsx(uI,{})},{id:"70",name:"Pickers: Color, Theme, Flow, Time",component:a.jsx(h6,{})}];function pI(){return a.jsxs("div",{className:"min-h-0 grid grid-rows-[auto,1fr,auto]",children:[a.jsx(S3,{}),a.jsx(cl,{className:"flex-1 p-4 min-w-0 overflow-hidden","data-fixed-width":!0,children:a.jsx(dI,{cases:fI})}),a.jsx(BA,{})]})}function gI(){return a.jsx("div",{className:"py-4 bg-primary-500/20"})}function hI(){return a.jsxs(a.Fragment,{children:[a.jsx(IA,{}),a.jsx(pP,{}),a.jsxs("div",{className:"h-screen grid grid-rows-[auto,1fr,auto]",children:[a.jsx(_3,{}),a.jsx(pI,{}),a.jsx(gI,{})]}),a.jsx(G3,{}),a.jsx(eP,{})]})}bu.createRoot(document.getElementById("root")).render(a.jsx(G.StrictMode,{children:a.jsx(hI,{})})); +`,e.getElementsByTagName("head")[0].appendChild(n)),e.body&&Sb(e.body,"react-draggable-transparent-selection")}function aT(e){if(e)try{if(e.body&&Cb(e.body,"react-draggable-transparent-selection"),e.selection)e.selection.empty();else{const n=(e.defaultView||window).getSelection();n&&n.type!=="Caret"&&n.removeAllRanges()}}catch{}}function Sb(e,n){e.classList?e.classList.add(n):e.className.match(new RegExp("(?:^|\\s)".concat(n,"(?!\\S)")))||(e.className+=" ".concat(n))}function Cb(e,n){e.classList?e.classList.remove(n):e.className=e.className.replace(new RegExp("(?:^|\\s)".concat(n,"(?!\\S)"),"g"),"")}var vr={};Object.defineProperty(vr,"__esModule",{value:!0});vr.canDragX=cT;vr.canDragY=uT;vr.createCoreData=fT;vr.createDraggableData=pT;vr.getBoundPosition=iT;vr.getControlPosition=dT;vr.snapToGrid=lT;var $n=mr,rs=Nt;function iT(e,n,t){if(!e.props.bounds)return[n,t];let{bounds:o}=e.props;o=typeof o=="string"?o:gT(o);const i=Wd(e);if(typeof o=="string"){const{ownerDocument:l}=i,u=l.defaultView;let d;if(o==="parent"?d=i.parentNode:d=l.querySelector(o),!(d instanceof u.HTMLElement))throw new Error('Bounds selector "'+o+'" could not find an element.');const p=d,f=u.getComputedStyle(i),g=u.getComputedStyle(p);o={left:-i.offsetLeft+(0,$n.int)(g.paddingLeft)+(0,$n.int)(f.marginLeft),top:-i.offsetTop+(0,$n.int)(g.paddingTop)+(0,$n.int)(f.marginTop),right:(0,rs.innerWidth)(p)-(0,rs.outerWidth)(i)-i.offsetLeft+(0,$n.int)(g.paddingRight)-(0,$n.int)(f.marginRight),bottom:(0,rs.innerHeight)(p)-(0,rs.outerHeight)(i)-i.offsetTop+(0,$n.int)(g.paddingBottom)-(0,$n.int)(f.marginBottom)}}return(0,$n.isNum)(o.right)&&(n=Math.min(n,o.right)),(0,$n.isNum)(o.bottom)&&(t=Math.min(t,o.bottom)),(0,$n.isNum)(o.left)&&(n=Math.max(n,o.left)),(0,$n.isNum)(o.top)&&(t=Math.max(t,o.top)),[n,t]}function lT(e,n,t){const o=Math.round(n/e[0])*e[0],i=Math.round(t/e[1])*e[1];return[o,i]}function cT(e){return e.props.axis==="both"||e.props.axis==="x"}function uT(e){return e.props.axis==="both"||e.props.axis==="y"}function dT(e,n,t){const o=typeof n=="number"?(0,rs.getTouch)(e,n):null;if(typeof n=="number"&&!o)return null;const i=Wd(t),l=t.props.offsetParent||i.offsetParent||i.ownerDocument.body;return(0,rs.offsetXYFromParent)(o||e,l,t.props.scale)}function fT(e,n,t){const o=!(0,$n.isNum)(e.lastX),i=Wd(e);return o?{node:i,deltaX:0,deltaY:0,lastX:n,lastY:t,x:n,y:t}:{node:i,deltaX:n-e.lastX,deltaY:t-e.lastY,lastX:e.lastX,lastY:e.lastY,x:n,y:t}}function pT(e,n){const t=e.props.scale;return{node:n.node,x:e.state.x+n.deltaX/t,y:e.state.y+n.deltaY/t,deltaX:n.deltaX/t,deltaY:n.deltaY/t,lastX:e.state.x,lastY:e.state.y}}function gT(e){return{left:e.left,top:e.top,right:e.right,bottom:e.bottom}}function Wd(e){const n=e.findDOMNode();if(!n)throw new Error(": Unmounted during event!");return n}var Nl={},Rl={};Object.defineProperty(Rl,"__esModule",{value:!0});Rl.default=hT;function hT(){}Object.defineProperty(Nl,"__esModule",{value:!0});Nl.default=void 0;var bu=vT(C),hn=Ud(Zu()),mT=Ud(Yu),Yt=Nt,Qr=vr,yu=mr,Bs=Ud(Rl);function Ud(e){return e&&e.__esModule?e:{default:e}}function jb(e){if(typeof WeakMap!="function")return null;var n=new WeakMap,t=new WeakMap;return(jb=function(o){return o?t:n})(e)}function vT(e,n){if(!n&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=jb(n);if(t&&t.has(e))return t.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if(l!=="default"&&Object.prototype.hasOwnProperty.call(e,l)){var u=i?Object.getOwnPropertyDescriptor(e,l):null;u&&(u.get||u.set)?Object.defineProperty(o,l,u):o[l]=e[l]}return o.default=e,t&&t.set(e,o),o}function an(e,n,t){return n=xT(n),n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function xT(e){var n=bT(e,"string");return typeof n=="symbol"?n:String(n)}function bT(e,n){if(typeof e!="object"||e===null)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var o=t.call(e,n||"default");if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(e)}const nr={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}};let eo=nr.mouse,$l=class extends bu.Component{constructor(){super(...arguments),an(this,"dragging",!1),an(this,"lastX",NaN),an(this,"lastY",NaN),an(this,"touchIdentifier",null),an(this,"mounted",!1),an(this,"handleDragStart",n=>{if(this.props.onMouseDown(n),!this.props.allowAnyClick&&typeof n.button=="number"&&n.button!==0)return!1;const t=this.findDOMNode();if(!t||!t.ownerDocument||!t.ownerDocument.body)throw new Error(" not mounted on DragStart!");const{ownerDocument:o}=t;if(this.props.disabled||!(n.target instanceof o.defaultView.Node)||this.props.handle&&!(0,Yt.matchesSelectorAndParentsTo)(n.target,this.props.handle,t)||this.props.cancel&&(0,Yt.matchesSelectorAndParentsTo)(n.target,this.props.cancel,t))return;n.type==="touchstart"&&n.preventDefault();const i=(0,Yt.getTouchIdentifier)(n);this.touchIdentifier=i;const l=(0,Qr.getControlPosition)(n,i,this);if(l==null)return;const{x:u,y:d}=l,p=(0,Qr.createCoreData)(this,u,d);(0,Bs.default)("DraggableCore: handleDragStart: %j",p),(0,Bs.default)("calling",this.props.onStart),!(this.props.onStart(n,p)===!1||this.mounted===!1)&&(this.props.enableUserSelectHack&&(0,Yt.addUserSelectStyles)(o),this.dragging=!0,this.lastX=u,this.lastY=d,(0,Yt.addEvent)(o,eo.move,this.handleDrag),(0,Yt.addEvent)(o,eo.stop,this.handleDragStop))}),an(this,"handleDrag",n=>{const t=(0,Qr.getControlPosition)(n,this.touchIdentifier,this);if(t==null)return;let{x:o,y:i}=t;if(Array.isArray(this.props.grid)){let d=o-this.lastX,p=i-this.lastY;if([d,p]=(0,Qr.snapToGrid)(this.props.grid,d,p),!d&&!p)return;o=this.lastX+d,i=this.lastY+p}const l=(0,Qr.createCoreData)(this,o,i);if((0,Bs.default)("DraggableCore: handleDrag: %j",l),this.props.onDrag(n,l)===!1||this.mounted===!1){try{this.handleDragStop(new MouseEvent("mouseup"))}catch{const p=document.createEvent("MouseEvents");p.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(p)}return}this.lastX=o,this.lastY=i}),an(this,"handleDragStop",n=>{if(!this.dragging)return;const t=(0,Qr.getControlPosition)(n,this.touchIdentifier,this);if(t==null)return;let{x:o,y:i}=t;if(Array.isArray(this.props.grid)){let p=o-this.lastX||0,f=i-this.lastY||0;[p,f]=(0,Qr.snapToGrid)(this.props.grid,p,f),o=this.lastX+p,i=this.lastY+f}const l=(0,Qr.createCoreData)(this,o,i);if(this.props.onStop(n,l)===!1||this.mounted===!1)return!1;const d=this.findDOMNode();d&&this.props.enableUserSelectHack&&(0,Yt.removeUserSelectStyles)(d.ownerDocument),(0,Bs.default)("DraggableCore: handleDragStop: %j",l),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,d&&((0,Bs.default)("DraggableCore: Removing handlers"),(0,Yt.removeEvent)(d.ownerDocument,eo.move,this.handleDrag),(0,Yt.removeEvent)(d.ownerDocument,eo.stop,this.handleDragStop))}),an(this,"onMouseDown",n=>(eo=nr.mouse,this.handleDragStart(n))),an(this,"onMouseUp",n=>(eo=nr.mouse,this.handleDragStop(n))),an(this,"onTouchStart",n=>(eo=nr.touch,this.handleDragStart(n))),an(this,"onTouchEnd",n=>(eo=nr.touch,this.handleDragStop(n)))}componentDidMount(){this.mounted=!0;const n=this.findDOMNode();n&&(0,Yt.addEvent)(n,nr.touch.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;const n=this.findDOMNode();if(n){const{ownerDocument:t}=n;(0,Yt.removeEvent)(t,nr.mouse.move,this.handleDrag),(0,Yt.removeEvent)(t,nr.touch.move,this.handleDrag),(0,Yt.removeEvent)(t,nr.mouse.stop,this.handleDragStop),(0,Yt.removeEvent)(t,nr.touch.stop,this.handleDragStop),(0,Yt.removeEvent)(n,nr.touch.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,Yt.removeUserSelectStyles)(t)}}findDOMNode(){var n,t;return(n=this.props)!==null&&n!==void 0&&n.nodeRef?(t=this.props)===null||t===void 0||(t=t.nodeRef)===null||t===void 0?void 0:t.current:mT.default.findDOMNode(this)}render(){return bu.cloneElement(bu.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}};Nl.default=$l;an($l,"displayName","DraggableCore");an($l,"propTypes",{allowAnyClick:hn.default.bool,children:hn.default.node.isRequired,disabled:hn.default.bool,enableUserSelectHack:hn.default.bool,offsetParent:function(e,n){if(e[n]&&e[n].nodeType!==1)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:hn.default.arrayOf(hn.default.number),handle:hn.default.string,cancel:hn.default.string,nodeRef:hn.default.object,onStart:hn.default.func,onDrag:hn.default.func,onStop:hn.default.func,onMouseDown:hn.default.func,scale:hn.default.number,className:yu.dontSetMe,style:yu.dontSetMe,transform:yu.dontSetMe});an($l,"defaultProps",{allowAnyClick:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1});(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"DraggableCore",{enumerable:!0,get:function(){return p.default}}),e.default=void 0;var n=x(C),t=g(Zu()),o=g(Yu),i=g(F8),l=Nt,u=vr,d=mr,p=g(Nl),f=g(Rl);function g(y){return y&&y.__esModule?y:{default:y}}function v(y){if(typeof WeakMap!="function")return null;var R=new WeakMap,M=new WeakMap;return(v=function(E){return E?M:R})(y)}function x(y,R){if(!R&&y&&y.__esModule)return y;if(y===null||typeof y!="object"&&typeof y!="function")return{default:y};var M=v(R);if(M&&M.has(y))return M.get(y);var E={},I=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var H in y)if(H!=="default"&&Object.prototype.hasOwnProperty.call(y,H)){var P=I?Object.getOwnPropertyDescriptor(y,H):null;P&&(P.get||P.set)?Object.defineProperty(E,H,P):E[H]=y[H]}return E.default=y,M&&M.set(y,E),E}function m(){return m=Object.assign?Object.assign.bind():function(y){for(var R=1;R{if((0,f.default)("Draggable: onDragStart: %j",E),this.props.onStart(M,(0,u.createDraggableData)(this,E))===!1)return!1;this.setState({dragging:!0,dragged:!0})}),S(this,"onDrag",(M,E)=>{if(!this.state.dragging)return!1;(0,f.default)("Draggable: onDrag: %j",E);const I=(0,u.createDraggableData)(this,E),H={x:I.x,y:I.y,slackX:0,slackY:0};if(this.props.bounds){const{x:D,y:k}=H;H.x+=this.state.slackX,H.y+=this.state.slackY;const[L,F]=(0,u.getBoundPosition)(this,H.x,H.y);H.x=L,H.y=F,H.slackX=this.state.slackX+(D-H.x),H.slackY=this.state.slackY+(k-H.y),I.x=H.x,I.y=H.y,I.deltaX=H.x-this.state.x,I.deltaY=H.y-this.state.y}if(this.props.onDrag(M,I)===!1)return!1;this.setState(H)}),S(this,"onDragStop",(M,E)=>{if(!this.state.dragging||this.props.onStop(M,(0,u.createDraggableData)(this,E))===!1)return!1;(0,f.default)("Draggable: onDragStop: %j",E);const H={dragging:!1,slackX:0,slackY:0};if(!!this.props.position){const{x:D,y:k}=this.props.position;H.x=D,H.y=k}this.setState(H)}),this.state={dragging:!1,dragged:!1,x:R.position?R.position.x:R.defaultPosition.x,y:R.position?R.position.y:R.defaultPosition.y,prevPropsPosition:{...R.position},slackX:0,slackY:0,isElementSVG:!1},R.position&&!(R.onDrag||R.onStop)&&console.warn("A `position` was applied to this , without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}componentDidMount(){typeof window.SVGElement<"u"&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}componentWillUnmount(){this.setState({dragging:!1})}findDOMNode(){var R,M;return(R=(M=this.props)===null||M===void 0||(M=M.nodeRef)===null||M===void 0?void 0:M.current)!==null&&R!==void 0?R:o.default.findDOMNode(this)}render(){const{axis:R,bounds:M,children:E,defaultPosition:I,defaultClassName:H,defaultClassNameDragging:P,defaultClassNameDragged:D,position:k,positionOffset:L,scale:F,...Z}=this.props;let V={},J=null;const ge=!!!k||this.state.dragging,ce=k||I,ue={x:(0,u.canDragX)(this)&&ge?this.state.x:ce.x,y:(0,u.canDragY)(this)&&ge?this.state.y:ce.y};this.state.isElementSVG?J=(0,l.createSVGTransform)(ue,L):V=(0,l.createCSSTransform)(ue,L);const K=(0,i.default)(E.props.className||"",H,{[P]:this.state.dragging,[D]:this.state.dragged});return n.createElement(p.default,m({},Z,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),n.cloneElement(n.Children.only(E),{className:K,style:{...E.props.style,...V},transform:J}))}}e.default=_,S(_,"displayName","Draggable"),S(_,"propTypes",{...p.default.propTypes,axis:t.default.oneOf(["both","x","y","none"]),bounds:t.default.oneOfType([t.default.shape({left:t.default.number,right:t.default.number,top:t.default.number,bottom:t.default.number}),t.default.string,t.default.oneOf([!1])]),defaultClassName:t.default.string,defaultClassNameDragging:t.default.string,defaultClassNameDragged:t.default.string,defaultPosition:t.default.shape({x:t.default.number,y:t.default.number}),positionOffset:t.default.shape({x:t.default.oneOfType([t.default.number,t.default.string]),y:t.default.oneOfType([t.default.number,t.default.string])}),position:t.default.shape({x:t.default.number,y:t.default.number}),className:d.dontSetMe,style:d.dontSetMe,transform:d.dontSetMe}),S(_,"defaultProps",{...p.default.defaultProps,axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1})})(vb);const{default:Nb,DraggableCore:yT}=vb;jl.exports=Nb;jl.exports.default=Nb;jl.exports.DraggableCore=yT;var wT=jl.exports;const Rb=Ju(wT),_T="inline-block m-2 p-4 bg-muted-foreground/20 border-muted-foreground border rounded select-none cursor-default",Th=C.forwardRef(({label:e,dragOptions:n},t)=>{const o=ps.useXarrow(),i=C.useRef(null);function l(u,d){const{x:p,y:f}=d;console.log(`${e} uses translate(${p}px, ${f}px)`),o()}return a.jsx(Rb,{onDrag:o,onStop:l,nodeRef:i,bounds:"parent",...n,children:a.jsx("div",{ref:S0([t,i]),className:_T,children:e})})});function ST(){const e=C.useRef(null),n=C.useRef(null);return a.jsxs("div",{className:"h-[240px] relative bg-muted rounded overflow-hidden",children:[a.jsx(k8,{}),a.jsxs(ps.Xwrapper,{children:[a.jsx(Th,{ref:e,label:"elem1",dragOptions:{defaultPosition:{x:0,y:0}}}),a.jsx(Th,{ref:n,label:"elem2",dragOptions:{defaultPosition:{x:140,y:160}}}),a.jsx(I8,{box1Ref:e,box2Ref:n})]})]})}const CT="inline-block m-2 p-4 bg-muted-foreground/20 border-muted-foreground border rounded select-none cursor-default";C.forwardRef(({label:e,boxId:n,dragOptions:t},o)=>{const i=ps.useXarrow(),l=C.useRef(null);function u(d,p){const{x:f,y:g}=p;console.log(`${e} uses translate(${f}px, ${g}px)`),i()}return a.jsx(Rb,{onDrag:i,onStop:u,nodeRef:l,bounds:"parent",...t,children:a.jsx("div",{ref:S0([o,l]),className:CT,onClick:d=>{if(d.ctrlKey){const p=lt.xArrowsState.boxes.findIndex(f=>f.id===n);p>-1&<.xArrowsState.boxes.splice(p,1)}},children:e})})});const jT="_flip_1dcm9_25",NT="_flipTop_1dcm9_1",RT="_flipBottom_1dcm9_1",Xn={"flip-clock":"_flip-clock_1dcm9_25","flip-clock__piece":"_flip-clock__piece_1dcm9_49","flip-clock__slot":"_flip-clock__slot_1dcm9_71","flip-card":"_flip-card_1dcm9_83","flip-card__top":"_flip-card__top_1dcm9_123","flip-card__bottom":"_flip-card__bottom_1dcm9_125","flip-card__back-bottom":"_flip-card__back-bottom_1dcm9_127","flip-card__back":"_flip-card__back_1dcm9_127",flip:jT,flipTop:NT,flipBottom:RT};function Ii({newNumber:e,label:n,className:t,...o}){const i=C.useRef(null),[l,u]=C.useState(e),[d,p]=C.useState(e);return C.useEffect(()=>{l!==e&&(p(l),u(e),i.current?.classList.remove(Xn.flip),i.current?.offsetHeight,i.current?.classList.add(Xn.flip))},[e]),a.jsxs("span",{ref:i,className:ct(Xn["flip-clock__piece"],Xn.flip,t),...o,children:[a.jsx($T,{currentNumber:l,previousNumber:d}),a.jsx("span",{className:Xn["flip-clock__slot"],children:n})]})}function $T({currentNumber:e,previousNumber:n}){const t=e.toString().padStart(2,"0"),o=n.toString().padStart(2,"0");return a.jsxs("span",{className:`${Xn["flip-clock__card"]} ${Xn["flip-card"]}`,children:[a.jsx("b",{className:Xn["flip-card__top"],children:t}),a.jsx("b",{className:Xn["flip-card__bottom"],"data-value":t}),a.jsx("b",{className:Xn["flip-card__back"],"data-value":o}),a.jsx("b",{className:Xn["flip-card__back-bottom"],"data-value":o})]})}const Li=["Days","Hours","Minutes","Seconds"];function ET(e){return[Math.floor(e/(1e3*60*60*24)),Math.floor(e/(1e3*60*60)%24),Math.floor(e/1e3/60%60),Math.floor(e/1e3%60)]}function PT({initialTime:e,add:n=!1}){const[t,o]=C.useState(e),[i,l]=C.useState(!0),u=C.useMemo(()=>ET(t),[t]);return C.useEffect(()=>{if(!i)return;const d=setInterval(()=>o(p=>p+(n?1:-1)*1e3),1e3);return()=>clearInterval(d)},[i]),a.jsxs("div",{className:"flex flex-col gap-4",children:[a.jsx(ft,{variant:"outline",size:"sm",onClick:()=>l(!i),children:i?"Stop":"Start"}),a.jsxs("div",{className:Xn["flip-clock"],"data-date":"2017-02-11",children:[a.jsx(Ii,{label:Li[0],newNumber:u[0]}),a.jsx(Ii,{label:Li[1],newNumber:u[1]}),a.jsx(Ii,{label:Li[2],newNumber:u[2]}),a.jsx(Ii,{label:Li[3],newNumber:u[3]})]})]})}function AT(){const[e]=C.useState(()=>(new Date().getTime()-new Date().getTimezoneOffset()*60*1e3)%864e5);return a.jsx("div",{className:"flex items-center justify-center",children:a.jsx(PT,{initialTime:e})})}function MT(){return a.jsxs(hr,{defaultValue:"switch1",children:[a.jsxs(lr,{children:[a.jsx(He,{value:"switch1",children:"Neon switch"}),a.jsx(He,{value:"switch2",children:"Styled switch"})]}),a.jsx(Ve,{value:"switch1",children:a.jsx(qM,{})}),a.jsx(Ve,{value:"switch2",children:a.jsx(KM,{})})]})}function DT(){return a.jsxs(hr,{defaultValue:"controls1",children:[a.jsxs(lr,{children:[a.jsx(He,{value:"controls1",children:"Switches"}),a.jsx(He,{value:"controls2",children:"Carousel"}),a.jsx(He,{value:"controls3",children:"Pagination"}),a.jsx(He,{value:"controls4",children:"Skeleton"}),a.jsx(He,{value:"controls5",children:"Charts"})]}),a.jsx(Ve,{value:"controls1",children:a.jsx(MT,{})}),a.jsx(Ve,{value:"controls2",children:a.jsx(MM,{})}),a.jsx(Ve,{value:"controls3",children:a.jsx(DM,{})}),a.jsx(Ve,{value:"controls4",children:a.jsx(TM,{})}),a.jsx(Ve,{value:"controls5",children:a.jsx(GM,{})})]})}function TT(){return a.jsx("div",{children:a.jsx(ft,{variant:"outline",onClick:()=>{nx({title:"Too many requests, please try again later"})},children:"Radix toast"})})}const kh=["success","info","warning","error","message","loading"];function kT(){const e=kh[Math.floor(Math.random()*kh.length)],n=`Event has been created as "${e}" toast`,t=`Today ${new Date().toLocaleString().replace(/\//g,".")}`,o={label:"Undo",onClick:()=>console.log("Undo")};Tu[e](n,{description:t,action:o})}function IT(){return a.jsx(ft,{variant:"outline",onClick:()=>{kT()},children:"Sonner toast"})}const LT=[{goal:400},{goal:300},{goal:200},{goal:300},{goal:200},{goal:278},{goal:189},{goal:239},{goal:300},{goal:200},{goal:278},{goal:189},{goal:349}];function FT(){const[e,n]=C.useState(350);function t(o){n(Math.max(200,Math.min(400,e+o)))}return a.jsxs("div",{className:"p-4 pb-0",children:[a.jsxs("div",{className:"flex items-center justify-center space-x-2",children:[a.jsxs(ft,{variant:"outline",size:"icon",className:"shrink-0 w-8 h-8 rounded-full",disabled:e<=200,onClick:()=>t(-10),children:[a.jsx(Cj,{className:"w-4 h-4"}),a.jsx("span",{className:"sr-only",children:"Decrease"})]}),a.jsxs("div",{className:"flex-1 text-center",children:[a.jsx("div",{className:"text-7xl font-bold tracking-tighter",children:e}),a.jsx("div",{className:"text-[0.70rem] uppercase text-muted-foreground",children:"Calories/day"})]}),a.jsxs(ft,{variant:"outline",size:"icon",className:"shrink-0 w-8 h-8 rounded-full",disabled:e>=400,onClick:()=>t(10),children:[a.jsx(jj,{className:"w-4 h-4"}),a.jsx("span",{className:"sr-only",children:"Increase"})]})]}),a.jsx("div",{className:"mt-3 h-[120px]",children:a.jsx(id,{width:"100%",height:"100%",children:a.jsx(p0,{data:LT,children:a.jsx(g0,{dataKey:"goal",style:{fill:"hsl(var(--foreground))",opacity:.9}})})})})]})}function OT(){return a.jsxs(jx,{children:[a.jsx(w3,{asChild:!0,children:a.jsx(ft,{variant:"outline",children:"Open drawer"})}),a.jsx(Rx,{children:a.jsxs("div",{className:"mx-auto w-full max-w-sm",children:[a.jsxs(C3,{children:[a.jsx($x,{children:"Move Goal"}),a.jsx(Ex,{children:"Set your daily activity goal."})]}),a.jsx(FT,{}),a.jsxs(j3,{children:[a.jsx(ft,{children:"Submit"}),a.jsx(S3,{asChild:!0,children:a.jsx(ft,{variant:"outline",children:"Cancel"})})]})]})})]})}function zT(){return a.jsxs(ul,{children:[a.jsx(ya,{children:"File"}),a.jsxs(wa,{children:[a.jsxs(yt,{children:["Open Files ",a.jsx(Tr,{children:"Ctrl+T"})]}),a.jsxs(yt,{children:["New Tab ",a.jsx(Tr,{children:"⌘T"})]}),a.jsxs(yt,{children:["New Window ",a.jsx(Tr,{children:"⌘N"})]}),a.jsx(yt,{disabled:!0,children:"New Incognito Window"}),a.jsx(sr,{}),a.jsxs(Z0,{children:[a.jsx(hd,{children:"Share"}),a.jsxs(md,{children:[a.jsx(yt,{children:"Email link"}),a.jsx(yt,{children:"Messages"}),a.jsx(yt,{children:"Notes"})]})]}),a.jsx(sr,{}),a.jsxs(yt,{children:["Print... ",a.jsx(Tr,{children:"⌘P"})]})]})]})}function BT(){return a.jsxs(ul,{children:[a.jsx(ya,{children:"Edit"}),a.jsxs(wa,{children:[a.jsxs(yt,{children:["Undo ",a.jsx(Tr,{children:"⌘Z"})]}),a.jsxs(yt,{children:["Redo ",a.jsx(Tr,{children:"⇧⌘Z"})]}),a.jsx(sr,{}),a.jsxs(Z0,{children:[a.jsx(hd,{children:"Find"}),a.jsxs(md,{children:[a.jsx(yt,{children:"Search the web"}),a.jsx(sr,{}),a.jsx(yt,{children:"Find..."}),a.jsx(yt,{children:"Find Next"}),a.jsx(yt,{children:"Find Previous"})]})]}),a.jsx(sr,{}),a.jsx(yt,{children:"Cut"}),a.jsx(yt,{children:"Copy"}),a.jsx(yt,{children:"Paste"})]})]})}function HT(){return a.jsxs(ul,{children:[a.jsx(ya,{children:"View"}),a.jsxs(wa,{children:[a.jsx(Ru,{children:"Always Show Bookmarks Bar"}),a.jsx(Ru,{checked:!0,children:"Always Show Full URLs"}),a.jsx(sr,{}),a.jsxs(yt,{inset:!0,children:["Reload ",a.jsx(Tr,{children:"⌘R"})]}),a.jsxs(yt,{disabled:!0,inset:!0,children:["Force Reload ",a.jsx(Tr,{children:"⇧⌘R"})]}),a.jsx(sr,{}),a.jsx(yt,{inset:!0,children:"Toggle Fullscreen"}),a.jsx(sr,{}),a.jsx(yt,{inset:!0,children:"Hide Sidebar"})]})]})}function VT(){return a.jsxs(ul,{children:[a.jsx(ya,{children:"Profiles"}),a.jsxs(wa,{children:[a.jsxs(y5,{value:"benoit",children:[a.jsx(Bi,{value:"andy",children:"Andy"}),a.jsx(Bi,{value:"benoit",children:"Benoit"}),a.jsx(Bi,{value:"Luis",children:"Luis"})]}),a.jsx(sr,{}),a.jsx(yt,{inset:!0,children:"Edit..."}),a.jsx(sr,{}),a.jsx(yt,{inset:!0,children:"Add Profile..."})]})]})}function GT(){return a.jsxs(Q0,{children:[a.jsx(zT,{}),a.jsx(BT,{}),a.jsx(HT,{}),a.jsx(VT,{})]})}const WT=`p-1 bg-background border rounded-md shadow-md ${va}`,UT=" px-2 py-2 text-xs focus:bg-accent focus:text-accent-foreground outline-none rounded-md select-none cursor-default flex items-center ",XT=({trigger:e,onCommand:n,items:t,containerClasses:o,menuContentProps:i})=>a.jsx("div",{className:"relative inline-block text-left",children:a.jsxs(tm,{children:[a.jsx(nm,{asChild:!0,children:e}),a.jsx(Kh,{children:a.jsx(Qu,{align:"end",...i,className:ct(WT,o),children:t.map(({id:l,label:u,icon:d,shortcut:p},f)=>a.jsxs(ed,{className:UT,onClick:()=>n(l),children:[d,a.jsx("span",{className:"flex-grow",children:u}),p&&a.jsx("span",{className:"text-xs",children:p})]},l))})})]})}),qT=[{id:"new-file",label:"New File"},{id:"open-settings",label:"Settings"}],KT="w-40";function YT(){function e(n){switch(n){case"new-file":console.log(n);break;case"open-settings":console.log(n);break}}return a.jsx("div",{className:"py-1 select-none flex items-center justify-between",children:a.jsx("div",{className:"",children:a.jsx(XT,{trigger:a.jsxs(ft,{variant:"outline",className:"px-2 flex items-center gap-1",children:[a.jsx(eE,{className:"size-4 mt-0.5"}),"Dropdown"]}),items:qT,containerClasses:KT,menuContentProps:{sideOffset:4,align:"start"},onCommand:e})})})}function JT(){return a.jsxs(a.Fragment,{children:[a.jsxs(F0,{children:[a.jsx(z0,{children:"Demo dialog"}),a.jsx(B0,{children:"Make changes to your profile here. Click save when you're done."})]}),a.jsxs("div",{className:"grid gap-4 py-4",children:[a.jsxs("div",{className:"grid grid-cols-4 items-center gap-4",children:[a.jsx(Ki,{htmlFor:"name",className:"text-right",children:"Name"}),a.jsx(aa,{id:"name",className:"col-span-3",value:"Pedro Duarte",onChange:()=>{}})]}),a.jsxs("div",{className:"grid grid-cols-4 items-center gap-4",children:[a.jsx(Ki,{htmlFor:"username",className:"text-right",children:"Username"}),a.jsx(aa,{id:"username",className:"col-span-3",value:"@peduarte",onChange:e=>{}})]})]})]})}function ZT(){const[e,n]=C.useState(!1);return a.jsxs(a.Fragment,{children:[a.jsx(ft,{variant:"outline",onClick:()=>n(!0),children:"Demo dialog"}),a.jsx(hR,{open:e,onOpenChange:()=>n(!1),children:a.jsxs(L0,{className:"sm:max-w-[425px]",children:[a.jsx(JT,{}),a.jsx(O0,{children:a.jsx(ft,{type:"submit",onClick:()=>n(!1),children:"Save changes"})})]})})]})}function QT(){return a.jsxs("div",{className:"flex flex-col gap-4",children:[a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(IT,{}),a.jsx(TT,{}),a.jsx(OT,{})]}),a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(GT,{}),a.jsx(YT,{})]}),a.jsx("div",{className:"flex items-center gap-2",children:a.jsx(ZT,{})})]})}function e6(){return a.jsxs(hr,{defaultValue:"picker5",children:[a.jsxs(lr,{children:[a.jsx(He,{value:"picker1",children:"Color"}),a.jsx(He,{value:"picker2",children:"Gradient"}),a.jsx(He,{value:"picker3",children:"Theme"}),a.jsx(He,{value:"picker4",children:"Data flow"}),a.jsx(He,{value:"picker5",children:"Clock"})]}),a.jsx(Ve,{value:"picker1",children:a.jsx(TD,{})}),a.jsx(Ve,{value:"picker2",children:a.jsx(qD,{})}),a.jsx(Ve,{value:"picker3",children:a.jsx(m5,{delayDuration:100,children:a.jsxs("div",{className:"my-8 flex items-center justify-center gap-2",children:[a.jsx(N8,{}),a.jsx(P8,{})]})})}),a.jsx(Ve,{value:"picker4",children:a.jsx(ST,{})}),a.jsx(Ve,{value:"picker5",children:a.jsx("div",{className:"my-8 flex items-center justify-center",children:a.jsx(AT,{})})})]})}const t6="_spinner_ot2c0_13",n6="_rotate_ot2c0_1",r6="_path_ot2c0_31",o6="_dash_ot2c0_1",Ih={spinner:t6,rotate:n6,path:r6,dash:o6};function s6({className:e,...n}){return a.jsx("svg",{className:ct(Ih.spinner,e),viewBox:"0 0 50 50",...n,children:a.jsx("circle",{className:Ih.path,cx:25,cy:25,r:20,fill:"none"})})}const a6="_owner_17gat_1",i6={owner:a6,"donut-spin":"_donut-spin_17gat_1"};function l6({className:e,...n}){return a.jsx("div",{className:ct(i6.owner,"border-transparent border-l-sky-500 border-4 rounded-full",e),...n})}const $b=C.forwardRef(({className:e,...n},t)=>a.jsxs("div",{ref:t,role:"status",children:[a.jsxs("svg",{className:ct("w-6 h-6 fill-red-none animate-spin",e),viewBox:"0 0 100 101","aria-hidden":"true",...n,children:[a.jsx("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z"}),a.jsx("path",{className:"fill-current",d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z"})]}),a.jsx("span",{className:"sr-only",children:"Loading..."})]}));$b.displayName="Spinner9";function c6({className:e,...n}){return a.jsx("div",{className:ct("px-3 flex items-center justify-center animate-spin",e),...n,children:"⍥"})}const u6="_bg_kvkpc_61",d6="_loader_kvkpc_73",f6="_line_kvkpc_1",p6="_spin_kvkpc_1",Lh={bg:u6,loader:d6,line:f6,spin:p6};function g6({className:e,...n}){return a.jsx("div",{className:ct("size-8",e),...n,children:a.jsxs("svg",{viewBox:"0 0 100 100",children:[a.jsx("circle",{className:Lh.bg,cx:50,cy:50,r:46}),a.jsx("circle",{className:Lh.loader,cx:50,cy:50,r:46})]})})}const h6="_lineAnimation_164jv_1",wu={"loading-text":"_loading-text_164jv_45",lineAnimation:h6};function m6({className:e,...n}){return a.jsx("div",{className:ct(wu.preloader,"",e),...n,children:a.jsx("div",{className:wu["preloader-content"],children:a.jsx("div",{className:wu["loading-text"],children:a.jsx("p",{children:"Loading"})})})})}const v6="_wrapper_11oqi_1",x6="_flashing_11oqi_1",b6={wrapper:v6,flashing:x6};function y6({className:e,...n}){return a.jsxs("div",{className:ct(b6.wrapper,e),...n,children:[a.jsx("span",{}),a.jsx("span",{}),a.jsx("span",{})]})}const w6="_opacity_1ujbv_1",_6="_colors_1ujbv_1",S6="_transform_1ujbv_1",jo={"g--circle":"_g--circle_1ujbv_57",opacity:w6,"g-circles--v1":"_g-circles--v1_1ujbv_193","g-circles--v2":"_g-circles--v2_1ujbv_207","opacity-stroke":"_opacity-stroke_1ujbv_1",colors:_6,"colors-stroke":"_colors-stroke_1ujbv_1","u--circle":"_u--circle_1ujbv_223","transform-2":"_transform-2_1ujbv_1","g-circles--v3":"_g-circles--v3_1ujbv_331","g-circles--v4":"_g-circles--v4_1ujbv_345","colors-3":"_colors-3_1ujbv_1",transform:S6,"colors-2":"_colors-2_1ujbv_1"};function C6(){return a.jsx("svg",{viewBox:"0 0 120 120",style:{position:"absolute",width:0,height:0,overflow:"hidden"},children:a.jsx("symbol",{id:"symbol--circle",children:a.jsx("circle",{r:10,cx:20,cy:20})})})}function Fi({className:e,...n}){return a.jsx("svg",{viewBox:"0 0 120 120",...n,children:a.jsx("g",{className:`${jo["g-circles"]} ${e}`,children:Array.from({length:12}).map((t,o)=>a.jsxs("g",{className:jo["g--circle"],children:[" ",a.jsx("use",{xlinkHref:"#symbol--circle",className:jo["u--circle"]})," "]},o))})})}const ol="rgba(255,_255,_255,_0)",Eb="rgba(255,_255,_255,_0.05)",j6=`linear-gradient(45deg,_${ol}_48%,_${Eb}_50%,_${ol}_52%)`,N6=`linear-gradient(-45deg,_${ol}_48%,_${Eb}_50%,_${ol}_52%)`,R6=`[background:${j6},_${N6}] [background-size:_1em_1em]`;function $6(){return a.jsx("div",{className:`p-4 text-green-950 flex items-center justify-center ${R6}`,children:a.jsxs("div",{className:"relative w-96 flex items-center gap-4",children:[a.jsx(C6,{}),a.jsx(Fi,{className:jo["g-circles--v1"]}),a.jsx(Fi,{className:jo["g-circles--v2"]}),a.jsx(Fi,{className:jo["g-circles--v3"]}),a.jsx(Fi,{className:jo["g-circles--v4"]})]})})}const E6="_content_d2oym_51",P6="_dots_d2oym_5",A6="_spin_d2oym_1",M6="_control_d2oym_87",D6="_bg_d2oym_113",T6="_ring_d2oym_185",k6="_dot_d2oym_5",I6="_ball_d2oym_1",zt={"dots-ring":"_dots-ring_d2oym_5",content:E6,dots:P6,spin:A6,control:M6,bg:D6,ring:T6,dot:k6,"over-ring":"_over-ring_d2oym_1",ball:I6};function L6(){return a.jsxs("div",{className:`qw-64 qh-64 ${zt["dots-ring"]}`,children:[a.jsx("input",{className:zt.control,type:"checkbox"}),a.jsx("div",{className:zt.bg}),a.jsx("div",{className:zt.content,children:a.jsxs("div",{className:zt.dots,children:[a.jsxs("div",{className:zt.dot,children:[" ",a.jsx("span",{})," "]}),a.jsxs("div",{className:zt.dot,children:[" ",a.jsx("span",{})," "]}),a.jsxs("div",{className:zt.dot,children:[" ",a.jsx("span",{})," "]}),a.jsxs("div",{className:zt.dot,children:[" ",a.jsx("span",{})," "]}),a.jsxs("div",{className:zt.dot,children:[" ",a.jsx("span",{})," "]}),a.jsxs("div",{className:zt.dot,children:[" ",a.jsx("span",{})," "]}),a.jsxs("div",{className:zt.dot,children:[" ",a.jsx("span",{})," "]}),a.jsxs("div",{className:zt.dot,children:[" ",a.jsx("span",{})," "]}),a.jsxs("div",{className:zt.dot,children:[" ",a.jsx("span",{})," "]}),a.jsxs("div",{className:zt.dot,children:[" ",a.jsx("span",{})," "]}),a.jsxs("div",{className:zt.dot,children:[" ",a.jsx("span",{})," "]}),a.jsxs("div",{className:zt.dot,children:[" ",a.jsx("span",{})," "]}),a.jsx("div",{className:zt.ring})]})})]})}const F6="_loader_13ftp_13",O6="_animateCircle_13ftp_1",z6="_animateDot_13ftp_1",B6={loader:F6,animateCircle:O6,animateDot:z6};function H6(){return a.jsxs("div",{className:`relative w-[150px] h-[150px] ${B6.loader}`,children:["Loading",a.jsx("span",{})]})}const V6="_a_17o17_51",G6="_b_17o17_79",Fh={a:V6,"rotate-clock-wise":"_rotate-clock-wise_17o17_1",b:G6,"rotate-anti-clock-wise":"_rotate-anti-clock-wise_17o17_1"};function W6(){return a.jsx("div",{className:"p-4 text-green-950 flex items-center justify-center",children:a.jsxs("div",{className:"relative w-32 h-32 border-current border-[14px] rounded-full",children:[a.jsx("div",{className:`${Fh.a} m-1 absolute inset-0 border-current border-[8px] border-y-transparent rounded-full`}),a.jsx("div",{className:`${Fh.b} m-4 absolute inset-0 border-current border-[20px] border-x-transparent rounded-full`})]})})}function Xd({maskId:e="p1loader"}={}){return a.jsxs("defs",{children:[a.jsxs("linearGradient",{id:`${e}-grad`,x1:0,y1:0,x2:1,y2:1,children:[a.jsx("stop",{offset:"0%"}),a.jsx("stop",{offset:"100%",stopColor:"#fff"})]}),a.jsx("mask",{id:`${e}`,children:a.jsx("rect",{x:"0",y:"0",width:"128",height:"128",fill:`url(#${e}-grad)`})})]})}const U6="[--hue1:223] [--hue2:343] [--primary:hsl(var(--hue1),90%,50%)] [--secondary:hsl(var(--hue2),90%,50%)] ",Oh="p1loader";function X6({className:e,...n}){return a.jsxs("svg",{className:ct(U6,e),viewBox:"0 0 128 128",...n,children:[a.jsx(Xd,{maskId:Oh}),a.jsxs("g",{className:"pl1__g",fill:"var(--primary)",children:[a.jsxs("g",{className:"pl1__rect-g",transform:"translate(20 20)",children:[a.jsx("rect",{className:"pl1__rect",rx:8,ry:8,width:40,height:40}),a.jsx("rect",{className:"pl1__rect",rx:8,ry:8,width:40,height:40,transform:"translate(0 48)"})]}),a.jsxs("g",{className:"pl1__rect-g",transform:"translate(20 20) rotate(180 44 44)",children:[a.jsx("rect",{className:"pl1__rect",rx:8,ry:8,width:40,height:40}),a.jsx("rect",{className:"pl1__rect",rx:8,ry:8,width:40,height:40,transform:"translate(0 48)"})]})]}),a.jsxs("g",{className:"pl1__g",fill:"var(--secondary)",mask:`url(#${Oh})`,children:[a.jsxs("g",{className:"pl1__rect-g",transform:"translate(20 20)",children:[a.jsx("rect",{className:"pl1__rect",rx:8,ry:8,width:40,height:40}),a.jsx("rect",{className:"pl1__rect",rx:8,ry:8,width:40,height:40,transform:"translate(0 48)"})]}),a.jsxs("g",{className:"pl1__rect-g",transform:"translate(20 20) rotate(180 44 44)",children:[a.jsx("rect",{className:"pl1__rect",rx:8,ry:8,width:40,height:40}),a.jsx("rect",{className:"pl1__rect",rx:8,ry:8,width:40,height:40,transform:"translate(0 48)"})]})]})]})}const q6="[--hue1:223] [--hue2:283] [--primary:hsl(var(--hue1),90%,50%)] [--secondary:hsl(var(--hue2),90%,50%)] ",zh="p2loader";function K6({className:e,...n}){return a.jsxs("svg",{className:ct(q6,e),viewBox:"0 0 128 128",...n,children:[a.jsx(Xd,{maskId:zh}),a.jsxs("g",{fill:"var(--primary)",children:[a.jsx("g",{className:"pl2__rect-g",children:a.jsx("rect",{className:"pl2__rect",rx:8,ry:8,y:128,width:40,height:24,transform:"rotate(180)"})}),a.jsx("g",{className:"pl2__rect-g",children:a.jsx("rect",{className:"pl2__rect",rx:8,ry:8,x:44,y:128,width:40,height:24,transform:"rotate(180)"})}),a.jsx("g",{className:"pl2__rect-g",children:a.jsx("rect",{className:"pl2__rect",rx:8,ry:8,x:88,y:128,width:40,height:24,transform:"rotate(180)"})})]}),a.jsxs("g",{fill:"var(--secondary)",mask:`url(#${zh})`,children:[a.jsx("g",{className:"pl2__rect-g",children:a.jsx("rect",{className:"pl2__rect",rx:8,ry:8,y:128,width:40,height:24,transform:"rotate(180)"})}),a.jsx("g",{className:"pl2__rect-g",children:a.jsx("rect",{className:"pl2__rect",rx:8,ry:8,x:44,y:128,width:40,height:24,transform:"rotate(180)"})}),a.jsx("g",{className:"pl2__rect-g",children:a.jsx("rect",{className:"pl2__rect",rx:8,ry:8,x:88,y:128,width:40,height:24,transform:"rotate(180)"})})]})]})}const Y6="[--hue1:223] [--hue2:163] [--primary:hsl(var(--hue1),90%,50%)] [--secondary:hsl(var(--hue2),90%,50%)] ",Bh="p3loader";function J6({className:e,...n}){return a.jsxs("svg",{className:ct(Y6,e),viewBox:"0 0 128 128",...n,children:[a.jsx(Xd,{maskId:Bh}),a.jsxs("g",{fill:"var(--primary)",children:[a.jsx("rect",{className:"pl3__rect",rx:8,ry:8,width:64,height:64,transform:"translate(64)"}),a.jsx("g",{className:"pl3__rect-g",transform:"scale(-1)",children:a.jsx("rect",{className:"pl3__rect",rx:8,ry:8,width:64,height:64,transform:"translate(64)"})})]}),a.jsxs("g",{fill:"var(--secondary)",mask:`url(#${Bh})`,children:[a.jsx("rect",{className:"pl3__rect",rx:8,ry:8,width:64,height:64,transform:"translate(64)"}),a.jsx("g",{className:"pl3__rect-g",transform:"scale(-1)",children:a.jsx("rect",{className:"pl3__rect",rx:8,ry:8,width:64,height:64,transform:"translate(64)"})})]})]})}const Z6="_animate_1isss_1",Q6={"preloader-squares":"_preloader-squares_1isss_5",animate:Z6};function ek({className:e,...n}){return a.jsx("div",{className:ct(Q6["preloader-squares"],"relative size-6",e),...n,children:a.jsxs("ul",{className:"size-6",children:[a.jsx("li",{}),a.jsx("li",{}),a.jsx("li",{}),a.jsx("li",{})]})})}function tk({className:e,...n}){return a.jsxs("div",{className:ct("flex items-center gap-2",e),...n,children:[a.jsx(X6,{className:"w-6 h-6 [--hue1:53] [--hue2:253]"}),a.jsx(K6,{className:"w-6 h-6 [--hue2:253]"}),a.jsx(J6,{className:"w-6 h-6 [--hue2:153]"}),a.jsx(ek,{})]})}const nk="_pl_b9jmf_49",rk="_pl__bubble_b9jmf_69",mt={pl:nk,pl__bubble:rk,"pl__bubble-drop":"_pl__bubble-drop_b9jmf_81","bubble-rise-before":"_bubble-rise-before_b9jmf_1","bubble-rise-after":"_bubble-rise-after_b9jmf_1","bubble-drop":"_bubble-drop_b9jmf_1"};function ok(){return a.jsxs("div",{className:mt.pl,children:[a.jsxs("div",{className:mt.pl__bubble,children:[a.jsx("div",{className:mt["pl__bubble-drop"]}),a.jsx("div",{className:mt["pl__bubble-drop"]}),a.jsx("div",{className:mt["pl__bubble-drop"]}),a.jsx("div",{className:mt["pl__bubble-drop"]}),a.jsx("div",{className:mt["pl__bubble-drop"]}),a.jsx("div",{className:mt["pl__bubble-drop"]}),a.jsx("div",{className:mt["pl__bubble-drop"]})]}),a.jsxs("div",{className:mt.pl__bubble,children:[a.jsx("div",{className:mt["pl__bubble-drop"]}),a.jsx("div",{className:mt["pl__bubble-drop"]}),a.jsx("div",{className:mt["pl__bubble-drop"]}),a.jsx("div",{className:mt["pl__bubble-drop"]}),a.jsx("div",{className:mt["pl__bubble-drop"]}),a.jsx("div",{className:mt["pl__bubble-drop"]}),a.jsx("div",{className:mt["pl__bubble-drop"]})]}),a.jsxs("div",{className:mt.pl__bubble,children:[a.jsx("div",{className:mt["pl__bubble-drop"]}),a.jsx("div",{className:mt["pl__bubble-drop"]}),a.jsx("div",{className:mt["pl__bubble-drop"]}),a.jsx("div",{className:mt["pl__bubble-drop"]}),a.jsx("div",{className:mt["pl__bubble-drop"]}),a.jsx("div",{className:mt["pl__bubble-drop"]}),a.jsx("div",{className:mt["pl__bubble-drop"]})]})]})}const sk="_particle_qdkb4_5",ak="_animation_qdkb4_1",Hh={particle:sk,animation:ak},Vh=360*3;function ik({className:e,...n}){return a.jsx(a.Fragment,{children:a.jsx("div",{className:Hh.center,style:{"--total":Vh,"--dot-size":"4px"},...n,children:Array.from({length:Vh}).map((t,o)=>a.jsx("div",{className:Hh.particle,style:{"--index":o}},o))})})}function lk(){return a.jsx("div",{className:"p-4 text-green-950 flex items-center justify-center",children:a.jsx("div",{className:"relative w-96 h-[200px] flex items-center justify-center content-center gap-4",children:a.jsx(ik,{})})})}const ck="_wrapper_1fkod_1",uk="_mainText_1fkod_17",dk="_hoverText_1fkod_27",_u={wrapper:ck,mainText:uk,hoverText:dk};function Gh({className:e,...n}){return a.jsxs("div",{className:ct(_u.wrapper,e),...n,children:[a.jsx("span",{className:_u.mainText,children:"Hover over me 1"}),a.jsx("span",{className:_u.hoverText,children:"Hover over me 2"})]})}const fk="_container_18r7v_31",pk="_button_18r7v_75",gk="_front_18r7v_141",hk="_back_18r7v_143",Oi={container:fk,button:pk,front:gk,back:hk};function mk({className:e,...n}){return a.jsx("div",{className:"relative 1w-24",children:a.jsxs("div",{className:ct(Oi.container,"w-20 h-12",e),...n,children:[a.jsx("input",{type:"checkbox",name:"cb",id:"cb"}),a.jsxs("label",{htmlFor:"cb",className:Oi.button,children:[a.jsx("span",{className:Oi.front,children:"send"}),a.jsx("span",{className:Oi.back,children:"done"})]})]})})}const vk="_btn_1xoda_75",zi={btn:vk,"svg-border":"_svg-border_1xoda_99"};function xk({className:e,...n}){return a.jsxs("button",{className:ct(zi.btn,"relative w-[180px] h-[60px]",e),...n,children:[a.jsxs("svg",{viewBox:"0 0 180 60",className:zi["svg-border"],children:[a.jsx("polyline",{points:"179,1 179,59 1,59 1,1 179,1",className:zi["bg-line"]}),a.jsx("polyline",{points:"179,1 179,59 1,59 1,1 179,1",className:zi["hl-line"]})]}),a.jsx("span",{children:"HOVER ME"})]})}const bk="_wrapper_sogws_7",yk="_transit_sogws_73",wk="_toggle_sogws_1",_k="_app_sogws_1",Sk="_background_sogws_165",Ck="_drip_sogws_199",jk="_content_sogws_291",Nk="_description_sogws_307",Rk="_pronunciation_sogws_349",$k="_avatar_sogws_389",Ek="_button_sogws_425",vt={wrapper:bk,"goo-filter":"_goo-filter_sogws_25",transit:yk,toggle:wk,app:_k,background:Sk,"bg-content":"_bg-content_sogws_185","bg-description":"_bg-description_sogws_187",drip:Ck,content:jk,description:Nk,pronunciation:Rk,avatar:$k,button:Ek,"up-down":"_up-down_sogws_1","down-up":"_down-up_sogws_1"};function Pk(){return a.jsxs("div",{className:`relative ${vt.wrapper} bg-sky-950 flex items-center justify-center`,children:[a.jsx("svg",{className:`w-full h-full ${vt["goo-filter"]}`,viewBox:"0 0 1 1",children:a.jsxs("filter",{id:"goo",children:[a.jsx("feGaussianBlur",{in:"SourceGraphic",stdDeviation:10,result:"blur"}),a.jsx("feColorMatrix",{in:"blur",mode:"matrix",values:"1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 50 -20",result:"goo"}),a.jsx("feBlend",{in:"SourceGraphic",in2:"goo"})]})}),a.jsxs("div",{id:`relative ${vt.app}`,children:[a.jsx("input",{type:"checkbox",id:vt.toggle,name:"toggle"}),a.jsxs("div",{className:vt.background,children:[a.jsxs("div",{className:vt["bg-content"],children:[a.jsx("div",{className:vt.drip}),a.jsx("div",{className:vt.drip}),a.jsx("div",{className:vt.drip}),a.jsx("div",{className:vt.drip}),a.jsx("div",{className:vt.drip}),a.jsx("div",{className:vt.drip})]}),a.jsxs("div",{className:`${vt["bg-description"]}`,children:[a.jsx("div",{className:vt.drip}),a.jsx("div",{className:vt.drip}),a.jsx("div",{className:vt.drip}),a.jsx("div",{className:vt.drip}),a.jsx("div",{className:vt.drip}),a.jsx("div",{className:vt.drip})]})]}),a.jsxs("div",{className:vt.content,children:[a.jsx("div",{className:vt.avatar,children:"🕶"}),a.jsx("header",{children:"Ocularia Solaria"}),a.jsx("label",{className:vt.button,htmlFor:vt.toggle})]}),a.jsxs("div",{className:`${vt.description} ${vt.transit}`,children:[a.jsx("header",{children:"Sunglasses!"}),a.jsx("p",{children:"Cool."})]})]})]})}function Ak(){return a.jsxs(hr,{defaultValue:"loaders1",children:[a.jsxs(lr,{className:fl,children:[a.jsx(He,{value:"loaders1",children:"Simple"}),a.jsx(He,{value:"loaders2",children:"Circles"}),a.jsx(He,{value:"loaders3",children:"Dots ring"}),a.jsx(He,{value:"loaders4",children:"Commet"}),a.jsx(He,{value:"loaders5",children:"Radar"})]}),a.jsx(Ve,{value:"loaders1",children:a.jsxs("div",{className:"my-8 flex items-center justify-center gap-8",children:[a.jsx(s6,{className:"w-8 h-8 stroke-[5] stroke-sky-500"}),a.jsx(l6,{className:"w-8 h-8"}),a.jsx($b,{className:"w-8 h-8 text-sky-500"}),a.jsx(c6,{className:"text-4xl text-sky-500"}),a.jsx(g6,{}),a.jsx(m6,{}),a.jsx(y6,{className:"text-sky-300"})]})}),a.jsx(Ve,{value:"loaders2",children:a.jsx("div",{className:"my-8 flex items-center justify-center",children:a.jsx($6,{})})}),a.jsx(Ve,{value:"loaders3",children:a.jsx("div",{className:"my-8 flex items-center justify-center",children:a.jsx(L6,{})})}),a.jsx(Ve,{value:"loaders4",children:a.jsx("div",{className:"my-8 flex items-center justify-center",children:a.jsx(H6,{})})}),a.jsx(Ve,{value:"loaders5",children:a.jsx(W6,{})})]})}function Mk(){return a.jsxs(hr,{defaultValue:"loaders1",children:[a.jsxs(lr,{className:fl,children:[a.jsx(He,{value:"loaders1",children:"Blocks"}),a.jsx(He,{value:"loaders2",children:"Bubbles"}),a.jsx(He,{value:"loaders3",children:"3D spheres"})]}),a.jsx(Ve,{value:"loaders1",children:a.jsx(tk,{className:"m-auto max-w-sm flex items-center justify-between"})}),a.jsx(Ve,{value:"loaders2",children:a.jsx("div",{className:"my-8 flex items-center justify-center",children:a.jsx(ok,{})})}),a.jsx(Ve,{value:"loaders3",children:a.jsx("div",{className:"my-8 flex items-center justify-center",children:a.jsx(lk,{})})})]})}function Dk(){return a.jsxs(hr,{defaultValue:"switch3",children:[a.jsxs(lr,{className:fl,children:[a.jsx(He,{value:"switch3",children:"Effects"}),a.jsx(He,{value:"switch4",children:"Goo"})]}),a.jsx(Ve,{value:"switch3",children:a.jsxs("div",{className:"py-4 flex flex-col items-start gap-2",children:[a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(ft,{variant:"outline",children:a.jsx(Gh,{className:"cursor-pointer"})}),a.jsx(xk,{}),a.jsx(mk,{})]}),a.jsx("div",{className:"px-4",children:a.jsx(Gh,{className:"cursor-pointer"})})]})}),a.jsx(Ve,{value:"switch4",children:a.jsx(Pk,{})})]})}function Tk(){return a.jsxs(hr,{defaultValue:"loaders1",children:[a.jsxs(lr,{className:fl,children:[a.jsx(He,{value:"loaders1",children:"Spinners"}),a.jsx(He,{value:"loaders2",children:"Styled"}),a.jsx(He,{value:"loaders3",children:"Effects"})]}),a.jsx(Ve,{value:"loaders1",children:a.jsx(Ak,{})}),a.jsx(Ve,{value:"loaders2",children:a.jsx(Mk,{})}),a.jsx(Ve,{value:"loaders3",children:a.jsx(Dk,{})})]})}function kk({cases:e}){const{activeDemoAccordion:n}=Ir(lt).demosState;return a.jsx($5,{className:"w-full",type:"single",collapsible:!0,value:n,onValueChange:t=>lt.demosState.activeDemoAccordion=t,children:e.map(t=>a.jsxs(tv,{className:"border-b-0",value:t.id,children:[a.jsx(nv,{className:"underline-offset-4",children:t.name}),a.jsx(rv,{className:"pt-4 border-t border-b",children:t.component})]},t.id))})}const Ik=[{id:"10",name:"Tables",component:a.jsx(NM,{})},{id:"20",name:"Tree",component:a.jsx(Lx,{})},{id:"30",name:"Resizable",component:a.jsx(RM,{})},{id:"40",name:"Switches, Carousel, Pagination, Skeleton, Charts",component:a.jsx(DT,{})},{id:"50",name:"Toasts, Drawer, Menus, Dialog",component:a.jsx(QT,{})},{id:"60",name:"Loaders, Effects",component:a.jsx(Tk,{})},{id:"70",name:"Pickers: Color, Theme, Flow, Time",component:a.jsx(e6,{})}];function Lk(){return a.jsxs("div",{className:"min-h-0 grid grid-rows-[auto,1fr,auto]",children:[a.jsx(R3,{}),a.jsx(dl,{className:"flex-1 p-4 min-w-0 overflow-hidden","data-fixed-width":!0,children:a.jsx(kk,{cases:Ik})}),a.jsx(WA,{})]})}function Fk(){return a.jsx("div",{className:"py-4 bg-primary-500/20"})}function Ok(){return a.jsxs(a.Fragment,{children:[a.jsx(OA,{}),a.jsx(vP,{}),a.jsxs("div",{className:"h-screen grid grid-rows-[auto,1fr,auto]",children:[a.jsx(N3,{}),a.jsx(Lk,{}),a.jsx(Fk,{})]}),a.jsx(q3,{}),a.jsx(oP,{})]})}Su.createRoot(document.getElementById("root")).render(a.jsx(G.StrictMode,{children:a.jsx(Ok,{})})); function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { __vite__mapDeps.viteFileDeps = [] diff --git a/index.html b/index.html index 5e2a0ee..5c3de56 100644 --- a/index.html +++ b/index.html @@ -5,11 +5,11 @@ sharcd-ui - + - +