tsv2-library 0.1.45 → 0.1.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -27,7 +27,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
27
27
  `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(a=>r.set(a)),r}static accessor(t){const r=(this[df]=this[df]={accessors:{}}).accessors,a=this.prototype;function o(l){const s=bo(l);r[s]||(G2(a,l),r[s]=!0)}return ie.isArray(t)?t.forEach(o):o(t),this}};hs.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);ie.reduceDescriptors(hs.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});ie.freezeMethods(hs);const fr=hs;function $s(e,t){const n=this||Ac,r=t||n,a=fr.from(r.headers);let o=r.data;return ie.forEach(e,function(s){o=s.call(n,o,a.normalize(),t?t.status:void 0)}),a.normalize(),o}function wh(e){return!!(e&&e.__CANCEL__)}function La(e,t,n){Le.call(this,e??"canceled",Le.ERR_CANCELED,t,n),this.name="CanceledError"}ie.inherits(La,Le,{__CANCEL__:!0});function H2(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Le("Request failed with status code "+n.status,[Le.ERR_BAD_REQUEST,Le.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const Y2=Kn.hasStandardBrowserEnv?{write(e,t,n,r,a,o){const l=[e+"="+encodeURIComponent(t)];ie.isNumber(n)&&l.push("expires="+new Date(n).toGMTString()),ie.isString(r)&&l.push("path="+r),ie.isString(a)&&l.push("domain="+a),o===!0&&l.push("secure"),document.cookie=l.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function _2(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function X2(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function kh(e,t){return e&&!_2(t)?X2(e,t):t}const K2=Kn.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function a(o){let l=o;return t&&(n.setAttribute("href",l),l=n.href),n.setAttribute("href",l),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=a(window.location.href),function(l){const s=ie.isString(l)?a(l):l;return s.protocol===r.protocol&&s.host===r.host}}():function(){return function(){return!0}}();function $2(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function q2(e,t){e=e||10;const n=new Array(e),r=new Array(e);let a=0,o=0,l;return t=t!==void 0?t:1e3,function(u){const c=Date.now(),d=r[o];l||(l=c),n[a]=u,r[a]=c;let f=o,h=0;for(;f!==a;)h+=n[f++],f=f%e;if(a=(a+1)%e,a===o&&(o=(o+1)%e),c-l<t)return;const p=d&&c-d;return p?Math.round(h*1e3/p):void 0}}function ff(e,t){let n=0;const r=q2(50,250);return a=>{const o=a.loaded,l=a.lengthComputable?a.total:void 0,s=o-n,u=r(s),c=o<=l;n=o;const d={loaded:o,total:l,progress:l?o/l:void 0,bytes:s,rate:u||void 0,estimated:u&&l&&c?(l-o)/u:void 0,event:a};d[t?"download":"upload"]=!0,e(d)}}const ew=typeof XMLHttpRequest<"u",tw=ew&&function(e){return new Promise(function(n,r){let a=e.data;const o=fr.from(e.headers).normalize();let{responseType:l,withXSRFToken:s}=e,u;function c(){e.cancelToken&&e.cancelToken.unsubscribe(u),e.signal&&e.signal.removeEventListener("abort",u)}let d;if(ie.isFormData(a)){if(Kn.hasStandardBrowserEnv||Kn.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if((d=o.getContentType())!==!1){const[m,...v]=d?d.split(";").map(b=>b.trim()).filter(Boolean):[];o.setContentType([m||"multipart/form-data",...v].join("; "))}}let f=new XMLHttpRequest;if(e.auth){const m=e.auth.username||"",v=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(m+":"+v))}const h=kh(e.baseURL,e.url);f.open(e.method.toUpperCase(),gh(h,e.params,e.paramsSerializer),!0),f.timeout=e.timeout;function p(){if(!f)return;const m=fr.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders()),b={data:!l||l==="text"||l==="json"?f.responseText:f.response,status:f.status,statusText:f.statusText,headers:m,config:e,request:f};H2(function(w){n(w),c()},function(w){r(w),c()},b),f=null}if("onloadend"in f?f.onloadend=p:f.onreadystatechange=function(){!f||f.readyState!==4||f.status===0&&!(f.responseURL&&f.responseURL.indexOf("file:")===0)||setTimeout(p)},f.onabort=function(){f&&(r(new Le("Request aborted",Le.ECONNABORTED,e,f)),f=null)},f.onerror=function(){r(new Le("Network Error",Le.ERR_NETWORK,e,f)),f=null},f.ontimeout=function(){let v=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const b=e.transitional||vh;e.timeoutErrorMessage&&(v=e.timeoutErrorMessage),r(new Le(v,b.clarifyTimeoutError?Le.ETIMEDOUT:Le.ECONNABORTED,e,f)),f=null},Kn.hasStandardBrowserEnv&&(s&&ie.isFunction(s)&&(s=s(e)),s||s!==!1&&K2(h))){const m=e.xsrfHeaderName&&e.xsrfCookieName&&Y2.read(e.xsrfCookieName);m&&o.set(e.xsrfHeaderName,m)}a===void 0&&o.setContentType(null),"setRequestHeader"in f&&ie.forEach(o.toJSON(),function(v,b){f.setRequestHeader(b,v)}),ie.isUndefined(e.withCredentials)||(f.withCredentials=!!e.withCredentials),l&&l!=="json"&&(f.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&f.addEventListener("progress",ff(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&f.upload&&f.upload.addEventListener("progress",ff(e.onUploadProgress)),(e.cancelToken||e.signal)&&(u=m=>{f&&(r(!m||m.type?new La(null,e,f):m),f.abort(),f=null)},e.cancelToken&&e.cancelToken.subscribe(u),e.signal&&(e.signal.aborted?u():e.signal.addEventListener("abort",u)));const g=$2(h);if(g&&Kn.protocols.indexOf(g)===-1){r(new Le("Unsupported protocol "+g+":",Le.ERR_BAD_REQUEST,e));return}f.send(a||null)})},Wu={http:F2,xhr:tw};ie.forEach(Wu,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const pf=e=>`- ${e}`,nw=e=>ie.isFunction(e)||e===null||e===!1,Sh={getAdapter:e=>{e=ie.isArray(e)?e:[e];const{length:t}=e;let n,r;const a={};for(let o=0;o<t;o++){n=e[o];let l;if(r=n,!nw(n)&&(r=Wu[(l=String(n)).toLowerCase()],r===void 0))throw new Le(`Unknown adapter '${l}'`);if(r)break;a[l||"#"+o]=r}if(!r){const o=Object.entries(a).map(([s,u])=>`adapter ${s} `+(u===!1?"is not supported by the environment":"is not available in the build"));let l=t?o.length>1?`since :
28
28
  `+o.map(pf).join(`
29
29
  `):" "+pf(o[0]):"as no adapter specified";throw new Le("There is no suitable adapter to dispatch the request "+l,"ERR_NOT_SUPPORT")}return r},adapters:Wu};function qs(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new La(null,e)}function hf(e){return qs(e),e.headers=fr.from(e.headers),e.data=$s.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Sh.getAdapter(e.adapter||Ac.adapter)(e).then(function(r){return qs(e),r.data=$s.call(e,e.transformResponse,r),r.headers=fr.from(r.headers),r},function(r){return wh(r)||(qs(e),r&&r.response&&(r.response.data=$s.call(e,e.transformResponse,r.response),r.response.headers=fr.from(r.response.headers))),Promise.reject(r)})}const mf=e=>e instanceof fr?e.toJSON():e;function Zi(e,t){t=t||{};const n={};function r(c,d,f){return ie.isPlainObject(c)&&ie.isPlainObject(d)?ie.merge.call({caseless:f},c,d):ie.isPlainObject(d)?ie.merge({},d):ie.isArray(d)?d.slice():d}function a(c,d,f){if(ie.isUndefined(d)){if(!ie.isUndefined(c))return r(void 0,c,f)}else return r(c,d,f)}function o(c,d){if(!ie.isUndefined(d))return r(void 0,d)}function l(c,d){if(ie.isUndefined(d)){if(!ie.isUndefined(c))return r(void 0,c)}else return r(void 0,d)}function s(c,d,f){if(f in t)return r(c,d);if(f in e)return r(void 0,c)}const u={url:o,method:o,data:o,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,withXSRFToken:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:s,headers:(c,d)=>a(mf(c),mf(d),!0)};return ie.forEach(Object.keys(Object.assign({},e,t)),function(d){const f=u[d]||a,h=f(e[d],t[d],d);ie.isUndefined(h)&&f!==s||(n[d]=h)}),n}const xh="1.6.7",zc={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{zc[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const gf={};zc.transitional=function(t,n,r){function a(o,l){return"[Axios v"+xh+"] Transitional option '"+o+"'"+l+(r?". "+r:"")}return(o,l,s)=>{if(t===!1)throw new Le(a(l," has been removed"+(n?" in "+n:"")),Le.ERR_DEPRECATED);return n&&!gf[l]&&(gf[l]=!0,console.warn(a(l," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,l,s):!0}};function rw(e,t,n){if(typeof e!="object")throw new Le("options must be an object",Le.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let a=r.length;for(;a-- >0;){const o=r[a],l=t[o];if(l){const s=e[o],u=s===void 0||l(s,o,e);if(u!==!0)throw new Le("option "+o+" must be "+u,Le.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Le("Unknown option "+o,Le.ERR_BAD_OPTION)}}const Pu={assertOptions:rw,validators:zc},Vr=Pu.validators;let Al=class{constructor(t){this.defaults=t,this.interceptors={request:new cf,response:new cf}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let a;Error.captureStackTrace?Error.captureStackTrace(a={}):a=new Error;const o=a.stack?a.stack.replace(/^.+\n/,""):"";r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=`
