329 lines
616 KiB
JavaScript
329 lines
616 KiB
JavaScript
(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();function e(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=1;return e=>e in t}var t={},n=[],r=()=>{},i=()=>!1,a=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),o=e=>e.startsWith(`onUpdate:`),s=Object.assign,c=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},l=Object.prototype.hasOwnProperty,u=(e,t)=>l.call(e,t),d=Array.isArray,f=e=>x(e)===`[object Map]`,p=e=>x(e)===`[object Set]`,m=e=>x(e)===`[object Date]`,h=e=>typeof e==`function`,g=e=>typeof e==`string`,_=e=>typeof e==`symbol`,v=e=>typeof e==`object`&&!!e,y=e=>(v(e)||h(e))&&h(e.then)&&h(e.catch),b=Object.prototype.toString,x=e=>b.call(e),S=e=>x(e).slice(8,-1),C=e=>x(e)===`[object Object]`,w=e=>g(e)&&e!==`NaN`&&e[0]!==`-`&&``+parseInt(e,10)===e,T=e(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),ee=e=>{let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},te=/-\w/g,E=ee(e=>e.replace(te,e=>e.slice(1).toUpperCase())),ne=/\B([A-Z])/g,D=ee(e=>e.replace(ne,`-$1`).toLowerCase()),re=ee(e=>e.charAt(0).toUpperCase()+e.slice(1)),ie=ee(e=>e?`on${re(e)}`:``),ae=(e,t)=>!Object.is(e,t),oe=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},se=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},O=e=>{let t=parseFloat(e);return isNaN(t)?e:t},k,ce=()=>k||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{};function le(e){if(d(e)){let t={};for(let n=0;n<e.length;n++){let r=e[n],i=g(r)?pe(r):le(r);if(i)for(let e in i)t[e]=i[e]}return t}else if(g(e)||v(e))return e}var ue=/;(?![^(]*\))/g,de=/:([^]+)/,fe=/\/\*[^]*?\*\//g;function pe(e){let t={};return e.replace(fe,``).split(ue).forEach(e=>{if(e){let n=e.split(de);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function A(e){let t=``;if(g(e))t=e;else if(d(e))for(let n=0;n<e.length;n++){let r=A(e[n]);r&&(t+=r+` `)}else if(v(e))for(let n in e)e[n]&&(t+=n+` `);return t.trim()}function j(e){if(!e)return null;let{class:t,style:n}=e;return t&&!g(t)&&(e.class=A(t)),n&&(e.style=le(n)),e}var me=`itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`,he=e(me);me+``;function ge(e){return!!e||e===``}function _e(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=ve(e[r],t[r]);return n}function ve(e,t){if(e===t)return!0;let n=m(e),r=m(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=_(e),r=_(t),n||r)return e===t;if(n=d(e),r=d(t),n||r)return n&&r?_e(e,t):!1;if(n=v(e),r=v(t),n||r){if(!n||!r||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e){let r=e.hasOwnProperty(n),i=t.hasOwnProperty(n);if(r&&!i||!r&&i||!ve(e[n],t[n]))return!1}}return String(e)===String(t)}function ye(e,t){return e.findIndex(e=>ve(e,t))}var be=e=>!!(e&&e.__v_isRef===!0),M=e=>g(e)?e:e==null?``:d(e)||v(e)&&(e.toString===b||!h(e.toString))?be(e)?M(e.value):JSON.stringify(e,xe,2):String(e),xe=(e,t)=>be(t)?xe(e,t.value):f(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[Se(t,r)+` =>`]=n,e),{})}:p(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>Se(e))}:_(t)?Se(t):v(t)&&!d(t)&&!C(t)?String(t):t,Se=(e,t=``)=>_(e)?`Symbol(${e.description??t})`:e,Ce,we=class{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!e&&Ce&&(Ce.active?(this.parent=Ce,this.index=(Ce.scopes||=[]).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,t;if(this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].pause();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,t;if(this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].resume();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].resume()}}run(e){if(this._active){let t=Ce;try{return Ce=this,e()}finally{Ce=t}}}on(){++this._on===1&&(this.prevScope=Ce,Ce=this)}off(){if(this._on>0&&--this._on===0){if(Ce===this)Ce=this.prevScope;else{let e=Ce;for(;e;){if(e.prevScope===this){e.prevScope=this.prevScope;break}e=e.prevScope}}this.prevScope=void 0}}stop(e){if(this._active){this._active=!1;let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(this.effects.length=0,t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){let e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}};function N(){return Ce}function Te(e,t=!1){Ce&&Ce.cleanups.push(e)}var Ee,De=new WeakSet,Oe=class{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Ce&&(Ce.active?Ce.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,De.has(this)&&(De.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Me(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Ge(this),Fe(this);let e=Ee,t=Ve;Ee=this,Ve=!0;try{return this.fn()}finally{Ie(this),Ee=e,Ve=t,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)ze(e);this.deps=this.depsTail=void 0,Ge(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?De.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Le(this)&&this.run()}get dirty(){return Le(this)}},ke=0,Ae,je;function Me(e,t=!1){if(e.flags|=8,t){e.next=je,je=e;return}e.next=Ae,Ae=e}function Ne(){ke++}function Pe(){if(--ke>0)return;if(je){let e=je;for(je=void 0;e;){let t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;Ae;){let t=Ae;for(Ae=void 0;t;){let n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(t){e||=t}t=n}}if(e)throw e}function Fe(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ie(e){let t,n=e.depsTail,r=n;for(;r;){let e=r.prevDep;r.version===-1?(r===n&&(n=e),ze(r),Be(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function Le(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Re(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Re(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ke)||(e.globalVersion=Ke,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Le(e))))return;e.flags|=2;let t=e.dep,n=Ee,r=Ve;Ee=e,Ve=!0;try{Fe(e);let n=e.fn(e._value);(t.version===0||ae(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(e){throw t.version++,e}finally{Ee=n,Ve=r,Ie(e),e.flags&=-3}}function ze(e,t=!1){let{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)ze(e,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Be(e){let{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}var Ve=!0,He=[];function Ue(){He.push(Ve),Ve=!1}function We(){let e=He.pop();Ve=e===void 0?!0:e}function Ge(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=Ee;Ee=void 0;try{t()}finally{Ee=e}}}var Ke=0,qe=class{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},Je=class{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!Ee||!Ve||Ee===this.computed)return;let t=this.activeLink;if(t===void 0||t.sub!==Ee)t=this.activeLink=new qe(Ee,this),Ee.deps?(t.prevDep=Ee.depsTail,Ee.depsTail.nextDep=t,Ee.depsTail=t):Ee.deps=Ee.depsTail=t,P(t);else if(t.version===-1&&(t.version=this.version,t.nextDep)){let e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=Ee.depsTail,t.nextDep=void 0,Ee.depsTail.nextDep=t,Ee.depsTail=t,Ee.deps===t&&(Ee.deps=e)}return t}trigger(e){this.version++,Ke++,this.notify(e)}notify(e){Ne();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{Pe()}}};function P(e){if(e.dep.sc++,e.sub.flags&4){let t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)P(e)}let n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}var Ye=new WeakMap,Xe=Symbol(``),Ze=Symbol(``),Qe=Symbol(``);function $e(e,t,n){if(Ve&&Ee){let t=Ye.get(e);t||Ye.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new Je),r.map=t,r.key=n),r.track()}}function et(e,t,n,r,i,a){let o=Ye.get(e);if(!o){Ke++;return}let s=e=>{e&&e.trigger()};if(Ne(),t===`clear`)o.forEach(s);else{let i=d(e),a=i&&w(n);if(i&&n===`length`){let e=Number(r);o.forEach((t,n)=>{(n===`length`||n===Qe||!_(n)&&n>=e)&&s(t)})}else switch((n!==void 0||o.has(void 0))&&s(o.get(n)),a&&s(o.get(Qe)),t){case`add`:i?a&&s(o.get(`length`)):(s(o.get(Xe)),f(e)&&s(o.get(Ze)));break;case`delete`:i||(s(o.get(Xe)),f(e)&&s(o.get(Ze)));break;case`set`:f(e)&&s(o.get(Xe));break}}Pe()}function tt(e){let t=Gt(e);return t===e?t:($e(t,`iterate`,Qe),Ut(e)?t:t.map(qt))}function nt(e){return $e(e=Gt(e),`iterate`,Qe),e}function rt(e,t){return Ht(e)?Jt(Vt(e)?qt(t):t):qt(t)}var it={__proto__:null,[Symbol.iterator](){return at(this,Symbol.iterator,e=>rt(this,e))},concat(...e){return tt(this).concat(...e.map(e=>d(e)?tt(e):e))},entries(){return at(this,`entries`,e=>(e[1]=rt(this,e[1]),e))},every(e,t){return st(this,`every`,e,t,void 0,arguments)},filter(e,t){return st(this,`filter`,e,t,e=>e.map(e=>rt(this,e)),arguments)},find(e,t){return st(this,`find`,e,t,e=>rt(this,e),arguments)},findIndex(e,t){return st(this,`findIndex`,e,t,void 0,arguments)},findLast(e,t){return st(this,`findLast`,e,t,e=>rt(this,e),arguments)},findLastIndex(e,t){return st(this,`findLastIndex`,e,t,void 0,arguments)},forEach(e,t){return st(this,`forEach`,e,t,void 0,arguments)},includes(...e){return lt(this,`includes`,e)},indexOf(...e){return lt(this,`indexOf`,e)},join(e){return tt(this).join(e)},lastIndexOf(...e){return lt(this,`lastIndexOf`,e)},map(e,t){return st(this,`map`,e,t,void 0,arguments)},pop(){return ut(this,`pop`)},push(...e){return ut(this,`push`,e)},reduce(e,...t){return ct(this,`reduce`,e,t)},reduceRight(e,...t){return ct(this,`reduceRight`,e,t)},shift(){return ut(this,`shift`)},some(e,t){return st(this,`some`,e,t,void 0,arguments)},splice(...e){return ut(this,`splice`,e)},toReversed(){return tt(this).toReversed()},toSorted(e){return tt(this).toSorted(e)},toSpliced(...e){return tt(this).toSpliced(...e)},unshift(...e){return ut(this,`unshift`,e)},values(){return at(this,`values`,e=>rt(this,e))}};function at(e,t,n){let r=nt(e),i=r[t]();return r!==e&&!Ut(e)&&(i._next=i.next,i.next=()=>{let e=i._next();return e.done||(e.value=n(e.value)),e}),i}var ot=Array.prototype;function st(e,t,n,r,i,a){let o=nt(e),s=o!==e&&!Ut(e),c=o[t];if(c!==ot[t]){let t=c.apply(e,a);return s?qt(t):t}let l=n;o!==e&&(s?l=function(t,r){return n.call(this,rt(e,t),r,e)}:n.length>2&&(l=function(t,r){return n.call(this,t,r,e)}));let u=c.call(o,l,r);return s&&i?i(u):u}function ct(e,t,n,r){let i=nt(e),a=i!==e&&!Ut(e),o=n,s=!1;i!==e&&(a?(s=r.length===0,o=function(t,r,i){return s&&(s=!1,t=rt(e,t)),n.call(this,t,rt(e,r),i,e)}):n.length>3&&(o=function(t,r,i){return n.call(this,t,r,i,e)}));let c=i[t](o,...r);return s?rt(e,c):c}function lt(e,t,n){let r=Gt(e);$e(r,`iterate`,Qe);let i=r[t](...n);return(i===-1||i===!1)&&Wt(n[0])?(n[0]=Gt(n[0]),r[t](...n)):i}function ut(e,t,n=[]){Ue(),Ne();let r=Gt(e)[t].apply(e,n);return Pe(),We(),r}var dt=e(`__proto__,__v_isRef,__isVue`),ft=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!==`arguments`&&e!==`caller`).map(e=>Symbol[e]).filter(_));function pt(e){_(e)||(e=String(e));let t=Gt(this);return $e(t,`has`,e),t.hasOwnProperty(e)}var mt=class{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if(t===`__v_skip`)return e.__v_skip;let r=this._isReadonly,i=this._isShallow;if(t===`__v_isReactive`)return!r;if(t===`__v_isReadonly`)return r;if(t===`__v_isShallow`)return i;if(t===`__v_raw`)return n===(r?i?Pt:Nt:i?Mt:jt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;let a=d(e);if(!r){let e;if(a&&(e=it[t]))return e;if(t===`hasOwnProperty`)return pt}let o=Reflect.get(e,t,Yt(e)?e:n);if((_(t)?ft.has(t):dt(t))||(r||$e(e,`get`,t),i))return o;if(Yt(o)){let e=a&&w(t)?o:o.value;return r&&v(e)?Rt(e):e}return v(o)?r?Rt(o):It(o):o}},ht=class extends mt{constructor(e=!1){super(!1,e)}set(e,t,n,r){let i=e[t],a=d(e)&&w(t);if(!this._isShallow){let e=Ht(i);if(!Ut(n)&&!Ht(n)&&(i=Gt(i),n=Gt(n)),!a&&Yt(i)&&!Yt(n))return e||(i.value=n),!0}let o=a?Number(t)<e.length:u(e,t),s=Reflect.set(e,t,n,Yt(e)?e:r);return e===Gt(r)&&s&&(o?ae(n,i)&&et(e,`set`,t,n,i):et(e,`add`,t,n)),s}deleteProperty(e,t){let n=u(e,t),r=e[t],i=Reflect.deleteProperty(e,t);return i&&n&&et(e,`delete`,t,void 0,r),i}has(e,t){let n=Reflect.has(e,t);return(!_(t)||!ft.has(t))&&$e(e,`has`,t),n}ownKeys(e){return $e(e,`iterate`,d(e)?`length`:Xe),Reflect.ownKeys(e)}},gt=class extends mt{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}},_t=new ht,vt=new gt,yt=new ht(!0),bt=new gt(!0),xt=e=>e,St=e=>Reflect.getPrototypeOf(e);function Ct(e,t,n){return function(...r){let i=this.__v_raw,a=Gt(i),o=f(a),c=e===`entries`||e===Symbol.iterator&&o,l=e===`keys`&&o,u=i[e](...r),d=n?xt:t?Jt:qt;return!t&&$e(a,`iterate`,l?Ze:Xe),s(Object.create(u),{next(){let{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:c?[d(e[0]),d(e[1])]:d(e),done:t}}})}}function wt(e){return function(...t){return e===`delete`?!1:e===`clear`?void 0:this}}function Tt(e,t){let n={get(n){let r=this.__v_raw,i=Gt(r),a=Gt(n);e||(ae(n,a)&&$e(i,`get`,n),$e(i,`get`,a));let{has:o}=St(i),s=t?xt:e?Jt:qt;if(o.call(i,n))return s(r.get(n));if(o.call(i,a))return s(r.get(a));r!==i&&r.get(n)},get size(){let t=this.__v_raw;return!e&&$e(Gt(t),`iterate`,Xe),t.size},has(t){let n=this.__v_raw,r=Gt(n),i=Gt(t);return e||(ae(t,i)&&$e(r,`has`,t),$e(r,`has`,i)),t===i?n.has(t):n.has(t)||n.has(i)},forEach(n,r){let i=this,a=i.__v_raw,o=Gt(a),s=t?xt:e?Jt:qt;return!e&&$e(o,`iterate`,Xe),a.forEach((e,t)=>n.call(r,s(e),s(t),i))}};return s(n,e?{add:wt(`add`),set:wt(`set`),delete:wt(`delete`),clear:wt(`clear`)}:{add(e){let n=Gt(this),r=St(n),i=Gt(e),a=!t&&!Ut(e)&&!Ht(e)?i:e;return r.has.call(n,a)||ae(e,a)&&r.has.call(n,e)||ae(i,a)&&r.has.call(n,i)||(n.add(a),et(n,`add`,a,a)),this},set(e,n){!t&&!Ut(n)&&!Ht(n)&&(n=Gt(n));let r=Gt(this),{has:i,get:a}=St(r),o=i.call(r,e);o||=(e=Gt(e),i.call(r,e));let s=a.call(r,e);return r.set(e,n),o?ae(n,s)&&et(r,`set`,e,n,s):et(r,`add`,e,n),this},delete(e){let t=Gt(this),{has:n,get:r}=St(t),i=n.call(t,e);i||=(e=Gt(e),n.call(t,e));let a=r?r.call(t,e):void 0,o=t.delete(e);return i&&et(t,`delete`,e,void 0,a),o},clear(){let e=Gt(this),t=e.size!==0,n=e.clear();return t&&et(e,`clear`,void 0,void 0,void 0),n}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(r=>{n[r]=Ct(r,e,t)}),n}function Et(e,t){let n=Tt(e,t);return(t,r,i)=>r===`__v_isReactive`?!e:r===`__v_isReadonly`?e:r===`__v_raw`?t:Reflect.get(u(n,r)&&r in t?n:t,r,i)}var Dt={get:Et(!1,!1)},Ot={get:Et(!1,!0)},kt={get:Et(!0,!1)},At={get:Et(!0,!0)},jt=new WeakMap,Mt=new WeakMap,Nt=new WeakMap,Pt=new WeakMap;function Ft(e){switch(e){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function It(e){return Ht(e)?e:Bt(e,!1,_t,Dt,jt)}function Lt(e){return Bt(e,!1,yt,Ot,Mt)}function Rt(e){return Bt(e,!0,vt,kt,Nt)}function zt(e){return Bt(e,!0,bt,At,Pt)}function Bt(e,t,n,r,i){if(!v(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;let a=i.get(e);if(a)return a;let o=Ft(S(e));if(o===0)return e;let s=new Proxy(e,o===2?r:n);return i.set(e,s),s}function Vt(e){return Ht(e)?Vt(e.__v_raw):!!(e&&e.__v_isReactive)}function Ht(e){return!!(e&&e.__v_isReadonly)}function Ut(e){return!!(e&&e.__v_isShallow)}function Wt(e){return e?!!e.__v_raw:!1}function Gt(e){let t=e&&e.__v_raw;return t?Gt(t):e}function Kt(e){return!u(e,`__v_skip`)&&Object.isExtensible(e)&&se(e,`__v_skip`,!0),e}var qt=e=>v(e)?It(e):e,Jt=e=>v(e)?Rt(e):e;function Yt(e){return e?e.__v_isRef===!0:!1}function F(e){return Xt(e,!1)}function I(e){return Xt(e,!0)}function Xt(e,t){return Yt(e)?e:new Zt(e,t)}var Zt=class{constructor(e,t){this.dep=new Je,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:Gt(e),this._value=t?e:qt(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,n=this.__v_isShallow||Ut(e)||Ht(e);e=n?e:Gt(e),ae(e,t)&&(this._rawValue=e,this._value=n?e:qt(e),this.dep.trigger())}};function L(e){return Yt(e)?e.value:e}function Qt(e){return h(e)?e():L(e)}var $t={get:(e,t,n)=>t===`__v_raw`?e:L(Reflect.get(e,t,n)),set:(e,t,n,r)=>{let i=e[t];return Yt(i)&&!Yt(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function en(e){return Vt(e)?e:new Proxy(e,$t)}var tn=class{constructor(e){this.__v_isRef=!0,this._value=void 0;let t=this.dep=new Je,{get:n,set:r}=e(t.track.bind(t),t.trigger.bind(t));this._get=n,this._set=r}get value(){return this._value=this._get()}set value(e){this._set(e)}};function nn(e){return new tn(e)}var rn=class{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new Je(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ke-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&Ee!==this)return Me(this,!0),!0}get value(){let e=this.dep.track();return Re(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}};function an(e,t,n=!1){let r,i;return h(e)?r=e:(r=e.get,i=e.set),new rn(r,i,n)}var on={},sn=new WeakMap,cn=void 0;function ln(e,t=!1,n=cn){if(n){let t=sn.get(n);t||sn.set(n,t=[]),t.push(e)}}function un(e,n,i=t){let{immediate:a,deep:o,once:s,scheduler:l,augmentJob:u,call:f}=i,p=e=>o?e:Ut(e)||o===!1||o===0?dn(e,1):dn(e),m,g,_,v,y=!1,b=!1;if(Yt(e)?(g=()=>e.value,y=Ut(e)):Vt(e)?(g=()=>p(e),y=!0):d(e)?(b=!0,y=e.some(e=>Vt(e)||Ut(e)),g=()=>e.map(e=>{if(Yt(e))return e.value;if(Vt(e))return p(e);if(h(e))return f?f(e,2):e()})):g=h(e)?n?f?()=>f(e,2):e:()=>{if(_){Ue();try{_()}finally{We()}}let t=cn;cn=m;try{return f?f(e,3,[v]):e(v)}finally{cn=t}}:r,n&&o){let e=g,t=o===!0?1/0:o;g=()=>dn(e(),t)}let x=N(),S=()=>{m.stop(),x&&x.active&&c(x.effects,m)};if(s&&n){let e=n;n=(...t)=>{let n=e(...t);return S(),n}}let C=b?Array(e.length).fill(on):on,w=e=>{if(!(!(m.flags&1)||!m.dirty&&!e))if(n){let t=m.run();if(e||o||y||(b?t.some((e,t)=>ae(e,C[t])):ae(t,C))){_&&_();let e=cn;cn=m;try{let e=[t,C===on?void 0:b&&C[0]===on?[]:C,v];C=t,f?f(n,3,e):n(...e)}finally{cn=e}}}else m.run()};return u&&u(w),m=new Oe(g),m.scheduler=l?()=>l(w,!1):w,v=e=>ln(e,!1,m),_=m.onStop=()=>{let e=sn.get(m);if(e){if(f)f(e,4);else for(let t of e)t();sn.delete(m)}},n?a?w(!0):C=m.run():l?l(w.bind(null,!0),!0):m.run(),S.pause=m.pause.bind(m),S.resume=m.resume.bind(m),S.stop=S,S}function dn(e,t=1/0,n){if(t<=0||!v(e)||e.__v_skip||(n||=new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Yt(e))dn(e.value,t,n);else if(d(e))for(let r=0;r<e.length;r++)dn(e[r],t,n);else if(p(e)||f(e))e.forEach(e=>{dn(e,t,n)});else if(C(e)){for(let r in e)dn(e[r],t,n);for(let r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&dn(e[r],t,n)}return e}function fn(e,t,n,r){try{return r?e(...r):e()}catch(e){mn(e,t,n)}}function pn(e,t,n,r){if(h(e)){let i=fn(e,t,n,r);return i&&y(i)&&i.catch(e=>{mn(e,t,n)}),i}if(d(e)){let i=[];for(let a=0;a<e.length;a++)i.push(pn(e[a],t,n,r));return i}}function mn(e,n,r,i=!0){let a=n?n.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:s}=n&&n.appContext.config||t;if(n){let t=n.parent,i=n.proxy,a=`https://vuejs.org/error-reference/#runtime-${r}`;for(;t;){let n=t.ec;if(n){for(let t=0;t<n.length;t++)if(n[t](e,i,a)===!1)return}t=t.parent}if(o){Ue(),fn(o,null,10,[e,i,a]),We();return}}hn(e,r,a,i,s)}function hn(e,t,n,r=!0,i=!1){if(i)throw e;console.error(e)}var gn=[],_n=-1,vn=[],yn=null,bn=0,xn=Promise.resolve(),Sn=null;function Cn(e){let t=Sn||xn;return e?t.then(this?e.bind(this):e):t}function wn(e){let t=_n+1,n=gn.length;for(;t<n;){let r=t+n>>>1,i=gn[r],a=An(i);a<e||a===e&&i.flags&2?t=r+1:n=r}return t}function Tn(e){if(!(e.flags&1)){let t=An(e),n=gn[gn.length-1];!n||!(e.flags&2)&&t>=An(n)?gn.push(e):gn.splice(wn(t),0,e),e.flags|=1,En()}}function En(){Sn||=xn.then(jn)}function Dn(e){d(e)?vn.push(...e):yn&&e.id===-1?yn.splice(bn+1,0,e):e.flags&1||(vn.push(e),e.flags|=1),En()}function On(e,t,n=_n+1){for(;n<gn.length;n++){let t=gn[n];if(t&&t.flags&2){if(e&&t.id!==e.uid)continue;gn.splice(n,1),n--,t.flags&4&&(t.flags&=-2),t(),t.flags&4||(t.flags&=-2)}}}function kn(e){if(vn.length){let e=[...new Set(vn)].sort((e,t)=>An(e)-An(t));if(vn.length=0,yn){yn.push(...e);return}for(yn=e,bn=0;bn<yn.length;bn++){let e=yn[bn];e.flags&4&&(e.flags&=-2),e.flags&8||e(),e.flags&=-2}yn=null,bn=0}}var An=e=>e.id==null?e.flags&2?-1:1/0:e.id;function jn(e){try{for(_n=0;_n<gn.length;_n++){let e=gn[_n];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),fn(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;_n<gn.length;_n++){let e=gn[_n];e&&(e.flags&=-2)}_n=-1,gn.length=0,kn(e),Sn=null,(gn.length||vn.length)&&jn(e)}}var Mn=null,Nn=null;function Pn(e){let t=Mn;return Mn=e,Nn=e&&e.type.__scopeId||null,t}function R(e,t=Mn,n){if(!t||e._n)return e;let r=(...n)=>{r._d&&ya(-1);let i=Pn(t),a;try{a=e(...n)}finally{Pn(i),r._d&&ya(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function Fn(e,n){if(Mn===null)return e;let r=Qa(Mn),i=e.dirs||=[];for(let e=0;e<n.length;e++){let[a,o,s,c=t]=n[e];a&&(h(a)&&(a={mounted:a,updated:a}),a.deep&&dn(o),i.push({dir:a,instance:r,value:o,oldValue:void 0,arg:s,modifiers:c}))}return e}function In(e,t,n,r){let i=e.dirs,a=t&&t.dirs;for(let o=0;o<i.length;o++){let s=i[o];a&&(s.oldValue=a[o].value);let c=s.dir[r];c&&(Ue(),pn(c,n,8,[e.el,s,e,t]),We())}}function Ln(e,t){if(Ia){let n=Ia.provides,r=Ia.parent&&Ia.parent.provides;r===n&&(n=Ia.provides=Object.create(r)),n[e]=t}}function Rn(e,t,n=!1){let r=La();if(r||xi){let i=xi?xi._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&h(t)?t.call(r&&r.proxy):t}}var zn=Symbol.for(`v-scx`),Bn=()=>Rn(zn);function Vn(e,t){return Wn(e,null,t)}function Hn(e,t){return Wn(e,null,{flush:`post`})}function Un(e,t,n){return Wn(e,t,n)}function Wn(e,n,i=t){let{immediate:a,deep:o,flush:c,once:l}=i,u=s({},i),d=n&&a||!n&&c!==`post`,f;if(Ua){if(c===`sync`){let e=Bn();f=e.__watcherHandles||=[]}else if(!d){let e=()=>{};return e.stop=r,e.resume=r,e.pause=r,e}}let p=Ia;u.call=(e,t,n)=>pn(e,p,t,n);let m=!1;c===`post`?u.scheduler=e=>{Qi(e,p&&p.suspense)}:c!==`sync`&&(m=!0,u.scheduler=(e,t)=>{t?e():Tn(e)}),u.augmentJob=e=>{n&&(e.flags|=4),m&&(e.flags|=2,p&&(e.id=p.uid,e.i=p))};let h=un(e,n,u);return Ua&&(f?f.push(h):d&&h()),h}function Gn(e,t,n){let r=this.proxy,i=g(e)?e.includes(`.`)?Kn(r,e):()=>r[e]:e.bind(r,r),a;h(t)?a=t:(a=t.handler,n=t);let o=Ba(this),s=Wn(i,a.bind(r),n);return o(),s}function Kn(e,t){let n=t.split(`.`);return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}var qn=new WeakMap,Jn=Symbol(`_vte`),Yn=e=>e.__isTeleport,Xn=e=>e&&(e.disabled||e.disabled===``),Zn=e=>e&&(e.defer||e.defer===``),Qn=e=>typeof SVGElement<`u`&&e instanceof SVGElement,$n=e=>typeof MathMLElement==`function`&&e instanceof MathMLElement,er=(e,t)=>{let n=e&&e.to;return g(n)?t?t(n):null:n},tr={name:`Teleport`,__isTeleport:!0,process(e,t,n,r,i,a,o,s,c,l){let{mc:u,pc:d,pbc:f,o:{insert:p,querySelector:m,createText:h,createComment:g,parentNode:_}}=l,v=Xn(t.props),{dynamicChildren:y}=t,b=(e,t,n)=>{e.shapeFlag&16&&u(e.children,t,n,i,a,o,s,c)},x=(e=t)=>{let n=Xn(e.props),r=e.target=er(e.props,m),a=or(r,e,h,p);r&&(o!==`svg`&&Qn(r)?o=`svg`:o!==`mathml`&&$n(r)&&(o=`mathml`),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(r),n||(b(e,r,a),ar(e,!1)))},S=e=>{let t=()=>{if(qn.get(e)===t){if(qn.delete(e),Xn(e.props)){let t=_(e.el)||n;b(e,t,e.anchor),ar(e,!0)}x(e)}};qn.set(e,t),Qi(t,a)};if(e==null){let e=t.el=h(``),i=t.anchor=h(``);if(p(e,n,r),p(i,n,r),Zn(t.props)||a&&a.pendingBranch){S(t);return}v&&(b(t,n,i),ar(t,!0)),x()}else{t.el=e.el;let r=t.anchor=e.anchor,u=qn.get(e);if(u){u.flags|=8,qn.delete(e),S(t);return}t.targetStart=e.targetStart;let p=t.target=e.target,h=t.targetAnchor=e.targetAnchor,g=Xn(e.props),_=g?n:p,b=g?r:h;if(o===`svg`||Qn(p)?o=`svg`:(o===`mathml`||$n(p))&&(o=`mathml`),y?(f(e.dynamicChildren,y,_,i,a,o,s),ia(e,t,!0)):c||d(e,t,_,b,i,a,o,s,!1),v)g?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):nr(t,n,r,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){let e=er(t.props,m);e&&(t.target=e,nr(t,e,null,l,0))}else g&&nr(t,p,h,l,1);ar(t,v)}},remove(e,t,n,{um:r,o:{remove:i}},a){let{shapeFlag:o,children:s,anchor:c,targetStart:l,targetAnchor:u,target:d,props:f}=e,p=Xn(f),m=a||!p,h=qn.get(e);if(h&&(h.flags|=8,qn.delete(e)),d&&(i(l),i(u)),a&&i(c),!h&&(p||d)&&o&16)for(let e=0;e<s.length;e++){let i=s[e];r(i,t,n,m,!!i.dynamicChildren)}},move:nr,hydrate:rr};function nr(e,t,n,{o:{insert:r},m:i},a=2){a===0&&r(e.targetAnchor,t,n);let{el:o,anchor:s,shapeFlag:c,children:l,props:u}=e,d=a===2;if(d&&r(o,t,n),!qn.has(e)&&(!d||Xn(u))&&c&16)for(let e=0;e<l.length;e++)i(l[e],t,n,2);d&&r(s,t,n)}function rr(e,t,n,r,i,a,{o:{nextSibling:o,parentNode:s,querySelector:c,insert:l,createText:u}},d){function f(e,n){let r=n;for(;r;){if(r&&r.nodeType===8){if(r.data===`teleport start anchor`)t.targetStart=r;else if(r.data===`teleport anchor`){t.targetAnchor=r,e._lpa=t.targetAnchor&&o(t.targetAnchor);break}}r=o(r)}}function p(e,t){t.anchor=d(o(e),t,s(e),n,r,i,a)}let m=t.target=er(t.props,c),h=Xn(t.props);if(m){let c=m._lpa||m.firstChild;t.shapeFlag&16&&(h?(p(e,t),f(m,c),t.targetAnchor||or(m,t,u,l,s(e)===m?e:null)):(t.anchor=o(e),f(m,c),t.targetAnchor||or(m,t,u,l),d(c&&o(c),t,m,n,r,i,a))),ar(t,h)}else h&&t.shapeFlag&16&&(p(e,t),t.targetStart=e,t.targetAnchor=o(e));return t.anchor&&o(t.anchor)}var ir=tr;function ar(e,t){let n=e.ctx;if(n&&n.ut){let r,i;for(t?(r=e.el,i=e.anchor):(r=e.targetStart,i=e.targetAnchor);r&&r!==i;)r.nodeType===1&&r.setAttribute(`data-v-owner`,n.uid),r=r.nextSibling;n.ut()}}function or(e,t,n,r,i=null){let a=t.targetStart=n(``),o=t.targetAnchor=n(``);return a[Jn]=o,e&&(r(a,e,i),r(o,e,i)),o}var sr=Symbol(`_leaveCb`),cr=Symbol(`_enterCb`),lr=e=>{let t=e.subTree;return t.component?lr(t.component):t};function ur(e,t){let{leavingVNodes:n}=e,r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function dr(e,t,n,r,i){let{appear:a,mode:o,persisted:s=!1,onBeforeEnter:c,onEnter:l,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:p,onLeave:m,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:_,onAppear:v,onAfterAppear:y,onAppearCancelled:b}=t,x=String(e.key),S=ur(n,e),C=(e,t)=>{e&&pn(e,r,9,t)},w=(e,t)=>{let n=t[1];C(e,t),d(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},T={mode:o,persisted:s,beforeEnter(t){let r=c;if(!n.isMounted)if(a)r=_||c;else return;t[sr]&&t[sr](!0);let i=S[x];i&&Sa(e,i)&&i.el[sr]&&i.el[sr](),C(r,[t])},enter(t){if(S[x]===e)return;let r=l,i=u,o=f;if(!n.isMounted)if(a)r=v||l,i=y||u,o=b||f;else return;let s=!1;t[cr]=e=>{s||(s=!0,C(e?o:i,[t]),T.delayedLeave&&T.delayedLeave(),t[cr]=void 0)};let c=t[cr].bind(null,!1);r?w(r,[t,c]):c()},leave(t,r){let i=String(e.key);if(t[cr]&&t[cr](!0),n.isUnmounting)return r();C(p,[t]);let a=!1;t[sr]=n=>{a||(a=!0,r(),C(n?g:h,[t]),t[sr]=void 0,S[i]===e&&delete S[i])};let o=t[sr].bind(null,!1);S[i]=e,m?w(m,[t,o]):o()},clone(e){let a=dr(e,t,n,r,i);return i&&i(a),a}};return T}function fr(e,t){e.shapeFlag&6&&e.component?(e.transition=t,fr(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function pr(e,t=!1,n){let r=[],i=0;for(let a=0;a<e.length;a++){let o=e[a],s=n==null?o.key:String(n)+String(o.key==null?a:o.key);o.type===da?(o.patchFlag&128&&i++,r=r.concat(pr(o.children,t,s))):(t||o.type!==pa)&&r.push(s==null?o:Da(o,{key:s}))}if(i>1)for(let e=0;e<r.length;e++)r[e].patchFlag=-2;return r}function z(e,t){return h(e)?s({name:e.name},t,{setup:e}):e}function mr(){let e=La();return e?(e.appContext.config.idPrefix||`v`)+`-`+e.ids[0]+e.ids[1]++:``}function hr(e){e.ids=[e.ids[0]+e.ids[2]+++`-`,0,0]}function gr(e){let n=La(),r=I(null);if(n){let i=n.refs===t?n.refs={}:n.refs;Object.defineProperty(i,e,{enumerable:!0,get:()=>r.value,set:e=>r.value=e})}return r}function _r(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}var vr=new WeakMap;function yr(e,n,r,a,o=!1){if(d(e)){e.forEach((e,t)=>yr(e,n&&(d(n)?n[t]:n),r,a,o));return}if(xr(a)&&!o){a.shapeFlag&512&&a.type.__asyncResolved&&a.component.subTree.component&&yr(e,n,r,a.component.subTree);return}let s=a.shapeFlag&4?Qa(a.component):a.el,l=o?null:s,{i:f,r:p}=e,m=n&&n.r,_=f.refs===t?f.refs={}:f.refs,v=f.setupState,y=Gt(v),b=v===t?i:e=>_r(_,e)?!1:u(y,e),x=(e,t)=>!(t&&_r(_,t));if(m!=null&&m!==p){if(br(n),g(m))_[m]=null,b(m)&&(v[m]=null);else if(Yt(m)){let e=n;x(m,e.k)&&(m.value=null),e.k&&(_[e.k]=null)}}if(h(p)){Ue();try{fn(p,f,12,[l,_])}finally{We()}}else{let t=g(p),n=Yt(p);if(t||n){let i=()=>{if(e.f){let n=t?b(p)?v[p]:_[p]:x(p)||!e.k?p.value:_[e.k];if(o)d(n)&&c(n,s);else if(d(n))n.includes(s)||n.push(s);else if(t)_[p]=[s],b(p)&&(v[p]=_[p]);else{let t=[s];x(p,e.k)&&(p.value=t),e.k&&(_[e.k]=t)}}else t?(_[p]=l,b(p)&&(v[p]=l)):n&&(x(p,e.k)&&(p.value=l),e.k&&(_[e.k]=l))};if(l){let t=()=>{i(),vr.delete(e)};t.id=-1,vr.set(e,t),Qi(t,r)}else br(e),i()}}}function br(e){let t=vr.get(e);t&&(t.flags|=8,vr.delete(e))}ce().requestIdleCallback,ce().cancelIdleCallback;var xr=e=>!!e.type.__asyncLoader,Sr=e=>e.type.__isKeepAlive;function Cr(e,t){Tr(e,`a`,t)}function wr(e,t){Tr(e,`da`,t)}function Tr(e,t,n=Ia){let r=e.__wdc||=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()};if(Dr(t,r,n),n){let e=n.parent;for(;e&&e.parent;)Sr(e.parent.vnode)&&Er(r,t,n,e),e=e.parent}}function Er(e,t,n,r){let i=Dr(t,e,r,!0);Pr(()=>{c(r[t],i)},n)}function Dr(e,t,n=Ia,r=!1){if(n){let i=n[e]||(n[e]=[]),a=t.__weh||=(...r)=>{Ue();let i=Ba(n),a=pn(t,n,e,r);return i(),We(),a};return r?i.unshift(a):i.push(a),a}}var Or=e=>(t,n=Ia)=>{(!Ua||e===`sp`)&&Dr(e,(...e)=>t(...e),n)},kr=Or(`bm`),Ar=Or(`m`),jr=Or(`bu`),Mr=Or(`u`),Nr=Or(`bum`),Pr=Or(`um`),Fr=Or(`sp`),Ir=Or(`rtg`),Lr=Or(`rtc`);function Rr(e,t=Ia){Dr(`ec`,e,t)}var zr=`components`,Br=Symbol.for(`v-ndc`);function Vr(e){return g(e)?Hr(zr,e,!1)||e:e||Br}function Hr(e,t,n=!0,r=!1){let i=Mn||Ia;if(i){let n=i.type;if(e===zr){let e=$a(n,!1);if(e&&(e===t||e===E(t)||e===re(E(t))))return n}let a=Ur(i[e]||n[e],t)||Ur(i.appContext[e],t);return!a&&r?n:a}}function Ur(e,t){return e&&(e[t]||e[E(t)]||e[re(E(t))])}function Wr(e,t,n,r){let i,a=n&&n[r],o=d(e);if(o||g(e)){let n=o&&Vt(e),r=!1,s=!1;n&&(r=!Ut(e),s=Ht(e),e=nt(e)),i=Array(e.length);for(let n=0,o=e.length;n<o;n++)i[n]=t(r?s?Jt(qt(e[n])):qt(e[n]):e[n],n,void 0,a&&a[n])}else if(typeof e==`number`){i=Array(e);for(let n=0;n<e;n++)i[n]=t(n+1,n,void 0,a&&a[n])}else if(v(e))if(e[Symbol.iterator])i=Array.from(e,(e,n)=>t(e,n,void 0,a&&a[n]));else{let n=Object.keys(e);i=Array(n.length);for(let r=0,o=n.length;r<o;r++){let o=n[r];i[r]=t(e[o],o,r,a&&a[r])}}else i=[];return n&&(n[r]=i),i}function Gr(e,t){for(let n=0;n<t.length;n++){let r=t[n];if(d(r))for(let t=0;t<r.length;t++)e[r[t].name]=r[t].fn;else r&&(e[r.name]=r.key?(...e)=>{let t=r.fn(...e);return t&&(t.key=r.key),t}:r.fn)}return e}function B(e,t,n={},r,i){if(Mn.ce||Mn.parent&&xr(Mn.parent)&&Mn.parent.ce){let e=Object.keys(n).length>0;return t!=="default"&&(n.name=t),V(),U(da,null,[G(`slot`,n,r&&r())],e?-2:64)}let a=e[t];a&&a._c&&(a._d=!1),V();let o=a&&Kr(a(n)),s=n.key||o&&o.key,c=U(da,{key:(s&&!_(s)?s:`_${t}`)+(!o&&r?`_fb`:``)},o||(r?r():[]),o&&e._===1?64:-2);return!i&&c.scopeId&&(c.slotScopeIds=[c.scopeId+`-s`]),a&&a._c&&(a._d=!0),c}function Kr(e){return e.some(e=>xa(e)?!(e.type===pa||e.type===da&&!Kr(e.children)):!0)?e:null}function qr(e,t){let n={};for(let r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:ie(r)]=e[r];return n}var Jr=e=>e?Ha(e)?Qa(e):Jr(e.parent):null,Yr=s(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Jr(e.parent),$root:e=>Jr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ci(e),$forceUpdate:e=>e.f||=()=>{Tn(e.update)},$nextTick:e=>e.n||=Cn.bind(e.proxy),$watch:e=>Gn.bind(e)}),Xr=(e,n)=>e!==t&&!e.__isScriptSetup&&u(e,n),Zr={get({_:e},n){if(n===`__v_skip`)return!0;let{ctx:r,setupState:i,data:a,props:o,accessCache:s,type:c,appContext:l}=e;if(n[0]!==`$`){let e=s[n];if(e!==void 0)switch(e){case 1:return i[n];case 2:return a[n];case 4:return r[n];case 3:return o[n]}else if(Xr(i,n))return s[n]=1,i[n];else if(a!==t&&u(a,n))return s[n]=2,a[n];else if(u(o,n))return s[n]=3,o[n];else if(r!==t&&u(r,n))return s[n]=4,r[n];else ri&&(s[n]=0)}let d=Yr[n],f,p;if(d)return n===`$attrs`&&$e(e.attrs,`get`,``),d(e);if((f=c.__cssModules)&&(f=f[n]))return f;if(r!==t&&u(r,n))return s[n]=4,r[n];if(p=l.config.globalProperties,u(p,n))return p[n]},set({_:e},n,r){let{data:i,setupState:a,ctx:o}=e;return Xr(a,n)?(a[n]=r,!0):i!==t&&u(i,n)?(i[n]=r,!0):u(e.props,n)||n[0]===`$`&&n.slice(1)in e?!1:(o[n]=r,!0)},has({_:{data:e,setupState:n,accessCache:r,ctx:i,appContext:a,props:o,type:s}},c){let l;return!!(r[c]||e!==t&&c[0]!==`$`&&u(e,c)||Xr(n,c)||u(o,c)||u(i,c)||u(Yr,c)||u(a.config.globalProperties,c)||(l=s.__cssModules)&&l[c])},defineProperty(e,t,n){return n.get==null?u(n,`value`)&&this.set(e,t,n.value,null):e._.accessCache[t]=0,Reflect.defineProperty(e,t,n)}};function Qr(){return ei(`useSlots`).slots}function $r(){return ei(`useAttrs`).attrs}function ei(e){let t=La();return t.setupContext||=Za(t)}function ti(e){return d(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}function ni(e,t){let n=ti(e);for(let e in t){if(e.startsWith(`__skip`))continue;let r=n[e];r?d(r)||h(r)?r=n[e]={type:r,default:t[e]}:r.default=t[e]:r===null&&(r=n[e]={default:t[e]}),r&&t[`__skip_${e}`]&&(r.skipFactory=!0)}return n}var ri=!0;function ii(e){let t=ci(e),n=e.proxy,i=e.ctx;ri=!1,t.beforeCreate&&oi(t.beforeCreate,e,`bc`);let{data:a,computed:o,methods:s,watch:c,provide:l,inject:u,created:f,beforeMount:p,mounted:m,beforeUpdate:g,updated:_,activated:y,deactivated:b,beforeDestroy:x,beforeUnmount:S,destroyed:C,unmounted:w,render:T,renderTracked:ee,renderTriggered:te,errorCaptured:E,serverPrefetch:ne,expose:D,inheritAttrs:re,components:ie,directives:ae,filters:oe}=t;if(u&&ai(u,i,null),s)for(let e in s){let t=s[e];h(t)&&(i[e]=t.bind(n))}if(a){let t=a.call(n,n);v(t)&&(e.data=It(t))}if(ri=!0,o)for(let e in o){let t=o[e],a=J({get:h(t)?t.bind(n,n):h(t.get)?t.get.bind(n,n):r,set:!h(t)&&h(t.set)?t.set.bind(n):r});Object.defineProperty(i,e,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(c)for(let e in c)si(c[e],i,n,e);if(l){let e=h(l)?l.call(n):l;Reflect.ownKeys(e).forEach(t=>{Ln(t,e[t])})}f&&oi(f,e,`c`);function se(e,t){d(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(se(kr,p),se(Ar,m),se(jr,g),se(Mr,_),se(Cr,y),se(wr,b),se(Rr,E),se(Lr,ee),se(Ir,te),se(Nr,S),se(Pr,w),se(Fr,ne),d(D))if(D.length){let t=e.exposed||={};D.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t,enumerable:!0})})}else e.exposed||={};T&&e.render===r&&(e.render=T),re!=null&&(e.inheritAttrs=re),ie&&(e.components=ie),ae&&(e.directives=ae),ne&&hr(e)}function ai(e,t,n=r){d(e)&&(e=pi(e));for(let n in e){let r=e[n],i;i=v(r)?`default`in r?Rn(r.from||n,r.default,!0):Rn(r.from||n):Rn(r),Yt(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[n]=i}}function oi(e,t,n){pn(d(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function si(e,t,n,r){let i=r.includes(`.`)?Kn(n,r):()=>n[r];if(g(e)){let n=t[e];h(n)&&Un(i,n)}else if(h(e))Un(i,e.bind(n));else if(v(e))if(d(e))e.forEach(e=>si(e,t,n,r));else{let r=h(e.handler)?e.handler.bind(n):t[e.handler];h(r)&&Un(i,r,e)}}function ci(e){let t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:a,config:{optionMergeStrategies:o}}=e.appContext,s=a.get(t),c;return s?c=s:!i.length&&!n&&!r?c=t:(c={},i.length&&i.forEach(e=>li(c,e,o,!0)),li(c,t,o)),v(t)&&a.set(t,c),c}function li(e,t,n,r=!1){let{mixins:i,extends:a}=t;a&&li(e,a,n,!0),i&&i.forEach(t=>li(e,t,n,!0));for(let i in t)if(!(r&&i===`expose`)){let r=ui[i]||n&&n[i];e[i]=r?r(e[i],t[i]):t[i]}return e}var ui={data:di,props:gi,emits:gi,methods:hi,computed:hi,beforeCreate:mi,created:mi,beforeMount:mi,mounted:mi,beforeUpdate:mi,updated:mi,beforeDestroy:mi,beforeUnmount:mi,destroyed:mi,unmounted:mi,activated:mi,deactivated:mi,errorCaptured:mi,serverPrefetch:mi,components:hi,directives:hi,watch:_i,provide:di,inject:fi};function di(e,t){return t?e?function(){return s(h(e)?e.call(this,this):e,h(t)?t.call(this,this):t)}:t:e}function fi(e,t){return hi(pi(e),pi(t))}function pi(e){if(d(e)){let t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function mi(e,t){return e?[...new Set([].concat(e,t))]:t}function hi(e,t){return e?s(Object.create(null),e,t):t}function gi(e,t){return e?d(e)&&d(t)?[...new Set([...e,...t])]:s(Object.create(null),ti(e),ti(t??{})):t}function _i(e,t){if(!e)return t;if(!t)return e;let n=s(Object.create(null),e);for(let r in t)n[r]=mi(e[r],t[r]);return n}function vi(){return{app:null,config:{isNativeTag:i,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}var yi=0;function bi(e,t){return function(n,r=null){h(n)||(n=s({},n)),r!=null&&!v(r)&&(r=null);let i=vi(),a=new WeakSet,o=[],c=!1,l=i.app={_uid:yi++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:no,get config(){return i.config},set config(e){},use(e,...t){return a.has(e)||(e&&h(e.install)?(a.add(e),e.install(l,...t)):h(e)&&(a.add(e),e(l,...t))),l},mixin(e){return i.mixins.includes(e)||i.mixins.push(e),l},component(e,t){return t?(i.components[e]=t,l):i.components[e]},directive(e,t){return t?(i.directives[e]=t,l):i.directives[e]},mount(a,o,s){if(!c){let u=l._ceVNode||G(n,r);return u.appContext=i,s===!0?s=`svg`:s===!1&&(s=void 0),o&&t?t(u,a):e(u,a,s),c=!0,l._container=a,a.__vue_app__=l,Qa(u.component)}},onUnmount(e){o.push(e)},unmount(){c&&(pn(o,l._instance,16),e(null,l._container),delete l._container.__vue_app__)},provide(e,t){return i.provides[e]=t,l},runWithContext(e){let t=xi;xi=l;try{return e()}finally{xi=t}}};return l}}var xi=null,Si=(e,t)=>t===`modelValue`||t===`model-value`?e.modelModifiers:e[`${t}Modifiers`]||e[`${E(t)}Modifiers`]||e[`${D(t)}Modifiers`];function Ci(e,n,...r){if(e.isUnmounted)return;let i=e.vnode.props||t,a=r,o=n.startsWith(`update:`),s=o&&Si(i,n.slice(7));s&&(s.trim&&(a=r.map(e=>g(e)?e.trim():e)),s.number&&(a=r.map(O)));let c,l=i[c=ie(n)]||i[c=ie(E(n))];!l&&o&&(l=i[c=ie(D(n))]),l&&pn(l,e,6,a);let u=i[c+`Once`];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,pn(u,e,6,a)}}var wi=new WeakMap;function Ti(e,t,n=!1){let r=n?wi:t.emitsCache,i=r.get(e);if(i!==void 0)return i;let a=e.emits,o={},c=!1;if(!h(e)){let r=e=>{let n=Ti(e,t,!0);n&&(c=!0,s(o,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return!a&&!c?(v(e)&&r.set(e,null),null):(d(a)?a.forEach(e=>o[e]=null):s(o,a),v(e)&&r.set(e,o),o)}function Ei(e,t){return!e||!a(t)?!1:(t=t.slice(2),t=t===`Once`?t:t.replace(/Once$/,``),u(e,t[0].toLowerCase()+t.slice(1))||u(e,D(t))||u(e,t))}function Di(e){let{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[a],slots:s,attrs:c,emit:l,render:u,renderCache:d,props:f,data:p,setupState:m,ctx:h,inheritAttrs:g}=e,_=Pn(e),v,y;try{if(n.shapeFlag&4){let e=i||r,t=e;v=Oa(u.call(t,e,d,f,m,p,h)),y=c}else{let e=t;v=Oa(e.length>1?e(f,{attrs:c,slots:s,emit:l}):e(f,null)),y=t.props?c:Oi(c)}}catch(t){ha.length=0,mn(t,e,1),v=G(pa)}let b=v;if(y&&g!==!1){let e=Object.keys(y),{shapeFlag:t}=b;e.length&&t&7&&(a&&e.some(o)&&(y=ki(y,a)),b=Da(b,y,!1,!0))}return n.dirs&&(b=Da(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&fr(b,n.transition),v=b,Pn(_),v}var Oi=e=>{let t;for(let n in e)(n===`class`||n===`style`||a(n))&&((t||={})[n]=e[n]);return t},ki=(e,t)=>{let n={};for(let r in e)(!o(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Ai(e,t,n){let{props:r,children:i,component:a}=e,{props:o,children:s,patchFlag:c}=t,l=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?ji(r,o,l):!!o;if(c&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t];if(Mi(o,r,n)&&!Ei(l,n))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:r===o?!1:r?o?ji(r,o,l):!0:!!o;return!1}function ji(e,t,n){let r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){let a=r[i];if(Mi(t,e,a)&&!Ei(n,a))return!0}return!1}function Mi(e,t,n){let r=e[n],i=t[n];return n===`style`&&v(r)&&v(i)?!ve(r,i):r!==i}function Ni({vnode:e,parent:t,suspense:n},r){for(;t;){let n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.suspense.vnode.el=n.el=r,e=n),n===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}var Pi={},Fi=()=>Object.create(Pi),Ii=e=>Object.getPrototypeOf(e)===Pi;function Li(e,t,n,r=!1){let i={},a=Fi();e.propsDefaults=Object.create(null),zi(e,t,i,a);for(let t in e.propsOptions[0])t in i||(i[t]=void 0);n?e.props=r?i:Lt(i):e.type.props?e.props=i:e.props=a,e.attrs=a}function Ri(e,t,n,r){let{props:i,attrs:a,vnode:{patchFlag:o}}=e,s=Gt(i),[c]=e.propsOptions,l=!1;if((r||o>0)&&!(o&16)){if(o&8){let n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let o=n[r];if(Ei(e.emitsOptions,o))continue;let d=t[o];if(c)if(u(a,o))d!==a[o]&&(a[o]=d,l=!0);else{let t=E(o);i[t]=Bi(c,s,t,d,e,!1)}else d!==a[o]&&(a[o]=d,l=!0)}}}else{zi(e,t,i,a)&&(l=!0);let r;for(let a in s)(!t||!u(t,a)&&((r=D(a))===a||!u(t,r)))&&(c?n&&(n[a]!==void 0||n[r]!==void 0)&&(i[a]=Bi(c,s,a,void 0,e,!0)):delete i[a]);if(a!==s)for(let e in a)(!t||!u(t,e))&&(delete a[e],l=!0)}l&&et(e.attrs,`set`,``)}function zi(e,n,r,i){let[a,o]=e.propsOptions,s=!1,c;if(n)for(let t in n){if(T(t))continue;let l=n[t],d;a&&u(a,d=E(t))?!o||!o.includes(d)?r[d]=l:(c||={})[d]=l:Ei(e.emitsOptions,t)||(!(t in i)||l!==i[t])&&(i[t]=l,s=!0)}if(o){let n=Gt(r),i=c||t;for(let t=0;t<o.length;t++){let s=o[t];r[s]=Bi(a,n,s,i[s],e,!u(i,s))}}return s}function Bi(e,t,n,r,i,a){let o=e[n];if(o!=null){let e=u(o,`default`);if(e&&r===void 0){let e=o.default;if(o.type!==Function&&!o.skipFactory&&h(e)){let{propsDefaults:a}=i;if(n in a)r=a[n];else{let o=Ba(i);r=a[n]=e.call(null,t),o()}}else r=e;i.ce&&i.ce._setProp(n,r)}o[0]&&(a&&!e?r=!1:o[1]&&(r===``||r===D(n))&&(r=!0))}return r}var Vi=new WeakMap;function Hi(e,r,i=!1){let a=i?Vi:r.propsCache,o=a.get(e);if(o)return o;let c=e.props,l={},f=[],p=!1;if(!h(e)){let t=e=>{p=!0;let[t,n]=Hi(e,r,!0);s(l,t),n&&f.push(...n)};!i&&r.mixins.length&&r.mixins.forEach(t),e.extends&&t(e.extends),e.mixins&&e.mixins.forEach(t)}if(!c&&!p)return v(e)&&a.set(e,n),n;if(d(c))for(let e=0;e<c.length;e++){let n=E(c[e]);Ui(n)&&(l[n]=t)}else if(c)for(let e in c){let t=E(e);if(Ui(t)){let n=c[e],r=l[t]=d(n)||h(n)?{type:n}:s({},n),i=r.type,a=!1,o=!0;if(d(i))for(let e=0;e<i.length;++e){let t=i[e],n=h(t)&&t.name;if(n===`Boolean`){a=!0;break}else n===`String`&&(o=!1)}else a=h(i)&&i.name===`Boolean`;r[0]=a,r[1]=o,(a||u(r,`default`))&&f.push(t)}}let m=[l,f];return v(e)&&a.set(e,m),m}function Ui(e){return e[0]!==`$`&&!T(e)}var Wi=e=>e===`_`||e===`_ctx`||e===`$stable`,Gi=e=>d(e)?e.map(Oa):[Oa(e)],Ki=(e,t,n)=>{if(t._n)return t;let r=R((...e)=>Gi(t(...e)),n);return r._c=!1,r},qi=(e,t,n)=>{let r=e._ctx;for(let n in e){if(Wi(n))continue;let i=e[n];if(h(i))t[n]=Ki(n,i,r);else if(i!=null){let e=Gi(i);t[n]=()=>e}}},Ji=(e,t)=>{let n=Gi(t);e.slots.default=()=>n},Yi=(e,t,n)=>{for(let r in t)(n||!Wi(r))&&(e[r]=t[r])},Xi=(e,t,n)=>{let r=e.slots=Fi();if(e.vnode.shapeFlag&32){let e=t._;e?(Yi(r,t,n),n&&se(r,`_`,e,!0)):qi(t,r)}else t&&Ji(e,t)},Zi=(e,n,r)=>{let{vnode:i,slots:a}=e,o=!0,s=t;if(i.shapeFlag&32){let e=n._;e?r&&e===1?o=!1:Yi(a,n,r):(o=!n.$stable,qi(n,a)),s=n}else n&&(Ji(e,n),s={default:1});if(o)for(let e in a)!Wi(e)&&s[e]==null&&delete a[e]},Qi=ua;function $i(e){return ea(e)}function ea(e,i){let a=ce();a.__VUE__=!0;let{insert:o,remove:s,patchProp:c,createElement:l,createText:u,createComment:d,setText:f,setElementText:p,parentNode:m,nextSibling:h,setScopeId:g=r,insertStaticContent:_}=e,v=(e,t,n,r=null,i=null,a=null,o=void 0,s=null,c=!!t.dynamicChildren)=>{if(e===t)return;e&&!Sa(e,t)&&(r=_e(e),A(e,i,a,!0),e=null),t.patchFlag===-2&&(c=!1,t.dynamicChildren=null);let{type:l,ref:u,shapeFlag:d}=t;switch(l){case fa:y(e,t,n,r);break;case pa:b(e,t,n,r);break;case ma:e??x(t,n,r,o);break;case da:ie(e,t,n,r,i,a,o,s,c);break;default:d&1?w(e,t,n,r,i,a,o,s,c):d&6?ae(e,t,n,r,i,a,o,s,c):(d&64||d&128)&&l.process(e,t,n,r,i,a,o,s,c,be)}u!=null&&i?yr(u,e&&e.ref,a,t||e,!t):u==null&&e&&e.ref!=null&&yr(e.ref,null,a,e,!0)},y=(e,t,n,r)=>{if(e==null)o(t.el=u(t.children),n,r);else{let n=t.el=e.el;t.children!==e.children&&f(n,t.children)}},b=(e,t,n,r)=>{e==null?o(t.el=d(t.children||``),n,r):t.el=e.el},x=(e,t,n,r)=>{[e.el,e.anchor]=_(e.children,t,n,r,e.el,e.anchor)},S=({el:e,anchor:t},n,r)=>{let i;for(;e&&e!==t;)i=h(e),o(e,n,r),e=i;o(t,n,r)},C=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=h(e),s(e),e=n;s(t)},w=(e,t,n,r,i,a,o,s,c)=>{if(t.type===`svg`?o=`svg`:t.type===`math`&&(o=`mathml`),e==null)ee(t,n,r,i,a,o,s,c);else{let n=e.el&&e.el._isVueCE?e.el:null;try{n&&n._beginPatch(),ne(e,t,i,a,o,s,c)}finally{n&&n._endPatch()}}},ee=(e,t,n,r,i,a,s,u)=>{let d,f,{props:m,shapeFlag:h,transition:g,dirs:_}=e;if(d=e.el=l(e.type,a,m&&m.is,m),h&8?p(d,e.children):h&16&&E(e.children,d,null,r,i,ta(e,a),s,u),_&&In(e,null,r,`created`),te(d,e,e.scopeId,s,r),m){for(let e in m)e!==`value`&&!T(e)&&c(d,e,null,m[e],a,r);`value`in m&&c(d,`value`,null,m.value,a),(f=m.onVnodeBeforeMount)&&Ma(f,r,e)}_&&In(e,null,r,`beforeMount`);let v=ra(i,g);v&&g.beforeEnter(d),o(d,t,n),((f=m&&m.onVnodeMounted)||v||_)&&Qi(()=>{try{f&&Ma(f,r,e),v&&g.enter(d),_&&In(e,null,r,`mounted`)}finally{}},i)},te=(e,t,n,r,i)=>{if(n&&g(e,n),r)for(let t=0;t<r.length;t++)g(e,r[t]);if(i){let n=i.subTree;if(t===n||la(n.type)&&(n.ssContent===t||n.ssFallback===t)){let t=i.vnode;te(e,t,t.scopeId,t.slotScopeIds,i.parent)}}},E=(e,t,n,r,i,a,o,s,c=0)=>{for(let l=c;l<e.length;l++){let c=e[l]=s?ka(e[l]):Oa(e[l]);v(null,c,t,n,r,i,a,o,s)}},ne=(e,n,r,i,a,o,s)=>{let l=n.el=e.el,{patchFlag:u,dynamicChildren:d,dirs:f}=n;u|=e.patchFlag&16;let m=e.props||t,h=n.props||t,g;if(r&&na(r,!1),(g=h.onVnodeBeforeUpdate)&&Ma(g,r,n,e),f&&In(n,e,r,`beforeUpdate`),r&&na(r,!0),d&&(!e.dynamicChildren||e.dynamicChildren.length!==d.length)&&(u=0,s=!1,d=null),(m.innerHTML&&h.innerHTML==null||m.textContent&&h.textContent==null)&&p(l,``),d?D(e.dynamicChildren,d,l,r,i,ta(n,a),o):s||ue(e,n,l,null,r,i,ta(n,a),o,!1),u>0){if(u&16)re(l,m,h,r,a);else if(u&2&&m.class!==h.class&&c(l,`class`,null,h.class,a),u&4&&c(l,`style`,m.style,h.style,a),u&8){let e=n.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t],i=m[n],o=h[n];(o!==i||n===`value`)&&c(l,n,i,o,a,r)}}u&1&&e.children!==n.children&&p(l,n.children)}else!s&&d==null&&re(l,m,h,r,a);((g=h.onVnodeUpdated)||f)&&Qi(()=>{g&&Ma(g,r,n,e),f&&In(n,e,r,`updated`)},i)},D=(e,t,n,r,i,a,o)=>{for(let s=0;s<t.length;s++){let c=e[s],l=t[s],u=c.el&&(c.type===da||!Sa(c,l)||c.shapeFlag&198)?m(c.el):n;v(c,l,u,null,r,i,a,o,!0)}},re=(e,n,r,i,a)=>{if(n!==r){if(n!==t)for(let t in n)!T(t)&&!(t in r)&&c(e,t,n[t],null,a,i);for(let t in r){if(T(t))continue;let o=r[t],s=n[t];o!==s&&t!==`value`&&c(e,t,s,o,a,i)}`value`in r&&c(e,`value`,n.value,r.value,a)}},ie=(e,t,n,r,i,a,s,c,l)=>{let d=t.el=e?e.el:u(``),f=t.anchor=e?e.anchor:u(``),{patchFlag:p,dynamicChildren:m,slotScopeIds:h}=t;h&&(c=c?c.concat(h):h),e==null?(o(d,n,r),o(f,n,r),E(t.children||[],n,f,i,a,s,c,l)):p>0&&p&64&&m&&e.dynamicChildren&&e.dynamicChildren.length===m.length?(D(e.dynamicChildren,m,n,i,a,s,c),(t.key!=null||i&&t===i.subTree)&&ia(e,t,!0)):ue(e,t,n,f,i,a,s,c,l)},ae=(e,t,n,r,i,a,o,s,c)=>{t.slotScopeIds=s,e==null?t.shapeFlag&512?i.ctx.activate(t,n,r,o,c):se(t,n,r,i,a,o,c):O(e,t,c)},se=(e,t,n,r,i,a,o)=>{let s=e.component=Fa(e,r,i);if(Sr(e)&&(s.ctx.renderer=be),Wa(s,!1,o),s.asyncDep){if(i&&i.registerDep(s,k,o),!e.el){let r=s.subTree=G(pa);b(null,r,t,n),e.placeholder=r.el}}else k(s,e,t,n,i,a,o)},O=(e,t,n)=>{let r=t.component=e.component;if(Ai(e,t,n))if(r.asyncDep&&!r.asyncResolved){le(r,t,n);return}else r.next=t,r.update();else t.el=e.el,r.vnode=t},k=(e,t,n,r,i,a,o)=>{let s=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:s,vnode:c}=e;{let n=oa(e);if(n){t&&(t.el=c.el,le(e,t,o)),n.asyncDep.then(()=>{Qi(()=>{e.isUnmounted||l()},i)});return}}let u=t,d;na(e,!1),t?(t.el=c.el,le(e,t,o)):t=c,n&&oe(n),(d=t.props&&t.props.onVnodeBeforeUpdate)&&Ma(d,s,t,c),na(e,!0);let f=Di(e),p=e.subTree;e.subTree=f,v(p,f,m(p.el),_e(p),e,i,a),t.el=f.el,u===null&&Ni(e,f.el),r&&Qi(r,i),(d=t.props&&t.props.onVnodeUpdated)&&Qi(()=>Ma(d,s,t,c),i)}else{let o,{el:s,props:c}=t,{bm:l,m:u,parent:d,root:f,type:p}=e,m=xr(t);if(na(e,!1),l&&oe(l),!m&&(o=c&&c.onVnodeBeforeMount)&&Ma(o,d,t),na(e,!0),s&&xe){let t=()=>{e.subTree=Di(e),xe(s,e.subTree,e,i,null)};m&&p.__asyncHydrate?p.__asyncHydrate(s,e,t):t()}else{f.ce&&f.ce._hasShadowRoot()&&f.ce._injectChildStyle(p,e.parent?e.parent.type:void 0);let o=e.subTree=Di(e);v(null,o,n,r,e,i,a),t.el=o.el}if(u&&Qi(u,i),!m&&(o=c&&c.onVnodeMounted)){let e=t;Qi(()=>Ma(o,d,e),i)}(t.shapeFlag&256||d&&xr(d.vnode)&&d.vnode.shapeFlag&256)&&e.a&&Qi(e.a,i),e.isMounted=!0,t=n=r=null}};e.scope.on();let c=e.effect=new Oe(s);e.scope.off();let l=e.update=c.run.bind(c),u=e.job=c.runIfDirty.bind(c);u.i=e,u.id=e.uid,c.scheduler=()=>Tn(u),na(e,!0),l()},le=(e,t,n)=>{t.component=e;let r=e.vnode.props;e.vnode=t,e.next=null,Ri(e,t.props,r,n),Zi(e,t.children,n),Ue(),On(e),We()},ue=(e,t,n,r,i,a,o,s,c=!1)=>{let l=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:f,shapeFlag:m}=t;if(f>0){if(f&128){fe(l,d,n,r,i,a,o,s,c);return}else if(f&256){de(l,d,n,r,i,a,o,s,c);return}}m&8?(u&16&&ge(l,i,a),d!==l&&p(n,d)):u&16?m&16?fe(l,d,n,r,i,a,o,s,c):ge(l,i,a,!0):(u&8&&p(n,``),m&16&&E(d,n,r,i,a,o,s,c))},de=(e,t,r,i,a,o,s,c,l)=>{e||=n,t||=n;let u=e.length,d=t.length,f=Math.min(u,d),p;for(p=0;p<f;p++){let n=t[p]=l?ka(t[p]):Oa(t[p]);v(e[p],n,r,null,a,o,s,c,l)}u>d?ge(e,a,o,!0,!1,f):E(t,r,i,a,o,s,c,l,f)},fe=(e,t,r,i,a,o,s,c,l)=>{let u=0,d=t.length,f=e.length-1,p=d-1;for(;u<=f&&u<=p;){let n=e[u],i=t[u]=l?ka(t[u]):Oa(t[u]);if(Sa(n,i))v(n,i,r,null,a,o,s,c,l);else break;u++}for(;u<=f&&u<=p;){let n=e[f],i=t[p]=l?ka(t[p]):Oa(t[p]);if(Sa(n,i))v(n,i,r,null,a,o,s,c,l);else break;f--,p--}if(u>f){if(u<=p){let e=p+1,n=e<d?t[e].el:i;for(;u<=p;)v(null,t[u]=l?ka(t[u]):Oa(t[u]),r,n,a,o,s,c,l),u++}}else if(u>p)for(;u<=f;)A(e[u],a,o,!0),u++;else{let m=u,h=u,g=new Map;for(u=h;u<=p;u++){let e=t[u]=l?ka(t[u]):Oa(t[u]);e.key!=null&&g.set(e.key,u)}let _,y=0,b=p-h+1,x=!1,S=0,C=Array(b);for(u=0;u<b;u++)C[u]=0;for(u=m;u<=f;u++){let n=e[u];if(y>=b){A(n,a,o,!0);continue}let i;if(n.key!=null)i=g.get(n.key);else for(_=h;_<=p;_++)if(C[_-h]===0&&Sa(n,t[_])){i=_;break}i===void 0?A(n,a,o,!0):(C[i-h]=u+1,i>=S?S=i:x=!0,v(n,t[i],r,null,a,o,s,c,l),y++)}let w=x?aa(C):n;for(_=w.length-1,u=b-1;u>=0;u--){let e=h+u,n=t[e],f=t[e+1],p=e+1<d?f.el||ca(f):i;C[u]===0?v(null,n,r,p,a,o,s,c,l):x&&(_<0||u!==w[_]?pe(n,r,p,2):_--)}}},pe=(e,t,n,r,i=null)=>{let{el:a,type:c,transition:l,children:u,shapeFlag:d}=e;if(d&6){pe(e.component.subTree,t,n,r);return}if(d&128){e.suspense.move(t,n,r);return}if(d&64){c.move(e,t,n,be);return}if(c===da){o(a,t,n);for(let e=0;e<u.length;e++)pe(u[e],t,n,r);o(e.anchor,t,n);return}if(c===ma){S(e,t,n);return}if(r!==2&&d&1&&l)if(r===0)l.persisted&&!a[sr]?o(a,t,n):(l.beforeEnter(a),o(a,t,n),Qi(()=>l.enter(a),i));else{let{leave:r,delayLeave:i,afterLeave:c}=l,u=()=>{e.ctx.isUnmounted?s(a):o(a,t,n)},d=()=>{let e=a._isLeaving||!!a[sr];a._isLeaving&&a[sr](!0),l.persisted&&!e?u():r(a,()=>{u(),c&&c()})};i?i(a,u,d):d()}else o(a,t,n)},A=(e,t,n,r=!1,i=!1)=>{let{type:a,props:o,ref:s,children:c,dynamicChildren:l,shapeFlag:u,patchFlag:d,dirs:f,cacheIndex:p,memo:m}=e;if(d===-2&&(i=!1),s!=null&&(Ue(),yr(s,null,n,e,!0),We()),p!=null&&(t.renderCache[p]=void 0),u&256){t.ctx.deactivate(e);return}let h=u&1&&f,g=!xr(e),_;if(g&&(_=o&&o.onVnodeBeforeUnmount)&&Ma(_,t,e),u&6)he(e.component,n,r);else{if(u&128){e.suspense.unmount(n,r);return}h&&In(e,null,t,`beforeUnmount`),u&64?e.type.remove(e,t,n,be,r):l&&!l.hasOnce&&(a!==da||d>0&&d&64)?ge(l,t,n,!1,!0):(a===da&&d&384||!i&&u&16)&&ge(c,t,n),r&&j(e)}let v=m!=null&&p==null;(g&&(_=o&&o.onVnodeUnmounted)||h||v)&&Qi(()=>{_&&Ma(_,t,e),h&&In(e,null,t,`unmounted`),v&&(e.el=null)},n)},j=e=>{let{type:t,el:n,anchor:r,transition:i}=e;if(t===da){me(n,r);return}if(t===ma){C(e);return}let a=()=>{s(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(e.shapeFlag&1&&i&&!i.persisted){let{leave:t,delayLeave:r}=i,o=()=>t(n,a);r?r(e.el,a,o):o()}else a()},me=(e,t)=>{let n;for(;e!==t;)n=h(e),s(e),e=n;s(t)},he=(e,t,n)=>{let{bum:r,scope:i,job:a,subTree:o,um:s,m:c,a:l}=e;sa(c),sa(l),r&&oe(r),i.stop(),a&&(a.flags|=8,A(o,e,t,n)),s&&Qi(s,t),Qi(()=>{e.isUnmounted=!0},t)},ge=(e,t,n,r=!1,i=!1,a=0)=>{for(let o=a;o<e.length;o++)A(e[o],t,n,r,i)},_e=e=>{if(e.shapeFlag&6)return _e(e.component.subTree);if(e.shapeFlag&128)return e.suspense.next();let t=h(e.anchor||e.el),n=t&&t[Jn];return n?h(n):t},ve=!1,ye=(e,t,n)=>{let r;e==null?t._vnode&&(A(t._vnode,null,null,!0),r=t._vnode.component):v(t._vnode||null,e,t,null,null,null,n),t._vnode=e,ve||=(ve=!0,On(r),kn(),!1)},be={p:v,um:A,m:pe,r:j,mt:se,mc:E,pc:ue,pbc:D,n:_e,o:e},M,xe;return i&&([M,xe]=i(be)),{render:ye,hydrate:M,createApp:bi(ye,M)}}function ta({type:e,props:t},n){return n===`svg`&&e===`foreignObject`||n===`mathml`&&e===`annotation-xml`&&t&&t.encoding&&t.encoding.includes(`html`)?void 0:n}function na({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ra(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ia(e,t,n=!1){let r=e.children,i=t.children;if(d(r)&&d(i))for(let e=0;e<r.length;e++){let t=r[e],a=i[e];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[e]=ka(i[e]),a.el=t.el),!n&&a.patchFlag!==-2&&ia(t,a)),a.type===fa&&(a.patchFlag===-1&&(a=i[e]=ka(a)),a.el=t.el),a.type===pa&&!a.el&&(a.el=t.el)}}function aa(e){let t=e.slice(),n=[0],r,i,a,o,s,c=e.length;for(r=0;r<c;r++){let c=e[r];if(c!==0){if(i=n[n.length-1],e[i]<c){t[r]=i,n.push(r);continue}for(a=0,o=n.length-1;a<o;)s=a+o>>1,e[n[s]]<c?a=s+1:o=s;c<e[n[a]]&&(a>0&&(t[r]=n[a-1]),n[a]=r)}}for(a=n.length,o=n[a-1];a-->0;)n[a]=o,o=t[o];return n}function oa(e){let t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:oa(t)}function sa(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function ca(e){if(e.placeholder)return e.placeholder;let t=e.component;return t?ca(t.subTree):null}var la=e=>e.__isSuspense;function ua(e,t){t&&t.pendingBranch?d(e)?t.effects.push(...e):t.effects.push(e):Dn(e)}var da=Symbol.for(`v-fgt`),fa=Symbol.for(`v-txt`),pa=Symbol.for(`v-cmt`),ma=Symbol.for(`v-stc`),ha=[],ga=null;function V(e=!1){ha.push(ga=e?null:[])}function _a(){ha.pop(),ga=ha[ha.length-1]||null}var va=1;function ya(e,t=!1){va+=e,e<0&&ga&&t&&(ga.hasOnce=!0)}function ba(e){return e.dynamicChildren=va>0?ga||n:null,_a(),va>0&&ga&&ga.push(e),e}function H(e,t,n,r,i,a){return ba(W(e,t,n,r,i,a,!0))}function U(e,t,n,r,i){return ba(G(e,t,n,r,i,!0))}function xa(e){return e?e.__v_isVNode===!0:!1}function Sa(e,t){return e.type===t.type&&e.key===t.key}var Ca=({key:e})=>e??null,wa=({ref:e,ref_key:t,ref_for:n})=>(typeof e==`number`&&(e=``+e),e==null?null:g(e)||Yt(e)||h(e)?{i:Mn,r:e,k:t,f:!!n}:e);function W(e,t=null,n=null,r=0,i=null,a=e===da?0:1,o=!1,s=!1){let c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ca(t),ref:t&&wa(t),scopeId:Nn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Mn};return s?(Aa(c,n),a&128&&e.normalize(c)):n&&(c.shapeFlag|=g(n)?8:16),va>0&&!o&&ga&&(c.patchFlag>0||a&6)&&c.patchFlag!==32&&ga.push(c),c}var G=Ta;function Ta(e,t=null,n=null,r=0,i=null,a=!1){if((!e||e===Br)&&(e=pa),xa(e)){let r=Da(e,t,!0);return n&&Aa(r,n),va>0&&!a&&ga&&(r.shapeFlag&6?ga[ga.indexOf(e)]=r:ga.push(r)),r.patchFlag=-2,r}if(eo(e)&&(e=e.__vccOpts),t){t=Ea(t);let{class:e,style:n}=t;e&&!g(e)&&(t.class=A(e)),v(n)&&(Wt(n)&&!d(n)&&(n=s({},n)),t.style=le(n))}let o=g(e)?1:la(e)?128:Yn(e)?64:v(e)?4:h(e)?2:0;return W(e,t,n,r,i,o,a,!0)}function Ea(e){return e?Wt(e)||Ii(e)?s({},e):e:null}function Da(e,t,n=!1,r=!1){let{props:i,ref:a,patchFlag:o,children:s,transition:c}=e,l=t?ja(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Ca(l),ref:t&&t.ref?n&&a?d(a)?a.concat(wa(t)):[a,wa(t)]:wa(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==da?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Da(e.ssContent),ssFallback:e.ssFallback&&Da(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&fr(u,c.clone(u)),u}function K(e=` `,t=0){return G(fa,null,e,t)}function q(e=``,t=!1){return t?(V(),U(pa,null,e)):G(pa,null,e)}function Oa(e){return e==null||typeof e==`boolean`?G(pa):d(e)?G(da,null,e.slice()):xa(e)?ka(e):G(fa,null,String(e))}function ka(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Da(e)}function Aa(e,t){let n=0,{shapeFlag:r}=e;if(t==null)t=null;else if(d(t))n=16;else if(typeof t==`object`)if(r&65){let n=t.default;n&&(n._c&&(n._d=!1),Aa(e,n()),n._c&&(n._d=!0));return}else{n=32;let r=t._;!r&&!Ii(t)?t._ctx=Mn:r===3&&Mn&&(Mn.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(h(t)){if(r&65){Aa(e,{default:t});return}t={default:t,_ctx:Mn},n=32}else t=String(t),r&64?(n=16,t=[K(t)]):n=8;e.children=t,e.shapeFlag|=n}function ja(...e){let t={};for(let n=0;n<e.length;n++){let r=e[n];for(let e in r)if(e===`class`)t.class!==r.class&&(t.class=A([t.class,r.class]));else if(e===`style`)t.style=le([t.style,r.style]);else if(a(e)){let n=t[e],i=r[e];i&&n!==i&&!(d(n)&&n.includes(i))?t[e]=n?[].concat(n,i):i:i==null&&n==null&&!o(e)&&(t[e]=i)}else e!==``&&(t[e]=r[e])}return t}function Ma(e,t,n,r=null){pn(e,t,7,[n,r])}var Na=vi(),Pa=0;function Fa(e,n,r){let i=e.type,a=(n?n.appContext:e.appContext)||Na,o={uid:Pa++,vnode:e,type:i,parent:n,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new we(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:n?n.provides:Object.create(a.provides),ids:n?n.ids:[``,0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Hi(i,a),emitsOptions:Ti(i,a),emit:null,emitted:null,propsDefaults:t,inheritAttrs:i.inheritAttrs,ctx:t,data:t,props:t,attrs:t,slots:t,refs:t,setupState:t,setupContext:null,suspense:r,suspenseId:r?r.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=n?n.root:o,o.emit=Ci.bind(null,o),e.ce&&e.ce(o),o}var Ia=null,La=()=>Ia||Mn,Ra,za;{let e=ce(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach(t=>t(e)):r[0](e)}};Ra=t(`__VUE_INSTANCE_SETTERS__`,e=>Ia=e),za=t(`__VUE_SSR_SETTERS__`,e=>Ua=e)}var Ba=e=>{let t=Ia;return Ra(e),e.scope.on(),()=>{e.scope.off(),Ra(t)}},Va=()=>{Ia&&Ia.scope.off(),Ra(null)};function Ha(e){return e.vnode.shapeFlag&4}var Ua=!1;function Wa(e,t=!1,n=!1){t&&za(t);let{props:r,children:i}=e.vnode,a=Ha(e);Li(e,r,a,t),Xi(e,i,n||t);let o=a?Ga(e,t):void 0;return t&&za(!1),o}function Ga(e,t){let n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Zr);let{setup:r}=n;if(r){Ue();let n=e.setupContext=r.length>1?Za(e):null,i=Ba(e),a=fn(r,e,0,[e.props,n]),o=y(a);if(We(),i(),(o||e.sp)&&!xr(e)&&hr(e),o){if(a.then(Va,Va),t)return a.then(n=>{Ka(e,n,t)}).catch(t=>{mn(t,e,0)});e.asyncDep=a}else Ka(e,a,t)}else Ya(e,t)}function Ka(e,t,n){h(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:v(t)&&(e.setupState=en(t)),Ya(e,n)}var qa,Ja;function Ya(e,t,n){let i=e.type;if(!e.render){if(!t&&qa&&!i.render){let t=i.template||ci(e).template;if(t){let{isCustomElement:n,compilerOptions:r}=e.appContext.config,{delimiters:a,compilerOptions:o}=i;i.render=qa(t,s(s({isCustomElement:n,delimiters:a},r),o))}}e.render=i.render||r,Ja&&Ja(e)}{let t=Ba(e);Ue();try{ii(e)}finally{We(),t()}}}var Xa={get(e,t){return $e(e,`get`,``),e[t]}};function Za(e){return{attrs:new Proxy(e.attrs,Xa),slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function Qa(e){return e.exposed?e.exposeProxy||=new Proxy(en(Kt(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Yr)return Yr[n](e)},has(e,t){return t in e||t in Yr}}):e.proxy}function $a(e,t=!0){return h(e)?e.displayName||e.name:e.name||t&&e.__name}function eo(e){return h(e)&&`__vccOpts`in e}var J=(e,t)=>an(e,t,Ua);function to(e,t,n){try{ya(-1);let r=arguments.length;return r===2?v(t)&&!d(t)?xa(t)?G(e,null,[t]):G(e,t):G(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&xa(n)&&(n=[n]),G(e,t,n))}finally{ya(1)}}var no=`3.5.39`,ro=void 0,io=typeof window<`u`&&window.trustedTypes;if(io)try{ro=io.createPolicy(`vue`,{createHTML:e=>e})}catch{}var ao=ro?e=>ro.createHTML(e):e=>e,oo=`http://www.w3.org/2000/svg`,so=`http://www.w3.org/1998/Math/MathML`,co=typeof document<`u`?document:null,lo=co&&co.createElement(`template`),uo={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{let t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{let i=t===`svg`?co.createElementNS(oo,e):t===`mathml`?co.createElementNS(so,e):n?co.createElement(e,{is:n}):co.createElement(e);return e===`select`&&r&&r.multiple!=null&&i.setAttribute(`multiple`,r.multiple),i},createText:e=>co.createTextNode(e),createComment:e=>co.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>co.querySelector(e),setScopeId(e,t){e.setAttribute(t,``)},insertStaticContent(e,t,n,r,i,a){let o=n?n.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===a||!(i=i.nextSibling)););else{lo.innerHTML=ao(r===`svg`?`<svg>${e}</svg>`:r===`mathml`?`<math>${e}</math>`:e);let i=lo.content;if(r===`svg`||r===`mathml`){let e=i.firstChild;for(;e.firstChild;)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},fo=Symbol(`_vtc`);function po(e,t,n){let r=e[fo];r&&(t=(t?[t,...r]:[...r]).join(` `)),t==null?e.removeAttribute(`class`):n?e.setAttribute(`class`,t):e.className=t}var mo=Symbol(`_vod`),ho=Symbol(`_vsh`),go={name:`show`,beforeMount(e,{value:t},{transition:n}){e[mo]=e.style.display===`none`?``:e.style.display,n&&t?n.beforeEnter(e):_o(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),_o(e,!0),r.enter(e)):r.leave(e,()=>{_o(e,!1)}):_o(e,t))},beforeUnmount(e,{value:t}){_o(e,t)}};function _o(e,t){e.style.display=t?e[mo]:`none`,e[ho]=!t}var vo=Symbol(``),yo=/(?:^|;)\s*display\s*:/;function bo(e,t,n){let r=e.style,i=g(n),a=!1;if(n&&!i){if(t)if(g(t))for(let e of t.split(`;`)){let t=e.slice(0,e.indexOf(`:`)).trim();n[t]??So(r,t,``)}else for(let e in t)n[e]??So(r,e,``);for(let i in n){i===`display`&&(a=!0);let o=n[i];o==null?So(r,i,``):Eo(e,i,!g(t)&&t?t[i]:void 0,o)||So(r,i,o)}}else if(i){if(t!==n){let e=r[vo];e&&(n+=`;`+e),r.cssText=n,a=yo.test(n)}}else t&&e.removeAttribute(`style`);mo in e&&(e[mo]=a?r.display:``,e[ho]&&(r.display=`none`))}var xo=/\s*!important$/;function So(e,t,n){if(d(n))n.forEach(n=>So(e,t,n));else if(n??=``,t.startsWith(`--`))e.setProperty(t,n);else{let r=To(e,t);xo.test(n)?e.setProperty(D(r),n.replace(xo,``),`important`):e[r]=n}}var Co=[`Webkit`,`Moz`,`ms`],wo={};function To(e,t){let n=wo[t];if(n)return n;let r=E(t);if(r!==`filter`&&r in e)return wo[t]=r;r=re(r);for(let n=0;n<Co.length;n++){let i=Co[n]+r;if(i in e)return wo[t]=i}return t}function Eo(e,t,n,r){return e.tagName===`TEXTAREA`&&(t===`width`||t===`height`)&&g(r)&&n===r}var Do=`http://www.w3.org/1999/xlink`;function Oo(e,t,n,r,i,a=he(t)){r&&t.startsWith(`xlink:`)?n==null?e.removeAttributeNS(Do,t.slice(6,t.length)):e.setAttributeNS(Do,t,n):n==null||a&&!ge(n)?e.removeAttribute(t):e.setAttribute(t,a?``:_(n)?String(n):n)}function ko(e,t,n,r,i){if(t===`innerHTML`||t===`textContent`){n!=null&&(e[t]=t===`innerHTML`?ao(n):n);return}let a=e.tagName;if(t===`value`&&a!==`PROGRESS`&&!a.includes(`-`)){let r=a===`OPTION`?e.getAttribute(`value`)||``:e.value,i=n==null?e.type===`checkbox`?`on`:``:String(n);(r!==i||!(`_value`in e))&&(e.value=i),n??e.removeAttribute(t),e._value=n;return}let o=!1;if(n===``||n==null){let r=typeof e[t];r===`boolean`?n=ge(n):n==null&&r===`string`?(n=``,o=!0):r===`number`&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(i||t)}function Ao(e,t,n,r){e.addEventListener(t,n,r)}function jo(e,t,n,r){e.removeEventListener(t,n,r)}var Mo=Symbol(`_vei`);function No(e,t,n,r,i=null){let a=e[Mo]||(e[Mo]={}),o=a[t];if(r&&o)o.value=r;else{let[n,s]=Io(t);r?Ao(e,n,a[t]=Bo(r,i),s):o&&(jo(e,n,o,s),a[t]=void 0)}}var Po=/(Once|Passive|Capture)$/,Fo=/^on:?(?:Once|Passive|Capture)$/;function Io(e){let t,n;for(;(n=e.match(Po))&&!Fo.test(e);)t||={},e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===`:`?e.slice(3):D(e.slice(2)),t]}var Lo=0,Ro=Promise.resolve(),zo=()=>Lo||=(Ro.then(()=>Lo=0),Date.now());function Bo(e,t){let n=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=n.attached)return;let r=n.value;if(d(r)){let n=e.stopImmediatePropagation;e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0};let i=r.slice(),a=[e];for(let n=0;n<i.length&&!e._stopped;n++){let e=i[n];e&&pn(e,t,5,a)}}else pn(r,t,5,[e])};return n.value=e,n.attached=zo(),n}var Vo=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Ho=(e,t,n,r,i,s)=>{let c=i===`svg`;t===`class`?po(e,r,c):t===`style`?bo(e,n,r):a(t)?o(t)||No(e,t,n,r,s):(t[0]===`.`?(t=t.slice(1),!0):t[0]===`^`?(t=t.slice(1),!1):Uo(e,t,r,c))?(ko(e,t,r),!e.tagName.includes(`-`)&&(t===`value`||t===`checked`||t===`selected`)&&Oo(e,t,r,c,s,t!==`value`)):e._isVueCE&&(Wo(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!g(r)))?ko(e,E(t),r,s,t):(t===`true-value`?e._trueValue=r:t===`false-value`&&(e._falseValue=r),Oo(e,t,r,c))};function Uo(e,t,n,r){if(r)return!!(t===`innerHTML`||t===`textContent`||t in e&&Vo(t)&&h(n));if(t===`spellcheck`||t===`draggable`||t===`translate`||t===`autocorrect`||t===`sandbox`&&e.tagName===`IFRAME`||t===`form`||t===`list`&&e.tagName===`INPUT`||t===`type`&&e.tagName===`TEXTAREA`)return!1;if(t===`width`||t===`height`){let t=e.tagName;if(t===`IMG`||t===`VIDEO`||t===`CANVAS`||t===`SOURCE`)return!1}return Vo(t)&&g(n)?!1:t in e}function Wo(e,t){let n=e._def.props;if(!n)return!1;let r=E(t);return Array.isArray(n)?n.some(e=>E(e)===r):Object.keys(n).some(e=>E(e)===r)}var Go=e=>{let t=e.props[`onUpdate:modelValue`]||!1;return d(t)?e=>oe(t,e):t};function Ko(e){e.target.composing=!0}function qo(e){let t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event(`input`)))}var Jo=Symbol(`_assign`);function Yo(e,t,n){return t&&(e=e.trim()),n&&(e=O(e)),e}var Xo={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[Jo]=Go(i);let a=r||i.props&&i.props.type===`number`;Ao(e,t?`change`:`input`,t=>{t.target.composing||e[Jo](Yo(e.value,n,a))}),(n||a)&&Ao(e,`change`,()=>{e.value=Yo(e.value,n,a)}),t||(Ao(e,`compositionstart`,Ko),Ao(e,`compositionend`,qo),Ao(e,`change`,qo))},mounted(e,{value:t}){e.value=t??``},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:a}},o){if(e[Jo]=Go(o),e.composing)return;let s=(a||e.type===`number`)&&!/^0\d/.test(e.value)?O(e.value):e.value,c=t??``;if(s===c)return;let l=e.getRootNode();(l instanceof Document||l instanceof ShadowRoot)&&l.activeElement===e&&e.type!==`range`&&(r&&t===n||i&&e.value.trim()===c)||(e.value=c)}},Zo={deep:!0,created(e,t,n){e[Jo]=Go(n),Ao(e,`change`,()=>{let t=e._modelValue,n=ts(e),r=e.checked,i=e[Jo];if(d(t)){let e=ye(t,n),a=e!==-1;if(r&&!a)i(t.concat(n));else if(!r&&a){let n=[...t];n.splice(e,1),i(n)}}else if(p(t)){let e=new Set(t);r?e.add(n):e.delete(n),i(e)}else i(ns(e,r))})},mounted:Qo,beforeUpdate(e,t,n){e[Jo]=Go(n),Qo(e,t,n)}};function Qo(e,{value:t,oldValue:n},r){e._modelValue=t;let i;if(d(t))i=ye(t,r.props.value)>-1;else if(p(t))i=t.has(r.props.value);else{if(t===n)return;i=ve(t,ns(e,!0))}e.checked!==i&&(e.checked=i)}var $o={deep:!0,created(e,{value:t,modifiers:{number:n}},r){let i=p(t);Ao(e,`change`,()=>{let t=Array.prototype.filter.call(e.options,e=>e.selected).map(e=>n?O(ts(e)):ts(e));e[Jo](e.multiple?i?new Set(t):t:t[0]),e._assigning=!0,Cn(()=>{e._assigning=!1})}),e[Jo]=Go(r)},mounted(e,{value:t}){es(e,t)},beforeUpdate(e,t,n){e[Jo]=Go(n)},updated(e,{value:t}){e._assigning||es(e,t)}};function es(e,t){let n=e.multiple,r=d(t);if(!(n&&!r&&!p(t))){for(let i=0,a=e.options.length;i<a;i++){let a=e.options[i],o=ts(a);if(n)if(r){let e=typeof o;e===`string`||e===`number`?a.selected=t.some(e=>String(e)===String(o)):a.selected=ye(t,o)>-1}else a.selected=t.has(o);else if(ve(ts(a),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function ts(e){return`_value`in e?e._value:e.value}function ns(e,t){let n=t?`_trueValue`:`_falseValue`;return n in e?e[n]:t}var rs=[`ctrl`,`shift`,`alt`,`meta`],is={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>`button`in e&&e.button!==0,middle:e=>`button`in e&&e.button!==1,right:e=>`button`in e&&e.button!==2,exact:(e,t)=>rs.some(n=>e[`${n}Key`]&&!t.includes(n))},as=(e,t)=>{if(!e)return e;let n=e._withMods||={},r=t.join(`.`);return n[r]||(n[r]=((n,...r)=>{for(let e=0;e<t.length;e++){let r=is[t[e]];if(r&&r(n,t))return}return e(n,...r)}))},os=s({patchProp:Ho},uo),ss;function cs(){return ss||=$i(os)}var ls=((...e)=>{let t=cs().createApp(...e),{mount:n}=t;return t.mount=e=>{let r=ds(e);if(!r)return;let i=t._component;!h(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent=``);let a=n(r,!1,us(r));return r instanceof Element&&(r.removeAttribute(`v-cloak`),r.setAttribute(`data-v-app`,``)),a},t});function us(e){if(e instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&e instanceof MathMLElement)return`mathml`}function ds(e){return g(e)?document.querySelector(e):e}var fs=(e,t)=>{let n=Array(e.length+t.length);for(let t=0;t<e.length;t++)n[t]=e[t];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},ps=(e,t)=>({classGroupId:e,validator:t}),ms=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),hs=`-`,gs=[],_s=`arbitrary..`,vs=e=>{let t=xs(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith(`[`)&&e.endsWith(`]`))return bs(e);let n=e.split(hs);return ys(n,+(n[0]===``&&n.length>1),t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?fs(i,t):t:i||gs}return n[e]||gs}}},ys=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=ys(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(hs):e.slice(t).join(hs),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(o))return t.classGroupId}},bs=e=>e.slice(1,-1).indexOf(`:`)===-1?void 0:(()=>{let t=e.slice(1,-1),n=t.indexOf(`:`),r=t.slice(0,n);return r?_s+r:void 0})(),xs=e=>{let{theme:t,classGroups:n}=e;return Ss(n,t)},Ss=(e,t)=>{let n=ms();for(let r in e){let i=e[r];Cs(i,n,r,t)}return n},Cs=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];ws(i,t,n,r)}},ws=(e,t,n,r)=>{if(typeof e==`string`){Ts(e,t,n);return}if(typeof e==`function`){Es(e,t,n,r);return}Ds(e,t,n,r)},Ts=(e,t,n)=>{let r=e===``?t:Os(t,e);r.classGroupId=n},Es=(e,t,n,r)=>{if(ks(e)){Cs(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(ps(n,e))},Ds=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];Cs(o,Os(t,a),n,r)}},Os=(e,t)=>{let n=e,r=t.split(hs),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=ms(),n.nextPart.set(t,i)),n=i}return n},ks=e=>`isThemeGetter`in e&&e.isThemeGetter===!0,As=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null),i=(i,a)=>{n[i]=a,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];if(t!==void 0)return t;if((t=r[e])!==void 0)return i(e,t),t},set(e,t){e in n?n[e]=t:i(e,t)}}},js=`!`,Ms=`:`,Ns=[],Ps=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),Fs=e=>{let{prefix:t,experimentalParseClassName:n}=e,r=e=>{let t=[],n=0,r=0,i=0,a,o=e.length;for(let s=0;s<o;s++){let o=e[s];if(n===0&&r===0){if(o===Ms){t.push(e.slice(i,s)),i=s+1;continue}if(o===`/`){a=s;continue}}o===`[`?n++:o===`]`?n--:o===`(`?r++:o===`)`&&r--}let s=t.length===0?e:e.slice(i),c=s,l=!1;s.endsWith(js)?(c=s.slice(0,-1),l=!0):s.startsWith(js)&&(c=s.slice(1),l=!0);let u=a&&a>i?a-i:void 0;return Ps(t,l,c,u)};if(t){let e=t+Ms,n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):Ps(Ns,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r},Is=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{let n=[],r=[];for(let i=0;i<e.length;i++){let a=e[i],o=a[0]===`[`,s=t.has(a);o||s?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(a)):r.push(a)}return r.length>0&&(r.sort(),n.push(...r)),n}},Ls=e=>({cache:As(e.cacheSize),parseClassName:Fs(e),sortModifiers:Is(e),postfixLookupClassGroupIds:Rs(e),...vs(e)}),Rs=e=>{let t=Object.create(null),n=e.postfixLookupClassGroups;if(n)for(let e=0;e<n.length;e++)t[n[e]]=!0;return t},zs=/\s+/,Bs=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a,postfixLookupClassGroupIds:o}=t,s=[],c=e.trim().split(zs),l=``;for(let e=c.length-1;e>=0;--e){let t=c[e],{isExternal:u,modifiers:d,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:m}=n(t);if(u){l=t+(l.length>0?` `+l:l);continue}let h=!!m,g;if(h){g=r(p.substring(0,m));let e=g&&o[g]?r(p):void 0;e&&e!==g&&(g=e,h=!1)}else g=r(p);if(!g){if(!h){l=t+(l.length>0?` `+l:l);continue}if(g=r(p),!g){l=t+(l.length>0?` `+l:l);continue}h=!1}let _=d.length===0?``:d.length===1?d[0]:a(d).join(`:`),v=f?_+js:_,y=v+g;if(s.indexOf(y)>-1)continue;s.push(y);let b=i(g,h);for(let e=0;e<b.length;++e){let t=b[e];s.push(v+t)}l=t+(l.length>0?` `+l:l)}return l},Vs=(...e)=>{let t=0,n,r,i=``;for(;t<e.length;)(n=e[t++])&&(r=Hs(n))&&(i&&(i+=` `),i+=r);return i},Hs=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=Hs(e[r]))&&(n&&(n+=` `),n+=t);return n},Us=(e,...t)=>{let n,r,i,a,o=o=>(n=Ls(t.reduce((e,t)=>t(e),e())),r=n.cache.get,i=n.cache.set,a=s,s(o)),s=e=>{let t=r(e);if(t)return t;let a=Bs(e,n);return i(e,a),a};return a=o,(...e)=>a(Vs(...e))},Ws=[],Gs=e=>{let t=t=>t[e]||Ws;return t.isThemeGetter=!0,t},Ks=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,qs=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Js=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Ys=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Xs=/\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$/,Zs=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Qs=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,$s=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ec=e=>Js.test(e),tc=e=>!!e&&!Number.isNaN(Number(e)),nc=e=>!!e&&Number.isInteger(Number(e)),rc=e=>e.endsWith(`%`)&&tc(e.slice(0,-1)),ic=e=>Ys.test(e),ac=()=>!0,oc=e=>Xs.test(e)&&!Zs.test(e),sc=()=>!1,cc=e=>Qs.test(e),lc=e=>$s.test(e),uc=e=>!Y(e)&&!X(e),dc=e=>e.startsWith(`@container`)&&(e[10]===`/`&&e[11]!==void 0||e[11]===`s`&&e[16]!==void 0&&e.startsWith(`-size/`,10)||e[11]===`n`&&e[18]!==void 0&&e.startsWith(`-normal/`,10)),fc=e=>Dc(e,jc,sc),Y=e=>Ks.test(e),pc=e=>Dc(e,Mc,oc),mc=e=>Dc(e,Nc,tc),hc=e=>Dc(e,Fc,ac),gc=e=>Dc(e,Pc,sc),_c=e=>Dc(e,kc,sc),vc=e=>Dc(e,Ac,lc),yc=e=>Dc(e,Ic,cc),X=e=>qs.test(e),bc=e=>Oc(e,Mc),xc=e=>Oc(e,Pc),Sc=e=>Oc(e,kc),Cc=e=>Oc(e,jc),wc=e=>Oc(e,Ac),Tc=e=>Oc(e,Ic,!0),Ec=e=>Oc(e,Fc,!0),Dc=(e,t,n)=>{let r=Ks.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Oc=(e,t,n=!1)=>{let r=qs.exec(e);return r?r[1]?t(r[1]):n:!1},kc=e=>e===`position`||e===`percentage`,Ac=e=>e===`image`||e===`url`,jc=e=>e===`length`||e===`size`||e===`bg-size`,Mc=e=>e===`length`,Nc=e=>e===`number`,Pc=e=>e===`family-name`,Fc=e=>e===`number`||e===`weight`,Ic=e=>e===`shadow`,Lc=Us(()=>{let e=Gs(`color`),t=Gs(`font`),n=Gs(`text`),r=Gs(`font-weight`),i=Gs(`tracking`),a=Gs(`leading`),o=Gs(`breakpoint`),s=Gs(`container`),c=Gs(`spacing`),l=Gs(`radius`),u=Gs(`shadow`),d=Gs(`inset-shadow`),f=Gs(`text-shadow`),p=Gs(`drop-shadow`),m=Gs(`blur`),h=Gs(`perspective`),g=Gs(`aspect`),_=Gs(`ease`),v=Gs(`animate`),y=()=>[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`],b=()=>[`center`,`top`,`bottom`,`left`,`right`,`top-left`,`left-top`,`top-right`,`right-top`,`bottom-right`,`right-bottom`,`bottom-left`,`left-bottom`],x=()=>[...b(),X,Y],S=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],C=()=>[`auto`,`contain`,`none`],w=()=>[X,Y,c],T=()=>[ec,`full`,`auto`,...w()],ee=()=>[nc,`none`,`subgrid`,X,Y],te=()=>[`auto`,{span:[`full`,nc,X,Y]},nc,X,Y],E=()=>[nc,`auto`,X,Y],ne=()=>[`auto`,`min`,`max`,`fr`,X,Y],D=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],re=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],ie=()=>[`auto`,...w()],ae=()=>[ec,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...w()],oe=()=>[ec,`screen`,`full`,`dvw`,`lvw`,`svw`,`min`,`max`,`fit`,...w()],se=()=>[ec,`screen`,`full`,`lh`,`dvh`,`lvh`,`svh`,`min`,`max`,`fit`,...w()],O=()=>[e,X,Y],k=()=>[...b(),Sc,_c,{position:[X,Y]}],ce=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],le=()=>[`auto`,`cover`,`contain`,Cc,fc,{size:[X,Y]}],ue=()=>[rc,bc,pc],de=()=>[``,`none`,`full`,l,X,Y],fe=()=>[``,tc,bc,pc],pe=()=>[`solid`,`dashed`,`dotted`,`double`],A=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],j=()=>[tc,rc,Sc,_c],me=()=>[``,`none`,m,X,Y],he=()=>[`none`,tc,X,Y],ge=()=>[`none`,tc,X,Y],_e=()=>[tc,X,Y],ve=()=>[ec,`full`,...w()];return{cacheSize:500,theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[ic],breakpoint:[ic],color:[ac],container:[ic],"drop-shadow":[ic],ease:[`in`,`out`,`in-out`],font:[uc],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[ic],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[ic],shadow:[ic],spacing:[`px`,tc],text:[ic],"text-shadow":[ic],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,ec,Y,X,g]}],container:[`container`],"container-type":[{"@container":[``,`normal`,`size`,X,Y]}],"container-named":[dc],columns:[{columns:[tc,Y,X,s]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"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`],sr:[`sr-only`,`not-sr-only`],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:x()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{"inset-s":T(),start:T()}],end:[{"inset-e":T(),end:T()}],"inset-bs":[{"inset-bs":T()}],"inset-be":[{"inset-be":T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[nc,`auto`,X,Y]}],basis:[{basis:[ec,`full`,`auto`,s,...w()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[tc,ec,`auto`,`initial`,`none`,Y]}],grow:[{grow:[``,tc,X,Y]}],shrink:[{shrink:[``,tc,X,Y]}],order:[{order:[nc,`first`,`last`,`none`,X,Y]}],"grid-cols":[{"grid-cols":ee()}],"col-start-end":[{col:te()}],"col-start":[{"col-start":E()}],"col-end":[{"col-end":E()}],"grid-rows":[{"grid-rows":ee()}],"row-start-end":[{row:te()}],"row-start":[{"row-start":E()}],"row-end":[{"row-end":E()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":ne()}],"auto-rows":[{"auto-rows":ne()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:[...D(),`normal`]}],"justify-items":[{"justify-items":[...re(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...re()]}],"align-content":[{content:[`normal`,...D()]}],"align-items":[{items:[...re(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...re(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":D()}],"place-items":[{"place-items":[...re(),`baseline`]}],"place-self":[{"place-self":[`auto`,...re()]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pbs:[{pbs:w()}],pbe:[{pbe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:ie()}],mx:[{mx:ie()}],my:[{my:ie()}],ms:[{ms:ie()}],me:[{me:ie()}],mbs:[{mbs:ie()}],mbe:[{mbe:ie()}],mt:[{mt:ie()}],mr:[{mr:ie()}],mb:[{mb:ie()}],ml:[{ml:ie()}],"space-x":[{"space-x":w()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":w()}],"space-y-reverse":[`space-y-reverse`],size:[{size:ae()}],"inline-size":[{inline:[`auto`,...oe()]}],"min-inline-size":[{"min-inline":[`auto`,...oe()]}],"max-inline-size":[{"max-inline":[`none`,...oe()]}],"block-size":[{block:[`auto`,...se()]}],"min-block-size":[{"min-block":[`auto`,...se()]}],"max-block-size":[{"max-block":[`none`,...se()]}],w:[{w:[s,`screen`,...ae()]}],"min-w":[{"min-w":[s,`screen`,`none`,...ae()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...ae()]}],h:[{h:[`screen`,`lh`,...ae()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...ae()]}],"max-h":[{"max-h":[`screen`,`lh`,...ae()]}],"font-size":[{text:[`base`,n,bc,pc]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,Ec,hc]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,rc,Y]}],"font-family":[{font:[xc,gc,t]}],"font-features":[{"font-features":[Y]}],"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-fractions`],tracking:[{tracking:[i,X,Y]}],"line-clamp":[{"line-clamp":[tc,`none`,X,mc]}],leading:[{leading:[a,...w()]}],"list-image":[{"list-image":[`none`,X,Y]}],"list-style-position":[{list:[`inside`,`outside`]}],"list-style-type":[{list:[`disc`,`decimal`,`none`,X,Y]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"placeholder-color":[{placeholder:O()}],"text-color":[{text:O()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...pe(),`wavy`]}],"text-decoration-thickness":[{decoration:[tc,`from-font`,`auto`,X,pc]}],"text-decoration-color":[{decoration:O()}],"underline-offset":[{"underline-offset":[tc,`auto`,X,Y]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:w()}],"tab-size":[{tab:[nc,X,Y]}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,X,Y]}],whitespace:[{whitespace:[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`]}],break:[{break:[`normal`,`words`,`all`,`keep`]}],wrap:[{wrap:[`break-word`,`anywhere`,`normal`]}],hyphens:[{hyphens:[`none`,`manual`,`auto`]}],content:[{content:[`none`,X,Y]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:k()}],"bg-repeat":[{bg:ce()}],"bg-size":[{bg:le()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},nc,X,Y],radial:[``,X,Y],conic:[nc,X,Y]},wc,vc]}],"bg-color":[{bg:O()}],"gradient-from-pos":[{from:ue()}],"gradient-via-pos":[{via:ue()}],"gradient-to-pos":[{to:ue()}],"gradient-from":[{from:O()}],"gradient-via":[{via:O()}],"gradient-to":[{to:O()}],rounded:[{rounded:de()}],"rounded-s":[{"rounded-s":de()}],"rounded-e":[{"rounded-e":de()}],"rounded-t":[{"rounded-t":de()}],"rounded-r":[{"rounded-r":de()}],"rounded-b":[{"rounded-b":de()}],"rounded-l":[{"rounded-l":de()}],"rounded-ss":[{"rounded-ss":de()}],"rounded-se":[{"rounded-se":de()}],"rounded-ee":[{"rounded-ee":de()}],"rounded-es":[{"rounded-es":de()}],"rounded-tl":[{"rounded-tl":de()}],"rounded-tr":[{"rounded-tr":de()}],"rounded-br":[{"rounded-br":de()}],"rounded-bl":[{"rounded-bl":de()}],"border-w":[{border:fe()}],"border-w-x":[{"border-x":fe()}],"border-w-y":[{"border-y":fe()}],"border-w-s":[{"border-s":fe()}],"border-w-e":[{"border-e":fe()}],"border-w-bs":[{"border-bs":fe()}],"border-w-be":[{"border-be":fe()}],"border-w-t":[{"border-t":fe()}],"border-w-r":[{"border-r":fe()}],"border-w-b":[{"border-b":fe()}],"border-w-l":[{"border-l":fe()}],"divide-x":[{"divide-x":fe()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":fe()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[...pe(),`hidden`,`none`]}],"divide-style":[{divide:[...pe(),`hidden`,`none`]}],"border-color":[{border:O()}],"border-color-x":[{"border-x":O()}],"border-color-y":[{"border-y":O()}],"border-color-s":[{"border-s":O()}],"border-color-e":[{"border-e":O()}],"border-color-bs":[{"border-bs":O()}],"border-color-be":[{"border-be":O()}],"border-color-t":[{"border-t":O()}],"border-color-r":[{"border-r":O()}],"border-color-b":[{"border-b":O()}],"border-color-l":[{"border-l":O()}],"divide-color":[{divide:O()}],"outline-style":[{outline:[...pe(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[tc,X,Y]}],"outline-w":[{outline:[``,tc,bc,pc]}],"outline-color":[{outline:O()}],shadow:[{shadow:[``,`none`,u,Tc,yc]}],"shadow-color":[{shadow:O()}],"inset-shadow":[{"inset-shadow":[`none`,d,Tc,yc]}],"inset-shadow-color":[{"inset-shadow":O()}],"ring-w":[{ring:fe()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:O()}],"ring-offset-w":[{"ring-offset":[tc,pc]}],"ring-offset-color":[{"ring-offset":O()}],"inset-ring-w":[{"inset-ring":fe()}],"inset-ring-color":[{"inset-ring":O()}],"text-shadow":[{"text-shadow":[`none`,f,Tc,yc]}],"text-shadow-color":[{"text-shadow":O()}],opacity:[{opacity:[tc,X,Y]}],"mix-blend":[{"mix-blend":[...A(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":A()}],"mask-clip":[{"mask-clip":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]},`mask-no-clip`],"mask-composite":[{mask:[`add`,`subtract`,`intersect`,`exclude`]}],"mask-image-linear-pos":[{"mask-linear":[tc]}],"mask-image-linear-from-pos":[{"mask-linear-from":j()}],"mask-image-linear-to-pos":[{"mask-linear-to":j()}],"mask-image-linear-from-color":[{"mask-linear-from":O()}],"mask-image-linear-to-color":[{"mask-linear-to":O()}],"mask-image-t-from-pos":[{"mask-t-from":j()}],"mask-image-t-to-pos":[{"mask-t-to":j()}],"mask-image-t-from-color":[{"mask-t-from":O()}],"mask-image-t-to-color":[{"mask-t-to":O()}],"mask-image-r-from-pos":[{"mask-r-from":j()}],"mask-image-r-to-pos":[{"mask-r-to":j()}],"mask-image-r-from-color":[{"mask-r-from":O()}],"mask-image-r-to-color":[{"mask-r-to":O()}],"mask-image-b-from-pos":[{"mask-b-from":j()}],"mask-image-b-to-pos":[{"mask-b-to":j()}],"mask-image-b-from-color":[{"mask-b-from":O()}],"mask-image-b-to-color":[{"mask-b-to":O()}],"mask-image-l-from-pos":[{"mask-l-from":j()}],"mask-image-l-to-pos":[{"mask-l-to":j()}],"mask-image-l-from-color":[{"mask-l-from":O()}],"mask-image-l-to-color":[{"mask-l-to":O()}],"mask-image-x-from-pos":[{"mask-x-from":j()}],"mask-image-x-to-pos":[{"mask-x-to":j()}],"mask-image-x-from-color":[{"mask-x-from":O()}],"mask-image-x-to-color":[{"mask-x-to":O()}],"mask-image-y-from-pos":[{"mask-y-from":j()}],"mask-image-y-to-pos":[{"mask-y-to":j()}],"mask-image-y-from-color":[{"mask-y-from":O()}],"mask-image-y-to-color":[{"mask-y-to":O()}],"mask-image-radial":[{"mask-radial":[X,Y]}],"mask-image-radial-from-pos":[{"mask-radial-from":j()}],"mask-image-radial-to-pos":[{"mask-radial-to":j()}],"mask-image-radial-from-color":[{"mask-radial-from":O()}],"mask-image-radial-to-color":[{"mask-radial-to":O()}],"mask-image-radial-shape":[{"mask-radial":[`circle`,`ellipse`]}],"mask-image-radial-size":[{"mask-radial":[{closest:[`side`,`corner`],farthest:[`side`,`corner`]}]}],"mask-image-radial-pos":[{"mask-radial-at":b()}],"mask-image-conic-pos":[{"mask-conic":[tc]}],"mask-image-conic-from-pos":[{"mask-conic-from":j()}],"mask-image-conic-to-pos":[{"mask-conic-to":j()}],"mask-image-conic-from-color":[{"mask-conic-from":O()}],"mask-image-conic-to-color":[{"mask-conic-to":O()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:k()}],"mask-repeat":[{mask:ce()}],"mask-size":[{mask:le()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,X,Y]}],filter:[{filter:[``,`none`,X,Y]}],blur:[{blur:me()}],brightness:[{brightness:[tc,X,Y]}],contrast:[{contrast:[tc,X,Y]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,Tc,yc]}],"drop-shadow-color":[{"drop-shadow":O()}],grayscale:[{grayscale:[``,tc,X,Y]}],"hue-rotate":[{"hue-rotate":[tc,X,Y]}],invert:[{invert:[``,tc,X,Y]}],saturate:[{saturate:[tc,X,Y]}],sepia:[{sepia:[``,tc,X,Y]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,X,Y]}],"backdrop-blur":[{"backdrop-blur":me()}],"backdrop-brightness":[{"backdrop-brightness":[tc,X,Y]}],"backdrop-contrast":[{"backdrop-contrast":[tc,X,Y]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,tc,X,Y]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[tc,X,Y]}],"backdrop-invert":[{"backdrop-invert":[``,tc,X,Y]}],"backdrop-opacity":[{"backdrop-opacity":[tc,X,Y]}],"backdrop-saturate":[{"backdrop-saturate":[tc,X,Y]}],"backdrop-sepia":[{"backdrop-sepia":[``,tc,X,Y]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[``,`all`,`colors`,`opacity`,`shadow`,`transform`,`none`,X,Y]}],"transition-behavior":[{transition:[`normal`,`discrete`]}],duration:[{duration:[tc,`initial`,X,Y]}],ease:[{ease:[`linear`,`initial`,_,X,Y]}],delay:[{delay:[tc,X,Y]}],animate:[{animate:[`none`,v,X,Y]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,X,Y]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:he()}],"rotate-x":[{"rotate-x":he()}],"rotate-y":[{"rotate-y":he()}],"rotate-z":[{"rotate-z":he()}],scale:[{scale:ge()}],"scale-x":[{"scale-x":ge()}],"scale-y":[{"scale-y":ge()}],"scale-z":[{"scale-z":ge()}],"scale-3d":[`scale-3d`],skew:[{skew:_e()}],"skew-x":[{"skew-x":_e()}],"skew-y":[{"skew-y":_e()}],transform:[{transform:[X,Y,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:ve()}],"translate-x":[{"translate-x":ve()}],"translate-y":[{"translate-y":ve()}],"translate-z":[{"translate-z":ve()}],"translate-none":[`translate-none`],zoom:[{zoom:[nc,X,Y]}],accent:[{accent:O()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:O()}],"color-scheme":[{scheme:[`normal`,`dark`,`light`,`light-dark`,`only-dark`,`only-light`]}],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`,X,Y]}],"field-sizing":[{"field-sizing":[`fixed`,`content`]}],"pointer-events":[{"pointer-events":[`auto`,`none`]}],resize:[{resize:[`none`,``,`y`,`x`]}],"scroll-behavior":[{scroll:[`auto`,`smooth`]}],"scrollbar-thumb-color":[{"scrollbar-thumb":O()}],"scrollbar-track-color":[{"scrollbar-track":O()}],"scrollbar-gutter":[{"scrollbar-gutter":[`auto`,`stable`,`both`]}],"scrollbar-w":[{scrollbar:[`auto`,`thin`,`none`]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mbs":[{"scroll-mbs":w()}],"scroll-mbe":[{"scroll-mbe":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pbs":[{"scroll-pbs":w()}],"scroll-pbe":[{"scroll-pbe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"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`,X,Y]}],fill:[{fill:[`none`,...O()]}],"stroke-w":[{stroke:[tc,bc,pc,mc]}],stroke:[{stroke:[`none`,...O()]}],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{"container-named":[`container-type`],overflow:[`overflow-x`,`overflow-y`],overscroll:[`overscroll-x`,`overscroll-y`],inset:[`inset-x`,`inset-y`,`inset-bs`,`inset-be`,`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`,`pbs`,`pbe`,`pt`,`pr`,`pb`,`pl`],px:[`pr`,`pl`],py:[`pt`,`pb`],m:[`mx`,`my`,`ms`,`me`,`mbs`,`mbe`,`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-x`,`border-w-y`,`border-w-s`,`border-w-e`,`border-w-bs`,`border-w-be`,`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-x`,`border-color-y`,`border-color-s`,`border-color-e`,`border-color-bs`,`border-color-be`,`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`],translate:[`translate-x`,`translate-y`,`translate-none`],"translate-none":[`translate`,`translate-x`,`translate-y`,`translate-z`],"scroll-m":[`scroll-mx`,`scroll-my`,`scroll-ms`,`scroll-me`,`scroll-mbs`,`scroll-mbe`,`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-pbs`,`scroll-pbe`,`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`]},postfixLookupClassGroups:[`container-type`],orderSensitiveModifiers:[`*`,`**`,`after`,`backdrop`,`before`,`details-content`,`file`,`first-letter`,`first-line`,`marker`,`placeholder`,`selection`]}}),Rc=Symbol.for(`@soybeanjs/cva.metadata`),zc=[];function Bc(e,t){return Object.defineProperty(e,Rc,{configurable:!1,enumerable:!1,value:t,writable:!1}),e}function Vc(){return zc[zc.length-1]}function Hc(e,t){zc.push(e);try{return t()}finally{zc.pop()}}function Uc(e){if(typeof e==`function`)return e[Rc]}function Wc(e){let t=Uc(e);return t?.kind===`cv`?t:void 0}function Gc(e){let t=Uc(e);return t?.kind===`scv`?t:void 0}function Kc(e,t){return t[e]??e}function qc(e,t,n){if(n.length===0)return;let r=e[t];if(r){r.push(...n);return}e[t]=[...n]}function Jc(e,t){let n={};for(let[r,i]of Object.entries(e))qc(n,Kc(r,t),i);return n}function Yc(e,t,n,r){let i=t.indexOf(n);i>=0&&t.splice(i,1),t.push(n),e[n]=r}function Xc(e,t,n){let r=[],i={};for(let a of e)Yc(i,r,Kc(a,n),t[a]);return{slotOrder:r,slotPlan:i}}function Zc(e,t){let n=Xc(e.slotOrder,e.slotPlan,t);return{inheritedShared:Jc(e.inheritedShared,t),inheritedUnique:Jc(e.inheritedUnique,t),localShared:Jc(e.localShared,t),localUnique:Jc(e.localUnique,t),slotOrder:n.slotOrder,slotPlan:n.slotPlan}}function Qc(e,t){let n={};for(let[r,i]of Object.entries(e))n[Kc(r,t)]=i;return n}function $c(e){let t={};for(let[n,r]of Object.entries(e))t[r]=n;return t}function el(e,t){let n={};for(let[r,i]of Object.entries(e))n[Kc(r,t)]=i;return n}function tl(e,t){let n=Gc(e);if(!n)throw TypeError(`alias only accepts scv results.`);let r=Object.fromEntries(Object.entries(t).filter(e=>typeof e[1]==`string`)),i=$c(r),a=Xc(n.slotOrder,n.slotPlan,r);return Bc((t,...n)=>Qc(e(t,...n.filter(Boolean).map(e=>el(e,i))),r),{...n,resolveRaw:e=>Zc(n.resolveRaw(e),r),slotOrder:a.slotOrder,slotPlan:a.slotPlan})}function nl(e){if(typeof e==`string`)return e;if(typeof e==`number`)return String(e);if(e==null||typeof e==`boolean`)return``;let t=``;if(Array.isArray(e)){let n=0,r,i;for(;n<e.length;n++)(r=e[n])&&(i=nl(r))&&(t&&(t+=` `),t+=i);return t}for(let n in e)e[n]&&(t&&(t+=` `),t+=n);return t}function rl(...e){let t=``,n=0,r,i;for(;n<e.length;n++)(r=e[n])&&(i=nl(r))&&(t&&(t+=` `),t+=i);return t}function il(e){return e.length===0?``:Lc(rl(...e))}function al(e,t){return Object.fromEntries(Object.entries(e??{}).map(([e,n])=>[e,Object.fromEntries(Object.entries(n).map(([e,n])=>[e,t(n)]))]))}function ol(e){if(e!=null){if(typeof e==`boolean`)return e?`true`:`false`;if(typeof e==`number`||typeof e==`string`)return String(e)}}function sl(e){let t={};for(let[n,r]of Object.entries(e??{})){let e=ol(r);e!==void 0&&(t[n]=e)}return t}function cl(e){let t={};for(let[n,r]of Object.entries(e??{}))ol(r)!==void 0&&(t[n]=r);return t}function ll(e){let t={};for(let[n,r]of Object.entries(e)){if(n===`class`||n===`className`)continue;let e=Array.isArray(r)?r.map(e=>ol(e)).filter(e=>e!==void 0):[ol(r)].filter(e=>e!==void 0);e.length>0&&(t[n]=e)}return t}function ul(e,t){let n={...t};if(!e)return n;for(let[t,r]of Object.entries(e)){let e=ol(r);e!==void 0&&(n[t]=e)}return n}function dl(e,t,n){let r={...t};for(let[t,n]of Object.entries(e??{}))n!=null&&(r[t]=n);for(let[e,t]of Object.entries(n))e in r||(r[e]=t);return r}function fl(e,t){for(let[n,r]of Object.entries(t)){let t=e[n];if(!t||!r.includes(t))return!1}return!0}function pl(e,t){let n={};for(let t of e)for(let[e,r]of Object.entries(t.defaultVariants))n[e]=r;for(let[e,r]of Object.entries(sl(t)))n[e]=r;return n}function ml(e,t){let n={};for(let t of e)for(let[e,r]of Object.entries(t.runtimeDefaultVariants))n[e]=r;for(let[e,r]of Object.entries(cl(t)))n[e]=r;return n}function hl(e){let t=[];for(let n of e??[]){let e=Wc(n);if(!e)throw TypeError(`cv.extend only accepts cv results.`);t.push(e)}return t}function gl(e){let t=e.extend,n=hl(t),r=rl(e.base),i=e.extendBase,a=pl(n,e.defaultVariants),o=ml(n,e.defaultVariants),s=al(e.variants,e=>rl(e)),c=(e.compoundVariants??[]).map(e=>({className:rl(e.class??e.className),conditions:ll(e)})),l={config:e,defaultVariants:a,runtimeDefaultVariants:o,kind:`cv`,resolveRaw:e=>{let t=ul(e,a),l=dl(e,o,t),u=[];for(let e of n)u.push(...e.resolveRaw(l));let d=Hc(l,()=>rl(i?.(l)));d&&u.push(d),r&&u.push(r);for(let[e,n]of Object.entries(s)){let r=t[e];if(!r)continue;let i=n[r];i&&u.push(i)}for(let e of c)fl(t,e.conditions)&&e.className&&u.push(e.className);return u}};return Bc((e,...t)=>{let n=e??Vc(),r=l.resolveRaw(n);if(t.length===0)return rl(r);let i=[...r];for(let e of t){let t=rl(e);t&&i.push(t)}return il(i)},l)}function _l(e,t){let n={...e};for(let[e,r]of Object.entries(t??{}))r!=null&&(n[e]=r);return n}function vl(e,t){let n=_l(void 0,t);return _l(n,e(n))}function yl(e,t,n){return Bc((t,...r)=>e(vl(n,t??Vc()),...r),{...t,resolveRaw:e=>t.resolveRaw(vl(n,e))})}function bl(e,t,n){return Bc((t,...r)=>e(vl(n,t??Vc()),...r),{...t,resolveRaw:e=>t.resolveRaw(vl(n,e))})}function xl(e,t){let n=Wc(e);if(n)return yl(e,n,t);let r=Gc(e);if(r)return bl(e,r,t);throw TypeError(`derive only accepts cv or scv results.`)}function Sl(e,t,n){if(n.length===0)return;let r=e[t];if(r){r.push(...n);return}e[t]=[...n]}function Cl(e,t,n,r){let i=t.indexOf(n);i>=0&&t.splice(i,1),t.push(n),e[n]=r}function wl(e){let t=[],n={};for(let r of e)if(r.kind===`scv`)for(let e of r.meta.slotOrder)Cl(n,t,e,r.meta.slotPlan[e]);return{slotOrder:t,slotPlan:n}}function Tl(e,t,n){let{slotOrder:r,slotPlan:i}=wl(t),a=[...e];for(let e of n)a.includes(e)||a.push(e);a.length===0&&r.length===0&&t.some(e=>e.kind===`cv`)&&a.push(`root`);let o={},s=[];for(let e of a)s.push(e),o[e]={};let c=[],l={};for(let e of r)c.push(e),l[e]=i[e];for(let e of s)Cl(l,c,e,o[e]);return c.length===0&&(c.push(`root`),l.root={}),{slotOrder:c,slotPlan:l}}function El(e,t){return{inheritedShared:{},inheritedUnique:{},localShared:{},localUnique:{},slotOrder:e,slotPlan:t}}function Dl(e,t){for(let[n,r]of Object.entries(t.inheritedShared))Sl(e.inheritedShared,n,r);for(let[n,r]of Object.entries(t.localShared))Sl(e.inheritedShared,n,r);for(let[n,r]of Object.entries(t.inheritedUnique))n in e.slotPlan&&Sl(e.inheritedUnique,n,r);for(let[n,r]of Object.entries(t.localUnique))n in e.slotPlan&&Sl(e.inheritedUnique,n,r)}function Ol(e,t,n){Sl(e,t,n)}function kl(e){let t={};for(let[n,r]of Object.entries(e??{})){let e=rl(r);e&&(t[n]=[e])}return{slots:t}}function Al(e,t,n){let r=n===`inherited`?e.inheritedShared:e.localShared;for(let[n,i]of Object.entries(t.slots))n in e.slotPlan&&Ol(r,n,i)}function jl(e,t){let n={};for(let t of e){let e=t.meta.defaultVariants;for(let[t,r]of Object.entries(e))n[t]=r}for(let[e,r]of Object.entries(sl(t)))n[e]=r;return n}function Ml(e,t){let n={};for(let t of e){let e=t.meta.runtimeDefaultVariants;for(let[t,r]of Object.entries(e))n[t]=r}for(let[e,r]of Object.entries(cl(t)))n[e]=r;return n}function Nl(e){let t=[];for(let n of e??[]){let e=Gc(n);if(e){t.push({kind:`scv`,meta:e});continue}if(Wc(n))throw TypeError(`scv.extend does not accept cv results directly. Map them to a slot key, for example { root: recipe }.`);for(let[e,r]of Object.entries(n)){let n=Wc(r);n&&t.push({kind:`cv`,meta:n,slot:e})}}return t}function Pl(e){let t=[];for(let n of e??[])if(!Gc(n)){if(Wc(n))throw TypeError(`scv.extend does not accept cv results directly. Map them to a slot key, for example { root: recipe }.`);for(let e of Object.keys(n))t.includes(e)||t.push(e)}return t}function Fl(e,t){let n={};if(!e)return n;for(let r of e)if(r)for(let[e,i]of Object.entries(r)){if(!(e in t))continue;let r=n[e]??[];r.push(rl(i)),n[e]=r}return n}function Il(e){return Object.keys(e??{})}function Z(e){let t=e.extend,n=Il(e.slots),r=e.extendBase,i=Pl(t),{slotOrder:a,slotPlan:o}=Tl(n,Nl(t),i),s=new Set(e.extendIgnore??[]),c=kl(e.slots),l=al(e.variants,e=>kl(e)),u=(e.compoundVariants??[]).map(e=>({classParts:kl(e.class??e.className),conditions:ll(e)})),d=Nl(t),f=jl(d,e.defaultVariants),p=Ml(d,e.defaultVariants),m={config:e,defaultVariants:f,runtimeDefaultVariants:p,kind:`scv`,preparedExtends:d,resolveRaw:e=>{let t=El(a,o),n=ul(e,f),i=dl(e,p,n);for(let e of d){if(e.kind===`scv`){Dl(t,e.meta.resolveRaw(i));continue}let n=e.meta.resolveRaw(i);Ol(t.inheritedShared,e.slot,n)}Al(t,Hc(i,()=>kl(r?.(i))),`local`),Al(t,c,`local`);for(let[e,r]of Object.entries(l)){let i=n[e];if(!i)continue;let a=r[i];a&&Al(t,a,`local`)}for(let e of u)fl(n,e.conditions)&&Al(t,e.classParts,`local`);for(let e of a){let n=s.has(e)?[]:[...t.inheritedShared[e]??[]],r=[...t.localShared[e]??[]];t.localUnique[e]=[...n,...r],s.has(e)&&(delete t.inheritedShared[e],delete t.inheritedUnique[e])}return t},slotOrder:a,slotPlan:o};return Bc((e,...t)=>{let n=e??Vc(),r=m.resolveRaw(n),i=t.length===0?void 0:Fl(t,r.slotPlan),a=r.slotOrder.map(e=>{let t=r.localUnique[e]??[],n=i?[...t,...i[e]??[]]:t;return[e,i?il(n):rl(n)]});return Object.fromEntries(a)},m)}function Ll(e,t){let n={...e};for(let[e,r]of Object.entries(t??{}))r!=null&&(n[e]=r);return n}function Rl(e,t){return{...e,...sl(t)}}function zl(e,t){return{...e,...cl(t)}}function Bl(e,t,n){let r=Rl(t.defaultVariants,n),i=zl(t.runtimeDefaultVariants,n);return Bc((t,...n)=>e(Ll(i,t??Vc()),...n),{...t,config:{...t.config,defaultVariants:i},defaultVariants:r,runtimeDefaultVariants:i,resolveRaw:e=>t.resolveRaw(Ll(i,e))})}function Vl(e,t,n){let r=Rl(t.defaultVariants,n),i=zl(t.runtimeDefaultVariants,n);return Bc((t,...n)=>e(Ll(i,t??Vc()),...n),{...t,config:{...t.config,defaultVariants:i},defaultVariants:r,runtimeDefaultVariants:i,resolveRaw:e=>t.resolveRaw(Ll(i,e))})}function Hl(e,t){let n=Wc(e);if(n)return Bl(e,n,t);let r=Gc(e);if(r)return Vl(e,r,t);throw TypeError(`defaults only accepts cv or scv results.`)}Z({slots:{root:``,item:`border-b`,header:`flex`,content:[`overflow-hidden transition will-change-auto`,`data-[state=open]:animate-collapsible-down data-[state=closed]:animate-collapsible-up`],description:`m-0`,trigger:[`flex-1 flex items-center justify-start font-medium transition-all-200 bg-transparent`,`outline-none focus-visible:ring-3 focus-visible:ring-offset-background focus-visible:ring-primary/30`,`hover:underline [&[data-state=open]>.trigger-icon]:rotate-180`],triggerLeadingIcon:`shrink-0`,triggerIcon:`trigger-icon ms-auto shrink-0 text-muted-foreground transition-transform-200`},variants:{size:{xs:{root:`text-2xs`,description:`pb-3`,trigger:`py-3 gap-2.5`},sm:{root:`text-xs`,description:`pb-3.5`,trigger:`py-3.5 gap-3`},md:{root:`text-sm`,description:`pb-4`,trigger:`py-4 gap-3.5`},lg:{root:`text-base`,description:`pb-4.5`,trigger:`py-4.5 gap-4`},xl:{root:`text-lg`,description:`pb-5`,trigger:`py-5 gap-4.5`},"2xl":{root:`text-2xl`,description:`pb-6`,trigger:`py-6 gap-5`}}},defaultVariants:{size:`md`}});function Ul(e){let t=typeof e;return t===`string`||t===`number`||t===`boolean`||Kl(e)}function Wl(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function Gl(e){return typeof e==`object`&&Array.isArray(e)}function Kl(e){return e==null}function ql(e){return typeof e==`string`?`'${e}'`:new Jl().serialize(e)}var Jl=function(){class e{#e=new Map;compare(e,t){let n=typeof e,r=typeof t;return n===`string`&&r===`string`?e.localeCompare(t):n===`number`&&r===`number`?e-t:String.prototype.localeCompare.call(this.serialize(e,!0),this.serialize(t,!0))}serialize(e,t){if(e===null)return`null`;switch(typeof e){case`string`:return t?e:`'${e}'`;case`bigint`:return`${e}n`;case`object`:return this.$object(e);case`function`:return this.$function(e)}return String(e)}serializeObject(e){let t=Object.prototype.toString.call(e);if(t!==`[object Object]`)return this.serializeBuiltInType(t.length<10?`unknown:${t}`:t.slice(8,-1),e);let n=e.constructor,r=n===Object||n===void 0?``:n.name;if(r!==``&&globalThis[r]===n)return this.serializeBuiltInType(r,e);if(typeof e.toJSON==`function`){let t=e.toJSON();return r+(typeof t==`object`&&t?this.$object(t):`(${this.serialize(t)})`)}return this.serializeObjectEntries(r,Object.entries(e))}serializeBuiltInType(e,t){let n=this[`$`+e];if(n)return n.call(this,t);if(typeof t?.entries==`function`)return this.serializeObjectEntries(e,t.entries());throw Error(`Cannot serialize ${e}`)}serializeObjectEntries(e,t){let n=Array.from(t).sort((e,t)=>this.compare(e[0],t[0])),r=`${e}{`;for(let e=0;e<n.length;e++){let[t,i]=n[e];r+=`${this.serialize(t,!0)}:${this.serialize(i)}`,e<n.length-1&&(r+=`,`)}return r+`}`}$object(e){let t=this.#e.get(e);return t===void 0&&(this.#e.set(e,`#${this.#e.size}`),t=this.serializeObject(e),this.#e.set(e,t)),t}$function(e){let t=Function.prototype.toString.call(e);return t.slice(-15)===`[native code] }`?`${e.name||``}()[native]`:`${e.name}(${e.length})${t.replace(/\s*\n\s*/g,``)}`}$Array(e){let t=`[`;for(let n=0;n<e.length;n++)t+=this.serialize(e[n]),n<e.length-1&&(t+=`,`);return t+`]`}$Date(e){try{return`Date(${e.toISOString()})`}catch{return`Date(null)`}}$ArrayBuffer(e){return`ArrayBuffer[${new Uint8Array(e).join(`,`)}]`}$Set(e){return`Set${this.$Array(Array.from(e).sort((e,t)=>this.compare(e,t)))}`}$Map(e){return this.serializeObjectEntries(`Map`,e.entries())}}for(let t of[`Error`,`RegExp`,`URL`])e.prototype[`$`+t]=function(e){return`${t}(${e})`};for(let t of[`Int8Array`,`Uint8Array`,`Uint8ClampedArray`,`Int16Array`,`Uint16Array`,`Int32Array`,`Uint32Array`,`Float32Array`,`Float64Array`])e.prototype[`$`+t]=function(e){return`${t}[${e.join(`,`)}]`};for(let t of[`BigInt64Array`,`BigUint64Array`])e.prototype[`$`+t]=function(e){return`${t}[${e.join(`n,`)}${e.length>0?`n`:``}]`};return e}();function Yl(e,t){return e===t||ql(e)===ql(t)}function Xl(e,t){let n={};for(let r in e){let i=r;t.includes(i)||(n[i]=e[i])}return n}function Zl(e,t){let n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function Ql(e,t,n){if(!e?.length||!t)return;let r=t.length>1&&t[0]?.repeat(t.length)===t?t[0]:t,i=r.toLowerCase(),a=r.length===1,o=n?e.indexOf(n):-1,s=Math.max(o,0),c=e.length;for(let t=0;t<c;t++){let r=e[(s+t)%c];if((!a||r!==n)&&r?.toLowerCase().startsWith(i))return r===n?void 0:r}}function $l(e,t,n){let r=e.findIndex(e=>Yl(e,t)),i=e.findIndex(e=>Yl(e,n));if(r===-1||i===-1)return[];let[a,o]=[r,i].sort((e,t)=>e-t);return e.slice(a,o+1)}function eu(e){return e?e.reduce((e,t)=>(e.push(t),t.children&&e.push(...eu(t.children)),e),[]):[]}function tu(e){return e===`indeterminate`}function nu(e){return tu(e)?`indeterminate`:e?`checked`:`unchecked`}function ru(e){return e?`open`:`closed`}function iu(e,t=-1/0,n=1/0){return Math.min(n,Math.max(t,e))}function au(e,t){let n=e,r=t.toString(),i=r.indexOf(`.`),a=i>=0?r.length-i:0;if(a>0){let e=10**a;n=Math.round(n*e)/e}return n}function ou(e,t,n,r){let i=Number(t),a=Number(n),o=(e-(Number.isNaN(i)?0:i))%r,s=au(Math.abs(o)*2>=r?e+Math.sign(o)*(r-Math.abs(o)):e-o,r);return Number.isNaN(i)?!Number.isNaN(a)&&s>a&&(s=Math.floor(au(a/r,r))*r):s<i?s=i:!Number.isNaN(a)&&s>a&&(s=i+Math.floor(au((a-i)/r,r))*r),s=au(s,r),s}function Q(e,t){let n=typeof e==`string`?e:e.name,r=typeof e==`string`?Symbol(e):e.key;return[(...e)=>{let n=t?.(...e)??e[0];return Ln(r,n),n},(e,t)=>{let i=Rn(r,t)??null;if(e!=null&&i===null)throw Error(`\`${e}\` must be used within \`${n}\``);return i}]}function su(e,t){return Kl(e)||Kl(t)?!1:Array.isArray(e)?e.includes(t):e===t}var cu={grad:360/400,turn:360,rad:360/(Math.PI*2)},lu={x:.95047,y:1,z:1.08883},uu={x:.96422,y:1,z:.82521},du=[[.4122214708,.5363325363,.0514459929],[.2119034982,.6806995451,.1073969566],[.0883024619,.2817188376,.6299787005]],fu=[[4.076741661347993,-3.3077115904081937,.2309699287294278],[-1.2684380040921763,2.609757400663372,-.3413193963102196],[-.0041960865418371,-.7034186144594495,1.7076147009309446]],pu=[[.2104542553,.793617785,-.0040720468],[1.9779984951,-2.428592205,.4505937099],[.0259040371,.7827717662,-.808675766]],mu=[[.9999999984505198,.3963377921737678,.2158037580607588],[1.0000000088817607,-.1055613423236563,-.0638541747717059],[1.0000000546724108,-.0894841820949657,-1.2914855378640917]],hu=[[.4124564391,.3575760776,.1804374833],[.2126728514,.7151521552,.0721749934],[.0193338956,.1191920259,.9503040785]],gu=[[3.2404541621,-1.5371385127,-.4985314095],[-.9692660305,1.8760108454,.0415560175],[.055643431,-.2040259135,1.0572251882]],_u=[[1.0478112,.0228866,-.050127],[.0295424,.9904844,-.0170491],[-.0092345,.0150436,.7521316]],vu=[[.9555766,-.0230393,.0631636],[-.0282895,1.0099416,.0210077],[.0122982,-.020483,1.3299098]],yu=e=>typeof e==`string`?e.length>0:typeof e==`number`,bu=(e,t=0)=>{let n=10**t;return Math.round(n*e)/n+0},xu=(e,t=0,n=1)=>e>n?n:e<t?t:e,Su=e=>{let t=Number.isFinite(e)?e%360:0;return t>0?t:t+360},Cu=(e,t=`deg`)=>Number.parseFloat(e)*(cu[t]||1);function wu(e,t){return[e[0][0]*t[0]+e[0][1]*t[1]+e[0][2]*t[2],e[1][0]*t[0]+e[1][1]*t[1]+e[1][2]*t[2],e[2][0]*t[0]+e[2][1]*t[1]+e[2][2]*t[2]]}function Tu(e){if(!e)return 1;let t=Number.parseFloat(e);return e.endsWith(`%`)&&(t/=100),t}function Eu(e){let t=Number.parseFloat(e);return e.endsWith(`%`)||t>1?xu(t/100):xu(t)}var Du=e=>{let{r:t,g:n,b:r,alpha:i}=e;return{r:xu(t,0,255),g:xu(n,0,255),b:xu(r,0,255),alpha:xu(i)}},Ou=e=>{let{r:t,g:n,b:r,alpha:i}=e;return{r:bu(t,2),g:bu(n,2),b:bu(r,2),alpha:bu(i,3)}},ku=e=>{let{r:t,g:n,b:r,alpha:i}=e;return{r:xu(t),g:xu(n),b:xu(r),alpha:xu(i)}},Au=({r:e,g:t,b:n,alpha:r=1})=>!yu(e)||!yu(t)||!yu(n)?null:Du({r:Number(e),g:Number(t),b:Number(n),alpha:Number(r)}),ju=e=>{let t=e/255;return t<=.04045?t/12.92:((t+.055)/1.055)**2.4};function Mu(e){return(e<=.0031308?e*12.92:1.055*e**(1/2.4)-.055)*255}function Nu(e){return{r:ju(e.r),g:ju(e.g),b:ju(e.b),alpha:e.alpha}}function Pu(e){return{r:Mu(e.r),g:Mu(e.g),b:Mu(e.b),alpha:e.alpha}}var Fu=/^rgb?\(\s*([\d.]+%?)\s*[, ]\s*([\d.]+%?)\s*[, ]\s*([\d.]+%?)(?:\s*[,/]\s*([\d.]+%?))?\s*\)$/i,Iu=e=>{let t=Fu.exec(e);if(!t)return null;let[n,r,i,a,o]=t;return Du({r:Lu(r),g:Lu(i),b:Lu(a),alpha:Tu(o)})};function Lu(e){if(e.endsWith(`%`)){let t=Number.parseFloat(e.slice(0,-1));return Math.round(t/100*255)}return Number.parseFloat(e)}var Ru=e=>{let{r:t,g:n,b:r,alpha:i}=Ou(e);return i<1?`rgb(${t} ${n} ${r} / ${i})`:`rgb(${t} ${n} ${r})`},zu=e=>({h:Su(e.h),s:xu(e.s,0,100),v:xu(e.v,0,100),alpha:xu(e.alpha)}),Bu=e=>({h:bu(e.h,3),s:bu(e.s,3),v:bu(e.v,3),alpha:bu(e.alpha,3)}),Vu=e=>{let t=e.h/360*6,n=e.s/100,r=e.v/100,i=Math.floor(t),a=r*(1-n),o=r*(1-(t-i)*n),s=r*(1-(1-t+i)*n),c=i%6;return{r:[r,o,a,a,s,r][c]*255,g:[s,r,r,o,a,a][c]*255,b:[a,a,s,r,r,o][c]*255,alpha:e.alpha}},Hu=({h:e,s:t,v:n,alpha:r=1})=>!yu(e)||!yu(t)||!yu(n)?null:Vu(zu({h:Number(e),s:Number(t),v:Number(n),alpha:Number(r)})),Uu=({r:e,g:t,b:n,alpha:r})=>{let i=Math.max(e,t,n),a=i-Math.min(e,t,n),o=0;return a&&(o=i===e?(t-n)/a:i===t?2+(n-e)/a:4+(e-t)/a),{h:60*(o<0?o+6:o),s:i?a/i*100:0,v:i/255*100,alpha:r}},Wu=e=>{let{x:t,y:n,z:r,alpha:i}=e;return{x:xu(t,0,lu.x*1.2),y:xu(n,0,lu.y*1.2),z:xu(r,0,lu.z*1.2),alpha:xu(i)}},Gu=e=>{let{x:t,y:n,z:r,alpha:i}=e,[a,o,s]=wu(gu,[t,n,r]);return Du(Pu({r:a,g:o,b:s,alpha:i}))},Ku=e=>{let{r:t,g:n,b:r,alpha:i}=Nu(e),[a,o,s]=wu(hu,[t,n,r]);return Wu({x:a,y:o,z:s,alpha:i})},qu=216/24389,Ju=24389/27,Yu=e=>{let{l:t,a:n,b:r,alpha:i}=e;return{l:xu(t,0,100),a:xu(n,-160,160),b:xu(r,-160,160),alpha:xu(i)}},Xu=e=>{let{l:t,a:n,b:r,alpha:i}=e;return{l:bu(t,3),a:bu(n,3),b:bu(r,3),alpha:bu(i,3)}},Zu=e=>{let t=Ku(e),{alpha:n}=t,[r,i,a]=wu(_u,[t.x,t.y,t.z]);return nd({x:r,y:i,z:a,alpha:n})},Qu=e=>{let t=rd(e),[n,r,i]=wu(vu,[t.x,t.y,t.z]);return Gu({x:n,y:r,z:i,alpha:e.alpha})},$u=(e,t=.01)=>e.r>=-t&&e.r<=255+t&&e.g>=-t&&e.g<=255+t&&e.b>=-t&&e.b<=255+t,ed=(e,t,n)=>{let r=0,i=150;if($u(Qu({l:e,a:i*Math.cos(t),b:i*Math.sin(t),alpha:n})))return i;for(;i-r>.01;){let a=(r+i)/2;$u(Qu({l:e,a:a*Math.cos(t),b:a*Math.sin(t),alpha:n}))?r=a:i=a}return r},td=e=>{let{l:t,a:n,b:r,alpha:i}=e,a=Qu(e);if(!$u(a)&&Math.sqrt(n*n+r*r)>1e-4){let e=Math.atan2(r,n),o=ed(t,e,i);a=Qu({l:t,a:o*Math.cos(e),b:o*Math.sin(e),alpha:i})}return Du(a)};function nd(e){let{x:t,y:n,z:r,alpha:i}=e,a=t/uu.x,o=n/uu.y,s=r/uu.z,c=e=>e>qu?Math.cbrt(e):(Ju*e+16)/116,l=c(a),u=c(o),d=c(s);return{l:116*u-16,a:500*(l-u),b:200*(u-d),alpha:i}}function rd(e){let{l:t,a:n,b:r,alpha:i}=e,a=(t+16)/116,o=n/500+a,s=a-r/200,c=e=>e*e*e>qu?e*e*e:(116*e-16)/Ju,l=c(o),u=t>Ju*qu?((t+16)/116)**3:t/Ju,d=c(s);return{x:l*uu.x,y:u*uu.y,z:d*uu.z,alpha:i}}var id=({l:e,a:t,b:n,alpha:r=1})=>!yu(e)||!yu(t)||!yu(n)?null:Yu({l:Number(e),a:Number(t),b:Number(n),alpha:Number(r)}),ad=e=>{let t=id(e);return t?td(t):null},od=/^lab\(\s*([+-]?[\d.]+)%?\s+([+-]?[\d.]+)\s+([+-]?[\d.]+)(?:\s*\/\s*([+-]?[\d.]+%?))?\s*\)$/i,sd=e=>{let t=od.exec(e);if(!t)return null;let[n,r,i,a,o]=t;return Yu({l:Number.parseFloat(r),a:Number.parseFloat(i),b:Number.parseFloat(a),alpha:Tu(o)})},cd=e=>{let t=sd(e);return t?td(t):null},ld=e=>{let{l:t,a:n,b:r,alpha:i}=Xu(e);return i<1?`lab(${t}% ${n} ${r} / ${i})`:`lab(${t}% ${n} ${r})`},ud=e=>ld(Zu(e)),dd=e=>{if(!e||e.format!==`lab`)return null;let{input:t}=e;return typeof t==`string`?sd(t):typeof t==`object`?id(t):null},fd=e=>{let t=dd(e);return t?ld(t):null},pd=e=>{let{h:t,s:n,l:r,alpha:i}=e;return{h:Su(t),s:xu(n,0,100),l:xu(r,0,100),alpha:xu(i)}},md=e=>{let{h:t,s:n,l:r,alpha:i}=e;return{h:bu(t,3),s:bu(n,3),l:bu(r,3),alpha:bu(i,3)}},hd=e=>{let{h:t,l:n,alpha:r}=e,i=e.s*(n<50?n:100-n)/100;return{h:t,s:i>0?2*i/(n+i)*100:0,v:n+i,alpha:r}},gd=({h:e,s:t,v:n,alpha:r})=>{let i=(200-t)*n/100;return{h:e,s:i>0&&i<200?t*n/100/(i<=100?i:200-i)*100:0,l:i/2,alpha:r}},_d=e=>Vu(hd(e)),vd=e=>gd(Uu(e)),yd=({h:e,s:t,l:n,alpha:r=1})=>!yu(e)||!yu(t)||!yu(n)?null:_d(pd({h:Number(e),s:Number(t),l:Number(n),alpha:Number(r)})),bd=e=>{let{h:t,s:n,l:r,alpha:i}=md(vd(e));return i<1?`hsl(${t} ${n}% ${r}% / ${i})`:`hsl(${t} ${n}% ${r}%)`},xd=/^hsl?\(\s*([+-]?[\d.]+)(deg|grad|rad|turn)?\s*[, ]\s*([+-]?[\d.]+)%\s*[, ]\s*([+-]?[\d.]+)%(?:\s*\/\s*([+-]?[\d.]+%?))?\s*\)$/i,Sd=e=>{let t=xd.exec(e);if(!t)return null;let[,n,r,i,a,o]=t;return _d(pd({h:Cu(n,r),s:Number.parseFloat(i),l:Number.parseFloat(a),alpha:Tu(o)}))},Cd=(e,t)=>({r:e.r,g:e.g,b:e.b,alpha:t}),wd=e=>({r:255-e.r,g:255-e.g,b:255-e.b,alpha:e.alpha}),Td=(e,t)=>{let n=vd(e);return{h:n.h,s:n.s,l:xu(n.l+t*100,0,100),alpha:n.alpha}},Ed=(e,t)=>{let{h:n,s:r,l:i,alpha:a}=vd(e);return{h:n,s:xu(r+t*100,0,100),l:i,alpha:a}},Dd=e=>(e.r*299+e.g*587+e.b*114)/1e3/255;function Od(e,t){let{l:n,a:r,b:i}=e,{l:a,a:o,b:s}=t,c=180/Math.PI,l=Math.PI/180,u=((r**2+i**2)**.5+(o**2+s**2)**.5)/2,d=(n+a)/2,f=u**7,p=.5*(1-(f/(f+25**7))**.5),m=r*(1+p),h=o*(1+p),g=(m**2+i**2)**.5,_=(h**2+s**2)**.5,v=(g+_)/2,y=m===0&&i===0?0:Math.atan2(i,m)*c,b=h===0&&s===0?0:Math.atan2(s,h)*c;y<0&&(y+=360),b<0&&(b+=360);let x=b-y,S=Math.abs(b-y);S>180&&b<=y?x+=360:S>180&&b>y&&(x-=360);let C=y+b;S<=180?C/=2:C=(y+b<360?C+360:C-360)/2;let w=1-.17*Math.cos(l*(C-30))+.24*Math.cos(l*2*C)+.32*Math.cos(l*(3*C+6))-.2*Math.cos(l*(4*C-63)),T=a-n,ee=_-g,te=2*Math.sin(l*x/2)*(g*_)**.5,E=1+.015*(d-50)**2/(20+(d-50)**2)**.5,ne=1+.045*v,D=1+.015*v*w,re=30*Math.exp(-1*((C-275)/25)**2),ie=-(2*(f/(f+25**7))**.5)*Math.sin(l*2*re);return((T/1/E)**2+(ee/1/ne)**2+(te/1/D)**2+ie*ee*te/(1*ne*1*D))**.5}function kd(e){return Object.keys(e)}var Ad=/^#([0-9a-f]{3,8})$/i,jd=e=>{let t=Ad.exec(e);if(!t)return null;let n=t[1];return n.length<=4?{r:Number.parseInt(n[0]+n[0],16),g:Number.parseInt(n[1]+n[1],16),b:Number.parseInt(n[2]+n[2],16),alpha:n.length===4?bu(Number.parseInt(n[3]+n[3],16)/255,2):1}:n.length===6||n.length===8?{r:Number.parseInt(n.slice(0,2),16),g:Number.parseInt(n.slice(2,4),16),b:Number.parseInt(n.slice(4,6),16),alpha:n.length===8?bu(Number.parseInt(n.slice(6,8),16)/255,2):1}:null},Md=e=>{let t=Math.round(e).toString(16);return t.length<2?`0${t}`:t},Nd=e=>{let{r:t,g:n,b:r,alpha:i}=Ou(e),a=i<1?Md(bu(i*255)):``;return`#${Md(t)}${Md(n)}${Md(r)}${a}`},Pd=e=>{let{l:t,c:n,h:r,alpha:i}=e;return{l:xu(t,0,1),c:xu(n,0,.37),h:Su(r),alpha:xu(i)}},Fd=e=>{let{l:t,c:n,h:r,alpha:i}=e;return{l:bu(t,3),c:bu(n,3),h:bu(r,3),alpha:bu(i,3)}},Id=e=>{let{l:t,c:n,h:r,alpha:i}=e,a=r*Math.PI/180,[o,s,c]=wu(fu,wu(mu,[t,n*Math.cos(a),n*Math.sin(a)]).map(e=>e*e*e));return{r:o,g:s,b:c,alpha:i}},Ld=(e,t=1e-6)=>e.r>=-t&&e.r<=1+t&&e.g>=-t&&e.g<=1+t&&e.b>=-t&&e.b<=1+t,Rd=(e,t,n)=>{let r=0,i=.37,a=1e-5;if(Ld(Id({l:e,c:i,h:t,alpha:n}),a))return i;for(;i-r>a;){let o=(r+i)/2;Ld(Id({l:e,c:o,h:t,alpha:n}),a)?r=o:i=o}return r},zd=e=>{let{l:t,h:n,alpha:r}=e,i=Id(e);return Ld(i)||(i=Id({l:t,c:Rd(t,n,r),h:n,alpha:r})),i=ku(i),Du(Pu(i))},Bd=e=>{let t=Nu(e),[n,r,i]=wu(pu,wu(du,[t.r,t.g,t.b]).map(e=>Math.cbrt(e))),a=Math.sqrt(r*r+i*i),o;return a<1e-4?o=0:(o=180/Math.PI*Math.atan2(i,r),o<0&&(o+=360)),Pd({l:n,c:a,h:o,alpha:e.alpha})},Vd=({l:e,c:t,h:n,alpha:r=1})=>!yu(e)||!yu(t)||!yu(n)?null:Pd({l:Number(e),c:Number(t),h:Number(n),alpha:Number(r)}),Hd=e=>{let t=Vd(e);return t?zd(t):null},Ud=/^oklch\(\s*([+-]?[\d.]+)%?\s+([+-]?[\d.]+)\s+([+-]?[\d.]+)(deg|grad|rad|turn)?(?:\s*\/\s*([+-]?[\d.]+%?))?\s*\)$/i,Wd=e=>{let t=Ud.exec(e);if(!t)return null;let[n,r,i,a,o,s]=t;return Pd({l:Eu(r),c:Number.parseFloat(i),h:Cu(a,o),alpha:Tu(s)})},Gd=e=>{let t=Wd(e);return t?zd(t):null},Kd=e=>{let{l:t,c:n,h:r,alpha:i}=Fd(e),a=bu(t*100,1);return i<1?`oklch(${a}% ${n} ${r} / ${i})`:`oklch(${a}% ${n} ${r})`},qd=e=>Kd(Bd(e)),Jd=e=>{if(!e||e.format!==`oklch`)return null;let{input:t}=e;return typeof t==`string`?Wd(t):typeof t==`object`?Vd(t):null},Yd=e=>{let t=Jd(e);return t?Kd(t):null},Xd={string:[[jd,`hex`],[Iu,`rgb`],[Sd,`hsl`],[Gd,`oklch`]],object:[[Au,`rgb`],[yd,`hsl`],[Hu,`hsv`],[Hd,`oklch`]]},Zd=(e,t)=>{for(let n=0;n<t.length;n+=1){let r=t[n][0](e);if(r)return[r,t[n][1]]}return[null,void 0]},Qd=e=>typeof e==`string`?Zd(e.trim(),Xd.string):typeof e==`object`&&e?Zd(e,Xd.object):[null,void 0],$d=e=>e instanceof ef?e:new ef(e),ef=class{parsed;rgb;source;constructor(e){let[t,n]=Qd(e);this.parsed=t,this.rgb=this.parsed||{r:0,g:0,b:0,alpha:1},n&&this.parsed&&(this.source={format:n,input:e})}getSource(){return this.source}isValid(){return this.parsed!==null}brightness(){return bu(Dd(this.rgb),2)}isDark(){return Dd(this.rgb)<.5}isLight(){return Dd(this.rgb)>=.5}toHex(){return Nd(this.rgb)}toRgb(){return Ou(this.rgb)}toRgbString(){return Ru(this.rgb)}toHsl(){return md(vd(this.rgb))}toHslString(){return bd(this.rgb)}toHsv(){return Bu(Uu(this.rgb))}toOklch(){return Fd(Jd(this.getSource())||Bd(this.rgb))}toOklchString(){return Yd(this.getSource())||qd(this.rgb)}invert(){return $d(wd(this.rgb))}saturate(e=.1){return $d(Ed(this.rgb,e))}desaturate(e=.1){return $d(Ed(this.rgb,-e))}grayscale(){return $d(Ed(this.rgb,-1))}lighten(e=.1){return $d(Td(this.rgb,e))}darken(e=.1){return $d(Td(this.rgb,-e))}rotate(e=15){return this.hue(this.hue()+e)}alpha(e){return typeof e==`number`?$d(Cd(this.rgb,e)):bu(this.rgb.alpha,3)}hue(e){let t=vd(this.rgb);return typeof e==`number`?$d({h:e,s:t.s,l:t.l,alpha:t.alpha}):bu(t.h)}isEqual(e){return this.toHex()===$d(e).toHex()}},tf=[],nf=e=>{e.forEach(e=>{tf.includes(e)||(e(ef,Xd),tf.push(e))})};function rf(e,...t){return t.reduce((e,t)=>`${e}[${String(t)}]`,e)}function af(e,t){return[{name:e,value:t}]}function of(e,t){return t.flatMap((t,n)=>Wl(t)?Object.entries(t).map(([t,r])=>({name:rf(e,n,t),value:r})):{name:rf(e,n),value:t})}function sf(e,t){return Object.entries(t).map(([t,n])=>({name:rf(e,t),value:n}))}function cf(e,t){return e?Ul(t)?af(e,t):Gl(t)?of(e,t):Wl(t)?sf(e,t):t==null?[]:[{name:e,value:String(t)}]:[]}var lf=`data-soybean-collection-item`;function uf(e){return e.filter(e=>e.tagName!==`A`)}function df(){let e=document.activeElement;if(e===null)return null;for(;e!==null&&e.shadowRoot!==null&&e.shadowRoot.activeElement!==null;)e=e.shadowRoot.activeElement;return e}function ff(e,t){return[e.getAttribute(t),e.getAttribute(`data-${t}`)].some(e=>e===``||e===`true`)}function pf(e){return Array.from(e.querySelectorAll(`[${lf}]`))}var mf={ArrowLeft:`prev`,ArrowUp:`prev`,ArrowRight:`next`,ArrowDown:`next`,PageUp:`first`,Home:`first`,PageDown:`last`,End:`last`},hf=[`Enter`,` `];function gf(e,{select:t=!1}={}){let n=df();for(let r of e)if(Cf(r,{select:t}),df()!==n)return}function _f(e,t=!1){let n=df();return e.some(e=>e===n?!0:(e.focus({preventScroll:t}),df()!==n))}function vf(e){let t=yf(e);return[bf(t,e),bf(t.slice().reverse(),e)]}function yf(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(e){let t=e.tagName===`INPUT`&&e.type===`hidden`;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function bf(e,t){return e.find(e=>!xf(e,{upTo:t}))}function xf(e,{upTo:t}){if(getComputedStyle(e).visibility===`hidden`)return!0;let n=e;for(;n;){if(t!==void 0&&n===t)return!1;if(getComputedStyle(n).display===`none`)return!0;n=n.parentElement}return!1}function Sf(e){return e instanceof HTMLInputElement&&`select`in e}function Cf(e,{select:t=!1}={}){if(!e||!e.focus)return;let n=df();e.focus({preventScroll:!0}),t&&e!==n&&Sf(e)&&e.select()}function wf(e,t){return t===`rtl`?e===`ArrowLeft`?`ArrowRight`:e===`ArrowRight`?`ArrowLeft`:e:e}function Tf(e,t,n){let r=wf(e.key,n);if(!(t===`vertical`&&[`ArrowLeft`,`ArrowRight`].includes(r))&&!(t===`horizontal`&&[`ArrowUp`,`ArrowDown`].includes(r)))return mf[r]}var Ef={KEYED_FRAGMENT:128,BAIL:-2};function Df(e){let t=[],n=0;for(let r=0;r<e.length;r++){let i=e[r];i.type===da?((i.patchFlag??0)===Ef.KEYED_FRAGMENT&&n++,t=t.concat(Df(i.children))):i.type!==pa&&t.push(i)}if(n>1)for(let e=0;e<t.length;e++)t[e].patchFlag=Ef.BAIL;return t}function Of(e){let t=e?.$el??e;return t&&t.nodeType!==1&&(t=void 0),t}function kf(e,t){return(t??Object.keys(e)).reduce((t,n)=>(t[n]=J(()=>typeof e[n]==`function`?e[n]():e[n]),t),{})}function Af(e){return e?`classList`in e&&e.classList.contains(`form`):!0}var jf=typeof window<`u`&&typeof document<`u`,Mf=null;function Nf(){return!jf||!window?.navigator?.userAgent?!1:/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||window.navigator.maxTouchPoints>2&&/iPad|Macintosh/.test(window.navigator.userAgent)}function Pf(){return Mf===null&&(Mf=Nf()),Mf}function Ff(e,t,n){let r=n.originalEvent.target;if(!r)return;let i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),r.dispatchEvent(i)}function If(e,t){if(!t)return!1;let{clientX:n,clientY:r}=e;return Lf({x:n,y:r},t)}function Lf(e,t){let{x:n,y:r}=e;if(t.length<3)return!1;let{x:i,y:a}=t[0],{x:o,y:s}=t[0];for(let e=1;e<t.length;e++){let n=t[e];i=Math.min(i,n.x),o=Math.max(o,n.x),a=Math.min(a,n.y),s=Math.max(s,n.y)}if(n<i||n>o||r<a||r>s)return!1;let c=0;for(let e=0;e<t.length;e++){let i=t[e],a=t[(e+1)%t.length],{x:o,y:s}=i,{x:l,y:u}=a;s>r!=u>r&&n<o+(r-s)*(l-o)/(u-s)&&c++}return c%2==1}function Rf(e,t,n){return(t.x-e.x)*(n.y-e.y)-(t.y-e.y)*(n.x-e.x)}function zf(e,t){return e-t*Math.floor(e/t)}var Bf=1721426;function Vf(e,t,n,r){t=Uf(e,t);let i=t-1,a=-2;return n<=2?a=0:Hf(t)&&(a=-1),Bf-1+365*i+Math.floor(i/4)-Math.floor(i/100)+Math.floor(i/400)+Math.floor((367*n-362)/12+a+r)}function Hf(e){return e%4==0&&(e%100!=0||e%400==0)}function Uf(e,t){return e===`BC`?1-t:t}function Wf(e){let t=`AD`;return e<=0&&(t=`BC`,e=1-e),[t,e]}var Gf={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]},Kf=class{fromJulianDay(e){let t=e,n=t-Bf,r=Math.floor(n/146097),i=zf(n,146097),a=Math.floor(i/36524),o=zf(i,36524),s=Math.floor(o/1461),c=zf(o,1461),l=Math.floor(c/365),[u,d]=Wf(r*400+a*100+s*4+l+ +(a!==4&&l!==4)),f=t-Vf(u,d,1,1),p=2;t<Vf(u,d,3,1)?p=0:Hf(d)&&(p=1);let m=Math.floor(((f+p)*12+373)/367);return new Gp(u,d,m,t-Vf(u,d,m,1)+1)}toJulianDay(e){return Vf(e.era,e.year,e.month,e.day)}getDaysInMonth(e){return Gf[Hf(e.year)?`leapyear`:`standard`][e.month-1]}getMonthsInYear(e){return 12}getDaysInYear(e){return Hf(e.year)?366:365}getMaximumMonthsInYear(){return 12}getMaximumDaysInMonth(){return 31}getYearsInEra(e){return 9999}getEras(){return[`BC`,`AD`]}isInverseEra(e){return e.era===`BC`}balanceDate(e){e.year<=0&&(e.era=e.era===`BC`?`AD`:`BC`,e.year=1-e.year)}constructor(){this.identifier=`gregory`}};function qf(e,t){return e.isEqual?.(t)??t.isEqual?.(e)??e.identifier===t.identifier}function Jf(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function Yf(e,t){return Xf(e)-Xf(t)}function Xf(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}var Zf=null,Qf=!1;function $f(){return Zf??=new Intl.DateTimeFormat().resolvedOptions().timeZone,Zf}function ep(){return Qf}function tp(e){return e=pp(e,new Kf),np(Uf(e.era,e.year),e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function np(e,t,n,r,i,a,o){let s=new Date;return s.setUTCHours(r,i,a,o),s.setUTCFullYear(e,t-1,n),s.getTime()}function rp(e,t){if(t===`UTC`)return 0;if(e>0&&t===$f()&&!ep())return new Date(e).getTimezoneOffset()*-6e4;let{year:n,month:r,day:i,hour:a,minute:o,second:s}=ap(e,t);return np(n,r,i,a,o,s,0)-Math.floor(e/1e3)*1e3}var ip=new Map;function ap(e,t){let n=ip.get(t);n||(n=new Intl.DateTimeFormat(`en-US`,{timeZone:t,hour12:!1,era:`short`,year:`numeric`,month:`numeric`,day:`numeric`,hour:`numeric`,minute:`numeric`,second:`numeric`}),ip.set(t,n));let r=n.formatToParts(new Date(e)),i={};for(let e of r)e.type!==`literal`&&(i[e.type]=e.value);return{year:i.era===`BC`||i.era===`B`?-i.year+1:+i.year,month:+i.month,day:+i.day,hour:i.hour===`24`?0:+i.hour,minute:+i.minute,second:+i.second}}var op=864e5;function sp(e,t,n,r){return(n===r?[n]:[n,r]).filter(n=>cp(e,t,n))}function cp(e,t,n){let r=ap(n,t);return e.year===r.year&&e.month===r.month&&e.day===r.day&&e.hour===r.hour&&e.minute===r.minute&&e.second===r.second}function lp(e,t,n=`compatible`){let r=fp(e);if(t===`UTC`)return tp(r);if(t===$f()&&n===`compatible`&&!ep()){r=pp(r,new Kf);let e=new Date,t=Uf(r.era,r.year);return e.setFullYear(t,r.month-1,r.day),e.setHours(r.hour,r.minute,r.second,r.millisecond),e.getTime()}let i=tp(r),a=rp(i-op,t),o=rp(i+op,t),s=sp(r,t,i-a,i-o);if(s.length===1)return s[0];if(s.length>1)switch(n){case`compatible`:case`earlier`:return s[0];case`later`:return s[s.length-1];case`reject`:throw RangeError(`Multiple possible absolute times found`)}switch(n){case`earlier`:return Math.min(i-a,i-o);case`compatible`:case`later`:return Math.max(i-a,i-o);case`reject`:throw RangeError(`No such absolute time found`)}}function up(e,t,n=`compatible`){return new Date(lp(e,t,n))}function dp(e,t){let n=rp(e,t),r=new Date(e+n),i=r.getUTCFullYear(),a=r.getUTCMonth()+1,o=r.getUTCDate(),s=r.getUTCHours(),c=r.getUTCMinutes(),l=r.getUTCSeconds(),u=r.getUTCMilliseconds();return new qp(i<1?`BC`:`AD`,i<1?-i+1:i,a,o,t,n,s,c,l,u)}function fp(e,t){let n=0,r=0,i=0,a=0;if(`timeZone`in e)({hour:n,minute:r,second:i,millisecond:a}=e);else if(`hour`in e&&!t)return e;return t&&({hour:n,minute:r,second:i,millisecond:a}=t),new Kp(e.calendar,e.era,e.year,e.month,e.day,n,r,i,a)}function pp(e,t){if(qf(e.calendar,t))return e;let n=t.fromJulianDay(e.calendar.toJulianDay(e)),r=e.copy();return r.calendar=t,r.era=n.era,r.year=n.year,r.month=n.month,r.day=n.day,Cp(r),r}function mp(e,t,n){return e instanceof qp?e.timeZone===t?e:gp(e,t):dp(lp(e,t,n),t)}function hp(e){let t=tp(e)-e.offset;return new Date(t)}function gp(e,t){return pp(dp(tp(e)-e.offset,t),e.calendar)}var _p=36e5;function vp(e,t){let n=e.copy(),r=`hour`in n?jp(n,t):0;yp(n,t.years||0),n.calendar.balanceYearMonth&&n.calendar.balanceYearMonth(n,e),n.month+=t.months||0,bp(n),Sp(n),n.day+=(t.weeks||0)*7,n.day+=t.days||0,n.day+=r,xp(n),n.calendar.balanceDate&&n.calendar.balanceDate(n),n.year<1&&(n.year=1,n.month=1,n.day=1);let i=n.calendar.getYearsInEra(n);if(n.year>i){let e=n.calendar.isInverseEra?.(n);n.year=i,n.month=e?1:n.calendar.getMonthsInYear(n),n.day=e?1:n.calendar.getDaysInMonth(n)}n.month<1&&(n.month=1,n.day=1);let a=n.calendar.getMonthsInYear(n);return n.month>a&&(n.month=a,n.day=n.calendar.getDaysInMonth(n)),n.day=Math.max(1,Math.min(n.calendar.getDaysInMonth(n),n.day)),n}function yp(e,t){e.calendar.isInverseEra?.(e)&&(t=-t),e.year+=t}function bp(e){for(;e.month<1;)yp(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,yp(e,1)}function xp(e){for(;e.day<1;)e.month--,bp(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,bp(e)}function Sp(e){e.month=Math.max(1,Math.min(e.calendar.getMonthsInYear(e),e.month)),e.day=Math.max(1,Math.min(e.calendar.getDaysInMonth(e),e.day))}function Cp(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),Sp(e)}function wp(e){let t={};for(let n in e)typeof e[n]==`number`&&(t[n]=-e[n]);return t}function Tp(e,t){return vp(e,wp(t))}function Ep(e,t){let n=e.copy();return t.era!=null&&(n.era=t.era),t.year!=null&&(n.year=t.year),t.month!=null&&(n.month=t.month),t.day!=null&&(n.day=t.day),Cp(n),n}function Dp(e,t){let n=e.copy();return t.hour!=null&&(n.hour=t.hour),t.minute!=null&&(n.minute=t.minute),t.second!=null&&(n.second=t.second),t.millisecond!=null&&(n.millisecond=t.millisecond),kp(n),n}function Op(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=Ap(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=Ap(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=Ap(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=Ap(e.hour,24),t}function kp(e){e.millisecond=Math.max(0,Math.min(e.millisecond,1e3)),e.second=Math.max(0,Math.min(e.second,59)),e.minute=Math.max(0,Math.min(e.minute,59)),e.hour=Math.max(0,Math.min(e.hour,23))}function Ap(e,t){let n=e%t;return n<0&&(n+=t),n}function jp(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,Op(e)}function Mp(e,t,n,r){let i=e.copy();switch(t){case`era`:{let t=e.calendar.getEras(),a=t.indexOf(e.era);if(a<0)throw Error(`Invalid era: `+e.era);a=Pp(a,n,0,t.length-1,r?.round),i.era=t[a],Cp(i);break}case`year`:i.calendar.isInverseEra?.(i)&&(n=-n),i.year=Pp(e.year,n,-1/0,9999,r?.round),i.year===-1/0&&(i.year=1),i.calendar.balanceYearMonth&&i.calendar.balanceYearMonth(i,e);break;case`month`:i.month=Pp(e.month,n,1,e.calendar.getMonthsInYear(e),r?.round);break;case`day`:i.day=Pp(e.day,n,1,e.calendar.getDaysInMonth(e),r?.round);break;default:throw Error(`Unsupported field `+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(i),Cp(i),i}function Np(e,t,n,r){let i=e.copy();switch(t){case`hour`:{let t=e.hour,a=0,o=23;if(r?.hourCycle===12){let e=t>=12;a=e?12:0,o=e?23:11}i.hour=Pp(t,n,a,o,r?.round);break}case`minute`:i.minute=Pp(e.minute,n,0,59,r?.round);break;case`second`:i.second=Pp(e.second,n,0,59,r?.round);break;case`millisecond`:i.millisecond=Pp(e.millisecond,n,0,999,r?.round);break;default:throw Error(`Unsupported field `+t)}return i}function Pp(e,t,n,r,i=!1){if(i){e+=Math.sign(t),e<n&&(e=r);let i=Math.abs(t);e=t>0?Math.ceil(e/i)*i:Math.floor(e/i)*i,e>r&&(e=n)}else e+=t,e<n?e=r-(n-e-1):e>r&&(e=n+(e-r-1));return e}function Fp(e,t){let n;return n=t.years!=null&&t.years!==0||t.months!=null&&t.months!==0||t.weeks!=null&&t.weeks!==0||t.days!=null&&t.days!==0?lp(vp(fp(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days}),e.timeZone):tp(e)-e.offset,n+=t.milliseconds||0,n+=(t.seconds||0)*1e3,n+=(t.minutes||0)*6e4,n+=(t.hours||0)*36e5,pp(dp(n,e.timeZone),e.calendar)}function Ip(e,t){return Fp(e,wp(t))}function Lp(e,t,n,r){switch(t){case`hour`:{let t=0,i=23;if(r?.hourCycle===12){let n=e.hour>=12;t=n?12:0,i=n?23:11}let a=fp(e),o=pp(Dp(a,{hour:t}),new Kf),s=[lp(o,e.timeZone,`earlier`),lp(o,e.timeZone,`later`)].filter(t=>dp(t,e.timeZone).day===o.day)[0],c=pp(Dp(a,{hour:i}),new Kf),l=[lp(c,e.timeZone,`earlier`),lp(c,e.timeZone,`later`)].filter(t=>dp(t,e.timeZone).day===c.day).pop(),u=tp(e)-e.offset,d=Math.floor(u/_p),f=u%_p;return u=Pp(d,n,Math.floor(s/_p),Math.floor(l/_p),r?.round)*_p+f,pp(dp(u,e.timeZone),e.calendar)}case`minute`:case`second`:case`millisecond`:return Np(e,t,n,r);case`era`:case`year`:case`month`:case`day`:return pp(dp(lp(Mp(fp(e),t,n,r),e.timeZone),e.timeZone),e.calendar);default:throw Error(`Unsupported field `+t)}}function Rp(e,t,n){let r=fp(e),i=Dp(Ep(r,t),t);return i.compare(r)===0?e:pp(dp(lp(i,e.timeZone,n),e.timeZone),e.calendar)}function zp(e){return`${String(e.hour).padStart(2,`0`)}:${String(e.minute).padStart(2,`0`)}:${String(e.second).padStart(2,`0`)}${e.millisecond?String(e.millisecond/1e3).slice(1):``}`}function Bp(e){let t=pp(e,new Kf),n;return n=t.era===`BC`?t.year===1?`0000`:`-`+String(Math.abs(1-t.year)).padStart(6,`00`):String(t.year).padStart(4,`0`),`${n}-${String(t.month).padStart(2,`0`)}-${String(t.day).padStart(2,`0`)}`}function Vp(e){return`${Bp(e)}T${zp(e)}`}function Hp(e){let t=Math.sign(e)<0?`-`:`+`;e=Math.abs(e);let n=Math.floor(e/36e5),r=Math.floor(e%36e5/6e4),i=Math.floor(e%36e5%6e4/1e3),a=`${t}${String(n).padStart(2,`0`)}:${String(r).padStart(2,`0`)}`;return i!==0&&(a+=`:${String(i).padStart(2,`0`)}`),a}function Up(e){return`${Vp(e)}${Hp(e.offset)}[${e.timeZone}]`}function Wp(e){let t=typeof e[0]==`object`?e.shift():new Kf,n;if(typeof e[0]==`string`)n=e.shift();else{let e=t.getEras();n=e[e.length-1]}let r=e.shift(),i=e.shift(),a=e.shift();return[t,n,r,i,a]}var Gp=class e{constructor(...e){let[t,n,r,i,a]=Wp(e);this.calendar=t,this.era=n,this.year=r,this.month=i,this.day=a,Cp(this)}copy(){return this.era?new e(this.calendar,this.era,this.year,this.month,this.day):new e(this.calendar,this.year,this.month,this.day)}add(e){return vp(this,e)}subtract(e){return Tp(this,e)}set(e){return Ep(this,e)}cycle(e,t,n){return Mp(this,e,t,n)}toDate(e){return up(this,e)}toString(){return Bp(this)}compare(e){return Jf(this,e)}},Kp=class e{constructor(...e){let[t,n,r,i,a]=Wp(e);this.calendar=t,this.era=n,this.year=r,this.month=i,this.day=a,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,Cp(this)}copy(){return this.era?new e(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new e(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(e){return vp(this,e)}subtract(e){return Tp(this,e)}set(e){return Ep(Dp(this,e),e)}cycle(e,t,n){switch(e){case`era`:case`year`:case`month`:case`day`:return Mp(this,e,t,n);default:return Np(this,e,t,n)}}toDate(e,t){return up(this,e,t)}toString(){return Vp(this)}compare(e){let t=Jf(this,e);return t===0?Yf(this,fp(e)):t}},qp=class e{constructor(...e){let[t,n,r,i,a]=Wp(e),o=e.shift(),s=e.shift();this.calendar=t,this.era=n,this.year=r,this.month=i,this.day=a,this.timeZone=o,this.offset=s,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,Cp(this)}copy(){return this.era?new e(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new e(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(e){return Fp(this,e)}subtract(e){return Ip(this,e)}set(e,t){return Rp(this,e,t)}cycle(e,t,n){return Lp(this,e,t,n)}toDate(){return hp(this)}toString(){return Up(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(e){return this.toDate().getTime()-mp(e,this.timeZone).toDate().getTime()}};function Jp(e){let t=Math.floor((235*e-234)/19),n=12084+13753*t,r=t*29+Math.floor(n/25920);return zf(3*(r+1),7)<3&&(r+=1),r}var Yp=null;function Xp(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)===`[object Module]`:!0}function Zp(e,t,n=`.`,r){if(!Xp(t))return Zp(e,{},n,r);let i={...t};for(let t of Object.keys(e)){if(t===`__proto__`||t===`constructor`)continue;let a=e[t];a!=null&&(r&&r(i,t,a,n)||(Array.isArray(a)&&Array.isArray(i[t])?i[t]=[...a,...i[t]]:Xp(a)&&Xp(i[t])?i[t]=Zp(a,i[t],(n?`${n}.`:``)+t.toString(),r):i[t]=a))}return i}function Qp(e){return(...t)=>t.reduce((t,n)=>Zp(t,n,``,e),{})}var $p=Qp(),em=[`day`,`month`,`year`],tm=[`hour`,`minute`,`second`,`dayPeriod`],nm=[`literal`,`timeZoneName`];[...em,...tm,...nm].filter(e=>e!==`literal`);var rm={name:`English`,key:`en`,dir:`ltr`,messages:{pagination:{firstPage:`First page`,prevPage:`Previous page`,nextPage:`Next page`,lastPage:`Last page`},table:{emptyTitle:`No data`,emptyDescription:`There is no data to display.`,selectAllRows:`Select all rows`,sortByColumn:`Sort by {column}`,sortByColumnAsc:`Sort by {column}, currently ascending`,sortByColumnDesc:`Sort by {column}, currently descending`,resizeColumn:`Resize {column} column`,expandRow:`Expand row {row}`,collapseRow:`Collapse row {row}`,selectRow:`Select row {row}`},calendar:{prevPage:`Previous page`,nextPage:`Next page`,selectMonth:`Select month`,selectYear:`Select year`},layout:{toggleSidebar:`Toggle Sidebar`},inputNumber:{increment:`Increase`,decrement:`Decrease`,clear:`Clear value`},textarea:{clear:`Clear textarea`},tagsInput:{addTag:`Add tag`,clear:`Clear tags`},progress:{loading:`Loading`},anchor:{nav:`Anchor`},breadcrumb:{nav:`breadcrumb`},stepper:{step:`Step {step}`},editable:{cancel:`Cancel`,edit:`Edit`,submit:`Submit`},combobox:{clearInput:`Clear input`,noResults:`No results found.`,search:`Search`,options:`Options`},autocomplete:{toggleSuggestions:`Toggle suggestions`,clearInput:`Clear input`,noResults:`No results found.`},command:{noResults:`No results found.`},dialog:{cancel:`Cancel`,confirm:`Confirm`},slider:{valueN:`Value {index} of {total}`,minimum:`Minimum`,maximum:`Maximum`},password:{clearInput:`Clear input`,showPassword:`Show password`,hidePassword:`Hide password`},date:{daySegment:`day,`,monthSegment:`month, `,yearSegment:`year, `,hourSegment:`hour, `,minuteSegment:`minute, `,secondSegment:`second, `,dayPeriodSegment:`AM/PM, `,timeZoneSegment:`time zone, `,empty:`Empty`,placeholder:{year:`yyyy`,month:`mm`,day:`dd`,time:`––`}}}},im={name:`简体中文`,key:`zh-CN`,dir:`ltr`,messages:{pagination:{firstPage:`第一页`,prevPage:`上一页`,nextPage:`下一页`,lastPage:`最后一页`},table:{emptyTitle:`暂无数据`,emptyDescription:`当前没有可显示的数据。`,selectAllRows:`全选`,sortByColumn:`按{column}排序`,sortByColumnAsc:`按{column}排序,当前升序`,sortByColumnDesc:`按{column}排序,当前降序`,resizeColumn:`调整{column}列宽`,expandRow:`展开行 {row}`,collapseRow:`收起行 {row}`,selectRow:`选择行 {row}`},calendar:{prevPage:`上一页`,nextPage:`下一页`,selectMonth:`选择月份`,selectYear:`选择年份`},layout:{toggleSidebar:`切换侧边栏`},inputNumber:{increment:`增加`,decrement:`减少`,clear:`清除数值`},textarea:{clear:`清除文本域`},tagsInput:{addTag:`添加标签`,clear:`清除标签`},progress:{loading:`加载中`},anchor:{nav:`锚点导航`},breadcrumb:{nav:`面包屑`},stepper:{step:`第 {step} 步`},editable:{cancel:`取消`,edit:`编辑`,submit:`提交`},combobox:{clearInput:`清除输入`,noResults:`无匹配结果。`,search:`搜索`,options:`选项`},autocomplete:{toggleSuggestions:`切换建议列表`,clearInput:`清除输入`,noResults:`无匹配结果。`},command:{noResults:`无匹配结果。`},dialog:{cancel:`取消`,confirm:`确认`},slider:{valueN:`第 {index} 个值,共 {total} 个`,minimum:`最小值`,maximum:`最大值`},password:{clearInput:`清除输入`,showPassword:`显示密码`,hidePassword:`隐藏密码`},date:{daySegment:`日,`,monthSegment:`月, `,yearSegment:`年, `,hourSegment:`时, `,minuteSegment:`分, `,secondSegment:`秒, `,dayPeriodSegment:`上午/下午, `,timeZoneSegment:`时区, `,empty:`空`,placeholder:{year:`年`,month:`月`,day:`日`,time:`––`}}}},am={[rm.key]:rm,[im.key]:im};function om(e){return e?am[e]??rm:rm}function sm(e){return om(e).messages}function cm(e){return e?am[e]?.dir??`ltr`:`ltr`}var[lm,um]=Q(`ConfigProvider`);function dm(e){let t=um();return J(()=>Qt(e)||t?.dir?.value||`ltr`)}function fm(e){let t=um();return J(()=>Qt(e)||t?.locale?.value||`en`)}function pm(){let e=um();return J(()=>{let t=sm(e?.locale?.value??`en`),n=e?.messages?.value;return n?$p(n,t):t})}function mm(e){let t=I();function n(n){let r=Of(n);r&&(t.value=r,e?.(r))}return[t,n]}function $(e,t=e=>e){let[n,r]=Q(e,t);return[n,e=>{let t=r();return J(e?()=>t?.value?.[e]:()=>t?.value??{})}]}var hm={ArrowRight:`right`,ArrowLeft:`left`,ArrowUp:`up`,ArrowDown:`down`,Home:`home`,End:`end`};function gm(e,t,n){let{goForward:r,loop:i=!0}=n,a=e.length;if(a===0)return null;let o=e.indexOf(t);if(o===-1)return(r?e[0]:e[a-1])||null;let s=0,c=o;for(;s<a;){if(c=r?c+1:c-1,!i&&(c<0||c>=a))return null;c<0?c=a-1:c>=a&&(c=0);let t=e[c];if(t){let e=t.getAttribute(`disabled`);if(!(e!==null&&e!==`false`))return t}s++}return null}var _m=`data-scroll-lock`,vm=`scroll-lock-styles`,ym={BODY:`scroll-lock-body`,BODY_WITH_SCROLLBAR:`scroll-lock-body-with-scrollbar`,HTML:`scroll-lock-html`},bm=`
|
||
.${ym.BODY} {
|
||
position: fixed !important;
|
||
overflow-x: hidden !important;
|
||
left: 0 !important;
|
||
right: 0 !important;
|
||
bottom: 0 !important;
|
||
height: auto !important;
|
||
}
|
||
|
||
.${ym.BODY_WITH_SCROLLBAR} {
|
||
overflow-y: scroll !important;
|
||
}
|
||
|
||
.${ym.HTML} {
|
||
scroll-behavior: auto !important;
|
||
}
|
||
`;function xm(){if(!jf)return()=>{};let e=document.body;if(e.hasAttribute(_m))return()=>{};km();let t=window.scrollY;Sm(e,t,wm());let n=Pf()?Tm():void 0;return()=>Cm(e,t,n)}function Sm(e,t,n){e.style.top=`-${t}px`,e.classList.add(ym.BODY),n&&e.classList.add(ym.BODY_WITH_SCROLLBAR),document.documentElement.classList.add(ym.HTML),e.setAttribute(_m,`true`)}function Cm(e,t,n){e.classList.remove(ym.BODY,ym.BODY_WITH_SCROLLBAR),document.documentElement.classList.remove(ym.HTML),e.style.top=``,e.removeAttribute(_m),window.scrollTo(0,t),n?.()}function wm(){return document.body.scrollHeight>window.innerHeight}function Tm(){let e=e=>{Em(e)&&e.preventDefault()};return document.addEventListener(`touchmove`,e,{passive:!1}),()=>{document.removeEventListener(`touchmove`,e)}}function Em(e){if(e.touches.length>1)return!1;let t=e.target;return!Dm(t)}function Dm(e){let t=e;for(;t&&t.tagName!==`BODY`;){if(Om(window.getComputedStyle(t),t))return!0;t=t.parentElement}return!1}function Om(e,t){let n=e.overflowX===`scroll`||e.overflowY===`scroll`,r=e.overflowX===`auto`&&t.clientWidth<t.scrollWidth||e.overflowY===`auto`&&t.clientHeight<t.scrollHeight;return n||r}function km(){if(!document.getElementById(vm)){let e=document.createElement(`style`);e.id=vm,e.textContent=bm,document.head.appendChild(e)}}var Am=e=>Object.keys(e),jm=e=>e==null,Mm=e=>e.filter(e=>!jm(e)),Nm=e=>e.replace(/(^\w|[-_]\w)/g,e=>e.replace(/[-_]/,``).toUpperCase());function Pm(e){let[t,n]=Q(Nm(`${e}Collection`),()=>{let e=I(),t=t=>{e.value=t},n=F(new Map),r=(t=!0)=>{if(!e.value)return[];let r=pf(e.value),i=[];for(let e of r){let r=n.value.get(e);r&&(!t||!ff(e,`disabled`))&&i.push(r)}return i};return Nr(()=>{n.value.clear()}),{containerElement:e,onContainerElementChange:t,itemRegistry:n,getOrderedItems:r,getOrderedElements:(e=!0)=>r(e).map(e=>e.element)}});return{provideCollectionContext:t,useCollectionContext:n,useCollectionItem:(t={})=>{let{itemRegistry:r}=n(Nm(`${e}Item`)),i=I(),a=e=>{i.value&&i.value!==e&&r.value.delete(i.value),i.value=e};return Hn(()=>{i.value&&r.value.set(i.value,{element:i.value,data:Qt(t)}),ln(()=>{i.value&&=(r.value.delete(i.value),void 0)})}),{itemElement:i,onItemElementChange:a,setItemElement:e=>{let t=Of(e);t&&a(t)}}}}}function Fm(e,t,n,r){let i=e();if(i!==void 0)return J({get:()=>e(),set:e=>{t?.(e)}});let a=I(i??n),o=!1;return Un(e,e=>{o||e===void 0&&!r||(o=!0,a.value=e,Cn(()=>{o=!1}))}),Un(a,e=>{!o&&(e!==void 0||r)&&t?.(e)}),a}var Im=[],Lm;function Rm(e,t){Hn(()=>{let n=Qt(e);if(!n)return;let r=Im.length===0,i=Lm!==n;(r||i)&&(i&&Lm&&Lm.removeEventListener(`keydown`,zm),Lm=n,n.addEventListener(`keydown`,zm)),Im.includes(t)||Im.push(t),ln(()=>{Im=Im.filter(e=>e!==t),Im.length===0&&(Lm?.removeEventListener(`keydown`,zm),Lm=void 0)})})}function zm(e){let t=e;if(t.key===`Escape`)for(let e of Im.slice())e(t)}var Bm=`data-dismissable-layer`,Vm={layers:Lt(new Set),layersWithOutsidePointerEventsDisabled:Lt(new Set),branches:Lt(new Set)},Hm;function Um(e,t={}){let{disableOutsidePointerEvents:n,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:o,onDismiss:s}=t,c=()=>e.value?.ownerDocument??globalThis?.document,l=J(()=>e.value?Array.from(Vm.layers).indexOf(e.value):-1),u=J(()=>Vm.layersWithOutsidePointerEventsDisabled.size>0),d=J(()=>{let e=Array.from(Vm.layers),[t]=[...Vm.layersWithOutsidePointerEventsDisabled].slice(-1),n=t?e.indexOf(t):-1;return l.value>=n}),f=J(()=>{if(u.value)return d.value?`auto`:`none`});return Wm(e,e=>{if(!d.value)return;let t=e.target;[...Vm.branches].some(e=>e.contains(t))||(i?.(e),o?.(e),e.defaultPrevented||s?.())}),Gm(e,e=>{let t=e.target;[...Vm.branches].some(e=>e.contains(t))||(a?.(e),o?.(e),e.defaultPrevented||s?.())}),Rm(c,e=>{l.value===Vm.layers.size-1&&(r?.(e),e.defaultPrevented||(e.preventDefault(),s?.()))}),Un(e,e=>{if(!e)return;let t=c(),r=Qt(n);r&&(Vm.layersWithOutsidePointerEventsDisabled.size===0&&(Hm=t.body.style.pointerEvents,t.body.style.pointerEvents=`none`),Vm.layersWithOutsidePointerEventsDisabled.add(e)),Vm.layers.add(e),ln(()=>{r&&Vm.layersWithOutsidePointerEventsDisabled.size===1&&(Hm?t.body.style.pointerEvents=Hm:t.body.style.removeProperty(`pointer-events`)),Vm.layers.delete(e),Vm.layersWithOutsidePointerEventsDisabled.delete(e)})}),{pointerEvents:f}}function Wm(e,t,n=!0){let r=!1,i=()=>{};return Vn(()=>{if(!jf||!Qt(n)||!e.value)return;let a=e.value.ownerDocument;async function o(n){if(!e.value)return;let o=n.target;if(r=Km(e.value,o),o&&!r){let e={originalEvent:n};function r(){Ff(`dismissableLayer.pointerDownOutside`,t,e)}n.pointerType===`touch`?(a.removeEventListener(`click`,i),i=r,a.addEventListener(`click`,i,{once:!0})):r()}else a.removeEventListener(`click`,i);r=!1}let s=window.setTimeout(()=>{a.addEventListener(`pointerdown`,o)},0);ln(()=>{window.clearTimeout(s),a.removeEventListener(`pointerdown`,o),a.removeEventListener(`click`,i)})}),{onPointerdownCapture:()=>{Qt(n)&&(r=!0)}}}function Gm(e,t,n=!0){let r=!1,i=n=>{if(!e.value||r)return;let i=n.target;i instanceof HTMLElement&&(r=Km(e.value,i),r||Ff(`dismissableLayer.focusOutside`,t,{originalEvent:n}))};return Vn(()=>{if(!jf||!Qt(n)||!e.value)return;let t=e.value.ownerDocument;t.addEventListener(`focusin`,i),ln(()=>{t.removeEventListener(`focusin`,i)})}),{onFocusCapture:()=>{Qt(n)&&(r=!0)},onBlurCapture:()=>{Qt(n)&&(r=!1)}}}function Km(e,t){if(!e)return!1;if(e.contains(t))return!0;let n=qm(e),r=t.closest(`[${Bm}]`);if(!n||!r)return!1;if(n===r)return!0;let i=Array.from(n.ownerDocument.querySelectorAll(`[${Bm}]`));return i.indexOf(n)<i.indexOf(r)}function qm(e){return e.hasAttribute(Bm)?e:e.querySelector(`[${Bm}]`)}var Jm=[`top`,`right`,`bottom`,`left`],Ym=Math.min,Xm=Math.max,Zm=Math.round,Qm=Math.floor,$m=e=>({x:e,y:e}),eh={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function th(e,t,n){return Xm(e,Ym(t,n))}function nh(e,t){return typeof e==`function`?e(t):e}function rh(e){return e.split(`-`)[0]}function ih(e){return e.split(`-`)[1]}function ah(e){return e===`x`?`y`:`x`}function oh(e){return e===`y`?`height`:`width`}function sh(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function ch(e){return ah(sh(e))}function lh(e,t,n){n===void 0&&(n=!1);let r=ih(e),i=ch(e),a=oh(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=vh(o)),[o,vh(o)]}function uh(e){let t=vh(e);return[dh(e),t,dh(t)]}function dh(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var fh=[`left`,`right`],ph=[`right`,`left`],mh=[`top`,`bottom`],hh=[`bottom`,`top`];function gh(e,t,n){switch(e){case`top`:case`bottom`:return n?t?ph:fh:t?fh:ph;case`left`:case`right`:return t?mh:hh;default:return[]}}function _h(e,t,n,r){let i=ih(e),a=gh(rh(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(dh)))),a}function vh(e){let t=rh(e);return eh[t]+e.slice(t.length)}function yh(e){return{top:0,right:0,bottom:0,left:0,...e}}function bh(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:yh(e)}function xh(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function Sh(e,t,n){let{reference:r,floating:i}=e,a=sh(t),o=ch(t),s=oh(o),c=rh(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}switch(ih(t)){case`start`:p[o]-=f*(n&&l?-1:1);break;case`end`:p[o]+=f*(n&&l?-1:1);break}return p}async function Ch(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=nh(t,e),p=bh(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=xh(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=xh(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var wh=50,Th=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:Ch},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=Sh(l,r,c),f=r,p=0,m={};for(let n=0;n<a.length;n++){let h=a[n];if(!h)continue;let{name:g,fn:_}=h,{x:v,y,data:b,reset:x}=await _({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:l,platform:s,elements:{reference:e,floating:t}});u=v??u,d=y??d,m[g]={...m[g],...b},x&&p<wh&&(p++,typeof x==`object`&&(x.placement&&(f=x.placement),x.rects&&(l=x.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:d}=Sh(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}},Eh=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=nh(e,t)||{};if(l==null)return{};let d=bh(u),f={x:n,y:r},p=ch(i),m=oh(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),C=S?S[y]:0;(!C||!await(o.isElement==null?void 0:o.isElement(S)))&&(C=s.floating[y]||a.floating[m]);let w=b/2-x/2,T=C/2-h[m]/2-1,ee=Ym(d[_],T),te=Ym(d[v],T),E=ee,ne=C-h[m]-te,D=C/2-h[m]/2+w,re=th(E,D,ne),ie=!c.arrow&&ih(i)!=null&&D!==re&&a.reference[m]/2-(D<E?ee:te)-h[m]/2<0,ae=ie?D<E?D-E:D-ne:0;return{[p]:f[p]+ae,data:{[p]:re,centerOffset:D-re-ae,...ie&&{alignmentOffset:ae}},reset:ie}}}),Dh=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=nh(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=rh(r),_=sh(o),v=rh(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[vh(o)]:uh(o)),x=p!==`none`;!d&&x&&b.push(..._h(o,m,p,y));let S=[o,...b],C=await s.detectOverflow(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=lh(r,a,y);w.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:r,overflows:w}],!w.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=S[e];if(t&&(!(u===`alignment`&&_!==sh(t))||T.every(e=>sh(e.placement)===_?e.overflows[0]>0:!0)))return{data:{index:e,overflows:T},reset:{placement:t}};let n=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=T.filter(e=>{if(x){let t=sh(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o;break}if(r!==n)return{reset:{placement:n}}}return{}}}};function Oh(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function kh(e){return Jm.some(t=>e[t]>=0)}var Ah=function(e){return e===void 0&&(e={}),{name:`hide`,options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i=`referenceHidden`,...a}=nh(e,t);switch(i){case`referenceHidden`:{let e=Oh(await r.detectOverflow(t,{...a,elementContext:`reference`}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:kh(e)}}}case`escaped`:{let e=Oh(await r.detectOverflow(t,{...a,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:kh(e)}}}default:return{}}}}},jh=new Set([`left`,`top`]);async function Mh(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=rh(n),s=ih(n),c=sh(n)===`y`,l=jh.has(o)?-1:1,u=a&&c?-1:1,d=nh(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var Nh=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await Mh(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},Ph=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=nh(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=sh(rh(i)),p=ah(f),m=u[p],h=u[f];if(o){let e=p===`y`?`top`:`left`,t=p===`y`?`bottom`:`right`,n=m+d[e],r=m-d[t];m=th(n,m,r)}if(s){let e=f===`y`?`top`:`left`,t=f===`y`?`bottom`:`right`,n=h+d[e],r=h-d[t];h=th(n,h,r)}let g=c.fn({...t,[p]:m,[f]:h});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[p]:o,[f]:s}}}}}},Fh=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:c=!0,crossAxis:l=!0}=nh(e,t),u={x:n,y:r},d=sh(i),f=ah(d),p=u[f],m=u[d],h=nh(s,t),g=typeof h==`number`?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(c){let e=f===`y`?`height`:`width`,t=a.reference[f]-a.floating[e]+g.mainAxis,n=a.reference[f]+a.reference[e]-g.mainAxis;p<t?p=t:p>n&&(p=n)}if(l){let e=f===`y`?`width`:`height`,t=jh.has(rh(i)),n=a.reference[d]-a.floating[e]+(t&&o.offset?.[d]||0)+(t?0:g.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:o.offset?.[d]||0)-(t?g.crossAxis:0);m<n?m=n:m>r&&(m=r)}return{[f]:p,[d]:m}}}},Ih=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){var n,r;let{placement:i,rects:a,platform:o,elements:s}=t,{apply:c=()=>{},...l}=nh(e,t),u=await o.detectOverflow(t,l),d=rh(i),f=ih(i),p=sh(i)===`y`,{width:m,height:h}=a.floating,g,_;d===`top`||d===`bottom`?(g=d,_=f===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?`start`:`end`)?`left`:`right`):(_=d,g=f===`end`?`top`:`bottom`);let v=h-u.top-u.bottom,y=m-u.left-u.right,b=Ym(h-u[g],v),x=Ym(m-u[_],y),S=!t.middlewareData.shift,C=b,w=x;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(w=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(C=v),S&&!f){let e=Xm(u.left,0),t=Xm(u.right,0),n=Xm(u.top,0),r=Xm(u.bottom,0);p?w=m-2*(e!==0||t!==0?e+t:Xm(u.left,u.right)):C=h-2*(n!==0||r!==0?n+r:Xm(u.top,u.bottom))}await c({...t,availableWidth:w,availableHeight:C});let T=await o.getDimensions(s.floating);return m!==T.width||h!==T.height?{reset:{rects:!0}}:{}}}};function Lh(){return typeof window<`u`}function Rh(e){return Vh(e)?(e.nodeName||``).toLowerCase():`#document`}function zh(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Bh(e){return((Vh(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function Vh(e){return Lh()?e instanceof Node||e instanceof zh(e).Node:!1}function Hh(e){return Lh()?e instanceof Element||e instanceof zh(e).Element:!1}function Uh(e){return Lh()?e instanceof HTMLElement||e instanceof zh(e).HTMLElement:!1}function Wh(e){return!Lh()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof zh(e).ShadowRoot}function Gh(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=ng(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function Kh(e){return/^(table|td|th)$/.test(Rh(e))}function qh(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var Jh=/transform|translate|scale|rotate|perspective|filter/,Yh=/paint|layout|strict|content/,Xh=e=>!!e&&e!==`none`,Zh;function Qh(e){let t=Hh(e)?ng(e):e;return Xh(t.transform)||Xh(t.translate)||Xh(t.scale)||Xh(t.rotate)||Xh(t.perspective)||!eg()&&(Xh(t.backdropFilter)||Xh(t.filter))||Jh.test(t.willChange||``)||Yh.test(t.contain||``)}function $h(e){let t=ig(e);for(;Uh(t)&&!tg(t);){if(Qh(t))return t;if(qh(t))return null;t=ig(t)}return null}function eg(){return Zh??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),Zh}function tg(e){return/^(html|body|#document)$/.test(Rh(e))}function ng(e){return zh(e).getComputedStyle(e)}function rg(e){return Hh(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ig(e){if(Rh(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||Wh(e)&&e.host||Bh(e);return Wh(t)?t.host:t}function ag(e){let t=ig(e);return tg(t)?e.ownerDocument?e.ownerDocument.body:e.body:Uh(t)&&Gh(t)?t:ag(t)}function og(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=ag(e),i=r===e.ownerDocument?.body,a=zh(r);if(i){let e=sg(a);return t.concat(a,a.visualViewport||[],Gh(r)?r:[],e&&n?og(e):[])}else return t.concat(r,og(r,[],n))}function sg(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function cg(e){let t=ng(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=Uh(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=Zm(n)!==a||Zm(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function lg(e){return Hh(e)?e:e.contextElement}function ug(e){let t=lg(e);if(!Uh(t))return $m(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=cg(t),o=(a?Zm(n.width):n.width)/r,s=(a?Zm(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var dg=$m(0);function fg(e){let t=zh(e);return!eg()||!t.visualViewport?dg:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function pg(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==zh(e)?!1:t}function mg(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=lg(e),o=$m(1);t&&(r?Hh(r)&&(o=ug(r)):o=ug(e));let s=pg(a,n,r)?fg(a):$m(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a){let e=zh(a),t=r&&Hh(r)?zh(r):r,n=e,i=sg(n);for(;i&&r&&t!==n;){let e=ug(i),t=i.getBoundingClientRect(),r=ng(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=zh(i),i=sg(n)}}return xh({width:u,height:d,x:c,y:l})}function hg(e,t){let n=rg(e).scrollLeft;return t?t.left+n:mg(Bh(e)).left+n}function gg(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-hg(e,n),y:n.top+t.scrollTop}}function _g(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=Bh(r),s=t?qh(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=$m(1),u=$m(0),d=Uh(r);if((d||!d&&!a)&&((Rh(r)!==`body`||Gh(o))&&(c=rg(r)),d)){let e=mg(r);l=ug(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?gg(o,c):$m(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function vg(e){return Array.from(e.getClientRects())}function yg(e){let t=Bh(e),n=rg(e),r=e.ownerDocument.body,i=Xm(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=Xm(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-n.scrollLeft+hg(e),s=-n.scrollTop;return ng(r).direction===`rtl`&&(o+=Xm(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}var bg=25;function xg(e,t){let n=zh(e),r=Bh(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;let e=eg();(!e||e&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}let l=hg(r);if(l<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(r.clientWidth-t.clientWidth-i);o<=bg&&(a-=o)}else l<=bg&&(a+=l);return{width:a,height:o,x:s,y:c}}function Sg(e,t){let n=mg(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=Uh(e)?ug(e):$m(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function Cg(e,t,n){let r;if(t===`viewport`)r=xg(e,n);else if(t===`document`)r=yg(Bh(e));else if(Hh(t))r=Sg(t,n);else{let n=fg(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return xh(r)}function wg(e,t){let n=ig(e);return n===t||!Hh(n)||tg(n)?!1:ng(n).position===`fixed`||wg(n,t)}function Tg(e,t){let n=t.get(e);if(n)return n;let r=og(e,[],!1).filter(e=>Hh(e)&&Rh(e)!==`body`),i=null,a=ng(e).position===`fixed`,o=a?ig(e):e;for(;Hh(o)&&!tg(o);){let t=ng(o),n=Qh(o);!n&&t.position===`fixed`&&(i=null),(a?!n&&!i:!n&&t.position===`static`&&i&&(i.position===`absolute`||i.position===`fixed`)||Gh(o)&&!n&&wg(e,o))?r=r.filter(e=>e!==o):i=t,o=ig(o)}return t.set(e,r),r}function Eg(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?qh(t)?[]:Tg(t,this._c):[].concat(n),r],o=Cg(t,a[0],i),s=o.top,c=o.right,l=o.bottom,u=o.left;for(let e=1;e<a.length;e++){let n=Cg(t,a[e],i);s=Xm(n.top,s),c=Ym(n.right,c),l=Ym(n.bottom,l),u=Xm(n.left,u)}return{width:c-u,height:l-s,x:u,y:s}}function Dg(e){let{width:t,height:n}=cg(e);return{width:t,height:n}}function Og(e,t,n){let r=Uh(t),i=Bh(t),a=n===`fixed`,o=mg(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=$m(0);function l(){c.x=hg(i)}if(r||!r&&!a)if((Rh(t)!==`body`||Gh(i))&&(s=rg(t)),r){let e=mg(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&l();a&&!r&&i&&l();let u=i&&!r&&!a?gg(i,s):$m(0);return{x:o.left+s.scrollLeft-c.x-u.x,y:o.top+s.scrollTop-c.y-u.y,width:o.width,height:o.height}}function kg(e){return ng(e).position===`static`}function Ag(e,t){if(!Uh(e)||ng(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return Bh(e)===n&&(n=n.ownerDocument.body),n}function jg(e,t){let n=zh(e);if(qh(e))return n;if(!Uh(e)){let t=ig(e);for(;t&&!tg(t);){if(Hh(t)&&!kg(t))return t;t=ig(t)}return n}let r=Ag(e,t);for(;r&&Kh(r)&&kg(r);)r=Ag(r,t);return r&&tg(r)&&kg(r)&&!Qh(r)?n:r||$h(e)||n}var Mg=async function(e){let t=this.getOffsetParent||jg,n=this.getDimensions,r=await n(e.floating);return{reference:Og(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Ng(e){return ng(e).direction===`rtl`}var Pg={convertOffsetParentRelativeRectToViewportRelativeRect:_g,getDocumentElement:Bh,getClippingRect:Eg,getOffsetParent:jg,getElementRects:Mg,getClientRects:vg,getDimensions:Dg,getScale:ug,isElement:Hh,isRTL:Ng};function Fg(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Ig(e,t){let n=null,r,i=Bh(e);function a(){var e;clearTimeout(r),(e=n)==null||e.disconnect(),n=null}function o(s,c){s===void 0&&(s=!1),c===void 0&&(c=1),a();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(s||t(),!f||!p)return;let m=Qm(d),h=Qm(i.clientWidth-(u+f)),g=Qm(i.clientHeight-(d+p)),_=Qm(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:Xm(0,Ym(1,c))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(n!==c){if(!y)return o();n?o(!1,n):r=setTimeout(()=>{o(!1,1e-7)},1e3)}n===1&&!Fg(l,e.getBoundingClientRect())&&o(),y=!1}try{n=new IntersectionObserver(b,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(b,v)}n.observe(e)}return o(!0),a}var Lg=Nh,Rg=Ph,zg=Dh,Bg=Ih,Vg=Ah,Hg=Eh,Ug=Fh,Wg=(e,t,n)=>{let r=new Map,i={platform:Pg,...n},a={...i.platform,_c:r};return Th(e,t,{...i,platform:a})};function Gg(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Kg(e,t){let n=Gg(e);return Math.round(t*n)/n}var qg=0,Jg=`data-soybean-focus-guard`;function Yg(){Hn(()=>{if(!jf)return;let e=document.querySelectorAll(`[${Jg}]`);if(qg===0||e.length===0){let t=e[0]??Xg(),n=e[1]??Xg();t.parentNode||document.body.insertAdjacentElement(`afterbegin`,t),n.parentNode||document.body.insertAdjacentElement(`beforeend`,n)}qg++,ln(()=>{qg--,qg===0&&document.querySelectorAll(`[${Jg}]`).forEach(e=>e.remove())})})}function Xg(){let e=document.createElement(`span`);return e.setAttribute(Jg,``),e.tabIndex=0,Object.assign(e.style,{outline:`none`,opacity:`0`,position:`fixed`,pointerEvents:`none`}),e}var Zg=`focusScope.autoFocusOnOpen`,Qg=`focusScope.autoFocusOnClose`,$g={bubbles:!1,cancelable:!0},e_=n_();function t_(e,t){let{loop:n,trapped:r,onOpenAutoFocus:i,onCloseAutoFocus:a}=t||{},o,s={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}};if(jf){function t(t){if(s.paused||!e.value)return;let n=t.target;e.value.contains(n)?o=n:Cf(o,{select:!0})}function n(t){if(s.paused||!e.value)return;let n=t.relatedTarget;n!==null&&(e.value.contains(n)||Cf(o,{select:!0}))}function c(){e.value?.contains(o)||Cf(e.value)}Vn(()=>{if(!Qt(r))return;document.addEventListener(`focusin`,t),document.addEventListener(`focusout`,n);let i=new MutationObserver(c);e.value&&i.observe(e.value,{childList:!0,subtree:!0}),ln(()=>{document.removeEventListener(`focusin`,t),document.removeEventListener(`focusout`,n),i.disconnect()})}),Un(e,async(e,t,n)=>{if(await Cn(),!e)return;e_.add(s);let r=df(),o=e.contains(r);if(i&&e.addEventListener(Zg,i),a&&e.addEventListener(Qg,a),!o){let t=new CustomEvent(Zg,$g);e.dispatchEvent(t),t.defaultPrevented||(gf(uf(yf(e)),{select:!0}),df()===r&&Cf(e))}n(()=>{i&&e.removeEventListener(Zg,i);let t=new CustomEvent(Qg,$g);e.dispatchEvent(t),window.setTimeout(()=>{t.defaultPrevented||Cf(r??document.body,{select:!0}),a&&e.removeEventListener(Qg,a),e_.remove(s)},0)})})}function c(e){let t=Qt(n),i=Qt(r);if(!t&&!i||s.paused)return;let a=e.key===`Tab`&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=df();if(!a||!o)return;let c=e.currentTarget,[l,u]=vf(c);l&&u?!e.shiftKey&&o===u?(e.preventDefault(),t&&Cf(l,{select:!0})):e.shiftKey&&o===l&&(e.preventDefault(),t&&Cf(u,{select:!0})):o===c&&e.preventDefault()}return{onKeydown:c}}function n_(){let e=[];return{add(t){let n=e[0];t!==n&&n?.pause(),e=Zl(e,t),e.unshift(t)},remove(t){e=Zl(e,t),e[0]?.resume()}}}function r_(e){let t=La()?.type?.emits||[],n={};return t.forEach(t=>{n[t]=(...n)=>{e(t,...n)}}),n}function i_(e){return Array.isArray?Array.isArray(e):m_(e)===`[object Array]`}function a_(e){if(typeof e==`string`)return e;if(typeof e==`bigint`)return e.toString();let t=e+``;return t==`0`&&1/e==-1/0?`-0`:t}function o_(e){return e==null?``:a_(e)}function s_(e){return typeof e==`string`}function c_(e){return typeof e==`number`}function l_(e){return e===!0||e===!1||d_(e)&&m_(e)==`[object Boolean]`}function u_(e){return typeof e==`object`}function d_(e){return u_(e)&&e!==null}function f_(e){return e!=null}function p_(e){return!e.trim().length}function m_(e){return e==null?e===void 0?`[object Undefined]`:`[object Null]`:Object.prototype.toString.call(e)}var h_=`Incorrect 'index' type`,g_=`Invalid doc index: must be a non-negative integer within the bounds of the docs array`,__=e=>`Invalid value for key ${e}`,v_=e=>`Pattern length exceeds max of ${e}.`,y_=e=>`Missing ${e} property in key`,b_=e=>`Property 'weight' in key '${e}' must be a positive integer`,x_=`Fuse.match does not support useTokenSearch: token search requires corpus-level statistics (df, fieldCount) that a one-off string comparison does not have. Use new Fuse(...).search(...) instead.`,S_=Object.prototype.hasOwnProperty,C_=class{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach(e=>{let n=w_(e);this._keys.push(n),this._keyMap[n.id]=n,t+=n.weight}),this._keys.forEach(e=>{e.weight/=t})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}};function w_(e){let t=null,n=null,r=null,i=1,a=null;if(s_(e)||i_(e))r=e,t=T_(e),n=E_(e);else{if(!S_.call(e,`name`))throw Error(y_(`name`));let o=e.name;if(r=o,S_.call(e,`weight`)&&e.weight!==void 0&&(i=e.weight,i<=0))throw Error(b_(E_(o)));t=T_(o),n=E_(o),a=e.getFn??null}return{path:t,id:n,weight:i,src:r,getFn:a}}function T_(e){return i_(e)?e:e.split(`.`)}function E_(e){return i_(e)?e.join(`.`):e}function D_(e,t){let n=[],r=!1,i=(e,t,a,o)=>{if(f_(e))if(!t[a])n.push(o===void 0?e:{v:e,i:o});else{let s=e[t[a]];if(!f_(s))return;if(a===t.length-1&&(s_(s)||c_(s)||l_(s)||typeof s==`bigint`))n.push(o===void 0?o_(s):{v:o_(s),i:o});else if(i_(s)){r=!0;for(let e=0,n=s.length;e<n;e+=1)i(s[e],t,a+1,e)}else t.length&&i(s,t,a+1,o)}};return i(e,s_(t)?t.split(`.`):t,0),r?n:n[0]}var O_={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},k_={isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1},A_={location:0,threshold:.6,distance:100},j_={useExtendedSearch:!1,useTokenSearch:!1,tokenize:void 0,tokenMatch:`any`,getFn:D_,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1},M_=Object.freeze({...k_,...O_,...A_,...j_});function N_(e=1,t=3){let n=new Map,r=10**t;return{get(t){let i=1,a=!1;for(let e=0;e<t.length;e++)t.charCodeAt(e)===32?a||=(i++,!0):a=!1;if(n.has(i))return n.get(i);let o=Math.round(r/i**(.5*e))/r;return n.set(i,o),o},clear(){n.clear()}}}var P_=class{constructor({getFn:e=M_.getFn,fieldNormWeight:t=M_.fieldNormWeight}={}){this.norm=N_(t,3),this.getFn=e,this.isCreated=!1,this.docs=[],this.keys=[],this._keysMap={},this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach((e,t)=>{this._keysMap[e.id]=t})}create(){if(this.isCreated||!this.docs.length)return;this.isCreated=!0;let e=this.docs.length;this.records=Array(e);let t=0;if(s_(this.docs[0]))for(let n=0;n<e;n++){let e=this._createStringRecord(this.docs[n],n);e&&(this.records[t++]=e)}else for(let n=0;n<e;n++)this.records[t++]=this._createObjectRecord(this.docs[n],n);this.records.length=t,this.norm.clear()}add(e,t){if(!Number.isInteger(t)||t<0)throw Error(g_);if(s_(e)){let n=this._createStringRecord(e,t);return n&&this.records.push(n),n}let n=this._createObjectRecord(e,t);return this.records.push(n),n}removeAt(e){if(!Number.isInteger(e)||e<0)throw Error(g_);for(let t=0,n=this.records.length;t<n;t+=1)if(this.records[t].i===e){this.records.splice(t,1);break}for(let t=0,n=this.records.length;t<n;t+=1)this.records[t].i>e&&--this.records[t].i}removeAll(e){let t=new Set;for(let n of e)Number.isInteger(n)&&n>=0&&t.add(n);if(t.size===0)return;this.records=this.records.filter(e=>!t.has(e.i));let n=Array.from(t).sort((e,t)=>e-t);for(let e of this.records){let t=0,r=n.length;for(;t<r;){let i=t+r>>>1;n[i]<e.i?t=i+1:r=i}e.i-=t}}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_createStringRecord(e,t){return!f_(e)||p_(e)?null:{v:e,i:t,n:this.norm.get(e)}}_createObjectRecord(e,t){let n={i:t,$:{}};for(let t=0,r=this.keys.length;t<r;t++){let r=this.keys[t],i=r.getFn?r.getFn(e):this.getFn(e,r.path);if(f_(i)){if(i_(i)){let e=[];for(let t=0,n=i.length;t<n;t+=1){let n=i[t];if(f_(n)){if(s_(n)){if(!p_(n)){let r={v:n,i:t,n:this.norm.get(n)};e.push(r)}}else if(f_(n.v)){let t=s_(n.v)?n.v:o_(n.v);if(!p_(t)){let r={v:t,i:n.i,n:this.norm.get(t)};e.push(r)}}}}n.$[t]=e}else if(s_(i)&&!p_(i)){let e={v:i,n:this.norm.get(i)};n.$[t]=e}}}return n}toJSON(){return{keys:this.keys.map(({getFn:e,...t})=>t),records:this.records}}};function F_(e,t,{getFn:n=M_.getFn,fieldNormWeight:r=M_.fieldNormWeight}={}){let i=new P_({getFn:n,fieldNormWeight:r});return i.setKeys(e.map(w_)),i.setSources(t),i.create(),i}function I_(e,{getFn:t=M_.getFn,fieldNormWeight:n=M_.fieldNormWeight}={}){let{keys:r,records:i}=e,a=new P_({getFn:t,fieldNormWeight:n});return a.setKeys(r),a.setIndexRecords(i),a}function L_(e=[],t=M_.minMatchCharLength){let n=[],r=-1,i=-1,a=0;for(let o=e.length;a<o;a+=1){let o=e[a];o&&r===-1?r=a:!o&&r!==-1&&(i=a-1,i-r+1>=t&&n.push([r,i]),r=-1)}return e[a-1]&&a-r>=t&&n.push([r,a-1]),n}function R_(e,t,n,{location:r=M_.location,distance:i=M_.distance,threshold:a=M_.threshold,findAllMatches:o=M_.findAllMatches,minMatchCharLength:s=M_.minMatchCharLength,includeMatches:c=M_.includeMatches,ignoreLocation:l=M_.ignoreLocation}={}){if(t.length>32)throw Error(v_(32));let u=t.length,d=e.length,f=Math.max(0,Math.min(r,d)),p=a,m=f,h=(e,t)=>{let n=e/u;if(l)return n;let r=Math.abs(f-t);return i?n+r/i:r?1:n},g=s>1||c,_=g?Array(d):[],v;for(;(v=e.indexOf(t,m))>-1;){let e=h(0,v);if(p=Math.min(e,p),m=v+u,g){let e=0;for(;e<u;)_[v+e]=1,e+=1}}m=-1;let y=[],b=1,x=0,S=u+d,C=1<<u-1;for(let t=0;t<u;t+=1){let r=0,i=S;for(;r<i;)h(t,f+i)<=p?r=i:S=i,i=Math.floor((S-r)/2+r);S=i;let a=Math.max(1,f-i+1),s=o?d:Math.min(f+i,d)+u,c=Array(s+2);c[s+1]=(1<<t)-1;for(let r=s;r>=a;--r){let i=r-1,o=n[e[i]];if(c[r]=(c[r+1]<<1|1)&o,t&&(c[r]|=(y[r+1]|y[r])<<1|1|y[r+1]),c[r]&C&&(b=h(t,i),b<=p)){if(p=b,m=i,x=t,m<=f)break;a=Math.max(1,2*f-m)}}if(h(t+1,f)>p)break;y=c}if(g&&m>=0){let t=Math.min(d-1,m+u-1+x);for(let r=m;r<=t;r+=1)n[e[r]]&&(_[r]=1)}let w={isMatch:m>=0,score:Math.max(.001,b)};if(g){let e=L_(_,s);e.length?c&&(w.indices=e):w.isMatch=!1}return w}function z_(e){let t={};for(let n=0,r=e.length;n<r;n+=1){let i=e.charAt(n);t[i]=(t[i]||0)|1<<r-n-1}return t}function B_(e){if(e.length<=1)return e;e.sort((e,t)=>e[0]-t[0]||e[1]-t[1]);let t=[e[0]];for(let n=1,r=e.length;n<r;n+=1){let r=t[t.length-1],i=e[n];i[0]<=r[1]+1?r[1]=Math.max(r[1],i[1]):t.push(i)}return t}var V_={ł:`l`,Ł:`L`,đ:`d`,Đ:`D`,ø:`o`,Ø:`O`,ħ:`h`,Ħ:`H`,ŧ:`t`,Ŧ:`T`,ı:`i`,ß:`ss`},H_=RegExp(`[`+Object.keys(V_).join(``)+`]`,`g`),U_=typeof String.prototype.normalize==`function`?e=>e.normalize(`NFD`).replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,``).replace(H_,e=>V_[e]):e=>e,W_=class{constructor(e,{location:t=M_.location,threshold:n=M_.threshold,distance:r=M_.distance,includeMatches:i=M_.includeMatches,findAllMatches:a=M_.findAllMatches,minMatchCharLength:o=M_.minMatchCharLength,isCaseSensitive:s=M_.isCaseSensitive,ignoreDiacritics:c=M_.ignoreDiacritics,ignoreLocation:l=M_.ignoreLocation}={}){if(this.options={location:t,threshold:n,distance:r,includeMatches:i,findAllMatches:a,minMatchCharLength:o,isCaseSensitive:s,ignoreDiacritics:c,ignoreLocation:l},e=s?e:e.toLowerCase(),e=c?U_(e):e,this.pattern=e,this.chunks=[],!this.pattern.length)return;let u=(e,t)=>{this.chunks.push({pattern:e,alphabet:z_(e),startIndex:t})},d=this.pattern.length;if(d>32){let e=0,t=d%32,n=d-t;for(;e<n;)u(this.pattern.substr(e,32),e),e+=32;if(t){let e=d-32;u(this.pattern.substr(e),e)}}else u(this.pattern,0)}searchIn(e){let{isCaseSensitive:t,ignoreDiacritics:n,includeMatches:r}=this.options;if(e=t?e:e.toLowerCase(),e=n?U_(e):e,this.pattern===e){let t={isMatch:!0,score:0};return r&&(t.indices=[[0,e.length-1]]),t}let{location:i,distance:a,threshold:o,findAllMatches:s,minMatchCharLength:c,ignoreLocation:l}=this.options,u=[],d=0,f=!1;this.chunks.forEach(({pattern:t,alphabet:n,startIndex:p})=>{let{isMatch:m,score:h,indices:g}=R_(e,t,n,{location:i+p,distance:a,threshold:o,findAllMatches:s,minMatchCharLength:c,includeMatches:r,ignoreLocation:l});m&&(f=!0),d+=h,m&&g&&u.push(...g)});let p={isMatch:f,score:f?d/this.chunks.length:1};return f&&r&&(p.indices=B_(u)),p}},G_=new Set([`fuzzy`,`include`]);function K_(e){return e.startsWith(`inverse`)}var q_=[{type:`exact`,multiRegex:/^="(.*)"$/,singleRegex:/^=(.*)$/,create:e=>({type:`exact`,search(t){let n=t===e;return{isMatch:n,score:+!n,indices:[0,e.length-1]}}})},{type:`include`,multiRegex:/^'"(.*)"$/,singleRegex:/^'(.*)$/,create:e=>({type:`include`,search(t){let n=0,r,i=[],a=e.length;for(;(r=t.indexOf(e,n))>-1;)n=r+a,i.push([r,n-1]);let o=!!i.length;return{isMatch:o,score:+!o,indices:i}}})},{type:`prefix-exact`,multiRegex:/^\^"(.*)"$/,singleRegex:/^\^(.*)$/,create:e=>({type:`prefix-exact`,search(t){let n=t.startsWith(e);return{isMatch:n,score:+!n,indices:[0,e.length-1]}}})},{type:`inverse-prefix-exact`,multiRegex:/^!\^"(.*)"$/,singleRegex:/^!\^(.*)$/,create:e=>({type:`inverse-prefix-exact`,search(t){let n=!t.startsWith(e);return{isMatch:n,score:+!n,indices:[0,t.length-1]}}})},{type:`inverse-suffix-exact`,multiRegex:/^!"(.*)"\$$/,singleRegex:/^!(.*)\$$/,create:e=>({type:`inverse-suffix-exact`,search(t){let n=!t.endsWith(e);return{isMatch:n,score:+!n,indices:[0,t.length-1]}}})},{type:`suffix-exact`,multiRegex:/^"(.*)"\$$/,singleRegex:/^(.*)\$$/,create:e=>({type:`suffix-exact`,search(t){let n=t.endsWith(e);return{isMatch:n,score:+!n,indices:[t.length-e.length,t.length-1]}}})},{type:`inverse-exact`,multiRegex:/^!"(.*)"$/,singleRegex:/^!(.*)$/,create:e=>({type:`inverse-exact`,search(t){let n=t.indexOf(e)===-1;return{isMatch:n,score:+!n,indices:[0,t.length-1]}}})},{type:`fuzzy`,multiRegex:/^"(.*)"$/,singleRegex:/^(.*)$/,create:(e,t={})=>{let n=new W_(e,{location:t.location??M_.location,threshold:t.threshold??M_.threshold,distance:t.distance??M_.distance,includeMatches:t.includeMatches??M_.includeMatches,findAllMatches:t.findAllMatches??M_.findAllMatches,minMatchCharLength:t.minMatchCharLength??M_.minMatchCharLength,isCaseSensitive:t.isCaseSensitive??M_.isCaseSensitive,ignoreDiacritics:t.ignoreDiacritics??M_.ignoreDiacritics,ignoreLocation:t.ignoreLocation??M_.ignoreLocation});return{type:`fuzzy`,search(e){return n.searchIn(e)}}}}],J_=q_.length,Y_=`\0`,X_=`|`;function Z_(e){let t=[],n=e.length,r=0;for(;r<n;){for(;r<n&&e[r]===` `;)r++;if(r>=n)break;let i=r;for(;i<n&&e[i]!==` `&&e[i]!==`"`;)i++;if(i<n&&e[i]===`"`){for(i++;i<n;){if(e[i]===`"`){let t=i+1;if(t>=n||e[t]===` `){i++;break}if(e[t]===`$`&&(t+1>=n||e[t+1]===` `)){i+=2;break}}i++}t.push(e.substring(r,i)),r=i}else{for(;i<n&&e[i]!==` `;)i++;t.push(e.substring(r,i)),r=i}}return t}function Q_(e,t){let n=e.match(t);return n?n[1]:null}function $_(e,t={}){return e.replace(/\\\|/g,Y_).split(X_).map(e=>{let n=Z_(e.replace(/\u0000/g,`|`).trim()).filter(e=>e&&!!e.trim()),r=[];for(let e=0,i=n.length;e<i;e+=1){let i=n[e],a=!1,o=-1;for(;!a&&++o<J_;){let e=q_[o],n=Q_(i,e.multiRegex);n&&(r.push(e.create(n,t)),a=!0)}if(!a)for(o=-1;++o<J_;){let e=q_[o],n=Q_(i,e.singleRegex);if(n){r.push(e.create(n,t));break}}}return r})}var ev=class{constructor(e,{isCaseSensitive:t=M_.isCaseSensitive,ignoreDiacritics:n=M_.ignoreDiacritics,includeMatches:r=M_.includeMatches,minMatchCharLength:i=M_.minMatchCharLength,ignoreLocation:a=M_.ignoreLocation,findAllMatches:o=M_.findAllMatches,location:s=M_.location,threshold:c=M_.threshold,distance:l=M_.distance}={}){this.query=null,this.options={isCaseSensitive:t,ignoreDiacritics:n,includeMatches:r,minMatchCharLength:i,findAllMatches:o,ignoreLocation:a,location:s,threshold:c,distance:l},e=t?e:e.toLowerCase(),e=n?U_(e):e,this.pattern=e,this.query=$_(this.pattern,this.options)}static condition(e,t){return t.useExtendedSearch}searchIn(e){let t=this.query;if(!t)return{isMatch:!1,score:1};let{includeMatches:n,isCaseSensitive:r,ignoreDiacritics:i}=this.options;e=r?e:e.toLowerCase(),e=i?U_(e):e;let a=0,o=[],s=0,c=!1;for(let r=0,i=t.length;r<i;r+=1){let i=t[r];o.length=0,a=0,c=!1;for(let t=0,r=i.length;t<r;t+=1){let r=i[t],{isMatch:l,indices:u,score:d}=r.search(e);if(l)a+=1,s+=d,K_(r.type)&&(c=!0),n&&(G_.has(r.type)?o.push(...u):o.push(u));else{s=0,a=0,o.length=0,c=!1;break}}if(a){let e={isMatch:!0,score:s/a};return c&&(e.hasInverse=!0),n&&(e.indices=B_(o)),e}}return{isMatch:!1,score:1}}},tv=[];function nv(...e){tv.push(...e)}function rv(e,t){for(let n=0,r=tv.length;n<r;n+=1){let r=tv[n];if(r.condition(e,t))return new r(e,t)}return new W_(e,t)}var iv={AND:`$and`,OR:`$or`},av={PATH:`$path`,PATTERN:`$val`},ov=e=>!!(e[iv.AND]||e[iv.OR]),sv=e=>!!e[av.PATH],cv=e=>!i_(e)&&u_(e)&&!ov(e),lv=e=>({[iv.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function uv(e,t,{auto:n=!0}={}){let r=e=>{if(s_(e)){let r={keyId:null,pattern:e};return n&&(r.searcher=rv(e,t)),r}let i=Object.keys(e),a=sv(e);if(!a&&i.length>1&&!ov(e))return r(lv(e));if(cv(e)){let r=a?e[av.PATH]:i[0],o=a?e[av.PATTERN]:e[r];if(!s_(o))throw Error(__(r));let s={keyId:E_(r),pattern:o};return n&&(s.searcher=rv(o,t)),s}let o={children:[],operator:i[0]};return i.forEach(t=>{let n=e[t];i_(n)&&n.forEach(e=>{o.children.push(r(e))})}),o};return ov(e)||(e=lv(e)),r(e)}function dv(e,{ignoreFieldNorm:t=M_.ignoreFieldNorm}){let n=1;return e.forEach(({key:e,norm:r,score:i})=>{let a=e?e.weight:null;n*=(i===0&&a?2**-52:i)**+((a||1)*(t?1:r))}),n}function fv(e,{ignoreFieldNorm:t=M_.ignoreFieldNorm}){e.forEach(e=>{e.score=dv(e.matches,{ignoreFieldNorm:t})})}var pv=class{constructor(e){this.limit=e,this.heap=[]}get size(){return this.heap.length}shouldInsert(e){return this.size<this.limit||e<this.heap[0].score}insert(e){this.size<this.limit?(this.heap.push(e),this._bubbleUp(this.size-1)):e.score<this.heap[0].score&&(this.heap[0]=e,this._sinkDown(0))}extractSorted(e){return this.heap.sort(e)}_bubbleUp(e){let t=this.heap;for(;e>0;){let n=e-1>>1;if(t[e].score<=t[n].score)break;let r=t[e];t[e]=t[n],t[n]=r,e=n}}_sinkDown(e){let t=this.heap,n=t.length,r=e;do{e=r;let i=2*e+1,a=2*e+2;if(i<n&&t[i].score>t[r].score&&(r=i),a<n&&t[a].score>t[r].score&&(r=a),r!==e){let n=t[e];t[e]=t[r],t[r]=n}}while(r!==e)}};function mv(e){let t=[];return e.matches.forEach(e=>{if(!f_(e.indices)||!e.indices.length)return;let n={indices:e.indices,value:e.value};e.key&&(n.key=e.key.id),e.idx>-1&&(n.refIndex=e.idx),t.push(n)}),t}function hv(e,t,{includeMatches:n=M_.includeMatches,includeScore:r=M_.includeScore}={}){return e.map(e=>{let{idx:i}=e,a={item:t[i],refIndex:i};return n&&(a.matches=mv(e)),r&&(a.score=e.score),a})}var gv=/[\p{L}\p{M}\p{N}_]+/gu,_v=new WeakSet;function vv(e){_v.has(e)||(_v.add(e),console.warn(`[Fuse] tokenize regex ${e} lacks the global flag; only the first match per text will be returned. Add the 'g' flag.`))}function yv(e){if(typeof e==`function`){let t=!1;return n=>{let r=e(n);if(!t&&(t=!0,!Array.isArray(r)||r.some(e=>typeof e!=`string`)))throw Error(`[Fuse] tokenize function must return string[]; received ${Array.isArray(r)?`array containing non-strings`:typeof r}.`);return r}}return e instanceof RegExp?(e.global||vv(e),t=>t.match(e)||[]):e=>e.match(gv)||[]}function bv({isCaseSensitive:e=!1,ignoreDiacritics:t=!1,tokenize:n}={}){let r=yv(n);return{tokenize(n){return e||(n=n.toLowerCase()),t&&(n=U_(n)),r(n)}}}var xv=class{static condition(e,t){return t.useTokenSearch}constructor(e,t){this.options=t,this.analyzer=bv({isCaseSensitive:t.isCaseSensitive,ignoreDiacritics:t.ignoreDiacritics,tokenize:t.tokenize});let n=this.analyzer.tokenize(e),{df:r,fieldCount:i}=t._invertedIndex;this.termSearchers=[],this.idfWeights=[];for(let e of n){this.termSearchers.push(new W_(e,{location:t.location,threshold:t.threshold,distance:t.distance,includeMatches:t.includeMatches,findAllMatches:t.findAllMatches,minMatchCharLength:t.minMatchCharLength,isCaseSensitive:t.isCaseSensitive,ignoreDiacritics:t.ignoreDiacritics,ignoreLocation:!0}));let n=r.get(e)||0,a=Math.log(1+(i-n+.5)/(n+.5));this.idfWeights.push(a)}this.combineAll=t.tokenMatch===`all`,this.numTerms=this.termSearchers.length,this.useMask=this.numTerms<=31}searchIn(e){if(!this.termSearchers.length)return{isMatch:!1,score:1};let t=[],n=0,r=0,i=0,a=0,o=this.combineAll&&!this.useMask?new Set:null;for(let s=0;s<this.termSearchers.length;s++){let c=this.termSearchers[s].searchIn(e),l=this.idfWeights[s];r+=l,c.isMatch&&(i++,n+=l*(1-c.score),c.indices&&t.push(...c.indices),this.combineAll&&(this.useMask?a|=1<<s:o.add(s)))}if(i===0)return{isMatch:!1,score:1};let s=r>0?1-n/r:0,c={isMatch:!0,score:Math.max(.001,s)};return this.options.includeMatches&&t.length&&(c.indices=B_(t)),this.combineAll&&(this.useMask?c.matchedMask=a:c.matchedTerms=o,c.termCount=this.numTerms),c}};function Sv(e,t,n,r){let i=r.tokenize(t);if(!i.length)return;e.fieldCount++,e.docFieldCount.set(n,(e.docFieldCount.get(n)||0)+1);let a=new Set(i),o=e.docTermFieldHits.get(n);o||(o=new Map,e.docTermFieldHits.set(n,o));for(let t of a)o.set(t,(o.get(t)||0)+1),e.df.set(t,(e.df.get(t)||0)+1)}function Cv(e,t,n,r){let{i,v:a,$:o}=t;if(a!==void 0){Sv(e,a,i,r);return}if(o)for(let t=0;t<n;t++){let n=o[t];if(n)if(Array.isArray(n))for(let t of n)Sv(e,t.v,i,r);else Sv(e,n.v,i,r)}}function wv(e,t,n){let r={fieldCount:0,df:new Map,docFieldCount:new Map,docTermFieldHits:new Map};for(let i of e)Cv(r,i,t,n);return r}function Tv(e,t,n,r){Cv(e,t,n,r)}function Ev(e,t){let n=e.docFieldCount.get(t);if(n===void 0)return;e.fieldCount-=n,e.docFieldCount.delete(t);let r=e.docTermFieldHits.get(t);if(r){for(let[t,n]of r){let r=(e.df.get(t)||0)-n;r<=0?e.df.delete(t):e.df.set(t,r)}e.docTermFieldHits.delete(t)}}function Dv(e,t){if(t.length===0)return;let n=Array.from(new Set(t)).sort((e,t)=>e-t);for(let t of n)Ev(e,t);let r=e=>{let t=0,r=n.length;for(;t<r;){let i=t+r>>>1;n[i]<e?t=i+1:r=i}return e-t},i=n[0],a=new Map;for(let[t,n]of e.docFieldCount)a.set(t>i?r(t):t,n);e.docFieldCount=a;let o=new Map;for(let[t,n]of e.docTermFieldHits)o.set(t>i?r(t):t,n);e.docTermFieldHits=o}var Ov=class{constructor(e,t,n){this.options={...M_,...t},this.options.useExtendedSearch,this.options.useTokenSearch,this._keyStore=new C_(this.options.keys),this._docs=e,this._myIndex=null,this._invertedIndex=null,this.setCollection(e,n),this._lastQuery=null,this._lastSearcher=null}_getSearcher(e){if(this._lastQuery===e)return this._lastSearcher;let t=rv(e,this._invertedIndex?{...this.options,_invertedIndex:this._invertedIndex}:this.options);return this._lastQuery=e,this._lastSearcher=t,t}setCollection(e,t){if(this._docs=e,t&&!(t instanceof P_))throw Error(h_);if(this._myIndex=t||F_(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight}),this.options.useTokenSearch){let e=bv({isCaseSensitive:this.options.isCaseSensitive,ignoreDiacritics:this.options.ignoreDiacritics,tokenize:this.options.tokenize});this._invertedIndex=wv(this._myIndex.records,this._myIndex.keys.length,e)}this._invalidateSearcherCache()}add(e){if(!f_(e))return;this._docs.push(e);let t=this._myIndex.add(e,this._docs.length-1);if(this._invertedIndex&&t){let e=bv({isCaseSensitive:this.options.isCaseSensitive,ignoreDiacritics:this.options.ignoreDiacritics,tokenize:this.options.tokenize});Tv(this._invertedIndex,t,this._myIndex.keys.length,e)}this._invalidateSearcherCache()}remove(e=()=>!1){let t=[],n=[];for(let r=0,i=this._docs.length;r<i;r+=1)e(this._docs[r],r)&&(t.push(this._docs[r]),n.push(r));if(n.length){this._invertedIndex&&Dv(this._invertedIndex,n);let e=new Set(n);this._docs=this._docs.filter((t,n)=>!e.has(n)),this._myIndex.removeAll(n),this._invalidateSearcherCache()}return t}removeAt(e){if(!Number.isInteger(e)||e<0||e>=this._docs.length)throw Error(g_);this._invertedIndex&&Dv(this._invertedIndex,[e]);let t=this._docs.splice(e,1)[0];return this._myIndex.removeAt(e),this._invalidateSearcherCache(),t}_invalidateSearcherCache(){this._lastQuery=null,this._lastSearcher=null}getIndex(){return this._myIndex}search(e,t){let{limit:n=-1}=t||{},{includeMatches:r,includeScore:i,shouldSort:a,sortFn:o,ignoreFieldNorm:s}=this.options;if(s_(e)&&!e.trim()){let e=this._docs.map((e,t)=>({item:e,refIndex:t}));return c_(n)&&n>-1&&(e=e.slice(0,n)),e}let c=c_(n)&&n>0&&s_(e),l;if(c){let t=new pv(n);s_(this._docs[0])?this._searchStringList(e,{heap:t,ignoreFieldNorm:s}):this._searchObjectList(e,{heap:t,ignoreFieldNorm:s}),l=t.extractSorted(o)}else l=s_(e)?s_(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e),fv(l,{ignoreFieldNorm:s}),a&&l.sort(o),c_(n)&&n>-1&&(l=l.slice(0,n));return hv(l,this._docs,{includeMatches:r,includeScore:i})}_searchStringList(e,{heap:t,ignoreFieldNorm:n}={}){let r=this._getSearcher(e),i=this.options.useTokenSearch&&this.options.tokenMatch===`all`,{records:a}=this._myIndex,o=t?null:[];return a.forEach(({v:e,i:a,n:s})=>{if(!f_(e))return;let c=r.searchIn(e);if(c.isMatch){let r={score:c.score,value:e,norm:s,indices:c.indices};i&&(r.matchedMask=c.matchedMask,r.matchedTerms=c.matchedTerms,r.termCount=c.termCount);let l=[r];if(!i||this._coversAllTokens(l)){let r={item:e,idx:a,matches:l};t?(r.score=dv(r.matches,{ignoreFieldNorm:n}),t.shouldInsert(r.score)&&t.insert(r)):o.push(r)}}}),o}_searchLogical(e){let t=uv(e,this.options),n=(e,t,r)=>{if(!(`children`in e)){let{keyId:n,searcher:i}=e,a;return n===null?(a=[],this._myIndex.keys.forEach((e,n)=>{a.push(...this._findMatches({key:e,value:t[n],searcher:i}))})):a=this._findMatches({key:this._keyStore.get(n),value:this._myIndex.getValueForItemAtKeyId(t,n),searcher:i}),a&&a.length?[{idx:r,item:t,matches:a}]:[]}let{children:i,operator:a}=e,o=[];for(let e=0,s=i.length;e<s;e+=1){let s=i[e],c=n(s,t,r);if(c.length)o.push(...c);else if(a===iv.AND)return[]}return o},r=this._myIndex.records,i=new Map,a=[];return r.forEach(({$:e,i:r})=>{if(f_(e)){let o=n(t,e,r);o.length&&(i.has(r)||(i.set(r,{idx:r,item:e,matches:[]}),a.push(i.get(r))),o.forEach(({matches:e})=>{i.get(r).matches.push(...e)}))}}),a}_searchObjectList(e,{heap:t,ignoreFieldNorm:n}={}){let r=this._getSearcher(e),i=this.options.useTokenSearch&&this.options.tokenMatch===`all`,{keys:a,records:o}=this._myIndex,s=t?null:[];return o.forEach(({$:e,i:o})=>{if(!f_(e))return;let c=[],l=!1,u=!1;if(a.forEach((t,n)=>{let i=this._findMatches({key:t,value:e[n],searcher:r});i.length?(c.push(...i),i[0].hasInverse&&(u=!0)):l=!0}),!(u&&l)&&c.length&&(!i||this._coversAllTokens(c))){let r={idx:o,item:e,matches:c};t?(r.score=dv(r.matches,{ignoreFieldNorm:n}),t.shouldInsert(r.score)&&t.insert(r)):s.push(r)}}),s}_findMatches({key:e,value:t,searcher:n}){if(!f_(t))return[];let r=[];if(i_(t))t.forEach(({v:t,i,n:a})=>{if(!f_(t))return;let o=n.searchIn(t);if(o.isMatch){let n={score:o.score,key:e,value:t,idx:i,norm:a,indices:o.indices,hasInverse:o.hasInverse};o.termCount!==void 0&&(n.matchedMask=o.matchedMask,n.matchedTerms=o.matchedTerms,n.termCount=o.termCount),r.push(n)}});else{let{v:i,n:a}=t,o=n.searchIn(i);if(o.isMatch){let t={score:o.score,key:e,value:i,norm:a,indices:o.indices,hasInverse:o.hasInverse};o.termCount!==void 0&&(t.matchedMask=o.matchedMask,t.matchedTerms=o.matchedTerms,t.termCount=o.termCount),r.push(t)}}return r}_coversAllTokens(e){let t=e.length?e[0].termCount:void 0;if(t===void 0)return!0;if(t<=31){let n=0;for(let t=0;t<e.length;t++)n|=e[t].matchedMask||0;return n===2**t-1}let n=new Set;for(let t=0;t<e.length;t++){let r=e[t].matchedTerms;if(r)for(let e of r)n.add(e)}return n.size===t}};Ov.version=`7.4.2`,Ov.createIndex=F_,Ov.parseIndex=I_,Ov.config=M_,Ov.match=function(e,t,n){if(n&&n.useTokenSearch)throw Error(x_);return rv(e,{...M_,...n}).searchIn(t)},Ov.parseQuery=uv,nv(ev),nv(xv),Ov.use=function(...e){e.forEach(e=>nv(e))};function kv(e,t){return N()?(Te(e,t),!0):!1}function Av(){let e=new Set,t=t=>{e.delete(t)};return{on:n=>{e.add(n);let r=()=>t(n);return kv(r),{off:r}},off:t,trigger:(...t)=>Promise.all(Array.from(e).map(e=>e(...t))),clear:()=>{e.clear()}}}var jv=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var Mv=Object.prototype.toString,Nv=e=>Mv.call(e)===`[object Object]`,Pv=()=>{};function Fv(e,t){function n(...n){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(i)})}return n}function Iv(e,t={}){let n,r,i=Pv,a=e=>{clearTimeout(e),i(),i=Pv},o;return s=>{let c=Qt(e),l=Qt(t.maxWait);return n&&a(n),c<=0||l!==void 0&&l<=0?(r&&=(a(r),void 0),Promise.resolve(s())):new Promise((e,u)=>{i=t.rejectOnCancel?u:e,o=s,l&&!r&&(r=setTimeout(()=>{n&&a(n),r=void 0,e(o())},l)),n=setTimeout(()=>{r&&a(r),r=void 0,e(s())},c)})}}function Lv(e){return Array.isArray(e)?e:[e]}function Rv(e){return e||La()}function zv(e){return It(Yt(e)?new Proxy({},{get(t,n,r){return L(Reflect.get(e.value,n,r))},set(t,n,r){return Yt(e.value[n])&&!Yt(r)?e.value[n].value=r:e.value[n]=r,!0},deleteProperty(t,n){return Reflect.deleteProperty(e.value,n)},has(t,n){return Reflect.has(e.value,n)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}}):e)}function Bv(e){return zv(J(e))}function Vv(e,t=1e4){return nn((n,r)=>{let i=Qt(e),a,o=()=>setTimeout(()=>{i=Qt(e),r()},Qt(t));return kv(()=>{clearTimeout(a)}),{get(){return n(),i},set(e){i=e,r(),clearTimeout(a),a=o()}}})}function Hv(e,t=200,n={}){return Fv(Iv(t,n),e)}function Uv(e,t=!0,n){Rv(n)?Ar(e,n):t?e():Cn(e)}function Wv(e,t,n){return Un(e,t,{...n,immediate:!0})}var Gv=jv?window:void 0,Kv=jv?window.document:void 0;jv&&window.navigator,jv&&window.location;function qv(e){let t=Qt(e);return t?.$el??t}function Jv(...e){let t=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),n=J(()=>{let t=Lv(Qt(e[0])).filter(e=>e!=null);return t.every(e=>typeof e!=`string`)?t:void 0});return Wv(()=>[n.value?.map(e=>qv(e))??[Gv].filter(e=>e!=null),Lv(Qt(n.value?e[1]:e[0])),Lv(L(n.value?e[2]:e[1])),Qt(n.value?e[3]:e[2])],([e,n,r,i],a,o)=>{if(!e?.length||!n?.length||!r?.length)return;let s=Nv(i)?{...i}:i,c=e.flatMap(e=>n.flatMap(n=>r.map(r=>t(e,n,r,s))));o(()=>{c.forEach(e=>e())})},{flush:`post`})}function Yv(){let e=I(!1),t=La();return t&&Ar(()=>{e.value=!0},t),e}function Xv(e){let t=Yv();return J(()=>(t.value,!!e()))}function Zv(e={}){let{document:t=Kv}=e;if(!t)return I(`visible`);let n=I(t.visibilityState);return Jv(t,`visibilitychange`,()=>{n.value=t.visibilityState},{passive:!0}),n}function Qv(e,t,n={}){let{window:r=Gv,...i}=n,a,o=Xv(()=>r&&`ResizeObserver`in r),s=()=>{a&&=(a.disconnect(),void 0)},c=Un(J(()=>{let t=Qt(e);return Array.isArray(t)?t.map(e=>qv(e)):[qv(t)]}),e=>{if(s(),o.value&&r){a=new ResizeObserver(t);for(let t of e)t&&a.observe(t,i)}},{immediate:!0,flush:`post`}),l=()=>{s(),c()};return kv(l),{isSupported:o,stop:l}}function $v(e,t={width:0,height:0},n={}){let{window:r=Gv,box:i=`content-box`}=n,a=J(()=>{var t;return(t=qv(e))==null||(t=t.namespaceURI)==null?void 0:t.includes(`svg`)}),o=I(t.width),s=I(t.height),{stop:c}=Qv(e,([t])=>{let n=i===`border-box`?t.borderBoxSize:i===`content-box`?t.contentBoxSize:t.devicePixelContentBoxSize;if(r&&a.value){let t=qv(e);if(t){let e=t.getBoundingClientRect();o.value=e.width,s.value=e.height}}else if(n){let e=Lv(n);o.value=e.reduce((e,{inlineSize:t})=>e+t,0),s.value=e.reduce((e,{blockSize:t})=>e+t,0)}else o.value=t.contentRect.width,s.value=t.contentRect.height},n);Uv(()=>{let n=qv(e);n&&(o.value=`offsetWidth`in n?n.offsetWidth:t.width,s.value=`offsetHeight`in n?n.offsetHeight:t.height)});let l=Un(()=>qv(e),e=>{o.value=e?t.width:0,s.value=e?t.height:0});function u(){c(),l()}return{width:o,height:s,stop:u}}var ey=0;function ty(e,t={}){let n=I(!1),{document:r=Kv,immediate:i=!0,manual:a=!1,id:o=`vueuse_styletag_${++ey}`}=t,s=I(e),c=()=>{},l=()=>{if(!r)return;let e=r.getElementById(o)||r.createElement(`style`);e.isConnected||(e.id=o,t.nonce&&(e.nonce=t.nonce),t.media&&(e.media=t.media),r.head.appendChild(e)),!n.value&&(c=Un(s,t=>{e.textContent=t},{immediate:!0}),n.value=!0)},u=()=>{!r||!n.value||(c(),r.head.removeChild(r.getElementById(o)),n.value=!1)};return i&&!a&&Uv(l),a||kv(u),{id:o,css:s,unload:u,load:l,isLoaded:zt(n)}}var ny=function(e){return typeof document>`u`?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},ry=new WeakMap,iy=new WeakMap,ay={},oy=0,sy=function(e){return e&&(e.host||sy(e.parentNode))},cy=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=sy(t);return n&&e.contains(n)?n:(console.error(`aria-hidden`,t,`in not contained inside`,e,`. Doing nothing`),null)}).filter(function(e){return!!e})},ly=function(e,t,n,r){var i=cy(t,Array.isArray(e)?e:[e]);ay[n]||(ay[n]=new WeakMap);var a=ay[n],o=[],s=new Set,c=new Set(i),l=function(e){!e||s.has(e)||(s.add(e),l(e.parentNode))};i.forEach(l);var u=function(e){!e||c.has(e)||Array.prototype.forEach.call(e.children,function(e){if(s.has(e))u(e);else try{var t=e.getAttribute(r),i=t!==null&&t!==`false`,c=(ry.get(e)||0)+1,l=(a.get(e)||0)+1;ry.set(e,c),a.set(e,l),o.push(e),c===1&&i&&iy.set(e,!0),l===1&&e.setAttribute(n,`true`),i||e.setAttribute(r,`true`)}catch(t){console.error(`aria-hidden: cannot operate on `,e,t)}})};return u(t),s.clear(),oy++,function(){o.forEach(function(e){var t=ry.get(e)-1,i=a.get(e)-1;ry.set(e,t),a.set(e,i),t||(iy.has(e)||e.removeAttribute(r),iy.delete(e)),i||e.removeAttribute(n)}),oy--,oy||(ry=new WeakMap,ry=new WeakMap,iy=new WeakMap,ay={})}},uy=function(e,t,n){n===void 0&&(n=`data-aria-hidden`);var r=Array.from(Array.isArray(e)?e:[e]),i=t||ny(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll(`[aria-live], script`))),ly(r,i,n,`aria-hidden`)):function(){return null}};function dy(e,t=!0){Hn(()=>{if(!jf)return;let n=Qt(e),r=Mm(Array.isArray(n)?n:[n]);if(r.length===0||r.some(e=>e.closest(`[popover]:not(:popover-open)`))||!Qt(t))return;let i=uy(r);ln(()=>{i()})})}var fy=I(!1);function py(e){let{modal:t,triggerElement:n}=e,r=!1,i=!1;return{onPointerDownOutside:e=>{if(!t.value||e.defaultPrevented)return;let n=e.detail.originalEvent,r=n.button===0&&n.ctrlKey===!0;(n.button===2||r)&&e.preventDefault()},onFocusOutside:e=>{t.value&&e.preventDefault()},onInteractOutside:e=>{if(t.value)return;e.defaultPrevented||(r=!0,e.detail.originalEvent.type===`pointerdown`&&(i=!0));let a=e.target;n.value?.contains(a)&&e.preventDefault(),e.detail.originalEvent.type===`focusin`&&i&&e.preventDefault()},onCloseAutoFocus:e=>{if(t.value){e.defaultPrevented||(e.preventDefault(),n.value?.focus());return}e.defaultPrevented||(r||n.value?.focus(),e.preventDefault()),r=!1,i=!1}}}function my(e,t){let n=I(e);function r(e){return t[n.value][e]??n.value}function i(e){n.value=r(e)}return[n,i]}function hy(e,t,n){let r={},i=`none`,[a,o]=my(Qt(t)?`mounted`:`unmounted`,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}}),s=J(()=>[`mounted`,`unmountSuspended`].includes(a.value)),c=t=>{let n=gy(r).includes(CSS.escape(t.animationName));t.target===e.value&&n&&o(`ANIMATION_END`)},l=t=>{t.target===e.value&&(i=gy(r))};return Hn(()=>{let e=gy(r);i=a.value===`mounted`?e:`none`}),Hn(()=>{let e=Qt(t);n?.(!!e);let a=gy(r);e?o(`MOUNT`):a===`none`||r?.display===`none`?o(`UNMOUNT`):o(i===a?`UNMOUNT`:`ANIMATION_OUT`)}),Hn(()=>{let t=e.value;t?(r=getComputedStyle(t),t.addEventListener(`animationstart`,l),t.addEventListener(`animationcancel`,c),t.addEventListener(`animationend`,c),ln(()=>{t.removeEventListener(`animationstart`,l),t.removeEventListener(`animationcancel`,c),t.removeEventListener(`animationend`,c)})):o(`ANIMATION_END`)}),s}function gy(e){return e?.animationName||`none`}function _y(e,t,...n){return J(()=>({...Xl(e,t),...vy(...n)}))}function vy(...e){return e.length===0?{}:e.map(e=>Qt(e)||{}).reduce((e,t)=>({...e,...t}),{})}function yy(e){let t=Vv(``,1e3);return{search:t,handleTypeaheadSearch:(n,r)=>{if(t.value+=n,e){e(n);return}let i=df(),a=r.map(e=>({...e,textValue:e.data?.textValue??e.element.textContent?.trim()??``})),o=a.find(e=>e.element===i),s=Ql(a.map(e=>e.textValue),t.value,o?.textValue),c=a.find(e=>e.textValue===s);return c&&c.element.focus(),c?.element},resetTypeahead:()=>{t.value=``}}}var[by,xy]=Q(`CollapsibleRoot`,e=>{let{open:t,disabled:n,unmountOnHide:r}=e,i=()=>{n.value||(t.value=!t.value)},a=I(``),o=`soybean-collapsible-content-${mr()}`;return{open:t,disabled:n,unmountOnHide:r,onOpenToggle:i,contentId:a,initContentId:()=>{a.value||=o},dataDisabled:J(()=>n.value?``:void 0),dataState:J(()=>ru(t.value))}}),[Sy,Cy]=$(`CollapsibleUi`),[wy,Ty]=Q(`AccordionRoot`),[Ey,Dy]=Q(`AccordionItem`,e=>{let{open:t,disabled:n}=e,[r,i]=mm(),a=I(``),o=`soybean-accordion-trigger-${mr()}`,s=()=>{a.value||=o},c=J(()=>n.value?``:void 0),l=J(()=>ru(t.value));return{...e,triggerElement:r,setTriggerElement:i,triggerId:a,initTriggerId:s,dataDisabled:c,dataState:l}}),[Oy,ky]=$(`AccordionUi`,e=>(Sy(J(()=>({root:e.value?.item,trigger:e.value?.trigger,content:e.value?.content}))),e)),Ay={width:`--soybean-collapsible-content-width`,height:`--soybean-collapsible-content-height`},jy=z((e,{slots:t,attrs:n})=>()=>{if(!t.default)return null;let e=Df(t.default());if(!e?.length)return null;let r=e.find(e=>e.type!==pa);return r?Da(r,n,!0):null},{name:`Slot`}),My=new Set([`area`,`input`,`img`]),Ny=z((e,{slots:t,attrs:n})=>{let r=e.asChild?`template`:e.as;return typeof r==`string`&&My.has(r)?()=>to(r,n):r===`template`?()=>to(jy,n,{default:t.default}):()=>to(e.as||`div`,n,{default:t.default})},{name:`Primitive`,inheritAttrs:!1,props:[`as`,`asChild`]}),Py=z({name:`CollapsibleContent`,__name:`collapsible-content`,props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(e){let t=e,[n,r]=mm(),{contentId:i,initContentId:a,open:o,dataDisabled:s,dataState:c,unmountOnHide:l}=xy(`CollapsibleContent`),u=Cy(`content`),d=t.forceMount?I(!0):hy(n,o,_),f={[Ay.width]:`0px`,[Ay.height]:`0px`},p=J(()=>d.value||o.value),m=o.value,h,g=J(()=>{if(!p.value)return l.value?``:`until-found`});function _(){let e=n.value;if(!e)return;let t=e.style;h||={transitionDuration:t.transitionDuration,animationName:t.animationName},t.transitionDuration=`0s`,t.animationName=`none`;let r=e.getBoundingClientRect();t.setProperty(Ay.width,`${r.width}px`),t.setProperty(Ay.height,`${r.height}px`),m||(t.transitionDuration=h.transitionDuration,t.animationName=h.animationName)}return Un(p,async()=>{await Cn(),_()},{immediate:!0,flush:`post`}),a(),Ar(()=>{requestAnimationFrame(()=>{m=!1})}),(t,n)=>(V(),U(L(Ny),{id:L(i),ref:L(r),as:e.as,"as-child":e.asChild,"data-soybean-collapsible-content":``,class:A(L(u)),"data-disabled":L(s),"data-state":L(c),hidden:g.value,style:f},{default:R(()=>[!L(l)||p.value?B(t.$slots,`default`,{key:0}):q(`v-if`,!0)]),_:3},8,[`id`,`as`,`as-child`,`class`,`data-disabled`,`data-state`,`hidden`]))}}),Fy=z({name:`CollapsibleRoot`,__name:`collapsible-root`,props:{defaultOpen:{type:Boolean,default:!1},open:{type:Boolean,default:void 0},disabled:{type:Boolean},unmountOnHide:{type:Boolean,default:!0},asChild:{type:Boolean},as:{}},emits:[`update:open`],setup(e,{expose:t,emit:n}){let r=e,i=n,a=_y(r,[`open`,`defaultOpen`,`disabled`,`unmountOnHide`]),o=Cy(`root`),s=Fm(()=>r.open,e=>{i(`update:open`,e)},r.defaultOpen),{dataDisabled:c,dataState:l}=by({open:s,...kf(r,[`disabled`,`unmountOnHide`])});return t({open:s}),(e,t)=>(V(),U(L(Ny),ja(L(a),{"data-soybean-collapsible-root":``,class:L(o),"data-disabled":L(c),"data-state":L(l)}),{default:R(()=>[B(e.$slots,`default`,{open:L(s)})]),_:3},16,[`class`,`data-disabled`,`data-state`]))}}),Iy=z({name:`Button`,__name:`button`,props:{type:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{default:`button`}},emits:[`click`],setup(e,{emit:t}){let n=e,r=t,i=_y(n,[`disabled`,`type`]),a=J(()=>n.as===`button`?n.disabled:void 0),o=J(()=>n.disabled?``:void 0),s=J(()=>n.disabled?void 0:``),c=J(()=>n.disabled?!0:void 0),l=J(()=>{if(n.as===`button`)return n.type??`button`}),u=e=>{if(n.disabled){e.preventDefault(),e.stopPropagation();return}r(`click`,e)};return(e,t)=>(V(),U(L(Ny),ja(L(i),{"data-soybean-button":``,disabled:a.value,"aria-disabled":c.value,"data-disabled":o.value,"data-normal":s.value,tabindex:a.value?`-1`:void 0,type:l.value,onClick:u}),{default:R(()=>[B(e.$slots,`default`)]),_:3},16,[`disabled`,`aria-disabled`,`data-disabled`,`data-normal`,`tabindex`,`type`]))}}),Ly=z({name:`Icon`,__name:`icon`,props:{icon:{}},setup(e){let t=e,n=um(),r=J(()=>n?.iconRender?.(t.icon));return(e,t)=>r.value?(V(),U(Vr(r.value),{key:0})):q(`v-if`,!0)}});Z({slots:{root:``,placeholder:``,content:`data-[state=fixed]:z-50`}});var[Ry,zy]=Q(`AffixRoot`,e=>{let[t,n]=mm();return{...e,contentElement:t,setContentElement:n}}),[By,Vy]=$(`AffixUi`),Hy={xs:12,sm:14,md:16,lg:18,xl:20,"2xl":24},Uy={xs:`xs`,sm:`xs`,md:`sm`,lg:`md`,xl:`lg`,"2xl":`xl`};Object.fromEntries(Object.entries(Hy).map(([e,t])=>[e,t/Hy.md]));var Wy=gl({base:[`inline-flex items-center justify-center font-medium transition-all-150`,`outline-none focus-visible:ring-3 focus-visible:ring-offset-background`,`data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50`],variants:{color:{primary:`focus-visible:ring-primary/30`,destructive:`focus-visible:ring-destructive/30`,success:`focus-visible:ring-success/30`,warning:`focus-visible:ring-warning/30`,info:`focus-visible:ring-info/30`,carbon:`focus-visible:ring-carbon/30`,secondary:`focus-visible:ring-secondary-foreground/20`,accent:`focus-visible:ring-accent-foreground/20`},variant:{solid:`bg-primary text-primary-foreground data-[normal]:hover:bg-primary/80 data-[normal]:active:bg-primary-600`,pure:`border border-border bg-background text-accent-foreground data-[normal]:hover:bg-accent/60 data-[normal]:active:bg-accent`,plain:`border border-border bg-background text-foreground`,outline:`border bg-background`,dashed:`border border-dashed bg-background`,soft:`bg-primary/10 data-[normal]:hover:bg-primary/10 data-[normal]:active:bg-primary/20`,ghost:`bg-transparent`,link:`bg-transparent underline-offset-4 data-[normal]:hover:underline`},size:{xs:`gap-1 text-2xs`,sm:`gap-2 text-xs`,md:`gap-3 text-sm`,lg:`gap-4 text-base`,xl:`gap-5 text-lg`,"2xl":`gap-6 text-xl`},shape:{auto:`rounded-md`,rounded:`rounded-full`,square:`h-8 w-8 p-0 gap-0 rounded-md`,circle:`h-8 w-8 p-0 gap-0 rounded-full`},shadow:{none:`shadow-none`,sm:`shadow-sm`,md:`shadow-md`,lg:`shadow-lg`},fitContent:{true:`w-fit h-fit`,false:``}},compoundVariants:[{color:`destructive`,variant:`solid`,class:`bg-destructive text-destructive-foreground data-[normal]:hover:bg-destructive/80 data-[normal]:active:bg-destructive-600`},{color:`success`,variant:`solid`,class:`bg-success text-success-foreground data-[normal]:hover:bg-success/80 data-[normal]:active:bg-success-600`},{color:`warning`,variant:`solid`,class:`bg-warning text-warning-foreground data-[normal]:hover:bg-warning/80 data-[normal]:active:bg-warning-600`},{color:`info`,variant:`solid`,class:`bg-info text-info-foreground data-[normal]:hover:bg-info/80 data-[normal]:active:bg-info-600`},{color:`carbon`,variant:`solid`,class:`bg-carbon text-carbon-foreground data-[normal]:hover:bg-carbon/80 data-[normal]:active:bg-carbon-600`},{color:`secondary`,variant:`solid`,class:`bg-secondary text-secondary-foreground data-[normal]:hover:bg-secondary/80 data-[normal]:active:bg-secondary-foreground/20`},{color:`accent`,variant:`solid`,class:`bg-accent text-accent-foreground data-[normal]:hover:bg-accent/80 data-[normal]:active:bg-accent-foreground/20`},{color:`primary`,variant:[`outline`,`dashed`,`soft`,`ghost`,`link`],class:`text-primary`},{color:`destructive`,variant:[`outline`,`dashed`,`soft`,`ghost`,`link`],class:`text-destructive`},{color:`success`,variant:[`outline`,`dashed`,`soft`,`ghost`,`link`],class:`text-success`},{color:`warning`,variant:[`outline`,`dashed`,`soft`,`ghost`,`link`],class:`text-warning`},{color:`info`,variant:[`outline`,`dashed`,`soft`,`ghost`,`link`],class:`text-info`},{color:`carbon`,variant:[`outline`,`dashed`,`soft`,`ghost`,`link`],class:`text-carbon`},{color:`secondary`,variant:[`outline`,`dashed`,`soft`,`ghost`,`link`],class:`text-secondary-foreground`},{color:`accent`,variant:[`outline`,`dashed`,`soft`,`ghost`,`link`],class:`text-accent-foreground`},{color:`primary`,variant:[`outline`,`dashed`,`ghost`],class:`data-[normal]:hover:bg-primary/10 data-[normal]:active:bg-primary/20`},{color:`destructive`,variant:[`outline`,`dashed`,`ghost`],class:`data-[normal]:hover:bg-destructive/10 data-[normal]:active:bg-destructive/20`},{color:`success`,variant:[`outline`,`dashed`,`ghost`],class:`data-[normal]:hover:bg-success/10 data-[normal]:active:bg-success/20`},{color:`warning`,variant:[`outline`,`dashed`,`ghost`],class:`data-[normal]:hover:bg-warning/10 data-[normal]:active:bg-warning/20`},{color:`info`,variant:[`outline`,`dashed`,`ghost`],class:`data-[normal]:hover:bg-info/10 data-[normal]:active:bg-info/20`},{color:`carbon`,variant:[`outline`,`dashed`,`ghost`],class:`data-[normal]:hover:bg-carbon/10 data-[normal]:active:bg-carbon/20`},{color:`secondary`,variant:[`outline`,`dashed`,`ghost`],class:`data-[normal]:hover:bg-secondary-foreground/10 data-[normal]:active:bg-secondary-foreground/20`},{color:`accent`,variant:[`outline`,`dashed`,`ghost`],class:`data-[normal]:hover:bg-accent-foreground/10 data-[normal]:active:bg-accent-foreground/20`},{color:`primary`,variant:`plain`,class:`data-[normal]:hover:border-primary data-[normal]:hover:text-primary`},{color:`destructive`,variant:`plain`,class:`data-[normal]:hover:border-destructive data-[normal]:hover:text-destructive`},{color:`success`,variant:`plain`,class:`data-[normal]:hover:border-success data-[normal]:hover:text-success`},{color:`warning`,variant:`plain`,class:`data-[normal]:hover:border-warning data-[normal]:hover:text-warning`},{color:`info`,variant:`plain`,class:`data-[normal]:hover:border-info data-[normal]:hover:text-info`},{color:`carbon`,variant:`plain`,class:`data-[normal]:hover:border-carbon data-[normal]:hover:text-carbon`},{color:`secondary`,variant:`plain`,class:`data-[normal]:hover:border-secondary-foreground data-[normal]:hover:text-secondary-foreground`},{color:`accent`,variant:`plain`,class:`data-[normal]:hover:border-accent-foreground data-[normal]:hover:text-accent-foreground`},{color:`primary`,variant:[`outline`,`dashed`],class:`border-primary`},{color:`destructive`,variant:[`outline`,`dashed`],class:`border-destructive`},{color:`success`,variant:[`outline`,`dashed`],class:`border-success`},{color:`warning`,variant:[`outline`,`dashed`],class:`border-warning`},{color:`info`,variant:[`outline`,`dashed`],class:`border-info`},{color:`carbon`,variant:[`outline`,`dashed`],class:`border-carbon`},{color:`secondary`,variant:[`outline`,`dashed`],class:`border-secondary-foreground`},{color:`accent`,variant:[`outline`,`dashed`],class:`border-accent-foreground`},{color:`destructive`,variant:`soft`,class:`bg-destructive/10 data-[normal]:hover:bg-destructive/10 data-[normal]:active:bg-destructive/20`},{color:`success`,variant:`soft`,class:`bg-success/10 data-[normal]:hover:bg-success/10 data-[normal]:active:bg-success/20`},{color:`warning`,variant:`soft`,class:`bg-warning/10 data-[normal]:hover:bg-warning/10 data-[normal]:active:bg-warning/20`},{color:`info`,variant:`soft`,class:`bg-info/10 data-[normal]:hover:bg-info/10 data-[normal]:active:bg-info/20`},{color:`carbon`,variant:`soft`,class:`bg-carbon/10 data-[normal]:hover:bg-carbon/10 data-[normal]:active:bg-carbon/20`},{color:`secondary`,variant:`soft`,class:`bg-secondary-foreground/10 data-[normal]:hover:bg-secondary-foreground/10 data-[normal]:active:bg-secondary-foreground/20`},{color:`accent`,variant:`soft`,class:`bg-accent-foreground/10 data-[normal]:hover:bg-accent-foreground/10 data-[normal]:active:bg-accent-foreground/20`},{size:`xs`,fitContent:!0,class:`p-0.75`},{size:`sm`,fitContent:!0,class:`p-0.875`},{size:`md`,fitContent:!0,class:`p-1`},{size:`lg`,fitContent:!0,class:`p-1.25`},{size:`xl`,fitContent:!0,class:`p-1.5`},{size:`2xl`,fitContent:!0,class:`p-1.75`},{size:`xs`,fitContent:!1,class:`h-6 px-1.5`},{size:`sm`,fitContent:!1,class:`h-7 px-2`},{size:`md`,fitContent:!1,class:`h-8 px-4`},{size:`lg`,fitContent:!1,class:`h-9 px-6`},{size:`xl`,fitContent:!1,class:`h-10 px-8`},{size:`2xl`,fitContent:!1,class:`h-12 px-10`},{size:`xs`,fitContent:!1,shape:[`square`,`circle`],class:`w-6`},{size:`sm`,fitContent:!1,shape:[`square`,`circle`],class:`w-7`},{size:`lg`,fitContent:!1,shape:[`square`,`circle`],class:`w-9`},{size:`xl`,fitContent:!1,shape:[`square`,`circle`],class:`w-10`},{size:`2xl`,fitContent:!1,shape:[`square`,`circle`],class:`w-12`},{variant:[`ghost`,`link`],shadow:[`sm`,`md`,`lg`],class:`shadow-none`},{variant:`plain`,shadow:`sm`,class:`active:shadow-md`},{variant:`plain`,shadow:`md`,class:`active:shadow-lg`},{variant:`plain`,shadow:`lg`,class:`active:shadow-xl`},{variant:`pure`,shadow:`sm`,class:`active:shadow-sm`},{variant:`pure`,shadow:`md`,class:`active:shadow-md`},{variant:`pure`,shadow:`lg`,class:`active:shadow-lg`}],defaultVariants:{color:`primary`,variant:`solid`,size:`md`,shape:`auto`,shadow:`sm`,fitContent:!1}});gl({base:`[&>*]:relative focus-visible:[&>*]:z-2 not-first:not-last:[&>*]:rounded-0`,variants:{orientation:{horizontal:`inline-flex not-last:[&>*]:border-e-0 focus-visible:[&>*]:border-e first:[&>*]:rounded-e-0 last:[&>*]:rounded-s-0`,vertical:`flex flex-col not-last:[&>*]:border-b-0 focus-visible:[&>*]:border-b first:[&>*]:rounded-b-0 last:[&>*]:rounded-t-0`}},defaultVariants:{orientation:`horizontal`}});var Gy=Hl(Wy,{size:`md`,color:`accent`,variant:`ghost`,shape:`square`,fitContent:!0}),Ky=xl(Wy,e=>({...e,size:Uy[e.size??`md`]})),qy=xl(Gy,e=>({...e,size:Uy[e.size??`md`]}));Z({extendBase:e=>({close:qy({size:e.size})}),slots:{root:`relative flex w-full rounded-lg border`,content:`flex-1 flex flex-col`,icon:`shrink-0`,title:`font-medium tracking-tight m-0`,description:`[&_p]:leading-relaxed m-0`,close:`absolute`},variants:{color:{primary:{root:`border-primary text-primary`,icon:`text-primary`},destructive:{root:`border-destructive text-destructive`,icon:`text-destructive`},success:{root:`border-success text-success`,icon:`text-success`},warning:{root:`border-warning text-warning`,icon:`text-warning`},info:{root:`border-info text-info`,icon:`text-info`},carbon:{root:`border-carbon text-carbon`,icon:`text-carbon`},secondary:{root:`border-secondary-foreground/50 text-secondary-foreground`,icon:`text-secondary-foreground`},accent:{root:`border-accent-foreground/50 text-accent-foreground`,icon:`text-accent-foreground`}},variant:{solid:{root:``},pure:{root:`bg-background text-foreground border-border`},outline:{root:`bg-background`},soft:{root:`border-transparent`},ghost:{root:``}},size:{xs:{root:`gap-2 px-2 py-1.75 text-2xs`,content:`gap-0.75`,title:`text-xs leading-3.125`,close:`top-1.25 end-1.25`},sm:{root:`gap-2.5 px-3 py-2.5 text-xs`,content:`gap-1`,title:`text-sm leading-3.75`,close:`top-1.875 end-1.875`},md:{root:`gap-3 px-4 py-3 text-sm`,content:`gap-1`,title:`text-base leading-4.375`,close:`top-2.25 end-2.25`},lg:{root:`gap-3.5 px-5 py-3.5 text-base`,content:`gap-1.25`,title:`text-lg leading-5`,close:`top-2.5 end-2.5`},xl:{root:`gap-4 px-6 py-4 text-lg`,content:`gap-1.5`,title:`text-xl leading-5.625`,close:`top-2.75 end-2.75`},"2xl":{root:`gap-4.5 px-7 py-4.5 text-xl`,content:`gap-2`,title:`text-2xl leading-6.25`,close:`top-3 end-3`}}},compoundVariants:[{color:`primary`,variant:`solid`,class:{root:`bg-primary text-primary-foreground`,icon:`text-primary-foreground`,close:`text-primary-foreground`}},{color:`destructive`,variant:`solid`,class:{root:`bg-destructive text-destructive-foreground`,icon:`text-destructive-foreground`,close:`text-destructive-foreground`}},{color:`success`,variant:`solid`,class:{root:`bg-success text-success-foreground`,icon:`text-success-foreground`,close:`text-success-foreground`}},{color:`warning`,variant:`solid`,class:{root:`bg-warning text-warning-foreground`,icon:`text-warning-foreground`,close:`text-warning-foreground`}},{color:`info`,variant:`solid`,class:{root:`bg-info text-info-foreground`,icon:`text-info-foreground`,close:`text-info-foreground`}},{color:`carbon`,variant:`solid`,class:{root:`bg-carbon text-carbon-foreground`,icon:`text-carbon-foreground`,close:`text-carbon-foreground`}},{color:`secondary`,variant:`solid`,class:{root:`bg-secondary text-secondary-foreground`,icon:`text-secondary-foreground`,close:`text-secondary-foreground`}},{color:`accent`,variant:`solid`,class:{root:`bg-accent text-accent-foreground`,icon:`text-accent-foreground`,close:`text-accent-foreground`}},{color:`primary`,variant:[`soft`,`ghost`],class:{root:`bg-primary/10`}},{color:`destructive`,variant:[`soft`,`ghost`],class:{root:`bg-destructive/10`}},{color:`success`,variant:[`soft`,`ghost`],class:{root:`bg-success/10`}},{color:`warning`,variant:[`soft`,`ghost`],class:{root:`bg-warning/10`}},{color:`info`,variant:[`soft`,`ghost`],class:{root:`bg-info/10`}},{color:`carbon`,variant:[`soft`,`ghost`],class:{root:`bg-carbon/10`}},{color:`secondary`,variant:[`soft`,`ghost`],class:{root:`bg-secondary-foreground/5`}},{color:`accent`,variant:[`soft`,`ghost`],class:{root:`bg-accent-foreground/5`}}],defaultVariants:{color:`primary`,variant:`ghost`,size:`md`}});var[Jy,Yy]=Q(`AlertRoot`,e=>{let{open:t}=e;return{open:t,onOpenChange:e=>{t.value=e}}}),[Xy,Zy]=$(`AlertUi`);Z({slots:{root:`relative flex flex-col gap-1 text-sm`,link:[`group inline-flex w-full items-center gap-2 rounded-md px-3 py-2 text-muted-foreground outline-none transition-colors`,`hover:bg-accent/60 hover:text-accent-foreground`,`focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background`,`data-[disabled]:pointer-events-none data-[disabled]:opacity-50`,`data-[state=active]:bg-accent data-[state=active]:text-foreground`],sub:`ms-4 flex flex-col gap-1 border-s border-border/60 ps-3`,item:`flex flex-col gap-1`,indicator:`size-1.5 shrink-0 rounded-full bg-primary opacity-0 transition-opacity group-data-[state=active]:opacity-100`,title:`min-w-0 truncate`},variants:{color:{primary:{indicator:`bg-primary`,link:`data-[state=active]:bg-primary/10 data-[state=active]:text-primary`},destructive:{indicator:`bg-destructive`,link:`data-[state=active]:bg-destructive/10 data-[state=active]:text-destructive`},success:{indicator:`bg-success`,link:`data-[state=active]:bg-success/10 data-[state=active]:text-success`},warning:{indicator:`bg-warning`,link:`data-[state=active]:bg-warning/10 data-[state=active]:text-warning`},info:{indicator:`bg-info`,link:`data-[state=active]:bg-info/10 data-[state=active]:text-info`},carbon:{indicator:`bg-carbon`,link:`data-[state=active]:bg-carbon/10 data-[state=active]:text-carbon`},secondary:{indicator:`bg-secondary-foreground/50`,link:`data-[state=active]:bg-secondary-foreground/10 data-[state=active]:text-secondary-foreground`},accent:{indicator:`bg-accent-foreground/50`,link:`data-[state=active]:bg-accent-foreground/10 data-[state=active]:text-accent-foreground`}},orientation:{vertical:{},horizontal:{root:`flex-row flex-wrap items-start gap-2`,item:`min-w-36 flex-1`,sub:`ms-0 mt-2 border-s-0 border-t ps-0 pt-2`}},size:{xs:{link:`px-2 py-1.5 text-3xs`},sm:{link:`px-2.5 py-1.5 text-2xs`},md:{link:`px-3 py-2 text-xs`},lg:{link:`px-3.5 py-2.5 text-sm`,indicator:`size-2`},xl:{link:`px-4 py-3 text-base`,indicator:`size-2`},"2xl":{link:`px-4.5 py-3.5 text-lg`,indicator:`size-2`}},sticky:{true:{root:`sticky self-start top-[var(--soybean-anchor-offset-top,0px)] max-h-[calc(100vh-var(--soybean-anchor-offset-top,0px))] overflow-auto pe-1`},false:{}}},defaultVariants:{color:`primary`,orientation:`vertical`,size:`md`,sticky:!0}});var[Qy,$y]=Q(`AnchorRoot`,e=>{let t=dm(()=>e.dir.value);return{...e,dir:t}}),[eb,tb]=$(`AnchorUi`);Z({slots:{root:`relative flex shrink-0 overflow-hidden rounded-full`,fallback:`flex justify-center items-center w-full h-full rounded-full bg-muted font-medium`,image:`aspect-square w-full h-full object-cover m-0`},variants:{size:{xs:{root:`size-6`},sm:{root:`size-8`},md:{root:`size-10`},lg:{root:`size-12`},xl:{root:`size-14`},"2xl":{root:`size-16`}}},defaultVariants:{size:`md`}});var[nb,rb]=Q(`AvatarRoot`,()=>{let e=I(`idle`);return{imageLoadingStatus:e,updateImageLoadingStatus:t=>{e.value=t}}}),[ib,ab]=$(`AvatarUi`),[ob,sb]=Q(`UiConfigProvider`),cb=/^[a-z0-9]+(-[a-z0-9]+)*$/,lb=(e,t,n,r=``)=>{let i=e.split(`:`);if(e.slice(0,1)===`@`){if(i.length<2||i.length>3)return null;r=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){let e=i.pop(),n=i.pop(),a={provider:i.length>0?i[0]:r,prefix:n,name:e};return t&&!ub(a)?null:a}let a=i[0],o=a.split(`-`);if(o.length>1){let e={provider:r,prefix:o.shift(),name:o.join(`-`)};return t&&!ub(e)?null:e}if(n&&r===``){let e={provider:r,prefix:``,name:a};return t&&!ub(e,n)?null:e}return null},ub=(e,t)=>e?!!((t&&e.prefix===``||e.prefix)&&e.name):!1;function db(e,t){let n=e.icons,r=e.aliases||Object.create(null),i=Object.create(null);function a(e){if(n[e])return i[e]=[];if(!(e in i)){i[e]=null;let t=r[e]&&r[e].parent,n=t&&a(t);n&&(i[e]=[t].concat(n))}return i[e]}return Object.keys(n).concat(Object.keys(r)).forEach(a),i}var fb=Object.freeze({left:0,top:0,width:16,height:16}),pb=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),mb=Object.freeze({...fb,...pb}),hb=Object.freeze({...mb,body:``,hidden:!1});function gb(e,t){let n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);let r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function _b(e,t){let n=gb(e,t);for(let r in hb)r in pb?r in e&&!(r in n)&&(n[r]=pb[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function vb(e,t,n){let r=e.icons,i=e.aliases||Object.create(null),a={};function o(e){a=_b(r[e]||i[e],a)}return o(t),n.forEach(o),_b(e,a)}function yb(e,t){let n=[];if(typeof e!=`object`||typeof e.icons!=`object`)return n;e.not_found instanceof Array&&e.not_found.forEach(e=>{t(e,null),n.push(e)});let r=db(e);for(let i in r){let a=r[i];a&&(t(i,vb(e,i,a)),n.push(i))}return n}var bb={provider:``,aliases:{},not_found:{},...fb};function xb(e,t){for(let n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Sb(e){if(typeof e!=`object`||!e)return null;let t=e;if(typeof t.prefix!=`string`||!e.icons||typeof e.icons!=`object`||!xb(e,bb))return null;let n=t.icons;for(let e in n){let t=n[e];if(!e||typeof t.body!=`string`||!xb(t,hb))return null}let r=t.aliases||Object.create(null);for(let e in r){let t=r[e],i=t.parent;if(!e||typeof i!=`string`||!n[i]&&!r[i]||!xb(t,hb))return null}return t}var Cb=Object.create(null);function wb(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Tb(e,t){let n=Cb[e]||(Cb[e]=Object.create(null));return n[t]||(n[t]=wb(e,t))}function Eb(e,t){return Sb(t)?yb(t,(t,n)=>{n?e.icons[t]=n:e.missing.add(t)}):[]}function Db(e,t,n){try{if(typeof n.body==`string`)return e.icons[t]={...n},!0}catch{}return!1}var Ob=!1;function kb(e){return typeof e==`boolean`&&(Ob=e),Ob}function Ab(e){let t=typeof e==`string`?lb(e,!0,Ob):e;if(t){let e=Tb(t.provider,t.prefix),n=t.name;return e.icons[n]||(e.missing.has(n)?null:void 0)}}function jb(e,t){let n=lb(e,!0,Ob);if(!n)return!1;let r=Tb(n.provider,n.prefix);return t?Db(r,n.name,t):(r.missing.add(n.name),!0)}function Mb(e,t){if(typeof e!=`object`)return!1;if(typeof t!=`string`&&(t=e.provider||``),Ob&&!t&&!e.prefix){let t=!1;return Sb(e)&&(e.prefix=``,yb(e,(e,n)=>{jb(e,n)&&(t=!0)})),t}let n=e.prefix;return ub({prefix:n,name:`a`})?!!Eb(Tb(t,n),e):!1}var Nb=Object.freeze({width:null,height:null}),Pb=Object.freeze({...Nb,...pb}),Fb=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Ib=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Lb(e,t,n){if(t===1)return e;if(n||=100,typeof e==`number`)return Math.ceil(e*t*n)/n;if(typeof e!=`string`)return e;let r=e.split(Fb);if(r===null||!r.length)return e;let i=[],a=r.shift(),o=Ib.test(a);for(;;){if(o){let e=parseFloat(a);isNaN(e)?i.push(a):i.push(Math.ceil(e*t*n)/n)}else i.push(a);if(a=r.shift(),a===void 0)return i.join(``);o=!o}}function Rb(e,t=`defs`){let n=``,r=e.indexOf(`<`+t);for(;r>=0;){let i=e.indexOf(`>`,r),a=e.indexOf(`</`+t);if(i===-1||a===-1)break;let o=e.indexOf(`>`,a);if(o===-1)break;n+=e.slice(i+1,a).trim(),e=e.slice(0,r).trim()+e.slice(o+1)}return{defs:n,content:e}}function zb(e,t){return e?`<defs>`+e+`</defs>`+t:t}function Bb(e,t,n){let r=Rb(e);return zb(r.defs,t+r.content+n)}var Vb=e=>e===`unset`||e===`undefined`||e===`none`;function Hb(e,t){let n={...mb,...e},r={...Pb,...t},i={left:n.left,top:n.top,width:n.width,height:n.height},a=n.body;[n,r].forEach(e=>{let t=[],n=e.hFlip,r=e.vFlip,o=e.rotate;n?r?o+=2:(t.push(`translate(`+(i.width+i.left).toString()+` `+(0-i.top).toString()+`)`),t.push(`scale(-1 1)`),i.top=i.left=0):r&&(t.push(`translate(`+(0-i.left).toString()+` `+(i.height+i.top).toString()+`)`),t.push(`scale(1 -1)`),i.top=i.left=0);let s;switch(o<0&&(o-=Math.floor(o/4)*4),o%=4,o){case 1:s=i.height/2+i.top,t.unshift(`rotate(90 `+s.toString()+` `+s.toString()+`)`);break;case 2:t.unshift(`rotate(180 `+(i.width/2+i.left).toString()+` `+(i.height/2+i.top).toString()+`)`);break;case 3:s=i.width/2+i.left,t.unshift(`rotate(-90 `+s.toString()+` `+s.toString()+`)`);break}o%2==1&&(i.left!==i.top&&(s=i.left,i.left=i.top,i.top=s),i.width!==i.height&&(s=i.width,i.width=i.height,i.height=s)),t.length&&(a=Bb(a,`<g transform="`+t.join(` `)+`">`,`</g>`))});let o=r.width,s=r.height,c=i.width,l=i.height,u,d;o===null?(d=s===null?`1em`:s===`auto`?l:s,u=Lb(d,c/l)):(u=o===`auto`?c:o,d=s===null?Lb(u,l/c):s===`auto`?l:s);let f={},p=(e,t)=>{Vb(t)||(f[e]=t.toString())};p(`width`,u),p(`height`,d);let m=[i.left,i.top,c,l];return f.viewBox=m.join(` `),{attributes:f,viewBox:m,body:a}}var Ub=/\sid="(\S+)"/g,Wb=new Map;function Gb(e){e=e.replace(/[0-9]+$/,``)||`a`;let t=Wb.get(e)||0;return Wb.set(e,t+1),t?`${e}${t}`:e}function Kb(e){let t=[],n;for(;n=Ub.exec(e);)t.push(n[1]);if(!t.length)return e;let r=`suffix`+(Math.random()*16777216|Date.now()).toString(16);return t.forEach(t=>{let n=Gb(t),i=t.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`);e=e.replace(RegExp(`([#;"])(`+i+`)([")]|\\.[a-z])`,`g`),`$1`+n+r+`$3`)}),e=e.replace(new RegExp(r,`g`),``),e}var qb=Object.create(null);function Jb(e,t){qb[e]=t}function Yb(e){return qb[e]||qb[``]}function Xb(e){let t;if(typeof e.resources==`string`)t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||`/`,maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}for(var Zb=Object.create(null),Qb=[`https://api.simplesvg.com`,`https://api.unisvg.com`],$b=[];Qb.length>0;)Qb.length===1||Math.random()>.5?$b.push(Qb.shift()):$b.push(Qb.pop());Zb[``]=Xb({resources:[`https://api.iconify.design`].concat($b)});function ex(e,t){let n=Xb(t);return n===null?!1:(Zb[e]=n,!0)}function tx(e){return Zb[e]}var nx=(()=>{let e;try{if(e=fetch,typeof e==`function`)return e}catch{}})();function rx(e,t){let n=tx(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let e=0;n.resources.forEach(t=>{e=Math.max(e,t.length)});let i=t+`.json?icons=`;r=n.maxURL-e-n.path.length-i.length}return r}function ix(e){return e===404}var ax=(e,t,n)=>{let r=[],i=rx(e,t),a=`icons`,o={type:a,provider:e,prefix:t,icons:[]},s=0;return n.forEach((n,c)=>{s+=n.length+1,s>=i&&c>0&&(r.push(o),o={type:a,provider:e,prefix:t,icons:[]},s=n.length),o.icons.push(n)}),r.push(o),r};function ox(e){if(typeof e==`string`){let t=tx(e);if(t)return t.path}return`/`}var sx={prepare:ax,send:(e,t,n)=>{if(!nx){n(`abort`,424);return}let r=ox(t.provider);switch(t.type){case`icons`:{let e=t.prefix,n=t.icons.join(`,`),i=new URLSearchParams({icons:n});r+=e+`.json?`+i.toString();break}case`custom`:{let e=t.uri;r+=e.slice(0,1)===`/`?e.slice(1):e;break}default:n(`abort`,400);return}let i=503;nx(e+r).then(e=>{let t=e.status;if(t!==200){setTimeout(()=>{n(ix(t)?`abort`:`next`,t)});return}return i=501,e.json()}).then(e=>{if(typeof e!=`object`||!e){setTimeout(()=>{e===404?n(`abort`,e):n(`next`,i)});return}setTimeout(()=>{n(`success`,e)})}).catch(()=>{n(`next`,i)})}};function cx(e,t){e.forEach(e=>{let n=e.loaderCallbacks;n&&(e.loaderCallbacks=n.filter(e=>e.id!==t))})}function lx(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;let t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1,r=e.provider,i=e.prefix;t.forEach(t=>{let a=t.icons,o=a.pending.length;a.pending=a.pending.filter(t=>{if(t.prefix!==i)return!0;let o=t.name;if(e.icons[o])a.loaded.push({provider:r,prefix:i,name:o});else if(e.missing.has(o))a.missing.push({provider:r,prefix:i,name:o});else return n=!0,!0;return!1}),a.pending.length!==o&&(n||cx([e],t.id),t.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),t.abort))})}))}var ux=0;function dx(e,t,n){let r=ux++,i=cx.bind(null,n,r);if(!t.pending.length)return i;let a={id:r,icons:t,callback:e,abort:i};return n.forEach(e=>{(e.loaderCallbacks||=[]).push(a)}),i}function fx(e){let t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((e,t)=>e.provider===t.provider?e.prefix===t.prefix?e.name.localeCompare(t.name):e.prefix.localeCompare(t.prefix):e.provider.localeCompare(t.provider));let r={provider:``,prefix:``,name:``};return e.forEach(e=>{if(r.name===e.name&&r.prefix===e.prefix&&r.provider===e.provider)return;r=e;let i=e.provider,a=e.prefix,o=e.name,s=n[i]||(n[i]=Object.create(null)),c=s[a]||(s[a]=Tb(i,a)),l;l=o in c.icons?t.loaded:a===``||c.missing.has(o)?t.missing:t.pending;let u={provider:i,prefix:a,name:o};l.push(u)}),t}function px(e,t=!0,n=!1){let r=[];return e.forEach(e=>{let i=typeof e==`string`?lb(e,t,n):e;i&&r.push(i)}),r}var mx={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function hx(e,t,n,r){let i=e.resources.length,a=e.random?Math.floor(Math.random()*i):e.index,o;if(e.random){let t=e.resources.slice(0);for(o=[];t.length>1;){let e=Math.floor(Math.random()*t.length);o.push(t[e]),t=t.slice(0,e).concat(t.slice(e+1))}o=o.concat(t)}else o=e.resources.slice(a).concat(e.resources.slice(0,a));let s=Date.now(),c=`pending`,l=0,u,d=null,f=[],p=[];typeof r==`function`&&p.push(r);function m(){d&&=(clearTimeout(d),null)}function h(){c===`pending`&&(c=`aborted`),m(),f.forEach(e=>{e.status===`pending`&&(e.status=`aborted`)}),f=[]}function g(e,t){t&&(p=[]),typeof e==`function`&&p.push(e)}function _(){return{startTime:s,payload:t,status:c,queriesSent:l,queriesPending:f.length,subscribe:g,abort:h}}function v(){c=`failed`,p.forEach(e=>{e(void 0,u)})}function y(){f.forEach(e=>{e.status===`pending`&&(e.status=`aborted`)}),f=[]}function b(t,n,r){let i=n!==`success`;switch(f=f.filter(e=>e!==t),c){case`pending`:break;case`failed`:if(i||!e.dataAfterTimeout)return;break;default:return}if(n===`abort`){u=r,v();return}if(i){u=r,f.length||(o.length?x():v());return}if(m(),y(),!e.random){let n=e.resources.indexOf(t.resource);n!==-1&&n!==e.index&&(e.index=n)}c=`completed`,p.forEach(e=>{e(r)})}function x(){if(c!==`pending`)return;m();let r=o.shift();if(r===void 0){if(f.length){d=setTimeout(()=>{m(),c===`pending`&&(y(),v())},e.timeout);return}v();return}let i={status:`pending`,resource:r,callback:(e,t)=>{b(i,e,t)}};f.push(i),l++,d=setTimeout(x,e.rotate),n(r,t,i.callback)}return setTimeout(x),_}function gx(e){let t={...mx,...e},n=[];function r(){n=n.filter(e=>e().status===`pending`)}function i(e,i,a){let o=hx(t,e,i,(e,t)=>{r(),a&&a(e,t)});return n.push(o),o}function a(e){return n.find(t=>e(t))||null}return{query:i,find:a,setIndex:e=>{t.index=e},getIndex:()=>t.index,cleanup:r}}function _x(){}var vx=Object.create(null);function yx(e){if(!vx[e]){let t=tx(e);if(!t)return;vx[e]={config:t,redundancy:gx(t)}}return vx[e]}function bx(e,t,n){let r,i;if(typeof e==`string`){let t=Yb(e);if(!t)return n(void 0,424),_x;i=t.send;let a=yx(e);a&&(r=a.redundancy)}else{let t=Xb(e);if(t){r=gx(t);let n=Yb(e.resources?e.resources[0]:``);n&&(i=n.send)}}return!r||!i?(n(void 0,424),_x):r.query(t,i,n)().abort}function xx(){}function Sx(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,lx(e)}))}function Cx(e){let t=[],n=[];return e.forEach(e=>{(e.match(cb)?t:n).push(e)}),{valid:t,invalid:n}}function wx(e,t,n){function r(){let n=e.pendingIcons;t.forEach(t=>{n&&n.delete(t),e.icons[t]||e.missing.add(t)})}if(n&&typeof n==`object`)try{if(!Eb(e,n).length){r();return}}catch(e){console.error(e)}r(),Sx(e)}function Tx(e,t){e instanceof Promise?e.then(e=>{t(e)}).catch(()=>{t(null)}):t(e)}function Ex(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;let{provider:t,prefix:n}=e,r=e.iconsToLoad;if(delete e.iconsToLoad,!r||!r.length)return;let i=e.loadIcon;if(e.loadIcons&&(r.length>1||!i)){Tx(e.loadIcons(r,n,t),t=>{wx(e,r,t)});return}if(i){r.forEach(r=>{Tx(i(r,n,t),t=>{wx(e,[r],t?{prefix:n,icons:{[r]:t}}:null)})});return}let{valid:a,invalid:o}=Cx(r);if(o.length&&wx(e,o,null),!a.length)return;let s=n.match(cb)?Yb(t):null;if(!s){wx(e,a,null);return}s.prepare(t,n,a).forEach(n=>{bx(t,n,t=>{wx(e,n.icons,t)})})}))}var Dx=(e,t)=>{let n=fx(px(e,!0,kb()));if(!n.pending.length){let e=!0;return t&&setTimeout(()=>{e&&t(n.loaded,n.missing,n.pending,xx)}),()=>{e=!1}}let r=Object.create(null),i=[],a,o;return n.pending.forEach(e=>{let{provider:t,prefix:n}=e;if(n===o&&t===a)return;a=t,o=n,i.push(Tb(t,n));let s=r[t]||(r[t]=Object.create(null));s[n]||(s[n]=[])}),n.pending.forEach(e=>{let{provider:t,prefix:n,name:i}=e,a=Tb(t,n),o=a.pendingIcons||=new Set;o.has(i)||(o.add(i),r[t][n].push(i))}),i.forEach(e=>{let t=r[e.provider][e.prefix];t.length&&Ex(e,t)}),t?dx(t,n,i):xx};function Ox(e,t){let n={...e};for(let e in t){let r=t[e],i=typeof r;e in Nb?(r===null||r&&(i===`string`||i===`number`))&&(n[e]=r):i===typeof n[e]&&(n[e]=e===`rotate`?r%4:r)}return n}var kx=/[\s,]+/;function Ax(e,t){t.split(kx).forEach(t=>{switch(t.trim()){case`horizontal`:e.hFlip=!0;break;case`vertical`:e.vFlip=!0;break}})}function jx(e,t=0){let n=e.replace(/^-?[0-9.]*/,``);function r(e){for(;e<0;)e+=4;return e%4}if(n===``){let t=parseInt(e);return isNaN(t)?0:r(t)}else if(n!==e){let t=0;switch(n){case`%`:t=25;break;case`deg`:t=90}if(t){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i/=t,i%1==0?r(i):0)}}return t}function Mx(e,t){let n=e.indexOf(`xlink:`)===-1?``:` xmlns:xlink="http://www.w3.org/1999/xlink"`;for(let e in t)n+=` `+e+`="`+t[e]+`"`;return`<svg xmlns="http://www.w3.org/2000/svg"`+n+`>`+e+`</svg>`}function Nx(e){return e.replace(/"/g,`'`).replace(/%/g,`%25`).replace(/#/g,`%23`).replace(/</g,`%3C`).replace(/>/g,`%3E`).replace(/\s+/g,` `)}function Px(e){return`data:image/svg+xml,`+Nx(e)}function Fx(e){return`url("`+Px(e)+`")`}var Ix={...Pb,inline:!1},Lx={xmlns:`http://www.w3.org/2000/svg`,"xmlns:xlink":`http://www.w3.org/1999/xlink`,"aria-hidden":!0,role:`img`},Rx={display:`inline-block`},zx={backgroundColor:`currentColor`},Bx={backgroundColor:`transparent`},Vx={Image:`var(--svg)`,Repeat:`no-repeat`,Size:`100% 100%`},Hx={webkitMask:zx,mask:zx,background:Bx};for(let e in Hx){let t=Hx[e];for(let n in Vx)t[e+n]=Vx[n]}var Ux={};[`horizontal`,`vertical`].forEach(e=>{let t=e.slice(0,1)+`Flip`;Ux[e+`-flip`]=t,Ux[e.slice(0,1)+`-flip`]=t,Ux[e+`Flip`]=t});function Wx(e){return e+(e.match(/^[-0-9.]+$/)?`px`:``)}var Gx=(e,t)=>{let n=Ox(Ix,t),r={...Lx},i=t.mode||`svg`,a={},o=t.style,s=typeof o==`object`&&!(o instanceof Array)?o:{};for(let e in t){let i=t[e];if(i!==void 0)switch(e){case`icon`:case`style`:case`onLoad`:case`mode`:case`ssr`:case`customise`:break;case`inline`:case`hFlip`:case`vFlip`:n[e]=i===!0||i===`true`||i===1;break;case`flip`:typeof i==`string`&&Ax(n,i);break;case`color`:a.color=i;break;case`rotate`:typeof i==`string`?n[e]=jx(i):typeof i==`number`&&(n[e]=i);break;case`ariaHidden`:case`aria-hidden`:i!==!0&&i!==`true`&&delete r[`aria-hidden`];break;default:{let t=Ux[e];t?(i===!0||i===`true`||i===1)&&(n[t]=!0):Ix[e]===void 0&&(r[e]=i)}}}let c=Hb(e,n),l=c.attributes;if(n.inline&&(a.verticalAlign=`-0.125em`),i===`svg`)return r.style={...a,...s},Object.assign(r,l),r.innerHTML=Kb(c.body),to(`svg`,r);let{body:u,width:d,height:f}=e,p=i===`mask`||(i===`bg`?!1:u.indexOf(`currentColor`)!==-1),m=Mx(u,{...l,width:d+``,height:f+``});return r.style={...a,"--svg":Fx(m),width:Wx(l.width),height:Wx(l.height),...Rx,...p?zx:Bx,...s},to(`span`,r)};if(kb(!0),Jb(``,sx),typeof document<`u`&&typeof window<`u`){let e=window;if(e.IconifyPreload!==void 0){let t=e.IconifyPreload,n=`Invalid IconifyPreload syntax.`;typeof t==`object`&&t&&(t instanceof Array?t:[t]).forEach(e=>{try{(typeof e!=`object`||!e||e instanceof Array||typeof e.icons!=`object`||typeof e.prefix!=`string`||!Mb(e))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){let t=e.IconifyProviders;if(typeof t==`object`&&t)for(let e in t){let n=`IconifyProviders[`+e+`] is invalid.`;try{let r=t[e];if(typeof r!=`object`||!r||r.resources===void 0)continue;ex(e,r)||console.error(n)}catch{console.error(n)}}}}var Kx={...mb,body:``},qx=z((e,{emit:t})=>{let n=F(null);function r(){n.value&&=(n.value.abort?.(),null)}let i=F(!!e.ssr),a=F(``),o=I(null);function s(){let i=e.icon;if(typeof i==`object`&&i&&typeof i.body==`string`)return a.value=``,{data:i};let o;if(typeof i!=`string`||(o=lb(i,!1,!0))===null)return null;let s=Ab(o);if(!s){let e=n.value;return(!e||e.name!==i)&&(s===null?n.value={name:i}:n.value={name:i,abort:Dx([o],c)}),null}r(),a.value!==i&&(a.value=i,Cn(()=>{t(`load`,i)}));let l=e.customise;if(l){s=Object.assign({},s);let e=l(s.body,o.name,o.prefix,o.provider);typeof e==`string`&&(s.body=e)}let u=[`iconify`];return o.prefix!==``&&u.push(`iconify--`+o.prefix),o.provider!==``&&u.push(`iconify--`+o.provider),{data:s,classes:u}}function c(){let e=s();e?e.data!==o.value?.data&&(o.value=e):o.value=null}return i.value?c():Ar(()=>{i.value=!0,c()}),Un(()=>e.icon,c),Pr(r),()=>{let t=o.value;if(!t)return Gx(Kx,e);let n=e;return t.classes&&(n={...e,class:t.classes.join(` `)}),Gx({...mb,...t.data},n)}},{props:[`icon`,`mode`,`ssr`,`width`,`height`,`style`,`color`,`inline`,`rotate`,`hFlip`,`horizontalFlip`,`vFlip`,`verticalFlip`,`flip`,`id`,`ariaHidden`,`customise`,`title`],emits:[`load`]}),Jx=z({name:`SIcon`,__name:`icon`,props:{icon:{},ssr:{type:Boolean},customise:{type:Function},id:{},style:{},title:{},mode:{},color:{},flip:{},horizontalFlip:{type:Boolean},verticalFlip:{type:Boolean},rotate:{},hFlip:{type:Boolean},vFlip:{type:Boolean},width:{},height:{},inline:{type:Boolean},ariaHidden:{type:Boolean}},setup(e){let t=e,n=sb(),r=J(()=>{let{width:e,height:r}=t,i=n?.iconify?.value||{};return{width:e||i.width,height:r||i.height}}),i=J(()=>({...t,...r.value})),a=J(()=>o(t.icon)?{...i.value,icon:t.icon}:null);function o(e){return e?typeof e==`string`||typeof e==`object`&&`body`in e:!1}return(t,n)=>a.value?(V(),U(L(qx),ja({key:0},a.value,{style:{"flex-shrink":`0`}}),null,16)):e.icon?(V(),U(Vr(e.icon),{key:1,style:le([{"flex-shrink":`0`},{width:r.value.width,height:r.value.height}])},null,8,[`style`])):q(`v-if`,!0)}});gl({extend:[Wy],base:`fixed z-50`,variants:{size:{xs:`bottom-4 end-4`,sm:`bottom-5 end-5`,md:`bottom-6 end-6`,lg:`bottom-7 end-7`,xl:`bottom-8 end-8`,"2xl":`bottom-10 end-10`}},defaultVariants:{size:`md`}}),Z({slots:{root:`flex w-full flex-col`,anchor:[`group flex w-full items-center rounded-md border border-input bg-background text-foreground shadow-xs transition-all-150`,`outline-none focus-within:ring-3 focus-within:ring-offset-background focus-within:ring-primary/30`,`data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50`],inputRoot:`flex min-w-0 grow items-center gap-2 bg-transparent`,inputControl:`min-w-0 grow border-0 bg-transparent px-0 outline-none placeholder:text-muted-foreground`,inputIcon:`shrink-0 text-muted-foreground`,inputClearable:[`flex shrink-0 items-center justify-center rounded-sm text-muted-foreground opacity-70 outline-none transition-opacity`,`hover:opacity-100 focus-visible:ring-2 focus-visible:ring-ring/50 focus-visible:ring-offset-1`,`disabled:cursor-not-allowed disabled:opacity-40`],trigger:`flex shrink-0 items-center justify-center text-muted-foreground outline-none disabled:cursor-not-allowed`,triggerIcon:`size-1em`,popup:[`relative z-50 min-w-[--soybean-popper-anchor-width] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md`,`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`],viewport:`max-h-80 overflow-y-auto overflow-x-hidden p-1`,empty:`py-6 text-center text-sm text-muted-foreground`,group:`overflow-hidden`,groupLabel:`px-2 py-1.5 text-xs font-medium text-muted-foreground`,item:[`relative flex w-full items-center rounded-sm outline-none select-none`,`data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50`],itemIcon:`shrink-0 text-muted-foreground`,itemText:`grow truncate text-start`,itemIndicator:`ms-auto shrink-0 text-muted-foreground`,separator:`-mx-1 my-1 h-px bg-border`},variants:{size:{xs:{anchor:`min-h-6 gap-1 px-1.5 text-2xs`,inputRoot:`gap-1`,popup:`text-2xs`,viewport:`max-h-70 p-0.75`,groupLabel:`px-1 py-1 text-3xs`,item:`gap-1 px-1 py-1`,separator:`-mx-0.75 my-0.75`},sm:{anchor:`min-h-7 gap-1.5 px-2 text-xs`,inputRoot:`gap-1.5`,popup:`text-xs`,viewport:`max-h-75 p-0.875`,groupLabel:`px-1.5 py-1.25 text-2xs`,item:`gap-1.5 px-1.5 py-1.25`,separator:`-mx-0.875 my-0.875`},md:{anchor:`min-h-8 gap-2 px-2.5 text-sm`,inputRoot:`gap-2`,popup:`text-sm`,viewport:`max-h-80 p-1`,groupLabel:`px-2 py-1.5 text-xs`,item:`gap-2 px-2 py-1.5`,separator:`-mx-1 my-1`},lg:{anchor:`min-h-9 gap-2.5 px-3 text-base`,inputRoot:`gap-2.5`,popup:`text-base`,viewport:`max-h-90 p-1.25`,groupLabel:`px-2.5 py-1.75 text-sm`,item:`gap-2.5 px-2.5 py-1.75`,separator:`-mx-1.25 my-1.25`},xl:{anchor:`min-h-10 gap-3 px-3.5 text-lg`,inputRoot:`gap-3`,popup:`text-lg`,viewport:`max-h-100 p-1.5`,groupLabel:`px-3 py-2 text-base`,item:`gap-3 px-3 py-2`,separator:`-mx-1.5 my-1.5`},"2xl":{anchor:`min-h-12 gap-3.5 px-4 text-xl`,inputRoot:`gap-3.5`,popup:`text-xl`,viewport:`max-h-115 p-1.75`,groupLabel:`px-3.5 py-2.5 text-lg`,item:`gap-3.5 px-3.5 py-2.5`,separator:`-mx-1.75 my-1.75`}}},defaultVariants:{size:`md`}});var[Yx,Xx]=Q(`InputRoot`),[Zx,Qx]=$(`InputUi`),{provideCollectionContext:$x,useCollectionContext:eS,useCollectionItem:tS}=Pm(`Listbox`),[nS,rS]=Q(`ListboxRoot`,e=>{let[t,n]=mm(),{getOrderedItems:r,getOrderedElements:i}=$x(),{handleTypeaheadSearch:a}=yy(),{modelValue:o,orientation:s,selectionBehavior:c,isMultiple:l,onModelValueChange:u,onHighlight:d,onEntryFocus:f}=e,p=dm(e.dir),m=I(),h=I(!1),g=I(!0),_=I(null),v=I(null),y=I(!1),b=I(!1),x=Av(),S=Av(),C=Av(),w=e=>{h.value=!0,l.value&&c.value===`replace`&&(m.value=e),u(e),setTimeout(()=>{h.value=!1},1)},T=(e,t=!0)=>{e&&(_.value=e,g.value&&_.value.focus(),t&&_.value.scrollIntoView({block:`nearest`}),d(r().find(t=>t.element===e)))},ee=e=>{if(y.value)C.trigger(e);else{let t=r().find(t=>t.data.value===e);t&&(_.value=t.element,T(t.element))}},te=e=>{_.value?.isConnected&&(e.preventDefault(),e.stopPropagation(),!b.value&&_.value.click())},E=e=>{if(h.value=!0,y.value)S.trigger(e);else{let t=e.altKey||e.ctrlKey||e.metaKey,n=r();if(t&&e.key===`a`&&l.value){o.value=[...n.map(e=>e.data.value)],e.preventDefault();let t=n[n.length-1]?.element;t&&T(t)}else if(!t){let t=a(e.key,n);t&&T(t)}}setTimeout(()=>{h.value=!1},1)},ne=()=>{b.value=!0},D=()=>{Cn(()=>{b.value=!1})},re=t=>{let n=_.value;n?.isConnected&&(v.value=n),_.value=null,e.onLeave(t)},ie=e=>{let t=new CustomEvent(`listbox.entryFocus`,{bubbles:!1,cancelable:!0});if(e.currentTarget?.dispatchEvent(t),f(t),!t.defaultPrevented)if(v.value)T(v.value);else{let e=i()?.[0];e&&T(e)}},ae=e=>{let t=Tf(e,s.value,p.value);if(!t)return;let n=i();if(_.value){if(t===`last`)n.reverse();else if(t===`prev`||t===`next`){t===`prev`&&n.reverse();let e=n.indexOf(_.value);n=n.slice(e+1)}let r=n[0];r&&se(e,r)}if(n.length){let e=!_.value&&t===`prev`?n.length-1:0,r=n[e];r&&T(r)}y.value&&S.trigger(e)},oe=()=>{Cn(()=>{ae(new KeyboardEvent(`keydown`,{key:`PageUp`}))})};function se(e,t){if(y.value||c.value!==`replace`||!l.value||!Array.isArray(o.value)||(e.altKey||e.ctrlKey||e.metaKey)&&!e.shiftKey||!e.shiftKey)return;let n=r(),i=n.find(e=>e.element===t)?.data?.value;e.key===`End`?i=n[n.length-1]?.data?.value:e.key===`Home`&&(i=n[0]?.data?.value),!(!i||!m.value)&&(o.value=$l(n.map(e=>e.data.value),m.value,i))}let O=async e=>{if(await Cn(),y.value)x.trigger(e);else{let e=i(),t=e.find(e=>e.dataset.state===`checked`);t?T(t):e[0]&&T(e[0])}},k=async e=>{let n=e.relatedTarget||e.target;await Cn(),!(!_.value||t.value?.contains(n))&&re(e)};return{...e,rootElement:t,setRootElement:n,isUserAction:h,isVirtual:y,virtualFocusHook:x,virtualKeydownHook:S,virtualHighlightHook:C,firstValue:m,focusable:g,onModelValueChange:w,onLeave:re,onEnter:ie,highlightedElement:_,changeHighlight:T,highlightItem:ee,highlightSelected:O,highlightFirstItem:oe,onKeydownEnter:te,onKeydownNavigation:ae,onKeydownTypeahead:E,onCompositionStart:ne,onCompositionEnd:D,onFocusOut:k,getItems:r}}),[iS,aS]=Q(`ListboxGroup`,()=>({id:`soybean-listbox-group-${mr()}`})),[oS,sS]=Q(`ListboxItem`,e=>e),[cS,lS]=$(`ListboxUi`,e=>(Zx(J(()=>({root:e.value?.filterRoot,control:e.value?.filterControl}))),e)),[uS,dS]=Q(`PopperRoot`,e=>{let t=I(),n=e=>{t.value=e},r=I(),i=e=>{r.value=e};return{...e,popupElement:t,onPopupElementChange:n,anchorElement:r,onAnchorElementChange:i}}),[fS,pS]=Q(`PopperPositioner`,e=>{let t=I(null),n=e=>{t.value=e??null};return{...e,arrowElement:t,onArrowElementChange:n}}),[mS,hS]=$(`PopperUi`),gS=z({name:`Portal`,__name:`portal`,props:{to:{default:`body`},disabled:{type:Boolean},defer:{type:Boolean},forceMount:{type:Boolean}},setup(e){let t=I(!1);return Ar(()=>{t.value=!0}),(n,r)=>t.value||e.forceMount?(V(),U(ir,{key:0,to:e.to,disabled:e.disabled,defer:e.defer},[B(n.$slots,`default`)],8,[`to`,`disabled`,`defer`])):q(`v-if`,!0)}}),[_S,vS]=Q(`ComboboxRoot`),[yS,bS]=Q(`ComboboxContent`),[xS,SS]=$(`ComboboxUi`,e=>{let t=J(()=>({...e.value,content:e.value?.viewport,filterRoot:e.value?.inputRoot,filterControl:e.value?.inputControl}));return mS(e),cS(t),e}),CS={transformOrigin:`--soybean-popper-transform-origin`,availableWidth:`--soybean-popper-available-width`,availableHeight:`--soybean-popper-available-height`,anchorWidth:`--soybean-popper-anchor-width`,anchorHeight:`--soybean-popper-anchor-height`};function wS(){return{placement:void 0,side:`bottom`,sideOffset:0,sideFlip:!0,align:`center`,alignOffset:0,alignFlip:!0,arrowPadding:0,avoidCollisions:!0,collisionPadding:0,collisionBoundary:()=>[],sticky:`partial`,hideWhenDetached:!1,positionStrategy:`fixed`,updatePositionStrategy:`optimized`,prioritizePosition:!1}}var TS={start:`0%`,center:`50%`,end:`100%`},ES={bottom:{getX:({isArrowHidden:e,noArrowAlign:t,arrowXCenter:n})=>e?t:`${n}px`,getY:({arrowHeight:e})=>`${-e}px`},top:{getX:({isArrowHidden:e,noArrowAlign:t,arrowXCenter:n})=>e?t:`${n}px`,getY:({floatingHeight:e,arrowHeight:t})=>`${e+t}px`},right:{getX:({arrowHeight:e})=>`${-e}px`,getY:({isArrowHidden:e,noArrowAlign:t,arrowYCenter:n})=>e?t:`${n}px`},left:{getX:({floatingWidth:e,arrowHeight:t})=>`${e+t}px`,getY:({isArrowHidden:e,noArrowAlign:t,arrowYCenter:n})=>e?t:`${n}px`}};function DS(e){let{collisionPadding:t,collisionBoundary:n}=e,r={top:1,right:1,bottom:1,left:1};typeof t==`number`?(r.top+=t,r.right+=t,r.bottom+=t,r.left+=t):t&&(r.top+=t.top??0,r.right+=t.right??0,r.bottom+=t.bottom??0,r.left+=t.left??0);let i=Array.isArray(n)?n:[n],a=i.length>0;return{padding:r,boundary:i.filter(e=>!Kl(e)),altBoundary:a}}ni({placement:{},side:{},sideOffset:{},sideFlip:{type:Boolean},align:{},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},hideShiftedArrow:{type:Boolean},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},reference:{}},wS());var OS=z({name:`VisuallyHidden`,__name:`visually-hidden`,props:{feature:{default:`focusable`},asChild:{type:Boolean},as:{default:`span`}},setup(e){return(t,n)=>(V(),U(L(Ny),{as:e.as,"as-child":e.asChild,"data-soybean-visually-hidden":``,"aria-hidden":e.feature===`focusable`?`true`:void 0,"data-hidden":e.feature===`fully-hidden`?``:void 0,tabindex:e.feature===`fully-hidden`?`-1`:void 0,style:{position:`absolute`,top:`-1px`,left:`-1px`,width:`1px`,height:`1px`,padding:`0`,margin:`-1px`,border:`0`,overflow:`hidden`,clip:`rect(0, 0, 0, 0)`,"clip-path":`inset(50%)`,"white-space":`nowrap`,"word-wrap":`normal`}},{default:R(()=>[B(t.$slots,`default`)]),_:3},8,[`as`,`as-child`,`aria-hidden`,`data-hidden`,`tabindex`]))}}),kS=z({name:`VisuallyHiddenInputBubble`,__name:`visually-hidden-input-bubble`,props:{name:{},value:{},checked:{type:Boolean,default:void 0},required:{type:Boolean},disabled:{type:Boolean},feature:{default:`fully-hidden`}},setup(e){let t=e,[n,r]=mm();return Un(J(()=>t.checked??t.value),(e,t)=>{let r=n.value;if(!r||e===t)return;let i=window.HTMLInputElement.prototype,a=Object.getOwnPropertyDescriptor(i,`value`)?.set;if(!a)return;let o=new Event(`input`,{bubbles:!0}),s=new Event(`change`,{bubbles:!0});a.call(r,e),r.dispatchEvent(o),r.dispatchEvent(s)}),(t,n)=>(V(),U(OS,{ref:L(r),as:`input`,"data-soybean-visually-hidden-input-bubble":``,feature:e.feature,name:e.name,value:e.value,checked:e.checked,required:e.required,disabled:e.disabled},null,8,[`feature`,`name`,`value`,`checked`,`required`,`disabled`]))}}),AS=z({name:`VisuallyHiddenInput`,inheritAttrs:!1,__name:`visually-hidden-input`,props:{name:{},value:{},checked:{type:Boolean,default:void 0},required:{type:Boolean},disabled:{type:Boolean},feature:{default:`fully-hidden`}},setup(e){let t=e,n=$r(),r=J(()=>{let{value:e,name:n}=t;return cf(n,e)}),i=J(()=>t.required&&Gl(t.value)&&t.value.length===0);return(a,o)=>(V(),H(da,null,[q(` We render single input if it's required `),i.value?(V(),U(kS,ja({key:e.name},{...t,...L(n)},{"data-soybean-visually-hidden-input":``,name:e.name,value:e.value}),null,16,[`name`,`value`])):(V(!0),H(da,{key:1},Wr(r.value,e=>(V(),U(kS,ja({key:e.name},{ref_for:!0},{...t,...L(n)},{"data-soybean-visually-hidden-input":``,name:e.name,value:e.value}),null,16,[`name`,`value`]))),128))],2112))}}),jS=[`aria-disabled`,`data-disabled`,`data-readonly`,`disabled`,`readonly`,`value`],MS=z({name:`InputControl`,__name:`input-control`,setup(e){let{modelValue:t,disabled:n,readonly:r,inputAttrs:i}=Xx(`InputControl`),a=Qx(`control`),o=e=>{t.value=e.target.value};return(e,s)=>(V(),H(`input`,ja(L(i),{"data-soybean-input-control":``,class:L(a),"aria-disabled":L(n)??void 0,"aria-roledescription":`Input`,autocorrect:`off`,"data-disabled":L(n)?``:void 0,"data-readonly":L(r)?``:void 0,disabled:L(n),readonly:L(r),spellcheck:`false`,tabindex:`0`,value:L(t),onInput:o}),null,16,jS))}}),NS=[`data-disabled`,`data-readonly`],PS=z({name:`InputRoot`,inheritAttrs:!1,__name:`input-root`,props:{defaultValue:{},modelValue:{default:void 0},disabled:{type:Boolean},readonly:{type:Boolean},rootProps:{},name:{},required:{type:Boolean},id:{},autofocus:{type:Boolean},autocomplete:{},maxlength:{},minlength:{},pattern:{},placeholder:{},type:{}},emits:[`update:modelValue`],setup(e,{emit:t}){let n=e,r=t,i=$r(),[a,o]=mm(),s=Qx(`root`),c=Fm(()=>n.modelValue,e=>{r(`update:modelValue`,e)},n.defaultValue??``),l=J(()=>Af(a.value)),u=J(()=>({...i,id:n.id,name:n.name,required:n.required,disabled:n.disabled,readonly:n.readonly,autofocus:n.autofocus,autocomplete:n.autocomplete,maxlength:n.maxlength,minlength:n.minlength,pattern:n.pattern,placeholder:n.placeholder,type:n.type})),d=()=>{n.disabled||n.readonly||(c.value=``)};return Yx({...kf(n,[`disabled`,`readonly`]),modelValue:c,onClear:d,inputAttrs:u}),(t,n)=>(V(),H(`div`,ja({ref:L(o)},e.rootProps,{"data-soybean-input-root":``,class:L(s),role:`group`,"data-disabled":e.disabled?``:void 0,"data-readonly":e.readonly?``:void 0}),[B(t.$slots,`default`,{modelValue:L(c),clear:d}),l.value&&e.name?(V(),U(AS,{key:0,type:`text`,value:L(c),name:e.name,disabled:e.disabled,readonly:e.readonly,required:e.required},null,8,[`value`,`name`,`disabled`,`readonly`,`required`])):q(`v-if`,!0)],16,NS))}}),FS=z({name:`InputClear`,__name:`input-clear`,props:{type:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`clear`],setup(e,{emit:t}){let n=e,r=t,i=Qx(`clear`),{disabled:a,readonly:o,onClear:s}=Xx(`InputClear`),c=J(()=>n.disabled||a.value||o.value||!1),l=e=>{r(`clear`,e),s?.()};return(e,t)=>(V(),U(Iy,ja(n,{"data-soybean-input-clearable":``,class:L(i),disabled:c.value,onClick:l}),{default:R(()=>[B(e.$slots,`default`,{},()=>[G(Ly,{icon:`lucide:x`})])]),_:3},16,[`class`,`disabled`]))}}),IS=z({name:`InputCompact`,__name:`input-compact`,props:{inputRef:{type:Function},clearable:{type:Boolean},controlProps:{},clearProps:{},defaultValue:{},modelValue:{},disabled:{type:Boolean},readonly:{type:Boolean},rootProps:{},name:{},required:{type:Boolean},id:{},autofocus:{type:Boolean},autocomplete:{},maxlength:{},minlength:{},pattern:{},placeholder:{},type:{}},emits:[`update:modelValue`,`clear`],setup(e,{emit:t}){let n=e,r=t,i=_y(n,[`inputRef`,`clearable`,`controlProps`,`clearProps`]),[a,o]=mm(e=>n.inputRef?.(e));return(t,n)=>(V(),U(PS,ja(L(i),{"onUpdate:modelValue":n[1]||=e=>r(`update:modelValue`,e)}),{default:R(({clear:i,modelValue:a})=>[B(t.$slots,`leading`,{clear:i,modelValue:a}),G(MS,ja(e.controlProps,{ref:L(o)}),null,16),e.clearable?B(t.$slots,`clear`,{key:0,clear:i,modelValue:a},()=>[G(FS,ja(e.clearProps,{onClear:n[0]||=e=>r(`clear`,e)}),null,16)]):q(`v-if`,!0),B(t.$slots,`trailing`,{clear:i,modelValue:a})]),_:3},16))}});typeof window>`u`||`onscrollend`in window;var[LS,RS]=Q(`AutocompleteRoot`),[zS,BS]=$(`AutocompleteUi`,e=>(xS(e),e)),VS=Z({slots:{root:`relative inline-block`,content:`absolute flex justify-center items-center leading-relaxed whitespace-nowrap rounded-full transform`},variants:{color:{primary:{content:`bg-primary text-primary-foreground`},destructive:{content:`bg-destructive text-destructive-foreground`},success:{content:`bg-success text-success-foreground`},warning:{content:`bg-warning text-warning-foreground`},info:{content:`bg-info text-info-foreground`},carbon:{content:`bg-carbon text-carbon-foreground`},secondary:{content:`bg-secondary text-secondary-foreground`},accent:{content:`bg-accent text-accent-foreground`}},size:{xs:{content:`min-h-2 px-1 text-4xs`},sm:{content:`min-h-2.5 px-1.25 text-3xs`},md:{content:`min-h-3 px-1.5 text-2xs`},lg:{content:`min-h-3.5 px-1.75 text-xs`},xl:{content:`min-h-4 px-2 text-sm`},"2xl":{content:`min-h-5 px-2.5 text-base`}},position:{"top-right":{content:`end-0 top-0 translate-x-1/2 -translate-y-1/2 rtl:-translate-x-1/2`},"bottom-right":{content:`end-0 bottom-0 translate-x-1/2 translate-y-1/2 rtl:-translate-x-1/2`},"top-left":{content:`start-0 top-0 -translate-x-1/2 -translate-y-1/2 rtl:translate-x-1/2`},"bottom-left":{content:`start-0 bottom-0 -translate-x-1/2 translate-y-1/2 rtl:translate-x-1/2`}}},defaultVariants:{color:`primary`,size:`md`,position:`top-right`}}),[HS,US]=Q(`BadgeRoot`),[WS,GS]=$(`BadgeUi`),KS=Z({extendBase:e=>({close:qy({size:e.size}),cancel:Ky({size:e.size,variant:`pure`}),confirm:Ky({size:e.size})}),slots:{overlay:[`fixed inset-0 z-50 bg-black/80`,`data-[state=open]:animate-in data-[state=open]:fade-in-0`,`data-[state=closed]:animate-out data-[state=closed]:fade-out-0`],popup:[`group fixed start-1/2 top-1/2 z-50 flex flex-col w-max lt-sm:w-full border bg-background shadow-lg outline-none duration-200 rounded-lg`,`-translate-x-1/2 -translate-y-1/2 [&[dir=rtl]]:translate-x-1/2`,`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=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=closed]:slide-out-to-left-1/2`],header:`flex flex-col lt-sm:text-center`,title:`flex items-center font-semibold leading-none tracking-tight m-0`,icon:`group-data-[type=info]:text-info group-data-[type=success]:text-success group-data-[type=warning]:text-warning group-data-[type=error]:text-destructive`,description:`text-muted-foreground m-0`,close:`absolute`,content:`grow overflow-auto`,footer:`flex justify-end lt-sm:flex-col-reverse`,cancel:``,confirm:``},variants:{size:{xs:{popup:`gap-y-1.5 min-w-xs max-w-3xl px-2 py-1.5 text-2xs`,header:`gap-y-1.5`,title:`gap-x-1.5 text-xs`,description:`text-2xs`,close:`end-1.5 top-1.5`,footer:`gap-1.5`},sm:{popup:`gap-y-2 min-w-sm max-w-4xl px-3 py-2 text-xs`,header:`gap-y-2`,title:`gap-x-1.75 text-sm`,description:`text-xs`,close:`end-1.75 top-1.75`,footer:`gap-2`},md:{popup:`gap-y-3 min-w-md max-w-5xl px-4 py-3 text-sm`,header:`gap-y-3`,title:`gap-x-2 text-base`,description:`text-sm`,close:`end-2 top-2`,footer:`gap-3`},lg:{popup:`gap-y-4 min-w-lg max-w-6xl px-5 py-4 text-base`,header:`gap-y-4`,title:`gap-x-2.5 text-lg`,description:`text-base`,close:`end-2.5 top-2.5`,footer:`gap-4`},xl:{popup:`gap-y-5 min-w-xl max-w-7xl px-6 py-5 text-lg`,header:`gap-y-5`,title:`gap-x-3 text-xl`,description:`text-lg`,close:`end-3 top-3`,footer:`gap-5`},"2xl":{popup:`gap-y-6 min-w-2xl max-w-7xl px-7 py-6 text-xl`,header:`gap-y-6`,title:`gap-x-3.5 text-2xl`,description:`text-xl`,close:`end-4 top-4`,footer:`gap-6`}},pure:{true:{popup:`p-0 gap-0 border-none`}}},defaultVariants:{size:`md`}}),qS=Z({extend:[KS],extendIgnore:[`popup`],slots:{popup:[`fixed z-50 flex flex-col justify-between items-stretch border bg-background outline-none transition ease-in-out`,`data-[state=open]:animate-in data-[state=open]:duration-500`,`data-[state=closed]:animate-out data-[state=closed]:duration-300`]},variants:{size:{xs:{popup:`gap-y-1.5 px-2 py-1.5 text-2xs`},sm:{popup:`gap-y-2 px-3 py-2 text-xs`},md:{popup:`gap-y-3 px-4 py-3 text-sm`},lg:{popup:`gap-y-4 px-5 py-4 text-base`},xl:{popup:`gap-y-5 px-6 py-5 text-lg`},"2xl":{popup:`gap-y-6 px-7 py-6 text-xl`}},side:{top:{popup:`inset-x-0 top-0 border-b rounded-b-md data-[state=open]:slide-in-from-top data-[state=closed]:slide-out-to-top`},bottom:{popup:`inset-x-0 bottom-0 border-t rounded-t-md data-[state=open]:slide-in-from-bottom data-[state=closed]:slide-out-to-bottom`},left:{popup:[`inset-y-0 start-0 h-full sm:max-w-sm w-3/4 border-e rounded-e-md`,`data-[state=open]:slide-in-from-left data-[state=closed]:slide-out-to-left`,`[&[dir=rtl]]:data-[state=open]:slide-in-from-right [&[dir=rtl]]:data-[state=closed]:slide-out-to-right`]},right:{popup:[`inset-y-0 end-0 h-full sm:max-w-sm w-3/4 border-s rounded-s-md`,`data-[state=open]:slide-in-from-right data-[state=closed]:slide-out-to-right`,`[&[dir=rtl]]:data-[state=open]:slide-in-from-left [&[dir=rtl]]:data-[state=closed]:slide-out-to-left`]}}},defaultVariants:{size:`md`,side:`right`}});Z({extend:[qS],slots:{handle:`mx-auto shrink-0 cursor-grab active:cursor-grabbing rounded-full bg-muted`},variants:{size:{xs:{handle:`mt-0.625 h-1.5 w-20`},sm:{handle:`mt-0.75 h-1.75 w-22`},md:{handle:`mt-1 h-2 w-25`},lg:{handle:`mt-1.25 h-2.5 w-30`},xl:{handle:`mt-1.5 h-3 w-35`},"2xl":{handle:`mt-1.75 h-3.5 w-40`}}},defaultVariants:{size:`md`,side:`bottom`}});var[JS,YS]=Q(`DialogRoot`,e=>{let[t,n]=mm(),[r,i]=mm(),[a,o]=mm(),[s,c]=mm(),{open:l}=e,u=e=>{l.value=e},d=()=>{l.value=!l.value},f=J(()=>ru(l.value)),p=I(``),m=`soybean-dialog-popup-${mr()}`,h=()=>{p.value||=m},g=I(``),_=`soybean-dialog-title-${mr()}`,v=()=>{g.value||=_},y=I(``),b=`soybean-dialog-description-${mr()}`,x=()=>{y.value||=b},S=async()=>{await Cn(),s.value?.focus({preventScroll:!0})};return{...e,onOpenChange:u,onOpenToggle:d,dataState:f,overlayElement:t,setOverlayElement:n,triggerElement:r,setTriggerElement:i,popupElement:a,setPopupElement:o,cancelElement:s,setCancelElement:c,popupId:p,initPopupId:h,titleId:g,initTitleId:v,descriptionId:y,initDescriptionId:x,focusCancel:S}}),[XS,ZS]=Q(`DialogProvider`,e=>{let{dialogs:t}=e;return{dialogs:t,getCurrentDialog:e=>t.value.find(t=>String(t.id)===String(e))}}),[QS,$S]=Q(`DialogCompact`,e=>{let{dialog:t}=e;return{dialog:t}}),[eC,tC]=$(`DialogUi`),nC=(e=>{if(!e)return tC();let t=$S(),n=tC(e);return J(()=>{let r=t?.dialog?.value?.ui?.[e];return[n.value,r].filter(Boolean).join(` `)})}),rC=z({name:`DialogCancel`,__name:`dialog-cancel`,props:{type:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{default:`button`}},emits:[`cancel`],setup(e,{emit:t}){let n=e,r=t,i=nC(`cancel`),{setCancelElement:a,onOpenChange:o}=YS(`DialogCancel`),s=async e=>{r(`cancel`,e),o(!1)};return(e,t)=>(V(),U(Iy,ja({ref:L(a)},n,{"data-soybean-dialog-cancel":``,class:L(i),onClick:s}),{default:R(()=>[B(e.$slots,`default`)]),_:3},16,[`class`]))}}),iC=z({name:`DialogClose`,__name:`dialog-close`,props:{type:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{default:`button`}},emits:[`close`],setup(e,{emit:t}){let n=e,r=t,i=nC(`close`),{onOpenChange:a}=YS(`DialogClose`),o=async e=>{r(`close`,e),a(!1)};return(e,t)=>(V(),U(Iy,ja(n,{"data-soybean-dialog-close":``,class:L(i),onClick:o}),{default:R(()=>[B(e.$slots,`default`,{},()=>[G(Ly,{icon:`lucide:x`})])]),_:3},16,[`class`]))}}),aC=z({name:`DialogConfirm`,__name:`dialog-confirm`,props:{type:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{default:`button`}},emits:[`confirm`],setup(e,{emit:t}){let n=e,r=t,i=nC(`confirm`),{onOpenChange:a}=YS(`DialogConfirm`),o=async e=>{r(`confirm`,e),a(!1)};return(e,t)=>(V(),U(Iy,ja(n,{"data-soybean-dialog-confirm":``,class:L(i),onClick:o}),{default:R(()=>[B(e.$slots,`default`)]),_:3},16,[`class`]))}}),oC=z({name:`DialogContent`,__name:`dialog-content`,setup(e){let t=nC(`content`);return(e,n)=>(V(),H(`div`,{"data-soybean-dialog-content":``,class:A(L(t))},[B(e.$slots,`default`)],2))}}),sC=[`id`],cC=z({name:`DialogDescription`,__name:`dialog-description`,setup(e){let{descriptionId:t,initDescriptionId:n}=YS(`DialogDescription`),r=nC(`description`);return n(),(e,n)=>(V(),H(`p`,{id:L(t),"data-soybean-dialog-description":``,class:A(L(r))},[B(e.$slots,`default`)],10,sC))}}),lC=z({name:`DialogFooter`,__name:`dialog-footer`,setup(e){let t=nC(`footer`);return(e,n)=>(V(),H(`div`,{"data-soybean-dialog-footer":``,class:A(L(t))},[B(e.$slots,`default`)],2))}}),uC=z({name:`DialogHeader`,__name:`dialog-header`,setup(e){let t=nC(`header`);return(e,n)=>(V(),H(`div`,{"data-soybean-dialog-header":``,class:A(L(t))},[B(e.$slots,`default`)],2))}}),dC=[`id`],fC=z({name:`DialogTitle`,__name:`dialog-title`,setup(e){let{titleId:t,initTitleId:n}=YS(`DialogTitle`),r=nC(`title`);return n(),(e,n)=>(V(),H(`h2`,{id:L(t),"data-soybean-dialog-title":``,class:A(L(r))},[B(e.$slots,`default`)],10,dC))}}),pC=z({name:`DialogTrigger`,__name:`dialog-trigger`,props:{type:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`click`],setup(e,{emit:t}){let n=e,r=t,{open:i,onOpenToggle:a,dataState:o,popupId:s,setTriggerElement:c}=YS(`DialogTrigger`),l=e=>{r(`click`,e),a()};return(e,t)=>(V(),U(Iy,ja(n,{ref:L(c),"data-soybean-dialog-trigger":``,"aria-haspopup":`dialog`,"aria-expanded":L(i)||!1,"aria-controls":L(i)?L(s):void 0,"data-state":L(o),onClick:l}),{default:R(()=>[B(e.$slots,`default`)]),_:3},16,[`aria-expanded`,`aria-controls`,`data-state`]))}}),mC=[`data-state`],hC=z({name:`DialogOverlay`,__name:`dialog-overlay`,props:{forceMount:{type:Boolean}},setup(e){let t=e,{overlayElement:n,setOverlayElement:r,open:i,dataState:a}=YS(`DialogOverlay`),o=nC(`overlay`),s=t.forceMount?I(!0):hy(n,i);return Vn(()=>{s.value&&i.value&&ln(xm())}),(e,t)=>L(s)?(V(),H(`div`,{key:0,ref:L(r),"data-soybean-dialog-overlay":``,class:A(L(o)),"data-state":L(a),style:{"pointer-events":`auto`}},[B(e.$slots,`default`)],10,mC)):q(`v-if`,!0)}}),gC=z({name:`DialogPopupImpl`,__name:`dialog-popup-impl`,props:{trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`openAutoFocus`,`closeAutoFocus`],setup(e,{emit:t}){let n=e,r=t,{dir:i,modal:a,isAlert:o,alertType:s,onOpenChange:c,setTriggerElement:l,popupElement:u,setPopupElement:d,popupId:f,initPopupId:p,dataState:m,titleId:h,descriptionId:g,focusCancel:_}=YS(`DialogPopupImpl`),{pointerEvents:v}=Um(u,{disableOutsidePointerEvents:()=>n.disableOutsidePointerEvents,onEscapeKeyDown:e=>{r(`escapeKeyDown`,e)},onPointerDownOutside:e=>{r(`pointerDownOutside`,e)},onFocusOutside:e=>{r(`focusOutside`,e)},onInteractOutside:e=>{r(`interactOutside`,e)},onDismiss:()=>{c(!1)}}),{onKeydown:y}=t_(u,{trapped:()=>n.trapFocus,loop:!0,onOpenAutoFocus:e=>{o.value&&_(),r(`openAutoFocus`,e)},onCloseAutoFocus:e=>{r(`closeAutoFocus`,e)}}),b=_y(n,[`trapFocus`,`disableOutsidePointerEvents`]),x=nC(`popup`),S=J(()=>({pointerEvents:v.value})),C=()=>{let e=df();e!==document.body&&l(e)};return Yg(),dy(u,a),p(),Ar(()=>{C()}),(e,t)=>(V(),U(L(Ny),ja(L(b),{id:L(f),ref:L(d),class:L(x),dir:L(i),"aria-labelledby":L(h),"aria-describedby":L(g),"data-dismissable-layer":``,"data-state":L(m),"data-type":L(o)?L(s):void 0,role:L(o)?`alertdialog`:`dialog`,"aria-live":L(o)?L(s)===`error`?`assertive`:`polite`:void 0,tabindex:`-1`,style:S.value,onKeydown:L(y)}),{default:R(()=>[B(e.$slots,`default`)]),_:3},16,[`id`,`class`,`dir`,`aria-labelledby`,`aria-describedby`,`data-state`,`data-type`,`role`,`aria-live`,`style`,`onKeydown`]))}}),_C=z({name:`DialogPopup`,__name:`dialog-popup`,props:{asChild:{type:Boolean},as:{},forceMount:{type:Boolean}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`openAutoFocus`,`closeAutoFocus`],setup(e,{emit:t}){let n=e,r=t,i=_y(n,[`forceMount`]),a=r_(r),{popupElement:o,open:s,modal:c,isAlert:l,triggerElement:u}=YS(`DialogPopup`),d=n.forceMount?I(!0):hy(o,s),f=J(()=>c.value&&s.value),{onPointerDownOutside:p,onFocusOutside:m,onInteractOutside:h,onCloseAutoFocus:g}=py({modal:c,triggerElement:u}),_=e=>{l.value&&e.preventDefault(),p(e)},v=e=>{l.value&&e.preventDefault(),h(e)};return(e,t)=>L(d)?(V(),U(gC,ja({key:0},L(i),{"data-soybean-dialog-popup":``,"trap-focus":f.value,"disable-outside-pointer-events":L(c)},qr(L(a)),{onPointerDownOutside:_,onFocusOutside:L(m),onInteractOutside:v,onCloseAutoFocus:L(g)}),{default:R(()=>[B(e.$slots,`default`)]),_:3},16,[`trap-focus`,`disable-outside-pointer-events`,`onFocusOutside`,`onCloseAutoFocus`])):q(`v-if`,!0)}}),vC=z({name:`DialogRoot`,inheritAttrs:!1,__name:`dialog-root`,props:{dir:{},isAlert:{type:Boolean},alertType:{},open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean},modal:{type:Boolean,default:!0}},emits:[`update:open`],setup(e,{emit:t}){let n=e,r=t,i=Fm(()=>n.open,e=>{r(`update:open`,e)},n.defaultOpen??!1),{onOpenChange:a}=JS({dir:dm(()=>n.dir),open:i,modal:J(()=>n.isAlert===!0||n.modal),...kf(n,[`isAlert`,`alertType`])}),o=()=>{a(!1)};return(e,t)=>B(e.$slots,`default`,{open:L(i),close:o})}}),yC=z({name:`DialogCompact`,__name:`dialog-compact`,props:{title:{},description:{},icon:{},showClose:{type:Boolean,default:!0},pure:{type:Boolean},showCancel:{type:[String,Boolean],default:`onlyWarning`},cancelText:{},showConfirm:{type:Boolean,default:!0},confirmText:{},triggerProps:{},overlayProps:{},portalProps:{},popupProps:{},headerProps:{},contentProps:{},footerProps:{},titleProps:{},descriptionProps:{},closeProps:{},cancelProps:{},confirmProps:{},dir:{},isAlert:{type:Boolean},alertType:{default:`default`},open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean},modal:{type:Boolean,default:!0}},emits:[`update:open`,`click`,`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`openAutoFocus`,`closeAutoFocus`,`close`,`confirm`,`cancel`],setup(e,{emit:t}){let n=e,r=_y(n,[`title`,`description`,`icon`,`showClose`,`pure`,`showCancel`,`cancelText`,`showConfirm`,`confirmText`,`triggerProps`,`overlayProps`,`portalProps`,`popupProps`,`headerProps`,`contentProps`,`footerProps`,`titleProps`,`descriptionProps`,`closeProps`,`cancelProps`,`confirmProps`]),i=t,a=Qr(),o=$r(),s=r_(i),c=pm(),l=ZS(),u=J(()=>l?.getCurrentDialog(o[`data-dialog-id`])),d=J(()=>[nC().value?.icon,u.value?.ui?.icon].filter(Boolean).join(` `)),f=J(()=>({...n.triggerProps,asChild:n.triggerProps?.asChild??!0})),p={default:null,info:`lucide:info`,warning:`lucide:circle-alert`,error:`lucide:circle-x`,success:`lucide:circle-check`},m=J(()=>n.icon?n.icon:n.isAlert&&n.alertType?p[n.alertType]:null),h=J(()=>n.showConfirm??n.isAlert),g=J(()=>typeof n.showCancel==`boolean`?n.showCancel:n.isAlert===!0&&n.alertType===`warning`),_=J(()=>n.pure?!1:a.footer?!0:g.value||h.value),v=J(()=>n.cancelText??c.value.dialog.cancel),y=J(()=>n.confirmText??c.value.dialog.confirm);return QS({dialog:u}),(t,n)=>(V(),U(vC,ja(L(r),{"onUpdate:open":n[4]||=e=>i(`update:open`,e)}),{default:R(r=>[G(pC,j(Ea(f.value)),{default:R(()=>[B(t.$slots,`trigger`,j(Ea(r)))]),_:2},1040),G(gS,j(Ea(e.portalProps)),{default:R(()=>[G(hC,j(Ea(e.overlayProps)),null,16),G(_C,ja(e.popupProps,qr(L(s))),{default:R(()=>[e.pure?q(`v-if`,!0):(V(),U(uC,j(ja({key:0},e.headerProps)),{default:R(()=>[G(fC,j(Ea(e.titleProps)),{default:R(()=>[m.value?(V(),U(Ly,{key:0,icon:m.value,class:A(d.value)},null,8,[`icon`,`class`])):q(`v-if`,!0),B(t.$slots,`title`,j(Ea(r)),()=>[W(`span`,null,M(e.title),1)])]),_:2},1040),a.description||e.description?(V(),U(cC,j(ja({key:0},e.descriptionProps)),{default:R(()=>[B(t.$slots,`description`,j(Ea(r)),()=>[K(M(e.description),1)])]),_:2},1040)):q(`v-if`,!0),!e.isAlert&&e.showClose?(V(),U(iC,{key:1,onClose:n[0]||=e=>i(`close`,e)},{default:R(()=>[B(t.$slots,`close`,j(Ea(r)))]),_:2},1024)):q(`v-if`,!0)]),_:2},1040)),G(oC,j(Ea(e.contentProps)),{default:R(()=>[B(t.$slots,`default`,j(Ea(r)))]),_:2},1040),e.pure&&!e.isAlert&&e.showClose?(V(),U(iC,{key:1,onClose:n[1]||=e=>i(`close`,e)},{default:R(()=>[B(t.$slots,`close`,j(Ea(r)))]),_:2},1024)):q(`v-if`,!0),_.value?(V(),U(lC,j(ja({key:2},e.footerProps)),{default:R(()=>[B(t.$slots,`footer`,j(Ea(r)),()=>[g.value?(V(),U(rC,ja({key:0},e.cancelProps,{onCancel:n[2]||=e=>i(`cancel`,e)}),{default:R(()=>[B(t.$slots,`cancel`,j(Ea(r)),()=>[K(M(v.value),1)])]),_:2},1040)):q(`v-if`,!0),h.value?(V(),U(aC,ja({key:1},e.confirmProps,{onConfirm:n[3]||=e=>i(`confirm`,e)}),{default:R(()=>[B(t.$slots,`confirm`,j(Ea(r)),()=>[K(M(y.value),1)])]),_:2},1040)):q(`v-if`,!0)])]),_:2},1040)):q(`v-if`,!0)]),_:2},1040)]),_:2},1040)]),_:3},16))}});function bC(e){"@babel/helpers - typeof";return bC=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},bC(e)}function xC(e,t){if(bC(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(bC(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function SC(e){var t=xC(e,`string`);return bC(t)==`symbol`?t:t+``}function CC(e,t,n){return(t=SC(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var wC=1,TC=new class{constructor(){CC(this,`subscribers`,void 0),CC(this,`dialogs`,void 0),CC(this,`dismissed`,void 0),CC(this,`subscribe`,e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);t>=0&&this.subscribers.splice(t,1)})),CC(this,`publish`,e=>{this.subscribers.forEach(t=>t(e))}),CC(this,`resetDismissed`,e=>{this.dismissed.has(e)&&this.dismissed.delete(e)}),CC(this,`upsert`,e=>{let t=this.dialogs.findIndex(t=>t.id===e.id);if(t<0){this.publish(e),this.dialogs=[...this.dialogs,e];return}let n={...this.dialogs[t],...e};this.publish(n),this.dialogs=this.dialogs.map((e,r)=>r===t?n:e)}),CC(this,`create`,e=>{let{open:t=!0,...n}=e,r=DC(e.id),i={...n,id:r,open:t};return this.upsert(i),r}),CC(this,`dismiss`,e=>{if(e!==void 0)return this.dismissed.add(e),requestAnimationFrame(()=>this.publish({id:e,open:!1})),e;this.dialogs.forEach(e=>{this.dismissed.add(e.id),this.publish({id:e.id,open:!1})})}),CC(this,`message`,(e,t)=>this.create({...t,title:e,type:`default`})),CC(this,`error`,(e,t)=>this.create({...t,title:e,type:`error`})),CC(this,`success`,(e,t)=>this.create({...t,title:e,type:`success`})),CC(this,`info`,(e,t)=>this.create({...t,title:e,type:`info`})),CC(this,`warning`,(e,t)=>this.create({...t,title:e,type:`warning`})),CC(this,`getDialogs`,()=>this.dialogs.filter(e=>!this.dismissed.has(e.id))),CC(this,`activeDialogs`,()=>(this.dialogs=this.getDialogs(),this.dismissed.clear(),this.dialogs)),this.subscribers=[],this.dialogs=[],this.dismissed=new Set}},EC=TC.message;Object.assign(EC,{success:TC.success,error:TC.error,info:TC.info,warning:TC.warning,getHistory:()=>TC.dialogs,getDialogs:()=>TC.getDialogs()});function DC(e){return typeof e==`number`||typeof e==`string`&&e.length>0?e:wC++}var OC=z({name:`DynamicRender`,inheritAttrs:!1,__name:`dynamic-render`,props:{is:{}},setup(e){let t=$r();return(n,r)=>typeof e.is==`string`?(V(),H(da,{key:0},[K(M(e.is),1)],64)):(V(),U(Vr(e.is),j(ja({key:1},L(t))),null,16))}}),kC=z({name:`DialogProvider`,inheritAttrs:!1,__name:`dialog-provider`,setup(e){let t=I([]),n=e=>{let n=t.value.findIndex(t=>t.id===e.id);if(n!==-1){let r=Object.assign({},t.value[n],e);t.value=[...t.value.slice(0,n),r,...t.value.slice(n+1)];return}t.value=[e,...t.value]},r=e=>{e.onDismiss?.(e),TC.dismiss(e.id)},i=(e,t)=>{e.onCancel?.(t),!t.defaultPrevented&&r(e)},a=(e,t)=>{e.onConfirm?.(t),!t.defaultPrevented&&r(e)};return XS({dialogs:t}),Vn(()=>{let e=TC.subscribe(e=>{Cn(()=>{n(e)}),e.open===!1&&setTimeout(()=>{t.value=TC.activeDialogs()},500)});ln(()=>{e()})},{flush:`post`}),(e,n)=>(V(),H(da,null,[(V(!0),H(da,null,Wr(t.value,e=>(V(),U(yC,{key:e.id,open:e.open,"is-alert":``,"alert-type":e.type,"data-dialog-id":e.id,icon:e.icon,onClose:t=>r(e),onCancel:t=>i(e,t),onConfirm:t=>a(e,t)},Gr({default:R(()=>[e.content?(V(),U(Vr(e.content),{key:0})):q(`v-if`,!0)]),_:2},[e.title?{name:`title`,fn:R(()=>[G(OC,{is:e.title},null,8,[`is`])]),key:`0`}:void 0,e.description?{name:`description`,fn:R(()=>[G(OC,{is:e.description},null,8,[`is`])]),key:`1`}:void 0,e.footer?{name:`footer`,fn:R(()=>[G(OC,{is:e.footer},null,8,[`is`])]),key:`2`}:void 0,e.cancelText?{name:`cancel`,fn:R(()=>[G(OC,{is:e.cancelText},null,8,[`is`])]),key:`3`}:void 0,e.confirmText?{name:`confirm`,fn:R(()=>[G(OC,{is:e.confirmText},null,8,[`is`])]),key:`4`}:void 0]),1032,[`open`,`alert-type`,`data-dialog-id`,`icon`,`onClose`,`onCancel`,`onConfirm`]))),128)),B(e.$slots,`default`)],64))}}),AC=`soybean-bottom-sheet-dragging`,jC=`data-soybean-bottom-sheet-scale`,MC={DURATION:.5,EASE:[.32,.72,0,1]},NC=new WeakMap;function PC(e,t,n=!1){if(!e||!(e instanceof HTMLElement)||!t)return;let r={};Object.entries(t).forEach(([t,n])=>{if(t.startsWith(`--`)){e.style.setProperty(t,n);return}r[t]=e.style[t],e.style[t]=n}),!n&&NC.set(e,r)}function FC(e,t){if(!e||!(e instanceof HTMLElement))return;let n=NC.get(e);n&&(t?e.style[t]=n[t]:Object.entries(n).forEach(([t,n])=>{e.style[t]=n}))}function IC(e,t){let n=window.getComputedStyle(e),r=n.transform||n.webkitTransform||n.mozTransform,i=r?.match(/^matrix3d\((.+)\)$/);return i?Number.parseFloat(i[1].split(`, `)[RC(t)?13:12]):(i=r?.match(/^matrix\((.+)\)$/),i?Number.parseFloat(i[1].split(`, `)[RC(t)?5:4]):null)}function LC(e){return 8*(Math.log(e+1)-2)}function RC(e){return e===`top`||e===`bottom`}function zC({activeSnapPoint:e,snapPoints:t,drawerRef:n,overlayRef:r,fadeFromIndex:i,onSnapPointChange:a,direction:o}){let s=F(typeof window<`u`?{innerWidth:window.innerWidth,innerHeight:window.innerHeight}:void 0);function c(){s.value={innerWidth:window.innerWidth,innerHeight:window.innerHeight}}Ar(()=>{typeof window<`u`&&window.addEventListener(`resize`,c)}),Nr(()=>{typeof window<`u`&&window.removeEventListener(`resize`,c)});let l=J(()=>(t.value&&e.value===t.value[t.value.length-1])??null),u=J(()=>t.value&&t.value.length>0&&(i?.value||i?.value===0)&&!Number.isNaN(i?.value)&&t.value[i?.value??-1]===e.value||!t.value),d=J(()=>t.value?.findIndex(t=>t===e.value)??null),f=J(()=>t.value?.map(e=>{let t=typeof e==`string`,n=0;if(t&&(n=Number.parseInt(e,10)),RC(o.value)){let r=n;return t||(r=s.value?e*s.value.innerHeight:0),s.value?o.value===`bottom`?s.value.innerHeight-r:-s.value.innerHeight+r:r}let r=n;return t||(r=s.value?e*s.value.innerWidth:0),s.value?o.value===`right`?s.value.innerWidth-r:-s.value.innerWidth+r:r})??[]),p=J(()=>d.value===null?null:f.value?.[d.value]),m=s=>{let c=f.value?.findIndex(e=>e===s)??null;Cn(()=>{a(c,f.value),PC(n.value,{transition:`transform ${MC.DURATION}s cubic-bezier(${MC.EASE.join(`,`)})`,transform:RC(o.value)?`translate3d(0, ${s}px, 0)`:`translate3d(${s}px, 0, 0)`})}),f.value&&c!==f.value.length-1&&c!==i?.value?PC(r.value,{transition:`opacity ${MC.DURATION}s cubic-bezier(${MC.EASE.join(`,`)})`,opacity:`0`}):PC(r.value,{transition:`opacity ${MC.DURATION}s cubic-bezier(${MC.EASE.join(`,`)})`,opacity:`1`}),e.value=c===null?null:t.value?.[c]??null};Un([e,f,t],()=>{if(e.value!==null&&e.value!==void 0){let n=t.value?.findIndex(t=>t===e.value)??-1;f.value&&n!==-1&&typeof f.value[n]==`number`&&m(f.value[n])}},{immediate:!0});function h(e,n,r,i){return e>2&&!n?(r?i():m(f.value[0]),!0):e>2&&n&&f&&t.value?(m(f.value[t.value.length-1]),!0):!1}function g(e){let{currentPosition:n,velocity:r,draggedDistance:i,isFirst:a,hasDraggedUp:s,dismissible:c,closeDrawer:u}=e,p=f.value?.reduce((e,t)=>Math.abs(t-n)<Math.abs(e-n)?t:e),h=RC(o.value)?window.innerHeight:window.innerWidth;if(r>.4&&Math.abs(i)<h*.4){let e=s?1:-1;if(e>0&&l.value){m(f.value[(t.value?.length??0)-1]);return}if(a&&e<0&&c&&u(),d.value===null)return;m(f.value[d.value+e]);return}m(p)}function _({draggedDistance:e,closeDrawer:t,velocity:n,dismissible:a}){if(i===void 0)return;let s=o.value===`bottom`||o.value===`right`?(p.value??0)-e:(p.value??0)+e,c=d.value===(i.value??0)-1,l=d.value===0,u=e>0;c&&PC(r.value,{transition:`opacity ${MC.DURATION}s cubic-bezier(${MC.EASE.join(`,`)})`}),!h(n,u,a,t)&&g({currentPosition:s,velocity:n,draggedDistance:e,isFirst:l,hasDraggedUp:u,dismissible:a,closeDrawer:t})}function v({draggedDistance:e}){if(p.value===null)return;let t=o.value===`bottom`||o.value===`right`?(p.value??0)-e:(p.value??0)+e;(o.value===`bottom`||o.value===`right`)&&t<f.value[f.value.length-1]||(o.value===`top`||o.value===`left`)&&t>f.value[f.value.length-1]||PC(n.value,{transform:RC(o.value)?`translate3d(0, ${t}px, 0)`:`translate3d(${t}px, 0, 0)`})}function y(e,n){if(!t||typeof d.value!=`number`||!f.value||i===void 0)return null;let r=d.value===(i.value??0)-1;if(d.value>=(i.value??0)&&n)return 0;if(r&&!n)return 1;if(!u.value&&!r)return null;let a=r?d.value+1:d.value-1,o=r?f.value[a]-f.value[a-1]:f.value[a+1]-f.value[a],s=e/Math.abs(o);return r?1-s:s}return{isLastSnapPoint:l,shouldFade:u,getPercentageDragged:y,activeSnapPointIndex:d,onRelease:_,onDrag:v,snapPointsOffset:f}}var[BC,VC]=Q(`BottomSheetRoot`,e=>HC(e));function HC(e){let{emitDrag:t,emitRelease:n,emitClose:r,emitOpenChange:i,open:a,dismissible:o,nested:s,modal:c,shouldScaleBackground:l,setBackgroundColorOnScale:u,scrollLockTimeout:d,closeThreshold:f,activeSnapPoint:p,fadeFromIndex:m,direction:h,noBodyStyles:g,handleOnly:_}=e,[v,y]=mm(),[b,x]=mm(),[S,C]=mm(),w=F(a.value??!1),T=F(!1),ee=F(!1),te=F(!1),E=F(null),ne=F(null),D=F(null),re=F(null),ie=F(!1),ae=F(null),oe=F(0),se=F(!1),O=J(()=>b.value?.getBoundingClientRect().height||0),k=J(()=>{let t=e.snapPoints?.value;if(t?.length)return t}),ce=J(()=>(k.value?.length??0)>0),{activeSnapPointIndex:le,onRelease:ue,snapPointsOffset:de,onDrag:fe,shouldFade:pe,getPercentageDragged:A}=zC({snapPoints:k,activeSnapPoint:p,drawerRef:b,fadeFromIndex:m,overlayRef:v,onSnapPointChange:j,direction:h});function j(e,t){k.value&&e===t.length-1&&(E.value=new Date)}function me(){return(window.innerWidth-26)/window.innerWidth}function he(e,t){if(!e)return!1;let n=e,r=window.getSelection()?.toString(),i=b.value?IC(b.value,h.value):null,a=new Date;if(n.hasAttribute(`data-soybean-bottom-sheet-no-drag`)||n.closest(`[data-soybean-bottom-sheet-no-drag]`))return!1;if(h.value===`right`||h.value===`left`)return!0;if(E.value&&a.getTime()-E.value.getTime()<500)return!1;if(i!==null&&(h.value===`bottom`?i>0:i<0))return!0;if(r&&r.length>0)return!1;if(re.value&&a.getTime()-re.value.getTime()<d.value&&i===0||t)return re.value=a,!1;for(;n;){if(n.scrollHeight>n.clientHeight){if(n.scrollTop!==0)return re.value=new Date,!1;if(n.getAttribute(`role`)===`dialog`)return!0}n=n.parentNode}return!0}function ge(e){!o.value&&!k.value||b.value&&!b.value.contains(e.target)||(ee.value=!0,ne.value=new Date,e.target.setPointerCapture(e.pointerId),oe.value=RC(h.value)?e.clientY:e.clientX)}function _e(e){if(!b.value||!ee.value)return;let n=h.value===`bottom`||h.value===`right`?1:-1,r=(oe.value-(RC(h.value)?e.clientY:e.clientX))*n,i=r>0,a=k.value&&!o.value&&!i;if(a&&le.value===0)return;let s=Math.abs(r),c=document.querySelector(`[${jC}]`),u=s/O.value,d=A(s,i);if(d!==null&&(u=d),a&&u>=1||!ie.value&&!he(e.target,i))return;if(b?.value?.classList.add(AC),ie.value=!0,PC(b.value,{transition:`none`}),PC(v.value,{transition:`none`}),k.value&&fe({draggedDistance:r}),i&&!k.value){let e=LC(r),t=Math.min(e*-1,0)*n;PC(b.value,{transform:RC(h.value)?`translate3d(0, ${t}px, 0)`:`translate3d(${t}px, 0, 0)`});return}let f=1-u;if((pe.value||m.value&&le.value===m.value-1)&&(t(u),PC(v.value,{opacity:`${f}`,transition:`none`},!0)),c&&v.value&&l.value){let e=Math.min(me()+u*(1-me()),1),t=8-u*8,n=Math.max(0,14-u*14);PC(c,{borderRadius:`${t}px`,transform:RC(h.value)?`scale(${e}) translate3d(0, ${n}px, 0)`:`scale(${e}) translate3d(${n}px, 0, 0)`,transition:`none`},!0)}if(!k.value){let e=s*n;PC(b.value,{transform:RC(h.value)?`translate3d(0, ${e}px, 0)`:`translate3d(${e}px, 0, 0)`})}}function ve(){if(!b.value)return;let e=document.querySelector(`[${jC}]`),t=IC(b.value,h.value);PC(b.value,{transform:`translate3d(0, 0, 0)`,transition:`transform ${MC.DURATION}s cubic-bezier(${MC.EASE.join(`,`)})`}),PC(v.value,{transition:`opacity ${MC.DURATION}s cubic-bezier(${MC.EASE.join(`,`)})`,opacity:`1`}),l.value&&t&&t>0&&w.value&&PC(e,{borderRadius:`8px`,overflow:`hidden`,...RC(h.value)?{transform:`scale(${me()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`,transformOrigin:`top`}:{transform:`scale(${me()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`,transformOrigin:`left`},transitionProperty:`transform, border-radius`,transitionDuration:`${MC.DURATION}s`,transitionTimingFunction:`cubic-bezier(${MC.EASE.join(`,`)})`},!0)}function ye(e){b.value&&(r(),e||(w.value=!1),window.setTimeout(()=>{k.value&&(p.value=k.value[0])},MC.DURATION*1e3))}Vn(()=>{if(!w.value&&l.value&&jf){let e=setTimeout(()=>{FC(document.body)},200);return()=>clearTimeout(e)}}),Un(a,()=>{w.value=a.value,a.value||ye()});function be(e){if(!ee.value||!b.value)return;b.value.classList.remove(AC),ie.value=!1,ee.value=!1,D.value=new Date;let t=IC(b.value,h.value);if(!he(e.target,!1)||!t||Number.isNaN(t)||ne.value===null)return;let r=D.value.getTime()-ne.value.getTime(),i=oe.value-(RC(h.value)?e.clientY:e.clientX),a=Math.abs(i)/r;if(a>.05&&(te.value=!0,window.setTimeout(()=>{te.value=!1},200)),k.value){ue({draggedDistance:i*(h.value===`bottom`||h.value===`right`?1:-1),closeDrawer:ye,velocity:a,dismissible:o.value}),n(!0);return}if(h.value===`bottom`||h.value===`right`?i>0:i<0){ve(),n(!0);return}if(a>.4){ye(),n(!1);return}if(t>=Math.min(b.value.getBoundingClientRect().height??0,window.innerHeight)*f.value){ye(),n(!1);return}n(!0),ve()}Un(w,e=>{e&&(E.value=new Date),i(e)},{immediate:!0});function M(e){let t=e?(window.innerWidth-16)/window.innerWidth:1,n=e?-16:0;ae.value&&window.clearTimeout(ae.value),PC(b.value,{transition:`transform ${MC.DURATION}s cubic-bezier(${MC.EASE.join(`,`)})`,transform:`scale(${t}) translate3d(0, ${n}px, 0)`}),!e&&b.value&&(ae.value=window.setTimeout(()=>{let e=IC(b.value,h.value);PC(b.value,{transition:`none`,transform:RC(h.value)?`translate3d(0, ${e}px, 0)`:`translate3d(${e}px, 0, 0)`})},500))}function xe(e){if(e<0)return;let t=RC(h.value)?window.innerHeight:window.innerWidth,n=(t-16)/t,r=n+e*(1-n),i=-16+e*16;PC(b.value,{transform:RC(h.value)?`scale(${r}) translate3d(0, ${i}px, 0)`:`scale(${r}) translate3d(${i}px, 0, 0)`,transition:`none`})}function Se(e){let t=RC(h.value)?window.innerHeight:window.innerWidth,n=e?(t-16)/t:1,r=e?-16:0;e&&PC(b.value,{transition:`transform ${MC.DURATION}s cubic-bezier(${MC.EASE.join(`,`)})`,transform:RC(h.value)?`scale(${n}) translate3d(0, ${r}px, 0)`:`scale(${n}) translate3d(${r}px, 0, 0)`})}return{open:a,isOpen:w,modal:c,keyboardIsOpen:se,hasBeenOpened:T,drawerRef:b,setDrawerRef:x,drawerHeightRef:O,overlayRef:v,setOverlayRef:y,handleRef:S,setHandleRef:C,isDragging:ee,dragStartTime:ne,isAllowedToDrag:ie,snapPoints:k,hasSnapPoints:ce,activeSnapPoint:p,pointerStart:oe,dismissible:o,snapPointsOffset:de,direction:h,shouldFade:pe,fadeFromIndex:m,shouldScaleBackground:l,setBackgroundColorOnScale:u,onPress:ge,onDrag:_e,onRelease:be,closeDrawer:ye,onNestedDrag:xe,onNestedRelease:Se,onNestedOpenChange:M,emitClose:r,emitDrag:t,emitRelease:n,emitOpenChange:i,nested:s,handleOnly:_,noBodyStyles:g}}var[UC,WC]=$(`BottomSheet`,e=>(eC(e),e));Z({slots:{root:``,list:`flex flex-wrap items-center my-0 px-0 break-words text-muted-foreground`,item:`inline-flex items-center list-none`,page:`font-normal text-foreground`,separator:`text-muted-foreground flex-shrink-0 list-none`,ellipsis:`flex items-center justify-center`,link:`decoration-none hover:text-foreground transition-colors-200 rounded-sm outline-none focus-visible:ring-3 focus-visible:ring-offset-background focus-visible:ring-primary/30`},variants:{size:{xs:{root:`text-2xs`,list:`gap-2`,item:`gap-1.5`},sm:{root:`text-xs`,list:`gap-2.5`,item:`gap-1.75`},md:{root:`text-sm`,list:`gap-3`,item:`gap-2`},lg:{root:`text-base`,list:`gap-3.5`,item:`gap-2.5`},xl:{root:`text-lg`,list:`gap-4`,item:`gap-3`},"2xl":{root:`text-xl`,list:`gap-4.5`,item:`gap-3.5`}}},defaultVariants:{size:`md`}});var[GC,KC]=$(`BreadcrumbUi`),[qC,JC]=Q(`ButtonGroup`),YC=z({name:`SButton`,__name:`button`,props:{class:{type:[Boolean,null,String,Object,Array]},color:{},size:{},variant:{},shape:{},shadow:{},fitContent:{type:Boolean},type:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`click`],setup(e,{emit:t}){let n=e,r=t,i=JC(),a=_y(n,[`class`,`size`,`color`,`variant`,`shape`,`shadow`,`disabled`,`fitContent`]),o=J(()=>{let{size:e,color:t,variant:r,shape:a,shadow:o,fitContent:s}=i||{};return Wy({size:n.size||e?.value,color:n.color||t?.value,variant:n.variant||r?.value,shape:n.shape||a?.value,shadow:n.shadow||o?.value,fitContent:n.fitContent||s?.value},n.class)}),s=J(()=>n.disabled||i?.disabled.value);return(e,t)=>(V(),U(L(Iy),ja(L(a),{class:o.value,disabled:s.value,onClick:t[0]||=e=>r(`click`,e)}),{default:R(()=>[B(e.$slots,`leading`),B(e.$slots,`default`),B(e.$slots,`trailing`)]),_:3},16,[`class`,`disabled`]))}}),XC={key:0,style:{display:`contents`}},ZC={style:{position:`absolute`,inset:`0`,"justify-content":`center`,"align-items":`center`,display:`flex`,gap:`0.25rem`,"z-index":`1`}},QC={key:0},$C={style:{visibility:`hidden`,display:`contents`}},ew=z({name:`SButtonLoading`,inheritAttrs:!1,__name:`button-loading`,props:{loading:{type:Boolean},loadingText:{},loadingDuration:{},autoLoading:{type:Boolean},loadingIcon:{default:`svg-spinners:270-ring`},loadingIconProps:{},loadingPosition:{default:`start`},class:{type:[Boolean,null,String,Object,Array]},color:{},size:{},variant:{},shape:{},shadow:{},fitContent:{type:Boolean},type:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{}},setup(e){let t=e,n=$r(),r=F(!1),i=J(()=>t.disabled||r.value),a=async e=>{t.autoLoading&&(r.value=!0);try{(Array.isArray(n.onClick)?n.onClick:[n.onClick]).forEach(t=>t?.(e))}finally{t.autoLoading&&(t.loadingDuration&&await new Promise(e=>{setTimeout(e,t.loadingDuration)}),r.value=!1)}},o=_y(t,[`loading`,`loadingText`,`loadingDuration`,`autoLoading`,`loadingIcon`,`loadingIconProps`,`loadingPosition`],n,{onClick:a});return Vn(()=>{r.value=t.loading}),(t,n)=>(V(),U(YC,ja(L(o),{disabled:i.value,style:{position:`relative`},onClick:a}),{leading:R(()=>[r.value&&e.loadingPosition===`start`?(V(),U(Jx,ja({key:0,icon:e.loadingIcon},e.loadingIconProps),null,16,[`icon`])):B(t.$slots,`leading`,{key:1})]),trailing:R(()=>[r.value&&e.loadingPosition===`end`?(V(),U(Jx,ja({key:0,icon:e.loadingIcon},e.loadingIconProps),null,16,[`icon`])):B(t.$slots,`trailing`,{key:1})]),default:R(()=>[r.value&&e.loadingPosition===`center`?(V(),H(`span`,XC,[W(`span`,ZC,[G(Jx,ja({icon:e.loadingIcon},e.loadingIconProps),null,16,[`icon`]),e.loadingText?(V(),H(`span`,QC,M(e.loadingText),1)):q(`v-if`,!0)]),W(`span`,$C,[B(t.$slots,`default`,{loading:r.value})])])):B(t.$slots,`default`,{key:1,loading:r.value})]),_:3},16,[`disabled`]))}});gl({base:`outline-none cursor-pointer decoration-none data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50`}),Z({slots:{trigger:[`flex items-center justify-between w-full rounded-md border border-input bg-background transition-all-150`,`outline-none focus-visible:ring-3 focus-visible:ring-offset-background focus-visible:ring-primary/30 focus:ring-3 focus:ring-offset-background focus:ring-primary/30 disabled:pointer-events-none disabled:opacity-50`,`placeholder:text-muted-foreground data-[placeholder]:text-muted-foreground`],triggerIcon:`shrink-0 text-muted-foreground opacity-70`,value:`grow truncate text-start`,positioner:``,popup:[`relative z-50 min-w-32 rounded-md border bg-popover text-popover-foreground shadow-md`,`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`],viewport:``,group:``,groupLabel:`font-medium text-muted-foreground`,item:[`relative flex items-center w-full rounded-sm outline-none cursor-pointer select-none`,`focus:bg-accent focus:text-accent-foreground data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50`],itemText:``,itemIndicator:`ms-auto shrink-0 text-muted-foreground`,separator:`-mx-1 my-1 h-px bg-muted`,scrollUpButton:`flex items-center justify-center cursor-default`,scrollDownButton:`flex items-center justify-center cursor-default`,arrow:`w-1em h-0.5em fill-popover stroke-border`},variants:{size:{xs:{popup:`max-h-70 text-2xs`,trigger:`gap-1 h-6 px-1.5 text-2xs`,viewport:`p-0.75`,item:`gap-1 px-1 py-1`,groupLabel:`p-1 text-3xs`,separator:`-mx-0.75 my-0.375`,scrollUpButton:`py-0.75`,scrollDownButton:`py-0.75`,arrow:`text-3xs`},sm:{popup:`max-h-75 text-xs`,trigger:`gap-1.5 h-7 px-2 text-xs`,viewport:`p-0.875`,item:`gap-1.5 px-1.5 py-1`,separator:`-mx-0.875 my-0.4375`,groupLabel:`p-1.25 text-2xs`,scrollUpButton:`py-0.875`,scrollDownButton:`py-0.875`,arrow:`text-2xs`},md:{popup:`max-h-80 text-sm`,trigger:`gap-2 h-8 px-2.5 text-sm`,viewport:`p-1`,item:`gap-2 px-2 py-1.5`,separator:`-mx-1 my-0.5`,groupLabel:`p-1.75 text-xs`,scrollUpButton:`py-1`,scrollDownButton:`py-1`,arrow:`text-xs`},lg:{popup:`max-h-90 text-base`,trigger:`gap-2.5 h-9 px-3 text-base`,viewport:`p-1.25`,item:`gap-2.5 px-2.5 py-1.5`,separator:`-mx-1.25 my-0.625`,groupLabel:`p-2 text-sm`,scrollUpButton:`py-1.25`,scrollDownButton:`py-1.25`,arrow:`text-sm`},xl:{popup:`max-h-100 text-lg`,trigger:`gap-3 h-10 px-3.5 text-lg`,viewport:`p-1.5`,item:`gap-3 px-3 py-2`,separator:`-mx-1.5 my-0.75`,groupLabel:`p-2.5 text-base`,scrollUpButton:`py-1.5`,scrollDownButton:`py-1.5`,arrow:`text-base`},"2xl":{popup:`max-h-115 text-xl`,trigger:`gap-3.5 h-12 px-4 text-xl`,viewport:`p-1.75`,item:`gap-3.5 px-3.5 py-2.5`,separator:`-mx-1.75 my-0.875`,groupLabel:`p-3 text-lg`,scrollUpButton:`py-1.75`,scrollDownButton:`py-1.75`,arrow:`text-lg`}},position:{popper:{popup:`data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1`,viewport:`h-[--soybean-select-trigger-height] w-full min-w-[--soybean-select-trigger-width]`},"item-aligned":{}}},defaultVariants:{size:`md`,position:`popper`}});var[tw,nw]=Q(`SelectRoot`,e=>{let{open:t}=e,n=e=>{t.value=e},r=J(()=>ru(t.value)),i=dm(e.dir),a=I(``),o=`soybean-select-content-${mr()}`,s=()=>{a.value||=o},c=I(),l=e=>{c.value=e},u=I(),d=e=>{u.value=e},f=F(new Set),p=J(()=>Array.from(f.value)),m=J(()=>p.value.map(e=>e.value).join(`;`)),h=e=>{f.value.add(e)},g=e=>{f.value.delete(e)},_=I({x:0,y:0}),v=e=>{_.value=e},y=()=>{_.value=null};return{...e,dataState:r,onOpenChange:n,dir:i,contentId:a,initContentId:s,triggerElement:c,onTriggerElementChange:l,valueElement:u,onValueElementChange:d,optionsSet:f,onOptionAdd:h,onOptionRemove:g,options:p,nativeSelectKey:m,triggerPointerDownPosition:_,setTriggerPointerDownPosition:v,resetTriggerPointerDownPosition:y}}),{provideCollectionContext:rw,useCollectionContext:iw,useCollectionItem:aw}=Pm(`Select`),[ow,sw]=Q(`SelectContent`,e=>{let{modelValue:t,isMultiple:n,popupElement:r}=e,i=I(!1),a=I(),o=e=>{a.value=e},s=!1,c=!1,l=I(),u=(e,n,r)=>{let i=!s&&!r;(su(t.value,n)||i)&&(l.value=e)},d=I(),f=(e,r,i)=>{let a=!s&&!i,o=su(t.value,r);if(n.value){if(c)return;(o||a)&&(d.value=e,o&&(c=!0))}else(o||a)&&(d.value=e);a&&(s=!0)},p=()=>{r.value?.focus()};function m(){!d.value||!r.value||_f([d.value,r.value])}return{...e,isPositioned:i,viewportElement:a,onViewportElementChange:o,selectedItemElement:d,onSelectedItemElementChange:f,onItemElementLeave:p,selectedItemTextElement:l,onSelectedItemTextElementChange:u,focusSelectedItem:m}}),[cw,lw]=Q(`SelectGroup`,()=>{let e=I(``),t=`soybean-select-group-label-${mr()}`;return{labelId:e,initLabelId:()=>{e.value||=t}}}),[uw,dw]=Q(`SelectItem`,e=>{let t=I(e.textValue.value??``),n=I(),r=e=>{n.value=e,t.value=((t.value||e?.textContent)??``).trim()},i=I(``),a=`soybean-select-item-text-${mr()}`,o=()=>{i.value||=a};return{...e,textId:i,initTextId:o,textValue:t,itemTextElement:n,onItemTextElementChange:r}}),[fw,pw]=Q(`SelectPopupElement`,()=>{let e=I();return{popupElement:e,onPopupElementChange:t=>{e.value=t}}}),[mw,hw]=Q(`SelectItemAlignedPosition`),[gw,_w]=$(`SelectUi`,e=>(mS(e),e));Z({extendBase:e=>({prev:qy({size:e.size,variant:`pure`}),next:qy({size:e.size,variant:`pure`})}),slots:{root:`inline-flex flex-col rounded-md border shadow-sm`,header:`flex items-center justify-between`,heading:`flex items-center justify-center font-medium`,prev:`rtl:rotate-180`,next:`rtl:rotate-180`,grid:`inline-table border-collapse`,gridHead:``,gridBody:``,gridRow:``,headCell:`rounded-md text-center font-normal text-muted-foreground`,cell:[`flex-1 text-center align-middle`,`focus-within:relative focus-within:z-20 [&:has([data-selected])]:rounded-md [&:has([data-selected])]:bg-accent`],cellTrigger:[`inline-flex items-center justify-center w-full h-full rounded-md transition-colors cursor-pointer`,`outline-none focus-visible:ring-3 focus-visible:ring-offset-background focus-visible:ring-ring focus-visible:ring-primary/30`,`data-[selected]:bg-primary data-[selected]:text-primary-foreground data-[selected]:font-medium`,`[&:not([data-selected]):hover]:bg-accent [&:not([data-selected]):hover]:text-accent-foreground`,`data-[disabled]:cursor-not-allowed data-[disabled]:text-muted-foreground data-[disabled]:opacity-50`,`[&[data-today]:not([data-selected])]:bg-accent [&[data-today]:not([data-selected])]:text-accent-foreground`,`data-[unavailable]:line-through data-[outside-view]:text-muted-foreground`]},variants:{size:{xs:{root:`gap-3 text-2xs p-2`,header:`gap-1.5`,gridRow:`mt-1.5`,heading:`gap-1.5`,headCell:`h-6 w-6 text-3xs`,cell:`h-6 w-6`},sm:{root:`gap-3.5 text-xs p-2.5`,header:`gap-2`,gridRow:`mt-1.75`,heading:`gap-2`,headCell:`h-7 w-7 text-2xs`,cell:`h-7 w-7`},md:{root:`gap-4 text-sm p-3`,header:`gap-2.5`,gridRow:`mt-2`,heading:`gap-2.5`,headCell:`h-8 w-8 text-xs`,cell:`h-8 w-8`},lg:{root:`gap-4.5 text-base p-3.5`,header:`gap-3`,gridRow:`mt-2.25`,heading:`gap-3`,headCell:`h-9 w-9 text-sm`,cell:`h-9 w-9`},xl:{root:`gap-5 text-lg p-4`,header:`gap-3.5`,gridRow:`mt-2.5`,heading:`gap-3.5`,headCell:`h-10 w-10 text-base`,cell:`h-10 w-10`},"2xl":{root:`gap-6 text-xl p-5`,header:`gap-4`,gridRow:`mt-3`,heading:`gap-4`,headCell:`h-12 w-12 text-lg`,cell:`h-12 w-12`}}},defaultVariants:{size:`md`}});var[vw,yw]=Q(`CalendarRoot`),[bw,xw]=$(`CalendarUi`),[Sw,Cw]=Q(`CalendarRangeRoot`),[ww,Tw]=$(`CalendarRangeUi`),Ew=z({name:`CardRoot`,__name:`card-root`,props:{defaultOpen:{type:Boolean,default:!0},open:{type:Boolean,default:void 0},disabled:{type:Boolean},unmountOnHide:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`update:open`],setup(e,{emit:t}){let n=e,r=t;return(e,t)=>(V(),U(Fy,ja(n,{"data-soybean-card-root":``,"onUpdate:open":t[0]||=e=>r(`update:open`,e)}),{default:R(()=>[B(e.$slots,`default`)]),_:3},16))}}),[Dw,Ow]=$(`CardUi`,e=>(Sy(e),e)),kw=z({name:`CardHeader`,__name:`card-header`,setup(e){let t=Ow(`header`);return(e,n)=>(V(),H(`div`,{"data-soybean-card-header":``,class:A(L(t))},[B(e.$slots,`default`)],2))}}),Aw=z({name:`CardTitle`,__name:`card-title`,setup(e){let t=Ow(`title`);return(e,n)=>(V(),H(`h3`,{"data-soybean-card-title":``,class:A(L(t))},[B(e.$slots,`default`)],2))}}),jw=z({name:`CardTitleRoot`,__name:`card-title-root`,setup(e){let t=Ow(`titleRoot`);return(e,n)=>(V(),H(`div`,{"data-soybean-card-title-root":``,class:A(L(t))},[B(e.$slots,`default`)],2))}}),Mw=z({name:`CardDescription`,__name:`card-description`,setup(e){let t=Ow(`description`);return(e,n)=>(V(),H(`p`,{"data-soybean-card-description":``,class:A(L(t))},[B(e.$slots,`default`)],2))}}),Nw=z({name:`CardContent`,__name:`card-content`,props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(e){let t=e;return(e,n)=>(V(),U(Py,ja(t,{"data-soybean-card-content":``,tabindex:`-1`}),{default:R(()=>[B(e.$slots,`default`)]),_:3},16))}}),Pw=z({name:`CardFooter`,__name:`card-footer`,setup(e){let t=Ow(`footer`);return(e,n)=>(V(),H(`div`,{"data-soybean-card-footer":``,class:A(L(t))},[B(e.$slots,`default`)],2))}}),Fw=z({name:`CardCompact`,__name:`card-compact`,props:{title:{},description:{},headerProps:{},contentProps:{},footerProps:{},titleRootProps:{},titleProps:{},descriptionProps:{},defaultOpen:{type:Boolean},open:{type:Boolean},disabled:{type:Boolean},unmountOnHide:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`update:open`],setup(e,{emit:t}){let n=e,r=t,i=Qr(),a=_y(n,[`title`,`description`,`headerProps`,`contentProps`,`footerProps`,`titleRootProps`,`titleProps`,`descriptionProps`]),o=r_(r),s=J(()=>!!(i.header||i.title||i.description||i.extra||n.title||n.description)),c=J(()=>!!i.footer);return(t,n)=>(V(),U(Ew,ja(L(a),{"data-header-visible":s.value,"data-footer-visible":c.value},qr(L(o))),{default:R(()=>[s.value?(V(),U(kw,j(ja({key:0},e.headerProps)),{default:R(()=>[B(t.$slots,`header`,{},()=>[G(jw,j(Ea(e.titleRootProps)),{default:R(()=>[B(t.$slots,`title-leading`),G(Aw,j(Ea(e.titleProps)),{default:R(()=>[B(t.$slots,`title`,{},()=>[K(M(e.title),1)])]),_:3},16),B(t.$slots,`title-trailing`)]),_:3},16),B(t.$slots,`extra`),i.description||e.description?(V(),U(Mw,j(ja({key:0},e.descriptionProps)),{default:R(()=>[B(t.$slots,`description`,{},()=>[K(M(e.description),1)])]),_:3},16)):q(`v-if`,!0)])]),_:3},16)):q(`v-if`,!0),G(Nw,ja(e.contentProps,{"data-header-visible":s.value,"data-footer-visible":c.value}),{default:R(()=>[B(t.$slots,`default`)]),_:3},16,[`data-header-visible`,`data-footer-visible`]),c.value?(V(),U(Pw,j(ja({key:1},e.footerProps)),{default:R(()=>[B(t.$slots,`footer`)]),_:3},16)):q(`v-if`,!0)]),_:3},16,[`data-header-visible`,`data-footer-visible`]))}}),[Iw,Lw]=Q(`CarouselRoot`,e=>{let t=I(``),n=e=>{t.value=e};return{...e,contentId:t,setContentId:n}}),[Rw,zw]=$(`CarouselUi`);function Bw(e){return typeof e==`number`}function Vw(e){return typeof e==`string`}function Hw(e){return typeof e==`boolean`}function Uw(e){return Object.prototype.toString.call(e)===`[object Object]`}function Ww(e){return Math.abs(e)}function Gw(e){return Math.sign(e)}function Kw(e,t){return Ww(e-t)}function qw(e,t){return e===0||t===0||Ww(e)<=Ww(t)?0:Ww(Kw(Ww(e),Ww(t))/e)}function Jw(e){return Math.round(e*100)/100}function Yw(e){return eT(e).map(Number)}function Xw(e){return e[Zw(e)]}function Zw(e){return Math.max(0,e.length-1)}function Qw(e,t){return t===Zw(e)}function $w(e,t=0){return Array.from(Array(e),(e,n)=>t+n)}function eT(e){return Object.keys(e)}function tT(e,t){return[e,t].reduce((e,t)=>(eT(t).forEach(n=>{let r=e[n],i=t[n];e[n]=Uw(r)&&Uw(i)?tT(r,i):i}),e),{})}function nT(e,t){return t.MouseEvent!==void 0&&e instanceof t.MouseEvent}function rT(e,t){let n={start:r,center:i,end:a};function r(){return 0}function i(e){return a(e)/2}function a(e){return t-e}function o(r,i){return Vw(e)?n[e](r):e(t,r,i)}return{measure:o}}function iT(){let e=[];function t(t,n,i,a={passive:!0}){let o;if(`addEventListener`in t)t.addEventListener(n,i,a),o=()=>t.removeEventListener(n,i,a);else{let e=t;e.addListener(i),o=()=>e.removeListener(i)}return e.push(o),r}function n(){e=e.filter(e=>e())}let r={add:t,clear:n};return r}function aT(e,t,n,r){let i=iT(),a=1e3/60,o=null,s=0,c=0;function l(){i.add(e,`visibilitychange`,()=>{e.hidden&&m()})}function u(){p(),i.clear()}function d(e){if(!c)return;o||(o=e,n(),n());let i=e-o;for(o=e,s+=i;s>=a;)n(),s-=a;r(s/a),c&&=t.requestAnimationFrame(d)}function f(){c||=t.requestAnimationFrame(d)}function p(){t.cancelAnimationFrame(c),o=null,s=0,c=0}function m(){o=null,s=0}return{init:l,destroy:u,start:f,stop:p,update:n,render:r}}function oT(e,t){let n=t===`rtl`,r=e===`y`,i=r?`y`:`x`,a=r?`x`:`y`,o=!r&&n?-1:1,s=u(),c=d();function l(e){let{height:t,width:n}=e;return r?t:n}function u(){return r?`top`:n?`right`:`left`}function d(){return r?`bottom`:n?`left`:`right`}function f(e){return e*o}return{scroll:i,cross:a,startEdge:s,endEdge:c,measureSize:l,direction:f}}function sT(e=0,t=0){let n=Ww(e-t);function r(t){return t<e}function i(e){return e>t}function a(e){return r(e)||i(e)}function o(n){return a(n)?r(n)?e:t:n}function s(e){return n?e-n*Math.ceil((e-t)/n):e}return{length:n,max:t,min:e,constrain:o,reachedAny:a,reachedMax:i,reachedMin:r,removeOffset:s}}function cT(e,t,n){let{constrain:r}=sT(0,e),i=e+1,a=o(t);function o(e){return n?Ww((i+e)%i):r(e)}function s(){return a}function c(e){return a=o(e),d}function l(e){return u().set(s()+e)}function u(){return cT(e,s(),n)}let d={get:s,set:c,add:l,clone:u};return d}function lT(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v){let{cross:y,direction:b}=e,x=[`INPUT`,`SELECT`,`TEXTAREA`],S={passive:!1},C=iT(),w=iT(),T=sT(50,225).constrain(p.measure(20)),ee={mouse:300,touch:400},te={mouse:500,touch:600},E=m?43:25,ne=!1,D=0,re=0,ie=!1,ae=!1,oe=!1,se=!1;function O(e){if(!v)return;function n(t){(Hw(v)||v(e,t))&&fe(t)}let r=t;C.add(r,`dragstart`,e=>e.preventDefault(),S).add(r,`touchmove`,()=>void 0,S).add(r,`touchend`,()=>void 0).add(r,`touchstart`,n).add(r,`mousedown`,n).add(r,`touchcancel`,A).add(r,`contextmenu`,A).add(r,`click`,j,!0)}function k(){C.clear(),w.clear()}function ce(){let e=se?n:t;w.add(e,`touchmove`,pe,S).add(e,`touchend`,A).add(e,`mousemove`,pe,S).add(e,`mouseup`,A)}function le(e){let t=e.nodeName||``;return x.includes(t)}function ue(){return(m?te:ee)[se?`mouse`:`touch`]}function de(e,t){let n=d.add(Gw(e)*-1),r=u.byDistance(e,!m).distance;return m||Ww(e)<T?r:g&&t?r*.5:u.byIndex(n.get(),0).distance}function fe(e){let t=nT(e,r);se=t,oe=m&&t&&!e.buttons&&ne,ne=Kw(i.get(),o.get())>=2,!(t&&e.button!==0)&&(le(e.target)||(ie=!0,a.pointerDown(e),l.useFriction(0).useDuration(0),i.set(o),ce(),D=a.readPoint(e),re=a.readPoint(e,y),f.emit(`pointerDown`)))}function pe(e){if(!nT(e,r)&&e.touches.length>=2)return A(e);let t=a.readPoint(e),n=a.readPoint(e,y),o=Kw(t,D),c=Kw(n,re);if(!ae&&!se&&(!e.cancelable||(ae=o>c,!ae)))return A(e);let u=a.pointerMove(e);o>h&&(oe=!0),l.useFriction(.3).useDuration(.75),s.start(),i.add(b(u)),e.preventDefault()}function A(e){let t=u.byDistance(0,!1).index!==d.get(),n=a.pointerUp(e)*ue(),r=de(b(n),t),i=qw(n,r),o=E-10*i,s=_+i/50;ae=!1,ie=!1,w.clear(),l.useDuration(o).useFriction(s),c.distance(r,!m),se=!1,f.emit(`pointerUp`)}function j(e){oe&&=(e.stopPropagation(),e.preventDefault(),!1)}function me(){return ie}return{init:O,destroy:k,pointerDown:me}}function uT(e,t){let n,r;function i(e){return e.timeStamp}function a(n,r){let i=`client${(r||e.scroll)===`x`?`X`:`Y`}`;return(nT(n,t)?n:n.touches[0])[i]}function o(e){return n=e,r=e,a(e)}function s(e){let t=a(e)-a(r),o=i(e)-i(n)>170;return r=e,o&&(n=e),t}function c(e){if(!n||!r)return 0;let t=a(r)-a(n),o=i(e)-i(n),s=i(e)-i(r)>170,c=t/o;return o&&!s&&Ww(c)>.1?c:0}return{pointerDown:o,pointerMove:s,pointerUp:c,readPoint:a}}function dT(){function e(e){let{offsetTop:t,offsetLeft:n,offsetWidth:r,offsetHeight:i}=e;return{top:t,right:n+r,bottom:t+i,left:n,width:r,height:i}}return{measure:e}}function fT(e){function t(t){return t/100*e}return{measure:t}}function pT(e,t,n,r,i,a,o){let s=[e].concat(r),c,l,u=[],d=!1;function f(e){return i.measureSize(o.measure(e))}function p(i){if(!a)return;l=f(e),u=r.map(f);function o(n){for(let a of n){if(d)return;let n=a.target===e,o=r.indexOf(a.target),s=n?l:u[o];if(Ww(f(n?e:r[o])-s)>=.5){i.reInit(),t.emit(`resize`);break}}}c=new ResizeObserver(e=>{(Hw(a)||a(i,e))&&o(e)}),n.requestAnimationFrame(()=>{s.forEach(e=>c.observe(e))})}function m(){d=!0,c&&c.disconnect()}return{init:p,destroy:m}}function mT(e,t,n,r,i,a){let o=0,s=0,c=i,l=a,u=e.get(),d=0;function f(){let t=r.get()-e.get(),i=!c,a=0;return i?(o=0,n.set(r),e.set(r),a=t):(n.set(e),o+=t/c,o*=l,u+=o,e.add(o),a=u-d),s=Gw(a),d=u,x}function p(){return Ww(r.get()-t.get())<.001}function m(){return c}function h(){return s}function g(){return o}function _(){return y(i)}function v(){return b(a)}function y(e){return c=e,x}function b(e){return l=e,x}let x={direction:h,duration:m,velocity:g,seek:f,settled:p,useBaseFriction:v,useBaseDuration:_,useFriction:b,useDuration:y};return x}function hT(e,t,n,r,i){let a=i.measure(10),o=i.measure(50),s=sT(.1,.99),c=!1;function l(){return!(c||!e.reachedAny(n.get())||!e.reachedAny(t.get()))}function u(i){if(!l())return;let c=Ww(e[e.reachedMin(t.get())?`min`:`max`]-t.get()),u=n.get()-t.get(),d=s.constrain(c/o);n.subtract(u*d),!i&&Ww(u)<a&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())}function d(e){c=!e}return{shouldConstrain:l,constrain:u,toggleActive:d}}function gT(e,t,n,r,i){let a=sT(-t+e,0),o=d(),s=u(),c=f();function l(e,t){return Kw(e,t)<=1}function u(){let e=o[0],t=Xw(o);return sT(o.lastIndexOf(e),o.indexOf(t)+1)}function d(){return n.map((e,t)=>{let{min:r,max:i}=a,o=a.constrain(e),s=!t,c=Qw(n,t);return s?i:c||l(r,o)?r:l(i,o)?i:o}).map(e=>parseFloat(e.toFixed(3)))}function f(){if(t<=e+i)return[a.max];if(r===`keepSnaps`)return o;let{min:n,max:c}=s;return o.slice(n,c)}return{snapsContained:c,scrollContainLimit:s}}function _T(e,t,n){let r=t[0];return{limit:sT(n?r-e:Xw(t),r)}}function vT(e,t,n,r){let i=.1,{reachedMin:a,reachedMax:o}=sT(t.min+i,t.max+i);function s(e){return e===1?o(n.get()):e===-1?a(n.get()):!1}function c(t){if(!s(t))return;let n=t*-1*e;r.forEach(e=>e.add(n))}return{loop:c}}function yT(e){let{max:t,length:n}=e;function r(e){let r=e-t;return n?r/-n:0}return{get:r}}function bT(e,t,n,r,i){let{startEdge:a,endEdge:o}=e,{groupSlides:s}=i,c=d().map(t.measure),l=f(),u=p();function d(){return s(r).map(e=>Xw(e)[o]-e[0][a]).map(Ww)}function f(){return r.map(e=>n[a]-e[a]).map(e=>-Ww(e))}function p(){return s(l).map(e=>e[0]).map((e,t)=>e+c[t])}return{snaps:l,snapsAligned:u}}function xT(e,t,n,r,i,a){let{groupSlides:o}=i,{min:s,max:c}=r,l=u();function u(){let r=o(a),i=!e||t===`keepSnaps`;return n.length===1?[a]:i?r:r.slice(s,c).map((e,t,n)=>{let r=!t,i=Qw(n,t);return r?$w(Xw(n[0])+1):i?$w(Zw(a)-Xw(n)[0]+1,Xw(n)[0]):e})}return{slideRegistry:l}}function ST(e,t,n,r,i){let{reachedAny:a,removeOffset:o,constrain:s}=r;function c(e){return e.concat().sort((e,t)=>Ww(e)-Ww(t))[0]}function l(n){let r=e?o(n):s(n),{index:i}=t.map((e,t)=>({diff:u(e-r,0),index:t})).sort((e,t)=>Ww(e.diff)-Ww(t.diff))[0];return{index:i,distance:r}}function u(t,r){let i=[t,t+n,t-n];if(!e)return t;if(!r)return c(i);let a=i.filter(e=>Gw(e)===r);return a.length?c(a):Xw(i)-n}function d(e,n){return{index:e,distance:u(t[e]-i.get(),n)}}function f(n,r){let o=i.get()+n,{index:s,distance:c}=l(o),d=!e&&a(o);return!r||d?{index:s,distance:n}:{index:s,distance:n+u(t[s]-c,0)}}return{byDistance:f,byIndex:d,shortcut:u}}function CT(e,t,n,r,i,a,o){function s(i){let s=i.distance,c=i.index!==t.get();a.add(s),s&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),c&&(n.set(t.get()),t.set(i.index),o.emit(`select`))}function c(e,t){s(i.byDistance(e,t))}function l(e,n){let r=t.clone().set(e);s(i.byIndex(r.get(),n))}return{distance:c,index:l}}function wT(e,t,n,r,i,a,o,s){let c={passive:!0,capture:!0},l=0;function u(u){if(!s)return;function f(t){if(new Date().getTime()-l>10)return;o.emit(`slideFocusStart`),e.scrollLeft=0;let a=n.findIndex(e=>e.includes(t));Bw(a)&&(i.useDuration(0),r.index(a,0),o.emit(`slideFocus`))}a.add(document,`keydown`,d,!1),t.forEach((e,t)=>{a.add(e,`focus`,e=>{(Hw(s)||s(u,e))&&f(t)},c)})}function d(e){e.code===`Tab`&&(l=new Date().getTime())}return{init:u}}function TT(e){let t=e;function n(){return t}function r(e){t=o(e)}function i(e){t+=o(e)}function a(e){t-=o(e)}function o(e){return Bw(e)?e:e.get()}return{get:n,set:r,add:i,subtract:a}}function ET(e,t){let n=e.scroll===`x`?o:s,r=t.style,i=null,a=!1;function o(e){return`translate3d(${e}px,0px,0px)`}function s(e){return`translate3d(0px,${e}px,0px)`}function c(t){if(a)return;let o=Jw(e.direction(t));o!==i&&(r.transform=n(o),i=o)}function l(e){a=!e}function u(){a||(r.transform=``,t.getAttribute(`style`)||t.removeAttribute(`style`))}return{clear:u,to:c,toggleActive:l}}function DT(e,t,n,r,i,a,o,s,c){let l=.5,u=Yw(i),d=Yw(i).reverse(),f=_().concat(v());function p(e,t){return e.reduce((e,t)=>e-i[t],t)}function m(e,t){return e.reduce((e,n)=>p(e,t)>0?e.concat([n]):e,[])}function h(e){return a.map((n,i)=>({start:n-r[i]+l+e,end:n+t-l+e}))}function g(t,r,i){let a=h(r);return t.map(t=>{let r=i?0:-n,o=i?n:0,l=i?`end`:`start`,u=a[t][l];return{index:t,loopPoint:u,slideLocation:TT(-1),translate:ET(e,c[t]),target:()=>s.get()>u?r:o}})}function _(){let e=o[0];return g(m(d,e),n,!1)}function v(){let e=t-o[0]-1;return g(m(u,e),-n,!0)}function y(){return f.every(({index:e})=>p(u.filter(t=>t!==e),t)<=.1)}function b(){f.forEach(e=>{let{target:t,translate:n,slideLocation:r}=e,i=t();i!==r.get()&&(n.to(i),r.set(i))})}function x(){f.forEach(e=>e.translate.clear())}return{canLoop:y,clear:x,loop:b,loopPoints:f}}function OT(e,t,n){let r,i=!1;function a(a){if(!n)return;function o(e){for(let n of e)if(n.type===`childList`){a.reInit(),t.emit(`slidesChanged`);break}}r=new MutationObserver(e=>{i||(Hw(n)||n(a,e))&&o(e)}),r.observe(e,{childList:!0})}function o(){r&&r.disconnect(),i=!0}return{init:a,destroy:o}}function kT(e,t,n,r){let i={},a=null,o=null,s,c=!1;function l(){s=new IntersectionObserver(e=>{c||(e.forEach(e=>{let n=t.indexOf(e.target);i[n]=e}),a=null,o=null,n.emit(`slidesInView`))},{root:e.parentElement,threshold:r}),t.forEach(e=>s.observe(e))}function u(){s&&s.disconnect(),c=!0}function d(e){return eT(i).reduce((t,n)=>{let r=parseInt(n),{isIntersecting:a}=i[r];return(e&&a||!e&&!a)&&t.push(r),t},[])}function f(e=!0){if(e&&a)return a;if(!e&&o)return o;let t=d(e);return e&&(a=t),e||(o=t),t}return{init:l,destroy:u,get:f}}function AT(e,t,n,r,i,a){let{measureSize:o,startEdge:s,endEdge:c}=e,l=n[0]&&i,u=m(),d=h(),f=n.map(o),p=g();function m(){if(!l)return 0;let e=n[0];return Ww(t[s]-e[s])}function h(){if(!l)return 0;let e=a.getComputedStyle(Xw(r));return parseFloat(e.getPropertyValue(`margin-${c}`))}function g(){return n.map((e,t,n)=>{let r=!t,i=Qw(n,t);return r?f[t]+u:i?f[t]+d:n[t+1][s]-e[s]}).map(Ww)}return{slideSizes:f,slideSizesWithGaps:p,startGap:u,endGap:d}}function jT(e,t,n,r,i,a,o,s,c){let{startEdge:l,endEdge:u,direction:d}=e,f=Bw(n);function p(e,t){return Yw(e).filter(e=>e%t===0).map(n=>e.slice(n,n+t))}function m(e){return e.length?Yw(e).reduce((n,f,p)=>{let m=Xw(n)||0,h=m===0,g=f===Zw(e),_=i[l]-a[m][l],v=i[l]-a[f][u],y=!r&&h?d(o):0,b=Ww(v-(!r&&g?d(s):0)-(_+y));return p&&b>t+c&&n.push(f),g&&n.push(e.length),n},[]).map((t,n,r)=>{let i=Math.max(r[n-1]||0);return e.slice(i,t)}):[]}function h(e){return f?p(e,n):m(e)}return{groupSlides:h}}function MT(e,t,n,r,i,a,o){let{align:s,axis:c,direction:l,startIndex:u,loop:d,duration:f,dragFree:p,dragThreshold:m,inViewThreshold:h,slidesToScroll:g,skipSnaps:_,containScroll:v,watchResize:y,watchSlides:b,watchDrag:x,watchFocus:S}=a,C=dT(),w=C.measure(t),T=n.map(C.measure),ee=oT(c,l),te=ee.measureSize(w),E=fT(te),ne=rT(s,te),D=!d&&!!v,{slideSizes:re,slideSizesWithGaps:ie,startGap:ae,endGap:oe}=AT(ee,w,T,n,d||!!v,i),se=jT(ee,te,g,d,w,T,ae,oe,2),{snaps:O,snapsAligned:k}=bT(ee,ne,w,T,se),ce=-Xw(O)+Xw(ie),{snapsContained:le,scrollContainLimit:ue}=gT(te,ce,k,v,2),de=D?le:k,{limit:fe}=_T(ce,de,d),pe=cT(Zw(de),u,d),A=pe.clone(),j=Yw(n),me=({dragHandler:e,scrollBody:t,scrollBounds:n,options:{loop:r}})=>{r||n.constrain(e.pointerDown()),t.seek()},he=({scrollBody:e,translate:t,location:n,offsetLocation:r,previousLocation:i,scrollLooper:a,slideLooper:o,dragHandler:s,animation:c,eventHandler:l,scrollBounds:u,options:{loop:d}},f)=>{let p=e.settled(),m=!u.shouldConstrain(),h=d?p:p&&m,g=h&&!s.pointerDown();g&&c.stop();let _=n.get()*f+i.get()*(1-f);r.set(_),d&&(a.loop(e.direction()),o.loop()),t.to(r.get()),g&&l.emit(`settle`),h||l.emit(`scroll`)},ge=aT(r,i,()=>me(ke),e=>he(ke,e)),_e=.68,ve=de[pe.get()],ye=TT(ve),be=TT(ve),M=TT(ve),xe=TT(ve),Se=mT(ye,M,be,xe,f,_e),Ce=ST(d,de,ce,fe,xe),we=CT(ge,pe,A,Se,Ce,xe,o),N=yT(fe),Te=iT(),Ee=kT(t,n,o,h),{slideRegistry:De}=xT(D,v,de,ue,se,j),Oe=wT(e,n,De,we,Se,Te,o,S),ke={ownerDocument:r,ownerWindow:i,eventHandler:o,containerRect:w,slideRects:T,animation:ge,axis:ee,dragHandler:lT(ee,e,r,i,xe,uT(ee,i),ye,ge,we,Se,Ce,pe,o,E,p,m,_,_e,x),eventStore:Te,percentOfView:E,index:pe,indexPrevious:A,limit:fe,location:ye,offsetLocation:M,previousLocation:be,options:a,resizeHandler:pT(t,o,i,n,ee,y,C),scrollBody:Se,scrollBounds:hT(fe,M,xe,Se,E),scrollLooper:vT(ce,fe,M,[ye,M,be,xe]),scrollProgress:N,scrollSnapList:de.map(N.get),scrollSnaps:de,scrollTarget:Ce,scrollTo:we,slideLooper:DT(ee,te,ce,re,ie,O,de,M,n),slideFocus:Oe,slidesHandler:OT(t,o,b),slidesInView:Ee,slideIndexes:j,slideRegistry:De,slidesToScroll:se,target:xe,translate:ET(ee,t)};return ke}function NT(){let e={},t;function n(e){t=e}function r(t){return e[t]||[]}function i(e){return r(e).forEach(n=>n(t,e)),c}function a(t,n){return e[t]=r(t).concat([n]),c}function o(t,n){return e[t]=r(t).filter(e=>e!==n),c}function s(){e={}}let c={init:n,emit:i,off:o,on:a,clear:s};return c}var PT={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,watchFocus:!0};function FT(e){function t(e,t){return tT(e,t||{})}function n(n){let r=n.breakpoints||{};return t(n,eT(r).filter(t=>e.matchMedia(t).matches).map(e=>r[e]).reduce((e,n)=>t(e,n),{}))}function r(t){return t.map(e=>eT(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}return{mergeOptions:t,optionsAtMedia:n,optionsMediaQueries:r}}function IT(e){let t=[];function n(n,r){return t=r.filter(({options:t})=>e.optionsAtMedia(t).active!==!1),t.forEach(t=>t.init(n,e)),r.reduce((e,t)=>Object.assign(e,{[t.name]:t}),{})}function r(){t=t.filter(e=>e.destroy())}return{init:n,destroy:r}}function LT(e,t,n){let r=e.ownerDocument,i=r.defaultView,a=FT(i),o=IT(a),s=iT(),c=NT(),{mergeOptions:l,optionsAtMedia:u,optionsMediaQueries:d}=a,{on:f,off:p,emit:m}=c,h=te,g=!1,_,v=l(PT,LT.globalOptions),y=l(v),b=[],x,S,C;function w(){let{container:t,slides:n}=y;S=(Vw(t)?e.querySelector(t):t)||e.children[0];let r=Vw(n)?S.querySelectorAll(n):n;C=[].slice.call(r||S.children)}function T(t){let n=MT(e,S,C,r,i,t,c);return t.loop&&!n.slideLooper.canLoop()?T(Object.assign({},t,{loop:!1})):n}function ee(e,t){g||(v=l(v,e),y=u(v),b=t||b,w(),_=T(y),d([v,...b.map(({options:e})=>e)]).forEach(e=>s.add(e,`change`,te)),y.active&&(_.translate.to(_.location.get()),_.animation.init(),_.slidesInView.init(),_.slideFocus.init(me),_.eventHandler.init(me),_.resizeHandler.init(me),_.slidesHandler.init(me),_.options.loop&&_.slideLooper.loop(),S.offsetParent&&C.length&&_.dragHandler.init(me),x=o.init(me,b)))}function te(e,t){let n=k();E(),ee(l({startIndex:n},e),t),c.emit(`reInit`)}function E(){_.dragHandler.destroy(),_.eventStore.clear(),_.translate.clear(),_.slideLooper.clear(),_.resizeHandler.destroy(),_.slidesHandler.destroy(),_.slidesInView.destroy(),_.animation.destroy(),o.destroy(),s.clear()}function ne(){g||(g=!0,s.clear(),E(),c.emit(`destroy`),c.clear())}function D(e,t,n){!y.active||g||(_.scrollBody.useBaseFriction().useDuration(t===!0?0:y.duration),_.scrollTo.index(e,n||0))}function re(e){D(_.index.add(1).get(),e,-1)}function ie(e){D(_.index.add(-1).get(),e,1)}function ae(){return _.index.add(1).get()!==k()}function oe(){return _.index.add(-1).get()!==k()}function se(){return _.scrollSnapList}function O(){return _.scrollProgress.get(_.offsetLocation.get())}function k(){return _.index.get()}function ce(){return _.indexPrevious.get()}function le(){return _.slidesInView.get()}function ue(){return _.slidesInView.get(!1)}function de(){return x}function fe(){return _}function pe(){return e}function A(){return S}function j(){return C}let me={canScrollNext:ae,canScrollPrev:oe,containerNode:A,internalEngine:fe,destroy:ne,off:p,on:f,emit:m,plugins:de,previousScrollSnap:ce,reInit:h,rootNode:pe,scrollNext:re,scrollPrev:ie,scrollProgress:O,scrollSnapList:se,scrollTo:D,selectedScrollSnap:k,slideNodes:j,slidesInView:le,slidesNotInView:ue};return ee(t,n),setTimeout(()=>c.emit(`init`),0),me}LT.globalOptions=void 0;function RT(e){return Object.prototype.toString.call(e)===`[object Object]`}function zT(e){return RT(e)||Array.isArray(e)}function BT(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length!==r.length||JSON.stringify(Object.keys(e.breakpoints||{}))!==JSON.stringify(Object.keys(t.breakpoints||{}))?!1:n.every(n=>{let r=e[n],i=t[n];return typeof r==`function`?`${r}`==`${i}`:!zT(r)||!zT(i)?r===i:BT(r,i)})}var[VT,HT]=Q(`CheckboxGroupRoot`,e=>e),[UT,WT]=Q(`CheckboxRoot`,e=>{let{modelValue:t,state:n}=e,r=J(()=>tu(n.value)?`mixed`:n.value),i=J(()=>e.disabled.value?``:void 0),a=J(()=>nu(n.value)),o=I(``),s=e=>{o.value=e};return{...e,modelValue:t,state:n,ariaChecked:r,dataDisabled:i,dataState:a,controlId:o,initControlId:s}}),[GT,KT]=$(`CheckboxUi`),[qT,JT]=$(`CheckboxCardUi`,e=>(GT(e),e)),YT={bubbles:!1,cancelable:!0},{provideCollectionContext:XT,useCollectionContext:ZT,useCollectionItem:QT}=Pm(`RovingFocusGroup`),[$T,eE]=Q(`RovingFocusGroup`,e=>{let{onContainerElementChange:t,getOrderedItems:n,getOrderedElements:r}=XT(),{loop:i,orientation:a,defaultCurrentTabStopId:o,preventScrollOnEntryFocus:s,onEntryFocus:c,onUpdateCurrentTabStopId:l}=e,u=dm(e.dir),d=Fm(()=>e.currentTabStopId.value,l,o.value??``),f=e=>{d.value=e},p=I(!1),m=I(!1),h=()=>{p.value=!0},g=I(0);return{onContainerElementChange:t,loop:i,dir:u,orientation:a,currentTabStopId:d,onItemFocus:f,onItemShiftTab:h,onFocusableItemAdd:()=>{g.value++},onFocusableItemRemove:()=>{g.value--},rovingFocusGroupProps:J(()=>({tabindex:p.value||g.value===0?`-1`:`0`,"data-orientation":a.value,dir:u.value,"data-loop":i.value?``:void 0,style:`outline: none`})),rovingFocusGroupListeners:{mousedown:()=>{m.value=!0},mouseup:()=>{setTimeout(()=>{m.value=!1},1)},focus:e=>{let t=!m.value;if(!e.currentTarget||e.target!==e.currentTarget||!t||p.value){m.value=!1;return}let n=new CustomEvent(`rovingFocusGroup.onEntryFocus`,YT);if(e.currentTarget.dispatchEvent(n),c?.(n),n.defaultPrevented)return;let i=r();_f([i.find(e=>ff(e,`active`)),i.find(e=>ff(e,`highlighted`)),i.find(e=>e.id===d.value),...i].filter(Boolean),s.value)},blur:()=>{p.value=!1}},getOrderedItems:n}}),[tE,nE]=Q(`ColorAreaRoot`),[rE,iE]=$(`ColorAreaUi`),[aE,oE]=Q(`ColorFieldRoot`),[sE,cE]=$(`ColorFieldUi`),[lE,uE]=Q(`SliderRoot`),[dE,fE]=$(`SliderUi`),[pE,mE]=Q(`ColorSliderRoot`),[hE,gE]=$(`ColorSliderUi`),[_E,vE]=$(`ColorSwatch`),[yE,bE]=Q(`ColorSwatchPickerItem`),[xE,SE]=$(`ColorSwatchPickerUi`,e=>{let t=J(()=>({content:e.value.root,item:e.value.item,itemIndicator:e.value.itemIndicator})),n=J(()=>({root:e.value.swatchRoot,checker:e.value.swatchChecker,fill:e.value.swatchFill}));return cS(t),_E(n),e}),[CE,wE]=Q(`PopoverRoot`,e=>{let{open:t}=e,n=e=>{t.value=e},r=()=>{t.value=!t.value},i=J(()=>ru(t.value)),a=I(),o=e=>{a.value=e},s=I(``),c=`soybean-popover-trigger-${mr()}`,l=()=>{s.value||=c},u=I(),d=e=>{u.value=e},f=I(``),p=`soybean-popover-popup-${mr()}`,m=()=>{f.value||=p},h=I(!1);return{...e,onOpenChange:n,onOpenToggle:r,dataState:i,triggerElement:a,onTriggerElementChange:o,triggerId:s,initTriggerId:l,popupElement:u,onPopupElementChange:d,popupId:f,initPopupId:m,hasCustomAnchor:h}}),[TE,EE]=$(`Popover`,e=>(mS(e),e)),[DE,OE]=Q(`TabsRoot`,e=>{let t=dm(e.dir),n=I(),r=e=>{n.value=e},i=t=>{Kl(t)||(e.modelValue.value=t)},a=F([]),o=e=>{a.value.push(e)},s=e=>{let t=a.value.indexOf(e);t!==-1&&a.value.splice(t,1)},c=e=>{let t=Qt(e),n=J(()=>`soybean-tabs-content-${t}`);return{contentId:n,triggerId:J(()=>`soybean-tabs-trigger-${t}`),existContentId:J(()=>a.value.includes(n.value))}};return{...e,dir:t,changeModelValue:i,listElement:n,onListElementChange:r,getId:c,registerContentId:o,unregisterContentId:s}}),[kE,AE]=$(`TabsUi`),[jE,ME]=Q(`ColorPickerRootContext`),[NE,PE]=$(`ColorPickerUi`);[`hex`,`rgb`,`hsl`,`oklch`].map(e=>({value:e,label:e.toUpperCase()}));var[FE,IE]=$(`SeparatorUi`),[LE,RE]=$(`CommandUi`,e=>(cS(J(()=>({root:e.value?.root,content:e.value?.list,filterRoot:e.value?.inputRoot,filterControl:e.value?.inputControl,item:e.value?.item,itemIndicator:``,group:e.value?.group,groupLabel:e.value?.groupLabel,virtualizer:``}))),e)),zE=z({name:`ConfigProvider`,__name:`config-provider`,props:{dir:{},locale:{default:`en`},nonce:{default:void 0},tooltip:{},iconRender:{},messages:{}},setup(e){let t=e,n=J(()=>t.dir??cm(t.locale));return lm({...kf(t),dir:n,iconRender:t.iconRender}),ty(`
|
||
.soybean-headless-scrollbar-hidden {
|
||
scrollbar-width: none;
|
||
-ms-overflow-style: none;
|
||
-webkit-overflow-scrolling: touch;
|
||
}
|
||
|
||
.soybean-headless-scrollbar-hidden::-webkit-scrollbar {
|
||
display: none;
|
||
}
|
||
|
||
.soybean-headless-overflow-y-hidden {
|
||
overflow-y: hidden;
|
||
}
|
||
|
||
.soybean-headless-transition-all-150 {
|
||
transition: all 150ms ease-in-out;
|
||
}
|
||
|
||
.soybean-headless-opacity-0 {
|
||
opacity: 0;
|
||
}
|
||
|
||
.soybean-headless-scale-0 {
|
||
transform: scale(0);
|
||
}
|
||
|
||
.soybean-headless-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;
|
||
}
|
||
`,{id:`__SoybeanHeadless_Styles`}),(e,t)=>B(e.$slots,`default`)}}),[BE,VE]=Q(`Menu`,e=>{let{isRoot:t,open:n}=e,r=e=>{n.value=e},i=J(()=>ru(n.value)),a=t?`data-soybean-menu-popup`:`data-soybean-menu-sub-popup`,o=I(),s=e=>{o.value=e},c=I(),l=e=>{c.value=e},u=t?`soybean-menu`:`soybean-menu-sub`,d=I(``),f=`${u}-popup-${mr()}`,p=()=>{d.value||=f},m=I(``),h=`${u}-trigger-${mr()}`,g=()=>{m.value||=h};return{...e,onOpenChange:r,dataState:i,dataPopupAttr:a,popupElement:o,onPopupElementChange:s,triggerElement:c,onTriggerElementChange:l,popupId:d,initPopupId:p,triggerId:m,initTriggerId:g}}),[HE,UE]=Q(`MenuRoot`),[WE,GE]=Q(`MenuContent`,e=>{let{popupElement:t}=e,n=I(``),r=F(null),i=I(0),a=I(`right`),o=F(null),s=e=>{o.value=e},c=()=>{o.value=null},l=e=>{let t=a.value===o.value?.side,n=If(e,o.value?.area);return t&&n};return{searchRef:n,currentItemId:r,popupElement:t,pointerSide:a,pointerGraceTimer:i,pointerGraceIntent:o,onPointerGraceIntentChange:s,resetPointerGraceIntent:c,onItemEnter:l,onItemLeave:e=>{l(e)||(t.value?.focus(),r.value=null)},onTriggerLeave:l}}),[KE,qE]=Q(`MenuCheckboxGroup`,e=>{let{modelValue:t}=e,n=e=>{t.value||=[],t.value.includes(e)?t.value=t.value.filter(t=>t!==e):t.value.push(e)};return{...e,onModelValueChange:n}}),[JE,YE]=Q(`MenuRadioGroup`,e=>{let{modelValue:t}=e,n=e=>{t.value=e};return{...e,onModelValueChange:n}}),[XE,ZE]=Q(`MenuItemIndicator`),[QE,$E]=Q(`MenuOptionsCompact`),[eD,tD]=$(`MenuUi`,e=>(mS(J(()=>({arrow:e.value?.arrow}))),FE(J(()=>({root:e.value?.separator}))),e)),[nD,rD]=Q(`MenuSubAttribute`),iD=[`ArrowDown`,`PageUp`,`Home`],aD=[`ArrowUp`,`PageDown`,`End`];[...iD,...aD],[...hf],[...hf];var[oD,sD]=Q(`ContextMenuRoot`,e=>{let{open:t}=e,n=e=>{t.value=e},r=dm(e.dir),i=J(()=>ru(t.value)),a=I(null),o=e=>{a.value=e};return{...e,dir:r,dataState:i,onOpenChange:n,triggerElement:a,onTriggerElementChange:o}}),[cD,lD]=Q(`DateFieldRoot`),[uD,dD]=$(`DateFieldUi`),[fD,pD]=$(`DatePickerUi`,e=>(TE(e),uD(e),e)),[mD,hD]=Q(`DateRangeFieldRoot`),[gD,_D]=$(`DateRangeFieldUi`),[vD,yD]=$(`DateRangePickerUi`,e=>(TE(e),gD(e),e)),bD=`dropdown-menu.hover-open`,[xD,SD]=Q(`DropdownMenuRoot`,e=>{let{open:t}=e,n=e=>{t.value=e},r=()=>{t.value=!t.value},i=dm(e.dir),a=J(()=>ru(t.value));return{...e,dir:i,dataState:a,onOpenChange:n,onOpenToggle:r}}),[CD,wD]=Q(`DropdownMenuHover`,e=>{let{open:t,hoverable:n,delayDuration:r,skipDelayDuration:i}=e,a=I(!0),o=null,s=()=>{o&&=(clearTimeout(o),null)},c=()=>{s(),o=setTimeout(()=>{a.value=!0},i.value)},l=()=>{s(),a.value=!1},u=I(!1),d=I(!1),f=null,p=()=>{f&&=(clearTimeout(f),null)},m=()=>{p(),f=setTimeout(()=>{d.value=!0,t.value=!0},r.value)},h=()=>{p(),d.value=!1,t.value=!0},g=()=>{p(),t.value=!1},_=()=>{m()},v=()=>{a.value?_():h()},y=()=>{p()};return Vn(()=>{n.value&&(t.value?(l(),document.dispatchEvent(new CustomEvent(bD))):c())}),{...e,isOpenDelayed:a,isPointerInTransitRef:u,onOpen:h,onClose:g,onTriggerEnter:v,onTriggerLeave:y}}),[TD,ED]=Q(`EditableRoot`,e=>{let{isEditing:t,disabled:n,readonly:r}=e,i=dm(()=>e.dir.value),[a,o]=mm(),s=J(()=>n.value?``:void 0),c=J(()=>r.value?``:void 0),l=J(()=>t.value?`edit`:`preview`);return{...e,dir:i,inputElement:a,setInputElement:o,dataDisabled:s,dataReadonly:c,dataState:l}}),[DD,OD]=$(`EditableUi`),[kD,AD]=$(`EmptyUi`),[jD,MD]=Q(`FormField`,e=>{let{error:t}=e,n=mr(),r=`form-field-${n}`,i=`form-field-description-${n}`,a=`form-field-error-${n}`;return{formFieldId:r,formDescriptionId:i,formErrorId:a,ariaDescribedBy:J(()=>t.value?`${i} ${a}`:i),ariaInvalid:J(()=>!!t.value)}}),[ND,PD]=Q(`FormCompact`),[FD,ID]=$(`FormUi`),[LD,RD]=$(`FormFieldUi`),zD=new Set,BD=new WeakMap,VD=new WeakMap,HD=new WeakMap,UD=new WeakMap,WD=new WeakMap,GD=new WeakMap,KD=new WeakSet,qD,JD=0,YD=0,XD=`__aa_tgt`,ZD=`__aa_del`,QD=`__aa_new`,$D=e=>{let t=sO(e);t&&t.forEach(e=>lO(e))},eO=e=>{e.forEach(e=>{e.target===qD&&iO(),BD.has(e.target)&&rO(e.target)})};function tO(e){let t=e.getBoundingClientRect(),n=qD?.clientWidth||0,r=qD?.clientHeight||0;return t.bottom<0||t.top>r||t.right<0||t.left>n}function nO(e){UD.get(e)?.disconnect();let t=BD.get(e),n=0;t||(t=fO(e),BD.set(e,t));let{offsetWidth:r,offsetHeight:i}=qD,a=[t.top-5,r-(t.left+5+t.width),i-(t.top+5+t.height),t.left-5].map(e=>`${-1*Math.floor(e)}px`).join(` `),o=new IntersectionObserver(()=>{++n>1&&rO(e)},{root:qD,threshold:1,rootMargin:a});o.observe(e),UD.set(e,o)}function rO(e,t=!0){clearTimeout(GD.get(e));let n=mO(e),r=t?yO(n)?500:n.duration:0;GD.set(e,setTimeout(async()=>{let t=HD.get(e);try{await t?.finished,BD.set(e,fO(e)),nO(e)}catch{}},r))}function iO(){clearTimeout(GD.get(qD)),GD.set(qD,setTimeout(()=>{zD.forEach(e=>_O(e,e=>aO(()=>rO(e))))},100))}function aO(e){typeof requestIdleCallback==`function`?requestIdleCallback(()=>e()):requestAnimationFrame(()=>e())}var oO;typeof window<`u`&&`ResizeObserver`in window&&(qD=document.documentElement,new MutationObserver($D),oO=new ResizeObserver(eO),window.addEventListener(`scroll`,()=>{YD=window.scrollY,JD=window.scrollX}),oO.observe(qD));function sO(e){return e.reduce((e,t)=>[...e,...Array.from(t.addedNodes),...Array.from(t.removedNodes)],[]).every(e=>e.nodeName===`#comment`)?!1:e.reduce((e,t)=>{if(e===!1)return!1;if(t.target instanceof Element){if(cO(t.target),!e.has(t.target)){e.add(t.target);for(let n=0;n<t.target.children.length;n++){let r=t.target.children.item(n);if(r){if(ZD in r)return!1;cO(t.target,r),e.add(r)}}}if(t.removedNodes.length)for(let n=0;n<t.removedNodes.length;n++){let r=t.removedNodes[n];if(ZD in r)return!1;r instanceof Element&&(e.add(r),cO(t.target,r),VD.set(r,[t.previousSibling,t.nextSibling]))}}return e},new Set)}function cO(e,t){!t&&!(XD in e)?Object.defineProperty(e,XD,{value:e}):t&&!(XD in t)&&Object.defineProperty(t,XD,{value:e})}function lO(e){var t;let n=e.isConnected,r=BD.has(e);n&&VD.has(e)&&VD.delete(e),HD.get(e)?.playState!==`finished`&&((t=HD.get(e))==null||t.cancel()),QD in e?xO(e):r&&n?bO(e):r&&!n?CO(e):xO(e)}function uO(e){return Number(e.replace(/[^0-9.\-]/g,``))}function dO(e){let t=e.parentElement;for(;t;){if(t.scrollLeft||t.scrollTop)return{x:t.scrollLeft,y:t.scrollTop};t=t.parentElement}return{x:0,y:0}}function fO(e){let t=e.getBoundingClientRect(),{x:n,y:r}=dO(e);return{top:t.top+r,left:t.left+n,width:t.width,height:t.height}}function pO(e,t,n){let r=t.width,i=t.height,a=n.width,o=n.height,s=getComputedStyle(e);if(s.getPropertyValue(`box-sizing`)===`content-box`){let e=uO(s.paddingTop)+uO(s.paddingBottom)+uO(s.borderTopWidth)+uO(s.borderBottomWidth),t=uO(s.paddingLeft)+uO(s.paddingRight)+uO(s.borderRightWidth)+uO(s.borderLeftWidth);r-=t,a-=t,i-=e,o-=e}return[r,a,i,o].map(Math.round)}function mO(e){return XD in e&&WD.has(e[XD])?WD.get(e[XD]):{duration:250,easing:`ease-in-out`}}function hO(e){if(XD in e)return e[XD]}function gO(e){let t=hO(e);return t?KD.has(t):!1}function _O(e,...t){t.forEach(t=>t(e,WD.has(e)));for(let n=0;n<e.children.length;n++){let r=e.children.item(n);r&&t.forEach(e=>e(r,WD.has(r)))}}function vO(e){return Array.isArray(e)?e:[e]}function yO(e){return typeof e==`function`}function bO(e){let t=BD.get(e),n=fO(e);if(!gO(e))return BD.set(e,n);if(tO(e)){BD.set(e,n),nO(e);return}let r;if(!t)return;let i=mO(e);if(typeof i!=`function`){let a=t.left-n.left,o=t.top-n.top,s=t.left+t.width-(n.left+n.width);t.top+t.height-(n.top+n.height)==0&&(o=0),s==0&&(a=0);let[c,l,u,d]=pO(e,t,n),f={transform:`translate(${a}px, ${o}px)`},p={transform:`translate(0, 0)`};c!==l&&(f.width=`${c}px`,p.width=`${l}px`),u!==d&&(f.height=`${u}px`,p.height=`${d}px`),r=e.animate([f,p],{duration:i.duration,easing:i.easing})}else{let[a]=vO(i(e,`remain`,t,n));r=new Animation(a),r.play()}HD.set(e,r),BD.set(e,n),r.addEventListener(`finish`,rO.bind(null,e,!1),{once:!0})}function xO(e){QD in e&&delete e[QD];let t=fO(e);BD.set(e,t);let n=mO(e);if(!gO(e))return;if(tO(e)){nO(e);return}let r;if(typeof n!=`function`)r=e.animate([{transform:`scale(.98)`,opacity:0},{transform:`scale(0.98)`,opacity:0,offset:.5},{transform:`scale(1)`,opacity:1}],{duration:n.duration*1.5,easing:`ease-in`});else{let[i]=vO(n(e,`add`,t));r=new Animation(i),r.play()}HD.set(e,r),r.addEventListener(`finish`,rO.bind(null,e,!1),{once:!0})}function SO(e,t){var n;e.remove(),BD.delete(e),VD.delete(e),HD.delete(e),(n=UD.get(e))==null||n.disconnect(),setTimeout(()=>{if(ZD in e&&delete e[ZD],Object.defineProperty(e,QD,{value:!0,configurable:!0}),t&&e instanceof HTMLElement)for(let n in t)e.style[n]=``},0)}function CO(e){var t;if(!VD.has(e)||!BD.has(e))return;let[n,r]=VD.get(e);Object.defineProperty(e,ZD,{value:!0,configurable:!0});let i=window.scrollX,a=window.scrollY;if(r&&r.parentNode&&r.parentNode instanceof Element?r.parentNode.insertBefore(e,r):n&&n.parentNode?n.parentNode.appendChild(e):(t=hO(e))==null||t.appendChild(e),!gO(e))return SO(e);let[o,s,c,l]=TO(e),u=mO(e),d=BD.get(e);(i!==JD||a!==YD)&&wO(e,i,a,u);let f,p={position:`absolute`,top:`${o}px`,left:`${s}px`,width:`${c}px`,height:`${l}px`,margin:`0`,pointerEvents:`none`,transformOrigin:`center`,zIndex:`100`};if(!yO(u))Object.assign(e.style,p),f=e.animate([{transform:`scale(1)`,opacity:1},{transform:`scale(.98)`,opacity:0}],{duration:u.duration,easing:`ease-out`});else{let[t,n]=vO(u(e,`remove`,d));n?.styleReset!==!1&&(p=n?.styleReset||p,Object.assign(e.style,p)),f=new Animation(t),f.play()}HD.set(e,f),f.addEventListener(`finish`,()=>SO(e,p),{once:!0})}function wO(e,t,n,r){let i=JD-t,a=YD-n,o=document.documentElement.style.scrollBehavior;if(getComputedStyle(qD).scrollBehavior===`smooth`&&(document.documentElement.style.scrollBehavior=`auto`),window.scrollTo(window.scrollX+i,window.scrollY+a),!e.parentElement)return;let s=e.parentElement,c=s.clientHeight,l=s.clientWidth,u=performance.now();function d(){requestAnimationFrame(()=>{if(!yO(r)){let e=c-s.clientHeight,t=l-s.clientWidth;u+r.duration>performance.now()?(window.scrollTo({left:window.scrollX-t,top:window.scrollY-e}),c=s.clientHeight,l=s.clientWidth,d()):document.documentElement.style.scrollBehavior=o}})}d()}function TO(e){let t=BD.get(e),[n,,r]=pO(e,t,fO(e)),i=e.parentElement;for(;i&&(getComputedStyle(i).position===`static`||i instanceof HTMLBodyElement);)i=i.parentElement;i||=document.body;let a=getComputedStyle(i),o=!HD.has(e)||HD.get(e)?.playState===`finished`?fO(i):BD.get(i);return[Math.round(t.top-o.top)-uO(a.borderTopWidth),Math.round(t.left-o.left)-uO(a.borderLeftWidth),n,r]}var[EO,DO]=Q(`HoverCardRoot`,e=>{let{open:t,openDelay:n,closeDelay:r}=e,i=J(()=>ru(t.value)),a=I(),o=e=>{a.value=e},s=I(),c=e=>{s.value=e},l=I(!1),u=I(!1),d=I(!1),f=null,p=null,m=()=>{f&&=(clearTimeout(f),null)},h=()=>{p&&=(clearTimeout(p),null)},g=()=>{h(),m(),f=setTimeout(()=>{t.value=!0},n.value)},_=()=>{m(),h(),!(l.value||u.value)&&(p=setTimeout(()=>{t.value=!1},r.value))},v=()=>{m(),h(),t.value=!1};return{...e,dataState:i,triggerElement:a,onTriggerElementChange:o,popupElement:s,onPopupElementChange:c,hasSelectionRef:l,isPointerDownOnPopupRef:u,isPointerInTransitRef:d,onOpen:g,onClose:_,onDismiss:v}});function OO(e,t,n){if(Kl(t)||Kl(n))return 0;let r=t,i=n,a=e===`+`?r+i:r-i;if(r%1!=0||i%1!=0){let t=r.toString().split(`.`),n=i.toString().split(`.`),o=t[1]&&t[1].length||0,s=n[1]&&n[1].length||0,c=10**Math.max(o,s);r=Math.round(r*c),i=Math.round(i*c),a=e===`+`?r+i:r-i,a/=c}return a}var kO=new Map,AO=!1;try{AO=new Intl.NumberFormat(`de-DE`,{signDisplay:`exceptZero`}).resolvedOptions().signDisplay===`exceptZero`}catch{}var jO=!1;try{jO=new Intl.NumberFormat(`de-DE`,{style:`unit`,unit:`degree`}).resolvedOptions().style===`unit`}catch{}var MO={degree:{narrow:{default:`°`,"ja-JP":` 度`,"zh-TW":`度`,"sl-SI":` °`}}},NO=class{constructor(e,t={}){this.numberFormatter=PO(e,t),this.options=t}format(e){let t=``;if(t=!AO&&this.options.signDisplay!=null?FO(this.numberFormatter,this.options.signDisplay,e):this.numberFormatter.format(e),this.options.style===`unit`&&!jO){let{unit:e,unitDisplay:n=`short`,locale:r}=this.resolvedOptions();if(!e)return t;let i=MO[e]?.[n];t+=i[r]||i.default}return t}formatToParts(e){return this.numberFormatter.formatToParts(e)}formatRange(e,t){if(typeof this.numberFormatter.formatRange==`function`)return this.numberFormatter.formatRange(e,t);if(t<e)throw RangeError(`End date must be >= start date`);return`${this.format(e)} \u{2013} ${this.format(t)}`}formatRangeToParts(e,t){if(typeof this.numberFormatter.formatRangeToParts==`function`)return this.numberFormatter.formatRangeToParts(e,t);if(t<e)throw RangeError(`End date must be >= start date`);let n=this.numberFormatter.formatToParts(e),r=this.numberFormatter.formatToParts(t);return[...n.map(e=>({...e,source:`startRange`})),{type:`literal`,value:` – `,source:`shared`},...r.map(e=>({...e,source:`endRange`}))]}resolvedOptions(){let e=this.numberFormatter.resolvedOptions();return!AO&&this.options.signDisplay!=null&&(e={...e,signDisplay:this.options.signDisplay}),!jO&&this.options.style===`unit`&&(e={...e,style:`unit`,unit:this.options.unit,unitDisplay:this.options.unitDisplay}),e}};function PO(e,t={}){let{numberingSystem:n}=t;if(n&&e.includes(`-nu-`)&&(e.includes(`-u-`)||(e+=`-u-`),e+=`-nu-${n}`),t.style===`unit`&&!jO){let{unit:e,unitDisplay:n=`short`}=t;if(!e)throw Error(`unit option must be provided with style: "unit"`);if(!MO[e]?.[n])throw Error(`Unsupported unit ${e} with unitDisplay = ${n}`);t={...t,style:`decimal`}}let r=e+(t?Object.entries(t).sort((e,t)=>e[0]<t[0]?-1:1).join():``);if(kO.has(r))return kO.get(r);let i=new Intl.NumberFormat(e,t);return kO.set(r,i),i}function FO(e,t,n){if(t===`auto`)return e.format(n);if(t===`never`)return e.format(Math.abs(n));{let r=!1;if(t===`always`?r=n>0||Object.is(n,0):t===`exceptZero`&&(Object.is(n,-0)||Object.is(n,0)?n=Math.abs(n):r=n>0),r){let t=e.format(-n),r=e.format(n),i=t.replace(r,``).replace(/\u200e|\u061C/,``);return[...i].length!==1&&console.warn(`@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case`),t.replace(r,`!!!`).replace(i,`+`).replace(`!!!`,r)}else return e.format(n)}}var IO=RegExp(`^.*\\(.*\\).*$`),LO=[`latn`,`arab`,`hanidec`,`deva`,`beng`,`fullwide`],RO=class{constructor(e,t={}){this.locale=e,this.options=t}parse(e){return BO(this.locale,this.options,e).parse(e)}isValidPartialNumber(e,t,n){return BO(this.locale,this.options,e).isValidPartialNumber(e,t,n)}getNumberingSystem(e){return BO(this.locale,this.options,e).options.numberingSystem}},zO=new Map;function BO(e,t,n){let r=VO(e,t);if(!e.includes(`-nu-`)&&!r.isValidPartialNumber(n)){for(let i of LO)if(i!==r.options.numberingSystem){let r=VO(e+(e.includes(`-u-`)?`-nu-`:`-u-nu-`)+i,t);if(r.isValidPartialNumber(n))return r}}return r}function VO(e,t){let n=e+(t?Object.entries(t).sort((e,t)=>e[0]<t[0]?-1:1).join():``),r=zO.get(n);return r||(r=new HO(e,t),zO.set(n,r)),r}var HO=class{constructor(e,t={}){this.locale=e,t.roundingIncrement!==1&&t.roundingIncrement!=null&&(t.maximumFractionDigits==null&&t.minimumFractionDigits==null?(t.maximumFractionDigits=0,t.minimumFractionDigits=0):t.maximumFractionDigits==null?t.maximumFractionDigits=t.minimumFractionDigits:t.minimumFractionDigits??=t.maximumFractionDigits),this.formatter=new Intl.NumberFormat(e,t),this.options=this.formatter.resolvedOptions(),this.symbols=GO(e,this.formatter,this.options,t),this.options.style===`percent`&&((this.options.minimumFractionDigits??0)>18||(this.options.maximumFractionDigits??0)>18)&&console.warn(`NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.`)}parse(e){let t=this.formatter.resolvedOptions().useGrouping,n=this.sanitize(e);if(!t&&this.symbols.group&&n.includes(this.symbols.group))return NaN;if(this.symbols.group&&(n=n.replaceAll(this.symbols.group,``)),this.symbols.decimal&&(n=n.replace(this.symbols.decimal,`.`)),this.symbols.minusSign&&(n=n.replace(this.symbols.minusSign,`-`)),n=n.replace(this.symbols.numeral,this.symbols.index),this.options.style===`percent`){let e=n.indexOf(`-`);n=n.replace(`-`,``),n=n.replace(`+`,``);let t=n.indexOf(`.`);t===-1&&(t=n.length),n=n.replace(`.`,``),n=t-2==0?`0.${n}`:t-2==-1?`0.0${n}`:t-2==-2?`0.00`:`${n.slice(0,t-2)}.${n.slice(t-2)}`,e>-1&&(n=`-${n}`)}let r=n?+n:NaN;if(isNaN(r))return NaN;if(this.options.style===`percent`){let e={...this.options,style:`decimal`,minimumFractionDigits:Math.min((this.options.minimumFractionDigits??0)+2,20),maximumFractionDigits:Math.min((this.options.maximumFractionDigits??0)+2,20)};return new RO(this.locale,e).parse(new NO(this.locale,e).format(r))}return this.options.currencySign===`accounting`&&IO.test(e)&&(r=-1*r),r}sanitize(e){let t=this.formatter.resolvedOptions().useGrouping;return this.symbols.noNumeralUnits.length>0&&this.symbols.noNumeralUnits.find(t=>t.unit===e)?this.symbols.noNumeralUnits.find(t=>t.unit===e).value.toString():(e=e.replace(this.symbols.literals,``),this.symbols.minusSign&&(e=e.replace(`-`,this.symbols.minusSign)),this.options.numberingSystem===`arab`&&(this.symbols.decimal&&(e=KO(e,`,`,this.symbols.decimal),e=KO(e,`،`,this.symbols.decimal)),this.symbols.group&&t&&(e=KO(e,`.`,this.symbols.group))),this.symbols.group===`’`&&e.includes(`'`)&&t&&(e=KO(e,`'`,this.symbols.group)),this.symbols.group===`'`&&e.includes(`’`)&&t&&(e=KO(e,`’`,this.symbols.group)),this.options.locale===`fr-FR`&&this.symbols.group&&t&&(e=KO(e,` `,this.symbols.group),e=KO(e,/\u00A0/g,this.symbols.group)),e)}isValidPartialNumber(e,t=-1/0,n=1/0){let r=this.formatter.resolvedOptions().useGrouping;return e=this.sanitize(e),this.symbols.minusSign&&e.startsWith(this.symbols.minusSign)&&t<0?e=e.slice(this.symbols.minusSign.length):this.symbols.plusSign&&e.startsWith(this.symbols.plusSign)&&n>0&&(e=e.slice(this.symbols.plusSign.length)),this.symbols.decimal&&e.indexOf(this.symbols.decimal)>-1&&this.options.maximumFractionDigits===0?!1:(this.symbols.group&&r&&(e=KO(e,this.symbols.group,``)),e=e.replace(this.symbols.numeral,``),this.symbols.decimal&&(e=e.replace(this.symbols.decimal,``)),e.length===0)}},UO=new Set([`decimal`,`fraction`,`integer`,`minusSign`,`plusSign`,`group`]),WO=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function GO(e,t,n,r){let i=new Intl.NumberFormat(e,{...n,minimumSignificantDigits:1,maximumSignificantDigits:21,roundingIncrement:1,roundingPriority:`auto`,roundingMode:`halfExpand`,useGrouping:!0}),a=i.formatToParts(-10000.111),o=i.formatToParts(10000.111),s=WO.map(e=>i.formatToParts(e)),c=s.map((e,t)=>{let n=e.find(e=>e.type===`unit`);return n&&!e.some(e=>e.type===`integer`||e.type===`fraction`)?{unit:n.value,value:WO[t]}:null}).filter(e=>!!e),l=a.find(e=>e.type===`minusSign`)?.value??`-`,u=o.find(e=>e.type===`plusSign`)?.value;!u&&(r?.signDisplay===`exceptZero`||r?.signDisplay===`always`)&&(u=`+`);let d=new Intl.NumberFormat(e,{...n,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(e=>e.type===`decimal`)?.value,f=a.find(e=>e.type===`group`)?.value,p=a.filter(e=>!UO.has(e.type)).map(e=>qO(e.value)),m=s.flatMap(e=>e.filter(e=>!UO.has(e.type)).map(e=>qO(e.value))),h=[...new Set([...p,...m])].sort((e,t)=>t.length-e.length),g=h.length===0?RegExp(`\\p{White_Space}|\\p{Cf}`,`gu`):RegExp(`${h.join(`|`)}|\\p{White_Space}|\\p{Cf}`,`gu`),_=[...new Intl.NumberFormat(n.locale,{useGrouping:!1}).format(9876543210)].reverse(),v=new Map(_.map((e,t)=>[e,t])),y=RegExp(`[${_.join(``)}]`,`g`);return{minusSign:l,plusSign:u,decimal:d,group:f,literals:g,numeral:y,numerals:_,index:e=>String(v.get(e)),noNumeralUnits:c}}function KO(e,t,n){return e.replaceAll?e.replaceAll(t,n):e.split(t).join(n)}function qO(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}var[JO,YO]=Q(`InputNumberRoot`,e=>{let{disabled:t,readonly:n,modelValue:r,focusOnChange:i,formatOptions:a,min:o,max:s,step:c,stepSnapping:l}=e,[u,d]=mm(),f=fm(e.locale),p=Bv(()=>new RO(f.value,a.value)),m=Bv(()=>new NO(f.value,a.value)),h=J(()=>m.resolvedOptions().maximumFractionDigits>0?`decimal`:`numeric`),g=J(()=>Kl(r.value)?!1:x(r.value)===o.value||o.value&&!Number.isNaN(r.value)?OO(`-`,r.value,c.value)<Number(o.value):!1),_=J(()=>Kl(r.value)?!1:x(r.value)===s.value||s.value&&!Number.isNaN(r.value)?OO(`+`,r.value,c.value)>Number(s.value):!1),v=Bv(()=>new NO(f.value,a.value)),y=J(()=>Kl(r.value)||Number.isNaN(r.value)?``:v.format(r.value));function b(e){return p.isValidPartialNumber(e,o.value,s.value)}function x(e){let t;return t=c.value===void 0||Number.isNaN(c.value)||!l.value?iu(e,o.value,s.value):ou(e,o.value,s.value,c.value),t=p.parse(m.format(t)),t}function S(e,a=1){if(i.value&&u.value?.focus(),t.value||n.value)return;let s=p.parse(u.value?.value??``);if(Number.isNaN(s)){r.value=o.value??0;return}let l=e===`increase`?1:-1;r.value=x(s+(c.value??1)*a*l)}function C(e=1){S(`increase`,e)}function w(e=1){S(`decrease`,e)}function T(e){e===`min`&&o.value!==void 0?r.value=x(o.value):e===`max`&&s.value!==void 0&&(r.value=x(s.value))}function ee(e){u.value&&(u.value.value=e)}function te(e){let t=p.parse(e);return r.value=Number.isNaN(t)?void 0:x(t),e.length?ee(y.value):ee(e)}return{...e,isDecreaseDisabled:g,isIncreaseDisabled:_,inputElement:u,inputMode:h,textValue:y,setInputElement:d,applyInputValue:te,validate:b,onIncrease:C,onDecrease:w,onMinMaxValue:T}}),[XO,ZO]=$(`InputNumberUi`),[QO,$O]=Q(`InputOtpRoot`),[ek,tk]=$(`InputOtpUi`);[`[data-lastpass-icon-root]`,`com-1password-button`,`[data-dashlanecreated]`,`[style$="2147483647 !important;"]`].join(`,`);var[nk,rk]=Q(`LayoutRoot`,e=>{let{open:t,isMobile:n,mobileOpen:r}=e,i=e=>{t.value=e},a=e=>{r.value=e},o=()=>{n.value?r.value=!r.value:t.value=!t.value};return{...e,onOpenChange:i,onMobileOpenChange:a,toggleSidebar:o}}),[ik,ak]=Q(`LayoutClassicRoot`,e=>(nk(e),e)),[ok,sk]=$(`LayoutUi`),[ck,lk]=$(`LayoutClassicUi`,e=>(ok(e),e)),[uk,dk]=$(`ListUi`),{provideCollectionContext:fk,useCollectionContext:pk,useCollectionItem:mk}=Pm(`Menubar`),[hk,gk]=Q(`MenubarRoot`,e=>{let{modelValue:t,currentTabStopId:n}=e,r=dm(e.dir),i=I(!1),a=e=>{i.value=!1,t.value=e,n.value=String(e)},o=()=>{i.value=!1,t.value=``},s=e=>{i.value=!1,t.value=t.value?``:e,n.value=String(e)},c=()=>{i.value=!0,t.value=``};return{...e,dir:r,isLinkTriggerHovered:i,onMenuOpen:a,onMenuClose:o,onMenuToggle:s,setTriggerLink:c}}),[_k,vk]=Q(`MenubarMenu`,e=>e),[yk,bk]=$(`MenubarUi`,e=>(eD(e),e)),xk=`navigationMenu.rootContentDismiss`,[Sk,Ck]=Q(`NavigationMenuRoot`,e=>{let{modelValue:t,skipDelayDuration:n,delayDuration:r,disablePointerLeaveClose:i}=e,a=I(),o=e=>{a.value=e},[s,c]=mm(),[l,u]=mm(),d=I(),f=e=>{d.value=e},p=I(new Set),m=e=>{p.value.add(e)},h=e=>{p.value.delete(e)},g=J(()=>p.value.has(t.value)),_=I(``),v=Vv(!1,n.value),y=Hv(e=>{typeof e==`string`&&(_.value=t.value,t.value=e)},J(()=>t.value!==``||v.value?150:r.value)),b=e=>{y(e)},x=()=>{v.value=!0,y(``)},S=e=>{y(e)},C=()=>{i.value||y(``)},w=e=>{_.value=t.value,t.value=e},T=()=>{_.value=t.value,t.value=``};return Jv(a,xk,T),{...e,baseId:`soybean-navigation-menu`,rootElement:a,onRootElementChange:o,viewportElement:s,setViewportElement:c,indicatorTrackElement:l,setIndicatorTrackElement:u,activeTriggerElement:d,values:p,addValue:m,removeValue:h,open:g,previousValue:_,onActiveTriggerElementChange:f,onTriggerEnter:b,onTriggerLeave:x,onContentEnter:S,onContentLeave:C,onItemSelect:w,onItemDismiss:T}}),{provideCollectionContext:wk,useCollectionContext:Tk,useCollectionItem:Ek}=Pm(`NavigationMenu`),[Dk,Ok]=Q(`NavigationMenuItem`,e=>{let[t,n]=mm(),{modelValue:r,value:i}=e,a=I(),o=e=>{a.value=e},s=I(!1),c=J(()=>r.value===i),l=J(()=>ru(c.value));return{...e,triggerElement:a,onTriggerElementChange:o,focusProxyElement:t,setFocusProxyElement:n,wasEscapeCloseRef:s,open:c,dataState:l}}),[kk,Ak]=$(`NavigationMenuUi`),[jk,Mk]=Q(`PageTabsRoot`),[Nk,Pk]=Q(`PageTabsItem`),[Fk,Ik]=$(`PageTabsUi`),[Lk,Rk]=Q(`PaginationRoot`,e=>{let{page:t,total:n,pageSize:r}=e,i=J(()=>Math.max(1,Math.ceil(n.value/(r.value||1)))),a=e=>{t.value=e};return{...e,onPageChange:a,pageCount:i}}),[zk,Bk]=$(`PaginationUi`),[Vk,Hk]=$(`PasswordUi`,e=>(Zx(e),e)),[Uk,Wk]=$(`Popconfirm`,e=>(TE(e),e)),[Gk,Kk]=Q(`ProgressRoot`),[qk,Jk]=$(`ProgressUi`),[Yk,Xk]=$(`ProgressProviderUi`),Zk={direction:`ltr`,minimum:.08,maximum:1,easing:`linear`,speed:200,trickle:!0,trickleSpeed:200},Qk=class{static reset(){return this.status=null,this.isPaused=!1,this.pending=[],this.options=Zk,this.clearTrickleTimer(),this}static configure(e){return this.options=$p({...e},this.options),this}static isStarted(){return typeof this.status==`number`}static isRendered(){return jf?document.querySelector(`[data-soybean-progress-provider]`)!==null:!1}static set(e){if(!jf||this.isPaused)return this;let t=this.isStarted();e=iu(e,this.options.minimum,this.options.maximum),this.status=e===this.options.maximum?null:e,this.status===null&&this.clearTrickleTimer();let n=this.render(!t),r=this.options.speed,i=this.options.easing;return n.forEach(e=>e.offsetWidth),this.queue(t=>{n.forEach(t=>{tA(t.querySelector(`[data-soybean-progress-bar]`),this.barPositionCSS({n:e,speed:r,ease:i}))}),e===this.options.maximum?(n.forEach(e=>{tA(e,{transition:`none`,opacity:`1`}),e.offsetWidth}),setTimeout(()=>{n.forEach(e=>{tA(e,{transition:`all ${r}ms ${i}`,opacity:`0`})}),setTimeout(()=>{n.forEach(e=>{this.remove(e),tA(e,{transition:`none`,opacity:`1`})}),t()},r)},r)):setTimeout(t,r)}),this}static start(){return jf?(this.status||this.set(0),this.options.trickle&&this.startTrickling(),this):this}static done(e){return!jf||!e&&!this.status?this:this.inc(.3+.5*Math.random()).set(1)}static inc(e){if(this.isPaused)return this;let t=this.status;return t?t>1?this:(typeof e!=`number`&&(e=t>=0&&t<.2?.1:t>=.2&&t<.5?.04:t>=.5&&t<.8?.02:t>=.8&&t<.99?.005:0),t=iu(t+e,0,.994),this.set(t)):this.start()}static dec(e){if(this.isPaused)return this;let t=this.status;return typeof t==`number`?(typeof e!=`number`&&(e=t>.8?.1:t>.5?.05:t>.2?.02:.01),t=iu(t-e,0,.994),this.set(t)):this}static trickle(){return this.isPaused?this:this.inc()}static promise(e){let t=typeof e==`function`?e():e;if(!t)return this;if(typeof t.then==`function`)return this.start(),Promise.resolve(t).then(()=>{this.done()},()=>{this.done(!0)}),this;if(typeof t.state!=`function`||typeof t.always!=`function`||t.state()===`resolved`)return this;let n=0,r=0;return this.start(),n++,r++,t.always(()=>{r--,r===0?(n=0,this.done()):this.set((n-r)/n)}),this}static render(e=!1){if(!jf)return[];let t=Array.from(document.querySelectorAll(`[data-soybean-progress-provider]`));return t.forEach(t=>{t.style.display=``;let n=t.querySelector(`[data-soybean-progress-bar]`),r=eA(e?0:this.status||0,this.options.direction);tA(n,this.barPositionCSS({n:this.status||0,speed:this.options.speed,ease:this.options.easing,percent:r})),typeof this.status==`number`?t.setAttribute(`aria-valuenow`,`${this.status}`):t.removeAttribute(`aria-valuenow`)}),t}static remove(e){jf&&(this.clearTrickleTimer(),e?e.style.display=`none`:document.querySelectorAll(`[data-soybean-progress-provider]`).forEach(e=>{let t=e;t.style.display=`none`}))}static pause(){return this.isStarted()?(this.isPaused=!0,this.clearTrickleTimer(),this):this}static resume(){return this.isStarted()?(this.isPaused=!1,this.options.trickle&&this.startTrickling(),this):this}static queue(e){this.pending.push(e),this.pending.length===1&&this.next()}static next(){let e=this.pending.shift();e&&e(this.next.bind(this))}static clearTrickleTimer(){this.trickleTimer&&=(clearTimeout(this.trickleTimer),void 0)}static startTrickling(){if(this.trickleTimer||this.isPaused||!this.isStarted())return;let e=()=>{this.trickleTimer=void 0,!(this.isPaused||!this.isStarted())&&(this.trickle(),!this.isPaused&&this.isStarted()&&(this.trickleTimer=setTimeout(e,this.options.trickleSpeed)))};this.trickleTimer=setTimeout(e,this.options.trickleSpeed)}static barPositionCSS({n:e,speed:t,ease:n,percent:r}){return{transform:`translate3d(${r??eA(e,this.options.direction)}%,0,0)`,transition:`all ${t}ms ${n}`}}};CC(Qk,`options`,Zk),CC(Qk,`status`,null),CC(Qk,`pending`,[]),CC(Qk,`isPaused`,!1),CC(Qk,`trickleTimer`,void 0);var $k=Qk;function eA(e,t){return t===`rtl`?(1-e)*100:(-1+e)*100}function tA(e,t,n){if(typeof t==`string`)n!==void 0&&(e.style[t]=n);else for(let n in t)if(t.hasOwnProperty(n)){let r=t[n];r!==void 0&&(e.style[n]=r)}}var nA=[`aria-label`],rA=z({name:`ProgressProvider`,__name:`progress-provider`,props:{direction:{},minimum:{},maximum:{},easing:{},speed:{},trickle:{type:Boolean},trickleSpeed:{}},setup(e){let t=e,n=Xk(),r=pm();return Vn(()=>{$k.configure(t)}),(e,t)=>(V(),H(`div`,{"data-soybean-progress-provider":``,class:A(L(n).root),role:`progressbar`,"aria-label":L(r).progress.loading,"aria-valuemin":`0`,"aria-valuemax":`1`,style:{display:`none`}},[W(`div`,{class:A(L(n).indicator),"data-soybean-progress-bar":``},null,2)],10,nA))}}),[iA,aA]=Q(`RadioGroupRoot`),[oA,sA]=Q(`RadioGroupItem`,e=>{let t=J(()=>nu(e.checked.value)),n=I(``),r=e=>{n.value=e};return{...e,dataState:t,controlId:n,initControlId:r}}),[cA,lA]=$(`RadioGroupUi`),[uA,dA]=$(`RadioGroupCardUi`,e=>(cA(e),e)),[fA,pA]=Q(`ScrollAreaRoot`),[mA,hA]=Q(`ScrollAreaScrollbar`),[gA,_A]=$(`ScrollAreaUi`,e=>J(()=>e.value??{})),[vA,yA]=Q(`SplitterGroup`,e=>{let t=dm(()=>e.dir.value);return{...e,dir:t}}),[bA,xA]=$(`SplitterUi`),[SA,CA]=Q(`StepperRoot`,e=>{let t=dm(e.dir);return{...e,dir:t}}),[wA,TA]=Q(`StepperItem`,e=>{let t=I(`soybean-stepper-title-${mr()}`),n=I(`soybean-stepper-description-${mr()}`);return{...e,titleId:t,descriptionId:n}}),[EA,DA]=$(`StepperUi`),[OA,kA]=Q(`SwitchRoot`,e=>{let{modelValue:t,disabled:n,trueValue:r,falseValue:i}=e;function a(){n.value||(Kl(t.value)?t.value=r.value:t.value=t.value===r.value?i.value:r.value)}let o=J(()=>t?.value===r.value?`checked`:`unchecked`),s=J(()=>n.value?``:void 0);return{...e,toggleCheck:a,dataState:o,dataDisabled:s}}),[AA,jA]=$(`SwitchUi`),[MA,NA]=Q(`TableCompact`),[PA,FA]=$(`Table`),IA=new WeakMap,LA=0;function RA(e,t){return t?t(e)??[]:Array.isArray(e.children)?e.children:[]}function zA(e,t,n,r=1,i){return e.map(e=>{let a=t(e),o=zA(RA(e,n),t,n,r+1,a);return{key:a,row:e,level:r,parentKey:i,children:o,hasChildren:o.length>0}})}function BA(e,t){return e.reduce((e,n)=>{let r=BA(n.children,t);return!t(n.row)&&r.length===0||e.push({...n,children:r,hasChildren:r.length>0}),e},[])}function VA(e,t,n){return[...e].sort((e,r)=>{let i=typeof t.sorter==`function`?t.sorter(e.row,r.row):QA(GA(e.row,t.dataIndex),GA(r.row,t.dataIndex));return n?.order===`desc`?i*-1:i}).map(e=>({...e,children:VA(e.children,t,n)}))}function HA(e,t=!1){return e.flatMap(e=>[...t||e.hasChildren?[e.key]:[],...HA(e.children,t)])}function UA(e){return e.some(e=>e.hasChildren||UA(e.children))}function WA(e){return e.flatMap(e=>[e.row,...WA(e.children)])}function GA(e,t){let n=t.split(`.`),r=e;for(let e of n){if(r==null)return;r=r[e]}return r}function KA(e){if(e.key)return e.key;if(e.dataIndex)return e.dataIndex;if(e.type)return`__${e.type}`;let t=IA.get(e);if(t)return t;LA+=1;let n=`__group-${LA}`;return IA.set(e,n),n}function qA(e){return Array.isArray(e.children)&&e.children.length>0}function JA(e){return e.reduce((e,t)=>{if(t.hidden)return e;if(!qA(t))return e.push(t),e;let n=JA(t.children);return n.length>0&&e.push({...t,children:n}),e},[])}function YA(e){return e.flatMap(e=>qA(e)?YA(e.children):[e])}function XA(e,t,n,r){t[r]??(t[r]=[]),e.forEach(e=>{let i=KA(e);if(qA(e)){t[r].push({key:i,column:e,colSpan:YA(e.children).length,rowSpan:1}),XA(e.children,t,n,r+1);return}t[r].push({key:i,column:e,colSpan:1,rowSpan:n-r})})}function ZA(e){return e.reduce((e,t)=>qA(t)?Math.max(e,ZA(t.children)+1):e,1)}function QA(e,t){return e==null&&t==null?0:e==null?1:t==null?-1:typeof e==`number`&&typeof t==`number`?e-t:String(e).localeCompare(String(t),void 0,{numeric:!0,sensitivity:`base`})}var $A=[`data-open`],ej=z({name:`STag`,__name:`tag`,props:{open:{type:Boolean,default:void 0}},emits:[`update:open`],setup(e,{emit:t}){let n=e,r=t,i=Fm(()=>n.open,e=>{r(`update:open`,e)},!0),a=()=>{i.value=!1};return(e,t)=>L(i)?(V(),H(`div`,{key:0,"data-soybean-tag":``,"data-open":L(i)?``:void 0},[B(e.$slots,`default`,{open:L(i),close:a})],8,$A)):q(`v-if`,!0)}}),{provideCollectionContext:tj,useCollectionContext:nj,useCollectionItem:rj}=Pm(`TagsInput`),[ij,aj]=Q(`TagsInputRoot`),[oj,sj]=Q(`TagsInputItem`),[cj,lj]=$(`TagsInputUi`),[uj,dj]=Q(`TextareaRoot`),[fj,pj]=$(`TextareaUi`),[mj,hj]=Q(`TimeFieldRoot`),[gj,_j]=$(`TimeFieldUi`),[vj,yj]=Q(`TimeRangeFieldRoot`),[bj,xj]=$(`TimeRangeFieldUi`),[Sj,Cj]=Q(`Toaster`),[wj,Tj]=$(`ToastUi`),Ej=1,Dj=new class{constructor(){CC(this,`subscribers`,void 0),CC(this,`toasts`,void 0),CC(this,`dismissed`,void 0),CC(this,`subscribe`,e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);t>=0&&this.subscribers.splice(t,1)})),CC(this,`publish`,e=>{this.subscribers.forEach(t=>t(e))}),CC(this,`resetDismissed`,e=>{this.dismissed.has(e)&&this.dismissed.delete(e)}),CC(this,`upsert`,e=>{let t=this.toasts.findIndex(t=>t.id===e.id);if(t<0){this.publish(e),this.toasts=[...this.toasts,e];return}let n={...this.toasts[t],...e};this.publish(n),this.toasts=this.toasts.map((e,r)=>r===t?n:e)}),CC(this,`create`,e=>{let{message:t,dismissible:n=!0,...r}=e,i=Aj(e.id);this.resetDismissed(i);let a={...r,id:i,dismissible:n,title:t};return this.upsert(a),i}),CC(this,`dismiss`,e=>{if(e!==void 0)return this.dismissed.add(e),requestAnimationFrame(()=>this.publish({id:e,dismiss:!0})),e;this.toasts.forEach(e=>{this.dismissed.add(e.id),this.publish({id:e.id,dismiss:!0})})}),CC(this,`message`,(e,t)=>this.create({...t,message:e,type:`default`})),CC(this,`error`,(e,t)=>this.create({...t,message:e,type:`error`})),CC(this,`success`,(e,t)=>this.create({...t,message:e,type:`success`})),CC(this,`info`,(e,t)=>this.create({...t,message:e,type:`info`})),CC(this,`warning`,(e,t)=>this.create({...t,message:e,type:`warning`})),CC(this,`loading`,(e,t)=>this.create({...t,message:e,type:`loading`})),CC(this,`custom`,(e,t)=>{let n=Aj(t?.id),r=t?.dismissible??!0;return this.resetDismissed(n),this.upsert({custom:e,dismissible:r,id:n,...t}),n}),CC(this,`promise`,(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:`loading`,message:t.loading,description:typeof t.description==`function`?void 0:t.description}));let r=Promise.resolve(typeof e==`function`?e():e),i=n!==void 0,a,o=async(e,t,r,a)=>{i=!1;let{description:o,settings:s}=await jj(t,r,a,n);this.create({id:n,type:e,description:o,...s})},s=r.then(async e=>{if(a=[`resolve`,e],xa(e)){i=!1,this.create({id:n,type:`default`,message:e});return}if(kj(e)&&!e.ok){await o(`error`,t.error,t.description,`HTTP error! status: ${e.status}`);return}if(e instanceof Error){await o(`error`,t.error,t.description,e);return}t.success!==void 0&&await o(`success`,t.success,t.description,e)}).catch(async e=>{a=[`reject`,e],t.error!==void 0&&await o(`error`,t.error,t.description,e)}).finally(()=>{i&&(this.dismiss(n),n=void 0),t.finally?.()}),c=()=>new Promise((e,t)=>s.then(()=>a[0]===`reject`?t(a[1]):e(a[1])).catch(t));return typeof n!=`string`&&typeof n!=`number`?{unwrap:c}:Object.assign(n,{unwrap:c})}),CC(this,`getActives`,()=>this.toasts.filter(e=>!this.dismissed.has(e.id))),this.subscribers=[],this.toasts=[],this.dismissed=new Set}},Oj=Dj.message;Object.assign(Oj,{success:Dj.success,info:Dj.info,warning:Dj.warning,error:Dj.error,custom:Dj.custom,message:Dj.message,promise:Dj.promise,dismiss:Dj.dismiss,loading:Dj.loading},{getHistory:()=>Dj.toasts,getToasts:()=>Dj.getActives()});function kj(e){return typeof e==`object`&&!!e&&`ok`in e&&typeof e.ok==`boolean`&&`status`in e&&typeof e.status==`number`}function Aj(e){return typeof e==`number`||typeof e==`string`&&e.length>0?e:Ej++}async function jj(e,t,n,r){let[i,a]=await Promise.all([Mj(e,n),Mj(t,n)]);return{description:a,settings:Pj(i,r)}}async function Mj(e,t){return typeof e==`function`?await e(t):e}function Nj(e){return typeof e==`object`&&!!e&&`message`in e}function Pj(e,t){return Nj(e)?e:{id:t??``,message:e??``}}var Fj={gap:`--gap`,offsetTop:`--offset-top`,offsetRight:`--offset-right`,offsetBottom:`--offset-bottom`,offsetLeft:`--offset-left`,mobileOffsetTop:`--mobile-offset-top`,mobileOffsetRight:`--mobile-offset-right`,mobileOffsetBottom:`--mobile-offset-bottom`,mobileOffsetLeft:`--mobile-offset-left`,frontHeight:`--front-toast-height`},Ij={index:`--index`,offset:`--offset`,beforeIndex:`--toasts-before`,zIndex:`--z-index`,swipeAmountX:`--swipe-amount-x`,swipeAmountY:`--swipe-amount-y`,swipeDirection:`--swipe-direction`,swipeOut:`--swipe-out`,initialHeight:`--initial-height`},Lj=`top-right`,Rj=4e3,zj={info:`lucide:info`,success:`lucide:circle-check`,warning:`lucide:circle-alert`,error:`lucide:circle-x`,close:`lucide:x`,loading:`svg-spinners:270-ring`},Bj=[`top-right`,`top-center`,`top-left`,`bottom-right`,`bottom-center`,`bottom-left`],Vj={left:`left`,right:`right`,top:`up`,bottom:`down`};function Hj(e){let[t,n]=e.split(`-`),r=[];return t&&r.push(Vj[t]),n&&r.push(Vj[n]),r}var Uj=e=>{let t={top:Fj.offsetTop,right:Fj.offsetRight,bottom:Fj.offsetBottom,left:Fj.offsetLeft},n={top:Fj.mobileOffsetTop,right:Fj.mobileOffsetRight,bottom:Fj.mobileOffsetBottom,left:Fj.mobileOffsetLeft},r={};return Am(t).forEach(i=>{let a=(typeof e==`number`?e:e[i])??24;r[t[i]]=`${a}px`,r[n[i]]=`calc(${a}px * 0.67)`}),r},Wj=e=>{if(!e)return{x:0,y:0};let t=e.style.getPropertyValue(Ij.swipeAmountX),n=e.style.getPropertyValue(Ij.swipeAmountY);return{x:Number(t.replace(`px`,``))||0,y:Number(n.replace(`px`,``))||0}},Gj=(e,t)=>{e&&(e.style.setProperty(Ij.swipeAmountX,`${t.x}px`),e.style.setProperty(Ij.swipeAmountY,`${t.y}px`))},Kj=e=>{e&&Gj(e,{x:0,y:0})},qj=e=>`dismiss`in e&&e.dismiss===!0,Jj=e=>[`altKey`,`ctrlKey`,`metaKey`,`shiftKey`].includes(e),Yj=e=>{let{id:t,position:n}=e,r=I([]),i=I([]),a=J(()=>r.value.filter(e=>Qt(t)&&e.toasterId===Qt(t)||!e.toasterId)),o=J(()=>{let e=new Set;return a.value.forEach(t=>{let r=t.position||Qt(n);e.add(r)}),Bj.forEach(t=>{e.has(t)||e.add(t)}),Array.from(e)});return{toasts:r,filtered:a,heights:i,allPositions:o,positionZIndex:J(()=>{let e={};return o.value.forEach((t,n)=>{e[t]=9999-n}),e}),allToasts:J(()=>{let e=Bj.reduce((e,t)=>(e[t]=[],e),{});return a.value.forEach(t=>{e[t.position||Qt(n)].push(t)}),e}),allHeights:J(()=>{let e=Bj.reduce((e,t)=>(e[t]=[],e),{});return i.value.forEach(t=>{e[t.position].push(t)}),e})}},Xj=[`dir`,`data-rich-color`,`data-inverted`,`data-mounted`,`data-promise`,`data-swiped`,`data-removed`,`data-visible`,`data-y-position`,`data-x-position`,`data-index`,`data-front`,`data-swiping`,`data-dismissible`,`data-type`,`data-swipe-out`,`data-swipe-direction`,`data-expanded`,`data-testid`],Zj=z({name:`Toast`,__name:`toast`,props:{index:{},toast:{},position:{}},emits:[`update:height`,`remove`],setup(e,{emit:t}){let n=e,r=t,{dir:i,allToasts:a,allHeights:o,gap:s,duration:c,visibleCounts:l,defaultExpanded:u,swipeDirections:d,interactingPosition:f,expandedPosition:p,showIcon:m,showClose:h,icons:g,toastProps:_,wrapperProps:v,contentProps:y,titleProps:b,descriptionProps:x,iconProps:S,footerProps:C,actionProps:w,cancelProps:T,closeProps:ee}=Cj(`Toast`),te=Tj(),E=gr(`toast`),ne=gr(`wrapper`),D=Yv(),{height:re}=$v(ne),ie=Zv(),ae=I(null),oe=I(null),se=I(!1),O=I(!1),k=I(!1),ce=I(!1),le=I(0),ue=I(0),de=I(n.toast.duration??c.value),fe=I(null),pe=I(0),A=I(0),j=I(null),me=J(()=>n.toast.type),he=J(()=>{if(m.value){if(n.toast.icon)return n.toast.icon;if(me.value&&me.value!=="default")return g.value[me.value];if(n.toast.promise)return g.value.loading}}),ge=J(()=>n.index===0),_e=J(()=>n.index+1<=l.value),ve=J(()=>me.value===`loading`),ye=J(()=>n.toast.dismissible!==!1),be=J(()=>Math.max(o.value[n.position].findIndex(e=>e.toastId===n.toast.id),0)),M=J(()=>(n.toast.showClose||h.value)&&ye.value&&me.value!==`loading`),xe=J(()=>n.toast.duration??c.value),Se=J(()=>{let[e,t]=n.position.split(`-`);return{x:t,y:e}}),Ce=J(()=>o.value[n.position].reduce((e,t,n)=>n>=be.value?e:e+t.height,0)),we=J(()=>be.value*s.value+Ce.value),N=J(()=>p.value===n.position||u.value&&D.value),Te=J(()=>({[Ij.index]:n.index,[Ij.beforeIndex]:n.index,[Ij.zIndex]:a.value[n.position].length-n.index,[Ij.offset]:`${se.value?le.value:we.value}px`,[Ij.initialHeight]:u.value?`auto`:`${ue.value}px`})),Ee=()=>{se.value=!0,le.value=we.value,window.setTimeout(()=>{r(`remove`,n.toast)},200)},De=()=>{ve.value||!ye.value||(Ee(),n.toast.onDismiss?.(n.toast))},Oe=e=>{e.button!==2&&(ve.value||!ye.value||(fe.value=new Date,le.value=we.value,e.target.setPointerCapture(e.pointerId),e.target.tagName!==`BUTTON`&&(O.value=!0,j.value={x:e.clientX,y:e.clientY})))},ke=()=>{if(k.value||!ye.value)return;j.value=null;let{x:e,y:t}=Wj(E.value),r=Date.now()-(fe.value?.getTime()??Date.now()),i=ae.value===`x`?e:t,a=Math.abs(i)/Math.max(r,1);if(Math.abs(i)>=45||a>.11){le.value=we.value,n.toast.onDismiss?.(n.toast),ae.value===`x`?oe.value=e>0?`right`:`left`:oe.value=t>0?`down`:`up`,Ee(),k.value=!0;return}Kj(E.value),ce.value=!1,O.value=!1,ae.value=null},Ae=e=>{if(!j.value||!ye.value||(typeof window<`u`?window.getSelection()?.toString().length??0:0)>0)return;let t=e.clientY-j.value.y,r=e.clientX-j.value.x,i=d.value??Hj(n.position);!ae.value&&(Math.abs(r)>1||Math.abs(t)>1)&&(ae.value=Math.abs(r)>Math.abs(t)?`x`:`y`);let a={x:0,y:0},o=e=>1/(1.5+Math.abs(e)/20);if(ae.value===`y`){if(i.includes(`up`)||i.includes(`down`))if(i.includes(`up`)&&t<0||i.includes(`down`)&&t>0)a.y=t;else{let e=t*o(t);a.y=Math.abs(e)<Math.abs(t)?e:t}}else if(ae.value===`x`&&(i.includes(`left`)||i.includes(`right`)))if(i.includes(`left`)&&r<0||i.includes(`right`)&&r>0)a.x=r;else{let e=r*o(r);a.x=Math.abs(e)<Math.abs(r)?e:r}(Math.abs(a.x)>0||Math.abs(a.y)>0)&&(ce.value=!0),Gj(E.value,a)},je=()=>{O.value=!1,ae.value=null,j.value=null},Me=e=>{n.toast.onAction?.(e),!e.defaultPrevented&&Ee()},Ne=e=>{n.toast.onCancel?.(e),ye.value&&Ee()};function Pe(e){ue.value=e,r(`update:height`,{toastId:n.toast.id,height:e,position:n.toast.position??n.position})}function Fe(){let e=E.value;if(!e)return;let t=e.style.height;e.style.height=`auto`;let n=e.getBoundingClientRect().height;e.style.height=t,Pe(n)}return Un(xe,e=>{de.value=e},{immediate:!0}),Un(re,e=>{D.value&&e&&Fe()},{flush:`post`}),Un(()=>n.toast.delete,e=>{e&&(Ee(),n.toast.onDismiss?.(n.toast))}),Vn(()=>{let e=n.toast;if(e.type===`loading`||e.promise||e.duration===1/0)return;let t;p.value===n.position||f.value===n.position||ie.value===`hidden`?(()=>{if(A.value<pe.value){let e=Date.now()-pe.value;de.value-=e}A.value=Date.now()})():de.value!==1/0&&(pe.value=Date.now(),t=setTimeout(()=>{n.toast.onAutoClose?.(n.toast),Ee()},de.value)),ln(()=>{t!==void 0&&clearTimeout(t)})}),(t,n)=>(V(),H(`li`,ja(L(_),{ref:`toast`,"data-soybean-toast":``,class:[L(te).toast,e.toast.ui?.toast],dir:L(i),tabindex:`0`,"data-rich-color":e.toast.richColor,"data-inverted":e.toast.inverted,"data-mounted":L(D),"data-promise":!!e.toast.promise,"data-swiped":ce.value,"data-removed":se.value,"data-visible":_e.value,"data-y-position":Se.value.y,"data-x-position":Se.value.x,"data-index":e.index,"data-front":ge.value,"data-swiping":O.value,"data-dismissible":ye.value,"data-type":me.value,"data-swipe-out":k.value,"data-swipe-direction":oe.value,"data-expanded":N.value,"data-testid":e.toast.testId,style:Te.value,onDragend:je,onPointerdown:Oe,onPointerup:ke,onPointermove:Ae}),[W(`div`,ja({ref:`wrapper`},L(v),{class:[L(te).wrapper,e.toast.ui?.wrapper],"data-soybean-toast-wrapper":``}),[e.toast.custom?(V(),U(Vr(e.toast.custom),{key:0})):(V(),H(da,{key:1},[W(`h3`,ja(L(b),{class:[L(te).title,e.toast.ui?.title],"data-soybean-toast-title":``}),[he.value?(V(),U(Ly,ja({key:0},L(S),{icon:he.value,class:[L(te).icon,e.toast.ui?.icon]}),null,16,[`icon`,`class`])):q(`v-if`,!0),G(OC,{is:e.toast.title},null,8,[`is`])],16),e.toast.description?(V(),H(`p`,ja({key:0},L(x),{class:[L(te).description,e.toast.ui?.description],"data-soybean-toast-description":``}),[G(OC,{is:e.toast.description},null,8,[`is`])],16)):q(`v-if`,!0),e.toast.content?(V(),U(Vr(e.toast.content),ja({key:1},L(y),{class:[L(te).content,e.toast.ui?.content],"data-soybean-toast-content":``}),null,16,[`class`])):q(`v-if`,!0),e.toast.action||e.toast.cancel?(V(),H(`div`,ja({key:2},L(C),{class:[L(te).footer,e.toast.ui?.footer],"data-soybean-toast-footer":``}),[e.toast.cancel?(V(),U(Iy,ja({key:0},L(T),{class:[L(te).cancel,e.toast.ui?.cancel],"data-soybean-toast-cancel":``,onClick:Ne}),{default:R(()=>[G(OC,{is:e.toast.cancel},null,8,[`is`])]),_:1},16,[`class`])):q(`v-if`,!0),e.toast.action?(V(),U(Iy,ja({key:1},L(w),{class:[L(te).action,e.toast.ui?.action],"data-soybean-toast-action":``,onClick:Me}),{default:R(()=>[G(OC,{is:e.toast.action},null,8,[`is`])]),_:1},16,[`class`])):q(`v-if`,!0)],16)):q(`v-if`,!0)],64))],16),M.value&&L(g)?.close?(V(),U(Iy,ja({key:0},L(ee),{class:[L(te).close,e.toast.ui?.close],"data-soybean-toast-close":``,onClick:De}),{default:R(()=>[G(Ly,{icon:L(g)?.close},null,8,[`icon`])]),_:1},16,[`class`])):q(`v-if`,!0)],16,Xj))}}),Qj=[`aria-label`],$j=[`dir`,`data-y-position`,`data-x-position`,`onBlur`,`onFocus`,`onMouseenter`,`onMousemove`,`onMouseleave`,`onDragend`,`onPointerdown`,`onPointerup`],eM=z({name:`Toaster`,inheritAttrs:!1,__name:`toaster`,props:{id:{},dir:{},hotkey:{default:()=>[`altKey`,`KeyT`]},customAriaLabel:{},containerAriaLabel:{default:`Notifications`},position:{default:Lj},defaultExpanded:{type:Boolean},duration:{default:Rj},gap:{default:12},offset:{default:24},visibleCounts:{default:3},swipeDirections:{},showIcon:{type:Boolean},showClose:{type:Boolean},icons:{},toastProps:{},wrapperProps:{},contentProps:{},titleProps:{},descriptionProps:{},iconProps:{},footerProps:{},actionProps:{},cancelProps:{},closeProps:{}},setup(e){let t=e,n=$r(),r=Tj(),i=dm(()=>t.dir),a=J(()=>t.hotkey.join(`+`).replace(/Key/g,``).replace(/Digit/g,``)),o=J(()=>t.customAriaLabel??`${t.containerAriaLabel} ${a.value}`),s={},c=(e,t)=>{s[e]=Of(t)},{toasts:l,allToasts:u,filtered:d,heights:f,allHeights:p,allPositions:m,positionZIndex:h}=Yj({id:()=>t.id,position:()=>t.position}),g=J(()=>({...zj,...t.icons})),_=I(null),v=I(null),y=I(null),b=I(null),x=J(()=>({[Fj.gap]:`${t.gap}px`,...Uj(t.offset)})),S=e=>{_.value===e&&(_.value=null),v.value===e&&(v.value=null),b.value===e&&(b.value=null)},C=e=>{s[e]?.focus()},w=e=>{if(f.value.findIndex(t=>t.toastId===e.toastId)!==-1){f.value=f.value.map(t=>t.toastId===e.toastId?e:t);return}let t=f.value.findIndex(t=>t.position===e.position);if(t!==-1){f.value=[...f.value.slice(0,t),e,...f.value.slice(t)];return}f.value=[e,...f.value]},T=e=>{let t=l.value.findIndex(t=>t.id===e.id);if(t!==-1){let n=Object.assign({},l.value[t],e);l.value=[...l.value.slice(0,t),n,...l.value.slice(t+1)];return}l.value=[e,...l.value]},ee=e=>{l.value=l.value.filter(t=>t.id===e.id?(t.delete||Dj.dismiss(e.id),!1):!0),f.value=f.value.filter(t=>t.toastId!==e.id)},te=(e,t)=>{let n=t.currentTarget;b.value===e&&n&&!n.contains(t.relatedTarget)&&(b.value=null,_.value===e&&v.value!==e&&(_.value=null),y.value&&=(y.value.focus({preventScroll:!0}),null))},E=(e,t)=>{t.target.dataset.dismissible!==`false`&&b.value!==e&&(b.value=e,y.value=t.relatedTarget)},ne=e=>{_.value=e},D=e=>{v.value!==e&&b.value!==e&&_.value===e&&(_.value=null)},re=(e,t)=>{t.target.dataset.dismissible!==`false`&&(v.value=e,_.value=e)},ie=e=>{v.value===e&&(v.value=null)};return Sj({dir:i,allToasts:u,allHeights:p,interactingPosition:v,expandedPosition:_,icons:g,...kf(t,[`gap`,`duration`,`visibleCounts`,`defaultExpanded`,`swipeDirections`,`showIcon`,`showClose`,`toastProps`,`wrapperProps`,`contentProps`,`titleProps`,`descriptionProps`,`iconProps`,`footerProps`,`actionProps`,`cancelProps`,`closeProps`])}),Vn(()=>{let e=Dj.subscribe(e=>{if(qj(e)){requestAnimationFrame(()=>{l.value=l.value.map(t=>t.id===e.id?{...t,delete:!0}:t)});return}Cn(()=>{T(e)})});ln(()=>{e()})},{flush:`post`}),Un(()=>l.value.length,e=>{e===0&&(_.value=null,v.value=null,b.value=null)}),Un(()=>d.value,e=>{let n=new Set(e.map(e=>e.position??t.position));_.value&&!n.has(_.value)&&(_.value=null),v.value&&!n.has(v.value)&&(v.value=null),b.value&&!n.has(b.value)&&(b.value=null)},{deep:!0}),Vn(()=>{if(!jf)return;let e=e=>{if(t.hotkey.length>0&&t.hotkey.every(t=>Jj(t)?e[t]:e.code===t)){let e=d.value[0]?.position??t.position??m.value[0];_.value=e,C(e)}let n=Object.values(s).some(e=>e===document.activeElement||e?.contains(document.activeElement));e.code===`Escape`&&n&&(_.value=null,b.value=null)};document.addEventListener(`keydown`,e),ln(()=>{document.removeEventListener(`keydown`,e)})}),Nr(()=>{y.value&&(y.value.focus({preventScroll:!0}),y.value=null,b.value=null)}),(e,t)=>(V(),H(da,null,[W(`section`,{"data-soybean-toaster-container":``,"aria-label":o.value,tabindex:`-1`,"aria-live":`polite`,"aria-relevant":`additions text`,"aria-atomic":`false`},[(V(!0),H(da,null,Wr(L(Bj),e=>(V(),H(`ol`,ja({key:e},{ref_for:!0},L(n),{ref_for:!0,ref:t=>c(e,t),class:L(r).toaster,tabindex:`-1`,dir:L(i),"data-soybean-toaster":``,"data-y-position":e.split(`-`)[0],"data-x-position":e.split(`-`)[1],style:{"--z-index":L(h)[e],"--front-toast-height":`${L(p)[e][0]?.height??0}px`,...x.value},onBlur:t=>te(e,t),onFocus:t=>E(e,t),onMouseenter:t=>ne(e),onMousemove:t=>ne(e),onMouseleave:t=>D(e),onDragend:t=>S(e),onPointerdown:t=>re(e,t),onPointerup:t=>ie(e)}),[(V(!0),H(da,null,Wr(L(u)[e],(t,n)=>(V(),U(Zj,{key:t.id,index:n,toast:t,position:e,"onUpdate:height":w,onRemove:ee},null,8,[`index`,`toast`,`position`]))),128))],16,$j))),128))],8,Qj),B(e.$slots,`default`)],64))}}),tM=z({name:`ToastProvider`,__name:`toast-provider`,props:{id:{},dir:{},hotkey:{},customAriaLabel:{},containerAriaLabel:{},position:{},defaultExpanded:{type:Boolean},duration:{},gap:{},offset:{},visibleCounts:{},swipeDirections:{},showIcon:{type:Boolean},showClose:{type:Boolean},icons:{},toastProps:{},wrapperProps:{},contentProps:{},titleProps:{},descriptionProps:{},iconProps:{},footerProps:{},actionProps:{},cancelProps:{},closeProps:{}},setup(e){let t=e;return(e,n)=>(V(),U(eM,ja({"data-soybean-toast-provider":``},t),{default:R(()=>[B(e.$slots,`default`)]),_:3},16))}}),[nM,rM]=Q(`ToolbarRoot`,e=>{let t=dm(()=>e.dir.value);return{...e,dir:t}}),[iM,aM]=$(`ToolbarUi`),[oM,sM]=Q(`ToggleGroupRoot`,e=>{let t=dm(()=>e.dir.value);return{...e,dir:t}}),[cM,lM]=$(`ToggleGroupUi`),[uM,dM]=Q(`TooltipOpenDelayed`,e=>{let{skipDelayDuration:t}=e,n=I(!0),r=I(!1),i=null,a=()=>{i&&=(clearTimeout(i),null)},o=()=>{a(),i=setTimeout(()=>{n.value=!0},t.value)};return{skipDelayDuration:t,isOpenDelayed:n,isPointerInTransitRef:r,onOpen:()=>{a(),n.value=!1},onClose:()=>{o()}}}),[fM,pM]=Q(`TooltipRoot`,e=>{let{open:t,delayDuration:n,isOpenDelayed:r,disableHoverableContent:i}=e,a=I(``),o=()=>{a.value||=`soybean-tooltip-popup-${mr()}`},s=I(!1),c=J(()=>t.value?s.value?`delayed-open`:`instant-open`:`closed`),l=I(),u=e=>{l.value=e},d=I(),f=e=>{d.value=e},p=null,m=()=>{p&&=(clearTimeout(p),null)},h=()=>{m(),p=setTimeout(()=>{s.value=!0,t.value=!0},n.value)},g=()=>{m(),s.value=!1,t.value=!0},_=()=>{m(),t.value=!1},v=()=>{h()},y=()=>{r.value?v():g()},b=()=>{i.value?_():m()};return{...e,dataState:c,popupId:a,initPopupId:o,popupElement:l,onPopupElementChange:u,triggerElement:d,onTriggerElementChange:f,onTriggerEnter:y,onTriggerLeave:b,onOpen:g,onClose:_}});function mM(e,t,n=1,r){return e?e.reduce((i,a,o)=>{let s=a.children,c=t?.includes(a.value),l={_id:a.value,value:a.value,data:a,index:o,level:n,parent:r,hasChildren:!!s,bind:{data:a,level:n,"aria-setsize":e.length,"aria-posinset":o+1}};return i.push(l),s&&c&&i.push(...mM(s,t,n+1,a)),i},[]):[]}function hM(e,t){return t?t.some(t=>e.includes(t.value)?!0:hM(e,t.children)):!1}function gM(e,t,n=[]){if(!t)return null;for(let r of t){if(r.value===e)return n;if(r.children){let t=gM(e,r.children,[...n,r.value]);if(t!==null)return t}}return null}var[_M,vM]=Q(`TreeRoot`,e=>{let t=dm(()=>e.dir.value);return{...e,dir:t}}),[yM,bM]=Q(`Virtualizer`,e=>{let{dynamic:t,isHorizontal:n}=e,r=J(()=>t.value&&!n.value);return{...e,isVerticalDynamic:r}}),[xM,SM]=Q(`TreeMenuRoot`,e=>{let{modelValue:t,expanded:n,collapsed:r}=e,i=e=>{t.value=e},a=e=>{n.value=e},o=e=>{n.value.includes(e)?n.value=n.value.filter(t=>t!==e):n.value=[...n.value,e]},s=e=>{r.value=e};return{...e,onModelValueChange:i,onExpandedChange:a,onExpandedToggle:o,onCollapsedChange:s}}),[CM,wM]=Q(`TreeMenuItem`),[TM,EM]=$(`TreeMenuUi`,e=>(Sy(J(()=>({root:e.value.collapsibleRoot,trigger:e.value.collapsibleTrigger,content:e.value.collapsibleContent}))),e));function DM(e){return e?e?.filter(e=>!e.hidden).map(e=>{let t={...e};return t.children&&t.children.length>0&&(t.children=DM(t.children)),t}):[]}var[OM,kM]=Q(`WatermarkCompact`,e=>e),[AM,jM]=Q(`WatermarkRoot`,e=>e),[MM,NM]=$(`WatermarkUi`);Z({extendBase:e=>({prev:qy({size:e.size,variant:`pure`}),next:qy({size:e.size,variant:`pure`})}),slots:{root:`inline-flex flex-col gap-4 p-3 text-sm`,header:`flex items-center justify-between`,heading:`flex items-center justify-center font-medium`,prev:`rtl:rotate-180`,next:`rtl:rotate-180`,grid:`inline-table border-collapse`,gridHead:``,gridBody:``,gridRow:``,headCell:`rounded-md text-center font-normal text-muted-foreground`,cell:[`flex-1 text-center align-middle focus-within:relative focus-within:z-20`,`[&:has([data-selected])]:bg-accent first:[&:has([data-selected])]:rounded-s-md last:[&:has([data-selected])]:rounded-e-md`,`[&:has([data-selection-end])]:rounded-e-md [&:has([data-selection-start])]:rounded-s-md`],cellTrigger:[`inline-flex cursor-pointer items-center justify-center w-full h-full rounded-md font-normal transition-colors`,`focus-visible:outline-none focus-visible:ring-3 focus-visible:ring-offset-background focus-visible:ring-ring focus-visible:ring-primary/30`,`[&[data-today]:not([data-selected])]:bg-accent [&[data-today]:not([data-selected])]:text-accent-foreground`,`data-[selected]:text-foreground`,`data-[selection-start]:bg-primary data-[selection-start]:text-primary-foreground`,`data-[selection-end]:bg-primary data-[selection-end]:text-primary-foreground`,`[&[data-selection-start]:hover]:bg-primary data-[selection-start]:hover:text-primary-foreground data-[selection-start]:focus-visible:bg-primary data-[selection-start]:focus-visible:text-primary-foreground`,`[&[data-selection-end]:hover]:bg-primary data-[selection-end]:hover:text-primary-foreground data-[selection-end]:focus-visible:bg-primary data-[selection-end]:focus-visible:text-primary-foreground`,`data-[highlighted]:bg-accent/80 data-[highlighted]:text-foreground`,`hover:bg-accent hover:text-accent-foreground data-[outside-view]:text-muted-foreground`,`data-[disabled]:pointer-events-none data-[disabled]:text-muted-foreground data-[disabled]:opacity-50`,`data-[unavailable]:line-through`]},variants:{size:{xs:{root:`gap-3 text-2xs p-2`,header:`gap-1.5`,gridRow:`mt-1.5`,heading:`gap-1.5`,headCell:`h-6 w-6 text-3xs`,cell:`h-6 w-6`},sm:{root:`gap-3.5 text-xs p-2.5`,header:`gap-2`,gridRow:`mt-1.75`,heading:`gap-2`,headCell:`h-7 w-7 text-2xs`,cell:`h-7 w-7`},md:{root:`gap-4 text-sm p-3`,header:`gap-2.5`,gridRow:`mt-2`,heading:`gap-2.5`,headCell:`h-8 w-8 text-xs`,cell:`h-8 w-8`},lg:{root:`gap-4.5 text-base p-3.5`,header:`gap-3`,gridRow:`mt-2.25`,heading:`gap-3`,headCell:`h-9 w-9 text-sm`,cell:`h-9 w-9`},xl:{root:`gap-5 text-lg p-4`,header:`gap-3.5`,gridRow:`mt-2.5`,heading:`gap-3.5`,headCell:`h-10 w-10 text-base`,cell:`h-10 w-10`},"2xl":{root:`gap-6 text-xl p-5`,header:`gap-4`,gridRow:`mt-3`,heading:`gap-4`,headCell:`h-12 w-12 text-lg`,cell:`h-12 w-12`}}},defaultVariants:{size:`md`}});var PM=Z({slots:{root:`flex flex-col items-stretch rounded-md border bg-card text-card-foreground shadow-sm`,header:`flex items-center justify-between flex-wrap`,content:[`grow transition will-change-auto outline-none data-[state=closed]:p-0`,`data-[state=open]:animate-collapsible-down data-[state=closed]:animate-collapsible-up`],footer:`flex items-center justify-between`,titleRoot:`flex items-center`,title:`font-semibold tracking-tight m-0`,description:`w-full text-muted-foreground m-0`},variants:{size:{xs:{root:`text-2xs`,header:`px-2 py-1.5`,content:`px-2 py-1.5`,footer:`px-2 py-1.5`,titleRoot:`gap-1.5`,title:`text-xs`,description:`text-2xs`},sm:{root:`text-xs`,header:`px-3 py-2`,content:`px-3 py-2`,footer:`px-3 py-2`,titleRoot:`gap-1.75`,title:`text-sm`,description:`text-xs`},md:{root:`text-sm`,header:`px-4 py-3`,content:`px-4 py-3`,footer:`px-4 py-3`,titleRoot:`gap-2`,title:`text-base`,description:`text-sm`},lg:{root:`text-base`,header:`px-5 py-4`,content:`px-5 py-4`,footer:`px-5 py-5`,titleRoot:`gap-2.5`,title:`text-lg`,description:`text-base`},xl:{root:`text-base`,header:`px-6 py-5`,content:`px-6 py-5`,footer:`px-6 py-6`,titleRoot:`gap-3`,title:`text-lg`,description:`text-lg`},"2xl":{root:`text-lg`,header:`px-7 py-6`,content:`px-7 py-6`,footer:`px-7 py-6`,titleRoot:`gap-3.5`,title:`text-xl`,description:`text-xl`}},scrollable:{true:{content:`overflow-auto`}},split:{true:{root:`divide-y divide-border`}}},compoundVariants:[{size:`xs`,split:!1,class:{content:`data-[header-visible=true]:data-[state=open]:pt-0.75 data-[footer-visible=true]:data-[state=open]:pb-0.75`}},{size:`sm`,split:!1,class:{content:`data-[header-visible=true]:data-[state=open]:pt-1 data-[footer-visible=true]:data-[state=open]:pb-1`}},{size:`md`,split:!1,class:{content:`data-[header-visible=true]:data-[state=open]:pt-1.5 data-[footer-visible=true]:data-[state=open]:pb-1.5`}},{size:`lg`,split:!1,class:{content:`data-[header-visible=true]:data-[state=open]:pt-2 data-[footer-visible=true]:data-[state=open]:pb-2`}},{size:`xl`,split:!1,class:{content:`data-[header-visible=true]:data-[state=open]:pt-2.5 data-[footer-visible=true]:data-[state=open]:pb-2.5`}},{size:`2xl`,split:!1,class:{content:`data-[header-visible=true]:data-[state=open]:pt-3 data-[footer-visible=true]:data-[state=open]:pb-3`}}],defaultVariants:{size:`md`,scrollable:!0,split:!1}}),FM=z({name:`SCard`,__name:`card`,props:{class:{type:[Boolean,null,String,Object,Array]},size:{},ui:{},scrollable:{type:Boolean,default:!0},split:{type:Boolean},title:{},description:{},headerProps:{},contentProps:{},footerProps:{},titleRootProps:{},titleProps:{},descriptionProps:{},defaultOpen:{type:Boolean,default:!0},open:{type:Boolean,default:void 0},disabled:{type:Boolean},unmountOnHide:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`update:open`],setup(e,{emit:t}){let n=e,r=t,i=_y(n,[`class`,`size`,`ui`,`scrollable`,`split`]),a=Qr(),o=J(()=>Am(a));return Dw(J(()=>PM({size:n.size,scrollable:n.scrollable,split:n.split},n.ui,{root:n.class}))),(e,t)=>(V(),U(L(Fw),ja(L(i),{"onUpdate:open":t[0]||=e=>r(`update:open`,e)}),Gr({_:2},[Wr(o.value,t=>({name:t,fn:R(()=>[B(e.$slots,t)])}))]),1040))}});Z({extendBase:e=>({previous:qy({size:e.size,variant:`pure`,shape:`circle`}),next:qy({size:e.size,variant:`pure`,shape:`circle`})}),slots:{root:`group relative`,content:`overflow-hidden`,container:`flex`,item:`min-w-0 shrink-0 grow-0 basis-full`,control:`flex justify-between items-center`,navigation:`flex`,previous:`group-data-[orientation=vertical]:rotate-90 rtl:rotate-180`,next:`group-data-[orientation=vertical]:rotate-90 rtl:rotate-180`},variants:{size:{xs:{root:`text-2xs`,navigation:`gap-1 py-1`},sm:{root:`text-xs`,navigation:`gap-1.25 py-1.25`},md:{root:`text-sm`,navigation:`gap-1.5 py-1.5`},lg:{root:`text-base`,navigation:`gap-2 py-2`},xl:{root:`text-lg`,navigation:`gap-2.5 py-2.5`},"2xl":{root:`text-xl`,navigation:`gap-3 py-3`}},orientation:{horizontal:{},vertical:{container:`flex-col h-full`}},floatNav:{true:{navigation:`p-0`,previous:`absolute`,next:`absolute`}}},compoundVariants:[{orientation:`horizontal`,floatNav:!0,class:{previous:`top-1/2 -translate-y-1/2`,next:`top-1/2 -translate-y-1/2`}},{orientation:`vertical`,floatNav:!0,class:{previous:`start-1/2 -translate-x-1/2`,next:`start-1/2 -translate-x-1/2`}},{size:`xs`,floatNav:!0,orientation:`horizontal`,class:{previous:`-start-9`,next:`-end-9`}},{size:`sm`,floatNav:!0,orientation:`horizontal`,class:{previous:`-start-10.5`,next:`-end-10.5`}},{size:`md`,floatNav:!0,orientation:`horizontal`,class:{previous:`-start-12`,next:`-end-12`}},{size:`lg`,floatNav:!0,orientation:`horizontal`,class:{previous:`-start-13.5`,next:`-end-13.5`}},{size:`xl`,floatNav:!0,orientation:`horizontal`,class:{previous:`-start-15`,next:`-end-15`}},{size:`2xl`,floatNav:!0,orientation:`horizontal`,class:{previous:`-start-18`,next:`-end-18`}},{size:`xs`,floatNav:!0,orientation:`vertical`,class:{previous:`-top-9`,next:`-bottom-9`}},{size:`sm`,floatNav:!0,orientation:`vertical`,class:{previous:`-top-10.5`,next:`-bottom-10.5`}},{size:`md`,floatNav:!0,orientation:`vertical`,class:{previous:`-top-12`,next:`-bottom-12`}},{size:`lg`,floatNav:!0,orientation:`vertical`,class:{previous:`-top-13.5`,next:`-bottom-13.5`}},{size:`xl`,floatNav:!0,orientation:`vertical`,class:{previous:`-top-15`,next:`-bottom-15`}},{size:`2xl`,floatNav:!0,orientation:`vertical`,class:{previous:`-top-18`,next:`-bottom-18`}}],defaultVariants:{size:`md`,orientation:`horizontal`,floatNav:!0}}),Z({slots:{groupRoot:`flex`,root:`flex items-center w-fit`,control:[`peer shrink-0 border shadow transition-all-150`,`outline-none focus-visible:ring-3 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50`],indicator:`w-full h-full flex items-center justify-center text-current`,"indicator-icon":`size-full`,label:``},variants:{color:{primary:{control:`border-primary focus-visible:ring-primary/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground data-[state=indeterminate]:bg-primary data-[state=indeterminate]:text-primary-foreground`},destructive:{control:`border-destructive focus-visible:ring-destructive/30 data-[state=checked]:bg-destructive data-[state=checked]:text-destructive-foreground data-[state=indeterminate]:bg-destructive data-[state=indeterminate]:text-destructive-foreground`},success:{control:`border-success focus-visible:ring-success/30 data-[state=checked]:bg-success data-[state=checked]:text-success-foreground data-[state=indeterminate]:bg-success data-[state=indeterminate]:text-success-foreground`},warning:{control:`border-warning focus-visible:ring-warning/30 data-[state=checked]:bg-warning data-[state=checked]:text-warning-foreground data-[state=indeterminate]:bg-warning data-[state=indeterminate]:text-warning-foreground`},info:{control:`border-info focus-visible:ring-info/30 data-[state=checked]:bg-info data-[state=checked]:text-info-foreground data-[state=indeterminate]:bg-info data-[state=indeterminate]:text-info-foreground`},carbon:{control:`border-carbon focus-visible:ring-carbon/30 data-[state=checked]:bg-carbon data-[state=checked]:text-carbon-foreground data-[state=indeterminate]:bg-carbon data-[state=indeterminate]:text-carbon-foreground`},secondary:{control:`border-secondary-foreground/50 focus-visible:ring-secondary-foreground/20 data-[state=checked]:bg-secondary-foreground/5 data-[state=checked]:text-secondary-foreground data-[state=indeterminate]:bg-secondary-foreground/5 data-[state=indeterminate]:text-secondary-foreground`},accent:{control:`border-accent-foreground/50 focus-visible:ring-accent-foreground/20 data-[state=checked]:bg-accent-foreground/5 data-[state=checked]:text-accent-foreground data-[state=indeterminate]:bg-accent-foreground/5 data-[state=indeterminate]:text-accent-foreground`}},size:{xs:{groupRoot:`gap-x-2 gap-y-1.5`,root:`gap-1.5`,control:`size-3`},sm:{groupRoot:`gap-x-2.5 gap-y-1.75`,root:`gap-1.75`,control:`size-3.5`},md:{groupRoot:`gap-x-3 gap-y-2`,root:`gap-2`,control:`size-4`},lg:{groupRoot:`gap-x-3.5 gap-y-2.5`,root:`gap-2.5`,control:`size-4.5`},xl:{groupRoot:`gap-x-4 gap-y-3`,root:`gap-3`,control:`size-5`},"2xl":{groupRoot:`gap-x-4.5 gap-y-3.5`,root:`gap-3.5`,control:`size-6`}},orientation:{horizontal:{groupRoot:`items-center`},vertical:{groupRoot:`flex-col`}},shape:{square:{control:`rounded-sm`},rounded:{control:`rounded-full`}}},defaultVariants:{color:`primary`,size:`md`,orientation:`horizontal`,shape:`square`}}),Z({slots:{groupRoot:`flex`,root:`relative inline-flex border border-solid border-border rounded-md`,content:`flex items-center grow`,textContent:`flex flex-col`,icon:`shrink-0`,label:`font-medium`,description:`text-muted-foreground`,control:[`peer shrink-0 border shadow transition-all-150`,`outline-none focus-visible:ring-3 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50`,`order-1 after:absolute after:inset-0 after:content-empty`],indicator:`w-full h-full flex items-center justify-center text-current`,"indicator-icon":`size-full`},variants:{color:{primary:{root:`data-[state=checked]:border-primary`,control:`border-primary focus-visible:ring-primary/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground data-[state=indeterminate]:bg-primary data-[state=indeterminate]:text-primary-foreground`},destructive:{root:`data-[state=checked]:border-destructive`,control:`border-destructive focus-visible:ring-destructive/30 data-[state=checked]:bg-destructive data-[state=checked]:text-destructive-foreground data-[state=indeterminate]:bg-destructive data-[state=indeterminate]:text-destructive-foreground`},success:{root:`data-[state=checked]:border-success`,control:`border-success focus-visible:ring-success/30 data-[state=checked]:bg-success data-[state=checked]:text-success-foreground data-[state=indeterminate]:bg-success data-[state=indeterminate]:text-success-foreground`},warning:{root:`data-[state=checked]:border-warning`,control:`border-warning focus-visible:ring-warning/30 data-[state=checked]:bg-warning data-[state=checked]:text-warning-foreground data-[state=indeterminate]:bg-warning data-[state=indeterminate]:text-warning-foreground`},info:{root:`data-[state=checked]:border-info`,control:`border-info focus-visible:ring-info/30 data-[state=checked]:bg-info data-[state=checked]:text-info-foreground data-[state=indeterminate]:bg-info data-[state=indeterminate]:text-info-foreground`},carbon:{root:`data-[state=checked]:border-carbon`,control:`border-carbon focus-visible:ring-carbon/30 data-[state=checked]:bg-carbon data-[state=checked]:text-carbon-foreground data-[state=indeterminate]:bg-carbon data-[state=indeterminate]:text-carbon-foreground`},secondary:{root:`data-[state=checked]:border-secondary-foreground/50`,control:`border-secondary-foreground/50 focus-visible:ring-secondary-foreground/20 data-[state=checked]:bg-secondary-foreground/5 data-[state=checked]:text-secondary-foreground data-[state=indeterminate]:bg-secondary-foreground/5 data-[state=indeterminate]:text-secondary-foreground`},accent:{root:`data-[state=checked]:border-accent-foreground/50`,control:`border-accent-foreground/50 focus-visible:ring-accent-foreground/20 data-[state=checked]:bg-accent-foreground/5 data-[state=checked]:text-accent-foreground data-[state=indeterminate]:bg-accent-foreground/5 data-[state=indeterminate]:text-accent-foreground`}},size:{xs:{groupRoot:`gap-x-2 gap-y-1.5`,root:`gap-2 text-2xs p-2`,content:`gap-2`,textContent:`gap-0.5`,icon:`text-3`,description:`text-3xs`,control:`size-3`},sm:{groupRoot:`gap-x-2.5 gap-y-1.75`,root:`gap-2.5 text-xs p-2.5`,content:`gap-2.5`,textContent:`gap-0.75`,icon:`text-4`,description:`text-2xs`,control:`size-3.5`},md:{groupRoot:`gap-x-3 gap-y-2`,root:`gap-3 text-sm p-3`,content:`gap-3`,textContent:`gap-1`,icon:`text-5`,description:`text-xs`,control:`size-4`},lg:{groupRoot:`gap-x-3.5 gap-y-2.5`,root:`gap-4 text-base p-4`,content:`gap-4`,textContent:`gap-1.5`,icon:`text-6`,description:`text-sm`,control:`size-4.5`},xl:{groupRoot:`gap-x-4 gap-y-3`,root:`gap-5 text-lg p-5`,content:`gap-5`,textContent:`gap-2`,icon:`text-7`,description:`text-base`,control:`size-5`},"2xl":{groupRoot:`gap-x-4.5 gap-y-3.5`,root:`gap-6 text-xl p-6`,content:`gap-6`,textContent:`gap-2.5`,icon:`text-8`,description:`text-lg`,control:`size-6`}},shape:{square:{control:`rounded-sm`},rounded:{control:`rounded-full`}}},defaultVariants:{color:`primary`,size:`md`,shape:`square`}}),Z({slots:{root:``,trigger:``,content:[`overflow-hidden transition will-change-auto`,`data-[state=open]:animate-collapsible-down data-[state=closed]:animate-collapsible-up`]},variants:{size:{xs:{root:`text-2xs`},sm:{root:`text-xs`},md:{root:`text-sm`},lg:{root:`text-base`},xl:{root:`text-lg`},"2xl":{root:`text-xl`}}}}),Z({slots:{root:`relative select-none`,area:[`relative overflow-hidden min-w-25 min-h-25 w-full h-full rounded-xl border border-input shadow-inner outline-none`,`focus-visible:ring-3 focus-visible:ring-primary/20 data-[disabled]:opacity-60`],thumb:[`absolute block rounded-full border-2 border-white bg-transparent shadow-lg`,`ring-1 ring-black/20 transition-[transform,box-shadow] duration-150`,`hover:scale-105 outline-none focus-visible:ring-4 focus-visible:ring-primary/25`]},variants:{size:{xs:{root:`text-2xs`,thumb:`size-3`},sm:{root:`text-xs`,thumb:`size-3.5`},md:{root:`text-sm`,thumb:`size-4`},lg:{root:`text-base`,thumb:`size-4.5`},xl:{root:`text-lg`,thumb:`size-5`},"2xl":{root:`text-xl`,thumb:`size-6`}}},defaultVariants:{size:`md`}}),Z({slots:{root:[`group flex items-center min-w-0 rounded-md border border-input bg-background transition-all-150`,`outline-none focus-within:ring-3 focus-within:ring-offset-background focus-within:ring-primary/30`,`data-[disabled]:opacity-60 data-[readonly]:bg-muted/40`],input:[`flex-1 min-w-0 bg-transparent outline-none`,`placeholder:text-muted-foreground`,`disabled:cursor-not-allowed disabled:opacity-50`]},variants:{size:{xs:{root:`h-6 px-1.5 text-2xs gap-1`},sm:{root:`h-7 px-2 text-xs gap-1.5`},md:{root:`h-8 px-2.5 text-sm gap-2`},lg:{root:`h-9 px-3 text-base gap-2.5`},xl:{root:`h-10 px-3.5 text-lg gap-3`},"2xl":{root:`h-12 px-4 text-xl gap-3.5`}}},defaultVariants:{size:`md`}}),Z({extendBase:e=>({trigger:Wy({size:e.size,variant:`pure`})}),slots:{popup:``,content:`flex flex-col`,trigger:``,triggerSwatch:``,triggerValue:`min-w-0 flex-1 truncate text-start font-mono text-xs`,segment:``,area:``,sliderSwatch:`flex items-center`,sliderRoot:`flex-1`,swatch:``,fields:`grid grid-cols-[2fr_1fr]`,field:``,alphaField:``,swatchPicker:``},variants:{size:{xs:{popup:`p-1.5`,content:`w-45 gap-1.5`,area:`h-30`,sliderSwatch:`gap-1.5`,fields:`gap-1.5`,alphaField:`w-12`},sm:{popup:`p-1.75`,content:`w-52.5 gap-1.75`,area:`h-35`,sliderSwatch:`gap-1.75`,fields:`gap-1.75`,alphaField:`w-15`},md:{popup:`p-2`,content:`w-60 gap-2`,area:`h-40`,sliderSwatch:`gap-2`,fields:`gap-2`,alphaField:`w-16`},lg:{popup:`p-2.5`,content:`w-63.75 gap-2.5`,area:`h-42.5`,sliderSwatch:`gap-2.5`,fields:`gap-2.5`,alphaField:`w-18`},xl:{popup:`p-3`,content:`w-67.5 gap-3`,area:`h-45`,sliderSwatch:`gap-3`,fields:`gap-3`,alphaField:`w-20`},"2xl":{popup:`p-4`,content:`w-80 gap-4`,area:`h-50`,sliderSwatch:`gap-4`,fields:`gap-4`,alphaField:`w-25`}}},defaultVariants:{size:`md`}}),Z({extend:[tl(Z({slots:{root:[`relative isolate inline-flex shrink-0 overflow-hidden border border-input bg-background shadow-sm`,`data-[no-color]:bg-muted/40`],checker:`absolute inset-0 bg-[linear-gradient(45deg,rgba(0,0,0,0.08)_25%,transparent_25%,transparent_75%,rgba(0,0,0,0.08)_75%),linear-gradient(45deg,rgba(0,0,0,0.08)_25%,transparent_25%,transparent_75%,rgba(0,0,0,0.08)_75%)] bg-[length:8px_8px] bg-[position:0_0,4px_4px]`,fill:`absolute inset-0 bg-[var(--soybean-color-swatch-color)]`},variants:{size:{xs:{root:`size-5 text-2xs`},sm:{root:`size-5.5 text-xs`},md:{root:`size-6 text-sm`},lg:{root:`size-6.5 text-base`},xl:{root:`size-7 text-lg`},"2xl":{root:`size-8 text-xl`}},shape:{square:{root:`rounded-md`},circle:{root:`rounded-full`}}},defaultVariants:{size:`md`,shape:`square`}}),{root:`swatchRoot`,checker:`swatchChecker`,fill:`swatchFill`})],slots:{root:`grid`,item:[`relative inline-flex items-center justify-center rounded-full outline-none transition-[transform,box-shadow] duration-150`,`hover:scale-110 data-[highlighted]:scale-105 data-[disabled]:opacity-50`],itemIndicator:`pointer-events-none absolute inset-0 flex justify-center items-center text-muted`,swatchRoot:``,swatchChecker:``,swatchFill:``},variants:{size:{xs:{root:`grid-cols-[repeat(auto-fill,minmax(1.25rem,1fr))] gap-1.5 text-2xs`,item:`size-5`,itemIndicator:`text-4xs`},sm:{root:`grid-cols-[repeat(auto-fill,minmax(1.375rem,1fr))] gap-1.75 text-xs`,item:`size-5.5`,itemIndicator:`text-3xs`},md:{root:`grid-cols-[repeat(auto-fill,minmax(1.5rem,1fr))] gap-2 text-sm`,item:`size-6`,itemIndicator:`text-2xs`},lg:{root:`grid-cols-[repeat(auto-fill,minmax(1.625rem,1fr))] gap-2.5 text-base`,item:`size-6.5`,itemIndicator:`text-xs`},xl:{root:`grid-cols-[repeat(auto-fill,minmax(1.75rem,1fr))] gap-3 text-lg`,item:`size-7`,itemIndicator:`text-sm`},"2xl":{root:`grid-cols-[repeat(auto-fill,minmax(2rem,1fr))] gap-4 text-xl`,item:`size-8`,itemIndicator:`text-base`}},shape:{square:{item:`rounded-md`},circle:{item:`rounded-full`}}},defaultVariants:{size:`md`,shape:`square`}}),Z({extendBase:e=>({close:qy({size:e.size})}),slots:{positioner:`w-max`,popup:[`w-auto rounded-md border bg-popover text-popover-foreground shadow-md outline-none z-50 will-change-transform`,`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`],arrow:`w-1em h-0.5em fill-popover stroke-border`,close:`absolute`},variants:{size:{xs:{popup:`p-3 text-2xs`,arrow:`text-3xs`,close:`top-0.5 end-0.5`},sm:{popup:`p-3.5 text-xs`,arrow:`text-2xs`,close:`top-0.75 end-0.75`},md:{popup:`p-4 text-sm`,arrow:`text-xs`,close:`top-1 end-1`},lg:{popup:`p-4.5 text-base`,arrow:`text-sm`,close:`top-1.25 end-1.25`},xl:{popup:`p-5 text-lg`,arrow:`text-base`,close:`top-1.5 end-1.5`},"2xl":{popup:`p-5.5 text-xl`,arrow:`text-lg`,close:`top-2 end-2`}}},defaultVariants:{size:`md`}}),Z({slots:{root:[`relative flex w-full touch-none select-none items-center`,`data-[disabled]:opacity-50 data-[orientation=vertical]:flex-col data-[orientation=vertical]:min-h-20`],track:[`relative grow overflow-hidden rounded-full bg-muted`,`data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full`],range:`absolute data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full`,thumb:[`absolute block shrink-0 rounded-full bg-background shadow-sm transition-[color,box-shadow]`,`hover:ring-3 outline-none focus-visible:ring-3 data-[disabled]:cursor-not-allowed`]},variants:{color:{primary:{range:`bg-primary`,thumb:`border-primary focus-visible:ring-primary/30 hover:ring-primary/20`},destructive:{range:`bg-destructive`,thumb:`border-destructive focus-visible:ring-destructive/30 hover:ring-destructive/20`},success:{range:`bg-success`,thumb:`border-success focus-visible:ring-success/30 hover:ring-success/20`},warning:{range:`bg-warning`,thumb:`border-warning focus-visible:ring-warning/30 hover:ring-warning/20`},info:{range:`bg-info`,thumb:`border-info focus-visible:ring-info/30 hover:ring-info/20`},carbon:{range:`bg-carbon`,thumb:`border-carbon focus-visible:ring-carbon/30 hover:ring-carbon/20`},secondary:{range:`bg-secondary-foreground/30`,thumb:`border-secondary-foreground/40 focus-visible:ring-secondary-foreground/20 hover:ring-secondary-foreground/20`},accent:{range:`bg-accent-foreground/30`,thumb:`border-accent-foreground/40 focus-visible:ring-accent-foreground/20 hover:ring-accent-foreground/20`}},size:{xs:{root:`h-3 data-[orientation=vertical]:w-3`,track:`data-[orientation=horizontal]:h-1.25 data-[orientation=vertical]:w-1.25`,thumb:`size-3 border`},sm:{root:`h-3.5 data-[orientation=vertical]:w-3.5`,track:`data-[orientation=horizontal]:h-1.5 data-[orientation=vertical]:w-1.5`,thumb:`size-3.5 border`},md:{root:`h-4 data-[orientation=vertical]:w-4`,track:`data-[orientation=horizontal]:h-1.75 data-[orientation=vertical]:w-1.75`,thumb:`size-4 border-2`},lg:{root:`h-4.5 data-[orientation=vertical]:w-4.5`,track:`data-[orientation=horizontal]:h-2 data-[orientation=vertical]:w-2`,thumb:`size-4.5 border-2`},xl:{root:`h-5 data-[orientation=vertical]:w-5`,track:`data-[orientation=horizontal]:h-2.5 data-[orientation=vertical]:w-2.5`,thumb:`size-5 border-3`},"2xl":{root:`h-6 data-[orientation=vertical]:w-6`,track:`data-[orientation=horizontal]:h-3 data-[orientation=vertical]:w-3`,thumb:`size-6 border-3`}}},defaultVariants:{color:`primary`,size:`md`}}),Z({slots:{root:`flex`,list:`relative inline-flex justify-center items-center bg-muted text-muted-foreground`,trigger:[`relative z-3 inline-flex items-center justify-center flex-1 whitespace-nowrap rounded-md font-medium transition-all-200`,`outline-none focus-visible:ring-3 focus-visible:ring-offset-background focus-visible:ring-primary/30`,`disabled:cursor-not-allowed disabled:opacity-50`],indicator:`absolute top-0 start-0 z-2 transition-[width,height,transform] duration-300`,indicatorContent:`w-full h-full bg-background shadow`,content:`flex-grow self-stretch transition-all-150 outline-none focus-visible:ring-3 focus-visible:ring-offset-background focus-visible:ring-primary/30`},variants:{size:{xs:{root:`text-2xs`,list:`p-0.75`,trigger:`gap-1 px-1.5 py-0.75`},sm:{root:`text-xs`,list:`p-0.875`,trigger:`gap-1.5 px-2 py-1`},md:{root:`text-sm`,list:`p-1`,trigger:`gap-2 px-3 py-1`},lg:{root:`text-base`,list:`p-1.125`,trigger:`gap-2.5 px-4 py-1.125`},xl:{root:`text-lg`,list:`p-1.25`,trigger:`gap-3 px-5 py-1.25`},"2xl":{root:`text-xl`,list:`p-1.5`,trigger:`gap-4 px-6 py-1.5`}},orientation:{horizontal:{root:`flex-col`,indicator:`h-full w-[--soybean-tabs-indicator-size] translate-x-[--soybean-tabs-indicator-position] rtl:-translate-x-[--soybean-tabs-indicator-position]`},vertical:{list:`flex-col items-stretch`,indicator:`w-full h-[--soybean-tabs-indicator-size] translate-y-[--soybean-tabs-indicator-position]`}},shape:{square:{list:`rounded-md`,indicatorContent:`rounded-md`},rounded:{list:`rounded-full`,indicatorContent:`rounded-full`}},fill:{full:{root:`items-stretch`},auto:{root:`items-start`}},enableIndicator:{false:{trigger:`data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow`}}},compoundVariants:[{size:`xs`,orientation:`horizontal`,class:{indicator:`py-0.75`,content:`mt-1.5`}},{size:`xs`,orientation:`vertical`,class:{indicator:`px-0.75`,content:`ms-1.5`}},{size:`sm`,orientation:`horizontal`,class:{indicator:`py-1`,content:`mt-1.75`}},{size:`sm`,orientation:`vertical`,class:{indicator:`px-1`,content:`ms-1.75`}},{size:`md`,orientation:`horizontal`,class:{indicator:`py-1`,content:`mt-2`}},{size:`md`,orientation:`vertical`,class:{indicator:`px-1`,content:`ms-2`}},{size:`lg`,orientation:`horizontal`,class:{indicator:`py-1.125`,content:`mt-2.5`}},{size:`lg`,orientation:`vertical`,class:{indicator:`px-1.125`,content:`ms-2.5`}},{size:`xl`,orientation:`horizontal`,class:{indicator:`py-1.25`,content:`mt-3`}},{size:`xl`,orientation:`vertical`,class:{indicator:`px-1.25`,content:`ms-3`}},{size:`2xl`,orientation:`horizontal`,class:{indicator:`py-1.5`,content:`mt-3.5`}},{size:`2xl`,orientation:`vertical`,class:{indicator:`px-1.5`,content:`ms-3.5`}}],defaultVariants:{size:`md`,orientation:`horizontal`,shape:`square`,fill:`auto`,enableIndicator:!0}}),Z({slots:{anchor:``,trigger:[`flex w-full items-center justify-between rounded-md border border-input bg-background transition-all-150`,`outline-none focus-visible:ring-3 focus-visible:ring-offset-background focus-visible:ring-primary/30 focus:ring-3 focus:ring-offset-background focus:ring-primary/30 disabled:pointer-events-none disabled:opacity-50`,`data-[placeholder]:text-muted-foreground`],triggerIcon:`shrink-0 text-muted-foreground opacity-70`,cancel:[`flex shrink-0 items-center justify-center rounded-md bg-transparent text-accent-foreground hover:bg-accent-foreground/10 active:bg-accent-foreground/20`,`outline-none focus-visible:ring-3 focus-visible:ring-offset-background focus-visible:ring-accent-foreground/20`,`disabled:cursor-not-allowed disabled:opacity-40`],positioner:``,popup:[`relative z-50 min-w-32 w-[--soybean-combobox-trigger-width] rounded-md border bg-popover text-popover-foreground shadow-md`,`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`],arrow:`fill-popover`,viewport:`overflow-x-hidden overflow-y-auto`,inputRoot:`group flex items-center border-b`,inputControl:`flex w-full rounded-md bg-transparent outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50`,group:`overflow-hidden text-foreground`,groupLabel:`font-medium text-muted-foreground`,item:[`relative flex w-full cursor-default select-none items-center rounded-sm outline-none`,`data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50`],itemIndicator:`ms-auto shrink-0 text-muted-foreground`,empty:`py-4 text-center text-sm text-muted-foreground`,separator:`h-px bg-muted`},variants:{size:{xs:{trigger:`h-6 gap-1 px-1.5 text-2xs`,triggerIcon:`text-3xs`,popup:`text-2xs`,cancel:`p-0.75`,inputRoot:`px-1.5 py-0.5`,inputControl:`h-6`,viewport:`max-h-70 p-0.75`,groupLabel:`p-1 text-3xs`,item:`gap-1 px-1 py-1`,separator:`-mx-0.75 my-0.375`},sm:{trigger:`h-7 gap-1.5 px-2 text-xs`,triggerIcon:`text-2xs`,popup:`text-xs`,cancel:`p-0.875`,inputRoot:`px-2 py-0.625`,inputControl:`h-7`,viewport:`max-h-75 p-0.875`,groupLabel:`p-1.25 text-2xs`,item:`gap-1.5 px-1.5 py-1`,separator:`-mx-0.875 my-0.4375`},md:{trigger:`h-8 gap-2 px-2.5 text-sm`,triggerIcon:`text-xs`,popup:`text-sm`,cancel:`p-1`,inputRoot:`px-2.5 py-0.75`,inputControl:`h-8`,viewport:`max-h-80 p-1`,groupLabel:`p-1.75 text-xs`,item:`gap-2 px-2 py-1.5`,separator:`-mx-1 my-0.5`},lg:{trigger:`h-9 gap-2.5 px-3 text-base`,triggerIcon:`text-sm`,popup:`text-base`,cancel:`p-1.25`,inputRoot:`px-3 py-0.875`,inputControl:`h-9`,viewport:`max-h-90 p-1.25`,groupLabel:`p-2 text-sm`,item:`gap-2.5 px-2.5 py-1.5`,separator:`-mx-1.25 my-0.625`},xl:{trigger:`h-10 gap-3 px-3.5 text-lg`,triggerIcon:`text-base`,popup:`text-lg`,cancel:`p-1.5`,inputRoot:`px-3.5 py-1`,inputControl:`h-10`,viewport:`max-h-100 p-1.5`,groupLabel:`p-2.5 text-base`,item:`gap-3 px-3 py-2`,separator:`-mx-1.5 my-0.75`},"2xl":{trigger:`h-12 gap-3.5 px-4 text-xl`,triggerIcon:`text-lg`,popup:`text-xl`,cancel:`p-1.75`,inputRoot:`px-4 py-1.25`,inputControl:`h-12`,viewport:`max-h-115 p-1.75`,groupLabel:`p-3 text-lg`,item:`gap-3.5 px-3.5 py-2.5`,separator:`-mx-1.75 my-0.875`}}},defaultVariants:{size:`md`}});var IM=gl({base:`inline-flex items-center justify-center w-fit text-center font-medium border border-border rounded-sm font-inherit`,variants:{variant:{solid:`border-muted-foreground bg-muted-foreground text-muted shadow-muted-foreground/50`,outline:`border-border bg-background text-muted-foreground shadow-border`,ghost:`border-border bg-muted text-muted-foreground shadow-border/50`},size:{xs:`h-4 min-w-4 px-0.5 text-3xs data-[group]:tracking-0.5`,sm:`h-4.5 min-w-4.5 px-0.625 text-2xs data-[group]:tracking-0.625`,md:`h-5 min-w-5 px-0.75 text-xs data-[group]:tracking-0.75`,lg:`h-6 min-w-6 px-1 text-sm data-[group]:tracking-1`,xl:`h-7 min-w-7 px-1.25 text-base data-[group]:tracking-1.25`,"2xl":`h-8 min-w-8 px-1.5 text-xl data-[group]:tracking-1.5`},raised:{true:`shadow-[0_2px_0_0]`}},defaultVariants:{size:`md`,variant:`outline`,raised:!0}});Z({extendBase:e=>({shortcut:IM({size:e.size})}),slots:{root:`flex w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground`,inputRoot:`group flex items-center border-b`,inputControl:`flex w-full rounded-md bg-transparent outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50`,inputIcon:`shrink-0 opacity-50`,inputClearable:`hidden group-hover:block size-1em cursor-pointer opacity-50 hover:opacity-100`,empty:`text-center`,list:`overflow-y-auto overflow-x-hidden`,group:`overflow-hidden text-foreground`,groupLabel:`flex items-center font-medium text-muted-foreground`,item:[`relative flex cursor-default select-none items-center rounded-sm outline-none`,`data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50`],itemLabel:``,itemIcon:`shrink-0`,separator:`h-px bg-border`,shortcut:`ms-auto`},variants:{size:{xs:{root:`text-2xs`,inputRoot:`px-1.5 py-0.5`,inputControl:`h-6`,inputIcon:`me-1.5`,empty:`py-3`,list:`max-h-70 p-0.75`,groupLabel:`gap-1 p-1 text-3xs`,item:`gap-1 px-1 py-1`,separator:`-mx-1 my-0.75`},sm:{root:`text-xs`,inputRoot:`px-2 py-0.625`,inputControl:`h-7`,inputIcon:`me-1.75`,empty:`py-3.5`,list:`max-h-75 p-0.875`,groupLabel:`gap-1.25 p-1.25 text-2xs`,item:`gap-1.5 px-1.5 py-1`,separator:`-mx-1.5 my-1`},md:{root:`text-sm`,inputRoot:`px-2.5 py-0.75`,inputControl:`h-8`,inputIcon:`me-2`,empty:`py-4 text-sm`,list:`max-h-80 p-1`,groupLabel:`gap-1.75 p-1.75 text-xs`,item:`gap-2 px-2 py-1.5`,separator:`-mx-2 my-1`},lg:{root:`text-base`,inputRoot:`px-3.5 py-0.875`,inputControl:`h-9`,inputIcon:`me-2.5`,empty:`py-4.5`,list:`max-h-90 p-1.25`,groupLabel:`gap-2 p-2 text-sm`,item:`gap-2.5 px-2.5 py-1.5`,separator:`-mx-2.5 my-1.25`},xl:{root:`text-lg`,inputRoot:`px-4 py-1`,inputControl:`h-10`,inputIcon:`me-3`,empty:`py-5`,list:`max-h-100 p-1.5`,groupLabel:`gap-2.5 p-2.5 text-base`,item:`gap-3 px-3 py-2`,separator:`-mx-3 my-1.5`},"2xl":{root:`text-xl`,inputRoot:`px-4.5 py-1.25`,inputControl:`h-12`,inputIcon:`me-3.5`,empty:`py-6`,list:`max-h-115 p-1.75`,groupLabel:`gap-3 p-3 text-lg`,item:`gap-3.5 px-3.5 py-2.5`,separator:`-mx-3.5 my-2`}}},defaultVariants:{size:`md`}});var LM=z({name:`SDialogProvider`,__name:`dialog-provider`,setup(e){return eC(J(()=>KS({size:`md`}))),(e,t)=>(V(),U(L(kC)))}});Z({slots:{root:`relative w-full overflow-hidden rounded-full bg-muted`,indicator:`h-full w-full flex-1 rounded-full transition-[transform,width] duration-300 transform-gpu will-change-transform data-[state=indeterminate]:w-2/5 data-[state=indeterminate]:opacity-80`,circle:``,track:``,label:``},variants:{color:{primary:{indicator:`bg-primary`},destructive:{indicator:`bg-destructive`},success:{indicator:`bg-success`},warning:{indicator:`bg-warning`},info:{indicator:`bg-info`},carbon:{indicator:`bg-carbon`},secondary:{indicator:`bg-secondary-foreground/20`},accent:{indicator:`bg-accent-foreground/20`}},size:{xs:{root:`h-1.5`},sm:{root:`h-2`},md:{root:`h-2.5`},lg:{root:`h-3`},xl:{root:`h-3.5`},"2xl":{root:`h-4`}}},defaultVariants:{color:`primary`,size:`md`}}),Z({slots:{root:`relative inline-flex shrink-0 items-center justify-center rounded-full`,indicator:`fill-none stroke-current transition-[stroke-dasharray,stroke-dashoffset] duration-300 ease-in-out`,circle:`size-full`,track:`fill-none stroke-current text-muted`,label:`pointer-events-none absolute inset-0 flex items-center justify-center`},variants:{color:{primary:{indicator:`text-primary`},destructive:{indicator:`text-destructive`},success:{indicator:`text-success`},warning:{indicator:`text-warning`},info:{indicator:`text-info`},carbon:{indicator:`text-carbon`},secondary:{indicator:`text-secondary-foreground/40`},accent:{indicator:`text-accent-foreground/40`}},size:{xs:{root:`h-8 w-8 text-[10px]`},sm:{root:`h-10 w-10 text-xs`},md:{root:`h-12 w-12 text-sm`},lg:{root:`h-16 w-16 text-base`},xl:{root:`h-20 w-20 text-lg`},"2xl":{root:`h-24 w-24 text-xl`}}},defaultVariants:{color:`primary`,size:`md`}});var RM=Z({slots:{root:`fixed z-99999 w-0 h-0 pointer-events-none`,indicator:`fixed top-0 start-0 w-full h-0.75 bg-primary`}}),zM=z({name:`SProgressProvider`,__name:`progress-provider`,props:{direction:{},minimum:{},maximum:{},easing:{},speed:{},trickle:{type:Boolean},trickleSpeed:{}},setup(e){let t=e;return Yk(J(()=>RM())),(e,n)=>(V(),U(L(rA),j(Ea(t)),null,16))}}),BM=Z({extendBase:e=>({close:qy({size:e.size}),cancel:Ky({size:e.size,variant:`pure`}),action:Ky({size:e.size})}),slots:{toaster:[`fixed z-[--z-index] list-none outline-none transition-transform-400 ease`,`data-[x-position=right]:end-[--offset-right] data-[x-position=left]:start-[--offset-left] data-[x-position=center]:start-1/2 data-[x-position=center]:-translate-x-1/2 [&[dir=rtl]]:data-[x-position=center]:translate-x-1/2`,`data-[y-position=top]:top-[--offset-top] data-[y-position=bottom]:bottom-[--offset-bottom]`],toast:[`group absolute w-full rounded-md bg-popover text-popover-foreground border border-transparent opacity-0 outline-none touch-none`,`data-[y-position=top]:top-0 data-[y-position=top]:[--y:translateY(-100%)]`,`data-[y-position=bottom]:[--lift:-1] data-[y-position=bottom]:bottom-0`,`data-[x-position=left]:start-0 data-[x-position=right]:end-0`],wrapper:`flex flex-col items-stretch`,content:``,title:`flex items-center font-semibold`,description:`text-muted-foreground`,icon:[`group-data-[type=info]:text-info group-data-[type=success]:text-success group-data-[type=warning]:text-warning group-data-[type=error]:text-destructive`],footer:`flex justify-end items-center`,action:``,cancel:``,close:`absolute group-data-[inverted=true]:text-accent group-data-[inverted=true]:hover:bg-accent/15`},variants:{size:{xs:{toaster:`w-80 text-2xs`,toast:`p-3`,wrapper:`gap-1`,title:`gap-1.25`,footer:`gap-1.25`,close:`top-1 end-1`},sm:{toaster:`w-85 text-xs`,toast:`p-3.5`,wrapper:`gap-1.25`,title:`gap-1.5`,footer:`gap-1.5`,close:`top-1.25 end-1.25`},md:{toaster:`w-90 text-sm`,toast:`p-4`,wrapper:`gap-1.5`,title:`gap-2`,footer:`gap-2`,close:`top-1.5 end-1.5`},lg:{toaster:`w-95 text-base`,toast:`p-4.5`,wrapper:`gap-1.75`,title:`gap-2.5`,footer:`gap-2.5`,close:`top-1.75 end-1.75`},xl:{toaster:`w-100 text-lg`,toast:`p-5`,wrapper:`gap-2`,title:`gap-3`,footer:`gap-3`,close:`top-2 end-2`},"2xl":{toaster:`w-110 text-xl`,toast:`p-6`,wrapper:`gap-2.5`,title:`gap-4`,footer:`gap-4`,close:`top-2.5 end-2.5`}}},defaultVariants:{size:`md`}}),VM=`[data-soybean-toast] {
|
||
--y: translateY(100%);
|
||
--lift: 1;
|
||
--lift-amount: calc(var(--lift) * var(--gap));
|
||
z-index: var(--z-index);
|
||
transform: var(--y);
|
||
overflow-wrap: anywhere;
|
||
|
||
transition:
|
||
transform 400ms,
|
||
opacity 400ms,
|
||
height 400ms,
|
||
box-shadow 200ms;
|
||
|
||
box-shadow: 0 4px 12px hsl(var(--foreground) / 0.1);
|
||
}
|
||
|
||
[data-soybean-toast]:focus-visible {
|
||
box-shadow:
|
||
0 4px 12px hsl(var(--foreground) / 0.1),
|
||
0 0 0 2px hsl(var(--foreground) / 0.2);
|
||
}
|
||
|
||
[data-soybean-toast][data-swiping='true'] {
|
||
transform: var(--y) translateY(var(--swipe-amount-y, 0px)) translateX(var(--swipe-amount-x, 0px));
|
||
transition: none;
|
||
}
|
||
|
||
[data-soybean-toast][data-swiping='true']::before {
|
||
content: '';
|
||
position: absolute;
|
||
inset-inline: -100%;
|
||
height: 100%;
|
||
z-index: -1;
|
||
}
|
||
|
||
[data-soybean-toast][data-y-position='top'][data-swiping='true']::before {
|
||
bottom: 50%;
|
||
transform: scaleY(3) translateY(50%);
|
||
}
|
||
|
||
[data-soybean-toast][data-y-position='bottom'][data-swiping='true']::before {
|
||
top: 50%;
|
||
transform: scaleY(3) translateY(-50%);
|
||
}
|
||
|
||
[data-soybean-toast][data-swiping='false'][data-removed='true']::before {
|
||
content: '';
|
||
position: absolute;
|
||
inset: 0;
|
||
transform: scaleY(2);
|
||
}
|
||
|
||
[data-soybean-toast][data-expanded='true']::after {
|
||
content: '';
|
||
position: absolute;
|
||
inset-inline-start: 0;
|
||
height: calc(var(--gap) + 1px);
|
||
bottom: 100%;
|
||
width: 100%;
|
||
}
|
||
|
||
[data-soybean-toast][data-mounted='true'] {
|
||
--y: translateY(0);
|
||
opacity: 1;
|
||
}
|
||
|
||
[data-soybean-toast][data-expanded='false'][data-front='false'] {
|
||
--scale: var(--toasts-before) * 0.05 + 1;
|
||
--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));
|
||
height: var(--front-toast-height);
|
||
}
|
||
|
||
[data-soybean-toast][data-expanded='false'][data-front='false'] > * {
|
||
opacity: 0;
|
||
}
|
||
|
||
[data-soybean-toast][data-visible='false'] {
|
||
opacity: 0;
|
||
pointer-events: none;
|
||
}
|
||
|
||
[data-soybean-toast][data-mounted='true'][data-expanded='true'] {
|
||
--y: translateY(calc(var(--lift) * var(--offset)));
|
||
height: var(--initial-height);
|
||
}
|
||
|
||
[data-soybean-toast][data-removed='true'][data-front='true'][data-swipe-out='false'] {
|
||
--y: translateY(calc(var(--lift) * -100%));
|
||
opacity: 0;
|
||
}
|
||
|
||
[data-soybean-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-soybean-toast][data-removed='true'][data-front='false'][data-swipe-out='false'][data-expanded='false'] {
|
||
--y: translateY(40%);
|
||
opacity: 0;
|
||
transition:
|
||
transform 500ms,
|
||
opacity 200ms;
|
||
}
|
||
|
||
[data-soybean-toast][data-removed='true'][data-front='false']::before {
|
||
height: calc(var(--initial-height) + 20%);
|
||
}
|
||
|
||
[data-soybean-toast][data-swiped='true'] {
|
||
-webkit-user-select: none;
|
||
user-select: none;
|
||
}
|
||
|
||
[data-soybean-toast][data-swipe-out='true'][data-y-position='bottom'],
|
||
[data-soybean-toast][data-swipe-out='true'][data-y-position='top'] {
|
||
animation-duration: 200ms;
|
||
animation-timing-function: ease-out;
|
||
animation-fill-mode: forwards;
|
||
}
|
||
|
||
[data-soybean-toast][data-swipe-out='true'][data-swipe-direction='left'] {
|
||
animation-name: swipe-out-left;
|
||
}
|
||
|
||
[data-soybean-toast][data-swipe-out='true'][data-swipe-direction='right'] {
|
||
animation-name: swipe-out-right;
|
||
}
|
||
|
||
[data-soybean-toast][data-swipe-out='true'][data-swipe-direction='up'] {
|
||
animation-name: swipe-out-up;
|
||
}
|
||
|
||
[data-soybean-toast][data-swipe-out='true'][data-swipe-direction='down'] {
|
||
animation-name: swipe-out-down;
|
||
}
|
||
|
||
[data-soybean-toast][data-rich-color='true'][data-type='success'] {
|
||
background-color: hsl(var(--success-100));
|
||
border-color: hsl(var(--success));
|
||
}
|
||
|
||
[data-soybean-toast][data-rich-color='true'][data-type='info'] {
|
||
background-color: hsl(var(--info-100));
|
||
border-color: hsl(var(--info));
|
||
}
|
||
|
||
[data-soybean-toast][data-rich-color='true'][data-type='warning'] {
|
||
background-color: hsl(var(--warning-100));
|
||
border-color: hsl(var(--warning));
|
||
}
|
||
|
||
[data-soybean-toast][data-rich-color='true'][data-type='error'] {
|
||
background-color: hsl(var(--destructive-100));
|
||
border-color: hsl(var(--destructive));
|
||
}
|
||
|
||
[data-soybean-toast][data-inverted='true'] {
|
||
background-color: hsl(var(--carbon));
|
||
border-color: hsl(var(--carbon));
|
||
color: hsl(var(--carbon-foreground));
|
||
}
|
||
|
||
[data-soybean-toast] > * {
|
||
transition: opacity 400ms;
|
||
}
|
||
|
||
@keyframes swipe-out-left {
|
||
from {
|
||
transform: var(--y) translateX(var(--swipe-amount-x));
|
||
opacity: 1;
|
||
}
|
||
|
||
to {
|
||
transform: var(--y) translateX(calc(var(--swipe-amount-x) - 100%));
|
||
opacity: 0;
|
||
}
|
||
}
|
||
|
||
@keyframes swipe-out-right {
|
||
from {
|
||
transform: var(--y) translateX(var(--swipe-amount-x));
|
||
opacity: 1;
|
||
}
|
||
|
||
to {
|
||
transform: var(--y) translateX(calc(var(--swipe-amount-x) + 100%));
|
||
opacity: 0;
|
||
}
|
||
}
|
||
|
||
@keyframes swipe-out-up {
|
||
from {
|
||
transform: var(--y) translateY(var(--swipe-amount-y));
|
||
opacity: 1;
|
||
}
|
||
|
||
to {
|
||
transform: var(--y) translateY(calc(var(--swipe-amount-y) - 100%));
|
||
opacity: 0;
|
||
}
|
||
}
|
||
|
||
@keyframes swipe-out-down {
|
||
from {
|
||
transform: var(--y) translateY(var(--swipe-amount-y));
|
||
opacity: 1;
|
||
}
|
||
|
||
to {
|
||
transform: var(--y) translateY(calc(var(--swipe-amount-y) + 100%));
|
||
opacity: 0;
|
||
}
|
||
}
|
||
|
||
@keyframes sonner-fade-in {
|
||
0% {
|
||
opacity: 0;
|
||
transform: scale(0.8);
|
||
}
|
||
|
||
100% {
|
||
opacity: 1;
|
||
transform: scale(1);
|
||
}
|
||
}
|
||
|
||
@keyframes sonner-fade-out {
|
||
0% {
|
||
opacity: 1;
|
||
transform: scale(1);
|
||
}
|
||
|
||
100% {
|
||
opacity: 0;
|
||
transform: scale(0.8);
|
||
}
|
||
}
|
||
|
||
@media (max-width: 600px) {
|
||
[data-soybean-toaster] {
|
||
width: 100%;
|
||
inset-inline-start: var(--mobile-offset-left);
|
||
inset-inline-end: var(--mobile-offset-right);
|
||
}
|
||
|
||
[data-soybean-toaster][data-soybean-toast] {
|
||
inset-inline: 0;
|
||
width: calc(100% - var(--mobile-offset-left) * 2);
|
||
}
|
||
|
||
[data-soybean-toaster][data-x-position='left'] {
|
||
inset-inline-start: var(--mobile-offset-left);
|
||
}
|
||
|
||
[data-soybean-toaster][data-y-position='bottom'] {
|
||
bottom: var(--mobile-offset-bottom);
|
||
}
|
||
|
||
[data-soybean-toaster][data-y-position='top'] {
|
||
top: var(--mobile-offset-top);
|
||
}
|
||
|
||
[data-soybean-toaster][data-x-position='center'] {
|
||
inset-inline-start: var(--mobile-offset-left);
|
||
inset-inline-end: var(--mobile-offset-right);
|
||
transform: none;
|
||
}
|
||
}
|
||
`,HM=z({name:`SToastProvider`,__name:`toast-provider`,props:{size:{},ui:{},id:{},dir:{},hotkey:{},customAriaLabel:{},containerAriaLabel:{},position:{},defaultExpanded:{type:Boolean},duration:{},gap:{},offset:{},visibleCounts:{},swipeDirections:{},showIcon:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},icons:{},toastProps:{},wrapperProps:{},contentProps:{},titleProps:{},descriptionProps:{},iconProps:{},footerProps:{},actionProps:{},cancelProps:{},closeProps:{}},setup(e){let t=e,n=_y(t,[`size`,`ui`]),r=J(()=>BM({size:t.size},t.ui));return ty(VM,{id:`__SoybeanUI_toastStyle`}),wj(r),(e,t)=>(V(),U(L(tM),j(Ea(L(n))),{default:R(()=>[B(e.$slots,`default`)]),_:3},16))}}),UM=(e,t)=>{e.prototype.toLab=function(){return Xu(dd(this.getSource())||Zu(this.rgb))},e.prototype.toLabString=function(){return fd(this.getSource())||ud(this.rgb)},e.prototype.delta=function(t=`#FFF`){let n=t instanceof e?t:new e(t);return xu(bu(Od(this.toLab(),n.toLab())/100,3))},t.string.push([cd,`lab`]),t.object.push([ad,`lab`])},WM={inherit:`inherit`,current:`currentColor`,transparent:`transparent`,black:{hex:`#000000`,rgb:`rgb(0 0 0)`,hsl:`hsl(0 0% 0%)`,oklch:`oklch(0% 0 0)`},white:{hex:`#ffffff`,rgb:`rgb(255 255 255)`,hsl:`hsl(0 0% 100%)`,oklch:`oklch(100% 0 0)`}},GM={slate:{50:{level:50,hex:`#f8fafc`,rgb:`rgb(248 250 252)`,hsl:`hsl(210 40% 98%)`,oklch:`oklch(98% 0 248)`},100:{level:100,hex:`#f1f5f9`,rgb:`rgb(241 245 249)`,hsl:`hsl(210 40% 96.1%)`,oklch:`oklch(97% 0.01 248)`},200:{level:200,hex:`#e2e8f0`,rgb:`rgb(226 232 240)`,hsl:`hsl(214.3 31.8% 91.4%)`,oklch:`oklch(93% 0.01 256)`},300:{level:300,hex:`#cbd5e1`,rgb:`rgb(203 213 225)`,hsl:`hsl(212.7 26.8% 83.9%)`,oklch:`oklch(87% 0.02 253)`},400:{level:400,hex:`#94a3b8`,rgb:`rgb(148 163 184)`,hsl:`hsl(215 20.2% 65.1%)`,oklch:`oklch(71% 0.04 257)`},500:{level:500,hex:`#64748b`,rgb:`rgb(100 116 139)`,hsl:`hsl(215.4 16.3% 46.9%)`,oklch:`oklch(55% 0.04 257)`},600:{level:600,hex:`#475569`,rgb:`rgb(71 85 105)`,hsl:`hsl(215.3 19.3% 34.5%)`,oklch:`oklch(45% 0.04 257)`},700:{level:700,hex:`#334155`,rgb:`rgb(51 65 85)`,hsl:`hsl(215.3 25% 26.7%)`,oklch:`oklch(37% 0.04 257)`},800:{level:800,hex:`#1e293b`,rgb:`rgb(30 41 59)`,hsl:`hsl(217.2 32.6% 17.5%)`,oklch:`oklch(28% 0.04 260)`},900:{level:900,hex:`#0f172a`,rgb:`rgb(15 23 42)`,hsl:`hsl(222.2 47.4% 11.2%)`,oklch:`oklch(21% 0.04 266)`},950:{level:950,hex:`#020617`,rgb:`rgb(2 6 23)`,hsl:`hsl(222.2 84% 4.9%)`,oklch:`oklch(13% 0.04 265)`}},mist:{50:{level:50,hex:`#f9fafb`,rgb:`rgb(249 250 251)`,hsl:`hsl(189.3 20.3% 97.9%)`,oklch:`oklch(0.98 0.00 210)`},100:{level:100,hex:`#f0f4f5`,rgb:`rgb(240 244 245)`,hsl:`hsl(189.4 21.6% 95.1%)`,oklch:`oklch(0.96 0.01 210)`},200:{level:200,hex:`#dce5e6`,rgb:`rgb(220 229 230)`,hsl:`hsl(189.4 16.2% 88.4%)`,oklch:`oklch(0.92 0.01 210)`},300:{level:300,hex:`#c1cfd2`,rgb:`rgb(193 207 210)`,hsl:`hsl(189.4 15.8% 79%)`,oklch:`oklch(0.84 0.02 210)`},400:{level:400,hex:`#8da5a9`,rgb:`rgb(141 165 169)`,hsl:`hsl(189.3 14% 60.9%)`,oklch:`oklch(0.70 0.03 210)`},500:{level:500,hex:`#648085`,rgb:`rgb(100 128 133)`,hsl:`hsl(189.3 14.2% 45.7%)`,oklch:`oklch(0.58 0.03 210)`},600:{level:600,hex:`#4f676b`,rgb:`rgb(79 103 107)`,hsl:`hsl(189.3 15.1% 36.5%)`,oklch:`oklch(0.49 0.03 210)`},700:{level:700,hex:`#3d5155`,rgb:`rgb(61 81 85)`,hsl:`hsl(189.3 15.9% 28.6%)`,oklch:`oklch(0.42 0.03 210)`},800:{level:800,hex:`#2d3c3f`,rgb:`rgb(45 60 63)`,hsl:`hsl(189.3 17.2% 21.2%)`,oklch:`oklch(0.34 0.02 210)`},900:{level:900,hex:`#1e2a2c`,rgb:`rgb(30 42 44)`,hsl:`hsl(189.3 19.2% 14.6%)`,oklch:`oklch(0.28 0.02 210)`},950:{level:950,hex:`#0e1517`,rgb:`rgb(14 21 23)`,hsl:`hsl(189.3 25.3% 7.1%)`,oklch:`oklch(0.19 0.01 210)`}},gray:{50:{level:50,hex:`#f9fafb`,rgb:`rgb(249 250 251)`,hsl:`hsl(210 20% 98%)`,oklch:`oklch(98% 0 248)`},100:{level:100,hex:`#f3f4f6`,rgb:`rgb(243 244 246)`,hsl:`hsl(220 14.3% 95.9%)`,oklch:`oklch(97% 0 265)`},200:{level:200,hex:`#e5e7eb`,rgb:`rgb(229 231 235)`,hsl:`hsl(220 13% 91%)`,oklch:`oklch(93% 0.01 265)`},300:{level:300,hex:`#d1d5db`,rgb:`rgb(209 213 219)`,hsl:`hsl(216 12.2% 83.9%)`,oklch:`oklch(87% 0.01 258)`},400:{level:400,hex:`#9ca3af`,rgb:`rgb(156 163 175)`,hsl:`hsl(217.9 10.6% 64.9%)`,oklch:`oklch(71% 0.02 261)`},500:{level:500,hex:`#6b7280`,rgb:`rgb(107 114 128)`,hsl:`hsl(220 8.9% 46.1%)`,oklch:`oklch(55% 0.02 264)`},600:{level:600,hex:`#4b5563`,rgb:`rgb(75 85 99)`,hsl:`hsl(215 13.8% 34.1%)`,oklch:`oklch(45% 0.03 257)`},700:{level:700,hex:`#374151`,rgb:`rgb(55 65 81)`,hsl:`hsl(216.9 19.1% 26.7%)`,oklch:`oklch(37% 0.03 260)`},800:{level:800,hex:`#1f2937`,rgb:`rgb(31 41 55)`,hsl:`hsl(215 27.9% 16.9%)`,oklch:`oklch(28% 0.03 257)`},900:{level:900,hex:`#111827`,rgb:`rgb(17 24 39)`,hsl:`hsl(220.9 39.3% 11%)`,oklch:`oklch(21% 0.03 265)`},950:{level:950,hex:`#030712`,rgb:`rgb(3 7 18)`,hsl:`hsl(224 71.4% 4.1%)`,oklch:`oklch(13% 0.03 262)`}},zinc:{50:{level:50,hex:`#fafafa`,rgb:`rgb(250 250 250)`,hsl:`hsl(0 0% 98%)`,oklch:`oklch(99% 0 360)`},100:{level:100,hex:`#f4f4f5`,rgb:`rgb(244 244 245)`,hsl:`hsl(240 4.8% 95.9%)`,oklch:`oklch(97% 0 286)`},200:{level:200,hex:`#e4e4e7`,rgb:`rgb(228 228 231)`,hsl:`hsl(240 5.9% 90%)`,oklch:`oklch(92% 0 286)`},300:{level:300,hex:`#d4d4d8`,rgb:`rgb(212 212 216)`,hsl:`hsl(240 4.9% 83.9%)`,oklch:`oklch(87% 0.01 286)`},400:{level:400,hex:`#a1a1aa`,rgb:`rgb(161 161 170)`,hsl:`hsl(240 5% 64.9%)`,oklch:`oklch(71% 0.01 286)`},500:{level:500,hex:`#71717a`,rgb:`rgb(113 113 122)`,hsl:`hsl(240 3.8% 46.1%)`,oklch:`oklch(55% 0.01 286)`},600:{level:600,hex:`#52525b`,rgb:`rgb(82 82 91)`,hsl:`hsl(240 5.2% 33.9%)`,oklch:`oklch(44% 0.01 286)`},700:{level:700,hex:`#3f3f46`,rgb:`rgb(63 63 70)`,hsl:`hsl(240 5.3% 26.1%)`,oklch:`oklch(37% 0.01 286)`},800:{level:800,hex:`#27272a`,rgb:`rgb(39 39 42)`,hsl:`hsl(240 3.7% 15.9%)`,oklch:`oklch(27% 0.01 286)`},900:{level:900,hex:`#18181b`,rgb:`rgb(24 24 27)`,hsl:`hsl(240 5.9% 10%)`,oklch:`oklch(21% 0.01 286)`},950:{level:950,hex:`#09090b`,rgb:`rgb(9 9 11)`,hsl:`hsl(240 10% 3.9%)`,oklch:`oklch(14% 0 286)`}},neutral:{50:{level:50,hex:`#fafafa`,rgb:`rgb(250 250 250)`,hsl:`hsl(0 0% 98%)`,oklch:`oklch(99% 0 360)`},100:{level:100,hex:`#f5f5f5`,rgb:`rgb(245 245 245)`,hsl:`hsl(0 0% 96.1%)`,oklch:`oklch(97% 0 360)`},200:{level:200,hex:`#e5e5e5`,rgb:`rgb(229 229 229)`,hsl:`hsl(0 0% 89.8%)`,oklch:`oklch(92% 0 360)`},300:{level:300,hex:`#d4d4d4`,rgb:`rgb(212 212 212)`,hsl:`hsl(0 0% 83.1%)`,oklch:`oklch(87% 0 360)`},400:{level:400,hex:`#a3a3a3`,rgb:`rgb(163 163 163)`,hsl:`hsl(0 0% 63.9%)`,oklch:`oklch(72% 0 360)`},500:{level:500,hex:`#737373`,rgb:`rgb(115 115 115)`,hsl:`hsl(0 0% 45.1%)`,oklch:`oklch(56% 0 360)`},600:{level:600,hex:`#525252`,rgb:`rgb(82 82 82)`,hsl:`hsl(0 0% 32.2%)`,oklch:`oklch(44% 0 360)`},700:{level:700,hex:`#404040`,rgb:`rgb(64 64 64)`,hsl:`hsl(0 0% 25.1%)`,oklch:`oklch(37% 0 360)`},800:{level:800,hex:`#262626`,rgb:`rgb(38 38 38)`,hsl:`hsl(0 0% 14.9%)`,oklch:`oklch(27% 0 360)`},900:{level:900,hex:`#171717`,rgb:`rgb(23 23 23)`,hsl:`hsl(0 0% 9%)`,oklch:`oklch(20% 0 360)`},950:{level:950,hex:`#0a0a0a`,rgb:`rgb(10 10 10)`,hsl:`hsl(0 0% 3.9%)`,oklch:`oklch(14% 0 360)`}},stone:{50:{level:50,hex:`#fafaf9`,rgb:`rgb(250 250 249)`,hsl:`hsl(60 9.1% 97.8%)`,oklch:`oklch(98% 0 106)`},100:{level:100,hex:`#f5f5f4`,rgb:`rgb(245 245 244)`,hsl:`hsl(60 4.8% 95.9%)`,oklch:`oklch(97% 0 106)`},200:{level:200,hex:`#e7e5e4`,rgb:`rgb(231 229 228)`,hsl:`hsl(20 5.9% 90%)`,oklch:`oklch(92% 0 49)`},300:{level:300,hex:`#d6d3d1`,rgb:`rgb(214 211 209)`,hsl:`hsl(24 5.7% 82.9%)`,oklch:`oklch(87% 0 56)`},400:{level:400,hex:`#a8a29e`,rgb:`rgb(168 162 158)`,hsl:`hsl(24 5.4% 63.9%)`,oklch:`oklch(72% 0.01 56)`},500:{level:500,hex:`#78716c`,rgb:`rgb(120 113 108)`,hsl:`hsl(25 5.3% 44.7%)`,oklch:`oklch(55% 0.01 58)`},600:{level:600,hex:`#57534e`,rgb:`rgb(87 83 78)`,hsl:`hsl(33.3 5.5% 32.4%)`,oklch:`oklch(44% 0.01 74)`},700:{level:700,hex:`#44403c`,rgb:`rgb(68 64 60)`,hsl:`hsl(30 6.3% 25.1%)`,oklch:`oklch(37% 0.01 68)`},800:{level:800,hex:`#292524`,rgb:`rgb(41 37 36)`,hsl:`hsl(12 6.5% 15.1%)`,oklch:`oklch(27% 0.01 34)`},900:{level:900,hex:`#1c1917`,rgb:`rgb(28 25 23)`,hsl:`hsl(24 9.8% 10%)`,oklch:`oklch(22% 0.01 56)`},950:{level:950,hex:`#0c0a09`,rgb:`rgb(12 10 9)`,hsl:`hsl(20 14.3% 4.1%)`,oklch:`oklch(15% 0 49)`}},taupe:{50:{level:50,hex:`#fbfaf9`,rgb:`rgb(251 250 249)`,hsl:`hsl(34 21.3% 97.9%)`,oklch:`oklch(0.98 0.00 75)`},100:{level:100,hex:`#f5f3f0`,rgb:`rgb(245 243 240)`,hsl:`hsl(34 22.7% 95.1%)`,oklch:`oklch(0.96 0.01 75)`},200:{level:200,hex:`#e7e2dc`,rgb:`rgb(231 226 220)`,hsl:`hsl(34.1 18.7% 88.4%)`,oklch:`oklch(0.92 0.01 75)`},300:{level:300,hex:`#d3cbc0`,rgb:`rgb(211 203 192)`,hsl:`hsl(34.1 18.3% 79%)`,oklch:`oklch(0.84 0.02 75)`},400:{level:400,hex:`#aa9e8d`,rgb:`rgb(170 158 141)`,hsl:`hsl(34.2 14.8% 61.1%)`,oklch:`oklch(0.70 0.03 75)`},500:{level:500,hex:`#867865`,rgb:`rgb(134 120 101)`,hsl:`hsl(34.3 14.1% 46.1%)`,oklch:`oklch(0.58 0.03 75)`},600:{level:600,hex:`#6c6050`,rgb:`rgb(108 96 80)`,hsl:`hsl(34.3 14.9% 36.8%)`,oklch:`oklch(0.49 0.03 75)`},700:{level:700,hex:`#554b3e`,rgb:`rgb(85 75 62)`,hsl:`hsl(34.3 15.7% 28.9%)`,oklch:`oklch(0.42 0.03 75)`},800:{level:800,hex:`#40382d`,rgb:`rgb(64 56 45)`,hsl:`hsl(34.3 17% 21.4%)`,oklch:`oklch(0.34 0.02 75)`},900:{level:900,hex:`#2c271f`,rgb:`rgb(44 39 31)`,hsl:`hsl(34.3 17.7% 14.8%)`,oklch:`oklch(0.28 0.02 75)`},950:{level:950,hex:`#17130e`,rgb:`rgb(23 19 14)`,hsl:`hsl(34.4 24.8% 7.2%)`,oklch:`oklch(0.19 0.01 75)`}},olive:{50:{level:50,hex:`#f9faf9`,rgb:`rgb(249 250 249)`,hsl:`hsl(136.8 13.4% 97.9%)`,oklch:`oklch(0.98 0.00 155)`},100:{level:100,hex:`#f1f4f2`,rgb:`rgb(241 244 242)`,hsl:`hsl(136.9 14.2% 95.2%)`,oklch:`oklch(0.96 0.01 155)`},200:{level:200,hex:`#dee5e0`,rgb:`rgb(222 229 224)`,hsl:`hsl(137 10.6% 88.5%)`,oklch:`oklch(0.92 0.01 155)`},300:{level:300,hex:`#c4cfc8`,rgb:`rgb(196 207 200)`,hsl:`hsl(137.2 10.3% 79.2%)`,oklch:`oklch(0.84 0.02 155)`},400:{level:400,hex:`#94a599`,rgb:`rgb(148 165 153)`,hsl:`hsl(137.8 8.7% 61.4%)`,oklch:`oklch(0.70 0.03 155)`},500:{level:500,hex:`#6c8072`,rgb:`rgb(108 128 114)`,hsl:`hsl(138.4 8.6% 46.3%)`,oklch:`oklch(0.58 0.03 155)`},600:{level:600,hex:`#56675b`,rgb:`rgb(86 103 91)`,hsl:`hsl(138.4 9.1% 37%)`,oklch:`oklch(0.49 0.03 155)`},700:{level:700,hex:`#435147`,rgb:`rgb(67 81 71)`,hsl:`hsl(138.4 9.5% 29.1%)`,oklch:`oklch(0.42 0.02 155)`},800:{level:800,hex:`#313c35`,rgb:`rgb(49 60 53)`,hsl:`hsl(138.4 10.2% 21.5%)`,oklch:`oklch(0.34 0.02 155)`},900:{level:900,hex:`#222a24`,rgb:`rgb(34 42 36)`,hsl:`hsl(138.5 11.2% 14.8%)`,oklch:`oklch(0.28 0.02 155)`},950:{level:950,hex:`#101512`,rgb:`rgb(16 21 18)`,hsl:`hsl(138.4 14.2% 7.3%)`,oklch:`oklch(0.19 0.01 155)`}},mauve:{50:{level:50,hex:`#fafafb`,rgb:`rgb(250 250 251)`,hsl:`hsl(272.4 15% 98.2%)`,oklch:`oklch(0.98 0.00 310)`},100:{level:100,hex:`#f4f2f6`,rgb:`rgb(244 242 246)`,hsl:`hsl(272.4 16.1% 95.8%)`,oklch:`oklch(0.96 0.01 310)`},200:{level:200,hex:`#e5e1e8`,rgb:`rgb(229 225 232)`,hsl:`hsl(272.5 13% 89.6%)`,oklch:`oklch(0.92 0.01 310)`},300:{level:300,hex:`#d0c9d5`,rgb:`rgb(208 201 213)`,hsl:`hsl(272.6 12.6% 81.2%)`,oklch:`oklch(0.84 0.02 310)`},400:{level:400,hex:`#a69bae`,rgb:`rgb(166 155 174)`,hsl:`hsl(272.9 10.6% 64.6%)`,oklch:`oklch(0.70 0.03 310)`},500:{level:500,hex:`#81758b`,rgb:`rgb(129 117 139)`,hsl:`hsl(273.2 8.6% 50.1%)`,oklch:`oklch(0.58 0.04 310)`},600:{level:600,hex:`#675d70`,rgb:`rgb(103 93 112)`,hsl:`hsl(273.2 9.2% 40.2%)`,oklch:`oklch(0.49 0.03 310)`},700:{level:700,hex:`#524959`,rgb:`rgb(82 73 89)`,hsl:`hsl(273.3 9.7% 31.7%)`,oklch:`oklch(0.42 0.03 310)`},800:{level:800,hex:`#3d3642`,rgb:`rgb(61 54 66)`,hsl:`hsl(273.3 10.2% 23.6%)`,oklch:`oklch(0.34 0.02 310)`},900:{level:900,hex:`#2a252e`,rgb:`rgb(42 37 46)`,hsl:`hsl(273.3 10.9% 16.4%)`,oklch:`oklch(0.28 0.02 310)`},950:{level:950,hex:`#161218`,rgb:`rgb(22 18 24)`,hsl:`hsl(273.3 14.1% 8.3%)`,oklch:`oklch(0.19 0.01 310)`}},red:{50:{level:50,hex:`#fef2f2`,rgb:`rgb(254 242 242)`,hsl:`hsl(0 85.7% 97.3%)`,oklch:`oklch(97% 0.01 17)`},100:{level:100,hex:`#fee2e2`,rgb:`rgb(254 226 226)`,hsl:`hsl(0 93.3% 94.1%)`,oklch:`oklch(94% 0.03 18)`},200:{level:200,hex:`#fecaca`,rgb:`rgb(254 202 202)`,hsl:`hsl(0 96.3% 89.4%)`,oklch:`oklch(88% 0.06 18)`},300:{level:300,hex:`#fca5a5`,rgb:`rgb(252 165 165)`,hsl:`hsl(0 93.5% 81.8%)`,oklch:`oklch(81% 0.1 20)`},400:{level:400,hex:`#f87171`,rgb:`rgb(248 113 113)`,hsl:`hsl(0 90.6% 70.8%)`,oklch:`oklch(71% 0.17 22)`},500:{level:500,hex:`#ef4444`,rgb:`rgb(239 68 68)`,hsl:`hsl(0 84.2% 60.2%)`,oklch:`oklch(64% 0.21 25)`},600:{level:600,hex:`#dc2626`,rgb:`rgb(220 38 38)`,hsl:`hsl(0 72.2% 50.6%)`,oklch:`oklch(58% 0.22 27)`},700:{level:700,hex:`#b91c1c`,rgb:`rgb(185 28 28)`,hsl:`hsl(0 73.7% 41.8%)`,oklch:`oklch(51% 0.19 28)`},800:{level:800,hex:`#991b1b`,rgb:`rgb(153 27 27)`,hsl:`hsl(0 70% 35.3%)`,oklch:`oklch(44% 0.16 27)`},900:{level:900,hex:`#7f1d1d`,rgb:`rgb(127 29 29)`,hsl:`hsl(0 62.8% 30.6%)`,oklch:`oklch(40% 0.13 26)`},950:{level:950,hex:`#450a0a`,rgb:`rgb(69 10 10)`,hsl:`hsl(0 74.7% 15.5%)`,oklch:`oklch(26% 0.09 26)`}},orange:{50:{level:50,hex:`#fff7ed`,rgb:`rgb(255 247 237)`,hsl:`hsl(33.3 100% 96.5%)`,oklch:`oklch(98% 0.02 74)`},100:{level:100,hex:`#ffedd5`,rgb:`rgb(255 237 213)`,hsl:`hsl(34.3 100% 91.8%)`,oklch:`oklch(95% 0.04 75)`},200:{level:200,hex:`#fed7aa`,rgb:`rgb(254 215 170)`,hsl:`hsl(32.1 97.7% 83.1%)`,oklch:`oklch(90% 0.07 71)`},300:{level:300,hex:`#fdba74`,rgb:`rgb(253 186 116)`,hsl:`hsl(30.7 97.2% 72.4%)`,oklch:`oklch(84% 0.12 66)`},400:{level:400,hex:`#fb923c`,rgb:`rgb(251 146 60)`,hsl:`hsl(27 96% 61%)`,oklch:`oklch(76% 0.16 56)`},500:{level:500,hex:`#f97316`,rgb:`rgb(249 115 22)`,hsl:`hsl(24.6 95% 53.1%)`,oklch:`oklch(70% 0.19 48)`},600:{level:600,hex:`#ea580c`,rgb:`rgb(234 88 12)`,hsl:`hsl(20.5 90.2% 48.2%)`,oklch:`oklch(65% 0.19 41)`},700:{level:700,hex:`#c2410c`,rgb:`rgb(194 65 12)`,hsl:`hsl(17.5 88.3% 40.4%)`,oklch:`oklch(55% 0.17 38)`},800:{level:800,hex:`#9a3412`,rgb:`rgb(154 52 18)`,hsl:`hsl(15 79.1% 33.7%)`,oklch:`oklch(47% 0.14 37)`},900:{level:900,hex:`#7c2d12`,rgb:`rgb(124 45 18)`,hsl:`hsl(15.3 74.6% 27.8%)`,oklch:`oklch(41% 0.12 38)`},950:{level:950,hex:`#431407`,rgb:`rgb(67 20 7)`,hsl:`hsl(13 81.1% 14.5%)`,oklch:`oklch(27% 0.08 36)`}},amber:{50:{level:50,hex:`#fffbeb`,rgb:`rgb(255 251 235)`,hsl:`hsl(48 100% 96.1%)`,oklch:`oklch(99% 0.02 95)`},100:{level:100,hex:`#fef3c7`,rgb:`rgb(254 243 199)`,hsl:`hsl(48 96.5% 88.8%)`,oklch:`oklch(96% 0.06 96)`},200:{level:200,hex:`#fde68a`,rgb:`rgb(253 230 138)`,hsl:`hsl(48 96.6% 76.7%)`,oklch:`oklch(92% 0.12 96)`},300:{level:300,hex:`#fcd34d`,rgb:`rgb(252 211 77)`,hsl:`hsl(45.9 96.7% 64.5%)`,oklch:`oklch(88% 0.15 92)`},400:{level:400,hex:`#fbbf24`,rgb:`rgb(251 191 36)`,hsl:`hsl(43.3 96.4% 56.3%)`,oklch:`oklch(84% 0.16 84)`},500:{level:500,hex:`#f59e0b`,rgb:`rgb(245 158 11)`,hsl:`hsl(37.7 92.1% 50.2%)`,oklch:`oklch(77% 0.16 70)`},600:{level:600,hex:`#d97706`,rgb:`rgb(217 119 6)`,hsl:`hsl(32.1 94.6% 43.7%)`,oklch:`oklch(67% 0.16 58)`},700:{level:700,hex:`#b45309`,rgb:`rgb(180 83 9)`,hsl:`hsl(26 90.5% 37.1%)`,oklch:`oklch(56% 0.15 49)`},800:{level:800,hex:`#92400e`,rgb:`rgb(146 64 14)`,hsl:`hsl(22.7 82.5% 31.4%)`,oklch:`oklch(47% 0.12 46)`},900:{level:900,hex:`#78350f`,rgb:`rgb(120 53 15)`,hsl:`hsl(21.7 77.8% 26.5%)`,oklch:`oklch(41% 0.11 46)`},950:{level:950,hex:`#451a03`,rgb:`rgb(69 26 3)`,hsl:`hsl(20.9 91.7% 14.1%)`,oklch:`oklch(28% 0.07 46)`}},yellow:{50:{level:50,hex:`#fefce8`,rgb:`rgb(254 252 232)`,hsl:`hsl(54.5 91.7% 95.3%)`,oklch:`oklch(99% 0.03 102)`},100:{level:100,hex:`#fef9c3`,rgb:`rgb(254 249 195)`,hsl:`hsl(54.9 96.7% 88%)`,oklch:`oklch(97% 0.07 103)`},200:{level:200,hex:`#fef08a`,rgb:`rgb(254 240 138)`,hsl:`hsl(52.8 98.3% 76.9%)`,oklch:`oklch(95% 0.12 102)`},300:{level:300,hex:`#fde047`,rgb:`rgb(253 224 71)`,hsl:`hsl(50.4 97.8% 63.5%)`,oklch:`oklch(91% 0.17 98)`},400:{level:400,hex:`#facc15`,rgb:`rgb(250 204 21)`,hsl:`hsl(47.9 95.8% 53.1%)`,oklch:`oklch(86% 0.17 92)`},500:{level:500,hex:`#eab308`,rgb:`rgb(234 179 8)`,hsl:`hsl(45.4 93.4% 47.5%)`,oklch:`oklch(80% 0.16 86)`},600:{level:600,hex:`#ca8a04`,rgb:`rgb(202 138 4)`,hsl:`hsl(40.6 96.1% 40.4%)`,oklch:`oklch(68% 0.14 76)`},700:{level:700,hex:`#a16207`,rgb:`rgb(161 98 7)`,hsl:`hsl(35.5 91.7% 32.9%)`,oklch:`oklch(55% 0.12 66)`},800:{level:800,hex:`#854d0e`,rgb:`rgb(133 77 14)`,hsl:`hsl(31.8 81% 28.8%)`,oklch:`oklch(48% 0.1 62)`},900:{level:900,hex:`#713f12`,rgb:`rgb(113 63 18)`,hsl:`hsl(28.4 72.5% 25.7%)`,oklch:`oklch(42% 0.09 58)`},950:{level:950,hex:`#422006`,rgb:`rgb(66 32 6)`,hsl:`hsl(26 83.3% 14.1%)`,oklch:`oklch(29% 0.06 54)`}},lime:{50:{level:50,hex:`#f7fee7`,rgb:`rgb(247 254 231)`,hsl:`hsl(78.3 92% 95.1%)`,oklch:`oklch(99% 0.03 121)`},100:{level:100,hex:`#ecfccb`,rgb:`rgb(236 252 203)`,hsl:`hsl(79.6 89.1% 89.2%)`,oklch:`oklch(97% 0.07 122)`},200:{level:200,hex:`#d9f99d`,rgb:`rgb(217 249 157)`,hsl:`hsl(80.9 88.5% 79.6%)`,oklch:`oklch(94% 0.12 124)`},300:{level:300,hex:`#bef264`,rgb:`rgb(190 242 100)`,hsl:`hsl(82 84.5% 67.1%)`,oklch:`oklch(90% 0.18 127)`},400:{level:400,hex:`#a3e635`,rgb:`rgb(163 230 53)`,hsl:`hsl(82.7 78% 55.5%)`,oklch:`oklch(85% 0.21 129)`},500:{level:500,hex:`#84cc16`,rgb:`rgb(132 204 22)`,hsl:`hsl(83.7 80.5% 44.3%)`,oklch:`oklch(77% 0.2 131)`},600:{level:600,hex:`#65a30d`,rgb:`rgb(101 163 13)`,hsl:`hsl(84.8 85.2% 34.5%)`,oklch:`oklch(65% 0.18 132)`},700:{level:700,hex:`#4d7c0f`,rgb:`rgb(77 124 15)`,hsl:`hsl(85.9 78.4% 27.3%)`,oklch:`oklch(53% 0.14 132)`},800:{level:800,hex:`#3f6212`,rgb:`rgb(63 98 18)`,hsl:`hsl(86.3 69% 22.7%)`,oklch:`oklch(45% 0.11 131)`},900:{level:900,hex:`#365314`,rgb:`rgb(54 83 20)`,hsl:`hsl(87.6 61.2% 20.2%)`,oklch:`oklch(41% 0.1 131)`},950:{level:950,hex:`#1a2e05`,rgb:`rgb(26 46 5)`,hsl:`hsl(89.3 80.4% 10%)`,oklch:`oklch(27% 0.07 132)`}},green:{50:{level:50,hex:`#f0fdf4`,rgb:`rgb(240 253 244)`,hsl:`hsl(138.5 76.5% 96.7%)`,oklch:`oklch(98% 0.02 156)`},100:{level:100,hex:`#dcfce7`,rgb:`rgb(220 252 231)`,hsl:`hsl(140.6 84.2% 92.5%)`,oklch:`oklch(96% 0.04 157)`},200:{level:200,hex:`#bbf7d0`,rgb:`rgb(187 247 208)`,hsl:`hsl(141 78.9% 85.1%)`,oklch:`oklch(93% 0.08 156)`},300:{level:300,hex:`#86efac`,rgb:`rgb(134 239 172)`,hsl:`hsl(141.7 76.6% 73.1%)`,oklch:`oklch(87% 0.14 154)`},400:{level:400,hex:`#4ade80`,rgb:`rgb(74 222 128)`,hsl:`hsl(141.9 69.2% 58%)`,oklch:`oklch(80% 0.18 152)`},500:{level:500,hex:`#22c55e`,rgb:`rgb(34 197 94)`,hsl:`hsl(142.1 70.6% 45.3%)`,oklch:`oklch(72% 0.19 150)`},600:{level:600,hex:`#16a34a`,rgb:`rgb(22 163 74)`,hsl:`hsl(142.1 76.2% 36.3%)`,oklch:`oklch(63% 0.17 149)`},700:{level:700,hex:`#15803d`,rgb:`rgb(21 128 61)`,hsl:`hsl(142.4 71.8% 29.2%)`,oklch:`oklch(53% 0.14 150)`},800:{level:800,hex:`#166534`,rgb:`rgb(22 101 52)`,hsl:`hsl(142.8 64.2% 24.1%)`,oklch:`oklch(45% 0.11 151)`},900:{level:900,hex:`#14532d`,rgb:`rgb(20 83 45)`,hsl:`hsl(143.8 61.2% 20.2%)`,oklch:`oklch(39% 0.09 153)`},950:{level:950,hex:`#052e16`,rgb:`rgb(5 46 22)`,hsl:`hsl(144.9 80.4% 10%)`,oklch:`oklch(27% 0.06 153)`}},emerald:{50:{level:50,hex:`#ecfdf5`,rgb:`rgb(236 253 245)`,hsl:`hsl(151.8 81% 95.9%)`,oklch:`oklch(98% 0.02 166)`},100:{level:100,hex:`#d1fae5`,rgb:`rgb(209 250 229)`,hsl:`hsl(149.3 80.4% 90%)`,oklch:`oklch(95% 0.05 163)`},200:{level:200,hex:`#a7f3d0`,rgb:`rgb(167 243 208)`,hsl:`hsl(152.4 76% 80.4%)`,oklch:`oklch(90% 0.09 164)`},300:{level:300,hex:`#6ee7b7`,rgb:`rgb(110 231 183)`,hsl:`hsl(156.2 71.6% 66.9%)`,oklch:`oklch(85% 0.13 165)`},400:{level:400,hex:`#34d399`,rgb:`rgb(52 211 153)`,hsl:`hsl(158.1 64.4% 51.6%)`,oklch:`oklch(77% 0.15 163)`},500:{level:500,hex:`#10b981`,rgb:`rgb(16 185 129)`,hsl:`hsl(160.1 84.1% 39.4%)`,oklch:`oklch(70% 0.15 162)`},600:{level:600,hex:`#059669`,rgb:`rgb(5 150 105)`,hsl:`hsl(161.4 93.5% 30.4%)`,oklch:`oklch(60% 0.13 163)`},700:{level:700,hex:`#047857`,rgb:`rgb(4 120 87)`,hsl:`hsl(162.9 93.5% 24.3%)`,oklch:`oklch(51% 0.1 166)`},800:{level:800,hex:`#065f46`,rgb:`rgb(6 95 70)`,hsl:`hsl(163.1 88.1% 19.8%)`,oklch:`oklch(43% 0.09 167)`},900:{level:900,hex:`#064e3b`,rgb:`rgb(6 78 59)`,hsl:`hsl(164.2 85.7% 16.5%)`,oklch:`oklch(38% 0.07 169)`},950:{level:950,hex:`#022c22`,rgb:`rgb(2 44 34)`,hsl:`hsl(165.7 91.3% 9%)`,oklch:`oklch(26% 0.05 173)`}},teal:{50:{level:50,hex:`#f0fdfa`,rgb:`rgb(240 253 250)`,hsl:`hsl(166.2 76.5% 96.7%)`,oklch:`oklch(98% 0.01 181)`},100:{level:100,hex:`#ccfbf1`,rgb:`rgb(204 251 241)`,hsl:`hsl(167.2 85.5% 89.2%)`,oklch:`oklch(95% 0.05 181)`},200:{level:200,hex:`#99f6e4`,rgb:`rgb(153 246 228)`,hsl:`hsl(168.4 83.8% 78.2%)`,oklch:`oklch(91% 0.09 180)`},300:{level:300,hex:`#5eead4`,rgb:`rgb(94 234 212)`,hsl:`hsl(170.6 76.9% 64.3%)`,oklch:`oklch(85% 0.13 181)`},400:{level:400,hex:`#2dd4bf`,rgb:`rgb(45 212 191)`,hsl:`hsl(172.5 66% 50.4%)`,oklch:`oklch(78% 0.13 182)`},500:{level:500,hex:`#14b8a6`,rgb:`rgb(20 184 166)`,hsl:`hsl(173.4 80.4% 40%)`,oklch:`oklch(70% 0.12 183)`},600:{level:600,hex:`#0d9488`,rgb:`rgb(13 148 136)`,hsl:`hsl(174.7 83.9% 31.6%)`,oklch:`oklch(60% 0.1 185)`},700:{level:700,hex:`#0f766e`,rgb:`rgb(15 118 110)`,hsl:`hsl(175.3 77.4% 26.1%)`,oklch:`oklch(51% 0.09 186)`},800:{level:800,hex:`#115e59`,rgb:`rgb(17 94 89)`,hsl:`hsl(176.1 69.4% 21.8%)`,oklch:`oklch(44% 0.07 188)`},900:{level:900,hex:`#134e4a`,rgb:`rgb(19 78 74)`,hsl:`hsl(175.9 60.8% 19%)`,oklch:`oklch(39% 0.06 188)`},950:{level:950,hex:`#042f2e`,rgb:`rgb(4 47 46)`,hsl:`hsl(178.6 84.3% 10%)`,oklch:`oklch(28% 0.04 193)`}},cyan:{50:{level:50,hex:`#ecfeff`,rgb:`rgb(236 254 255)`,hsl:`hsl(183.2 100% 96.3%)`,oklch:`oklch(98% 0.02 201)`},100:{level:100,hex:`#cffafe`,rgb:`rgb(207 250 254)`,hsl:`hsl(185.1 95.9% 90.4%)`,oklch:`oklch(96% 0.04 203)`},200:{level:200,hex:`#a5f3fc`,rgb:`rgb(165 243 252)`,hsl:`hsl(186.2 93.5% 81.8%)`,oklch:`oklch(92% 0.08 205)`},300:{level:300,hex:`#67e8f9`,rgb:`rgb(103 232 249)`,hsl:`hsl(187 92.4% 69%)`,oklch:`oklch(87% 0.12 207)`},400:{level:400,hex:`#22d3ee`,rgb:`rgb(34 211 238)`,hsl:`hsl(187.9 85.7% 53.3%)`,oklch:`oklch(80% 0.13 212)`},500:{level:500,hex:`#06b6d4`,rgb:`rgb(6 182 212)`,hsl:`hsl(188.7 94.5% 42.7%)`,oklch:`oklch(71% 0.13 215)`},600:{level:600,hex:`#0891b2`,rgb:`rgb(8 145 178)`,hsl:`hsl(191.6 91.4% 36.5%)`,oklch:`oklch(61% 0.11 222)`},700:{level:700,hex:`#0e7490`,rgb:`rgb(14 116 144)`,hsl:`hsl(192.9 82.3% 31%)`,oklch:`oklch(52% 0.09 223)`},800:{level:800,hex:`#155e75`,rgb:`rgb(21 94 117)`,hsl:`hsl(194.4 69.6% 27.1%)`,oklch:`oklch(45% 0.08 224)`},900:{level:900,hex:`#164e63`,rgb:`rgb(22 78 99)`,hsl:`hsl(196.4 63.6% 23.7%)`,oklch:`oklch(40% 0.07 227)`},950:{level:950,hex:`#083344`,rgb:`rgb(8 51 68)`,hsl:`hsl(197 78.9% 14.9%)`,oklch:`oklch(30% 0.05 230)`}},sky:{50:{level:50,hex:`#f0f9ff`,rgb:`rgb(240 249 255)`,hsl:`hsl(204 100% 97.1%)`,oklch:`oklch(98% 0.01 237)`},100:{level:100,hex:`#e0f2fe`,rgb:`rgb(224 242 254)`,hsl:`hsl(204 93.8% 93.7%)`,oklch:`oklch(95% 0.03 237)`},200:{level:200,hex:`#bae6fd`,rgb:`rgb(186 230 253)`,hsl:`hsl(200.6 94.4% 86.1%)`,oklch:`oklch(90% 0.06 231)`},300:{level:300,hex:`#7dd3fc`,rgb:`rgb(125 211 252)`,hsl:`hsl(199.4 95.5% 73.9%)`,oklch:`oklch(83% 0.1 230)`},400:{level:400,hex:`#38bdf8`,rgb:`rgb(56 189 248)`,hsl:`hsl(198.4 93.2% 59.6%)`,oklch:`oklch(75% 0.14 233)`},500:{level:500,hex:`#0ea5e9`,rgb:`rgb(14 165 233)`,hsl:`hsl(198.6 88.7% 48.4%)`,oklch:`oklch(68% 0.15 237)`},600:{level:600,hex:`#0284c7`,rgb:`rgb(2 132 199)`,hsl:`hsl(200.4 98% 39.4%)`,oklch:`oklch(59% 0.14 242)`},700:{level:700,hex:`#0369a1`,rgb:`rgb(3 105 161)`,hsl:`hsl(201.3 96.3% 32.2%)`,oklch:`oklch(50% 0.12 243)`},800:{level:800,hex:`#075985`,rgb:`rgb(7 89 133)`,hsl:`hsl(201 90% 27.5%)`,oklch:`oklch(44% 0.1 241)`},900:{level:900,hex:`#0c4a6e`,rgb:`rgb(12 74 110)`,hsl:`hsl(202 80.3% 23.9%)`,oklch:`oklch(39% 0.08 241)`},950:{level:950,hex:`#082f49`,rgb:`rgb(8 47 73)`,hsl:`hsl(204 80.2% 15.9%)`,oklch:`oklch(29% 0.06 243)`}},blue:{50:{level:50,hex:`#eff6ff`,rgb:`rgb(239 246 255)`,hsl:`hsl(213.8 100% 96.9%)`,oklch:`oklch(97% 0.01 255)`},100:{level:100,hex:`#dbeafe`,rgb:`rgb(219 234 254)`,hsl:`hsl(214.3 94.6% 92.7%)`,oklch:`oklch(93% 0.03 256)`},200:{level:200,hex:`#bfdbfe`,rgb:`rgb(191 219 254)`,hsl:`hsl(213.3 96.9% 87.3%)`,oklch:`oklch(88% 0.06 254)`},300:{level:300,hex:`#93c5fd`,rgb:`rgb(147 197 253)`,hsl:`hsl(211.7 96.4% 78.4%)`,oklch:`oklch(81% 0.1 252)`},400:{level:400,hex:`#60a5fa`,rgb:`rgb(96 165 250)`,hsl:`hsl(213.1 93.9% 67.8%)`,oklch:`oklch(71% 0.14 255)`},500:{level:500,hex:`#3b82f6`,rgb:`rgb(59 130 246)`,hsl:`hsl(217.2 91.2% 59.8%)`,oklch:`oklch(62% 0.19 260)`},600:{level:600,hex:`#2563eb`,rgb:`rgb(37 99 235)`,hsl:`hsl(221.2 83.2% 53.3%)`,oklch:`oklch(55% 0.22 263)`},700:{level:700,hex:`#1d4ed8`,rgb:`rgb(29 78 216)`,hsl:`hsl(224.3 76.3% 48%)`,oklch:`oklch(49% 0.22 264)`},800:{level:800,hex:`#1e40af`,rgb:`rgb(30 64 175)`,hsl:`hsl(225.9 70.7% 40.2%)`,oklch:`oklch(42% 0.18 266)`},900:{level:900,hex:`#1e3a8a`,rgb:`rgb(30 58 138)`,hsl:`hsl(224.4 64.3% 32.9%)`,oklch:`oklch(38% 0.14 266)`},950:{level:950,hex:`#172554`,rgb:`rgb(23 37 84)`,hsl:`hsl(226.2 57% 21%)`,oklch:`oklch(28% 0.09 268)`}},indigo:{50:{level:50,hex:`#eef2ff`,rgb:`rgb(238 242 255)`,hsl:`hsl(225.9 100% 96.7%)`,oklch:`oklch(96% 0.02 272)`},100:{level:100,hex:`#e0e7ff`,rgb:`rgb(224 231 255)`,hsl:`hsl(226.5 100% 93.9%)`,oklch:`oklch(93% 0.03 273)`},200:{level:200,hex:`#c7d2fe`,rgb:`rgb(199 210 254)`,hsl:`hsl(228 96.5% 88.8%)`,oklch:`oklch(87% 0.06 274)`},300:{level:300,hex:`#a5b4fc`,rgb:`rgb(165 180 252)`,hsl:`hsl(229.7 93.5% 81.8%)`,oklch:`oklch(79% 0.1 275)`},400:{level:400,hex:`#818cf8`,rgb:`rgb(129 140 248)`,hsl:`hsl(234.5 89.5% 73.9%)`,oklch:`oklch(68% 0.16 277)`},500:{level:500,hex:`#6366f1`,rgb:`rgb(99 102 241)`,hsl:`hsl(238.7 83.5% 66.7%)`,oklch:`oklch(59% 0.2 277)`},600:{level:600,hex:`#4f46e5`,rgb:`rgb(79 70 229)`,hsl:`hsl(243.4 75.4% 58.6%)`,oklch:`oklch(51% 0.23 277)`},700:{level:700,hex:`#4338ca`,rgb:`rgb(67 56 202)`,hsl:`hsl(244.5 57.9% 50.6%)`,oklch:`oklch(46% 0.21 277)`},800:{level:800,hex:`#3730a3`,rgb:`rgb(55 48 163)`,hsl:`hsl(243.7 54.5% 41.4%)`,oklch:`oklch(40% 0.18 277)`},900:{level:900,hex:`#312e81`,rgb:`rgb(49 46 129)`,hsl:`hsl(242.2 47.4% 34.3%)`,oklch:`oklch(36% 0.14 279)`},950:{level:950,hex:`#1e1b4b`,rgb:`rgb(30 27 75)`,hsl:`hsl(243.8 47.1% 20%)`,oklch:`oklch(26% 0.09 281)`}},violet:{50:{level:50,hex:`#f5f3ff`,rgb:`rgb(245 243 255)`,hsl:`hsl(250 100% 97.6%)`,oklch:`oklch(97% 0.02 294)`},100:{level:100,hex:`#ede9fe`,rgb:`rgb(237 233 254)`,hsl:`hsl(251.4 91.3% 95.5%)`,oklch:`oklch(94% 0.03 295)`},200:{level:200,hex:`#ddd6fe`,rgb:`rgb(221 214 254)`,hsl:`hsl(250.5 95.2% 91.8%)`,oklch:`oklch(89% 0.05 293)`},300:{level:300,hex:`#c4b5fd`,rgb:`rgb(196 181 253)`,hsl:`hsl(252.5 94.7% 85.1%)`,oklch:`oklch(81% 0.1 294)`},400:{level:400,hex:`#a78bfa`,rgb:`rgb(167 139 250)`,hsl:`hsl(255.1 91.7% 76.3%)`,oklch:`oklch(71% 0.16 294)`},500:{level:500,hex:`#8b5cf6`,rgb:`rgb(139 92 246)`,hsl:`hsl(258.3 89.5% 66.3%)`,oklch:`oklch(61% 0.22 293)`},600:{level:600,hex:`#7c3aed`,rgb:`rgb(124 58 237)`,hsl:`hsl(262.1 83.3% 57.8%)`,oklch:`oklch(54% 0.25 293)`},700:{level:700,hex:`#6d28d9`,rgb:`rgb(109 40 217)`,hsl:`hsl(263.4 70% 50.4%)`,oklch:`oklch(49% 0.24 293)`},800:{level:800,hex:`#5b21b6`,rgb:`rgb(91 33 182)`,hsl:`hsl(263.4 69.3% 42.2%)`,oklch:`oklch(43% 0.21 293)`},900:{level:900,hex:`#4c1d95`,rgb:`rgb(76 29 149)`,hsl:`hsl(263.5 67.4% 34.9%)`,oklch:`oklch(38% 0.18 294)`},950:{level:950,hex:`#1e1b4b`,rgb:`rgb(46 16 101)`,hsl:`hsl(261.2 72.6% 22.9%)`,oklch:`oklch(28% 0.14 291)`}},purple:{50:{level:50,hex:`#faf5ff`,rgb:`rgb(250 245 255)`,hsl:`hsl(270 100% 98%)`,oklch:`oklch(98% 0.01 308)`},100:{level:100,hex:`#f3e8ff`,rgb:`rgb(243 232 255)`,hsl:`hsl(268.7 100% 95.5%)`,oklch:`oklch(95% 0.03 307)`},200:{level:200,hex:`#e9d5ff`,rgb:`rgb(233 213 255)`,hsl:`hsl(268.6 100% 91.8%)`,oklch:`oklch(90% 0.06 307)`},300:{level:300,hex:`#d8b4fe`,rgb:`rgb(216 180 254)`,hsl:`hsl(269.2 97.4% 85.1%)`,oklch:`oklch(83% 0.11 306)`},400:{level:400,hex:`#c084fc`,rgb:`rgb(192 132 252)`,hsl:`hsl(270 95.2% 75.3%)`,oklch:`oklch(72% 0.18 306)`},500:{level:500,hex:`#a855f7`,rgb:`rgb(168 85 247)`,hsl:`hsl(270.7 91% 65.1%)`,oklch:`oklch(63% 0.23 304)`},600:{level:600,hex:`#9333ea`,rgb:`rgb(147 51 234)`,hsl:`hsl(271.5 81.3% 55.9%)`,oklch:`oklch(56% 0.25 302)`},700:{level:700,hex:`#7e22ce`,rgb:`rgb(126 34 206)`,hsl:`hsl(272.1 71.7% 47.1%)`,oklch:`oklch(50% 0.24 302)`},800:{level:800,hex:`#6b21a8`,rgb:`rgb(107 33 168)`,hsl:`hsl(272.9 67.2% 39.4%)`,oklch:`oklch(44% 0.2 304)`},900:{level:900,hex:`#581c87`,rgb:`rgb(88 28 135)`,hsl:`hsl(273.6 65.6% 32%)`,oklch:`oklch(38% 0.17 305)`},950:{level:950,hex:`#3b0764`,rgb:`rgb(59 7 100)`,hsl:`hsl(273.5 86.9% 21%)`,oklch:`oklch(29% 0.14 303)`}},fuchsia:{50:{level:50,hex:`#fdf4ff`,rgb:`rgb(253 244 255)`,hsl:`hsl(289.1 100% 97.8%)`,oklch:`oklch(98% 0.02 320)`},100:{level:100,hex:`#fae8ff`,rgb:`rgb(250 232 255)`,hsl:`hsl(287 100% 95.5%)`,oklch:`oklch(95% 0.04 319)`},200:{level:200,hex:`#f5d0fe`,rgb:`rgb(245 208 254)`,hsl:`hsl(288.3 95.8% 90.6%)`,oklch:`oklch(90% 0.07 320)`},300:{level:300,hex:`#f0abfc`,rgb:`rgb(240 171 252)`,hsl:`hsl(291.1 93.1% 82.9%)`,oklch:`oklch(83% 0.13 321)`},400:{level:400,hex:`#e879f9`,rgb:`rgb(232 121 249)`,hsl:`hsl(292 91.4% 72.5%)`,oklch:`oklch(75% 0.21 322)`},500:{level:500,hex:`#d946ef`,rgb:`rgb(217 70 239)`,hsl:`hsl(292.2 84.1% 60.6%)`,oklch:`oklch(67% 0.26 322)`},600:{level:600,hex:`#c026d3`,rgb:`rgb(192 38 211)`,hsl:`hsl(293.4 69.5% 48.8%)`,oklch:`oklch(59% 0.26 323)`},700:{level:700,hex:`#a21caf`,rgb:`rgb(162 28 175)`,hsl:`hsl(294.7 72.4% 39.8%)`,oklch:`oklch(52% 0.23 324)`},800:{level:800,hex:`#86198f`,rgb:`rgb(134 25 143)`,hsl:`hsl(295.4 70.2% 32.9%)`,oklch:`oklch(45% 0.19 325)`},900:{level:900,hex:`#701a75`,rgb:`rgb(112 26 117)`,hsl:`hsl(296.7 63.6% 28%)`,oklch:`oklch(40% 0.16 326)`},950:{level:950,hex:`#4a044e`,rgb:`rgb(74 4 78)`,hsl:`hsl(296.8 90.2% 16.1%)`,oklch:`oklch(29% 0.13 326)`}},pink:{50:{level:50,hex:`#fdf2f8`,rgb:`rgb(253 242 248)`,hsl:`hsl(327.3 73.3% 97.1%)`,oklch:`oklch(97% 0.01 343)`},100:{level:100,hex:`#fce7f3`,rgb:`rgb(252 231 243)`,hsl:`hsl(325.7 77.8% 94.7%)`,oklch:`oklch(95% 0.03 342)`},200:{level:200,hex:`#fbcfe8`,rgb:`rgb(251 207 232)`,hsl:`hsl(325.9 84.6% 89.8%)`,oklch:`oklch(90% 0.06 343)`},300:{level:300,hex:`#f9a8d4`,rgb:`rgb(249 168 212)`,hsl:`hsl(327.4 87.1% 81.8%)`,oklch:`oklch(82% 0.11 346)`},400:{level:400,hex:`#f472b6`,rgb:`rgb(244 114 182)`,hsl:`hsl(328.6 85.5% 70.2%)`,oklch:`oklch(73% 0.18 350)`},500:{level:500,hex:`#ec4899`,rgb:`rgb(236 72 153)`,hsl:`hsl(330.4 81.2% 60.4%)`,oklch:`oklch(66% 0.21 354)`},600:{level:600,hex:`#db2777`,rgb:`rgb(219 39 119)`,hsl:`hsl(333.3 71.4% 50.6%)`,oklch:`oklch(59% 0.22 1)`},700:{level:700,hex:`#be185d`,rgb:`rgb(190 24 93)`,hsl:`hsl(335.1 77.6% 42%)`,oklch:`oklch(52% 0.2 4)`},800:{level:800,hex:`#9d174d`,rgb:`rgb(157 23 77)`,hsl:`hsl(335.8 74.4% 35.3%)`,oklch:`oklch(46% 0.17 4)`},900:{level:900,hex:`#831843`,rgb:`rgb(131 24 67)`,hsl:`hsl(335.9 69% 30.4%)`,oklch:`oklch(41% 0.14 2)`},950:{level:950,hex:`#500724`,rgb:`rgb(80 7 36)`,hsl:`hsl(336.2 83.9% 17.1%)`,oklch:`oklch(28% 0.1 4)`}},rose:{50:{level:50,hex:`#fff1f2`,rgb:`rgb(255 241 242)`,hsl:`hsl(355.7 100% 97.3%)`,oklch:`oklch(97% 0.02 12)`},100:{level:100,hex:`#ffe4e6`,rgb:`rgb(255 228 230)`,hsl:`hsl(355.6 100% 94.7%)`,oklch:`oklch(94% 0.03 13)`},200:{level:200,hex:`#fecdd3`,rgb:`rgb(254 205 211)`,hsl:`hsl(352.7 96.1% 90%)`,oklch:`oklch(89% 0.06 10)`},300:{level:300,hex:`#fda4af`,rgb:`rgb(253 164 175)`,hsl:`hsl(352.6 95.7% 81.8%)`,oklch:`oklch(81% 0.11 12)`},400:{level:400,hex:`#fb7185`,rgb:`rgb(251 113 133)`,hsl:`hsl(351.3 94.5% 71.4%)`,oklch:`oklch(72% 0.17 13)`},500:{level:500,hex:`#f43f5e`,rgb:`rgb(244 63 94)`,hsl:`hsl(349.7 89.2% 60.2%)`,oklch:`oklch(65% 0.22 16)`},600:{level:600,hex:`#e11d48`,rgb:`rgb(225 29 72)`,hsl:`hsl(346.8 77.2% 49.8%)`,oklch:`oklch(59% 0.22 18)`},700:{level:700,hex:`#be123c`,rgb:`rgb(190 18 60)`,hsl:`hsl(345.3 82.7% 40.8%)`,oklch:`oklch(51% 0.2 17)`},800:{level:800,hex:`#9f1239`,rgb:`rgb(159 18 57)`,hsl:`hsl(343.4 79.7% 34.7%)`,oklch:`oklch(45% 0.17 14)`},900:{level:900,hex:`#881337`,rgb:`rgb(136 19 55)`,hsl:`hsl(341.5 75.5% 30.4%)`,oklch:`oklch(41% 0.15 10)`},950:{level:950,hex:`#4c0519`,rgb:`rgb(76 5 25)`,hsl:`hsl(343.1 87.7% 15.9%)`,oklch:`oklch(27% 0.1 12)`}}},KM={50:{l:.08,c:.065},100:{l:.18,c:.15},200:{l:.313,c:.276},300:{l:.507,c:.491},400:{l:.777,c:.771},500:{l:1,c:1},600:{l:.876,c:1.145},700:{l:.783,c:1.136},800:{l:.681,c:.93},900:{l:.608,c:.682},950:{l:.453,c:.425}},qM={50:.985,100:.968,200:.924,300:.87,400:.707},JM={600:.802*.556,700:.672*.556,800:.495*.556,900:.379*.556,950:.25*.556};function YM(e,t=`oklch`){let n=$d(e);if(!n.isValid())throw Error(`Invalid color value`);let{l:r,c:i,h:a,alpha:o}=n.toOklch(),s={},c=i<.05,l=a>330||a<30;return kd(KM).forEach(e=>{let n=r,u=i,d=a,f=Number(e),p=KM[f];f<500&&(c?n=qM[f]:(n=1-(1-r)*p.l,d=(a+XM(a,p.l)+360)%360),u=i*p.c),f>500&&(c?(n=JM[f],l&&a>330&&(d=(a+(1-p.l)*10)%360)):(n=r*p.l,d=(a+ZM(a,p.l)+360)%360),u=i*p.c),u=Math.max(0,u),s[f]=QM({l:n,c:u,h:d,alpha:o},t)}),s}function XM(e,t){let n=(1-t)*8;return e>=0&&e<60||e>=330?-n:e>=60&&e<150?n:e>=150&&e<210?n*.7:e>=210&&e<270?-n:n*.5}function ZM(e,t){let n=(1-t)*10;return e>=0&&e<60||e>=330?n*.3:e>=60&&e<150?-n:e>=150&&e<210?n*.3:e>=210&&e<270?n*.6:-n*.2}function QM(e,t=`oklch`){let n=$d(e),r=e;return t===`hex`?r=n.toHex():t===`rgb`?r=n.toRgb():t===`rgbString`?r=n.toRgbString():t===`oklch`?r=n.toOklch():t===`oklchString`?r=n.toOklchString():t===`hsl`?r=n.toHsl():t===`hslString`&&(r=n.toHslString()),r}nf([UM]);function $M(e){return Object.keys(e)}function eN(e,...t){let n={...e};return t.forEach(e=>{Object.keys(e).forEach(t=>{let r=e[t];r!==void 0&&(n[t]=r)})}),n}function tN(e){return e===`class`||e===`media`?mN[e]:e}function nN(e){return!e.startsWith(`hsl(`)&&!e.startsWith(`oklch(`)}function rN(e){return e.replace(/hsl\(/g,``).replace(/\)/g,``)}var iN=e=>[`inherit`,`currentColor`,`transparent`].includes(e);function aN(e,t){if(iN(e))return e;if(e===`black`)return WM.black[t];if(e===`white`)return WM.white[t];if(nN(e)){let[n,r]=e.split(`.`);return GM[n][r][t]}let n=e;return t===`hsl`&&e.startsWith(`oklch(`)&&(n=$d(e).toHslString()),t===`oklch`&&e.startsWith(`hsl(`)&&(n=$d(e).toOklchString()),n}function oN(e){return e?Object.keys(_N).includes(e)?`${_N[e]}px`:e:`${_N[pN.size]}px`}function sN(e){return e?Object.keys(vN).includes(e)?vN[e]:e:vN[pN.radius]}var cN=`--size`,lN=`--radius`,uN={background:`--background`,foreground:`--foreground`,card:`--card`,cardForeground:`--card-foreground`,popover:`--popover`,popoverForeground:`--popover-foreground`,primary:`--primary`,primaryForeground:`--primary-foreground`,secondary:`--secondary`,secondaryForeground:`--secondary-foreground`,muted:`--muted`,mutedForeground:`--muted-foreground`,accent:`--accent`,accentForeground:`--accent-foreground`,destructive:`--destructive`,destructiveForeground:`--destructive-foreground`,border:`--border`,input:`--input`,ring:`--ring`,success:`--success`,successForeground:`--success-foreground`,warning:`--warning`,warningForeground:`--warning-foreground`,info:`--info`,infoForeground:`--info-foreground`,carbon:`--carbon`,carbonForeground:`--carbon-foreground`,sidebar:`--sidebar`,sidebarForeground:`--sidebar-foreground`,sidebarPrimary:`--sidebar-primary`,sidebarPrimaryForeground:`--sidebar-primary-foreground`,sidebarAccent:`--sidebar-accent`,sidebarAccentForeground:`--sidebar-accent-foreground`,sidebarBorder:`--sidebar-border`,sidebarRing:`--sidebar-ring`,chart1:`--chart-1`,chart2:`--chart-2`,chart3:`--chart-3`,chart4:`--chart-4`,chart5:`--chart-5`},dN={borderAlpha:`--border-alpha`,inputAlpha:`--input-alpha`,sidebarBorderAlpha:`--sidebar-border-alpha`},fN={bg:`--menu-bg`,bgAlpha:`--menu-bg-alpha`,dropBlur:`--menu-drop-blur`,backdropSaturate:`--menu-backdrop-saturate`,itemAccentBackground:`--menu-item-accent-background`,itemAccentForeground:`--menu-item-accent-foreground`},pN={size:`md`,radius:`md`,base:`zinc`,primary:`indigo`,feedback:`classic`,menuColor:`default`,menuAccent:`subtle`,styleTarget:`:root`,darkSelector:`class`,format:`hsl`},mN={class:`.dark`,media:`@media (prefers-color-scheme: dark)`},hN=`oklch(100% 0 0 / 0.1)`,gN=`oklch(100% 0 0 / 0.15)`,_N={xs:12,sm:14,md:16,lg:18,xl:20,"2xl":24};$M(_N);var vN={"2xs":`0.25rem`,xs:`0.375rem`,sm:`0.5rem`,md:`0.625rem`,lg:`0.75rem`,xl:`0.875rem`,"2xl":`1rem`};$M(vN);var yN={default:{[fN.bg]:`var(${uN.popover})`,[fN.bgAlpha]:`1`,[fN.dropBlur]:`0px`,[fN.backdropSaturate]:`1`},"default-translucent":{[fN.bg]:`var(${uN.popover})`,[fN.bgAlpha]:`0.7`,[fN.dropBlur]:`40px`,[fN.backdropSaturate]:`1.5`},inverted:{[fN.bg]:`var(${uN.card})`,[fN.bgAlpha]:`1`,[fN.dropBlur]:`0px`,[fN.backdropSaturate]:`1`},"inverted-translucent":{[fN.bg]:`var(${uN.card})`,[fN.bgAlpha]:`0.7`,[fN.dropBlur]:`40px`,[fN.backdropSaturate]:`1.5`}},bN={subtle:{[fN.itemAccentBackground]:`hsl(var(${uN.foreground}) / 0.05)`,[fN.itemAccentForeground]:`var(${uN.foreground})`},bold:{[fN.itemAccentBackground]:`hsl(var(${uN.primary}) / 0.1)`,[fN.itemAccentForeground]:`var(${uN.primary})`}};`${uN.background}`,`${uN.foreground}`,`${uN.primary}`,`${uN.primaryForeground}`,`${uN.accent}`,`${uN.accentForeground}`,`${uN.border}`,`${uN.ring}`,`${uN.card}`;var xN={slate:{light:{background:`white`,foreground:`slate.950`,card:`white`,cardForeground:`slate.950`,popover:`white`,popoverForeground:`slate.950`,primaryForeground:`slate.50`,secondary:`slate.100`,secondaryForeground:`slate.900`,muted:`slate.100`,mutedForeground:`slate.500`,accent:`slate.100`,accentForeground:`slate.900`,destructiveForeground:`slate.50`,successForeground:`slate.50`,warningForeground:`slate.50`,infoForeground:`slate.50`,carbon:`slate.800`,carbonForeground:`slate.50`,border:`slate.200`,input:`slate.200`},dark:{background:`slate.950`,foreground:`slate.50`,card:`slate.900`,cardForeground:`slate.50`,popover:`slate.900`,popoverForeground:`slate.50`,primaryForeground:`slate.900`,secondary:`slate.800`,secondaryForeground:`slate.50`,muted:`slate.800`,mutedForeground:`slate.400`,accent:`slate.800`,accentForeground:`slate.50`,carbon:`slate.100`,destructiveForeground:`slate.900`,successForeground:`slate.900`,warningForeground:`slate.900`,infoForeground:`slate.900`,carbonForeground:`slate.900`,border:hN,input:gN}},mist:{light:{background:`white`,foreground:`mist.950`,card:`white`,cardForeground:`mist.950`,popover:`white`,popoverForeground:`mist.950`,primaryForeground:`mist.50`,secondary:`mist.100`,secondaryForeground:`mist.900`,muted:`mist.100`,mutedForeground:`mist.500`,accent:`mist.100`,accentForeground:`mist.900`,destructiveForeground:`mist.50`,successForeground:`mist.50`,warningForeground:`mist.50`,infoForeground:`mist.50`,carbon:`mist.800`,carbonForeground:`mist.50`,border:`mist.200`,input:`mist.200`},dark:{background:`mist.950`,foreground:`mist.50`,card:`mist.900`,cardForeground:`mist.50`,popover:`mist.900`,popoverForeground:`mist.50`,primaryForeground:`mist.900`,secondary:`mist.800`,secondaryForeground:`mist.50`,muted:`mist.800`,mutedForeground:`mist.400`,accent:`mist.800`,accentForeground:`mist.50`,carbon:`mist.100`,destructiveForeground:`mist.900`,successForeground:`mist.900`,warningForeground:`mist.900`,infoForeground:`mist.900`,carbonForeground:`mist.900`,border:hN,input:gN}},gray:{light:{background:`white`,foreground:`gray.950`,card:`white`,cardForeground:`gray.950`,popover:`white`,popoverForeground:`gray.950`,primaryForeground:`gray.50`,secondary:`gray.100`,secondaryForeground:`gray.900`,muted:`gray.100`,mutedForeground:`gray.500`,accent:`gray.100`,accentForeground:`gray.900`,carbon:`gray.800`,destructiveForeground:`gray.50`,successForeground:`gray.50`,warningForeground:`gray.50`,infoForeground:`gray.50`,carbonForeground:`gray.50`,border:`gray.200`,input:`gray.200`},dark:{background:`gray.950`,foreground:`gray.50`,card:`gray.900`,cardForeground:`gray.50`,popover:`gray.900`,popoverForeground:`gray.50`,primaryForeground:`gray.900`,secondary:`gray.800`,secondaryForeground:`gray.50`,muted:`gray.800`,mutedForeground:`gray.400`,accent:`gray.800`,accentForeground:`gray.50`,carbon:`gray.100`,destructiveForeground:`gray.900`,successForeground:`gray.900`,warningForeground:`gray.900`,infoForeground:`gray.900`,carbonForeground:`gray.900`,border:hN,input:gN}},zinc:{light:{background:`white`,foreground:`zinc.950`,card:`white`,cardForeground:`zinc.950`,popover:`white`,popoverForeground:`zinc.950`,primaryForeground:`zinc.50`,secondary:`zinc.100`,secondaryForeground:`zinc.900`,muted:`zinc.100`,mutedForeground:`zinc.500`,accent:`zinc.100`,accentForeground:`zinc.900`,destructiveForeground:`zinc.50`,successForeground:`zinc.50`,warningForeground:`zinc.50`,infoForeground:`zinc.50`,carbon:`zinc.800`,carbonForeground:`zinc.50`,border:`zinc.200`,input:`zinc.200`},dark:{background:`zinc.950`,foreground:`zinc.50`,card:`zinc.900`,cardForeground:`zinc.50`,popover:`zinc.900`,popoverForeground:`zinc.50`,primaryForeground:`zinc.900`,secondary:`zinc.800`,secondaryForeground:`zinc.50`,muted:`zinc.800`,mutedForeground:`zinc.400`,accent:`zinc.800`,accentForeground:`zinc.50`,destructiveForeground:`zinc.900`,successForeground:`zinc.900`,warningForeground:`zinc.900`,infoForeground:`zinc.900`,carbon:`zinc.100`,carbonForeground:`zinc.900`,border:hN,input:gN}},neutral:{light:{background:`white`,foreground:`neutral.950`,card:`white`,cardForeground:`neutral.950`,popover:`white`,popoverForeground:`neutral.950`,primaryForeground:`neutral.50`,secondary:`neutral.100`,secondaryForeground:`neutral.900`,muted:`neutral.100`,mutedForeground:`neutral.500`,accent:`neutral.100`,accentForeground:`neutral.900`,destructiveForeground:`neutral.50`,successForeground:`neutral.50`,warningForeground:`neutral.50`,infoForeground:`neutral.50`,carbon:`neutral.800`,carbonForeground:`neutral.50`,border:`neutral.200`,input:`neutral.200`},dark:{background:`neutral.950`,foreground:`neutral.50`,card:`neutral.900`,cardForeground:`neutral.50`,popover:`neutral.900`,popoverForeground:`neutral.50`,primaryForeground:`neutral.900`,secondary:`neutral.800`,secondaryForeground:`neutral.50`,muted:`neutral.800`,mutedForeground:`neutral.400`,accent:`neutral.800`,accentForeground:`neutral.50`,destructiveForeground:`neutral.900`,successForeground:`neutral.900`,warningForeground:`neutral.900`,infoForeground:`neutral.900`,carbon:`neutral.100`,carbonForeground:`neutral.900`,border:hN,input:gN}},stone:{light:{background:`white`,foreground:`stone.950`,card:`white`,cardForeground:`stone.950`,popover:`white`,popoverForeground:`stone.950`,primaryForeground:`stone.50`,secondary:`stone.100`,secondaryForeground:`stone.900`,muted:`stone.100`,mutedForeground:`stone.500`,accent:`stone.100`,accentForeground:`stone.900`,destructiveForeground:`stone.50`,successForeground:`stone.50`,warningForeground:`stone.50`,infoForeground:`stone.50`,carbon:`stone.800`,carbonForeground:`stone.50`,border:`stone.200`,input:`stone.200`},dark:{background:`stone.950`,foreground:`stone.50`,card:`stone.900`,cardForeground:`stone.50`,popover:`stone.900`,popoverForeground:`stone.50`,primaryForeground:`stone.900`,secondary:`stone.800`,secondaryForeground:`stone.50`,muted:`stone.800`,mutedForeground:`stone.400`,accent:`stone.800`,accentForeground:`stone.50`,destructiveForeground:`stone.900`,successForeground:`stone.900`,warningForeground:`stone.900`,infoForeground:`stone.900`,carbon:`stone.100`,carbonForeground:`stone.900`,border:hN,input:gN}},taupe:{light:{background:`white`,foreground:`taupe.950`,card:`white`,cardForeground:`taupe.950`,popover:`white`,popoverForeground:`taupe.950`,primaryForeground:`taupe.50`,secondary:`taupe.100`,secondaryForeground:`taupe.900`,muted:`taupe.100`,mutedForeground:`taupe.500`,accent:`taupe.100`,accentForeground:`taupe.900`,destructiveForeground:`taupe.50`,successForeground:`taupe.50`,warningForeground:`taupe.50`,infoForeground:`taupe.50`,carbon:`taupe.800`,carbonForeground:`taupe.50`,border:`taupe.200`,input:`taupe.200`},dark:{background:`taupe.950`,foreground:`taupe.50`,card:`taupe.900`,cardForeground:`taupe.50`,popover:`taupe.900`,popoverForeground:`taupe.50`,primaryForeground:`taupe.900`,secondary:`taupe.800`,secondaryForeground:`taupe.50`,muted:`taupe.800`,mutedForeground:`taupe.400`,accent:`taupe.800`,accentForeground:`taupe.50`,destructiveForeground:`taupe.900`,successForeground:`taupe.900`,warningForeground:`taupe.900`,infoForeground:`taupe.900`,carbon:`taupe.100`,carbonForeground:`taupe.900`,border:hN,input:gN}},olive:{light:{background:`white`,foreground:`olive.950`,card:`white`,cardForeground:`olive.950`,popover:`white`,popoverForeground:`olive.950`,primaryForeground:`olive.50`,secondary:`olive.100`,secondaryForeground:`olive.900`,muted:`olive.100`,mutedForeground:`olive.500`,accent:`olive.100`,accentForeground:`olive.900`,destructiveForeground:`olive.50`,successForeground:`olive.50`,warningForeground:`olive.50`,infoForeground:`olive.50`,carbon:`olive.800`,carbonForeground:`olive.50`,border:`olive.200`,input:`olive.200`},dark:{background:`olive.950`,foreground:`olive.50`,card:`olive.900`,cardForeground:`olive.50`,popover:`olive.900`,popoverForeground:`olive.50`,primaryForeground:`olive.900`,secondary:`olive.800`,secondaryForeground:`olive.50`,muted:`olive.800`,mutedForeground:`olive.400`,accent:`olive.800`,accentForeground:`olive.50`,destructiveForeground:`olive.900`,successForeground:`olive.900`,warningForeground:`olive.900`,infoForeground:`olive.900`,carbon:`olive.100`,carbonForeground:`olive.900`,border:hN,input:gN}},mauve:{light:{background:`white`,foreground:`mauve.950`,card:`white`,cardForeground:`mauve.950`,popover:`white`,popoverForeground:`mauve.950`,primaryForeground:`mauve.50`,secondary:`mauve.100`,secondaryForeground:`mauve.900`,muted:`mauve.100`,mutedForeground:`mauve.500`,accent:`mauve.100`,accentForeground:`mauve.900`,destructiveForeground:`mauve.50`,successForeground:`mauve.50`,warningForeground:`mauve.50`,infoForeground:`mauve.50`,carbon:`mauve.800`,carbonForeground:`mauve.50`,border:`mauve.200`,input:`mauve.200`},dark:{background:`mauve.950`,foreground:`mauve.50`,card:`mauve.900`,cardForeground:`mauve.50`,popover:`mauve.900`,popoverForeground:`mauve.50`,primaryForeground:`mauve.900`,secondary:`mauve.800`,secondaryForeground:`mauve.50`,muted:`mauve.800`,mutedForeground:`mauve.400`,accent:`mauve.800`,accentForeground:`mauve.50`,destructiveForeground:`mauve.900`,successForeground:`mauve.900`,warningForeground:`mauve.900`,infoForeground:`mauve.900`,carbon:`mauve.100`,carbonForeground:`mauve.900`,border:hN,input:gN}}},SN={slate:{light:{primary:`slate.800`,ring:`slate.400`,chart1:`orange.600`,chart2:`teal.600`,chart3:`cyan.900`,chart4:`amber.400`,chart5:`amber.500`},dark:{primary:`slate.200`,ring:`slate.500`,chart1:`blue.700`,chart2:`emerald.500`,chart3:`amber.500`,chart4:`purple.500`,chart5:`rose.500`}},mist:{light:{primary:`mist.800`,ring:`mist.400`,chart1:`orange.600`,chart2:`teal.600`,chart3:`cyan.900`,chart4:`amber.400`,chart5:`amber.500`},dark:{primary:`mist.200`,ring:`mist.500`,chart1:`blue.700`,chart2:`emerald.500`,chart3:`amber.500`,chart4:`purple.500`,chart5:`rose.500`}},gray:{light:{primary:`gray.800`,ring:`gray.400`,chart1:`orange.600`,chart2:`teal.600`,chart3:`cyan.900`,chart4:`amber.400`,chart5:`amber.500`},dark:{primary:`gray.200`,ring:`gray.500`,chart1:`blue.700`,chart2:`emerald.500`,chart3:`amber.500`,chart4:`purple.500`,chart5:`rose.500`}},zinc:{light:{primary:`zinc.800`,ring:`zinc.400`,chart1:`orange.600`,chart2:`teal.600`,chart3:`cyan.900`,chart4:`amber.400`,chart5:`amber.500`},dark:{primary:`zinc.200`,ring:`zinc.500`,chart1:`blue.700`,chart2:`emerald.500`,chart3:`amber.500`,chart4:`purple.500`,chart5:`rose.500`}},neutral:{light:{primary:`neutral.800`,ring:`neutral.400`,chart1:`orange.600`,chart2:`teal.600`,chart3:`cyan.900`,chart4:`amber.400`,chart5:`amber.500`},dark:{primary:`neutral.200`,ring:`neutral.500`,chart1:`blue.700`,chart2:`emerald.500`,chart3:`amber.500`,chart4:`purple.500`,chart5:`rose.500`}},stone:{light:{primary:`stone.800`,ring:`stone.400`,chart1:`orange.600`,chart2:`teal.600`,chart3:`cyan.900`,chart4:`amber.400`,chart5:`amber.500`},dark:{primary:`stone.200`,ring:`stone.500`,chart1:`blue.700`,chart2:`emerald.500`,chart3:`amber.500`,chart4:`purple.500`,chart5:`rose.500`}},taupe:{light:{primary:`taupe.800`,ring:`taupe.400`,chart1:`orange.600`,chart2:`teal.600`,chart3:`cyan.900`,chart4:`amber.400`,chart5:`amber.500`},dark:{primary:`taupe.200`,ring:`taupe.500`,chart1:`blue.700`,chart2:`emerald.500`,chart3:`amber.500`,chart4:`purple.500`,chart5:`rose.500`}},olive:{light:{primary:`olive.800`,ring:`olive.400`,chart1:`orange.600`,chart2:`teal.600`,chart3:`cyan.900`,chart4:`amber.400`,chart5:`amber.500`},dark:{primary:`olive.200`,ring:`olive.500`,chart1:`blue.700`,chart2:`emerald.500`,chart3:`amber.500`,chart4:`purple.500`,chart5:`rose.500`}},mauve:{light:{primary:`mauve.800`,ring:`mauve.400`,chart1:`orange.600`,chart2:`teal.600`,chart3:`cyan.900`,chart4:`amber.400`,chart5:`amber.500`},dark:{primary:`mauve.200`,ring:`mauve.500`,chart1:`blue.700`,chart2:`emerald.500`,chart3:`amber.500`,chart4:`purple.500`,chart5:`rose.500`}},red:{light:{primary:`red.500`,ring:`red.400`,chart1:`red.300`,chart2:`red.500`,chart3:`red.600`,chart4:`red.700`,chart5:`red.800`},dark:{primary:`red.500`,ring:`red.900`,chart1:`red.300`,chart2:`red.500`,chart3:`red.600`,chart4:`red.700`,chart5:`red.800`}},orange:{light:{primary:`orange.500`,ring:`orange.400`,chart1:`orange.300`,chart2:`orange.500`,chart3:`orange.600`,chart4:`orange.700`,chart5:`orange.800`},dark:{primary:`orange.500`,ring:`orange.900`,chart1:`orange.300`,chart2:`orange.500`,chart3:`orange.600`,chart4:`orange.700`,chart5:`orange.800`}},amber:{light:{primary:`amber.500`,ring:`amber.400`,chart1:`amber.300`,chart2:`amber.500`,chart3:`amber.600`,chart4:`amber.700`,chart5:`amber.800`},dark:{primary:`amber.500`,ring:`amber.900`,chart1:`amber.300`,chart2:`amber.500`,chart3:`amber.600`,chart4:`amber.700`,chart5:`amber.800`}},yellow:{light:{primary:`yellow.500`,ring:`yellow.400`,chart1:`yellow.300`,chart2:`yellow.500`,chart3:`yellow.600`,chart4:`yellow.700`,chart5:`yellow.800`},dark:{primary:`yellow.500`,ring:`yellow.900`,chart1:`yellow.300`,chart2:`yellow.500`,chart3:`yellow.600`,chart4:`yellow.700`,chart5:`yellow.800`}},lime:{light:{primary:`lime.500`,ring:`lime.400`,chart1:`lime.300`,chart2:`lime.500`,chart3:`lime.600`,chart4:`lime.700`,chart5:`lime.800`},dark:{primary:`lime.600`,ring:`lime.900`,chart1:`lime.300`,chart2:`lime.500`,chart3:`lime.600`,chart4:`lime.700`,chart5:`lime.800`}},green:{light:{primary:`green.500`,ring:`green.400`,chart1:`green.300`,chart2:`green.500`,chart3:`green.600`,chart4:`green.700`,chart5:`green.800`},dark:{primary:`green.600`,ring:`green.900`,chart1:`green.300`,chart2:`green.500`,chart3:`green.600`,chart4:`green.700`,chart5:`green.800`}},emerald:{light:{primary:`emerald.500`,ring:`emerald.400`,chart1:`emerald.300`,chart2:`emerald.500`,chart3:`emerald.600`,chart4:`emerald.700`,chart5:`emerald.800`},dark:{primary:`emerald.600`,ring:`emerald.900`,chart1:`emerald.300`,chart2:`emerald.500`,chart3:`emerald.600`,chart4:`emerald.700`,chart5:`emerald.800`}},teal:{light:{primary:`teal.500`,ring:`teal.400`,chart1:`teal.300`,chart2:`teal.500`,chart3:`teal.600`,chart4:`teal.700`,chart5:`teal.800`},dark:{primary:`teal.500`,ring:`teal.900`,chart1:`teal.300`,chart2:`teal.500`,chart3:`teal.600`,chart4:`teal.700`,chart5:`teal.800`}},cyan:{light:{primary:`cyan.500`,ring:`cyan.400`,chart1:`cyan.300`,chart2:`cyan.500`,chart3:`cyan.600`,chart4:`cyan.700`,chart5:`cyan.800`},dark:{primary:`cyan.500`,ring:`cyan.900`,chart1:`cyan.300`,chart2:`cyan.500`,chart3:`cyan.600`,chart4:`cyan.700`,chart5:`cyan.800`}},sky:{light:{primary:`sky.500`,ring:`sky.400`,chart1:`sky.300`,chart2:`sky.500`,chart3:`sky.600`,chart4:`sky.700`,chart5:`sky.800`},dark:{primary:`sky.500`,ring:`sky.900`,chart1:`sky.300`,chart2:`sky.500`,chart3:`sky.600`,chart4:`sky.700`,chart5:`sky.800`}},blue:{light:{primary:`blue.500`,ring:`blue.400`,chart1:`blue.300`,chart2:`blue.500`,chart3:`blue.600`,chart4:`blue.700`,chart5:`blue.800`},dark:{primary:`blue.500`,ring:`blue.900`,chart1:`blue.300`,chart2:`blue.500`,chart3:`blue.600`,chart4:`blue.700`,chart5:`blue.800`}},indigo:{light:{primary:`indigo.500`,ring:`indigo.400`,chart1:`indigo.300`,chart2:`indigo.500`,chart3:`indigo.600`,chart4:`indigo.700`,chart5:`indigo.800`},dark:{primary:`indigo.500`,ring:`indigo.900`,chart1:`indigo.300`,chart2:`indigo.500`,chart3:`indigo.600`,chart4:`indigo.700`,chart5:`indigo.800`}},violet:{light:{primary:`violet.500`,ring:`violet.400`,chart1:`violet.300`,chart2:`violet.500`,chart3:`violet.600`,chart4:`violet.700`,chart5:`violet.800`},dark:{primary:`violet.500`,ring:`violet.900`,chart1:`violet.300`,chart2:`violet.500`,chart3:`violet.600`,chart4:`violet.700`,chart5:`violet.800`}},purple:{light:{primary:`purple.500`,ring:`purple.400`,chart1:`purple.300`,chart2:`purple.500`,chart3:`purple.600`,chart4:`purple.700`,chart5:`purple.800`},dark:{primary:`purple.500`,ring:`purple.900`,chart1:`purple.300`,chart2:`purple.500`,chart3:`purple.600`,chart4:`purple.700`,chart5:`purple.800`}},fuchsia:{light:{primary:`fuchsia.500`,ring:`fuchsia.400`,chart1:`fuchsia.300`,chart2:`fuchsia.500`,chart3:`fuchsia.600`,chart4:`fuchsia.700`,chart5:`fuchsia.800`},dark:{primary:`fuchsia.500`,ring:`fuchsia.900`,chart1:`fuchsia.300`,chart2:`fuchsia.500`,chart3:`fuchsia.600`,chart4:`fuchsia.700`,chart5:`fuchsia.800`}},pink:{light:{primary:`pink.500`,ring:`pink.400`,chart1:`pink.300`,chart2:`pink.500`,chart3:`pink.600`,chart4:`pink.700`,chart5:`pink.800`},dark:{primary:`pink.500`,ring:`pink.900`,chart1:`pink.300`,chart2:`pink.500`,chart3:`pink.600`,chart4:`pink.700`,chart5:`pink.800`}},rose:{light:{primary:`rose.500`,ring:`rose.400`,chart1:`rose.300`,chart2:`rose.500`,chart3:`rose.600`,chart4:`rose.700`,chart5:`rose.800`},dark:{primary:`rose.500`,ring:`rose.900`,chart1:`rose.300`,chart2:`rose.500`,chart3:`rose.600`,chart4:`rose.700`,chart5:`rose.800`}}},CN={classic:{light:{destructive:`red.500`,success:`green.500`,warning:`amber.500`,info:`blue.500`},dark:{destructive:`red.400`,success:`green.400`,warning:`amber.400`,info:`blue.400`}},vivid:{light:{destructive:`red.500`,success:`emerald.500`,warning:`amber.500`,info:`sky.500`},dark:{destructive:`red.400`,success:`emerald.400`,warning:`amber.400`,info:`sky.400`}},subtle:{light:{destructive:`rose.500`,success:`emerald.500`,warning:`amber.500`,info:`indigo.500`},dark:{destructive:`rose.300`,success:`emerald.300`,warning:`amber.300`,info:`indigo.300`}},warm:{light:{destructive:`red.500`,success:`lime.500`,warning:`orange.500`,info:`amber.600`},dark:{destructive:`red.400`,success:`lime.400`,warning:`orange.400`,info:`amber.400`}},cool:{light:{destructive:`rose.500`,success:`teal.500`,warning:`cyan.600`,info:`blue.500`},dark:{destructive:`rose.400`,success:`teal.400`,warning:`cyan.400`,info:`blue.400`}},nature:{light:{destructive:`red.500`,success:`green.600`,warning:`lime.600`,info:`teal.600`},dark:{destructive:`red.300`,success:`green.300`,warning:`lime.300`,info:`teal.300`}},modern:{light:{destructive:`red.500`,success:`emerald.500`,warning:`orange.500`,info:`sky.500`},dark:{destructive:`red.400`,success:`emerald.400`,warning:`orange.400`,info:`sky.400`}},vibrant:{light:{destructive:`red.500`,success:`lime.500`,warning:`amber.500`,info:`cyan.500`},dark:{destructive:`pink.400`,success:`lime.400`,warning:`amber.400`,info:`cyan.400`}},professional:{light:{destructive:`red.500`,success:`green.600`,warning:`amber.600`,info:`blue.600`},dark:{destructive:`red.300`,success:`green.300`,warning:`amber.300`,info:`blue.300`}},soft:{light:{destructive:`rose.400`,success:`teal.400`,warning:`yellow.400`,info:`violet.400`},dark:{destructive:`rose.300`,success:`teal.300`,warning:`yellow.300`,info:`violet.300`}},bold:{light:{destructive:`red.600`,success:`emerald.600`,warning:`orange.600`,info:`blue.600`},dark:{destructive:`red.300`,success:`emerald.300`,warning:`orange.300`,info:`blue.300`}},calm:{light:{destructive:`rose.500`,success:`teal.500`,warning:`amber.500`,info:`slate.500`},dark:{destructive:`rose.400`,success:`teal.400`,warning:`amber.400`,info:`slate.400`}},candy:{light:{destructive:`pink.400`,success:`emerald.400`,warning:`yellow.400`,info:`sky.400`},dark:{destructive:`pink.300`,success:`emerald.300`,warning:`yellow.300`,info:`sky.300`}},deep:{light:{destructive:`red.600`,success:`green.700`,warning:`amber.700`,info:`blue.700`},dark:{destructive:`red.200`,success:`green.200`,warning:`amber.200`,info:`blue.200`}},light:{light:{destructive:`red.400`,success:`emerald.400`,warning:`amber.400`,info:`sky.400`},dark:{destructive:`red.400`,success:`emerald.400`,warning:`amber.400`,info:`sky.400`}}};$M(xN),$M(SN),$M(CN),$M(xN.zinc.light),$M(SN.indigo.light),$M(CN.classic.light);function wN(e,t){return`${TN(t)}\n\n${EN(e,t)}`}function TN(e){let{styleTarget:t,size:n,radius:r,menuColor:i,menuAccent:a}=e,o=``;o+=`${t} {\n`,o+=` ${cN}: ${oN(n)};\n`,o+=` ${lN}: ${sN(r)};\n`;let s=yN[i];$M(s).forEach(e=>{o+=` ${e}: ${s[e]};\n`});let c=bN[a];return $M(c).forEach(e=>{o+=` ${e}: ${c[e]};\n`}),o+=`}
|
||
|
||
`,o}function EN(e,t){let{light:n,dark:r}=e,{format:i,styleTarget:a}=t,o=``,s=``;$M(uN).forEach(e=>{let t=DN(e,i,n),a=DN(e,i,r);o+=t,a!==t&&(s+=a)});let c=``,l=``;[`primary`,`destructive`,`success`,`warning`,`info`,`carbon`].forEach(e=>{let t=kN(n[e],e,i),a=kN(r[e],e,i);c+=t,a!==t&&(l+=a)});let u=`${a} {\n${o}\n${c}\n}`,d=t.darkSelector;return(d===`class`||d===`media`)&&(d=mN[d]),u+=`\n\n${d} {\n${s}\n${l}\n}`,u}function DN(e,t,n){let r=n[e];if(!r)return``;let i=aN(r,t);t===`hsl`&&(i=rN(i));let{color:a,alphaCss:o}=ON(i,t,e);i=a;let s=`${uN[e]}: ${i};\n`;return s+=o,s}function ON(e,t,n){if(iN(e)||t===`oklch`||![`border`,`input`,`sidebarBorder`].includes(n))return{color:e,alphaCss:``};let[r,i=`1`]=e.split(`/`);r=r.trim(),i=i.trim();let a=Number.parseFloat(i);i.endsWith(`%`)&&(a/=100);let o=``;return n===`border`&&(o=`${dN.borderAlpha}: ${a};\n`),n===`input`&&(o+=`${dN.inputAlpha}: ${a};\n`),n===`sidebarBorder`&&(o+=`${dN.sidebarBorderAlpha}: ${a};\n`),{color:r,alphaCss:o}}function kN(e,t,n){let r=``,i=YM(aN(e,n),n===`hsl`?`hslString`:`oklchString`);return $M(i).forEach(e=>{let a=i[e];n===`hsl`&&(a=rN(a)),r+=`--${t}-${e}: ${a};\n`}),r}function AN(e,t){let n=jN(e);return t?{light:eN(n.light,t.light),dark:eN(n.dark,t.dark||{})}:n}function jN(e){let{base:t,primary:n,feedback:r}=e,i=xN[t],a=SN[n],o=CN[r],s=MN({light:{...i.light,...a.light},dark:{...i.dark,...a.dark}});return{light:{...i.light,...a.light,...o.light,...s.light},dark:{...i.dark,...a.dark,...o.dark,...s.dark}}}function MN(e){let{light:t,dark:n}=e;return{light:{sidebar:t.background,sidebarForeground:t.foreground,sidebarPrimary:t.primary,sidebarPrimaryForeground:t.primaryForeground,sidebarAccent:t.accent,sidebarAccentForeground:t.accentForeground,sidebarBorder:t.border,sidebarRing:t.ring},dark:{sidebar:n.card,sidebarForeground:n.foreground,sidebarPrimary:n.primary,sidebarPrimaryForeground:n.primaryForeground,sidebarAccent:n.accent,sidebarAccentForeground:n.accentForeground,sidebarBorder:n.border,sidebarRing:n.ring}}}function NN(e){let{size:t,radius:n,base:r,primary:i,feedback:a,menuColor:o,menuAccent:s,styleTarget:c,darkSelector:l,format:u,preset:d}=eN(pN,e??{}),f=tN(l);return{getCss:e=>wN(AN({base:e?.base??r,primary:e?.primary??i,feedback:e?.feedback??a},e?.preset??d),{styleTarget:c,darkSelector:f,format:u,size:t,radius:n,menuColor:o,menuAccent:s})}}var PN=z({name:`SConfigProvider`,__name:`config-provider`,props:{theme:{default:()=>({})},size:{default:`md`},iconify:{default:()=>({width:`1.25em`,height:`1.25em`})},progress:{},toast:{},customToast:{type:Boolean},dir:{},locale:{},nonce:{},tooltip:{},iconRender:{},messages:{}},setup(e){let t=e,n=_y(t,[`iconRender`,`theme`,`size`,`iconify`,`progress`,`toast`,`customToast`]),r=t.iconRender??(e=>to(Jx,{icon:e,ssr:!1}));return ty(J(()=>{let{getCss:e}=NN({...t.theme,size:t.theme.size||t.size||`md`});return e()}),{id:`__SoybeanUI_theme`}),ob({...kf(t),iconRender:r}),(e,i)=>(V(),U(L(zE),ja(L(n),{"icon-render":L(r)}),{default:R(()=>[B(e.$slots,`default`),t.customToast?q(`v-if`,!0):(V(),U(HM,j(ja({key:0},t.toast)),null,16)),G(LM),G(zM,j(Ea(t.progress)),null,16)]),_:3},16,[`icon-render`]))}});Z({extendBase:e=>({shortcut:IM({size:e.size})}),slots:{positioner:``,popup:[`z-50 min-w-max rounded-md border bg-popover text-popover-foreground shadow-md will-change-transform outline-none`,`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`],arrow:`w-1em h-0.5em fill-popover stroke-border`,subPositioner:``,subPopup:[`z-50 min-w-32 overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-lg will-change-transform outline-none`,`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`],group:``,groupLabel:`flex items-center font-medium text-muted-foreground`,checkboxGroup:``,radioGroup:``,item:[`relative flex items-center rounded-sm outline-none transition-colors-200 cursor-pointer select-none`,`focus:bg-accent focus:text-accent-foreground data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50`,`data-[active=true]:bg-primary/10 data-[active=true]:text-primary`,`data-[active=false]:hover:bg-accent data-[active=false]:focus:bg-accent`],itemIcon:`shrink-0 text-muted-foreground`,itemLink:[`relative flex items-center rounded-sm outline-none transition-colors-200 cursor-pointer select-none decoration-none`,`focus:bg-accent focus:text-accent-foreground data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50`],itemLinkIcon:`shrink-0 self-start text-muted-foreground rtl:rotate-270`,subTrigger:`group/trigger flex items-center rounded-sm outline-none cursor-pointer select-none focus:bg-accent data-[state=open]:bg-accent data-[child-active]:text-primary`,subTriggerIcon:`ms-auto text-muted-foreground group-data-[child-active]/trigger:text-primary`,shortcut:`ms-auto tracking-widest opacity-60`,separator:`h-px bg-border`,checkboxItem:[`relative flex items-center rounded-sm outline-none transition-colors-200 cursor-pointer select-none`,`focus:bg-accent focus:text-accent-foreground data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50`],itemIndicator:`absolute flex items-center justify-center text-primary`,radioItem:[`relative flex items-center rounded-sm outline-none transition-colors-200 cursor-pointer select-none`,`focus:bg-accent focus:text-accent-foreground data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50`]},variants:{size:{xs:{popup:`text-2xs p-0.75`,groupLabel:`gap-1 p-1 text-3xs`,item:`gap-1 px-1 py-1`,itemLink:`gap-1 px-1 py-1`,itemLinkIcon:`size-2 -ms-1`,separator:`-mx-0.75 my-0.75`,subTrigger:`gap-1 px-1 py-1`,subPopup:`text-2xs p-0.75`,checkboxItem:`gap-1 py-1`,radioItem:`gap-1 py-1`},sm:{popup:`text-xs p-0.875`,groupLabel:`gap-1.25 p-1.25 text-2xs`,item:`gap-1.5 px-1.5 py-1`,itemLink:`gap-1.5 px-1.5 py-1`,itemLinkIcon:`size-2.5 -ms-1.5`,separator:`-mx-0.875 my-0.875`,subTrigger:`gap-1.5 px-1.5 py-1`,subPopup:`text-xs p-0.875`,checkboxItem:`gap-1.5 py-1`,radioItem:`gap-1.5 py-1`},md:{popup:`text-sm p-1`,groupLabel:`gap-1.75 p-1.75 text-xs`,item:`gap-2 px-2 py-1.5`,itemLink:`gap-2 px-2 py-1.5`,itemLinkIcon:`size-3 -ms-2`,separator:`-mx-1 my-1`,subTrigger:`gap-2 px-2 py-1.5`,subPopup:`text-sm p-1`,checkboxItem:`gap-2 py-1.5`,radioItem:`gap-2 py-1.5`},lg:{popup:`text-base p-1.25`,groupLabel:`gap-2 p-2 text-sm`,item:`gap-2.5 px-2.5 py-1.5`,itemLink:`gap-2.5 px-2.5 py-1.5`,itemLinkIcon:`size-3.5 -ms-2.5`,separator:`-mx-1.25 my-1.25`,subTrigger:`gap-2.5 px-2.5 py-1.5`,subPopup:`text-base p-1.25`,checkboxItem:`gap-2.5 py-1.5`,radioItem:`gap-2.5 py-1.5`},xl:{popup:`text-lg p-1.5`,groupLabel:`gap-2.5 p-2.5 text-base`,item:`gap-3 px-3 py-2`,itemLink:`gap-3 px-3 py-2`,itemLinkIcon:`size-4 -ms-3`,separator:`-mx-1.5 my-1.5`,subTrigger:`gap-3 px-3 py-2`,subPopup:`text-lg p-1.5`,checkboxItem:`gap-3 py-2`,radioItem:`gap-3 py-2`},"2xl":{popup:`text-xl p-1.75`,groupLabel:`gap-3 p-3 text-lg`,item:`gap-3.5 px-3.5 py-2.5`,itemLink:`gap-3.5 px-3.5 py-2.5`,itemLinkIcon:`size-4.5 -ms-3.5`,separator:`-mx-1.75 my-1.75`,subTrigger:`gap-3.5 px-3.5 py-2.5`,subPopup:`text-xl p-1.75`,checkboxItem:`gap-3.5 py-2.5`,radioItem:`gap-3.5 py-2.5`}},indicatorPosition:{start:{itemIndicator:`start-2`,checkboxItem:`ps-8 pe-2`,radioItem:`ps-8 pe-2`},end:{itemIndicator:`end-2`,checkboxItem:`ps-2 pe-8`,radioItem:`ps-2 pe-8`}}},compoundVariants:[{indicatorPosition:`start`,size:`xs`,class:{itemIndicator:`start-1`,checkboxItem:`ps-6 pe-1`,radioItem:`ps-6 pe-1`}},{indicatorPosition:`end`,size:`xs`,class:{itemIndicator:`end-1`,checkboxItem:`ps-1 pe-6`,radioItem:`ps-1 pe-6`}},{indicatorPosition:`start`,size:`sm`,class:{itemIndicator:`start-1.5`,checkboxItem:`ps-7 pe-1.5`,radioItem:`ps-7 pe-1.5`}},{indicatorPosition:`end`,size:`sm`,class:{itemIndicator:`end-1.5`,checkboxItem:`ps-1.5 pe-7`,radioItem:`ps-1.5 pe-7`}},{indicatorPosition:`start`,size:`lg`,class:{itemIndicator:`start-2.5`,checkboxItem:`ps-9 pe-2.5`,radioItem:`ps-9 pe-2.5`}},{indicatorPosition:`end`,size:`lg`,class:{itemIndicator:`end-2.5`,checkboxItem:`ps-2.5 pe-9`,radioItem:`ps-2.5 pe-9`}},{indicatorPosition:`start`,size:`xl`,class:{itemIndicator:`start-3`,checkboxItem:`ps-10 pe-3`,radioItem:`ps-10 pe-3`}},{indicatorPosition:`end`,size:`xl`,class:{itemIndicator:`end-3`,checkboxItem:`ps-3 pe-10`,radioItem:`ps-3 pe-10`}},{indicatorPosition:`start`,size:`2xl`,class:{itemIndicator:`start-3.5`,checkboxItem:`ps-12 pe-3.5`,radioItem:`ps-12 pe-3.5`}},{indicatorPosition:`end`,size:`2xl`,class:{itemIndicator:`end-3.5`,checkboxItem:`ps-3.5 pe-12`,radioItem:`ps-3.5 pe-12`}}],defaultVariants:{size:`md`,indicatorPosition:`start`}});var FN=Z({slots:{root:[`group inline-flex items-center w-fit lt-md:max-w-auto rounded-md border border-input bg-background transition-all-150`,`outline-none focus-within:ring-3 focus-within:ring-offset-background focus-within:ring-primary/30`,`data-[disabled]:opacity-50 data-[readonly]:bg-muted/40`,`data-[invalid]:border-destructive data-[invalid]:ring-3 data-[invalid]:ring-destructive/20`],input:[`inline-flex items-center justify-center rounded-sm text-center outline-none`,`tabular-nums leading-none`,`data-[segment=literal]:min-w-0 data-[segment=literal]:px-0 data-[segment=literal]:text-muted-foreground`,`data-[segment=timeZoneName]:min-w-fit data-[segment=timeZoneName]:px-1 data-[segment=timeZoneName]:text-muted-foreground`,`data-[placeholder]:text-muted-foreground`,`focus-visible:bg-accent/60 focus-visible:ring-2 focus-visible:ring-primary/20`,`data-[disabled]:cursor-not-allowed data-[readonly]:cursor-default`]},variants:{size:{xs:{root:`gap-0.5 h-6 px-1.5 text-2xs`,input:`min-w-4.5 p-0.5 data-[segment=timeZoneName]:px-0.5`},sm:{root:`gap-0.75 h-7 px-2 text-xs`,input:`min-w-5 p-0.5 data-[segment=timeZoneName]:px-0.75`},md:{root:`gap-1 h-8 px-2.5 text-sm`,input:`min-w-5.5 p-0.625 data-[segment=timeZoneName]:px-1`},lg:{root:`gap-1.25 h-9 px-3 text-base`,input:`min-w-6 p-0.75 data-[segment=timeZoneName]:px-1.25`},xl:{root:`gap-1.5 h-10 px-3.5 text-lg`,input:`min-w-6.5 p-0.875 data-[segment=timeZoneName]:px-1.5`},"2xl":{root:`gap-2 h-12 px-4 text-xl`,input:`min-w-8 p-1 data-[segment=timeZoneName]:px-2`}}},defaultVariants:{size:`md`}});Z({extend:[Z({extend:[FN],slots:{trigger:`ms-auto data-[state=open]:bg-accent/50 data-[state=open]:text-accent-foreground`,positioner:`w-max`,popup:[`w-auto rounded-md border bg-popover text-popover-foreground outline-none z-50 will-change-transform`,`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`]},variants:{size:{xs:{popup:`text-2xs`},sm:{popup:`text-xs`},md:{popup:`text-sm`},lg:{popup:`text-base`},xl:{popup:`text-lg`},"2xl":{popup:`text-xl`}}},defaultVariants:{size:`md`}}),Z({extend:[FN],slots:{startRoot:`inline-flex items-center`,endRoot:`inline-flex items-center`,separator:[`inline-flex items-center justify-center text-muted-foreground`,`select-none`]},variants:{size:{xs:{separator:`px-0.5`},sm:{separator:`px-0.75`},md:{separator:`px-1`},lg:{separator:`px-1.25`},xl:{separator:`px-1.5`},"2xl":{separator:`px-2`}}},defaultVariants:{size:`md`}})],defaultVariants:{size:`md`}}),Z({slots:{root:`w-full`,area:[`grid w-full grid-cols-[minmax(0,1fr)_auto] items-center gap-2 rounded-md border border-solid border-input bg-background transition-all-150`,`outline-none focus-within:ring-3 focus-within:ring-offset-background focus-within:ring-primary/30`,`data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50`],preview:[`col-start-1 row-start-1 min-w-0 truncate text-foreground outline-none`,`data-[placeholder-shown]:text-muted-foreground`],input:[`col-start-1 row-start-1 min-w-0 w-full border-0 bg-transparent outline-none`,`placeholder:text-muted-foreground`,`disabled:cursor-not-allowed`],controls:`col-start-2 row-start-1 flex items-center gap-1`,editTrigger:[`inline-flex items-center justify-center rounded-md text-muted-foreground transition-colors`,`hover:bg-accent hover:text-accent-foreground`,`outline-none focus-visible:ring-2 focus-visible:ring-primary/30`],submitTrigger:[`inline-flex items-center justify-center rounded-md text-muted-foreground transition-colors`,`hover:bg-accent hover:text-success`,`outline-none focus-visible:ring-2 focus-visible:ring-primary/30`],cancelTrigger:[`inline-flex items-center justify-center rounded-md text-muted-foreground transition-colors`,`hover:bg-accent hover:text-destructive`,`outline-none focus-visible:ring-2 focus-visible:ring-primary/30`]},variants:{size:{xs:{area:`min-h-6 px-1.5 py-1 text-2xs`,preview:`text-2xs`,input:`text-2xs`,controls:`gap-0.5`,editTrigger:`size-5 [&>svg]:size-3`,submitTrigger:`size-5 [&>svg]:size-3`,cancelTrigger:`size-5 [&>svg]:size-3`},sm:{area:`min-h-7 px-2 py-1 text-xs`,preview:`text-xs`,input:`text-xs`,editTrigger:`size-6 [&>svg]:size-3.5`,submitTrigger:`size-6 [&>svg]:size-3.5`,cancelTrigger:`size-6 [&>svg]:size-3.5`},md:{area:`min-h-8 px-2.5 py-1.5 text-sm`,preview:`text-sm`,input:`text-sm`,editTrigger:`size-7 [&>svg]:size-4`,submitTrigger:`size-7 [&>svg]:size-4`,cancelTrigger:`size-7 [&>svg]:size-4`},lg:{area:`min-h-9 px-3 py-1.5 text-base`,preview:`text-base`,input:`text-base`,editTrigger:`size-8 [&>svg]:size-4`,submitTrigger:`size-8 [&>svg]:size-4`,cancelTrigger:`size-8 [&>svg]:size-4`},xl:{area:`min-h-10 px-3.5 py-2 text-lg`,preview:`text-lg`,input:`text-lg`,editTrigger:`size-9 [&>svg]:size-5`,submitTrigger:`size-9 [&>svg]:size-5`,cancelTrigger:`size-9 [&>svg]:size-5`},"2xl":{area:`min-h-12 px-4 py-2.5 text-xl`,preview:`text-xl`,input:`text-xl`,editTrigger:`size-10 [&>svg]:size-5`,submitTrigger:`size-10 [&>svg]:size-5`,cancelTrigger:`size-10 [&>svg]:size-5`}}},defaultVariants:{size:`md`}}),Z({slots:{root:`flex flex-col items-center justify-center min-w-0 grow rounded-md border border-dashed text-center`,header:`flex flex-col items-center max-w-sm text-center`,media:`flex shrink-0 items-center justify-center rounded-md bg-muted text-foreground`,title:`font-medium tracking-tight`,description:`leading-relaxed text-muted-foreground`,content:`flex w-full min-w-0 max-w-sm flex-col items-center`},variants:{size:{xs:{root:`text-2xs gap-3`,title:`text-xs`,header:`gap-1.5`,media:`my-1.5`},sm:{root:`text-xs gap-3.5`,title:`text-sm`,header:`gap-1.75`,media:`my-1.75`},md:{root:`text-sm gap-4`,title:`text-base`,header:`gap-2`,media:`my-2 size-10`},lg:{root:`text-base gap-4.5`,title:`text-lg`,header:`gap-2.5`,media:`my-2.5`},xl:{root:`text-lg gap-5`,title:`text-xl`,header:`gap-3`,media:`my-3`},"2xl":{root:`text-xl gap-6`,title:`text-2xl`,header:`gap-3.5`,media:`my-3.5`}}},defaultVariants:{size:`md`}}),Z({slots:{form:`grid`,field:[`group flex data-[orientation=vertical]:flex-col`,`data-[orientation=horizontal]:flex-row data-[orientation=horizontal]:flex-wrap data-[orientation=horizontal]:justify-between data-[orientation=horizontal]:items-center`],fieldArray:[`group flex data-[orientation=vertical]:flex-col`,`data-[orientation=horizontal]:flex-row data-[orientation=horizontal]:flex-wrap data-[orientation=horizontal]:justify-between`],label:[`flex items-center whitespace-nowrap`,`group-data-[orientation=horizontal]:justify-end group-data-[orientation=horizontal]:shrink-0`],control:`group-data-[orientation=horizontal]:flex-1 group-data-[orientation=horizontal]:min-w-0`,description:`text-muted-foreground m-0 group-data-[orientation=horizontal]:w-full`,error:[`font-medium text-destructive m-0`,`group-data-[orientation=horizontal]:absolute group-data-[orientation=horizontal]:start-0 group-data-[orientation=horizontal]:top-full group-data-[orientation=horizontal]:w-full`]},variants:{size:{xs:{field:`text-2xs gap-x-2.25 gap-y-1.5`,fieldArray:`text-2xs gap-x-2.25 gap-y-1.5`,label:`gap-1.5`,description:`group-data-[error]:pt-1.75`},sm:{field:`text-xs gap-x-2.5 gap-y-1.75`,fieldArray:`text-xs gap-x-2.5 gap-y-1.75`,label:`gap-1.75`,description:`group-data-[error]:pt-2`},md:{field:`text-sm gap-x-3 gap-y-2`,fieldArray:`text-sm gap-x-3 gap-y-2`,label:`gap-2`,description:`group-data-[error]:pt-2.5`},lg:{field:`text-base gap-x-3.75 gap-y-2.5`,fieldArray:`text-base gap-x-3.75 gap-y-2.5`,label:`gap-2.5`,description:`group-data-[error]:pt-3`},xl:{field:`text-lg gap-x-4.5 gap-y-3`,fieldArray:`text-lg gap-x-4.5 gap-y-3`,label:`gap-3`,description:`group-data-[error]:pt-3.5`},"2xl":{field:`text-xl gap-x-5.25 gap-y-3.5`,fieldArray:`text-xl gap-x-5.25 gap-y-3.5`,label:`gap-3.5`,description:`group-data-[error]:pt-4.5`}}},defaultVariants:{size:`md`}}),Z({slots:{positioner:`w-max`,popup:[`z-50 w-64 rounded-md border bg-popover text-popover-foreground shadow-md outline-none will-change-transform`,`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`],arrow:`w-1em h-0.5em fill-popover stroke-border`},variants:{size:{xs:{popup:`w-48 p-3 text-2xs`,arrow:`text-3xs`},sm:{popup:`w-56 p-3.5 text-xs`,arrow:`text-2xs`},md:{popup:`w-64 p-4 text-sm`,arrow:`text-xs`},lg:{popup:`w-72 p-4.5 text-base`,arrow:`text-sm`},xl:{popup:`w-80 p-5 text-lg`,arrow:`text-base`},"2xl":{popup:`w-96 p-5.5 text-xl`,arrow:`text-lg`}}},defaultVariants:{size:`md`}});var IN=Z({extendBase:e=>({clear:qy({size:e.size,shape:`circle`})}),slots:{root:[`group flex items-center w-full rounded-md border border-solid border-input bg-background transition-all-150`,`outline-none focus-within:ring-3 focus-within:ring-offset-background focus-within:ring-primary/30`],control:[`grow min-w-0 h-full bg-transparent outline-none`,`placeholder:text-muted-foreground`,`disabled:cursor-not-allowed disabled:opacity-50`,`file:border-0 file:bg-transparent file:font-medium`],clear:[`hidden shrink-0 opacity-50`,`group-hover:inline-flex group-focus-within:inline-flex hover:opacity-100 focus-visible:opacity-100`],visible:`shrink-0 cursor-pointer`},variants:{size:{xs:{root:`h-6 px-1.5 text-2xs gap-1`,control:`file:py-1.25`},sm:{root:`h-7 px-2 text-xs gap-1.5`,control:`file:py-1.25`},md:{root:`h-8 px-2.5 text-sm gap-2`,control:`file:py-1.25`},lg:{root:`h-9 px-3 text-base gap-2.5`,control:`file:py-1.25`},xl:{root:`h-10 px-3.5 text-lg gap-3`,control:`file:py-1.25`},"2xl":{root:`h-12 px-4 text-xl gap-3.5`,control:`file:py-2`}}},defaultVariants:{size:`md`}}),LN=z({name:`SInput`,__name:`input`,props:{class:{type:[Boolean,null,String,Object,Array]},size:{},ui:{},inputRef:{type:Function},clearable:{type:Boolean},controlProps:{},clearProps:{},defaultValue:{},modelValue:{},disabled:{type:Boolean},readonly:{type:Boolean},rootProps:{},name:{},required:{type:Boolean},id:{},autofocus:{type:Boolean},autocomplete:{},maxlength:{},minlength:{},pattern:{},placeholder:{},type:{}},emits:[`update:modelValue`],setup(e,{emit:t}){let n=e,r=t,i=_y(n,[`class`,`size`,`ui`]),a=Qr(),o=J(()=>Am(a));return Zx(J(()=>IN({size:n.size},n.ui,{root:n.class}))),(e,t)=>(V(),U(L(IS),ja(L(i),{"onUpdate:modelValue":t[0]||=e=>r(`update:modelValue`,e)}),Gr({_:2},[Wr(o.value,t=>({name:t,fn:R(n=>[B(e.$slots,t,j(Ea(n)))])}))]),1040))}});Z({extendBase:e=>({decrement:qy({size:e.size}),increment:qy({size:e.size}),clear:qy({size:e.size,shape:`circle`})}),slots:{root:`group flex items-center w-full rounded-md border border-input bg-background transition-all-150 focus-within:border-input focus-within:ring-3 focus-within:ring-offset-background focus-within:ring-primary/30 disabled:cursor-not-allowed disabled:opacity-50`,decrement:`shrink-0`,increment:`shrink-0`,control:[`grow min-w-0 h-full bg-transparent outline-none`,`placeholder:text-muted-foreground`,`disabled:cursor-not-allowed disabled:opacity-50`],clear:[`hidden shrink-0 opacity-50`,`group-hover:inline-flex group-focus-within:inline-flex hover:opacity-100 focus-visible:opacity-100`]},variants:{size:{xs:{root:`h-6 px-1.5 text-2xs gap-1`},sm:{root:`h-7 px-2 text-xs gap-1.5`},md:{root:`h-8 px-2.5 text-sm gap-2`},lg:{root:`h-9 px-3 text-base gap-2.5`},xl:{root:`h-10 px-3.5 text-lg gap-3`},"2xl":{root:`h-12 px-4 text-xl gap-3.5`}},center:{true:{decrement:`-order-1`,control:`text-center`}}},defaultVariants:{size:`md`,center:!1}}),Z({slots:{root:[`relative inline-flex w-full cursor-text select-none`,`data-[disabled]:cursor-default data-[disabled]:opacity-50`],positioner:`absolute inset-0`,group:`grid w-full gap-2 grid-cols-[repeat(var(--columns),minmax(0,1fr))]`,input:[`absolute inset-0 h-full w-full border-0 bg-transparent p-0 outline-none shadow-none opacity-0`,`pointer-events-auto text-transparent caret-transparent font-mono leading-none`,`[font-variant-numeric:tabular-nums] [letter-spacing:-0.5em]`,`selection:bg-transparent selection:text-transparent`,`data-[password-manager-badge]:w-[calc(100%+40px)] data-[password-manager-badge]:[clip-path:inset(0_40px_0_0)]`],slot:[`relative inline-flex items-center justify-center overflow-hidden rounded-md border border-input bg-background font-medium text-foreground shadow-xs transition-[border-color,box-shadow,transform]`,`data-[state=active]:border-ring data-[state=active]:ring-3 data-[state=active]:ring-ring/40`,`data-[state=filled]:border-foreground/20`],char:`leading-none`,placeholder:`leading-none text-muted-foreground/60`,caret:`h-[60%] w-px animate-pulse bg-foreground`},variants:{size:{xs:{group:`gap-1.5`,slot:`h-8 text-sm`,caret:`h-4`},sm:{group:`gap-2`,slot:`h-9 text-base`,caret:`h-4.5`},md:{group:`gap-2`,slot:`h-10 text-lg`,caret:`h-5`},lg:{group:`gap-2.5`,slot:`h-11 text-xl`,caret:`h-5.5`},xl:{group:`gap-3`,slot:`h-12 text-2xl`,caret:`h-6`},"2xl":{group:`gap-3`,slot:`h-14 text-3xl`,caret:`h-7`}},align:{start:{input:`text-start`},center:{input:`text-center`},end:{input:`text-end`}}},defaultVariants:{size:`md`,align:`start`}}),gl({base:`font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-50`,variants:{size:{xs:`text-2xs`,sm:`text-xs`,md:`text-sm`,lg:`text-base`,xl:`text-lg`,"2xl":`text-xl`}},defaultVariants:{size:`md`}}),Z({extendBase:e=>({trigger:Gy({size:e.size}),mobileDrawer:qS({size:e.size,side:e.side}).popup}),slots:{root:`group relative flex w-full h-full data-[side=right]:flex-row-reverse`,sidebarRoot:`h-full block lt-md:hidden`,sidebarWrapper:`absolute inset-y-0 z-10 flex h-full w-[--soybean-sidebar-width] transition-[left,right,width,opacity] duration-200 ease-linear lt-md:hidden`,sidebar:[`flex flex-col w-full h-full bg-sidebar`,`group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-border group-data-[variant=floating]:border-solid group-data-[variant=floating]:shadow`],sidebarGapHandler:[`relative h-full w-[--soybean-sidebar-width] bg-transparent transition-width duration-200 ease-linear`,`group-data-[collapsible=offcanvas]:w-0`,`group-data-[side=right]:rotate-180`],mobileDrawer:`w-[--soybean-sidebar-width] bg-sidebar p-0`,mobileOverlay:[`fixed inset-0 z-50 bg-black/80`,`data-[state=open]:animate-in data-[state=open]:fade-in-0`,`data-[state=closed]:animate-out data-[state=closed]:fade-out-0`],mobile:`flex flex-col w-full h-full`,rail:[`absolute inset-y-0 z-20 flex w-[--soybean-layout-spacing] -translate-x-1/2 rtl:translate-x-1/2 transition-all ease-linear lt-sm:hidden`,`after:absolute after:inset-y-0 after:start-1/2 after:content-empty after:w-[calc(var(--soybean-layout-spacing)/8)] hover:after:bg-sidebar-border`],trigger:``,main:`relative flex flex-1 flex-col items-stretch bg-background overflow-hidden`,header:`relative flex items-center shrink-0 h-[--soybean-layout-header-height]`,tab:`shrink-0 h-[--soybean-layout-tab-height] bg-background`,content:`grow overflow-auto bg-background`,footer:`shrink-0 h-[--soybean-layout-footer-height]`},variants:{size:{xs:{root:`text-2xs [--soybean-layout-spacing:0.75rem]`},sm:{root:`text-xs [--soybean-layout-spacing:0.875rem]`},md:{root:`text-sm [--soybean-layout-spacing:1rem]`},lg:{root:`text-base [--soybean-layout-spacing:1.25rem]`},xl:{root:`text-lg [--soybean-layout-spacing:1.5rem]`},"2xl":{root:`text-xl [--soybean-layout-spacing:1.75rem]`}},variant:{sidebar:{sidebarGapHandler:`group-data-[collapsible=icon]:w-[--soybean-collapsed-sidebar-width]`,sidebarWrapper:`group-data-[collapsible=icon]:w-[--soybean-collapsed-sidebar-width] group-data-[side=left]:border-e group-data-[side=right]:border-s`},floating:{sidebarGapHandler:`w-[calc(var(--soybean-sidebar-width)+var(--soybean-layout-spacing))] group-data-[collapsible=icon]:w-[calc(var(--soybean-collapsed-sidebar-width)+var(--soybean-layout-spacing))]`,sidebarWrapper:`p-[calc(var(--soybean-layout-spacing)/2)] w-[calc(var(--soybean-sidebar-width)+var(--soybean-layout-spacing))] group-data-[collapsible=icon]:w-[calc(var(--soybean-collapsed-sidebar-width)+var(--soybean-layout-spacing))]`},inset:{root:`bg-sidebar`,sidebarGapHandler:`w-[calc(var(--soybean-sidebar-width)+var(--soybean-layout-spacing))] group-data-[collapsible=icon]:w-[calc(var(--soybean-collapsed-sidebar-width)+var(--soybean-layout-spacing))]`,sidebarWrapper:`p-[calc(var(--soybean-layout-spacing)/2)] w-[calc(var(--soybean-sidebar-width)+var(--soybean-layout-spacing))] group-data-[collapsible=icon]:w-[calc(var(--soybean-collapsed-sidebar-width)+var(--soybean-layout-spacing))]`,main:`md:m-[calc(var(--soybean-layout-spacing)/2)] md:ms-0 md:rounded-xl md:shadow`}},side:{left:{sidebarWrapper:`start-0 group-data-[collapsible=offcanvas]:start-[calc(var(--soybean-sidebar-width)*-1)]`,rail:`cursor-w-resize group-data-[state=collapsed]:cursor-e-resize -end-[var(--soybean-layout-spacing)]`},right:{sidebarWrapper:`end-0 group-data-[collapsible=offcanvas]:end-[calc(var(--soybean-sidebar-width)*-1)]`,rail:`cursor-e-resize group-data-[state=collapsed]:cursor-w-resize start-0`}},collapsible:{offcanvas:{sidebarWrapper:`group-data-[state=collapsed]:opacity-0`,rail:`translate-x-0 after:start-full hover:bg-sidebar`},icon:{}},fullContent:{true:{tab:`fixed start-0 top-0 z-49 w-full`,content:`fixed inset-0 z-49 group-data-[tab-visible=true]:mt-[--soybean-layout-tab-height]`},false:{content:`relative`}}},compoundVariants:[{side:`left`,collapsible:`offcanvas`,class:{rail:`-end-[var(--soybean-layout-spacing)/2]`}},{side:`right`,collapsible:`offcanvas`,class:{rail:`-start-[var(--soybean-layout-spacing)/2]`}},{side:`left`,variant:`inset`,collapsible:`offcanvas`,class:{rail:`group-data-[state=collapsed]:end-0`}},{side:`right`,variant:`inset`,collapsible:`offcanvas`,class:{rail:`group-data-[state=collapsed]:start-0`}},{side:`left`,variant:`floating`,collapsible:`offcanvas`,class:{rail:`group-data-[state=collapsed]:end-[calc(var(--soybean-layout-spacing)/2)]`}},{side:`right`,variant:`floating`,collapsible:`offcanvas`,class:{rail:`group-data-[state=collapsed]:start-[calc(var(--soybean-layout-spacing)/2)]`}},{variant:`inset`,collapsible:`offcanvas`,class:{main:`md:group-data-[state=collapsed]:ms-[calc(var(--soybean-layout-spacing)/2)]`}}],defaultVariants:{variant:`sidebar`,side:`left`,collapsible:`icon`}}),Z({extendBase:e=>({trigger:Gy({size:e.size}),mobileDrawer:qS({size:e.size,side:e.side}).popup}),slots:{root:`group relative h-full transition-all-300`,main:`flex flex-col h-full group-data-[scroll-behavior=wrapper]:overflow-y-auto transition-all-300`,sidebarRoot:`lt-md:hidden`,sidebarWrapper:[`absolute inset-y-0 z-[--soybean-layout-sidebar-z-index] flex h-full w-[--soybean-sidebar-width] transition-[inset-inline-start,inset-inline-end,width,opacity] duration-200 ease-linear lt-md:hidden`,`group-data-[state=collapsed]:w-[--soybean-collapsed-sidebar-width] pt-[--soybean-layout-sidebar-top-gap] pb-[--soybean-layout-sidebar-bottom-gap]`],sidebar:[`flex flex-col w-full h-full bg-sidebar`,`group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-border group-data-[variant=floating]:border-solid group-data-[variant=floating]:shadow`],mobileDrawer:`w-[--soybean-sidebar-width] bg-sidebar p-0`,mobileOverlay:[`fixed inset-0 z-50 bg-black/80`,`data-[state=open]:animate-in data-[state=open]:fade-in-0`,`data-[state=closed]:animate-out data-[state=closed]:fade-out-0`],mobile:`flex flex-col w-full h-full`,rail:[`absolute inset-y-0 z-20 flex w-[--soybean-layout-spacing] -translate-x-1/2 transition-all ease-linear lt-sm:hidden`,`after:absolute after:inset-y-0 after:start-1/2 after:content-empty after:w-[calc(var(--soybean-layout-spacing)/8)] hover:after:bg-sidebar-border`],trigger:``,header:[`shrink-0 flex items-center h-[--soybean-layout-header-height]`,`group-data-[fixed-top=true]:absolute group-data-[fixed-top=true]:z-[--soybean-layout-header-z-index] group-data-[fixed-top=true]:top-0 group-data-[fixed-top=true]:inset-x-0`],headerPlaceholder:`shrink-0 h-[--soybean-layout-header-height] overflow-hidden`,tab:`shrink-0 h-[--soybean-layout-tab-height] group-data-[fixed-top=true]:z-[--soybean-layout-tab-z-index]`,tabPlaceholder:`shrink-0 h-[--soybean-layout-tab-height] overflow-hidden`,content:`grow bg-background group-data-[scroll-behavior=content]:overflow-y-auto`,footer:[`shrink-0 h-[--soybean-layout-footer-height]`,`group-data-[fixed-footer=true]:absolute group-data-[fixed-footer=true]:z-[--soybean-layout-footer-z-index] group-data-[fixed-footer=true]:bottom-0 group-data-[fixed-footer=true]:inset-x-0`],footerPlaceholder:`shrink-0 h-[--soybean-layout-footer-height] overflow-hidden`},variants:{size:{xs:{root:`text-2xs [--soybean-layout-spacing:0.75rem]`},sm:{root:`text-xs [--soybean-layout-spacing:0.875rem]`},md:{root:`text-sm [--soybean-layout-spacing:1rem]`},lg:{root:`text-base [--soybean-layout-spacing:1.25rem]`},xl:{root:`text-lg [--soybean-layout-spacing:1.5rem]`},"2xl":{root:`text-xl [--soybean-layout-spacing:1.75rem]`}},side:{left:{main:`ps-[--soybean-layout-start-gap]`,sidebarWrapper:`start-0 border-e`,rail:`cursor-w-resize group-data-[state=collapsed]:cursor-e-resize -end-[var(--soybean-layout-spacing)]`,header:`group-data-[fixed-top=true]:ps-[--soybean-layout-header-start-gap]`,footer:`group-data-[fixed-footer=true]:ps-[--soybean-layout-footer-start-gap]`},right:{main:`pe-[--soybean-layout-start-gap]`,sidebarWrapper:`end-0 border-s`,rail:`cursor-e-resize group-data-[state=collapsed]:cursor-w-resize start-0`,header:`group-data-[fixed-top=true]:pe-[--soybean-layout-header-start-gap]`,footer:`group-data-[fixed-footer=true]:pe-[--soybean-layout-footer-start-gap]`}},fullContent:{true:{tab:`fixed start-0 top-0 z-[--soybean-layout-base-z-index] w-full`,content:`fixed inset-0 z-[--soybean-layout-base-z-index] group-data-[tab-visible=true]:mt-[--soybean-layout-tab-height] overflow-auto`},false:{tab:`group-data-[fixed-top=true]:absolute group-data-[fixed-top=true]:inset-x-0 group-data-[fixed-top=true]:top-[--soybean-layout-header-height]`,content:`relative`}}},compoundVariants:[{side:`left`,fullContent:!1,class:{tab:`group-data-[fixed-top=true]:ps-[--soybean-layout-start-gap]`}},{side:`right`,fullContent:!1,class:{tab:`group-data-[fixed-top=true]:pe-[--soybean-layout-start-gap]`}}],defaultVariants:{size:`md`,side:`left`,fullContent:!1}}),Z({slots:{root:`flex flex-col`,item:`flex list-none`,content:`grow flex flex-col`,title:`font-medium tracking-tight m-0`,description:`[&_p]:leading-relaxed text-muted-foreground m-0`},variants:{size:{xs:{root:`gap-2 text-2xs`,item:`gap-2`,content:`gap-0.75`,title:`text-xs leading-3.125`},sm:{root:`gap-3 text-xs`,item:`gap-3`,content:`gap-1`,title:`text-sm leading-3.75`},md:{root:`gap-4 text-sm`,item:`gap-4`,content:`gap-1`,title:`text-base leading-4.375`},lg:{root:`gap-5 text-base`,item:`gap-5`,content:`gap-1.25`,title:`text-lg leading-5`},xl:{root:`gap-6 text-lg`,item:`gap-6`,content:`gap-1.5`,title:`text-xl leading-5.625`},"2xl":{root:`gap-7 text-xl`,item:`gap-7`,content:`gap-2`,title:`text-2xl leading-6.25`}}},defaultVariants:{size:`md`}}),Z({slots:{root:`inline-flex items-center w-fit rounded-md border bg-background shadow-sm`,trigger:[`flex cursor-pointer select-none items-center rounded-sm font-medium outline-none`,`focus:(bg-accent text-accent-foreground)`,`data-[state=open]:(bg-accent text-accent-foreground)`]},variants:{size:{xs:{root:`gap-1 p-0.5 text-2xs`,trigger:`gap-1 px-1 py-1`},sm:{root:`gap-1.25 p-0.625 text-xs`,trigger:`gap-1.5 px-1.5 py-1`},md:{root:`gap-1.5 p-0.75`,trigger:`gap-2 px-2 py-1.25`},lg:{root:`gap-1.75 p-0.875`,trigger:`gap-2.5 px-2.5 py-1.5`},xl:{root:`gap-2 p-1`,trigger:`gap-3 px-3 py-2`},"2xl":{root:`gap-2.5 p-1.25`,trigger:`gap-3.5 px-3.5 py-2.5`}}},defaultVariants:{size:`md`}}),Z({slots:{root:`group`,viewport:[`fixed z-50 origin-top-center overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-lg`,`start-[--soybean-navigation-menu-viewport-left] top-[--soybean-navigation-menu-viewport-top]`,`h-[--soybean-navigation-menu-viewport-height] w-[--soybean-navigation-menu-viewport-width]`,`transition-all duration-200 ease-out`,`data-[state=open]:animate-in data-[state=open]:zoom-in-90 data-[state=closed]:animate-out data-[state=closed]:zoom-out-95`,`group-data-[orientation=vertical]:mt-0`],content:[`start-0 top-0 w-auto md:absolute lt-md:w-full`,`data-[motion^=from-]:animate-in data-[motion^=from-]:fade-in`,`data-[motion^=to-]:animate-out data-[motion^=to-]:fade-out`,`data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52`,`rtl:data-[motion=from-end]:slide-in-from-left-52 rtl:data-[motion=from-start]:slide-in-from-right-52 rtl:data-[motion=to-end]:slide-out-to-left-52 rtl:data-[motion=to-start]:slide-out-to-right-52`],arrow:`w-1em h-0.5em fill-popover stroke-border rotate-180 group-data-[orientation=vertical]:rotate-90`,list:[`group grow flex items-center justify-center my-0 list-none`,`group-data-[orientation=vertical]:flex-col group-data-[orientation=vertical]:items-stretch`],subList:`grid grid-cols-[auto_auto] list-none my-0`,item:`list-none m-0`,subItem:`list-none m-0`,itemIcon:`shrink-0 text-muted-foreground`,trigger:[`group inline-flex items-center rounded-md bg-background font-medium transition-colors-200 decoration-none outline-none`,`hover:bg-accent hover:text-accent-foreground`,`focus:bg-accent focus:text-accent-foreground`,`disabled:pointer-events-none disabled:opacity-50`,`data-[active]:bg-accent/50`,`data-[state=open]:bg-accent/50`],subItemContent:`flex items-start rounded-md outline-none cursor-default select-none`,triggerIcon:`ms-auto transition duration-200 group-data-[state=open]:rotate-180`,indicator:[`fixed start-[--soybean-navigation-menu-indicator-left] top-[--soybean-navigation-menu-indicator-top] z-50`,`flex w-[--soybean-navigation-menu-indicator-size] items-end justify-center overflow-hidden transition-transform-200 ease-out`,`data-[state=visible]:animate-in data-[state=visible]:fade-in-0 data-[state=hidden]:animate-out data-[state=hidden]:fade-out-0`,`data-[orientation=vertical]:-rotate-90 [&[dir=rtl]]:data-[orientation=vertical]:rotate-90`],link:[`group relative w-full flex items-center rounded-md font-medium outline-none cursor-pointer decoration-none`,`focus:bg-accent focus:text-accent-foreground hover:bg-accent hover:text-accent-foreground`,`data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50`],subLink:[`flex items-start select-none rounded-md no-underline outline-none transition-colors-200 cursor-pointer decoration-none`,`focus:bg-accent focus:text-accent-foreground hover:bg-accent hover:text-accent-foreground`,`data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50`],linkIcon:`shrink-0 self-start text-muted-foreground rtl:rotate-270`,subLinkContent:`grow flex flex-col items-start`,subLinkLabel:`font-medium leading-none`,subLinkDescription:`line-clamp-2 text-muted-foreground leading-snug m-0`},variants:{size:{xs:{viewport:`mt-1.75 group-data-[orientation=vertical]:ms-3.5`,list:`gap-1 text-2xs`,subList:`gap-1.5 p-1.5 text-2xs`,trigger:`gap-1 px-1 py-1`,indicator:`h-1.75`,arrow:`size-2.25`,link:`gap-1 px-1 py-1`,subItemContent:`gap-1 px-1 py-1`,subLink:`gap-1 px-1 py-1`,linkIcon:`size-2 -ms-1`,subLinkDescription:`mt-1.25`},sm:{viewport:`mt-2 group-data-[orientation=vertical]:ms-4`,list:`gap-1.25 text-xs`,subList:`gap-1.75 p-1.75 text-xs`,trigger:`gap-1.5 px-1.5 py-1`,indicator:`h-2`,arrow:`size-2.5`,link:`gap-1.5 px-1.5 py-1`,subItemContent:`gap-1.5 px-1.5 py-1`,subLink:`gap-1.5 px-1.5 py-1`,linkIcon:`size-2.5 -ms-1.5`,subLinkDescription:`mt-1.25`},md:{viewport:`mt-[calc(0.625rem-1px)] group-data-[orientation=vertical]:ms-5`,list:`gap-1.5 text-sm`,subList:`gap-2 p-2 text-sm`,trigger:`gap-2 px-2 py-1.5`,indicator:`h-2.5`,arrow:`size-3`,link:`gap-2 px-2 py-1.5`,subItemContent:`gap-2 px-2 py-1.5`,subLink:`gap-2 px-2 py-1.5`,linkIcon:`size-3 -ms-2`,subLinkDescription:`mt-1.5`},lg:{viewport:`mt-3 group-data-[orientation=vertical]:ms-6`,list:`gap-1.75 text-base`,subList:`gap-2.5 p-2.5 text-base`,trigger:`gap-2.5 px-2.5 py-1.5`,indicator:`h-3`,arrow:`size-3.5`,link:`gap-2.5 px-2.5 py-1.5`,subItemContent:`gap-2.5 px-2.5 py-1.5`,subLink:`gap-2.5 px-2.5 py-1.5`,linkIcon:`size-3.5 -ms-2.5`,subLinkDescription:`mt-1.75`},xl:{viewport:`mt-3.5 group-data-[orientation=vertical]:ms-7`,list:`gap-2 text-lg`,subList:`gap-3 p-3 text-lg`,trigger:`gap-3 px-3 py-2`,indicator:`h-3.5`,arrow:`size-4`,link:`gap-3 px-3 py-2`,subItemContent:`gap-3 px-3 py-2`,subLink:`gap-3 px-3 py-2`,linkIcon:`size-4 -ms-3`,subLinkDescription:`mt-2`},"2xl":{viewport:`mt-4 group-data-[orientation=vertical]:ms-8`,list:`gap-2.5 text-xl`,subList:`gap-3.5 p-3.5 text-xl`,trigger:`gap-3.5 px-3.5 py-2.5`,indicator:`h-4`,arrow:`size-4.5`,link:`gap-3.5 px-3.5 py-2.5`,subItemContent:`gap-3.5 px-3.5 py-2.5`,subLink:`gap-3.5 px-3.5 py-2.5`,linkIcon:`size-4.5 -ms-3.5`,subLinkDescription:`mt-2.5`}}},defaultVariants:{size:`md`}}),Z({slots:{root:`flex`,item:[`group/item relative flex items-center cursor-pointer select-none outline-none`,`data-[active=true]:bg-primary-50 data-[active=true]:text-primary data-[active=true]:z-2`,`data-[active=false]:hover:bg-accent data-[active=false]:focus:bg-accent`,`dark:data-[active=true]:bg-accent dark:data-[active=true]:text-foreground`],itemText:`grow truncate`,close:[`outline-none rounded-full hover:text-muted group-data-[active=true]/item:hover:bg-primary/50`,`group-data-[active=false]/item:hover:bg-accent-foreground/20`,`dark:hover:text-foreground dark:group-data-[active=true]/item:hover:bg-accent-foreground/20`],pin:`outline-none`,chromeBgLeft:[`absolute end-full bottom-0 fill-transparent`,`group-hover/item:fill-accent group-data-[active=true]/item:fill-primary-50 dark:group-data-[active=true]/item:fill-accent group-data-[active=true]/item:z-2`],chromeBgRight:[`absolute start-full bottom-0 fill-transparent`,`group-hover/item:fill-accent group-data-[active=true]/item:fill-primary-50 dark:group-data-[active=true]/item:fill-accent group-data-[active=true]/item:z-2`],sliderIndicator:`absolute bottom-0 start-0 w-full h-0.5 group-data-[active=true]/item:bg-primary`},variants:{size:{xs:{root:`text-2xs`,item:`gap-2 px-1 py-1`,itemText:`max-w-50`},sm:{root:`text-xs`,item:`gap-2.5 px-1.5 py-1`,itemText:`max-w-55`},md:{root:`text-sm`,item:`gap-3 px-2 py-1.5`,itemText:`max-w-60`,chromeBgLeft:`w-2 h-2`,chromeBgRight:`w-2 h-2`},lg:{root:`text-base`,item:`gap-3.5 px-2.5 py-1.5`,itemText:`max-w-65`},xl:{root:`text-lg`,item:`gap-4 px-3 py-2`,itemText:`max-w-70`},"2xl":{root:`text-xl`,item:`gap-4.5 px-3.5 py-2.5`,itemText:`max-w-75`}},variant:{chrome:{root:`items-end`,item:`rounded-t-md`},card:{root:`items-center gap-2`,item:`rounded-md shadow-sm border border-border`},slider:{root:`items-end`,item:`rounded-t-md`}}},defaultVariants:{size:`md`,variant:`chrome`}});var RN=gl({base:[`inline-flex items-center justify-center flex-shrink-0 font-medium transition-all-150 rtl:[&>svg]:rotate-180`,`hover:bg-accent hover:text-accent-foreground`,`outline-none focus-visible:ring-3 focus-visible:ring-offset-background focus-visible:ring-primary/30`,`disabled:cursor-not-allowed disabled:opacity-50`],variants:{size:{xs:`h-6 px-1 gap-0.75`,sm:`h-7 px-1.5 gap-1`,md:`h-8 px-1.875 gap-1.5`,lg:`h-9 px-2 gap-2`,xl:`h-10 px-2.25 gap-2.5`,"2xl":`h-12 px-2.875 gap-3`},variant:{pure:`data-[soybean-pagination-action]:border data-[soybean-pagination-action]:border-border data-[soybean-pagination-action]:bg-background data-[soybean-pagination-action]:text-accent-foreground data-[soybean-pagination-action]:hover:bg-accent/60 data-[soybean-pagination-action]:active:bg-accent`,solid:`data-[soybean-pagination-action]:border-transparent data-[soybean-pagination-action]:bg-primary data-[soybean-pagination-action]:text-primary-foreground data-[soybean-pagination-action]:hover:bg-primary/80 data-[soybean-pagination-action]:hover:text-primary-foreground data-[soybean-pagination-action]:active:bg-primary-600`,outline:`data-[soybean-pagination-action]:border data-[soybean-pagination-action]:border-primary data-[soybean-pagination-action]:bg-background data-[soybean-pagination-action]:text-primary data-[soybean-pagination-action]:hover:bg-transparent`,soft:`data-[soybean-pagination-action]:bg-primary/10 data-[soybean-pagination-action]:hover:bg-primary/10 data-[soybean-pagination-action]:active:bg-primary/20`},shape:{rounded:`rounded-full`,square:`rounded-md`}},defaultVariants:{size:`md`}});Z({extendBase:e=>{let{size:t,shape:n,actionAsSelected:r}=e,i=r?e.variant:void 0;return{first:RN({size:t,variant:i,shape:n}),prev:RN({size:t,variant:i,shape:n}),next:RN({size:t,variant:i,shape:n}),last:RN({size:t,variant:i,shape:n})}},slots:{root:``,list:`flex items-center`,ellipsis:`flex justify-center items-center`,listItem:[`inline-flex items-center justify-center flex-shrink-0 font-medium transition-all-150`,`hover:bg-accent hover:text-accent-foreground`,`outline-none focus-visible:ring-3 focus-visible:ring-offset-background focus-visible:ring-primary/30`,`disabled:cursor-not-allowed disabled:opacity-50`],first:``,prev:``,next:``,last:``},variants:{size:{xs:{list:`gap-0.75 text-2xs`,ellipsis:`size-6`,listItem:`size-6`},sm:{list:`gap-1 text-xs`,ellipsis:`size-7`,listItem:`size-7`},md:{list:`gap-1.25 text-sm`,ellipsis:`size-8`,listItem:`size-8`},lg:{list:`gap-1.5 text-base`,ellipsis:`size-9`,listItem:`size-9`},xl:{list:`gap-1.75 text-lg`,ellipsis:`size-10`,listItem:`size-10`},"2xl":{list:`gap-2 text-xl`,ellipsis:`size-12`,listItem:`size-12`}},variant:{pure:{listItem:`data-[selected]:border data-[selected]:border-border data-[selected]:bg-background data-[selected]:text-accent-foreground data-[selected]:hover:bg-accent/60 data-[selected]:active:bg-accent`},solid:{listItem:`data-[selected]:border-transparent data-[selected]:bg-primary data-[selected]:text-primary-foreground data-[selected]:hover:bg-primary/80 data-[selected]:hover:text-primary-foreground data-[selected]:active:bg-primary-600`},outline:{listItem:`data-[selected]:border data-[selected]:border-primary data-[selected]:bg-background data-[selected]:text-primary data-[selected]:hover:bg-transparent`},soft:{listItem:`data-[selected]:bg-primary/10 data-[selected]:hover:bg-primary/10 data-[selected]:active:bg-primary/20`}},shape:{rounded:{listItem:`rounded-full`},square:{listItem:`rounded-md`}},actionAsSelected:{true:{},false:{}}},defaultVariants:{size:`md`,variant:`pure`,shape:`square`,actionAsSelected:!1}}),Z({extend:[IN],extendBase:e=>({visible:qy({size:e.size})})}),Z({extendBase:e=>({close:qy({size:e.size}),cancel:Ky({size:e.size,variant:`pure`}),confirm:Ky({size:e.size})}),slots:{positioner:`w-max`,popup:[`flex flex-col w-auto rounded-md border bg-popover text-popover-foreground shadow-md outline-none z-50 will-change-transform`,`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`],arrow:`w-1em h-0.5em fill-popover stroke-border`,header:`flex flex-col lt-sm:text-center`,icon:`shrink-0`,title:`flex items-center font-semibold leading-none tracking-tight m-0`,description:`text-muted-foreground m-0`,content:``,footer:`flex justify-end lt-sm:flex-col-reverse`,cancel:``,confirm:``,close:`absolute`},variants:{size:{xs:{popup:`gap-y-2 p-2 text-2xs`,arrow:`text-3xs`,close:`top-1 end-1`,header:`gap-y-1.5`,icon:`text-3xs`,title:`gap-x-1.5`,footer:`gap-1.5`},sm:{popup:`gap-y-2.5 p-2.5 text-xs`,arrow:`text-2xs`,close:`top-1.25 end-1.25`,header:`gap-y-1.75`,icon:`text-2xs`,title:`gap-x-1.75`,footer:`gap-1.75`},md:{popup:`gap-y-3 p-3 text-sm`,arrow:`text-xs`,close:`top-1.5 end-1.5`,header:`gap-y-2`,icon:`text-sm`,title:`gap-x-2`,footer:`gap-2`},lg:{popup:`gap-y-3.5 p-3.5 text-base`,arrow:`text-sm`,close:`top-1.75 end-1.75`,header:`gap-y-2.5`,icon:`text-base`,title:`gap-x-2.5`,footer:`gap-2.5`},xl:{popup:`gap-y-4 p-4 text-lg`,arrow:`text-base`,close:`top-2 end-2`,header:`gap-y-3`,icon:`text-lg`,title:`gap-x-3`,footer:`gap-3`},"2xl":{popup:`gap-y-4.5 p-4.5 text-xl`,arrow:`text-lg`,close:`top-2.5 end-2.5`,header:`gap-y-3.5`,icon:`text-xl`,title:`gap-x-3.5`,footer:`gap-3.5`}},type:{error:{icon:`text-destructive`},success:{icon:`text-success`},warning:{icon:`text-warning`},info:{icon:`text-info`}}},defaultVariants:{size:`md`}}),Z({slots:{root:`flex`,item:`flex items-center`,control:[`peer relative shrink-0 rounded-full border border-solid shadow transition-all-150`,`outline-none focus-visible:ring-3 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50`],indicator:`absolute top-1/2 start-1/2 -translate-x-1/2 rtl:translate-x-1/2 -translate-y-1/2 size-1/2 rounded-full`,label:``},variants:{color:{primary:{control:`border-primary focus-visible:ring-primary/30`,indicator:`bg-primary`},destructive:{control:`border-destructive focus-visible:ring-destructive/30`,indicator:`bg-destructive`},success:{control:`border-success focus-visible:ring-success/30`,indicator:`bg-success`},warning:{control:`border-warning focus-visible:ring-warning/30`,indicator:`bg-warning`},info:{control:`border-info focus-visible:ring-info/30`,indicator:`bg-info`},carbon:{control:`border-carbon focus-visible:ring-carbon/30`,indicator:`bg-carbon`},secondary:{control:`border-secondary-foreground focus-visible:ring-secondary-foreground/20`,indicator:`bg-secondary-foreground/60`},accent:{control:`border-accent-foreground focus-visible:ring-accent-foreground/20`,indicator:`bg-accent-foreground/60`}},size:{xs:{root:`gap-x-2 gap-y-1.5`,item:`gap-1.5`,control:`size-3`},sm:{root:`gap-x-2.5 gap-y-1.75`,item:`gap-1.75`,control:`size-3.5`},md:{root:`gap-x-3 gap-y-2`,item:`gap-2`,control:`size-4`},lg:{root:`gap-x-3.5 gap-y-2.5`,item:`gap-2.5`,control:`size-4.5`},xl:{root:`gap-x-4 gap-y-3`,item:`gap-3`,control:`size-5`},"2xl":{root:`gap-x-4.5 gap-y-3.5`,item:`gap-3.5`,control:`size-6`}},orientation:{horizontal:{root:`items-center`},vertical:{root:`flex-col`}},variant:{dot:{indicator:``},outline:{control:``}}},compoundVariants:[{color:`primary`,variant:`outline`,class:{control:`data-[state=checked]:bg-primary`,indicator:`bg-background`}},{color:`destructive`,variant:`outline`,class:{control:`data-[state=checked]:bg-destructive`,indicator:`bg-background`}},{color:`success`,variant:`outline`,class:{control:`data-[state=checked]:bg-success`,indicator:`bg-background`}},{color:`warning`,variant:`outline`,class:{control:`data-[state=checked]:bg-warning`,indicator:`bg-background`}},{color:`info`,variant:`outline`,class:{control:`data-[state=checked]:bg-info`,indicator:`bg-background`}},{color:`carbon`,variant:`outline`,class:{control:`data-[state=checked]:bg-carbon`,indicator:`bg-background`}},{color:`secondary`,variant:`outline`,class:{control:`data-[state=checked]:bg-secondary-foreground`,indicator:`bg-background`}},{color:`accent`,variant:`outline`,class:{control:`data-[state=checked]:bg-accent-foreground`,indicator:`bg-background`}}],defaultVariants:{variant:`dot`,color:`primary`,size:`md`,orientation:`horizontal`}}),Z({slots:{root:`flex`,item:`relative inline-flex border border-solid border-border rounded-md`,content:`flex items-center grow`,textContent:`flex flex-col`,icon:`shrink-0`,label:`font-medium`,description:`text-muted-foreground`,control:[`peer shrink-0 inline-flex items-start justify-start rounded-full border border-solid shadow`,`outline-none focus-visible:ring-3 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50`,`order-1 after:absolute after:inset-0 after:content-empty`],indicator:`relative top-1/2 start-1/2 -translate-x-1/2 rtl:translate-x-1/2 -translate-y-1/2 inline-flex size-1/2 rounded-full`},variants:{color:{primary:{item:`data-[state=checked]:border-primary`,control:`border-primary focus-visible:ring-primary/30`,indicator:`bg-primary`},destructive:{item:`data-[state=checked]:border-destructive`,control:`border-destructive focus-visible:ring-destructive/30`,indicator:`bg-destructive`},success:{item:`data-[state=checked]:border-success`,control:`border-success focus-visible:ring-success/30`,indicator:`bg-success`},warning:{item:`data-[state=checked]:border-warning`,control:`border-warning focus-visible:ring-warning/30`,indicator:`bg-warning`},info:{item:`data-[state=checked]:border-info`,control:`border-info focus-visible:ring-info/30`,indicator:`bg-info`},carbon:{item:`data-[state=checked]:border-carbon`,control:`border-carbon focus-visible:ring-carbon/30`,indicator:`bg-carbon`},secondary:{item:`data-[state=checked]:border-secondary-foreground`,control:`border-secondary-foreground focus-visible:ring-secondary-foreground/20`,indicator:`bg-secondary-foreground/60`},accent:{item:`data-[state=checked]:border-accent-foreground`,control:`border-accent-foreground focus-visible:ring-accent-foreground/20`,indicator:`bg-accent-foreground/60`}},size:{xs:{root:`gap-x-2 gap-y-1.5`,item:`gap-2 text-2xs p-2`,content:`gap-2`,textContent:`gap-0.5`,icon:`text-3`,description:`text-3xs`,control:`size-3`},sm:{root:`gap-x-2.5 gap-y-1.75`,item:`gap-2.5 text-xs p-2.5`,content:`gap-2.5`,textContent:`gap-0.75`,icon:`text-4`,description:`text-2xs`,control:`size-3.5`},md:{root:`gap-x-3 gap-y-2`,item:`gap-3 text-sm p-3`,content:`gap-3`,textContent:`gap-1`,icon:`text-5`,description:`text-xs`,control:`size-4`},lg:{root:`gap-x-3.5 gap-y-2.5`,item:`gap-4 text-base p-4`,content:`gap-4`,textContent:`gap-1.5`,icon:`text-6`,description:`text-sm`,control:`size-4.5`},xl:{root:`gap-x-4 gap-y-3`,item:`gap-5 text-lg p-5`,content:`gap-5`,textContent:`gap-2`,icon:`text-7`,description:`text-base`,control:`size-5`},"2xl":{root:`gap-x-4.5 gap-y-3.5`,item:`gap-6 text-xl p-6`,content:`gap-6`,textContent:`gap-2.5`,icon:`text-8`,description:`text-lg`,control:`size-6`}},variant:{dot:{indicator:``},outline:{control:``}}},compoundVariants:[{color:`primary`,variant:`outline`,class:{control:`data-[state=checked]:bg-primary`,indicator:`bg-background`}},{color:`destructive`,variant:`outline`,class:{control:`data-[state=checked]:bg-destructive`,indicator:`bg-background`}},{color:`success`,variant:`outline`,class:{control:`data-[state=checked]:bg-success`,indicator:`bg-background`}},{color:`warning`,variant:`outline`,class:{control:`data-[state=checked]:bg-warning`,indicator:`bg-background`}},{color:`info`,variant:`outline`,class:{control:`data-[state=checked]:bg-info`,indicator:`bg-background`}},{color:`carbon`,variant:`outline`,class:{control:`data-[state=checked]:bg-carbon`,indicator:`bg-background`}},{color:`secondary`,variant:`outline`,class:{control:`data-[state=checked]:bg-secondary-foreground`,indicator:`bg-background`}},{color:`accent`,variant:`outline`,class:{control:`data-[state=checked]:bg-accent-foreground`,indicator:`bg-background`}}],defaultVariants:{variant:`dot`,color:`primary`,size:`md`}}),Z({slots:{root:`relative overflow-hidden`,viewport:`size-full rounded-[inherit] outline-none focus-visible:outline-1 focus-visible:ring-3 focus-visible:ring-ring/50`,scrollbar:[`absolute flex touch-none select-none p-px transition-opacity duration-200 ease-out`,`data-[state=hidden]:pointer-events-none data-[state=hidden]:opacity-0`,`data-[orientation=vertical]:inset-y-0 data-[orientation=vertical]:end-0 data-[orientation=vertical]:border-s data-[orientation=vertical]:border-s-transparent`,`rtl:data-[orientation=vertical]:end-auto rtl:data-[orientation=vertical]:start-0`,`data-[orientation=horizontal]:inset-x-0 data-[orientation=horizontal]:bottom-0 data-[orientation=horizontal]:flex-col data-[orientation=horizontal]:border-t data-[orientation=horizontal]:border-t-transparent`],thumb:`relative flex-1 rounded-full bg-border`,corner:`absolute bottom-0 end-0 bg-border/50 rtl:end-auto rtl:start-0`},variants:{size:{xs:{scrollbar:`data-[orientation=vertical]:w-1.75 data-[orientation=horizontal]:h-1.75`},sm:{scrollbar:`data-[orientation=vertical]:w-2 data-[orientation=horizontal]:h-2`},md:{scrollbar:`data-[orientation=vertical]:w-2.5 data-[orientation=horizontal]:h-2.5`},lg:{scrollbar:`data-[orientation=vertical]:w-3 data-[orientation=horizontal]:h-3`},xl:{scrollbar:`data-[orientation=vertical]:w-3.5 data-[orientation=horizontal]:h-3.5`},"2xl":{scrollbar:`data-[orientation=vertical]:w-4 data-[orientation=horizontal]:h-4`}}},defaultVariants:{size:`md`}}),Z({slots:{root:`relative shrink-0 border-border`,label:`absolute top-1/2 -translate-x-1/2 rtl:translate-x-1/2 -translate-y-1/2 flex justify-center items-center text-muted-foreground bg-background`},variants:{size:{xs:{label:`text-2xs`},sm:{label:`text-xs`},md:{label:`text-sm`},lg:{label:`text-base`},xl:{label:`text-lg`},"2xl":{label:`text-2xl`}},orientation:{vertical:{root:`h-full border-s`,label:`w-1px`},horizontal:{root:`w-full border-t`,label:`h-1px`}},align:{start:{label:`start-1/16 lt-sm:start-1/8 lt-md:start-1/10 lt-lg:start-1/12`},center:{label:`start-1/2`},end:{label:`start-15/16 lt-sm:start-7/8 lt-md:start-9/10 lt-lg:start-11/12`}},border:{solid:{root:`border-solid`},dashed:{root:`border-dashed`},dotted:{root:`border-dotted`}}},compoundVariants:[{size:`xs`,orientation:`vertical`,class:{label:`px-0.75 py-1.5`}},{size:`xs`,orientation:`horizontal`,class:{label:`px-1.5 py-0.75`}},{size:`sm`,orientation:`vertical`,class:{label:`px-0.875 py-1.75`}},{size:`sm`,orientation:`horizontal`,class:{label:`px-1.75 py-0.875`}},{size:`md`,orientation:`vertical`,class:{label:`px-1 py-2`}},{size:`md`,orientation:`horizontal`,class:{label:`px-2 py-1`}},{size:`lg`,orientation:`vertical`,class:{label:`px-1.125 py-2.25`}},{size:`lg`,orientation:`horizontal`,class:{label:`px-2.25 py-1.125`}},{size:`xl`,orientation:`vertical`,class:{label:`px-1.25 py-2.5`}},{size:`xl`,orientation:`horizontal`,class:{label:`px-2.5 py-1.25`}},{size:`2xl`,orientation:`vertical`,class:{label:`px-1.5 py-3`}},{size:`2xl`,orientation:`horizontal`,class:{label:`px-3 py-1.5`}}],defaultVariants:{size:`md`,orientation:`horizontal`,align:`center`,border:`solid`}}),gl({base:`block shrink-0 bg-muted`,variants:{size:{xs:`h-3 w-16`,sm:`h-4 w-24`,md:`h-5 w-32`,lg:`h-6 w-40`,xl:`h-8 w-48`,"2xl":`h-10 w-56`},shape:{auto:`rounded-md`,rounded:`rounded-full`},animated:{true:`animate-pulse`,false:``}},defaultVariants:{size:`md`,shape:`auto`,animated:!0}}),gl({variants:{color:{current:`text-current`,primary:`text-primary`,destructive:`text-destructive`,success:`text-success`,warning:`text-warning`,info:`text-info`,carbon:`text-carbon`,secondary:`text-secondary-foreground/20`,accent:`text-accent-foreground/20`},size:{xs:`size-3`,sm:`size-4`,md:`size-5`,lg:`size-6`,xl:`size-8`,"2xl":`size-10`}},defaultVariants:{color:`current`,size:`md`}}),Z({slots:{root:`flex h-full w-full data-[orientation=vertical]:flex-col`,panel:`min-h-0 min-w-0`,resizeHandle:[`bg-border focus-visible:ring-ring relative flex w-px cursor-col-resize items-center justify-center transition-colors duration-200 after:absolute after:inset-y-0`,`after:start-1/2 after:-translate-x-1/2 outline-none focus-visible:ring-1 focus-visible:ring-offset-1`,`data-[state=hover]:bg-accent data-[state=drag]:bg-accent`,`data-[disabled]:cursor-not-allowed data-[disabled]:opacity-60`,`data-[orientation=vertical]:h-px data-[orientation=vertical]:w-full`,`data-[orientation=vertical]:cursor-row-resize`,`data-[orientation=vertical]:after:start-0 data-[orientation=vertical]:after:w-full`,`data-[orientation=vertical]:after:-translate-y-1/2 data-[orientation=vertical]:after:translate-x-0`]},variants:{size:{xs:{resizeHandle:`after:w-0.5 data-[orientation=vertical]:after:h-0.5`},sm:{resizeHandle:`after:w-0.75 data-[orientation=vertical]:after:h-0.75`},md:{resizeHandle:`after:w-1 data-[orientation=vertical]:after:h-1`},lg:{resizeHandle:`after:w-1.25 data-[orientation=vertical]:after:h-1.25`},xl:{resizeHandle:`after:w-1.5 data-[orientation=vertical]:after:h-1.5`},"2xl":{resizeHandle:`after:w-2 data-[orientation=vertical]:after:h-2`}}},defaultVariants:{size:`md`}}),Z({slots:{root:`flex w-full`,item:`group flex min-w-0 flex-1`,trigger:[`inline-flex rounded-md transition-colors`,`outline-none focus-visible:ring-3 focus-visible:ring-offset-background focus-visible:ring-primary/30`,`data-[orientation=horizontal]:mt-0.25 data-[orientation=vertical]:ms-0.25 group-data-[disabled]:pointer-events-none`],indicator:[`inline-flex shrink-0 items-center justify-center rounded-full border bg-background font-medium transition-colors`,`group-data-[disabled]:opacity-50`],separator:`shrink-0 bg-muted transition-colors group-data-[disabled]:opacity-50`,title:`font-semibold whitespace-nowrap transition-colors`,description:`text-muted-foreground transition-colors`,itemContent:`flex min-w-0 flex-col`,indicatorIcon:``},variants:{size:{xs:{root:`text-2xs`,trigger:`gap-1 data-[orientation=vertical]:gap-2`,indicator:`size-6 text-2xs`,itemContent:`gap-1`,title:`text-2xs`,description:`text-4xs`,separator:`data-[orientation=horizontal]:mt-3 data-[orientation=vertical]:ms-3`},sm:{root:`text-xs`,trigger:`gap-1.5 data-[orientation=vertical]:gap-3`,indicator:`size-7 text-xs`,itemContent:`gap-1.5`,title:`text-xs`,description:`text-3xs`,separator:`data-[orientation=horizontal]:mt-3.5 data-[orientation=vertical]:ms-3.5`},md:{root:`text-sm`,trigger:`gap-2 data-[orientation=vertical]:gap-4`,indicator:`size-8`,itemContent:`gap-2`,title:`text-sm`,description:`text-xs`,separator:`data-[orientation=horizontal]:mt-4 data-[orientation=vertical]:ms-4`},lg:{root:`text-base`,trigger:`gap-2.5 data-[orientation=vertical]:gap-5`,indicator:`size-9 text-base`,itemContent:`gap-2.5`,title:`text-base`,description:`text-sm`,separator:`data-[orientation=horizontal]:mt-4.5 data-[orientation=vertical]:ms-4.5`},xl:{root:`text-lg`,trigger:`gap-3 data-[orientation=vertical]:gap-6`,indicator:`size-10 text-lg`,itemContent:`gap-3`,title:`text-lg`,description:`text-base`,separator:`data-[orientation=horizontal]:mt-5 data-[orientation=vertical]:ms-5`},"2xl":{root:`text-xl`,trigger:`gap-3.5 data-[orientation=vertical]:gap-7`,indicator:`size-12 text-xl`,itemContent:`gap-3.5`,title:`text-xl`,description:`text-lg`,separator:`data-[orientation=horizontal]:mt-6 data-[orientation=vertical]:ms-6`}},orientation:{horizontal:{root:`items-start`,trigger:`flex-col items-center text-center`,itemContent:`items-center text-center`,separator:`h-0.5 flex-1`},vertical:{root:`flex-col`,item:`flex-none flex-col items-start`,trigger:`w-full flex-row items-start text-start`,itemContent:`flex-1 items-start text-start`,separator:`w-0.5 min-h-7`}},color:{primary:{indicator:[`group-data-[state=active]:border-primary group-data-[state=active]:bg-primary group-data-[state=active]:text-primary-foreground`,`group-data-[state=completed]:border-primary/25 group-data-[state=completed]:bg-primary/15 group-data-[state=completed]:text-primary`],separator:`group-data-[state=completed]:bg-primary`,title:`group-data-[state=active]:text-primary group-data-[state=completed]:text-primary`,description:`group-data-[state=active]:text-primary/80 group-data-[state=completed]:text-primary/80`},destructive:{indicator:[`group-data-[state=active]:border-destructive group-data-[state=active]:bg-destructive group-data-[state=active]:text-destructive-foreground`,`group-data-[state=completed]:border-destructive/25 group-data-[state=completed]:bg-destructive/15 group-data-[state=completed]:text-destructive`],separator:`group-data-[state=completed]:bg-destructive`,title:`group-data-[state=active]:text-destructive group-data-[state=completed]:text-destructive`,description:`group-data-[state=active]:text-destructive/80 group-data-[state=completed]:text-destructive/80`},success:{indicator:[`group-data-[state=active]:border-success group-data-[state=active]:bg-success group-data-[state=active]:text-success-foreground`,`group-data-[state=completed]:border-success/25 group-data-[state=completed]:bg-success/15 group-data-[state=completed]:text-success`],separator:`group-data-[state=completed]:bg-success`,title:`group-data-[state=active]:text-success group-data-[state=completed]:text-success`,description:`group-data-[state=active]:text-success/80 group-data-[state=completed]:text-success/80`},warning:{indicator:[`group-data-[state=active]:border-warning group-data-[state=active]:bg-warning group-data-[state=active]:text-warning-foreground`,`group-data-[state=completed]:border-warning/25 group-data-[state=completed]:bg-warning/15 group-data-[state=completed]:text-warning`],separator:`group-data-[state=completed]:bg-warning`,title:`group-data-[state=active]:text-warning group-data-[state=completed]:text-warning`,description:`group-data-[state=active]:text-warning/80 group-data-[state=completed]:text-warning/80`},info:{indicator:[`group-data-[state=active]:border-info group-data-[state=active]:bg-info group-data-[state=active]:text-info-foreground`,`group-data-[state=completed]:border-info/25 group-data-[state=completed]:bg-info/15 group-data-[state=completed]:text-info`],separator:`group-data-[state=completed]:bg-info`,title:`group-data-[state=active]:text-info group-data-[state=completed]:text-info`,description:`group-data-[state=active]:text-info/80 group-data-[state=completed]:text-info/80`},carbon:{indicator:[`group-data-[state=active]:border-carbon group-data-[state=active]:bg-carbon group-data-[state=active]:text-carbon-foreground`,`group-data-[state=completed]:border-carbon/25 group-data-[state=completed]:bg-carbon/15 group-data-[state=completed]:text-carbon`],separator:`group-data-[state=completed]:bg-carbon`,title:`group-data-[state=active]:text-carbon group-data-[state=completed]:text-carbon`,description:`group-data-[state=active]:text-carbon/80 group-data-[state=completed]:text-carbon/80`},secondary:{indicator:[`group-data-[state=active]:border-secondary group-data-[state=active]:bg-secondary group-data-[state=active]:text-secondary-foreground`,`group-data-[state=completed]:border-secondary/25 group-data-[state=completed]:bg-secondary/15 group-data-[state=completed]:text-secondary`],separator:`group-data-[state=completed]:bg-secondary`,title:`group-data-[state=active]:text-secondary group-data-[state=completed]:text-secondary`,description:`group-data-[state=active]:text-secondary/80 group-data-[state=completed]:text-secondary/80`},accent:{indicator:[`group-data-[state=active]:border-accent group-data-[state=active]:bg-accent group-data-[state=active]:text-accent-foreground`,`group-data-[state=completed]:border-accent/25 group-data-[state=completed]:bg-accent/15 group-data-[state=completed]:text-accent`],separator:`group-data-[state=completed]:bg-accent`,title:`group-data-[state=active]:text-accent group-data-[state=completed]:text-accent`,description:`group-data-[state=active]:text-accent/80 group-data-[state=completed]:text-accent/80`}}},defaultVariants:{size:`md`,orientation:`horizontal`,color:`primary`}}),Z({slots:{root:`inline-flex`,control:[`peer shrink-0 inline-flex items-center rounded-full border-0 shadow-sm transition-colors-200`,`outline-none focus-visible:ring-3 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=unchecked]:bg-input`],thumb:[`flex justify-center items-center rounded-full shadow-lg transition-transform-200 bg-background pointer-events-none`,`data-[state=unchecked]:translate-x-0.5 rtl:data-[state=unchecked]:-translate-x-0.5`]},variants:{color:{primary:{control:`data-[state=checked]:bg-primary focus-visible:ring-primary/30`},destructive:{control:`data-[state=checked]:bg-destructive focus-visible:ring-destructive/30`},success:{control:`data-[state=checked]:bg-success focus-visible:ring-success/30`},warning:{control:`data-[state=checked]:bg-warning focus-visible:ring-warning/30`},info:{control:`data-[state=checked]:bg-info focus-visible:ring-info/30`},carbon:{control:`data-[state=checked]:bg-carbon focus-visible:ring-carbon/30`},secondary:{control:`data-[state=checked]:bg-secondary-foreground/20 focus-visible:ring-secondary-foreground/20`},accent:{control:`data-[state=checked]:bg-accent-foreground/20 focus-visible:ring-accent-foreground/20`}},size:{xs:{control:`h-4 w-7`,thumb:`size-3 data-[state=checked]:translate-x-3.5 rtl:data-[state=checked]:-translate-x-3.5`},sm:{control:`h-4.5 w-8`,thumb:`size-3.5 data-[state=checked]:translate-x-4 rtl:data-[state=checked]:-translate-x-4`},md:{control:`h-5 w-9`,thumb:`size-4 data-[state=checked]:translate-x-4.5 rtl:data-[state=checked]:-translate-x-4.5`},lg:{control:`h-5.5 w-10`,thumb:`size-4.5 data-[state=checked]:translate-x-5 rtl:data-[state=checked]:-translate-x-5`},xl:{control:`h-6 w-11`,thumb:`size-5 data-[state=checked]:translate-x-5.5 rtl:data-[state=checked]:-translate-x-5.5`},"2xl":{control:`h-7 w-13`,thumb:`size-6 data-[state=checked]:translate-x-6.5 rtl:data-[state=checked]:-translate-x-6.5`}},shape:{rounded:{control:`rounded-full`,thumb:`rounded-full`},square:{control:`rounded-md`,thumb:`rounded-sm`}}},defaultVariants:{color:`primary`,size:`md`,shape:`rounded`}}),Z({slots:{root:`relative overflow-hidden supports-[overflow:clip]:overflow-clip [--rounded:calc(var(--radius)-2px)] rounded-[--rounded]`,scroll:`h-full overflow-auto`,content:`min-w-full w-max border-spacing-0`,header:`sticky top-0 start-0 z-10 [&>tr:last-child]:border-b-0`,body:[`[&>tr:last-child]:border-b-0`,`[&>tr:first-child>td:first-child]:rounded-tl-[--rounded] [&>tr:first-child>td:last-child]:rounded-tr-[--rounded]`,`[&>tr:last-child>td:first-child]:rounded-bl-[--rounded] [&>tr:last-child>td:last-child]:rounded-br-[--rounded]`],footer:`font-medium [&>tr:last-child]:border-b-0 [&>tr]:bg-transparent [&>tr]:hover:bg-transparent [&_td]:bg-transparent`,row:`bg-background border-b hover:bg-primary-foreground transition-colors`,head:`box-border bg-accent text-foreground relative font-medium`,cell:`box-border data-[fixed]:bg-background`,fixed:[`relative`,`data-[fixed-last-start]:after:pointer-events-none data-[fixed-last-start]:after:absolute data-[fixed-last-start]:after:bottom-0 data-[fixed-last-start]:after:end-0 data-[fixed-last-start]:after:top-0 data-[fixed-last-start]:after:w-4 data-[fixed-last-start]:after:bg-gradient-to-l data-[fixed-last-start]:after:from-foreground/8 data-[fixed-last-start]:after:to-transparent data-[fixed-last-start]:after:content-empty`,`data-[fixed-first-end]:before:pointer-events-none data-[fixed-first-end]:before:absolute data-[fixed-first-end]:before:bottom-0 data-[fixed-first-end]:before:start-0 data-[fixed-first-end]:before:top-0 data-[fixed-first-end]:before:w-4 data-[fixed-first-end]:before:bg-gradient-to-r data-[fixed-first-end]:before:from-foreground/8 data-[fixed-first-end]:before:to-transparent data-[fixed-first-end]:before:content-empty`],resizeHandle:[`absolute end-0 top-1/2 w-3 h-2/3 -translate-y-1/2 rounded bg-transparent`,`cursor-col-resize border-none touch-none select-none`,`after:bg-border hover:after:bg-primary data-[resizing]:after:bg-primary focus-visible:after:bg-primary`,`outline-none focus-visible:ring-ring/40 focus-visible:ring-2`,`after:absolute after:bottom-0 after:end-0 after:top-0 after:w-px after:rounded-full after:content-empty`],treeCell:`flex min-w-0 items-center gap-1`,treeToggle:``,treeTogglePlaceholder:`inline-block size-5 shrink-0`,sortTrigger:`absolute top-1/2 -translate-y-1/2 data-[sorted]:text-primary`,filterTrigger:`absolute top-1/2 -translate-y-1/2 data-[filtered]:text-primary`,filterInput:``,filterPopup:``,filterSearch:``,filterOptions:`flex flex-col overflow-auto`,filterOption:`w-full rounded-md hover:bg-accent`,filterOptionLabel:`min-w-0 flex-1 truncate`,filterFooter:`flex items-center justify-between border-t border-border`,filterCount:`text-muted-foreground`,filterAction:[`text-xs font-medium text-primary rounded-md border-none bg-transparent px-2 py-1`,`transition-colors hover:bg-accent focus-visible:ring-ring outline-none focus-visible:ring-2`],filterEmpty:`text-muted-foreground py-6 text-center text-xs`,selection:`text-foreground`,radioRoot:[`peer relative shrink-0 rounded-full border border-solid shadow cursor-pointer transition-all-150`,`border-primary focus-visible:ring-primary/30`,`outline-none focus-visible:ring-3 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50`],radioIndicator:`absolute top-1/2 start-1/2 -translate-x-1/2 rtl:translate-x-1/2 -translate-y-1/2 size-1/2 bg-primary rounded-full`},variants:{size:{xs:{root:`text-2xs`,caption:`py-2`,head:`p-1.5`,cell:`p-1.5`,radioRoot:`w-3 h-3`,sortTrigger:`end-1 p-0.75`,filterTrigger:`end-1`,filterPopup:`p-1.5`,filterOptions:`max-h-50 gap-0.75 py-1.5`,filterOption:`p-0.75`,filterFooter:`pt-1`,filterCount:`text-3xs leading-4`},sm:{root:`text-xs`,caption:`py-2.5`,head:`p-1.75`,cell:`p-1.75`,radioRoot:`w-3.5 h-3.5`,sortTrigger:`end-1.25 p-0.875`,filterTrigger:`end-1.25`,filterPopup:`p-1.75`,filterOptions:`max-h-55 gap-0.875 py-2`,filterOption:`p-0.875`,filterFooter:`pt-1.25`,filterCount:`text-2xs leading-5`},md:{root:`text-sm`,caption:`py-3`,head:`p-2`,cell:`p-2`,radioRoot:`w-4 h-4`,sortTrigger:`end-1.5 p-1`,filterTrigger:`end-1.5`,filterPopup:`p-2`,filterOptions:`max-h-60 gap-1 py-2.5`,filterOption:`p-1`,filterFooter:`pt-1.5`,filterCount:`text-xs leading-6`},lg:{root:`text-base`,caption:`py-3.5`,head:`p-2.5`,cell:`p-2.5`,radioRoot:`w-4.5 h-4.5`,sortTrigger:`end-1.75 p-1.25`,filterTrigger:`end-1.75`,filterPopup:`p-2.5`,filterOptions:`max-h-65 gap-1.25 py-3`,filterOption:`p-1.25`,filterFooter:`pt-1.75`,filterCount:`text-sm leading-7`},xl:{root:`text-lg`,caption:`py-4`,head:`p-3`,cell:`p-3`,radioRoot:`w-5 h-5`,sortTrigger:`end-2 p-1.5`,filterTrigger:`end-2`,filterPopup:`p-3`,filterOptions:`max-h-70 gap-1.5 py-3.5`,filterOption:`p-1.5`,filterFooter:`pt-2`,filterCount:`text-base leading-8`},"2xl":{root:`text-xl`,caption:`py-4.5`,head:`p-3.5`,cell:`p-3.5`,radioRoot:`w-6 h-6`,sortTrigger:`end-2.5 p-1.75`,filterTrigger:`end-2.5`,filterPopup:`p-3.5`,filterOptions:`max-h-75 gap-1.75 py-4`,filterOption:`p-1.75`,filterFooter:`pt-2.5`,filterCount:`text-lg leading-9`}},variant:{default:{root:`bg-accent`},simple:{header:[`[&>tr:first-child>th:first-child]:rounded-tl-[--rounded] [&>tr:first-child>th:last-child]:rounded-tr-[--rounded]`,`[&>tr:last-child>th:first-child]:rounded-bl-[--rounded] [&>tr:last-child>th:last-child]:rounded-br-[--rounded]`]}},bordered:{true:{cell:`border-s border-border first:border-s-0`}},rounded:{true:{root:``}},striped:{true:{row:`data-[row]:even:bg-accent`}}},compoundVariants:[{size:`xs`,rounded:!0,class:{root:`[--rounded:0.75rem]`}},{size:`sm`,rounded:!0,class:{root:`[--rounded:1rem]`}},{size:`md`,rounded:!0,class:{root:`[--rounded:1.125rem]`}},{size:`lg`,rounded:!0,class:{root:`[--rounded:1.375rem]`}},{size:`xl`,rounded:!0,class:{root:`[--rounded:1.625rem]`}},{size:`2xl`,rounded:!0,class:{root:`[--rounded:1.75rem]`}},{size:`xs`,variant:`default`,class:{root:`px-0.75 pb-0.75`}},{size:`sm`,variant:`default`,class:{root:`px-0.875 pb-0.875`}},{size:`md`,variant:`default`,class:{root:`px-1 pb-1`}},{size:`lg`,variant:`default`,class:{root:`px-1.25 pb-1.25`}},{size:`xl`,variant:`default`,class:{root:`px-1.5 pb-1.5`}},{size:`2xl`,variant:`default`,class:{root:`px-2 pb-2`}}],defaultVariants:{size:`md`,variant:`default`,bordered:!1,rounded:!0,striped:!1}});var zN=gl({base:`inline-flex items-center border font-semibold`,variants:{color:{primary:`border-primary text-primary`,destructive:`border-destructive text-destructive`,success:`border-success text-success`,warning:`border-warning text-warning`,info:`border-info text-info`,carbon:`border-carbon text-carbon`,secondary:`border-secondary-foreground/50 text-secondary-foreground`,accent:`border-accent-foreground/50 text-accent-foreground`},variant:{solid:``,pure:`bg-background text-foreground border-border`,outline:`bg-background`,soft:`border-0`,ghost:``,raw:`bg-transparent border-0`},size:{xs:`gap-0.5 h-4 px-1 text-4xs`,sm:`gap-0.75 h-4.5 px-1.5 text-3xs`,md:`gap-1 h-5 px-2 text-2xs`,lg:`gap-1.25 h-5.5 px-2.5 text-xs`,xl:`gap-1.5 h-6 px-3 text-sm`,"2xl":`gap-2 h-7 px-4 text-base`},shape:{auto:`rounded-md`,rounded:`rounded-full`}},compoundVariants:[{color:`primary`,variant:`solid`,class:`bg-primary text-primary-foreground`},{color:`destructive`,variant:`solid`,class:`bg-destructive text-destructive-foreground`},{color:`success`,variant:`solid`,class:`bg-success text-success-foreground`},{color:`warning`,variant:`solid`,class:`bg-warning text-warning-foreground`},{color:`info`,variant:`solid`,class:`bg-info text-info-foreground`},{color:`carbon`,variant:`solid`,class:`bg-carbon text-carbon-foreground`},{color:`secondary`,variant:`solid`,class:`bg-secondary text-secondary-foreground`},{color:`accent`,variant:`solid`,class:`bg-accent text-accent-foreground`},{color:`primary`,variant:[`soft`,`ghost`],class:`bg-primary/10`},{color:`destructive`,variant:[`soft`,`ghost`],class:`bg-destructive/10`},{color:`success`,variant:[`soft`,`ghost`],class:`bg-success/10`},{color:`warning`,variant:[`soft`,`ghost`],class:`bg-warning/10`},{color:`info`,variant:[`soft`,`ghost`],class:`bg-info/10`},{color:`carbon`,variant:[`soft`,`ghost`],class:`bg-carbon/10`},{color:`secondary`,variant:[`soft`,`ghost`],class:`bg-secondary-foreground/5`},{color:`accent`,variant:[`soft`,`ghost`],class:`bg-accent-foreground/5`}],defaultVariants:{color:`primary`,variant:`solid`,size:`md`,shape:`auto`}}),BN=z({name:`STag`,__name:`tag`,props:{class:{type:[Boolean,null,String,Object,Array]},color:{},size:{},variant:{},shape:{},content:{},closable:{type:Boolean},open:{type:Boolean,default:void 0}},emits:[`update:open`],setup(e,{emit:t}){let n=e,r=t,i=J(()=>zN({color:n.color,size:n.size,variant:n.variant,shape:n.shape},n.class));return(t,n)=>(V(),U(L(ej),{open:e.open,class:A(i.value),"onUpdate:open":n[0]||=e=>r(`update:open`,e)},{default:R(({close:n})=>[B(t.$slots,`leading`),B(t.$slots,`default`,{},()=>[K(M(e.content),1)]),B(t.$slots,`trailing`),e.closable?B(t.$slots,`close`,{key:0,close:n},()=>[G(Jx,{icon:`lucide:x`,style:{"flex-shrink":`0`,cursor:`pointer`},onClick:n},null,8,[`onClick`])]):q(`v-if`,!0)]),_:3},8,[`open`,`class`]))}});Z({extendBase:e=>({itemDelete:qy({size:e.size,shape:`circle`}),clear:qy({size:e.size})}),slots:{root:[`group relative flex w-full flex-wrap items-center rounded-md border border-input bg-background shadow-sm transition-all-150`,`outline-none focus-within:ring-3 focus-within:ring-offset-background focus-within:ring-primary/30`,`data-[invalid]:focus-within:ring-destructive/30`,`data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50`],item:[`inline-flex items-center rounded-md bg-accent ring-offset-background transition-[box-shadow,background-color]`,`data-[state=active]:ring-2 data-[state=active]:ring-primary/30 data-[state=active]:ring-offset-2`,`data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50`],itemText:`rounded bg-transparent`,itemDelete:``,control:[`grow min-w-0 bg-transparent text-foreground outline-none`,`placeholder:text-muted-foreground disabled:cursor-not-allowed`],clear:`absolute opacity-0 transition-opacity group-data-[has-value]:opacity-100`},variants:{size:{xs:{root:`gap-1 px-1.5 py-1 text-2xs`,item:`min-h-4 gap-0.5`,itemText:`px-1.5 py-0.5`,itemDelete:`me-0.5`,input:`min-h-5 px-0.5`,clear:`end-0.5 top-0.5`},sm:{root:`gap-1.5 px-2 py-1 text-xs`,item:`min-h-4.5 gap-0.75`,itemText:`px-1.5 py-0.5`,itemDelete:`me-0.5`,input:`min-h-5 px-0.75`,clear:`end-0.75 top-0.75`},md:{root:`gap-2 px-2 py-1 text-sm`,item:`min-h-5 gap-1`,itemText:`px-2 py-0.5`,itemDelete:`me-1`,input:`min-h-5 px-1`,clear:`end-1 top-1`},lg:{root:`gap-2 px-2.5 py-1.5 text-base`,item:`min-h-6 gap-1`,itemText:`px-2 py-0.5`,itemDelete:`me-1`,input:`min-h-6 px-1.25`,clear:`end-1.25 top-1.25`},xl:{root:`gap-2.5 px-3 py-2 text-lg`,item:`min-h-7 gap-1.5`,itemText:`px-2.5 py-1`,itemDelete:`me-1`,input:`min-h-7 px-1.5`,clear:`end-1.5 top-1.5`},"2xl":{root:`gap-3 px-3.5 py-2.5 text-xl`,item:`min-h-8 gap-1.5`,itemText:`px-3 py-1`,itemDelete:`me-1.5`,input:`min-h-8 px-2`,clear:`end-2 top-2`}}},defaultVariants:{size:`md`}}),Z({extendBase:e=>({clear:qy({size:e.size,shape:`circle`})}),slots:{root:[`group relative flex flex-col`,`rounded-md border border-solid border-input bg-background transition-all-150`,`outline-none focus-within:ring-3 focus-within:ring-offset-background focus-within:ring-primary/30`],control:[`w-full bg-transparent outline-none`,`placeholder:text-muted-foreground`,`disabled:cursor-not-allowed disabled:opacity-50`],counter:`absolute z-2 leading-none text-muted-foreground`,clear:`absolute hidden opacity-50 group-hover:inline-flex group-focus-within:inline-flex hover:opacity-100`},variants:{size:{xs:{root:`text-2xs`,control:`min-h-6 px-1.5 py-1`,counter:`text-2xs end-1.75 bottom-1.5`,clear:`end-1.5 top-1.5`},sm:{root:`text-xs`,control:`min-h-7 px-1.75 py-1`,counter:`text-xs end-2 bottom-1.75`,clear:`end-1.75 top-1.75`},md:{root:`text-sm`,control:`min-h-8 px-2 py-1`,counter:`text-sm end-2.5 bottom-2`,clear:`end-2 top-2`},lg:{root:`text-base`,control:`min-h-9 px-2.5 py-1`,counter:`text-base end-3 bottom-2.5`,clear:`end-2.5 top-2.5`},xl:{root:`text-lg`,control:`min-h-10 px-3 py-1`,counter:`text-lg end-3.5 bottom-3`,clear:`end-3 top-3`},"2xl":{root:`text-xl`,control:`min-h-12 px-4 py-2`,counter:`text-xl end-4 bottom-3.5`,clear:`end-3.5 top-3.5`}},resize:{true:{control:`resize`},false:{control:`resize-none`},vertical:{control:`resize-y`},horizontal:{control:`resize-x`}}},defaultVariants:{size:`md`,resize:`vertical`}});var VN=[`inline-flex items-center justify-center rounded-sm font-medium transition-colors`,`outline-none hover:bg-accent hover:text-accent-foreground`,`focus-visible:ring-3 focus-visible:ring-primary/30`,`data-[disabled]:pointer-events-none data-[disabled]:opacity-50`,`aria-disabled:pointer-events-none aria-disabled:opacity-50`,`[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*=size-])]:size-4`];Z({slots:{root:[`inline-flex items-center rounded-md border border-border bg-background shadow-xs`,`data-[orientation=vertical]:h-auto data-[orientation=vertical]:w-fit data-[orientation=vertical]:flex-col`],button:VN,link:[...VN,`select-none no-underline`],linkIcon:`shrink-0 self-start text-muted-foreground rtl:rotate-270`,separator:[`shrink-0 bg-border data-[orientation=vertical]:w-px`,`data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full`],toggleGroup:`inline-flex items-center data-[orientation=vertical]:flex-col`,toggleItem:[...VN,`data-[state=on]:bg-accent data-[state=on]:text-accent-foreground`]},variants:{size:{xs:{root:`gap-0.5 p-0.5 data-[orientation=horizontal]:h-6`,button:`h-5 min-w-5 gap-1 px-1 text-2xs`,link:`h-5 min-w-5 gap-1 px-1 text-2xs`,linkIcon:`size-2 -ms-1`,separator:`data-[orientation=vertical]:mx-0.5 data-[orientation=vertical]:h-3 data-[orientation=horizontal]:my-0.5`,toggleGroup:`gap-0.5`,toggleItem:`h-5 min-w-5 gap-1 px-1 text-2xs`},sm:{root:`gap-0.5 p-0.5 data-[orientation=horizontal]:h-7`,button:`h-6 min-w-6 gap-1 px-1.5 text-xs`,link:`h-6 min-w-6 gap-1 px-1.5 text-xs`,linkIcon:`size-2.5 -ms-1.5`,separator:`data-[orientation=vertical]:mx-0.5 data-[orientation=vertical]:h-4 data-[orientation=horizontal]:my-0.5`,toggleGroup:`gap-0.5`,toggleItem:`h-6 min-w-6 gap-1 px-1.5 text-xs`},md:{root:`gap-1 p-1 data-[orientation=horizontal]:h-9`,button:`h-7 min-w-7 gap-1 px-2 text-sm`,link:`h-7 min-w-7 gap-1 px-2 text-sm`,linkIcon:`size-3 -ms-2`,separator:`data-[orientation=vertical]:mx-1 data-[orientation=vertical]:h-4 data-[orientation=horizontal]:my-1`,toggleGroup:`gap-1`,toggleItem:`h-7 min-w-7 gap-1 px-2 text-sm`},lg:{root:`gap-1 p-1 data-[orientation=horizontal]:h-10`,button:`h-8 min-w-8 gap-2 px-2.5 text-base`,link:`h-8 min-w-8 gap-2 px-2.5 text-base`,linkIcon:`size-3.5 -ms-2.5`,separator:`data-[orientation=vertical]:mx-1 data-[orientation=vertical]:h-5 data-[orientation=horizontal]:my-1`,toggleGroup:`gap-1`,toggleItem:`h-8 min-w-8 gap-2 px-2.5 text-base`},xl:{root:`gap-1.5 p-1.5 data-[orientation=horizontal]:h-12`,button:`h-9 min-w-9 gap-2.5 px-3 text-lg`,link:`h-9 min-w-9 gap-2.5 px-3 text-lg`,linkIcon:`size-4 -ms-3`,separator:`data-[orientation=vertical]:mx-1.5 data-[orientation=vertical]:h-6 data-[orientation=horizontal]:my-1.5`,toggleGroup:`gap-1.5`,toggleItem:`h-9 min-w-9 gap-2.5 px-3 text-lg`},"2xl":{root:`gap-2 p-2 data-[orientation=horizontal]:h-14`,button:`h-10 min-w-10 gap-3 px-3.5 text-xl`,link:`h-10 min-w-10 gap-3 px-3.5 text-xl`,linkIcon:`size-4.5 -ms-3.5`,separator:`data-[orientation=vertical]:mx-2 data-[orientation=vertical]:h-7 data-[orientation=horizontal]:my-2`,toggleGroup:`gap-2`,toggleItem:`h-10 min-w-10 gap-3 px-3.5 text-xl`}}},defaultVariants:{size:`md`}}),gl({base:[`inline-flex items-center justify-center rounded-md whitespace-nowrap font-medium transition-all-150`,`outline-none focus-visible:ring-3 focus-visible:ring-offset-background`,`data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50`,`[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*=size-])]:size-4`],variants:{color:{primary:`focus-visible:ring-primary/30`,destructive:`focus-visible:ring-destructive/30`,success:`focus-visible:ring-success/30`,warning:`focus-visible:ring-warning/30`,info:`focus-visible:ring-info/30`,carbon:`focus-visible:ring-carbon/30`,secondary:`focus-visible:ring-secondary-foreground/20`,accent:`focus-visible:ring-accent-foreground/20`},variant:{outline:`border border-border bg-background text-foreground hover:bg-accent data-[state=on]:bg-accent`,soft:`bg-accent data-[state=off]:hover:bg-accent`,ghost:`bg-transparent data-[state=off]:hover:bg-accent`},size:{xs:`gap-1 h-6 px-1.5 text-2xs`,sm:`gap-2 h-7 px-2 text-xs`,md:`gap-3 h-8 px-4 text-sm`,lg:`gap-4 h-9 px-6 text-base`,xl:`gap-5 h-10 px-8 text-lg`,"2xl":`gap-6 h-12 px-10 text-xl`},shape:{auto:`rounded-md`,rounded:`rounded-full`,square:`h-8 w-8 p-0 gap-0 rounded-md`,circle:`h-8 w-8 p-0 gap-0 rounded-full`}},compoundVariants:[{color:`primary`,variant:`soft`,class:`data-[state=on]:bg-primary/20 data-[state=on]:text-primary`},{color:`destructive`,variant:`soft`,class:`data-[state=on]:bg-destructive/20 data-[state=on]:text-destructive`},{color:`success`,variant:`soft`,class:`data-[state=on]:bg-success/20 data-[state=on]:text-success`},{color:`warning`,variant:`soft`,class:`data-[state=on]:bg-warning/20 data-[state=on]:text-warning`},{color:`info`,variant:`soft`,class:`data-[state=on]:bg-info/20 data-[state=on]:text-info`},{color:`carbon`,variant:`soft`,class:`data-[state=on]:bg-carbon/20 data-[state=on]:text-carbon`},{color:`secondary`,variant:`soft`,class:`data-[state=on]:bg-secondary-foreground/10 data-[state=on]:text-secondary-foreground`},{color:`accent`,variant:`soft`,class:`data-[state=on]:bg-accent-foreground/10 data-[state=on]:text-accent-foreground`},{color:`primary`,variant:`ghost`,class:`data-[state=on]:bg-primary/20 data-[state=on]:text-primary`},{color:`destructive`,variant:`ghost`,class:`data-[state=on]:bg-destructive/20 data-[state=on]:text-destructive`},{color:`success`,variant:`ghost`,class:`data-[state=on]:bg-success/20 data-[state=on]:text-success`},{color:`warning`,variant:`ghost`,class:`data-[state=on]:bg-warning/20 data-[state=on]:text-warning`},{color:`info`,variant:`ghost`,class:`data-[state=on]:bg-info/20 data-[state=on]:text-info`},{color:`carbon`,variant:`ghost`,class:`data-[state=on]:bg-carbon/20 data-[state=on]:text-carbon`},{color:`secondary`,variant:`ghost`,class:`data-[state=on]:bg-secondary-foreground/10 data-[state=on]:text-secondary-foreground`},{color:`accent`,variant:`ghost`,class:`data-[state=on]:bg-accent-foreground/10 data-[state=on]:text-accent-foreground`},{size:`xs`,shape:[`square`,`circle`],class:`w-6`},{size:`sm`,shape:[`square`,`circle`],class:`w-7`},{size:`md`,shape:[`square`,`circle`],class:`w-8`},{size:`lg`,shape:[`square`,`circle`],class:`w-9`},{size:`xl`,shape:[`square`,`circle`],class:`w-10`},{size:`2xl`,shape:[`square`,`circle`],class:`w-12`}],defaultVariants:{color:`accent`,variant:`ghost`,size:`md`,shape:`auto`}}),Z({slots:{root:[`w-fit [&>*]:relative focus-visible:[&>*]:z-2`,`[&>*:not(:first-child):not(:last-child)]:!rounded-none`,`[&>*:not(:first-child):not(:last-child)>*]:!rounded-none`,`data-[orientation=vertical]:items-stretch`],item:[`inline-flex items-center justify-center whitespace-nowrap rounded-md font-medium transition-all-150`,`outline-none focus-visible:ring-3 focus-visible:ring-primary/30 focus-visible:ring-offset-background`,`data-[disabled]:pointer-events-none data-[disabled]:opacity-50`,`[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*=size-])]:size-4`]},variants:{color:{primary:{item:`focus-visible:ring-primary/30`},destructive:{item:`focus-visible:ring-destructive/30`},success:{item:`focus-visible:ring-success/30`},warning:{item:`focus-visible:ring-warning/30`},info:{item:`focus-visible:ring-info/30`},carbon:{item:`focus-visible:ring-carbon/30`},secondary:{item:`focus-visible:ring-secondary-foreground/20`},accent:{item:`focus-visible:ring-accent-foreground/20`}},orientation:{horizontal:{root:[`inline-flex flex-row rtl:flex-row-reverse`,`[&>*:not(:last-child)]:border-e-0 [&>*:not(:last-child)>*]:border-e-0`,`focus-visible:[&>*]:border-e focus-visible:[&>*>*]:border-e`,`[&>*:first-child]:!rounded-e-none [&>*:first-child>*]:!rounded-e-none`,`[&>*:last-child]:!rounded-s-none [&>*:last-child>*]:!rounded-s-none`]},vertical:{root:[`flex flex-col`,`[&>*:not(:last-child)]:border-b-0 [&>*:not(:last-child)>*]:border-b-0`,`focus-visible:[&>*]:border-b focus-visible:[&>*>*]:border-b`,`[&>*:first-child]:!rounded-b-none [&>*:first-child>*]:!rounded-b-none`,`[&>*:last-child]:!rounded-t-none [&>*:last-child>*]:!rounded-t-none`]}},variant:{outline:{item:[`border border-border bg-background text-foreground`,`data-[state=off]:hover:bg-accent data-[state=on]:bg-accent data-[state=on]:text-accent-foreground`]},soft:{item:[`bg-accent text-foreground`,`data-[state=off]:hover:bg-accent`]},ghost:{item:[`bg-transparent text-foreground`,`data-[state=off]:hover:bg-accent`]}},size:{xs:{item:`h-6 gap-1 px-1.5 text-2xs`},sm:{item:`h-7 gap-2 px-2 text-xs`},md:{item:`h-8 gap-3 px-4 text-sm`},lg:{item:`h-9 gap-4 px-6 text-base`},xl:{item:`h-10 gap-5 px-8 text-lg`},"2xl":{item:`h-12 gap-6 px-10 text-xl`}}},compoundVariants:[{color:`primary`,variant:[`soft`,`ghost`],class:{item:`data-[state=on]:bg-primary/20 data-[state=on]:text-primary`}},{color:`destructive`,variant:[`soft`,`ghost`],class:{item:`data-[state=on]:bg-destructive/20 data-[state=on]:text-destructive`}},{color:`success`,variant:[`soft`,`ghost`],class:{item:`data-[state=on]:bg-success/20 data-[state=on]:text-success`}},{color:`warning`,variant:[`soft`,`ghost`],class:{item:`data-[state=on]:bg-warning/20 data-[state=on]:text-warning`}},{color:`info`,variant:[`soft`,`ghost`],class:{item:`data-[state=on]:bg-info/20 data-[state=on]:text-info`}},{color:`carbon`,variant:[`soft`,`ghost`],class:{item:`data-[state=on]:bg-carbon/20 data-[state=on]:text-carbon`}},{color:`secondary`,variant:[`soft`,`ghost`],class:{item:`data-[state=on]:bg-secondary-foreground/10 data-[state=on]:text-secondary-foreground`}},{color:`accent`,variant:[`soft`,`ghost`],class:{item:`data-[state=on]:bg-accent-foreground/10 data-[state=on]:text-accent-foreground`}}],defaultVariants:{color:`accent`,orientation:`horizontal`,variant:`ghost`,size:`md`}});var HN=Z({slots:{positioner:`w-max`,popup:[`w-auto rounded-md border bg-popover text-popover-foreground shadow-md outline-none z-50 will-change-transform`,`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`],arrow:`w-1em h-0.5em fill-popover stroke-border`},variants:{size:{xs:{popup:`px-2 py-1 text-2xs`,arrow:`text-3xs`},sm:{popup:`px-2.5 py-1.25 text-xs`,arrow:`text-2xs`},md:{popup:`px-3 py-1.5 text-sm`,arrow:`text-xs`},lg:{popup:`px-3.5 py-1.75 text-base`,arrow:`text-sm`},xl:{popup:`px-4 py-2 text-lg`,arrow:`text-base`},"2xl":{popup:`px-4.5 py-2.5 text-xl`,arrow:`text-lg`}}},defaultVariants:{size:`md`}});Z({extendBase:e=>{let{positioner:t,popup:n,arrow:r}=HN({size:e.size}),{root:i,content:a}=VS({size:e.size,color:`accent`,position:`top-right`});return{tooltipPositioner:t,tooltipPopup:n,tooltipArrow:r,badgeRoot:i,badgeContent:a}},slots:{root:`group flex-1 flex flex-col w-full h-full overflow-auto data-[state=collapsed]:w-[--soybean-tree-menu-collapsed-width] transition-[width,height]-200 ease-out`,groupRoot:`group-data-[state=collapsed]:mb-0`,group:`flex flex-col m-0 p-0 list-none`,groupLabel:`flex items-center text-foreground/70 group-data-[state=collapsed]:size-0 group-data-[state=collapsed]:p-0 group-data-[state=collapsed]:opacity-0 group-data-[state=collapsed]:overflow-hidden transition-[height,padding,opacity]-200`,item:`relative m-0 p-0 group-data-[state=collapsed]:hover:bg-sidebar-accent group-data-[state=collapsed]:hover:rounded-sm`,button:[`group/button relative flex items-center w-full rounded-sm outline-none cursor-pointer select-none group-data-[state=collapsed]:overflow-hidden`,`data-[active=true]:bg-primary/10 data-[active=true]:text-primary`,`data-[active=false]:hover:bg-sidebar-accent data-[active=false]:focus:bg-sidebar-accent`,`data-[child-active]:text-primary`,`data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50`],collapsibleRoot:``,collapsibleTrigger:``,collapsibleContent:[`overflow-hidden transition will-change-auto`,`data-[state=open]:animate-collapsible-down data-[state=closed]:animate-collapsible-up`],collapsibleIcon:`shrink-0 ms-auto text-muted-foreground transition-transform-200 group-data-[state=open]/button:rotate-90 group-data-[child-active]/button:text-primary`,sub:`flex flex-col m-0 list-none ms-[--soybean-tree-menu-indent] border-s border-sidebar-border border-solid`,itemLabel:`truncate`,itemLinkIcon:`shrink-0 self-start text-muted-foreground rtl:rotate-270`,itemTag:`shrink-0 ms-auto inline-flex items-center rounded-sm bg-accent/15 text-accent-foreground`,itemAction:[`absolute end-0 top-1/2 -translate-y-1/2 z-2 inline-flex items-center justify-center rounded-sm text-muted-foreground outline-none transition-colors`,`focus-visible:bg-sidebar-accent focus-visible:text-foreground focus-visible:ring-3 focus-visible:ring-accent-foreground/20`,`disabled:pointer-events-none disabled:opacity-50`],itemAbsolute:`absolute inset-0 z-1 cursor-pointer`,tooltipPositioner:``,tooltipPopup:``,tooltipArrow:``,badgeRoot:``,badgeContent:``},variants:{size:{xs:{root:`gap-0.875 p-1.5 text-2xs`,groupRoot:`mb-0.875`,groupLabel:`h-6 gap-1 px-1.5 py-1 text-3xs`,group:`gap-0.875`,button:`gap-1.5 h-6 px-1.5 py-1 group-data-[state=collapsed]:w-6`,sub:`gap-0.875 ps-1.5 pt-0.875`,subButton:`gap-1.5 h-6 px-1.5 py-1 group-data-[state=collapsed]:w-6`,itemLinkIcon:`size-2 -ms-1`,itemTag:`min-h-3.5 px-1 text-4xs`,itemAction:`end-1 size-4 text-2xs`},sm:{root:`gap-1 p-1.75 text-xs`,groupRoot:`mb-1`,groupLabel:`h-7 gap-1.5 px-1.75 py-1 text-2xs`,group:`gap-1`,button:`gap-1.75 h-7 px-1.75 py-1 group-data-[state=collapsed]:w-7`,sub:`gap-1 ps-1.75 pt-1`,subButton:`gap-1.75 h-7 px-1.75 py-1 group-data-[state=collapsed]:w-7`,itemLinkIcon:`size-2.5 -ms-1.5`,itemTag:`min-h-4 px-1.25 text-3xs`,itemAction:`end-1.25 size-4.5 text-xs`},md:{root:`gap-1.25 p-2 text-sm`,groupRoot:`mb-1.25`,groupLabel:`h-8 gap-2 px-2 py-1.5 text-xs`,group:`gap-1.25`,button:`gap-2 h-8 px-2 py-1.5 group-data-[state=collapsed]:w-8`,sub:`gap-1.25 ps-2 pt-1.25`,subButton:`gap-2 h-8 px-2 py-1.5 group-data-[state=collapsed]:w-8`,itemLinkIcon:`size-3 -ms-2`,itemTag:`min-h-4.5 px-1.5 text-2xs`,itemAction:`end-1.5 size-5 text-sm`},lg:{root:`gap-1.5 p-2.25 text-base`,groupRoot:`mb-1.5`,groupLabel:`h-9 gap-2.5 px-2.25 py-1.5 text-sm`,group:`gap-1.5`,button:`gap-2.25 h-9 px-2.25 py-1.5 group-data-[state=collapsed]:w-9`,sub:`gap-1.5 ps-2.25 pt-1.5`,subButton:`gap-2.25 h-9 px-2.25 py-1.5 group-data-[state=collapsed]:w-9`,itemLinkIcon:`size-3.5 -ms-2.5`,itemTag:`min-h-5 px-1.75 text-xs`,itemAction:`end-1.75 size-5.5 text-base`},xl:{root:`gap-2 p-2.5 text-lg`,groupRoot:`mb-2`,groupLabel:`h-10 gap-3 px-2.5 py-2 text-base`,group:`gap-2`,button:`gap-2.5 h-10 px-2.5 py-2 group-data-[state=collapsed]:w-10`,sub:`gap-2 ps-2.5 pt-2`,subButton:`gap-2.5 h-10 px-2.5 py-2 group-data-[state=collapsed]:w-10`,itemLinkIcon:`size-4 -ms-3`,itemTag:`min-h-5.5 px-2 text-sm`,itemAction:`end-2 size-6 text-lg`},"2xl":{root:`gap-2.5 p-3 text-xl`,groupRoot:`mb-2.5`,groupLabel:`h-12 gap-3.5 px-3 py-2.5 text-lg`,group:`gap-2.5`,button:`gap-3 h-12 px-3 py-2.5 group-data-[state=collapsed]:w-12`,sub:`gap-2.5 ps-3 pt-2.5`,subButton:`gap-3 h-12 px-3 py-2.5 group-data-[state=collapsed]:w-12`,itemLinkIcon:`size-5 -ms-4`,itemTag:`min-h-6 px-2.5 text-base`,itemAction:`end-2.5 size-7 text-xl`}}},defaultVariants:{size:`md`}}),Z({slots:{root:`relative`,overlay:`absolute inset-0 pointer-events-none bg-repeat`},variants:{fullscreen:{true:{root:`static`,overlay:`fixed inset-0 z-9999 pointer-events-none bg-repeat`}}}});var UN={class:`confirm-card participants-dialog`},WN={class:`dialog-head`},GN={class:`participants-list`},KN={key:0,class:`empty`},qN={key:1,class:`empty`},JN={class:`participant-meta`},YN={class:`confirm-actions`},XN=z({__name:`LotteryParticipantsDialog`,props:{open:{type:Boolean},title:{},loading:{type:Boolean},participants:{},formatTime:{type:Function}},emits:[`close`],setup(e,{emit:t}){let n=t;return(t,r)=>e.open?(V(),H(`div`,{key:0,class:`confirm-mask participants-mask`,onClick:r[2]||=as(e=>n(`close`),[`self`])},[W(`div`,UN,[W(`div`,WN,[W(`div`,null,[r[3]||=W(`h3`,null,`参与记录`,-1),W(`p`,null,M(e.title)+` · `+M(e.participants.length)+` 人`,1)]),W(`button`,{class:`dialog-close`,type:`button`,onClick:r[0]||=e=>n(`close`)},`×`)]),W(`div`,GN,[e.loading?(V(),H(`div`,KN,`加载中...`)):e.participants.length?(V(!0),H(da,{key:2},Wr(e.participants,t=>(V(),H(`div`,{key:t.id,class:`participant-row`},[W(`div`,null,[W(`b`,null,`@`+M(t.username||t.user_id),1),W(`span`,null,`用户 ID:`+M(t.user_id),1)]),W(`div`,JN,[t.is_winner?(V(),U(L(BN),{key:0,size:`xs`,color:`success`,variant:`soft`},{default:R(()=>[...r[4]||=[K(`中奖`,-1)]]),_:1})):q(``,!0),W(`span`,null,M(e.formatTime(t.created_at)),1)])]))),128)):(V(),H(`div`,qN,`暂无参与记录`))]),W(`div`,YN,[G(L(YC),{size:`xs`,variant:`outline`,onClick:r[1]||=e=>n(`close`)},{default:R(()=>[...r[5]||=[K(`关闭`,-1)]]),_:1})])])])):q(``,!0)}}),ZN={key:0,class:`login-page`},QN={key:1,class:`login-page`},$N={key:2,class:`admin-shell`},eP={class:`sidebar`},tP={class:`side-section`},nP=[`value`],rP={class:`side-nav`},iP={class:`side-footer`},aP={class:`admin-main`},oP={class:`admin-header`,id:`dashboard`},sP={class:`top-actions compact-actions`},cP={class:`stats-grid compact-stats`},lP={class:`stat-row`},uP={class:`stat-row`},dP={class:`stat-row`},fP={class:`stat-row`},pP={class:`main-grid`},mP={class:`scroll-area chat-scroll`},hP={key:0,class:`empty`},gP=[`onContextmenu`],_P={class:`chat-head`},vP={class:`chat-user-line`},yP={class:`chat-user`},bP={class:`chat-uid`},xP={class:`chat-meta-line`},SP={class:`chat-id`},CP={class:`chat-time`},wP=[`title`],TP={class:`chat-foot`},EP={key:1},DP={class:`chat-actions`},OP={key:0,class:`chat-loading-mask`},kP={class:`panel-extra`},AP={key:0,class:`empty dark`},jP=[`title`],MP={class:`log-time`},NP={class:`log-level`},PP={class:`log-msg`},FP={class:`ban-list overview-ban-list v-overflow`},IP={key:0,class:`empty`},LP={class:`ban-main`},RP={class:`ban-meta`},zP={key:0,class:`muted`},BP={key:1,class:`muted`},VP=[`disabled`],HP=[`disabled`],UP=[`disabled`],WP=[`disabled`],GP={class:`tab-page whitelist-page`},KP={class:`whitelist-toolbar`},qP={class:`scope-chip`},JP={class:`reason-field`},YP={class:`data-table whitelist-table`},XP={key:0,class:`empty whitelist-empty`},ZP=[`title`],QP={class:`tab-page rule-manage-page`},$P={class:`rule-detect-compact rule-detect-row`},eF={class:`rule-text-field`},tF={key:0,class:`compact-empty`},nF={class:`compact-result-top`},rF=[`title`],iF=[`title`],aF={class:`compact-counts`},oF={class:`rule-action-bar`},sF={class:`switch-line compact`},cF={key:0,class:`generated-rule-hint`},lF={class:`rule-write-grid inline-rule-writer compact-rule-writer`},uF={class:`rule-pattern-field`},dF={class:`rule-library-toolbar`},fF={class:`rule-library-grid`},pF={class:`rule-list`},mF=[`title`],hF={key:0,class:`empty`},gF={class:`rule-list`},_F=[`title`],vF={key:0,class:`empty`},yF={class:`tab-page manager-layout single-panel-page`},bF={class:`tabbar`},xF={key:0,class:`data-table shop-table`},SF={class:`row-actions`},CF={key:1,class:`data-table tx-table`},wF={class:`tab-page manager-layout single-panel-page lottery-page`},TF={class:`table-list lottery-list`},EF={class:`data-main`},DF={class:`row-title`},OF={class:`row-desc`},kF={class:`row-desc`},AF={class:`row-actions`},jF={key:0,class:`empty`},MF={key:0,class:`reply-chip`},NF={class:`confirm-card ban-dialog`},PF={class:`dialog-head`},FF={class:`ban-duration-grid`},IF=[`onClick`],LF={class:`custom-duration`},RF={class:`ban-dialog-summary`},zF={class:`confirm-actions`},BF={class:`confirm-card editor-dialog`},VF={class:`switch-line`},HF={class:`confirm-actions`},UF={class:`confirm-card editor-dialog lottery-dialog`},WF={class:`dialog-head`},GF={class:`form-section`},KF={class:`form-grid two`},qF={class:`form-section`},JF={class:`segmented option-grid`},YF=[`onClick`],XF={key:0},ZF={class:`form-section`},QF={class:`segmented option-grid`},$F=[`onClick`],eI={key:0},tI={key:1},nI={key:2,class:`datetime-block`},rI={class:`quick-time`},iI={class:`form-section`},aI={class:`segmented small`},oI=[`onClick`],sI={class:`confirm-actions sticky-actions`},cI={key:5,class:`toast`},lI={class:`confirm-card`},uI={class:`confirm-actions`};ls(z({__name:`App`,setup(e){let t=F(!1),n=F([]),r=F([]),i=F([]),a=F([]),o=F(null),s=F([]),c=F([]),l=F([]),u=F([]),d=F([]),f=F(!1),p=F(!1),m=F(``),h=F(``),g=F(!0),_=F(!1),v=F(null),y=It({type:`keyword`,pattern:``,score:75}),b=F(!1),x=F(``),S=It({keywords:[],regex:[],adblock_domains:[],counts:{keywords:0,regex:0,adblock_domains:0}}),C=F(!1),w=F(``),T=F(!1),ee=F(!1),te=It({user_id:``,username:``,first_name:``,reason:``}),E=It({item_key:``,name:``,cost:0,stock:-1,desc:``,enabled:!0}),ne=F(!1),D=It({id:0,title:``,prize:``,description:``,condition_type:`all`,condition_value:0,draw_type:`people`,end_type:`people`,end_value:3,max_participants:3,prize_count:1,remaining_count:1,draw_at:``,status:`active`}),re=F(!1),ie=F(`dashboard`),ae=It({shop:`items`,lottery:`events`}),oe=F(``),se=It({open:!1,title:``,message:``,confirmText:`确认`,danger:!1,resolver:null}),O=It({open:!1,x:0,y:0,item:null}),k=It({open:!1,mode:`ban`,item:null,duration:0,customMinutes:``}),ce=[{label:`永久`,value:0},{label:`1 小时`,value:60},{label:`6 小时`,value:360},{label:`1 天`,value:1440},{label:`7 天`,value:10080},{label:`30 天`,value:43200}],ue=F(!1),de=F(!1),fe=It({username:``,password:``}),pe=F(!1),j=F(!1),me=F(!1),he=F(!1),ge=F(!1),_e=F(!1),ve=F(``),ye=F(null),be=F(!1),xe=F(!1),Se=F(!1),Ce=It({today_bans:0,total_bans:0,active_bans:0}),we=F(null),N=null,Te,Ee=J(()=>n.value.length),De=J(()=>o.value?`?chat_id=${o.value}`:``),Oe=[{value:`all`,label:`所有人`,desc:`无需门槛`},{value:`checkin`,label:`已签到`,desc:`今日签到后可参与`},{value:`points`,label:`积分门槛`,desc:`达到指定积分`}],ke=[{value:`instant`,label:`即开即中`,desc:`参与即中奖,奖品抽完结束`},{value:`people`,label:`满人开奖`,desc:`达到人数自动开奖`},{value:`time`,label:`定时开奖`,desc:`到指定时间自动开奖`}],Ae=[{value:`draft`,label:`草稿`},{value:`active`,label:`启用`}],je=J(()=>D.id?`编辑抽奖`:`新建抽奖`),Me=J(()=>D.condition_type===`checkin`?`今日已签到用户可参与`:D.condition_type===`points`?`积分 ≥ ${Number(D.condition_value||0)} 可参与`:`所有群成员均可参与`),Ne=J(()=>D.draw_type===`instant`?`即开即中:共 ${Number(D.prize_count||1)} 份奖品`:D.draw_type===`time`?`定时开奖:${D.draw_at?Ue(D.draw_at):`未设置时间`}`:`满 ${Number(D.end_value||D.max_participants||1)} 人自动开奖`);function Pe(e){D.condition_type=e,e!==`points`&&(D.condition_value=0)}function Fe(e){D.draw_type=e,D.end_type=e,e===`people`?(D.draw_at=``,D.end_value=Number(D.end_value||D.max_participants||3),D.max_participants=Number(D.end_value||3)):e===`instant`?(D.draw_at=``,D.end_value=0,D.max_participants=0,D.prize_count=Math.max(1,Number(D.prize_count||1)),D.remaining_count=D.prize_count):(D.end_value=0,D.max_participants=0,D.draw_at||Ie(10))}function Ie(e){let t=new Date(Date.now()+e*6e4);t.setSeconds(0,0),D.draw_at=Le(t)}function Le(e){let t=e=>String(e).padStart(2,`0`);return`${e.getFullYear()}-${t(e.getMonth()+1)}-${t(e.getDate())}T${t(e.getHours())}:${t(e.getMinutes())}`}let Re=J(()=>({dashboard:`群组安全总览`,shop:`商城管理`,lottery:`抽奖管理`,rules:`规则管理`,whitelist:`白名单管理`})[ie.value]),ze=J(()=>({dashboard:`实时审计聊天、封禁、日志和封禁记录`,shop:`商品 CRUD 与兑换交易记录`,lottery:`抽奖项目、开奖条件与参与记录`,rules:`检测广告/灰产文本并维护规则库`,whitelist:`管理只删不封的安全白名单`})[ie.value]);function Be(e){ie.value=e,e===`shop`&&(ut(),dt()),e===`lottery`&>(),e===`rules`&&Ot(),e===`whitelist`&&rt()}function Ve(e){let t=String(e?.text||``).trim();return Number(e?.user_id||0)===0&&[`🔍 正在搜索知识库`,`正在搜索知识库`,`🔎 正在搜索知识库`,`正在整理详细答案`].some(e=>t.startsWith(e))}function He(e){return e.filter(e=>!Ve(e))}function Ue(e){if(!e)return`-`;let t=String(e),n=t.match(/(\d{2}:\d{2}:\d{2})/);return n?n[1]:t.replace(`T`,` `).slice(11,19)||t}function We(e){let t=String(e||``).trim(),n=_e.value?t:t.replace(/\s+/g,` `);return!_e.value&&n.length>260?`${n.slice(0,260)}...`:n}function Ge(e){return e.deleted?`已删`:e.spam?`垃圾`:Number(e.user_id||0)===0?`Web`:`正常`}function Ke(e){return e.deleted?`deleted`:e.spam?`spam`:Number(e.user_id||0)===0?`web`:`normal`}function qe(e){return[`chat-item`,Ke(e)]}function Je(e){return e.deleted?`secondary`:e.spam?`destructive`:Number(e.user_id||0)===0?`accent`:`primary`}function P(e){oe.value=e,window.setTimeout(()=>{oe.value===e&&(oe.value=``)},2600)}function Ye(e,t,n={}){return se.open=!0,se.title=e,se.message=t,se.confirmText=n.confirmText||`确认`,se.danger=!!n.danger,new Promise(e=>{se.resolver=e})}function Xe(e){se.open=!1,se.resolver?.(e),se.resolver=null}async function Ze(){try{let e=await et(`/api/auth/status`);de.value=!!e.authenticated}catch{de.value=!1}finally{ue.value=!0}}async function Qe(){if(!fe.username||!fe.password)return P(`请输入账号和密码`);pe.value=!0;try{await et(`/api/auth/login`,{method:`POST`,headers:{"Content-Type":`application/json`},body:JSON.stringify(fe)}),de.value=!0,await sn()}catch(e){P(e.message||`登录失败`)}finally{pe.value=!1}}async function $e(){await et(`/api/auth/logout`,{method:`POST`}).catch(()=>{}),de.value=!1}async function et(e,t){let n=await fetch(e,t),r=await n.json().catch(()=>({}));if(!n.ok||r.ok===!1){let e=Error(r.error||r.message||`HTTP ${n.status}`);throw e.data=r,e}return r}async function tt(){try{let e=await et(`/api/chat${De.value}`);n.value=He(e.map(e=>({...e,_deleting:!1})))}catch{}}async function nt(){try{let e=await et(`/api/bans${De.value}`);r.value=e.map(e=>({...e,_loading:!1}))}catch{}}async function rt(){if(!T.value){T.value=!0;try{if(!o.value){u.value=[];return}let e=await et(`/api/whitelist${De.value}`);u.value=e.map(e=>({...e,_loading:!1}))}catch(e){P(`加载白名单失败:${e.message}`)}finally{T.value=!1}}}async function it(){if(!o.value)return P(`请先选择群组`);let e=Number(te.user_id||0);if(!e)return P(`请填写用户 ID`);ee.value=!0;try{await et(`/api/whitelist`,{method:`POST`,headers:{"Content-Type":`application/json`},body:JSON.stringify({chat_id:o.value,user_id:e,username:te.username,first_name:te.first_name,reason:te.reason||`Web 手动添加白名单`})}),te.user_id=``,te.username=``,te.first_name=``,te.reason=``,await rt(),P(`已添加白名单`)}catch(e){P(`添加白名单失败:${e.message}`)}finally{ee.value=!1}}async function at(e){if(await Ye(`移出白名单`,`确认移出 @${e.username||e.first_name||e.user_id}?`,{confirmText:`移出`,danger:!0})){e._loading=!0;try{await et(`/api/whitelist/${e.id}`,{method:`DELETE`}),await rt(),P(`已移出白名单`)}catch(e){P(`移出失败:${e.message}`)}finally{e._loading=!1}}}async function ot(){try{Object.assign(Ce,await et(`/api/stats${De.value}`))}catch{}}async function st(){try{i.value=await et(`/api/logs`),ct()}catch{}}function ct(){Cn(()=>{we.value&&(we.value.scrollTop=we.value.scrollHeight)})}async function lt(){try{a.value=await et(`/api/groups`),!o.value&&a.value.length&&(o.value=a.value[0].chat_id)}catch{}}async function ut(){try{s.value=(await et(`/api/shop-items${De.value}`)).map(e=>({...e,_loading:!1}))}catch{}}async function dt(){try{c.value=await et(`/api/shop-transactions${De.value}`)}catch{}}async function ft(){if(!E.item_key||!E.name)return P(`请填写商品编号和名称`);if(!j.value){j.value=!0;try{await et(`/api/shop-items`,{method:`POST`,headers:{"Content-Type":`application/json`},body:JSON.stringify({...E,chat_id:o.value||0})}),Object.assign(E,{item_key:``,name:``,cost:0,stock:-1,desc:``,enabled:!0}),ne.value=!1,await ut()}catch(e){P(`保存商品失败:${e.message}`)}finally{j.value=!1}}}function pt(){Object.assign(E,{item_key:``,name:``,cost:0,stock:-1,desc:``,enabled:!0}),ne.value=!0}async function mt(e){Object.assign(E,{item_key:e.item_key||``,name:e.name||``,cost:e.cost||0,stock:e.stock??-1,desc:e.desc||``,enabled:e.enabled!==!1}),ne.value=!0}async function ht(e){if(!e._loading&&await Ye(`删除商品`,`确认删除商品「${e.name}」?交易记录会保留。`,{confirmText:`删除`,danger:!0})){e._loading=!0;try{await et(`/api/shop-items/${e.item_key}${De.value}`,{method:`DELETE`}),await ut()}catch(e){P(`删除商品失败:${e.message}`)}finally{e._loading=!1}}}async function gt(){try{l.value=(await et(`/api/lotteries${De.value}`)).map(e=>({...e,_loading:!1}))}catch{}}function _t(){Object.assign(D,{id:0,title:``,prize:``,description:``,condition_type:`all`,condition_value:0,draw_type:`people`,end_type:`people`,end_value:3,max_participants:3,prize_count:1,remaining_count:1,draw_at:``,status:`active`})}function vt(){_t(),d.value=[],re.value=!0}function yt(e){if(Number(e.participants_count||0)>0)return P(`已有用户参与,不能编辑,仅可开奖或关闭`);let t=[`id`,`title`,`prize`,`description`,`condition_type`,`condition_value`,`draw_type`,`end_type`,`end_value`,`max_participants`,`prize_count`,`remaining_count`,`draw_at`,`status`],n={};t.forEach(t=>{n[t]=e[t]}),Object.assign(D,n,{id:e.id||0}),re.value=!0}async function bt(){if(!D.title||!D.prize)return P(`请填写抽奖标题和奖品`);if(D.condition_type===`points`&&Number(D.condition_value||0)<=0)return P(`请填写积分门槛`);if(D.draw_type===`people`&&Number(D.end_value||0)<=0)return P(`请填写开奖人数`);if(D.draw_type===`instant`&&Number(D.prize_count||0)<=0)return P(`请填写奖品数量`);if(D.draw_type===`time`&&!D.draw_at)return P(`请选择开奖时间`);if(!me.value){me.value=!0;try{let e={...D,chat_id:o.value||0};e.end_type=e.draw_type,e.draw_type===`people`?(e.end_value=Number(e.end_value||e.max_participants||1),e.max_participants=e.end_value,e.draw_at=``,e.prize_count=1,e.remaining_count=1):e.draw_type===`instant`?(e.end_value=0,e.max_participants=0,e.draw_at=``,e.prize_count=Math.max(1,Number(e.prize_count||1)),e.remaining_count=e.id?Number(e.remaining_count??e.prize_count):e.prize_count):(e.end_value=0,e.max_participants=0,e.prize_count=1,e.remaining_count=1),await et(D.id?`/api/lotteries/${D.id}`:`/api/lotteries`,{method:D.id?`PUT`:`POST`,headers:{"Content-Type":`application/json`},body:JSON.stringify(e)}),P(D.id?`抽奖已更新`:`抽奖已创建`),_t(),re.value=!1,await gt()}catch(e){P(`保存抽奖失败:${e.message}`)}finally{me.value=!1}}}async function xt(e){if(!e._loading&&await Ye(`删除抽奖`,`确认删除抽奖「${e.title||e.prize}」?参与记录会一并移除。`,{confirmText:`删除`,danger:!0})){e._loading=!0;try{await et(`/api/lotteries/${e.id}`,{method:`DELETE`}),await gt()}catch(e){P(`删除抽奖失败:${e.message}`)}finally{e._loading=!1}}}async function St(e){d.value=await et(`/api/lotteries/${e.id}/participants`)}async function Ct(e){if(!p.value){m.value=e.title||e.prize||`抽奖 #${e.id}`,f.value=!0,p.value=!0;try{await St(e)}catch(e){P(`加载参与记录失败:${e.message}`)}finally{p.value=!1}}}function wt(){f.value=!1,d.value=[]}async function Tt(e){if(!e._loading&&await Ye(`取消抽奖`,`确认取消这个抽奖?已参与用户不会自动补偿。`,{confirmText:`取消抽奖`,danger:!0})){e._loading=!0;try{await et(`/api/lotteries/${e.id}/cancel`,{method:`POST`}),await gt()}catch(e){P(`取消抽奖失败:${e.message}`)}finally{e._loading=!1}}}async function Et(e){if(!e._loading&&await Ye(`立即开奖`,`确认现在开奖?开奖后状态会变更。`,{confirmText:`立即开奖`})){e._loading=!0;try{await et(`/api/lotteries/${e.id}/draw`,{method:`POST`}),await gt()}catch(e){P(`开奖失败:${e.message}`)}finally{e._loading=!1}}}async function Dt(){if(!h.value.trim())return P(`请输入要检测的文本`);if(!_.value){_.value=!0;try{v.value=await et(`/api/spam-test`,{method:`POST`,headers:{"Content-Type":`application/json`},body:JSON.stringify({text:h.value,use_ai:g.value})})}catch(e){P(`检测失败:${e.message}`)}finally{_.value=!1}}}async function Ot(){if(!C.value){C.value=!0;try{let e=await et(`/api/spam-rules`);S.keywords=e.keywords||[],S.regex=e.regex||[],S.counts=e.counts||{keywords:0,regex:0}}catch(e){P(`加载规则库失败:${e.message}`)}finally{C.value=!1}}}let kt=J(()=>{let e=w.value.trim().toLowerCase(),t=[...S.keywords].reverse();return e?t.filter(t=>String(t.pattern||``).toLowerCase().includes(e)).slice(0,300):t.slice(0,120)}),At=J(()=>{let e=w.value.trim().toLowerCase(),t=[...S.regex].reverse();return e?t.filter(t=>String(t.pattern||``).toLowerCase().includes(e)).slice(0,300):t.slice(0,120)});async function jt(){if(!y.pattern.trim())return P(`请输入规则内容`);if(!b.value){b.value=!0;try{let e=await et(`/api/spam-rules`,{method:`POST`,headers:{"Content-Type":`application/json`},body:JSON.stringify(y)});x.value=``,P(`规则已写入,关键词 ${e.rule_counts?.keywords||`-`} / 正则 ${e.rule_counts?.regex||`-`}`),y.pattern=``,await Ot(),await Dt()}catch(e){P(`写入规则失败:${e.message}`)}finally{b.value=!1}}}async function Mt(){if(!h.value.trim())return P(`请输入要入库的聊天内容`);if(!b.value){b.value=!0;try{let e=await et(`/api/spam-rules/from-text`,{method:`POST`,headers:{"Content-Type":`application/json`},body:JSON.stringify({text:h.value,use_ai:g.value})}),t=e.generated_rule||{};y.type=e.type||t.type||`keyword`,y.pattern=e.pattern||t.pattern||``,y.score=Number(e.score||t.score||90),x.value=`${t.ai_used===!1?`兜底生成`:`AI生成`}:${y.type===`regex`?`正则`:`关键词`} / ${y.score} / ${y.pattern}${t.reason?`(${t.reason})`:``}`,P(`已${t.ai_used===!1?`兜底`:`AI`}生成并写入规则:${y.pattern}`),await Ot(),await Dt()}catch(e){let t=e?.data?.generated_rule;t?.pattern&&(y.type=t.type||`keyword`,y.pattern=t.pattern,y.score=Number(t.score||90),x.value=`已生成但未写入:${y.pattern}${t.reason?`(${t.reason})`:``}`),P(`内容入库失败:${e.message}`)}finally{b.value=!1}}}function Nt(){tt(),nt(),ot(),ut(),dt(),gt(),rt()}function Pt(){N&&N.close(),N=new EventSource(`/api/stream`),N.addEventListener(`connected`,()=>{t.value=!0}),N.addEventListener(`chat`,e=>{let t=JSON.parse(e.data);Ve(t)||(n.value.unshift(t),n.value.length>120&&n.value.pop())}),N.addEventListener(`spam`,e=>{let t=JSON.parse(e.data),r=n.value.find(e=>e.msg_id===t.msg_id);r&&Object.assign(r,t)}),N.addEventListener(`chat_delete`,e=>{let t=JSON.parse(e.data),r=n.value.find(e=>e.id===t.id);r&&Object.assign(r,{deleted:!0,manually_deleted:!0,deleted_at:t.deleted_at}),ot()}),N.addEventListener(`ban`,e=>{let t=JSON.parse(e.data);r.value.unshift({...t,_loading:!1}),r.value.length>80&&r.value.pop(),ot()}),N.addEventListener(`unban`,e=>{let t=JSON.parse(e.data),n=r.value.find(e=>e.user_id===t.user_id);n&&(n.auto_unban=!1),ot()}),N.addEventListener(`log`,e=>{i.value.push(JSON.parse(e.data)),i.value.length>300&&i.value.shift(),ct()}),N.onerror=()=>{t.value=!1,window.setTimeout(Pt,3e3)}}async function Ft(){let e=ve.value.trim();if(!(!e||be.value)){be.value=!0;try{await et(`/api/send`,{method:`POST`,headers:{"Content-Type":`application/json`},body:JSON.stringify({text:e,chat_id:o.value,reply_to_message_id:ye.value?.msg_id||null})}),ve.value=``,ye.value=null}catch(e){P(`发送失败:${e.message}`)}finally{be.value=!1}}}function Lt(e,t){O.item=t,O.open=!0;let n=t.deleted?184:224;O.x=Math.min(e.clientX,window.innerWidth-188-8),O.y=Math.min(e.clientY,window.innerHeight-n-8)}function Rt(){O.open=!1,O.item=null}async function zt(){let e=O.item;Rt(),e&&await $t(e)}async function Bt(){let e=O.item;if(Rt(),!e?.user_id)return P(`当前消息缺少用户 ID,无法加入白名单`);if(await Ye(`加入白名单`,`确认将 @${e.username||e.first_name||e.user_id} 加入白名单?
|
||
白名单用户命中垃圾规则时只删除消息,不封禁账号。`,{confirmText:`加入白名单`}))try{await et(`/api/messages/${e.id}/whitelist`,{method:`POST`,headers:{"Content-Type":`application/json`},body:JSON.stringify({reason:`Web 右键加入白名单`})}),P(`已加入白名单:后续只删消息,不封禁账号`)}catch(e){P(`加入白名单失败:${e.message}`)}}async function Vt(e=!1){let t=O.item;Rt(),t&&await en(t,e)}function Ht(e){return e?e%1440==0?`${e/1440} 天`:e%60==0?`${e/60} 小时`:`${e} 分钟`:`永久`}function Ut(e,t){if(!e.user_id)return P(`当前记录没有用户 ID,无法封禁`);k.item=e,k.mode=t,k.duration=0,k.customMinutes=``,k.open=!0}function Wt(){k.open=!1,k.item=null,k.customMinutes=``}function Gt(e){k.duration=e,k.customMinutes=``}function Kt(){let e=String(k.customMinutes||``).trim();if(e===``)return;let t=Number(e);if(!Number.isFinite(t)||t<0)return P(`封禁时间无效,请输入 0 或正整数分钟`);k.duration=Math.floor(t)}async function qt(){let e=k.item;if(!e)return Wt();Kt();let t=k.duration,n=k.mode;Wt(),n===`delete_ban`&&!e.deleted?await en(e,!0,t,!0):await Qt(e,t,!0)}async function Jt(){let e=O.item;Rt(),e&&Ut(e,`delete_ban`)}async function Yt(){let e=O.item;Rt(),e&&Ut(e,`ban`)}async function I(){let e=O.item,t=String(e?.text||``).trim();if(Rt(),!t)return P(`当前消息没有可复制的文本`);try{await navigator.clipboard.writeText(t),P(`消息文本已复制`)}catch{P(`复制失败,浏览器未允许剪贴板权限`)}}function Xt(){let e=O.item;if(Rt(),!e?.msg_id)return P(`当前消息无法回复`);ye.value=e,Cn(()=>document.querySelector(`.floating-chat-send input`)?.focus())}function Zt(){ye.value=null}async function Qt(e,t=0,n=!1){if(!e.user_id)return P(`当前记录没有用户 ID,无法封禁`);if(!(!n&&!await Ye(`封禁用户`,`确认封禁 @${e.username||e.first_name||e.user_id}?时长:${Ht(t)}`,{confirmText:`封禁`,danger:!0}))){e._deleting=!0;try{await et(`/api/messages/${e.id}/ban`,{method:`POST`,headers:{"Content-Type":`application/json`},body:JSON.stringify({duration_minutes:t})}),await nt(),await ot()}catch(e){P(`封禁失败:${e.message}`)}finally{e._deleting=!1}}}async function $t(e){let t=String(e.text||``).trim();if(!t)return P(`当前消息没有可写入的文本`);if(t.length>500)return P(`当前消息超过 500 字,请到规则测试页提取关键词或正则`);if(await Ye(`写入拦截库`,`确认将当前聊天内容作为关键词写入拦截规则库?`,{confirmText:`写入`,danger:!1})){e._ruling=!0;try{let e=await et(`/api/spam-rules`,{method:`POST`,headers:{"Content-Type":`application/json`},body:JSON.stringify({type:`keyword`,pattern:t,score:90})});P(`已写入拦截库,关键词 ${e.rule_counts?.keywords||`-`} / 正则 ${e.rule_counts?.regex||`-`}`)}catch(e){P(`写入失败:${e.message}`)}finally{e._ruling=!1}}}async function en(e,t=!1,n=0,r=!1){if(e.manually_deleted||e.deleted)return P(`该消息已删除`);let i=t?`删除并封禁`:`删除`,a=t?`确认删除这条消息并封禁用户?时长:${Ht(n)}`:`确认删除这条消息?`;if(!(!r&&!await Ye(i,a,{confirmText:i,danger:!0}))){e._deleting=!0;try{await et(`/api/messages/${e.id}/delete`,{method:`POST`,headers:{"Content-Type":`application/json`},body:JSON.stringify({ban_user:t,duration_minutes:n})}),Object.assign(e,{deleted:!0,manually_deleted:!0}),await nt(),await ot()}catch(e){P(`${i}失败:${e.message}`)}finally{e._deleting=!1}}}async function tn(e){if(await Ye(`解除封禁`,`确认解封 ${e.username||e.user_id}?`,{confirmText:`解封`})){e._loading=!0;try{await et(`/api/unban/${e.user_id}`,{method:`POST`}),e.auto_unban=!1,await ot()}catch(e){P(`解封失败:${e.message}`)}finally{e._loading=!1}}}async function nn(){if(await Ye(`重启 Bot`,`确认只重启 Telegram Bot?Web 管理页不会重启。`,{confirmText:`重启 Bot`})){Se.value=!0;try{await et(`/api/restart-bot`,{method:`POST`}),window.setTimeout(()=>{Se.value=!1,st()},5e3)}catch(e){Se.value=!1,P(`重启 Bot 失败:${e.message}`)}}}async function rn(){if(await Ye(`重启服务`,`确认重启 TG Spam Guard 服务?重启期间 Web 和 Bot 会短暂不可用。`,{confirmText:`重启服务`,danger:!0})){xe.value=!0;try{await et(`/api/restart`,{method:`POST`})}catch{}window.setTimeout(()=>location.reload(),8e3)}}async function an(){if(!he.value){he.value=!0;try{await st()}finally{he.value=!1}}}async function on(){if(!ge.value){ge.value=!0;try{let e=i.value.map(e=>`${Ue(e.time)} ${e.level||``} ${We(e.message)}`).join(`
|
||
`);await navigator.clipboard?.writeText(e),P(`日志已复制`)}finally{ge.value=!1}}}async function sn(){await lt().then(Nt),tt(),nt(),ot(),ut(),gt(),st(),rt(),Pt(),Te||=window.setInterval(ot,3e4)}return Ar(async()=>{window.addEventListener(`click`,Rt),window.addEventListener(`scroll`,Rt,!0),await Ze(),de.value&&await sn()}),Nr(()=>{window.removeEventListener(`click`,Rt),window.removeEventListener(`scroll`,Rt,!0),N&&N.close(),Te&&window.clearInterval(Te)}),(e,N)=>(V(),U(L(PN),{theme:{theme:{primary:`indigo`},size:`sm`}},{default:R(()=>[ue.value?de.value?(V(),H(`main`,$N,[W(`aside`,eP,[N[63]||=W(`div`,{class:`side-brand`},[W(`img`,{class:`brand-icon`,src:`/static/icon.svg`,alt:`TG Spam Guard`}),W(`div`,null,[W(`h1`,null,`TG Spam Guard`),W(`p`,null,`群组安全后台`)])],-1),W(`div`,tP,[N[56]||=W(`span`,{class:`side-label`},`当前群组`,-1),Fn(W(`select`,{"onUpdate:modelValue":N[2]||=e=>o.value=e,class:`form-select side-select`,onChange:Nt},[N[55]||=W(`option`,{value:null},`全部群组`,-1),(V(!0),H(da,null,Wr(a.value,e=>(V(),H(`option`,{key:e.chat_id,value:e.chat_id},M(e.label||e.name),9,nP))),128))],544),[[$o,o.value]])]),W(`nav`,rP,[W(`button`,{class:A({active:ie.value===`dashboard`}),onClick:N[3]||=e=>Be(`dashboard`)},[...N[57]||=[W(`span`,null,`总览`,-1),W(`em`,null,`Dashboard`,-1)]],2),W(`button`,{class:A({active:ie.value===`shop`}),onClick:N[4]||=e=>Be(`shop`)},[...N[58]||=[W(`span`,null,`商城管理`,-1),W(`em`,null,`Shop`,-1)]],2),W(`button`,{class:A({active:ie.value===`lottery`}),onClick:N[5]||=e=>Be(`lottery`)},[...N[59]||=[W(`span`,null,`抽奖管理`,-1),W(`em`,null,`Lottery`,-1)]],2),W(`button`,{class:A({active:ie.value===`rules`}),onClick:N[6]||=e=>Be(`rules`)},[...N[60]||=[W(`span`,null,`规则管理`,-1),W(`em`,null,`Rules`,-1)]],2),W(`button`,{class:A({active:ie.value===`whitelist`}),onClick:N[7]||=e=>Be(`whitelist`)},[...N[61]||=[W(`span`,null,`白名单管理`,-1),W(`em`,null,`Whitelist`,-1)]],2)]),W(`div`,iP,[W(`span`,{class:A([`conn`,t.value?`on`:`off`])},M(t.value?`实时连接`:`连接中`),3),N[62]||=W(`small`,null,`Bot 管理控制台`,-1)])]),W(`section`,aP,[W(`header`,oP,[W(`div`,null,[N[64]||=W(`span`,{class:`eyebrow`},`CONTROL CENTER`,-1),W(`h2`,null,M(Re.value),1),W(`p`,null,M(ze.value),1)]),W(`div`,sP,[G(L(YC),{size:`xs`,variant:`outline`,onClick:$e},{default:R(()=>[...N[65]||=[K(`退出`,-1)]]),_:1}),G(L(YC),{size:`xs`,variant:`outline`,color:`primary`,loading:Se.value,disabled:Se.value,onClick:nn},{default:R(()=>[...N[66]||=[K(`重启 Bot`,-1)]]),_:1},8,[`loading`,`disabled`]),G(L(YC),{size:`xs`,variant:`soft`,color:`warning`,loading:xe.value,disabled:xe.value,onClick:rn},{default:R(()=>[...N[67]||=[K(`重启服务`,-1)]]),_:1},8,[`loading`,`disabled`])])]),Fn(W(`section`,cP,[G(L(FM),{class:`stat-card blue`},{default:R(()=>[W(`div`,lP,[N[69]||=W(`span`,{class:`stat-icon`},`今`,-1),W(`div`,null,[N[68]||=W(`span`,null,`今日封禁`,-1),W(`strong`,null,M(Ce.today_bans||0),1)])])]),_:1}),G(L(FM),{class:`stat-card red`},{default:R(()=>[W(`div`,uP,[N[71]||=W(`span`,{class:`stat-icon`},`总`,-1),W(`div`,null,[N[70]||=W(`span`,null,`累计封禁`,-1),W(`strong`,null,M(Ce.total_bans||0),1)])])]),_:1}),G(L(FM),{class:`stat-card orange`},{default:R(()=>[W(`div`,dP,[N[73]||=W(`span`,{class:`stat-icon`},`封`,-1),W(`div`,null,[N[72]||=W(`span`,null,`当前封禁`,-1),W(`strong`,null,M(Ce.active_bans||0),1)])])]),_:1}),G(L(FM),{class:`stat-card green`},{default:R(()=>[W(`div`,fP,[N[75]||=W(`span`,{class:`stat-icon`},`聊`,-1),W(`div`,null,[N[74]||=W(`span`,null,`聊天记录`,-1),W(`strong`,null,M(Ee.value),1)])])]),_:1})],512),[[go,ie.value===`dashboard`]]),Fn(W(`section`,pP,[G(L(FM),{id:`chat`,class:`panel chat-panel`,title:`聊天记录`,description:`${Ee.value} 条`},{default:R(()=>[W(`div`,mP,[n.value.length?q(``,!0):(V(),H(`div`,hP,`等待消息...`)),(V(!0),H(da,null,Wr(n.value,(e,t)=>(V(),H(`article`,{key:e.id||t,class:A([qe(e),{deleting:e._deleting||e._ruling}]),onContextmenu:as(t=>Lt(t,e),[`prevent`,`stop`])},[W(`div`,_P,[W(`div`,vP,[G(L(BN),{size:`xs`,color:Je(e),variant:`soft`},{default:R(()=>[K(M(Ge(e)),1)]),_:2},1032,[`color`]),W(`span`,yP,`@`+M(e.username||e.first_name||`unknown`),1),W(`span`,bP,M(e.user_id),1)]),W(`div`,xP,[W(`span`,SP,`#`+M(e.msg_id||`-`),1),W(`span`,CP,M(Ue(e.time)),1)])]),W(`div`,{class:`chat-text`,title:e.text||`(空消息)`},M(e.text||`(空消息)`),9,wP),W(`div`,TP,[e.spam?(V(),U(L(BN),{key:0,class:`reason-tag`,size:`xs`,color:`destructive`,variant:`soft`,title:e.reason||e.spam_reason},{default:R(()=>[K(M(e.reason||e.spam_reason),1)]),_:2},1032,[`title`])):(V(),H(`span`,EP)),W(`div`,DP,[e.deleted?(V(),U(L(BN),{key:0,size:`xs`,color:`secondary`,variant:`soft`},{default:R(()=>[K(`已删 · `+M(Ue(e.deleted_at)),1)]),_:2},1024)):(V(),U(L(BN),{key:1,size:`xs`,color:`secondary`,variant:`soft`},{default:R(()=>[...N[76]||=[K(`右键操作`,-1)]]),_:1}))])]),e._deleting||e._ruling?(V(),H(`div`,OP,[N[77]||=W(`span`,{class:`mini-spinner`},null,-1),W(`strong`,null,M(e._ruling?`正在写入拦截库...`:`正在处理当前消息...`),1)])):q(``,!0)],42,gP))),128))])]),_:1},8,[`description`]),G(L(FM),{class:`panel log-panel`,title:`📜 实时日志`,description:`${i.value.length} 条`},{extra:R(()=>[W(`div`,kP,[G(L(ew),{size:`xs`,variant:`outline`,loading:ge.value,disabled:ge.value,onClick:on},{default:R(()=>[...N[78]||=[K(`复制`,-1)]]),_:1},8,[`loading`,`disabled`]),G(L(YC),{size:`xs`,variant:`outline`,onClick:N[8]||=e=>_e.value=!_e.value},{default:R(()=>[K(M(_e.value?`单行`:`换行`),1)]),_:1}),G(L(ew),{size:`xs`,variant:`outline`,loading:he.value,disabled:he.value,onClick:an},{default:R(()=>[...N[79]||=[K(`刷新`,-1)]]),_:1},8,[`loading`,`disabled`])])]),default:R(()=>[W(`div`,{ref_key:`logScroll`,ref:we,class:A([`log-window`,{wrap:_e.value}])},[i.value.length?q(``,!0):(V(),H(`div`,AP,`等待日志...`)),(V(!0),H(da,null,Wr(i.value,(e,t)=>(V(),H(`div`,{key:t,class:A([`log-line`,e.level]),title:We(e.message)},[W(`span`,MP,M(Ue(e.time)),1),W(`span`,NP,M(e.level),1),W(`span`,PP,M(We(e.message)),1)],10,jP))),128))],2)]),_:1},8,[`description`]),G(L(FM),{class:`panel ban-panel overview-ban-panel`,title:`🚫 封禁记录`,description:`${r.value.length} 条`},{extra:R(()=>[G(L(YC),{size:`xs`,variant:`outline`,onClick:nt},{default:R(()=>[...N[80]||=[K(`刷新`,-1)]]),_:1})]),default:R(()=>[W(`div`,FP,[r.value.length?q(``,!0):(V(),H(`div`,IP,`暂无封禁记录`)),(V(!0),H(da,null,Wr(r.value,(e,t)=>(V(),H(`div`,{key:e.id||t,class:`ban-item`},[W(`div`,LP,[W(`b`,null,`@`+M(e.username||e.first_name||e.user_id),1),W(`span`,null,M(e.reason||`-`),1)]),W(`div`,RP,[W(`span`,null,`封禁 `+M(Ue(e.time||e.created_at)),1),e.chat_id?(V(),H(`span`,zP,`群 `+M(e.chat_id),1)):q(``,!0),e.unban_at?(V(),H(`span`,BP,`解封 `+M(Ue(e.unban_at)),1)):q(``,!0),e.auto_unban?(V(),U(L(YC),{key:2,size:`xs`,variant:`outline`,color:`success`,loading:e._loading,disabled:e._loading,onClick:t=>tn(e)},{default:R(()=>[...N[81]||=[K(`解封`,-1)]]),_:1},8,[`loading`,`disabled`,`onClick`])):(V(),U(L(BN),{key:3,size:`xs`,color:`secondary`,variant:`soft`},{default:R(()=>[...N[82]||=[K(`已处理`,-1)]]),_:1}))])]))),128))])]),_:1},8,[`description`])],512),[[go,ie.value===`dashboard`]]),O.open?(V(),H(`div`,{key:0,class:`chat-context-menu`,style:le({left:`${O.x}px`,top:`${O.y}px`}),onClick:N[10]||=as(()=>{},[`stop`]),onContextmenu:N[11]||=as(()=>{},[`prevent`])},[W(`button`,{class:`danger`,disabled:!!O.item?.deleted,onClick:N[9]||=e=>Vt(!1)},`🗑️ 删除`,8,VP),W(`button`,{class:`warning`,disabled:!O.item?.user_id,onClick:Jt},`⛔ 删除并封禁`,8,HP),W(`button`,{class:`warning`,disabled:!O.item?.user_id,onClick:Yt},`🚫 封印用户`,8,UP),W(`button`,{disabled:!O.item?.user_id,onClick:Bt},`🛡️ 加入白名单`,8,WP),W(`button`,{onClick:zt},`📥 写入拦截库`),W(`button`,{onClick:I},`📋 复制内容`),W(`button`,{onClick:Xt},`↩️ 回复`)],36)):q(``,!0),Fn(W(`section`,GP,[G(L(FM),{class:`panel page-panel whitelist-panel`,title:`🛡️ 白名单管理`,description:`${u.value.length} 个用户 · 仅当前群组生效,命中垃圾时只删消息不封禁`},{default:R(()=>[W(`div`,KP,[W(`div`,qP,[N[83]||=W(`span`,null,`当前群组`,-1),W(`strong`,null,M(o.value||`-`),1)]),W(`label`,null,[N[84]||=W(`span`,null,`用户 ID`,-1),Fn(W(`input`,{"onUpdate:modelValue":N[12]||=e=>te.user_id=e,class:`form-input`,placeholder:`必填,如 5418812283`},null,512),[[Xo,te.user_id]])]),W(`label`,null,[N[85]||=W(`span`,null,`用户名`,-1),Fn(W(`input`,{"onUpdate:modelValue":N[13]||=e=>te.username=e,class:`form-input`,placeholder:`可选,不带 @`},null,512),[[Xo,te.username]])]),W(`label`,null,[N[86]||=W(`span`,null,`昵称`,-1),Fn(W(`input`,{"onUpdate:modelValue":N[14]||=e=>te.first_name=e,class:`form-input`,placeholder:`可选`},null,512),[[Xo,te.first_name]])]),W(`label`,JP,[N[87]||=W(`span`,null,`原因`,-1),Fn(W(`input`,{"onUpdate:modelValue":N[15]||=e=>te.reason=e,class:`form-input`,placeholder:`可选,如 熟人/误杀保护`},null,512),[[Xo,te.reason]])]),G(L(YC),{color:`primary`,loading:ee.value,disabled:ee.value,onClick:it},{default:R(()=>[...N[88]||=[K(`添加`,-1)]]),_:1},8,[`loading`,`disabled`]),G(L(YC),{variant:`outline`,loading:T.value,disabled:T.value,onClick:rt},{default:R(()=>[...N[89]||=[K(`刷新`,-1)]]),_:1},8,[`loading`,`disabled`])]),W(`div`,YP,[N[91]||=W(`div`,{class:`table-head`},[W(`span`,null,`用户`),W(`span`,null,`范围`),W(`span`,null,`原因`),W(`span`,null,`更新时间`),W(`span`,null,`操作`)],-1),u.value.length?q(``,!0):(V(),H(`div`,XP,`暂无白名单用户`)),(V(!0),H(da,null,Wr(u.value,e=>(V(),H(`div`,{key:e.id,class:`table-row`},[W(`div`,null,[W(`b`,null,`@`+M(e.username||e.first_name||e.user_id),1),W(`small`,null,M(e.user_id),1)]),W(`span`,null,M(e.chat_id),1),W(`em`,{title:e.reason},M(e.reason||`-`),9,ZP),W(`small`,null,M(Ue(e.updated_at||e.created_at)),1),G(L(YC),{size:`xs`,variant:`outline`,color:`destructive`,loading:e._loading,disabled:e._loading,onClick:t=>at(e)},{default:R(()=>[...N[90]||=[K(`移出`,-1)]]),_:1},8,[`loading`,`disabled`,`onClick`])]))),128))])]),_:1},8,[`description`])],512),[[go,ie.value===`whitelist`]]),Fn(W(`section`,QP,[G(L(FM),{class:`panel page-panel rule-detect-card compact-detect-card`,title:`🧪 规则检测`,description:`粘贴聊天内容,快速判断广告 / 垃圾 / 灰产,并可写入规则库`},{default:R(()=>[W(`div`,$P,[W(`label`,eF,[N[92]||=W(`span`,null,`聊天内容`,-1),Fn(W(`textarea`,{"onUpdate:modelValue":N[16]||=e=>h.value=e,class:`form-input rule-textarea compact`,placeholder:`粘贴可疑聊天内容,例如:点击 https://xxx 领取福利`},null,512),[[Xo,h.value]])]),W(`div`,{class:A([`rule-result-card compact`,{danger:v.value?.final_is_spam,ok:v.value&&v.value.final_is_spam===!1}])},[v.value?(V(),H(da,{key:1},[W(`div`,nF,[G(L(BN),{color:v.value.final_is_spam?`destructive`:v.value.final_is_spam===null?`warning`:`success`,variant:`soft`},{default:R(()=>[K(M(v.value.final_is_spam?`广告/垃圾/灰产`:v.value.final_is_spam===null?`需 AI 判断`:`正常`),1)]),_:1},8,[`color`]),W(`strong`,null,`评分 `+M(v.value.score),1)]),W(`div`,{class:`compact-reason`,title:v.value.reason},M(v.value.reason),9,rF),v.value.ai_reason?(V(),H(`div`,{key:0,class:`compact-reason muted`,title:v.value.ai_reason},`AI:`+M(v.value.ai_reason),9,iF)):q(``,!0),W(`div`,aF,`关键词 `+M(v.value.rule_counts?.keywords)+` / 正则 `+M(v.value.rule_counts?.regex)+` / 域名 `+M(v.value.rule_counts?.adblock_domains||S.counts.adblock_domains||0),1)],64)):(V(),H(`div`,tF,`暂无检测结果`))],2),W(`div`,oF,[W(`label`,sF,[Fn(W(`input`,{"onUpdate:modelValue":N[17]||=e=>g.value=e,type:`checkbox`},null,512),[[Zo,g.value]]),N[93]||=K(` AI 兜底`,-1)]),G(L(ew),{color:`primary`,loading:_.value,disabled:_.value,onClick:Dt},{default:R(()=>[...N[94]||=[K(`检测`,-1)]]),_:1},8,[`loading`,`disabled`]),G(L(ew),{variant:`outline`,color:`warning`,loading:b.value,disabled:b.value||!h.value.trim(),onClick:Mt},{default:R(()=>[...N[95]||=[K(`AI入库`,-1)]]),_:1},8,[`loading`,`disabled`])])]),x.value?(V(),H(`div`,cF,M(x.value),1)):q(``,!0),W(`div`,lF,[W(`label`,null,[N[97]||=K(`类型`,-1),Fn(W(`select`,{"onUpdate:modelValue":N[18]||=e=>y.type=e,class:`form-select`},[...N[96]||=[W(`option`,{value:`keyword`},`关键词`,-1),W(`option`,{value:`regex`},`正则`,-1)]],512),[[$o,y.type]])]),W(`label`,null,[N[98]||=K(`分数`,-1),G(L(LN),{modelValue:y.score,"onUpdate:modelValue":N[19]||=e=>y.score=e,type:`number`,placeholder:`75`},null,8,[`modelValue`])]),W(`label`,uF,[N[99]||=K(`规则条目`,-1),G(L(LN),{modelValue:y.pattern,"onUpdate:modelValue":N[20]||=e=>y.pattern=e,placeholder:y.type===`keyword`?`如 黑U`:`如 (?:黑s*[uU]).{0,20}(?:联系|项目)`},null,8,[`modelValue`,`placeholder`])]),G(L(ew),{color:`primary`,loading:b.value,disabled:b.value,onClick:jt},{default:R(()=>[...N[100]||=[K(`写入`,-1)]]),_:1},8,[`loading`,`disabled`])])]),_:1}),G(L(FM),{class:`panel page-panel rule-library-card`,title:`📚 规则库`,description:`关键词 ${S.counts.keywords} 条 / 正则 ${S.counts.regex} 条 / Adblock 域名 ${S.counts.adblock_domains||0} 条`},{extra:R(()=>[G(L(ew),{size:`xs`,variant:`outline`,loading:C.value,disabled:C.value,onClick:Ot},{default:R(()=>[...N[101]||=[K(`刷新`,-1)]]),_:1},8,[`loading`,`disabled`])]),default:R(()=>[W(`div`,dF,[G(L(LN),{modelValue:w.value,"onUpdate:modelValue":N[21]||=e=>w.value=e,placeholder:`搜索规则条目`},null,8,[`modelValue`])]),W(`div`,fF,[W(`div`,null,[N[102]||=W(`h4`,null,`关键词规则`,-1),W(`div`,pF,[(V(!0),H(da,null,Wr(kt.value,e=>(V(),H(`div`,{key:`kw-${e.line}-${e.pattern}`,class:`rule-row`},[W(`span`,{title:e.pattern},M(e.pattern),9,mF),W(`em`,null,M(e.score||`-`),1)]))),128)),kt.value.length?q(``,!0):(V(),H(`div`,hF,`暂无关键词规则`))])]),W(`div`,null,[N[103]||=W(`h4`,null,`正则规则`,-1),W(`div`,gF,[(V(!0),H(da,null,Wr(At.value,e=>(V(),H(`div`,{key:`re-${e.line}-${e.pattern}`,class:`rule-row`},[W(`span`,{title:e.pattern},M(e.pattern),9,_F),W(`em`,null,M(e.score||`-`),1)]))),128)),At.value.length?q(``,!0):(V(),H(`div`,vF,`暂无正则规则`))])])])]),_:1},8,[`description`])],512),[[go,ie.value===`rules`]]),Fn(W(`section`,yF,[G(L(FM),{class:`panel data-panel`,title:`🛒 商城管理`,description:`${s.value.length} 个商品`},{extra:R(()=>[G(L(YC),{size:`xs`,color:`primary`,onClick:pt},{default:R(()=>[...N[104]||=[K(`新增商品`,-1)]]),_:1})]),default:R(()=>[W(`div`,bF,[W(`button`,{class:A({active:ae.shop===`items`}),onClick:N[22]||=e=>ae.shop=`items`},`商品列表`,2),W(`button`,{class:A({active:ae.shop===`tx`}),onClick:N[23]||=e=>{ae.shop=`tx`,dt()}},`交易记录`,2)]),ae.shop===`items`?(V(),H(`div`,xF,[N[107]||=W(`div`,{class:`table-head`},[W(`span`,null,`编号/商品`),W(`span`,null,`价格`),W(`span`,null,`库存`),W(`span`,null,`状态`),W(`span`,null,`操作`)],-1),(V(!0),H(da,null,Wr(s.value,e=>(V(),H(`div`,{key:e.item_key,class:`table-row`},[W(`span`,null,[W(`b`,null,M(e.item_key),1),W(`em`,null,M(e.name),1),W(`small`,null,M(e.desc||`无说明`),1)]),W(`span`,null,M(e.cost)+` 分`,1),W(`span`,null,M(Number(e.stock??-1)<0?`不限`:e.stock),1),W(`span`,null,[G(L(BN),{size:`xs`,color:e.enabled?`success`:`secondary`,variant:`soft`},{default:R(()=>[K(M(e.enabled?`上架`:`下架`),1)]),_:2},1032,[`color`])]),W(`span`,SF,[G(L(YC),{size:`xs`,variant:`outline`,onClick:t=>mt(e)},{default:R(()=>[...N[105]||=[K(`编辑`,-1)]]),_:1},8,[`onClick`]),G(L(YC),{size:`xs`,variant:`soft`,color:`destructive`,loading:e._loading,disabled:e._loading,onClick:t=>ht(e)},{default:R(()=>[...N[106]||=[K(`删除`,-1)]]),_:1},8,[`loading`,`disabled`,`onClick`])])]))),128))])):(V(),H(`div`,CF,[N[108]||=W(`div`,{class:`table-head`},[W(`span`,null,`用户`),W(`span`,null,`商品`),W(`span`,null,`积分`),W(`span`,null,`时间`)],-1),(V(!0),H(da,null,Wr(c.value,e=>(V(),H(`div`,{key:e.id,class:`table-row`},[W(`span`,null,`@`+M(e.username||e.user_id),1),W(`span`,null,M(e.item_name),1),W(`span`,null,M(e.cost)+` 分`,1),W(`span`,null,M(Ue(e.created_at)),1)]))),128))]))]),_:1},8,[`description`])],512),[[go,ie.value===`shop`]]),Fn(W(`section`,wF,[G(L(FM),{class:`panel data-panel`,title:`🎁 抽奖项目`,description:`${l.value.length} 个活动`},{extra:R(()=>[G(L(YC),{size:`xs`,color:`primary`,onClick:vt},{default:R(()=>[...N[109]||=[K(`新增抽奖`,-1)]]),_:1})]),default:R(()=>[W(`div`,TF,[(V(!0),H(da,null,Wr(l.value,e=>(V(),H(`div`,{key:e.id,class:`data-row lottery-row`},[W(`div`,EF,[W(`div`,DF,[W(`strong`,null,M(e.title||e.prize),1),G(L(BN),{size:`xs`,color:e.status===`active`?`success`:e.status===`drawn`?`primary`:e.status===`cancelled`?`destructive`:`secondary`,variant:`soft`},{default:R(()=>[K(M(e.status),1)]),_:2},1032,[`color`])]),W(`div`,OF,`奖品:`+M(e.prize)+` · 条件:`+M(e.condition_type)+M(e.condition_value?`:`+e.condition_value:``),1),W(`div`,kF,`开奖:`+M(e.draw_type===`time`?Ue(e.draw_at):`满 ${e.max_participants||e.end_value||`-`} 人`)+` · 参与:`+M(e.participants_count||0)+` 人`,1)]),W(`div`,AF,[G(L(YC),{size:`xs`,variant:`outline`,disabled:Number(e.participants_count||0)>0,onClick:t=>yt(e)},{default:R(()=>[...N[110]||=[K(`编辑`,-1)]]),_:1},8,[`disabled`,`onClick`]),G(L(YC),{size:`xs`,variant:`outline`,onClick:t=>Ct(e)},{default:R(()=>[...N[111]||=[K(`查看参与`,-1)]]),_:1},8,[`onClick`]),G(L(YC),{size:`xs`,variant:`outline`,color:`primary`,loading:e._loading,disabled:e._loading||e.status!==`active`,onClick:t=>Et(e)},{default:R(()=>[...N[112]||=[K(`开奖`,-1)]]),_:1},8,[`loading`,`disabled`,`onClick`]),G(L(YC),{size:`xs`,variant:`outline`,color:`warning`,loading:e._loading,disabled:e._loading||e.status!==`active`,onClick:t=>Tt(e)},{default:R(()=>[...N[113]||=[K(`关闭`,-1)]]),_:1},8,[`loading`,`disabled`,`onClick`]),G(L(YC),{size:`xs`,variant:`link`,color:`destructive`,loading:e._loading,disabled:e._loading,onClick:t=>xt(e)},{default:R(()=>[...N[114]||=[K(`删除`,-1)]]),_:1},8,[`loading`,`disabled`,`onClick`])])]))),128)),l.value.length?q(``,!0):(V(),H(`div`,jF,`暂无抽奖项目`))])]),_:1},8,[`description`])],512),[[go,ie.value===`lottery`]]),ie.value===`dashboard`?(V(),H(`form`,{key:1,class:`send-box floating-chat-send`,onSubmit:as(Ft,[`prevent`])},[ye.value?(V(),H(`div`,MF,[W(`span`,null,`回复 @`+M(ye.value.username||ye.value.first_name||ye.value.user_id)+`:`+M(ye.value.text||`(空消息)`),1),W(`button`,{type:`button`,onClick:Zt},`×`)])):q(``,!0),G(L(LN),{modelValue:ve.value,"onUpdate:modelValue":N[24]||=e=>ve.value=e,placeholder:ye.value?`输入回复内容`:`发送消息到 TG 群`},null,8,[`modelValue`,`placeholder`]),G(L(YC),{type:`submit`,color:`primary`,loading:be.value,disabled:be.value||!ve.value.trim()},{default:R(()=>[...N[115]||=[K(`发送`,-1)]]),_:1},8,[`loading`,`disabled`])],32)):q(``,!0),k.open?(V(),H(`div`,{key:2,class:`confirm-mask`,onClick:as(Wt,[`self`])},[W(`div`,NF,[W(`div`,PF,[W(`div`,null,[W(`h3`,null,M(k.mode===`delete_ban`?`删除并封禁`:`封禁用户`),1),W(`p`,null,`@`+M(k.item?.username||k.item?.first_name||k.item?.user_id)+` · 选择封禁时长`,1)]),W(`button`,{class:`dialog-close`,type:`button`,onClick:Wt},`×`)]),W(`div`,FF,[(V(),H(da,null,Wr(ce,e=>W(`button`,{key:e.value,type:`button`,class:A({active:k.duration===e.value&&!k.customMinutes}),onClick:t=>Gt(e.value)},M(e.label),11,IF)),64))]),W(`label`,LF,[N[116]||=W(`span`,null,`自定义分钟`,-1),Fn(W(`input`,{"onUpdate:modelValue":N[25]||=e=>k.customMinutes=e,class:`form-input`,placeholder:`例如 30,0 为永久`,onInput:Kt},null,544),[[Xo,k.customMinutes]])]),W(`div`,RF,[N[117]||=K(`将执行:`,-1),W(`b`,null,M(k.mode===`delete_ban`&&!k.item?.deleted?`删除消息并封禁`:`封禁用户`),1),N[118]||=K(` · 时长:`,-1),W(`b`,null,M(Ht(k.duration)),1)]),W(`div`,zF,[G(L(YC),{size:`xs`,variant:`outline`,onClick:Wt},{default:R(()=>[...N[119]||=[K(`取消`,-1)]]),_:1}),G(L(YC),{size:`xs`,color:`destructive`,onClick:qt},{default:R(()=>[...N[120]||=[K(`确认执行`,-1)]]),_:1})])])])):q(``,!0),ne.value?(V(),H(`div`,{key:3,class:`confirm-mask`,onClick:N[33]||=as(e=>ne.value=!1,[`self`])},[W(`div`,BF,[W(`h3`,null,M(E.item_key?`编辑商品`:`新增商品`),1),N[129]||=W(`p`,null,`库存填 -1 表示不限库存,0 表示售罄。`,-1),W(`label`,null,[N[121]||=K(`商品编号`,-1),G(L(LN),{modelValue:E.item_key,"onUpdate:modelValue":N[26]||=e=>E.item_key=e,placeholder:`如 1 / vip_card`},null,8,[`modelValue`])]),W(`label`,null,[N[122]||=K(`商品名称`,-1),G(L(LN),{modelValue:E.name,"onUpdate:modelValue":N[27]||=e=>E.name=e,placeholder:`补签卡`},null,8,[`modelValue`])]),W(`label`,null,[N[123]||=K(`积分价格`,-1),G(L(LN),{modelValue:E.cost,"onUpdate:modelValue":N[28]||=e=>E.cost=e,type:`number`,placeholder:`50`},null,8,[`modelValue`])]),W(`label`,null,[N[124]||=K(`库存`,-1),G(L(LN),{modelValue:E.stock,"onUpdate:modelValue":N[29]||=e=>E.stock=e,type:`number`,placeholder:`-1 不限库存`},null,8,[`modelValue`])]),W(`label`,null,[N[125]||=K(`说明`,-1),G(L(LN),{modelValue:E.desc,"onUpdate:modelValue":N[30]||=e=>E.desc=e,placeholder:`展示在 /shop 内`},null,8,[`modelValue`])]),W(`label`,VF,[Fn(W(`input`,{"onUpdate:modelValue":N[31]||=e=>E.enabled=e,type:`checkbox`},null,512),[[Zo,E.enabled]]),N[126]||=K(` 上架销售`,-1)]),W(`div`,HF,[G(L(YC),{size:`xs`,variant:`outline`,disabled:j.value,onClick:N[32]||=e=>ne.value=!1},{default:R(()=>[...N[127]||=[K(`取消`,-1)]]),_:1},8,[`disabled`]),G(L(ew),{size:`xs`,color:`primary`,loading:j.value,disabled:j.value,onClick:ft},{default:R(()=>[...N[128]||=[K(`保存`,-1)]]),_:1},8,[`loading`,`disabled`])])])])):q(``,!0),re.value?(V(),H(`div`,{key:4,class:`confirm-mask`,onClick:N[46]||=as(e=>re.value=!1,[`self`])},[W(`div`,UF,[W(`div`,WF,[W(`div`,null,[W(`h3`,null,M(je.value),1),W(`p`,null,M(Me.value)+` · `+M(Ne.value),1)]),W(`button`,{class:`dialog-close`,type:`button`,onClick:N[34]||=e=>re.value=!1},`×`)]),W(`div`,GF,[N[133]||=W(`h4`,null,`基础信息`,-1),W(`div`,KF,[W(`label`,null,[N[130]||=K(`抽奖标题`,-1),G(L(LN),{modelValue:D.title,"onUpdate:modelValue":N[35]||=e=>D.title=e,placeholder:`如 月卡福利抽奖`},null,8,[`modelValue`])]),W(`label`,null,[N[131]||=K(`奖品内容`,-1),G(L(LN),{modelValue:D.prize,"onUpdate:modelValue":N[36]||=e=>D.prize=e,placeholder:`月卡一张 / 邀请码`},null,8,[`modelValue`])])]),W(`label`,null,[N[132]||=K(`说明`,-1),G(L(LN),{modelValue:D.description,"onUpdate:modelValue":N[37]||=e=>D.description=e,placeholder:`展示给参与用户,可留空`},null,8,[`modelValue`])])]),W(`div`,qF,[N[135]||=W(`h4`,null,`参与门槛`,-1),W(`div`,JF,[(V(),H(da,null,Wr(Oe,e=>W(`button`,{key:e.value,type:`button`,class:A({active:D.condition_type===e.value}),onClick:t=>Pe(e.value)},[W(`b`,null,M(e.label),1),W(`small`,null,M(e.desc),1)],10,YF)),64))]),D.condition_type===`points`?(V(),H(`label`,XF,[N[134]||=K(`积分门槛`,-1),G(L(LN),{modelValue:D.condition_value,"onUpdate:modelValue":N[38]||=e=>D.condition_value=e,type:`number`,placeholder:`100`},null,8,[`modelValue`])])):q(``,!0)]),W(`div`,ZF,[N[142]||=W(`h4`,null,`开奖方式`,-1),W(`div`,QF,[(V(),H(da,null,Wr(ke,e=>W(`button`,{key:e.value,type:`button`,class:A({active:D.draw_type===e.value}),onClick:t=>Fe(e.value)},[W(`b`,null,M(e.label),1),W(`small`,null,M(e.desc),1)],10,$F)),64))]),D.draw_type===`people`?(V(),H(`label`,eI,[N[136]||=K(`开奖人数`,-1),G(L(LN),{modelValue:D.end_value,"onUpdate:modelValue":N[39]||=e=>D.end_value=e,type:`number`,placeholder:`3`},null,8,[`modelValue`])])):D.draw_type===`instant`?(V(),H(`label`,tI,[N[137]||=K(`奖品数量`,-1),G(L(LN),{modelValue:D.prize_count,"onUpdate:modelValue":N[40]||=e=>D.prize_count=e,type:`number`,placeholder:`1`},null,8,[`modelValue`])])):(V(),H(`div`,nI,[W(`label`,null,[N[138]||=K(`开奖时间`,-1),Fn(W(`input`,{"onUpdate:modelValue":N[41]||=e=>D.draw_at=e,class:`form-input`,type:`datetime-local`},null,512),[[Xo,D.draw_at]])]),W(`div`,rI,[G(L(YC),{size:`xs`,variant:`outline`,onClick:N[42]||=e=>Ie(10)},{default:R(()=>[...N[139]||=[K(`10 分钟`,-1)]]),_:1}),G(L(YC),{size:`xs`,variant:`outline`,onClick:N[43]||=e=>Ie(30)},{default:R(()=>[...N[140]||=[K(`30 分钟`,-1)]]),_:1}),G(L(YC),{size:`xs`,variant:`outline`,onClick:N[44]||=e=>Ie(60)},{default:R(()=>[...N[141]||=[K(`1 小时`,-1)]]),_:1})])]))]),W(`div`,iI,[N[143]||=W(`h4`,null,`状态`,-1),W(`div`,aI,[(V(),H(da,null,Wr(Ae,e=>W(`button`,{key:e.value,type:`button`,class:A({active:D.status===e.value}),onClick:t=>D.status=e.value},[W(`b`,null,M(e.label),1)],10,oI)),64))])]),W(`div`,sI,[G(L(YC),{size:`xs`,variant:`outline`,disabled:me.value,onClick:N[45]||=e=>re.value=!1},{default:R(()=>[...N[144]||=[K(`取消`,-1)]]),_:1},8,[`disabled`]),G(L(ew),{size:`xs`,color:`primary`,loading:me.value,disabled:me.value,onClick:bt},{default:R(()=>[...N[145]||=[K(`保存`,-1)]]),_:1},8,[`loading`,`disabled`])])])])):q(``,!0),G(XN,{open:f.value,title:m.value,loading:p.value,participants:d.value,"format-time":Ue,onClose:wt},null,8,[`open`,`title`,`loading`,`participants`]),oe.value?(V(),H(`div`,cI,M(oe.value),1)):q(``,!0),se.open?(V(),H(`div`,{key:6,class:`confirm-mask`,onClick:N[49]||=as(e=>Xe(!1),[`self`])},[W(`div`,lI,[W(`h3`,null,M(se.title),1),W(`p`,null,M(se.message),1),W(`div`,uI,[G(L(YC),{size:`xs`,variant:`outline`,onClick:N[47]||=e=>Xe(!1)},{default:R(()=>[...N[146]||=[K(`关闭`,-1)]]),_:1}),G(L(YC),{size:`xs`,color:se.danger?`destructive`:`primary`,onClick:N[48]||=e=>Xe(!0)},{default:R(()=>[K(M(se.confirmText),1)]),_:1},8,[`color`])])])])):q(``,!0)])])):(V(),H(`div`,QN,[W(`form`,{class:`login-card`,onSubmit:as(Qe,[`prevent`])},[N[52]||=W(`img`,{class:`brand-icon`,src:`/static/icon.svg`,alt:`TG Spam Guard`},null,-1),N[53]||=W(`h1`,null,`TG Spam Guard`,-1),N[54]||=W(`p`,null,`请输入管理账号密码`,-1),G(L(LN),{modelValue:fe.username,"onUpdate:modelValue":N[0]||=e=>fe.username=e,placeholder:`账号`},null,8,[`modelValue`]),G(L(LN),{modelValue:fe.password,"onUpdate:modelValue":N[1]||=e=>fe.password=e,type:`password`,placeholder:`密码`},null,8,[`modelValue`]),G(L(YC),{type:`submit`,color:`primary`,loading:pe.value,disabled:pe.value},{default:R(()=>[...N[51]||=[K(`登录`,-1)]]),_:1},8,[`loading`,`disabled`])],32)])):(V(),H(`div`,ZN,[...N[50]||=[W(`div`,{class:`login-card`},`正在检查登录状态...`,-1)]]))]),_:1}))}})).mount(`#app`); |