30
- `+o):r.stack=o}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Zi(this.defaults,n);const{transitional:r,paramsSerializer:a,headers:o}=n;r!==void 0&&Pu.assertOptions(r,{silentJSONParsing:Vr.transitional(Vr.boolean),forcedJSONParsing:Vr.transitional(Vr.boolean),clarifyTimeoutError:Vr.transitional(Vr.boolean)},!1),a!=null&&(ie.isFunction(a)?n.paramsSerializer={serialize:a}:Pu.assertOptions(a,{encode:Vr.function,serialize:Vr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let l=o&&ie.merge(o.common,o[n.method]);o&&ie.forEach(["delete","get","head","post","put","patch","common"],g=>{delete o[g]}),n.headers=fr.concat(l,o);const s=[];let u=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(u=u&&m.synchronous,s.unshift(m.fulfilled,m.rejected))});const c=[];this.interceptors.response.forEach(function(m){c.push(m.fulfilled,m.rejected)});let d,f=0,h;if(!u){const g=[hf.bind(this),void 0];for(g.unshift.apply(g,s),g.push.apply(g,c),h=g.length,d=Promise.resolve(n);f<h;)d=d.then(g[f++],g[f++]);return d}h=s.length;let p=n;for(f=0;f<h;){const g=s[f++],m=s[f++];try{p=g(p)}catch(v){m.call(this,v);break}}try{d=hf.call(this,p)}catch(g){return Promise.reject(g)}for(f=0,h=c.length;f<h;)d=d.then(c[f++],c[f++]);return d}getUri(t){t=Zi(this.defaults,t);const n=kh(t.baseURL,t.url);return gh(n,t.params,t.paramsSerializer)}};ie.forEach(["delete","get","head","options"],function(t){Al.prototype[t]=function(n,r){return this.request(Zi(r||{},{method:t,url:n,data:(r||{}).data}))}});ie.forEach(["post","put","patch"],function(t){function n(r){return function(o,l,s){return this.request(Zi(s||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:l}))}}Al.prototype[t]=n(),Al.prototype[t+"Form"]=n(!0)});const Il=Al;let iw=class Vh{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(a=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](a);r._listeners=null}),this.promise.then=a=>{let o;const l=new Promise(s=>{r.subscribe(s),o=s}).then(a);return l.cancel=function(){r.unsubscribe(o)},l},t(function(o,l,s){r.reason||(r.reason=new La(o,l,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Vh(function(a){t=a}),cancel:t}}};const ow=iw;function aw(e){return function(n){return e.apply(null,n)}}function lw(e){return ie.isObject(e)&&e.isAxiosError===!0}const Lu={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Lu).forEach(([e,t])=>{Lu[t]=e});const sw=Lu;function Fh(e){const t=new Il(e),n=ih(Il.prototype.request,t);return ie.extend(n,Il.prototype,t,{allOwnKeys:!0}),ie.extend(n,t,null,{allOwnKeys:!0}),n.create=function(a){return Fh(Zi(e,a))},n}const kt=Fh(Ac);kt.Axios=Il;kt.CanceledError=La;kt.CancelToken=ow;kt.isCancel=wh;kt.VERSION=xh;kt.toFormData=ps;kt.AxiosError=Le;kt.Cancel=kt.CanceledError;kt.all=function(t){return Promise.all(t)};kt.spread=aw;kt.isAxiosError=lw;kt.mergeConfig=Zi;kt.AxiosHeaders=fr;kt.formToJSON=e=>yh(ie.isHTMLForm(e)?new FormData(e):e);kt.getAdapter=Sh.getAdapter;kt.HttpStatusCode=sw;kt.default=kt;const rr=kt,{Axios:eL,AxiosError:Th,CanceledError:tL,isCancel:nL,CancelToken:rL,VERSION:iL,all:oL,Cancel:aL,isAxiosError:lL,spread:sL,toFormData:uL,AxiosHeaders:cL,HttpStatusCode:dL,formToJSON:fL,getAdapter:pL,mergeConfig:hL}=rr,Rh=({type:e="Group",headers:t={},params:n={}}={})=>{const r=JSON.parse(localStorage.getItem("user")??"{}"),a=e==="Group"?"https://dev-api-groups.tagsamurai.com":"https://dev-api-asset-attributes.tagsamurai.com";return rr.create({baseURL:`${a}/v2/`,headers:{"Content-type":"application/json",Authorization:`Bearer ${r.token}`,...t},params:n})},uw={getTreeList:e=>Rh({type:e}).get(e==="Group"?"/tree":"/category/tree")},cw={accordiontab:{header:({props:e})=>({class:["pt-6 pb-0","mt-6","border-x-0 border-b-0","border border-surface-200 dark:border-surface-700",{"select-none pointer-events-none cursor-default opacity-60":e==null?void 0:e.disabled}]}),headerAction:({context:e})=>({class:["font-semibold","leading-7","flex items-center justify-between flex-row-reverse","relative","rounded-md","bg-transparent","text-surface-900 dark:text-surface-0","focus:outline-none focus:outline-offset-0 focus-visible:ring-2 focus-visible:ring-primary-600 ring-inset dark:focus-visible:ring-primary-500","cursor-pointer no-underline select-none"]}),headerIcon:{class:"inline-block ml-2"},headerTitle:{class:"leading-7"},content:{class:["leading-7","pr-12 pt-2","text-surface-600 dark:text-surface-0/70"]},transition:{enterFromClass:"max-h-0",enterActiveClass:"overflow-hidden transition-[max-height] duration-1000 ease-[cubic-bezier(0.42,0,0.58,1)]",enterToClass:"max-h-[1000px]",leaveFromClass:"max-h-[1000px]",leaveActiveClass:"overflow-hidden transition-[max-height] duration-[450ms] ease-[cubic-bezier(0,1,0,1)]",leaveToClass:"max-h-0"}}},dw={root:({props:e})=>({class:["relative","inline-flex",{"w-full":e.multiple},"text-surface-900 dark:text-surface-0",{"opacity-60 select-none pointer-events-none cursor-default":e.disabled}]}),container:({props:e,state:t})=>({class:["font-sans sm:text-sm leading-none","flex items-center flex-wrap","gap-1","m-0 list-none","px-3 py-1",{"px-3 py-1.5":!e.multiple,"px-3 py-1":e.multiple},"w-full","appearance-none rounded-md","text-surface-900 dark:text-surface-0","bg-surface-0 dark:bg-surface-900","placeholder:text-surface-400 dark:placeholder:text-surface-500","shadow-sm","focus:outline-none focus:outline-offset-0",{"ring-1 ring-inset ring-surface-300 dark:ring-surface-700 ring-offset-0":!t.focused,"ring-2 ring-primary-500 dark:ring-primary-400":t.focused},"transition duration-200 ease-in-out","cursor-text overflow-hidden"]}),inputtoken:({props:e})=>({class:[{"py-1.5 px-0":!e.multiple,"p-0.5":e.multiple},,"inline-flex flex-auto"]}),input:({props:e})=>({class:["font-sans sm:text-sm leading-none","appearance-none rounded-md",{"rounded-tr-none rounded-br-none":e.dropdown},{"outline-none shadow-none rounded-none":e.multiple},{"w-full":e.multiple},"m-0",{"py-1.5 px-3":!e.multiple,"p-0":e.multiple},"text-surface-700 dark:text-white/80",{"bg-surface-0 dark:bg-surface-900":!e.multiple,"border border-surface-300 dark:border-surface-700":!e.multiple,"border-0 bg-transparent":e.multiple},{"focus:outline-none focus:outline-offset-0 focus:ring-inset focus:ring-2 focus:ring-primary-500 dark:focus:ring-primary-400":!e.multiple},"transition-colors duration-200"]}),token:{class:["inline-flex items-center","py-0.5 px-3","rounded-[1.14rem]","text-surface-700 dark:text-white/70","bg-surface-200 dark:bg-surface-700"]},label:{class:"leading-5"},removeTokenIcon:{class:["rounded-md leading-6","ml-2","w-4 h-4","transition duration-200 ease-in-out","cursor-pointer"]},dropdownbutton:{root:{class:["relative text-sm leading-none","items-center inline-flex text-center align-bottom","rounded-r-md","px-2.5 py-1.5","-ml-[1px]","text-surface-600 dark:text-surface-100","bg-surface-100 dark:bg-surface-800","ring-1 ring-inset ring-surface-300 dark:ring-surface-700","hover:bg-surface-200 dark:hover:bg-surface-700","focus:outline-none focus:outline-offset-0 focus:ring-1","focus:ring-primary-500 dark:focus:ring-primary-400"]}},loadingicon:{class:["text-sm leading-none text-surface-500 dark:text-surface-0/70","absolute top-[50%] right-[0.5rem] -mt-2 animate-spin"]},panel:{class:["absolute top-0 left-0","mt-2","border-0","rounded-md","shadow-md","max-h-[15rem]","overflow-auto","bg-surface-0 dark:bg-surface-800","text-surface-800 dark:text-white/80","ring-1 ring-inset ring-surface-300 dark:ring-surface-700"]},list:{class:"py-1 list-none m-0"},item:({context:e})=>({class:["sm:text-sm","leading-none",{"font-normal":!e.selected,"font-bold":e.selected},"relative","border-0","rounded-none","m-0","py-2 px-4",{"text-surface-700 dark:text-white/80":!e.focused&&!e.selected},{"bg-surface-200 dark:bg-surface-600/60 text-surface-700 dark:text-white/80":e.focused&&!e.selected},{"bg-primary-500 dark:bg-primary-400 text-white dark:text-surface-700":e.focused&&e.selected},{"bg-transparent text-surface-700 dark:text-white/80":!e.focused&&e.selected},"hover:bg-primary-500 dark:hover:bg-primary-400 hover:text-white dark:hover:text-surface-700","cursor-pointer","overflow-hidden","whitespace-nowrap"]}),itemgroup:{class:["font-bold","sm:text-sm","m-0","py-2 px-4","text-surface-800 dark:text-white/80","bg-surface-0 dark:bg-surface-600/80","cursor-auto"]},emptymessage:{class:["leading-none","sm:text-sm","py-2 px-4","text-surface-800 dark:text-white/80","bg-transparent"]},transition:{enterFromClass:"opacity-0 scale-y-[0.8]",enterActiveClass:"transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]",leaveActiveClass:"transition-opacity duration-100 ease-linear",leaveToClass:"opacity-0"}},fw={root:({props:e,parent:t})=>{var n,r,a;return{class:[{"text-sm":e.size==null||e.size=="normal","text-lg":e.size=="large","text-xl":e.size=="xlarge"},"inline-flex items-center justify-center","shrink-0","relative",{"h-8 w-8":e.size==null||e.size=="normal","w-12 h-12":e.size=="large","w-16 h-16":e.size=="xlarge"},{"-ml-4":((n=t.instance.$style)==null?void 0:n.name)=="avatargroup"},{"rounded-lg":e.shape=="square","rounded-full":e.shape=="circle"},{"border-2":((r=t.instance.$style)==null?void 0:r.name)=="avatargroup"},"bg-surface-100 dark:bg-surface-700",{"border-white dark:border-surface-800":((a=t.instance.$style)==null?void 0:a.name)=="avatargroup"}]}},image:{class:"h-full w-full"}},pw={root:{class:"flex items-center"}},hw={root:({props:e,context:t})=>({class:["font-medium",{"text-xs leading-[1.5rem]":e.size==null,"text-lg leading-[2.25rem]":e.size=="large","text-2xl leading-[3rem]":e.size=="xlarge"},"text-center inline-block","p-0 px-1",{"min-w-[1.5rem] h-[1.5rem]":e.size==null,"min-w-[2.25rem] h-[2.25rem]":e.size=="large","min-w-[3rem] h-[3rem]":e.size=="xlarge"},{"rounded-full":e.value.length==1,"rounded-[0.71rem]":e.value.length!==1},"text-white dark:text-surface-900",{"bg-primary-500 dark:bg-primary-400":e.severity==null||e.severity=="primary","bg-surface-500 dark:bg-surface-400":e.severity=="secondary","bg-green-500 dark:bg-green-400":e.severity=="success","bg-blue-500 dark:bg-blue-400":e.severity=="info","bg-orange-500 dark:bg-orange-400":e.severity=="warning","bg-purple-500 dark:bg-purple-400":e.severity=="help","bg-red-500 dark:bg-red-400":e.severity=="danger"}]})},mw={root:({context:e})=>({class:["font-medium","text-xs leading-6 font-sans","flex items-center justify-center","text-center","absolute top-0 right-0 transform translate-x-1/2 -translate-y-1/2 origin-top-right","m-0",{"p-0":e.nogutter||e.dot,"p-1":!e.nogutter&&!e.dot,"min-w-[0.5rem] h-2":e.dot,"min-w-[1rem] h-4":!e.dot},{"rounded-full":e.nogutter||e.dot,"rounded-[10px]":!e.nogutter&&!e.dot},"text-white dark:text-surface-900","ring-1 ring-white dark:ring-surface-900",{"bg-primary-500 dark:bg-primary-400":!e.info&&!e.success&&!e.warning&&!e.danger&&!e.help&&!e.secondary,"bg-surface-500 dark:bg-surface-400":e.secondary,"bg-green-500 dark:bg-green-400":e.success,"bg-blue-500 dark:bg-blue-400":e.info,"bg-orange-500 dark:bg-orange-400":e.warning,"bg-purple-500 dark:bg-purple-400":e.help,"bg-red-500 dark:bg-red-400":e.danger}]})},gw={menu:{class:["flex items-center flex-nowrap gap-x-1.5","m-0 p-0 list-none leading-none"]},action:{class:["font-semibold text-decoration-none text-sm","flex items-center gap-x-1.5 ","rounded-md","text-surface-500 dark:text-white/70","focus-visible:outline-none focus-visible:outline-offset-0","focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400","transition-shadow duration-200"]},icon:{class:"text-surface-500 dark:text-white/70"},separator:{class:["flex items-center shrink-0","text-surface-500 dark:text-white/70"]}},Uh={root:({props:e,context:t,parent:n})=>({class:["relative items-center justify-center inline-flex text-center","text-xs h-[26px] w-max min-w-[26px]",{"gap-1":e.icon&&e.label,"flex-row-reverse":e.iconPos==="right"},{"px-3 py-[7.6px] min-w-[26px]":e.size===null&&e.label!==null,"px-2 py-1":e.size==="small","px-3 py-2":e.size==="large"},{"w-[26px] p-0":e.label==null},"ring-inset",{"shadow-sm":!e.raised&&!e.link&&!e.text,"shadow-lg":e.raised},{rounded:!e.rounded,"rounded-full":e.rounded},{"rounded-none first:rounded-l-md last:rounded-r-md self-center":n.instance.$name=="InputGroup"},{"text-primary-600 bg-transparent ring-transparent":e.link},{"text-white bg-gray-500 ring-1 ring-gray-500":e.plain&&!e.outlined&&!e.text},{"text-surface-500":e.plain&&e.text},{"text-surface-500 ring-1 ring-gray-500":e.plain&&e.outlined},{"bg-transparent ring-transparent":e.text&&!e.plain},{"bg-transparent":e.outlined&&!e.plain},{"text-white dark:text-white":!e.link&&e.severity===null&&!e.text&&!e.outlined&&!e.plain,"bg-primary dark:bg-primary":!e.link&&e.severity===null&&!e.text&&!e.outlined&&!e.plain,"ring-1 ring-primary dark:ring-primary":!e.link&&e.severity===null&&!e.text&&!e.outlined&&!e.plain},{"text-primary dark:text-primary":e.text&&e.severity===null&&!e.plain},{"text-primary ring-1 ring-primary hover:bg-primary-bg-weak focus:ring-1":e.outlined&&e.severity===null&&!e.plain},{"text-surface-0 dark:text-surface-0":e.severity==="secondary"&&!e.text&&!e.outlined&&!e.plain,"bg-general-500 dark:bg-general-500":e.severity==="secondary"&&!e.text&&!e.outlined&&!e.plain,"ring-1 ring-general-500 dark:ring-general-500":e.severity==="secondary"&&!e.text&&!e.outlined&&!e.plain},{"text-general-500 dark:text-general-500":e.text&&e.severity==="secondary"&&!e.plain},{"text-general-500 ring-1 ring-general-500":e.outlined&&e.severity==="secondary"&&!e.plain},{"text-white dark:text-white":e.severity==="success"&&!e.text&&!e.outlined&&!e.plain,"bg-success dark:bg-success":e.severity==="success"&&!e.text&&!e.outlined&&!e.plain,"ring-1 ring-success dark:ring-success":e.severity==="success"&&!e.text&&!e.outlined&&!e.plain},{"text-success dark:text-success":e.text&&e.severity==="success"&&!e.plain},{"text-success ring-1 ring-success hover:bg-success-bg-weak focus:ring-1":e.outlined&&e.severity==="success"&&!e.plain},{"text-white dark:text-white":e.severity==="info"&&!e.text&&!e.outlined&&!e.plain,"bg-info dark:bg-info":e.severity==="info"&&!e.text&&!e.outlined&&!e.plain,"ring-1 ring-info dark:ring-info":e.severity==="info"&&!e.text&&!e.outlined&&!e.plain},{"text-info dark:text-info":e.text&&e.severity==="info"&&!e.plain},{"text-info ring-1 ring-info hover:bg-info-bg-weak focus:ring-1":e.outlined&&e.severity==="info"&&!e.plain},{"text-white dark:text-white":e.severity==="warning"&&!e.text&&!e.outlined&&!e.plain,"bg-warning dark:bg-warning":e.severity==="warning"&&!e.text&&!e.outlined&&!e.plain,"ring-1 ring-warning dark:ring-warning":e.severity==="warning"&&!e.text&&!e.outlined&&!e.plain},{"text-warning dark:text-warning":e.text&&e.severity==="warning"&&!e.plain},{"text-warning ring-1 ring-warning hover:bg-warning-bg-weak focus:ring-1":e.outlined&&e.severity==="warning"&&!e.plain},{"text-white dark:text-white":e.severity==="dark"&&!e.text&&!e.outlined&&!e.plain,"bg-header-weak dark:bg-header-weak":e.severity==="dark"&&!e.text&&!e.outlined&&!e.plain,"ring-1 ring-header-weak dark:ring-header-weak":e.severity==="dark"&&!e.text&&!e.outlined&&!e.plain},{"text-header-weak dark:text-header-weak":e.text&&e.severity==="dark"&&!e.plain},{"text-header-weak ring-1 ring-header-weak hover:bg-header-weak":e.outlined&&e.severity==="dark"&&!e.plain},{"text-white dark:text-white":e.severity==="danger"&&!e.text&&!e.outlined&&!e.plain,"bg-danger dark:bg-danger":e.severity==="danger"&&!e.text&&!e.outlined&&!e.plain,"ring-1 ring-danger dark:ring-danger":e.severity==="danger"&&!e.text&&!e.outlined&&!e.plain},{"text-danger dark:text-danger":e.text&&e.severity==="danger"&&!e.plain},{"text-danger ring-1 ring-danger hover:bg-danger-bg-weak focus:ring-1":e.outlined&&e.severity==="danger"&&!e.plain},"focus:outline-none focus:outline-offset-0 focus:ring-1",{"focus:ring-offset-0":!e.link&&!e.plain&&!e.outlined&&!e.text},{"focus:ring-primary-500 dark:focus:ring-primary-400":e.link},{"hover:bg-gray-600 hover:ring-gray-600":e.plain&&!e.outlined&&!e.text},{"hover:bg-surface-300/20":e.plain&&(e.text||e.outlined)},{"hover:bg-primary-strong dark:hover:bg-primary-strong hover:ring-primary-strong dark:hover:ring-primary-strong":!e.link&&e.severity===null&&!e.text&&!e.outlined&&!e.plain},{"hover:bg-primary-bg-weak":(e.text||e.outlined)&&e.severity===null&&!e.plain},{"focus:ring-1 focus:ring-primary-500 dark:focus:ring-1 dark:focus:ring-primary-500":e.severity===null},{"hover:bg-general-600 dark:hover:bg-general-600 hover:ring-general-600 dark:hover:ring-general-600":e.severity==="secondary"&&!e.text&&!e.outlined&&!e.plain},{"hover:bg-surface-300/20":(e.text||e.outlined)&&e.severity==="secondary"&&!e.plain},{"hover:bg-success-strong dark:hover:bg-success-strong hover:ring-success-strong dark:hover:ring-success-strong":e.severity==="success"&&!e.text&&!e.outlined&&!e.plain},{"hover:bg-green-300/20":(e.text||e.outlined)&&e.severity==="success"&&!e.plain},{"focus:ring-1 focus:ring-success-500 dark:focus:ring-1 dark:focus:ring-success-500":e.severity==="success"},{"hover:bg-info-strong dark:hover:bg-info-strong hover:ring-info-strong dark:hover:ring-info-strong":e.severity==="info"&&!e.text&&!e.outlined&&!e.plain},{"focus:ring-info-strong dark:focus:ring-info-strong":e.severity==="info"},{"hover:bg-blue-300/20":(e.text||e.outlined)&&e.severity==="info"&&!e.plain},{"hover:bg-warning-strong dark:hover:bg-warning-strong hover:ring-warning-strong dark:hover:ring-warning-strong":e.severity==="warning"&&!e.text&&!e.outlined&&!e.plain},{"hover:bg-orange-300/20":(e.text||e.outlined)&&e.severity==="warning"&&!e.plain},{"focus:ring-1 focus:ring-warning-500 dark:focus:ring-1 dark:focus:ring-warning-500":e.severity==="warning"},{"hover:bg-body dark:hover:bg-body hover:ring-body dark:hover:ring-body":e.severity==="dark"&&!e.text&&!e.outlined&&!e.plain},{"focus:ring-1 focus:ring-header-weak dark:focus:ring-1 dark:focus:ring-header-weak":e.severity==="dark"},{"hover:bg-surface-100":(e.text||e.outlined)&&e.severity==="dark"&&!e.plain},{"hover:bg-danger-strong dark:hover:bg-danger-strong hover:ring-danger-strong dark:hover:ring-danger-strong":e.severity==="danger"&&!e.text&&!e.outlined&&!e.plain},{"focus:ring-red-500 dark:focus:ring-red-400":e.severity==="danger"},{"hover:bg-red-300/20":(e.text||e.outlined)&&e.severity==="danger"&&!e.plain},{"!text-general-200 !pointer-events-none !cursor-default":t.disabled||e.disabled},{"!text-white !bg-general-200 !ring-1 !ring-general-200 !dark:text-white !dark:bg-general-200":(t.disabled||e.disabled)&&!e.outlined&&!e.plain&&!e.text},{"!ring-1 !ring-offset-0 !ring-general-200":(e.disabled||t.disabled)&&e.outlined},"transition duration-200 ease-in-out","cursor-pointer overflow-hidden select-none"]}),label:({props:e})=>({class:["duration-200","whitespace-nowrap","font-medium","tracking-[0.24px]","leading-3",{"!text-[8.86px] tracking-[0.03em]":e.size==="small"},{"hover:underline":e.link},{"flex-1":e.label!==null,"invisible w-0":e.label==null}]}),icon:({props:e})=>({class:["mx-0",{"mr-1":(e==null?void 0:e.iconPos)=="left"&&(e==null?void 0:e.label)!=null,"ml-1 order-1":e.iconPos=="right"&&(e==null?void 0:e.label)!=null,"mb-1":(e==null?void 0:e.iconPos)=="top"&&(e==null?void 0:e.label)!=null,"mt-1":(e==null?void 0:e.iconPos)=="bottom"&&(e==null?void 0:e.label)!=null},{"!text-[8.86px] tracking-[0.03em]":(e==null?void 0:e.size)==="small"}]}),loadingicon:({props:e})=>({class:["h-3 w-3","mx-0",{"mr-2":e.iconPos=="left"&&e.label!=null,"ml-2 order-1":e.iconPos=="right"&&e.label!=null,"mb-2":e.iconPos=="top"&&e.label!=null,"mt-2":e.iconPos=="bottom"&&e.label!=null},"animate-spin"]}),badge:({props:e})=>({class:[{"ml-2 w-4 h-4 leading-none flex items-center justify-center":e.badge}]})},Eh={root:({props:e})=>({class:["inline-flex flex-auto justify-between items-center gap-[5px]","rounded border","m-0 px-3 py-1",{"opacity-40 select-none pointer-events-none cursor-default":e.disabled}]}),input:({props:e})=>({class:["w-full","text-xs font-light tracking-[2%]","text-general-800 dark:text-general-800","placeholder:text-general-200 dark:placeholder:text-general-200","bg-surface-0 dark:bg-surface-0","appearance-none","transition-colors","duration-200","outline-none focus:ring-primary-500 dark:focus:ring-primary-400"]}),inputicon:{class:["text-general-500 dark:text-general-500"]},dropdownbutton:{root:{class:["relative text-sm","items-center inline-flex text-center align-bottom","rounded-r-md","px-2.5 py-1.5 leading-none","text-surface-600 dark:text-surface-100","bg-surface-100 dark:bg-surface-800","ring-1 ring-inset ring-surface-300 dark:ring-surface-700","hover:bg-surface-200 dark:hover:bg-surface-700","focus:outline-none focus:outline-offset-0 focus:ring-1","focus:ring-primary-500 dark:focus:ring-primary-400"]}},panel:({props:e})=>({class:["datepicker-panel","inline-flex","flex-col justify-start items-center gap-2.5",{absolute:!e.inline,"inline-block":e.inline},"!min-w-0 max-w-[272px] h-max p-6 shadow-[-4px_4px_20px_0_rgba(0,0,0,0.1)]",{"min-w-[80vw] w-auto p-2 ":e.touchUI},{"p-2 min-w-full":e.inline},"rounded-[7px]","bg-surface-0 dark:bg-surface-0",{"overflow-x-auto":e.inline}]}),datepickerMask:{class:["fixed top-0 left-0 w-full h-full","flex items-center justify-center","bg-black bg-opacity-90"]},header:({props:e})=>({class:["min-h-[26.8px]","text-xs font-medium","flex justify-between items-start gap-1","m-0","rounded-t-md","text-general-800 dark:general-800","bg-surface-0 dark:bg-surface-0"]}),previousbutton:({props:e})=>({class:["relative","inline-flex items-center justify-center","order-1","p-1.5 m-0","text-general-800 dark:text-general-800","border-0 rounded-full","bg-transparent","hover:bg-general-50 dark:hover:bg-general-50","cursor-pointer overflow-hidden"]}),title:({props:e})=>({class:["leading-6","my-0","order-2"]}),monthTitle:{class:["text-xs font-medium","text-general-800 dark:general-800","bg-surface-0 dark:bg-surface-0","transition duration-200","m-0 mr-1","hover:text-primary-500 dark:hover:text-primary-400","cursor-pointer"]},yearTitle:{class:["text-xs font-medium","text-general-800 dark:general-800","bg-surface-0 dark:bg-surface-0","transition duration-200","m-0 mr-1","hover:text-primary-600 dark:hover:text-primary-300","cursor-pointer"]},nextbutton:({props:e})=>({class:["relative","inline-flex items-center justify-center order-3","p-1.5 m-0","text-general-800 dark:text-general-800","border-0 rounded-full","bg-transparent","hover:bg-general-50 dark:hover:bg-general-50","cursor-pointer overflow-hidden"]}),table:{class:["block w-[224px]","[&_tbody]:block [&_tbody]:w-[224px]","m-0","[&_th]:text-xs [&_td]:text-xs","[&_th]:font-medium [&_td]:font-medium","[&_th]:text-general-800 [&_td]:text-general-800","[&_th]:dark:text-general-800 [&_td]:dark:text-general-800",'[&_[data-p-other-month="true"]]:invisible']},tableheadercell:{class:["px-2 py-[5.4px]"]},tablebodyrow:{class:[]},weekheader:{class:["leading-6 text-sm font-normal","text-surface-600 dark:text-white/70","opacity-40 cursor-default","mb-2"]},weeknumber:{class:["text-surface-600 dark:text-white/70 font-normal","opacity-40 cursor-default"]},weekday:{class:[]},day:{class:["p-0"]},weeklabelcontainer:({context:e})=>({class:["flex items-center justify-center","mx-auto","w-10 h-10","rounded-full","border-transparent border",{"text-surface-600 dark:text-white/70 bg-transparent":!e.selected&&!e.disabled,"text-primary-500 dark:text-primary-400":e.selected&&!e.disabled},"focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50",{"hover:bg-surface-100 dark:hover:bg-surface-800/80":!e.disabled},{"opacity-40 cursor-default":e.disabled,"cursor-pointer":!e.disabled}]}),daylabel:({context:e})=>({class:["flex items-center justify-center","w-8 h-8","rounded-full",{"text-general-800 bg-general-100 dark:text-general-800 dark:bg-general-100":e.date.today&&!e.selected&&!e.disabled,"text-general-800 dark:text-general-800 bg-transparent":!e.selected&&!e.disabled&&!e.date.today,"bg-primary-200 dark:bg-primary-200 rounded-none":e.selected&&!e.disabled&&!e.date.today,"rounded-full bg-primary-500 dark:bg-primary-500 text-surface-0 dark:text-surface-0":e.selected&&!e.disabled&&e.date.today},{"hover:bg-general-50 dark:hover:bg-general-50":!e.disabled,"hover:bg-general-200 dark:hover:bg-general-200":!e.disabled&&e.date.today&&!e.selected,"hover:bg-primary-600 dark:hover:bg-primary-600":!e.disabled&&e.date.today&&e.selected},{"opacity-40 cursor-default":e.disabled,"cursor-pointer":!e.disabled}]}),monthpicker:{class:["my-2"]},month:({context:e})=>({class:["inline-flex items-center justify-center","w-1/3","px-2.5 py-1.5","text-xs leading-tight","rounded-md",{"text-text-general-800 dark:text-general-800 bg-transparent":!e.selected&&!e.disabled,"text-primary-500 dark:text-primary-400":e.selected&&!e.disabled},"hover:bg-surface-100 dark:hover:bg-surface-600/80","cursor-pointer"]}),yearpicker:{class:["my-2"]},year:({context:e})=>({class:["inline-flex items-center justify-center","w-1/3","px-2.5 py-1.5","text-xs leading-tight","rounded-md",{"text-text-general-800 dark:text-general-800 bg-transparent":!e.selected&&!e.disabled,"text-primary-500 dark:text-primary-400":e.selected&&!e.disabled},"hover:bg-surface-100 dark:hover:bg-surface-600/80","cursor-pointer"]}),timepicker:{class:["flex","justify-center items-center","p-1.5"]},separatorcontainer:{class:["flex","items-center","flex-col","px-2"]},separator:{class:["text-xl"]},hourpicker:{class:["flex","items-center","flex-col","px-2"]},minutepicker:{class:["flex","items-center","flex-col","px-2"]},secondPicker:{class:["flex","items-center","flex-col","px-2"]},ampmpicker:{class:["flex","items-center","flex-col","px-2"]},incrementbutton:{class:["relative","inline-flex items-center justify-center","p-1.5 m-0","text-surface-500 dark:text-white/60","border-0","bg-transparent","hover:text-surface-700 dark:hover:text-white/80","cursor-pointer overflow-hidden"]},decrementbutton:{class:["relative","inline-flex items-center justify-center","p-1.5 m-0","text-surface-500 dark:text-white/60","border-0","bg-transparent","hover:text-surface-700 dark:hover:text-white/80","cursor-pointer overflow-hidden"]},groupcontainer:{class:["flex w-full"]},group:{class:["w-full"]},buttonbar:{class:["flex justify-between items-center","pt-2.5 pb-1.5 px-0","border-t border-surface-200 dark:border-surface-700"]},todaybutton:{root:{class:["inline-flex items-center justify-center","px-2.5 py-1.5 text-sm leading-none","rounded-md","bg-transparent border-transparent","text-primary-500 dark:text-primary-400","transition-colors duration-200 ease-in-out","hover:bg-primary-300/20","cursor-pointer"]}},clearbutton:{root:{class:["inline-flex items-center justify-center","px-2.5 py-1.5 text-sm leading-none","rounded-md","bg-transparent border-transparent","text-primary-500 dark:text-primary-400","transition-colors duration-200 ease-in-out","focus:outline-none focus:outline-offset-0 focus:ring-2 ring-inset","focus:ring-primary-500 dark:focus:ring-primary-400","hover:bg-primary-300/20","cursor-pointer"]}},transition:{enterFromClass:"opacity-0 scale-y-[0.8]",enterActiveClass:"transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]",leaveActiveClass:"transition-opacity duration-100 ease-linear",leaveToClass:"opacity-0"}},vw={root:{class:["rounded-lg","bg-surface-0 dark:bg-surface-0","text-general-800 dark:text-general-800"]},header:{class:["border-b border-surface-200 dark:border-surface-700"]},body:{class:"flex flex-col gap-3 p-6"},title:{class:"text-md font-medium"},subtitle:{class:["mb-1 px-5 md:px-6","text-surface-600 dark:text-surface-0/60"]},content:{class:"flex flex-col gap-3"},footer:{class:["px-5 md:px-6 pt-5 pb-0"]}},bw={root:{class:["flex flex-col"]},content:{class:["flex flex-col overflow-auto"]},container:({props:e})=>({class:["flex",{"flex-row":e.orientation!=="vertical","flex-col":e.orientation=="vertical"}]}),previousbutton:{class:["flex justify-center items-center self-center","overflow-hidden w-8 h-8","mx-2","rounded-full","border-0 bg-transparent","text-surface-600","transition duration-200 ease-in-out"]},nextbutton:{class:["flex justify-center items-center self-center","overflow-hidden w-8 h-8","mx-2","rounded-full","border-0 bg-transparent","text-surface-600","transition duration-200 ease-in-out"]},itemscontent:{class:[]},itemscontainer:({props:e})=>({class:[]}),item:({props:e})=>({class:[]}),indicators:{class:["flex flex-row justify-center flex-wrap gap-1"]},indicator:{class:[]},indicatorbutton:({context:e})=>({class:["w-1.5 h-1.5 rounded-full","transition duration-200","focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50",{"bg-surface-200 hover:bg-surface-300 dark:bg-surface-700 dark:hover:bg-surface-600":!e.highlighted,"bg-primary-500 hover:bg-primary-600":e.highlighted}]})},yw={root:({props:e,state:t})=>({class:["inline-flex","relative","w-full md:w-56","rounded-md","shadow-sm","bg-surface-0 dark:bg-surface-900",{"ring-1 ring-inset ring-surface-300 dark:ring-surface-700":!t.focused,"ring-2 ring-inset ring-primary-500 dark:ring-primary-400":t.focused},"cursor-default","select-none",{"opacity-60":e.disabled,"pointer-events-none":e.disabled}]}),label:({props:e})=>({class:["font-sans","leading-6","sm:text-sm"," flex flex-auto","w-[1%]","py-1.5 px-3","rounded-none","bg-transparent","border-0",{"text-surface-800 dark:text-white/80":e.modelValue,"text-surface-400 dark:text-surface-500":!e.modelValue},"placeholder:text-surface-400 dark:placeholder:text-surface-500","transition","duration-200","focus:outline-none focus:shadow-none","relative","cursor-pointer","overflow-hidden overflow-ellipsis","whitespace-nowrap","appearance-none"]}),dropdownbutton:{class:["sm:text-sm","flex items-center justify-center","shrink-0","bg-transparent","text-surface-500","w-12","rounded-tr-md","rounded-br-md"]},panel:{class:["absolute top-0 left-0","mt-2","border-0","rounded-md","shadow-md","bg-surface-0 dark:bg-surface-700","text-surface-800 dark:text-white/80","ring-1 ring-inset ring-surface-300 dark:ring-surface-700"]},wrapper:{class:["max-h-[200px]","overflow-auto"]},list:{class:"py-1 list-none mx-1.5"},item:({context:e})=>({class:["sm:text-sm","leading-none","border-0","rounded-md","m-0",{"text-surface-500 dark:text-white/70":!e.focused&&!e.active,"text-surface-500 dark:text-white/70 bg-surface-200 dark:bg-black/70":e.focused&&!e.active,"text-surface-900 dark:text-surface-0/80 bg-surface-50 dark:bg-black/70":e.focused&&e.active,"text-surface-900 dark:text-surface-0/80 bg-surface-50 dark:bg-black/70":!e.focused&&e.active},{"hover:bg-surface-50 dark:hover:bg-surface-800":!e.active,"hover:bg-surface-100 dark:hover:bg-black/40 text-surface-900 dark:text-surface-0/80":e.active},"transition-shadow","duration-200","cursor-pointer","overflow-hidden","whitespace-nowrap"]}),content:{class:["relative","flex","items-center","py-2 px-4","no-underline","overflow-hidden","cursor-pointer","select-none"]},groupicon:{class:["ml-auto"]},sublist:{class:["w-full sm:w-48","p-1.5","m-0","list-none","shadow-none sm:shadow-md","border-0","static sm:absolute","z-10","bg-surface-0 dark:bg-surface-700"]},separator:{class:"border-t border-surface-200 dark:border-surface-600 my-1"},transition:{enterFromClass:"opacity-0 scale-y-[0.8]",enterActiveClass:"transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]",leaveActiveClass:"transition-opacity duration-100 ease-linear",leaveToClass:"opacity-0"}},Or={root:{class:["relative","w-4 h-4","shrink-0","inline-flex","align-bottom","transition-all","duration-200"]},box:({props:e,context:t})=>({class:["flex","items-center","justify-center","w-full","h-full","rounded","border-2","text-line",{"border-general-100 bg-surface-0 dark:border-general-100 dark:bg-surface-0":!t.checked&&!e.disabled,"border-primary bg-primary dark:border-primary dark:bg-primary":t.checked&&!e.disabled},{"ring-2 ring-primary dark:ring-primary":!e.disabled&&t.focused},{"peer-focus-visible:ring-2 peer-focus-visible:ring-primary dark:peer-focus-visible:ring-primary":!e.disabled,"cursor-default bg-general-50 border-general-200 dark:bg-general-50 dark:border-general-200":e.disabled&&!t.checked,"bg-general-200 dark:bg-general-200 border-general-200 dark:border-general-200":e.disabled&&t.checked},"transition-all","duration-200"]}),input:{class:["peer","w-full ","h-full","absolute","top-0 left-0","z-10","p-0","m-0","rounded","border","opacity-0","rounded-md","outline-none","appareance-none","transition-all","duration-200","cursor-pointer"]},icon:{class:["text-normal","w-3","h-3","text-white","transition-all","duration-200"]}},ww={root:{class:["inline-flex items-center","px-2 py-0.5","rounded-[1.14rem]","text-surface-700 dark:text-surface-0/70","bg-surface-200 dark:bg-surface-700"]},label:{class:"text-xs leading-6 mx-0"},icon:{class:"leading-6 mr-2"},image:{class:["w-6 h-6 mr-2","rounded-full"]},removeIcon:{class:["rounded-md leading-6","ml-2","w-4 h-4","transition duration-200 ease-in-out","cursor-pointer"]}},kw={root:({props:e})=>({class:["flex",{"opacity-60 select-none pointer-events-none cursor-default":e.disabled}]}),container:({state:e})=>({class:["font-sans sm:text-sm leading-none","flex items-center flex-wrap gap-1","m-0 py-1 px-3","w-full","list-none","rounded-md","text-surface-900 dark:text-surface-0","bg-surface-0 dark:bg-surface-900","placeholder:text-surface-400 dark:placeholder:text-surface-500","shadow-sm",{"ring-1 ring-inset ring-surface-300 dark:ring-surface-700 ring-offset-0":!e.focused,"ring-2 ring-primary-500 dark:ring-primary-400":e.focused},"transition-colors duration-200","cursor-text overflow-hidden","appearance-none"]}),inputtoken:{class:["py-0.5 px-0","inline-flex flex-auto"]},input:{class:["font-sans sm:text-sm leading-none","w-full","p-0 m-0","appearance-none rounded-none","border-0 outline-none","text-surface-700 dark:text-white/80","bg-transparent","placeholder:text-surface-400 dark:placeholder:text-surface-500"]},token:{class:["inline-flex items-center","py-0.5 px-3","rounded-[1.14rem]","text-surface-700 dark:text-white/70","bg-surface-200 dark:bg-surface-700"]},label:{class:"leading-5"},removeTokenIcon:{class:["rounded-md leading-6","ml-2","w-4 h-4","transition duration-200 ease-in-out","cursor-pointer"]}},Sw={root:({props:e})=>({class:["inline-block",{"opacity-60 select-none pointer-events-none cursor-default":e.disabled}]}),input:{class:["font-sans text-base ","m-0","rounded","w-4","h-4","bg-surface-0 dark:bg-surface-900","border border-surface-300 dark:border-surface-700","hover:border-primary-500 dark:hover:border-primary-400","focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-primary-500 dark:focus:ring-primary-400","transition-colors duration-200","cursor-default","select-none"]},panel:({props:e})=>({class:[{"relative h-48 w-52":e.inline,"absolute h-48 w-52":!e.inline},"shadow-md","border-0","rounded-md","bg-surface-800","ring-1 ring-inset ring-surface-900 dark:ring-surface-600"]}),selector:{class:["absolute top-2 left-2","h-44 w-40"]},color:{class:["h-44 w-40"],style:"background: linear-gradient(to top, #000 0%, rgb(0 0 0 / 0) 100%), linear-gradient(to right, #fff 0%, rgb(255 255 255 / 0) 100%)"},colorhandle:{class:["absolute","rounded-full border border-solid","h-3 w-3","border-white","cursor-pointer opacity-85"]},hue:{class:["absolute top-2 left-44","h-44 w-6","opacity-85"],style:"background: linear-gradient(0deg, red 0, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, red)"},huehandle:{class:["absolute left-0 -ml-1","h-2 w-8","border-solid border-2 rounded","border-white","opacity-85"]},transition:{enterFromClass:"opacity-0 scale-y-[0.8]",enterActiveClass:"transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]",leaveActiveClass:"transition-opacity duration-100 ease-linear",leaveToClass:"opacity-0"}},xw={root:{class:["rounded-lg","shadow-xl","border-0","z-40 transform origin-center","mt-3 absolute left-0 top-0","dark:border","dark:border-surface-700","bg-surface-0 dark:bg-surface-800","text-surface-700 dark:text-surface-0/80","before:absolute before:w-0 before:-top-3 before:h-0 before:border-transparent before:border-solid before:ml-6 before:border-x-[0.75rem] before:border-b-[0.75rem] before:border-t-0 before:border-b-surface-0 dark:before:border-b-surface-800"]},content:{class:["text-sm","px-6","py-3","bg-surface-0 dark:bg-surface-800","text-surface-600 dark:text-surface-0/70","overflow-y-auto"]},icon:{class:"text-xl mr-2"},footer:{class:["flex items-center justify-end","shrink-0","text-right","gap-3","px-6","py-3","border-t-0","rounded-b-lg","bg-surface-50 dark:bg-surface-700","text-surface-700 dark:text-surface-0/80"]},rejectbutton:{root:{class:["relative","items-center inline-flex text-center align-bottom justify-center","px-2.5 py-1.5 min-w-[2rem]","text-sm","rounded-md","text-primary-500 dark:text-primary-400","hover:bg-primary-300/20","focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-inset","focus:ring-primary-500 dark:focus:ring-primary-400"]}},acceptbutton:{root:{class:["relative","items-center inline-flex text-center align-bottom justify-center","px-2.5 py-1.5 min-w-[2rem]","text-sm","rounded-md","text-white dark:text-surface-900","bg-primary-500 dark:bg-primary-400","ring-1 ring-primary-500 dark:ring-primary-400","hover:bg-primary-600 dark:hover:bg-primary-300 hover:border-primary-600 dark:hover:border-primary-300","focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-offset-current","focus:ring-primary-500 dark:focus:ring-primary-400"]}},transition:{enterFromClass:"opacity-0 scale-y-[0.8]",enterActiveClass:"transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]",leaveActiveClass:"transition-opacity duration-100 ease-linear",leaveToClass:"opacity-0"}},Vw={root:{class:["min-w-[12rem]","rounded-md","shadow-md","p-1.5","bg-surface-0 dark:bg-surface-700","text-surface-700 dark:text-white/80","dark:border dark:border-surface-700"]},menu:{class:["list-none","m-0","p-0","outline-none"]},menuitem:{class:"relative"},content:({context:e})=>({class:["rounded-md",{"text-surface-500 dark:text-white/70":!e.focused&&!e.active,"text-surface-500 dark:text-white/70 bg-surface-200 dark:bg-black/70":e.focused&&!e.active,"text-surface-900 dark:text-surface-0/80 bg-surface-50 dark:bg-black/70":e.focused&&e.active,"text-surface-900 dark:text-surface-0/80 bg-surface-50 dark:bg-black/70":!e.focused&&e.active},{"hover:bg-surface-50 dark:hover:bg-surface-800":!e.active,"hover:bg-surface-100 dark:hover:bg-black/40 text-surface-900 dark:text-surface-0/80":e.active},"transition-shadow","duration-200"]}),action:{class:["relative","font-semibold","flex","items-center","py-2","px-3","no-underline","overflow-hidden","cursor-pointer","select-none"]},icon:{class:["mr-2","leading-6","text-sm"]},label:{class:["leading-6","text-sm"]},submenu:({props:e})=>({class:["w-full sm:w-48","p-1.5","m-0","list-none","shadow-md","rounded-md","static sm:absolute","z-10",{"sm:absolute sm:left-full sm:top-0":e.level>1},"bg-surface-0 dark:bg-surface-700"]}),submenuicon:{class:["ml-auto"]},separator:{class:"border-t border-surface-200 dark:border-surface-600 my-1"},transition:{enterFromClass:"opacity-0",enterActiveClass:"transition-opacity duration-250"}},Fw={root:({props:e})=>({class:["relative",{"flex flex-col":e.scrollable&&e.scrollHeight==="flex"},{"h-full":e.scrollable&&e.scrollHeight==="flex"},"border-spacing-0 border-separate"]}),loadingoverlay:{class:["absolute","top-0 left-0","z-20","flex items-center justify-center","w-full h-full","bg-surface-100/40 dark:bg-surface-800/40","transition duration-200"]},loadingicon:{class:"w-8 h-8 animate-spin"},wrapper:({props:e})=>({class:[{relative:e.scrollable,"flex flex-col grow":e.scrollable&&e.scrollHeight==="flex"},{"h-full":e.scrollable&&e.scrollHeight==="flex"},"rounded-lg rounded-br-none rounded-bl-none"]}),header:({props:e})=>({class:["font-bold",e.showGridlines?"border-b":"border-b border-x-0","py-1.5 px-[9.6px]","bg-surface-0 dark:bg-surface-800","border-surface-300 dark:border-surface-600","text-surface-700 dark:text-white/80"]}),table:{class:"w-full border-spacing-0 border-separate"},thead:({context:e})=>({class:[{"top-0 z-40 sticky":e.scrollable}]}),tbody:({instance:e,context:t})=>({class:["border-t border-surface-300 dark:border-surface-600",{"sticky z-20 font-semibold":e.frozenRow&&t.scrollable}]}),tfoot:({context:e})=>({class:[{"bottom-0 z-0":e.scrollable}]}),footer:{class:["font-semibold","border-t-0 border-t border-x-0","p-4","bg-surface-0 dark:bg-surface-800","border-surface-200 dark:border-surface-700","text-surface-700 dark:text-white/80"]},column:{headercell:({context:e,props:t})=>({class:["font-bold","text-xs","text-general-800 dark:text-general-800","text-xs leading-[16.39px] tracking-[0.02em]",{"sticky z-20 border-b":t.frozen||t.frozen===""},{relative:e.resizable},"text-left",{"border-r last:border-r-0":e==null?void 0:e.showGridlines},"border-0 border-b border-solid","py-1.5 px-[9.6px]","bg-primary-200 dark:bg-primary-200 text-general-800 dark:text-general-800 border-general-100 dark:border-general-100",{"bg-primary-300":(t.sortable===""||t.sortable)&&e.sorted},{"transition duration-200":t.sortable===""||t.sortable},{"cursor-pointer":t.sortable===""||t.sortable},{"overflow-hidden space-nowrap bg-clip-padding":e.resizable}]}),headercontent:{class:"flex items-center select-none gap-1"},headertitle:{class:"whitespace-nowrap"},sort:({context:e})=>({class:["text-general-800 dark:text-general-800"]}),bodycell:({props:e,context:t,state:n,parent:r})=>({class:[{sticky:r.instance.frozenRow},{sticky:e.frozen||e.frozen===""},"text-xs font-medium leading-[16.39px] tracking-[0.02em]","text-left","border-b border-solid border-general-100 dark:border-general-100",{"last:border-r-0 border-r border-b":t==null?void 0:t.showGridlines},"py-[4.5px] px-2 min-h-6","space-nowrap text-nowrap w-max whitespace-nowrap"]}),footercell:({context:e})=>({class:["font-bold","text-left",{"border-r last:border-r-0":e==null?void 0:e.showGridlines},"border-0 border-t border-solid",(e==null?void 0:e.size)==="small"?"p-2":(e==null?void 0:e.size)==="large"?"p-5":"p-4","border-surface-200 dark:border-surface-700","text-surface-700 dark:text-white/80","bg-surface-0 dark:bg-surface-800"]}),sorticon:{class:"w-[9px] h-[9px]"},sortbadge:{class:["flex items-center justify-center align-middle","rounded-full","w-[12px] leading-[1.143rem]","ml-2","text-primary-700 dark:text-white","bg-primary-50 dark:bg-primary-400/30"]},columnfilter:{class:"inline-flex items-center ml-auto"},filteroverlay:{class:["absolute top-0 left-0","mt-2","border-0","rounded-md","shadow-md","min-w-[12.5rem]","bg-surface-0 dark:bg-surface-800","text-surface-800 dark:text-white/80","ring-1 ring-inset ring-surface-300 dark:ring-surface-700"]},filtermatchmodedropdown:{root:({state:e})=>({class:["flex","relative","mb-2","w-full","rounded-md","shadow-sm","bg-surface-0 dark:bg-surface-900",{"ring-1 ring-inset ring-surface-300 dark:ring-surface-700":!e.focused},"transition-all","duration-200",{"outline-none outline-offset-0 ring-2 ring-primary-500 dark:ring-primary-400":e.focused},"cursor-default","select-none"]}),input:({props:e})=>({class:["font-sans","leading-6","sm:text-xs","block","flex-auto","bg-transparent","border-0",{"text-surface-800 dark:text-white/80":e.modelValue,"text-surface-400 dark:text-surface-500":!e.modelValue},"placeholder:text-surface-400 dark:placeholder:text-surface-500","py-1.5 px-[9.6px]","rounded-none","transition","duration-200","focus:outline-none focus:shadow-none","relative","cursor-pointer","overflow-hidden overflow-ellipsis","whitespace-nowrap","appearance-none"]})},filterrowitems:{class:"py-1 list-none m-0"},filterrowitem:({context:e})=>({class:["sm:text-xs","leading-none",{"font-normal":!(e!=null&&e.highlighted),"font-bold":e==null?void 0:e.highlighted},"relative","border-0","rounded-none","m-0","py-2 px-4",{"text-surface-700 dark:text-white/80":!(e!=null&&e.highlighted)},{"bg-surface-0 dark:bg-surface-800 text-surface-700 dark:text-white/80":!(e!=null&&e.highlighted)},{"bg-primary-500 dark:bg-primary-400 text-white dark:text-surface-700":e==null?void 0:e.highlighted},"hover:bg-primary-500 dark:hover:bg-primary-400 hover:text-white dark:hover:text-surface-700","focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400","transition-shadow","duration-200","cursor-pointer","overflow-hidden","whitespace-nowrap"]}),filteroperator:{class:["p-4","border-b border-solid","rounded-t-md","text-surface-700 dark:text-white/80","border-surface-200 dark:border-surface-700"]},filteroperatordropdown:{root:({state:e})=>({class:["flex","relative","w-full","rounded-md","shadow-sm","text-surface-800 dark:text-white/80","placeholder:text-surface-400 dark:placeholder:text-surface-500","bg-surface-0 dark:bg-surface-900",{"ring-1 ring-inset ring-surface-300 dark:ring-surface-700":!e.focused},"transition-all","duration-200",{"outline-none outline-offset-0 ring-2 ring-primary-500 dark:ring-primary-400":e.focused},"cursor-default","select-none"]}),input:{class:["font-sans","leading-6","sm:text-xs","block","flex-auto","bg-transparent","border-0","text-surface-800 dark:text-white/80","placeholder:text-surface-400 dark:placeholder:text-surface-500","py-1.5 px-[9.6px]","rounded-none","transition","duration-200","focus:outline-none focus:shadow-none","relative","cursor-pointer","overflow-hidden overflow-ellipsis","whitespace-nowrap","appearance-none"]},trigger:{class:["flex items-center justify-center","shrink-0","bg-transparent","text-surface-500","w-12","rounded-tr-md","rounded-br-md"]},panel:{class:["absolute top-0 left-0","mt-2","border-0","rounded-md","shadow-md","min-w-[12.5rem]","bg-surface-0 dark:bg-surface-800","text-surface-800 dark:text-white/80","ring-1 ring-inset ring-surface-300 dark:ring-surface-700"]},list:{class:"py-1 list-none m-0"},item:({context:e})=>({class:["sm:text-xs","leading-none",{"font-normal":!(e!=null&&e.highlighted),"font-bold":e==null?void 0:e.highlighted},"relative","border-0","rounded-none","m-0","py-2 px-4",{"text-surface-700 dark:text-white/80":!(e!=null&&e.highlighted)},{"bg-surface-0 dark:bg-surface-800 text-surface-700 dark:text-white/80":!(e!=null&&e.highlighted)},{"bg-primary-500 dark:bg-primary-400 text-white dark:text-surface-700":e==null?void 0:e.highlighted},"hover:bg-primary-500 dark:hover:bg-primary-400 hover:text-white dark:hover:text-surface-700","transition-shadow","duration-200","cursor-pointer","overflow-hidden","whitespace-nowrap"]})},filterconstraint:{class:["p-4","border-b border-solid","border-surface-200 dark:border-surface-700"]},filteraddrule:{class:"pt-4 pb-2 px-4"},filteraddrulebutton:{root:{class:["relative","items-center inline-flex text-center align-bottom justify-center","text-xs px-[9.6px] py-1.5 min-w-[2rem] w-full","rounded-md","bg-transparent border-transparent","text-primary-500 dark:text-primary-400","hover:bg-primary-300/20","focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-offset-current","focus:ring-primary-500 dark:focus:ring-primary-400","transition duration-200 ease-in-out","cursor-pointer overflow-hidden select-none"]},label:{class:"flex-auto grow-0"},icon:{class:"mr-2"}},filterremovebutton:{root:{class:["relative","items-center inline-flex text-center align-bottom justify-center","text-xs px-[9.6px] py-1.5 min-w-[2rem] w-full mt-2","rounded-md","bg-transparent border-transparent","text-red-500 dark:text-red-400","hover:bg-red-300/20","focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-offset-current","focus:ring-red-500 dark:focus:ring-red-400","transition duration-200 ease-in-out","cursor-pointer overflow-hidden select-none"]},label:{class:"flex-auto grow-0"},icon:{class:"mr-2"}},filterbuttonbar:{class:["flex items-center justify-between","py-4 px-4"]},filterclearbutton:{root:{class:["relative","items-center inline-flex text-center align-bottom justify-center","text-xs px-[9.6px] py-1.5 min-w-[2rem]","rounded-md shadow-sm border-0","text-primary-500 ring-1 ring-primary-500 hover:bg-primary-300/20","hover:bg-primary-300/20","focus:ring-primary-500 dark:focus:ring-primary-400","transition duration-200 ease-in-out","cursor-pointer overflow-hidden select-none"]}},filterapplybutton:{root:{class:["relative","items-center inline-flex text-center align-bottom justify-center","text-xs px-[9.6px] py-1.5 min-w-[2rem]","rounded-md border-0","text-white dark:text-surface-900","bg-primary-500 dark:bg-primary-400","ring-1 ring-primary-500 dark:ring-primary-400","hover:bg-primary-600 dark:hover:bg-primary-300 hover:ring-primary-600 dark:hover:ring-primary-300","focus:ring-primary-500 dark:focus:ring-primary-400","transition duration-200 ease-in-out","cursor-pointer overflow-hidden select-none"]}},filtermenubutton:({context:e})=>({class:["relative","inline-flex items-center justify-center","w-8 h-8","ml-2","rounded-full",{"bg-primary-50 text-primary-700":e.active},"dark:text-white/70 dark:hover:text-white/80 dark:bg-surface-800","hover:text-surface-700 hover:bg-surface-300/20","focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-inset focus:ring-primary-500 dark:focus:ring-primary-400","transition duration-200","cursor-pointer no-underline overflow-hidden"]}),headerfilterclearbutton:({context:e})=>({class:["relative","inline-flex items-center justify-center","text-left","border-none","m-0 p-0 ml-2","bg-transparent","cursor-pointer no-underline overflow-hidden select-none",{invisible:!e.hidden}]}),rowtoggler:{class:["relative","inline-flex items-center justify-center","text-left","m-0 p-0","w-8 h-8","border-0 rounded-full","text-surface-500 dark:text-white/70","bg-transparent","focus-visible:outline-none focus-visible:outline-offset-0","focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400","transition duration-200","overflow-hidden","cursor-pointer select-none"]},columnresizer:{class:["block","absolute top-0 right-0","w-2 h-full","m-0 p-0","border border-transparent","cursor-col-resize"]},rowreordericon:{class:"cursor-move"},roweditorinitbutton:{class:["relative","inline-flex items-center justify-center","text-left","w-8 h-8","border-0 rounded-full","text-surface-700 dark:text-white/70","border-transparent","focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-inset focus:ring-primary-500 dark:focus:ring-primary-400","hover:text-surface-700 hover:bg-surface-300/20","transition duration-200","overflow-hidden","cursor-pointer select-none"]},roweditorsavebutton:{class:["relative","inline-flex items-center justify-center","text-left","w-8 h-8","border-0 rounded-full","text-surface-700 dark:text-white/70","border-transparent","focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-inset focus:ring-primary-500 dark:focus:ring-primary-400","hover:text-surface-700 hover:bg-surface-300/20","transition duration-200","overflow-hidden","cursor-pointer select-none"]},roweditorcancelbutton:{class:["relative","inline-flex items-center justify-center","text-left","w-8 h-8","border-0 rounded-full","text-surface-700 dark:text-white/70","border-transparent","focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-inset focus:ring-primary-500 dark:focus:ring-primary-400","hover:text-surface-700 hover:bg-surface-300/20","transition duration-200","overflow-hidden","cursor-pointer select-none"]},radiobuttonwrapper:{class:["relative","inline-flex align-bottom","w-4 h-4","cursor-pointer select-none"]},rowRadioButton:{root:{class:["relative","inline-flex","align-bottom","w-4 h-4","cursor-default","select-none"]},box:({props:e})=>({class:["flex justify-center items-center","w-4 h-4","text-xs","font-medium","border-2","rounded-full","transition duration-200 ease-in-out",{"text-surface-700 dark:text-white/80":!e.modelValue,"bg-surface-0 dark:bg-surface-900":!e.modelValue,"border-surface-300 dark:border-surface-700":!e.modelValue,"border-primary-500 dark:border-primary-400":e.modelValue},{"outline-none outline-offset-0":!e.disabled,"peer-focus-visible:ring-2 peer-focus-visible:ring-offset-2 peer-focus-visible:ring-offset-surface-0 dark:focus-visible:ring-offset-surface-800 peer-focus-visible:ring-primary-500 dark:peer-focus-visible:ring-primary-400":!e.disabled,"opacity-60 cursor-default":e.disabled}]}),input:{class:["peer","w-full ","h-full","absolute","top-0 left-0","z-10","p-0","m-0","opacity-0","rounded-md","outline-none","border-2 border-surface-300 dark:border-surface-700","appareance-none","cursor-default"]},icon:{class:"hidden"}},headerCheckbox:Or,rowCheckbox:Or,transition:{enterFromClass:"opacity-0 scale-y-[0.8]",enterActiveClass:"transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]",leaveActiveClass:"transition-opacity duration-100 ease-linear",leaveToClass:"opacity-0"}},bodyrow:({context:e,props:t})=>({class:["rounded-lg",{"text-general-800 dark:text-general-800":!e.selected,"text-primary-500 dark:text-primary-500":e.selected},{"bg-primary-50 dark:bg-primary-50":e.selected&&e.stripedRows},{"bg-primary-50 dark:bg-primary-50":e.selected&&!e.stripedRows},{"bg-bg-white text-surface-600 dark:bg-white":!e.selected},{"odd:bg-surface-0 odd:text-surface-600 dark:odd:bg-surface-800 even:bg-surface-50 even:text-surface-600 dark:even:bg-surface-900/60":e.stripedRows&&!e.selected},{"focus:outline-none focus:outline-offset-0":t.selectionMode},{"hover:bg-surface-50 hover:text-surface-600":t.selectionMode&&!e.selected},{"transition duration-200":t.selectionMode&&!e.selected||t.rowHover},{"cursor-pointer":t.selectionMode}]}),rowexpansion:{class:"bg-surface-0 dark:bg-surface-800 text-surface-600 dark:text-white/80"},rowgroupheader:{class:["sticky z-20","bg-surface-0 text-surface-600 dark:text-white/70","dark:bg-surface-800"]},rowgroupfooter:{class:["sticky z-20","bg-surface-0 text-surface-600 dark:text-white/70","dark:bg-surface-800"]},rowgrouptoggler:{class:["relative","inline-flex items-center justify-center","text-left","m-0 p-0","w-8 h-8","border-0 rounded-full","text-surface-500 dark:text-white/70","bg-transparent","focus-visible:outline-none focus-visible:outline-offset-0","focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400","transition duration-200","overflow-hidden","cursor-pointer select-none"]},rowgrouptogglericon:{class:"inline-block w-4 h-4"},resizehelper:{class:"absolute hidden w-[2px] z-20 bg-primary-500 dark:bg-primary-400"}},Tw={content:{class:["p-0","border-0","text-surface-700 dark:text-white/80","bg-surface-0 dark:bg-surface-800"]},grid:{class:["flex flex-wrap","ml-0 mr-0 mt-0","bg-surface-0 dark:bg-surface-800"]},header:{class:["font-semibold","p-6","text-surface-800 dark:text-white/80","bg-surface-0 dark:bg-surface-800","border-surface-200 dark:border-surface-700 border-b"]}},Rw={listbutton:({props:e})=>({class:["leading-none","inline-flex items-center align-bottom text-center","rounded-md rounded-r-none","px-2.5 py-1.5","ring-1 ring-surface-200 dark:ring-surface-700",e.modelValue==="list"?"bg-surface-100 dark:bg-surface-700 text-surface-700 dark:text-surface-0":"bg-surface-0 dark:bg-surface-900 text-surface-700 dark:text-white/80","focus:outline-none focus:outline-offset-0 focus:ring-primary-500 dark:focus:ring-primary-400","hover:bg-surface-200 dark:hover:bg-surface-600/80","transition duration-200","cursor-pointer select-none overflow-hidden"]}),gridbutton:({props:e})=>({class:["leading-none","inline-flex items-center align-bottom text-center","rounded-md rounded-l-none","px-2.5 py-1.5","ring-1 ring-surface-200 dark:ring-surface-700",e.modelValue==="grid"?"bg-surface-100 dark:bg-surface-700 text-surface-700 dark:text-surface-0":"bg-surface-0 dark:bg-surface-900 text-surface-700 dark:text-white/80","focus:outline-none focus:outline-offset-0 focus:ring-primary-500 dark:focus:ring-primary-400","hover:bg-surface-200 dark:hover:bg-surface-600/80","transition duration-200","cursor-pointer select-none overflow-hidden"]})},_e={root:({state:e})=>({class:["rounded-[0.4375em]","shadow-[box-shadow: -4px 4px 20px 0px #0000001A]","flex flex-col","p-6","gap-3","bg-white dark:bg-white","max-h-[90vh]",{"sm:max-w-[90vw]":!e.maximized},"m-0","transform","scale-100",{"transition-none":e.maximized,"transform-none":e.maximized,"!w-screen":e.maximized,"!h-screen":e.maximized,"!max-h-full":e.maximized,"!top-0":e.maximized,"!left-0":e.maximized}]}),header:{class:["flex items-center justify-between gap-2","shrink-0","rounded-tl-lg","rounded-tr-lg","text-header-weak dark:text-header-weak"]},title:{class:["text-general-800 text-sm font-bold leading-[19.12px] tracking-[0.02em]"]},icons:{class:["flex items-center ml-auto"]},closeButton:{class:["relative","flex items-center justify-center","mr-2","last:mr-0","w-6 h-6","border-0","rounded-full","text-surface-500","bg-transparent","transition duration-200 ease-in-out","hover:text-surface-700 dark:hover:text-white/80","hover:bg-surface-100 dark:hover:bg-surface-800/80","focus:outline-none focus:outline-offset-0 focus:ring-1 focus:ring-inset","focus:ring-primary-500 dark:focus:ring-primary-400","overflow-hidden"]},maximizablebutton:{class:["relative","flex items-center justify-center","mr-2","last:mr-0","w-6 h-6","border-0","rounded-full","text-surface-500","bg-transparent","transition duration-200 ease-in-out","hover:text-surface-700 dark:hover:text-white/80","hover:bg-surface-100 dark:hover:bg-surface-800/80","focus:outline-none focus:outline-offset-0 focus:ring-1 focus:ring-inset","focus:ring-primary-500 dark:focus:ring-primary-400","overflow-hidden"]},closeButtonIcon:{class:["inline-block","text-general-200 dark:text-general-200","w-3","h-3"]},maximizableicon:{class:["inline-block","w-3","h-3"]},content:({state:e,instance:t})=>({class:["!text-header-weak text-xs font-medium tracking-[0.02em]","flex flex-col gap-3","text-surface-600 dark:text-surface-0/70","overflow-y-auto",{grow:e==null?void 0:e.maximized}]}),footer:{class:["flex items-center justify-end","shrink-0","text-right","gap-3","border-t-0","rounded-b-lg","bg-inherit dark:bg-inherit","text-surface-700 dark:text-surface-0/80"]},mask:({props:e})=>({class:["transition","duration-300",{"p-5":!e.position=="full"},{"has-[.mask-active]:bg-transparent dark:has-[.mask-active]:bg-transparent bg-dialog-mask dark:dialog-mask":e.modal,"has-[.mask-active]:backdrop-blur-none backdrop-blur-sm":e.modal}]}),transition:({props:e})=>e.position==="top"?{enterFromClass:"opacity-0 scale-75 translate-x-0 -translate-y-full translate-z-0 mask-active",enterActiveClass:"transition-all duration-200 ease-out",leaveActiveClass:"transition-all duration-200 ease-out",leaveToClass:"opacity-0 scale-75 translate-x-0 -translate-y-full translate-z-0 mask-active"}:e.position==="bottom"?{enterFromClass:"opacity-0 scale-75 translate-y-full mask-active",enterActiveClass:"transition-all duration-200 ease-out",leaveActiveClass:"transition-all duration-200 ease-out",leaveToClass:"opacity-0 scale-75 translate-x-0 translate-y-full translate-z-0 mask-active"}:e.position==="left"||e.position==="topleft"||e.position==="bottomleft"?{enterFromClass:"opacity-0 scale-75 -translate-x-full translate-y-0 translate-z-0 mask-active",enterActiveClass:"transition-all duration-200 ease-out",leaveActiveClass:"transition-all duration-200 ease-out",leaveToClass:"opacity-0 scale-75 -translate-x-full translate-y-0 translate-z-0 mask-active"}:e.position==="right"||e.position==="topright"||e.position==="bottomright"?{enterFromClass:"opacity-0 scale-75 translate-x-full translate-y-0 translate-z-0 mask-active",enterActiveClass:"transition-all duration-200 ease-out",leaveActiveClass:"transition-all duration-200 ease-out",leaveToClass:"opacity-0 scale-75 opacity-0 scale-75 translate-x-full translate-y-0 translate-z-0 mask-active"}:{enterFromClass:"opacity-0 scale-75 mask-active",enterActiveClass:"transition-all duration-200 ease-out",leaveActiveClass:"transition-all duration-200 ease-out",leaveToClass:"opacity-0 scale-75 mask-active"}},Uw={root:({props:e})=>({class:["flex relative",{"justify-center":e.layout=="vertical"},{"items-center":e.layout=="vertical"},{"justify-start":(e==null?void 0:e.align)=="left"&&e.layout=="horizontal","justify-center":(e==null?void 0:e.align)=="center"&&e.layout=="horizontal","justify-end":(e==null?void 0:e.align)=="right"&&e.layout=="horizontal","items-center":(e==null?void 0:e.align)=="top"&&e.layout=="vertical","items-start":(e==null?void 0:e.align)=="center"&&e.layout=="vertical","items-end":(e==null?void 0:e.align)=="bottom"&&e.layout=="vertical"},{"my-5 mx-0 py-0 px-5":e.layout=="horizontal","mx-4 md:mx-5 py-5":e.layout=="vertical"},{"w-full":e.layout=="horizontal","min-h-full":e.layout=="vertical"},"before:block",{"before:absolute before:left-0 before:top-1/2":e.layout=="horizontal","before:absolute before:left-1/2 before:top-0 before:transform before:-translate-x-1/2":e.layout=="vertical"},{"before:w-full":e.layout=="horizontal","before:min-h-full":e.layout=="vertical"},{"before:border-solid":e.type=="solid","before:border-dotted":e.type=="dotted","before:border-dashed":e.type=="dashed"},{"before:border-t before:border-surface-200 before:dark:border-surface-600":e.layout=="horizontal","before:border-l before:border-surface-200 before:dark:border-surface-600":e.layout=="vertical"}]}),content:{class:["p-2 z-10","bg-surface-0 dark:bg-surface-800"]}},Ew={root:({props:e})=>({class:["absolute z-1",{"left-0 bottom-0 w-full":e.position=="bottom","left-0 top-0 w-full":e.position=="top","left-0 top-0 h-full":e.position=="left","right-0 top-0 h-full":e.position=="right"},"flex justify-center items-center","pointer-events-none"]}),container:{class:["flex","rounded-md","bg-surface-0/10 dark:bg-surface-900/20 border border-surface-0/20","backdrop-blur-sm","p-2","pointer-events-auto"]},menu:({props:e})=>({class:["flex items-center justify-center",{"flex-col":e.position=="left"||e.position=="right"},"m-0 p-0 list-none","outline-none"]}),menuitem:({props:e,context:t,instance:n})=>({class:["p-2 rounded-md",{"hover:scale-150":n.currentIndex===t.index,"scale-125":n.currentIndex-1===t.index||n.currentIndex+1===t.index,"scale-110":n.currentIndex-2===t.index||n.currentIndex+2===t.index},{"origin-bottom hover:mx-6":e.position=="bottom","origin-top hover:mx-6":e.position=="top","origin-left hover:my-6":e.position=="left","origin-right hover:my-6":e.position=="right"},"transition-all duration-200 ease-cubic-bezier-will-change-transform transform"]}),action:{class:["flex flex-col items-center justify-center","relative","w-16 h-16","cursor-default overflow-hidden"]}},Fo={root:({props:e,state:t})=>({class:["inline-flex","relative","w-full h-max","cursor-default","select-none",{"opacity-60":e.disabled,"pointer-events-none":e.disabled}]}),labelContainer:{class:"overflow-hidden flex flex-auto cursor-pointer h-max py-0.5 px-3 pr-0"},label:({props:e})=>({class:["flex gap-1","h-max",{"leading-5":e.modelValue==null},"text-xs","rounded-none",{"text-general-200 font-light":e.modelValue==null,"text-grayscale-800 font-medium":e.modelValue!=null},"transition duration-200","overflow-hidden whitespace-nowrap cursor-pointer overflow-ellipsis"]}),token:{class:["inline-flex items-center gap-1","p-1","rounded-lg","text-[9px]","font-semibold","leading-[12px]","tracking-[0.03em]","items-center","text-grayscale-800 dark:text-grayscale-800","bg-grayscale-200 dark:bg-grayscale-200"]},removeTokenIcon:{class:["rounded-md leading-6","ml-2","w-4 h-4","transition duration-200 ease-in-out","cursor-pointer"]},trigger:{class:["mr-1","flex items-center justify-center","shrink-0","bg-transparent","text-surface-500","w-6","rounded-tr-md","rounded-br-md"]},panel:{class:["absolute top-0 left-0","mt-2","max-w-[30vw]","border-0","rounded-lg","shadow-panel","bg-surface-0 dark:bg-surface-800","text-surface-800 dark:text-white/80"]},header:{class:["flex items-center self-stretch justify-between gap-2","py-3 px-4","m-0","border-b","rounded-tl-md","rounded-tr-md","text-surface-700 dark:text-white/80","bg-surface-50 dark:bg-surface-800"]},headerCheckboxContainer:{class:["relative","inline-flex","align-bottom","w-4","h-4","mr-2","cursor-default","select-none"]},headerCheckbox:Or,itemCheckbox:Or,closeButton:{class:["hidden"]},closeButtonIcon:{class:["inline-block","w-3","h-3"]},wrapper:{class:["max-h-[15rem]","overflow-auto"]},list:{class:"py-1 list-none m-0"},item:({context:e})=>({class:["text-xs",{"font-medium":!e.selected,"font-bold":e.selected},"flex items-center gap-2","relative","border-0","rounded-none","m-0","py-2 px-4",{"text-surface-700 dark:text-white/80":!e.focused&&!e.selected&&!e.disabled},{"text-surface-600 dark:text-white/70":!e.focused&&!e.selected&&e.disabled},{"bg-surface-200 dark:bg-surface-600/60 text-surface-700 dark:text-white/80":e.focused&&!e.selected},{"bg-primary-bg-weak dark:bg-primary-bg-weak text-primary dark:text-primary":e.focused&&e.selected},{"bg-transparent text-surface-700 dark:text-white/80":!e.focused&&e.selected},"hover:bg-primary-bg-weak dark:hover:bg-primary-bg-weak hover:text-primary dark:hover:text-primary","focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400",{"pointer-events-none cursor-default":e.disabled},{"cursor-pointer":!e.disabled},"overflow-hidden","whitespace-nowrap"]}),option:{class:"overflow-hidden text-ellipsis w-max"},itemgroup:{class:["font-bold","sm:text-sm","m-0","py-2 px-4","text-surface-800 dark:text-white/80","bg-surface-0 dark:bg-surface-600/80","cursor-auto"]},filtercontainer:{class:["flex items-center relative w-full gap-2","bg-input dark:bg-input","py-2 px-3","text-[0.7rem]","leading-4","w-full","text-label dark:text-label","bg-surface-0 dark:bg-surface-900","placeholder:text-surface-400","ring-1 ring-inset ring-body dark:ring-body","border-0","rounded-[6px]"]},filterinput:{class:["w-full","appearance-none","focus-visible:outline-none"]},filtericon:{class:["absolute","top-1/2 right-3","-mt-2"]},clearicon:{class:["text-surface-500","absolute","top-1/2","right-12","-mt-2"]},emptymessage:{class:["leading-none","text-xs","py-2 px-4","text-grayscale-800 dark:text-grayscale-800","bg-transparent"]},transition:{enterFromClass:"opacity-0 scale-y-[0.8]",enterActiveClass:"transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]",leaveActiveClass:"transition-opacity duration-100 ease-linear",leaveToClass:"opacity-0"}},Cw={root:({props:e,state:t})=>({class:["inline-flex","relative","w-full","rounded-md","cursor-default","select-none",{"opacity-60":e.disabled,"pointer-events-none":e.disabled}]}),input:({props:e})=>({class:["text-xs",{"text-general-200 font-light":e.modelValue==null,"text-general-800 font-medium":e.modelValue!=null},"block","flex-auto","bg-transparent","border-0","placeholder:text-general-200 dark:placeholder:text-general-200","h-[26px]","py-1 px-3 pr-0",{"pr-7":e.showClear},"rounded-none","transition","duration-200","focus:outline-none focus:shadow-none","relative","cursor-pointer","overflow-hidden overflow-ellipsis","whitespace-nowrap","appearance-none"]}),trigger:{class:["mr-1","flex items-center justify-center","shrink-0","bg-transparent","text-general-200","w-6","rounded-tr-md","rounded-br-md"]},panel:{class:["absolute top-0 left-0","mt-2","max-w-[30vw]","border-0","rounded-lg","shadow-panel","bg-surface-0 dark:bg-surface-800","text-surface-800 dark:text-white/80"]},wrapper:{class:["max-h-[15rem]","overflow-auto"]},list:{class:"py-1 list-none m-0"},item:({context:e})=>({class:["text-xs",{"font-medium":!e.selected,"font-bold":e.selected},"w-full overflow-hidden text-ellipsis","relative","border-0","rounded-none","m-0","py-2 px-4",{"text-surface-700 dark:text-white/80":!e.focused&&!e.selected&&!e.disabled},{"text-surface-600 dark:text-white/70":!e.focused&&!e.selected&&e.disabled},{"bg-surface-200 dark:bg-surface-600/60 text-surface-700 dark:text-white/80":e.focused&&!e.selected},{"bg-primary-bg-weak dark:bg-primary-bg-weak text-primary dark:text-primary":e.focused&&e.selected},{"bg-transparent text-surface-700 dark:text-white/80":!e.focused&&e.selected},"hover:bg-primary-bg-weak dark:hover:bg-primary-bg-weak hover:text-primary dark:hover:text-primary","focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400",{"pointer-events-none cursor-default":e.disabled},{"cursor-pointer":!e.disabled},"overflow-hidden","whitespace-nowrap"]}),itemgroup:{class:["font-bold","sm:text-sm","m-0","py-2 px-4","text-surface-800 dark:text-white/80","bg-surface-0 dark:bg-surface-600/80","cursor-auto"]},emptymessage:{class:["leading-none text-xs","py-2 px-4","text-surface-800 dark:text-white/80","bg-transparent"]},header:Fo.header,filtercontainer:Fo.filtercontainer,filterinput:Fo.filterinput,filtericon:Fo.filtericon,clearicon:{class:["text-general-200","absolute","top-1/2","right-12","-mt-2"]},transition:{enterFromClass:"opacity-0 scale-y-[0.8]",enterActiveClass:"transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]",leaveActiveClass:"transition-opacity duration-100 ease-linear",leaveToClass:"opacity-0"}},Nw={root:{class:["block","px-5 md:px-6 py-5","rounded-md rounded-lg","bg-surface-0 dark:bg-surface-900","text-surface-700 dark:text-surface-0/80","ring-1 ring-inset ring-surface-300 dark:ring-surface-700 ring-offset-0"]},legend:({props:e})=>({class:["font-medium","leading-none",{"p-0":e.toggleable,"px-3 py-1.5":!e.toggleable},"rounded-md","text-surface-700 dark:text-surface-0/80","bg-surface-0 dark:bg-surface-900","transition-none",{"":e.toggleable},{"focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-primary-600 ring-inset dark:focus:ring-primary-500":e.toggleable}]}),toggler:({props:e})=>({class:["flex items-center justify-center","relative",{"px-3 py-1.5":e.toggleable},{"rounded-md":e.toggleable},{"text-surface-700 dark:text-surface-200 hover:text-surface-900 hover:text-surface-900":e.toggleable},{"hover:text-surface-900 dark:hover:text-surface-100":e.toggleable},{"focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-inset focus:ring-primary-600 dark:focus:ring-primary-500":e.toggleable},{"transition-none cursor-pointer overflow-hidden select-none":e.toggleable}]}),togglerIcon:{class:"mr-2 inline-block"},legendTitle:{class:"flex items-center justify-center leading-none"},content:{class:"p-0"},transition:{enterFromClass:"max-h-0",enterActiveClass:"overflow-hidden transition-[max-height] duration-1000 ease-[cubic-bezier(0.42,0,0.58,1)]",enterToClass:"max-h-[1000px]",leaveFromClass:"max-h-[1000px]",leaveActiveClass:"overflow-hidden transition-[max-height] duration-[450ms] ease-[cubic-bezier(0,1,0,1)]",leaveToClass:"max-h-0"}},Bw={css:`
30
+ `+o):r.stack=o}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Zi(this.defaults,n);const{transitional:r,paramsSerializer:a,headers:o}=n;r!==void 0&&Pu.assertOptions(r,{silentJSONParsing:Vr.transitional(Vr.boolean),forcedJSONParsing:Vr.transitional(Vr.boolean),clarifyTimeoutError:Vr.transitional(Vr.boolean)},!1),a!=null&&(ie.isFunction(a)?n.paramsSerializer={serialize:a}:Pu.assertOptions(a,{encode:Vr.function,serialize:Vr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let l=o&&ie.merge(o.common,o[n.method]);o&&ie.forEach(["delete","get","head","post","put","patch","common"],g=>{delete o[g]}),n.headers=fr.concat(l,o);const s=[];let u=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(u=u&&m.synchronous,s.unshift(m.fulfilled,m.rejected))});const c=[];this.interceptors.response.forEach(function(m){c.push(m.fulfilled,m.rejected)});let d,f=0,h;if(!u){const g=[hf.bind(this),void 0];for(g.unshift.apply(g,s),g.push.apply(g,c),h=g.length,d=Promise.resolve(n);f<h;)d=d.then(g[f++],g[f++]);return d}h=s.length;let p=n;for(f=0;f<h;){const g=s[f++],m=s[f++];try{p=g(p)}catch(v){m.call(this,v);break}}try{d=hf.call(this,p)}catch(g){return Promise.reject(g)}for(f=0,h=c.length;f<h;)d=d.then(c[f++],c[f++]);return d}getUri(t){t=Zi(this.defaults,t);const n=kh(t.baseURL,t.url);return gh(n,t.params,t.paramsSerializer)}};ie.forEach(["delete","get","head","options"],function(t){Al.prototype[t]=function(n,r){return this.request(Zi(r||{},{method:t,url:n,data:(r||{}).data}))}});ie.forEach(["post","put","patch"],function(t){function n(r){return function(o,l,s){return this.request(Zi(s||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:l}))}}Al.prototype[t]=n(),Al.prototype[t+"Form"]=n(!0)});const Il=Al;let iw=class Vh{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(a=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](a);r._listeners=null}),this.promise.then=a=>{let o;const l=new Promise(s=>{r.subscribe(s),o=s}).then(a);return l.cancel=function(){r.unsubscribe(o)},l},t(function(o,l,s){r.reason||(r.reason=new La(o,l,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Vh(function(a){t=a}),cancel:t}}};const ow=iw;function aw(e){return function(n){return e.apply(null,n)}}function lw(e){return ie.isObject(e)&&e.isAxiosError===!0}const Lu={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Lu).forEach(([e,t])=>{Lu[t]=e});const sw=Lu;function Fh(e){const t=new Il(e),n=ih(Il.prototype.request,t);return ie.extend(n,Il.prototype,t,{allOwnKeys:!0}),ie.extend(n,t,null,{allOwnKeys:!0}),n.create=function(a){return Fh(Zi(e,a))},n}const kt=Fh(Ac);kt.Axios=Il;kt.CanceledError=La;kt.CancelToken=ow;kt.isCancel=wh;kt.VERSION=xh;kt.toFormData=ps;kt.AxiosError=Le;kt.Cancel=kt.CanceledError;kt.all=function(t){return Promise.all(t)};kt.spread=aw;kt.isAxiosError=lw;kt.mergeConfig=Zi;kt.AxiosHeaders=fr;kt.formToJSON=e=>yh(ie.isHTMLForm(e)?new FormData(e):e);kt.getAdapter=Sh.getAdapter;kt.HttpStatusCode=sw;kt.default=kt;const rr=kt,{Axios:eL,AxiosError:Th,CanceledError:tL,isCancel:nL,CancelToken:rL,VERSION:iL,all:oL,Cancel:aL,isAxiosError:lL,spread:sL,toFormData:uL,AxiosHeaders:cL,HttpStatusCode:dL,formToJSON:fL,getAdapter:pL,mergeConfig:hL}=rr,Rh=({type:e="Group",headers:t={},params:n={}}={})=>{const r=JSON.parse(localStorage.getItem("user")??"{}"),a=e==="Group"?"https://dev-api-groups.tagsamurai.com":"https://dev-api-asset-attributes.tagsamurai.com";return rr.create({baseURL:`${a}/v2/`,headers:{"Content-type":"application/json",Authorization:`Bearer ${r.token}`,...t},params:n})},uw={getTreeList:e=>Rh({type:e}).get(e==="Group"?"/tree":"/category/tree")},cw={accordiontab:{header:({props:e})=>({class:["pt-6 pb-0","mt-6","border-x-0 border-b-0","border border-surface-200 dark:border-surface-700",{"select-none pointer-events-none cursor-default opacity-60":e==null?void 0:e.disabled}]}),headerAction:({context:e})=>({class:["font-semibold","leading-7","flex items-center justify-between flex-row-reverse","relative","rounded-md","bg-transparent","text-surface-900 dark:text-surface-0","focus:outline-none focus:outline-offset-0 focus-visible:ring-2 focus-visible:ring-primary-600 ring-inset dark:focus-visible:ring-primary-500","cursor-pointer no-underline select-none"]}),headerIcon:{class:"inline-block ml-2"},headerTitle:{class:"leading-7"},content:{class:["leading-7","pr-12 pt-2","text-surface-600 dark:text-surface-0/70"]},transition:{enterFromClass:"max-h-0",enterActiveClass:"overflow-hidden transition-[max-height] duration-1000 ease-[cubic-bezier(0.42,0,0.58,1)]",enterToClass:"max-h-[1000px]",leaveFromClass:"max-h-[1000px]",leaveActiveClass:"overflow-hidden transition-[max-height] duration-[450ms] ease-[cubic-bezier(0,1,0,1)]",leaveToClass:"max-h-0"}}},dw={root:({props:e})=>({class:["relative","inline-flex",{"w-full":e.multiple},"text-surface-900 dark:text-surface-0",{"opacity-60 select-none pointer-events-none cursor-default":e.disabled}]}),container:({props:e,state:t})=>({class:["font-sans sm:text-sm leading-none","flex items-center flex-wrap","gap-1","m-0 list-none","px-3 py-1",{"px-3 py-1.5":!e.multiple,"px-3 py-1":e.multiple},"w-full","appearance-none rounded-md","text-surface-900 dark:text-surface-0","bg-surface-0 dark:bg-surface-900","placeholder:text-surface-400 dark:placeholder:text-surface-500","shadow-sm","focus:outline-none focus:outline-offset-0",{"ring-1 ring-inset ring-surface-300 dark:ring-surface-700 ring-offset-0":!t.focused,"ring-2 ring-primary-500 dark:ring-primary-400":t.focused},"transition duration-200 ease-in-out","cursor-text overflow-hidden"]}),inputtoken:({props:e})=>({class:[{"py-1.5 px-0":!e.multiple,"p-0.5":e.multiple},,"inline-flex flex-auto"]}),input:({props:e})=>({class:["font-sans sm:text-sm leading-none","appearance-none rounded-md",{"rounded-tr-none rounded-br-none":e.dropdown},{"outline-none shadow-none rounded-none":e.multiple},{"w-full":e.multiple},"m-0",{"py-1.5 px-3":!e.multiple,"p-0":e.multiple},"text-surface-700 dark:text-white/80",{"bg-surface-0 dark:bg-surface-900":!e.multiple,"border border-surface-300 dark:border-surface-700":!e.multiple,"border-0 bg-transparent":e.multiple},{"focus:outline-none focus:outline-offset-0 focus:ring-inset focus:ring-2 focus:ring-primary-500 dark:focus:ring-primary-400":!e.multiple},"transition-colors duration-200"]}),token:{class:["inline-flex items-center","py-0.5 px-3","rounded-[1.14rem]","text-surface-700 dark:text-white/70","bg-surface-200 dark:bg-surface-700"]},label:{class:"leading-5"},removeTokenIcon:{class:["rounded-md leading-6","ml-2","w-4 h-4","transition duration-200 ease-in-out","cursor-pointer"]},dropdownbutton:{root:{class:["relative text-sm leading-none","items-center inline-flex text-center align-bottom","rounded-r-md","px-2.5 py-1.5","-ml-[1px]","text-surface-600 dark:text-surface-100","bg-surface-100 dark:bg-surface-800","ring-1 ring-inset ring-surface-300 dark:ring-surface-700","hover:bg-surface-200 dark:hover:bg-surface-700","focus:outline-none focus:outline-offset-0 focus:ring-1","focus:ring-primary-500 dark:focus:ring-primary-400"]}},loadingicon:{class:["text-sm leading-none text-surface-500 dark:text-surface-0/70","absolute top-[50%] right-[0.5rem] -mt-2 animate-spin"]},panel:{class:["absolute top-0 left-0","mt-2","border-0","rounded-md","shadow-md","max-h-[15rem]","overflow-auto","bg-surface-0 dark:bg-surface-800","text-surface-800 dark:text-white/80","ring-1 ring-inset ring-surface-300 dark:ring-surface-700"]},list:{class:"py-1 list-none m-0"},item:({context:e})=>({class:["sm:text-sm","leading-none",{"font-normal":!e.selected,"font-bold":e.selected},"relative","border-0","rounded-none","m-0","py-2 px-4",{"text-surface-700 dark:text-white/80":!e.focused&&!e.selected},{"bg-surface-200 dark:bg-surface-600/60 text-surface-700 dark:text-white/80":e.focused&&!e.selected},{"bg-primary-500 dark:bg-primary-400 text-white dark:text-surface-700":e.focused&&e.selected},{"bg-transparent text-surface-700 dark:text-white/80":!e.focused&&e.selected},"hover:bg-primary-500 dark:hover:bg-primary-400 hover:text-white dark:hover:text-surface-700","cursor-pointer","overflow-hidden","whitespace-nowrap"]}),itemgroup:{class:["font-bold","sm:text-sm","m-0","py-2 px-4","text-surface-800 dark:text-white/80","bg-surface-0 dark:bg-surface-600/80","cursor-auto"]},emptymessage:{class:["leading-none","sm:text-sm","py-2 px-4","text-surface-800 dark:text-white/80","bg-transparent"]},transition:{enterFromClass:"opacity-0 scale-y-[0.8]",enterActiveClass:"transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]",leaveActiveClass:"transition-opacity duration-100 ease-linear",leaveToClass:"opacity-0"}},fw={root:({props:e,parent:t})=>{var n,r,a;return{class:[{"text-sm":e.size==null||e.size=="normal","text-lg":e.size=="large","text-xl":e.size=="xlarge"},"inline-flex items-center justify-center","shrink-0","relative",{"h-8 w-8":e.size==null||e.size=="normal","w-12 h-12":e.size=="large","w-16 h-16":e.size=="xlarge"},{"-ml-4":((n=t.instance.$style)==null?void 0:n.name)=="avatargroup"},{"rounded-lg":e.shape=="square","rounded-full":e.shape=="circle"},{"border-2":((r=t.instance.$style)==null?void 0:r.name)=="avatargroup"},"bg-surface-100 dark:bg-surface-700",{"border-white dark:border-surface-800":((a=t.instance.$style)==null?void 0:a.name)=="avatargroup"}]}},image:{class:"h-full w-full"}},pw={root:{class:"flex items-center"}},hw={root:({props:e,context:t})=>({class:["font-medium",{"text-xs leading-[1.5rem]":e.size==null,"text-lg leading-[2.25rem]":e.size=="large","text-2xl leading-[3rem]":e.size=="xlarge"},"text-center inline-block","p-0 px-1",{"min-w-[1.5rem] h-[1.5rem]":e.size==null,"min-w-[2.25rem] h-[2.25rem]":e.size=="large","min-w-[3rem] h-[3rem]":e.size=="xlarge"},{"rounded-full":e.value.length==1,"rounded-[0.71rem]":e.value.length!==1},"text-white dark:text-surface-900",{"bg-primary-500 dark:bg-primary-400":e.severity==null||e.severity=="primary","bg-surface-500 dark:bg-surface-400":e.severity=="secondary","bg-green-500 dark:bg-green-400":e.severity=="success","bg-blue-500 dark:bg-blue-400":e.severity=="info","bg-orange-500 dark:bg-orange-400":e.severity=="warning","bg-purple-500 dark:bg-purple-400":e.severity=="help","bg-red-500 dark:bg-red-400":e.severity=="danger"}]})},mw={root:({context:e})=>({class:["font-medium","text-xs leading-6 font-sans","flex items-center justify-center","text-center","absolute top-0 right-0 transform translate-x-1/2 -translate-y-1/2 origin-top-right","m-0",{"p-0":e.nogutter||e.dot,"p-1":!e.nogutter&&!e.dot,"min-w-[0.5rem] h-2":e.dot,"min-w-[1rem] h-4":!e.dot},{"rounded-full":e.nogutter||e.dot,"rounded-[10px]":!e.nogutter&&!e.dot},"text-white dark:text-surface-900","ring-1 ring-white dark:ring-surface-900",{"bg-primary-500 dark:bg-primary-400":!e.info&&!e.success&&!e.warning&&!e.danger&&!e.help&&!e.secondary,"bg-surface-500 dark:bg-surface-400":e.secondary,"bg-green-500 dark:bg-green-400":e.success,"bg-blue-500 dark:bg-blue-400":e.info,"bg-orange-500 dark:bg-orange-400":e.warning,"bg-purple-500 dark:bg-purple-400":e.help,"bg-red-500 dark:bg-red-400":e.danger}]})},gw={menu:{class:["flex items-center flex-nowrap gap-x-1.5","m-0 p-0 list-none leading-none"]},action:{class:["font-semibold text-decoration-none text-sm","flex items-center gap-x-1.5 ","rounded-md","text-surface-500 dark:text-white/70","focus-visible:outline-none focus-visible:outline-offset-0","focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400","transition-shadow duration-200"]},icon:{class:"text-surface-500 dark:text-white/70"},separator:{class:["flex items-center shrink-0","text-surface-500 dark:text-white/70"]}},Uh={root:({props:e,context:t,parent:n})=>({class:["relative items-center justify-center inline-flex text-center","text-xs h-[26px] w-max min-w-[26px]",{"gap-1":e.icon&&e.label,"flex-row-reverse":e.iconPos==="right"},{"px-3 py-[7.6px] min-w-[26px]":e.size===null&&e.label!==null,"px-2 py-1":e.size==="small","px-3 py-2":e.size==="large"},{"w-[26px] p-0":e.label==null},"ring-inset",{"shadow-sm":!e.raised&&!e.link&&!e.text,"shadow-lg":e.raised},{rounded:!e.rounded,"rounded-full":e.rounded},{"rounded-none first:rounded-l-md last:rounded-r-md self-center":n.instance.$name=="InputGroup"},{"text-primary-600 bg-transparent ring-transparent":e.link},{"text-white bg-gray-500 ring-1 ring-gray-500":e.plain&&!e.outlined&&!e.text},{"text-surface-500":e.plain&&e.text},{"text-surface-500 ring-1 ring-gray-500":e.plain&&e.outlined},{"bg-transparent ring-transparent":e.text&&!e.plain},{"bg-transparent":e.outlined&&!e.plain},{"text-white dark:text-white":!e.link&&e.severity===null&&!e.text&&!e.outlined&&!e.plain,"bg-primary dark:bg-primary":!e.link&&e.severity===null&&!e.text&&!e.outlined&&!e.plain,"ring-1 ring-primary dark:ring-primary":!e.link&&e.severity===null&&!e.text&&!e.outlined&&!e.plain},{"text-primary dark:text-primary":e.text&&e.severity===null&&!e.plain},{"text-primary ring-1 ring-primary hover:bg-primary-bg-weak focus:ring-1":e.outlined&&e.severity===null&&!e.plain},{"text-surface-0 dark:text-surface-0":e.severity==="secondary"&&!e.text&&!e.outlined&&!e.plain,"bg-general-500 dark:bg-general-500":e.severity==="secondary"&&!e.text&&!e.outlined&&!e.plain,"ring-1 ring-general-500 dark:ring-general-500":e.severity==="secondary"&&!e.text&&!e.outlined&&!e.plain},{"text-general-500 dark:text-general-500":e.text&&e.severity==="secondary"&&!e.plain},{"text-general-500 ring-1 ring-general-500":e.outlined&&e.severity==="secondary"&&!e.plain},{"text-white dark:text-white":e.severity==="success"&&!e.text&&!e.outlined&&!e.plain,"bg-success dark:bg-success":e.severity==="success"&&!e.text&&!e.outlined&&!e.plain,"ring-1 ring-success dark:ring-success":e.severity==="success"&&!e.text&&!e.outlined&&!e.plain},{"text-success dark:text-success":e.text&&e.severity==="success"&&!e.plain},{"text-success ring-1 ring-success hover:bg-success-bg-weak focus:ring-1":e.outlined&&e.severity==="success"&&!e.plain},{"text-white dark:text-white":e.severity==="info"&&!e.text&&!e.outlined&&!e.plain,"bg-info dark:bg-info":e.severity==="info"&&!e.text&&!e.outlined&&!e.plain,"ring-1 ring-info dark:ring-info":e.severity==="info"&&!e.text&&!e.outlined&&!e.plain},{"text-info dark:text-info":e.text&&e.severity==="info"&&!e.plain},{"text-info ring-1 ring-info hover:bg-info-bg-weak focus:ring-1":e.outlined&&e.severity==="info"&&!e.plain},{"text-white dark:text-white":e.severity==="warning"&&!e.text&&!e.outlined&&!e.plain,"bg-warning dark:bg-warning":e.severity==="warning"&&!e.text&&!e.outlined&&!e.plain,"ring-1 ring-warning dark:ring-warning":e.severity==="warning"&&!e.text&&!e.outlined&&!e.plain},{"text-warning dark:text-warning":e.text&&e.severity==="warning"&&!e.plain},{"text-warning ring-1 ring-warning hover:bg-warning-bg-weak focus:ring-1":e.outlined&&e.severity==="warning"&&!e.plain},{"text-white dark:text-white":e.severity==="dark"&&!e.text&&!e.outlined&&!e.plain,"bg-header-weak dark:bg-header-weak":e.severity==="dark"&&!e.text&&!e.outlined&&!e.plain,"ring-1 ring-header-weak dark:ring-header-weak":e.severity==="dark"&&!e.text&&!e.outlined&&!e.plain},{"text-header-weak dark:text-header-weak":e.text&&e.severity==="dark"&&!e.plain},{"text-header-weak ring-1 ring-header-weak hover:bg-header-weak":e.outlined&&e.severity==="dark"&&!e.plain},{"text-white dark:text-white":e.severity==="danger"&&!e.text&&!e.outlined&&!e.plain,"bg-danger dark:bg-danger":e.severity==="danger"&&!e.text&&!e.outlined&&!e.plain,"ring-1 ring-danger dark:ring-danger":e.severity==="danger"&&!e.text&&!e.outlined&&!e.plain},{"text-danger dark:text-danger":e.text&&e.severity==="danger"&&!e.plain},{"text-danger ring-1 ring-danger hover:bg-danger-bg-weak focus:ring-1":e.outlined&&e.severity==="danger"&&!e.plain},"focus:outline-none focus:outline-offset-0 focus:ring-1",{"focus:ring-offset-0":!e.link&&!e.plain&&!e.outlined&&!e.text},{"focus:ring-primary-500 dark:focus:ring-primary-400":e.link},{"hover:bg-gray-600 hover:ring-gray-600":e.plain&&!e.outlined&&!e.text},{"hover:bg-surface-300/20":e.plain&&(e.text||e.outlined)},{"hover:bg-primary-strong dark:hover:bg-primary-strong hover:ring-primary-strong dark:hover:ring-primary-strong":!e.link&&e.severity===null&&!e.text&&!e.outlined&&!e.plain},{"hover:bg-primary-bg-weak":(e.text||e.outlined)&&e.severity===null&&!e.plain},{"focus:ring-1 focus:ring-primary-500 dark:focus:ring-1 dark:focus:ring-primary-500":e.severity===null},{"hover:bg-general-600 dark:hover:bg-general-600 hover:ring-general-600 dark:hover:ring-general-600":e.severity==="secondary"&&!e.text&&!e.outlined&&!e.plain},{"hover:bg-surface-300/20":(e.text||e.outlined)&&e.severity==="secondary"&&!e.plain},{"hover:bg-success-strong dark:hover:bg-success-strong hover:ring-success-strong dark:hover:ring-success-strong":e.severity==="success"&&!e.text&&!e.outlined&&!e.plain},{"hover:bg-green-300/20":(e.text||e.outlined)&&e.severity==="success"&&!e.plain},{"focus:ring-1 focus:ring-success-500 dark:focus:ring-1 dark:focus:ring-success-500":e.severity==="success"},{"hover:bg-info-strong dark:hover:bg-info-strong hover:ring-info-strong dark:hover:ring-info-strong":e.severity==="info"&&!e.text&&!e.outlined&&!e.plain},{"focus:ring-info-strong dark:focus:ring-info-strong":e.severity==="info"},{"hover:bg-blue-300/20":(e.text||e.outlined)&&e.severity==="info"&&!e.plain},{"hover:bg-warning-strong dark:hover:bg-warning-strong hover:ring-warning-strong dark:hover:ring-warning-strong":e.severity==="warning"&&!e.text&&!e.outlined&&!e.plain},{"hover:bg-orange-300/20":(e.text||e.outlined)&&e.severity==="warning"&&!e.plain},{"focus:ring-1 focus:ring-warning-500 dark:focus:ring-1 dark:focus:ring-warning-500":e.severity==="warning"},{"hover:bg-body dark:hover:bg-body hover:ring-body dark:hover:ring-body":e.severity==="dark"&&!e.text&&!e.outlined&&!e.plain},{"focus:ring-1 focus:ring-header-weak dark:focus:ring-1 dark:focus:ring-header-weak":e.severity==="dark"},{"hover:bg-surface-100":(e.text||e.outlined)&&e.severity==="dark"&&!e.plain},{"hover:bg-danger-strong dark:hover:bg-danger-strong hover:ring-danger-strong dark:hover:ring-danger-strong":e.severity==="danger"&&!e.text&&!e.outlined&&!e.plain},{"focus:ring-red-500 dark:focus:ring-red-400":e.severity==="danger"},{"hover:bg-red-300/20":(e.text||e.outlined)&&e.severity==="danger"&&!e.plain},{"!text-general-200 !pointer-events-none !cursor-default":t.disabled||e.disabled},{"!text-white !bg-general-200 !ring-1 !ring-general-200 !dark:text-white !dark:bg-general-200":(t.disabled||e.disabled)&&!e.outlined&&!e.plain&&!e.text},{"!ring-1 !ring-offset-0 !ring-general-200":(e.disabled||t.disabled)&&e.outlined},"transition duration-200 ease-in-out","cursor-pointer overflow-hidden select-none"]}),label:({props:e})=>({class:["duration-200","whitespace-nowrap","font-medium","tracking-[0.24px]","leading-3",{"!text-[8.86px] tracking-[0.03em]":e.size==="small"},{"hover:underline":e.link},{"flex-1":e.label!==null,"invisible w-0":e.label==null}]}),icon:({props:e})=>({class:["mx-0",{"mr-1":(e==null?void 0:e.iconPos)=="left"&&(e==null?void 0:e.label)!=null,"ml-1 order-1":e.iconPos=="right"&&(e==null?void 0:e.label)!=null,"mb-1":(e==null?void 0:e.iconPos)=="top"&&(e==null?void 0:e.label)!=null,"mt-1":(e==null?void 0:e.iconPos)=="bottom"&&(e==null?void 0:e.label)!=null},{"!text-[8.86px] tracking-[0.03em]":(e==null?void 0:e.size)==="small"}]}),loadingicon:({props:e})=>({class:["h-3 w-3","mx-0",{"mr-2":e.iconPos=="left"&&e.label!=null,"ml-2 order-1":e.iconPos=="right"&&e.label!=null,"mb-2":e.iconPos=="top"&&e.label!=null,"mt-2":e.iconPos=="bottom"&&e.label!=null},"animate-spin"]}),badge:({props:e})=>({class:[{"ml-2 w-4 h-4 leading-none flex items-center justify-center":e.badge}]})},Eh={root:({props:e})=>({class:["inline-flex flex-auto justify-between items-center gap-[5px]","rounded border","m-0 px-3 py-1",{"opacity-40 select-none pointer-events-none cursor-default":e.disabled}]}),input:({props:e})=>({class:["w-full","text-xs font-light tracking-[2%]","text-general-800 dark:text-general-800","placeholder:text-general-200 dark:placeholder:text-general-200","bg-surface-0 dark:bg-surface-0","appearance-none","transition-colors","duration-200","outline-none focus:ring-primary-500 dark:focus:ring-primary-400"]}),inputicon:{class:["text-general-500 dark:text-general-500"]},dropdownbutton:{root:{class:["relative text-sm","items-center inline-flex text-center align-bottom","rounded-r-md","px-2.5 py-1.5 leading-none","text-surface-600 dark:text-surface-100","bg-surface-100 dark:bg-surface-800","ring-1 ring-inset ring-surface-300 dark:ring-surface-700","hover:bg-surface-200 dark:hover:bg-surface-700","focus:outline-none focus:outline-offset-0 focus:ring-1","focus:ring-primary-500 dark:focus:ring-primary-400"]}},panel:({props:e})=>({class:["datepicker-panel","inline-flex","flex-col justify-start items-center gap-2.5",{absolute:!e.inline,"inline-block":e.inline},"!min-w-0 max-w-[272px] h-max p-6 shadow-[-4px_4px_20px_0_rgba(0,0,0,0.1)]",{"min-w-[80vw] w-auto p-2 ":e.touchUI},{"p-2 min-w-full":e.inline},"rounded-[7px]","bg-surface-0 dark:bg-surface-0",{"overflow-x-auto":e.inline}]}),datepickerMask:{class:["fixed top-0 left-0 w-full h-full","flex items-center justify-center","bg-black bg-opacity-90"]},header:({props:e})=>({class:["min-h-[26.8px]","text-xs font-medium","flex justify-between items-start gap-1","m-0","rounded-t-md","text-general-800 dark:general-800","bg-surface-0 dark:bg-surface-0"]}),previousbutton:({props:e})=>({class:["relative","inline-flex items-center justify-center","order-1","p-1.5 m-0","text-general-800 dark:text-general-800","border-0 rounded-full","bg-transparent","hover:bg-general-50 dark:hover:bg-general-50","cursor-pointer overflow-hidden"]}),title:({props:e})=>({class:["leading-6","my-0","order-2"]}),monthTitle:{class:["text-xs font-medium","text-general-800 dark:general-800","bg-surface-0 dark:bg-surface-0","transition duration-200","m-0 mr-1","hover:text-primary-500 dark:hover:text-primary-400","cursor-pointer"]},yearTitle:{class:["text-xs font-medium","text-general-800 dark:general-800","bg-surface-0 dark:bg-surface-0","transition duration-200","m-0 mr-1","hover:text-primary-600 dark:hover:text-primary-300","cursor-pointer"]},nextbutton:({props:e})=>({class:["relative","inline-flex items-center justify-center order-3","p-1.5 m-0","text-general-800 dark:text-general-800","border-0 rounded-full","bg-transparent","hover:bg-general-50 dark:hover:bg-general-50","cursor-pointer overflow-hidden"]}),table:{class:["block w-[224px]","[&_tbody]:block [&_tbody]:w-[224px]","m-0","[&_th]:text-xs [&_td]:text-xs","[&_th]:font-medium [&_td]:font-medium","[&_th]:text-general-800 [&_td]:text-general-800","[&_th]:dark:text-general-800 [&_td]:dark:text-general-800",'[&_[data-p-other-month="true"]]:invisible']},tableheadercell:{class:["px-2 py-[5.4px]"]},tablebodyrow:{class:[]},weekheader:{class:["leading-6 text-sm font-normal","text-surface-600 dark:text-white/70","opacity-40 cursor-default","mb-2"]},weeknumber:{class:["text-surface-600 dark:text-white/70 font-normal","opacity-40 cursor-default"]},weekday:{class:[]},day:{class:["p-0"]},weeklabelcontainer:({context:e})=>({class:["flex items-center justify-center","mx-auto","w-10 h-10","rounded-full","border-transparent border",{"text-surface-600 dark:text-white/70 bg-transparent":!e.selected&&!e.disabled,"text-primary-500 dark:text-primary-400":e.selected&&!e.disabled},"focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50",{"hover:bg-surface-100 dark:hover:bg-surface-800/80":!e.disabled},{"opacity-40 cursor-default":e.disabled,"cursor-pointer":!e.disabled}]}),daylabel:({context:e})=>({class:["flex items-center justify-center","w-8 h-8","rounded-full",{"text-general-800 bg-general-100 dark:text-general-800 dark:bg-general-100":e.date.today&&!e.selected&&!e.disabled,"text-general-800 dark:text-general-800 bg-transparent":!e.selected&&!e.disabled&&!e.date.today,"bg-primary-200 dark:bg-primary-200 rounded-none":e.selected&&!e.disabled&&!e.date.today,"rounded-full bg-primary-500 dark:bg-primary-500 text-surface-0 dark:text-surface-0":e.selected&&!e.disabled&&e.date.today},{"hover:bg-general-50 dark:hover:bg-general-50":!e.disabled,"hover:bg-general-200 dark:hover:bg-general-200":!e.disabled&&e.date.today&&!e.selected,"hover:bg-primary-600 dark:hover:bg-primary-600":!e.disabled&&e.date.today&&e.selected},{"opacity-40 cursor-default":e.disabled,"cursor-pointer":!e.disabled}]}),monthpicker:{class:["my-2"]},month:({context:e})=>({class:["inline-flex items-center justify-center","w-1/3","px-2.5 py-1.5","text-xs leading-tight","rounded-md",{"text-text-general-800 dark:text-general-800 bg-transparent":!e.selected&&!e.disabled,"text-primary-500 dark:text-primary-400":e.selected&&!e.disabled},"hover:bg-surface-100 dark:hover:bg-surface-600/80","cursor-pointer"]}),yearpicker:{class:["my-2"]},year:({context:e})=>({class:["inline-flex items-center justify-center","w-1/3","px-2.5 py-1.5","text-xs leading-tight","rounded-md",{"text-text-general-800 dark:text-general-800 bg-transparent":!e.selected&&!e.disabled,"text-primary-500 dark:text-primary-400":e.selected&&!e.disabled},"hover:bg-surface-100 dark:hover:bg-surface-600/80","cursor-pointer"]}),timepicker:{class:["flex","justify-center items-center","p-1.5"]},separatorcontainer:{class:["flex","items-center","flex-col","px-2"]},separator:{class:["text-xl"]},hourpicker:{class:["flex","items-center","flex-col","px-2"]},minutepicker:{class:["flex","items-center","flex-col","px-2"]},secondPicker:{class:["flex","items-center","flex-col","px-2"]},ampmpicker:{class:["flex","items-center","flex-col","px-2"]},incrementbutton:{class:["relative","inline-flex items-center justify-center","p-1.5 m-0","text-surface-500 dark:text-white/60","border-0","bg-transparent","hover:text-surface-700 dark:hover:text-white/80","cursor-pointer overflow-hidden"]},decrementbutton:{class:["relative","inline-flex items-center justify-center","p-1.5 m-0","text-surface-500 dark:text-white/60","border-0","bg-transparent","hover:text-surface-700 dark:hover:text-white/80","cursor-pointer overflow-hidden"]},groupcontainer:{class:["flex w-full"]},group:{class:["w-full"]},buttonbar:{class:["flex justify-between items-center","pt-2.5 pb-1.5 px-0","border-t border-surface-200 dark:border-surface-700"]},todaybutton:{root:{class:["inline-flex items-center justify-center","px-2.5 py-1.5 text-sm leading-none","rounded-md","bg-transparent border-transparent","text-primary-500 dark:text-primary-400","transition-colors duration-200 ease-in-out","hover:bg-primary-300/20","cursor-pointer"]}},clearbutton:{root:{class:["inline-flex items-center justify-center","px-2.5 py-1.5 text-sm leading-none","rounded-md","bg-transparent border-transparent","text-primary-500 dark:text-primary-400","transition-colors duration-200 ease-in-out","focus:outline-none focus:outline-offset-0 focus:ring-2 ring-inset","focus:ring-primary-500 dark:focus:ring-primary-400","hover:bg-primary-300/20","cursor-pointer"]}},transition:{enterFromClass:"opacity-0 scale-y-[0.8]",enterActiveClass:"transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]",leaveActiveClass:"transition-opacity duration-100 ease-linear",leaveToClass:"opacity-0"}},vw={root:{class:["rounded-lg","bg-surface-0 dark:bg-surface-0","text-general-800 dark:text-general-800"]},header:{class:["border-b border-surface-200 dark:border-surface-700"]},body:{class:"flex flex-col gap-3 p-6"},title:{class:"text-md font-medium"},subtitle:{class:["mb-1 px-5 md:px-6","text-surface-600 dark:text-surface-0/60"]},content:{class:"flex flex-col gap-3"},footer:{class:["px-5 md:px-6 pt-5 pb-0"]}},bw={root:{class:["flex flex-col"]},content:{class:["flex flex-col overflow-auto"]},container:({props:e})=>({class:["flex",{"flex-row":e.orientation!=="vertical","flex-col":e.orientation=="vertical"}]}),previousbutton:{class:["flex justify-center items-center self-center","overflow-hidden w-8 h-8","mx-2","rounded-full","border-0 bg-transparent","text-surface-600","transition duration-200 ease-in-out"]},nextbutton:{class:["flex justify-center items-center self-center","overflow-hidden w-8 h-8","mx-2","rounded-full","border-0 bg-transparent","text-surface-600","transition duration-200 ease-in-out"]},itemscontent:{class:[]},itemscontainer:({props:e})=>({class:[]}),item:({props:e})=>({class:[]}),indicators:{class:["flex flex-row justify-center flex-wrap gap-1"]},indicator:{class:[]},indicatorbutton:({context:e})=>({class:["w-1.5 h-1.5 rounded-full","transition duration-200","focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50",{"bg-surface-200 hover:bg-surface-300 dark:bg-surface-700 dark:hover:bg-surface-600":!e.highlighted,"bg-primary-500 hover:bg-primary-600":e.highlighted}]})},yw={root:({props:e,state:t})=>({class:["inline-flex","relative","w-full md:w-56","rounded-md","shadow-sm","bg-surface-0 dark:bg-surface-900",{"ring-1 ring-inset ring-surface-300 dark:ring-surface-700":!t.focused,"ring-2 ring-inset ring-primary-500 dark:ring-primary-400":t.focused},"cursor-default","select-none",{"opacity-60":e.disabled,"pointer-events-none":e.disabled}]}),label:({props:e})=>({class:["font-sans","leading-6","sm:text-sm"," flex flex-auto","w-[1%]","py-1.5 px-3","rounded-none","bg-transparent","border-0",{"text-surface-800 dark:text-white/80":e.modelValue,"text-surface-400 dark:text-surface-500":!e.modelValue},"placeholder:text-surface-400 dark:placeholder:text-surface-500","transition","duration-200","focus:outline-none focus:shadow-none","relative","cursor-pointer","overflow-hidden overflow-ellipsis","whitespace-nowrap","appearance-none"]}),dropdownbutton:{class:["sm:text-sm","flex items-center justify-center","shrink-0","bg-transparent","text-surface-500","w-12","rounded-tr-md","rounded-br-md"]},panel:{class:["absolute top-0 left-0","mt-2","border-0","rounded-md","shadow-md","bg-surface-0 dark:bg-surface-700","text-surface-800 dark:text-white/80","ring-1 ring-inset ring-surface-300 dark:ring-surface-700"]},wrapper:{class:["max-h-[200px]","overflow-auto"]},list:{class:"py-1 list-none mx-1.5"},item:({context:e})=>({class:["sm:text-sm","leading-none","border-0","rounded-md","m-0",{"text-surface-500 dark:text-white/70":!e.focused&&!e.active,"text-surface-500 dark:text-white/70 bg-surface-200 dark:bg-black/70":e.focused&&!e.active,"text-surface-900 dark:text-surface-0/80 bg-surface-50 dark:bg-black/70":e.focused&&e.active,"text-surface-900 dark:text-surface-0/80 bg-surface-50 dark:bg-black/70":!e.focused&&e.active},{"hover:bg-surface-50 dark:hover:bg-surface-800":!e.active,"hover:bg-surface-100 dark:hover:bg-black/40 text-surface-900 dark:text-surface-0/80":e.active},"transition-shadow","duration-200","cursor-pointer","overflow-hidden","whitespace-nowrap"]}),content:{class:["relative","flex","items-center","py-2 px-4","no-underline","overflow-hidden","cursor-pointer","select-none"]},groupicon:{class:["ml-auto"]},sublist:{class:["w-full sm:w-48","p-1.5","m-0","list-none","shadow-none sm:shadow-md","border-0","static sm:absolute","z-10","bg-surface-0 dark:bg-surface-700"]},separator:{class:"border-t border-surface-200 dark:border-surface-600 my-1"},transition:{enterFromClass:"opacity-0 scale-y-[0.8]",enterActiveClass:"transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]",leaveActiveClass:"transition-opacity duration-100 ease-linear",leaveToClass:"opacity-0"}},Or={root:{class:["relative","w-4 h-4","shrink-0","inline-flex","align-bottom","transition-all","duration-200"]},box:({props:e,context:t})=>({class:["flex","items-center","justify-center","w-full","h-full","rounded","border-2","text-line",{"border-general-100 bg-surface-0 dark:border-general-100 dark:bg-surface-0":!t.checked&&!e.disabled,"border-primary bg-primary dark:border-primary dark:bg-primary":t.checked&&!e.disabled},{"ring-2 ring-primary dark:ring-primary":!e.disabled&&t.focused},{"peer-focus-visible:ring-2 peer-focus-visible:ring-primary dark:peer-focus-visible:ring-primary":!e.disabled,"cursor-default bg-general-50 border-general-200 dark:bg-general-50 dark:border-general-200":e.disabled&&!t.checked,"bg-general-200 dark:bg-general-200 border-general-200 dark:border-general-200":e.disabled&&t.checked},"transition-all","duration-200"]}),input:{class:["peer","w-full ","h-full","absolute","top-0 left-0","z-10","p-0","m-0","rounded","border","opacity-0","rounded-md","outline-none","appareance-none","transition-all","duration-200","cursor-pointer"]},icon:{class:["text-normal","w-3","h-3","text-white","transition-all","duration-200"]}},ww={root:{class:["inline-flex items-center","px-2 py-0.5","rounded-[1.14rem]","text-surface-700 dark:text-surface-0/70","bg-surface-200 dark:bg-surface-700"]},label:{class:"text-xs leading-6 mx-0"},icon:{class:"leading-6 mr-2"},image:{class:["w-6 h-6 mr-2","rounded-full"]},removeIcon:{class:["rounded-md leading-6","ml-2","w-4 h-4","transition duration-200 ease-in-out","cursor-pointer"]}},kw={root:({props:e})=>({class:["flex",{"opacity-60 select-none pointer-events-none cursor-default":e.disabled}]}),container:({state:e})=>({class:["font-sans sm:text-sm leading-none","flex items-center flex-wrap gap-1","m-0 py-1 px-3","w-full","list-none","rounded-md","text-surface-900 dark:text-surface-0","bg-surface-0 dark:bg-surface-900","placeholder:text-surface-400 dark:placeholder:text-surface-500","shadow-sm",{"ring-1 ring-inset ring-surface-300 dark:ring-surface-700 ring-offset-0":!e.focused,"ring-2 ring-primary-500 dark:ring-primary-400":e.focused},"transition-colors duration-200","cursor-text overflow-hidden","appearance-none"]}),inputtoken:{class:["py-0.5 px-0","inline-flex flex-auto"]},input:{class:["font-sans sm:text-sm leading-none","w-full","p-0 m-0","appearance-none rounded-none","border-0 outline-none","text-surface-700 dark:text-white/80","bg-transparent","placeholder:text-surface-400 dark:placeholder:text-surface-500"]},token:{class:["inline-flex items-center","py-0.5 px-3","rounded-[1.14rem]","text-surface-700 dark:text-white/70","bg-surface-200 dark:bg-surface-700"]},label:{class:"leading-5"},removeTokenIcon:{class:["rounded-md leading-6","ml-2","w-4 h-4","transition duration-200 ease-in-out","cursor-pointer"]}},Sw={root:({props:e})=>({class:["inline-block",{"opacity-60 select-none pointer-events-none cursor-default":e.disabled}]}),input:{class:["font-sans text-base ","m-0","rounded","w-4","h-4","bg-surface-0 dark:bg-surface-900","border border-surface-300 dark:border-surface-700","hover:border-primary-500 dark:hover:border-primary-400","focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-primary-500 dark:focus:ring-primary-400","transition-colors duration-200","cursor-default","select-none"]},panel:({props:e})=>({class:[{"relative h-48 w-52":e.inline,"absolute h-48 w-52":!e.inline},"shadow-md","border-0","rounded-md","bg-surface-800","ring-1 ring-inset ring-surface-900 dark:ring-surface-600"]}),selector:{class:["absolute top-2 left-2","h-44 w-40"]},color:{class:["h-44 w-40"],style:"background: linear-gradient(to top, #000 0%, rgb(0 0 0 / 0) 100%), linear-gradient(to right, #fff 0%, rgb(255 255 255 / 0) 100%)"},colorhandle:{class:["absolute","rounded-full border border-solid","h-3 w-3","border-white","cursor-pointer opacity-85"]},hue:{class:["absolute top-2 left-44","h-44 w-6","opacity-85"],style:"background: linear-gradient(0deg, red 0, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, red)"},huehandle:{class:["absolute left-0 -ml-1","h-2 w-8","border-solid border-2 rounded","border-white","opacity-85"]},transition:{enterFromClass:"opacity-0 scale-y-[0.8]",enterActiveClass:"transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]",leaveActiveClass:"transition-opacity duration-100 ease-linear",leaveToClass:"opacity-0"}},xw={root:{class:["rounded-lg","shadow-xl","border-0","z-40 transform origin-center","mt-3 absolute left-0 top-0","dark:border","dark:border-surface-700","bg-surface-0 dark:bg-surface-800","text-surface-700 dark:text-surface-0/80","before:absolute before:w-0 before:-top-3 before:h-0 before:border-transparent before:border-solid before:ml-6 before:border-x-[0.75rem] before:border-b-[0.75rem] before:border-t-0 before:border-b-surface-0 dark:before:border-b-surface-800"]},content:{class:["text-sm","px-6","py-3","bg-surface-0 dark:bg-surface-800","text-surface-600 dark:text-surface-0/70","overflow-y-auto"]},icon:{class:"text-xl mr-2"},footer:{class:["flex items-center justify-end","shrink-0","text-right","gap-3","px-6","py-3","border-t-0","rounded-b-lg","bg-surface-50 dark:bg-surface-700","text-surface-700 dark:text-surface-0/80"]},rejectbutton:{root:{class:["relative","items-center inline-flex text-center align-bottom justify-center","px-2.5 py-1.5 min-w-[2rem]","text-sm","rounded-md","text-primary-500 dark:text-primary-400","hover:bg-primary-300/20","focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-inset","focus:ring-primary-500 dark:focus:ring-primary-400"]}},acceptbutton:{root:{class:["relative","items-center inline-flex text-center align-bottom justify-center","px-2.5 py-1.5 min-w-[2rem]","text-sm","rounded-md","text-white dark:text-surface-900","bg-primary-500 dark:bg-primary-400","ring-1 ring-primary-500 dark:ring-primary-400","hover:bg-primary-600 dark:hover:bg-primary-300 hover:border-primary-600 dark:hover:border-primary-300","focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-offset-current","focus:ring-primary-500 dark:focus:ring-primary-400"]}},transition:{enterFromClass:"opacity-0 scale-y-[0.8]",enterActiveClass:"transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]",leaveActiveClass:"transition-opacity duration-100 ease-linear",leaveToClass:"opacity-0"}},Vw={root:{class:["min-w-[12rem]","rounded-md","shadow-md","p-1.5","bg-surface-0 dark:bg-surface-700","text-surface-700 dark:text-white/80","dark:border dark:border-surface-700"]},menu:{class:["list-none","m-0","p-0","outline-none"]},menuitem:{class:"relative"},content:({context:e})=>({class:["rounded-md",{"text-surface-500 dark:text-white/70":!e.focused&&!e.active,"text-surface-500 dark:text-white/70 bg-surface-200 dark:bg-black/70":e.focused&&!e.active,"text-surface-900 dark:text-surface-0/80 bg-surface-50 dark:bg-black/70":e.focused&&e.active,"text-surface-900 dark:text-surface-0/80 bg-surface-50 dark:bg-black/70":!e.focused&&e.active},{"hover:bg-surface-50 dark:hover:bg-surface-800":!e.active,"hover:bg-surface-100 dark:hover:bg-black/40 text-surface-900 dark:text-surface-0/80":e.active},"transition-shadow","duration-200"]}),action:{class:["relative","font-semibold","flex","items-center","py-2","px-3","no-underline","overflow-hidden","cursor-pointer","select-none"]},icon:{class:["mr-2","leading-6","text-sm"]},label:{class:["leading-6","text-sm"]},submenu:({props:e})=>({class:["w-full sm:w-48","p-1.5","m-0","list-none","shadow-md","rounded-md","static sm:absolute","z-10",{"sm:absolute sm:left-full sm:top-0":e.level>1},"bg-surface-0 dark:bg-surface-700"]}),submenuicon:{class:["ml-auto"]},separator:{class:"border-t border-surface-200 dark:border-surface-600 my-1"},transition:{enterFromClass:"opacity-0",enterActiveClass:"transition-opacity duration-250"}},Fw={root:({props:e})=>({class:["relative",{"flex flex-col":e.scrollable&&e.scrollHeight==="flex"},{"h-full":e.scrollable&&e.scrollHeight==="flex"},"border-spacing-0 border-separate"]}),loadingoverlay:{class:["absolute","top-0 left-0","z-20","flex items-center justify-center","w-full h-full","bg-surface-100/40 dark:bg-surface-800/40","transition duration-200"]},loadingicon:{class:"w-8 h-8 animate-spin"},wrapper:({props:e})=>({class:[{relative:e.scrollable,"flex flex-col grow":e.scrollable&&e.scrollHeight==="flex"},{"h-full":e.scrollable&&e.scrollHeight==="flex"},"rounded-lg rounded-br-none rounded-bl-none"]}),header:({props:e})=>({class:["font-bold",e.showGridlines?"border-b":"border-b border-x-0","py-1.5 px-[9.6px]","bg-surface-0 dark:bg-surface-800","border-surface-300 dark:border-surface-600","text-surface-700 dark:text-white/80"]}),table:{class:"w-full border-spacing-0 border-separate"},thead:({context:e})=>({class:[{"top-0 z-40 sticky":e.scrollable}]}),tbody:({instance:e,context:t})=>({class:["border-t border-surface-300 dark:border-surface-600",{"sticky z-20 font-semibold":e.frozenRow&&t.scrollable}]}),tfoot:({context:e})=>({class:[{"bottom-0 z-0":e.scrollable}]}),footer:{class:["font-semibold","border-t-0 border-t border-x-0","p-4","bg-surface-0 dark:bg-surface-800","border-surface-200 dark:border-surface-700","text-surface-700 dark:text-white/80"]},column:{headercell:({context:e,props:t})=>({class:["font-bold","text-xs","text-general-800 dark:text-general-800","text-xs leading-[16.39px] tracking-[0.02em]",{"sticky z-20 border-b":t.frozen||t.frozen===""},{relative:e.resizable},"text-left",{"border-r last:border-r-0":e==null?void 0:e.showGridlines},"border-0 border-b border-solid","py-1.5 px-[9.6px]","bg-primary-200 dark:bg-primary-200 text-general-800 dark:text-general-800 border-general-100 dark:border-general-100",{"bg-primary-300":(t.sortable===""||t.sortable)&&e.sorted},{"transition duration-200":t.sortable===""||t.sortable},{"cursor-pointer":t.sortable===""||t.sortable},{"overflow-hidden space-nowrap bg-clip-padding":e.resizable}]}),headercontent:{class:"flex items-center select-none gap-1"},headertitle:{class:"whitespace-nowrap"},sort:({context:e})=>({class:["text-general-800 dark:text-general-800"]}),bodycell:({props:e,context:t,state:n,parent:r})=>({class:[{sticky:r.instance.frozenRow},{sticky:e.frozen||e.frozen===""},"text-xs font-medium leading-[16.39px] tracking-[0.02em]","text-left","border-b border-solid border-general-100 dark:border-general-100",{"last:border-r-0 border-r border-b":t==null?void 0:t.showGridlines},{"bg-white dark:bg-white":r.instance.frozenRow||e.frozen||e.frozen===""&&!r.props.selected,"bg-primary-50 dark:bg-primary-50":(r.instance.frozenRow||e.frozen||e.frozen==="")&&r.props.selected},"py-[4.5px] px-2 min-h-6","space-nowrap text-nowrap w-max whitespace-nowrap"]}),footercell:({context:e})=>({class:["font-bold","text-left",{"border-r last:border-r-0":e==null?void 0:e.showGridlines},"border-0 border-t border-solid",(e==null?void 0:e.size)==="small"?"p-2":(e==null?void 0:e.size)==="large"?"p-5":"p-4","border-surface-200 dark:border-surface-700","text-surface-700 dark:text-white/80","bg-surface-0 dark:bg-surface-800"]}),sorticon:{class:"w-[9px] h-[9px]"},sortbadge:{class:["flex items-center justify-center align-middle","rounded-full","w-[12px] leading-[1.143rem]","ml-2","text-primary-700 dark:text-white","bg-primary-50 dark:bg-primary-400/30"]},columnfilter:{class:"inline-flex items-center ml-auto"},filteroverlay:{class:["absolute top-0 left-0","mt-2","border-0","rounded-md","shadow-md","min-w-[12.5rem]","bg-surface-0 dark:bg-surface-800","text-surface-800 dark:text-white/80","ring-1 ring-inset ring-surface-300 dark:ring-surface-700"]},filtermatchmodedropdown:{root:({state:e})=>({class:["flex","relative","mb-2","w-full","rounded-md","shadow-sm","bg-surface-0 dark:bg-surface-900",{"ring-1 ring-inset ring-surface-300 dark:ring-surface-700":!e.focused},"transition-all","duration-200",{"outline-none outline-offset-0 ring-2 ring-primary-500 dark:ring-primary-400":e.focused},"cursor-default","select-none"]}),input:({props:e})=>({class:["font-sans","leading-6","sm:text-xs","block","flex-auto","bg-transparent","border-0",{"text-surface-800 dark:text-white/80":e.modelValue,"text-surface-400 dark:text-surface-500":!e.modelValue},"placeholder:text-surface-400 dark:placeholder:text-surface-500","py-1.5 px-[9.6px]","rounded-none","transition","duration-200","focus:outline-none focus:shadow-none","relative","cursor-pointer","overflow-hidden overflow-ellipsis","whitespace-nowrap","appearance-none"]})},filterrowitems:{class:"py-1 list-none m-0"},filterrowitem:({context:e})=>({class:["sm:text-xs","leading-none",{"font-normal":!(e!=null&&e.highlighted),"font-bold":e==null?void 0:e.highlighted},"relative","border-0","rounded-none","m-0","py-2 px-4",{"text-surface-700 dark:text-white/80":!(e!=null&&e.highlighted)},{"bg-surface-0 dark:bg-surface-800 text-surface-700 dark:text-white/80":!(e!=null&&e.highlighted)},{"bg-primary-500 dark:bg-primary-400 text-white dark:text-surface-700":e==null?void 0:e.highlighted},"hover:bg-primary-500 dark:hover:bg-primary-400 hover:text-white dark:hover:text-surface-700","focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400","transition-shadow","duration-200","cursor-pointer","overflow-hidden","whitespace-nowrap"]}),filteroperator:{class:["p-4","border-b border-solid","rounded-t-md","text-surface-700 dark:text-white/80","border-surface-200 dark:border-surface-700"]},filteroperatordropdown:{root:({state:e})=>({class:["flex","relative","w-full","rounded-md","shadow-sm","text-surface-800 dark:text-white/80","placeholder:text-surface-400 dark:placeholder:text-surface-500","bg-surface-0 dark:bg-surface-900",{"ring-1 ring-inset ring-surface-300 dark:ring-surface-700":!e.focused},"transition-all","duration-200",{"outline-none outline-offset-0 ring-2 ring-primary-500 dark:ring-primary-400":e.focused},"cursor-default","select-none"]}),input:{class:["font-sans","leading-6","sm:text-xs","block","flex-auto","bg-transparent","border-0","text-surface-800 dark:text-white/80","placeholder:text-surface-400 dark:placeholder:text-surface-500","py-1.5 px-[9.6px]","rounded-none","transition","duration-200","focus:outline-none focus:shadow-none","relative","cursor-pointer","overflow-hidden overflow-ellipsis","whitespace-nowrap","appearance-none"]},trigger:{class:["flex items-center justify-center","shrink-0","bg-transparent","text-surface-500","w-12","rounded-tr-md","rounded-br-md"]},panel:{class:["absolute top-0 left-0","mt-2","border-0","rounded-md","shadow-md","min-w-[12.5rem]","bg-surface-0 dark:bg-surface-800","text-surface-800 dark:text-white/80","ring-1 ring-inset ring-surface-300 dark:ring-surface-700"]},list:{class:"py-1 list-none m-0"},item:({context:e})=>({class:["sm:text-xs","leading-none",{"font-normal":!(e!=null&&e.highlighted),"font-bold":e==null?void 0:e.highlighted},"relative","border-0","rounded-none","m-0","py-2 px-4",{"text-surface-700 dark:text-white/80":!(e!=null&&e.highlighted)},{"bg-surface-0 dark:bg-surface-800 text-surface-700 dark:text-white/80":!(e!=null&&e.highlighted)},{"bg-primary-500 dark:bg-primary-400 text-white dark:text-surface-700":e==null?void 0:e.highlighted},"hover:bg-primary-500 dark:hover:bg-primary-400 hover:text-white dark:hover:text-surface-700","transition-shadow","duration-200","cursor-pointer","overflow-hidden","whitespace-nowrap"]})},filterconstraint:{class:["p-4","border-b border-solid","border-surface-200 dark:border-surface-700"]},filteraddrule:{class:"pt-4 pb-2 px-4"},filteraddrulebutton:{root:{class:["relative","items-center inline-flex text-center align-bottom justify-center","text-xs px-[9.6px] py-1.5 min-w-[2rem] w-full","rounded-md","bg-transparent border-transparent","text-primary-500 dark:text-primary-400","hover:bg-primary-300/20","focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-offset-current","focus:ring-primary-500 dark:focus:ring-primary-400","transition duration-200 ease-in-out","cursor-pointer overflow-hidden select-none"]},label:{class:"flex-auto grow-0"},icon:{class:"mr-2"}},filterremovebutton:{root:{class:["relative","items-center inline-flex text-center align-bottom justify-center","text-xs px-[9.6px] py-1.5 min-w-[2rem] w-full mt-2","rounded-md","bg-transparent border-transparent","text-red-500 dark:text-red-400","hover:bg-red-300/20","focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-offset-current","focus:ring-red-500 dark:focus:ring-red-400","transition duration-200 ease-in-out","cursor-pointer overflow-hidden select-none"]},label:{class:"flex-auto grow-0"},icon:{class:"mr-2"}},filterbuttonbar:{class:["flex items-center justify-between","py-4 px-4"]},filterclearbutton:{root:{class:["relative","items-center inline-flex text-center align-bottom justify-center","text-xs px-[9.6px] py-1.5 min-w-[2rem]","rounded-md shadow-sm border-0","text-primary-500 ring-1 ring-primary-500 hover:bg-primary-300/20","hover:bg-primary-300/20","focus:ring-primary-500 dark:focus:ring-primary-400","transition duration-200 ease-in-out","cursor-pointer overflow-hidden select-none"]}},filterapplybutton:{root:{class:["relative","items-center inline-flex text-center align-bottom justify-center","text-xs px-[9.6px] py-1.5 min-w-[2rem]","rounded-md border-0","text-white dark:text-surface-900","bg-primary-500 dark:bg-primary-400","ring-1 ring-primary-500 dark:ring-primary-400","hover:bg-primary-600 dark:hover:bg-primary-300 hover:ring-primary-600 dark:hover:ring-primary-300","focus:ring-primary-500 dark:focus:ring-primary-400","transition duration-200 ease-in-out","cursor-pointer overflow-hidden select-none"]}},filtermenubutton:({context:e})=>({class:["relative","inline-flex items-center justify-center","w-8 h-8","ml-2","rounded-full",{"bg-primary-50 text-primary-700":e.active},"dark:text-white/70 dark:hover:text-white/80 dark:bg-surface-800","hover:text-surface-700 hover:bg-surface-300/20","focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-inset focus:ring-primary-500 dark:focus:ring-primary-400","transition duration-200","cursor-pointer no-underline overflow-hidden"]}),headerfilterclearbutton:({context:e})=>({class:["relative","inline-flex items-center justify-center","text-left","border-none","m-0 p-0 ml-2","bg-transparent","cursor-pointer no-underline overflow-hidden select-none",{invisible:!e.hidden}]}),rowtoggler:{class:["relative","inline-flex items-center justify-center","text-left","m-0 p-0","w-8 h-8","border-0 rounded-full","text-surface-500 dark:text-white/70","bg-transparent","focus-visible:outline-none focus-visible:outline-offset-0","focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400","transition duration-200","overflow-hidden","cursor-pointer select-none"]},columnresizer:{class:["block","absolute top-0 right-0","w-2 h-full","m-0 p-0","border border-transparent","cursor-col-resize"]},rowreordericon:{class:"cursor-move"},roweditorinitbutton:{class:["relative","inline-flex items-center justify-center","text-left","w-8 h-8","border-0 rounded-full","text-surface-700 dark:text-white/70","border-transparent","focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-inset focus:ring-primary-500 dark:focus:ring-primary-400","hover:text-surface-700 hover:bg-surface-300/20","transition duration-200","overflow-hidden","cursor-pointer select-none"]},roweditorsavebutton:{class:["relative","inline-flex items-center justify-center","text-left","w-8 h-8","border-0 rounded-full","text-surface-700 dark:text-white/70","border-transparent","focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-inset focus:ring-primary-500 dark:focus:ring-primary-400","hover:text-surface-700 hover:bg-surface-300/20","transition duration-200","overflow-hidden","cursor-pointer select-none"]},roweditorcancelbutton:{class:["relative","inline-flex items-center justify-center","text-left","w-8 h-8","border-0 rounded-full","text-surface-700 dark:text-white/70","border-transparent","focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-inset focus:ring-primary-500 dark:focus:ring-primary-400","hover:text-surface-700 hover:bg-surface-300/20","transition duration-200","overflow-hidden","cursor-pointer select-none"]},radiobuttonwrapper:{class:["relative","inline-flex align-bottom","w-4 h-4","cursor-pointer select-none"]},rowRadioButton:{root:{class:["relative","inline-flex","align-bottom","w-4 h-4","cursor-default","select-none"]},box:({props:e})=>({class:["flex justify-center items-center","w-4 h-4","text-xs","font-medium","border-2","rounded-full","transition duration-200 ease-in-out",{"text-surface-700 dark:text-white/80":!e.modelValue,"bg-surface-0 dark:bg-surface-900":!e.modelValue,"border-surface-300 dark:border-surface-700":!e.modelValue,"border-primary-500 dark:border-primary-400":e.modelValue},{"outline-none outline-offset-0":!e.disabled,"peer-focus-visible:ring-2 peer-focus-visible:ring-offset-2 peer-focus-visible:ring-offset-surface-0 dark:focus-visible:ring-offset-surface-800 peer-focus-visible:ring-primary-500 dark:peer-focus-visible:ring-primary-400":!e.disabled,"opacity-60 cursor-default":e.disabled}]}),input:{class:["peer","w-full ","h-full","absolute","top-0 left-0","z-10","p-0","m-0","opacity-0","rounded-md","outline-none","border-2 border-surface-300 dark:border-surface-700","appareance-none","cursor-default"]},icon:{class:"hidden"}},headerCheckbox:Or,rowCheckbox:Or,transition:{enterFromClass:"opacity-0 scale-y-[0.8]",enterActiveClass:"transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]",leaveActiveClass:"transition-opacity duration-100 ease-linear",leaveToClass:"opacity-0"}},bodyrow:({context:e,props:t})=>({class:["rounded-lg",{"text-general-800 dark:text-general-800":!e.selected,"text-primary-500 dark:text-primary-500":e.selected},{"bg-primary-50 dark:bg-primary-50":e.selected&&e.stripedRows},{"bg-primary-50 dark:bg-primary-50":e.selected&&!e.stripedRows},{"bg-bg-white text-surface-600 dark:bg-white":!e.selected},{"odd:bg-surface-0 odd:text-surface-600 dark:odd:bg-surface-800 even:bg-surface-50 even:text-surface-600 dark:even:bg-surface-900/60":e.stripedRows&&!e.selected},{"focus:outline-none focus:outline-offset-0":t.selectionMode},{"hover:bg-surface-50 hover:text-surface-600":t.selectionMode&&!e.selected},{"transition duration-200":t.selectionMode&&!e.selected||t.rowHover},{"cursor-pointer":t.selectionMode}]}),rowexpansion:{class:"bg-surface-0 dark:bg-surface-800 text-surface-600 dark:text-white/80"},rowgroupheader:{class:["sticky z-20","bg-surface-0 text-surface-600 dark:text-white/70","dark:bg-surface-800"]},rowgroupfooter:{class:["sticky z-20","bg-surface-0 text-surface-600 dark:text-white/70","dark:bg-surface-800"]},rowgrouptoggler:{class:["relative","inline-flex items-center justify-center","text-left","m-0 p-0","w-8 h-8","border-0 rounded-full","text-surface-500 dark:text-white/70","bg-transparent","focus-visible:outline-none focus-visible:outline-offset-0","focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400","transition duration-200","overflow-hidden","cursor-pointer select-none"]},rowgrouptogglericon:{class:"inline-block w-4 h-4"},resizehelper:{class:"absolute hidden w-[2px] z-20 bg-primary-500 dark:bg-primary-400"}},Tw={content:{class:["p-0","border-0","text-surface-700 dark:text-white/80","bg-surface-0 dark:bg-surface-800"]},grid:{class:["flex flex-wrap","ml-0 mr-0 mt-0","bg-surface-0 dark:bg-surface-800"]},header:{class:["font-semibold","p-6","text-surface-800 dark:text-white/80","bg-surface-0 dark:bg-surface-800","border-surface-200 dark:border-surface-700 border-b"]}},Rw={listbutton:({props:e})=>({class:["leading-none","inline-flex items-center align-bottom text-center","rounded-md rounded-r-none","px-2.5 py-1.5","ring-1 ring-surface-200 dark:ring-surface-700",e.modelValue==="list"?"bg-surface-100 dark:bg-surface-700 text-surface-700 dark:text-surface-0":"bg-surface-0 dark:bg-surface-900 text-surface-700 dark:text-white/80","focus:outline-none focus:outline-offset-0 focus:ring-primary-500 dark:focus:ring-primary-400","hover:bg-surface-200 dark:hover:bg-surface-600/80","transition duration-200","cursor-pointer select-none overflow-hidden"]}),gridbutton:({props:e})=>({class:["leading-none","inline-flex items-center align-bottom text-center","rounded-md rounded-l-none","px-2.5 py-1.5","ring-1 ring-surface-200 dark:ring-surface-700",e.modelValue==="grid"?"bg-surface-100 dark:bg-surface-700 text-surface-700 dark:text-surface-0":"bg-surface-0 dark:bg-surface-900 text-surface-700 dark:text-white/80","focus:outline-none focus:outline-offset-0 focus:ring-primary-500 dark:focus:ring-primary-400","hover:bg-surface-200 dark:hover:bg-surface-600/80","transition duration-200","cursor-pointer select-none overflow-hidden"]})},_e={root:({state:e})=>({class:["rounded-[0.4375em]","shadow-[box-shadow: -4px 4px 20px 0px #0000001A]","flex flex-col","p-6","gap-3","bg-white dark:bg-white","max-h-[90vh]",{"sm:max-w-[90vw]":!e.maximized},"m-0","transform","scale-100",{"transition-none":e.maximized,"transform-none":e.maximized,"!w-screen":e.maximized,"!h-screen":e.maximized,"!max-h-full":e.maximized,"!top-0":e.maximized,"!left-0":e.maximized}]}),header:{class:["flex items-center justify-between gap-2","shrink-0","rounded-tl-lg","rounded-tr-lg","text-header-weak dark:text-header-weak"]},title:{class:["text-general-800 text-sm font-bold leading-[19.12px] tracking-[0.02em]"]},icons:{class:["flex items-center ml-auto"]},closeButton:{class:["relative","flex items-center justify-center","mr-2","last:mr-0","w-6 h-6","border-0","rounded-full","text-surface-500","bg-transparent","transition duration-200 ease-in-out","hover:text-surface-700 dark:hover:text-white/80","hover:bg-surface-100 dark:hover:bg-surface-800/80","focus:outline-none focus:outline-offset-0 focus:ring-1 focus:ring-inset","focus:ring-primary-500 dark:focus:ring-primary-400","overflow-hidden"]},maximizablebutton:{class:["relative","flex items-center justify-center","mr-2","last:mr-0","w-6 h-6","border-0","rounded-full","text-surface-500","bg-transparent","transition duration-200 ease-in-out","hover:text-surface-700 dark:hover:text-white/80","hover:bg-surface-100 dark:hover:bg-surface-800/80","focus:outline-none focus:outline-offset-0 focus:ring-1 focus:ring-inset","focus:ring-primary-500 dark:focus:ring-primary-400","overflow-hidden"]},closeButtonIcon:{class:["inline-block","text-general-200 dark:text-general-200","w-3","h-3"]},maximizableicon:{class:["inline-block","w-3","h-3"]},content:({state:e,instance:t})=>({class:["!text-header-weak text-xs font-medium tracking-[0.02em]","flex flex-col gap-3","text-surface-600 dark:text-surface-0/70","overflow-y-auto",{grow:e==null?void 0:e.maximized}]}),footer:{class:["flex items-center justify-end","shrink-0","text-right","gap-3","border-t-0","rounded-b-lg","bg-inherit dark:bg-inherit","text-surface-700 dark:text-surface-0/80"]},mask:({props:e})=>({class:["transition","duration-300",{"p-5":!e.position=="full"},{"has-[.mask-active]:bg-transparent dark:has-[.mask-active]:bg-transparent bg-dialog-mask dark:dialog-mask":e.modal,"has-[.mask-active]:backdrop-blur-none backdrop-blur-sm":e.modal}]}),transition:({props:e})=>e.position==="top"?{enterFromClass:"opacity-0 scale-75 translate-x-0 -translate-y-full translate-z-0 mask-active",enterActiveClass:"transition-all duration-200 ease-out",leaveActiveClass:"transition-all duration-200 ease-out",leaveToClass:"opacity-0 scale-75 translate-x-0 -translate-y-full translate-z-0 mask-active"}:e.position==="bottom"?{enterFromClass:"opacity-0 scale-75 translate-y-full mask-active",enterActiveClass:"transition-all duration-200 ease-out",leaveActiveClass:"transition-all duration-200 ease-out",leaveToClass:"opacity-0 scale-75 translate-x-0 translate-y-full translate-z-0 mask-active"}:e.position==="left"||e.position==="topleft"||e.position==="bottomleft"?{enterFromClass:"opacity-0 scale-75 -translate-x-full translate-y-0 translate-z-0 mask-active",enterActiveClass:"transition-all duration-200 ease-out",leaveActiveClass:"transition-all duration-200 ease-out",leaveToClass:"opacity-0 scale-75 -translate-x-full translate-y-0 translate-z-0 mask-active"}:e.position==="right"||e.position==="topright"||e.position==="bottomright"?{enterFromClass:"opacity-0 scale-75 translate-x-full translate-y-0 translate-z-0 mask-active",enterActiveClass:"transition-all duration-200 ease-out",leaveActiveClass:"transition-all duration-200 ease-out",leaveToClass:"opacity-0 scale-75 opacity-0 scale-75 translate-x-full translate-y-0 translate-z-0 mask-active"}:{enterFromClass:"opacity-0 scale-75 mask-active",enterActiveClass:"transition-all duration-200 ease-out",leaveActiveClass:"transition-all duration-200 ease-out",leaveToClass:"opacity-0 scale-75 mask-active"}},Uw={root:({props:e})=>({class:["flex relative",{"justify-center":e.layout=="vertical"},{"items-center":e.layout=="vertical"},{"justify-start":(e==null?void 0:e.align)=="left"&&e.layout=="horizontal","justify-center":(e==null?void 0:e.align)=="center"&&e.layout=="horizontal","justify-end":(e==null?void 0:e.align)=="right"&&e.layout=="horizontal","items-center":(e==null?void 0:e.align)=="top"&&e.layout=="vertical","items-start":(e==null?void 0:e.align)=="center"&&e.layout=="vertical","items-end":(e==null?void 0:e.align)=="bottom"&&e.layout=="vertical"},{"my-5 mx-0 py-0 px-5":e.layout=="horizontal","mx-4 md:mx-5 py-5":e.layout=="vertical"},{"w-full":e.layout=="horizontal","min-h-full":e.layout=="vertical"},"before:block",{"before:absolute before:left-0 before:top-1/2":e.layout=="horizontal","before:absolute before:left-1/2 before:top-0 before:transform before:-translate-x-1/2":e.layout=="vertical"},{"before:w-full":e.layout=="horizontal","before:min-h-full":e.layout=="vertical"},{"before:border-solid":e.type=="solid","before:border-dotted":e.type=="dotted","before:border-dashed":e.type=="dashed"},{"before:border-t before:border-surface-200 before:dark:border-surface-600":e.layout=="horizontal","before:border-l before:border-surface-200 before:dark:border-surface-600":e.layout=="vertical"}]}),content:{class:["p-2 z-10","bg-surface-0 dark:bg-surface-800"]}},Ew={root:({props:e})=>({class:["absolute z-1",{"left-0 bottom-0 w-full":e.position=="bottom","left-0 top-0 w-full":e.position=="top","left-0 top-0 h-full":e.position=="left","right-0 top-0 h-full":e.position=="right"},"flex justify-center items-center","pointer-events-none"]}),container:{class:["flex","rounded-md","bg-surface-0/10 dark:bg-surface-900/20 border border-surface-0/20","backdrop-blur-sm","p-2","pointer-events-auto"]},menu:({props:e})=>({class:["flex items-center justify-center",{"flex-col":e.position=="left"||e.position=="right"},"m-0 p-0 list-none","outline-none"]}),menuitem:({props:e,context:t,instance:n})=>({class:["p-2 rounded-md",{"hover:scale-150":n.currentIndex===t.index,"scale-125":n.currentIndex-1===t.index||n.currentIndex+1===t.index,"scale-110":n.currentIndex-2===t.index||n.currentIndex+2===t.index},{"origin-bottom hover:mx-6":e.position=="bottom","origin-top hover:mx-6":e.position=="top","origin-left hover:my-6":e.position=="left","origin-right hover:my-6":e.position=="right"},"transition-all duration-200 ease-cubic-bezier-will-change-transform transform"]}),action:{class:["flex flex-col items-center justify-center","relative","w-16 h-16","cursor-default overflow-hidden"]}},Fo={root:({props:e,state:t})=>({class:["inline-flex","relative","w-full h-max","cursor-default","select-none",{"opacity-60":e.disabled,"pointer-events-none":e.disabled}]}),labelContainer:{class:"overflow-hidden flex flex-auto cursor-pointer h-max py-0.5 px-3 pr-0"},label:({props:e})=>({class:["flex gap-1","h-max",{"leading-5":e.modelValue==null},"text-xs","rounded-none",{"text-general-200 font-light":e.modelValue==null,"text-grayscale-800 font-medium":e.modelValue!=null},"transition duration-200","overflow-hidden whitespace-nowrap cursor-pointer overflow-ellipsis"]}),token:{class:["inline-flex items-center gap-1","p-1","rounded-lg","text-[9px]","font-semibold","leading-[12px]","tracking-[0.03em]","items-center","text-grayscale-800 dark:text-grayscale-800","bg-grayscale-200 dark:bg-grayscale-200"]},removeTokenIcon:{class:["rounded-md leading-6","ml-2","w-4 h-4","transition duration-200 ease-in-out","cursor-pointer"]},trigger:{class:["mr-1","flex items-center justify-center","shrink-0","bg-transparent","text-surface-500","w-6","rounded-tr-md","rounded-br-md"]},panel:{class:["absolute top-0 left-0","mt-2","max-w-[30vw]","border-0","rounded-lg","shadow-panel","bg-surface-0 dark:bg-surface-800","text-surface-800 dark:text-white/80"]},header:{class:["flex items-center self-stretch justify-between gap-2","py-3 px-4","m-0","border-b","rounded-tl-md","rounded-tr-md","text-surface-700 dark:text-white/80","bg-surface-50 dark:bg-surface-800"]},headerCheckboxContainer:{class:["relative","inline-flex","align-bottom","w-4","h-4","mr-2","cursor-default","select-none"]},headerCheckbox:Or,itemCheckbox:Or,closeButton:{class:["hidden"]},closeButtonIcon:{class:["inline-block","w-3","h-3"]},wrapper:{class:["max-h-[15rem]","overflow-auto"]},list:{class:"py-1 list-none m-0"},item:({context:e})=>({class:["text-xs",{"font-medium":!e.selected,"font-bold":e.selected},"flex items-center gap-2","relative","border-0","rounded-none","m-0","py-2 px-4",{"text-surface-700 dark:text-white/80":!e.focused&&!e.selected&&!e.disabled},{"text-surface-600 dark:text-white/70":!e.focused&&!e.selected&&e.disabled},{"bg-surface-200 dark:bg-surface-600/60 text-surface-700 dark:text-white/80":e.focused&&!e.selected},{"bg-primary-bg-weak dark:bg-primary-bg-weak text-primary dark:text-primary":e.focused&&e.selected},{"bg-transparent text-surface-700 dark:text-white/80":!e.focused&&e.selected},"hover:bg-primary-bg-weak dark:hover:bg-primary-bg-weak hover:text-primary dark:hover:text-primary","focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400",{"pointer-events-none cursor-default":e.disabled},{"cursor-pointer":!e.disabled},"overflow-hidden","whitespace-nowrap"]}),option:{class:"overflow-hidden text-ellipsis w-max"},itemgroup:{class:["font-bold","sm:text-sm","m-0","py-2 px-4","text-surface-800 dark:text-white/80","bg-surface-0 dark:bg-surface-600/80","cursor-auto"]},filtercontainer:{class:["flex items-center relative w-full gap-2","bg-input dark:bg-input","py-2 px-3","text-[0.7rem]","leading-4","w-full","text-label dark:text-label","bg-surface-0 dark:bg-surface-900","placeholder:text-surface-400","ring-1 ring-inset ring-body dark:ring-body","border-0","rounded-[6px]"]},filterinput:{class:["w-full","appearance-none","focus-visible:outline-none"]},filtericon:{class:["absolute","top-1/2 right-3","-mt-2"]},clearicon:{class:["text-surface-500","absolute","top-1/2","right-12","-mt-2"]},emptymessage:{class:["leading-none","text-xs","py-2 px-4","text-grayscale-800 dark:text-grayscale-800","bg-transparent"]},transition:{enterFromClass:"opacity-0 scale-y-[0.8]",enterActiveClass:"transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]",leaveActiveClass:"transition-opacity duration-100 ease-linear",leaveToClass:"opacity-0"}},Cw={root:({props:e,state:t})=>({class:["inline-flex","relative","w-full","rounded-md","cursor-default","select-none",{"opacity-60":e.disabled,"pointer-events-none":e.disabled}]}),input:({props:e})=>({class:["text-xs",{"text-general-200 font-light":e.modelValue==null,"text-general-800 font-medium":e.modelValue!=null},"block","flex-auto","bg-transparent","border-0","placeholder:text-general-200 dark:placeholder:text-general-200","h-[26px]","py-1 px-3 pr-0",{"pr-7":e.showClear},"rounded-none","transition","duration-200","focus:outline-none focus:shadow-none","relative","cursor-pointer","overflow-hidden overflow-ellipsis","whitespace-nowrap","appearance-none"]}),trigger:{class:["mr-1","flex items-center justify-center","shrink-0","bg-transparent","text-general-200","w-6","rounded-tr-md","rounded-br-md"]},panel:{class:["absolute top-0 left-0","mt-2","max-w-[30vw]","border-0","rounded-lg","shadow-panel","bg-surface-0 dark:bg-surface-800","text-surface-800 dark:text-white/80"]},wrapper:{class:["max-h-[15rem]","overflow-auto"]},list:{class:"py-1 list-none m-0"},item:({context:e})=>({class:["text-xs",{"font-medium":!e.selected,"font-bold":e.selected},"w-full overflow-hidden text-ellipsis","relative","border-0","rounded-none","m-0","py-2 px-4",{"text-surface-700 dark:text-white/80":!e.focused&&!e.selected&&!e.disabled},{"text-surface-600 dark:text-white/70":!e.focused&&!e.selected&&e.disabled},{"bg-surface-200 dark:bg-surface-600/60 text-surface-700 dark:text-white/80":e.focused&&!e.selected},{"bg-primary-bg-weak dark:bg-primary-bg-weak text-primary dark:text-primary":e.focused&&e.selected},{"bg-transparent text-surface-700 dark:text-white/80":!e.focused&&e.selected},"hover:bg-primary-bg-weak dark:hover:bg-primary-bg-weak hover:text-primary dark:hover:text-primary","focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400",{"pointer-events-none cursor-default":e.disabled},{"cursor-pointer":!e.disabled},"overflow-hidden","whitespace-nowrap"]}),itemgroup:{class:["font-bold","sm:text-sm","m-0","py-2 px-4","text-surface-800 dark:text-white/80","bg-surface-0 dark:bg-surface-600/80","cursor-auto"]},emptymessage:{class:["leading-none text-xs","py-2 px-4","text-surface-800 dark:text-white/80","bg-transparent"]},header:Fo.header,filtercontainer:Fo.filtercontainer,filterinput:Fo.filterinput,filtericon:Fo.filtericon,clearicon:{class:["text-general-200","absolute","top-1/2","right-12","-mt-2"]},transition:{enterFromClass:"opacity-0 scale-y-[0.8]",enterActiveClass:"transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]",leaveActiveClass:"transition-opacity duration-100 ease-linear",leaveToClass:"opacity-0"}},Nw={root:{class:["block","px-5 md:px-6 py-5","rounded-md rounded-lg","bg-surface-0 dark:bg-surface-900","text-surface-700 dark:text-surface-0/80","ring-1 ring-inset ring-surface-300 dark:ring-surface-700 ring-offset-0"]},legend:({props:e})=>({class:["font-medium","leading-none",{"p-0":e.toggleable,"px-3 py-1.5":!e.toggleable},"rounded-md","text-surface-700 dark:text-surface-0/80","bg-surface-0 dark:bg-surface-900","transition-none",{"":e.toggleable},{"focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-primary-600 ring-inset dark:focus:ring-primary-500":e.toggleable}]}),toggler:({props:e})=>({class:["flex items-center justify-center","relative",{"px-3 py-1.5":e.toggleable},{"rounded-md":e.toggleable},{"text-surface-700 dark:text-surface-200 hover:text-surface-900 hover:text-surface-900":e.toggleable},{"hover:text-surface-900 dark:hover:text-surface-100":e.toggleable},{"focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-inset focus:ring-primary-600 dark:focus:ring-primary-500":e.toggleable},{"transition-none cursor-pointer overflow-hidden select-none":e.toggleable}]}),togglerIcon:{class:"mr-2 inline-block"},legendTitle:{class:"flex items-center justify-center leading-none"},content:{class:"p-0"},transition:{enterFromClass:"max-h-0",enterActiveClass:"overflow-hidden transition-[max-height] duration-1000 ease-[cubic-bezier(0.42,0,0.58,1)]",enterToClass:"max-h-[1000px]",leaveFromClass:"max-h-[1000px]",leaveActiveClass:"overflow-hidden transition-[max-height] duration-[450ms] ease-[cubic-bezier(0,1,0,1)]",leaveToClass:"max-h-0"}},Bw={css:`
31
31
  *[data-pd-ripple="true"]{
32
32
  overflow: hidden;
33
33
  position: relative;