@gemafajarramadhan/dynamic-ui 1.2.9 → 1.2.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dynamic-ui.es.js +1428 -1427
- package/dist/dynamic-ui.umd.js +80 -80
- package/dist/index.d.ts +11 -0
- package/package.json +1 -1
- package/src/index.d.ts +11 -0
package/dist/dynamic-ui.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(ne,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue"),require("@vuepic/vue-datepicker"),require("@uppy/core"),require("@uppy/dashboard"),require("@uppy/image-editor"),require("vue-router"),require("vue-i18n")):typeof define=="function"&&define.amd?define(["exports","vue","@vuepic/vue-datepicker","@uppy/core","@uppy/dashboard","@uppy/image-editor","vue-router","vue-i18n"],t):(ne=typeof globalThis<"u"?globalThis:ne||self,t(ne.DynamicUI={},ne.Vue,ne.VueDatePicker,ne.Uppy,ne.UppyDashboard,ne.UppyImageEditor,ne.VueRouter,ne.VueI18n))})(this,(function(ne,t,Je,fq,p_,kq,H1,vS){"use strict";var zQ=Object.defineProperty;var pq=ne=>{throw TypeError(ne)};var qQ=(ne,t,Je)=>t in ne?zQ(ne,t,{enumerable:!0,configurable:!0,writable:!0,value:Je}):ne[t]=Je;var se=(ne,t,Je)=>qQ(ne,typeof t!="symbol"?t+"":t,Je),PQ=(ne,t,Je)=>t.has(ne)||pq("Cannot "+Je);var T1=(ne,t,Je)=>(PQ(ne,t,"read from private field"),Je?Je.call(ne):t.get(ne)),yq=(ne,t,Je)=>t.has(ne)?pq("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(ne):t.set(ne,Je);var kS;function mq(a){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const n in a)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(a,n);Object.defineProperty(e,n,o.get?o:{enumerable:!0,get:()=>a[n]})}}return e.default=a,Object.freeze(e)}const j1=mq(t);let pt={};function gq(a){pt={...pt,...a}}function Mq(){return pt}function bq(){return pt.apiBaseUrl?pt.apiBaseUrl:typeof window<"u"&&window.__MICRO_API_BASE_URL__?window.__MICRO_API_BASE_URL__:""}function xq(){const a={"Content-Type":"application/json",Accept:"application/json"};let e=null;if(pt.getAuthToken?e=pt.getAuthToken():typeof window<"u"&&window.__MICRO_AUTH_TOKEN__?e=window.__MICRO_AUTH_TOKEN__:typeof localStorage<"u"&&(e=localStorage.getItem("token")||sessionStorage.getItem("token")),e&&(a.Authorization=`Bearer ${e}`),pt.getHeaders){const n=pt.getHeaders();return{...a,...n}}return a}function wq(){pt.onUnauthorized&&pt.onUnauthorized()}async function y_(a,e,n){const o=Mq();if(o.apiClient)return o.apiClient(a,e||"GET",n);if(!a||!a.trim())throw new Error("[DynamicUI][useApi] URL tidak boleh kosong. Pastikan prop `endpoint.apiUrl` sudah diisi dengan benar.");const r=["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"],i=(e||"").trim().toUpperCase(),s=r.includes(i)?i:"GET";r.includes(i)||console.warn(`[DynamicUI][useApi] HTTP method '${e}' tidak valid, fallback ke 'GET'.`);const c=bq(),d=a.startsWith("http")?a:`${c}${a}`,h={method:s,headers:xq()};n&&!["GET","DELETE"].includes(s)&&(h.body=JSON.stringify(n));let u=d;if(n&&s==="GET"){const f=new URLSearchParams;Object.entries(n).forEach(([m,g])=>{g!=null&&f.append(m,String(g))});const k=f.toString();k&&(u=`${d}${d.includes("?")?"&":"?"}${k}`)}const p=await fetch(u,h);if(p.status===401&&wq(),!p.ok){const f=await p.text();throw new Error(`HTTP ${p.status}: ${f}`)}return(p.headers.get("content-type")||"").includes("application/json")?p.json():{status:!0,data:await p.text()}}function Ke(){return{apiUrl:(n,o,r)=>y_(n,o,r),DCodeApi:(n,o,r,i)=>{let s=n,c=o,d=r;return i&&i._url?(s=i._url,c=i._method||c||"POST",i._data&&(d={...d||{},...i._data})):n&&o&&(["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"].includes(o.toUpperCase())||(s=`${n.endsWith("/")?n.slice(0,-1):n}/${o}`,c="POST")),y_(s,c,d)}}}const vq=["top","right","bottom","left"],ra=Math.min,et=Math.max,O1=Math.round,F1=Math.floor,wt=a=>({x:a,y:a}),Cq={left:"right",right:"left",bottom:"top",top:"bottom"},Lq={start:"end",end:"start"};function CS(a,e,n){return et(a,ra(e,n))}function Ut(a,e){return typeof a=="function"?a(e):a}function Wt(a){return a.split("-")[0]}function os(a){return a.split("-")[1]}function LS(a){return a==="x"?"y":"x"}function SS(a){return a==="y"?"height":"width"}const Sq=new Set(["top","bottom"]);function vt(a){return Sq.has(Wt(a))?"y":"x"}function IS(a){return LS(vt(a))}function Iq(a,e,n){n===void 0&&(n=!1);const o=os(a),r=IS(a),i=SS(r);let s=r==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=R1(s)),[s,R1(s)]}function _q(a){const e=R1(a);return[_S(a),e,_S(e)]}function _S(a){return a.replace(/start|end/g,e=>Lq[e])}const f_=["left","right"],k_=["right","left"],Aq=["top","bottom"],Bq=["bottom","top"];function Vq(a,e,n){switch(a){case"top":case"bottom":return n?e?k_:f_:e?f_:k_;case"left":case"right":return e?Aq:Bq;default:return[]}}function zq(a,e,n,o){const r=os(a);let i=Vq(Wt(a),n==="start",o);return r&&(i=i.map(s=>s+"-"+r),e&&(i=i.concat(i.map(_S)))),i}function R1(a){return a.replace(/left|right|bottom|top/g,e=>Cq[e])}function qq(a){return{top:0,right:0,bottom:0,left:0,...a}}function m_(a){return typeof a!="number"?qq(a):{top:a,right:a,bottom:a,left:a}}function N1(a){const{x:e,y:n,width:o,height:r}=a;return{width:o,height:r,top:n,left:e,right:e+o,bottom:n+r,x:e,y:n}}function g_(a,e,n){let{reference:o,floating:r}=a;const i=vt(e),s=IS(e),c=SS(s),d=Wt(e),h=i==="y",u=o.x+o.width/2-r.width/2,p=o.y+o.height/2-r.height/2,y=o[c]/2-r[c]/2;let f;switch(d){case"top":f={x:u,y:o.y-r.height};break;case"bottom":f={x:u,y:o.y+o.height};break;case"right":f={x:o.x+o.width,y:p};break;case"left":f={x:o.x-r.width,y:p};break;default:f={x:o.x,y:o.y}}switch(os(e)){case"start":f[s]-=y*(n&&h?-1:1);break;case"end":f[s]+=y*(n&&h?-1:1);break}return f}async function Pq(a,e){var n;e===void 0&&(e={});const{x:o,y:r,platform:i,rects:s,elements:c,strategy:d}=a,{boundary:h="clippingAncestors",rootBoundary:u="viewport",elementContext:p="floating",altBoundary:y=!1,padding:f=0}=Ut(e,a),k=m_(f),g=c[y?p==="floating"?"reference":"floating":p],w=N1(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(g)))==null||n?g:g.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:h,rootBoundary:u,strategy:d})),S=p==="floating"?{x:o,y:r,width:s.floating.width,height:s.floating.height}:s.reference,v=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),M=await(i.isElement==null?void 0:i.isElement(v))?await(i.getScale==null?void 0:i.getScale(v))||{x:1,y:1}:{x:1,y:1},C=N1(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:S,offsetParent:v,strategy:d}):S);return{top:(w.top-C.top+k.top)/M.y,bottom:(C.bottom-w.bottom+k.bottom)/M.y,left:(w.left-C.left+k.left)/M.x,right:(C.right-w.right+k.right)/M.x}}const Dq=async(a,e,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:s}=n,c=i.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e));let h=await s.getElementRects({reference:a,floating:e,strategy:r}),{x:u,y:p}=g_(h,o,d),y=o,f={},k=0;for(let g=0;g<c.length;g++){var m;const{name:w,fn:S}=c[g],{x:v,y:M,data:C,reset:x}=await S({x:u,y:p,initialPlacement:o,placement:y,strategy:r,middlewareData:f,rects:h,platform:{...s,detectOverflow:(m=s.detectOverflow)!=null?m:Pq},elements:{reference:a,floating:e}});u=v??u,p=M??p,f={...f,[w]:{...f[w],...C}},x&&k<=50&&(k++,typeof x=="object"&&(x.placement&&(y=x.placement),x.rects&&(h=x.rects===!0?await s.getElementRects({reference:a,floating:e,strategy:r}):x.rects),{x:u,y:p}=g_(h,y,d)),g=-1)}return{x:u,y:p,placement:y,strategy:r,middlewareData:f}},Eq=a=>({name:"arrow",options:a,async fn(e){const{x:n,y:o,placement:r,rects:i,platform:s,elements:c,middlewareData:d}=e,{element:h,padding:u=0}=Ut(a,e)||{};if(h==null)return{};const p=m_(u),y={x:n,y:o},f=IS(r),k=SS(f),m=await s.getDimensions(h),g=f==="y",w=g?"top":"left",S=g?"bottom":"right",v=g?"clientHeight":"clientWidth",M=i.reference[k]+i.reference[f]-y[f]-i.floating[k],C=y[f]-i.reference[f],x=await(s.getOffsetParent==null?void 0:s.getOffsetParent(h));let b=x?x[v]:0;(!b||!await(s.isElement==null?void 0:s.isElement(x)))&&(b=c.floating[v]||i.floating[k]);const L=M/2-C/2,I=b/2-m[k]/2-1,z=ra(p[w],I),A=ra(p[S],I),q=z,O=b-m[k]-A,H=b/2-m[k]/2+L,W=CS(q,H,O),T=!d.arrow&&os(r)!=null&&H!==W&&i.reference[k]/2-(H<q?z:A)-m[k]/2<0,j=T?H<q?H-q:H-O:0;return{[f]:y[f]+j,data:{[f]:W,centerOffset:H-W-j,...T&&{alignmentOffset:j}},reset:T}}}),Tq=function(a){return a===void 0&&(a={}),{name:"flip",options:a,async fn(e){var n,o;const{placement:r,middlewareData:i,rects:s,initialPlacement:c,platform:d,elements:h}=e,{mainAxis:u=!0,crossAxis:p=!0,fallbackPlacements:y,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:k="none",flipAlignment:m=!0,...g}=Ut(a,e);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const w=Wt(r),S=vt(c),v=Wt(c)===c,M=await(d.isRTL==null?void 0:d.isRTL(h.floating)),C=y||(v||!m?[R1(c)]:_q(c)),x=k!=="none";!y&&x&&C.push(...zq(c,m,k,M));const b=[c,...C],L=await d.detectOverflow(e,g),I=[];let z=((o=i.flip)==null?void 0:o.overflows)||[];if(u&&I.push(L[w]),p){const H=Iq(r,s,M);I.push(L[H[0]],L[H[1]])}if(z=[...z,{placement:r,overflows:I}],!I.every(H=>H<=0)){var A,q;const H=(((A=i.flip)==null?void 0:A.index)||0)+1,W=b[H];if(W&&(!(p==="alignment"?S!==vt(W):!1)||z.every(R=>vt(R.placement)===S?R.overflows[0]>0:!0)))return{data:{index:H,overflows:z},reset:{placement:W}};let T=(q=z.filter(j=>j.overflows[0]<=0).sort((j,R)=>j.overflows[1]-R.overflows[1])[0])==null?void 0:q.placement;if(!T)switch(f){case"bestFit":{var O;const j=(O=z.filter(R=>{if(x){const Y=vt(R.placement);return Y===S||Y==="y"}return!0}).map(R=>[R.placement,R.overflows.filter(Y=>Y>0).reduce((Y,B)=>Y+B,0)]).sort((R,Y)=>R[1]-Y[1])[0])==null?void 0:O[0];j&&(T=j);break}case"initialPlacement":T=c;break}if(r!==T)return{reset:{placement:T}}}return{}}}};function M_(a,e){return{top:a.top-e.height,right:a.right-e.width,bottom:a.bottom-e.height,left:a.left-e.width}}function b_(a){return vq.some(e=>a[e]>=0)}const Hq=function(a){return a===void 0&&(a={}),{name:"hide",options:a,async fn(e){const{rects:n,platform:o}=e,{strategy:r="referenceHidden",...i}=Ut(a,e);switch(r){case"referenceHidden":{const s=await o.detectOverflow(e,{...i,elementContext:"reference"}),c=M_(s,n.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:b_(c)}}}case"escaped":{const s=await o.detectOverflow(e,{...i,altBoundary:!0}),c=M_(s,n.floating);return{data:{escapedOffsets:c,escaped:b_(c)}}}default:return{}}}}},x_=new Set(["left","top"]);async function jq(a,e){const{placement:n,platform:o,elements:r}=a,i=await(o.isRTL==null?void 0:o.isRTL(r.floating)),s=Wt(n),c=os(n),d=vt(n)==="y",h=x_.has(s)?-1:1,u=i&&d?-1:1,p=Ut(e,a);let{mainAxis:y,crossAxis:f,alignmentAxis:k}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return c&&typeof k=="number"&&(f=c==="end"?k*-1:k),d?{x:f*u,y:y*h}:{x:y*h,y:f*u}}const Oq=function(a){return a===void 0&&(a=0),{name:"offset",options:a,async fn(e){var n,o;const{x:r,y:i,placement:s,middlewareData:c}=e,d=await jq(e,a);return s===((n=c.offset)==null?void 0:n.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:r+d.x,y:i+d.y,data:{...d,placement:s}}}}},Fq=function(a){return a===void 0&&(a={}),{name:"shift",options:a,async fn(e){const{x:n,y:o,placement:r,platform:i}=e,{mainAxis:s=!0,crossAxis:c=!1,limiter:d={fn:w=>{let{x:S,y:v}=w;return{x:S,y:v}}},...h}=Ut(a,e),u={x:n,y:o},p=await i.detectOverflow(e,h),y=vt(Wt(r)),f=LS(y);let k=u[f],m=u[y];if(s){const w=f==="y"?"top":"left",S=f==="y"?"bottom":"right",v=k+p[w],M=k-p[S];k=CS(v,k,M)}if(c){const w=y==="y"?"top":"left",S=y==="y"?"bottom":"right",v=m+p[w],M=m-p[S];m=CS(v,m,M)}const g=d.fn({...e,[f]:k,[y]:m});return{...g,data:{x:g.x-n,y:g.y-o,enabled:{[f]:s,[y]:c}}}}}},Rq=function(a){return a===void 0&&(a={}),{options:a,fn(e){const{x:n,y:o,placement:r,rects:i,middlewareData:s}=e,{offset:c=0,mainAxis:d=!0,crossAxis:h=!0}=Ut(a,e),u={x:n,y:o},p=vt(r),y=LS(p);let f=u[y],k=u[p];const m=Ut(c,e),g=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(d){const v=y==="y"?"height":"width",M=i.reference[y]-i.floating[v]+g.mainAxis,C=i.reference[y]+i.reference[v]-g.mainAxis;f<M?f=M:f>C&&(f=C)}if(h){var w,S;const v=y==="y"?"width":"height",M=x_.has(Wt(r)),C=i.reference[p]-i.floating[v]+(M&&((w=s.offset)==null?void 0:w[p])||0)+(M?0:g.crossAxis),x=i.reference[p]+i.reference[v]+(M?0:((S=s.offset)==null?void 0:S[p])||0)-(M?g.crossAxis:0);k<C?k=C:k>x&&(k=x)}return{[y]:f,[p]:k}}}},Nq=function(a){return a===void 0&&(a={}),{name:"size",options:a,async fn(e){var n,o;const{placement:r,rects:i,platform:s,elements:c}=e,{apply:d=()=>{},...h}=Ut(a,e),u=await s.detectOverflow(e,h),p=Wt(r),y=os(r),f=vt(r)==="y",{width:k,height:m}=i.floating;let g,w;p==="top"||p==="bottom"?(g=p,w=y===(await(s.isRTL==null?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(w=p,g=y==="end"?"top":"bottom");const S=m-u.top-u.bottom,v=k-u.left-u.right,M=ra(m-u[g],S),C=ra(k-u[w],v),x=!e.middlewareData.shift;let b=M,L=C;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(L=v),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(b=S),x&&!y){const z=et(u.left,0),A=et(u.right,0),q=et(u.top,0),O=et(u.bottom,0);f?L=k-2*(z!==0||A!==0?z+A:et(u.left,u.right)):b=m-2*(q!==0||O!==0?q+O:et(u.top,u.bottom))}await d({...e,availableWidth:L,availableHeight:b});const I=await s.getDimensions(c.floating);return k!==I.width||m!==I.height?{reset:{rects:!0}}:{}}}};function $1(){return typeof window<"u"}function Ba(a){return AS(a)?(a.nodeName||"").toLowerCase():"#document"}function tt(a){var e;return(a==null||(e=a.ownerDocument)==null?void 0:e.defaultView)||window}function Ct(a){var e;return(e=(AS(a)?a.ownerDocument:a.document)||window.document)==null?void 0:e.documentElement}function AS(a){return $1()?a instanceof Node||a instanceof tt(a).Node:!1}function yt(a){return $1()?a instanceof Element||a instanceof tt(a).Element:!1}function Lt(a){return $1()?a instanceof HTMLElement||a instanceof tt(a).HTMLElement:!1}function w_(a){return!$1()||typeof ShadowRoot>"u"?!1:a instanceof ShadowRoot||a instanceof tt(a).ShadowRoot}const $q=new Set(["inline","contents"]);function qs(a){const{overflow:e,overflowX:n,overflowY:o,display:r}=ft(a);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!$q.has(r)}const Uq=new Set(["table","td","th"]);function Wq(a){return Uq.has(Ba(a))}const Gq=[":popover-open",":modal"];function U1(a){return Gq.some(e=>{try{return a.matches(e)}catch{return!1}})}const Kq=["transform","translate","scale","rotate","perspective"],Xq=["transform","translate","scale","rotate","perspective","filter"],Zq=["paint","layout","strict","content"];function BS(a){const e=VS(),n=yt(a)?ft(a):a;return Kq.some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||Xq.some(o=>(n.willChange||"").includes(o))||Zq.some(o=>(n.contain||"").includes(o))}function Yq(a){let e=ia(a);for(;Lt(e)&&!rs(e);){if(BS(e))return e;if(U1(e))return null;e=ia(e)}return null}function VS(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Qq=new Set(["html","body","#document"]);function rs(a){return Qq.has(Ba(a))}function ft(a){return tt(a).getComputedStyle(a)}function W1(a){return yt(a)?{scrollLeft:a.scrollLeft,scrollTop:a.scrollTop}:{scrollLeft:a.scrollX,scrollTop:a.scrollY}}function ia(a){if(Ba(a)==="html")return a;const e=a.assignedSlot||a.parentNode||w_(a)&&a.host||Ct(a);return w_(e)?e.host:e}function v_(a){const e=ia(a);return rs(e)?a.ownerDocument?a.ownerDocument.body:a.body:Lt(e)&&qs(e)?e:v_(e)}function Ps(a,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const r=v_(a),i=r===((o=a.ownerDocument)==null?void 0:o.body),s=tt(r);if(i){const c=zS(s);return e.concat(s,s.visualViewport||[],qs(r)?r:[],c&&n?Ps(c):[])}return e.concat(r,Ps(r,[],n))}function zS(a){return a.parent&&Object.getPrototypeOf(a.parent)?a.frameElement:null}function C_(a){const e=ft(a);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const r=Lt(a),i=r?a.offsetWidth:n,s=r?a.offsetHeight:o,c=O1(n)!==i||O1(o)!==s;return c&&(n=i,o=s),{width:n,height:o,$:c}}function qS(a){return yt(a)?a:a.contextElement}function is(a){const e=qS(a);if(!Lt(e))return wt(1);const n=e.getBoundingClientRect(),{width:o,height:r,$:i}=C_(e);let s=(i?O1(n.width):n.width)/o,c=(i?O1(n.height):n.height)/r;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const Jq=wt(0);function L_(a){const e=tt(a);return!VS()||!e.visualViewport?Jq:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function eP(a,e,n){return e===void 0&&(e=!1),!n||e&&n!==tt(a)?!1:e}function Va(a,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const r=a.getBoundingClientRect(),i=qS(a);let s=wt(1);e&&(o?yt(o)&&(s=is(o)):s=is(a));const c=eP(i,n,o)?L_(i):wt(0);let d=(r.left+c.x)/s.x,h=(r.top+c.y)/s.y,u=r.width/s.x,p=r.height/s.y;if(i){const y=tt(i),f=o&&yt(o)?tt(o):o;let k=y,m=zS(k);for(;m&&o&&f!==k;){const g=is(m),w=m.getBoundingClientRect(),S=ft(m),v=w.left+(m.clientLeft+parseFloat(S.paddingLeft))*g.x,M=w.top+(m.clientTop+parseFloat(S.paddingTop))*g.y;d*=g.x,h*=g.y,u*=g.x,p*=g.y,d+=v,h+=M,k=tt(m),m=zS(k)}}return N1({width:u,height:p,x:d,y:h})}function G1(a,e){const n=W1(a).scrollLeft;return e?e.left+n:Va(Ct(a)).left+n}function S_(a,e){const n=a.getBoundingClientRect(),o=n.left+e.scrollLeft-G1(a,n),r=n.top+e.scrollTop;return{x:o,y:r}}function tP(a){let{elements:e,rect:n,offsetParent:o,strategy:r}=a;const i=r==="fixed",s=Ct(o),c=e?U1(e.floating):!1;if(o===s||c&&i)return n;let d={scrollLeft:0,scrollTop:0},h=wt(1);const u=wt(0),p=Lt(o);if((p||!p&&!i)&&((Ba(o)!=="body"||qs(s))&&(d=W1(o)),Lt(o))){const f=Va(o);h=is(o),u.x=f.x+o.clientLeft,u.y=f.y+o.clientTop}const y=s&&!p&&!i?S_(s,d):wt(0);return{width:n.width*h.x,height:n.height*h.y,x:n.x*h.x-d.scrollLeft*h.x+u.x+y.x,y:n.y*h.y-d.scrollTop*h.y+u.y+y.y}}function aP(a){return Array.from(a.getClientRects())}function nP(a){const e=Ct(a),n=W1(a),o=a.ownerDocument.body,r=et(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),i=et(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+G1(a);const c=-n.scrollTop;return ft(o).direction==="rtl"&&(s+=et(e.clientWidth,o.clientWidth)-r),{width:r,height:i,x:s,y:c}}const I_=25;function oP(a,e){const n=tt(a),o=Ct(a),r=n.visualViewport;let i=o.clientWidth,s=o.clientHeight,c=0,d=0;if(r){i=r.width,s=r.height;const u=VS();(!u||u&&e==="fixed")&&(c=r.offsetLeft,d=r.offsetTop)}const h=G1(o);if(h<=0){const u=o.ownerDocument,p=u.body,y=getComputedStyle(p),f=u.compatMode==="CSS1Compat"&&parseFloat(y.marginLeft)+parseFloat(y.marginRight)||0,k=Math.abs(o.clientWidth-p.clientWidth-f);k<=I_&&(i-=k)}else h<=I_&&(i+=h);return{width:i,height:s,x:c,y:d}}const rP=new Set(["absolute","fixed"]);function iP(a,e){const n=Va(a,!0,e==="fixed"),o=n.top+a.clientTop,r=n.left+a.clientLeft,i=Lt(a)?is(a):wt(1),s=a.clientWidth*i.x,c=a.clientHeight*i.y,d=r*i.x,h=o*i.y;return{width:s,height:c,x:d,y:h}}function __(a,e,n){let o;if(e==="viewport")o=oP(a,n);else if(e==="document")o=nP(Ct(a));else if(yt(e))o=iP(e,n);else{const r=L_(a);o={x:e.x-r.x,y:e.y-r.y,width:e.width,height:e.height}}return N1(o)}function A_(a,e){const n=ia(a);return n===e||!yt(n)||rs(n)?!1:ft(n).position==="fixed"||A_(n,e)}function sP(a,e){const n=e.get(a);if(n)return n;let o=Ps(a,[],!1).filter(c=>yt(c)&&Ba(c)!=="body"),r=null;const i=ft(a).position==="fixed";let s=i?ia(a):a;for(;yt(s)&&!rs(s);){const c=ft(s),d=BS(s);!d&&c.position==="fixed"&&(r=null),(i?!d&&!r:!d&&c.position==="static"&&!!r&&rP.has(r.position)||qs(s)&&!d&&A_(a,s))?o=o.filter(u=>u!==s):r=c,s=ia(s)}return e.set(a,o),o}function lP(a){let{element:e,boundary:n,rootBoundary:o,strategy:r}=a;const s=[...n==="clippingAncestors"?U1(e)?[]:sP(e,this._c):[].concat(n),o],c=s[0],d=s.reduce((h,u)=>{const p=__(e,u,r);return h.top=et(p.top,h.top),h.right=ra(p.right,h.right),h.bottom=ra(p.bottom,h.bottom),h.left=et(p.left,h.left),h},__(e,c,r));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function cP(a){const{width:e,height:n}=C_(a);return{width:e,height:n}}function dP(a,e,n){const o=Lt(e),r=Ct(e),i=n==="fixed",s=Va(a,!0,i,e);let c={scrollLeft:0,scrollTop:0};const d=wt(0);function h(){d.x=G1(r)}if(o||!o&&!i)if((Ba(e)!=="body"||qs(r))&&(c=W1(e)),o){const f=Va(e,!0,i,e);d.x=f.x+e.clientLeft,d.y=f.y+e.clientTop}else r&&h();i&&!o&&r&&h();const u=r&&!o&&!i?S_(r,c):wt(0),p=s.left+c.scrollLeft-d.x-u.x,y=s.top+c.scrollTop-d.y-u.y;return{x:p,y,width:s.width,height:s.height}}function PS(a){return ft(a).position==="static"}function B_(a,e){if(!Lt(a)||ft(a).position==="fixed")return null;if(e)return e(a);let n=a.offsetParent;return Ct(a)===n&&(n=n.ownerDocument.body),n}function V_(a,e){const n=tt(a);if(U1(a))return n;if(!Lt(a)){let r=ia(a);for(;r&&!rs(r);){if(yt(r)&&!PS(r))return r;r=ia(r)}return n}let o=B_(a,e);for(;o&&Wq(o)&&PS(o);)o=B_(o,e);return o&&rs(o)&&PS(o)&&!BS(o)?n:o||Yq(a)||n}const hP=async function(a){const e=this.getOffsetParent||V_,n=this.getDimensions,o=await n(a.floating);return{reference:dP(a.reference,await e(a.floating),a.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function uP(a){return ft(a).direction==="rtl"}const pP={convertOffsetParentRelativeRectToViewportRelativeRect:tP,getDocumentElement:Ct,getClippingRect:lP,getOffsetParent:V_,getElementRects:hP,getClientRects:aP,getDimensions:cP,getScale:is,isElement:yt,isRTL:uP};function z_(a,e){return a.x===e.x&&a.y===e.y&&a.width===e.width&&a.height===e.height}function yP(a,e){let n=null,o;const r=Ct(a);function i(){var c;clearTimeout(o),(c=n)==null||c.disconnect(),n=null}function s(c,d){c===void 0&&(c=!1),d===void 0&&(d=1),i();const h=a.getBoundingClientRect(),{left:u,top:p,width:y,height:f}=h;if(c||e(),!y||!f)return;const k=F1(p),m=F1(r.clientWidth-(u+y)),g=F1(r.clientHeight-(p+f)),w=F1(u),v={rootMargin:-k+"px "+-m+"px "+-g+"px "+-w+"px",threshold:et(0,ra(1,d))||1};let M=!0;function C(x){const b=x[0].intersectionRatio;if(b!==d){if(!M)return s();b?s(!1,b):o=setTimeout(()=>{s(!1,1e-7)},1e3)}b===1&&!z_(h,a.getBoundingClientRect())&&s(),M=!1}try{n=new IntersectionObserver(C,{...v,root:r.ownerDocument})}catch{n=new IntersectionObserver(C,v)}n.observe(a)}return s(!0),i}function K1(a,e,n,o){o===void 0&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:d=!1}=o,h=qS(a),u=r||i?[...h?Ps(h):[],...Ps(e)]:[];u.forEach(w=>{r&&w.addEventListener("scroll",n,{passive:!0}),i&&w.addEventListener("resize",n)});const p=h&&c?yP(h,n):null;let y=-1,f=null;s&&(f=new ResizeObserver(w=>{let[S]=w;S&&S.target===h&&f&&(f.unobserve(e),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var v;(v=f)==null||v.observe(e)})),n()}),h&&!d&&f.observe(h),f.observe(e));let k,m=d?Va(a):null;d&&g();function g(){const w=Va(a);m&&!z_(m,w)&&n(),m=w,k=requestAnimationFrame(g)}return n(),()=>{var w;u.forEach(S=>{r&&S.removeEventListener("scroll",n),i&&S.removeEventListener("resize",n)}),p==null||p(),(w=f)==null||w.disconnect(),f=null,d&&cancelAnimationFrame(k)}}const X1=Oq,Z1=Fq,Ds=Tq,Y1=Nq,fP=Hq,kP=Eq,mP=Rq,gP=(a,e,n)=>{const o=new Map,r={platform:pP,...n},i={...r.platform,_c:o};return Dq(a,e,{...r,platform:i})};function MP(a){return a!=null&&typeof a=="object"&&"$el"in a}function DS(a){if(MP(a)){const e=a.$el;return AS(e)&&Ba(e)==="#comment"?null:e}return a}function ss(a){return typeof a=="function"?a():t.unref(a)}function bP(a){return{name:"arrow",options:a,fn(e){const n=DS(ss(a.element));return n==null?{}:kP({element:n,padding:a.padding}).fn(e)}}}function q_(a){return typeof window>"u"?1:(a.ownerDocument.defaultView||window).devicePixelRatio||1}function P_(a,e){const n=q_(a);return Math.round(e*n)/n}function Q1(a,e,n){n===void 0&&(n={});const o=n.whileElementsMounted,r=t.computed(()=>{var b;return(b=ss(n.open))!=null?b:!0}),i=t.computed(()=>ss(n.middleware)),s=t.computed(()=>{var b;return(b=ss(n.placement))!=null?b:"bottom"}),c=t.computed(()=>{var b;return(b=ss(n.strategy))!=null?b:"absolute"}),d=t.computed(()=>{var b;return(b=ss(n.transform))!=null?b:!0}),h=t.computed(()=>DS(a.value)),u=t.computed(()=>DS(e.value)),p=t.ref(0),y=t.ref(0),f=t.ref(c.value),k=t.ref(s.value),m=t.shallowRef({}),g=t.ref(!1),w=t.computed(()=>{const b={position:f.value,left:"0",top:"0"};if(!u.value)return b;const L=P_(u.value,p.value),I=P_(u.value,y.value);return d.value?{...b,transform:"translate("+L+"px, "+I+"px)",...q_(u.value)>=1.5&&{willChange:"transform"}}:{position:f.value,left:L+"px",top:I+"px"}});let S;function v(){if(h.value==null||u.value==null)return;const b=r.value;gP(h.value,u.value,{middleware:i.value,placement:s.value,strategy:c.value}).then(L=>{p.value=L.x,y.value=L.y,f.value=L.strategy,k.value=L.placement,m.value=L.middlewareData,g.value=b!==!1})}function M(){typeof S=="function"&&(S(),S=void 0)}function C(){if(M(),o===void 0){v();return}if(h.value!=null&&u.value!=null){S=o(h.value,u.value,v);return}}function x(){r.value||(g.value=!1)}return t.watch([i,s,c,r],v,{flush:"sync"}),t.watch([h,u],C,{flush:"sync"}),t.watch(r,x,{flush:"sync"}),t.getCurrentScope()&&t.onScopeDispose(M),{x:t.shallowReadonly(p),y:t.shallowReadonly(y),strategy:t.shallowReadonly(f),placement:t.shallowReadonly(k),middlewareData:t.shallowReadonly(m),isPositioned:t.shallowReadonly(g),floatingStyles:w,update:v}}/**
|
|
1
|
+
(function(ne,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue"),require("@vuepic/vue-datepicker"),require("@uppy/core"),require("@uppy/dashboard"),require("@uppy/image-editor"),require("vue-router"),require("vue-i18n")):typeof define=="function"&&define.amd?define(["exports","vue","@vuepic/vue-datepicker","@uppy/core","@uppy/dashboard","@uppy/image-editor","vue-router","vue-i18n"],t):(ne=typeof globalThis<"u"?globalThis:ne||self,t(ne.DynamicUI={},ne.Vue,ne.VueDatePicker,ne.Uppy,ne.UppyDashboard,ne.UppyImageEditor,ne.VueRouter,ne.VueI18n))})(this,(function(ne,t,Je,fq,y_,kq,H1,vS){"use strict";var VQ=Object.defineProperty;var pq=ne=>{throw TypeError(ne)};var qQ=(ne,t,Je)=>t in ne?VQ(ne,t,{enumerable:!0,configurable:!0,writable:!0,value:Je}):ne[t]=Je;var se=(ne,t,Je)=>qQ(ne,typeof t!="symbol"?t+"":t,Je),PQ=(ne,t,Je)=>t.has(ne)||pq("Cannot "+Je);var T1=(ne,t,Je)=>(PQ(ne,t,"read from private field"),Je?Je.call(ne):t.get(ne)),yq=(ne,t,Je)=>t.has(ne)?pq("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(ne):t.set(ne,Je);var kS;function mq(a){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const n in a)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(a,n);Object.defineProperty(e,n,o.get?o:{enumerable:!0,get:()=>a[n]})}}return e.default=a,Object.freeze(e)}const j1=mq(t);let pt={};function gq(a){pt={...pt,...a}}function Mq(){return pt}function bq(){return pt.apiBaseUrl?pt.apiBaseUrl:typeof window<"u"&&window.__MICRO_API_BASE_URL__?window.__MICRO_API_BASE_URL__:""}function xq(){const a={"Content-Type":"application/json",Accept:"application/json"};let e=null;if(pt.getAuthToken?e=pt.getAuthToken():typeof window<"u"&&window.__MICRO_AUTH_TOKEN__?e=window.__MICRO_AUTH_TOKEN__:typeof localStorage<"u"&&(e=localStorage.getItem("token")||sessionStorage.getItem("token")),e&&(a.Authorization=`Bearer ${e}`),pt.getHeaders){const n=pt.getHeaders();return{...a,...n}}return a}function wq(){pt.onUnauthorized&&pt.onUnauthorized()}async function f_(a,e,n){const o=Mq();if(o.apiClient)return o.apiClient(a,e||"GET",n);if(!a||!a.trim())throw new Error("[DynamicUI][useApi] URL tidak boleh kosong. Pastikan prop `endpoint.apiUrl` sudah diisi dengan benar.");const r=["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"],i=(e||"").trim().toUpperCase(),s=r.includes(i)?i:"GET";r.includes(i)||console.warn(`[DynamicUI][useApi] HTTP method '${e}' tidak valid, fallback ke 'GET'.`);const c=bq(),d=a.startsWith("http")?a:`${c}${a}`,h={method:s,headers:xq()};n&&!["GET","DELETE"].includes(s)&&(h.body=JSON.stringify(n));let u=d;if(n&&s==="GET"){const f=new URLSearchParams;Object.entries(n).forEach(([m,g])=>{g!=null&&f.append(m,String(g))});const k=f.toString();k&&(u=`${d}${d.includes("?")?"&":"?"}${k}`)}const p=await fetch(u,h);if(p.status===401&&wq(),!p.ok){const f=await p.text();throw new Error(`HTTP ${p.status}: ${f}`)}return(p.headers.get("content-type")||"").includes("application/json")?p.json():{status:!0,data:await p.text()}}function Ke(){return{apiUrl:(n,o,r)=>f_(n,o,r),DCodeApi:(n,o,r,i)=>{let s=n,c=o,d=r;return i&&i._url?(s=i._url,c=i._method||c||"POST",i._data&&(d={...d||{},...i._data})):n&&o&&(["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"].includes(o.toUpperCase())||(s=`${n.endsWith("/")?n.slice(0,-1):n}/${o}`,c="POST")),f_(s,c,d)}}}const vq=["top","right","bottom","left"],ra=Math.min,et=Math.max,O1=Math.round,F1=Math.floor,wt=a=>({x:a,y:a}),Cq={left:"right",right:"left",bottom:"top",top:"bottom"},Lq={start:"end",end:"start"};function CS(a,e,n){return et(a,ra(e,n))}function Ut(a,e){return typeof a=="function"?a(e):a}function Wt(a){return a.split("-")[0]}function os(a){return a.split("-")[1]}function LS(a){return a==="x"?"y":"x"}function SS(a){return a==="y"?"height":"width"}const Sq=new Set(["top","bottom"]);function vt(a){return Sq.has(Wt(a))?"y":"x"}function IS(a){return LS(vt(a))}function Iq(a,e,n){n===void 0&&(n=!1);const o=os(a),r=IS(a),i=SS(r);let s=r==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=R1(s)),[s,R1(s)]}function _q(a){const e=R1(a);return[_S(a),e,_S(e)]}function _S(a){return a.replace(/start|end/g,e=>Lq[e])}const k_=["left","right"],m_=["right","left"],Aq=["top","bottom"],Bq=["bottom","top"];function zq(a,e,n){switch(a){case"top":case"bottom":return n?e?m_:k_:e?k_:m_;case"left":case"right":return e?Aq:Bq;default:return[]}}function Vq(a,e,n,o){const r=os(a);let i=zq(Wt(a),n==="start",o);return r&&(i=i.map(s=>s+"-"+r),e&&(i=i.concat(i.map(_S)))),i}function R1(a){return a.replace(/left|right|bottom|top/g,e=>Cq[e])}function qq(a){return{top:0,right:0,bottom:0,left:0,...a}}function g_(a){return typeof a!="number"?qq(a):{top:a,right:a,bottom:a,left:a}}function N1(a){const{x:e,y:n,width:o,height:r}=a;return{width:o,height:r,top:n,left:e,right:e+o,bottom:n+r,x:e,y:n}}function M_(a,e,n){let{reference:o,floating:r}=a;const i=vt(e),s=IS(e),c=SS(s),d=Wt(e),h=i==="y",u=o.x+o.width/2-r.width/2,p=o.y+o.height/2-r.height/2,y=o[c]/2-r[c]/2;let f;switch(d){case"top":f={x:u,y:o.y-r.height};break;case"bottom":f={x:u,y:o.y+o.height};break;case"right":f={x:o.x+o.width,y:p};break;case"left":f={x:o.x-r.width,y:p};break;default:f={x:o.x,y:o.y}}switch(os(e)){case"start":f[s]-=y*(n&&h?-1:1);break;case"end":f[s]+=y*(n&&h?-1:1);break}return f}async function Pq(a,e){var n;e===void 0&&(e={});const{x:o,y:r,platform:i,rects:s,elements:c,strategy:d}=a,{boundary:h="clippingAncestors",rootBoundary:u="viewport",elementContext:p="floating",altBoundary:y=!1,padding:f=0}=Ut(e,a),k=g_(f),g=c[y?p==="floating"?"reference":"floating":p],w=N1(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(g)))==null||n?g:g.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:h,rootBoundary:u,strategy:d})),S=p==="floating"?{x:o,y:r,width:s.floating.width,height:s.floating.height}:s.reference,v=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),M=await(i.isElement==null?void 0:i.isElement(v))?await(i.getScale==null?void 0:i.getScale(v))||{x:1,y:1}:{x:1,y:1},C=N1(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:S,offsetParent:v,strategy:d}):S);return{top:(w.top-C.top+k.top)/M.y,bottom:(C.bottom-w.bottom+k.bottom)/M.y,left:(w.left-C.left+k.left)/M.x,right:(C.right-w.right+k.right)/M.x}}const Dq=async(a,e,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:s}=n,c=i.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e));let h=await s.getElementRects({reference:a,floating:e,strategy:r}),{x:u,y:p}=M_(h,o,d),y=o,f={},k=0;for(let g=0;g<c.length;g++){var m;const{name:w,fn:S}=c[g],{x:v,y:M,data:C,reset:x}=await S({x:u,y:p,initialPlacement:o,placement:y,strategy:r,middlewareData:f,rects:h,platform:{...s,detectOverflow:(m=s.detectOverflow)!=null?m:Pq},elements:{reference:a,floating:e}});u=v??u,p=M??p,f={...f,[w]:{...f[w],...C}},x&&k<=50&&(k++,typeof x=="object"&&(x.placement&&(y=x.placement),x.rects&&(h=x.rects===!0?await s.getElementRects({reference:a,floating:e,strategy:r}):x.rects),{x:u,y:p}=M_(h,y,d)),g=-1)}return{x:u,y:p,placement:y,strategy:r,middlewareData:f}},Eq=a=>({name:"arrow",options:a,async fn(e){const{x:n,y:o,placement:r,rects:i,platform:s,elements:c,middlewareData:d}=e,{element:h,padding:u=0}=Ut(a,e)||{};if(h==null)return{};const p=g_(u),y={x:n,y:o},f=IS(r),k=SS(f),m=await s.getDimensions(h),g=f==="y",w=g?"top":"left",S=g?"bottom":"right",v=g?"clientHeight":"clientWidth",M=i.reference[k]+i.reference[f]-y[f]-i.floating[k],C=y[f]-i.reference[f],x=await(s.getOffsetParent==null?void 0:s.getOffsetParent(h));let b=x?x[v]:0;(!b||!await(s.isElement==null?void 0:s.isElement(x)))&&(b=c.floating[v]||i.floating[k]);const L=M/2-C/2,I=b/2-m[k]/2-1,V=ra(p[w],I),A=ra(p[S],I),q=V,O=b-m[k]-A,H=b/2-m[k]/2+L,W=CS(q,H,O),T=!d.arrow&&os(r)!=null&&H!==W&&i.reference[k]/2-(H<q?V:A)-m[k]/2<0,j=T?H<q?H-q:H-O:0;return{[f]:y[f]+j,data:{[f]:W,centerOffset:H-W-j,...T&&{alignmentOffset:j}},reset:T}}}),Tq=function(a){return a===void 0&&(a={}),{name:"flip",options:a,async fn(e){var n,o;const{placement:r,middlewareData:i,rects:s,initialPlacement:c,platform:d,elements:h}=e,{mainAxis:u=!0,crossAxis:p=!0,fallbackPlacements:y,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:k="none",flipAlignment:m=!0,...g}=Ut(a,e);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const w=Wt(r),S=vt(c),v=Wt(c)===c,M=await(d.isRTL==null?void 0:d.isRTL(h.floating)),C=y||(v||!m?[R1(c)]:_q(c)),x=k!=="none";!y&&x&&C.push(...Vq(c,m,k,M));const b=[c,...C],L=await d.detectOverflow(e,g),I=[];let V=((o=i.flip)==null?void 0:o.overflows)||[];if(u&&I.push(L[w]),p){const H=Iq(r,s,M);I.push(L[H[0]],L[H[1]])}if(V=[...V,{placement:r,overflows:I}],!I.every(H=>H<=0)){var A,q;const H=(((A=i.flip)==null?void 0:A.index)||0)+1,W=b[H];if(W&&(!(p==="alignment"?S!==vt(W):!1)||V.every(R=>vt(R.placement)===S?R.overflows[0]>0:!0)))return{data:{index:H,overflows:V},reset:{placement:W}};let T=(q=V.filter(j=>j.overflows[0]<=0).sort((j,R)=>j.overflows[1]-R.overflows[1])[0])==null?void 0:q.placement;if(!T)switch(f){case"bestFit":{var O;const j=(O=V.filter(R=>{if(x){const Y=vt(R.placement);return Y===S||Y==="y"}return!0}).map(R=>[R.placement,R.overflows.filter(Y=>Y>0).reduce((Y,B)=>Y+B,0)]).sort((R,Y)=>R[1]-Y[1])[0])==null?void 0:O[0];j&&(T=j);break}case"initialPlacement":T=c;break}if(r!==T)return{reset:{placement:T}}}return{}}}};function b_(a,e){return{top:a.top-e.height,right:a.right-e.width,bottom:a.bottom-e.height,left:a.left-e.width}}function x_(a){return vq.some(e=>a[e]>=0)}const Hq=function(a){return a===void 0&&(a={}),{name:"hide",options:a,async fn(e){const{rects:n,platform:o}=e,{strategy:r="referenceHidden",...i}=Ut(a,e);switch(r){case"referenceHidden":{const s=await o.detectOverflow(e,{...i,elementContext:"reference"}),c=b_(s,n.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:x_(c)}}}case"escaped":{const s=await o.detectOverflow(e,{...i,altBoundary:!0}),c=b_(s,n.floating);return{data:{escapedOffsets:c,escaped:x_(c)}}}default:return{}}}}},w_=new Set(["left","top"]);async function jq(a,e){const{placement:n,platform:o,elements:r}=a,i=await(o.isRTL==null?void 0:o.isRTL(r.floating)),s=Wt(n),c=os(n),d=vt(n)==="y",h=w_.has(s)?-1:1,u=i&&d?-1:1,p=Ut(e,a);let{mainAxis:y,crossAxis:f,alignmentAxis:k}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return c&&typeof k=="number"&&(f=c==="end"?k*-1:k),d?{x:f*u,y:y*h}:{x:y*h,y:f*u}}const Oq=function(a){return a===void 0&&(a=0),{name:"offset",options:a,async fn(e){var n,o;const{x:r,y:i,placement:s,middlewareData:c}=e,d=await jq(e,a);return s===((n=c.offset)==null?void 0:n.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:r+d.x,y:i+d.y,data:{...d,placement:s}}}}},Fq=function(a){return a===void 0&&(a={}),{name:"shift",options:a,async fn(e){const{x:n,y:o,placement:r,platform:i}=e,{mainAxis:s=!0,crossAxis:c=!1,limiter:d={fn:w=>{let{x:S,y:v}=w;return{x:S,y:v}}},...h}=Ut(a,e),u={x:n,y:o},p=await i.detectOverflow(e,h),y=vt(Wt(r)),f=LS(y);let k=u[f],m=u[y];if(s){const w=f==="y"?"top":"left",S=f==="y"?"bottom":"right",v=k+p[w],M=k-p[S];k=CS(v,k,M)}if(c){const w=y==="y"?"top":"left",S=y==="y"?"bottom":"right",v=m+p[w],M=m-p[S];m=CS(v,m,M)}const g=d.fn({...e,[f]:k,[y]:m});return{...g,data:{x:g.x-n,y:g.y-o,enabled:{[f]:s,[y]:c}}}}}},Rq=function(a){return a===void 0&&(a={}),{options:a,fn(e){const{x:n,y:o,placement:r,rects:i,middlewareData:s}=e,{offset:c=0,mainAxis:d=!0,crossAxis:h=!0}=Ut(a,e),u={x:n,y:o},p=vt(r),y=LS(p);let f=u[y],k=u[p];const m=Ut(c,e),g=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(d){const v=y==="y"?"height":"width",M=i.reference[y]-i.floating[v]+g.mainAxis,C=i.reference[y]+i.reference[v]-g.mainAxis;f<M?f=M:f>C&&(f=C)}if(h){var w,S;const v=y==="y"?"width":"height",M=w_.has(Wt(r)),C=i.reference[p]-i.floating[v]+(M&&((w=s.offset)==null?void 0:w[p])||0)+(M?0:g.crossAxis),x=i.reference[p]+i.reference[v]+(M?0:((S=s.offset)==null?void 0:S[p])||0)-(M?g.crossAxis:0);k<C?k=C:k>x&&(k=x)}return{[y]:f,[p]:k}}}},Nq=function(a){return a===void 0&&(a={}),{name:"size",options:a,async fn(e){var n,o;const{placement:r,rects:i,platform:s,elements:c}=e,{apply:d=()=>{},...h}=Ut(a,e),u=await s.detectOverflow(e,h),p=Wt(r),y=os(r),f=vt(r)==="y",{width:k,height:m}=i.floating;let g,w;p==="top"||p==="bottom"?(g=p,w=y===(await(s.isRTL==null?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(w=p,g=y==="end"?"top":"bottom");const S=m-u.top-u.bottom,v=k-u.left-u.right,M=ra(m-u[g],S),C=ra(k-u[w],v),x=!e.middlewareData.shift;let b=M,L=C;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(L=v),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(b=S),x&&!y){const V=et(u.left,0),A=et(u.right,0),q=et(u.top,0),O=et(u.bottom,0);f?L=k-2*(V!==0||A!==0?V+A:et(u.left,u.right)):b=m-2*(q!==0||O!==0?q+O:et(u.top,u.bottom))}await d({...e,availableWidth:L,availableHeight:b});const I=await s.getDimensions(c.floating);return k!==I.width||m!==I.height?{reset:{rects:!0}}:{}}}};function $1(){return typeof window<"u"}function Ba(a){return AS(a)?(a.nodeName||"").toLowerCase():"#document"}function tt(a){var e;return(a==null||(e=a.ownerDocument)==null?void 0:e.defaultView)||window}function Ct(a){var e;return(e=(AS(a)?a.ownerDocument:a.document)||window.document)==null?void 0:e.documentElement}function AS(a){return $1()?a instanceof Node||a instanceof tt(a).Node:!1}function yt(a){return $1()?a instanceof Element||a instanceof tt(a).Element:!1}function Lt(a){return $1()?a instanceof HTMLElement||a instanceof tt(a).HTMLElement:!1}function v_(a){return!$1()||typeof ShadowRoot>"u"?!1:a instanceof ShadowRoot||a instanceof tt(a).ShadowRoot}const $q=new Set(["inline","contents"]);function qs(a){const{overflow:e,overflowX:n,overflowY:o,display:r}=ft(a);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!$q.has(r)}const Uq=new Set(["table","td","th"]);function Wq(a){return Uq.has(Ba(a))}const Gq=[":popover-open",":modal"];function U1(a){return Gq.some(e=>{try{return a.matches(e)}catch{return!1}})}const Kq=["transform","translate","scale","rotate","perspective"],Xq=["transform","translate","scale","rotate","perspective","filter"],Zq=["paint","layout","strict","content"];function BS(a){const e=zS(),n=yt(a)?ft(a):a;return Kq.some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||Xq.some(o=>(n.willChange||"").includes(o))||Zq.some(o=>(n.contain||"").includes(o))}function Yq(a){let e=ia(a);for(;Lt(e)&&!rs(e);){if(BS(e))return e;if(U1(e))return null;e=ia(e)}return null}function zS(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Qq=new Set(["html","body","#document"]);function rs(a){return Qq.has(Ba(a))}function ft(a){return tt(a).getComputedStyle(a)}function W1(a){return yt(a)?{scrollLeft:a.scrollLeft,scrollTop:a.scrollTop}:{scrollLeft:a.scrollX,scrollTop:a.scrollY}}function ia(a){if(Ba(a)==="html")return a;const e=a.assignedSlot||a.parentNode||v_(a)&&a.host||Ct(a);return v_(e)?e.host:e}function C_(a){const e=ia(a);return rs(e)?a.ownerDocument?a.ownerDocument.body:a.body:Lt(e)&&qs(e)?e:C_(e)}function Ps(a,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const r=C_(a),i=r===((o=a.ownerDocument)==null?void 0:o.body),s=tt(r);if(i){const c=VS(s);return e.concat(s,s.visualViewport||[],qs(r)?r:[],c&&n?Ps(c):[])}return e.concat(r,Ps(r,[],n))}function VS(a){return a.parent&&Object.getPrototypeOf(a.parent)?a.frameElement:null}function L_(a){const e=ft(a);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const r=Lt(a),i=r?a.offsetWidth:n,s=r?a.offsetHeight:o,c=O1(n)!==i||O1(o)!==s;return c&&(n=i,o=s),{width:n,height:o,$:c}}function qS(a){return yt(a)?a:a.contextElement}function is(a){const e=qS(a);if(!Lt(e))return wt(1);const n=e.getBoundingClientRect(),{width:o,height:r,$:i}=L_(e);let s=(i?O1(n.width):n.width)/o,c=(i?O1(n.height):n.height)/r;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const Jq=wt(0);function S_(a){const e=tt(a);return!zS()||!e.visualViewport?Jq:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function eP(a,e,n){return e===void 0&&(e=!1),!n||e&&n!==tt(a)?!1:e}function za(a,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const r=a.getBoundingClientRect(),i=qS(a);let s=wt(1);e&&(o?yt(o)&&(s=is(o)):s=is(a));const c=eP(i,n,o)?S_(i):wt(0);let d=(r.left+c.x)/s.x,h=(r.top+c.y)/s.y,u=r.width/s.x,p=r.height/s.y;if(i){const y=tt(i),f=o&&yt(o)?tt(o):o;let k=y,m=VS(k);for(;m&&o&&f!==k;){const g=is(m),w=m.getBoundingClientRect(),S=ft(m),v=w.left+(m.clientLeft+parseFloat(S.paddingLeft))*g.x,M=w.top+(m.clientTop+parseFloat(S.paddingTop))*g.y;d*=g.x,h*=g.y,u*=g.x,p*=g.y,d+=v,h+=M,k=tt(m),m=VS(k)}}return N1({width:u,height:p,x:d,y:h})}function G1(a,e){const n=W1(a).scrollLeft;return e?e.left+n:za(Ct(a)).left+n}function I_(a,e){const n=a.getBoundingClientRect(),o=n.left+e.scrollLeft-G1(a,n),r=n.top+e.scrollTop;return{x:o,y:r}}function tP(a){let{elements:e,rect:n,offsetParent:o,strategy:r}=a;const i=r==="fixed",s=Ct(o),c=e?U1(e.floating):!1;if(o===s||c&&i)return n;let d={scrollLeft:0,scrollTop:0},h=wt(1);const u=wt(0),p=Lt(o);if((p||!p&&!i)&&((Ba(o)!=="body"||qs(s))&&(d=W1(o)),Lt(o))){const f=za(o);h=is(o),u.x=f.x+o.clientLeft,u.y=f.y+o.clientTop}const y=s&&!p&&!i?I_(s,d):wt(0);return{width:n.width*h.x,height:n.height*h.y,x:n.x*h.x-d.scrollLeft*h.x+u.x+y.x,y:n.y*h.y-d.scrollTop*h.y+u.y+y.y}}function aP(a){return Array.from(a.getClientRects())}function nP(a){const e=Ct(a),n=W1(a),o=a.ownerDocument.body,r=et(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),i=et(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+G1(a);const c=-n.scrollTop;return ft(o).direction==="rtl"&&(s+=et(e.clientWidth,o.clientWidth)-r),{width:r,height:i,x:s,y:c}}const __=25;function oP(a,e){const n=tt(a),o=Ct(a),r=n.visualViewport;let i=o.clientWidth,s=o.clientHeight,c=0,d=0;if(r){i=r.width,s=r.height;const u=zS();(!u||u&&e==="fixed")&&(c=r.offsetLeft,d=r.offsetTop)}const h=G1(o);if(h<=0){const u=o.ownerDocument,p=u.body,y=getComputedStyle(p),f=u.compatMode==="CSS1Compat"&&parseFloat(y.marginLeft)+parseFloat(y.marginRight)||0,k=Math.abs(o.clientWidth-p.clientWidth-f);k<=__&&(i-=k)}else h<=__&&(i+=h);return{width:i,height:s,x:c,y:d}}const rP=new Set(["absolute","fixed"]);function iP(a,e){const n=za(a,!0,e==="fixed"),o=n.top+a.clientTop,r=n.left+a.clientLeft,i=Lt(a)?is(a):wt(1),s=a.clientWidth*i.x,c=a.clientHeight*i.y,d=r*i.x,h=o*i.y;return{width:s,height:c,x:d,y:h}}function A_(a,e,n){let o;if(e==="viewport")o=oP(a,n);else if(e==="document")o=nP(Ct(a));else if(yt(e))o=iP(e,n);else{const r=S_(a);o={x:e.x-r.x,y:e.y-r.y,width:e.width,height:e.height}}return N1(o)}function B_(a,e){const n=ia(a);return n===e||!yt(n)||rs(n)?!1:ft(n).position==="fixed"||B_(n,e)}function sP(a,e){const n=e.get(a);if(n)return n;let o=Ps(a,[],!1).filter(c=>yt(c)&&Ba(c)!=="body"),r=null;const i=ft(a).position==="fixed";let s=i?ia(a):a;for(;yt(s)&&!rs(s);){const c=ft(s),d=BS(s);!d&&c.position==="fixed"&&(r=null),(i?!d&&!r:!d&&c.position==="static"&&!!r&&rP.has(r.position)||qs(s)&&!d&&B_(a,s))?o=o.filter(u=>u!==s):r=c,s=ia(s)}return e.set(a,o),o}function lP(a){let{element:e,boundary:n,rootBoundary:o,strategy:r}=a;const s=[...n==="clippingAncestors"?U1(e)?[]:sP(e,this._c):[].concat(n),o],c=s[0],d=s.reduce((h,u)=>{const p=A_(e,u,r);return h.top=et(p.top,h.top),h.right=ra(p.right,h.right),h.bottom=ra(p.bottom,h.bottom),h.left=et(p.left,h.left),h},A_(e,c,r));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function cP(a){const{width:e,height:n}=L_(a);return{width:e,height:n}}function dP(a,e,n){const o=Lt(e),r=Ct(e),i=n==="fixed",s=za(a,!0,i,e);let c={scrollLeft:0,scrollTop:0};const d=wt(0);function h(){d.x=G1(r)}if(o||!o&&!i)if((Ba(e)!=="body"||qs(r))&&(c=W1(e)),o){const f=za(e,!0,i,e);d.x=f.x+e.clientLeft,d.y=f.y+e.clientTop}else r&&h();i&&!o&&r&&h();const u=r&&!o&&!i?I_(r,c):wt(0),p=s.left+c.scrollLeft-d.x-u.x,y=s.top+c.scrollTop-d.y-u.y;return{x:p,y,width:s.width,height:s.height}}function PS(a){return ft(a).position==="static"}function z_(a,e){if(!Lt(a)||ft(a).position==="fixed")return null;if(e)return e(a);let n=a.offsetParent;return Ct(a)===n&&(n=n.ownerDocument.body),n}function V_(a,e){const n=tt(a);if(U1(a))return n;if(!Lt(a)){let r=ia(a);for(;r&&!rs(r);){if(yt(r)&&!PS(r))return r;r=ia(r)}return n}let o=z_(a,e);for(;o&&Wq(o)&&PS(o);)o=z_(o,e);return o&&rs(o)&&PS(o)&&!BS(o)?n:o||Yq(a)||n}const hP=async function(a){const e=this.getOffsetParent||V_,n=this.getDimensions,o=await n(a.floating);return{reference:dP(a.reference,await e(a.floating),a.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function uP(a){return ft(a).direction==="rtl"}const pP={convertOffsetParentRelativeRectToViewportRelativeRect:tP,getDocumentElement:Ct,getClippingRect:lP,getOffsetParent:V_,getElementRects:hP,getClientRects:aP,getDimensions:cP,getScale:is,isElement:yt,isRTL:uP};function q_(a,e){return a.x===e.x&&a.y===e.y&&a.width===e.width&&a.height===e.height}function yP(a,e){let n=null,o;const r=Ct(a);function i(){var c;clearTimeout(o),(c=n)==null||c.disconnect(),n=null}function s(c,d){c===void 0&&(c=!1),d===void 0&&(d=1),i();const h=a.getBoundingClientRect(),{left:u,top:p,width:y,height:f}=h;if(c||e(),!y||!f)return;const k=F1(p),m=F1(r.clientWidth-(u+y)),g=F1(r.clientHeight-(p+f)),w=F1(u),v={rootMargin:-k+"px "+-m+"px "+-g+"px "+-w+"px",threshold:et(0,ra(1,d))||1};let M=!0;function C(x){const b=x[0].intersectionRatio;if(b!==d){if(!M)return s();b?s(!1,b):o=setTimeout(()=>{s(!1,1e-7)},1e3)}b===1&&!q_(h,a.getBoundingClientRect())&&s(),M=!1}try{n=new IntersectionObserver(C,{...v,root:r.ownerDocument})}catch{n=new IntersectionObserver(C,v)}n.observe(a)}return s(!0),i}function K1(a,e,n,o){o===void 0&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:d=!1}=o,h=qS(a),u=r||i?[...h?Ps(h):[],...Ps(e)]:[];u.forEach(w=>{r&&w.addEventListener("scroll",n,{passive:!0}),i&&w.addEventListener("resize",n)});const p=h&&c?yP(h,n):null;let y=-1,f=null;s&&(f=new ResizeObserver(w=>{let[S]=w;S&&S.target===h&&f&&(f.unobserve(e),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var v;(v=f)==null||v.observe(e)})),n()}),h&&!d&&f.observe(h),f.observe(e));let k,m=d?za(a):null;d&&g();function g(){const w=za(a);m&&!q_(m,w)&&n(),m=w,k=requestAnimationFrame(g)}return n(),()=>{var w;u.forEach(S=>{r&&S.removeEventListener("scroll",n),i&&S.removeEventListener("resize",n)}),p==null||p(),(w=f)==null||w.disconnect(),f=null,d&&cancelAnimationFrame(k)}}const X1=Oq,Z1=Fq,Ds=Tq,Y1=Nq,fP=Hq,kP=Eq,mP=Rq,gP=(a,e,n)=>{const o=new Map,r={platform:pP,...n},i={...r.platform,_c:o};return Dq(a,e,{...r,platform:i})};function MP(a){return a!=null&&typeof a=="object"&&"$el"in a}function DS(a){if(MP(a)){const e=a.$el;return AS(e)&&Ba(e)==="#comment"?null:e}return a}function ss(a){return typeof a=="function"?a():t.unref(a)}function bP(a){return{name:"arrow",options:a,fn(e){const n=DS(ss(a.element));return n==null?{}:kP({element:n,padding:a.padding}).fn(e)}}}function P_(a){return typeof window>"u"?1:(a.ownerDocument.defaultView||window).devicePixelRatio||1}function D_(a,e){const n=P_(a);return Math.round(e*n)/n}function Q1(a,e,n){n===void 0&&(n={});const o=n.whileElementsMounted,r=t.computed(()=>{var b;return(b=ss(n.open))!=null?b:!0}),i=t.computed(()=>ss(n.middleware)),s=t.computed(()=>{var b;return(b=ss(n.placement))!=null?b:"bottom"}),c=t.computed(()=>{var b;return(b=ss(n.strategy))!=null?b:"absolute"}),d=t.computed(()=>{var b;return(b=ss(n.transform))!=null?b:!0}),h=t.computed(()=>DS(a.value)),u=t.computed(()=>DS(e.value)),p=t.ref(0),y=t.ref(0),f=t.ref(c.value),k=t.ref(s.value),m=t.shallowRef({}),g=t.ref(!1),w=t.computed(()=>{const b={position:f.value,left:"0",top:"0"};if(!u.value)return b;const L=D_(u.value,p.value),I=D_(u.value,y.value);return d.value?{...b,transform:"translate("+L+"px, "+I+"px)",...P_(u.value)>=1.5&&{willChange:"transform"}}:{position:f.value,left:L+"px",top:I+"px"}});let S;function v(){if(h.value==null||u.value==null)return;const b=r.value;gP(h.value,u.value,{middleware:i.value,placement:s.value,strategy:c.value}).then(L=>{p.value=L.x,y.value=L.y,f.value=L.strategy,k.value=L.placement,m.value=L.middlewareData,g.value=b!==!1})}function M(){typeof S=="function"&&(S(),S=void 0)}function C(){if(M(),o===void 0){v();return}if(h.value!=null&&u.value!=null){S=o(h.value,u.value,v);return}}function x(){r.value||(g.value=!1)}return t.watch([i,s,c,r],v,{flush:"sync"}),t.watch([h,u],C,{flush:"sync"}),t.watch(r,x,{flush:"sync"}),t.getCurrentScope()&&t.onScopeDispose(M),{x:t.shallowReadonly(p),y:t.shallowReadonly(y),strategy:t.shallowReadonly(f),placement:t.shallowReadonly(k),middlewareData:t.shallowReadonly(m),isPositioned:t.shallowReadonly(g),floatingStyles:w,update:v}}/**
|
|
2
2
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*
|
|
9
9
|
* This source code is licensed under the ISC license.
|
|
10
10
|
* See the LICENSE file in the root directory of this source tree.
|
|
11
|
-
*/const
|
|
11
|
+
*/const E_=a=>a==="";/**
|
|
12
12
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
13
13
|
*
|
|
14
14
|
* This source code is licensed under the ISC license.
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
*
|
|
19
19
|
* This source code is licensed under the ISC license.
|
|
20
20
|
* See the LICENSE file in the root directory of this source tree.
|
|
21
|
-
*/const
|
|
21
|
+
*/const T_=a=>a.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
|
|
22
22
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
23
23
|
*
|
|
24
24
|
* This source code is licensed under the ISC license.
|
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
*
|
|
39
39
|
* This source code is licensed under the ISC license.
|
|
40
40
|
* See the LICENSE file in the root directory of this source tree.
|
|
41
|
-
*/const
|
|
41
|
+
*/const H_=({name:a,iconNode:e,absoluteStrokeWidth:n,"absolute-stroke-width":o,strokeWidth:r,"stroke-width":i,size:s=Es.width,color:c=Es.stroke,...d},{slots:h})=>t.h("svg",{...Es,...d,width:s,height:s,stroke:c,"stroke-width":E_(n)||E_(o)||n===!0||o===!0?Number(r||i||Es["stroke-width"])*24/Number(s):r||i||Es["stroke-width"],class:wP("lucide",d.class,...a?[`lucide-${T_(CP(a))}-icon`,`lucide-${T_(a)}`]:["lucide-icon"]),...!h.default&&!xP(d)&&{"aria-hidden":"true"}},[...e.map(u=>t.h(...u)),...h.default?[h.default()]:[]]);/**
|
|
42
42
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
43
43
|
*
|
|
44
44
|
* This source code is licensed under the ISC license.
|
|
45
45
|
* See the LICENSE file in the root directory of this source tree.
|
|
46
|
-
*/const l=(a,e)=>(n,{slots:o,attrs:r})=>t.h(
|
|
46
|
+
*/const l=(a,e)=>(n,{slots:o,attrs:r})=>t.h(H_,{...r,...n,iconNode:e,name:a},o);/**
|
|
47
47
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
48
48
|
*
|
|
49
49
|
* This source code is licensed under the ISC license.
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
*
|
|
84
84
|
* This source code is licensed under the ISC license.
|
|
85
85
|
* See the LICENSE file in the root directory of this source tree.
|
|
86
|
-
*/const
|
|
86
|
+
*/const Va=l("alarm-clock-check",[["circle",{cx:"12",cy:"13",r:"8",key:"3y4lt7"}],["path",{d:"M5 3 2 6",key:"18tl5t"}],["path",{d:"m22 6-3-3",key:"1opdir"}],["path",{d:"M6.38 18.7 4 21",key:"17xu3x"}],["path",{d:"M17.64 18.67 20 21",key:"kv2oe2"}],["path",{d:"m9 13 2 2 4-4",key:"6343dt"}]]);/**
|
|
87
87
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
88
88
|
*
|
|
89
89
|
* This source code is licensed under the ISC license.
|
|
@@ -223,12 +223,12 @@
|
|
|
223
223
|
*
|
|
224
224
|
* This source code is licensed under the ISC license.
|
|
225
225
|
* See the LICENSE file in the root directory of this source tree.
|
|
226
|
-
*/const
|
|
226
|
+
*/const zl=l("align-vertical-space-between",[["rect",{width:"14",height:"6",x:"5",y:"15",rx:"2",key:"1w91an"}],["rect",{width:"10",height:"6",x:"7",y:"3",rx:"2",key:"17wqzy"}],["path",{d:"M2 21h20",key:"1nyx9w"}],["path",{d:"M2 3h20",key:"91anmk"}]]);/**
|
|
227
227
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
228
228
|
*
|
|
229
229
|
* This source code is licensed under the ISC license.
|
|
230
230
|
* See the LICENSE file in the root directory of this source tree.
|
|
231
|
-
*/const
|
|
231
|
+
*/const Vl=l("ambulance",[["path",{d:"M10 10H6",key:"1bsnug"}],["path",{d:"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",key:"wrbu53"}],["path",{d:"M19 18h2a1 1 0 0 0 1-1v-3.28a1 1 0 0 0-.684-.948l-1.923-.641a1 1 0 0 1-.578-.502l-1.539-3.076A1 1 0 0 0 16.382 8H14",key:"lrkjwd"}],["path",{d:"M8 8v4",key:"1fwk8c"}],["path",{d:"M9 18h6",key:"x1upvd"}],["circle",{cx:"17",cy:"18",r:"2",key:"332jqn"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}]]);/**
|
|
232
232
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
233
233
|
*
|
|
234
234
|
* This source code is licensed under the ISC license.
|
|
@@ -528,12 +528,12 @@
|
|
|
528
528
|
*
|
|
529
529
|
* This source code is licensed under the ISC license.
|
|
530
530
|
* See the LICENSE file in the root directory of this source tree.
|
|
531
|
-
*/const
|
|
531
|
+
*/const zc=l("asterisk",[["path",{d:"M12 6v12",key:"1vza4d"}],["path",{d:"M17.196 9 6.804 15",key:"1ah31z"}],["path",{d:"m6.804 9 10.392 6",key:"1b6pxd"}]]);/**
|
|
532
532
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
533
533
|
*
|
|
534
534
|
* This source code is licensed under the ISC license.
|
|
535
535
|
* See the LICENSE file in the root directory of this source tree.
|
|
536
|
-
*/const
|
|
536
|
+
*/const Vc=l("at-sign",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8",key:"7n84p3"}]]);/**
|
|
537
537
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
538
538
|
*
|
|
539
539
|
* This source code is licensed under the ISC license.
|
|
@@ -813,12 +813,12 @@
|
|
|
813
813
|
*
|
|
814
814
|
* This source code is licensed under the ISC license.
|
|
815
815
|
* See the LICENSE file in the root directory of this source tree.
|
|
816
|
-
*/const
|
|
816
|
+
*/const zd=l("bell-dot",[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M11.68 2.009A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673c-.824-.85-1.678-1.731-2.21-3.348",key:"xaq59h"}],["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}]]);/**
|
|
817
817
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
818
818
|
*
|
|
819
819
|
* This source code is licensed under the ISC license.
|
|
820
820
|
* See the LICENSE file in the root directory of this source tree.
|
|
821
|
-
*/const
|
|
821
|
+
*/const Vd=l("bell-electric",[["path",{d:"M18.518 17.347A7 7 0 0 1 14 19",key:"1emhpo"}],["path",{d:"M18.8 4A11 11 0 0 1 20 9",key:"127b67"}],["path",{d:"M9 9h.01",key:"1q5me6"}],["circle",{cx:"20",cy:"16",r:"2",key:"1v9bxh"}],["circle",{cx:"9",cy:"9",r:"7",key:"p2h5vp"}],["rect",{x:"4",y:"16",width:"10",height:"6",rx:"2",key:"bfnviv"}]]);/**
|
|
822
822
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
823
823
|
*
|
|
824
824
|
* This source code is licensed under the ISC license.
|
|
@@ -1098,12 +1098,12 @@
|
|
|
1098
1098
|
*
|
|
1099
1099
|
* This source code is licensed under the ISC license.
|
|
1100
1100
|
* See the LICENSE file in the root directory of this source tree.
|
|
1101
|
-
*/const
|
|
1101
|
+
*/const z0=l("bookmark-minus",[["path",{d:"M15 10H9",key:"o6yqo3"}],["path",{d:"M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z",key:"oz39mx"}]]);/**
|
|
1102
1102
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
1103
1103
|
*
|
|
1104
1104
|
* This source code is licensed under the ISC license.
|
|
1105
1105
|
* See the LICENSE file in the root directory of this source tree.
|
|
1106
|
-
*/const
|
|
1106
|
+
*/const V0=l("bookmark-plus",[["path",{d:"M12 7v6",key:"lw1j43"}],["path",{d:"M15 10H9",key:"o6yqo3"}],["path",{d:"M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z",key:"oz39mx"}]]);/**
|
|
1107
1107
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
1108
1108
|
*
|
|
1109
1109
|
* This source code is licensed under the ISC license.
|
|
@@ -1373,12 +1373,12 @@
|
|
|
1373
1373
|
*
|
|
1374
1374
|
* This source code is licensed under the ISC license.
|
|
1375
1375
|
* See the LICENSE file in the root directory of this source tree.
|
|
1376
|
-
*/const
|
|
1376
|
+
*/const z2=l("calendar-range",[["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M17 14h-6",key:"bkmgh3"}],["path",{d:"M13 18H7",key:"bb0bb7"}],["path",{d:"M7 14h.01",key:"1qa3f1"}],["path",{d:"M17 18h.01",key:"1bdyru"}]]);/**
|
|
1377
1377
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
1378
1378
|
*
|
|
1379
1379
|
* This source code is licensed under the ISC license.
|
|
1380
1380
|
* See the LICENSE file in the root directory of this source tree.
|
|
1381
|
-
*/const
|
|
1381
|
+
*/const V2=l("calendar-search",[["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M21 11.75V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7.25",key:"1jrsq6"}],["path",{d:"m22 22-1.875-1.875",key:"13zax7"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 2v4",key:"1cmpym"}],["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}]]);/**
|
|
1382
1382
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
1383
1383
|
*
|
|
1384
1384
|
* This source code is licensed under the ISC license.
|
|
@@ -1748,7 +1748,7 @@
|
|
|
1748
1748
|
*
|
|
1749
1749
|
* This source code is licensed under the ISC license.
|
|
1750
1750
|
* See the LICENSE file in the root directory of this source tree.
|
|
1751
|
-
*/const
|
|
1751
|
+
*/const zh=l("chevrons-right-left",[["path",{d:"m20 17-5-5 5-5",key:"30x0n2"}],["path",{d:"m4 17 5-5-5-5",key:"16spf4"}]]);/**
|
|
1752
1752
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
1753
1753
|
*
|
|
1754
1754
|
* This source code is licensed under the ISC license.
|
|
@@ -1758,7 +1758,7 @@
|
|
|
1758
1758
|
*
|
|
1759
1759
|
* This source code is licensed under the ISC license.
|
|
1760
1760
|
* See the LICENSE file in the root directory of this source tree.
|
|
1761
|
-
*/const
|
|
1761
|
+
*/const Vh=l("chevrons-up-down",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]);/**
|
|
1762
1762
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
1763
1763
|
*
|
|
1764
1764
|
* This source code is licensed under the ISC license.
|
|
@@ -1938,7 +1938,7 @@
|
|
|
1938
1938
|
*
|
|
1939
1939
|
* This source code is licensed under the ISC license.
|
|
1940
1940
|
* See the LICENSE file in the root directory of this source tree.
|
|
1941
|
-
*/const
|
|
1941
|
+
*/const zn=l("circle-percent",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"M9 9h.01",key:"1q5me6"}],["path",{d:"M15 15h.01",key:"lqbp3k"}]]);/**
|
|
1942
1942
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
1943
1943
|
*
|
|
1944
1944
|
* This source code is licensed under the ISC license.
|
|
@@ -1948,7 +1948,7 @@
|
|
|
1948
1948
|
*
|
|
1949
1949
|
* This source code is licensed under the ISC license.
|
|
1950
1950
|
* See the LICENSE file in the root directory of this source tree.
|
|
1951
|
-
*/const
|
|
1951
|
+
*/const Vn=l("circle-play",[["path",{d:"M9 9.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997A1 1 0 0 1 9 14.996z",key:"kmsa83"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
|
|
1952
1952
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
1953
1953
|
*
|
|
1954
1954
|
* This source code is licensed under the ISC license.
|
|
@@ -2203,12 +2203,12 @@
|
|
|
2203
2203
|
*
|
|
2204
2204
|
* This source code is licensed under the ISC license.
|
|
2205
2205
|
* See the LICENSE file in the root directory of this source tree.
|
|
2206
|
-
*/const
|
|
2206
|
+
*/const zu=l("cloud-check",[["path",{d:"m17 15-5.5 5.5L9 18",key:"15q87x"}],["path",{d:"M5.516 16.07A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 3.501 7.327",key:"1xtj56"}]]);/**
|
|
2207
2207
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
2208
2208
|
*
|
|
2209
2209
|
* This source code is licensed under the ISC license.
|
|
2210
2210
|
* See the LICENSE file in the root directory of this source tree.
|
|
2211
|
-
*/const
|
|
2211
|
+
*/const Vu=l("cloud-cog",[["path",{d:"m10.852 19.772-.383.924",key:"r7sl7d"}],["path",{d:"m13.148 14.228.383-.923",key:"1d5zpm"}],["path",{d:"M13.148 19.772a3 3 0 1 0-2.296-5.544l-.383-.923",key:"1ydik7"}],["path",{d:"m13.53 20.696-.382-.924a3 3 0 1 1-2.296-5.544",key:"1m1vsf"}],["path",{d:"m14.772 15.852.923-.383",key:"660p6e"}],["path",{d:"m14.772 18.148.923.383",key:"hrcpis"}],["path",{d:"M4.2 15.1a7 7 0 1 1 9.93-9.858A7 7 0 0 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.2",key:"j2q98n"}],["path",{d:"m9.228 15.852-.923-.383",key:"1p9ong"}],["path",{d:"m9.228 18.148-.923.383",key:"6558rz"}]]);/**
|
|
2212
2212
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
2213
2213
|
*
|
|
2214
2214
|
* This source code is licensed under the ISC license.
|
|
@@ -2508,7 +2508,7 @@
|
|
|
2508
2508
|
*
|
|
2509
2509
|
* This source code is licensed under the ISC license.
|
|
2510
2510
|
* See the LICENSE file in the root directory of this source tree.
|
|
2511
|
-
*/const
|
|
2511
|
+
*/const zp=l("corner-up-right",[["path",{d:"m15 14 5-5-5-5",key:"12vg1m"}],["path",{d:"M4 20v-7a4 4 0 0 1 4-4h12",key:"1lu4f8"}]]);/**
|
|
2512
2512
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
2513
2513
|
*
|
|
2514
2514
|
* This source code is licensed under the ISC license.
|
|
@@ -2518,7 +2518,7 @@
|
|
|
2518
2518
|
*
|
|
2519
2519
|
* This source code is licensed under the ISC license.
|
|
2520
2520
|
* See the LICENSE file in the root directory of this source tree.
|
|
2521
|
-
*/const
|
|
2521
|
+
*/const Vp=l("creative-commons",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M10 9.3a2.8 2.8 0 0 0-3.5 1 3.1 3.1 0 0 0 0 3.4 2.7 2.7 0 0 0 3.5 1",key:"1ss3eq"}],["path",{d:"M17 9.3a2.8 2.8 0 0 0-3.5 1 3.1 3.1 0 0 0 0 3.4 2.7 2.7 0 0 0 3.5 1",key:"1od56t"}]]);/**
|
|
2522
2522
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
2523
2523
|
*
|
|
2524
2524
|
* This source code is licensed under the ISC license.
|
|
@@ -2793,12 +2793,12 @@
|
|
|
2793
2793
|
*
|
|
2794
2794
|
* This source code is licensed under the ISC license.
|
|
2795
2795
|
* See the LICENSE file in the root directory of this source tree.
|
|
2796
|
-
*/const
|
|
2796
|
+
*/const zy=l("droplet",[["path",{d:"M12 22a7 7 0 0 0 7-7c0-2-1-3.9-3-5.5s-3.5-4-4-6.5c-.5 2.5-2 4.9-4 6.5C6 11.1 5 13 5 15a7 7 0 0 0 7 7z",key:"c7niix"}]]);/**
|
|
2797
2797
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
2798
2798
|
*
|
|
2799
2799
|
* This source code is licensed under the ISC license.
|
|
2800
2800
|
* See the LICENSE file in the root directory of this source tree.
|
|
2801
|
-
*/const
|
|
2801
|
+
*/const Vy=l("droplets",[["path",{d:"M7 16.3c2.2 0 4-1.83 4-4.05 0-1.16-.57-2.26-1.71-3.19S7.29 6.75 7 5.3c-.29 1.45-1.14 2.84-2.29 3.76S3 11.1 3 12.25c0 2.22 1.8 4.05 4 4.05z",key:"1ptgy4"}],["path",{d:"M12.56 6.6A10.97 10.97 0 0 0 14 3.02c.5 2.5 2 4.9 4 6.5s3 3.5 3 5.5a6.98 6.98 0 0 1-11.91 4.97",key:"1sl1rz"}]]);/**
|
|
2802
2802
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
2803
2803
|
*
|
|
2804
2804
|
* This source code is licensed under the ISC license.
|
|
@@ -3208,12 +3208,12 @@
|
|
|
3208
3208
|
*
|
|
3209
3209
|
* This source code is licensed under the ISC license.
|
|
3210
3210
|
* See the LICENSE file in the root directory of this source tree.
|
|
3211
|
-
*/const
|
|
3211
|
+
*/const zf=l("file-up",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M12 12v6",key:"3ahymv"}],["path",{d:"m15 15-3-3-3 3",key:"15xj92"}]]);/**
|
|
3212
3212
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
3213
3213
|
*
|
|
3214
3214
|
* This source code is licensed under the ISC license.
|
|
3215
3215
|
* See the LICENSE file in the root directory of this source tree.
|
|
3216
|
-
*/const
|
|
3216
|
+
*/const Vf=l("file-user",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M16 22a4 4 0 0 0-8 0",key:"7a83pg"}],["circle",{cx:"12",cy:"15",r:"3",key:"g36mzq"}]]);/**
|
|
3217
3217
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
3218
3218
|
*
|
|
3219
3219
|
* This source code is licensed under the ISC license.
|
|
@@ -3503,12 +3503,12 @@
|
|
|
3503
3503
|
*
|
|
3504
3504
|
* This source code is licensed under the ISC license.
|
|
3505
3505
|
* See the LICENSE file in the root directory of this source tree.
|
|
3506
|
-
*/const
|
|
3506
|
+
*/const zk=l("folder-tree",[["path",{d:"M20 10a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2.5a1 1 0 0 1-.8-.4l-.9-1.2A1 1 0 0 0 15 3h-2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z",key:"hod4my"}],["path",{d:"M20 21a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-2.9a1 1 0 0 1-.88-.55l-.42-.85a1 1 0 0 0-.92-.6H13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z",key:"w4yl2u"}],["path",{d:"M3 5a2 2 0 0 0 2 2h3",key:"f2jnh7"}],["path",{d:"M3 3v13a2 2 0 0 0 2 2h3",key:"k8epm1"}]]);/**
|
|
3507
3507
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
3508
3508
|
*
|
|
3509
3509
|
* This source code is licensed under the ISC license.
|
|
3510
3510
|
* See the LICENSE file in the root directory of this source tree.
|
|
3511
|
-
*/const
|
|
3511
|
+
*/const Vk=l("folder-up",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}],["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"m9 13 3-3 3 3",key:"1pxg3c"}]]);/**
|
|
3512
3512
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
3513
3513
|
*
|
|
3514
3514
|
* This source code is licensed under the ISC license.
|
|
@@ -3793,12 +3793,12 @@
|
|
|
3793
3793
|
*
|
|
3794
3794
|
* This source code is licensed under the ISC license.
|
|
3795
3795
|
* See the LICENSE file in the root directory of this source tree.
|
|
3796
|
-
*/const
|
|
3796
|
+
*/const zm=l("gpu",[["path",{d:"M2 21V3",key:"1bzk4w"}],["path",{d:"M2 5h18a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2.26",key:"1d64pi"}],["path",{d:"M7 17v3a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1v-3",key:"5hbqbf"}],["circle",{cx:"16",cy:"11",r:"2",key:"qt15rb"}],["circle",{cx:"8",cy:"11",r:"2",key:"ssideg"}]]);/**
|
|
3797
3797
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
3798
3798
|
*
|
|
3799
3799
|
* This source code is licensed under the ISC license.
|
|
3800
3800
|
* See the LICENSE file in the root directory of this source tree.
|
|
3801
|
-
*/const
|
|
3801
|
+
*/const Vm=l("grape",[["path",{d:"M22 5V2l-5.89 5.89",key:"1eenpo"}],["circle",{cx:"16.6",cy:"15.89",r:"3",key:"xjtalx"}],["circle",{cx:"8.11",cy:"7.4",r:"3",key:"u2fv6i"}],["circle",{cx:"12.35",cy:"11.65",r:"3",key:"i6i8g7"}],["circle",{cx:"13.91",cy:"5.85",r:"3",key:"6ye0dv"}],["circle",{cx:"18.15",cy:"10.09",r:"3",key:"snx9no"}],["circle",{cx:"6.56",cy:"13.2",r:"3",key:"17x4xg"}],["circle",{cx:"10.8",cy:"17.44",r:"3",key:"1hogw9"}],["circle",{cx:"5",cy:"19",r:"3",key:"1sn6vo"}]]);/**
|
|
3802
3802
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
3803
3803
|
*
|
|
3804
3804
|
* This source code is licensed under the ISC license.
|
|
@@ -3818,7 +3818,7 @@
|
|
|
3818
3818
|
*
|
|
3819
3819
|
* This source code is licensed under the ISC license.
|
|
3820
3820
|
* See the LICENSE file in the root directory of this source tree.
|
|
3821
|
-
*/const
|
|
3821
|
+
*/const zo=l("grid-2x2",[["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M3 12h18",key:"1i2n21"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}]]);/**
|
|
3822
3822
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
3823
3823
|
*
|
|
3824
3824
|
* This source code is licensed under the ISC license.
|
|
@@ -3828,7 +3828,7 @@
|
|
|
3828
3828
|
*
|
|
3829
3829
|
* This source code is licensed under the ISC license.
|
|
3830
3830
|
* See the LICENSE file in the root directory of this source tree.
|
|
3831
|
-
*/const
|
|
3831
|
+
*/const zt=l("grid-3x3",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]]);/**
|
|
3832
3832
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
3833
3833
|
*
|
|
3834
3834
|
* This source code is licensed under the ISC license.
|
|
@@ -3888,7 +3888,7 @@
|
|
|
3888
3888
|
*
|
|
3889
3889
|
* This source code is licensed under the ISC license.
|
|
3890
3890
|
* See the LICENSE file in the root directory of this source tree.
|
|
3891
|
-
*/const
|
|
3891
|
+
*/const Vo=l("hand-grab",[["path",{d:"M18 11.5V9a2 2 0 0 0-2-2a2 2 0 0 0-2 2v1.4",key:"edstyy"}],["path",{d:"M14 10V8a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2",key:"19wdwo"}],["path",{d:"M10 9.9V9a2 2 0 0 0-2-2a2 2 0 0 0-2 2v5",key:"1lugqo"}],["path",{d:"M6 14a2 2 0 0 0-2-2a2 2 0 0 0-2 2",key:"1hbeus"}],["path",{d:"M18 11a2 2 0 1 1 4 0v3a8 8 0 0 1-8 8h-4a8 8 0 0 1-8-8 2 2 0 1 1 4 0",key:"1etffm"}]]);/**
|
|
3892
3892
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
3893
3893
|
*
|
|
3894
3894
|
* This source code is licensed under the ISC license.
|
|
@@ -4098,12 +4098,12 @@
|
|
|
4098
4098
|
*
|
|
4099
4099
|
* This source code is licensed under the ISC license.
|
|
4100
4100
|
* See the LICENSE file in the root directory of this source tree.
|
|
4101
|
-
*/const
|
|
4101
|
+
*/const z4=l("hourglass",[["path",{d:"M5 22h14",key:"ehvnwv"}],["path",{d:"M5 2h14",key:"pdyrp9"}],["path",{d:"M17 22v-4.172a2 2 0 0 0-.586-1.414L12 12l-4.414 4.414A2 2 0 0 0 7 17.828V22",key:"1d314k"}],["path",{d:"M7 2v4.172a2 2 0 0 0 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2",key:"1vvvr6"}]]);/**
|
|
4102
4102
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
4103
4103
|
*
|
|
4104
4104
|
* This source code is licensed under the ISC license.
|
|
4105
4105
|
* See the LICENSE file in the root directory of this source tree.
|
|
4106
|
-
*/const
|
|
4106
|
+
*/const V4=l("house-heart",[["path",{d:"M8.62 13.8A2.25 2.25 0 1 1 12 10.836a2.25 2.25 0 1 1 3.38 2.966l-2.626 2.856a.998.998 0 0 1-1.507 0z",key:"n9s7kx"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]]);/**
|
|
4107
4107
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
4108
4108
|
*
|
|
4109
4109
|
* This source code is licensed under the ISC license.
|
|
@@ -4393,12 +4393,12 @@
|
|
|
4393
4393
|
*
|
|
4394
4394
|
* This source code is licensed under the ISC license.
|
|
4395
4395
|
* See the LICENSE file in the root directory of this source tree.
|
|
4396
|
-
*/const
|
|
4396
|
+
*/const z5=l("layout-list",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}],["path",{d:"M14 4h7",key:"3xa0d5"}],["path",{d:"M14 9h7",key:"1icrd9"}],["path",{d:"M14 15h7",key:"1mj8o2"}],["path",{d:"M14 20h7",key:"11slyb"}]]);/**
|
|
4397
4397
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
4398
4398
|
*
|
|
4399
4399
|
* This source code is licensed under the ISC license.
|
|
4400
4400
|
* See the LICENSE file in the root directory of this source tree.
|
|
4401
|
-
*/const
|
|
4401
|
+
*/const V5=l("layout-panel-left",[["rect",{width:"7",height:"18",x:"3",y:"3",rx:"1",key:"2obqm"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}]]);/**
|
|
4402
4402
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
4403
4403
|
*
|
|
4404
4404
|
* This source code is licensed under the ISC license.
|
|
@@ -4538,7 +4538,7 @@
|
|
|
4538
4538
|
*
|
|
4539
4539
|
* This source code is licensed under the ISC license.
|
|
4540
4540
|
* See the LICENSE file in the root directory of this source tree.
|
|
4541
|
-
*/const
|
|
4541
|
+
*/const Vt=l("list-indent-decrease",[["path",{d:"M21 5H11",key:"us1j55"}],["path",{d:"M21 12H11",key:"wd7e0v"}],["path",{d:"M21 19H11",key:"saa85w"}],["path",{d:"m7 8-4 4 4 4",key:"o5hrat"}]]);/**
|
|
4542
4542
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
4543
4543
|
*
|
|
4544
4544
|
* This source code is licensed under the ISC license.
|
|
@@ -4693,12 +4693,12 @@
|
|
|
4693
4693
|
*
|
|
4694
4694
|
* This source code is licensed under the ISC license.
|
|
4695
4695
|
* See the LICENSE file in the root directory of this source tree.
|
|
4696
|
-
*/const
|
|
4696
|
+
*/const zg=l("mail-minus",[["path",{d:"M22 15V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8",key:"fuxbkv"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}],["path",{d:"M16 19h6",key:"xwg31i"}]]);/**
|
|
4697
4697
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
4698
4698
|
*
|
|
4699
4699
|
* This source code is licensed under the ISC license.
|
|
4700
4700
|
* See the LICENSE file in the root directory of this source tree.
|
|
4701
|
-
*/const
|
|
4701
|
+
*/const Vg=l("mail-plus",[["path",{d:"M22 13V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8",key:"12jkf8"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}],["path",{d:"M19 16v6",key:"tddt3s"}],["path",{d:"M16 19h6",key:"xwg31i"}]]);/**
|
|
4702
4702
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
4703
4703
|
*
|
|
4704
4704
|
* This source code is licensed under the ISC license.
|
|
@@ -4983,12 +4983,12 @@
|
|
|
4983
4983
|
*
|
|
4984
4984
|
* This source code is licensed under the ISC license.
|
|
4985
4985
|
* See the LICENSE file in the root directory of this source tree.
|
|
4986
|
-
*/const
|
|
4986
|
+
*/const z3=l("message-square-plus",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}],["path",{d:"M12 8v6",key:"1ib9pf"}],["path",{d:"M9 11h6",key:"1fldmi"}]]);/**
|
|
4987
4987
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
4988
4988
|
*
|
|
4989
4989
|
* This source code is licensed under the ISC license.
|
|
4990
4990
|
* See the LICENSE file in the root directory of this source tree.
|
|
4991
|
-
*/const
|
|
4991
|
+
*/const V3=l("message-square-quote",[["path",{d:"M14 14a2 2 0 0 0 2-2V8h-2",key:"1r06pg"}],["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}],["path",{d:"M8 14a2 2 0 0 0 2-2V8H8",key:"1jzu5j"}]]);/**
|
|
4992
4992
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
4993
4993
|
*
|
|
4994
4994
|
* This source code is licensed under the ISC license.
|
|
@@ -5273,12 +5273,12 @@
|
|
|
5273
5273
|
*
|
|
5274
5274
|
* This source code is licensed under the ISC license.
|
|
5275
5275
|
* See the LICENSE file in the root directory of this source tree.
|
|
5276
|
-
*/const
|
|
5276
|
+
*/const z8=l("move-horizontal",[["path",{d:"m18 8 4 4-4 4",key:"1ak13k"}],["path",{d:"M2 12h20",key:"9i4pu4"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}]]);/**
|
|
5277
5277
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
5278
5278
|
*
|
|
5279
5279
|
* This source code is licensed under the ISC license.
|
|
5280
5280
|
* See the LICENSE file in the root directory of this source tree.
|
|
5281
|
-
*/const
|
|
5281
|
+
*/const V8=l("move-left",[["path",{d:"M6 8L2 12L6 16",key:"kyvwex"}],["path",{d:"M2 12H22",key:"1m8cig"}]]);/**
|
|
5282
5282
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
5283
5283
|
*
|
|
5284
5284
|
* This source code is licensed under the ISC license.
|
|
@@ -5593,12 +5593,12 @@
|
|
|
5593
5593
|
*
|
|
5594
5594
|
* This source code is licensed under the ISC license.
|
|
5595
5595
|
* See the LICENSE file in the root directory of this source tree.
|
|
5596
|
-
*/const
|
|
5596
|
+
*/const z6=l("panel-top-bottom-dashed",[["path",{d:"M14 15h1",key:"171nev"}],["path",{d:"M14 9h1",key:"l0svgy"}],["path",{d:"M19 15h2",key:"1vnucp"}],["path",{d:"M19 9h2",key:"te2zfg"}],["path",{d:"M3 15h2",key:"8bym0q"}],["path",{d:"M3 9h2",key:"1h4ldw"}],["path",{d:"M9 15h1",key:"1tg3ks"}],["path",{d:"M9 9h1",key:"15jzuz"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}]]);/**
|
|
5597
5597
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
5598
5598
|
*
|
|
5599
5599
|
* This source code is licensed under the ISC license.
|
|
5600
5600
|
* See the LICENSE file in the root directory of this source tree.
|
|
5601
|
-
*/const
|
|
5601
|
+
*/const V6=l("panel-top-close",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"m9 16 3-3 3 3",key:"1idcnm"}]]);/**
|
|
5602
5602
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
5603
5603
|
*
|
|
5604
5604
|
* This source code is licensed under the ISC license.
|
|
@@ -5908,12 +5908,12 @@
|
|
|
5908
5908
|
*
|
|
5909
5909
|
* This source code is licensed under the ISC license.
|
|
5910
5910
|
* See the LICENSE file in the root directory of this source tree.
|
|
5911
|
-
*/const
|
|
5911
|
+
*/const z7=l("popsicle",[["path",{d:"M18.6 14.4c.8-.8.8-2 0-2.8l-8.1-8.1a4.95 4.95 0 1 0-7.1 7.1l8.1 8.1c.9.7 2.1.7 2.9-.1Z",key:"1o68ps"}],["path",{d:"m22 22-5.5-5.5",key:"17o70y"}]]);/**
|
|
5912
5912
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
5913
5913
|
*
|
|
5914
5914
|
* This source code is licensed under the ISC license.
|
|
5915
5915
|
* See the LICENSE file in the root directory of this source tree.
|
|
5916
|
-
*/const
|
|
5916
|
+
*/const V7=l("power-off",[["path",{d:"M18.36 6.64A9 9 0 0 1 20.77 15",key:"dxknvb"}],["path",{d:"M6.16 6.16a9 9 0 1 0 12.68 12.68",key:"1x7qb5"}],["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);/**
|
|
5917
5917
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
5918
5918
|
*
|
|
5919
5919
|
* This source code is licensed under the ISC license.
|
|
@@ -6188,12 +6188,12 @@
|
|
|
6188
6188
|
*
|
|
6189
6189
|
* This source code is licensed under the ISC license.
|
|
6190
6190
|
* See the LICENSE file in the root directory of this source tree.
|
|
6191
|
-
*/const
|
|
6191
|
+
*/const zM=l("replace",[["path",{d:"M14 4a1 1 0 0 1 1-1",key:"dhj8ez"}],["path",{d:"M15 10a1 1 0 0 1-1-1",key:"1mnyi5"}],["path",{d:"M21 4a1 1 0 0 0-1-1",key:"sfs9ap"}],["path",{d:"M21 9a1 1 0 0 1-1 1",key:"mp6qeo"}],["path",{d:"m3 7 3 3 3-3",key:"x25e72"}],["path",{d:"M6 10V5a2 2 0 0 1 2-2h2",key:"15xut4"}],["rect",{x:"3",y:"14",width:"7",height:"7",rx:"1",key:"1bkyp8"}]]);/**
|
|
6192
6192
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
6193
6193
|
*
|
|
6194
6194
|
* This source code is licensed under the ISC license.
|
|
6195
6195
|
* See the LICENSE file in the root directory of this source tree.
|
|
6196
|
-
*/const
|
|
6196
|
+
*/const VM=l("reply-all",[["path",{d:"m12 17-5-5 5-5",key:"1s3y5u"}],["path",{d:"M22 18v-2a4 4 0 0 0-4-4H7",key:"1fcyog"}],["path",{d:"m7 17-5-5 5-5",key:"1ed8i2"}]]);/**
|
|
6197
6197
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
6198
6198
|
*
|
|
6199
6199
|
* This source code is licensed under the ISC license.
|
|
@@ -6478,7 +6478,7 @@
|
|
|
6478
6478
|
*
|
|
6479
6479
|
* This source code is licensed under the ISC license.
|
|
6480
6480
|
* See the LICENSE file in the root directory of this source tree.
|
|
6481
|
-
*/const
|
|
6481
|
+
*/const zb=l("search-x",[["path",{d:"m13.5 8.5-5 5",key:"1cs55j"}],["path",{d:"m8.5 8.5 5 5",key:"a8mexj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
|
|
6482
6482
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
6483
6483
|
*
|
|
6484
6484
|
* This source code is licensed under the ISC license.
|
|
@@ -6488,7 +6488,7 @@
|
|
|
6488
6488
|
*
|
|
6489
6489
|
* This source code is licensed under the ISC license.
|
|
6490
6490
|
* See the LICENSE file in the root directory of this source tree.
|
|
6491
|
-
*/const
|
|
6491
|
+
*/const Vb=l("section",[["path",{d:"M16 5a4 3 0 0 0-8 0c0 4 8 3 8 7a4 3 0 0 1-8 0",key:"vqan6v"}],["path",{d:"M8 19a4 3 0 0 0 8 0c0-4-8-3-8-7a4 3 0 0 1 8 0",key:"wdjd8o"}]]);/**
|
|
6492
6492
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
6493
6493
|
*
|
|
6494
6494
|
* This source code is licensed under the ISC license.
|
|
@@ -6793,12 +6793,12 @@
|
|
|
6793
6793
|
*
|
|
6794
6794
|
* This source code is licensed under the ISC license.
|
|
6795
6795
|
* See the LICENSE file in the root directory of this source tree.
|
|
6796
|
-
*/const
|
|
6796
|
+
*/const zx=l("smartphone-charging",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12.667 8 10 12h4l-2.667 4",key:"h9lk2d"}]]);/**
|
|
6797
6797
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
6798
6798
|
*
|
|
6799
6799
|
* This source code is licensed under the ISC license.
|
|
6800
6800
|
* See the LICENSE file in the root directory of this source tree.
|
|
6801
|
-
*/const
|
|
6801
|
+
*/const Vx=l("smartphone-nfc",[["rect",{width:"7",height:"12",x:"2",y:"6",rx:"1",key:"5nje8w"}],["path",{d:"M13 8.32a7.43 7.43 0 0 1 0 7.36",key:"1g306n"}],["path",{d:"M16.46 6.21a11.76 11.76 0 0 1 0 11.58",key:"uqvjvo"}],["path",{d:"M19.91 4.1a15.91 15.91 0 0 1 .01 15.8",key:"ujntz3"}]]);/**
|
|
6802
6802
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
6803
6803
|
*
|
|
6804
6804
|
* This source code is licensed under the ISC license.
|
|
@@ -6993,12 +6993,12 @@
|
|
|
6993
6993
|
*
|
|
6994
6994
|
* This source code is licensed under the ISC license.
|
|
6995
6995
|
* See the LICENSE file in the root directory of this source tree.
|
|
6996
|
-
*/const
|
|
6996
|
+
*/const zr=l("square-arrow-up",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"m16 12-4-4-4 4",key:"177agl"}],["path",{d:"M12 16V8",key:"1sbj14"}]]);/**
|
|
6997
6997
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
6998
6998
|
*
|
|
6999
6999
|
* This source code is licensed under the ISC license.
|
|
7000
7000
|
* See the LICENSE file in the root directory of this source tree.
|
|
7001
|
-
*/const
|
|
7001
|
+
*/const Vr=l("square-asterisk",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 8v8",key:"napkw2"}],["path",{d:"m8.5 14 7-4",key:"12hpby"}],["path",{d:"m8.5 10 7 4",key:"wwy2dy"}]]);/**
|
|
7002
7002
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
7003
7003
|
*
|
|
7004
7004
|
* This source code is licensed under the ISC license.
|
|
@@ -7348,12 +7348,12 @@
|
|
|
7348
7348
|
*
|
|
7349
7349
|
* This source code is licensed under the ISC license.
|
|
7350
7350
|
* See the LICENSE file in the root directory of this source tree.
|
|
7351
|
-
*/const
|
|
7351
|
+
*/const z9=l("stone",[["path",{d:"M11.264 2.205A4 4 0 0 0 6.42 4.211l-4 8a4 4 0 0 0 1.359 5.117l6 4a4 4 0 0 0 4.438 0l6-4a4 4 0 0 0 1.576-4.592l-2-6a4 4 0 0 0-2.53-2.53z",key:"1si4ox"}],["path",{d:"M11.99 22 14 12l7.822 3.184",key:"1u8to0"}],["path",{d:"M14 12 8.47 2.302",key:"guo3d5"}]]);/**
|
|
7352
7352
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
7353
7353
|
*
|
|
7354
7354
|
* This source code is licensed under the ISC license.
|
|
7355
7355
|
* See the LICENSE file in the root directory of this source tree.
|
|
7356
|
-
*/const
|
|
7356
|
+
*/const V9=l("store",[["path",{d:"M15 21v-5a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v5",key:"slp6dd"}],["path",{d:"M17.774 10.31a1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.451 0 1.12 1.12 0 0 0-1.548 0 2.5 2.5 0 0 1-3.452 0 1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.77-3.248l2.889-4.184A2 2 0 0 1 7 2h10a2 2 0 0 1 1.653.873l2.895 4.192a2.5 2.5 0 0 1-3.774 3.244",key:"o0xfot"}],["path",{d:"M4 10.95V19a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8.05",key:"wn3emo"}]]);/**
|
|
7357
7357
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
7358
7358
|
*
|
|
7359
7359
|
* This source code is licensed under the ISC license.
|
|
@@ -7658,12 +7658,12 @@
|
|
|
7658
7658
|
*
|
|
7659
7659
|
* This source code is licensed under the ISC license.
|
|
7660
7660
|
* See the LICENSE file in the root directory of this source tree.
|
|
7661
|
-
*/const
|
|
7661
|
+
*/const zw=l("thumbs-up",[["path",{d:"M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z",key:"emmmcr"}],["path",{d:"M7 10v12",key:"1qc93n"}]]);/**
|
|
7662
7662
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
7663
7663
|
*
|
|
7664
7664
|
* This source code is licensed under the ISC license.
|
|
7665
7665
|
* See the LICENSE file in the root directory of this source tree.
|
|
7666
|
-
*/const
|
|
7666
|
+
*/const Vw=l("thumbs-down",[["path",{d:"M9 18.12 10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22a3.13 3.13 0 0 1-3-3.88Z",key:"m61m77"}],["path",{d:"M17 14V2",key:"8ymqnk"}]]);/**
|
|
7667
7667
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
7668
7668
|
*
|
|
7669
7669
|
* This source code is licensed under the ISC license.
|
|
@@ -7958,12 +7958,12 @@
|
|
|
7958
7958
|
*
|
|
7959
7959
|
* This source code is licensed under the ISC license.
|
|
7960
7960
|
* See the LICENSE file in the root directory of this source tree.
|
|
7961
|
-
*/const
|
|
7961
|
+
*/const zv=l("umbrella-off",[["path",{d:"M12 13v7a2 2 0 0 0 4 0",key:"rpgb42"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M18.656 13h2.336a1 1 0 0 0 .97-1.274 10.284 10.284 0 0 0-12.07-7.51",key:"yawknk"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M5.961 5.957a10.28 10.28 0 0 0-3.922 5.769A1 1 0 0 0 3 13h10",key:"5sfalc"}]]);/**
|
|
7962
7962
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
7963
7963
|
*
|
|
7964
7964
|
* This source code is licensed under the ISC license.
|
|
7965
7965
|
* See the LICENSE file in the root directory of this source tree.
|
|
7966
|
-
*/const
|
|
7966
|
+
*/const Vv=l("umbrella",[["path",{d:"M12 13v7a2 2 0 0 0 4 0",key:"rpgb42"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M20.992 13a1 1 0 0 0 .97-1.274 10.284 10.284 0 0 0-19.923 0A1 1 0 0 0 3 13z",key:"124nyo"}]]);/**
|
|
7967
7967
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
7968
7968
|
*
|
|
7969
7969
|
* This source code is licensed under the ISC license.
|
|
@@ -7998,7 +7998,7 @@
|
|
|
7998
7998
|
*
|
|
7999
7999
|
* This source code is licensed under the ISC license.
|
|
8000
8000
|
* See the LICENSE file in the root directory of this source tree.
|
|
8001
|
-
*/const
|
|
8001
|
+
*/const zi=l("university",[["path",{d:"M14 21v-3a2 2 0 0 0-4 0v3",key:"1rgiei"}],["path",{d:"M18 12h.01",key:"yjnet6"}],["path",{d:"M18 16h.01",key:"plv8zi"}],["path",{d:"M22 7a1 1 0 0 0-1-1h-2a2 2 0 0 1-1.143-.359L13.143 2.36a2 2 0 0 0-2.286-.001L6.143 5.64A2 2 0 0 1 5 6H3a1 1 0 0 0-1 1v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2z",key:"1ogmi3"}],["path",{d:"M6 12h.01",key:"c2rlol"}],["path",{d:"M6 16h.01",key:"1pmjb7"}],["circle",{cx:"12",cy:"10",r:"2",key:"1yojzk"}]]);/**
|
|
8002
8002
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
8003
8003
|
*
|
|
8004
8004
|
* This source code is licensed under the ISC license.
|
|
@@ -8068,7 +8068,7 @@
|
|
|
8068
8068
|
*
|
|
8069
8069
|
* This source code is licensed under the ISC license.
|
|
8070
8070
|
* See the LICENSE file in the root directory of this source tree.
|
|
8071
|
-
*/const
|
|
8071
|
+
*/const Vi=l("user-round-check",[["path",{d:"M2 21a8 8 0 0 1 13.292-6",key:"bjp14o"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"m16 19 2 2 4-4",key:"1b14m6"}]]);/**
|
|
8072
8072
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
8073
8073
|
*
|
|
8074
8074
|
* This source code is licensed under the ISC license.
|
|
@@ -8293,12 +8293,12 @@
|
|
|
8293
8293
|
*
|
|
8294
8294
|
* This source code is licensed under the ISC license.
|
|
8295
8295
|
* See the LICENSE file in the root directory of this source tree.
|
|
8296
|
-
*/const
|
|
8296
|
+
*/const zC=l("wand",[["path",{d:"M15 4V2",key:"z1p9b7"}],["path",{d:"M15 16v-2",key:"px0unx"}],["path",{d:"M8 9h2",key:"1g203m"}],["path",{d:"M20 9h2",key:"19tzq7"}],["path",{d:"M17.8 11.8 19 13",key:"yihg8r"}],["path",{d:"M15 9h.01",key:"x1ddxp"}],["path",{d:"M17.8 6.2 19 5",key:"fd4us0"}],["path",{d:"m3 21 9-9",key:"1jfql5"}],["path",{d:"M12.2 6.2 11 5",key:"i3da3b"}]]);/**
|
|
8297
8297
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
8298
8298
|
*
|
|
8299
8299
|
* This source code is licensed under the ISC license.
|
|
8300
8300
|
* See the LICENSE file in the root directory of this source tree.
|
|
8301
|
-
*/const
|
|
8301
|
+
*/const VC=l("warehouse",[["path",{d:"M18 21V10a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v11",key:"pb2vm6"}],["path",{d:"M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 1.132-1.803l7.95-3.974a2 2 0 0 1 1.837 0l7.948 3.974A2 2 0 0 1 22 8z",key:"doq5xv"}],["path",{d:"M6 13h12",key:"yf64js"}],["path",{d:"M6 17h12",key:"1jwigz"}]]);/**
|
|
8302
8302
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
8303
8303
|
*
|
|
8304
8304
|
* This source code is licensed under the ISC license.
|
|
@@ -8488,35 +8488,35 @@
|
|
|
8488
8488
|
*
|
|
8489
8489
|
* This source code is licensed under the ISC license.
|
|
8490
8490
|
* See the LICENSE file in the root directory of this source tree.
|
|
8491
|
-
*/const LP=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:J1,AArrowUp:el,ALargeSmall:tl,Accessibility:al,Activity:nl,AirVent:ol,Airplay:rl,AlarmClock:sl,AlarmClockCheck:za,AlarmClockMinus:qa,AlarmClockOff:il,AlarmClockPlus:Pa,AlarmSmoke:ll,Album:dl,AlignCenterHorizontal:cl,AlignCenterVertical:hl,AlignEndHorizontal:ul,AlignEndVertical:pl,AlignHorizontalDistributeCenter:yl,AlignHorizontalDistributeEnd:fl,AlignHorizontalDistributeStart:kl,AlignHorizontalJustifyCenter:ml,AlignHorizontalJustifyEnd:gl,AlignHorizontalJustifyStart:Ml,AlignHorizontalSpaceAround:bl,AlignHorizontalSpaceBetween:xl,AlignStartHorizontal:wl,AlignStartVertical:vl,AlignVerticalDistributeCenter:Cl,AlignVerticalDistributeEnd:Ll,AlignVerticalDistributeStart:Sl,AlignVerticalJustifyCenter:Il,AlignVerticalJustifyEnd:_l,AlignVerticalJustifyStart:Al,AlignVerticalSpaceAround:Bl,AlignVerticalSpaceBetween:Vl,Ambulance:zl,Ampersand:ql,Ampersands:Pl,Amphora:El,Anchor:Dl,Angry:Tl,Annoyed:Hl,Antenna:jl,Anvil:Ol,Aperture:Fl,AppWindow:Nl,AppWindowMac:Rl,Apple:$l,Archive:Gl,ArchiveRestore:Ul,ArchiveX:Wl,Armchair:Kl,ArrowBigDown:Zl,ArrowBigDownDash:Xl,ArrowBigLeft:Ql,ArrowBigLeftDash:Yl,ArrowBigRight:ec,ArrowBigRightDash:Jl,ArrowBigUp:tc,ArrowBigUpDash:ac,ArrowDown:uc,ArrowDown01:oc,ArrowDown10:nc,ArrowDownAZ:Da,ArrowDownFromLine:rc,ArrowDownLeft:ic,ArrowDownNarrowWide:lc,ArrowDownRight:sc,ArrowDownToDot:cc,ArrowDownToLine:dc,ArrowDownUp:hc,ArrowDownWideNarrow:Ea,ArrowDownZA:Ta,ArrowLeft:kc,ArrowLeftFromLine:pc,ArrowLeftRight:fc,ArrowLeftToLine:yc,ArrowRight:Ts,ArrowRightFromLine:mc,ArrowRightLeft:gc,ArrowRightToLine:Mc,ArrowUp:Bc,ArrowUp01:bc,ArrowUp10:xc,ArrowUpAZ:Ha,ArrowUpDown:wc,ArrowUpFromDot:vc,ArrowUpFromLine:Cc,ArrowUpLeft:Lc,ArrowUpNarrowWide:ja,ArrowUpRight:Sc,ArrowUpToLine:Ic,ArrowUpWideNarrow:_c,ArrowUpZA:Oa,ArrowsUpFromLine:Ac,Asterisk:Vc,AtSign:zc,Atom:qc,AudioLines:Pc,AudioWaveform:Dc,Award:Ec,Axe:Tc,Axis3d:Fa,Baby:jc,Backpack:Hc,Badge:td,BadgeAlert:Oc,BadgeCent:Fc,BadgeCheck:Ra,BadgeDollarSign:Rc,BadgeEuro:Nc,BadgeIndianRupee:$c,BadgeInfo:Uc,BadgeJapaneseYen:Wc,BadgeMinus:Gc,BadgePercent:Kc,BadgePlus:Xc,BadgePoundSterling:Zc,BadgeQuestionMark:Na,BadgeRussianRuble:Yc,BadgeSwissFranc:Qc,BadgeTurkishLira:Jc,BadgeX:ed,BaggageClaim:ad,Balloon:nd,Ban:rd,Banana:od,Bandage:id,Banknote:ud,BanknoteArrowDown:sd,BanknoteArrowUp:ld,BanknoteX:cd,Barcode:dd,Barrel:hd,Baseline:pd,Bath:yd,Battery:xd,BatteryCharging:fd,BatteryFull:kd,BatteryLow:md,BatteryMedium:Md,BatteryPlus:gd,BatteryWarning:bd,Beaker:wd,Bean:Cd,BeanOff:vd,Bed:Id,BedDouble:Ld,BedSingle:Sd,Beef:_d,Beer:Bd,BeerOff:Ad,Bell:Ed,BellDot:Vd,BellElectric:zd,BellMinus:qd,BellOff:Pd,BellPlus:Dd,BellRing:Td,BetweenHorizontalEnd:$a,BetweenHorizontalStart:Ua,BetweenVerticalEnd:Hd,BetweenVerticalStart:jd,BicepsFlexed:Od,Bike:Fd,Binary:Rd,Binoculars:$d,Biohazard:Nd,Bird:Ud,Birdhouse:Wd,Bitcoin:Gd,Blend:Kd,Blinds:Xd,Blocks:Yd,Bluetooth:e0,BluetoothConnected:Zd,BluetoothOff:Qd,BluetoothSearching:Jd,Bold:t0,Bolt:a0,Bomb:n0,Bone:o0,Book:A0,BookA:r0,BookAlert:i0,BookAudio:s0,BookCheck:c0,BookCopy:l0,BookDashed:Wa,BookDown:d0,BookHeadphones:h0,BookHeart:u0,BookImage:p0,BookKey:y0,BookLock:f0,BookMarked:k0,BookMinus:m0,BookOpen:b0,BookOpenCheck:g0,BookOpenText:M0,BookPlus:x0,BookSearch:w0,BookText:v0,BookType:C0,BookUp:L0,BookUp2:S0,BookUser:I0,BookX:_0,Bookmark:P0,BookmarkCheck:B0,BookmarkMinus:V0,BookmarkPlus:z0,BookmarkX:q0,BoomBox:E0,Bot:H0,BotMessageSquare:D0,BotOff:T0,BottleWine:O0,BowArrow:j0,Box:F0,Boxes:R0,Braces:Ga,Brackets:N0,Brain:W0,BrainCircuit:U0,BrainCog:$0,BrickWall:K0,BrickWallFire:G0,BrickWallShield:X0,Briefcase:Q0,BriefcaseBusiness:Z0,BriefcaseConveyorBelt:Y0,BriefcaseMedical:J0,BringToFront:e2,Brush:a2,BrushCleaning:t2,Bubbles:n2,Bug:i2,BugOff:o2,BugPlay:r2,Building:l2,Building2:s2,Bus:d2,BusFront:c2,Cable:u2,CableCar:h2,Cake:y2,CakeSlice:p2,Calculator:f2,Calendar:Hs,Calendar1:k2,CalendarArrowDown:M2,CalendarArrowUp:m2,CalendarCheck:b2,CalendarCheck2:g2,CalendarClock:x2,CalendarCog:v2,CalendarDays:w2,CalendarFold:C2,CalendarHeart:L2,CalendarMinus:I2,CalendarMinus2:S2,CalendarOff:_2,CalendarPlus:B2,CalendarPlus2:A2,CalendarRange:V2,CalendarSearch:z2,CalendarSync:q2,CalendarX:D2,CalendarX2:P2,Calendars:E2,Camera:H2,CameraOff:T2,Candy:F2,CandyCane:j2,CandyOff:O2,Cannabis:N2,CannabisOff:R2,Captions:Ka,CaptionsOff:$2,Car:G2,CarFront:U2,CarTaxiFront:W2,Caravan:K2,CardSim:X2,Carrot:Z2,CaseLower:Y2,CaseSensitive:Q2,CaseUpper:J2,CassetteTape:eh,Cast:th,Castle:ah,Cat:nh,Cctv:oh,ChartArea:Xa,ChartBar:Qa,ChartBarBig:Za,ChartBarDecreasing:ih,ChartBarIncreasing:rh,ChartBarStacked:sh,ChartCandlestick:Ya,ChartColumn:tn,ChartColumnBig:Ja,ChartColumnDecreasing:lh,ChartColumnIncreasing:en,ChartColumnStacked:ch,ChartGantt:dh,ChartLine:an,ChartNetwork:hh,ChartNoAxesColumn:on,ChartNoAxesColumnDecreasing:uh,ChartNoAxesColumnIncreasing:nn,ChartNoAxesCombined:ph,ChartNoAxesGantt:sn,ChartPie:rn,ChartScatter:ln,ChartSpline:fh,Check:sa,CheckCheck:yh,CheckLine:kh,ChefHat:mh,Cherry:gh,ChessBishop:Mh,ChessKing:bh,ChessKnight:xh,ChessPawn:wh,ChessQueen:vh,ChessRook:Ch,ChevronDown:St,ChevronFirst:Lh,ChevronLast:Sh,ChevronLeft:cn,ChevronRight:dn,ChevronUp:js,ChevronsDown:_h,ChevronsDownUp:Ih,ChevronsLeft:Os,ChevronsLeftRight:Bh,ChevronsLeftRightEllipsis:Ah,ChevronsRight:Fs,ChevronsRightLeft:Vh,ChevronsUp:qh,ChevronsUpDown:zh,Chromium:hn,Church:Dh,Cigarette:Eh,CigaretteOff:Ph,Circle:Rs,CircleAlert:It,CircleArrowDown:un,CircleArrowLeft:pn,CircleArrowOutDownLeft:yn,CircleArrowOutDownRight:fn,CircleArrowOutUpLeft:kn,CircleArrowOutUpRight:mn,CircleArrowRight:gn,CircleArrowUp:Mn,CircleCheck:bn,CircleCheckBig:la,CircleChevronDown:wn,CircleChevronLeft:vn,CircleChevronRight:xn,CircleChevronUp:Cn,CircleDashed:Th,CircleDivide:Ln,CircleDollarSign:Hh,CircleDot:Oh,CircleDotDashed:jh,CircleEllipsis:Rh,CircleEqual:Fh,CircleFadingArrowUp:Nh,CircleFadingPlus:$h,CircleGauge:Sn,CircleMinus:In,CircleOff:Uh,CircleParking:An,CircleParkingOff:_n,CirclePause:Bn,CirclePercent:Vn,CirclePile:Wh,CirclePlay:zn,CirclePlus:qn,CirclePoundSterling:Gh,CirclePower:Pn,CircleQuestionMark:_t,CircleSlash:Kh,CircleSlash2:Dn,CircleSmall:Xh,CircleStar:Zh,CircleStop:En,CircleUser:Hn,CircleUserRound:Tn,CircleX:jn,CircuitBoard:Yh,Citrus:Qh,Clapperboard:Jh,Clipboard:cu,ClipboardCheck:tu,ClipboardClock:eu,ClipboardCopy:au,ClipboardList:nu,ClipboardMinus:ou,ClipboardPaste:ru,ClipboardPen:Fn,ClipboardPenLine:On,ClipboardPlus:iu,ClipboardType:su,ClipboardX:lu,Clock:Ns,Clock1:du,Clock10:hu,Clock11:uu,Clock12:pu,Clock2:yu,Clock3:fu,Clock4:ku,Clock5:mu,Clock6:gu,Clock7:Mu,Clock8:bu,Clock9:xu,ClockAlert:wu,ClockArrowDown:vu,ClockArrowUp:Cu,ClockCheck:Lu,ClockFading:Su,ClockPlus:Iu,ClosedCaption:_u,Cloud:Wu,CloudAlert:Au,CloudBackup:Bu,CloudCheck:Vu,CloudCog:zu,CloudDownload:Rn,CloudDrizzle:qu,CloudFog:Pu,CloudHail:Du,CloudLightning:Eu,CloudMoon:Hu,CloudMoonRain:Tu,CloudOff:ju,CloudRain:Fu,CloudRainWind:Ou,CloudSnow:Ru,CloudSun:$u,CloudSunRain:Nu,CloudSync:Uu,CloudUpload:ca,Cloudy:Gu,Clover:Ku,Club:Xu,Code:Zu,CodeXml:Nn,Codepen:Yu,Codesandbox:Qu,Coffee:Ju,Cog:ep,Coins:tp,Columns2:$n,Columns3:Un,Columns3Cog:At,Columns4:ap,Combine:np,Command:op,Compass:rp,Component:ip,Computer:sp,ConciergeBell:lp,Cone:cp,Construction:dp,Contact:hp,ContactRound:Wn,Container:up,Contrast:pp,Cookie:fp,CookingPot:yp,Copy:xp,CopyCheck:kp,CopyMinus:mp,CopyPlus:gp,CopySlash:bp,CopyX:Mp,Copyleft:wp,Copyright:vp,CornerDownLeft:Cp,CornerDownRight:Sp,CornerLeftDown:Lp,CornerLeftUp:Ip,CornerRightDown:_p,CornerRightUp:Ap,CornerUpLeft:Bp,CornerUpRight:Vp,Cpu:ls,CreativeCommons:zp,CreditCard:qp,Croissant:Pp,Crop:Dp,Cross:Ep,Crosshair:Hp,Crown:Tp,Cuboid:jp,CupSoda:Op,Currency:Fp,Cylinder:Rp,Dam:Np,Database:Gp,DatabaseBackup:$p,DatabaseSearch:Up,DatabaseZap:Wp,DecimalsArrowLeft:Kp,DecimalsArrowRight:Xp,Delete:Zp,Dessert:Yp,Diameter:Qp,Diamond:ty,DiamondMinus:Jp,DiamondPercent:Gn,DiamondPlus:ey,Dice1:ay,Dice2:ny,Dice3:oy,Dice4:ry,Dice5:iy,Dice6:sy,Dices:ly,Diff:cy,Disc:py,Disc2:dy,Disc3:hy,DiscAlbum:uy,Divide:yy,Dna:ky,DnaOff:fy,Dock:my,Dog:My,DollarSign:gy,Donut:xy,DoorClosed:wy,DoorClosedLocked:by,DoorOpen:vy,Dot:Cy,Download:$s,DraftingCompass:Ly,Drama:Iy,Dribbble:Sy,Drill:_y,Drone:Ay,Droplet:Vy,DropletOff:By,Droplets:zy,Drum:qy,Drumstick:Py,Dumbbell:Dy,Ear:Ty,EarOff:Ey,Earth:Kn,EarthLock:Hy,Eclipse:jy,Egg:Fy,EggFried:Oy,EggOff:Ry,Ellipsis:da,EllipsisVertical:Xn,Equal:Uy,EqualApproximately:$y,EqualNot:Ny,Eraser:Wy,EthernetPort:Gy,Euro:Ky,EvCharger:Xy,Expand:Zy,ExternalLink:Yy,Eye:cs,EyeClosed:Qy,EyeOff:Us,Facebook:Jy,Factory:ef,Fan:tf,FastForward:af,Feather:nf,Fence:of,FerrisWheel:rf,Figma:sf,File:Df,FileArchive:lf,FileAxis3d:Zn,FileBadge:Yn,FileBox:cf,FileBraces:Jn,FileBracesCorner:Qn,FileChartColumn:to,FileChartColumnIncreasing:eo,FileChartLine:ao,FileChartPie:no,FileCheck:df,FileCheckCorner:oo,FileClock:hf,FileCode:uf,FileCodeCorner:ro,FileCog:io,FileDiff:pf,FileDigit:ff,FileDown:yf,FileExclamationPoint:so,FileHeadphone:Bt,FileHeart:kf,FileImage:mf,FileInput:gf,FileKey:lo,FileLock:co,FileMinus:bf,FileMinusCorner:ho,FileMusic:Mf,FileOutput:xf,FilePen:yo,FilePenLine:uo,FilePlay:po,FilePlus:wf,FilePlusCorner:fo,FileQuestionMark:ko,FileScan:vf,FileSearch:Cf,FileSearchCorner:mo,FileSignal:go,FileSliders:Lf,FileSpreadsheet:Sf,FileStack:If,FileSymlink:_f,FileTerminal:Af,FileText:ds,FileType:Bf,FileTypeCorner:Mo,FileUp:Vf,FileUser:zf,FileVideoCamera:bo,FileVolume:qf,FileX:Pf,FileXCorner:xo,Files:Tf,Film:Ef,FingerprintPattern:wo,FireExtinguisher:Hf,Fish:Ff,FishOff:jf,FishSymbol:Of,FishingHook:Rf,Flag:Wf,FlagOff:Nf,FlagTriangleLeft:$f,FlagTriangleRight:Uf,Flame:Kf,FlameKindling:Gf,Flashlight:Zf,FlashlightOff:Xf,FlaskConical:Qf,FlaskConicalOff:Yf,FlaskRound:Jf,FlipHorizontal2:ek,FlipVertical2:tk,Flower:nk,Flower2:ak,Focus:ok,FoldHorizontal:rk,FoldVertical:ik,Folder:Pk,FolderArchive:sk,FolderCheck:lk,FolderClock:ck,FolderClosed:dk,FolderCode:hk,FolderCog:vo,FolderDot:uk,FolderDown:pk,FolderGit:fk,FolderGit2:yk,FolderHeart:kk,FolderInput:mk,FolderKanban:Mk,FolderKey:gk,FolderLock:bk,FolderMinus:vk,FolderOpen:wk,FolderOpenDot:xk,FolderOutput:Ck,FolderPen:Co,FolderPlus:Ik,FolderRoot:Lk,FolderSearch:_k,FolderSearch2:Sk,FolderSymlink:Bk,FolderSync:Ak,FolderTree:Vk,FolderUp:zk,FolderX:qk,Folders:Dk,Footprints:Ek,Forklift:Tk,Form:Hk,Forward:Ok,Frame:jk,Framer:Fk,Frown:Rk,Fuel:Nk,Fullscreen:$k,Funnel:So,FunnelPlus:Uk,FunnelX:Lo,GalleryHorizontal:Gk,GalleryHorizontalEnd:Wk,GalleryThumbnails:Kk,GalleryVertical:Zk,GalleryVerticalEnd:Xk,Gamepad:em,Gamepad2:Yk,GamepadDirectional:Qk,Gauge:Jk,Gavel:tm,Gem:am,GeorgianLari:nm,Ghost:om,Gift:rm,GitBranch:lm,GitBranchMinus:im,GitBranchPlus:sm,GitCommitHorizontal:Io,GitCommitVertical:cm,GitCompare:hm,GitCompareArrows:dm,GitFork:um,GitGraph:pm,GitMerge:fm,GitMergeConflict:ym,GitPullRequest:xm,GitPullRequestArrow:km,GitPullRequestClosed:mm,GitPullRequestCreate:Mm,GitPullRequestCreateArrow:gm,GitPullRequestDraft:bm,Github:wm,Gitlab:vm,GlassWater:Cm,Glasses:Lm,Globe:Ws,GlobeLock:Sm,GlobeOff:Im,GlobeX:_m,Goal:Am,Gpu:Vm,GraduationCap:Bm,Grape:zm,Grid2x2:Vo,Grid2x2Check:_o,Grid2x2Plus:Bo,Grid2x2X:Ao,Grid3x2:qm,Grid3x3:Vt,Grip:Em,GripHorizontal:Pm,GripVertical:Dm,Group:Hm,Guitar:Tm,Ham:jm,Hamburger:Om,Hammer:Fm,Hand:Gm,HandCoins:Rm,HandFist:Nm,HandGrab:zo,HandHeart:$m,HandHelping:qo,HandMetal:Um,HandPlatter:Wm,Handbag:Km,Handshake:Xm,HardDrive:Qm,HardDriveDownload:Zm,HardDriveUpload:Ym,HardHat:Jm,Hash:e4,HatGlasses:t4,Haze:a4,Hd:n4,HdmiPort:o4,Heading:h4,Heading1:r4,Heading2:i4,Heading3:s4,Heading4:l4,Heading5:c4,Heading6:d4,HeadphoneOff:u4,Headphones:p4,Headset:y4,Heart:x4,HeartCrack:f4,HeartHandshake:m4,HeartMinus:k4,HeartOff:g4,HeartPlus:M4,HeartPulse:b4,Heater:w4,Helicopter:v4,Hexagon:C4,Highlighter:L4,History:S4,Hop:_4,HopOff:I4,Hospital:A4,Hotel:B4,Hourglass:V4,House:Po,HouseHeart:z4,HousePlug:q4,HousePlus:P4,HouseWifi:D4,IceCreamBowl:Do,IceCreamCone:Eo,IdCard:T4,IdCardLanyard:E4,Image:U4,ImageDown:H4,ImageMinus:j4,ImageOff:O4,ImagePlay:F4,ImagePlus:R4,ImageUp:N4,ImageUpscale:$4,Images:W4,Import:K4,Inbox:G4,IndianRupee:X4,Infinity:Z4,Info:Y4,InspectionPanel:Q4,Instagram:J4,Italic:e5,IterationCcw:t5,IterationCw:a5,JapaneseYen:n5,Joystick:o5,Kanban:r5,Kayak:i5,Key:d5,KeyRound:s5,KeySquare:l5,Keyboard:u5,KeyboardMusic:c5,KeyboardOff:h5,Lamp:g5,LampCeiling:p5,LampDesk:y5,LampFloor:k5,LampWallDown:f5,LampWallUp:m5,LandPlot:M5,Landmark:x5,Languages:b5,Laptop:v5,LaptopMinimal:To,LaptopMinimalCheck:w5,Lasso:L5,LassoSelect:C5,Laugh:S5,Layers:Ho,Layers2:I5,LayersPlus:_5,LayoutDashboard:A5,LayoutGrid:B5,LayoutList:V5,LayoutPanelLeft:z5,LayoutPanelTop:q5,LayoutTemplate:P5,Leaf:D5,LeafyGreen:E5,Lectern:T5,LensConcave:H5,LensConvex:j5,Library:N5,LibraryBig:O5,LifeBuoy:R5,Ligature:F5,Lightbulb:U5,LightbulbOff:$5,LineDotRightHorizontal:W5,LineSquiggle:G5,Link:Gs,Link2:X5,Link2Off:K5,Linkedin:Z5,List:fg,ListCheck:Y5,ListChecks:Q5,ListChevronsDownUp:eg,ListChevronsUpDown:J5,ListCollapse:tg,ListEnd:ag,ListFilter:ng,ListFilterPlus:og,ListIndentDecrease:zt,ListIndentIncrease:qt,ListMinus:lg,ListMusic:rg,ListOrdered:ig,ListPlus:sg,ListRestart:cg,ListStart:dg,ListTodo:ug,ListTree:hg,ListVideo:pg,ListX:yg,Loader:mg,LoaderCircle:kt,LoaderPinwheel:kg,Locate:bg,LocateFixed:gg,LocateOff:Mg,Lock:wg,LockKeyhole:xg,LockKeyholeOpen:jo,LockOpen:Oo,LogIn:vg,LogOut:Cg,Logs:Lg,Lollipop:Sg,Luggage:Ig,Magnet:_g,Mail:Eg,MailCheck:Ag,MailMinus:Vg,MailOpen:Bg,MailPlus:zg,MailQuestionMark:Fo,MailSearch:qg,MailWarning:Dg,MailX:Pg,Mailbox:jg,Mails:Tg,Map:Qg,MapMinus:Hg,MapPin:Ks,MapPinCheck:Og,MapPinCheckInside:Fg,MapPinHouse:Rg,MapPinMinus:$g,MapPinMinusInside:Ng,MapPinOff:Ug,MapPinPen:Ro,MapPinPlus:Gg,MapPinPlusInside:Wg,MapPinX:Kg,MapPinXInside:Xg,MapPinned:Zg,MapPlus:Yg,Mars:t3,MarsStroke:Jg,Martini:e3,Maximize:n3,Maximize2:a3,Medal:o3,Megaphone:i3,MegaphoneOff:r3,Meh:s3,MemoryStick:l3,Menu:c3,Merge:d3,MessageCircle:x3,MessageCircleCheck:h3,MessageCircleCode:u3,MessageCircleDashed:p3,MessageCircleHeart:y3,MessageCircleMore:k3,MessageCircleOff:f3,MessageCirclePlus:m3,MessageCircleQuestionMark:No,MessageCircleReply:g3,MessageCircleWarning:M3,MessageCircleX:b3,MessageSquare:hs,MessageSquareCheck:w3,MessageSquareCode:v3,MessageSquareDashed:C3,MessageSquareDiff:L3,MessageSquareDot:S3,MessageSquareHeart:I3,MessageSquareLock:_3,MessageSquareMore:A3,MessageSquareOff:B3,MessageSquarePlus:V3,MessageSquareQuote:z3,MessageSquareReply:q3,MessageSquareShare:P3,MessageSquareText:E3,MessageSquareWarning:D3,MessageSquareX:T3,MessagesSquare:H3,Metronome:j3,Mic:F3,MicOff:O3,MicVocal:$o,Microchip:R3,Microscope:N3,Microwave:$3,Milestone:U3,Milk:G3,MilkOff:W3,Minimize:K3,Minimize2:X3,Minus:Xs,MirrorRectangular:Z3,MirrorRound:Y3,Monitor:h8,MonitorCheck:Q3,MonitorCloud:J3,MonitorCog:e8,MonitorDot:t8,MonitorDown:a8,MonitorOff:n8,MonitorPause:o8,MonitorPlay:r8,MonitorSmartphone:i8,MonitorSpeaker:s8,MonitorStop:l8,MonitorUp:c8,MonitorX:d8,Moon:p8,MoonStar:u8,Motorbike:y8,Mountain:k8,MountainSnow:f8,Mouse:L8,MouseLeft:m8,MouseOff:g8,MousePointer:v8,MousePointer2:b8,MousePointer2Off:M8,MousePointerBan:x8,MousePointerClick:w8,MouseRight:C8,Move:H8,Move3d:Uo,MoveDiagonal:I8,MoveDiagonal2:S8,MoveDown:B8,MoveDownLeft:_8,MoveDownRight:A8,MoveHorizontal:V8,MoveLeft:z8,MoveRight:P8,MoveUp:E8,MoveUpLeft:q8,MoveUpRight:D8,MoveVertical:T8,Music:R8,Music2:j8,Music3:O8,Music4:F8,Navigation:W8,Navigation2:$8,Navigation2Off:N8,NavigationOff:U8,Network:G8,Newspaper:K8,Nfc:X8,NonBinary:Z8,Notebook:e6,NotebookPen:Q8,NotebookTabs:Y8,NotebookText:J8,NotepadText:a6,NotepadTextDashed:t6,Nut:o6,NutOff:n6,Octagon:i6,OctagonAlert:Wo,OctagonMinus:r6,OctagonPause:Go,OctagonX:Ko,Omega:s6,Option:l6,Orbit:c6,Origami:d6,Package:g6,Package2:h6,PackageCheck:p6,PackageMinus:u6,PackageOpen:y6,PackagePlus:f6,PackageSearch:k6,PackageX:m6,PaintBucket:M6,PaintRoller:b6,Paintbrush:x6,PaintbrushVertical:Xo,Palette:w6,Panda:v6,PanelBottom:S6,PanelBottomClose:C6,PanelBottomDashed:Zo,PanelBottomOpen:L6,PanelLeft:er,PanelLeftClose:Qo,PanelLeftDashed:Yo,PanelLeftOpen:Jo,PanelLeftRightDashed:I6,PanelRight:B6,PanelRightClose:_6,PanelRightDashed:tr,PanelRightOpen:A6,PanelTop:P6,PanelTopBottomDashed:V6,PanelTopClose:z6,PanelTopDashed:ar,PanelTopOpen:q6,PanelsLeftBottom:D6,PanelsRightBottom:E6,PanelsTopLeft:nr,Paperclip:T6,Parentheses:H6,ParkingMeter:j6,PartyPopper:O6,Pause:F6,PawPrint:R6,PcCase:N6,Pen:rr,PenLine:or,PenOff:$6,PenTool:U6,Pencil:ir,PencilLine:W6,PencilOff:G6,PencilRuler:K6,Pentagon:X6,Percent:Z6,PersonStanding:Y6,PhilippinePeso:Q6,Phone:Zs,PhoneCall:J6,PhoneForwarded:e7,PhoneIncoming:t7,PhoneMissed:n7,PhoneOff:a7,PhoneOutgoing:o7,Pi:r7,Piano:i7,Pickaxe:s7,PictureInPicture:c7,PictureInPicture2:l7,PiggyBank:d7,Pilcrow:p7,PilcrowLeft:h7,PilcrowRight:u7,Pill:g7,PillBottle:y7,Pin:k7,PinOff:f7,Pipette:m7,Pizza:M7,Plane:Ys,PlaneLanding:b7,PlaneTakeoff:x7,Play:w7,Plug:C7,Plug2:v7,PlugZap:sr,Plus:Qs,Pocket:S7,PocketKnife:L7,Podcast:I7,Pointer:A7,PointerOff:_7,Popcorn:B7,Popsicle:V7,PoundSterling:q7,Power:P7,PowerOff:z7,Presentation:D7,Printer:H7,PrinterCheck:E7,PrinterX:T7,Projector:j7,Proportions:R7,Puzzle:O7,Pyramid:F7,QrCode:N7,Quote:$7,Rabbit:W7,Radar:U7,Radiation:K7,Radical:G7,Radio:Y7,RadioReceiver:X7,RadioTower:Z7,Radius:Q7,RailSymbol:J7,Rainbow:eM,Rat:tM,Ratio:aM,Receipt:uM,ReceiptCent:nM,ReceiptEuro:oM,ReceiptIndianRupee:rM,ReceiptJapaneseYen:iM,ReceiptPoundSterling:sM,ReceiptRussianRuble:lM,ReceiptSwissFranc:cM,ReceiptText:dM,ReceiptTurkishLira:hM,RectangleCircle:pM,RectangleEllipsis:lr,RectangleGoggles:yM,RectangleHorizontal:fM,RectangleVertical:kM,Recycle:mM,Redo:MM,Redo2:gM,RedoDot:bM,RefreshCcw:wM,RefreshCcwDot:xM,RefreshCw:us,RefreshCwOff:vM,Refrigerator:LM,Regex:CM,RemoveFormatting:SM,Repeat:_M,Repeat1:IM,Repeat2:BM,Replace:VM,ReplaceAll:AM,Reply:qM,ReplyAll:zM,Rewind:DM,Ribbon:PM,Rocket:EM,RockingChair:TM,RollerCoaster:HM,Rose:jM,Rotate3d:cr,RotateCcw:RM,RotateCcwKey:OM,RotateCcwSquare:FM,RotateCw:$M,RotateCwSquare:NM,Route:WM,RouteOff:UM,Router:GM,Rows2:dr,Rows3:hr,Rows4:KM,Rss:XM,Ruler:ZM,RulerDimensionLine:YM,RussianRuble:QM,Sailboat:JM,Salad:eb,Sandwich:ab,Satellite:nb,SatelliteDish:tb,SaudiRiyal:ob,Save:sb,SaveAll:ib,SaveOff:rb,Scale:lb,Scale3d:ur,Scaling:cb,Scan:mb,ScanBarcode:db,ScanEye:hb,ScanFace:ub,ScanHeart:pb,ScanLine:yb,ScanQrCode:kb,ScanSearch:fb,ScanText:gb,School:Mb,Scissors:wb,ScissorsLineDashed:bb,Scooter:xb,ScreenShare:Cb,ScreenShareOff:vb,Scroll:Sb,ScrollText:Lb,Search:pr,SearchAlert:Ib,SearchCheck:Ab,SearchCode:_b,SearchSlash:Bb,SearchX:Vb,Section:zb,Send:Pb,SendHorizontal:yr,SendToBack:qb,SeparatorHorizontal:Db,SeparatorVertical:Eb,Server:Js,ServerCog:Tb,ServerCrash:Hb,ServerOff:Ob,Settings:Fb,Settings2:jb,Shapes:Rb,Share:Nb,Share2:e1,Sheet:$b,Shell:Ub,ShelvingUnit:Wb,Shield:ax,ShieldAlert:Gb,ShieldBan:Kb,ShieldCheck:Xb,ShieldEllipsis:Zb,ShieldHalf:Yb,ShieldMinus:ex,ShieldOff:Qb,ShieldPlus:Jb,ShieldQuestionMark:fr,ShieldUser:tx,ShieldX:kr,Ship:ox,ShipWheel:nx,Shirt:rx,ShoppingBag:ix,ShoppingBasket:sx,ShoppingCart:t1,Shovel:cx,ShowerHead:lx,Shredder:dx,Shrimp:hx,Shrink:ux,Shrub:px,Shuffle:yx,Sigma:fx,Signal:bx,SignalHigh:kx,SignalLow:mx,SignalMedium:gx,SignalZero:Mx,Signature:xx,Signpost:vx,SignpostBig:wx,Siren:Cx,SkipBack:Sx,SkipForward:Lx,Skull:_x,Slack:Ix,Slash:Ax,Slice:Bx,SlidersHorizontal:a1,SlidersVertical:mr,Smartphone:qx,SmartphoneCharging:Vx,SmartphoneNfc:zx,Smile:Dx,SmilePlus:Px,Snail:Ex,Snowflake:Tx,SoapDispenserDroplet:Hx,Sofa:jx,SolarPanel:Ox,Soup:Fx,Space:Rx,Spade:Nx,Sparkle:$x,Sparkles:gr,Speaker:Ux,Speech:Wx,SpellCheck:Xx,SpellCheck2:Gx,Spline:Zx,SplinePointer:Kx,Split:Yx,Spool:Qx,Spotlight:Jx,SprayCan:e9,Sprout:t9,Square:f9,SquareActivity:Mr,SquareArrowDown:wr,SquareArrowDownLeft:br,SquareArrowDownRight:xr,SquareArrowLeft:vr,SquareArrowOutDownLeft:Cr,SquareArrowOutDownRight:Lr,SquareArrowOutUpLeft:Sr,SquareArrowOutUpRight:Ir,SquareArrowRight:_r,SquareArrowRightEnter:a9,SquareArrowRightExit:n9,SquareArrowUp:Vr,SquareArrowUpLeft:Br,SquareArrowUpRight:Ar,SquareAsterisk:zr,SquareBottomDashedScissors:qr,SquareCenterlineDashedHorizontal:Pr,SquareCenterlineDashedVertical:Dr,SquareChartGantt:Pt,SquareCheck:Tr,SquareCheckBig:Er,SquareChevronDown:Hr,SquareChevronLeft:jr,SquareChevronRight:Or,SquareChevronUp:Fr,SquareCode:Rr,SquareDashed:Ur,SquareDashedBottom:r9,SquareDashedBottomCode:o9,SquareDashedKanban:Nr,SquareDashedMousePointer:$r,SquareDashedTopSolid:i9,SquareDivide:Gr,SquareDot:Wr,SquareEqual:Kr,SquareFunction:Xr,SquareKanban:Zr,SquareLibrary:Yr,SquareM:Qr,SquareMenu:Jr,SquareMinus:ei,SquareMousePointer:ti,SquareParking:ni,SquareParkingOff:ai,SquarePause:s9,SquarePen:Xe,SquarePercent:oi,SquarePi:ri,SquarePilcrow:ii,SquarePlay:si,SquarePlus:li,SquarePower:ci,SquareRadical:c9,SquareRoundCorner:l9,SquareScissors:di,SquareSigma:hi,SquareSlash:ui,SquareSplitHorizontal:pi,SquareSplitVertical:yi,SquareSquare:d9,SquareStack:h9,SquareStar:p9,SquareStop:u9,SquareTerminal:fi,SquareUser:gi,SquareUserRound:ki,SquareX:mi,SquaresExclude:y9,SquaresIntersect:k9,SquaresSubtract:m9,SquaresUnite:g9,Squircle:b9,SquircleDashed:M9,Squirrel:x9,Stamp:w9,Star:S9,StarHalf:v9,StarOff:C9,StepBack:L9,StepForward:I9,Stethoscope:_9,Sticker:A9,StickyNote:B9,Stone:V9,Store:z9,StretchHorizontal:P9,StretchVertical:q9,Strikethrough:D9,Subscript:E9,Sun:F9,SunDim:T9,SunMedium:H9,SunMoon:O9,SunSnow:j9,Sunrise:R9,Sunset:N9,Superscript:$9,SwatchBook:U9,SwissFranc:W9,SwitchCamera:K9,Sword:G9,Swords:X9,Syringe:Z9,Table:rw,Table2:Y9,TableCellsMerge:Q9,TableCellsSplit:J9,TableColumnsSplit:ew,TableOfContents:tw,TableProperties:aw,TableRowsSplit:nw,Tablet:ow,TabletSmartphone:iw,Tablets:sw,Tag:lw,Tags:cw,Tally1:dw,Tally2:hw,Tally3:uw,Tally4:pw,Tally5:yw,Tangent:fw,Target:kw,Telescope:mw,Tent:Mw,TentTree:gw,Terminal:bw,TestTube:xw,TestTubeDiagonal:Mi,TestTubes:ww,TextAlignCenter:wi,TextAlignEnd:bi,TextAlignJustify:xi,TextAlignStart:Dt,TextCursor:Cw,TextCursorInput:vw,TextInitial:vi,TextQuote:Sw,TextSearch:Lw,TextSelect:Li,TextWrap:Ci,Theater:Iw,Thermometer:Bw,ThermometerSnowflake:_w,ThermometerSun:Aw,ThumbsDown:zw,ThumbsUp:Vw,Ticket:Ow,TicketCheck:qw,TicketMinus:Pw,TicketPercent:Dw,TicketPlus:Ew,TicketSlash:Tw,TicketX:Hw,Tickets:Fw,TicketsPlane:jw,Timer:$w,TimerOff:Rw,TimerReset:Nw,ToggleLeft:n1,ToggleRight:Uw,Toilet:Ww,ToolCase:Gw,Toolbox:Kw,Tornado:Xw,Torus:Zw,Touchpad:Qw,TouchpadOff:Yw,TowelRack:Jw,TowerControl:ev,ToyBrick:tv,Tractor:av,TrafficCone:nv,TrainFront:sv,TrainFrontTunnel:ov,TrainTrack:rv,TramFront:Si,Transgender:iv,Trash:lv,Trash2:Ii,TreeDeciduous:cv,TreePalm:_i,TreePine:dv,Trees:hv,Trello:uv,TrendingDown:pv,TrendingUp:fv,TrendingUpDown:yv,Triangle:Mv,TriangleAlert:Ai,TriangleDashed:kv,TriangleRight:gv,Trophy:mv,Truck:xv,TruckElectric:bv,TurkishLira:wv,Turntable:vv,Turtle:Cv,Tv:Sv,TvMinimal:Bi,TvMinimalPlay:Lv,Twitch:Iv,Twitter:Av,Type:Bv,TypeOutline:_v,Umbrella:zv,UmbrellaOff:Vv,Underline:qv,Undo:Dv,Undo2:Pv,UndoDot:Ev,UnfoldHorizontal:Tv,UnfoldVertical:Hv,Ungroup:jv,University:Vi,Unlink:Fv,Unlink2:Ov,Unplug:Rv,Upload:Nv,Usb:$v,User:o1,UserCheck:Uv,UserCog:Wv,UserKey:Gv,UserLock:Kv,UserMinus:Xv,UserPen:Zv,UserPlus:Yv,UserRound:Ti,UserRoundCheck:zi,UserRoundCog:qi,UserRoundKey:Qv,UserRoundMinus:Pi,UserRoundPen:Jv,UserRoundPlus:Di,UserRoundSearch:eC,UserRoundX:Ei,UserSearch:aC,UserStar:tC,UserX:nC,Users:oC,UsersRound:Hi,Utensils:Oi,UtensilsCrossed:ji,UtilityPole:rC,Van:iC,Variable:lC,Vault:sC,VectorSquare:cC,Vegan:dC,VenetianMask:hC,Venus:uC,VenusAndMars:pC,Vibrate:fC,VibrateOff:yC,Video:mC,VideoOff:kC,Videotape:gC,View:MC,Voicemail:bC,Volleyball:vC,Volume:LC,Volume1:xC,Volume2:wC,VolumeOff:CC,VolumeX:SC,Vote:IC,Wallet:AC,WalletCards:_C,WalletMinimal:Fi,Wallpaper:BC,Wand:VC,WandSparkles:Ri,Warehouse:zC,WashingMachine:qC,Watch:PC,Waves:HC,WavesArrowDown:DC,WavesArrowUp:EC,WavesLadder:TC,Waypoints:jC,Webcam:OC,Webhook:RC,WebhookOff:FC,Weight:$C,WeightTilde:NC,Wheat:WC,WheatOff:UC,WholeWord:GC,Wifi:tL,WifiCog:KC,WifiHigh:XC,WifiLow:YC,WifiOff:ZC,WifiPen:QC,WifiSync:JC,WifiZero:eL,Wind:aL,WindArrowDown:nL,Wine:oL,WineOff:rL,Workflow:iL,Worm:sL,Wrench:lL,X:it,XLineTop:cL,Youtube:dL,Zap:pL,ZapOff:hL,ZoomIn:uL,ZoomOut:yL},Symbol.toStringTag,{value:"Module"}));/**
|
|
8491
|
+
*/const LP=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:J1,AArrowUp:el,ALargeSmall:tl,Accessibility:al,Activity:nl,AirVent:ol,Airplay:rl,AlarmClock:sl,AlarmClockCheck:Va,AlarmClockMinus:qa,AlarmClockOff:il,AlarmClockPlus:Pa,AlarmSmoke:ll,Album:dl,AlignCenterHorizontal:cl,AlignCenterVertical:hl,AlignEndHorizontal:ul,AlignEndVertical:pl,AlignHorizontalDistributeCenter:yl,AlignHorizontalDistributeEnd:fl,AlignHorizontalDistributeStart:kl,AlignHorizontalJustifyCenter:ml,AlignHorizontalJustifyEnd:gl,AlignHorizontalJustifyStart:Ml,AlignHorizontalSpaceAround:bl,AlignHorizontalSpaceBetween:xl,AlignStartHorizontal:wl,AlignStartVertical:vl,AlignVerticalDistributeCenter:Cl,AlignVerticalDistributeEnd:Ll,AlignVerticalDistributeStart:Sl,AlignVerticalJustifyCenter:Il,AlignVerticalJustifyEnd:_l,AlignVerticalJustifyStart:Al,AlignVerticalSpaceAround:Bl,AlignVerticalSpaceBetween:zl,Ambulance:Vl,Ampersand:ql,Ampersands:Pl,Amphora:El,Anchor:Dl,Angry:Tl,Annoyed:Hl,Antenna:jl,Anvil:Ol,Aperture:Fl,AppWindow:Nl,AppWindowMac:Rl,Apple:$l,Archive:Gl,ArchiveRestore:Ul,ArchiveX:Wl,Armchair:Kl,ArrowBigDown:Zl,ArrowBigDownDash:Xl,ArrowBigLeft:Ql,ArrowBigLeftDash:Yl,ArrowBigRight:ec,ArrowBigRightDash:Jl,ArrowBigUp:tc,ArrowBigUpDash:ac,ArrowDown:uc,ArrowDown01:oc,ArrowDown10:nc,ArrowDownAZ:Da,ArrowDownFromLine:rc,ArrowDownLeft:ic,ArrowDownNarrowWide:lc,ArrowDownRight:sc,ArrowDownToDot:cc,ArrowDownToLine:dc,ArrowDownUp:hc,ArrowDownWideNarrow:Ea,ArrowDownZA:Ta,ArrowLeft:kc,ArrowLeftFromLine:pc,ArrowLeftRight:fc,ArrowLeftToLine:yc,ArrowRight:Ts,ArrowRightFromLine:mc,ArrowRightLeft:gc,ArrowRightToLine:Mc,ArrowUp:Bc,ArrowUp01:bc,ArrowUp10:xc,ArrowUpAZ:Ha,ArrowUpDown:wc,ArrowUpFromDot:vc,ArrowUpFromLine:Cc,ArrowUpLeft:Lc,ArrowUpNarrowWide:ja,ArrowUpRight:Sc,ArrowUpToLine:Ic,ArrowUpWideNarrow:_c,ArrowUpZA:Oa,ArrowsUpFromLine:Ac,Asterisk:zc,AtSign:Vc,Atom:qc,AudioLines:Pc,AudioWaveform:Dc,Award:Ec,Axe:Tc,Axis3d:Fa,Baby:jc,Backpack:Hc,Badge:td,BadgeAlert:Oc,BadgeCent:Fc,BadgeCheck:Ra,BadgeDollarSign:Rc,BadgeEuro:Nc,BadgeIndianRupee:$c,BadgeInfo:Uc,BadgeJapaneseYen:Wc,BadgeMinus:Gc,BadgePercent:Kc,BadgePlus:Xc,BadgePoundSterling:Zc,BadgeQuestionMark:Na,BadgeRussianRuble:Yc,BadgeSwissFranc:Qc,BadgeTurkishLira:Jc,BadgeX:ed,BaggageClaim:ad,Balloon:nd,Ban:rd,Banana:od,Bandage:id,Banknote:ud,BanknoteArrowDown:sd,BanknoteArrowUp:ld,BanknoteX:cd,Barcode:dd,Barrel:hd,Baseline:pd,Bath:yd,Battery:xd,BatteryCharging:fd,BatteryFull:kd,BatteryLow:md,BatteryMedium:Md,BatteryPlus:gd,BatteryWarning:bd,Beaker:wd,Bean:Cd,BeanOff:vd,Bed:Id,BedDouble:Ld,BedSingle:Sd,Beef:_d,Beer:Bd,BeerOff:Ad,Bell:Ed,BellDot:zd,BellElectric:Vd,BellMinus:qd,BellOff:Pd,BellPlus:Dd,BellRing:Td,BetweenHorizontalEnd:$a,BetweenHorizontalStart:Ua,BetweenVerticalEnd:Hd,BetweenVerticalStart:jd,BicepsFlexed:Od,Bike:Fd,Binary:Rd,Binoculars:$d,Biohazard:Nd,Bird:Ud,Birdhouse:Wd,Bitcoin:Gd,Blend:Kd,Blinds:Xd,Blocks:Yd,Bluetooth:e0,BluetoothConnected:Zd,BluetoothOff:Qd,BluetoothSearching:Jd,Bold:t0,Bolt:a0,Bomb:n0,Bone:o0,Book:A0,BookA:r0,BookAlert:i0,BookAudio:s0,BookCheck:c0,BookCopy:l0,BookDashed:Wa,BookDown:d0,BookHeadphones:h0,BookHeart:u0,BookImage:p0,BookKey:y0,BookLock:f0,BookMarked:k0,BookMinus:m0,BookOpen:b0,BookOpenCheck:g0,BookOpenText:M0,BookPlus:x0,BookSearch:w0,BookText:v0,BookType:C0,BookUp:L0,BookUp2:S0,BookUser:I0,BookX:_0,Bookmark:P0,BookmarkCheck:B0,BookmarkMinus:z0,BookmarkPlus:V0,BookmarkX:q0,BoomBox:E0,Bot:H0,BotMessageSquare:D0,BotOff:T0,BottleWine:O0,BowArrow:j0,Box:F0,Boxes:R0,Braces:Ga,Brackets:N0,Brain:W0,BrainCircuit:U0,BrainCog:$0,BrickWall:K0,BrickWallFire:G0,BrickWallShield:X0,Briefcase:Q0,BriefcaseBusiness:Z0,BriefcaseConveyorBelt:Y0,BriefcaseMedical:J0,BringToFront:e2,Brush:a2,BrushCleaning:t2,Bubbles:n2,Bug:i2,BugOff:o2,BugPlay:r2,Building:l2,Building2:s2,Bus:d2,BusFront:c2,Cable:u2,CableCar:h2,Cake:y2,CakeSlice:p2,Calculator:f2,Calendar:Hs,Calendar1:k2,CalendarArrowDown:M2,CalendarArrowUp:m2,CalendarCheck:b2,CalendarCheck2:g2,CalendarClock:x2,CalendarCog:v2,CalendarDays:w2,CalendarFold:C2,CalendarHeart:L2,CalendarMinus:I2,CalendarMinus2:S2,CalendarOff:_2,CalendarPlus:B2,CalendarPlus2:A2,CalendarRange:z2,CalendarSearch:V2,CalendarSync:q2,CalendarX:D2,CalendarX2:P2,Calendars:E2,Camera:H2,CameraOff:T2,Candy:F2,CandyCane:j2,CandyOff:O2,Cannabis:N2,CannabisOff:R2,Captions:Ka,CaptionsOff:$2,Car:G2,CarFront:U2,CarTaxiFront:W2,Caravan:K2,CardSim:X2,Carrot:Z2,CaseLower:Y2,CaseSensitive:Q2,CaseUpper:J2,CassetteTape:eh,Cast:th,Castle:ah,Cat:nh,Cctv:oh,ChartArea:Xa,ChartBar:Qa,ChartBarBig:Za,ChartBarDecreasing:ih,ChartBarIncreasing:rh,ChartBarStacked:sh,ChartCandlestick:Ya,ChartColumn:tn,ChartColumnBig:Ja,ChartColumnDecreasing:lh,ChartColumnIncreasing:en,ChartColumnStacked:ch,ChartGantt:dh,ChartLine:an,ChartNetwork:hh,ChartNoAxesColumn:on,ChartNoAxesColumnDecreasing:uh,ChartNoAxesColumnIncreasing:nn,ChartNoAxesCombined:ph,ChartNoAxesGantt:sn,ChartPie:rn,ChartScatter:ln,ChartSpline:fh,Check:sa,CheckCheck:yh,CheckLine:kh,ChefHat:mh,Cherry:gh,ChessBishop:Mh,ChessKing:bh,ChessKnight:xh,ChessPawn:wh,ChessQueen:vh,ChessRook:Ch,ChevronDown:St,ChevronFirst:Lh,ChevronLast:Sh,ChevronLeft:cn,ChevronRight:dn,ChevronUp:js,ChevronsDown:_h,ChevronsDownUp:Ih,ChevronsLeft:Os,ChevronsLeftRight:Bh,ChevronsLeftRightEllipsis:Ah,ChevronsRight:Fs,ChevronsRightLeft:zh,ChevronsUp:qh,ChevronsUpDown:Vh,Chromium:hn,Church:Dh,Cigarette:Eh,CigaretteOff:Ph,Circle:Rs,CircleAlert:It,CircleArrowDown:un,CircleArrowLeft:pn,CircleArrowOutDownLeft:yn,CircleArrowOutDownRight:fn,CircleArrowOutUpLeft:kn,CircleArrowOutUpRight:mn,CircleArrowRight:gn,CircleArrowUp:Mn,CircleCheck:bn,CircleCheckBig:la,CircleChevronDown:wn,CircleChevronLeft:vn,CircleChevronRight:xn,CircleChevronUp:Cn,CircleDashed:Th,CircleDivide:Ln,CircleDollarSign:Hh,CircleDot:Oh,CircleDotDashed:jh,CircleEllipsis:Rh,CircleEqual:Fh,CircleFadingArrowUp:Nh,CircleFadingPlus:$h,CircleGauge:Sn,CircleMinus:In,CircleOff:Uh,CircleParking:An,CircleParkingOff:_n,CirclePause:Bn,CirclePercent:zn,CirclePile:Wh,CirclePlay:Vn,CirclePlus:qn,CirclePoundSterling:Gh,CirclePower:Pn,CircleQuestionMark:_t,CircleSlash:Kh,CircleSlash2:Dn,CircleSmall:Xh,CircleStar:Zh,CircleStop:En,CircleUser:Hn,CircleUserRound:Tn,CircleX:jn,CircuitBoard:Yh,Citrus:Qh,Clapperboard:Jh,Clipboard:cu,ClipboardCheck:tu,ClipboardClock:eu,ClipboardCopy:au,ClipboardList:nu,ClipboardMinus:ou,ClipboardPaste:ru,ClipboardPen:Fn,ClipboardPenLine:On,ClipboardPlus:iu,ClipboardType:su,ClipboardX:lu,Clock:Ns,Clock1:du,Clock10:hu,Clock11:uu,Clock12:pu,Clock2:yu,Clock3:fu,Clock4:ku,Clock5:mu,Clock6:gu,Clock7:Mu,Clock8:bu,Clock9:xu,ClockAlert:wu,ClockArrowDown:vu,ClockArrowUp:Cu,ClockCheck:Lu,ClockFading:Su,ClockPlus:Iu,ClosedCaption:_u,Cloud:Wu,CloudAlert:Au,CloudBackup:Bu,CloudCheck:zu,CloudCog:Vu,CloudDownload:Rn,CloudDrizzle:qu,CloudFog:Pu,CloudHail:Du,CloudLightning:Eu,CloudMoon:Hu,CloudMoonRain:Tu,CloudOff:ju,CloudRain:Fu,CloudRainWind:Ou,CloudSnow:Ru,CloudSun:$u,CloudSunRain:Nu,CloudSync:Uu,CloudUpload:ca,Cloudy:Gu,Clover:Ku,Club:Xu,Code:Zu,CodeXml:Nn,Codepen:Yu,Codesandbox:Qu,Coffee:Ju,Cog:ep,Coins:tp,Columns2:$n,Columns3:Un,Columns3Cog:At,Columns4:ap,Combine:np,Command:op,Compass:rp,Component:ip,Computer:sp,ConciergeBell:lp,Cone:cp,Construction:dp,Contact:hp,ContactRound:Wn,Container:up,Contrast:pp,Cookie:fp,CookingPot:yp,Copy:xp,CopyCheck:kp,CopyMinus:mp,CopyPlus:gp,CopySlash:bp,CopyX:Mp,Copyleft:wp,Copyright:vp,CornerDownLeft:Cp,CornerDownRight:Sp,CornerLeftDown:Lp,CornerLeftUp:Ip,CornerRightDown:_p,CornerRightUp:Ap,CornerUpLeft:Bp,CornerUpRight:zp,Cpu:ls,CreativeCommons:Vp,CreditCard:qp,Croissant:Pp,Crop:Dp,Cross:Ep,Crosshair:Hp,Crown:Tp,Cuboid:jp,CupSoda:Op,Currency:Fp,Cylinder:Rp,Dam:Np,Database:Gp,DatabaseBackup:$p,DatabaseSearch:Up,DatabaseZap:Wp,DecimalsArrowLeft:Kp,DecimalsArrowRight:Xp,Delete:Zp,Dessert:Yp,Diameter:Qp,Diamond:ty,DiamondMinus:Jp,DiamondPercent:Gn,DiamondPlus:ey,Dice1:ay,Dice2:ny,Dice3:oy,Dice4:ry,Dice5:iy,Dice6:sy,Dices:ly,Diff:cy,Disc:py,Disc2:dy,Disc3:hy,DiscAlbum:uy,Divide:yy,Dna:ky,DnaOff:fy,Dock:my,Dog:My,DollarSign:gy,Donut:xy,DoorClosed:wy,DoorClosedLocked:by,DoorOpen:vy,Dot:Cy,Download:$s,DraftingCompass:Ly,Drama:Iy,Dribbble:Sy,Drill:_y,Drone:Ay,Droplet:zy,DropletOff:By,Droplets:Vy,Drum:qy,Drumstick:Py,Dumbbell:Dy,Ear:Ty,EarOff:Ey,Earth:Kn,EarthLock:Hy,Eclipse:jy,Egg:Fy,EggFried:Oy,EggOff:Ry,Ellipsis:da,EllipsisVertical:Xn,Equal:Uy,EqualApproximately:$y,EqualNot:Ny,Eraser:Wy,EthernetPort:Gy,Euro:Ky,EvCharger:Xy,Expand:Zy,ExternalLink:Yy,Eye:cs,EyeClosed:Qy,EyeOff:Us,Facebook:Jy,Factory:ef,Fan:tf,FastForward:af,Feather:nf,Fence:of,FerrisWheel:rf,Figma:sf,File:Df,FileArchive:lf,FileAxis3d:Zn,FileBadge:Yn,FileBox:cf,FileBraces:Jn,FileBracesCorner:Qn,FileChartColumn:to,FileChartColumnIncreasing:eo,FileChartLine:ao,FileChartPie:no,FileCheck:df,FileCheckCorner:oo,FileClock:hf,FileCode:uf,FileCodeCorner:ro,FileCog:io,FileDiff:pf,FileDigit:ff,FileDown:yf,FileExclamationPoint:so,FileHeadphone:Bt,FileHeart:kf,FileImage:mf,FileInput:gf,FileKey:lo,FileLock:co,FileMinus:bf,FileMinusCorner:ho,FileMusic:Mf,FileOutput:xf,FilePen:yo,FilePenLine:uo,FilePlay:po,FilePlus:wf,FilePlusCorner:fo,FileQuestionMark:ko,FileScan:vf,FileSearch:Cf,FileSearchCorner:mo,FileSignal:go,FileSliders:Lf,FileSpreadsheet:Sf,FileStack:If,FileSymlink:_f,FileTerminal:Af,FileText:ds,FileType:Bf,FileTypeCorner:Mo,FileUp:zf,FileUser:Vf,FileVideoCamera:bo,FileVolume:qf,FileX:Pf,FileXCorner:xo,Files:Tf,Film:Ef,FingerprintPattern:wo,FireExtinguisher:Hf,Fish:Ff,FishOff:jf,FishSymbol:Of,FishingHook:Rf,Flag:Wf,FlagOff:Nf,FlagTriangleLeft:$f,FlagTriangleRight:Uf,Flame:Kf,FlameKindling:Gf,Flashlight:Zf,FlashlightOff:Xf,FlaskConical:Qf,FlaskConicalOff:Yf,FlaskRound:Jf,FlipHorizontal2:ek,FlipVertical2:tk,Flower:nk,Flower2:ak,Focus:ok,FoldHorizontal:rk,FoldVertical:ik,Folder:Pk,FolderArchive:sk,FolderCheck:lk,FolderClock:ck,FolderClosed:dk,FolderCode:hk,FolderCog:vo,FolderDot:uk,FolderDown:pk,FolderGit:fk,FolderGit2:yk,FolderHeart:kk,FolderInput:mk,FolderKanban:Mk,FolderKey:gk,FolderLock:bk,FolderMinus:vk,FolderOpen:wk,FolderOpenDot:xk,FolderOutput:Ck,FolderPen:Co,FolderPlus:Ik,FolderRoot:Lk,FolderSearch:_k,FolderSearch2:Sk,FolderSymlink:Bk,FolderSync:Ak,FolderTree:zk,FolderUp:Vk,FolderX:qk,Folders:Dk,Footprints:Ek,Forklift:Tk,Form:Hk,Forward:Ok,Frame:jk,Framer:Fk,Frown:Rk,Fuel:Nk,Fullscreen:$k,Funnel:So,FunnelPlus:Uk,FunnelX:Lo,GalleryHorizontal:Gk,GalleryHorizontalEnd:Wk,GalleryThumbnails:Kk,GalleryVertical:Zk,GalleryVerticalEnd:Xk,Gamepad:em,Gamepad2:Yk,GamepadDirectional:Qk,Gauge:Jk,Gavel:tm,Gem:am,GeorgianLari:nm,Ghost:om,Gift:rm,GitBranch:lm,GitBranchMinus:im,GitBranchPlus:sm,GitCommitHorizontal:Io,GitCommitVertical:cm,GitCompare:hm,GitCompareArrows:dm,GitFork:um,GitGraph:pm,GitMerge:fm,GitMergeConflict:ym,GitPullRequest:xm,GitPullRequestArrow:km,GitPullRequestClosed:mm,GitPullRequestCreate:Mm,GitPullRequestCreateArrow:gm,GitPullRequestDraft:bm,Github:wm,Gitlab:vm,GlassWater:Cm,Glasses:Lm,Globe:Ws,GlobeLock:Sm,GlobeOff:Im,GlobeX:_m,Goal:Am,Gpu:zm,GraduationCap:Bm,Grape:Vm,Grid2x2:zo,Grid2x2Check:_o,Grid2x2Plus:Bo,Grid2x2X:Ao,Grid3x2:qm,Grid3x3:zt,Grip:Em,GripHorizontal:Pm,GripVertical:Dm,Group:Hm,Guitar:Tm,Ham:jm,Hamburger:Om,Hammer:Fm,Hand:Gm,HandCoins:Rm,HandFist:Nm,HandGrab:Vo,HandHeart:$m,HandHelping:qo,HandMetal:Um,HandPlatter:Wm,Handbag:Km,Handshake:Xm,HardDrive:Qm,HardDriveDownload:Zm,HardDriveUpload:Ym,HardHat:Jm,Hash:e4,HatGlasses:t4,Haze:a4,Hd:n4,HdmiPort:o4,Heading:h4,Heading1:r4,Heading2:i4,Heading3:s4,Heading4:l4,Heading5:c4,Heading6:d4,HeadphoneOff:u4,Headphones:p4,Headset:y4,Heart:x4,HeartCrack:f4,HeartHandshake:m4,HeartMinus:k4,HeartOff:g4,HeartPlus:M4,HeartPulse:b4,Heater:w4,Helicopter:v4,Hexagon:C4,Highlighter:L4,History:S4,Hop:_4,HopOff:I4,Hospital:A4,Hotel:B4,Hourglass:z4,House:Po,HouseHeart:V4,HousePlug:q4,HousePlus:P4,HouseWifi:D4,IceCreamBowl:Do,IceCreamCone:Eo,IdCard:T4,IdCardLanyard:E4,Image:U4,ImageDown:H4,ImageMinus:j4,ImageOff:O4,ImagePlay:F4,ImagePlus:R4,ImageUp:N4,ImageUpscale:$4,Images:W4,Import:K4,Inbox:G4,IndianRupee:X4,Infinity:Z4,Info:Y4,InspectionPanel:Q4,Instagram:J4,Italic:e5,IterationCcw:t5,IterationCw:a5,JapaneseYen:n5,Joystick:o5,Kanban:r5,Kayak:i5,Key:d5,KeyRound:s5,KeySquare:l5,Keyboard:u5,KeyboardMusic:c5,KeyboardOff:h5,Lamp:g5,LampCeiling:p5,LampDesk:y5,LampFloor:k5,LampWallDown:f5,LampWallUp:m5,LandPlot:M5,Landmark:x5,Languages:b5,Laptop:v5,LaptopMinimal:To,LaptopMinimalCheck:w5,Lasso:L5,LassoSelect:C5,Laugh:S5,Layers:Ho,Layers2:I5,LayersPlus:_5,LayoutDashboard:A5,LayoutGrid:B5,LayoutList:z5,LayoutPanelLeft:V5,LayoutPanelTop:q5,LayoutTemplate:P5,Leaf:D5,LeafyGreen:E5,Lectern:T5,LensConcave:H5,LensConvex:j5,Library:N5,LibraryBig:O5,LifeBuoy:R5,Ligature:F5,Lightbulb:U5,LightbulbOff:$5,LineDotRightHorizontal:W5,LineSquiggle:G5,Link:Gs,Link2:X5,Link2Off:K5,Linkedin:Z5,List:fg,ListCheck:Y5,ListChecks:Q5,ListChevronsDownUp:eg,ListChevronsUpDown:J5,ListCollapse:tg,ListEnd:ag,ListFilter:ng,ListFilterPlus:og,ListIndentDecrease:Vt,ListIndentIncrease:qt,ListMinus:lg,ListMusic:rg,ListOrdered:ig,ListPlus:sg,ListRestart:cg,ListStart:dg,ListTodo:ug,ListTree:hg,ListVideo:pg,ListX:yg,Loader:mg,LoaderCircle:kt,LoaderPinwheel:kg,Locate:bg,LocateFixed:gg,LocateOff:Mg,Lock:wg,LockKeyhole:xg,LockKeyholeOpen:jo,LockOpen:Oo,LogIn:vg,LogOut:Cg,Logs:Lg,Lollipop:Sg,Luggage:Ig,Magnet:_g,Mail:Eg,MailCheck:Ag,MailMinus:zg,MailOpen:Bg,MailPlus:Vg,MailQuestionMark:Fo,MailSearch:qg,MailWarning:Dg,MailX:Pg,Mailbox:jg,Mails:Tg,Map:Qg,MapMinus:Hg,MapPin:Ks,MapPinCheck:Og,MapPinCheckInside:Fg,MapPinHouse:Rg,MapPinMinus:$g,MapPinMinusInside:Ng,MapPinOff:Ug,MapPinPen:Ro,MapPinPlus:Gg,MapPinPlusInside:Wg,MapPinX:Kg,MapPinXInside:Xg,MapPinned:Zg,MapPlus:Yg,Mars:t3,MarsStroke:Jg,Martini:e3,Maximize:n3,Maximize2:a3,Medal:o3,Megaphone:i3,MegaphoneOff:r3,Meh:s3,MemoryStick:l3,Menu:c3,Merge:d3,MessageCircle:x3,MessageCircleCheck:h3,MessageCircleCode:u3,MessageCircleDashed:p3,MessageCircleHeart:y3,MessageCircleMore:k3,MessageCircleOff:f3,MessageCirclePlus:m3,MessageCircleQuestionMark:No,MessageCircleReply:g3,MessageCircleWarning:M3,MessageCircleX:b3,MessageSquare:hs,MessageSquareCheck:w3,MessageSquareCode:v3,MessageSquareDashed:C3,MessageSquareDiff:L3,MessageSquareDot:S3,MessageSquareHeart:I3,MessageSquareLock:_3,MessageSquareMore:A3,MessageSquareOff:B3,MessageSquarePlus:z3,MessageSquareQuote:V3,MessageSquareReply:q3,MessageSquareShare:P3,MessageSquareText:E3,MessageSquareWarning:D3,MessageSquareX:T3,MessagesSquare:H3,Metronome:j3,Mic:F3,MicOff:O3,MicVocal:$o,Microchip:R3,Microscope:N3,Microwave:$3,Milestone:U3,Milk:G3,MilkOff:W3,Minimize:K3,Minimize2:X3,Minus:Xs,MirrorRectangular:Z3,MirrorRound:Y3,Monitor:h8,MonitorCheck:Q3,MonitorCloud:J3,MonitorCog:e8,MonitorDot:t8,MonitorDown:a8,MonitorOff:n8,MonitorPause:o8,MonitorPlay:r8,MonitorSmartphone:i8,MonitorSpeaker:s8,MonitorStop:l8,MonitorUp:c8,MonitorX:d8,Moon:p8,MoonStar:u8,Motorbike:y8,Mountain:k8,MountainSnow:f8,Mouse:L8,MouseLeft:m8,MouseOff:g8,MousePointer:v8,MousePointer2:b8,MousePointer2Off:M8,MousePointerBan:x8,MousePointerClick:w8,MouseRight:C8,Move:H8,Move3d:Uo,MoveDiagonal:I8,MoveDiagonal2:S8,MoveDown:B8,MoveDownLeft:_8,MoveDownRight:A8,MoveHorizontal:z8,MoveLeft:V8,MoveRight:P8,MoveUp:E8,MoveUpLeft:q8,MoveUpRight:D8,MoveVertical:T8,Music:R8,Music2:j8,Music3:O8,Music4:F8,Navigation:W8,Navigation2:$8,Navigation2Off:N8,NavigationOff:U8,Network:G8,Newspaper:K8,Nfc:X8,NonBinary:Z8,Notebook:e6,NotebookPen:Q8,NotebookTabs:Y8,NotebookText:J8,NotepadText:a6,NotepadTextDashed:t6,Nut:o6,NutOff:n6,Octagon:i6,OctagonAlert:Wo,OctagonMinus:r6,OctagonPause:Go,OctagonX:Ko,Omega:s6,Option:l6,Orbit:c6,Origami:d6,Package:g6,Package2:h6,PackageCheck:p6,PackageMinus:u6,PackageOpen:y6,PackagePlus:f6,PackageSearch:k6,PackageX:m6,PaintBucket:M6,PaintRoller:b6,Paintbrush:x6,PaintbrushVertical:Xo,Palette:w6,Panda:v6,PanelBottom:S6,PanelBottomClose:C6,PanelBottomDashed:Zo,PanelBottomOpen:L6,PanelLeft:er,PanelLeftClose:Qo,PanelLeftDashed:Yo,PanelLeftOpen:Jo,PanelLeftRightDashed:I6,PanelRight:B6,PanelRightClose:_6,PanelRightDashed:tr,PanelRightOpen:A6,PanelTop:P6,PanelTopBottomDashed:z6,PanelTopClose:V6,PanelTopDashed:ar,PanelTopOpen:q6,PanelsLeftBottom:D6,PanelsRightBottom:E6,PanelsTopLeft:nr,Paperclip:T6,Parentheses:H6,ParkingMeter:j6,PartyPopper:O6,Pause:F6,PawPrint:R6,PcCase:N6,Pen:rr,PenLine:or,PenOff:$6,PenTool:U6,Pencil:ir,PencilLine:W6,PencilOff:G6,PencilRuler:K6,Pentagon:X6,Percent:Z6,PersonStanding:Y6,PhilippinePeso:Q6,Phone:Zs,PhoneCall:J6,PhoneForwarded:e7,PhoneIncoming:t7,PhoneMissed:n7,PhoneOff:a7,PhoneOutgoing:o7,Pi:r7,Piano:i7,Pickaxe:s7,PictureInPicture:c7,PictureInPicture2:l7,PiggyBank:d7,Pilcrow:p7,PilcrowLeft:h7,PilcrowRight:u7,Pill:g7,PillBottle:y7,Pin:k7,PinOff:f7,Pipette:m7,Pizza:M7,Plane:Ys,PlaneLanding:b7,PlaneTakeoff:x7,Play:w7,Plug:C7,Plug2:v7,PlugZap:sr,Plus:Qs,Pocket:S7,PocketKnife:L7,Podcast:I7,Pointer:A7,PointerOff:_7,Popcorn:B7,Popsicle:z7,PoundSterling:q7,Power:P7,PowerOff:V7,Presentation:D7,Printer:H7,PrinterCheck:E7,PrinterX:T7,Projector:j7,Proportions:R7,Puzzle:O7,Pyramid:F7,QrCode:N7,Quote:$7,Rabbit:W7,Radar:U7,Radiation:K7,Radical:G7,Radio:Y7,RadioReceiver:X7,RadioTower:Z7,Radius:Q7,RailSymbol:J7,Rainbow:eM,Rat:tM,Ratio:aM,Receipt:uM,ReceiptCent:nM,ReceiptEuro:oM,ReceiptIndianRupee:rM,ReceiptJapaneseYen:iM,ReceiptPoundSterling:sM,ReceiptRussianRuble:lM,ReceiptSwissFranc:cM,ReceiptText:dM,ReceiptTurkishLira:hM,RectangleCircle:pM,RectangleEllipsis:lr,RectangleGoggles:yM,RectangleHorizontal:fM,RectangleVertical:kM,Recycle:mM,Redo:MM,Redo2:gM,RedoDot:bM,RefreshCcw:wM,RefreshCcwDot:xM,RefreshCw:us,RefreshCwOff:vM,Refrigerator:LM,Regex:CM,RemoveFormatting:SM,Repeat:_M,Repeat1:IM,Repeat2:BM,Replace:zM,ReplaceAll:AM,Reply:qM,ReplyAll:VM,Rewind:DM,Ribbon:PM,Rocket:EM,RockingChair:TM,RollerCoaster:HM,Rose:jM,Rotate3d:cr,RotateCcw:RM,RotateCcwKey:OM,RotateCcwSquare:FM,RotateCw:$M,RotateCwSquare:NM,Route:WM,RouteOff:UM,Router:GM,Rows2:dr,Rows3:hr,Rows4:KM,Rss:XM,Ruler:ZM,RulerDimensionLine:YM,RussianRuble:QM,Sailboat:JM,Salad:eb,Sandwich:ab,Satellite:nb,SatelliteDish:tb,SaudiRiyal:ob,Save:sb,SaveAll:ib,SaveOff:rb,Scale:lb,Scale3d:ur,Scaling:cb,Scan:mb,ScanBarcode:db,ScanEye:hb,ScanFace:ub,ScanHeart:pb,ScanLine:yb,ScanQrCode:kb,ScanSearch:fb,ScanText:gb,School:Mb,Scissors:wb,ScissorsLineDashed:bb,Scooter:xb,ScreenShare:Cb,ScreenShareOff:vb,Scroll:Sb,ScrollText:Lb,Search:pr,SearchAlert:Ib,SearchCheck:Ab,SearchCode:_b,SearchSlash:Bb,SearchX:zb,Section:Vb,Send:Pb,SendHorizontal:yr,SendToBack:qb,SeparatorHorizontal:Db,SeparatorVertical:Eb,Server:Js,ServerCog:Tb,ServerCrash:Hb,ServerOff:Ob,Settings:Fb,Settings2:jb,Shapes:Rb,Share:Nb,Share2:e1,Sheet:$b,Shell:Ub,ShelvingUnit:Wb,Shield:ax,ShieldAlert:Gb,ShieldBan:Kb,ShieldCheck:Xb,ShieldEllipsis:Zb,ShieldHalf:Yb,ShieldMinus:ex,ShieldOff:Qb,ShieldPlus:Jb,ShieldQuestionMark:fr,ShieldUser:tx,ShieldX:kr,Ship:ox,ShipWheel:nx,Shirt:rx,ShoppingBag:ix,ShoppingBasket:sx,ShoppingCart:t1,Shovel:cx,ShowerHead:lx,Shredder:dx,Shrimp:hx,Shrink:ux,Shrub:px,Shuffle:yx,Sigma:fx,Signal:bx,SignalHigh:kx,SignalLow:mx,SignalMedium:gx,SignalZero:Mx,Signature:xx,Signpost:vx,SignpostBig:wx,Siren:Cx,SkipBack:Sx,SkipForward:Lx,Skull:_x,Slack:Ix,Slash:Ax,Slice:Bx,SlidersHorizontal:a1,SlidersVertical:mr,Smartphone:qx,SmartphoneCharging:zx,SmartphoneNfc:Vx,Smile:Dx,SmilePlus:Px,Snail:Ex,Snowflake:Tx,SoapDispenserDroplet:Hx,Sofa:jx,SolarPanel:Ox,Soup:Fx,Space:Rx,Spade:Nx,Sparkle:$x,Sparkles:gr,Speaker:Ux,Speech:Wx,SpellCheck:Xx,SpellCheck2:Gx,Spline:Zx,SplinePointer:Kx,Split:Yx,Spool:Qx,Spotlight:Jx,SprayCan:e9,Sprout:t9,Square:f9,SquareActivity:Mr,SquareArrowDown:wr,SquareArrowDownLeft:br,SquareArrowDownRight:xr,SquareArrowLeft:vr,SquareArrowOutDownLeft:Cr,SquareArrowOutDownRight:Lr,SquareArrowOutUpLeft:Sr,SquareArrowOutUpRight:Ir,SquareArrowRight:_r,SquareArrowRightEnter:a9,SquareArrowRightExit:n9,SquareArrowUp:zr,SquareArrowUpLeft:Br,SquareArrowUpRight:Ar,SquareAsterisk:Vr,SquareBottomDashedScissors:qr,SquareCenterlineDashedHorizontal:Pr,SquareCenterlineDashedVertical:Dr,SquareChartGantt:Pt,SquareCheck:Tr,SquareCheckBig:Er,SquareChevronDown:Hr,SquareChevronLeft:jr,SquareChevronRight:Or,SquareChevronUp:Fr,SquareCode:Rr,SquareDashed:Ur,SquareDashedBottom:r9,SquareDashedBottomCode:o9,SquareDashedKanban:Nr,SquareDashedMousePointer:$r,SquareDashedTopSolid:i9,SquareDivide:Gr,SquareDot:Wr,SquareEqual:Kr,SquareFunction:Xr,SquareKanban:Zr,SquareLibrary:Yr,SquareM:Qr,SquareMenu:Jr,SquareMinus:ei,SquareMousePointer:ti,SquareParking:ni,SquareParkingOff:ai,SquarePause:s9,SquarePen:Xe,SquarePercent:oi,SquarePi:ri,SquarePilcrow:ii,SquarePlay:si,SquarePlus:li,SquarePower:ci,SquareRadical:c9,SquareRoundCorner:l9,SquareScissors:di,SquareSigma:hi,SquareSlash:ui,SquareSplitHorizontal:pi,SquareSplitVertical:yi,SquareSquare:d9,SquareStack:h9,SquareStar:p9,SquareStop:u9,SquareTerminal:fi,SquareUser:gi,SquareUserRound:ki,SquareX:mi,SquaresExclude:y9,SquaresIntersect:k9,SquaresSubtract:m9,SquaresUnite:g9,Squircle:b9,SquircleDashed:M9,Squirrel:x9,Stamp:w9,Star:S9,StarHalf:v9,StarOff:C9,StepBack:L9,StepForward:I9,Stethoscope:_9,Sticker:A9,StickyNote:B9,Stone:z9,Store:V9,StretchHorizontal:P9,StretchVertical:q9,Strikethrough:D9,Subscript:E9,Sun:F9,SunDim:T9,SunMedium:H9,SunMoon:O9,SunSnow:j9,Sunrise:R9,Sunset:N9,Superscript:$9,SwatchBook:U9,SwissFranc:W9,SwitchCamera:K9,Sword:G9,Swords:X9,Syringe:Z9,Table:rw,Table2:Y9,TableCellsMerge:Q9,TableCellsSplit:J9,TableColumnsSplit:ew,TableOfContents:tw,TableProperties:aw,TableRowsSplit:nw,Tablet:ow,TabletSmartphone:iw,Tablets:sw,Tag:lw,Tags:cw,Tally1:dw,Tally2:hw,Tally3:uw,Tally4:pw,Tally5:yw,Tangent:fw,Target:kw,Telescope:mw,Tent:Mw,TentTree:gw,Terminal:bw,TestTube:xw,TestTubeDiagonal:Mi,TestTubes:ww,TextAlignCenter:wi,TextAlignEnd:bi,TextAlignJustify:xi,TextAlignStart:Dt,TextCursor:Cw,TextCursorInput:vw,TextInitial:vi,TextQuote:Sw,TextSearch:Lw,TextSelect:Li,TextWrap:Ci,Theater:Iw,Thermometer:Bw,ThermometerSnowflake:_w,ThermometerSun:Aw,ThumbsDown:Vw,ThumbsUp:zw,Ticket:Ow,TicketCheck:qw,TicketMinus:Pw,TicketPercent:Dw,TicketPlus:Ew,TicketSlash:Tw,TicketX:Hw,Tickets:Fw,TicketsPlane:jw,Timer:$w,TimerOff:Rw,TimerReset:Nw,ToggleLeft:n1,ToggleRight:Uw,Toilet:Ww,ToolCase:Gw,Toolbox:Kw,Tornado:Xw,Torus:Zw,Touchpad:Qw,TouchpadOff:Yw,TowelRack:Jw,TowerControl:ev,ToyBrick:tv,Tractor:av,TrafficCone:nv,TrainFront:sv,TrainFrontTunnel:ov,TrainTrack:rv,TramFront:Si,Transgender:iv,Trash:lv,Trash2:Ii,TreeDeciduous:cv,TreePalm:_i,TreePine:dv,Trees:hv,Trello:uv,TrendingDown:pv,TrendingUp:fv,TrendingUpDown:yv,Triangle:Mv,TriangleAlert:Ai,TriangleDashed:kv,TriangleRight:gv,Trophy:mv,Truck:xv,TruckElectric:bv,TurkishLira:wv,Turntable:vv,Turtle:Cv,Tv:Sv,TvMinimal:Bi,TvMinimalPlay:Lv,Twitch:Iv,Twitter:Av,Type:Bv,TypeOutline:_v,Umbrella:Vv,UmbrellaOff:zv,Underline:qv,Undo:Dv,Undo2:Pv,UndoDot:Ev,UnfoldHorizontal:Tv,UnfoldVertical:Hv,Ungroup:jv,University:zi,Unlink:Fv,Unlink2:Ov,Unplug:Rv,Upload:Nv,Usb:$v,User:o1,UserCheck:Uv,UserCog:Wv,UserKey:Gv,UserLock:Kv,UserMinus:Xv,UserPen:Zv,UserPlus:Yv,UserRound:Ti,UserRoundCheck:Vi,UserRoundCog:qi,UserRoundKey:Qv,UserRoundMinus:Pi,UserRoundPen:Jv,UserRoundPlus:Di,UserRoundSearch:eC,UserRoundX:Ei,UserSearch:aC,UserStar:tC,UserX:nC,Users:oC,UsersRound:Hi,Utensils:Oi,UtensilsCrossed:ji,UtilityPole:rC,Van:iC,Variable:lC,Vault:sC,VectorSquare:cC,Vegan:dC,VenetianMask:hC,Venus:uC,VenusAndMars:pC,Vibrate:fC,VibrateOff:yC,Video:mC,VideoOff:kC,Videotape:gC,View:MC,Voicemail:bC,Volleyball:vC,Volume:LC,Volume1:xC,Volume2:wC,VolumeOff:CC,VolumeX:SC,Vote:IC,Wallet:AC,WalletCards:_C,WalletMinimal:Fi,Wallpaper:BC,Wand:zC,WandSparkles:Ri,Warehouse:VC,WashingMachine:qC,Watch:PC,Waves:HC,WavesArrowDown:DC,WavesArrowUp:EC,WavesLadder:TC,Waypoints:jC,Webcam:OC,Webhook:RC,WebhookOff:FC,Weight:$C,WeightTilde:NC,Wheat:WC,WheatOff:UC,WholeWord:GC,Wifi:tL,WifiCog:KC,WifiHigh:XC,WifiLow:YC,WifiOff:ZC,WifiPen:QC,WifiSync:JC,WifiZero:eL,Wind:aL,WindArrowDown:nL,Wine:oL,WineOff:rL,Workflow:iL,Worm:sL,Wrench:lL,X:it,XLineTop:cL,Youtube:dL,Zap:pL,ZapOff:hL,ZoomIn:uL,ZoomOut:yL},Symbol.toStringTag,{value:"Module"}));/**
|
|
8492
8492
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
8493
8493
|
*
|
|
8494
8494
|
* This source code is licensed under the ISC license.
|
|
8495
8495
|
* See the LICENSE file in the root directory of this source tree.
|
|
8496
|
-
*/const ha=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:J1,AArrowDownIcon:J1,AArrowUp:el,AArrowUpIcon:el,ALargeSmall:tl,ALargeSmallIcon:tl,Accessibility:al,AccessibilityIcon:al,Activity:nl,ActivityIcon:nl,ActivitySquare:Mr,ActivitySquareIcon:Mr,AirVent:ol,AirVentIcon:ol,Airplay:rl,AirplayIcon:rl,AlarmCheck:za,AlarmCheckIcon:za,AlarmClock:sl,AlarmClockCheck:za,AlarmClockCheckIcon:za,AlarmClockIcon:sl,AlarmClockMinus:qa,AlarmClockMinusIcon:qa,AlarmClockOff:il,AlarmClockOffIcon:il,AlarmClockPlus:Pa,AlarmClockPlusIcon:Pa,AlarmMinus:qa,AlarmMinusIcon:qa,AlarmPlus:Pa,AlarmPlusIcon:Pa,AlarmSmoke:ll,AlarmSmokeIcon:ll,Album:dl,AlbumIcon:dl,AlertCircle:It,AlertCircleIcon:It,AlertOctagon:Wo,AlertOctagonIcon:Wo,AlertTriangle:Ai,AlertTriangleIcon:Ai,AlignCenter:wi,AlignCenterHorizontal:cl,AlignCenterHorizontalIcon:cl,AlignCenterIcon:wi,AlignCenterVertical:hl,AlignCenterVerticalIcon:hl,AlignEndHorizontal:ul,AlignEndHorizontalIcon:ul,AlignEndVertical:pl,AlignEndVerticalIcon:pl,AlignHorizontalDistributeCenter:yl,AlignHorizontalDistributeCenterIcon:yl,AlignHorizontalDistributeEnd:fl,AlignHorizontalDistributeEndIcon:fl,AlignHorizontalDistributeStart:kl,AlignHorizontalDistributeStartIcon:kl,AlignHorizontalJustifyCenter:ml,AlignHorizontalJustifyCenterIcon:ml,AlignHorizontalJustifyEnd:gl,AlignHorizontalJustifyEndIcon:gl,AlignHorizontalJustifyStart:Ml,AlignHorizontalJustifyStartIcon:Ml,AlignHorizontalSpaceAround:bl,AlignHorizontalSpaceAroundIcon:bl,AlignHorizontalSpaceBetween:xl,AlignHorizontalSpaceBetweenIcon:xl,AlignJustify:xi,AlignJustifyIcon:xi,AlignLeft:Dt,AlignLeftIcon:Dt,AlignRight:bi,AlignRightIcon:bi,AlignStartHorizontal:wl,AlignStartHorizontalIcon:wl,AlignStartVertical:vl,AlignStartVerticalIcon:vl,AlignVerticalDistributeCenter:Cl,AlignVerticalDistributeCenterIcon:Cl,AlignVerticalDistributeEnd:Ll,AlignVerticalDistributeEndIcon:Ll,AlignVerticalDistributeStart:Sl,AlignVerticalDistributeStartIcon:Sl,AlignVerticalJustifyCenter:Il,AlignVerticalJustifyCenterIcon:Il,AlignVerticalJustifyEnd:_l,AlignVerticalJustifyEndIcon:_l,AlignVerticalJustifyStart:Al,AlignVerticalJustifyStartIcon:Al,AlignVerticalSpaceAround:Bl,AlignVerticalSpaceAroundIcon:Bl,AlignVerticalSpaceBetween:Vl,AlignVerticalSpaceBetweenIcon:Vl,Ambulance:zl,AmbulanceIcon:zl,Ampersand:ql,AmpersandIcon:ql,Ampersands:Pl,AmpersandsIcon:Pl,Amphora:El,AmphoraIcon:El,Anchor:Dl,AnchorIcon:Dl,Angry:Tl,AngryIcon:Tl,Annoyed:Hl,AnnoyedIcon:Hl,Antenna:jl,AntennaIcon:jl,Anvil:Ol,AnvilIcon:Ol,Aperture:Fl,ApertureIcon:Fl,AppWindow:Nl,AppWindowIcon:Nl,AppWindowMac:Rl,AppWindowMacIcon:Rl,Apple:$l,AppleIcon:$l,Archive:Gl,ArchiveIcon:Gl,ArchiveRestore:Ul,ArchiveRestoreIcon:Ul,ArchiveX:Wl,ArchiveXIcon:Wl,AreaChart:Xa,AreaChartIcon:Xa,Armchair:Kl,ArmchairIcon:Kl,ArrowBigDown:Zl,ArrowBigDownDash:Xl,ArrowBigDownDashIcon:Xl,ArrowBigDownIcon:Zl,ArrowBigLeft:Ql,ArrowBigLeftDash:Yl,ArrowBigLeftDashIcon:Yl,ArrowBigLeftIcon:Ql,ArrowBigRight:ec,ArrowBigRightDash:Jl,ArrowBigRightDashIcon:Jl,ArrowBigRightIcon:ec,ArrowBigUp:tc,ArrowBigUpDash:ac,ArrowBigUpDashIcon:ac,ArrowBigUpIcon:tc,ArrowDown:uc,ArrowDown01:oc,ArrowDown01Icon:oc,ArrowDown10:nc,ArrowDown10Icon:nc,ArrowDownAZ:Da,ArrowDownAZIcon:Da,ArrowDownAz:Da,ArrowDownAzIcon:Da,ArrowDownCircle:un,ArrowDownCircleIcon:un,ArrowDownFromLine:rc,ArrowDownFromLineIcon:rc,ArrowDownIcon:uc,ArrowDownLeft:ic,ArrowDownLeftFromCircle:yn,ArrowDownLeftFromCircleIcon:yn,ArrowDownLeftFromSquare:Cr,ArrowDownLeftFromSquareIcon:Cr,ArrowDownLeftIcon:ic,ArrowDownLeftSquare:br,ArrowDownLeftSquareIcon:br,ArrowDownNarrowWide:lc,ArrowDownNarrowWideIcon:lc,ArrowDownRight:sc,ArrowDownRightFromCircle:fn,ArrowDownRightFromCircleIcon:fn,ArrowDownRightFromSquare:Lr,ArrowDownRightFromSquareIcon:Lr,ArrowDownRightIcon:sc,ArrowDownRightSquare:xr,ArrowDownRightSquareIcon:xr,ArrowDownSquare:wr,ArrowDownSquareIcon:wr,ArrowDownToDot:cc,ArrowDownToDotIcon:cc,ArrowDownToLine:dc,ArrowDownToLineIcon:dc,ArrowDownUp:hc,ArrowDownUpIcon:hc,ArrowDownWideNarrow:Ea,ArrowDownWideNarrowIcon:Ea,ArrowDownZA:Ta,ArrowDownZAIcon:Ta,ArrowDownZa:Ta,ArrowDownZaIcon:Ta,ArrowLeft:kc,ArrowLeftCircle:pn,ArrowLeftCircleIcon:pn,ArrowLeftFromLine:pc,ArrowLeftFromLineIcon:pc,ArrowLeftIcon:kc,ArrowLeftRight:fc,ArrowLeftRightIcon:fc,ArrowLeftSquare:vr,ArrowLeftSquareIcon:vr,ArrowLeftToLine:yc,ArrowLeftToLineIcon:yc,ArrowRight:Ts,ArrowRightCircle:gn,ArrowRightCircleIcon:gn,ArrowRightFromLine:mc,ArrowRightFromLineIcon:mc,ArrowRightIcon:Ts,ArrowRightLeft:gc,ArrowRightLeftIcon:gc,ArrowRightSquare:_r,ArrowRightSquareIcon:_r,ArrowRightToLine:Mc,ArrowRightToLineIcon:Mc,ArrowUp:Bc,ArrowUp01:bc,ArrowUp01Icon:bc,ArrowUp10:xc,ArrowUp10Icon:xc,ArrowUpAZ:Ha,ArrowUpAZIcon:Ha,ArrowUpAz:Ha,ArrowUpAzIcon:Ha,ArrowUpCircle:Mn,ArrowUpCircleIcon:Mn,ArrowUpDown:wc,ArrowUpDownIcon:wc,ArrowUpFromDot:vc,ArrowUpFromDotIcon:vc,ArrowUpFromLine:Cc,ArrowUpFromLineIcon:Cc,ArrowUpIcon:Bc,ArrowUpLeft:Lc,ArrowUpLeftFromCircle:kn,ArrowUpLeftFromCircleIcon:kn,ArrowUpLeftFromSquare:Sr,ArrowUpLeftFromSquareIcon:Sr,ArrowUpLeftIcon:Lc,ArrowUpLeftSquare:Br,ArrowUpLeftSquareIcon:Br,ArrowUpNarrowWide:ja,ArrowUpNarrowWideIcon:ja,ArrowUpRight:Sc,ArrowUpRightFromCircle:mn,ArrowUpRightFromCircleIcon:mn,ArrowUpRightFromSquare:Ir,ArrowUpRightFromSquareIcon:Ir,ArrowUpRightIcon:Sc,ArrowUpRightSquare:Ar,ArrowUpRightSquareIcon:Ar,ArrowUpSquare:Vr,ArrowUpSquareIcon:Vr,ArrowUpToLine:Ic,ArrowUpToLineIcon:Ic,ArrowUpWideNarrow:_c,ArrowUpWideNarrowIcon:_c,ArrowUpZA:Oa,ArrowUpZAIcon:Oa,ArrowUpZa:Oa,ArrowUpZaIcon:Oa,ArrowsUpFromLine:Ac,ArrowsUpFromLineIcon:Ac,Asterisk:Vc,AsteriskIcon:Vc,AsteriskSquare:zr,AsteriskSquareIcon:zr,AtSign:zc,AtSignIcon:zc,Atom:qc,AtomIcon:qc,AudioLines:Pc,AudioLinesIcon:Pc,AudioWaveform:Dc,AudioWaveformIcon:Dc,Award:Ec,AwardIcon:Ec,Axe:Tc,AxeIcon:Tc,Axis3D:Fa,Axis3DIcon:Fa,Axis3d:Fa,Axis3dIcon:Fa,Baby:jc,BabyIcon:jc,Backpack:Hc,BackpackIcon:Hc,Badge:td,BadgeAlert:Oc,BadgeAlertIcon:Oc,BadgeCent:Fc,BadgeCentIcon:Fc,BadgeCheck:Ra,BadgeCheckIcon:Ra,BadgeDollarSign:Rc,BadgeDollarSignIcon:Rc,BadgeEuro:Nc,BadgeEuroIcon:Nc,BadgeHelp:Na,BadgeHelpIcon:Na,BadgeIcon:td,BadgeIndianRupee:$c,BadgeIndianRupeeIcon:$c,BadgeInfo:Uc,BadgeInfoIcon:Uc,BadgeJapaneseYen:Wc,BadgeJapaneseYenIcon:Wc,BadgeMinus:Gc,BadgeMinusIcon:Gc,BadgePercent:Kc,BadgePercentIcon:Kc,BadgePlus:Xc,BadgePlusIcon:Xc,BadgePoundSterling:Zc,BadgePoundSterlingIcon:Zc,BadgeQuestionMark:Na,BadgeQuestionMarkIcon:Na,BadgeRussianRuble:Yc,BadgeRussianRubleIcon:Yc,BadgeSwissFranc:Qc,BadgeSwissFrancIcon:Qc,BadgeTurkishLira:Jc,BadgeTurkishLiraIcon:Jc,BadgeX:ed,BadgeXIcon:ed,BaggageClaim:ad,BaggageClaimIcon:ad,Balloon:nd,BalloonIcon:nd,Ban:rd,BanIcon:rd,Banana:od,BananaIcon:od,Bandage:id,BandageIcon:id,Banknote:ud,BanknoteArrowDown:sd,BanknoteArrowDownIcon:sd,BanknoteArrowUp:ld,BanknoteArrowUpIcon:ld,BanknoteIcon:ud,BanknoteX:cd,BanknoteXIcon:cd,BarChart:nn,BarChart2:on,BarChart2Icon:on,BarChart3:tn,BarChart3Icon:tn,BarChart4:en,BarChart4Icon:en,BarChartBig:Ja,BarChartBigIcon:Ja,BarChartHorizontal:Qa,BarChartHorizontalBig:Za,BarChartHorizontalBigIcon:Za,BarChartHorizontalIcon:Qa,BarChartIcon:nn,Barcode:dd,BarcodeIcon:dd,Barrel:hd,BarrelIcon:hd,Baseline:pd,BaselineIcon:pd,Bath:yd,BathIcon:yd,Battery:xd,BatteryCharging:fd,BatteryChargingIcon:fd,BatteryFull:kd,BatteryFullIcon:kd,BatteryIcon:xd,BatteryLow:md,BatteryLowIcon:md,BatteryMedium:Md,BatteryMediumIcon:Md,BatteryPlus:gd,BatteryPlusIcon:gd,BatteryWarning:bd,BatteryWarningIcon:bd,Beaker:wd,BeakerIcon:wd,Bean:Cd,BeanIcon:Cd,BeanOff:vd,BeanOffIcon:vd,Bed:Id,BedDouble:Ld,BedDoubleIcon:Ld,BedIcon:Id,BedSingle:Sd,BedSingleIcon:Sd,Beef:_d,BeefIcon:_d,Beer:Bd,BeerIcon:Bd,BeerOff:Ad,BeerOffIcon:Ad,Bell:Ed,BellDot:Vd,BellDotIcon:Vd,BellElectric:zd,BellElectricIcon:zd,BellIcon:Ed,BellMinus:qd,BellMinusIcon:qd,BellOff:Pd,BellOffIcon:Pd,BellPlus:Dd,BellPlusIcon:Dd,BellRing:Td,BellRingIcon:Td,BetweenHorizonalEnd:$a,BetweenHorizonalEndIcon:$a,BetweenHorizonalStart:Ua,BetweenHorizonalStartIcon:Ua,BetweenHorizontalEnd:$a,BetweenHorizontalEndIcon:$a,BetweenHorizontalStart:Ua,BetweenHorizontalStartIcon:Ua,BetweenVerticalEnd:Hd,BetweenVerticalEndIcon:Hd,BetweenVerticalStart:jd,BetweenVerticalStartIcon:jd,BicepsFlexed:Od,BicepsFlexedIcon:Od,Bike:Fd,BikeIcon:Fd,Binary:Rd,BinaryIcon:Rd,Binoculars:$d,BinocularsIcon:$d,Biohazard:Nd,BiohazardIcon:Nd,Bird:Ud,BirdIcon:Ud,Birdhouse:Wd,BirdhouseIcon:Wd,Bitcoin:Gd,BitcoinIcon:Gd,Blend:Kd,BlendIcon:Kd,Blinds:Xd,BlindsIcon:Xd,Blocks:Yd,BlocksIcon:Yd,Bluetooth:e0,BluetoothConnected:Zd,BluetoothConnectedIcon:Zd,BluetoothIcon:e0,BluetoothOff:Qd,BluetoothOffIcon:Qd,BluetoothSearching:Jd,BluetoothSearchingIcon:Jd,Bold:t0,BoldIcon:t0,Bolt:a0,BoltIcon:a0,Bomb:n0,BombIcon:n0,Bone:o0,BoneIcon:o0,Book:A0,BookA:r0,BookAIcon:r0,BookAlert:i0,BookAlertIcon:i0,BookAudio:s0,BookAudioIcon:s0,BookCheck:c0,BookCheckIcon:c0,BookCopy:l0,BookCopyIcon:l0,BookDashed:Wa,BookDashedIcon:Wa,BookDown:d0,BookDownIcon:d0,BookHeadphones:h0,BookHeadphonesIcon:h0,BookHeart:u0,BookHeartIcon:u0,BookIcon:A0,BookImage:p0,BookImageIcon:p0,BookKey:y0,BookKeyIcon:y0,BookLock:f0,BookLockIcon:f0,BookMarked:k0,BookMarkedIcon:k0,BookMinus:m0,BookMinusIcon:m0,BookOpen:b0,BookOpenCheck:g0,BookOpenCheckIcon:g0,BookOpenIcon:b0,BookOpenText:M0,BookOpenTextIcon:M0,BookPlus:x0,BookPlusIcon:x0,BookSearch:w0,BookSearchIcon:w0,BookTemplate:Wa,BookTemplateIcon:Wa,BookText:v0,BookTextIcon:v0,BookType:C0,BookTypeIcon:C0,BookUp:L0,BookUp2:S0,BookUp2Icon:S0,BookUpIcon:L0,BookUser:I0,BookUserIcon:I0,BookX:_0,BookXIcon:_0,Bookmark:P0,BookmarkCheck:B0,BookmarkCheckIcon:B0,BookmarkIcon:P0,BookmarkMinus:V0,BookmarkMinusIcon:V0,BookmarkPlus:z0,BookmarkPlusIcon:z0,BookmarkX:q0,BookmarkXIcon:q0,BoomBox:E0,BoomBoxIcon:E0,Bot:H0,BotIcon:H0,BotMessageSquare:D0,BotMessageSquareIcon:D0,BotOff:T0,BotOffIcon:T0,BottleWine:O0,BottleWineIcon:O0,BowArrow:j0,BowArrowIcon:j0,Box:F0,BoxIcon:F0,BoxSelect:Ur,BoxSelectIcon:Ur,Boxes:R0,BoxesIcon:R0,Braces:Ga,BracesIcon:Ga,Brackets:N0,BracketsIcon:N0,Brain:W0,BrainCircuit:U0,BrainCircuitIcon:U0,BrainCog:$0,BrainCogIcon:$0,BrainIcon:W0,BrickWall:K0,BrickWallFire:G0,BrickWallFireIcon:G0,BrickWallIcon:K0,BrickWallShield:X0,BrickWallShieldIcon:X0,Briefcase:Q0,BriefcaseBusiness:Z0,BriefcaseBusinessIcon:Z0,BriefcaseConveyorBelt:Y0,BriefcaseConveyorBeltIcon:Y0,BriefcaseIcon:Q0,BriefcaseMedical:J0,BriefcaseMedicalIcon:J0,BringToFront:e2,BringToFrontIcon:e2,Brush:a2,BrushCleaning:t2,BrushCleaningIcon:t2,BrushIcon:a2,Bubbles:n2,BubblesIcon:n2,Bug:i2,BugIcon:i2,BugOff:o2,BugOffIcon:o2,BugPlay:r2,BugPlayIcon:r2,Building:l2,Building2:s2,Building2Icon:s2,BuildingIcon:l2,Bus:d2,BusFront:c2,BusFrontIcon:c2,BusIcon:d2,Cable:u2,CableCar:h2,CableCarIcon:h2,CableIcon:u2,Cake:y2,CakeIcon:y2,CakeSlice:p2,CakeSliceIcon:p2,Calculator:f2,CalculatorIcon:f2,Calendar:Hs,Calendar1:k2,Calendar1Icon:k2,CalendarArrowDown:M2,CalendarArrowDownIcon:M2,CalendarArrowUp:m2,CalendarArrowUpIcon:m2,CalendarCheck:b2,CalendarCheck2:g2,CalendarCheck2Icon:g2,CalendarCheckIcon:b2,CalendarClock:x2,CalendarClockIcon:x2,CalendarCog:v2,CalendarCogIcon:v2,CalendarDays:w2,CalendarDaysIcon:w2,CalendarFold:C2,CalendarFoldIcon:C2,CalendarHeart:L2,CalendarHeartIcon:L2,CalendarIcon:Hs,CalendarMinus:I2,CalendarMinus2:S2,CalendarMinus2Icon:S2,CalendarMinusIcon:I2,CalendarOff:_2,CalendarOffIcon:_2,CalendarPlus:B2,CalendarPlus2:A2,CalendarPlus2Icon:A2,CalendarPlusIcon:B2,CalendarRange:V2,CalendarRangeIcon:V2,CalendarSearch:z2,CalendarSearchIcon:z2,CalendarSync:q2,CalendarSyncIcon:q2,CalendarX:D2,CalendarX2:P2,CalendarX2Icon:P2,CalendarXIcon:D2,Calendars:E2,CalendarsIcon:E2,Camera:H2,CameraIcon:H2,CameraOff:T2,CameraOffIcon:T2,CandlestickChart:Ya,CandlestickChartIcon:Ya,Candy:F2,CandyCane:j2,CandyCaneIcon:j2,CandyIcon:F2,CandyOff:O2,CandyOffIcon:O2,Cannabis:N2,CannabisIcon:N2,CannabisOff:R2,CannabisOffIcon:R2,Captions:Ka,CaptionsIcon:Ka,CaptionsOff:$2,CaptionsOffIcon:$2,Car:G2,CarFront:U2,CarFrontIcon:U2,CarIcon:G2,CarTaxiFront:W2,CarTaxiFrontIcon:W2,Caravan:K2,CaravanIcon:K2,CardSim:X2,CardSimIcon:X2,Carrot:Z2,CarrotIcon:Z2,CaseLower:Y2,CaseLowerIcon:Y2,CaseSensitive:Q2,CaseSensitiveIcon:Q2,CaseUpper:J2,CaseUpperIcon:J2,CassetteTape:eh,CassetteTapeIcon:eh,Cast:th,CastIcon:th,Castle:ah,CastleIcon:ah,Cat:nh,CatIcon:nh,Cctv:oh,CctvIcon:oh,ChartArea:Xa,ChartAreaIcon:Xa,ChartBar:Qa,ChartBarBig:Za,ChartBarBigIcon:Za,ChartBarDecreasing:ih,ChartBarDecreasingIcon:ih,ChartBarIcon:Qa,ChartBarIncreasing:rh,ChartBarIncreasingIcon:rh,ChartBarStacked:sh,ChartBarStackedIcon:sh,ChartCandlestick:Ya,ChartCandlestickIcon:Ya,ChartColumn:tn,ChartColumnBig:Ja,ChartColumnBigIcon:Ja,ChartColumnDecreasing:lh,ChartColumnDecreasingIcon:lh,ChartColumnIcon:tn,ChartColumnIncreasing:en,ChartColumnIncreasingIcon:en,ChartColumnStacked:ch,ChartColumnStackedIcon:ch,ChartGantt:dh,ChartGanttIcon:dh,ChartLine:an,ChartLineIcon:an,ChartNetwork:hh,ChartNetworkIcon:hh,ChartNoAxesColumn:on,ChartNoAxesColumnDecreasing:uh,ChartNoAxesColumnDecreasingIcon:uh,ChartNoAxesColumnIcon:on,ChartNoAxesColumnIncreasing:nn,ChartNoAxesColumnIncreasingIcon:nn,ChartNoAxesCombined:ph,ChartNoAxesCombinedIcon:ph,ChartNoAxesGantt:sn,ChartNoAxesGanttIcon:sn,ChartPie:rn,ChartPieIcon:rn,ChartScatter:ln,ChartScatterIcon:ln,ChartSpline:fh,ChartSplineIcon:fh,Check:sa,CheckCheck:yh,CheckCheckIcon:yh,CheckCircle:la,CheckCircle2:bn,CheckCircle2Icon:bn,CheckCircleIcon:la,CheckIcon:sa,CheckLine:kh,CheckLineIcon:kh,CheckSquare:Er,CheckSquare2:Tr,CheckSquare2Icon:Tr,CheckSquareIcon:Er,ChefHat:mh,ChefHatIcon:mh,Cherry:gh,CherryIcon:gh,ChessBishop:Mh,ChessBishopIcon:Mh,ChessKing:bh,ChessKingIcon:bh,ChessKnight:xh,ChessKnightIcon:xh,ChessPawn:wh,ChessPawnIcon:wh,ChessQueen:vh,ChessQueenIcon:vh,ChessRook:Ch,ChessRookIcon:Ch,ChevronDown:St,ChevronDownCircle:wn,ChevronDownCircleIcon:wn,ChevronDownIcon:St,ChevronDownSquare:Hr,ChevronDownSquareIcon:Hr,ChevronFirst:Lh,ChevronFirstIcon:Lh,ChevronLast:Sh,ChevronLastIcon:Sh,ChevronLeft:cn,ChevronLeftCircle:vn,ChevronLeftCircleIcon:vn,ChevronLeftIcon:cn,ChevronLeftSquare:jr,ChevronLeftSquareIcon:jr,ChevronRight:dn,ChevronRightCircle:xn,ChevronRightCircleIcon:xn,ChevronRightIcon:dn,ChevronRightSquare:Or,ChevronRightSquareIcon:Or,ChevronUp:js,ChevronUpCircle:Cn,ChevronUpCircleIcon:Cn,ChevronUpIcon:js,ChevronUpSquare:Fr,ChevronUpSquareIcon:Fr,ChevronsDown:_h,ChevronsDownIcon:_h,ChevronsDownUp:Ih,ChevronsDownUpIcon:Ih,ChevronsLeft:Os,ChevronsLeftIcon:Os,ChevronsLeftRight:Bh,ChevronsLeftRightEllipsis:Ah,ChevronsLeftRightEllipsisIcon:Ah,ChevronsLeftRightIcon:Bh,ChevronsRight:Fs,ChevronsRightIcon:Fs,ChevronsRightLeft:Vh,ChevronsRightLeftIcon:Vh,ChevronsUp:qh,ChevronsUpDown:zh,ChevronsUpDownIcon:zh,ChevronsUpIcon:qh,Chrome:hn,ChromeIcon:hn,Chromium:hn,ChromiumIcon:hn,Church:Dh,ChurchIcon:Dh,Cigarette:Eh,CigaretteIcon:Eh,CigaretteOff:Ph,CigaretteOffIcon:Ph,Circle:Rs,CircleAlert:It,CircleAlertIcon:It,CircleArrowDown:un,CircleArrowDownIcon:un,CircleArrowLeft:pn,CircleArrowLeftIcon:pn,CircleArrowOutDownLeft:yn,CircleArrowOutDownLeftIcon:yn,CircleArrowOutDownRight:fn,CircleArrowOutDownRightIcon:fn,CircleArrowOutUpLeft:kn,CircleArrowOutUpLeftIcon:kn,CircleArrowOutUpRight:mn,CircleArrowOutUpRightIcon:mn,CircleArrowRight:gn,CircleArrowRightIcon:gn,CircleArrowUp:Mn,CircleArrowUpIcon:Mn,CircleCheck:bn,CircleCheckBig:la,CircleCheckBigIcon:la,CircleCheckIcon:bn,CircleChevronDown:wn,CircleChevronDownIcon:wn,CircleChevronLeft:vn,CircleChevronLeftIcon:vn,CircleChevronRight:xn,CircleChevronRightIcon:xn,CircleChevronUp:Cn,CircleChevronUpIcon:Cn,CircleDashed:Th,CircleDashedIcon:Th,CircleDivide:Ln,CircleDivideIcon:Ln,CircleDollarSign:Hh,CircleDollarSignIcon:Hh,CircleDot:Oh,CircleDotDashed:jh,CircleDotDashedIcon:jh,CircleDotIcon:Oh,CircleEllipsis:Rh,CircleEllipsisIcon:Rh,CircleEqual:Fh,CircleEqualIcon:Fh,CircleFadingArrowUp:Nh,CircleFadingArrowUpIcon:Nh,CircleFadingPlus:$h,CircleFadingPlusIcon:$h,CircleGauge:Sn,CircleGaugeIcon:Sn,CircleHelp:_t,CircleHelpIcon:_t,CircleIcon:Rs,CircleMinus:In,CircleMinusIcon:In,CircleOff:Uh,CircleOffIcon:Uh,CircleParking:An,CircleParkingIcon:An,CircleParkingOff:_n,CircleParkingOffIcon:_n,CirclePause:Bn,CirclePauseIcon:Bn,CirclePercent:Vn,CirclePercentIcon:Vn,CirclePile:Wh,CirclePileIcon:Wh,CirclePlay:zn,CirclePlayIcon:zn,CirclePlus:qn,CirclePlusIcon:qn,CirclePoundSterling:Gh,CirclePoundSterlingIcon:Gh,CirclePower:Pn,CirclePowerIcon:Pn,CircleQuestionMark:_t,CircleQuestionMarkIcon:_t,CircleSlash:Kh,CircleSlash2:Dn,CircleSlash2Icon:Dn,CircleSlashIcon:Kh,CircleSlashed:Dn,CircleSlashedIcon:Dn,CircleSmall:Xh,CircleSmallIcon:Xh,CircleStar:Zh,CircleStarIcon:Zh,CircleStop:En,CircleStopIcon:En,CircleUser:Hn,CircleUserIcon:Hn,CircleUserRound:Tn,CircleUserRoundIcon:Tn,CircleX:jn,CircleXIcon:jn,CircuitBoard:Yh,CircuitBoardIcon:Yh,Citrus:Qh,CitrusIcon:Qh,Clapperboard:Jh,ClapperboardIcon:Jh,Clipboard:cu,ClipboardCheck:tu,ClipboardCheckIcon:tu,ClipboardClock:eu,ClipboardClockIcon:eu,ClipboardCopy:au,ClipboardCopyIcon:au,ClipboardEdit:Fn,ClipboardEditIcon:Fn,ClipboardIcon:cu,ClipboardList:nu,ClipboardListIcon:nu,ClipboardMinus:ou,ClipboardMinusIcon:ou,ClipboardPaste:ru,ClipboardPasteIcon:ru,ClipboardPen:Fn,ClipboardPenIcon:Fn,ClipboardPenLine:On,ClipboardPenLineIcon:On,ClipboardPlus:iu,ClipboardPlusIcon:iu,ClipboardSignature:On,ClipboardSignatureIcon:On,ClipboardType:su,ClipboardTypeIcon:su,ClipboardX:lu,ClipboardXIcon:lu,Clock:Ns,Clock1:du,Clock10:hu,Clock10Icon:hu,Clock11:uu,Clock11Icon:uu,Clock12:pu,Clock12Icon:pu,Clock1Icon:du,Clock2:yu,Clock2Icon:yu,Clock3:fu,Clock3Icon:fu,Clock4:ku,Clock4Icon:ku,Clock5:mu,Clock5Icon:mu,Clock6:gu,Clock6Icon:gu,Clock7:Mu,Clock7Icon:Mu,Clock8:bu,Clock8Icon:bu,Clock9:xu,Clock9Icon:xu,ClockAlert:wu,ClockAlertIcon:wu,ClockArrowDown:vu,ClockArrowDownIcon:vu,ClockArrowUp:Cu,ClockArrowUpIcon:Cu,ClockCheck:Lu,ClockCheckIcon:Lu,ClockFading:Su,ClockFadingIcon:Su,ClockIcon:Ns,ClockPlus:Iu,ClockPlusIcon:Iu,ClosedCaption:_u,ClosedCaptionIcon:_u,Cloud:Wu,CloudAlert:Au,CloudAlertIcon:Au,CloudBackup:Bu,CloudBackupIcon:Bu,CloudCheck:Vu,CloudCheckIcon:Vu,CloudCog:zu,CloudCogIcon:zu,CloudDownload:Rn,CloudDownloadIcon:Rn,CloudDrizzle:qu,CloudDrizzleIcon:qu,CloudFog:Pu,CloudFogIcon:Pu,CloudHail:Du,CloudHailIcon:Du,CloudIcon:Wu,CloudLightning:Eu,CloudLightningIcon:Eu,CloudMoon:Hu,CloudMoonIcon:Hu,CloudMoonRain:Tu,CloudMoonRainIcon:Tu,CloudOff:ju,CloudOffIcon:ju,CloudRain:Fu,CloudRainIcon:Fu,CloudRainWind:Ou,CloudRainWindIcon:Ou,CloudSnow:Ru,CloudSnowIcon:Ru,CloudSun:$u,CloudSunIcon:$u,CloudSunRain:Nu,CloudSunRainIcon:Nu,CloudSync:Uu,CloudSyncIcon:Uu,CloudUpload:ca,CloudUploadIcon:ca,Cloudy:Gu,CloudyIcon:Gu,Clover:Ku,CloverIcon:Ku,Club:Xu,ClubIcon:Xu,Code:Zu,Code2:Nn,Code2Icon:Nn,CodeIcon:Zu,CodeSquare:Rr,CodeSquareIcon:Rr,CodeXml:Nn,CodeXmlIcon:Nn,Codepen:Yu,CodepenIcon:Yu,Codesandbox:Qu,CodesandboxIcon:Qu,Coffee:Ju,CoffeeIcon:Ju,Cog:ep,CogIcon:ep,Coins:tp,CoinsIcon:tp,Columns:$n,Columns2:$n,Columns2Icon:$n,Columns3:Un,Columns3Cog:At,Columns3CogIcon:At,Columns3Icon:Un,Columns4:ap,Columns4Icon:ap,ColumnsIcon:$n,ColumnsSettings:At,ColumnsSettingsIcon:At,Combine:np,CombineIcon:np,Command:op,CommandIcon:op,Compass:rp,CompassIcon:rp,Component:ip,ComponentIcon:ip,Computer:sp,ComputerIcon:sp,ConciergeBell:lp,ConciergeBellIcon:lp,Cone:cp,ConeIcon:cp,Construction:dp,ConstructionIcon:dp,Contact:hp,Contact2:Wn,Contact2Icon:Wn,ContactIcon:hp,ContactRound:Wn,ContactRoundIcon:Wn,Container:up,ContainerIcon:up,Contrast:pp,ContrastIcon:pp,Cookie:fp,CookieIcon:fp,CookingPot:yp,CookingPotIcon:yp,Copy:xp,CopyCheck:kp,CopyCheckIcon:kp,CopyIcon:xp,CopyMinus:mp,CopyMinusIcon:mp,CopyPlus:gp,CopyPlusIcon:gp,CopySlash:bp,CopySlashIcon:bp,CopyX:Mp,CopyXIcon:Mp,Copyleft:wp,CopyleftIcon:wp,Copyright:vp,CopyrightIcon:vp,CornerDownLeft:Cp,CornerDownLeftIcon:Cp,CornerDownRight:Sp,CornerDownRightIcon:Sp,CornerLeftDown:Lp,CornerLeftDownIcon:Lp,CornerLeftUp:Ip,CornerLeftUpIcon:Ip,CornerRightDown:_p,CornerRightDownIcon:_p,CornerRightUp:Ap,CornerRightUpIcon:Ap,CornerUpLeft:Bp,CornerUpLeftIcon:Bp,CornerUpRight:Vp,CornerUpRightIcon:Vp,Cpu:ls,CpuIcon:ls,CreativeCommons:zp,CreativeCommonsIcon:zp,CreditCard:qp,CreditCardIcon:qp,Croissant:Pp,CroissantIcon:Pp,Crop:Dp,CropIcon:Dp,Cross:Ep,CrossIcon:Ep,Crosshair:Hp,CrosshairIcon:Hp,Crown:Tp,CrownIcon:Tp,Cuboid:jp,CuboidIcon:jp,CupSoda:Op,CupSodaIcon:Op,CurlyBraces:Ga,CurlyBracesIcon:Ga,Currency:Fp,CurrencyIcon:Fp,Cylinder:Rp,CylinderIcon:Rp,Dam:Np,DamIcon:Np,Database:Gp,DatabaseBackup:$p,DatabaseBackupIcon:$p,DatabaseIcon:Gp,DatabaseSearch:Up,DatabaseSearchIcon:Up,DatabaseZap:Wp,DatabaseZapIcon:Wp,DecimalsArrowLeft:Kp,DecimalsArrowLeftIcon:Kp,DecimalsArrowRight:Xp,DecimalsArrowRightIcon:Xp,Delete:Zp,DeleteIcon:Zp,Dessert:Yp,DessertIcon:Yp,Diameter:Qp,DiameterIcon:Qp,Diamond:ty,DiamondIcon:ty,DiamondMinus:Jp,DiamondMinusIcon:Jp,DiamondPercent:Gn,DiamondPercentIcon:Gn,DiamondPlus:ey,DiamondPlusIcon:ey,Dice1:ay,Dice1Icon:ay,Dice2:ny,Dice2Icon:ny,Dice3:oy,Dice3Icon:oy,Dice4:ry,Dice4Icon:ry,Dice5:iy,Dice5Icon:iy,Dice6:sy,Dice6Icon:sy,Dices:ly,DicesIcon:ly,Diff:cy,DiffIcon:cy,Disc:py,Disc2:dy,Disc2Icon:dy,Disc3:hy,Disc3Icon:hy,DiscAlbum:uy,DiscAlbumIcon:uy,DiscIcon:py,Divide:yy,DivideCircle:Ln,DivideCircleIcon:Ln,DivideIcon:yy,DivideSquare:Gr,DivideSquareIcon:Gr,Dna:ky,DnaIcon:ky,DnaOff:fy,DnaOffIcon:fy,Dock:my,DockIcon:my,Dog:My,DogIcon:My,DollarSign:gy,DollarSignIcon:gy,Donut:xy,DonutIcon:xy,DoorClosed:wy,DoorClosedIcon:wy,DoorClosedLocked:by,DoorClosedLockedIcon:by,DoorOpen:vy,DoorOpenIcon:vy,Dot:Cy,DotIcon:Cy,DotSquare:Wr,DotSquareIcon:Wr,Download:$s,DownloadCloud:Rn,DownloadCloudIcon:Rn,DownloadIcon:$s,DraftingCompass:Ly,DraftingCompassIcon:Ly,Drama:Iy,DramaIcon:Iy,Dribbble:Sy,DribbbleIcon:Sy,Drill:_y,DrillIcon:_y,Drone:Ay,DroneIcon:Ay,Droplet:Vy,DropletIcon:Vy,DropletOff:By,DropletOffIcon:By,Droplets:zy,DropletsIcon:zy,Drum:qy,DrumIcon:qy,Drumstick:Py,DrumstickIcon:Py,Dumbbell:Dy,DumbbellIcon:Dy,Ear:Ty,EarIcon:Ty,EarOff:Ey,EarOffIcon:Ey,Earth:Kn,EarthIcon:Kn,EarthLock:Hy,EarthLockIcon:Hy,Eclipse:jy,EclipseIcon:jy,Edit:Xe,Edit2:rr,Edit2Icon:rr,Edit3:or,Edit3Icon:or,EditIcon:Xe,Egg:Fy,EggFried:Oy,EggFriedIcon:Oy,EggIcon:Fy,EggOff:Ry,EggOffIcon:Ry,Ellipsis:da,EllipsisIcon:da,EllipsisVertical:Xn,EllipsisVerticalIcon:Xn,Equal:Uy,EqualApproximately:$y,EqualApproximatelyIcon:$y,EqualIcon:Uy,EqualNot:Ny,EqualNotIcon:Ny,EqualSquare:Kr,EqualSquareIcon:Kr,Eraser:Wy,EraserIcon:Wy,EthernetPort:Gy,EthernetPortIcon:Gy,Euro:Ky,EuroIcon:Ky,EvCharger:Xy,EvChargerIcon:Xy,Expand:Zy,ExpandIcon:Zy,ExternalLink:Yy,ExternalLinkIcon:Yy,Eye:cs,EyeClosed:Qy,EyeClosedIcon:Qy,EyeIcon:cs,EyeOff:Us,EyeOffIcon:Us,Facebook:Jy,FacebookIcon:Jy,Factory:ef,FactoryIcon:ef,Fan:tf,FanIcon:tf,FastForward:af,FastForwardIcon:af,Feather:nf,FeatherIcon:nf,Fence:of,FenceIcon:of,FerrisWheel:rf,FerrisWheelIcon:rf,Figma:sf,FigmaIcon:sf,File:Df,FileArchive:lf,FileArchiveIcon:lf,FileAudio:Bt,FileAudio2:Bt,FileAudio2Icon:Bt,FileAudioIcon:Bt,FileAxis3D:Zn,FileAxis3DIcon:Zn,FileAxis3d:Zn,FileAxis3dIcon:Zn,FileBadge:Yn,FileBadge2:Yn,FileBadge2Icon:Yn,FileBadgeIcon:Yn,FileBarChart:eo,FileBarChart2:to,FileBarChart2Icon:to,FileBarChartIcon:eo,FileBox:cf,FileBoxIcon:cf,FileBraces:Jn,FileBracesCorner:Qn,FileBracesCornerIcon:Qn,FileBracesIcon:Jn,FileChartColumn:to,FileChartColumnIcon:to,FileChartColumnIncreasing:eo,FileChartColumnIncreasingIcon:eo,FileChartLine:ao,FileChartLineIcon:ao,FileChartPie:no,FileChartPieIcon:no,FileCheck:df,FileCheck2:oo,FileCheck2Icon:oo,FileCheckCorner:oo,FileCheckCornerIcon:oo,FileCheckIcon:df,FileClock:hf,FileClockIcon:hf,FileCode:uf,FileCode2:ro,FileCode2Icon:ro,FileCodeCorner:ro,FileCodeCornerIcon:ro,FileCodeIcon:uf,FileCog:io,FileCog2:io,FileCog2Icon:io,FileCogIcon:io,FileDiff:pf,FileDiffIcon:pf,FileDigit:ff,FileDigitIcon:ff,FileDown:yf,FileDownIcon:yf,FileEdit:yo,FileEditIcon:yo,FileExclamationPoint:so,FileExclamationPointIcon:so,FileHeadphone:Bt,FileHeadphoneIcon:Bt,FileHeart:kf,FileHeartIcon:kf,FileIcon:Df,FileImage:mf,FileImageIcon:mf,FileInput:gf,FileInputIcon:gf,FileJson:Jn,FileJson2:Qn,FileJson2Icon:Qn,FileJsonIcon:Jn,FileKey:lo,FileKey2:lo,FileKey2Icon:lo,FileKeyIcon:lo,FileLineChart:ao,FileLineChartIcon:ao,FileLock:co,FileLock2:co,FileLock2Icon:co,FileLockIcon:co,FileMinus:bf,FileMinus2:ho,FileMinus2Icon:ho,FileMinusCorner:ho,FileMinusCornerIcon:ho,FileMinusIcon:bf,FileMusic:Mf,FileMusicIcon:Mf,FileOutput:xf,FileOutputIcon:xf,FilePen:yo,FilePenIcon:yo,FilePenLine:uo,FilePenLineIcon:uo,FilePieChart:no,FilePieChartIcon:no,FilePlay:po,FilePlayIcon:po,FilePlus:wf,FilePlus2:fo,FilePlus2Icon:fo,FilePlusCorner:fo,FilePlusCornerIcon:fo,FilePlusIcon:wf,FileQuestion:ko,FileQuestionIcon:ko,FileQuestionMark:ko,FileQuestionMarkIcon:ko,FileScan:vf,FileScanIcon:vf,FileSearch:Cf,FileSearch2:mo,FileSearch2Icon:mo,FileSearchCorner:mo,FileSearchCornerIcon:mo,FileSearchIcon:Cf,FileSignal:go,FileSignalIcon:go,FileSignature:uo,FileSignatureIcon:uo,FileSliders:Lf,FileSlidersIcon:Lf,FileSpreadsheet:Sf,FileSpreadsheetIcon:Sf,FileStack:If,FileStackIcon:If,FileSymlink:_f,FileSymlinkIcon:_f,FileTerminal:Af,FileTerminalIcon:Af,FileText:ds,FileTextIcon:ds,FileType:Bf,FileType2:Mo,FileType2Icon:Mo,FileTypeCorner:Mo,FileTypeCornerIcon:Mo,FileTypeIcon:Bf,FileUp:Vf,FileUpIcon:Vf,FileUser:zf,FileUserIcon:zf,FileVideo:po,FileVideo2:bo,FileVideo2Icon:bo,FileVideoCamera:bo,FileVideoCameraIcon:bo,FileVideoIcon:po,FileVolume:qf,FileVolume2:go,FileVolume2Icon:go,FileVolumeIcon:qf,FileWarning:so,FileWarningIcon:so,FileX:Pf,FileX2:xo,FileX2Icon:xo,FileXCorner:xo,FileXCornerIcon:xo,FileXIcon:Pf,Files:Tf,FilesIcon:Tf,Film:Ef,FilmIcon:Ef,Filter:So,FilterIcon:So,FilterX:Lo,FilterXIcon:Lo,Fingerprint:wo,FingerprintIcon:wo,FingerprintPattern:wo,FingerprintPatternIcon:wo,FireExtinguisher:Hf,FireExtinguisherIcon:Hf,Fish:Ff,FishIcon:Ff,FishOff:jf,FishOffIcon:jf,FishSymbol:Of,FishSymbolIcon:Of,FishingHook:Rf,FishingHookIcon:Rf,Flag:Wf,FlagIcon:Wf,FlagOff:Nf,FlagOffIcon:Nf,FlagTriangleLeft:$f,FlagTriangleLeftIcon:$f,FlagTriangleRight:Uf,FlagTriangleRightIcon:Uf,Flame:Kf,FlameIcon:Kf,FlameKindling:Gf,FlameKindlingIcon:Gf,Flashlight:Zf,FlashlightIcon:Zf,FlashlightOff:Xf,FlashlightOffIcon:Xf,FlaskConical:Qf,FlaskConicalIcon:Qf,FlaskConicalOff:Yf,FlaskConicalOffIcon:Yf,FlaskRound:Jf,FlaskRoundIcon:Jf,FlipHorizontal:Pr,FlipHorizontal2:ek,FlipHorizontal2Icon:ek,FlipHorizontalIcon:Pr,FlipVertical:Dr,FlipVertical2:tk,FlipVertical2Icon:tk,FlipVerticalIcon:Dr,Flower:nk,Flower2:ak,Flower2Icon:ak,FlowerIcon:nk,Focus:ok,FocusIcon:ok,FoldHorizontal:rk,FoldHorizontalIcon:rk,FoldVertical:ik,FoldVerticalIcon:ik,Folder:Pk,FolderArchive:sk,FolderArchiveIcon:sk,FolderCheck:lk,FolderCheckIcon:lk,FolderClock:ck,FolderClockIcon:ck,FolderClosed:dk,FolderClosedIcon:dk,FolderCode:hk,FolderCodeIcon:hk,FolderCog:vo,FolderCog2:vo,FolderCog2Icon:vo,FolderCogIcon:vo,FolderDot:uk,FolderDotIcon:uk,FolderDown:pk,FolderDownIcon:pk,FolderEdit:Co,FolderEditIcon:Co,FolderGit:fk,FolderGit2:yk,FolderGit2Icon:yk,FolderGitIcon:fk,FolderHeart:kk,FolderHeartIcon:kk,FolderIcon:Pk,FolderInput:mk,FolderInputIcon:mk,FolderKanban:Mk,FolderKanbanIcon:Mk,FolderKey:gk,FolderKeyIcon:gk,FolderLock:bk,FolderLockIcon:bk,FolderMinus:vk,FolderMinusIcon:vk,FolderOpen:wk,FolderOpenDot:xk,FolderOpenDotIcon:xk,FolderOpenIcon:wk,FolderOutput:Ck,FolderOutputIcon:Ck,FolderPen:Co,FolderPenIcon:Co,FolderPlus:Ik,FolderPlusIcon:Ik,FolderRoot:Lk,FolderRootIcon:Lk,FolderSearch:_k,FolderSearch2:Sk,FolderSearch2Icon:Sk,FolderSearchIcon:_k,FolderSymlink:Bk,FolderSymlinkIcon:Bk,FolderSync:Ak,FolderSyncIcon:Ak,FolderTree:Vk,FolderTreeIcon:Vk,FolderUp:zk,FolderUpIcon:zk,FolderX:qk,FolderXIcon:qk,Folders:Dk,FoldersIcon:Dk,Footprints:Ek,FootprintsIcon:Ek,ForkKnife:Oi,ForkKnifeCrossed:ji,ForkKnifeCrossedIcon:ji,ForkKnifeIcon:Oi,Forklift:Tk,ForkliftIcon:Tk,Form:Hk,FormIcon:Hk,FormInput:lr,FormInputIcon:lr,Forward:Ok,ForwardIcon:Ok,Frame:jk,FrameIcon:jk,Framer:Fk,FramerIcon:Fk,Frown:Rk,FrownIcon:Rk,Fuel:Nk,FuelIcon:Nk,Fullscreen:$k,FullscreenIcon:$k,FunctionSquare:Xr,FunctionSquareIcon:Xr,Funnel:So,FunnelIcon:So,FunnelPlus:Uk,FunnelPlusIcon:Uk,FunnelX:Lo,FunnelXIcon:Lo,GalleryHorizontal:Gk,GalleryHorizontalEnd:Wk,GalleryHorizontalEndIcon:Wk,GalleryHorizontalIcon:Gk,GalleryThumbnails:Kk,GalleryThumbnailsIcon:Kk,GalleryVertical:Zk,GalleryVerticalEnd:Xk,GalleryVerticalEndIcon:Xk,GalleryVerticalIcon:Zk,Gamepad:em,Gamepad2:Yk,Gamepad2Icon:Yk,GamepadDirectional:Qk,GamepadDirectionalIcon:Qk,GamepadIcon:em,GanttChart:sn,GanttChartIcon:sn,GanttChartSquare:Pt,GanttChartSquareIcon:Pt,Gauge:Jk,GaugeCircle:Sn,GaugeCircleIcon:Sn,GaugeIcon:Jk,Gavel:tm,GavelIcon:tm,Gem:am,GemIcon:am,GeorgianLari:nm,GeorgianLariIcon:nm,Ghost:om,GhostIcon:om,Gift:rm,GiftIcon:rm,GitBranch:lm,GitBranchIcon:lm,GitBranchMinus:im,GitBranchMinusIcon:im,GitBranchPlus:sm,GitBranchPlusIcon:sm,GitCommit:Io,GitCommitHorizontal:Io,GitCommitHorizontalIcon:Io,GitCommitIcon:Io,GitCommitVertical:cm,GitCommitVerticalIcon:cm,GitCompare:hm,GitCompareArrows:dm,GitCompareArrowsIcon:dm,GitCompareIcon:hm,GitFork:um,GitForkIcon:um,GitGraph:pm,GitGraphIcon:pm,GitMerge:fm,GitMergeConflict:ym,GitMergeConflictIcon:ym,GitMergeIcon:fm,GitPullRequest:xm,GitPullRequestArrow:km,GitPullRequestArrowIcon:km,GitPullRequestClosed:mm,GitPullRequestClosedIcon:mm,GitPullRequestCreate:Mm,GitPullRequestCreateArrow:gm,GitPullRequestCreateArrowIcon:gm,GitPullRequestCreateIcon:Mm,GitPullRequestDraft:bm,GitPullRequestDraftIcon:bm,GitPullRequestIcon:xm,Github:wm,GithubIcon:wm,Gitlab:vm,GitlabIcon:vm,GlassWater:Cm,GlassWaterIcon:Cm,Glasses:Lm,GlassesIcon:Lm,Globe:Ws,Globe2:Kn,Globe2Icon:Kn,GlobeIcon:Ws,GlobeLock:Sm,GlobeLockIcon:Sm,GlobeOff:Im,GlobeOffIcon:Im,GlobeX:_m,GlobeXIcon:_m,Goal:Am,GoalIcon:Am,Gpu:Vm,GpuIcon:Vm,Grab:zo,GrabIcon:zo,GraduationCap:Bm,GraduationCapIcon:Bm,Grape:zm,GrapeIcon:zm,Grid:Vt,Grid2X2:Vo,Grid2X2Check:_o,Grid2X2CheckIcon:_o,Grid2X2Icon:Vo,Grid2X2Plus:Bo,Grid2X2PlusIcon:Bo,Grid2X2X:Ao,Grid2X2XIcon:Ao,Grid2x2:Vo,Grid2x2Check:_o,Grid2x2CheckIcon:_o,Grid2x2Icon:Vo,Grid2x2Plus:Bo,Grid2x2PlusIcon:Bo,Grid2x2X:Ao,Grid2x2XIcon:Ao,Grid3X3:Vt,Grid3X3Icon:Vt,Grid3x2:qm,Grid3x2Icon:qm,Grid3x3:Vt,Grid3x3Icon:Vt,GridIcon:Vt,Grip:Em,GripHorizontal:Pm,GripHorizontalIcon:Pm,GripIcon:Em,GripVertical:Dm,GripVerticalIcon:Dm,Group:Hm,GroupIcon:Hm,Guitar:Tm,GuitarIcon:Tm,Ham:jm,HamIcon:jm,Hamburger:Om,HamburgerIcon:Om,Hammer:Fm,HammerIcon:Fm,Hand:Gm,HandCoins:Rm,HandCoinsIcon:Rm,HandFist:Nm,HandFistIcon:Nm,HandGrab:zo,HandGrabIcon:zo,HandHeart:$m,HandHeartIcon:$m,HandHelping:qo,HandHelpingIcon:qo,HandIcon:Gm,HandMetal:Um,HandMetalIcon:Um,HandPlatter:Wm,HandPlatterIcon:Wm,Handbag:Km,HandbagIcon:Km,Handshake:Xm,HandshakeIcon:Xm,HardDrive:Qm,HardDriveDownload:Zm,HardDriveDownloadIcon:Zm,HardDriveIcon:Qm,HardDriveUpload:Ym,HardDriveUploadIcon:Ym,HardHat:Jm,HardHatIcon:Jm,Hash:e4,HashIcon:e4,HatGlasses:t4,HatGlassesIcon:t4,Haze:a4,HazeIcon:a4,Hd:n4,HdIcon:n4,HdmiPort:o4,HdmiPortIcon:o4,Heading:h4,Heading1:r4,Heading1Icon:r4,Heading2:i4,Heading2Icon:i4,Heading3:s4,Heading3Icon:s4,Heading4:l4,Heading4Icon:l4,Heading5:c4,Heading5Icon:c4,Heading6:d4,Heading6Icon:d4,HeadingIcon:h4,HeadphoneOff:u4,HeadphoneOffIcon:u4,Headphones:p4,HeadphonesIcon:p4,Headset:y4,HeadsetIcon:y4,Heart:x4,HeartCrack:f4,HeartCrackIcon:f4,HeartHandshake:m4,HeartHandshakeIcon:m4,HeartIcon:x4,HeartMinus:k4,HeartMinusIcon:k4,HeartOff:g4,HeartOffIcon:g4,HeartPlus:M4,HeartPlusIcon:M4,HeartPulse:b4,HeartPulseIcon:b4,Heater:w4,HeaterIcon:w4,Helicopter:v4,HelicopterIcon:v4,HelpCircle:_t,HelpCircleIcon:_t,HelpingHand:qo,HelpingHandIcon:qo,Hexagon:C4,HexagonIcon:C4,Highlighter:L4,HighlighterIcon:L4,History:S4,HistoryIcon:S4,Home:Po,HomeIcon:Po,Hop:_4,HopIcon:_4,HopOff:I4,HopOffIcon:I4,Hospital:A4,HospitalIcon:A4,Hotel:B4,HotelIcon:B4,Hourglass:V4,HourglassIcon:V4,House:Po,HouseHeart:z4,HouseHeartIcon:z4,HouseIcon:Po,HousePlug:q4,HousePlugIcon:q4,HousePlus:P4,HousePlusIcon:P4,HouseWifi:D4,HouseWifiIcon:D4,IceCream:Eo,IceCream2:Do,IceCream2Icon:Do,IceCreamBowl:Do,IceCreamBowlIcon:Do,IceCreamCone:Eo,IceCreamConeIcon:Eo,IceCreamIcon:Eo,Icon:T_,IdCard:T4,IdCardIcon:T4,IdCardLanyard:E4,IdCardLanyardIcon:E4,Image:U4,ImageDown:H4,ImageDownIcon:H4,ImageIcon:U4,ImageMinus:j4,ImageMinusIcon:j4,ImageOff:O4,ImageOffIcon:O4,ImagePlay:F4,ImagePlayIcon:F4,ImagePlus:R4,ImagePlusIcon:R4,ImageUp:N4,ImageUpIcon:N4,ImageUpscale:$4,ImageUpscaleIcon:$4,Images:W4,ImagesIcon:W4,Import:K4,ImportIcon:K4,Inbox:G4,InboxIcon:G4,Indent:qt,IndentDecrease:zt,IndentDecreaseIcon:zt,IndentIcon:qt,IndentIncrease:qt,IndentIncreaseIcon:qt,IndianRupee:X4,IndianRupeeIcon:X4,Infinity:Z4,InfinityIcon:Z4,Info:Y4,InfoIcon:Y4,Inspect:ti,InspectIcon:ti,InspectionPanel:Q4,InspectionPanelIcon:Q4,Instagram:J4,InstagramIcon:J4,Italic:e5,ItalicIcon:e5,IterationCcw:t5,IterationCcwIcon:t5,IterationCw:a5,IterationCwIcon:a5,JapaneseYen:n5,JapaneseYenIcon:n5,Joystick:o5,JoystickIcon:o5,Kanban:r5,KanbanIcon:r5,KanbanSquare:Zr,KanbanSquareDashed:Nr,KanbanSquareDashedIcon:Nr,KanbanSquareIcon:Zr,Kayak:i5,KayakIcon:i5,Key:d5,KeyIcon:d5,KeyRound:s5,KeyRoundIcon:s5,KeySquare:l5,KeySquareIcon:l5,Keyboard:u5,KeyboardIcon:u5,KeyboardMusic:c5,KeyboardMusicIcon:c5,KeyboardOff:h5,KeyboardOffIcon:h5,Lamp:g5,LampCeiling:p5,LampCeilingIcon:p5,LampDesk:y5,LampDeskIcon:y5,LampFloor:k5,LampFloorIcon:k5,LampIcon:g5,LampWallDown:f5,LampWallDownIcon:f5,LampWallUp:m5,LampWallUpIcon:m5,LandPlot:M5,LandPlotIcon:M5,Landmark:x5,LandmarkIcon:x5,Languages:b5,LanguagesIcon:b5,Laptop:v5,Laptop2:To,Laptop2Icon:To,LaptopIcon:v5,LaptopMinimal:To,LaptopMinimalCheck:w5,LaptopMinimalCheckIcon:w5,LaptopMinimalIcon:To,Lasso:L5,LassoIcon:L5,LassoSelect:C5,LassoSelectIcon:C5,Laugh:S5,LaughIcon:S5,Layers:Ho,Layers2:I5,Layers2Icon:I5,Layers3:Ho,Layers3Icon:Ho,LayersIcon:Ho,LayersPlus:_5,LayersPlusIcon:_5,Layout:nr,LayoutDashboard:A5,LayoutDashboardIcon:A5,LayoutGrid:B5,LayoutGridIcon:B5,LayoutIcon:nr,LayoutList:V5,LayoutListIcon:V5,LayoutPanelLeft:z5,LayoutPanelLeftIcon:z5,LayoutPanelTop:q5,LayoutPanelTopIcon:q5,LayoutTemplate:P5,LayoutTemplateIcon:P5,Leaf:D5,LeafIcon:D5,LeafyGreen:E5,LeafyGreenIcon:E5,Lectern:T5,LecternIcon:T5,LensConcave:H5,LensConcaveIcon:H5,LensConvex:j5,LensConvexIcon:j5,LetterText:vi,LetterTextIcon:vi,Library:N5,LibraryBig:O5,LibraryBigIcon:O5,LibraryIcon:N5,LibrarySquare:Yr,LibrarySquareIcon:Yr,LifeBuoy:R5,LifeBuoyIcon:R5,Ligature:F5,LigatureIcon:F5,Lightbulb:U5,LightbulbIcon:U5,LightbulbOff:$5,LightbulbOffIcon:$5,LineChart:an,LineChartIcon:an,LineDotRightHorizontal:W5,LineDotRightHorizontalIcon:W5,LineSquiggle:G5,LineSquiggleIcon:G5,Link:Gs,Link2:X5,Link2Icon:X5,Link2Off:K5,Link2OffIcon:K5,LinkIcon:Gs,Linkedin:Z5,LinkedinIcon:Z5,List:fg,ListCheck:Y5,ListCheckIcon:Y5,ListChecks:Q5,ListChecksIcon:Q5,ListChevronsDownUp:eg,ListChevronsDownUpIcon:eg,ListChevronsUpDown:J5,ListChevronsUpDownIcon:J5,ListCollapse:tg,ListCollapseIcon:tg,ListEnd:ag,ListEndIcon:ag,ListFilter:ng,ListFilterIcon:ng,ListFilterPlus:og,ListFilterPlusIcon:og,ListIcon:fg,ListIndentDecrease:zt,ListIndentDecreaseIcon:zt,ListIndentIncrease:qt,ListIndentIncreaseIcon:qt,ListMinus:lg,ListMinusIcon:lg,ListMusic:rg,ListMusicIcon:rg,ListOrdered:ig,ListOrderedIcon:ig,ListPlus:sg,ListPlusIcon:sg,ListRestart:cg,ListRestartIcon:cg,ListStart:dg,ListStartIcon:dg,ListTodo:ug,ListTodoIcon:ug,ListTree:hg,ListTreeIcon:hg,ListVideo:pg,ListVideoIcon:pg,ListX:yg,ListXIcon:yg,Loader:mg,Loader2:kt,Loader2Icon:kt,LoaderCircle:kt,LoaderCircleIcon:kt,LoaderIcon:mg,LoaderPinwheel:kg,LoaderPinwheelIcon:kg,Locate:bg,LocateFixed:gg,LocateFixedIcon:gg,LocateIcon:bg,LocateOff:Mg,LocateOffIcon:Mg,LocationEdit:Ro,LocationEditIcon:Ro,Lock:wg,LockIcon:wg,LockKeyhole:xg,LockKeyholeIcon:xg,LockKeyholeOpen:jo,LockKeyholeOpenIcon:jo,LockOpen:Oo,LockOpenIcon:Oo,LogIn:vg,LogInIcon:vg,LogOut:Cg,LogOutIcon:Cg,Logs:Lg,LogsIcon:Lg,Lollipop:Sg,LollipopIcon:Sg,LucideAArrowDown:J1,LucideAArrowUp:el,LucideALargeSmall:tl,LucideAccessibility:al,LucideActivity:nl,LucideActivitySquare:Mr,LucideAirVent:ol,LucideAirplay:rl,LucideAlarmCheck:za,LucideAlarmClock:sl,LucideAlarmClockCheck:za,LucideAlarmClockMinus:qa,LucideAlarmClockOff:il,LucideAlarmClockPlus:Pa,LucideAlarmMinus:qa,LucideAlarmPlus:Pa,LucideAlarmSmoke:ll,LucideAlbum:dl,LucideAlertCircle:It,LucideAlertOctagon:Wo,LucideAlertTriangle:Ai,LucideAlignCenter:wi,LucideAlignCenterHorizontal:cl,LucideAlignCenterVertical:hl,LucideAlignEndHorizontal:ul,LucideAlignEndVertical:pl,LucideAlignHorizontalDistributeCenter:yl,LucideAlignHorizontalDistributeEnd:fl,LucideAlignHorizontalDistributeStart:kl,LucideAlignHorizontalJustifyCenter:ml,LucideAlignHorizontalJustifyEnd:gl,LucideAlignHorizontalJustifyStart:Ml,LucideAlignHorizontalSpaceAround:bl,LucideAlignHorizontalSpaceBetween:xl,LucideAlignJustify:xi,LucideAlignLeft:Dt,LucideAlignRight:bi,LucideAlignStartHorizontal:wl,LucideAlignStartVertical:vl,LucideAlignVerticalDistributeCenter:Cl,LucideAlignVerticalDistributeEnd:Ll,LucideAlignVerticalDistributeStart:Sl,LucideAlignVerticalJustifyCenter:Il,LucideAlignVerticalJustifyEnd:_l,LucideAlignVerticalJustifyStart:Al,LucideAlignVerticalSpaceAround:Bl,LucideAlignVerticalSpaceBetween:Vl,LucideAmbulance:zl,LucideAmpersand:ql,LucideAmpersands:Pl,LucideAmphora:El,LucideAnchor:Dl,LucideAngry:Tl,LucideAnnoyed:Hl,LucideAntenna:jl,LucideAnvil:Ol,LucideAperture:Fl,LucideAppWindow:Nl,LucideAppWindowMac:Rl,LucideApple:$l,LucideArchive:Gl,LucideArchiveRestore:Ul,LucideArchiveX:Wl,LucideAreaChart:Xa,LucideArmchair:Kl,LucideArrowBigDown:Zl,LucideArrowBigDownDash:Xl,LucideArrowBigLeft:Ql,LucideArrowBigLeftDash:Yl,LucideArrowBigRight:ec,LucideArrowBigRightDash:Jl,LucideArrowBigUp:tc,LucideArrowBigUpDash:ac,LucideArrowDown:uc,LucideArrowDown01:oc,LucideArrowDown10:nc,LucideArrowDownAZ:Da,LucideArrowDownAz:Da,LucideArrowDownCircle:un,LucideArrowDownFromLine:rc,LucideArrowDownLeft:ic,LucideArrowDownLeftFromCircle:yn,LucideArrowDownLeftFromSquare:Cr,LucideArrowDownLeftSquare:br,LucideArrowDownNarrowWide:lc,LucideArrowDownRight:sc,LucideArrowDownRightFromCircle:fn,LucideArrowDownRightFromSquare:Lr,LucideArrowDownRightSquare:xr,LucideArrowDownSquare:wr,LucideArrowDownToDot:cc,LucideArrowDownToLine:dc,LucideArrowDownUp:hc,LucideArrowDownWideNarrow:Ea,LucideArrowDownZA:Ta,LucideArrowDownZa:Ta,LucideArrowLeft:kc,LucideArrowLeftCircle:pn,LucideArrowLeftFromLine:pc,LucideArrowLeftRight:fc,LucideArrowLeftSquare:vr,LucideArrowLeftToLine:yc,LucideArrowRight:Ts,LucideArrowRightCircle:gn,LucideArrowRightFromLine:mc,LucideArrowRightLeft:gc,LucideArrowRightSquare:_r,LucideArrowRightToLine:Mc,LucideArrowUp:Bc,LucideArrowUp01:bc,LucideArrowUp10:xc,LucideArrowUpAZ:Ha,LucideArrowUpAz:Ha,LucideArrowUpCircle:Mn,LucideArrowUpDown:wc,LucideArrowUpFromDot:vc,LucideArrowUpFromLine:Cc,LucideArrowUpLeft:Lc,LucideArrowUpLeftFromCircle:kn,LucideArrowUpLeftFromSquare:Sr,LucideArrowUpLeftSquare:Br,LucideArrowUpNarrowWide:ja,LucideArrowUpRight:Sc,LucideArrowUpRightFromCircle:mn,LucideArrowUpRightFromSquare:Ir,LucideArrowUpRightSquare:Ar,LucideArrowUpSquare:Vr,LucideArrowUpToLine:Ic,LucideArrowUpWideNarrow:_c,LucideArrowUpZA:Oa,LucideArrowUpZa:Oa,LucideArrowsUpFromLine:Ac,LucideAsterisk:Vc,LucideAsteriskSquare:zr,LucideAtSign:zc,LucideAtom:qc,LucideAudioLines:Pc,LucideAudioWaveform:Dc,LucideAward:Ec,LucideAxe:Tc,LucideAxis3D:Fa,LucideAxis3d:Fa,LucideBaby:jc,LucideBackpack:Hc,LucideBadge:td,LucideBadgeAlert:Oc,LucideBadgeCent:Fc,LucideBadgeCheck:Ra,LucideBadgeDollarSign:Rc,LucideBadgeEuro:Nc,LucideBadgeHelp:Na,LucideBadgeIndianRupee:$c,LucideBadgeInfo:Uc,LucideBadgeJapaneseYen:Wc,LucideBadgeMinus:Gc,LucideBadgePercent:Kc,LucideBadgePlus:Xc,LucideBadgePoundSterling:Zc,LucideBadgeQuestionMark:Na,LucideBadgeRussianRuble:Yc,LucideBadgeSwissFranc:Qc,LucideBadgeTurkishLira:Jc,LucideBadgeX:ed,LucideBaggageClaim:ad,LucideBalloon:nd,LucideBan:rd,LucideBanana:od,LucideBandage:id,LucideBanknote:ud,LucideBanknoteArrowDown:sd,LucideBanknoteArrowUp:ld,LucideBanknoteX:cd,LucideBarChart:nn,LucideBarChart2:on,LucideBarChart3:tn,LucideBarChart4:en,LucideBarChartBig:Ja,LucideBarChartHorizontal:Qa,LucideBarChartHorizontalBig:Za,LucideBarcode:dd,LucideBarrel:hd,LucideBaseline:pd,LucideBath:yd,LucideBattery:xd,LucideBatteryCharging:fd,LucideBatteryFull:kd,LucideBatteryLow:md,LucideBatteryMedium:Md,LucideBatteryPlus:gd,LucideBatteryWarning:bd,LucideBeaker:wd,LucideBean:Cd,LucideBeanOff:vd,LucideBed:Id,LucideBedDouble:Ld,LucideBedSingle:Sd,LucideBeef:_d,LucideBeer:Bd,LucideBeerOff:Ad,LucideBell:Ed,LucideBellDot:Vd,LucideBellElectric:zd,LucideBellMinus:qd,LucideBellOff:Pd,LucideBellPlus:Dd,LucideBellRing:Td,LucideBetweenHorizonalEnd:$a,LucideBetweenHorizonalStart:Ua,LucideBetweenHorizontalEnd:$a,LucideBetweenHorizontalStart:Ua,LucideBetweenVerticalEnd:Hd,LucideBetweenVerticalStart:jd,LucideBicepsFlexed:Od,LucideBike:Fd,LucideBinary:Rd,LucideBinoculars:$d,LucideBiohazard:Nd,LucideBird:Ud,LucideBirdhouse:Wd,LucideBitcoin:Gd,LucideBlend:Kd,LucideBlinds:Xd,LucideBlocks:Yd,LucideBluetooth:e0,LucideBluetoothConnected:Zd,LucideBluetoothOff:Qd,LucideBluetoothSearching:Jd,LucideBold:t0,LucideBolt:a0,LucideBomb:n0,LucideBone:o0,LucideBook:A0,LucideBookA:r0,LucideBookAlert:i0,LucideBookAudio:s0,LucideBookCheck:c0,LucideBookCopy:l0,LucideBookDashed:Wa,LucideBookDown:d0,LucideBookHeadphones:h0,LucideBookHeart:u0,LucideBookImage:p0,LucideBookKey:y0,LucideBookLock:f0,LucideBookMarked:k0,LucideBookMinus:m0,LucideBookOpen:b0,LucideBookOpenCheck:g0,LucideBookOpenText:M0,LucideBookPlus:x0,LucideBookSearch:w0,LucideBookTemplate:Wa,LucideBookText:v0,LucideBookType:C0,LucideBookUp:L0,LucideBookUp2:S0,LucideBookUser:I0,LucideBookX:_0,LucideBookmark:P0,LucideBookmarkCheck:B0,LucideBookmarkMinus:V0,LucideBookmarkPlus:z0,LucideBookmarkX:q0,LucideBoomBox:E0,LucideBot:H0,LucideBotMessageSquare:D0,LucideBotOff:T0,LucideBottleWine:O0,LucideBowArrow:j0,LucideBox:F0,LucideBoxSelect:Ur,LucideBoxes:R0,LucideBraces:Ga,LucideBrackets:N0,LucideBrain:W0,LucideBrainCircuit:U0,LucideBrainCog:$0,LucideBrickWall:K0,LucideBrickWallFire:G0,LucideBrickWallShield:X0,LucideBriefcase:Q0,LucideBriefcaseBusiness:Z0,LucideBriefcaseConveyorBelt:Y0,LucideBriefcaseMedical:J0,LucideBringToFront:e2,LucideBrush:a2,LucideBrushCleaning:t2,LucideBubbles:n2,LucideBug:i2,LucideBugOff:o2,LucideBugPlay:r2,LucideBuilding:l2,LucideBuilding2:s2,LucideBus:d2,LucideBusFront:c2,LucideCable:u2,LucideCableCar:h2,LucideCake:y2,LucideCakeSlice:p2,LucideCalculator:f2,LucideCalendar:Hs,LucideCalendar1:k2,LucideCalendarArrowDown:M2,LucideCalendarArrowUp:m2,LucideCalendarCheck:b2,LucideCalendarCheck2:g2,LucideCalendarClock:x2,LucideCalendarCog:v2,LucideCalendarDays:w2,LucideCalendarFold:C2,LucideCalendarHeart:L2,LucideCalendarMinus:I2,LucideCalendarMinus2:S2,LucideCalendarOff:_2,LucideCalendarPlus:B2,LucideCalendarPlus2:A2,LucideCalendarRange:V2,LucideCalendarSearch:z2,LucideCalendarSync:q2,LucideCalendarX:D2,LucideCalendarX2:P2,LucideCalendars:E2,LucideCamera:H2,LucideCameraOff:T2,LucideCandlestickChart:Ya,LucideCandy:F2,LucideCandyCane:j2,LucideCandyOff:O2,LucideCannabis:N2,LucideCannabisOff:R2,LucideCaptions:Ka,LucideCaptionsOff:$2,LucideCar:G2,LucideCarFront:U2,LucideCarTaxiFront:W2,LucideCaravan:K2,LucideCardSim:X2,LucideCarrot:Z2,LucideCaseLower:Y2,LucideCaseSensitive:Q2,LucideCaseUpper:J2,LucideCassetteTape:eh,LucideCast:th,LucideCastle:ah,LucideCat:nh,LucideCctv:oh,LucideChartArea:Xa,LucideChartBar:Qa,LucideChartBarBig:Za,LucideChartBarDecreasing:ih,LucideChartBarIncreasing:rh,LucideChartBarStacked:sh,LucideChartCandlestick:Ya,LucideChartColumn:tn,LucideChartColumnBig:Ja,LucideChartColumnDecreasing:lh,LucideChartColumnIncreasing:en,LucideChartColumnStacked:ch,LucideChartGantt:dh,LucideChartLine:an,LucideChartNetwork:hh,LucideChartNoAxesColumn:on,LucideChartNoAxesColumnDecreasing:uh,LucideChartNoAxesColumnIncreasing:nn,LucideChartNoAxesCombined:ph,LucideChartNoAxesGantt:sn,LucideChartPie:rn,LucideChartScatter:ln,LucideChartSpline:fh,LucideCheck:sa,LucideCheckCheck:yh,LucideCheckCircle:la,LucideCheckCircle2:bn,LucideCheckLine:kh,LucideCheckSquare:Er,LucideCheckSquare2:Tr,LucideChefHat:mh,LucideCherry:gh,LucideChessBishop:Mh,LucideChessKing:bh,LucideChessKnight:xh,LucideChessPawn:wh,LucideChessQueen:vh,LucideChessRook:Ch,LucideChevronDown:St,LucideChevronDownCircle:wn,LucideChevronDownSquare:Hr,LucideChevronFirst:Lh,LucideChevronLast:Sh,LucideChevronLeft:cn,LucideChevronLeftCircle:vn,LucideChevronLeftSquare:jr,LucideChevronRight:dn,LucideChevronRightCircle:xn,LucideChevronRightSquare:Or,LucideChevronUp:js,LucideChevronUpCircle:Cn,LucideChevronUpSquare:Fr,LucideChevronsDown:_h,LucideChevronsDownUp:Ih,LucideChevronsLeft:Os,LucideChevronsLeftRight:Bh,LucideChevronsLeftRightEllipsis:Ah,LucideChevronsRight:Fs,LucideChevronsRightLeft:Vh,LucideChevronsUp:qh,LucideChevronsUpDown:zh,LucideChrome:hn,LucideChromium:hn,LucideChurch:Dh,LucideCigarette:Eh,LucideCigaretteOff:Ph,LucideCircle:Rs,LucideCircleAlert:It,LucideCircleArrowDown:un,LucideCircleArrowLeft:pn,LucideCircleArrowOutDownLeft:yn,LucideCircleArrowOutDownRight:fn,LucideCircleArrowOutUpLeft:kn,LucideCircleArrowOutUpRight:mn,LucideCircleArrowRight:gn,LucideCircleArrowUp:Mn,LucideCircleCheck:bn,LucideCircleCheckBig:la,LucideCircleChevronDown:wn,LucideCircleChevronLeft:vn,LucideCircleChevronRight:xn,LucideCircleChevronUp:Cn,LucideCircleDashed:Th,LucideCircleDivide:Ln,LucideCircleDollarSign:Hh,LucideCircleDot:Oh,LucideCircleDotDashed:jh,LucideCircleEllipsis:Rh,LucideCircleEqual:Fh,LucideCircleFadingArrowUp:Nh,LucideCircleFadingPlus:$h,LucideCircleGauge:Sn,LucideCircleHelp:_t,LucideCircleMinus:In,LucideCircleOff:Uh,LucideCircleParking:An,LucideCircleParkingOff:_n,LucideCirclePause:Bn,LucideCirclePercent:Vn,LucideCirclePile:Wh,LucideCirclePlay:zn,LucideCirclePlus:qn,LucideCirclePoundSterling:Gh,LucideCirclePower:Pn,LucideCircleQuestionMark:_t,LucideCircleSlash:Kh,LucideCircleSlash2:Dn,LucideCircleSlashed:Dn,LucideCircleSmall:Xh,LucideCircleStar:Zh,LucideCircleStop:En,LucideCircleUser:Hn,LucideCircleUserRound:Tn,LucideCircleX:jn,LucideCircuitBoard:Yh,LucideCitrus:Qh,LucideClapperboard:Jh,LucideClipboard:cu,LucideClipboardCheck:tu,LucideClipboardClock:eu,LucideClipboardCopy:au,LucideClipboardEdit:Fn,LucideClipboardList:nu,LucideClipboardMinus:ou,LucideClipboardPaste:ru,LucideClipboardPen:Fn,LucideClipboardPenLine:On,LucideClipboardPlus:iu,LucideClipboardSignature:On,LucideClipboardType:su,LucideClipboardX:lu,LucideClock:Ns,LucideClock1:du,LucideClock10:hu,LucideClock11:uu,LucideClock12:pu,LucideClock2:yu,LucideClock3:fu,LucideClock4:ku,LucideClock5:mu,LucideClock6:gu,LucideClock7:Mu,LucideClock8:bu,LucideClock9:xu,LucideClockAlert:wu,LucideClockArrowDown:vu,LucideClockArrowUp:Cu,LucideClockCheck:Lu,LucideClockFading:Su,LucideClockPlus:Iu,LucideClosedCaption:_u,LucideCloud:Wu,LucideCloudAlert:Au,LucideCloudBackup:Bu,LucideCloudCheck:Vu,LucideCloudCog:zu,LucideCloudDownload:Rn,LucideCloudDrizzle:qu,LucideCloudFog:Pu,LucideCloudHail:Du,LucideCloudLightning:Eu,LucideCloudMoon:Hu,LucideCloudMoonRain:Tu,LucideCloudOff:ju,LucideCloudRain:Fu,LucideCloudRainWind:Ou,LucideCloudSnow:Ru,LucideCloudSun:$u,LucideCloudSunRain:Nu,LucideCloudSync:Uu,LucideCloudUpload:ca,LucideCloudy:Gu,LucideClover:Ku,LucideClub:Xu,LucideCode:Zu,LucideCode2:Nn,LucideCodeSquare:Rr,LucideCodeXml:Nn,LucideCodepen:Yu,LucideCodesandbox:Qu,LucideCoffee:Ju,LucideCog:ep,LucideCoins:tp,LucideColumns:$n,LucideColumns2:$n,LucideColumns3:Un,LucideColumns3Cog:At,LucideColumns4:ap,LucideColumnsSettings:At,LucideCombine:np,LucideCommand:op,LucideCompass:rp,LucideComponent:ip,LucideComputer:sp,LucideConciergeBell:lp,LucideCone:cp,LucideConstruction:dp,LucideContact:hp,LucideContact2:Wn,LucideContactRound:Wn,LucideContainer:up,LucideContrast:pp,LucideCookie:fp,LucideCookingPot:yp,LucideCopy:xp,LucideCopyCheck:kp,LucideCopyMinus:mp,LucideCopyPlus:gp,LucideCopySlash:bp,LucideCopyX:Mp,LucideCopyleft:wp,LucideCopyright:vp,LucideCornerDownLeft:Cp,LucideCornerDownRight:Sp,LucideCornerLeftDown:Lp,LucideCornerLeftUp:Ip,LucideCornerRightDown:_p,LucideCornerRightUp:Ap,LucideCornerUpLeft:Bp,LucideCornerUpRight:Vp,LucideCpu:ls,LucideCreativeCommons:zp,LucideCreditCard:qp,LucideCroissant:Pp,LucideCrop:Dp,LucideCross:Ep,LucideCrosshair:Hp,LucideCrown:Tp,LucideCuboid:jp,LucideCupSoda:Op,LucideCurlyBraces:Ga,LucideCurrency:Fp,LucideCylinder:Rp,LucideDam:Np,LucideDatabase:Gp,LucideDatabaseBackup:$p,LucideDatabaseSearch:Up,LucideDatabaseZap:Wp,LucideDecimalsArrowLeft:Kp,LucideDecimalsArrowRight:Xp,LucideDelete:Zp,LucideDessert:Yp,LucideDiameter:Qp,LucideDiamond:ty,LucideDiamondMinus:Jp,LucideDiamondPercent:Gn,LucideDiamondPlus:ey,LucideDice1:ay,LucideDice2:ny,LucideDice3:oy,LucideDice4:ry,LucideDice5:iy,LucideDice6:sy,LucideDices:ly,LucideDiff:cy,LucideDisc:py,LucideDisc2:dy,LucideDisc3:hy,LucideDiscAlbum:uy,LucideDivide:yy,LucideDivideCircle:Ln,LucideDivideSquare:Gr,LucideDna:ky,LucideDnaOff:fy,LucideDock:my,LucideDog:My,LucideDollarSign:gy,LucideDonut:xy,LucideDoorClosed:wy,LucideDoorClosedLocked:by,LucideDoorOpen:vy,LucideDot:Cy,LucideDotSquare:Wr,LucideDownload:$s,LucideDownloadCloud:Rn,LucideDraftingCompass:Ly,LucideDrama:Iy,LucideDribbble:Sy,LucideDrill:_y,LucideDrone:Ay,LucideDroplet:Vy,LucideDropletOff:By,LucideDroplets:zy,LucideDrum:qy,LucideDrumstick:Py,LucideDumbbell:Dy,LucideEar:Ty,LucideEarOff:Ey,LucideEarth:Kn,LucideEarthLock:Hy,LucideEclipse:jy,LucideEdit:Xe,LucideEdit2:rr,LucideEdit3:or,LucideEgg:Fy,LucideEggFried:Oy,LucideEggOff:Ry,LucideEllipsis:da,LucideEllipsisVertical:Xn,LucideEqual:Uy,LucideEqualApproximately:$y,LucideEqualNot:Ny,LucideEqualSquare:Kr,LucideEraser:Wy,LucideEthernetPort:Gy,LucideEuro:Ky,LucideEvCharger:Xy,LucideExpand:Zy,LucideExternalLink:Yy,LucideEye:cs,LucideEyeClosed:Qy,LucideEyeOff:Us,LucideFacebook:Jy,LucideFactory:ef,LucideFan:tf,LucideFastForward:af,LucideFeather:nf,LucideFence:of,LucideFerrisWheel:rf,LucideFigma:sf,LucideFile:Df,LucideFileArchive:lf,LucideFileAudio:Bt,LucideFileAudio2:Bt,LucideFileAxis3D:Zn,LucideFileAxis3d:Zn,LucideFileBadge:Yn,LucideFileBadge2:Yn,LucideFileBarChart:eo,LucideFileBarChart2:to,LucideFileBox:cf,LucideFileBraces:Jn,LucideFileBracesCorner:Qn,LucideFileChartColumn:to,LucideFileChartColumnIncreasing:eo,LucideFileChartLine:ao,LucideFileChartPie:no,LucideFileCheck:df,LucideFileCheck2:oo,LucideFileCheckCorner:oo,LucideFileClock:hf,LucideFileCode:uf,LucideFileCode2:ro,LucideFileCodeCorner:ro,LucideFileCog:io,LucideFileCog2:io,LucideFileDiff:pf,LucideFileDigit:ff,LucideFileDown:yf,LucideFileEdit:yo,LucideFileExclamationPoint:so,LucideFileHeadphone:Bt,LucideFileHeart:kf,LucideFileImage:mf,LucideFileInput:gf,LucideFileJson:Jn,LucideFileJson2:Qn,LucideFileKey:lo,LucideFileKey2:lo,LucideFileLineChart:ao,LucideFileLock:co,LucideFileLock2:co,LucideFileMinus:bf,LucideFileMinus2:ho,LucideFileMinusCorner:ho,LucideFileMusic:Mf,LucideFileOutput:xf,LucideFilePen:yo,LucideFilePenLine:uo,LucideFilePieChart:no,LucideFilePlay:po,LucideFilePlus:wf,LucideFilePlus2:fo,LucideFilePlusCorner:fo,LucideFileQuestion:ko,LucideFileQuestionMark:ko,LucideFileScan:vf,LucideFileSearch:Cf,LucideFileSearch2:mo,LucideFileSearchCorner:mo,LucideFileSignal:go,LucideFileSignature:uo,LucideFileSliders:Lf,LucideFileSpreadsheet:Sf,LucideFileStack:If,LucideFileSymlink:_f,LucideFileTerminal:Af,LucideFileText:ds,LucideFileType:Bf,LucideFileType2:Mo,LucideFileTypeCorner:Mo,LucideFileUp:Vf,LucideFileUser:zf,LucideFileVideo:po,LucideFileVideo2:bo,LucideFileVideoCamera:bo,LucideFileVolume:qf,LucideFileVolume2:go,LucideFileWarning:so,LucideFileX:Pf,LucideFileX2:xo,LucideFileXCorner:xo,LucideFiles:Tf,LucideFilm:Ef,LucideFilter:So,LucideFilterX:Lo,LucideFingerprint:wo,LucideFingerprintPattern:wo,LucideFireExtinguisher:Hf,LucideFish:Ff,LucideFishOff:jf,LucideFishSymbol:Of,LucideFishingHook:Rf,LucideFlag:Wf,LucideFlagOff:Nf,LucideFlagTriangleLeft:$f,LucideFlagTriangleRight:Uf,LucideFlame:Kf,LucideFlameKindling:Gf,LucideFlashlight:Zf,LucideFlashlightOff:Xf,LucideFlaskConical:Qf,LucideFlaskConicalOff:Yf,LucideFlaskRound:Jf,LucideFlipHorizontal:Pr,LucideFlipHorizontal2:ek,LucideFlipVertical:Dr,LucideFlipVertical2:tk,LucideFlower:nk,LucideFlower2:ak,LucideFocus:ok,LucideFoldHorizontal:rk,LucideFoldVertical:ik,LucideFolder:Pk,LucideFolderArchive:sk,LucideFolderCheck:lk,LucideFolderClock:ck,LucideFolderClosed:dk,LucideFolderCode:hk,LucideFolderCog:vo,LucideFolderCog2:vo,LucideFolderDot:uk,LucideFolderDown:pk,LucideFolderEdit:Co,LucideFolderGit:fk,LucideFolderGit2:yk,LucideFolderHeart:kk,LucideFolderInput:mk,LucideFolderKanban:Mk,LucideFolderKey:gk,LucideFolderLock:bk,LucideFolderMinus:vk,LucideFolderOpen:wk,LucideFolderOpenDot:xk,LucideFolderOutput:Ck,LucideFolderPen:Co,LucideFolderPlus:Ik,LucideFolderRoot:Lk,LucideFolderSearch:_k,LucideFolderSearch2:Sk,LucideFolderSymlink:Bk,LucideFolderSync:Ak,LucideFolderTree:Vk,LucideFolderUp:zk,LucideFolderX:qk,LucideFolders:Dk,LucideFootprints:Ek,LucideForkKnife:Oi,LucideForkKnifeCrossed:ji,LucideForklift:Tk,LucideForm:Hk,LucideFormInput:lr,LucideForward:Ok,LucideFrame:jk,LucideFramer:Fk,LucideFrown:Rk,LucideFuel:Nk,LucideFullscreen:$k,LucideFunctionSquare:Xr,LucideFunnel:So,LucideFunnelPlus:Uk,LucideFunnelX:Lo,LucideGalleryHorizontal:Gk,LucideGalleryHorizontalEnd:Wk,LucideGalleryThumbnails:Kk,LucideGalleryVertical:Zk,LucideGalleryVerticalEnd:Xk,LucideGamepad:em,LucideGamepad2:Yk,LucideGamepadDirectional:Qk,LucideGanttChart:sn,LucideGanttChartSquare:Pt,LucideGauge:Jk,LucideGaugeCircle:Sn,LucideGavel:tm,LucideGem:am,LucideGeorgianLari:nm,LucideGhost:om,LucideGift:rm,LucideGitBranch:lm,LucideGitBranchMinus:im,LucideGitBranchPlus:sm,LucideGitCommit:Io,LucideGitCommitHorizontal:Io,LucideGitCommitVertical:cm,LucideGitCompare:hm,LucideGitCompareArrows:dm,LucideGitFork:um,LucideGitGraph:pm,LucideGitMerge:fm,LucideGitMergeConflict:ym,LucideGitPullRequest:xm,LucideGitPullRequestArrow:km,LucideGitPullRequestClosed:mm,LucideGitPullRequestCreate:Mm,LucideGitPullRequestCreateArrow:gm,LucideGitPullRequestDraft:bm,LucideGithub:wm,LucideGitlab:vm,LucideGlassWater:Cm,LucideGlasses:Lm,LucideGlobe:Ws,LucideGlobe2:Kn,LucideGlobeLock:Sm,LucideGlobeOff:Im,LucideGlobeX:_m,LucideGoal:Am,LucideGpu:Vm,LucideGrab:zo,LucideGraduationCap:Bm,LucideGrape:zm,LucideGrid:Vt,LucideGrid2X2:Vo,LucideGrid2X2Check:_o,LucideGrid2X2Plus:Bo,LucideGrid2X2X:Ao,LucideGrid2x2:Vo,LucideGrid2x2Check:_o,LucideGrid2x2Plus:Bo,LucideGrid2x2X:Ao,LucideGrid3X3:Vt,LucideGrid3x2:qm,LucideGrid3x3:Vt,LucideGrip:Em,LucideGripHorizontal:Pm,LucideGripVertical:Dm,LucideGroup:Hm,LucideGuitar:Tm,LucideHam:jm,LucideHamburger:Om,LucideHammer:Fm,LucideHand:Gm,LucideHandCoins:Rm,LucideHandFist:Nm,LucideHandGrab:zo,LucideHandHeart:$m,LucideHandHelping:qo,LucideHandMetal:Um,LucideHandPlatter:Wm,LucideHandbag:Km,LucideHandshake:Xm,LucideHardDrive:Qm,LucideHardDriveDownload:Zm,LucideHardDriveUpload:Ym,LucideHardHat:Jm,LucideHash:e4,LucideHatGlasses:t4,LucideHaze:a4,LucideHd:n4,LucideHdmiPort:o4,LucideHeading:h4,LucideHeading1:r4,LucideHeading2:i4,LucideHeading3:s4,LucideHeading4:l4,LucideHeading5:c4,LucideHeading6:d4,LucideHeadphoneOff:u4,LucideHeadphones:p4,LucideHeadset:y4,LucideHeart:x4,LucideHeartCrack:f4,LucideHeartHandshake:m4,LucideHeartMinus:k4,LucideHeartOff:g4,LucideHeartPlus:M4,LucideHeartPulse:b4,LucideHeater:w4,LucideHelicopter:v4,LucideHelpCircle:_t,LucideHelpingHand:qo,LucideHexagon:C4,LucideHighlighter:L4,LucideHistory:S4,LucideHome:Po,LucideHop:_4,LucideHopOff:I4,LucideHospital:A4,LucideHotel:B4,LucideHourglass:V4,LucideHouse:Po,LucideHouseHeart:z4,LucideHousePlug:q4,LucideHousePlus:P4,LucideHouseWifi:D4,LucideIceCream:Eo,LucideIceCream2:Do,LucideIceCreamBowl:Do,LucideIceCreamCone:Eo,LucideIdCard:T4,LucideIdCardLanyard:E4,LucideImage:U4,LucideImageDown:H4,LucideImageMinus:j4,LucideImageOff:O4,LucideImagePlay:F4,LucideImagePlus:R4,LucideImageUp:N4,LucideImageUpscale:$4,LucideImages:W4,LucideImport:K4,LucideInbox:G4,LucideIndent:qt,LucideIndentDecrease:zt,LucideIndentIncrease:qt,LucideIndianRupee:X4,LucideInfinity:Z4,LucideInfo:Y4,LucideInspect:ti,LucideInspectionPanel:Q4,LucideInstagram:J4,LucideItalic:e5,LucideIterationCcw:t5,LucideIterationCw:a5,LucideJapaneseYen:n5,LucideJoystick:o5,LucideKanban:r5,LucideKanbanSquare:Zr,LucideKanbanSquareDashed:Nr,LucideKayak:i5,LucideKey:d5,LucideKeyRound:s5,LucideKeySquare:l5,LucideKeyboard:u5,LucideKeyboardMusic:c5,LucideKeyboardOff:h5,LucideLamp:g5,LucideLampCeiling:p5,LucideLampDesk:y5,LucideLampFloor:k5,LucideLampWallDown:f5,LucideLampWallUp:m5,LucideLandPlot:M5,LucideLandmark:x5,LucideLanguages:b5,LucideLaptop:v5,LucideLaptop2:To,LucideLaptopMinimal:To,LucideLaptopMinimalCheck:w5,LucideLasso:L5,LucideLassoSelect:C5,LucideLaugh:S5,LucideLayers:Ho,LucideLayers2:I5,LucideLayers3:Ho,LucideLayersPlus:_5,LucideLayout:nr,LucideLayoutDashboard:A5,LucideLayoutGrid:B5,LucideLayoutList:V5,LucideLayoutPanelLeft:z5,LucideLayoutPanelTop:q5,LucideLayoutTemplate:P5,LucideLeaf:D5,LucideLeafyGreen:E5,LucideLectern:T5,LucideLensConcave:H5,LucideLensConvex:j5,LucideLetterText:vi,LucideLibrary:N5,LucideLibraryBig:O5,LucideLibrarySquare:Yr,LucideLifeBuoy:R5,LucideLigature:F5,LucideLightbulb:U5,LucideLightbulbOff:$5,LucideLineChart:an,LucideLineDotRightHorizontal:W5,LucideLineSquiggle:G5,LucideLink:Gs,LucideLink2:X5,LucideLink2Off:K5,LucideLinkedin:Z5,LucideList:fg,LucideListCheck:Y5,LucideListChecks:Q5,LucideListChevronsDownUp:eg,LucideListChevronsUpDown:J5,LucideListCollapse:tg,LucideListEnd:ag,LucideListFilter:ng,LucideListFilterPlus:og,LucideListIndentDecrease:zt,LucideListIndentIncrease:qt,LucideListMinus:lg,LucideListMusic:rg,LucideListOrdered:ig,LucideListPlus:sg,LucideListRestart:cg,LucideListStart:dg,LucideListTodo:ug,LucideListTree:hg,LucideListVideo:pg,LucideListX:yg,LucideLoader:mg,LucideLoader2:kt,LucideLoaderCircle:kt,LucideLoaderPinwheel:kg,LucideLocate:bg,LucideLocateFixed:gg,LucideLocateOff:Mg,LucideLocationEdit:Ro,LucideLock:wg,LucideLockKeyhole:xg,LucideLockKeyholeOpen:jo,LucideLockOpen:Oo,LucideLogIn:vg,LucideLogOut:Cg,LucideLogs:Lg,LucideLollipop:Sg,LucideLuggage:Ig,LucideMSquare:Qr,LucideMagnet:_g,LucideMail:Eg,LucideMailCheck:Ag,LucideMailMinus:Vg,LucideMailOpen:Bg,LucideMailPlus:zg,LucideMailQuestion:Fo,LucideMailQuestionMark:Fo,LucideMailSearch:qg,LucideMailWarning:Dg,LucideMailX:Pg,LucideMailbox:jg,LucideMails:Tg,LucideMap:Qg,LucideMapMinus:Hg,LucideMapPin:Ks,LucideMapPinCheck:Og,LucideMapPinCheckInside:Fg,LucideMapPinHouse:Rg,LucideMapPinMinus:$g,LucideMapPinMinusInside:Ng,LucideMapPinOff:Ug,LucideMapPinPen:Ro,LucideMapPinPlus:Gg,LucideMapPinPlusInside:Wg,LucideMapPinX:Kg,LucideMapPinXInside:Xg,LucideMapPinned:Zg,LucideMapPlus:Yg,LucideMars:t3,LucideMarsStroke:Jg,LucideMartini:e3,LucideMaximize:n3,LucideMaximize2:a3,LucideMedal:o3,LucideMegaphone:i3,LucideMegaphoneOff:r3,LucideMeh:s3,LucideMemoryStick:l3,LucideMenu:c3,LucideMenuSquare:Jr,LucideMerge:d3,LucideMessageCircle:x3,LucideMessageCircleCheck:h3,LucideMessageCircleCode:u3,LucideMessageCircleDashed:p3,LucideMessageCircleHeart:y3,LucideMessageCircleMore:k3,LucideMessageCircleOff:f3,LucideMessageCirclePlus:m3,LucideMessageCircleQuestion:No,LucideMessageCircleQuestionMark:No,LucideMessageCircleReply:g3,LucideMessageCircleWarning:M3,LucideMessageCircleX:b3,LucideMessageSquare:hs,LucideMessageSquareCheck:w3,LucideMessageSquareCode:v3,LucideMessageSquareDashed:C3,LucideMessageSquareDiff:L3,LucideMessageSquareDot:S3,LucideMessageSquareHeart:I3,LucideMessageSquareLock:_3,LucideMessageSquareMore:A3,LucideMessageSquareOff:B3,LucideMessageSquarePlus:V3,LucideMessageSquareQuote:z3,LucideMessageSquareReply:q3,LucideMessageSquareShare:P3,LucideMessageSquareText:E3,LucideMessageSquareWarning:D3,LucideMessageSquareX:T3,LucideMessagesSquare:H3,LucideMetronome:j3,LucideMic:F3,LucideMic2:$o,LucideMicOff:O3,LucideMicVocal:$o,LucideMicrochip:R3,LucideMicroscope:N3,LucideMicrowave:$3,LucideMilestone:U3,LucideMilk:G3,LucideMilkOff:W3,LucideMinimize:K3,LucideMinimize2:X3,LucideMinus:Xs,LucideMinusCircle:In,LucideMinusSquare:ei,LucideMirrorRectangular:Z3,LucideMirrorRound:Y3,LucideMonitor:h8,LucideMonitorCheck:Q3,LucideMonitorCloud:J3,LucideMonitorCog:e8,LucideMonitorDot:t8,LucideMonitorDown:a8,LucideMonitorOff:n8,LucideMonitorPause:o8,LucideMonitorPlay:r8,LucideMonitorSmartphone:i8,LucideMonitorSpeaker:s8,LucideMonitorStop:l8,LucideMonitorUp:c8,LucideMonitorX:d8,LucideMoon:p8,LucideMoonStar:u8,LucideMoreHorizontal:da,LucideMoreVertical:Xn,LucideMotorbike:y8,LucideMountain:k8,LucideMountainSnow:f8,LucideMouse:L8,LucideMouseLeft:m8,LucideMouseOff:g8,LucideMousePointer:v8,LucideMousePointer2:b8,LucideMousePointer2Off:M8,LucideMousePointerBan:x8,LucideMousePointerClick:w8,LucideMousePointerSquareDashed:$r,LucideMouseRight:C8,LucideMove:H8,LucideMove3D:Uo,LucideMove3d:Uo,LucideMoveDiagonal:I8,LucideMoveDiagonal2:S8,LucideMoveDown:B8,LucideMoveDownLeft:_8,LucideMoveDownRight:A8,LucideMoveHorizontal:V8,LucideMoveLeft:z8,LucideMoveRight:P8,LucideMoveUp:E8,LucideMoveUpLeft:q8,LucideMoveUpRight:D8,LucideMoveVertical:T8,LucideMusic:R8,LucideMusic2:j8,LucideMusic3:O8,LucideMusic4:F8,LucideNavigation:W8,LucideNavigation2:$8,LucideNavigation2Off:N8,LucideNavigationOff:U8,LucideNetwork:G8,LucideNewspaper:K8,LucideNfc:X8,LucideNonBinary:Z8,LucideNotebook:e6,LucideNotebookPen:Q8,LucideNotebookTabs:Y8,LucideNotebookText:J8,LucideNotepadText:a6,LucideNotepadTextDashed:t6,LucideNut:o6,LucideNutOff:n6,LucideOctagon:i6,LucideOctagonAlert:Wo,LucideOctagonMinus:r6,LucideOctagonPause:Go,LucideOctagonX:Ko,LucideOmega:s6,LucideOption:l6,LucideOrbit:c6,LucideOrigami:d6,LucideOutdent:zt,LucidePackage:g6,LucidePackage2:h6,LucidePackageCheck:p6,LucidePackageMinus:u6,LucidePackageOpen:y6,LucidePackagePlus:f6,LucidePackageSearch:k6,LucidePackageX:m6,LucidePaintBucket:M6,LucidePaintRoller:b6,LucidePaintbrush:x6,LucidePaintbrush2:Xo,LucidePaintbrushVertical:Xo,LucidePalette:w6,LucidePalmtree:_i,LucidePanda:v6,LucidePanelBottom:S6,LucidePanelBottomClose:C6,LucidePanelBottomDashed:Zo,LucidePanelBottomInactive:Zo,LucidePanelBottomOpen:L6,LucidePanelLeft:er,LucidePanelLeftClose:Qo,LucidePanelLeftDashed:Yo,LucidePanelLeftInactive:Yo,LucidePanelLeftOpen:Jo,LucidePanelLeftRightDashed:I6,LucidePanelRight:B6,LucidePanelRightClose:_6,LucidePanelRightDashed:tr,LucidePanelRightInactive:tr,LucidePanelRightOpen:A6,LucidePanelTop:P6,LucidePanelTopBottomDashed:V6,LucidePanelTopClose:z6,LucidePanelTopDashed:ar,LucidePanelTopInactive:ar,LucidePanelTopOpen:q6,LucidePanelsLeftBottom:D6,LucidePanelsLeftRight:Un,LucidePanelsRightBottom:E6,LucidePanelsTopBottom:hr,LucidePanelsTopLeft:nr,LucidePaperclip:T6,LucideParentheses:H6,LucideParkingCircle:An,LucideParkingCircleOff:_n,LucideParkingMeter:j6,LucideParkingSquare:ni,LucideParkingSquareOff:ai,LucidePartyPopper:O6,LucidePause:F6,LucidePauseCircle:Bn,LucidePauseOctagon:Go,LucidePawPrint:R6,LucidePcCase:N6,LucidePen:rr,LucidePenBox:Xe,LucidePenLine:or,LucidePenOff:$6,LucidePenSquare:Xe,LucidePenTool:U6,LucidePencil:ir,LucidePencilLine:W6,LucidePencilOff:G6,LucidePencilRuler:K6,LucidePentagon:X6,LucidePercent:Z6,LucidePercentCircle:Vn,LucidePercentDiamond:Gn,LucidePercentSquare:oi,LucidePersonStanding:Y6,LucidePhilippinePeso:Q6,LucidePhone:Zs,LucidePhoneCall:J6,LucidePhoneForwarded:e7,LucidePhoneIncoming:t7,LucidePhoneMissed:n7,LucidePhoneOff:a7,LucidePhoneOutgoing:o7,LucidePi:r7,LucidePiSquare:ri,LucidePiano:i7,LucidePickaxe:s7,LucidePictureInPicture:c7,LucidePictureInPicture2:l7,LucidePieChart:rn,LucidePiggyBank:d7,LucidePilcrow:p7,LucidePilcrowLeft:h7,LucidePilcrowRight:u7,LucidePilcrowSquare:ii,LucidePill:g7,LucidePillBottle:y7,LucidePin:k7,LucidePinOff:f7,LucidePipette:m7,LucidePizza:M7,LucidePlane:Ys,LucidePlaneLanding:b7,LucidePlaneTakeoff:x7,LucidePlay:w7,LucidePlayCircle:zn,LucidePlaySquare:si,LucidePlug:C7,LucidePlug2:v7,LucidePlugZap:sr,LucidePlugZap2:sr,LucidePlus:Qs,LucidePlusCircle:qn,LucidePlusSquare:li,LucidePocket:S7,LucidePocketKnife:L7,LucidePodcast:I7,LucidePointer:A7,LucidePointerOff:_7,LucidePopcorn:B7,LucidePopsicle:V7,LucidePoundSterling:q7,LucidePower:P7,LucidePowerCircle:Pn,LucidePowerOff:z7,LucidePowerSquare:ci,LucidePresentation:D7,LucidePrinter:H7,LucidePrinterCheck:E7,LucidePrinterX:T7,LucideProjector:j7,LucideProportions:R7,LucidePuzzle:O7,LucidePyramid:F7,LucideQrCode:N7,LucideQuote:$7,LucideRabbit:W7,LucideRadar:U7,LucideRadiation:K7,LucideRadical:G7,LucideRadio:Y7,LucideRadioReceiver:X7,LucideRadioTower:Z7,LucideRadius:Q7,LucideRailSymbol:J7,LucideRainbow:eM,LucideRat:tM,LucideRatio:aM,LucideReceipt:uM,LucideReceiptCent:nM,LucideReceiptEuro:oM,LucideReceiptIndianRupee:rM,LucideReceiptJapaneseYen:iM,LucideReceiptPoundSterling:sM,LucideReceiptRussianRuble:lM,LucideReceiptSwissFranc:cM,LucideReceiptText:dM,LucideReceiptTurkishLira:hM,LucideRectangleCircle:pM,LucideRectangleEllipsis:lr,LucideRectangleGoggles:yM,LucideRectangleHorizontal:fM,LucideRectangleVertical:kM,LucideRecycle:mM,LucideRedo:MM,LucideRedo2:gM,LucideRedoDot:bM,LucideRefreshCcw:wM,LucideRefreshCcwDot:xM,LucideRefreshCw:us,LucideRefreshCwOff:vM,LucideRefrigerator:LM,LucideRegex:CM,LucideRemoveFormatting:SM,LucideRepeat:_M,LucideRepeat1:IM,LucideRepeat2:BM,LucideReplace:VM,LucideReplaceAll:AM,LucideReply:qM,LucideReplyAll:zM,LucideRewind:DM,LucideRibbon:PM,LucideRocket:EM,LucideRockingChair:TM,LucideRollerCoaster:HM,LucideRose:jM,LucideRotate3D:cr,LucideRotate3d:cr,LucideRotateCcw:RM,LucideRotateCcwKey:OM,LucideRotateCcwSquare:FM,LucideRotateCw:$M,LucideRotateCwSquare:NM,LucideRoute:WM,LucideRouteOff:UM,LucideRouter:GM,LucideRows:dr,LucideRows2:dr,LucideRows3:hr,LucideRows4:KM,LucideRss:XM,LucideRuler:ZM,LucideRulerDimensionLine:YM,LucideRussianRuble:QM,LucideSailboat:JM,LucideSalad:eb,LucideSandwich:ab,LucideSatellite:nb,LucideSatelliteDish:tb,LucideSaudiRiyal:ob,LucideSave:sb,LucideSaveAll:ib,LucideSaveOff:rb,LucideScale:lb,LucideScale3D:ur,LucideScale3d:ur,LucideScaling:cb,LucideScan:mb,LucideScanBarcode:db,LucideScanEye:hb,LucideScanFace:ub,LucideScanHeart:pb,LucideScanLine:yb,LucideScanQrCode:kb,LucideScanSearch:fb,LucideScanText:gb,LucideScatterChart:ln,LucideSchool:Mb,LucideSchool2:Vi,LucideScissors:wb,LucideScissorsLineDashed:bb,LucideScissorsSquare:di,LucideScissorsSquareDashedBottom:qr,LucideScooter:xb,LucideScreenShare:Cb,LucideScreenShareOff:vb,LucideScroll:Sb,LucideScrollText:Lb,LucideSearch:pr,LucideSearchAlert:Ib,LucideSearchCheck:Ab,LucideSearchCode:_b,LucideSearchSlash:Bb,LucideSearchX:Vb,LucideSection:zb,LucideSend:Pb,LucideSendHorizonal:yr,LucideSendHorizontal:yr,LucideSendToBack:qb,LucideSeparatorHorizontal:Db,LucideSeparatorVertical:Eb,LucideServer:Js,LucideServerCog:Tb,LucideServerCrash:Hb,LucideServerOff:Ob,LucideSettings:Fb,LucideSettings2:jb,LucideShapes:Rb,LucideShare:Nb,LucideShare2:e1,LucideSheet:$b,LucideShell:Ub,LucideShelvingUnit:Wb,LucideShield:ax,LucideShieldAlert:Gb,LucideShieldBan:Kb,LucideShieldCheck:Xb,LucideShieldClose:kr,LucideShieldEllipsis:Zb,LucideShieldHalf:Yb,LucideShieldMinus:ex,LucideShieldOff:Qb,LucideShieldPlus:Jb,LucideShieldQuestion:fr,LucideShieldQuestionMark:fr,LucideShieldUser:tx,LucideShieldX:kr,LucideShip:ox,LucideShipWheel:nx,LucideShirt:rx,LucideShoppingBag:ix,LucideShoppingBasket:sx,LucideShoppingCart:t1,LucideShovel:cx,LucideShowerHead:lx,LucideShredder:dx,LucideShrimp:hx,LucideShrink:ux,LucideShrub:px,LucideShuffle:yx,LucideSidebar:er,LucideSidebarClose:Qo,LucideSidebarOpen:Jo,LucideSigma:fx,LucideSigmaSquare:hi,LucideSignal:bx,LucideSignalHigh:kx,LucideSignalLow:mx,LucideSignalMedium:gx,LucideSignalZero:Mx,LucideSignature:xx,LucideSignpost:vx,LucideSignpostBig:wx,LucideSiren:Cx,LucideSkipBack:Sx,LucideSkipForward:Lx,LucideSkull:_x,LucideSlack:Ix,LucideSlash:Ax,LucideSlashSquare:ui,LucideSlice:Bx,LucideSliders:mr,LucideSlidersHorizontal:a1,LucideSlidersVertical:mr,LucideSmartphone:qx,LucideSmartphoneCharging:Vx,LucideSmartphoneNfc:zx,LucideSmile:Dx,LucideSmilePlus:Px,LucideSnail:Ex,LucideSnowflake:Tx,LucideSoapDispenserDroplet:Hx,LucideSofa:jx,LucideSolarPanel:Ox,LucideSortAsc:ja,LucideSortDesc:Ea,LucideSoup:Fx,LucideSpace:Rx,LucideSpade:Nx,LucideSparkle:$x,LucideSparkles:gr,LucideSpeaker:Ux,LucideSpeech:Wx,LucideSpellCheck:Xx,LucideSpellCheck2:Gx,LucideSpline:Zx,LucideSplinePointer:Kx,LucideSplit:Yx,LucideSplitSquareHorizontal:pi,LucideSplitSquareVertical:yi,LucideSpool:Qx,LucideSpotlight:Jx,LucideSprayCan:e9,LucideSprout:t9,LucideSquare:f9,LucideSquareActivity:Mr,LucideSquareArrowDown:wr,LucideSquareArrowDownLeft:br,LucideSquareArrowDownRight:xr,LucideSquareArrowLeft:vr,LucideSquareArrowOutDownLeft:Cr,LucideSquareArrowOutDownRight:Lr,LucideSquareArrowOutUpLeft:Sr,LucideSquareArrowOutUpRight:Ir,LucideSquareArrowRight:_r,LucideSquareArrowRightEnter:a9,LucideSquareArrowRightExit:n9,LucideSquareArrowUp:Vr,LucideSquareArrowUpLeft:Br,LucideSquareArrowUpRight:Ar,LucideSquareAsterisk:zr,LucideSquareBottomDashedScissors:qr,LucideSquareCenterlineDashedHorizontal:Pr,LucideSquareCenterlineDashedVertical:Dr,LucideSquareChartGantt:Pt,LucideSquareCheck:Tr,LucideSquareCheckBig:Er,LucideSquareChevronDown:Hr,LucideSquareChevronLeft:jr,LucideSquareChevronRight:Or,LucideSquareChevronUp:Fr,LucideSquareCode:Rr,LucideSquareDashed:Ur,LucideSquareDashedBottom:r9,LucideSquareDashedBottomCode:o9,LucideSquareDashedKanban:Nr,LucideSquareDashedMousePointer:$r,LucideSquareDashedTopSolid:i9,LucideSquareDivide:Gr,LucideSquareDot:Wr,LucideSquareEqual:Kr,LucideSquareFunction:Xr,LucideSquareGanttChart:Pt,LucideSquareKanban:Zr,LucideSquareLibrary:Yr,LucideSquareM:Qr,LucideSquareMenu:Jr,LucideSquareMinus:ei,LucideSquareMousePointer:ti,LucideSquareParking:ni,LucideSquareParkingOff:ai,LucideSquarePause:s9,LucideSquarePen:Xe,LucideSquarePercent:oi,LucideSquarePi:ri,LucideSquarePilcrow:ii,LucideSquarePlay:si,LucideSquarePlus:li,LucideSquarePower:ci,LucideSquareRadical:c9,LucideSquareRoundCorner:l9,LucideSquareScissors:di,LucideSquareSigma:hi,LucideSquareSlash:ui,LucideSquareSplitHorizontal:pi,LucideSquareSplitVertical:yi,LucideSquareSquare:d9,LucideSquareStack:h9,LucideSquareStar:p9,LucideSquareStop:u9,LucideSquareTerminal:fi,LucideSquareUser:gi,LucideSquareUserRound:ki,LucideSquareX:mi,LucideSquaresExclude:y9,LucideSquaresIntersect:k9,LucideSquaresSubtract:m9,LucideSquaresUnite:g9,LucideSquircle:b9,LucideSquircleDashed:M9,LucideSquirrel:x9,LucideStamp:w9,LucideStar:S9,LucideStarHalf:v9,LucideStarOff:C9,LucideStars:gr,LucideStepBack:L9,LucideStepForward:I9,LucideStethoscope:_9,LucideSticker:A9,LucideStickyNote:B9,LucideStone:V9,LucideStopCircle:En,LucideStore:z9,LucideStretchHorizontal:P9,LucideStretchVertical:q9,LucideStrikethrough:D9,LucideSubscript:E9,LucideSubtitles:Ka,LucideSun:F9,LucideSunDim:T9,LucideSunMedium:H9,LucideSunMoon:O9,LucideSunSnow:j9,LucideSunrise:R9,LucideSunset:N9,LucideSuperscript:$9,LucideSwatchBook:U9,LucideSwissFranc:W9,LucideSwitchCamera:K9,LucideSword:G9,LucideSwords:X9,LucideSyringe:Z9,LucideTable:rw,LucideTable2:Y9,LucideTableCellsMerge:Q9,LucideTableCellsSplit:J9,LucideTableColumnsSplit:ew,LucideTableConfig:At,LucideTableOfContents:tw,LucideTableProperties:aw,LucideTableRowsSplit:nw,LucideTablet:ow,LucideTabletSmartphone:iw,LucideTablets:sw,LucideTag:lw,LucideTags:cw,LucideTally1:dw,LucideTally2:hw,LucideTally3:uw,LucideTally4:pw,LucideTally5:yw,LucideTangent:fw,LucideTarget:kw,LucideTelescope:mw,LucideTent:Mw,LucideTentTree:gw,LucideTerminal:bw,LucideTerminalSquare:fi,LucideTestTube:xw,LucideTestTube2:Mi,LucideTestTubeDiagonal:Mi,LucideTestTubes:ww,LucideText:Dt,LucideTextAlignCenter:wi,LucideTextAlignEnd:bi,LucideTextAlignJustify:xi,LucideTextAlignStart:Dt,LucideTextCursor:Cw,LucideTextCursorInput:vw,LucideTextInitial:vi,LucideTextQuote:Sw,LucideTextSearch:Lw,LucideTextSelect:Li,LucideTextSelection:Li,LucideTextWrap:Ci,LucideTheater:Iw,LucideThermometer:Bw,LucideThermometerSnowflake:_w,LucideThermometerSun:Aw,LucideThumbsDown:zw,LucideThumbsUp:Vw,LucideTicket:Ow,LucideTicketCheck:qw,LucideTicketMinus:Pw,LucideTicketPercent:Dw,LucideTicketPlus:Ew,LucideTicketSlash:Tw,LucideTicketX:Hw,LucideTickets:Fw,LucideTicketsPlane:jw,LucideTimer:$w,LucideTimerOff:Rw,LucideTimerReset:Nw,LucideToggleLeft:n1,LucideToggleRight:Uw,LucideToilet:Ww,LucideToolCase:Gw,LucideToolbox:Kw,LucideTornado:Xw,LucideTorus:Zw,LucideTouchpad:Qw,LucideTouchpadOff:Yw,LucideTowelRack:Jw,LucideTowerControl:ev,LucideToyBrick:tv,LucideTractor:av,LucideTrafficCone:nv,LucideTrain:Si,LucideTrainFront:sv,LucideTrainFrontTunnel:ov,LucideTrainTrack:rv,LucideTramFront:Si,LucideTransgender:iv,LucideTrash:lv,LucideTrash2:Ii,LucideTreeDeciduous:cv,LucideTreePalm:_i,LucideTreePine:dv,LucideTrees:hv,LucideTrello:uv,LucideTrendingDown:pv,LucideTrendingUp:fv,LucideTrendingUpDown:yv,LucideTriangle:Mv,LucideTriangleAlert:Ai,LucideTriangleDashed:kv,LucideTriangleRight:gv,LucideTrophy:mv,LucideTruck:xv,LucideTruckElectric:bv,LucideTurkishLira:wv,LucideTurntable:vv,LucideTurtle:Cv,LucideTv:Sv,LucideTv2:Bi,LucideTvMinimal:Bi,LucideTvMinimalPlay:Lv,LucideTwitch:Iv,LucideTwitter:Av,LucideType:Bv,LucideTypeOutline:_v,LucideUmbrella:zv,LucideUmbrellaOff:Vv,LucideUnderline:qv,LucideUndo:Dv,LucideUndo2:Pv,LucideUndoDot:Ev,LucideUnfoldHorizontal:Tv,LucideUnfoldVertical:Hv,LucideUngroup:jv,LucideUniversity:Vi,LucideUnlink:Fv,LucideUnlink2:Ov,LucideUnlock:Oo,LucideUnlockKeyhole:jo,LucideUnplug:Rv,LucideUpload:Nv,LucideUploadCloud:ca,LucideUsb:$v,LucideUser:o1,LucideUser2:Ti,LucideUserCheck:Uv,LucideUserCheck2:zi,LucideUserCircle:Hn,LucideUserCircle2:Tn,LucideUserCog:Wv,LucideUserCog2:qi,LucideUserKey:Gv,LucideUserLock:Kv,LucideUserMinus:Xv,LucideUserMinus2:Pi,LucideUserPen:Zv,LucideUserPlus:Yv,LucideUserPlus2:Di,LucideUserRound:Ti,LucideUserRoundCheck:zi,LucideUserRoundCog:qi,LucideUserRoundKey:Qv,LucideUserRoundMinus:Pi,LucideUserRoundPen:Jv,LucideUserRoundPlus:Di,LucideUserRoundSearch:eC,LucideUserRoundX:Ei,LucideUserSearch:aC,LucideUserSquare:gi,LucideUserSquare2:ki,LucideUserStar:tC,LucideUserX:nC,LucideUserX2:Ei,LucideUsers:oC,LucideUsers2:Hi,LucideUsersRound:Hi,LucideUtensils:Oi,LucideUtensilsCrossed:ji,LucideUtilityPole:rC,LucideVan:iC,LucideVariable:lC,LucideVault:sC,LucideVectorSquare:cC,LucideVegan:dC,LucideVenetianMask:hC,LucideVenus:uC,LucideVenusAndMars:pC,LucideVerified:Ra,LucideVibrate:fC,LucideVibrateOff:yC,LucideVideo:mC,LucideVideoOff:kC,LucideVideotape:gC,LucideView:MC,LucideVoicemail:bC,LucideVolleyball:vC,LucideVolume:LC,LucideVolume1:xC,LucideVolume2:wC,LucideVolumeOff:CC,LucideVolumeX:SC,LucideVote:IC,LucideWallet:AC,LucideWallet2:Fi,LucideWalletCards:_C,LucideWalletMinimal:Fi,LucideWallpaper:BC,LucideWand:VC,LucideWand2:Ri,LucideWandSparkles:Ri,LucideWarehouse:zC,LucideWashingMachine:qC,LucideWatch:PC,LucideWaves:HC,LucideWavesArrowDown:DC,LucideWavesArrowUp:EC,LucideWavesLadder:TC,LucideWaypoints:jC,LucideWebcam:OC,LucideWebhook:RC,LucideWebhookOff:FC,LucideWeight:$C,LucideWeightTilde:NC,LucideWheat:WC,LucideWheatOff:UC,LucideWholeWord:GC,LucideWifi:tL,LucideWifiCog:KC,LucideWifiHigh:XC,LucideWifiLow:YC,LucideWifiOff:ZC,LucideWifiPen:QC,LucideWifiSync:JC,LucideWifiZero:eL,LucideWind:aL,LucideWindArrowDown:nL,LucideWine:oL,LucideWineOff:rL,LucideWorkflow:iL,LucideWorm:sL,LucideWrapText:Ci,LucideWrench:lL,LucideX:it,LucideXCircle:jn,LucideXLineTop:cL,LucideXOctagon:Ko,LucideXSquare:mi,LucideYoutube:dL,LucideZap:pL,LucideZapOff:hL,LucideZoomIn:uL,LucideZoomOut:yL,Luggage:Ig,LuggageIcon:Ig,MSquare:Qr,MSquareIcon:Qr,Magnet:_g,MagnetIcon:_g,Mail:Eg,MailCheck:Ag,MailCheckIcon:Ag,MailIcon:Eg,MailMinus:Vg,MailMinusIcon:Vg,MailOpen:Bg,MailOpenIcon:Bg,MailPlus:zg,MailPlusIcon:zg,MailQuestion:Fo,MailQuestionIcon:Fo,MailQuestionMark:Fo,MailQuestionMarkIcon:Fo,MailSearch:qg,MailSearchIcon:qg,MailWarning:Dg,MailWarningIcon:Dg,MailX:Pg,MailXIcon:Pg,Mailbox:jg,MailboxIcon:jg,Mails:Tg,MailsIcon:Tg,Map:Qg,MapIcon:Qg,MapMinus:Hg,MapMinusIcon:Hg,MapPin:Ks,MapPinCheck:Og,MapPinCheckIcon:Og,MapPinCheckInside:Fg,MapPinCheckInsideIcon:Fg,MapPinHouse:Rg,MapPinHouseIcon:Rg,MapPinIcon:Ks,MapPinMinus:$g,MapPinMinusIcon:$g,MapPinMinusInside:Ng,MapPinMinusInsideIcon:Ng,MapPinOff:Ug,MapPinOffIcon:Ug,MapPinPen:Ro,MapPinPenIcon:Ro,MapPinPlus:Gg,MapPinPlusIcon:Gg,MapPinPlusInside:Wg,MapPinPlusInsideIcon:Wg,MapPinX:Kg,MapPinXIcon:Kg,MapPinXInside:Xg,MapPinXInsideIcon:Xg,MapPinned:Zg,MapPinnedIcon:Zg,MapPlus:Yg,MapPlusIcon:Yg,Mars:t3,MarsIcon:t3,MarsStroke:Jg,MarsStrokeIcon:Jg,Martini:e3,MartiniIcon:e3,Maximize:n3,Maximize2:a3,Maximize2Icon:a3,MaximizeIcon:n3,Medal:o3,MedalIcon:o3,Megaphone:i3,MegaphoneIcon:i3,MegaphoneOff:r3,MegaphoneOffIcon:r3,Meh:s3,MehIcon:s3,MemoryStick:l3,MemoryStickIcon:l3,Menu:c3,MenuIcon:c3,MenuSquare:Jr,MenuSquareIcon:Jr,Merge:d3,MergeIcon:d3,MessageCircle:x3,MessageCircleCheck:h3,MessageCircleCheckIcon:h3,MessageCircleCode:u3,MessageCircleCodeIcon:u3,MessageCircleDashed:p3,MessageCircleDashedIcon:p3,MessageCircleHeart:y3,MessageCircleHeartIcon:y3,MessageCircleIcon:x3,MessageCircleMore:k3,MessageCircleMoreIcon:k3,MessageCircleOff:f3,MessageCircleOffIcon:f3,MessageCirclePlus:m3,MessageCirclePlusIcon:m3,MessageCircleQuestion:No,MessageCircleQuestionIcon:No,MessageCircleQuestionMark:No,MessageCircleQuestionMarkIcon:No,MessageCircleReply:g3,MessageCircleReplyIcon:g3,MessageCircleWarning:M3,MessageCircleWarningIcon:M3,MessageCircleX:b3,MessageCircleXIcon:b3,MessageSquare:hs,MessageSquareCheck:w3,MessageSquareCheckIcon:w3,MessageSquareCode:v3,MessageSquareCodeIcon:v3,MessageSquareDashed:C3,MessageSquareDashedIcon:C3,MessageSquareDiff:L3,MessageSquareDiffIcon:L3,MessageSquareDot:S3,MessageSquareDotIcon:S3,MessageSquareHeart:I3,MessageSquareHeartIcon:I3,MessageSquareIcon:hs,MessageSquareLock:_3,MessageSquareLockIcon:_3,MessageSquareMore:A3,MessageSquareMoreIcon:A3,MessageSquareOff:B3,MessageSquareOffIcon:B3,MessageSquarePlus:V3,MessageSquarePlusIcon:V3,MessageSquareQuote:z3,MessageSquareQuoteIcon:z3,MessageSquareReply:q3,MessageSquareReplyIcon:q3,MessageSquareShare:P3,MessageSquareShareIcon:P3,MessageSquareText:E3,MessageSquareTextIcon:E3,MessageSquareWarning:D3,MessageSquareWarningIcon:D3,MessageSquareX:T3,MessageSquareXIcon:T3,MessagesSquare:H3,MessagesSquareIcon:H3,Metronome:j3,MetronomeIcon:j3,Mic:F3,Mic2:$o,Mic2Icon:$o,MicIcon:F3,MicOff:O3,MicOffIcon:O3,MicVocal:$o,MicVocalIcon:$o,Microchip:R3,MicrochipIcon:R3,Microscope:N3,MicroscopeIcon:N3,Microwave:$3,MicrowaveIcon:$3,Milestone:U3,MilestoneIcon:U3,Milk:G3,MilkIcon:G3,MilkOff:W3,MilkOffIcon:W3,Minimize:K3,Minimize2:X3,Minimize2Icon:X3,MinimizeIcon:K3,Minus:Xs,MinusCircle:In,MinusCircleIcon:In,MinusIcon:Xs,MinusSquare:ei,MinusSquareIcon:ei,MirrorRectangular:Z3,MirrorRectangularIcon:Z3,MirrorRound:Y3,MirrorRoundIcon:Y3,Monitor:h8,MonitorCheck:Q3,MonitorCheckIcon:Q3,MonitorCloud:J3,MonitorCloudIcon:J3,MonitorCog:e8,MonitorCogIcon:e8,MonitorDot:t8,MonitorDotIcon:t8,MonitorDown:a8,MonitorDownIcon:a8,MonitorIcon:h8,MonitorOff:n8,MonitorOffIcon:n8,MonitorPause:o8,MonitorPauseIcon:o8,MonitorPlay:r8,MonitorPlayIcon:r8,MonitorSmartphone:i8,MonitorSmartphoneIcon:i8,MonitorSpeaker:s8,MonitorSpeakerIcon:s8,MonitorStop:l8,MonitorStopIcon:l8,MonitorUp:c8,MonitorUpIcon:c8,MonitorX:d8,MonitorXIcon:d8,Moon:p8,MoonIcon:p8,MoonStar:u8,MoonStarIcon:u8,MoreHorizontal:da,MoreHorizontalIcon:da,MoreVertical:Xn,MoreVerticalIcon:Xn,Motorbike:y8,MotorbikeIcon:y8,Mountain:k8,MountainIcon:k8,MountainSnow:f8,MountainSnowIcon:f8,Mouse:L8,MouseIcon:L8,MouseLeft:m8,MouseLeftIcon:m8,MouseOff:g8,MouseOffIcon:g8,MousePointer:v8,MousePointer2:b8,MousePointer2Icon:b8,MousePointer2Off:M8,MousePointer2OffIcon:M8,MousePointerBan:x8,MousePointerBanIcon:x8,MousePointerClick:w8,MousePointerClickIcon:w8,MousePointerIcon:v8,MousePointerSquareDashed:$r,MousePointerSquareDashedIcon:$r,MouseRight:C8,MouseRightIcon:C8,Move:H8,Move3D:Uo,Move3DIcon:Uo,Move3d:Uo,Move3dIcon:Uo,MoveDiagonal:I8,MoveDiagonal2:S8,MoveDiagonal2Icon:S8,MoveDiagonalIcon:I8,MoveDown:B8,MoveDownIcon:B8,MoveDownLeft:_8,MoveDownLeftIcon:_8,MoveDownRight:A8,MoveDownRightIcon:A8,MoveHorizontal:V8,MoveHorizontalIcon:V8,MoveIcon:H8,MoveLeft:z8,MoveLeftIcon:z8,MoveRight:P8,MoveRightIcon:P8,MoveUp:E8,MoveUpIcon:E8,MoveUpLeft:q8,MoveUpLeftIcon:q8,MoveUpRight:D8,MoveUpRightIcon:D8,MoveVertical:T8,MoveVerticalIcon:T8,Music:R8,Music2:j8,Music2Icon:j8,Music3:O8,Music3Icon:O8,Music4:F8,Music4Icon:F8,MusicIcon:R8,Navigation:W8,Navigation2:$8,Navigation2Icon:$8,Navigation2Off:N8,Navigation2OffIcon:N8,NavigationIcon:W8,NavigationOff:U8,NavigationOffIcon:U8,Network:G8,NetworkIcon:G8,Newspaper:K8,NewspaperIcon:K8,Nfc:X8,NfcIcon:X8,NonBinary:Z8,NonBinaryIcon:Z8,Notebook:e6,NotebookIcon:e6,NotebookPen:Q8,NotebookPenIcon:Q8,NotebookTabs:Y8,NotebookTabsIcon:Y8,NotebookText:J8,NotebookTextIcon:J8,NotepadText:a6,NotepadTextDashed:t6,NotepadTextDashedIcon:t6,NotepadTextIcon:a6,Nut:o6,NutIcon:o6,NutOff:n6,NutOffIcon:n6,Octagon:i6,OctagonAlert:Wo,OctagonAlertIcon:Wo,OctagonIcon:i6,OctagonMinus:r6,OctagonMinusIcon:r6,OctagonPause:Go,OctagonPauseIcon:Go,OctagonX:Ko,OctagonXIcon:Ko,Omega:s6,OmegaIcon:s6,Option:l6,OptionIcon:l6,Orbit:c6,OrbitIcon:c6,Origami:d6,OrigamiIcon:d6,Outdent:zt,OutdentIcon:zt,Package:g6,Package2:h6,Package2Icon:h6,PackageCheck:p6,PackageCheckIcon:p6,PackageIcon:g6,PackageMinus:u6,PackageMinusIcon:u6,PackageOpen:y6,PackageOpenIcon:y6,PackagePlus:f6,PackagePlusIcon:f6,PackageSearch:k6,PackageSearchIcon:k6,PackageX:m6,PackageXIcon:m6,PaintBucket:M6,PaintBucketIcon:M6,PaintRoller:b6,PaintRollerIcon:b6,Paintbrush:x6,Paintbrush2:Xo,Paintbrush2Icon:Xo,PaintbrushIcon:x6,PaintbrushVertical:Xo,PaintbrushVerticalIcon:Xo,Palette:w6,PaletteIcon:w6,Palmtree:_i,PalmtreeIcon:_i,Panda:v6,PandaIcon:v6,PanelBottom:S6,PanelBottomClose:C6,PanelBottomCloseIcon:C6,PanelBottomDashed:Zo,PanelBottomDashedIcon:Zo,PanelBottomIcon:S6,PanelBottomInactive:Zo,PanelBottomInactiveIcon:Zo,PanelBottomOpen:L6,PanelBottomOpenIcon:L6,PanelLeft:er,PanelLeftClose:Qo,PanelLeftCloseIcon:Qo,PanelLeftDashed:Yo,PanelLeftDashedIcon:Yo,PanelLeftIcon:er,PanelLeftInactive:Yo,PanelLeftInactiveIcon:Yo,PanelLeftOpen:Jo,PanelLeftOpenIcon:Jo,PanelLeftRightDashed:I6,PanelLeftRightDashedIcon:I6,PanelRight:B6,PanelRightClose:_6,PanelRightCloseIcon:_6,PanelRightDashed:tr,PanelRightDashedIcon:tr,PanelRightIcon:B6,PanelRightInactive:tr,PanelRightInactiveIcon:tr,PanelRightOpen:A6,PanelRightOpenIcon:A6,PanelTop:P6,PanelTopBottomDashed:V6,PanelTopBottomDashedIcon:V6,PanelTopClose:z6,PanelTopCloseIcon:z6,PanelTopDashed:ar,PanelTopDashedIcon:ar,PanelTopIcon:P6,PanelTopInactive:ar,PanelTopInactiveIcon:ar,PanelTopOpen:q6,PanelTopOpenIcon:q6,PanelsLeftBottom:D6,PanelsLeftBottomIcon:D6,PanelsLeftRight:Un,PanelsLeftRightIcon:Un,PanelsRightBottom:E6,PanelsRightBottomIcon:E6,PanelsTopBottom:hr,PanelsTopBottomIcon:hr,PanelsTopLeft:nr,PanelsTopLeftIcon:nr,Paperclip:T6,PaperclipIcon:T6,Parentheses:H6,ParenthesesIcon:H6,ParkingCircle:An,ParkingCircleIcon:An,ParkingCircleOff:_n,ParkingCircleOffIcon:_n,ParkingMeter:j6,ParkingMeterIcon:j6,ParkingSquare:ni,ParkingSquareIcon:ni,ParkingSquareOff:ai,ParkingSquareOffIcon:ai,PartyPopper:O6,PartyPopperIcon:O6,Pause:F6,PauseCircle:Bn,PauseCircleIcon:Bn,PauseIcon:F6,PauseOctagon:Go,PauseOctagonIcon:Go,PawPrint:R6,PawPrintIcon:R6,PcCase:N6,PcCaseIcon:N6,Pen:rr,PenBox:Xe,PenBoxIcon:Xe,PenIcon:rr,PenLine:or,PenLineIcon:or,PenOff:$6,PenOffIcon:$6,PenSquare:Xe,PenSquareIcon:Xe,PenTool:U6,PenToolIcon:U6,Pencil:ir,PencilIcon:ir,PencilLine:W6,PencilLineIcon:W6,PencilOff:G6,PencilOffIcon:G6,PencilRuler:K6,PencilRulerIcon:K6,Pentagon:X6,PentagonIcon:X6,Percent:Z6,PercentCircle:Vn,PercentCircleIcon:Vn,PercentDiamond:Gn,PercentDiamondIcon:Gn,PercentIcon:Z6,PercentSquare:oi,PercentSquareIcon:oi,PersonStanding:Y6,PersonStandingIcon:Y6,PhilippinePeso:Q6,PhilippinePesoIcon:Q6,Phone:Zs,PhoneCall:J6,PhoneCallIcon:J6,PhoneForwarded:e7,PhoneForwardedIcon:e7,PhoneIcon:Zs,PhoneIncoming:t7,PhoneIncomingIcon:t7,PhoneMissed:n7,PhoneMissedIcon:n7,PhoneOff:a7,PhoneOffIcon:a7,PhoneOutgoing:o7,PhoneOutgoingIcon:o7,Pi:r7,PiIcon:r7,PiSquare:ri,PiSquareIcon:ri,Piano:i7,PianoIcon:i7,Pickaxe:s7,PickaxeIcon:s7,PictureInPicture:c7,PictureInPicture2:l7,PictureInPicture2Icon:l7,PictureInPictureIcon:c7,PieChart:rn,PieChartIcon:rn,PiggyBank:d7,PiggyBankIcon:d7,Pilcrow:p7,PilcrowIcon:p7,PilcrowLeft:h7,PilcrowLeftIcon:h7,PilcrowRight:u7,PilcrowRightIcon:u7,PilcrowSquare:ii,PilcrowSquareIcon:ii,Pill:g7,PillBottle:y7,PillBottleIcon:y7,PillIcon:g7,Pin:k7,PinIcon:k7,PinOff:f7,PinOffIcon:f7,Pipette:m7,PipetteIcon:m7,Pizza:M7,PizzaIcon:M7,Plane:Ys,PlaneIcon:Ys,PlaneLanding:b7,PlaneLandingIcon:b7,PlaneTakeoff:x7,PlaneTakeoffIcon:x7,Play:w7,PlayCircle:zn,PlayCircleIcon:zn,PlayIcon:w7,PlaySquare:si,PlaySquareIcon:si,Plug:C7,Plug2:v7,Plug2Icon:v7,PlugIcon:C7,PlugZap:sr,PlugZap2:sr,PlugZap2Icon:sr,PlugZapIcon:sr,Plus:Qs,PlusCircle:qn,PlusCircleIcon:qn,PlusIcon:Qs,PlusSquare:li,PlusSquareIcon:li,Pocket:S7,PocketIcon:S7,PocketKnife:L7,PocketKnifeIcon:L7,Podcast:I7,PodcastIcon:I7,Pointer:A7,PointerIcon:A7,PointerOff:_7,PointerOffIcon:_7,Popcorn:B7,PopcornIcon:B7,Popsicle:V7,PopsicleIcon:V7,PoundSterling:q7,PoundSterlingIcon:q7,Power:P7,PowerCircle:Pn,PowerCircleIcon:Pn,PowerIcon:P7,PowerOff:z7,PowerOffIcon:z7,PowerSquare:ci,PowerSquareIcon:ci,Presentation:D7,PresentationIcon:D7,Printer:H7,PrinterCheck:E7,PrinterCheckIcon:E7,PrinterIcon:H7,PrinterX:T7,PrinterXIcon:T7,Projector:j7,ProjectorIcon:j7,Proportions:R7,ProportionsIcon:R7,Puzzle:O7,PuzzleIcon:O7,Pyramid:F7,PyramidIcon:F7,QrCode:N7,QrCodeIcon:N7,Quote:$7,QuoteIcon:$7,Rabbit:W7,RabbitIcon:W7,Radar:U7,RadarIcon:U7,Radiation:K7,RadiationIcon:K7,Radical:G7,RadicalIcon:G7,Radio:Y7,RadioIcon:Y7,RadioReceiver:X7,RadioReceiverIcon:X7,RadioTower:Z7,RadioTowerIcon:Z7,Radius:Q7,RadiusIcon:Q7,RailSymbol:J7,RailSymbolIcon:J7,Rainbow:eM,RainbowIcon:eM,Rat:tM,RatIcon:tM,Ratio:aM,RatioIcon:aM,Receipt:uM,ReceiptCent:nM,ReceiptCentIcon:nM,ReceiptEuro:oM,ReceiptEuroIcon:oM,ReceiptIcon:uM,ReceiptIndianRupee:rM,ReceiptIndianRupeeIcon:rM,ReceiptJapaneseYen:iM,ReceiptJapaneseYenIcon:iM,ReceiptPoundSterling:sM,ReceiptPoundSterlingIcon:sM,ReceiptRussianRuble:lM,ReceiptRussianRubleIcon:lM,ReceiptSwissFranc:cM,ReceiptSwissFrancIcon:cM,ReceiptText:dM,ReceiptTextIcon:dM,ReceiptTurkishLira:hM,ReceiptTurkishLiraIcon:hM,RectangleCircle:pM,RectangleCircleIcon:pM,RectangleEllipsis:lr,RectangleEllipsisIcon:lr,RectangleGoggles:yM,RectangleGogglesIcon:yM,RectangleHorizontal:fM,RectangleHorizontalIcon:fM,RectangleVertical:kM,RectangleVerticalIcon:kM,Recycle:mM,RecycleIcon:mM,Redo:MM,Redo2:gM,Redo2Icon:gM,RedoDot:bM,RedoDotIcon:bM,RedoIcon:MM,RefreshCcw:wM,RefreshCcwDot:xM,RefreshCcwDotIcon:xM,RefreshCcwIcon:wM,RefreshCw:us,RefreshCwIcon:us,RefreshCwOff:vM,RefreshCwOffIcon:vM,Refrigerator:LM,RefrigeratorIcon:LM,Regex:CM,RegexIcon:CM,RemoveFormatting:SM,RemoveFormattingIcon:SM,Repeat:_M,Repeat1:IM,Repeat1Icon:IM,Repeat2:BM,Repeat2Icon:BM,RepeatIcon:_M,Replace:VM,ReplaceAll:AM,ReplaceAllIcon:AM,ReplaceIcon:VM,Reply:qM,ReplyAll:zM,ReplyAllIcon:zM,ReplyIcon:qM,Rewind:DM,RewindIcon:DM,Ribbon:PM,RibbonIcon:PM,Rocket:EM,RocketIcon:EM,RockingChair:TM,RockingChairIcon:TM,RollerCoaster:HM,RollerCoasterIcon:HM,Rose:jM,RoseIcon:jM,Rotate3D:cr,Rotate3DIcon:cr,Rotate3d:cr,Rotate3dIcon:cr,RotateCcw:RM,RotateCcwIcon:RM,RotateCcwKey:OM,RotateCcwKeyIcon:OM,RotateCcwSquare:FM,RotateCcwSquareIcon:FM,RotateCw:$M,RotateCwIcon:$M,RotateCwSquare:NM,RotateCwSquareIcon:NM,Route:WM,RouteIcon:WM,RouteOff:UM,RouteOffIcon:UM,Router:GM,RouterIcon:GM,Rows:dr,Rows2:dr,Rows2Icon:dr,Rows3:hr,Rows3Icon:hr,Rows4:KM,Rows4Icon:KM,RowsIcon:dr,Rss:XM,RssIcon:XM,Ruler:ZM,RulerDimensionLine:YM,RulerDimensionLineIcon:YM,RulerIcon:ZM,RussianRuble:QM,RussianRubleIcon:QM,Sailboat:JM,SailboatIcon:JM,Salad:eb,SaladIcon:eb,Sandwich:ab,SandwichIcon:ab,Satellite:nb,SatelliteDish:tb,SatelliteDishIcon:tb,SatelliteIcon:nb,SaudiRiyal:ob,SaudiRiyalIcon:ob,Save:sb,SaveAll:ib,SaveAllIcon:ib,SaveIcon:sb,SaveOff:rb,SaveOffIcon:rb,Scale:lb,Scale3D:ur,Scale3DIcon:ur,Scale3d:ur,Scale3dIcon:ur,ScaleIcon:lb,Scaling:cb,ScalingIcon:cb,Scan:mb,ScanBarcode:db,ScanBarcodeIcon:db,ScanEye:hb,ScanEyeIcon:hb,ScanFace:ub,ScanFaceIcon:ub,ScanHeart:pb,ScanHeartIcon:pb,ScanIcon:mb,ScanLine:yb,ScanLineIcon:yb,ScanQrCode:kb,ScanQrCodeIcon:kb,ScanSearch:fb,ScanSearchIcon:fb,ScanText:gb,ScanTextIcon:gb,ScatterChart:ln,ScatterChartIcon:ln,School:Mb,School2:Vi,School2Icon:Vi,SchoolIcon:Mb,Scissors:wb,ScissorsIcon:wb,ScissorsLineDashed:bb,ScissorsLineDashedIcon:bb,ScissorsSquare:di,ScissorsSquareDashedBottom:qr,ScissorsSquareDashedBottomIcon:qr,ScissorsSquareIcon:di,Scooter:xb,ScooterIcon:xb,ScreenShare:Cb,ScreenShareIcon:Cb,ScreenShareOff:vb,ScreenShareOffIcon:vb,Scroll:Sb,ScrollIcon:Sb,ScrollText:Lb,ScrollTextIcon:Lb,Search:pr,SearchAlert:Ib,SearchAlertIcon:Ib,SearchCheck:Ab,SearchCheckIcon:Ab,SearchCode:_b,SearchCodeIcon:_b,SearchIcon:pr,SearchSlash:Bb,SearchSlashIcon:Bb,SearchX:Vb,SearchXIcon:Vb,Section:zb,SectionIcon:zb,Send:Pb,SendHorizonal:yr,SendHorizonalIcon:yr,SendHorizontal:yr,SendHorizontalIcon:yr,SendIcon:Pb,SendToBack:qb,SendToBackIcon:qb,SeparatorHorizontal:Db,SeparatorHorizontalIcon:Db,SeparatorVertical:Eb,SeparatorVerticalIcon:Eb,Server:Js,ServerCog:Tb,ServerCogIcon:Tb,ServerCrash:Hb,ServerCrashIcon:Hb,ServerIcon:Js,ServerOff:Ob,ServerOffIcon:Ob,Settings:Fb,Settings2:jb,Settings2Icon:jb,SettingsIcon:Fb,Shapes:Rb,ShapesIcon:Rb,Share:Nb,Share2:e1,Share2Icon:e1,ShareIcon:Nb,Sheet:$b,SheetIcon:$b,Shell:Ub,ShellIcon:Ub,ShelvingUnit:Wb,ShelvingUnitIcon:Wb,Shield:ax,ShieldAlert:Gb,ShieldAlertIcon:Gb,ShieldBan:Kb,ShieldBanIcon:Kb,ShieldCheck:Xb,ShieldCheckIcon:Xb,ShieldClose:kr,ShieldCloseIcon:kr,ShieldEllipsis:Zb,ShieldEllipsisIcon:Zb,ShieldHalf:Yb,ShieldHalfIcon:Yb,ShieldIcon:ax,ShieldMinus:ex,ShieldMinusIcon:ex,ShieldOff:Qb,ShieldOffIcon:Qb,ShieldPlus:Jb,ShieldPlusIcon:Jb,ShieldQuestion:fr,ShieldQuestionIcon:fr,ShieldQuestionMark:fr,ShieldQuestionMarkIcon:fr,ShieldUser:tx,ShieldUserIcon:tx,ShieldX:kr,ShieldXIcon:kr,Ship:ox,ShipIcon:ox,ShipWheel:nx,ShipWheelIcon:nx,Shirt:rx,ShirtIcon:rx,ShoppingBag:ix,ShoppingBagIcon:ix,ShoppingBasket:sx,ShoppingBasketIcon:sx,ShoppingCart:t1,ShoppingCartIcon:t1,Shovel:cx,ShovelIcon:cx,ShowerHead:lx,ShowerHeadIcon:lx,Shredder:dx,ShredderIcon:dx,Shrimp:hx,ShrimpIcon:hx,Shrink:ux,ShrinkIcon:ux,Shrub:px,ShrubIcon:px,Shuffle:yx,ShuffleIcon:yx,Sidebar:er,SidebarClose:Qo,SidebarCloseIcon:Qo,SidebarIcon:er,SidebarOpen:Jo,SidebarOpenIcon:Jo,Sigma:fx,SigmaIcon:fx,SigmaSquare:hi,SigmaSquareIcon:hi,Signal:bx,SignalHigh:kx,SignalHighIcon:kx,SignalIcon:bx,SignalLow:mx,SignalLowIcon:mx,SignalMedium:gx,SignalMediumIcon:gx,SignalZero:Mx,SignalZeroIcon:Mx,Signature:xx,SignatureIcon:xx,Signpost:vx,SignpostBig:wx,SignpostBigIcon:wx,SignpostIcon:vx,Siren:Cx,SirenIcon:Cx,SkipBack:Sx,SkipBackIcon:Sx,SkipForward:Lx,SkipForwardIcon:Lx,Skull:_x,SkullIcon:_x,Slack:Ix,SlackIcon:Ix,Slash:Ax,SlashIcon:Ax,SlashSquare:ui,SlashSquareIcon:ui,Slice:Bx,SliceIcon:Bx,Sliders:mr,SlidersHorizontal:a1,SlidersHorizontalIcon:a1,SlidersIcon:mr,SlidersVertical:mr,SlidersVerticalIcon:mr,Smartphone:qx,SmartphoneCharging:Vx,SmartphoneChargingIcon:Vx,SmartphoneIcon:qx,SmartphoneNfc:zx,SmartphoneNfcIcon:zx,Smile:Dx,SmileIcon:Dx,SmilePlus:Px,SmilePlusIcon:Px,Snail:Ex,SnailIcon:Ex,Snowflake:Tx,SnowflakeIcon:Tx,SoapDispenserDroplet:Hx,SoapDispenserDropletIcon:Hx,Sofa:jx,SofaIcon:jx,SolarPanel:Ox,SolarPanelIcon:Ox,SortAsc:ja,SortAscIcon:ja,SortDesc:Ea,SortDescIcon:Ea,Soup:Fx,SoupIcon:Fx,Space:Rx,SpaceIcon:Rx,Spade:Nx,SpadeIcon:Nx,Sparkle:$x,SparkleIcon:$x,Sparkles:gr,SparklesIcon:gr,Speaker:Ux,SpeakerIcon:Ux,Speech:Wx,SpeechIcon:Wx,SpellCheck:Xx,SpellCheck2:Gx,SpellCheck2Icon:Gx,SpellCheckIcon:Xx,Spline:Zx,SplineIcon:Zx,SplinePointer:Kx,SplinePointerIcon:Kx,Split:Yx,SplitIcon:Yx,SplitSquareHorizontal:pi,SplitSquareHorizontalIcon:pi,SplitSquareVertical:yi,SplitSquareVerticalIcon:yi,Spool:Qx,SpoolIcon:Qx,Spotlight:Jx,SpotlightIcon:Jx,SprayCan:e9,SprayCanIcon:e9,Sprout:t9,SproutIcon:t9,Square:f9,SquareActivity:Mr,SquareActivityIcon:Mr,SquareArrowDown:wr,SquareArrowDownIcon:wr,SquareArrowDownLeft:br,SquareArrowDownLeftIcon:br,SquareArrowDownRight:xr,SquareArrowDownRightIcon:xr,SquareArrowLeft:vr,SquareArrowLeftIcon:vr,SquareArrowOutDownLeft:Cr,SquareArrowOutDownLeftIcon:Cr,SquareArrowOutDownRight:Lr,SquareArrowOutDownRightIcon:Lr,SquareArrowOutUpLeft:Sr,SquareArrowOutUpLeftIcon:Sr,SquareArrowOutUpRight:Ir,SquareArrowOutUpRightIcon:Ir,SquareArrowRight:_r,SquareArrowRightEnter:a9,SquareArrowRightEnterIcon:a9,SquareArrowRightExit:n9,SquareArrowRightExitIcon:n9,SquareArrowRightIcon:_r,SquareArrowUp:Vr,SquareArrowUpIcon:Vr,SquareArrowUpLeft:Br,SquareArrowUpLeftIcon:Br,SquareArrowUpRight:Ar,SquareArrowUpRightIcon:Ar,SquareAsterisk:zr,SquareAsteriskIcon:zr,SquareBottomDashedScissors:qr,SquareBottomDashedScissorsIcon:qr,SquareCenterlineDashedHorizontal:Pr,SquareCenterlineDashedHorizontalIcon:Pr,SquareCenterlineDashedVertical:Dr,SquareCenterlineDashedVerticalIcon:Dr,SquareChartGantt:Pt,SquareChartGanttIcon:Pt,SquareCheck:Tr,SquareCheckBig:Er,SquareCheckBigIcon:Er,SquareCheckIcon:Tr,SquareChevronDown:Hr,SquareChevronDownIcon:Hr,SquareChevronLeft:jr,SquareChevronLeftIcon:jr,SquareChevronRight:Or,SquareChevronRightIcon:Or,SquareChevronUp:Fr,SquareChevronUpIcon:Fr,SquareCode:Rr,SquareCodeIcon:Rr,SquareDashed:Ur,SquareDashedBottom:r9,SquareDashedBottomCode:o9,SquareDashedBottomCodeIcon:o9,SquareDashedBottomIcon:r9,SquareDashedIcon:Ur,SquareDashedKanban:Nr,SquareDashedKanbanIcon:Nr,SquareDashedMousePointer:$r,SquareDashedMousePointerIcon:$r,SquareDashedTopSolid:i9,SquareDashedTopSolidIcon:i9,SquareDivide:Gr,SquareDivideIcon:Gr,SquareDot:Wr,SquareDotIcon:Wr,SquareEqual:Kr,SquareEqualIcon:Kr,SquareFunction:Xr,SquareFunctionIcon:Xr,SquareGanttChart:Pt,SquareGanttChartIcon:Pt,SquareIcon:f9,SquareKanban:Zr,SquareKanbanIcon:Zr,SquareLibrary:Yr,SquareLibraryIcon:Yr,SquareM:Qr,SquareMIcon:Qr,SquareMenu:Jr,SquareMenuIcon:Jr,SquareMinus:ei,SquareMinusIcon:ei,SquareMousePointer:ti,SquareMousePointerIcon:ti,SquareParking:ni,SquareParkingIcon:ni,SquareParkingOff:ai,SquareParkingOffIcon:ai,SquarePause:s9,SquarePauseIcon:s9,SquarePen:Xe,SquarePenIcon:Xe,SquarePercent:oi,SquarePercentIcon:oi,SquarePi:ri,SquarePiIcon:ri,SquarePilcrow:ii,SquarePilcrowIcon:ii,SquarePlay:si,SquarePlayIcon:si,SquarePlus:li,SquarePlusIcon:li,SquarePower:ci,SquarePowerIcon:ci,SquareRadical:c9,SquareRadicalIcon:c9,SquareRoundCorner:l9,SquareRoundCornerIcon:l9,SquareScissors:di,SquareScissorsIcon:di,SquareSigma:hi,SquareSigmaIcon:hi,SquareSlash:ui,SquareSlashIcon:ui,SquareSplitHorizontal:pi,SquareSplitHorizontalIcon:pi,SquareSplitVertical:yi,SquareSplitVerticalIcon:yi,SquareSquare:d9,SquareSquareIcon:d9,SquareStack:h9,SquareStackIcon:h9,SquareStar:p9,SquareStarIcon:p9,SquareStop:u9,SquareStopIcon:u9,SquareTerminal:fi,SquareTerminalIcon:fi,SquareUser:gi,SquareUserIcon:gi,SquareUserRound:ki,SquareUserRoundIcon:ki,SquareX:mi,SquareXIcon:mi,SquaresExclude:y9,SquaresExcludeIcon:y9,SquaresIntersect:k9,SquaresIntersectIcon:k9,SquaresSubtract:m9,SquaresSubtractIcon:m9,SquaresUnite:g9,SquaresUniteIcon:g9,Squircle:b9,SquircleDashed:M9,SquircleDashedIcon:M9,SquircleIcon:b9,Squirrel:x9,SquirrelIcon:x9,Stamp:w9,StampIcon:w9,Star:S9,StarHalf:v9,StarHalfIcon:v9,StarIcon:S9,StarOff:C9,StarOffIcon:C9,Stars:gr,StarsIcon:gr,StepBack:L9,StepBackIcon:L9,StepForward:I9,StepForwardIcon:I9,Stethoscope:_9,StethoscopeIcon:_9,Sticker:A9,StickerIcon:A9,StickyNote:B9,StickyNoteIcon:B9,Stone:V9,StoneIcon:V9,StopCircle:En,StopCircleIcon:En,Store:z9,StoreIcon:z9,StretchHorizontal:P9,StretchHorizontalIcon:P9,StretchVertical:q9,StretchVerticalIcon:q9,Strikethrough:D9,StrikethroughIcon:D9,Subscript:E9,SubscriptIcon:E9,Subtitles:Ka,SubtitlesIcon:Ka,Sun:F9,SunDim:T9,SunDimIcon:T9,SunIcon:F9,SunMedium:H9,SunMediumIcon:H9,SunMoon:O9,SunMoonIcon:O9,SunSnow:j9,SunSnowIcon:j9,Sunrise:R9,SunriseIcon:R9,Sunset:N9,SunsetIcon:N9,Superscript:$9,SuperscriptIcon:$9,SwatchBook:U9,SwatchBookIcon:U9,SwissFranc:W9,SwissFrancIcon:W9,SwitchCamera:K9,SwitchCameraIcon:K9,Sword:G9,SwordIcon:G9,Swords:X9,SwordsIcon:X9,Syringe:Z9,SyringeIcon:Z9,Table:rw,Table2:Y9,Table2Icon:Y9,TableCellsMerge:Q9,TableCellsMergeIcon:Q9,TableCellsSplit:J9,TableCellsSplitIcon:J9,TableColumnsSplit:ew,TableColumnsSplitIcon:ew,TableConfig:At,TableConfigIcon:At,TableIcon:rw,TableOfContents:tw,TableOfContentsIcon:tw,TableProperties:aw,TablePropertiesIcon:aw,TableRowsSplit:nw,TableRowsSplitIcon:nw,Tablet:ow,TabletIcon:ow,TabletSmartphone:iw,TabletSmartphoneIcon:iw,Tablets:sw,TabletsIcon:sw,Tag:lw,TagIcon:lw,Tags:cw,TagsIcon:cw,Tally1:dw,Tally1Icon:dw,Tally2:hw,Tally2Icon:hw,Tally3:uw,Tally3Icon:uw,Tally4:pw,Tally4Icon:pw,Tally5:yw,Tally5Icon:yw,Tangent:fw,TangentIcon:fw,Target:kw,TargetIcon:kw,Telescope:mw,TelescopeIcon:mw,Tent:Mw,TentIcon:Mw,TentTree:gw,TentTreeIcon:gw,Terminal:bw,TerminalIcon:bw,TerminalSquare:fi,TerminalSquareIcon:fi,TestTube:xw,TestTube2:Mi,TestTube2Icon:Mi,TestTubeDiagonal:Mi,TestTubeDiagonalIcon:Mi,TestTubeIcon:xw,TestTubes:ww,TestTubesIcon:ww,Text:Dt,TextAlignCenter:wi,TextAlignCenterIcon:wi,TextAlignEnd:bi,TextAlignEndIcon:bi,TextAlignJustify:xi,TextAlignJustifyIcon:xi,TextAlignStart:Dt,TextAlignStartIcon:Dt,TextCursor:Cw,TextCursorIcon:Cw,TextCursorInput:vw,TextCursorInputIcon:vw,TextIcon:Dt,TextInitial:vi,TextInitialIcon:vi,TextQuote:Sw,TextQuoteIcon:Sw,TextSearch:Lw,TextSearchIcon:Lw,TextSelect:Li,TextSelectIcon:Li,TextSelection:Li,TextSelectionIcon:Li,TextWrap:Ci,TextWrapIcon:Ci,Theater:Iw,TheaterIcon:Iw,Thermometer:Bw,ThermometerIcon:Bw,ThermometerSnowflake:_w,ThermometerSnowflakeIcon:_w,ThermometerSun:Aw,ThermometerSunIcon:Aw,ThumbsDown:zw,ThumbsDownIcon:zw,ThumbsUp:Vw,ThumbsUpIcon:Vw,Ticket:Ow,TicketCheck:qw,TicketCheckIcon:qw,TicketIcon:Ow,TicketMinus:Pw,TicketMinusIcon:Pw,TicketPercent:Dw,TicketPercentIcon:Dw,TicketPlus:Ew,TicketPlusIcon:Ew,TicketSlash:Tw,TicketSlashIcon:Tw,TicketX:Hw,TicketXIcon:Hw,Tickets:Fw,TicketsIcon:Fw,TicketsPlane:jw,TicketsPlaneIcon:jw,Timer:$w,TimerIcon:$w,TimerOff:Rw,TimerOffIcon:Rw,TimerReset:Nw,TimerResetIcon:Nw,ToggleLeft:n1,ToggleLeftIcon:n1,ToggleRight:Uw,ToggleRightIcon:Uw,Toilet:Ww,ToiletIcon:Ww,ToolCase:Gw,ToolCaseIcon:Gw,Toolbox:Kw,ToolboxIcon:Kw,Tornado:Xw,TornadoIcon:Xw,Torus:Zw,TorusIcon:Zw,Touchpad:Qw,TouchpadIcon:Qw,TouchpadOff:Yw,TouchpadOffIcon:Yw,TowelRack:Jw,TowelRackIcon:Jw,TowerControl:ev,TowerControlIcon:ev,ToyBrick:tv,ToyBrickIcon:tv,Tractor:av,TractorIcon:av,TrafficCone:nv,TrafficConeIcon:nv,Train:Si,TrainFront:sv,TrainFrontIcon:sv,TrainFrontTunnel:ov,TrainFrontTunnelIcon:ov,TrainIcon:Si,TrainTrack:rv,TrainTrackIcon:rv,TramFront:Si,TramFrontIcon:Si,Transgender:iv,TransgenderIcon:iv,Trash:lv,Trash2:Ii,Trash2Icon:Ii,TrashIcon:lv,TreeDeciduous:cv,TreeDeciduousIcon:cv,TreePalm:_i,TreePalmIcon:_i,TreePine:dv,TreePineIcon:dv,Trees:hv,TreesIcon:hv,Trello:uv,TrelloIcon:uv,TrendingDown:pv,TrendingDownIcon:pv,TrendingUp:fv,TrendingUpDown:yv,TrendingUpDownIcon:yv,TrendingUpIcon:fv,Triangle:Mv,TriangleAlert:Ai,TriangleAlertIcon:Ai,TriangleDashed:kv,TriangleDashedIcon:kv,TriangleIcon:Mv,TriangleRight:gv,TriangleRightIcon:gv,Trophy:mv,TrophyIcon:mv,Truck:xv,TruckElectric:bv,TruckElectricIcon:bv,TruckIcon:xv,TurkishLira:wv,TurkishLiraIcon:wv,Turntable:vv,TurntableIcon:vv,Turtle:Cv,TurtleIcon:Cv,Tv:Sv,Tv2:Bi,Tv2Icon:Bi,TvIcon:Sv,TvMinimal:Bi,TvMinimalIcon:Bi,TvMinimalPlay:Lv,TvMinimalPlayIcon:Lv,Twitch:Iv,TwitchIcon:Iv,Twitter:Av,TwitterIcon:Av,Type:Bv,TypeIcon:Bv,TypeOutline:_v,TypeOutlineIcon:_v,Umbrella:zv,UmbrellaIcon:zv,UmbrellaOff:Vv,UmbrellaOffIcon:Vv,Underline:qv,UnderlineIcon:qv,Undo:Dv,Undo2:Pv,Undo2Icon:Pv,UndoDot:Ev,UndoDotIcon:Ev,UndoIcon:Dv,UnfoldHorizontal:Tv,UnfoldHorizontalIcon:Tv,UnfoldVertical:Hv,UnfoldVerticalIcon:Hv,Ungroup:jv,UngroupIcon:jv,University:Vi,UniversityIcon:Vi,Unlink:Fv,Unlink2:Ov,Unlink2Icon:Ov,UnlinkIcon:Fv,Unlock:Oo,UnlockIcon:Oo,UnlockKeyhole:jo,UnlockKeyholeIcon:jo,Unplug:Rv,UnplugIcon:Rv,Upload:Nv,UploadCloud:ca,UploadCloudIcon:ca,UploadIcon:Nv,Usb:$v,UsbIcon:$v,User:o1,User2:Ti,User2Icon:Ti,UserCheck:Uv,UserCheck2:zi,UserCheck2Icon:zi,UserCheckIcon:Uv,UserCircle:Hn,UserCircle2:Tn,UserCircle2Icon:Tn,UserCircleIcon:Hn,UserCog:Wv,UserCog2:qi,UserCog2Icon:qi,UserCogIcon:Wv,UserIcon:o1,UserKey:Gv,UserKeyIcon:Gv,UserLock:Kv,UserLockIcon:Kv,UserMinus:Xv,UserMinus2:Pi,UserMinus2Icon:Pi,UserMinusIcon:Xv,UserPen:Zv,UserPenIcon:Zv,UserPlus:Yv,UserPlus2:Di,UserPlus2Icon:Di,UserPlusIcon:Yv,UserRound:Ti,UserRoundCheck:zi,UserRoundCheckIcon:zi,UserRoundCog:qi,UserRoundCogIcon:qi,UserRoundIcon:Ti,UserRoundKey:Qv,UserRoundKeyIcon:Qv,UserRoundMinus:Pi,UserRoundMinusIcon:Pi,UserRoundPen:Jv,UserRoundPenIcon:Jv,UserRoundPlus:Di,UserRoundPlusIcon:Di,UserRoundSearch:eC,UserRoundSearchIcon:eC,UserRoundX:Ei,UserRoundXIcon:Ei,UserSearch:aC,UserSearchIcon:aC,UserSquare:gi,UserSquare2:ki,UserSquare2Icon:ki,UserSquareIcon:gi,UserStar:tC,UserStarIcon:tC,UserX:nC,UserX2:Ei,UserX2Icon:Ei,UserXIcon:nC,Users:oC,Users2:Hi,Users2Icon:Hi,UsersIcon:oC,UsersRound:Hi,UsersRoundIcon:Hi,Utensils:Oi,UtensilsCrossed:ji,UtensilsCrossedIcon:ji,UtensilsIcon:Oi,UtilityPole:rC,UtilityPoleIcon:rC,Van:iC,VanIcon:iC,Variable:lC,VariableIcon:lC,Vault:sC,VaultIcon:sC,VectorSquare:cC,VectorSquareIcon:cC,Vegan:dC,VeganIcon:dC,VenetianMask:hC,VenetianMaskIcon:hC,Venus:uC,VenusAndMars:pC,VenusAndMarsIcon:pC,VenusIcon:uC,Verified:Ra,VerifiedIcon:Ra,Vibrate:fC,VibrateIcon:fC,VibrateOff:yC,VibrateOffIcon:yC,Video:mC,VideoIcon:mC,VideoOff:kC,VideoOffIcon:kC,Videotape:gC,VideotapeIcon:gC,View:MC,ViewIcon:MC,Voicemail:bC,VoicemailIcon:bC,Volleyball:vC,VolleyballIcon:vC,Volume:LC,Volume1:xC,Volume1Icon:xC,Volume2:wC,Volume2Icon:wC,VolumeIcon:LC,VolumeOff:CC,VolumeOffIcon:CC,VolumeX:SC,VolumeXIcon:SC,Vote:IC,VoteIcon:IC,Wallet:AC,Wallet2:Fi,Wallet2Icon:Fi,WalletCards:_C,WalletCardsIcon:_C,WalletIcon:AC,WalletMinimal:Fi,WalletMinimalIcon:Fi,Wallpaper:BC,WallpaperIcon:BC,Wand:VC,Wand2:Ri,Wand2Icon:Ri,WandIcon:VC,WandSparkles:Ri,WandSparklesIcon:Ri,Warehouse:zC,WarehouseIcon:zC,WashingMachine:qC,WashingMachineIcon:qC,Watch:PC,WatchIcon:PC,Waves:HC,WavesArrowDown:DC,WavesArrowDownIcon:DC,WavesArrowUp:EC,WavesArrowUpIcon:EC,WavesIcon:HC,WavesLadder:TC,WavesLadderIcon:TC,Waypoints:jC,WaypointsIcon:jC,Webcam:OC,WebcamIcon:OC,Webhook:RC,WebhookIcon:RC,WebhookOff:FC,WebhookOffIcon:FC,Weight:$C,WeightIcon:$C,WeightTilde:NC,WeightTildeIcon:NC,Wheat:WC,WheatIcon:WC,WheatOff:UC,WheatOffIcon:UC,WholeWord:GC,WholeWordIcon:GC,Wifi:tL,WifiCog:KC,WifiCogIcon:KC,WifiHigh:XC,WifiHighIcon:XC,WifiIcon:tL,WifiLow:YC,WifiLowIcon:YC,WifiOff:ZC,WifiOffIcon:ZC,WifiPen:QC,WifiPenIcon:QC,WifiSync:JC,WifiSyncIcon:JC,WifiZero:eL,WifiZeroIcon:eL,Wind:aL,WindArrowDown:nL,WindArrowDownIcon:nL,WindIcon:aL,Wine:oL,WineIcon:oL,WineOff:rL,WineOffIcon:rL,Workflow:iL,WorkflowIcon:iL,Worm:sL,WormIcon:sL,WrapText:Ci,WrapTextIcon:Ci,Wrench:lL,WrenchIcon:lL,X:it,XCircle:jn,XCircleIcon:jn,XIcon:it,XLineTop:cL,XLineTopIcon:cL,XOctagon:Ko,XOctagonIcon:Ko,XSquare:mi,XSquareIcon:mi,Youtube:dL,YoutubeIcon:dL,Zap:pL,ZapIcon:pL,ZapOff:hL,ZapOffIcon:hL,ZoomIn:uL,ZoomInIcon:uL,ZoomOut:yL,ZoomOutIcon:yL,createLucideIcon:l,icons:LP},Symbol.toStringTag,{value:"Module"})),SP=["aria-busy"],IP={key:0,class:"mb-1 h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},_P=["for"],AP={key:0,class:"ml-1 text-destructive"},BP={class:"relative"},VP={key:0,class:"flex items-center text-gray-500 gap-2"},zP=["id","placeholder","disabled","readonly","value"],qP={key:1,class:"h-6 w-6 animate-spin text-gray-500",viewBox:"0 0 24 24",fill:"none"},PP=["disabled"],DP={class:"overflow-y-auto overflow-x-hidden",style:{"max-height":"350px"}},EP=["onMouseenter","onClick"],TP={key:0},HP={class:"px-3 py-2 text-sm text-gray-500 dark:text-gray-400"},jP={key:0},OP={key:1},FP={key:2},RP={key:1,class:"mt-1 text-xs text-red-600"},ES=t.defineComponent({name:"DCodeAutoComplete",inheritAttrs:!1,__name:"DCodeAutoComplete",props:{modelValue:{},apiModule:{},apiAction:{},apiOptions:{},autoFetchOnOpen:{type:Boolean,default:!0},autoFetchOnMount:{type:Boolean,default:!1},visible:{type:Boolean,default:!0},clearable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},skeleton:{type:Boolean,default:!1},error:{default:null},errorMessage:{default:null},itemTitle:{type:[String,Function],default:"name"},itemValue:{type:[String,Function],default:"id"},returnObject:{type:Boolean,default:!1},endpoint:{},apiParams:{default:()=>({})},fetchItems:{},icon:{}},emits:["update:modelValue"],setup(a,{emit:e}){const n=a,o=e,r=t.useAttrs(),i=t.computed(()=>r.label??void 0),s=F=>{const te=r[F];return te===""||te===!0||te==="true"||te===1||te==="1"},c=t.ref(!1),d=t.computed(()=>n.itemTitle||r["item-title"]||r.itemTitle||"name"),h=t.computed(()=>n.itemValue||r["item-value"]||r.itemValue||"id"),u=t.computed(()=>n.disabled),p=t.computed(()=>s("required")),y=t.computed(()=>s("readonly")),f=t.computed(()=>n.returnObject||s("return-object")||s("returnObject")),k=t.computed(()=>p.value||s("aria-required")),m=t.computed(()=>n.error||n.errorMessage||r["error-message"]),g=t.computed(()=>r.placeholder??""),w=t.computed(()=>{const F=r.minChars??r["min-chars"];if(F==null||F==="")return 0;const te=typeof F=="number"?F:Number.parseInt(String(F),10);return Number.isFinite(te)&&te>0?te:0}),S=t.computed(()=>{const F=r.rules;return Array.isArray(F)?F:[]}),v=t.computed(()=>{const F=r.id||r.label;return F?`app-autocomplete-${F}-${Math.random().toString(36).slice(2,7)}`:void 0}),M=t.ref(n.modelValue),C=t.ref([]),x=t.ref(!1),b=t.ref(!1),L=t.computed(()=>r.items),I=t.computed(()=>{const F=H.value;return F.apiModule&&F.apiAction||F.apiUrl||n.fetchItems?C.value:L.value??[]}),z=t.computed(()=>!!r.loading),A=t.computed(()=>z.value||x.value),q=t.computed(()=>{const{label:F,items:te,loading:he,rules:_e,"item-title":De,"item-value":G,itemTitle:J,itemValue:ae,minChars:ye,"min-chars":ze,clearable:na,required:We,"aria-required":tq,disabled:mS,readonly:aq,visible:gS,"return-object":nq,returnObject:l_,class:oq,"fetch-items":rq,fetchItems:c_,error:iq,errorMessage:sq,"error-message":d_,...h_}=r||{};return h_}),O=()=>{if(n.apiOptions)return typeof n.apiOptions=="function"?n.apiOptions():n.apiOptions},H=t.computed(()=>{const F=n.endpoint||{};return{apiModule:n.apiModule||F.apiModule,apiAction:n.apiAction||F.apiAction,apiUrl:F.apiUrl,apiMethod:F.apiMethod||"GET"}}),W=t.ref(null),T=t.ref(null),j=t.ref(null),{floatingStyles:R}=Q1(T,j,{placement:"bottom-start",whileElementsMounted:K1,middleware:[X1(4),Ds(),Z1(),Y1({apply({rects:F,elements:te,availableHeight:he}){Object.assign(te.floating.style,{width:`${F.reference.width}px`,maxHeight:`${he}px`})}})]}),Y=t.ref(!1),B=t.ref(""),V=t.ref(-1),U=t.ref(null),oe=t.computed(()=>!w.value||(B.value||"").trim().length>=w.value?"":`Ketik minimal ${w.value} karakter`),ee=F=>{if(F==null)return"";if(typeof F=="string"||typeof F=="number")return String(F);const te=d.value;return typeof te=="function"?te(F):(F==null?void 0:F[te])??(F==null?void 0:F.name)??(F==null?void 0:F.nama)??(F==null?void 0:F.label)??(F==null?void 0:F.title)??"-"},de=F=>{if(F==null)return null;if(typeof F=="string"||typeof F=="number")return F;const te=h.value;return typeof te=="function"?te(F):(F==null?void 0:F[te])??(F==null?void 0:F.id)??(F==null?void 0:F.value)??(F==null?void 0:F.code)??null},ce=t.computed(()=>{const F=M.value;if(F==null||F==="")return"";if(Array.isArray(F))return F.length?F.map(_e=>{if(f.value&&typeof _e=="object"||typeof _e=="object")return ee(_e);const De=I.value.find(G=>de(G)==_e);return De?ee(De):String(_e)}).join(", "):"";if(typeof F=="object")return ee(F);const te=I.value.find(he=>de(he)==F);return te?ee(te):String(F)}),ue=t.computed(()=>{const F=I.value||[],te=(B.value||"").trim().toLowerCase(),he=(ce.value||"").toLowerCase(),_e=!te||te===he;let De=F;if(_e||(De=F.filter(G=>ee(G).toLowerCase().includes(te))),De.length>0){const G=J=>{const ae=de(J);return Array.isArray(M.value)?M.value.some(ye=>ye==ae):M.value==ae};De=[...De].sort((J,ae)=>{const ye=G(J),ze=G(ae);return ye&&!ze?-1:!ye&&ze?1:0})}return De}),ve=F=>Array.isArray(F)?F.length===0:F==null||F==="",le=F=>{if(U.value=null,p.value&&ve(F)&&!S.value.length)return U.value="This field is required",!1;for(const te of S.value){const he=te(F);if(he===!1)return U.value="Invalid value",!1;if(typeof he=="string")return U.value=he,!1}return!0},X=async()=>{if(u.value||y.value)return;Y.value=!0,V.value=ue.value.length?0:-1,B.value=ce.value||"";const F=H.value,te=F.apiModule&&F.apiAction||F.apiUrl||n.fetchItems;n.autoFetchOnOpen&&te&&!b.value&&(await bt(),V.value=ue.value.length?0:-1)},P=()=>{Y.value=!1,V.value=-1,B.value=ce.value||""},$=F=>{const te=f.value?F:de(F);let he=te;Array.isArray(M.value)&&(he=[te]),M.value=he,o("update:modelValue",he),U.value=null,le(he),B.value=ee(F),P()},Q=()=>{C.value=[],b.value=!1,M.value=Array.isArray(M.value)?[]:null,o("update:modelValue",M.value),B.value="",U.value=null},pe=()=>{c.value=!0,Q(),P(),setTimeout(()=>{c.value=!1},0)},Pe=F=>{if(u.value||y.value)return;const te=F.target.value;B.value=te,U.value&&(U.value=null),Y.value||(Y.value=!0),V.value=ue.value.length?0:-1;const he=H.value.apiModule&&H.value.apiAction||H.value.apiUrl||n.fetchItems;n.autoFetchOnOpen&&he&&!A.value&&!b.value&&bt()},ot=F=>{var he;if(u.value||y.value)return;const te={ArrowDown:()=>{if(F.preventDefault(),!Y.value){X();return}ue.value.length&&(V.value=Math.min(V.value+1,ue.value.length-1))},ArrowUp:()=>{!Y.value||!ue.value.length||(F.preventDefault(),V.value=Math.max(V.value-1,0))},Enter:()=>{if(!Y.value)return;F.preventDefault();const _e=ue.value[V.value];_e&&$(_e)},Escape:()=>{F.preventDefault(),P()},Tab:()=>{P()}};(he=te[F.key])==null||he.call(te)},bt=async()=>{const F=H.value;if(F.apiModule&&F.apiAction||F.apiUrl||n.fetchItems){x.value=!0;try{let he;if(n.fetchItems){const _e=O()||{},De={page:1,perPage:100,search:(B.value||"").trim(),..._e,...n.apiParams},G=await n.fetchItems(De),J=(G==null?void 0:G.data)??G;he=(J==null?void 0:J.data)??J}else{const De=Ke().DCodeApi;if(typeof De!="function"){console.error("[DCodeAutoComplete] useApi() must expose DCodeApi()");return}const J={page:1,perPage:100,...O()||{},...n.apiParams};let ae;F.apiUrl?ae=await De("","",J,{_url:F.apiUrl,_method:F.apiMethod||"POST"}):ae=await De(F.apiModule,F.apiAction,J);const ye=(ae==null?void 0:ae.data)??ae;he=(ye==null?void 0:ye.data)??ye}C.value=Array.isArray(he)?he:[],b.value=!0}catch(he){console.error("[DCodeAutoComplete][fetchOptions] ERROR:",he),U.value=`[DCodeAutoComplete][fetchOptions] ERROR: Error: ${(he==null?void 0:he.message)||(he==null?void 0:he.toString())||"Failed to load options"}`,C.value=[],b.value=!0}finally{x.value=!1}}},aa=F=>{const te=de(F);return f.value?M.value?Array.isArray(M.value)?M.value.some(he=>de(he)==te):de(M.value)==te:!1:Array.isArray(M.value)?M.value.some(he=>he==te):M.value==te};t.watch(()=>[O(),H.value,n.apiParams],([F,te,he],[_e,De,G])=>{const J=H.value;if(!(J.apiModule&&J.apiAction||J.apiUrl||n.fetchItems)){Q();return}const ye=JSON.stringify(F??null)===JSON.stringify(_e??null),ze=JSON.stringify(he??null)===JSON.stringify(G??null);ye&&ze||(Q(),ze||bt())},{deep:!0}),t.watch(()=>n.modelValue,(F,te)=>{M.value=F,!c.value&&(F==null||F==="")&&te!=null&&n.apiModule&&n.apiAction&&(C.value=[],b.value=!1),B.value=ce.value||""},{immediate:!0});const _a=H.value;(_a.apiModule&&_a.apiAction||_a.apiUrl||n.fetchItems)&&(n.autoFetchOnMount||!ve(n.modelValue))&&bt();const $t=F=>{const te=W.value,he=j.value,_e=F.target;te&&te.contains(_e)||he&&he.contains(_e)||Y.value&&P()},D1=t.computed(()=>{const F=n.modelValue;return F==null?!1:typeof F=="string"?F.trim().length>0:Array.isArray(F)?F.length>0:typeof F=="object"?Object.keys(F).length>0:!0}),E1=t.computed(()=>!!n.clearable&&D1.value&&!n.disabled);return t.onMounted(()=>{document.addEventListener("mousedown",$t)}),t.onBeforeUnmount(()=>{document.removeEventListener("mousedown",$t)}),(F,te)=>t.withDirectives((t.openBlock(),t.createElementBlock("div",{ref_key:"rootEl",ref:W,class:t.normalizeClass(["w-full",t.unref(r).class]),"aria-busy":a.skeleton},[a.skeleton?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[i.value?(t.openBlock(),t.createElementBlock("div",IP)):t.createCommentVNode("",!0),te[6]||(te[6]=t.createElementVNode("div",{class:"h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse"},null,-1))],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[i.value?(t.openBlock(),t.createElementBlock("label",{key:0,for:v.value,class:"mb-1 block text-sm font-medium text-gray-900 dark:text-gray-100"},[t.createTextVNode(t.toDisplayString(i.value)+" ",1),k.value?(t.openBlock(),t.createElementBlock("span",AP,"*")):t.createCommentVNode("",!0)],8,_P)):t.createCommentVNode("",!0),t.createElementVNode("div",BP,[t.createElementVNode("div",{ref_key:"reference",ref:T,class:t.normalizeClass(["flex items-center gap-2 rounded-lg border px-3 py-2 bg-white dark:bg-neutral-900 border-gray-300 dark:border-gray-700 h-10 focus-within:ring-1 focus-within:ring-gray-700 dark:focus-within:ring-gray-300",[u.value||y.value?"opacity-60 cursor-not-allowed":"",U.value||m.value?"border-red-500 focus-within:ring-red-500":""]])},[n.icon||F.$slots["prepend-inner"]?(t.openBlock(),t.createElementBlock("div",VP,[t.renderSlot(F.$slots,"prepend-inner",{},()=>[n.icon?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(n.icon),{key:0,class:"h-4 w-4"})):t.createCommentVNode("",!0)])])):t.createCommentVNode("",!0),t.createElementVNode("input",t.mergeProps(q.value,{id:v.value,type:"text",class:["w-full bg-transparent outline-none text-sm text-gray-900 dark:text-gray-100 placeholder:text-gray-400",u.value||y.value?"cursor-not-allowed":"cursor-text"],placeholder:g.value,disabled:u.value,readonly:y.value,value:Y.value?B.value:ce.value||B.value,onFocus:te[0]||(te[0]=()=>{Y.value||X()}),onClick:te[1]||(te[1]=()=>{Y.value||X()}),onInput:Pe,onKeydown:ot,onBlur:te[2]||(te[2]=()=>le(M.value))}),null,16,zP),A.value?(t.openBlock(),t.createElementBlock("svg",qP,[...te[7]||(te[7]=[t.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),t.createElementVNode("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8v4a4 4 0 00-4 4H4z"},null,-1)])])):E1.value?(t.openBlock(),t.createElementBlock("button",{key:2,type:"button",class:"shrink-0 rounded-md px-1 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300",onMousedown:te[3]||(te[3]=t.withModifiers(()=>{},["prevent"])),onClick:t.withModifiers(pe,["stop"]),"aria-label":"Clear"}," ✕ ",32)):(t.openBlock(),t.createElementBlock("button",{key:3,type:"button",class:"shrink-0 rounded-md px-1 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300 disabled:opacity-50 disabled:cursor-not-allowed",disabled:u.value||y.value,onClick:te[4]||(te[4]=he=>Y.value?P():X()),"aria-label":"Toggle"},[t.createVNode(t.unref(St),{class:t.normalizeClass(["h-4 w-4 transition-transform duration-200 ease-in-out",{"rotate-180":Y.value}])},null,8,["class"])],8,PP))],2),(t.openBlock(),t.createBlock(t.Teleport,{to:"body"},[Y.value?(t.openBlock(),t.createElementBlock("div",{key:0,ref_key:"floating",ref:j,style:t.normalizeStyle(t.unref(R)),class:"z-[50] overflow-hidden rounded-lg border bg-white shadow-lg border-gray-200 dark:border-gray-700 dark:bg-neutral-900"},[t.createElementVNode("div",DP,[ue.value.length?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(ue.value,(he,_e)=>(t.openBlock(),t.createElementBlock("button",{key:de(he)??_e,type:"button",class:t.normalizeClass(["w-full flex justify-between text-left px-3 py-2 text-sm hover:bg-neutral-100 dark:hover:bg-neutral-800",_e===V.value?"bg-neutral-100 dark:bg-neutral-800":""]),onMouseenter:De=>V.value=_e,onMousedown:te[5]||(te[5]=t.withModifiers(()=>{},["prevent"])),onClick:De=>$(he)},[t.createTextVNode(t.toDisplayString(ee(he))+" ",1),aa(he)?(t.openBlock(),t.createElementBlock("span",TP," ✓ ")):t.createCommentVNode("",!0)],42,EP))),128)):t.renderSlot(F.$slots,"no-data",{key:1},()=>[t.createElementVNode("div",HP,[A.value?(t.openBlock(),t.createElementBlock("span",jP,"Loading data…")):oe.value?(t.openBlock(),t.createElementBlock("span",OP,t.toDisplayString(oe.value),1)):(t.openBlock(),t.createElementBlock("span",FP,"No data available"))])])])],4)):t.createCommentVNode("",!0)]))]),U.value||m.value?(t.openBlock(),t.createElementBlock("p",RP,t.toDisplayString(U.value||m.value),1)):t.createCommentVNode("",!0)],64))],10,SP)),[[t.vShow,a.visible]])}}),NP=["aria-busy"],$P={key:0,class:"mb-1 h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},UP=["for"],WP={key:0,class:"ml-1 text-destructive"},GP={class:"relative"},KP={key:0,class:"flex items-center text-gray-500 gap-2"},XP=["id","placeholder","disabled","value"],ZP={key:1,class:"h-6 w-6 animate-spin text-gray-500",viewBox:"0 0 24 24",fill:"none"},YP=["disabled"],QP={key:0,class:"p-3 space-y-2"},JP=["onMouseenter","onClick"],eD={class:"flex items-center space-x-3"},tD={class:"flex-1"},aD={class:"text-sm font-medium text-gray-900 dark:text-gray-100"},nD={key:0,class:"text-xs text-gray-500 dark:text-gray-400"},oD={key:0},rD={key:2,class:"p-3 text-center"},iD={class:"inline-flex items-center space-x-2"},sD={class:"text-sm text-gray-500"},lD={key:3,class:"p-3 text-center"},cD={class:"text-xs text-gray-400"},dD={key:4,class:"px-3 py-2 text-sm text-gray-500 dark:text-gray-400"},hD={key:1,class:"mt-1 text-xs text-red-600"},uD={key:2,class:"mt-1 text-xs text-gray-500"},H_=t.defineComponent({name:"DCodeInfiniteAutoComplete",inheritAttrs:!1,__name:"DCodeInfiniteAutoComplete",props:{modelValue:{},apiModule:{},apiAction:{},apiOptions:{},autoFetchOnOpen:{type:Boolean,default:!0},refreshOnOpen:{type:Boolean,default:!1},autoFetchOnMount:{type:Boolean,default:!1},visible:{type:Boolean,default:!0},clearable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},skeleton:{type:Boolean,default:!1},error:{default:null},errorMessage:{default:null},itemTitle:{type:[String,Function],default:"name"},itemValue:{type:[String,Function],default:"id"},itemSubtitle:{},returnObject:{type:Boolean,default:!1},endpoint:{},apiParams:{},fetchItems:{},icon:{},label:{},placeholder:{default:"Select an option"},required:{type:Boolean,default:!1},inputType:{default:"text"},helperText:{default:""},noResultsText:{default:"No results found"},loadingText:{default:"Loading more..."},endOfResultsText:{default:"End of results"},pageSize:{default:10},threshold:{default:100},debounceMs:{default:300}},emits:["update:modelValue","focus","blur","select","search","load-more","end-of-results","error"],setup(a,{emit:e}){const n=a,o=e,r=t.useAttrs(),i=t.ref(),s=t.ref(),c=t.ref(),d=t.ref(),h=t.ref(),u=t.computed(()=>{const V=n.label||n.placeholder;return V?`app-infinite-autocomplete-${V}-${Math.random().toString(36).slice(2,7)}`:void 0}),p=t.ref(""),y=t.ref([]),f=t.ref(!1),k=t.ref(!1),m=t.ref(-1),g=t.ref(1),w=t.ref(!0),S=t.ref(0),v=t.ref(),{floatingStyles:M}=Q1(d,h,{placement:"bottom-start",whileElementsMounted:K1,middleware:[X1(4),Ds(),Z1(),Y1({apply({rects:V,elements:U}){Object.assign(U.floating.style,{width:`${V.reference.width}px`})}})]});t.computed(()=>({"opacity-50 pointer-events-none":n.disabled,relative:!0}));const C=t.computed(()=>p.value?y.value.filter(V=>I(V).toLowerCase().includes(p.value.toLowerCase())):y.value),x=t.computed(()=>{if(k.value&&p.value)return p.value;if(n.modelValue){if(n.returnObject)return I(n.modelValue);{const V=y.value.find(U=>z(U)===n.modelValue);return V?I(V):String(n.modelValue)}}return""}),b=()=>{k.value=!0},L=()=>{k.value=!1},I=V=>typeof n.itemTitle=="function"?n.itemTitle(V):V[n.itemTitle]||"",z=V=>typeof n.itemValue=="function"?n.itemValue(V):V[n.itemValue]||V,A=V=>n.itemSubtitle?typeof n.itemSubtitle=="function"?n.itemSubtitle(V):V[n.itemSubtitle]||"":"",q=V=>n.modelValue?n.returnObject?z(V)===z(n.modelValue):z(V)===n.modelValue:!1,O=V=>{var oe;const U=n.returnObject?V:z(V);o("update:modelValue",U),o("select",V),k.value=!1,p.value="",(oe=i.value)==null||oe.blur()},H=()=>{var V;o("update:modelValue",null),p.value="",(V=i.value)==null||V.focus()},W=V=>{k.value=!0,o("focus",V),n.autoFetchOnOpen&&!f.value&&(n.refreshOnOpen||y.value.length===0)&&B(!0)},T=V=>{setTimeout(()=>{k.value=!1,o("blur",V)},200)},j=V=>{const U=V.target;p.value=U.value,v.value&&clearTimeout(v.value),v.value=setTimeout(()=>{o("search",p.value),g.value=1,w.value=!0,B(!0)},n.debounceMs)},R=V=>{if(k.value)switch(V.key){case"ArrowDown":V.preventDefault(),m.value=Math.min(m.value+1,C.value.length-1);break;case"ArrowUp":V.preventDefault(),m.value=Math.max(m.value-1,0);break;case"Enter":V.preventDefault(),m.value>=0&&C.value[m.value]&&O(C.value[m.value]);break;case"Escape":k.value=!1;break}},Y=V=>{if(!w.value||f.value)return;const U=V.target,{scrollTop:oe,scrollHeight:ee,clientHeight:de}=U;oe+de>=ee-n.threshold&&B()},B=async(V=!1)=>{var U,oe;if(!f.value){f.value=!0;try{let ee=[];if(n.fetchItems)ee=await n.fetchItems();else{const de=Ke(),ce=((U=n.endpoint)==null?void 0:U.apiModule)||n.apiModule,ue=((oe=n.endpoint)==null?void 0:oe.apiAction)||n.apiAction;if(!ce||!ue)throw new Error("API module and action are required");const ve={page:V?1:g.value,pageSize:n.pageSize,search:p.value,...n.apiParams},le=await de.apiUrl(`/${ce}/${ue}`,"GET",ve);ee=le.data||le.items||le||[],S.value=le.total||le.totalItems||ee.length}V?(y.value=ee,g.value=1):(y.value.push(...ee),g.value++),w.value=ee.length>=n.pageSize,w.value||o("end-of-results"),o("load-more",{items:ee,page:g.value,hasMore:w.value,total:S.value})}catch(ee){console.error("Error fetching items:",ee),o("error",ee)}finally{f.value=!1}}};return t.onMounted(()=>{n.autoFetchOnMount&&B()}),t.onUnmounted(()=>{v.value&&clearTimeout(v.value)}),t.watch(()=>n.modelValue,V=>{V||(p.value="")}),(V,U)=>t.withDirectives((t.openBlock(),t.createElementBlock("div",{ref_key:"rootEl",ref:c,class:t.normalizeClass(["w-full",t.unref(r).class]),"aria-busy":a.skeleton},[a.skeleton?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[a.label?(t.openBlock(),t.createElementBlock("div",$P)):t.createCommentVNode("",!0),U[3]||(U[3]=t.createElementVNode("div",{class:"h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse"},null,-1))],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[a.label?(t.openBlock(),t.createElementBlock("label",{key:0,for:u.value,class:"mb-1 block text-sm font-medium text-gray-900 dark:text-gray-100"},[t.createTextVNode(t.toDisplayString(a.label)+" ",1),a.required?(t.openBlock(),t.createElementBlock("span",WP,"*")):t.createCommentVNode("",!0)],8,UP)):t.createCommentVNode("",!0),t.createElementVNode("div",GP,[t.createElementVNode("div",{ref_key:"reference",ref:d,class:t.normalizeClass(["flex items-center gap-2 rounded-lg border px-3 py-2 bg-white dark:bg-neutral-900 border-gray-300 dark:border-gray-700 h-10 focus-within:ring-1 focus-within:ring-gray-700 dark:focus-within:ring-gray-300",[a.disabled?"opacity-60 cursor-not-allowed":"",a.error?"border-red-500 focus-within:ring-red-500":""]])},[n.icon?(t.openBlock(),t.createElementBlock("div",KP,[n.icon?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(n.icon),{key:0,class:"h-4 w-4"})):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),t.createElementVNode("input",t.mergeProps({ref_key:"inputRef",ref:i},V.$attrs,{id:u.value,type:"text",class:["w-full bg-transparent outline-none text-sm text-gray-900 dark:text-gray-100 placeholder:text-gray-400",a.disabled?"cursor-not-allowed":"cursor-text"],placeholder:a.placeholder,disabled:a.disabled,value:x.value,onFocus:W,onBlur:T,onInput:j,onKeydown:R}),null,16,XP),f.value?(t.openBlock(),t.createElementBlock("svg",ZP,[...U[4]||(U[4]=[t.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),t.createElementVNode("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8v4a4 4 0 00-4 4H4z"},null,-1)])])):a.clearable&&a.modelValue?(t.openBlock(),t.createElementBlock("button",{key:2,type:"button",class:"shrink-0 rounded-md px-1 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300",onMousedown:U[0]||(U[0]=t.withModifiers(()=>{},["prevent"])),onClick:t.withModifiers(H,["stop"]),"aria-label":"Clear"}," ✕ ",32)):(t.openBlock(),t.createElementBlock("button",{key:3,type:"button",class:"shrink-0 rounded-md px-1 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300 disabled:opacity-50 disabled:cursor-not-allowed",disabled:a.disabled,onClick:U[1]||(U[1]=oe=>k.value?L():b()),"aria-label":"Toggle"},[t.createVNode(t.unref(St),{class:t.normalizeClass(["h-4 w-4 transition-transform duration-200 ease-in-out",{"rotate-180":k.value}])},null,8,["class"])],8,YP))],2),(t.openBlock(),t.createBlock(t.Teleport,{to:"body"},[k.value?(t.openBlock(),t.createElementBlock("div",{key:0,ref_key:"floating",ref:h,style:t.normalizeStyle(t.unref(M)),class:"z-[9999] overflow-hidden rounded-lg border bg-white shadow-lg border-gray-200 dark:border-gray-700 dark:bg-neutral-900"},[t.createElementVNode("div",{ref_key:"scrollContainer",ref:s,class:"max-h-64 overflow-auto",onScroll:Y},[f.value&&y.value.length===0?(t.openBlock(),t.createElementBlock("div",QP,[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(5,oe=>t.createElementVNode("div",{key:oe,class:"flex items-center space-x-3"},[...U[5]||(U[5]=[t.createElementVNode("div",{class:"skeleton h-4 w-4 bg-gray-200 rounded"},null,-1),t.createElementVNode("div",{class:"skeleton h-4 flex-1 bg-gray-200 rounded"},null,-1)])])),64))])):C.value.length?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(C.value,(oe,ee)=>(t.openBlock(),t.createElementBlock("button",{key:z(oe)??ee,type:"button",class:t.normalizeClass(["w-full flex justify-between text-left px-3 py-2 text-sm hover:bg-neutral-100 dark:hover:bg-neutral-800",ee===m.value?"bg-neutral-100 dark:bg-neutral-800":""]),onMouseenter:de=>m.value=ee,onMousedown:U[2]||(U[2]=t.withModifiers(()=>{},["prevent"])),onClick:de=>O(oe)},[t.renderSlot(V.$slots,"item",{item:oe,index:ee},()=>[t.createElementVNode("div",eD,[t.createElementVNode("div",tD,[t.createElementVNode("div",aD,t.toDisplayString(I(oe)),1),a.itemSubtitle?(t.openBlock(),t.createElementBlock("div",nD,t.toDisplayString(A(oe)),1)):t.createCommentVNode("",!0)])])]),q(oe)?(t.openBlock(),t.createElementBlock("span",oD," ✓ ")):t.createCommentVNode("",!0)],42,JP))),128)):t.createCommentVNode("",!0),f.value&&y.value.length>0?(t.openBlock(),t.createElementBlock("div",rD,[t.createElementVNode("div",iD,[U[6]||(U[6]=t.createElementVNode("div",{class:"animate-spin rounded-full h-4 w-4 border-b-2 border-blue-600"},null,-1)),t.createElementVNode("span",sD,t.toDisplayString(a.loadingText),1)])])):t.createCommentVNode("",!0),!w.value&&y.value.length>0?(t.openBlock(),t.createElementBlock("div",lD,[t.createElementVNode("div",cD,t.toDisplayString(a.endOfResultsText),1)])):!f.value&&y.value.length===0?(t.openBlock(),t.createElementBlock("div",dD,t.toDisplayString(a.noResultsText),1)):t.createCommentVNode("",!0)],544)],4)):t.createCommentVNode("",!0)]))]),a.error?(t.openBlock(),t.createElementBlock("p",hD,t.toDisplayString(a.errorMessage||a.error),1)):a.helperText?(t.openBlock(),t.createElementBlock("p",uD,t.toDisplayString(a.helperText),1)):t.createCommentVNode("",!0)],64))],10,NP)),[[t.vShow,a.visible]])}});function j_(a){var e,n,o="";if(typeof a=="string"||typeof a=="number")o+=a;else if(typeof a=="object")if(Array.isArray(a)){var r=a.length;for(e=0;e<r;e++)a[e]&&(n=j_(a[e]))&&(o&&(o+=" "),o+=n)}else for(n in a)a[n]&&(o&&(o+=" "),o+=n);return o}function O_(){for(var a,e,n=0,o="",r=arguments.length;n<r;n++)(a=arguments[n])&&(e=j_(a))&&(o&&(o+=" "),o+=e);return o}const pD=(a,e)=>{const n=new Array(a.length+e.length);for(let o=0;o<a.length;o++)n[o]=a[o];for(let o=0;o<e.length;o++)n[a.length+o]=e[o];return n},yD=(a,e)=>({classGroupId:a,validator:e}),F_=(a=new Map,e=null,n)=>({nextPart:a,validators:e,classGroupId:n}),fL="-",R_=[],fD="arbitrary..",kD=a=>{const e=gD(a),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=a;return{getClassGroupId:s=>{if(s.startsWith("[")&&s.endsWith("]"))return mD(s);const c=s.split(fL),d=c[0]===""&&c.length>1?1:0;return N_(c,d,e)},getConflictingClassGroupIds:(s,c)=>{if(c){const d=o[s],h=n[s];return d?h?pD(h,d):d:h||R_}return n[s]||R_}}},N_=(a,e,n)=>{if(a.length-e===0)return n.classGroupId;const r=a[e],i=n.nextPart.get(r);if(i){const h=N_(a,e+1,i);if(h)return h}const s=n.validators;if(s===null)return;const c=e===0?a.join(fL):a.slice(e).join(fL),d=s.length;for(let h=0;h<d;h++){const u=s[h];if(u.validator(c))return u.classGroupId}},mD=a=>a.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const e=a.slice(1,-1),n=e.indexOf(":"),o=e.slice(0,n);return o?fD+o:void 0})(),gD=a=>{const{theme:e,classGroups:n}=a;return MD(n,e)},MD=(a,e)=>{const n=F_();for(const o in a){const r=a[o];TS(r,n,o,e)}return n},TS=(a,e,n,o)=>{const r=a.length;for(let i=0;i<r;i++){const s=a[i];bD(s,e,n,o)}},bD=(a,e,n,o)=>{if(typeof a=="string"){xD(a,e,n);return}if(typeof a=="function"){wD(a,e,n,o);return}vD(a,e,n,o)},xD=(a,e,n)=>{const o=a===""?e:$_(e,a);o.classGroupId=n},wD=(a,e,n,o)=>{if(CD(a)){TS(a(o),e,n,o);return}e.validators===null&&(e.validators=[]),e.validators.push(yD(n,a))},vD=(a,e,n,o)=>{const r=Object.entries(a),i=r.length;for(let s=0;s<i;s++){const[c,d]=r[s];TS(d,$_(e,c),n,o)}},$_=(a,e)=>{let n=a;const o=e.split(fL),r=o.length;for(let i=0;i<r;i++){const s=o[i];let c=n.nextPart.get(s);c||(c=F_(),n.nextPart.set(s,c)),n=c}return n},CD=a=>"isThemeGetter"in a&&a.isThemeGetter===!0,LD=a=>{if(a<1)return{get:()=>{},set:()=>{}};let e=0,n=Object.create(null),o=Object.create(null);const r=(i,s)=>{n[i]=s,e++,e>a&&(e=0,o=n,n=Object.create(null))};return{get(i){let s=n[i];if(s!==void 0)return s;if((s=o[i])!==void 0)return r(i,s),s},set(i,s){i in n?n[i]=s:r(i,s)}}},HS="!",U_=":",SD=[],W_=(a,e,n,o,r)=>({modifiers:a,hasImportantModifier:e,baseClassName:n,maybePostfixModifierPosition:o,isExternal:r}),ID=a=>{const{prefix:e,experimentalParseClassName:n}=a;let o=r=>{const i=[];let s=0,c=0,d=0,h;const u=r.length;for(let m=0;m<u;m++){const g=r[m];if(s===0&&c===0){if(g===U_){i.push(r.slice(d,m)),d=m+1;continue}if(g==="/"){h=m;continue}}g==="["?s++:g==="]"?s--:g==="("?c++:g===")"&&c--}const p=i.length===0?r:r.slice(d);let y=p,f=!1;p.endsWith(HS)?(y=p.slice(0,-1),f=!0):p.startsWith(HS)&&(y=p.slice(1),f=!0);const k=h&&h>d?h-d:void 0;return W_(i,f,y,k)};if(e){const r=e+U_,i=o;o=s=>s.startsWith(r)?i(s.slice(r.length)):W_(SD,!1,s,void 0,!0)}if(n){const r=o;o=i=>n({className:i,parseClassName:r})}return o},_D=a=>{const e=new Map;return a.orderSensitiveModifiers.forEach((n,o)=>{e.set(n,1e6+o)}),n=>{const o=[];let r=[];for(let i=0;i<n.length;i++){const s=n[i],c=s[0]==="[",d=e.has(s);c||d?(r.length>0&&(r.sort(),o.push(...r),r=[]),o.push(s)):r.push(s)}return r.length>0&&(r.sort(),o.push(...r)),o}},AD=a=>({cache:LD(a.cacheSize),parseClassName:ID(a),sortModifiers:_D(a),...kD(a)}),BD=/\s+/,VD=(a,e)=>{const{parseClassName:n,getClassGroupId:o,getConflictingClassGroupIds:r,sortModifiers:i}=e,s=[],c=a.trim().split(BD);let d="";for(let h=c.length-1;h>=0;h-=1){const u=c[h],{isExternal:p,modifiers:y,hasImportantModifier:f,baseClassName:k,maybePostfixModifierPosition:m}=n(u);if(p){d=u+(d.length>0?" "+d:d);continue}let g=!!m,w=o(g?k.substring(0,m):k);if(!w){if(!g){d=u+(d.length>0?" "+d:d);continue}if(w=o(k),!w){d=u+(d.length>0?" "+d:d);continue}g=!1}const S=y.length===0?"":y.length===1?y[0]:i(y).join(":"),v=f?S+HS:S,M=v+w;if(s.indexOf(M)>-1)continue;s.push(M);const C=r(w,g);for(let x=0;x<C.length;++x){const b=C[x];s.push(v+b)}d=u+(d.length>0?" "+d:d)}return d},zD=(...a)=>{let e=0,n,o,r="";for(;e<a.length;)(n=a[e++])&&(o=G_(n))&&(r&&(r+=" "),r+=o);return r},G_=a=>{if(typeof a=="string")return a;let e,n="";for(let o=0;o<a.length;o++)a[o]&&(e=G_(a[o]))&&(n&&(n+=" "),n+=e);return n},qD=(a,...e)=>{let n,o,r,i;const s=d=>{const h=e.reduce((u,p)=>p(u),a());return n=AD(h),o=n.cache.get,r=n.cache.set,i=c,c(d)},c=d=>{const h=o(d);if(h)return h;const u=VD(d,n);return r(d,u),u};return i=s,(...d)=>i(zD(...d))},PD=[],je=a=>{const e=n=>n[a]||PD;return e.isThemeGetter=!0,e},K_=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,X_=/^\((?:(\w[\w-]*):)?(.+)\)$/i,DD=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,ED=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,TD=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,HD=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,jD=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,OD=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ua=a=>DD.test(a),Me=a=>!!a&&!Number.isNaN(Number(a)),pa=a=>!!a&&Number.isInteger(Number(a)),jS=a=>a.endsWith("%")&&Me(a.slice(0,-1)),Gt=a=>ED.test(a),Z_=()=>!0,FD=a=>TD.test(a)&&!HD.test(a),OS=()=>!1,RD=a=>jD.test(a),ND=a=>OD.test(a),$D=a=>!re(a)&&!ie(a),UD=a=>ya(a,aA,OS),re=a=>K_.test(a),Ni=a=>ya(a,nA,FD),Y_=a=>ya(a,JD,Me),WD=a=>ya(a,rA,Z_),GD=a=>ya(a,oA,OS),Q_=a=>ya(a,eA,OS),KD=a=>ya(a,tA,ND),kL=a=>ya(a,iA,RD),ie=a=>X_.test(a),r1=a=>$i(a,nA),XD=a=>$i(a,oA),J_=a=>$i(a,eA),ZD=a=>$i(a,aA),YD=a=>$i(a,tA),mL=a=>$i(a,iA,!0),QD=a=>$i(a,rA,!0),ya=(a,e,n)=>{const o=K_.exec(a);return o?o[1]?e(o[1]):n(o[2]):!1},$i=(a,e,n=!1)=>{const o=X_.exec(a);return o?o[1]?e(o[1]):n:!1},eA=a=>a==="position"||a==="percentage",tA=a=>a==="image"||a==="url",aA=a=>a==="length"||a==="size"||a==="bg-size",nA=a=>a==="length",JD=a=>a==="number",oA=a=>a==="family-name",rA=a=>a==="number"||a==="weight",iA=a=>a==="shadow",eE=qD(()=>{const a=je("color"),e=je("font"),n=je("text"),o=je("font-weight"),r=je("tracking"),i=je("leading"),s=je("breakpoint"),c=je("container"),d=je("spacing"),h=je("radius"),u=je("shadow"),p=je("inset-shadow"),y=je("text-shadow"),f=je("drop-shadow"),k=je("blur"),m=je("perspective"),g=je("aspect"),w=je("ease"),S=je("animate"),v=()=>["auto","avoid","all","avoid-page","page","left","right","column"],M=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],C=()=>[...M(),ie,re],x=()=>["auto","hidden","clip","visible","scroll"],b=()=>["auto","contain","none"],L=()=>[ie,re,d],I=()=>[ua,"full","auto",...L()],z=()=>[pa,"none","subgrid",ie,re],A=()=>["auto",{span:["full",pa,ie,re]},pa,ie,re],q=()=>[pa,"auto",ie,re],O=()=>["auto","min","max","fr",ie,re],H=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],W=()=>["start","end","center","stretch","center-safe","end-safe"],T=()=>["auto",...L()],j=()=>[ua,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...L()],R=()=>[ua,"screen","full","dvw","lvw","svw","min","max","fit",...L()],Y=()=>[ua,"screen","full","lh","dvh","lvh","svh","min","max","fit",...L()],B=()=>[a,ie,re],V=()=>[...M(),J_,Q_,{position:[ie,re]}],U=()=>["no-repeat",{repeat:["","x","y","space","round"]}],oe=()=>["auto","cover","contain",ZD,UD,{size:[ie,re]}],ee=()=>[jS,r1,Ni],de=()=>["","none","full",h,ie,re],ce=()=>["",Me,r1,Ni],ue=()=>["solid","dashed","dotted","double"],ve=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],le=()=>[Me,jS,J_,Q_],X=()=>["","none",k,ie,re],P=()=>["none",Me,ie,re],$=()=>["none",Me,ie,re],Q=()=>[Me,ie,re],pe=()=>[ua,"full",...L()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Gt],breakpoint:[Gt],color:[Z_],container:[Gt],"drop-shadow":[Gt],ease:["in","out","in-out"],font:[$D],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Gt],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Gt],shadow:[Gt],spacing:["px",Me],text:[Gt],"text-shadow":[Gt],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ua,re,ie,g]}],container:["container"],columns:[{columns:[Me,re,ie,c]}],"break-after":[{"break-after":v()}],"break-before":[{"break-before":v()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:C()}],overflow:[{overflow:x()}],"overflow-x":[{"overflow-x":x()}],"overflow-y":[{"overflow-y":x()}],overscroll:[{overscroll:b()}],"overscroll-x":[{"overscroll-x":b()}],"overscroll-y":[{"overscroll-y":b()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:I()}],"inset-x":[{"inset-x":I()}],"inset-y":[{"inset-y":I()}],start:[{"inset-s":I(),start:I()}],end:[{"inset-e":I(),end:I()}],"inset-bs":[{"inset-bs":I()}],"inset-be":[{"inset-be":I()}],top:[{top:I()}],right:[{right:I()}],bottom:[{bottom:I()}],left:[{left:I()}],visibility:["visible","invisible","collapse"],z:[{z:[pa,"auto",ie,re]}],basis:[{basis:[ua,"full","auto",c,...L()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Me,ua,"auto","initial","none",re]}],grow:[{grow:["",Me,ie,re]}],shrink:[{shrink:["",Me,ie,re]}],order:[{order:[pa,"first","last","none",ie,re]}],"grid-cols":[{"grid-cols":z()}],"col-start-end":[{col:A()}],"col-start":[{"col-start":q()}],"col-end":[{"col-end":q()}],"grid-rows":[{"grid-rows":z()}],"row-start-end":[{row:A()}],"row-start":[{"row-start":q()}],"row-end":[{"row-end":q()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":O()}],"auto-rows":[{"auto-rows":O()}],gap:[{gap:L()}],"gap-x":[{"gap-x":L()}],"gap-y":[{"gap-y":L()}],"justify-content":[{justify:[...H(),"normal"]}],"justify-items":[{"justify-items":[...W(),"normal"]}],"justify-self":[{"justify-self":["auto",...W()]}],"align-content":[{content:["normal",...H()]}],"align-items":[{items:[...W(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...W(),{baseline:["","last"]}]}],"place-content":[{"place-content":H()}],"place-items":[{"place-items":[...W(),"baseline"]}],"place-self":[{"place-self":["auto",...W()]}],p:[{p:L()}],px:[{px:L()}],py:[{py:L()}],ps:[{ps:L()}],pe:[{pe:L()}],pbs:[{pbs:L()}],pbe:[{pbe:L()}],pt:[{pt:L()}],pr:[{pr:L()}],pb:[{pb:L()}],pl:[{pl:L()}],m:[{m:T()}],mx:[{mx:T()}],my:[{my:T()}],ms:[{ms:T()}],me:[{me:T()}],mbs:[{mbs:T()}],mbe:[{mbe:T()}],mt:[{mt:T()}],mr:[{mr:T()}],mb:[{mb:T()}],ml:[{ml:T()}],"space-x":[{"space-x":L()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":L()}],"space-y-reverse":["space-y-reverse"],size:[{size:j()}],"inline-size":[{inline:["auto",...R()]}],"min-inline-size":[{"min-inline":["auto",...R()]}],"max-inline-size":[{"max-inline":["none",...R()]}],"block-size":[{block:["auto",...Y()]}],"min-block-size":[{"min-block":["auto",...Y()]}],"max-block-size":[{"max-block":["none",...Y()]}],w:[{w:[c,"screen",...j()]}],"min-w":[{"min-w":[c,"screen","none",...j()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[s]},...j()]}],h:[{h:["screen","lh",...j()]}],"min-h":[{"min-h":["screen","lh","none",...j()]}],"max-h":[{"max-h":["screen","lh",...j()]}],"font-size":[{text:["base",n,r1,Ni]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,QD,WD]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",jS,re]}],"font-family":[{font:[XD,GD,e]}],"font-features":[{"font-features":[re]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[r,ie,re]}],"line-clamp":[{"line-clamp":[Me,"none",ie,Y_]}],leading:[{leading:[i,...L()]}],"list-image":[{"list-image":["none",ie,re]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ie,re]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:B()}],"text-color":[{text:B()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ue(),"wavy"]}],"text-decoration-thickness":[{decoration:[Me,"from-font","auto",ie,Ni]}],"text-decoration-color":[{decoration:B()}],"underline-offset":[{"underline-offset":[Me,"auto",ie,re]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:L()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ie,re]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ie,re]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:V()}],"bg-repeat":[{bg:U()}],"bg-size":[{bg:oe()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},pa,ie,re],radial:["",ie,re],conic:[pa,ie,re]},YD,KD]}],"bg-color":[{bg:B()}],"gradient-from-pos":[{from:ee()}],"gradient-via-pos":[{via:ee()}],"gradient-to-pos":[{to:ee()}],"gradient-from":[{from:B()}],"gradient-via":[{via:B()}],"gradient-to":[{to:B()}],rounded:[{rounded:de()}],"rounded-s":[{"rounded-s":de()}],"rounded-e":[{"rounded-e":de()}],"rounded-t":[{"rounded-t":de()}],"rounded-r":[{"rounded-r":de()}],"rounded-b":[{"rounded-b":de()}],"rounded-l":[{"rounded-l":de()}],"rounded-ss":[{"rounded-ss":de()}],"rounded-se":[{"rounded-se":de()}],"rounded-ee":[{"rounded-ee":de()}],"rounded-es":[{"rounded-es":de()}],"rounded-tl":[{"rounded-tl":de()}],"rounded-tr":[{"rounded-tr":de()}],"rounded-br":[{"rounded-br":de()}],"rounded-bl":[{"rounded-bl":de()}],"border-w":[{border:ce()}],"border-w-x":[{"border-x":ce()}],"border-w-y":[{"border-y":ce()}],"border-w-s":[{"border-s":ce()}],"border-w-e":[{"border-e":ce()}],"border-w-bs":[{"border-bs":ce()}],"border-w-be":[{"border-be":ce()}],"border-w-t":[{"border-t":ce()}],"border-w-r":[{"border-r":ce()}],"border-w-b":[{"border-b":ce()}],"border-w-l":[{"border-l":ce()}],"divide-x":[{"divide-x":ce()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ce()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ue(),"hidden","none"]}],"divide-style":[{divide:[...ue(),"hidden","none"]}],"border-color":[{border:B()}],"border-color-x":[{"border-x":B()}],"border-color-y":[{"border-y":B()}],"border-color-s":[{"border-s":B()}],"border-color-e":[{"border-e":B()}],"border-color-bs":[{"border-bs":B()}],"border-color-be":[{"border-be":B()}],"border-color-t":[{"border-t":B()}],"border-color-r":[{"border-r":B()}],"border-color-b":[{"border-b":B()}],"border-color-l":[{"border-l":B()}],"divide-color":[{divide:B()}],"outline-style":[{outline:[...ue(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Me,ie,re]}],"outline-w":[{outline:["",Me,r1,Ni]}],"outline-color":[{outline:B()}],shadow:[{shadow:["","none",u,mL,kL]}],"shadow-color":[{shadow:B()}],"inset-shadow":[{"inset-shadow":["none",p,mL,kL]}],"inset-shadow-color":[{"inset-shadow":B()}],"ring-w":[{ring:ce()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:B()}],"ring-offset-w":[{"ring-offset":[Me,Ni]}],"ring-offset-color":[{"ring-offset":B()}],"inset-ring-w":[{"inset-ring":ce()}],"inset-ring-color":[{"inset-ring":B()}],"text-shadow":[{"text-shadow":["none",y,mL,kL]}],"text-shadow-color":[{"text-shadow":B()}],opacity:[{opacity:[Me,ie,re]}],"mix-blend":[{"mix-blend":[...ve(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ve()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Me]}],"mask-image-linear-from-pos":[{"mask-linear-from":le()}],"mask-image-linear-to-pos":[{"mask-linear-to":le()}],"mask-image-linear-from-color":[{"mask-linear-from":B()}],"mask-image-linear-to-color":[{"mask-linear-to":B()}],"mask-image-t-from-pos":[{"mask-t-from":le()}],"mask-image-t-to-pos":[{"mask-t-to":le()}],"mask-image-t-from-color":[{"mask-t-from":B()}],"mask-image-t-to-color":[{"mask-t-to":B()}],"mask-image-r-from-pos":[{"mask-r-from":le()}],"mask-image-r-to-pos":[{"mask-r-to":le()}],"mask-image-r-from-color":[{"mask-r-from":B()}],"mask-image-r-to-color":[{"mask-r-to":B()}],"mask-image-b-from-pos":[{"mask-b-from":le()}],"mask-image-b-to-pos":[{"mask-b-to":le()}],"mask-image-b-from-color":[{"mask-b-from":B()}],"mask-image-b-to-color":[{"mask-b-to":B()}],"mask-image-l-from-pos":[{"mask-l-from":le()}],"mask-image-l-to-pos":[{"mask-l-to":le()}],"mask-image-l-from-color":[{"mask-l-from":B()}],"mask-image-l-to-color":[{"mask-l-to":B()}],"mask-image-x-from-pos":[{"mask-x-from":le()}],"mask-image-x-to-pos":[{"mask-x-to":le()}],"mask-image-x-from-color":[{"mask-x-from":B()}],"mask-image-x-to-color":[{"mask-x-to":B()}],"mask-image-y-from-pos":[{"mask-y-from":le()}],"mask-image-y-to-pos":[{"mask-y-to":le()}],"mask-image-y-from-color":[{"mask-y-from":B()}],"mask-image-y-to-color":[{"mask-y-to":B()}],"mask-image-radial":[{"mask-radial":[ie,re]}],"mask-image-radial-from-pos":[{"mask-radial-from":le()}],"mask-image-radial-to-pos":[{"mask-radial-to":le()}],"mask-image-radial-from-color":[{"mask-radial-from":B()}],"mask-image-radial-to-color":[{"mask-radial-to":B()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":M()}],"mask-image-conic-pos":[{"mask-conic":[Me]}],"mask-image-conic-from-pos":[{"mask-conic-from":le()}],"mask-image-conic-to-pos":[{"mask-conic-to":le()}],"mask-image-conic-from-color":[{"mask-conic-from":B()}],"mask-image-conic-to-color":[{"mask-conic-to":B()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:V()}],"mask-repeat":[{mask:U()}],"mask-size":[{mask:oe()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ie,re]}],filter:[{filter:["","none",ie,re]}],blur:[{blur:X()}],brightness:[{brightness:[Me,ie,re]}],contrast:[{contrast:[Me,ie,re]}],"drop-shadow":[{"drop-shadow":["","none",f,mL,kL]}],"drop-shadow-color":[{"drop-shadow":B()}],grayscale:[{grayscale:["",Me,ie,re]}],"hue-rotate":[{"hue-rotate":[Me,ie,re]}],invert:[{invert:["",Me,ie,re]}],saturate:[{saturate:[Me,ie,re]}],sepia:[{sepia:["",Me,ie,re]}],"backdrop-filter":[{"backdrop-filter":["","none",ie,re]}],"backdrop-blur":[{"backdrop-blur":X()}],"backdrop-brightness":[{"backdrop-brightness":[Me,ie,re]}],"backdrop-contrast":[{"backdrop-contrast":[Me,ie,re]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Me,ie,re]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Me,ie,re]}],"backdrop-invert":[{"backdrop-invert":["",Me,ie,re]}],"backdrop-opacity":[{"backdrop-opacity":[Me,ie,re]}],"backdrop-saturate":[{"backdrop-saturate":[Me,ie,re]}],"backdrop-sepia":[{"backdrop-sepia":["",Me,ie,re]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":L()}],"border-spacing-x":[{"border-spacing-x":L()}],"border-spacing-y":[{"border-spacing-y":L()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ie,re]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Me,"initial",ie,re]}],ease:[{ease:["linear","initial",w,ie,re]}],delay:[{delay:[Me,ie,re]}],animate:[{animate:["none",S,ie,re]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,ie,re]}],"perspective-origin":[{"perspective-origin":C()}],rotate:[{rotate:P()}],"rotate-x":[{"rotate-x":P()}],"rotate-y":[{"rotate-y":P()}],"rotate-z":[{"rotate-z":P()}],scale:[{scale:$()}],"scale-x":[{"scale-x":$()}],"scale-y":[{"scale-y":$()}],"scale-z":[{"scale-z":$()}],"scale-3d":["scale-3d"],skew:[{skew:Q()}],"skew-x":[{"skew-x":Q()}],"skew-y":[{"skew-y":Q()}],transform:[{transform:[ie,re,"","none","gpu","cpu"]}],"transform-origin":[{origin:C()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:pe()}],"translate-x":[{"translate-x":pe()}],"translate-y":[{"translate-y":pe()}],"translate-z":[{"translate-z":pe()}],"translate-none":["translate-none"],accent:[{accent:B()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:B()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ie,re]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":L()}],"scroll-mx":[{"scroll-mx":L()}],"scroll-my":[{"scroll-my":L()}],"scroll-ms":[{"scroll-ms":L()}],"scroll-me":[{"scroll-me":L()}],"scroll-mbs":[{"scroll-mbs":L()}],"scroll-mbe":[{"scroll-mbe":L()}],"scroll-mt":[{"scroll-mt":L()}],"scroll-mr":[{"scroll-mr":L()}],"scroll-mb":[{"scroll-mb":L()}],"scroll-ml":[{"scroll-ml":L()}],"scroll-p":[{"scroll-p":L()}],"scroll-px":[{"scroll-px":L()}],"scroll-py":[{"scroll-py":L()}],"scroll-ps":[{"scroll-ps":L()}],"scroll-pe":[{"scroll-pe":L()}],"scroll-pbs":[{"scroll-pbs":L()}],"scroll-pbe":[{"scroll-pbe":L()}],"scroll-pt":[{"scroll-pt":L()}],"scroll-pr":[{"scroll-pr":L()}],"scroll-pb":[{"scroll-pb":L()}],"scroll-pl":[{"scroll-pl":L()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ie,re]}],fill:[{fill:["none",...B()]}],"stroke-w":[{stroke:[Me,r1,Ni,Y_]}],stroke:[{stroke:["none",...B()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function ke(...a){return eE(O_(a))}function tE(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var FS={},RS={},gL={exports:{}},sA;function aE(){if(sA)return gL.exports;sA=1;var a=String,e=function(){return{isColorSupported:!1,reset:a,bold:a,dim:a,italic:a,underline:a,inverse:a,hidden:a,strikethrough:a,black:a,red:a,green:a,yellow:a,blue:a,magenta:a,cyan:a,white:a,gray:a,bgBlack:a,bgRed:a,bgGreen:a,bgYellow:a,bgBlue:a,bgMagenta:a,bgCyan:a,bgWhite:a,blackBright:a,redBright:a,greenBright:a,yellowBright:a,blueBright:a,magentaBright:a,cyanBright:a,whiteBright:a,bgBlackBright:a,bgRedBright:a,bgGreenBright:a,bgYellowBright:a,bgBlueBright:a,bgMagentaBright:a,bgCyanBright:a,bgWhiteBright:a}};return gL.exports=e(),gL.exports.createColors=e,gL.exports}var lA;function nE(){return lA||(lA=1,(function(a){var e={};Object.defineProperty(a,"__esModule",{value:!0});function n(h,u){for(var p in u)Object.defineProperty(h,p,{enumerable:!0,get:u[p]})}n(a,{dim:function(){return c},default:function(){return d}});const o=r(aE());function r(h){return h&&h.__esModule?h:{default:h}}let i=new Set;function s(h,u,p){typeof process<"u"&&e.JEST_WORKER_ID||p&&i.has(p)||(p&&i.add(p),console.warn(""),u.forEach(y=>console.warn(h,"-",y)))}function c(h){return o.default.dim(h)}const d={info(h,u){s(o.default.bold(o.default.cyan("info")),...Array.isArray(h)?[h]:[u,h])},warn(h,u){s(o.default.bold(o.default.yellow("warn")),...Array.isArray(h)?[h]:[u,h])},risk(h,u){s(o.default.bold(o.default.magenta("risk")),...Array.isArray(h)?[h]:[u,h])}}})(RS)),RS}var cA;function oE(){return cA||(cA=1,(function(a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return r}});const e=n(nE());function n(i){return i&&i.__esModule?i:{default:i}}function o({version:i,from:s,to:c}){e.default.warn(`${s}-color-renamed`,[`As of Tailwind CSS ${i}, \`${s}\` has been renamed to \`${c}\`.`,"Update your configuration file to silence this warning."])}const r={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},get lightBlue(){return o({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return o({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return o({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return o({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return o({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}})(FS)),FS}var NS,dA;function rE(){if(dA)return NS;dA=1;let a=oE();return NS=(a.__esModule?a:{default:a}).default,NS}var iE=rE();const sE=tE(iE),hA=a=>typeof a=="boolean"?`${a}`:a===0?"0":a,uA=O_,i1=(a,e)=>n=>{var o;if((e==null?void 0:e.variants)==null)return uA(a,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:r,defaultVariants:i}=e,s=Object.keys(r).map(h=>{const u=n==null?void 0:n[h],p=i==null?void 0:i[h];if(u===null)return null;const y=hA(u)||hA(p);return r[h][y]}),c=n&&Object.entries(n).reduce((h,u)=>{let[p,y]=u;return y===void 0||(h[p]=y),h},{}),d=e==null||(o=e.compoundVariants)===null||o===void 0?void 0:o.reduce((h,u)=>{let{class:p,className:y,...f}=u;return Object.entries(f).every(k=>{let[m,g]=k;return Array.isArray(g)?g.includes({...i,...c}[m]):{...i,...c}[m]===g})?[...h,p,y]:h},[]);return uA(a,s,d,n==null?void 0:n.class,n==null?void 0:n.className)};function pA(a){return typeof a=="string"?`'${a}'`:new lE().serialize(a)}const lE=(function(){var e;class a{constructor(){yq(this,e,new Map)}compare(o,r){const i=typeof o,s=typeof r;return i==="string"&&s==="string"?o.localeCompare(r):i==="number"&&s==="number"?o-r:String.prototype.localeCompare.call(this.serialize(o,!0),this.serialize(r,!0))}serialize(o,r){if(o===null)return"null";switch(typeof o){case"string":return r?o:`'${o}'`;case"bigint":return`${o}n`;case"object":return this.$object(o);case"function":return this.$function(o)}return String(o)}serializeObject(o){const r=Object.prototype.toString.call(o);if(r!=="[object Object]")return this.serializeBuiltInType(r.length<10?`unknown:${r}`:r.slice(8,-1),o);const i=o.constructor,s=i===Object||i===void 0?"":i.name;if(s!==""&&globalThis[s]===i)return this.serializeBuiltInType(s,o);if(typeof o.toJSON=="function"){const c=o.toJSON();return s+(c!==null&&typeof c=="object"?this.$object(c):`(${this.serialize(c)})`)}return this.serializeObjectEntries(s,Object.entries(o))}serializeBuiltInType(o,r){const i=this["$"+o];if(i)return i.call(this,r);if(typeof(r==null?void 0:r.entries)=="function")return this.serializeObjectEntries(o,r.entries());throw new Error(`Cannot serialize ${o}`)}serializeObjectEntries(o,r){const i=Array.from(r).sort((c,d)=>this.compare(c[0],d[0]));let s=`${o}{`;for(let c=0;c<i.length;c++){const[d,h]=i[c];s+=`${this.serialize(d,!0)}:${this.serialize(h)}`,c<i.length-1&&(s+=",")}return s+"}"}$object(o){let r=T1(this,e).get(o);return r===void 0&&(T1(this,e).set(o,`#${T1(this,e).size}`),r=this.serializeObject(o),T1(this,e).set(o,r)),r}$function(o){const r=Function.prototype.toString.call(o);return r.slice(-15)==="[native code] }"?`${o.name||""}()[native]`:`${o.name}(${o.length})${r.replace(/\s*\n\s*/g,"")}`}$Array(o){let r="[";for(let i=0;i<o.length;i++)r+=this.serialize(o[i]),i<o.length-1&&(r+=",");return r+"]"}$Date(o){try{return`Date(${o.toISOString()})`}catch{return"Date(null)"}}$ArrayBuffer(o){return`ArrayBuffer[${new Uint8Array(o).join(",")}]`}$Set(o){return`Set${this.$Array(Array.from(o).sort((r,i)=>this.compare(r,i)))}`}$Map(o){return this.serializeObjectEntries("Map",o.entries())}}e=new WeakMap;for(const n of["Error","RegExp","URL"])a.prototype["$"+n]=function(o){return`${n}(${o})`};for(const n of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])a.prototype["$"+n]=function(o){return`${n}[${o.join(",")}]`};for(const n of["BigInt64Array","BigUint64Array"])a.prototype["$"+n]=function(o){return`${n}[${o.join("n,")}${o.length>0?"n":""}]`};return a})();function cE(a,e){return a===e||pA(a)===pA(e)}function yA(a,e=Number.NEGATIVE_INFINITY,n=Number.POSITIVE_INFINITY){return Math.min(n,Math.max(e,a))}function st(a,e){const n=typeof a=="string"&&!e?`${a}Context`:e,o=Symbol(n);return[s=>{const c=t.inject(o,s);if(c||c===null)return c;throw new Error(`Injection \`${o.toString()}\` not found. Component must be used within ${Array.isArray(a)?`one of the following components: ${a.join(", ")}`:`\`${a}\``}`)},s=>(t.provide(o,s),s)]}function at(){let a=document.activeElement;if(a==null)return null;for(;a!=null&&a.shadowRoot!=null&&a.shadowRoot.activeElement!=null;)a=a.shadowRoot.activeElement;return a}function $S(a,e,n){const o=n.originalEvent.target,r=new CustomEvent(a,{bubbles:!1,cancelable:!0,detail:n});e&&o.addEventListener(a,e,{once:!0}),o.dispatchEvent(r)}function US(a){return a==null}function WS(a){return a?a.flatMap(e=>e.type===t.Fragment?WS(e.children):[e]):[]}const[ML]=st("ConfigProvider");function dE(a,e){var n;const o=t.shallowRef();return t.watchEffect(()=>{o.value=a()},{...e,flush:(n=e==null?void 0:e.flush)!==null&&n!==void 0?n:"sync"}),t.readonly(o)}function ps(a,e){return t.getCurrentScope()?(t.onScopeDispose(a,e),!0):!1}function hE(){const a=new Set,e=i=>{a.delete(i)};return{on:i=>{a.add(i);const s=()=>e(i);return ps(s),{off:s}},off:e,trigger:(...i)=>Promise.all(Array.from(a).map(s=>s(...i))),clear:()=>{a.clear()}}}function uE(a){let e=!1,n;const o=t.effectScope(!0);return((...r)=>(e||(n=o.run(()=>a(...r)),e=!0),n))}const GS=new WeakMap,pE=(...a)=>{var e;const n=a[0],o=(e=t.getCurrentInstance())===null||e===void 0?void 0:e.proxy,r=o??t.getCurrentScope();if(r==null&&!t.hasInjectionContext())throw new Error("injectLocal must be called in setup");return r&&GS.has(r)&&n in GS.get(r)?GS.get(r)[n]:t.inject(...a)},lt=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const yE=a=>typeof a<"u",fE=Object.prototype.toString,kE=a=>fE.call(a)==="[object Object]",fA=mE();function mE(){var a,e,n;return lt&&!!(!((a=window)===null||a===void 0||(a=a.navigator)===null||a===void 0)&&a.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((e=window)===null||e===void 0||(e=e.navigator)===null||e===void 0?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test((n=window)===null||n===void 0?void 0:n.navigator.userAgent))}function gE(a,e){var n;if(typeof a=="number")return a+e;const o=((n=a.match(/^-?\d+\.?\d*/))===null||n===void 0?void 0:n[0])||"",r=a.slice(o.length),i=Number.parseFloat(o)+e;return Number.isNaN(i)?a:i+r}function s1(a){return a.endsWith("rem")?Number.parseFloat(a)*16:Number.parseFloat(a)}function KS(a){return Array.isArray(a)?a:[a]}function kA(a){return t.getCurrentInstance()}function ME(a){if(!lt)return a;let e=0,n,o;const r=()=>{e-=1,o&&e<=0&&(o.stop(),n=void 0,o=void 0)};return((...i)=>(e+=1,o||(o=t.effectScope(!0),n=o.run(()=>a(...i))),ps(r),n))}function bE(a){return t.isRef(a)?t.reactive(new Proxy({},{get(e,n,o){return t.unref(Reflect.get(a.value,n,o))},set(e,n,o){return t.isRef(a.value[n])&&!t.isRef(o)?a.value[n].value=o:a.value[n]=o,!0},deleteProperty(e,n){return Reflect.deleteProperty(a.value,n)},has(e,n){return Reflect.has(a.value,n)},ownKeys(){return Object.keys(a.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}})):t.reactive(a)}function xE(a){return bE(t.computed(a))}function Ee(a,...e){const n=e.flat(),o=n[0];return xE(()=>Object.fromEntries(typeof o=="function"?Object.entries(t.toRefs(a)).filter(([r,i])=>!o(t.toValue(i),r)):Object.entries(t.toRefs(a)).filter(r=>!n.includes(r[0]))))}function mA(a,e=1e4){return t.customRef((n,o)=>{let r=t.toValue(a),i;const s=()=>setTimeout(()=>{r=t.toValue(a),o()},t.toValue(e));return ps(()=>{clearTimeout(i)}),{get(){return n(),r},set(c){r=c,o(),clearTimeout(i),i=s()}}})}function wE(a,e){kA()&&t.onBeforeUnmount(a,e)}function vE(a,e=!0,n){kA()?t.onMounted(a,n):e?a():t.nextTick(a)}function gA(a,e,n={}){const{immediate:o=!0,immediateCallback:r=!1}=n,i=t.shallowRef(!1);let s;function c(){s&&(clearTimeout(s),s=void 0)}function d(){i.value=!1,c()}function h(...u){r&&a(),c(),i.value=!0,s=setTimeout(()=>{i.value=!1,s=void 0,a(...u)},t.toValue(e))}return o&&(i.value=!0,lt&&h()),ps(d),{isPending:t.shallowReadonly(i),start:h,stop:d}}function CE(a,e,n){return t.watch(a,e,{...n,immediate:!0})}const ys=lt?window:void 0;function Et(a){var e;const n=t.toValue(a);return(e=n==null?void 0:n.$el)!==null&&e!==void 0?e:n}function l1(...a){const e=(o,r,i,s)=>(o.addEventListener(r,i,s),()=>o.removeEventListener(r,i,s)),n=t.computed(()=>{const o=KS(t.toValue(a[0])).filter(r=>r!=null);return o.every(r=>typeof r!="string")?o:void 0});return CE(()=>{var o,r;return[(o=(r=n.value)===null||r===void 0?void 0:r.map(i=>Et(i)))!==null&&o!==void 0?o:[ys].filter(i=>i!=null),KS(t.toValue(n.value?a[1]:a[0])),KS(t.unref(n.value?a[2]:a[1])),t.toValue(n.value?a[3]:a[2])]},([o,r,i,s],c,d)=>{if(!(o!=null&&o.length)||!(r!=null&&r.length)||!(i!=null&&i.length))return;const h=kE(s)?{...s}:s,u=o.flatMap(p=>r.flatMap(y=>i.map(f=>e(p,y,f,h))));d(()=>{u.forEach(p=>p())})},{flush:"post"})}function MA(){const a=t.shallowRef(!1),e=t.getCurrentInstance();return e&&t.onMounted(()=>{a.value=!0},e),a}function bA(a){const e=MA();return t.computed(()=>(e.value,!!a()))}function LE(a){return typeof a=="function"?a:typeof a=="string"?e=>e.key===a:Array.isArray(a)?e=>a.includes(e.key):()=>!0}function SE(...a){let e,n,o={};a.length===3?(e=a[0],n=a[1],o=a[2]):a.length===2?typeof a[1]=="object"?(e=!0,n=a[0],o=a[1]):(e=a[0],n=a[1]):(e=!0,n=a[0]);const{target:r=ys,eventName:i="keydown",passive:s=!1,dedupe:c=!1}=o,d=LE(e);return l1(r,i,u=>{u.repeat&&t.toValue(c)||d(u)&&n(u)},s)}const IE=Symbol("vueuse-ssr-width");function xA(){const a=t.hasInjectionContext()?pE(IE,null):null;return typeof a=="number"?a:void 0}function c1(a,e={}){const{window:n=ys,ssrWidth:o=xA()}=e,r=bA(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),i=t.shallowRef(typeof o=="number"),s=t.shallowRef(),c=t.shallowRef(!1),d=h=>{c.value=h.matches};return t.watchEffect(()=>{if(i.value){i.value=!r.value,c.value=t.toValue(a).split(",").some(h=>{const u=h.includes("not all"),p=h.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),y=h.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let f=!!(p||y);return p&&f&&(f=o>=s1(p[1])),y&&f&&(f=o<=s1(y[1])),u?!f:f});return}r.value&&(s.value=n.matchMedia(t.toValue(a)),c.value=s.value.matches)}),l1(s,"change",d,{passive:!0}),t.computed(()=>c.value)}const _E={sm:640,md:768,lg:1024,xl:1280,"2xl":1536};function AE(a,e={}){function n(f,k){let m=t.toValue(a[t.toValue(f)]);return k!=null&&(m=gE(m,k)),typeof m=="number"&&(m=`${m}px`),m}const{window:o=ys,strategy:r="min-width",ssrWidth:i=xA()}=e,s=typeof i=="number",c=s?t.shallowRef(!1):{value:!0};s&&vE(()=>c.value=!!o);function d(f,k){return!c.value&&s?f==="min"?i>=s1(k):i<=s1(k):o?o.matchMedia(`(${f}-width: ${k})`).matches:!1}const h=f=>c1(()=>`(min-width: ${n(f)})`,e),u=f=>c1(()=>`(max-width: ${n(f)})`,e),p=Object.keys(a).reduce((f,k)=>(Object.defineProperty(f,k,{get:()=>r==="min-width"?h(k):u(k),enumerable:!0,configurable:!0}),f),{});function y(){const f=Object.keys(a).map(k=>[k,p[k],s1(n(k))]).sort((k,m)=>k[2]-m[2]);return t.computed(()=>f.filter(([,k])=>k.value).map(([k])=>k))}return Object.assign(p,{greaterOrEqual:h,smallerOrEqual:u,greater(f){return c1(()=>`(min-width: ${n(f,.1)})`,e)},smaller(f){return c1(()=>`(max-width: ${n(f,-.1)})`,e)},between(f,k){return c1(()=>`(min-width: ${n(f)}) and (max-width: ${n(k,-.1)})`,e)},isGreater(f){return d("min",n(f,.1))},isGreaterOrEqual(f){return d("min",n(f))},isSmaller(f){return d("max",n(f,-.1))},isSmallerOrEqual(f){return d("max",n(f))},isInBetween(f,k){return d("min",n(f))&&d("max",n(k,-.1))},current:y,active(){const f=y();return t.computed(()=>f.value.length===0?"":f.value.at(r==="min-width"?-1:0))}})}function BE(a){return JSON.parse(JSON.stringify(a))}function VE(a,e,n={}){const{window:o=ys,...r}=n;let i;const s=bA(()=>o&&"ResizeObserver"in o),c=()=>{i&&(i.disconnect(),i=void 0)},d=t.watch(t.computed(()=>{const u=t.toValue(a);return Array.isArray(u)?u.map(p=>Et(p)):[Et(u)]}),u=>{if(c(),s.value&&o){i=new ResizeObserver(e);for(const p of u)p&&i.observe(p,r)}},{immediate:!0,flush:"post"}),h=()=>{c(),d()};return ps(h),{isSupported:s,stop:h}}function fs(a,e,n,o={}){var r,i;const{clone:s=!1,passive:c=!1,eventName:d,deep:h=!1,defaultValue:u,shouldEmit:p}=o,y=t.getCurrentInstance(),f=n||(y==null?void 0:y.emit)||(y==null||(r=y.$emit)===null||r===void 0?void 0:r.bind(y))||(y==null||(i=y.proxy)===null||i===void 0||(i=i.$emit)===null||i===void 0?void 0:i.bind(y==null?void 0:y.proxy));let k=d;e||(e="modelValue"),k=k||`update:${e.toString()}`;const m=S=>s?typeof s=="function"?s(S):BE(S):S,g=()=>yE(a[e])?m(a[e]):u,w=S=>{p?p(S)&&f(k,S):f(k,S)};if(c){const S=t.ref(g());let v=!1;return t.watch(()=>a[e],M=>{v||(v=!0,S.value=m(M),t.nextTick(()=>v=!1))}),t.watch(S,M=>{!v&&(M!==a[e]||h)&&w(M)},{deep:h}),S}else return t.computed({get(){return g()},set(S){w(S)}})}function XS(a){if(a===null||typeof a!="object")return!1;const e=Object.getPrototypeOf(a);return e!==null&&e!==Object.prototype&&Object.getPrototypeOf(e)!==null||Symbol.iterator in a?!1:Symbol.toStringTag in a?Object.prototype.toString.call(a)==="[object Module]":!0}function ZS(a,e,n=".",o){if(!XS(e))return ZS(a,{},n,o);const r=Object.assign({},e);for(const i in a){if(i==="__proto__"||i==="constructor")continue;const s=a[i];s!=null&&(o&&o(r,i,s,n)||(Array.isArray(s)&&Array.isArray(r[i])?r[i]=[...s,...r[i]]:XS(s)&&XS(r[i])?r[i]=ZS(s,r[i],(n?`${n}.`:"")+i.toString(),o):r[i]=s))}return r}function zE(a){return(...e)=>e.reduce((n,o)=>ZS(n,o,"",a),{})}const qE=zE(),PE=ME(()=>{const a=t.ref(new Map),e=t.ref(),n=t.computed(()=>{for(const s of a.value.values())if(s)return!0;return!1}),o=ML({scrollBody:t.ref(!0)});let r=null;const i=()=>{document.body.style.paddingRight="",document.body.style.marginRight="",document.body.style.pointerEvents="",document.documentElement.style.removeProperty("--scrollbar-width"),document.body.style.overflow=e.value??"",fA&&(r==null||r()),e.value=void 0};return t.watch(n,(s,c)=>{var p;if(!lt)return;if(!s){c&&i();return}e.value===void 0&&(e.value=document.body.style.overflow);const d=window.innerWidth-document.documentElement.clientWidth,h={padding:d,margin:0},u=(p=o.scrollBody)!=null&&p.value?typeof o.scrollBody.value=="object"?qE({padding:o.scrollBody.value.padding===!0?d:o.scrollBody.value.padding,margin:o.scrollBody.value.margin===!0?d:o.scrollBody.value.margin},h):h:{padding:0,margin:0};d>0&&(document.body.style.paddingRight=typeof u.padding=="number"?`${u.padding}px`:String(u.padding),document.body.style.marginRight=typeof u.margin=="number"?`${u.margin}px`:String(u.margin),document.documentElement.style.setProperty("--scrollbar-width",`${d}px`),document.body.style.overflow="hidden"),fA&&(r=l1(document,"touchmove",y=>DE(y),{passive:!1})),t.nextTick(()=>{document.body.style.pointerEvents="none",document.body.style.overflow="hidden"})},{immediate:!0,flush:"sync"}),a});function wA(a){const e=Math.random().toString(36).substring(2,7),n=PE();n.value.set(e,a??!1);const o=t.computed({get:()=>n.value.get(e)??!1,set:r=>n.value.set(e,r)});return wE(()=>{n.value.delete(e)}),o}function vA(a){const e=window.getComputedStyle(a);if(e.overflowX==="scroll"||e.overflowY==="scroll"||e.overflowX==="auto"&&a.clientWidth<a.scrollWidth||e.overflowY==="auto"&&a.clientHeight<a.scrollHeight)return!0;{const n=a.parentNode;return!(n instanceof Element)||n.tagName==="BODY"?!1:vA(n)}}function DE(a){const e=a||window.event,n=e.target;return n instanceof Element&&vA(n)?!1:e.touches.length>1?!0:(e.preventDefault&&e.cancelable&&e.preventDefault(),!1)}function EE(a){const e=ML({dir:t.ref("ltr")});return t.computed(()=>{var n;return(a==null?void 0:a.value)||((n=e.dir)==null?void 0:n.value)||"ltr"})}function bL(a){const e=t.getCurrentInstance(),n=e==null?void 0:e.type.emits,o={};return n!=null&&n.length||console.warn(`No emitted event found. Please check component: ${e==null?void 0:e.type.__name}`),n==null||n.forEach(r=>{o[t.toHandlerKey(t.camelize(r))]=(...i)=>a(r,...i)}),o}let YS=0;function TE(){t.watchEffect(a=>{if(!lt)return;const e=document.querySelectorAll("[data-reka-focus-guard]");document.body.insertAdjacentElement("afterbegin",e[0]??CA()),document.body.insertAdjacentElement("beforeend",e[1]??CA()),YS++,a(()=>{YS===1&&document.querySelectorAll("[data-reka-focus-guard]").forEach(n=>n.remove()),YS--})})}function CA(){const a=document.createElement("span");return a.setAttribute("data-reka-focus-guard",""),a.tabIndex=0,a.style.outline="none",a.style.opacity="0",a.style.position="fixed",a.style.pointerEvents="none",a}function HE(a){return t.computed(()=>{var e;return t.toValue(a)?!!((e=Et(a))!=null&&e.closest("form")):!0})}function me(){const a=t.getCurrentInstance(),e=t.ref(),n=t.computed(()=>{var s,c;return["#text","#comment"].includes((s=e.value)==null?void 0:s.$el.nodeName)?(c=e.value)==null?void 0:c.$el.nextElementSibling:Et(e)}),o=Object.assign({},a.exposed),r={};for(const s in a.props)Object.defineProperty(r,s,{enumerable:!0,configurable:!0,get:()=>a.props[s]});if(Object.keys(o).length>0)for(const s in o)Object.defineProperty(r,s,{enumerable:!0,configurable:!0,get:()=>o[s]});Object.defineProperty(r,"$el",{enumerable:!0,configurable:!0,get:()=>a.vnode.el}),a.exposed=r;function i(s){if(e.value=s,!!s&&(Object.defineProperty(r,"$el",{enumerable:!0,configurable:!0,get:()=>s instanceof Element?s:s.$el}),!(s instanceof Element)&&!Object.prototype.hasOwnProperty.call(s,"$el"))){const c=s.$.exposed,d=Object.assign({},r);for(const h in c)Object.defineProperty(d,h,{enumerable:!0,configurable:!0,get:()=>c[h]});a.exposed=d}}return{forwardRef:i,currentRef:e,currentElement:n}}function Ze(a){const e=t.getCurrentInstance(),n=Object.keys((e==null?void 0:e.type.props)??{}).reduce((r,i)=>{const s=(e==null?void 0:e.type.props[i]).default;return s!==void 0&&(r[i]=s),r},{}),o=t.toRef(a);return t.computed(()=>{const r={},i=(e==null?void 0:e.vnode.props)??{};return Object.keys(i).forEach(s=>{r[t.camelize(s)]=i[s]}),Object.keys({...n,...r}).reduce((s,c)=>(o.value[c]!==void 0&&(s[c]=o.value[c]),s),{})})}function mt(a,e){const n=Ze(a),o=e?bL(e):{};return t.computed(()=>({...n.value,...o}))}function jE(a,e){const n=mA(!1,300);ps(()=>{n.value=!1});const o=t.ref(null),r=hE();function i(){o.value=null,n.value=!1}function s(c,d){const h=c.currentTarget,u={x:c.clientX,y:c.clientY},p=OE(u,h.getBoundingClientRect()),y=FE(u,p,1),f=RE(d.getBoundingClientRect()),k=$E([...y,...f]);o.value=k,n.value=!0}return t.watchEffect(c=>{if(a.value&&e.value){const d=u=>s(u,e.value),h=u=>s(u,a.value);a.value.addEventListener("pointerleave",d),e.value.addEventListener("pointerleave",h),c(()=>{var u,p;(u=a.value)==null||u.removeEventListener("pointerleave",d),(p=e.value)==null||p.removeEventListener("pointerleave",h)})}}),t.watchEffect(c=>{var d;if(o.value){const h=u=>{var g,w;if(!o.value||!(u.target instanceof Element))return;const p=u.target,y={x:u.clientX,y:u.clientY},f=((g=a.value)==null?void 0:g.contains(p))||((w=e.value)==null?void 0:w.contains(p)),k=!NE(y,o.value),m=!!p.closest("[data-grace-area-trigger]");f?i():(k||m)&&(i(),r.trigger())};(d=a.value)==null||d.ownerDocument.addEventListener("pointermove",h),c(()=>{var u;return(u=a.value)==null?void 0:u.ownerDocument.removeEventListener("pointermove",h)})}}),{isPointerInTransit:n,onPointerExit:r.on}}function OE(a,e){const n=Math.abs(e.top-a.y),o=Math.abs(e.bottom-a.y),r=Math.abs(e.right-a.x),i=Math.abs(e.left-a.x);switch(Math.min(n,o,r,i)){case i:return"left";case r:return"right";case n:return"top";case o:return"bottom";default:throw new Error("unreachable")}}function FE(a,e,n=5){const o=[];switch(e){case"top":o.push({x:a.x-n,y:a.y+n},{x:a.x+n,y:a.y+n});break;case"bottom":o.push({x:a.x-n,y:a.y-n},{x:a.x+n,y:a.y-n});break;case"left":o.push({x:a.x+n,y:a.y-n},{x:a.x+n,y:a.y+n});break;case"right":o.push({x:a.x-n,y:a.y-n},{x:a.x-n,y:a.y+n});break}return o}function RE(a){const{top:e,right:n,bottom:o,left:r}=a;return[{x:r,y:e},{x:n,y:e},{x:n,y:o},{x:r,y:o}]}function NE(a,e){const{x:n,y:o}=a;let r=!1;for(let i=0,s=e.length-1;i<e.length;s=i++){const c=e[i].x,d=e[i].y,h=e[s].x,u=e[s].y;d>o!=u>o&&n<(h-c)*(o-d)/(u-d)+c&&(r=!r)}return r}function $E(a){const e=a.slice();return e.sort((n,o)=>n.x<o.x?-1:n.x>o.x?1:n.y<o.y?-1:n.y>o.y?1:0),UE(e)}function UE(a){if(a.length<=1)return a.slice();const e=[];for(let o=0;o<a.length;o++){const r=a[o];for(;e.length>=2;){const i=e[e.length-1],s=e[e.length-2];if((i.x-s.x)*(r.y-s.y)>=(i.y-s.y)*(r.x-s.x))e.pop();else break}e.push(r)}e.pop();const n=[];for(let o=a.length-1;o>=0;o--){const r=a[o];for(;n.length>=2;){const i=n[n.length-1],s=n[n.length-2];if((i.x-s.x)*(r.y-s.y)>=(i.y-s.y)*(r.x-s.x))n.pop();else break}n.push(r)}return n.pop(),e.length===1&&n.length===1&&e[0].x===n[0].x&&e[0].y===n[0].y?e:e.concat(n)}var WE=function(a){if(typeof document>"u")return null;var e=Array.isArray(a)?a[0]:a;return e.ownerDocument.body},ks=new WeakMap,xL=new WeakMap,wL={},QS=0,LA=function(a){return a&&(a.host||LA(a.parentNode))},GE=function(a,e){return e.map(function(n){if(a.contains(n))return n;var o=LA(n);return o&&a.contains(o)?o:(console.error("aria-hidden",n,"in not contained inside",a,". Doing nothing"),null)}).filter(function(n){return!!n})},KE=function(a,e,n,o){var r=GE(e,Array.isArray(a)?a:[a]);wL[n]||(wL[n]=new WeakMap);var i=wL[n],s=[],c=new Set,d=new Set(r),h=function(p){!p||c.has(p)||(c.add(p),h(p.parentNode))};r.forEach(h);var u=function(p){!p||d.has(p)||Array.prototype.forEach.call(p.children,function(y){if(c.has(y))u(y);else try{var f=y.getAttribute(o),k=f!==null&&f!=="false",m=(ks.get(y)||0)+1,g=(i.get(y)||0)+1;ks.set(y,m),i.set(y,g),s.push(y),m===1&&k&&xL.set(y,!0),g===1&&y.setAttribute(n,"true"),k||y.setAttribute(o,"true")}catch(w){console.error("aria-hidden: cannot operate on ",y,w)}})};return u(e),c.clear(),QS++,function(){s.forEach(function(p){var y=ks.get(p)-1,f=i.get(p)-1;ks.set(p,y),i.set(p,f),y||(xL.has(p)||p.removeAttribute(o),xL.delete(p)),f||p.removeAttribute(n)}),QS--,QS||(ks=new WeakMap,ks=new WeakMap,xL=new WeakMap,wL={})}},XE=function(a,e,n){n===void 0&&(n="data-aria-hidden");var o=Array.from(Array.isArray(a)?a:[a]),r=WE(a);return r?(o.push.apply(o,Array.from(r.querySelectorAll("[aria-live], script"))),KE(o,r,n,"aria-hidden")):function(){return null}};function SA(a){let e;t.watch(()=>Et(a),n=>{n?e=XE(n):e&&e()}),t.onUnmounted(()=>{e&&e()})}let ZE=0;function ms(a,e="reka"){var o;if("useId"in j1)return`${e}-${(o=j1.useId)==null?void 0:o.call(j1)}`;const n=ML({useId:void 0});return n.useId?`${e}-${n.useId()}`:`${e}-${++ZE}`}function YE(a){const e=t.ref(),n=t.computed(()=>{var r;return((r=e.value)==null?void 0:r.width)??0}),o=t.computed(()=>{var r;return((r=e.value)==null?void 0:r.height)??0});return t.onMounted(()=>{const r=Et(a);if(r){e.value={width:r.offsetWidth,height:r.offsetHeight};const i=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const c=s[0];let d,h;if("borderBoxSize"in c){const u=c.borderBoxSize,p=Array.isArray(u)?u[0]:u;d=p.inlineSize,h=p.blockSize}else d=r.offsetWidth,h=r.offsetHeight;e.value={width:d,height:h}});return i.observe(r,{box:"border-box"}),()=>i.unobserve(r)}else e.value=void 0}),{width:n,height:o}}function QE(a,e){const n=t.ref(a);function o(i){return e[n.value][i]??n.value}return{state:n,dispatch:i=>{n.value=o(i)}}}function IA(a){const e=mA("",1e3);return{search:e,handleTypeaheadSearch:(r,i)=>{e.value=e.value+r;{const s=at(),c=i.map(y=>{var f,k;return{...y,textValue:((f=y.value)==null?void 0:f.textValue)??((k=y.ref.textContent)==null?void 0:k.trim())??""}}),d=c.find(y=>y.ref===s),h=c.map(y=>y.textValue),u=eT(h,e.value,d==null?void 0:d.textValue),p=c.find(y=>y.textValue===u);return p&&p.ref.focus(),p==null?void 0:p.ref}},resetTypeahead:()=>{e.value=""}}}function JE(a,e){return a.map((n,o)=>a[(e+o)%a.length])}function eT(a,e,n){const r=e.length>1&&Array.from(e).every(h=>h===e[0])?e[0]:e,i=n?a.indexOf(n):-1;let s=JE(a,Math.max(i,0));r.length===1&&(s=s.filter(h=>h!==n));const d=s.find(h=>h.toLowerCase().startsWith(r.toLowerCase()));return d!==n?d:void 0}function tT(a,e){var g;const n=t.ref({}),o=t.ref("none"),r=t.ref(a),i=a.value?"mounted":"unmounted";let s;const c=((g=e.value)==null?void 0:g.ownerDocument.defaultView)??ys,{state:d,dispatch:h}=QE(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),u=w=>{var S;if(lt){const v=new CustomEvent(w,{bubbles:!1,cancelable:!1});(S=e.value)==null||S.dispatchEvent(v)}};t.watch(a,async(w,S)=>{var M;const v=S!==w;if(await t.nextTick(),v){const C=o.value,x=vL(e.value);w?(h("MOUNT"),u("enter"),x==="none"&&u("after-enter")):x==="none"||x==="undefined"||((M=n.value)==null?void 0:M.display)==="none"?(h("UNMOUNT"),u("leave"),u("after-leave")):S&&C!==x?(h("ANIMATION_OUT"),u("leave")):(h("UNMOUNT"),u("after-leave"))}},{immediate:!0});const p=w=>{const S=vL(e.value),v=S.includes(CSS.escape(w.animationName)),M=d.value==="mounted"?"enter":"leave";if(w.target===e.value&&v&&(u(`after-${M}`),h("ANIMATION_END"),!r.value)){const C=e.value.style.animationFillMode;e.value.style.animationFillMode="forwards",s=c==null?void 0:c.setTimeout(()=>{var x;((x=e.value)==null?void 0:x.style.animationFillMode)==="forwards"&&(e.value.style.animationFillMode=C)})}w.target===e.value&&S==="none"&&h("ANIMATION_END")},y=w=>{w.target===e.value&&(o.value=vL(e.value))},f=t.watch(e,(w,S)=>{w?(n.value=getComputedStyle(w),w.addEventListener("animationstart",y),w.addEventListener("animationcancel",p),w.addEventListener("animationend",p)):(h("ANIMATION_END"),s!==void 0&&(c==null||c.clearTimeout(s)),S==null||S.removeEventListener("animationstart",y),S==null||S.removeEventListener("animationcancel",p),S==null||S.removeEventListener("animationend",p))},{immediate:!0}),k=t.watch(d,()=>{const w=vL(e.value);o.value=d.value==="mounted"?w:"none"});return t.onUnmounted(()=>{f(),k()}),{isPresent:t.computed(()=>["mounted","unmountSuspended"].includes(d.value))}}function vL(a){return a&&getComputedStyle(a).animationName||"none"}var CL=t.defineComponent({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(a,{slots:e,expose:n}){var h;const{present:o,forceMount:r}=t.toRefs(a),i=t.ref(),{isPresent:s}=tT(o,i);n({present:s});let c=e.default({present:s.value});c=WS(c||[]);const d=t.getCurrentInstance();if(c&&(c==null?void 0:c.length)>1){const u=(h=d==null?void 0:d.parent)!=null&&h.type.name?`<${d.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${u}\` for \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(p=>` - ${p}`).join(`
|
|
8496
|
+
*/const ha=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:J1,AArrowDownIcon:J1,AArrowUp:el,AArrowUpIcon:el,ALargeSmall:tl,ALargeSmallIcon:tl,Accessibility:al,AccessibilityIcon:al,Activity:nl,ActivityIcon:nl,ActivitySquare:Mr,ActivitySquareIcon:Mr,AirVent:ol,AirVentIcon:ol,Airplay:rl,AirplayIcon:rl,AlarmCheck:Va,AlarmCheckIcon:Va,AlarmClock:sl,AlarmClockCheck:Va,AlarmClockCheckIcon:Va,AlarmClockIcon:sl,AlarmClockMinus:qa,AlarmClockMinusIcon:qa,AlarmClockOff:il,AlarmClockOffIcon:il,AlarmClockPlus:Pa,AlarmClockPlusIcon:Pa,AlarmMinus:qa,AlarmMinusIcon:qa,AlarmPlus:Pa,AlarmPlusIcon:Pa,AlarmSmoke:ll,AlarmSmokeIcon:ll,Album:dl,AlbumIcon:dl,AlertCircle:It,AlertCircleIcon:It,AlertOctagon:Wo,AlertOctagonIcon:Wo,AlertTriangle:Ai,AlertTriangleIcon:Ai,AlignCenter:wi,AlignCenterHorizontal:cl,AlignCenterHorizontalIcon:cl,AlignCenterIcon:wi,AlignCenterVertical:hl,AlignCenterVerticalIcon:hl,AlignEndHorizontal:ul,AlignEndHorizontalIcon:ul,AlignEndVertical:pl,AlignEndVerticalIcon:pl,AlignHorizontalDistributeCenter:yl,AlignHorizontalDistributeCenterIcon:yl,AlignHorizontalDistributeEnd:fl,AlignHorizontalDistributeEndIcon:fl,AlignHorizontalDistributeStart:kl,AlignHorizontalDistributeStartIcon:kl,AlignHorizontalJustifyCenter:ml,AlignHorizontalJustifyCenterIcon:ml,AlignHorizontalJustifyEnd:gl,AlignHorizontalJustifyEndIcon:gl,AlignHorizontalJustifyStart:Ml,AlignHorizontalJustifyStartIcon:Ml,AlignHorizontalSpaceAround:bl,AlignHorizontalSpaceAroundIcon:bl,AlignHorizontalSpaceBetween:xl,AlignHorizontalSpaceBetweenIcon:xl,AlignJustify:xi,AlignJustifyIcon:xi,AlignLeft:Dt,AlignLeftIcon:Dt,AlignRight:bi,AlignRightIcon:bi,AlignStartHorizontal:wl,AlignStartHorizontalIcon:wl,AlignStartVertical:vl,AlignStartVerticalIcon:vl,AlignVerticalDistributeCenter:Cl,AlignVerticalDistributeCenterIcon:Cl,AlignVerticalDistributeEnd:Ll,AlignVerticalDistributeEndIcon:Ll,AlignVerticalDistributeStart:Sl,AlignVerticalDistributeStartIcon:Sl,AlignVerticalJustifyCenter:Il,AlignVerticalJustifyCenterIcon:Il,AlignVerticalJustifyEnd:_l,AlignVerticalJustifyEndIcon:_l,AlignVerticalJustifyStart:Al,AlignVerticalJustifyStartIcon:Al,AlignVerticalSpaceAround:Bl,AlignVerticalSpaceAroundIcon:Bl,AlignVerticalSpaceBetween:zl,AlignVerticalSpaceBetweenIcon:zl,Ambulance:Vl,AmbulanceIcon:Vl,Ampersand:ql,AmpersandIcon:ql,Ampersands:Pl,AmpersandsIcon:Pl,Amphora:El,AmphoraIcon:El,Anchor:Dl,AnchorIcon:Dl,Angry:Tl,AngryIcon:Tl,Annoyed:Hl,AnnoyedIcon:Hl,Antenna:jl,AntennaIcon:jl,Anvil:Ol,AnvilIcon:Ol,Aperture:Fl,ApertureIcon:Fl,AppWindow:Nl,AppWindowIcon:Nl,AppWindowMac:Rl,AppWindowMacIcon:Rl,Apple:$l,AppleIcon:$l,Archive:Gl,ArchiveIcon:Gl,ArchiveRestore:Ul,ArchiveRestoreIcon:Ul,ArchiveX:Wl,ArchiveXIcon:Wl,AreaChart:Xa,AreaChartIcon:Xa,Armchair:Kl,ArmchairIcon:Kl,ArrowBigDown:Zl,ArrowBigDownDash:Xl,ArrowBigDownDashIcon:Xl,ArrowBigDownIcon:Zl,ArrowBigLeft:Ql,ArrowBigLeftDash:Yl,ArrowBigLeftDashIcon:Yl,ArrowBigLeftIcon:Ql,ArrowBigRight:ec,ArrowBigRightDash:Jl,ArrowBigRightDashIcon:Jl,ArrowBigRightIcon:ec,ArrowBigUp:tc,ArrowBigUpDash:ac,ArrowBigUpDashIcon:ac,ArrowBigUpIcon:tc,ArrowDown:uc,ArrowDown01:oc,ArrowDown01Icon:oc,ArrowDown10:nc,ArrowDown10Icon:nc,ArrowDownAZ:Da,ArrowDownAZIcon:Da,ArrowDownAz:Da,ArrowDownAzIcon:Da,ArrowDownCircle:un,ArrowDownCircleIcon:un,ArrowDownFromLine:rc,ArrowDownFromLineIcon:rc,ArrowDownIcon:uc,ArrowDownLeft:ic,ArrowDownLeftFromCircle:yn,ArrowDownLeftFromCircleIcon:yn,ArrowDownLeftFromSquare:Cr,ArrowDownLeftFromSquareIcon:Cr,ArrowDownLeftIcon:ic,ArrowDownLeftSquare:br,ArrowDownLeftSquareIcon:br,ArrowDownNarrowWide:lc,ArrowDownNarrowWideIcon:lc,ArrowDownRight:sc,ArrowDownRightFromCircle:fn,ArrowDownRightFromCircleIcon:fn,ArrowDownRightFromSquare:Lr,ArrowDownRightFromSquareIcon:Lr,ArrowDownRightIcon:sc,ArrowDownRightSquare:xr,ArrowDownRightSquareIcon:xr,ArrowDownSquare:wr,ArrowDownSquareIcon:wr,ArrowDownToDot:cc,ArrowDownToDotIcon:cc,ArrowDownToLine:dc,ArrowDownToLineIcon:dc,ArrowDownUp:hc,ArrowDownUpIcon:hc,ArrowDownWideNarrow:Ea,ArrowDownWideNarrowIcon:Ea,ArrowDownZA:Ta,ArrowDownZAIcon:Ta,ArrowDownZa:Ta,ArrowDownZaIcon:Ta,ArrowLeft:kc,ArrowLeftCircle:pn,ArrowLeftCircleIcon:pn,ArrowLeftFromLine:pc,ArrowLeftFromLineIcon:pc,ArrowLeftIcon:kc,ArrowLeftRight:fc,ArrowLeftRightIcon:fc,ArrowLeftSquare:vr,ArrowLeftSquareIcon:vr,ArrowLeftToLine:yc,ArrowLeftToLineIcon:yc,ArrowRight:Ts,ArrowRightCircle:gn,ArrowRightCircleIcon:gn,ArrowRightFromLine:mc,ArrowRightFromLineIcon:mc,ArrowRightIcon:Ts,ArrowRightLeft:gc,ArrowRightLeftIcon:gc,ArrowRightSquare:_r,ArrowRightSquareIcon:_r,ArrowRightToLine:Mc,ArrowRightToLineIcon:Mc,ArrowUp:Bc,ArrowUp01:bc,ArrowUp01Icon:bc,ArrowUp10:xc,ArrowUp10Icon:xc,ArrowUpAZ:Ha,ArrowUpAZIcon:Ha,ArrowUpAz:Ha,ArrowUpAzIcon:Ha,ArrowUpCircle:Mn,ArrowUpCircleIcon:Mn,ArrowUpDown:wc,ArrowUpDownIcon:wc,ArrowUpFromDot:vc,ArrowUpFromDotIcon:vc,ArrowUpFromLine:Cc,ArrowUpFromLineIcon:Cc,ArrowUpIcon:Bc,ArrowUpLeft:Lc,ArrowUpLeftFromCircle:kn,ArrowUpLeftFromCircleIcon:kn,ArrowUpLeftFromSquare:Sr,ArrowUpLeftFromSquareIcon:Sr,ArrowUpLeftIcon:Lc,ArrowUpLeftSquare:Br,ArrowUpLeftSquareIcon:Br,ArrowUpNarrowWide:ja,ArrowUpNarrowWideIcon:ja,ArrowUpRight:Sc,ArrowUpRightFromCircle:mn,ArrowUpRightFromCircleIcon:mn,ArrowUpRightFromSquare:Ir,ArrowUpRightFromSquareIcon:Ir,ArrowUpRightIcon:Sc,ArrowUpRightSquare:Ar,ArrowUpRightSquareIcon:Ar,ArrowUpSquare:zr,ArrowUpSquareIcon:zr,ArrowUpToLine:Ic,ArrowUpToLineIcon:Ic,ArrowUpWideNarrow:_c,ArrowUpWideNarrowIcon:_c,ArrowUpZA:Oa,ArrowUpZAIcon:Oa,ArrowUpZa:Oa,ArrowUpZaIcon:Oa,ArrowsUpFromLine:Ac,ArrowsUpFromLineIcon:Ac,Asterisk:zc,AsteriskIcon:zc,AsteriskSquare:Vr,AsteriskSquareIcon:Vr,AtSign:Vc,AtSignIcon:Vc,Atom:qc,AtomIcon:qc,AudioLines:Pc,AudioLinesIcon:Pc,AudioWaveform:Dc,AudioWaveformIcon:Dc,Award:Ec,AwardIcon:Ec,Axe:Tc,AxeIcon:Tc,Axis3D:Fa,Axis3DIcon:Fa,Axis3d:Fa,Axis3dIcon:Fa,Baby:jc,BabyIcon:jc,Backpack:Hc,BackpackIcon:Hc,Badge:td,BadgeAlert:Oc,BadgeAlertIcon:Oc,BadgeCent:Fc,BadgeCentIcon:Fc,BadgeCheck:Ra,BadgeCheckIcon:Ra,BadgeDollarSign:Rc,BadgeDollarSignIcon:Rc,BadgeEuro:Nc,BadgeEuroIcon:Nc,BadgeHelp:Na,BadgeHelpIcon:Na,BadgeIcon:td,BadgeIndianRupee:$c,BadgeIndianRupeeIcon:$c,BadgeInfo:Uc,BadgeInfoIcon:Uc,BadgeJapaneseYen:Wc,BadgeJapaneseYenIcon:Wc,BadgeMinus:Gc,BadgeMinusIcon:Gc,BadgePercent:Kc,BadgePercentIcon:Kc,BadgePlus:Xc,BadgePlusIcon:Xc,BadgePoundSterling:Zc,BadgePoundSterlingIcon:Zc,BadgeQuestionMark:Na,BadgeQuestionMarkIcon:Na,BadgeRussianRuble:Yc,BadgeRussianRubleIcon:Yc,BadgeSwissFranc:Qc,BadgeSwissFrancIcon:Qc,BadgeTurkishLira:Jc,BadgeTurkishLiraIcon:Jc,BadgeX:ed,BadgeXIcon:ed,BaggageClaim:ad,BaggageClaimIcon:ad,Balloon:nd,BalloonIcon:nd,Ban:rd,BanIcon:rd,Banana:od,BananaIcon:od,Bandage:id,BandageIcon:id,Banknote:ud,BanknoteArrowDown:sd,BanknoteArrowDownIcon:sd,BanknoteArrowUp:ld,BanknoteArrowUpIcon:ld,BanknoteIcon:ud,BanknoteX:cd,BanknoteXIcon:cd,BarChart:nn,BarChart2:on,BarChart2Icon:on,BarChart3:tn,BarChart3Icon:tn,BarChart4:en,BarChart4Icon:en,BarChartBig:Ja,BarChartBigIcon:Ja,BarChartHorizontal:Qa,BarChartHorizontalBig:Za,BarChartHorizontalBigIcon:Za,BarChartHorizontalIcon:Qa,BarChartIcon:nn,Barcode:dd,BarcodeIcon:dd,Barrel:hd,BarrelIcon:hd,Baseline:pd,BaselineIcon:pd,Bath:yd,BathIcon:yd,Battery:xd,BatteryCharging:fd,BatteryChargingIcon:fd,BatteryFull:kd,BatteryFullIcon:kd,BatteryIcon:xd,BatteryLow:md,BatteryLowIcon:md,BatteryMedium:Md,BatteryMediumIcon:Md,BatteryPlus:gd,BatteryPlusIcon:gd,BatteryWarning:bd,BatteryWarningIcon:bd,Beaker:wd,BeakerIcon:wd,Bean:Cd,BeanIcon:Cd,BeanOff:vd,BeanOffIcon:vd,Bed:Id,BedDouble:Ld,BedDoubleIcon:Ld,BedIcon:Id,BedSingle:Sd,BedSingleIcon:Sd,Beef:_d,BeefIcon:_d,Beer:Bd,BeerIcon:Bd,BeerOff:Ad,BeerOffIcon:Ad,Bell:Ed,BellDot:zd,BellDotIcon:zd,BellElectric:Vd,BellElectricIcon:Vd,BellIcon:Ed,BellMinus:qd,BellMinusIcon:qd,BellOff:Pd,BellOffIcon:Pd,BellPlus:Dd,BellPlusIcon:Dd,BellRing:Td,BellRingIcon:Td,BetweenHorizonalEnd:$a,BetweenHorizonalEndIcon:$a,BetweenHorizonalStart:Ua,BetweenHorizonalStartIcon:Ua,BetweenHorizontalEnd:$a,BetweenHorizontalEndIcon:$a,BetweenHorizontalStart:Ua,BetweenHorizontalStartIcon:Ua,BetweenVerticalEnd:Hd,BetweenVerticalEndIcon:Hd,BetweenVerticalStart:jd,BetweenVerticalStartIcon:jd,BicepsFlexed:Od,BicepsFlexedIcon:Od,Bike:Fd,BikeIcon:Fd,Binary:Rd,BinaryIcon:Rd,Binoculars:$d,BinocularsIcon:$d,Biohazard:Nd,BiohazardIcon:Nd,Bird:Ud,BirdIcon:Ud,Birdhouse:Wd,BirdhouseIcon:Wd,Bitcoin:Gd,BitcoinIcon:Gd,Blend:Kd,BlendIcon:Kd,Blinds:Xd,BlindsIcon:Xd,Blocks:Yd,BlocksIcon:Yd,Bluetooth:e0,BluetoothConnected:Zd,BluetoothConnectedIcon:Zd,BluetoothIcon:e0,BluetoothOff:Qd,BluetoothOffIcon:Qd,BluetoothSearching:Jd,BluetoothSearchingIcon:Jd,Bold:t0,BoldIcon:t0,Bolt:a0,BoltIcon:a0,Bomb:n0,BombIcon:n0,Bone:o0,BoneIcon:o0,Book:A0,BookA:r0,BookAIcon:r0,BookAlert:i0,BookAlertIcon:i0,BookAudio:s0,BookAudioIcon:s0,BookCheck:c0,BookCheckIcon:c0,BookCopy:l0,BookCopyIcon:l0,BookDashed:Wa,BookDashedIcon:Wa,BookDown:d0,BookDownIcon:d0,BookHeadphones:h0,BookHeadphonesIcon:h0,BookHeart:u0,BookHeartIcon:u0,BookIcon:A0,BookImage:p0,BookImageIcon:p0,BookKey:y0,BookKeyIcon:y0,BookLock:f0,BookLockIcon:f0,BookMarked:k0,BookMarkedIcon:k0,BookMinus:m0,BookMinusIcon:m0,BookOpen:b0,BookOpenCheck:g0,BookOpenCheckIcon:g0,BookOpenIcon:b0,BookOpenText:M0,BookOpenTextIcon:M0,BookPlus:x0,BookPlusIcon:x0,BookSearch:w0,BookSearchIcon:w0,BookTemplate:Wa,BookTemplateIcon:Wa,BookText:v0,BookTextIcon:v0,BookType:C0,BookTypeIcon:C0,BookUp:L0,BookUp2:S0,BookUp2Icon:S0,BookUpIcon:L0,BookUser:I0,BookUserIcon:I0,BookX:_0,BookXIcon:_0,Bookmark:P0,BookmarkCheck:B0,BookmarkCheckIcon:B0,BookmarkIcon:P0,BookmarkMinus:z0,BookmarkMinusIcon:z0,BookmarkPlus:V0,BookmarkPlusIcon:V0,BookmarkX:q0,BookmarkXIcon:q0,BoomBox:E0,BoomBoxIcon:E0,Bot:H0,BotIcon:H0,BotMessageSquare:D0,BotMessageSquareIcon:D0,BotOff:T0,BotOffIcon:T0,BottleWine:O0,BottleWineIcon:O0,BowArrow:j0,BowArrowIcon:j0,Box:F0,BoxIcon:F0,BoxSelect:Ur,BoxSelectIcon:Ur,Boxes:R0,BoxesIcon:R0,Braces:Ga,BracesIcon:Ga,Brackets:N0,BracketsIcon:N0,Brain:W0,BrainCircuit:U0,BrainCircuitIcon:U0,BrainCog:$0,BrainCogIcon:$0,BrainIcon:W0,BrickWall:K0,BrickWallFire:G0,BrickWallFireIcon:G0,BrickWallIcon:K0,BrickWallShield:X0,BrickWallShieldIcon:X0,Briefcase:Q0,BriefcaseBusiness:Z0,BriefcaseBusinessIcon:Z0,BriefcaseConveyorBelt:Y0,BriefcaseConveyorBeltIcon:Y0,BriefcaseIcon:Q0,BriefcaseMedical:J0,BriefcaseMedicalIcon:J0,BringToFront:e2,BringToFrontIcon:e2,Brush:a2,BrushCleaning:t2,BrushCleaningIcon:t2,BrushIcon:a2,Bubbles:n2,BubblesIcon:n2,Bug:i2,BugIcon:i2,BugOff:o2,BugOffIcon:o2,BugPlay:r2,BugPlayIcon:r2,Building:l2,Building2:s2,Building2Icon:s2,BuildingIcon:l2,Bus:d2,BusFront:c2,BusFrontIcon:c2,BusIcon:d2,Cable:u2,CableCar:h2,CableCarIcon:h2,CableIcon:u2,Cake:y2,CakeIcon:y2,CakeSlice:p2,CakeSliceIcon:p2,Calculator:f2,CalculatorIcon:f2,Calendar:Hs,Calendar1:k2,Calendar1Icon:k2,CalendarArrowDown:M2,CalendarArrowDownIcon:M2,CalendarArrowUp:m2,CalendarArrowUpIcon:m2,CalendarCheck:b2,CalendarCheck2:g2,CalendarCheck2Icon:g2,CalendarCheckIcon:b2,CalendarClock:x2,CalendarClockIcon:x2,CalendarCog:v2,CalendarCogIcon:v2,CalendarDays:w2,CalendarDaysIcon:w2,CalendarFold:C2,CalendarFoldIcon:C2,CalendarHeart:L2,CalendarHeartIcon:L2,CalendarIcon:Hs,CalendarMinus:I2,CalendarMinus2:S2,CalendarMinus2Icon:S2,CalendarMinusIcon:I2,CalendarOff:_2,CalendarOffIcon:_2,CalendarPlus:B2,CalendarPlus2:A2,CalendarPlus2Icon:A2,CalendarPlusIcon:B2,CalendarRange:z2,CalendarRangeIcon:z2,CalendarSearch:V2,CalendarSearchIcon:V2,CalendarSync:q2,CalendarSyncIcon:q2,CalendarX:D2,CalendarX2:P2,CalendarX2Icon:P2,CalendarXIcon:D2,Calendars:E2,CalendarsIcon:E2,Camera:H2,CameraIcon:H2,CameraOff:T2,CameraOffIcon:T2,CandlestickChart:Ya,CandlestickChartIcon:Ya,Candy:F2,CandyCane:j2,CandyCaneIcon:j2,CandyIcon:F2,CandyOff:O2,CandyOffIcon:O2,Cannabis:N2,CannabisIcon:N2,CannabisOff:R2,CannabisOffIcon:R2,Captions:Ka,CaptionsIcon:Ka,CaptionsOff:$2,CaptionsOffIcon:$2,Car:G2,CarFront:U2,CarFrontIcon:U2,CarIcon:G2,CarTaxiFront:W2,CarTaxiFrontIcon:W2,Caravan:K2,CaravanIcon:K2,CardSim:X2,CardSimIcon:X2,Carrot:Z2,CarrotIcon:Z2,CaseLower:Y2,CaseLowerIcon:Y2,CaseSensitive:Q2,CaseSensitiveIcon:Q2,CaseUpper:J2,CaseUpperIcon:J2,CassetteTape:eh,CassetteTapeIcon:eh,Cast:th,CastIcon:th,Castle:ah,CastleIcon:ah,Cat:nh,CatIcon:nh,Cctv:oh,CctvIcon:oh,ChartArea:Xa,ChartAreaIcon:Xa,ChartBar:Qa,ChartBarBig:Za,ChartBarBigIcon:Za,ChartBarDecreasing:ih,ChartBarDecreasingIcon:ih,ChartBarIcon:Qa,ChartBarIncreasing:rh,ChartBarIncreasingIcon:rh,ChartBarStacked:sh,ChartBarStackedIcon:sh,ChartCandlestick:Ya,ChartCandlestickIcon:Ya,ChartColumn:tn,ChartColumnBig:Ja,ChartColumnBigIcon:Ja,ChartColumnDecreasing:lh,ChartColumnDecreasingIcon:lh,ChartColumnIcon:tn,ChartColumnIncreasing:en,ChartColumnIncreasingIcon:en,ChartColumnStacked:ch,ChartColumnStackedIcon:ch,ChartGantt:dh,ChartGanttIcon:dh,ChartLine:an,ChartLineIcon:an,ChartNetwork:hh,ChartNetworkIcon:hh,ChartNoAxesColumn:on,ChartNoAxesColumnDecreasing:uh,ChartNoAxesColumnDecreasingIcon:uh,ChartNoAxesColumnIcon:on,ChartNoAxesColumnIncreasing:nn,ChartNoAxesColumnIncreasingIcon:nn,ChartNoAxesCombined:ph,ChartNoAxesCombinedIcon:ph,ChartNoAxesGantt:sn,ChartNoAxesGanttIcon:sn,ChartPie:rn,ChartPieIcon:rn,ChartScatter:ln,ChartScatterIcon:ln,ChartSpline:fh,ChartSplineIcon:fh,Check:sa,CheckCheck:yh,CheckCheckIcon:yh,CheckCircle:la,CheckCircle2:bn,CheckCircle2Icon:bn,CheckCircleIcon:la,CheckIcon:sa,CheckLine:kh,CheckLineIcon:kh,CheckSquare:Er,CheckSquare2:Tr,CheckSquare2Icon:Tr,CheckSquareIcon:Er,ChefHat:mh,ChefHatIcon:mh,Cherry:gh,CherryIcon:gh,ChessBishop:Mh,ChessBishopIcon:Mh,ChessKing:bh,ChessKingIcon:bh,ChessKnight:xh,ChessKnightIcon:xh,ChessPawn:wh,ChessPawnIcon:wh,ChessQueen:vh,ChessQueenIcon:vh,ChessRook:Ch,ChessRookIcon:Ch,ChevronDown:St,ChevronDownCircle:wn,ChevronDownCircleIcon:wn,ChevronDownIcon:St,ChevronDownSquare:Hr,ChevronDownSquareIcon:Hr,ChevronFirst:Lh,ChevronFirstIcon:Lh,ChevronLast:Sh,ChevronLastIcon:Sh,ChevronLeft:cn,ChevronLeftCircle:vn,ChevronLeftCircleIcon:vn,ChevronLeftIcon:cn,ChevronLeftSquare:jr,ChevronLeftSquareIcon:jr,ChevronRight:dn,ChevronRightCircle:xn,ChevronRightCircleIcon:xn,ChevronRightIcon:dn,ChevronRightSquare:Or,ChevronRightSquareIcon:Or,ChevronUp:js,ChevronUpCircle:Cn,ChevronUpCircleIcon:Cn,ChevronUpIcon:js,ChevronUpSquare:Fr,ChevronUpSquareIcon:Fr,ChevronsDown:_h,ChevronsDownIcon:_h,ChevronsDownUp:Ih,ChevronsDownUpIcon:Ih,ChevronsLeft:Os,ChevronsLeftIcon:Os,ChevronsLeftRight:Bh,ChevronsLeftRightEllipsis:Ah,ChevronsLeftRightEllipsisIcon:Ah,ChevronsLeftRightIcon:Bh,ChevronsRight:Fs,ChevronsRightIcon:Fs,ChevronsRightLeft:zh,ChevronsRightLeftIcon:zh,ChevronsUp:qh,ChevronsUpDown:Vh,ChevronsUpDownIcon:Vh,ChevronsUpIcon:qh,Chrome:hn,ChromeIcon:hn,Chromium:hn,ChromiumIcon:hn,Church:Dh,ChurchIcon:Dh,Cigarette:Eh,CigaretteIcon:Eh,CigaretteOff:Ph,CigaretteOffIcon:Ph,Circle:Rs,CircleAlert:It,CircleAlertIcon:It,CircleArrowDown:un,CircleArrowDownIcon:un,CircleArrowLeft:pn,CircleArrowLeftIcon:pn,CircleArrowOutDownLeft:yn,CircleArrowOutDownLeftIcon:yn,CircleArrowOutDownRight:fn,CircleArrowOutDownRightIcon:fn,CircleArrowOutUpLeft:kn,CircleArrowOutUpLeftIcon:kn,CircleArrowOutUpRight:mn,CircleArrowOutUpRightIcon:mn,CircleArrowRight:gn,CircleArrowRightIcon:gn,CircleArrowUp:Mn,CircleArrowUpIcon:Mn,CircleCheck:bn,CircleCheckBig:la,CircleCheckBigIcon:la,CircleCheckIcon:bn,CircleChevronDown:wn,CircleChevronDownIcon:wn,CircleChevronLeft:vn,CircleChevronLeftIcon:vn,CircleChevronRight:xn,CircleChevronRightIcon:xn,CircleChevronUp:Cn,CircleChevronUpIcon:Cn,CircleDashed:Th,CircleDashedIcon:Th,CircleDivide:Ln,CircleDivideIcon:Ln,CircleDollarSign:Hh,CircleDollarSignIcon:Hh,CircleDot:Oh,CircleDotDashed:jh,CircleDotDashedIcon:jh,CircleDotIcon:Oh,CircleEllipsis:Rh,CircleEllipsisIcon:Rh,CircleEqual:Fh,CircleEqualIcon:Fh,CircleFadingArrowUp:Nh,CircleFadingArrowUpIcon:Nh,CircleFadingPlus:$h,CircleFadingPlusIcon:$h,CircleGauge:Sn,CircleGaugeIcon:Sn,CircleHelp:_t,CircleHelpIcon:_t,CircleIcon:Rs,CircleMinus:In,CircleMinusIcon:In,CircleOff:Uh,CircleOffIcon:Uh,CircleParking:An,CircleParkingIcon:An,CircleParkingOff:_n,CircleParkingOffIcon:_n,CirclePause:Bn,CirclePauseIcon:Bn,CirclePercent:zn,CirclePercentIcon:zn,CirclePile:Wh,CirclePileIcon:Wh,CirclePlay:Vn,CirclePlayIcon:Vn,CirclePlus:qn,CirclePlusIcon:qn,CirclePoundSterling:Gh,CirclePoundSterlingIcon:Gh,CirclePower:Pn,CirclePowerIcon:Pn,CircleQuestionMark:_t,CircleQuestionMarkIcon:_t,CircleSlash:Kh,CircleSlash2:Dn,CircleSlash2Icon:Dn,CircleSlashIcon:Kh,CircleSlashed:Dn,CircleSlashedIcon:Dn,CircleSmall:Xh,CircleSmallIcon:Xh,CircleStar:Zh,CircleStarIcon:Zh,CircleStop:En,CircleStopIcon:En,CircleUser:Hn,CircleUserIcon:Hn,CircleUserRound:Tn,CircleUserRoundIcon:Tn,CircleX:jn,CircleXIcon:jn,CircuitBoard:Yh,CircuitBoardIcon:Yh,Citrus:Qh,CitrusIcon:Qh,Clapperboard:Jh,ClapperboardIcon:Jh,Clipboard:cu,ClipboardCheck:tu,ClipboardCheckIcon:tu,ClipboardClock:eu,ClipboardClockIcon:eu,ClipboardCopy:au,ClipboardCopyIcon:au,ClipboardEdit:Fn,ClipboardEditIcon:Fn,ClipboardIcon:cu,ClipboardList:nu,ClipboardListIcon:nu,ClipboardMinus:ou,ClipboardMinusIcon:ou,ClipboardPaste:ru,ClipboardPasteIcon:ru,ClipboardPen:Fn,ClipboardPenIcon:Fn,ClipboardPenLine:On,ClipboardPenLineIcon:On,ClipboardPlus:iu,ClipboardPlusIcon:iu,ClipboardSignature:On,ClipboardSignatureIcon:On,ClipboardType:su,ClipboardTypeIcon:su,ClipboardX:lu,ClipboardXIcon:lu,Clock:Ns,Clock1:du,Clock10:hu,Clock10Icon:hu,Clock11:uu,Clock11Icon:uu,Clock12:pu,Clock12Icon:pu,Clock1Icon:du,Clock2:yu,Clock2Icon:yu,Clock3:fu,Clock3Icon:fu,Clock4:ku,Clock4Icon:ku,Clock5:mu,Clock5Icon:mu,Clock6:gu,Clock6Icon:gu,Clock7:Mu,Clock7Icon:Mu,Clock8:bu,Clock8Icon:bu,Clock9:xu,Clock9Icon:xu,ClockAlert:wu,ClockAlertIcon:wu,ClockArrowDown:vu,ClockArrowDownIcon:vu,ClockArrowUp:Cu,ClockArrowUpIcon:Cu,ClockCheck:Lu,ClockCheckIcon:Lu,ClockFading:Su,ClockFadingIcon:Su,ClockIcon:Ns,ClockPlus:Iu,ClockPlusIcon:Iu,ClosedCaption:_u,ClosedCaptionIcon:_u,Cloud:Wu,CloudAlert:Au,CloudAlertIcon:Au,CloudBackup:Bu,CloudBackupIcon:Bu,CloudCheck:zu,CloudCheckIcon:zu,CloudCog:Vu,CloudCogIcon:Vu,CloudDownload:Rn,CloudDownloadIcon:Rn,CloudDrizzle:qu,CloudDrizzleIcon:qu,CloudFog:Pu,CloudFogIcon:Pu,CloudHail:Du,CloudHailIcon:Du,CloudIcon:Wu,CloudLightning:Eu,CloudLightningIcon:Eu,CloudMoon:Hu,CloudMoonIcon:Hu,CloudMoonRain:Tu,CloudMoonRainIcon:Tu,CloudOff:ju,CloudOffIcon:ju,CloudRain:Fu,CloudRainIcon:Fu,CloudRainWind:Ou,CloudRainWindIcon:Ou,CloudSnow:Ru,CloudSnowIcon:Ru,CloudSun:$u,CloudSunIcon:$u,CloudSunRain:Nu,CloudSunRainIcon:Nu,CloudSync:Uu,CloudSyncIcon:Uu,CloudUpload:ca,CloudUploadIcon:ca,Cloudy:Gu,CloudyIcon:Gu,Clover:Ku,CloverIcon:Ku,Club:Xu,ClubIcon:Xu,Code:Zu,Code2:Nn,Code2Icon:Nn,CodeIcon:Zu,CodeSquare:Rr,CodeSquareIcon:Rr,CodeXml:Nn,CodeXmlIcon:Nn,Codepen:Yu,CodepenIcon:Yu,Codesandbox:Qu,CodesandboxIcon:Qu,Coffee:Ju,CoffeeIcon:Ju,Cog:ep,CogIcon:ep,Coins:tp,CoinsIcon:tp,Columns:$n,Columns2:$n,Columns2Icon:$n,Columns3:Un,Columns3Cog:At,Columns3CogIcon:At,Columns3Icon:Un,Columns4:ap,Columns4Icon:ap,ColumnsIcon:$n,ColumnsSettings:At,ColumnsSettingsIcon:At,Combine:np,CombineIcon:np,Command:op,CommandIcon:op,Compass:rp,CompassIcon:rp,Component:ip,ComponentIcon:ip,Computer:sp,ComputerIcon:sp,ConciergeBell:lp,ConciergeBellIcon:lp,Cone:cp,ConeIcon:cp,Construction:dp,ConstructionIcon:dp,Contact:hp,Contact2:Wn,Contact2Icon:Wn,ContactIcon:hp,ContactRound:Wn,ContactRoundIcon:Wn,Container:up,ContainerIcon:up,Contrast:pp,ContrastIcon:pp,Cookie:fp,CookieIcon:fp,CookingPot:yp,CookingPotIcon:yp,Copy:xp,CopyCheck:kp,CopyCheckIcon:kp,CopyIcon:xp,CopyMinus:mp,CopyMinusIcon:mp,CopyPlus:gp,CopyPlusIcon:gp,CopySlash:bp,CopySlashIcon:bp,CopyX:Mp,CopyXIcon:Mp,Copyleft:wp,CopyleftIcon:wp,Copyright:vp,CopyrightIcon:vp,CornerDownLeft:Cp,CornerDownLeftIcon:Cp,CornerDownRight:Sp,CornerDownRightIcon:Sp,CornerLeftDown:Lp,CornerLeftDownIcon:Lp,CornerLeftUp:Ip,CornerLeftUpIcon:Ip,CornerRightDown:_p,CornerRightDownIcon:_p,CornerRightUp:Ap,CornerRightUpIcon:Ap,CornerUpLeft:Bp,CornerUpLeftIcon:Bp,CornerUpRight:zp,CornerUpRightIcon:zp,Cpu:ls,CpuIcon:ls,CreativeCommons:Vp,CreativeCommonsIcon:Vp,CreditCard:qp,CreditCardIcon:qp,Croissant:Pp,CroissantIcon:Pp,Crop:Dp,CropIcon:Dp,Cross:Ep,CrossIcon:Ep,Crosshair:Hp,CrosshairIcon:Hp,Crown:Tp,CrownIcon:Tp,Cuboid:jp,CuboidIcon:jp,CupSoda:Op,CupSodaIcon:Op,CurlyBraces:Ga,CurlyBracesIcon:Ga,Currency:Fp,CurrencyIcon:Fp,Cylinder:Rp,CylinderIcon:Rp,Dam:Np,DamIcon:Np,Database:Gp,DatabaseBackup:$p,DatabaseBackupIcon:$p,DatabaseIcon:Gp,DatabaseSearch:Up,DatabaseSearchIcon:Up,DatabaseZap:Wp,DatabaseZapIcon:Wp,DecimalsArrowLeft:Kp,DecimalsArrowLeftIcon:Kp,DecimalsArrowRight:Xp,DecimalsArrowRightIcon:Xp,Delete:Zp,DeleteIcon:Zp,Dessert:Yp,DessertIcon:Yp,Diameter:Qp,DiameterIcon:Qp,Diamond:ty,DiamondIcon:ty,DiamondMinus:Jp,DiamondMinusIcon:Jp,DiamondPercent:Gn,DiamondPercentIcon:Gn,DiamondPlus:ey,DiamondPlusIcon:ey,Dice1:ay,Dice1Icon:ay,Dice2:ny,Dice2Icon:ny,Dice3:oy,Dice3Icon:oy,Dice4:ry,Dice4Icon:ry,Dice5:iy,Dice5Icon:iy,Dice6:sy,Dice6Icon:sy,Dices:ly,DicesIcon:ly,Diff:cy,DiffIcon:cy,Disc:py,Disc2:dy,Disc2Icon:dy,Disc3:hy,Disc3Icon:hy,DiscAlbum:uy,DiscAlbumIcon:uy,DiscIcon:py,Divide:yy,DivideCircle:Ln,DivideCircleIcon:Ln,DivideIcon:yy,DivideSquare:Gr,DivideSquareIcon:Gr,Dna:ky,DnaIcon:ky,DnaOff:fy,DnaOffIcon:fy,Dock:my,DockIcon:my,Dog:My,DogIcon:My,DollarSign:gy,DollarSignIcon:gy,Donut:xy,DonutIcon:xy,DoorClosed:wy,DoorClosedIcon:wy,DoorClosedLocked:by,DoorClosedLockedIcon:by,DoorOpen:vy,DoorOpenIcon:vy,Dot:Cy,DotIcon:Cy,DotSquare:Wr,DotSquareIcon:Wr,Download:$s,DownloadCloud:Rn,DownloadCloudIcon:Rn,DownloadIcon:$s,DraftingCompass:Ly,DraftingCompassIcon:Ly,Drama:Iy,DramaIcon:Iy,Dribbble:Sy,DribbbleIcon:Sy,Drill:_y,DrillIcon:_y,Drone:Ay,DroneIcon:Ay,Droplet:zy,DropletIcon:zy,DropletOff:By,DropletOffIcon:By,Droplets:Vy,DropletsIcon:Vy,Drum:qy,DrumIcon:qy,Drumstick:Py,DrumstickIcon:Py,Dumbbell:Dy,DumbbellIcon:Dy,Ear:Ty,EarIcon:Ty,EarOff:Ey,EarOffIcon:Ey,Earth:Kn,EarthIcon:Kn,EarthLock:Hy,EarthLockIcon:Hy,Eclipse:jy,EclipseIcon:jy,Edit:Xe,Edit2:rr,Edit2Icon:rr,Edit3:or,Edit3Icon:or,EditIcon:Xe,Egg:Fy,EggFried:Oy,EggFriedIcon:Oy,EggIcon:Fy,EggOff:Ry,EggOffIcon:Ry,Ellipsis:da,EllipsisIcon:da,EllipsisVertical:Xn,EllipsisVerticalIcon:Xn,Equal:Uy,EqualApproximately:$y,EqualApproximatelyIcon:$y,EqualIcon:Uy,EqualNot:Ny,EqualNotIcon:Ny,EqualSquare:Kr,EqualSquareIcon:Kr,Eraser:Wy,EraserIcon:Wy,EthernetPort:Gy,EthernetPortIcon:Gy,Euro:Ky,EuroIcon:Ky,EvCharger:Xy,EvChargerIcon:Xy,Expand:Zy,ExpandIcon:Zy,ExternalLink:Yy,ExternalLinkIcon:Yy,Eye:cs,EyeClosed:Qy,EyeClosedIcon:Qy,EyeIcon:cs,EyeOff:Us,EyeOffIcon:Us,Facebook:Jy,FacebookIcon:Jy,Factory:ef,FactoryIcon:ef,Fan:tf,FanIcon:tf,FastForward:af,FastForwardIcon:af,Feather:nf,FeatherIcon:nf,Fence:of,FenceIcon:of,FerrisWheel:rf,FerrisWheelIcon:rf,Figma:sf,FigmaIcon:sf,File:Df,FileArchive:lf,FileArchiveIcon:lf,FileAudio:Bt,FileAudio2:Bt,FileAudio2Icon:Bt,FileAudioIcon:Bt,FileAxis3D:Zn,FileAxis3DIcon:Zn,FileAxis3d:Zn,FileAxis3dIcon:Zn,FileBadge:Yn,FileBadge2:Yn,FileBadge2Icon:Yn,FileBadgeIcon:Yn,FileBarChart:eo,FileBarChart2:to,FileBarChart2Icon:to,FileBarChartIcon:eo,FileBox:cf,FileBoxIcon:cf,FileBraces:Jn,FileBracesCorner:Qn,FileBracesCornerIcon:Qn,FileBracesIcon:Jn,FileChartColumn:to,FileChartColumnIcon:to,FileChartColumnIncreasing:eo,FileChartColumnIncreasingIcon:eo,FileChartLine:ao,FileChartLineIcon:ao,FileChartPie:no,FileChartPieIcon:no,FileCheck:df,FileCheck2:oo,FileCheck2Icon:oo,FileCheckCorner:oo,FileCheckCornerIcon:oo,FileCheckIcon:df,FileClock:hf,FileClockIcon:hf,FileCode:uf,FileCode2:ro,FileCode2Icon:ro,FileCodeCorner:ro,FileCodeCornerIcon:ro,FileCodeIcon:uf,FileCog:io,FileCog2:io,FileCog2Icon:io,FileCogIcon:io,FileDiff:pf,FileDiffIcon:pf,FileDigit:ff,FileDigitIcon:ff,FileDown:yf,FileDownIcon:yf,FileEdit:yo,FileEditIcon:yo,FileExclamationPoint:so,FileExclamationPointIcon:so,FileHeadphone:Bt,FileHeadphoneIcon:Bt,FileHeart:kf,FileHeartIcon:kf,FileIcon:Df,FileImage:mf,FileImageIcon:mf,FileInput:gf,FileInputIcon:gf,FileJson:Jn,FileJson2:Qn,FileJson2Icon:Qn,FileJsonIcon:Jn,FileKey:lo,FileKey2:lo,FileKey2Icon:lo,FileKeyIcon:lo,FileLineChart:ao,FileLineChartIcon:ao,FileLock:co,FileLock2:co,FileLock2Icon:co,FileLockIcon:co,FileMinus:bf,FileMinus2:ho,FileMinus2Icon:ho,FileMinusCorner:ho,FileMinusCornerIcon:ho,FileMinusIcon:bf,FileMusic:Mf,FileMusicIcon:Mf,FileOutput:xf,FileOutputIcon:xf,FilePen:yo,FilePenIcon:yo,FilePenLine:uo,FilePenLineIcon:uo,FilePieChart:no,FilePieChartIcon:no,FilePlay:po,FilePlayIcon:po,FilePlus:wf,FilePlus2:fo,FilePlus2Icon:fo,FilePlusCorner:fo,FilePlusCornerIcon:fo,FilePlusIcon:wf,FileQuestion:ko,FileQuestionIcon:ko,FileQuestionMark:ko,FileQuestionMarkIcon:ko,FileScan:vf,FileScanIcon:vf,FileSearch:Cf,FileSearch2:mo,FileSearch2Icon:mo,FileSearchCorner:mo,FileSearchCornerIcon:mo,FileSearchIcon:Cf,FileSignal:go,FileSignalIcon:go,FileSignature:uo,FileSignatureIcon:uo,FileSliders:Lf,FileSlidersIcon:Lf,FileSpreadsheet:Sf,FileSpreadsheetIcon:Sf,FileStack:If,FileStackIcon:If,FileSymlink:_f,FileSymlinkIcon:_f,FileTerminal:Af,FileTerminalIcon:Af,FileText:ds,FileTextIcon:ds,FileType:Bf,FileType2:Mo,FileType2Icon:Mo,FileTypeCorner:Mo,FileTypeCornerIcon:Mo,FileTypeIcon:Bf,FileUp:zf,FileUpIcon:zf,FileUser:Vf,FileUserIcon:Vf,FileVideo:po,FileVideo2:bo,FileVideo2Icon:bo,FileVideoCamera:bo,FileVideoCameraIcon:bo,FileVideoIcon:po,FileVolume:qf,FileVolume2:go,FileVolume2Icon:go,FileVolumeIcon:qf,FileWarning:so,FileWarningIcon:so,FileX:Pf,FileX2:xo,FileX2Icon:xo,FileXCorner:xo,FileXCornerIcon:xo,FileXIcon:Pf,Files:Tf,FilesIcon:Tf,Film:Ef,FilmIcon:Ef,Filter:So,FilterIcon:So,FilterX:Lo,FilterXIcon:Lo,Fingerprint:wo,FingerprintIcon:wo,FingerprintPattern:wo,FingerprintPatternIcon:wo,FireExtinguisher:Hf,FireExtinguisherIcon:Hf,Fish:Ff,FishIcon:Ff,FishOff:jf,FishOffIcon:jf,FishSymbol:Of,FishSymbolIcon:Of,FishingHook:Rf,FishingHookIcon:Rf,Flag:Wf,FlagIcon:Wf,FlagOff:Nf,FlagOffIcon:Nf,FlagTriangleLeft:$f,FlagTriangleLeftIcon:$f,FlagTriangleRight:Uf,FlagTriangleRightIcon:Uf,Flame:Kf,FlameIcon:Kf,FlameKindling:Gf,FlameKindlingIcon:Gf,Flashlight:Zf,FlashlightIcon:Zf,FlashlightOff:Xf,FlashlightOffIcon:Xf,FlaskConical:Qf,FlaskConicalIcon:Qf,FlaskConicalOff:Yf,FlaskConicalOffIcon:Yf,FlaskRound:Jf,FlaskRoundIcon:Jf,FlipHorizontal:Pr,FlipHorizontal2:ek,FlipHorizontal2Icon:ek,FlipHorizontalIcon:Pr,FlipVertical:Dr,FlipVertical2:tk,FlipVertical2Icon:tk,FlipVerticalIcon:Dr,Flower:nk,Flower2:ak,Flower2Icon:ak,FlowerIcon:nk,Focus:ok,FocusIcon:ok,FoldHorizontal:rk,FoldHorizontalIcon:rk,FoldVertical:ik,FoldVerticalIcon:ik,Folder:Pk,FolderArchive:sk,FolderArchiveIcon:sk,FolderCheck:lk,FolderCheckIcon:lk,FolderClock:ck,FolderClockIcon:ck,FolderClosed:dk,FolderClosedIcon:dk,FolderCode:hk,FolderCodeIcon:hk,FolderCog:vo,FolderCog2:vo,FolderCog2Icon:vo,FolderCogIcon:vo,FolderDot:uk,FolderDotIcon:uk,FolderDown:pk,FolderDownIcon:pk,FolderEdit:Co,FolderEditIcon:Co,FolderGit:fk,FolderGit2:yk,FolderGit2Icon:yk,FolderGitIcon:fk,FolderHeart:kk,FolderHeartIcon:kk,FolderIcon:Pk,FolderInput:mk,FolderInputIcon:mk,FolderKanban:Mk,FolderKanbanIcon:Mk,FolderKey:gk,FolderKeyIcon:gk,FolderLock:bk,FolderLockIcon:bk,FolderMinus:vk,FolderMinusIcon:vk,FolderOpen:wk,FolderOpenDot:xk,FolderOpenDotIcon:xk,FolderOpenIcon:wk,FolderOutput:Ck,FolderOutputIcon:Ck,FolderPen:Co,FolderPenIcon:Co,FolderPlus:Ik,FolderPlusIcon:Ik,FolderRoot:Lk,FolderRootIcon:Lk,FolderSearch:_k,FolderSearch2:Sk,FolderSearch2Icon:Sk,FolderSearchIcon:_k,FolderSymlink:Bk,FolderSymlinkIcon:Bk,FolderSync:Ak,FolderSyncIcon:Ak,FolderTree:zk,FolderTreeIcon:zk,FolderUp:Vk,FolderUpIcon:Vk,FolderX:qk,FolderXIcon:qk,Folders:Dk,FoldersIcon:Dk,Footprints:Ek,FootprintsIcon:Ek,ForkKnife:Oi,ForkKnifeCrossed:ji,ForkKnifeCrossedIcon:ji,ForkKnifeIcon:Oi,Forklift:Tk,ForkliftIcon:Tk,Form:Hk,FormIcon:Hk,FormInput:lr,FormInputIcon:lr,Forward:Ok,ForwardIcon:Ok,Frame:jk,FrameIcon:jk,Framer:Fk,FramerIcon:Fk,Frown:Rk,FrownIcon:Rk,Fuel:Nk,FuelIcon:Nk,Fullscreen:$k,FullscreenIcon:$k,FunctionSquare:Xr,FunctionSquareIcon:Xr,Funnel:So,FunnelIcon:So,FunnelPlus:Uk,FunnelPlusIcon:Uk,FunnelX:Lo,FunnelXIcon:Lo,GalleryHorizontal:Gk,GalleryHorizontalEnd:Wk,GalleryHorizontalEndIcon:Wk,GalleryHorizontalIcon:Gk,GalleryThumbnails:Kk,GalleryThumbnailsIcon:Kk,GalleryVertical:Zk,GalleryVerticalEnd:Xk,GalleryVerticalEndIcon:Xk,GalleryVerticalIcon:Zk,Gamepad:em,Gamepad2:Yk,Gamepad2Icon:Yk,GamepadDirectional:Qk,GamepadDirectionalIcon:Qk,GamepadIcon:em,GanttChart:sn,GanttChartIcon:sn,GanttChartSquare:Pt,GanttChartSquareIcon:Pt,Gauge:Jk,GaugeCircle:Sn,GaugeCircleIcon:Sn,GaugeIcon:Jk,Gavel:tm,GavelIcon:tm,Gem:am,GemIcon:am,GeorgianLari:nm,GeorgianLariIcon:nm,Ghost:om,GhostIcon:om,Gift:rm,GiftIcon:rm,GitBranch:lm,GitBranchIcon:lm,GitBranchMinus:im,GitBranchMinusIcon:im,GitBranchPlus:sm,GitBranchPlusIcon:sm,GitCommit:Io,GitCommitHorizontal:Io,GitCommitHorizontalIcon:Io,GitCommitIcon:Io,GitCommitVertical:cm,GitCommitVerticalIcon:cm,GitCompare:hm,GitCompareArrows:dm,GitCompareArrowsIcon:dm,GitCompareIcon:hm,GitFork:um,GitForkIcon:um,GitGraph:pm,GitGraphIcon:pm,GitMerge:fm,GitMergeConflict:ym,GitMergeConflictIcon:ym,GitMergeIcon:fm,GitPullRequest:xm,GitPullRequestArrow:km,GitPullRequestArrowIcon:km,GitPullRequestClosed:mm,GitPullRequestClosedIcon:mm,GitPullRequestCreate:Mm,GitPullRequestCreateArrow:gm,GitPullRequestCreateArrowIcon:gm,GitPullRequestCreateIcon:Mm,GitPullRequestDraft:bm,GitPullRequestDraftIcon:bm,GitPullRequestIcon:xm,Github:wm,GithubIcon:wm,Gitlab:vm,GitlabIcon:vm,GlassWater:Cm,GlassWaterIcon:Cm,Glasses:Lm,GlassesIcon:Lm,Globe:Ws,Globe2:Kn,Globe2Icon:Kn,GlobeIcon:Ws,GlobeLock:Sm,GlobeLockIcon:Sm,GlobeOff:Im,GlobeOffIcon:Im,GlobeX:_m,GlobeXIcon:_m,Goal:Am,GoalIcon:Am,Gpu:zm,GpuIcon:zm,Grab:Vo,GrabIcon:Vo,GraduationCap:Bm,GraduationCapIcon:Bm,Grape:Vm,GrapeIcon:Vm,Grid:zt,Grid2X2:zo,Grid2X2Check:_o,Grid2X2CheckIcon:_o,Grid2X2Icon:zo,Grid2X2Plus:Bo,Grid2X2PlusIcon:Bo,Grid2X2X:Ao,Grid2X2XIcon:Ao,Grid2x2:zo,Grid2x2Check:_o,Grid2x2CheckIcon:_o,Grid2x2Icon:zo,Grid2x2Plus:Bo,Grid2x2PlusIcon:Bo,Grid2x2X:Ao,Grid2x2XIcon:Ao,Grid3X3:zt,Grid3X3Icon:zt,Grid3x2:qm,Grid3x2Icon:qm,Grid3x3:zt,Grid3x3Icon:zt,GridIcon:zt,Grip:Em,GripHorizontal:Pm,GripHorizontalIcon:Pm,GripIcon:Em,GripVertical:Dm,GripVerticalIcon:Dm,Group:Hm,GroupIcon:Hm,Guitar:Tm,GuitarIcon:Tm,Ham:jm,HamIcon:jm,Hamburger:Om,HamburgerIcon:Om,Hammer:Fm,HammerIcon:Fm,Hand:Gm,HandCoins:Rm,HandCoinsIcon:Rm,HandFist:Nm,HandFistIcon:Nm,HandGrab:Vo,HandGrabIcon:Vo,HandHeart:$m,HandHeartIcon:$m,HandHelping:qo,HandHelpingIcon:qo,HandIcon:Gm,HandMetal:Um,HandMetalIcon:Um,HandPlatter:Wm,HandPlatterIcon:Wm,Handbag:Km,HandbagIcon:Km,Handshake:Xm,HandshakeIcon:Xm,HardDrive:Qm,HardDriveDownload:Zm,HardDriveDownloadIcon:Zm,HardDriveIcon:Qm,HardDriveUpload:Ym,HardDriveUploadIcon:Ym,HardHat:Jm,HardHatIcon:Jm,Hash:e4,HashIcon:e4,HatGlasses:t4,HatGlassesIcon:t4,Haze:a4,HazeIcon:a4,Hd:n4,HdIcon:n4,HdmiPort:o4,HdmiPortIcon:o4,Heading:h4,Heading1:r4,Heading1Icon:r4,Heading2:i4,Heading2Icon:i4,Heading3:s4,Heading3Icon:s4,Heading4:l4,Heading4Icon:l4,Heading5:c4,Heading5Icon:c4,Heading6:d4,Heading6Icon:d4,HeadingIcon:h4,HeadphoneOff:u4,HeadphoneOffIcon:u4,Headphones:p4,HeadphonesIcon:p4,Headset:y4,HeadsetIcon:y4,Heart:x4,HeartCrack:f4,HeartCrackIcon:f4,HeartHandshake:m4,HeartHandshakeIcon:m4,HeartIcon:x4,HeartMinus:k4,HeartMinusIcon:k4,HeartOff:g4,HeartOffIcon:g4,HeartPlus:M4,HeartPlusIcon:M4,HeartPulse:b4,HeartPulseIcon:b4,Heater:w4,HeaterIcon:w4,Helicopter:v4,HelicopterIcon:v4,HelpCircle:_t,HelpCircleIcon:_t,HelpingHand:qo,HelpingHandIcon:qo,Hexagon:C4,HexagonIcon:C4,Highlighter:L4,HighlighterIcon:L4,History:S4,HistoryIcon:S4,Home:Po,HomeIcon:Po,Hop:_4,HopIcon:_4,HopOff:I4,HopOffIcon:I4,Hospital:A4,HospitalIcon:A4,Hotel:B4,HotelIcon:B4,Hourglass:z4,HourglassIcon:z4,House:Po,HouseHeart:V4,HouseHeartIcon:V4,HouseIcon:Po,HousePlug:q4,HousePlugIcon:q4,HousePlus:P4,HousePlusIcon:P4,HouseWifi:D4,HouseWifiIcon:D4,IceCream:Eo,IceCream2:Do,IceCream2Icon:Do,IceCreamBowl:Do,IceCreamBowlIcon:Do,IceCreamCone:Eo,IceCreamConeIcon:Eo,IceCreamIcon:Eo,Icon:H_,IdCard:T4,IdCardIcon:T4,IdCardLanyard:E4,IdCardLanyardIcon:E4,Image:U4,ImageDown:H4,ImageDownIcon:H4,ImageIcon:U4,ImageMinus:j4,ImageMinusIcon:j4,ImageOff:O4,ImageOffIcon:O4,ImagePlay:F4,ImagePlayIcon:F4,ImagePlus:R4,ImagePlusIcon:R4,ImageUp:N4,ImageUpIcon:N4,ImageUpscale:$4,ImageUpscaleIcon:$4,Images:W4,ImagesIcon:W4,Import:K4,ImportIcon:K4,Inbox:G4,InboxIcon:G4,Indent:qt,IndentDecrease:Vt,IndentDecreaseIcon:Vt,IndentIcon:qt,IndentIncrease:qt,IndentIncreaseIcon:qt,IndianRupee:X4,IndianRupeeIcon:X4,Infinity:Z4,InfinityIcon:Z4,Info:Y4,InfoIcon:Y4,Inspect:ti,InspectIcon:ti,InspectionPanel:Q4,InspectionPanelIcon:Q4,Instagram:J4,InstagramIcon:J4,Italic:e5,ItalicIcon:e5,IterationCcw:t5,IterationCcwIcon:t5,IterationCw:a5,IterationCwIcon:a5,JapaneseYen:n5,JapaneseYenIcon:n5,Joystick:o5,JoystickIcon:o5,Kanban:r5,KanbanIcon:r5,KanbanSquare:Zr,KanbanSquareDashed:Nr,KanbanSquareDashedIcon:Nr,KanbanSquareIcon:Zr,Kayak:i5,KayakIcon:i5,Key:d5,KeyIcon:d5,KeyRound:s5,KeyRoundIcon:s5,KeySquare:l5,KeySquareIcon:l5,Keyboard:u5,KeyboardIcon:u5,KeyboardMusic:c5,KeyboardMusicIcon:c5,KeyboardOff:h5,KeyboardOffIcon:h5,Lamp:g5,LampCeiling:p5,LampCeilingIcon:p5,LampDesk:y5,LampDeskIcon:y5,LampFloor:k5,LampFloorIcon:k5,LampIcon:g5,LampWallDown:f5,LampWallDownIcon:f5,LampWallUp:m5,LampWallUpIcon:m5,LandPlot:M5,LandPlotIcon:M5,Landmark:x5,LandmarkIcon:x5,Languages:b5,LanguagesIcon:b5,Laptop:v5,Laptop2:To,Laptop2Icon:To,LaptopIcon:v5,LaptopMinimal:To,LaptopMinimalCheck:w5,LaptopMinimalCheckIcon:w5,LaptopMinimalIcon:To,Lasso:L5,LassoIcon:L5,LassoSelect:C5,LassoSelectIcon:C5,Laugh:S5,LaughIcon:S5,Layers:Ho,Layers2:I5,Layers2Icon:I5,Layers3:Ho,Layers3Icon:Ho,LayersIcon:Ho,LayersPlus:_5,LayersPlusIcon:_5,Layout:nr,LayoutDashboard:A5,LayoutDashboardIcon:A5,LayoutGrid:B5,LayoutGridIcon:B5,LayoutIcon:nr,LayoutList:z5,LayoutListIcon:z5,LayoutPanelLeft:V5,LayoutPanelLeftIcon:V5,LayoutPanelTop:q5,LayoutPanelTopIcon:q5,LayoutTemplate:P5,LayoutTemplateIcon:P5,Leaf:D5,LeafIcon:D5,LeafyGreen:E5,LeafyGreenIcon:E5,Lectern:T5,LecternIcon:T5,LensConcave:H5,LensConcaveIcon:H5,LensConvex:j5,LensConvexIcon:j5,LetterText:vi,LetterTextIcon:vi,Library:N5,LibraryBig:O5,LibraryBigIcon:O5,LibraryIcon:N5,LibrarySquare:Yr,LibrarySquareIcon:Yr,LifeBuoy:R5,LifeBuoyIcon:R5,Ligature:F5,LigatureIcon:F5,Lightbulb:U5,LightbulbIcon:U5,LightbulbOff:$5,LightbulbOffIcon:$5,LineChart:an,LineChartIcon:an,LineDotRightHorizontal:W5,LineDotRightHorizontalIcon:W5,LineSquiggle:G5,LineSquiggleIcon:G5,Link:Gs,Link2:X5,Link2Icon:X5,Link2Off:K5,Link2OffIcon:K5,LinkIcon:Gs,Linkedin:Z5,LinkedinIcon:Z5,List:fg,ListCheck:Y5,ListCheckIcon:Y5,ListChecks:Q5,ListChecksIcon:Q5,ListChevronsDownUp:eg,ListChevronsDownUpIcon:eg,ListChevronsUpDown:J5,ListChevronsUpDownIcon:J5,ListCollapse:tg,ListCollapseIcon:tg,ListEnd:ag,ListEndIcon:ag,ListFilter:ng,ListFilterIcon:ng,ListFilterPlus:og,ListFilterPlusIcon:og,ListIcon:fg,ListIndentDecrease:Vt,ListIndentDecreaseIcon:Vt,ListIndentIncrease:qt,ListIndentIncreaseIcon:qt,ListMinus:lg,ListMinusIcon:lg,ListMusic:rg,ListMusicIcon:rg,ListOrdered:ig,ListOrderedIcon:ig,ListPlus:sg,ListPlusIcon:sg,ListRestart:cg,ListRestartIcon:cg,ListStart:dg,ListStartIcon:dg,ListTodo:ug,ListTodoIcon:ug,ListTree:hg,ListTreeIcon:hg,ListVideo:pg,ListVideoIcon:pg,ListX:yg,ListXIcon:yg,Loader:mg,Loader2:kt,Loader2Icon:kt,LoaderCircle:kt,LoaderCircleIcon:kt,LoaderIcon:mg,LoaderPinwheel:kg,LoaderPinwheelIcon:kg,Locate:bg,LocateFixed:gg,LocateFixedIcon:gg,LocateIcon:bg,LocateOff:Mg,LocateOffIcon:Mg,LocationEdit:Ro,LocationEditIcon:Ro,Lock:wg,LockIcon:wg,LockKeyhole:xg,LockKeyholeIcon:xg,LockKeyholeOpen:jo,LockKeyholeOpenIcon:jo,LockOpen:Oo,LockOpenIcon:Oo,LogIn:vg,LogInIcon:vg,LogOut:Cg,LogOutIcon:Cg,Logs:Lg,LogsIcon:Lg,Lollipop:Sg,LollipopIcon:Sg,LucideAArrowDown:J1,LucideAArrowUp:el,LucideALargeSmall:tl,LucideAccessibility:al,LucideActivity:nl,LucideActivitySquare:Mr,LucideAirVent:ol,LucideAirplay:rl,LucideAlarmCheck:Va,LucideAlarmClock:sl,LucideAlarmClockCheck:Va,LucideAlarmClockMinus:qa,LucideAlarmClockOff:il,LucideAlarmClockPlus:Pa,LucideAlarmMinus:qa,LucideAlarmPlus:Pa,LucideAlarmSmoke:ll,LucideAlbum:dl,LucideAlertCircle:It,LucideAlertOctagon:Wo,LucideAlertTriangle:Ai,LucideAlignCenter:wi,LucideAlignCenterHorizontal:cl,LucideAlignCenterVertical:hl,LucideAlignEndHorizontal:ul,LucideAlignEndVertical:pl,LucideAlignHorizontalDistributeCenter:yl,LucideAlignHorizontalDistributeEnd:fl,LucideAlignHorizontalDistributeStart:kl,LucideAlignHorizontalJustifyCenter:ml,LucideAlignHorizontalJustifyEnd:gl,LucideAlignHorizontalJustifyStart:Ml,LucideAlignHorizontalSpaceAround:bl,LucideAlignHorizontalSpaceBetween:xl,LucideAlignJustify:xi,LucideAlignLeft:Dt,LucideAlignRight:bi,LucideAlignStartHorizontal:wl,LucideAlignStartVertical:vl,LucideAlignVerticalDistributeCenter:Cl,LucideAlignVerticalDistributeEnd:Ll,LucideAlignVerticalDistributeStart:Sl,LucideAlignVerticalJustifyCenter:Il,LucideAlignVerticalJustifyEnd:_l,LucideAlignVerticalJustifyStart:Al,LucideAlignVerticalSpaceAround:Bl,LucideAlignVerticalSpaceBetween:zl,LucideAmbulance:Vl,LucideAmpersand:ql,LucideAmpersands:Pl,LucideAmphora:El,LucideAnchor:Dl,LucideAngry:Tl,LucideAnnoyed:Hl,LucideAntenna:jl,LucideAnvil:Ol,LucideAperture:Fl,LucideAppWindow:Nl,LucideAppWindowMac:Rl,LucideApple:$l,LucideArchive:Gl,LucideArchiveRestore:Ul,LucideArchiveX:Wl,LucideAreaChart:Xa,LucideArmchair:Kl,LucideArrowBigDown:Zl,LucideArrowBigDownDash:Xl,LucideArrowBigLeft:Ql,LucideArrowBigLeftDash:Yl,LucideArrowBigRight:ec,LucideArrowBigRightDash:Jl,LucideArrowBigUp:tc,LucideArrowBigUpDash:ac,LucideArrowDown:uc,LucideArrowDown01:oc,LucideArrowDown10:nc,LucideArrowDownAZ:Da,LucideArrowDownAz:Da,LucideArrowDownCircle:un,LucideArrowDownFromLine:rc,LucideArrowDownLeft:ic,LucideArrowDownLeftFromCircle:yn,LucideArrowDownLeftFromSquare:Cr,LucideArrowDownLeftSquare:br,LucideArrowDownNarrowWide:lc,LucideArrowDownRight:sc,LucideArrowDownRightFromCircle:fn,LucideArrowDownRightFromSquare:Lr,LucideArrowDownRightSquare:xr,LucideArrowDownSquare:wr,LucideArrowDownToDot:cc,LucideArrowDownToLine:dc,LucideArrowDownUp:hc,LucideArrowDownWideNarrow:Ea,LucideArrowDownZA:Ta,LucideArrowDownZa:Ta,LucideArrowLeft:kc,LucideArrowLeftCircle:pn,LucideArrowLeftFromLine:pc,LucideArrowLeftRight:fc,LucideArrowLeftSquare:vr,LucideArrowLeftToLine:yc,LucideArrowRight:Ts,LucideArrowRightCircle:gn,LucideArrowRightFromLine:mc,LucideArrowRightLeft:gc,LucideArrowRightSquare:_r,LucideArrowRightToLine:Mc,LucideArrowUp:Bc,LucideArrowUp01:bc,LucideArrowUp10:xc,LucideArrowUpAZ:Ha,LucideArrowUpAz:Ha,LucideArrowUpCircle:Mn,LucideArrowUpDown:wc,LucideArrowUpFromDot:vc,LucideArrowUpFromLine:Cc,LucideArrowUpLeft:Lc,LucideArrowUpLeftFromCircle:kn,LucideArrowUpLeftFromSquare:Sr,LucideArrowUpLeftSquare:Br,LucideArrowUpNarrowWide:ja,LucideArrowUpRight:Sc,LucideArrowUpRightFromCircle:mn,LucideArrowUpRightFromSquare:Ir,LucideArrowUpRightSquare:Ar,LucideArrowUpSquare:zr,LucideArrowUpToLine:Ic,LucideArrowUpWideNarrow:_c,LucideArrowUpZA:Oa,LucideArrowUpZa:Oa,LucideArrowsUpFromLine:Ac,LucideAsterisk:zc,LucideAsteriskSquare:Vr,LucideAtSign:Vc,LucideAtom:qc,LucideAudioLines:Pc,LucideAudioWaveform:Dc,LucideAward:Ec,LucideAxe:Tc,LucideAxis3D:Fa,LucideAxis3d:Fa,LucideBaby:jc,LucideBackpack:Hc,LucideBadge:td,LucideBadgeAlert:Oc,LucideBadgeCent:Fc,LucideBadgeCheck:Ra,LucideBadgeDollarSign:Rc,LucideBadgeEuro:Nc,LucideBadgeHelp:Na,LucideBadgeIndianRupee:$c,LucideBadgeInfo:Uc,LucideBadgeJapaneseYen:Wc,LucideBadgeMinus:Gc,LucideBadgePercent:Kc,LucideBadgePlus:Xc,LucideBadgePoundSterling:Zc,LucideBadgeQuestionMark:Na,LucideBadgeRussianRuble:Yc,LucideBadgeSwissFranc:Qc,LucideBadgeTurkishLira:Jc,LucideBadgeX:ed,LucideBaggageClaim:ad,LucideBalloon:nd,LucideBan:rd,LucideBanana:od,LucideBandage:id,LucideBanknote:ud,LucideBanknoteArrowDown:sd,LucideBanknoteArrowUp:ld,LucideBanknoteX:cd,LucideBarChart:nn,LucideBarChart2:on,LucideBarChart3:tn,LucideBarChart4:en,LucideBarChartBig:Ja,LucideBarChartHorizontal:Qa,LucideBarChartHorizontalBig:Za,LucideBarcode:dd,LucideBarrel:hd,LucideBaseline:pd,LucideBath:yd,LucideBattery:xd,LucideBatteryCharging:fd,LucideBatteryFull:kd,LucideBatteryLow:md,LucideBatteryMedium:Md,LucideBatteryPlus:gd,LucideBatteryWarning:bd,LucideBeaker:wd,LucideBean:Cd,LucideBeanOff:vd,LucideBed:Id,LucideBedDouble:Ld,LucideBedSingle:Sd,LucideBeef:_d,LucideBeer:Bd,LucideBeerOff:Ad,LucideBell:Ed,LucideBellDot:zd,LucideBellElectric:Vd,LucideBellMinus:qd,LucideBellOff:Pd,LucideBellPlus:Dd,LucideBellRing:Td,LucideBetweenHorizonalEnd:$a,LucideBetweenHorizonalStart:Ua,LucideBetweenHorizontalEnd:$a,LucideBetweenHorizontalStart:Ua,LucideBetweenVerticalEnd:Hd,LucideBetweenVerticalStart:jd,LucideBicepsFlexed:Od,LucideBike:Fd,LucideBinary:Rd,LucideBinoculars:$d,LucideBiohazard:Nd,LucideBird:Ud,LucideBirdhouse:Wd,LucideBitcoin:Gd,LucideBlend:Kd,LucideBlinds:Xd,LucideBlocks:Yd,LucideBluetooth:e0,LucideBluetoothConnected:Zd,LucideBluetoothOff:Qd,LucideBluetoothSearching:Jd,LucideBold:t0,LucideBolt:a0,LucideBomb:n0,LucideBone:o0,LucideBook:A0,LucideBookA:r0,LucideBookAlert:i0,LucideBookAudio:s0,LucideBookCheck:c0,LucideBookCopy:l0,LucideBookDashed:Wa,LucideBookDown:d0,LucideBookHeadphones:h0,LucideBookHeart:u0,LucideBookImage:p0,LucideBookKey:y0,LucideBookLock:f0,LucideBookMarked:k0,LucideBookMinus:m0,LucideBookOpen:b0,LucideBookOpenCheck:g0,LucideBookOpenText:M0,LucideBookPlus:x0,LucideBookSearch:w0,LucideBookTemplate:Wa,LucideBookText:v0,LucideBookType:C0,LucideBookUp:L0,LucideBookUp2:S0,LucideBookUser:I0,LucideBookX:_0,LucideBookmark:P0,LucideBookmarkCheck:B0,LucideBookmarkMinus:z0,LucideBookmarkPlus:V0,LucideBookmarkX:q0,LucideBoomBox:E0,LucideBot:H0,LucideBotMessageSquare:D0,LucideBotOff:T0,LucideBottleWine:O0,LucideBowArrow:j0,LucideBox:F0,LucideBoxSelect:Ur,LucideBoxes:R0,LucideBraces:Ga,LucideBrackets:N0,LucideBrain:W0,LucideBrainCircuit:U0,LucideBrainCog:$0,LucideBrickWall:K0,LucideBrickWallFire:G0,LucideBrickWallShield:X0,LucideBriefcase:Q0,LucideBriefcaseBusiness:Z0,LucideBriefcaseConveyorBelt:Y0,LucideBriefcaseMedical:J0,LucideBringToFront:e2,LucideBrush:a2,LucideBrushCleaning:t2,LucideBubbles:n2,LucideBug:i2,LucideBugOff:o2,LucideBugPlay:r2,LucideBuilding:l2,LucideBuilding2:s2,LucideBus:d2,LucideBusFront:c2,LucideCable:u2,LucideCableCar:h2,LucideCake:y2,LucideCakeSlice:p2,LucideCalculator:f2,LucideCalendar:Hs,LucideCalendar1:k2,LucideCalendarArrowDown:M2,LucideCalendarArrowUp:m2,LucideCalendarCheck:b2,LucideCalendarCheck2:g2,LucideCalendarClock:x2,LucideCalendarCog:v2,LucideCalendarDays:w2,LucideCalendarFold:C2,LucideCalendarHeart:L2,LucideCalendarMinus:I2,LucideCalendarMinus2:S2,LucideCalendarOff:_2,LucideCalendarPlus:B2,LucideCalendarPlus2:A2,LucideCalendarRange:z2,LucideCalendarSearch:V2,LucideCalendarSync:q2,LucideCalendarX:D2,LucideCalendarX2:P2,LucideCalendars:E2,LucideCamera:H2,LucideCameraOff:T2,LucideCandlestickChart:Ya,LucideCandy:F2,LucideCandyCane:j2,LucideCandyOff:O2,LucideCannabis:N2,LucideCannabisOff:R2,LucideCaptions:Ka,LucideCaptionsOff:$2,LucideCar:G2,LucideCarFront:U2,LucideCarTaxiFront:W2,LucideCaravan:K2,LucideCardSim:X2,LucideCarrot:Z2,LucideCaseLower:Y2,LucideCaseSensitive:Q2,LucideCaseUpper:J2,LucideCassetteTape:eh,LucideCast:th,LucideCastle:ah,LucideCat:nh,LucideCctv:oh,LucideChartArea:Xa,LucideChartBar:Qa,LucideChartBarBig:Za,LucideChartBarDecreasing:ih,LucideChartBarIncreasing:rh,LucideChartBarStacked:sh,LucideChartCandlestick:Ya,LucideChartColumn:tn,LucideChartColumnBig:Ja,LucideChartColumnDecreasing:lh,LucideChartColumnIncreasing:en,LucideChartColumnStacked:ch,LucideChartGantt:dh,LucideChartLine:an,LucideChartNetwork:hh,LucideChartNoAxesColumn:on,LucideChartNoAxesColumnDecreasing:uh,LucideChartNoAxesColumnIncreasing:nn,LucideChartNoAxesCombined:ph,LucideChartNoAxesGantt:sn,LucideChartPie:rn,LucideChartScatter:ln,LucideChartSpline:fh,LucideCheck:sa,LucideCheckCheck:yh,LucideCheckCircle:la,LucideCheckCircle2:bn,LucideCheckLine:kh,LucideCheckSquare:Er,LucideCheckSquare2:Tr,LucideChefHat:mh,LucideCherry:gh,LucideChessBishop:Mh,LucideChessKing:bh,LucideChessKnight:xh,LucideChessPawn:wh,LucideChessQueen:vh,LucideChessRook:Ch,LucideChevronDown:St,LucideChevronDownCircle:wn,LucideChevronDownSquare:Hr,LucideChevronFirst:Lh,LucideChevronLast:Sh,LucideChevronLeft:cn,LucideChevronLeftCircle:vn,LucideChevronLeftSquare:jr,LucideChevronRight:dn,LucideChevronRightCircle:xn,LucideChevronRightSquare:Or,LucideChevronUp:js,LucideChevronUpCircle:Cn,LucideChevronUpSquare:Fr,LucideChevronsDown:_h,LucideChevronsDownUp:Ih,LucideChevronsLeft:Os,LucideChevronsLeftRight:Bh,LucideChevronsLeftRightEllipsis:Ah,LucideChevronsRight:Fs,LucideChevronsRightLeft:zh,LucideChevronsUp:qh,LucideChevronsUpDown:Vh,LucideChrome:hn,LucideChromium:hn,LucideChurch:Dh,LucideCigarette:Eh,LucideCigaretteOff:Ph,LucideCircle:Rs,LucideCircleAlert:It,LucideCircleArrowDown:un,LucideCircleArrowLeft:pn,LucideCircleArrowOutDownLeft:yn,LucideCircleArrowOutDownRight:fn,LucideCircleArrowOutUpLeft:kn,LucideCircleArrowOutUpRight:mn,LucideCircleArrowRight:gn,LucideCircleArrowUp:Mn,LucideCircleCheck:bn,LucideCircleCheckBig:la,LucideCircleChevronDown:wn,LucideCircleChevronLeft:vn,LucideCircleChevronRight:xn,LucideCircleChevronUp:Cn,LucideCircleDashed:Th,LucideCircleDivide:Ln,LucideCircleDollarSign:Hh,LucideCircleDot:Oh,LucideCircleDotDashed:jh,LucideCircleEllipsis:Rh,LucideCircleEqual:Fh,LucideCircleFadingArrowUp:Nh,LucideCircleFadingPlus:$h,LucideCircleGauge:Sn,LucideCircleHelp:_t,LucideCircleMinus:In,LucideCircleOff:Uh,LucideCircleParking:An,LucideCircleParkingOff:_n,LucideCirclePause:Bn,LucideCirclePercent:zn,LucideCirclePile:Wh,LucideCirclePlay:Vn,LucideCirclePlus:qn,LucideCirclePoundSterling:Gh,LucideCirclePower:Pn,LucideCircleQuestionMark:_t,LucideCircleSlash:Kh,LucideCircleSlash2:Dn,LucideCircleSlashed:Dn,LucideCircleSmall:Xh,LucideCircleStar:Zh,LucideCircleStop:En,LucideCircleUser:Hn,LucideCircleUserRound:Tn,LucideCircleX:jn,LucideCircuitBoard:Yh,LucideCitrus:Qh,LucideClapperboard:Jh,LucideClipboard:cu,LucideClipboardCheck:tu,LucideClipboardClock:eu,LucideClipboardCopy:au,LucideClipboardEdit:Fn,LucideClipboardList:nu,LucideClipboardMinus:ou,LucideClipboardPaste:ru,LucideClipboardPen:Fn,LucideClipboardPenLine:On,LucideClipboardPlus:iu,LucideClipboardSignature:On,LucideClipboardType:su,LucideClipboardX:lu,LucideClock:Ns,LucideClock1:du,LucideClock10:hu,LucideClock11:uu,LucideClock12:pu,LucideClock2:yu,LucideClock3:fu,LucideClock4:ku,LucideClock5:mu,LucideClock6:gu,LucideClock7:Mu,LucideClock8:bu,LucideClock9:xu,LucideClockAlert:wu,LucideClockArrowDown:vu,LucideClockArrowUp:Cu,LucideClockCheck:Lu,LucideClockFading:Su,LucideClockPlus:Iu,LucideClosedCaption:_u,LucideCloud:Wu,LucideCloudAlert:Au,LucideCloudBackup:Bu,LucideCloudCheck:zu,LucideCloudCog:Vu,LucideCloudDownload:Rn,LucideCloudDrizzle:qu,LucideCloudFog:Pu,LucideCloudHail:Du,LucideCloudLightning:Eu,LucideCloudMoon:Hu,LucideCloudMoonRain:Tu,LucideCloudOff:ju,LucideCloudRain:Fu,LucideCloudRainWind:Ou,LucideCloudSnow:Ru,LucideCloudSun:$u,LucideCloudSunRain:Nu,LucideCloudSync:Uu,LucideCloudUpload:ca,LucideCloudy:Gu,LucideClover:Ku,LucideClub:Xu,LucideCode:Zu,LucideCode2:Nn,LucideCodeSquare:Rr,LucideCodeXml:Nn,LucideCodepen:Yu,LucideCodesandbox:Qu,LucideCoffee:Ju,LucideCog:ep,LucideCoins:tp,LucideColumns:$n,LucideColumns2:$n,LucideColumns3:Un,LucideColumns3Cog:At,LucideColumns4:ap,LucideColumnsSettings:At,LucideCombine:np,LucideCommand:op,LucideCompass:rp,LucideComponent:ip,LucideComputer:sp,LucideConciergeBell:lp,LucideCone:cp,LucideConstruction:dp,LucideContact:hp,LucideContact2:Wn,LucideContactRound:Wn,LucideContainer:up,LucideContrast:pp,LucideCookie:fp,LucideCookingPot:yp,LucideCopy:xp,LucideCopyCheck:kp,LucideCopyMinus:mp,LucideCopyPlus:gp,LucideCopySlash:bp,LucideCopyX:Mp,LucideCopyleft:wp,LucideCopyright:vp,LucideCornerDownLeft:Cp,LucideCornerDownRight:Sp,LucideCornerLeftDown:Lp,LucideCornerLeftUp:Ip,LucideCornerRightDown:_p,LucideCornerRightUp:Ap,LucideCornerUpLeft:Bp,LucideCornerUpRight:zp,LucideCpu:ls,LucideCreativeCommons:Vp,LucideCreditCard:qp,LucideCroissant:Pp,LucideCrop:Dp,LucideCross:Ep,LucideCrosshair:Hp,LucideCrown:Tp,LucideCuboid:jp,LucideCupSoda:Op,LucideCurlyBraces:Ga,LucideCurrency:Fp,LucideCylinder:Rp,LucideDam:Np,LucideDatabase:Gp,LucideDatabaseBackup:$p,LucideDatabaseSearch:Up,LucideDatabaseZap:Wp,LucideDecimalsArrowLeft:Kp,LucideDecimalsArrowRight:Xp,LucideDelete:Zp,LucideDessert:Yp,LucideDiameter:Qp,LucideDiamond:ty,LucideDiamondMinus:Jp,LucideDiamondPercent:Gn,LucideDiamondPlus:ey,LucideDice1:ay,LucideDice2:ny,LucideDice3:oy,LucideDice4:ry,LucideDice5:iy,LucideDice6:sy,LucideDices:ly,LucideDiff:cy,LucideDisc:py,LucideDisc2:dy,LucideDisc3:hy,LucideDiscAlbum:uy,LucideDivide:yy,LucideDivideCircle:Ln,LucideDivideSquare:Gr,LucideDna:ky,LucideDnaOff:fy,LucideDock:my,LucideDog:My,LucideDollarSign:gy,LucideDonut:xy,LucideDoorClosed:wy,LucideDoorClosedLocked:by,LucideDoorOpen:vy,LucideDot:Cy,LucideDotSquare:Wr,LucideDownload:$s,LucideDownloadCloud:Rn,LucideDraftingCompass:Ly,LucideDrama:Iy,LucideDribbble:Sy,LucideDrill:_y,LucideDrone:Ay,LucideDroplet:zy,LucideDropletOff:By,LucideDroplets:Vy,LucideDrum:qy,LucideDrumstick:Py,LucideDumbbell:Dy,LucideEar:Ty,LucideEarOff:Ey,LucideEarth:Kn,LucideEarthLock:Hy,LucideEclipse:jy,LucideEdit:Xe,LucideEdit2:rr,LucideEdit3:or,LucideEgg:Fy,LucideEggFried:Oy,LucideEggOff:Ry,LucideEllipsis:da,LucideEllipsisVertical:Xn,LucideEqual:Uy,LucideEqualApproximately:$y,LucideEqualNot:Ny,LucideEqualSquare:Kr,LucideEraser:Wy,LucideEthernetPort:Gy,LucideEuro:Ky,LucideEvCharger:Xy,LucideExpand:Zy,LucideExternalLink:Yy,LucideEye:cs,LucideEyeClosed:Qy,LucideEyeOff:Us,LucideFacebook:Jy,LucideFactory:ef,LucideFan:tf,LucideFastForward:af,LucideFeather:nf,LucideFence:of,LucideFerrisWheel:rf,LucideFigma:sf,LucideFile:Df,LucideFileArchive:lf,LucideFileAudio:Bt,LucideFileAudio2:Bt,LucideFileAxis3D:Zn,LucideFileAxis3d:Zn,LucideFileBadge:Yn,LucideFileBadge2:Yn,LucideFileBarChart:eo,LucideFileBarChart2:to,LucideFileBox:cf,LucideFileBraces:Jn,LucideFileBracesCorner:Qn,LucideFileChartColumn:to,LucideFileChartColumnIncreasing:eo,LucideFileChartLine:ao,LucideFileChartPie:no,LucideFileCheck:df,LucideFileCheck2:oo,LucideFileCheckCorner:oo,LucideFileClock:hf,LucideFileCode:uf,LucideFileCode2:ro,LucideFileCodeCorner:ro,LucideFileCog:io,LucideFileCog2:io,LucideFileDiff:pf,LucideFileDigit:ff,LucideFileDown:yf,LucideFileEdit:yo,LucideFileExclamationPoint:so,LucideFileHeadphone:Bt,LucideFileHeart:kf,LucideFileImage:mf,LucideFileInput:gf,LucideFileJson:Jn,LucideFileJson2:Qn,LucideFileKey:lo,LucideFileKey2:lo,LucideFileLineChart:ao,LucideFileLock:co,LucideFileLock2:co,LucideFileMinus:bf,LucideFileMinus2:ho,LucideFileMinusCorner:ho,LucideFileMusic:Mf,LucideFileOutput:xf,LucideFilePen:yo,LucideFilePenLine:uo,LucideFilePieChart:no,LucideFilePlay:po,LucideFilePlus:wf,LucideFilePlus2:fo,LucideFilePlusCorner:fo,LucideFileQuestion:ko,LucideFileQuestionMark:ko,LucideFileScan:vf,LucideFileSearch:Cf,LucideFileSearch2:mo,LucideFileSearchCorner:mo,LucideFileSignal:go,LucideFileSignature:uo,LucideFileSliders:Lf,LucideFileSpreadsheet:Sf,LucideFileStack:If,LucideFileSymlink:_f,LucideFileTerminal:Af,LucideFileText:ds,LucideFileType:Bf,LucideFileType2:Mo,LucideFileTypeCorner:Mo,LucideFileUp:zf,LucideFileUser:Vf,LucideFileVideo:po,LucideFileVideo2:bo,LucideFileVideoCamera:bo,LucideFileVolume:qf,LucideFileVolume2:go,LucideFileWarning:so,LucideFileX:Pf,LucideFileX2:xo,LucideFileXCorner:xo,LucideFiles:Tf,LucideFilm:Ef,LucideFilter:So,LucideFilterX:Lo,LucideFingerprint:wo,LucideFingerprintPattern:wo,LucideFireExtinguisher:Hf,LucideFish:Ff,LucideFishOff:jf,LucideFishSymbol:Of,LucideFishingHook:Rf,LucideFlag:Wf,LucideFlagOff:Nf,LucideFlagTriangleLeft:$f,LucideFlagTriangleRight:Uf,LucideFlame:Kf,LucideFlameKindling:Gf,LucideFlashlight:Zf,LucideFlashlightOff:Xf,LucideFlaskConical:Qf,LucideFlaskConicalOff:Yf,LucideFlaskRound:Jf,LucideFlipHorizontal:Pr,LucideFlipHorizontal2:ek,LucideFlipVertical:Dr,LucideFlipVertical2:tk,LucideFlower:nk,LucideFlower2:ak,LucideFocus:ok,LucideFoldHorizontal:rk,LucideFoldVertical:ik,LucideFolder:Pk,LucideFolderArchive:sk,LucideFolderCheck:lk,LucideFolderClock:ck,LucideFolderClosed:dk,LucideFolderCode:hk,LucideFolderCog:vo,LucideFolderCog2:vo,LucideFolderDot:uk,LucideFolderDown:pk,LucideFolderEdit:Co,LucideFolderGit:fk,LucideFolderGit2:yk,LucideFolderHeart:kk,LucideFolderInput:mk,LucideFolderKanban:Mk,LucideFolderKey:gk,LucideFolderLock:bk,LucideFolderMinus:vk,LucideFolderOpen:wk,LucideFolderOpenDot:xk,LucideFolderOutput:Ck,LucideFolderPen:Co,LucideFolderPlus:Ik,LucideFolderRoot:Lk,LucideFolderSearch:_k,LucideFolderSearch2:Sk,LucideFolderSymlink:Bk,LucideFolderSync:Ak,LucideFolderTree:zk,LucideFolderUp:Vk,LucideFolderX:qk,LucideFolders:Dk,LucideFootprints:Ek,LucideForkKnife:Oi,LucideForkKnifeCrossed:ji,LucideForklift:Tk,LucideForm:Hk,LucideFormInput:lr,LucideForward:Ok,LucideFrame:jk,LucideFramer:Fk,LucideFrown:Rk,LucideFuel:Nk,LucideFullscreen:$k,LucideFunctionSquare:Xr,LucideFunnel:So,LucideFunnelPlus:Uk,LucideFunnelX:Lo,LucideGalleryHorizontal:Gk,LucideGalleryHorizontalEnd:Wk,LucideGalleryThumbnails:Kk,LucideGalleryVertical:Zk,LucideGalleryVerticalEnd:Xk,LucideGamepad:em,LucideGamepad2:Yk,LucideGamepadDirectional:Qk,LucideGanttChart:sn,LucideGanttChartSquare:Pt,LucideGauge:Jk,LucideGaugeCircle:Sn,LucideGavel:tm,LucideGem:am,LucideGeorgianLari:nm,LucideGhost:om,LucideGift:rm,LucideGitBranch:lm,LucideGitBranchMinus:im,LucideGitBranchPlus:sm,LucideGitCommit:Io,LucideGitCommitHorizontal:Io,LucideGitCommitVertical:cm,LucideGitCompare:hm,LucideGitCompareArrows:dm,LucideGitFork:um,LucideGitGraph:pm,LucideGitMerge:fm,LucideGitMergeConflict:ym,LucideGitPullRequest:xm,LucideGitPullRequestArrow:km,LucideGitPullRequestClosed:mm,LucideGitPullRequestCreate:Mm,LucideGitPullRequestCreateArrow:gm,LucideGitPullRequestDraft:bm,LucideGithub:wm,LucideGitlab:vm,LucideGlassWater:Cm,LucideGlasses:Lm,LucideGlobe:Ws,LucideGlobe2:Kn,LucideGlobeLock:Sm,LucideGlobeOff:Im,LucideGlobeX:_m,LucideGoal:Am,LucideGpu:zm,LucideGrab:Vo,LucideGraduationCap:Bm,LucideGrape:Vm,LucideGrid:zt,LucideGrid2X2:zo,LucideGrid2X2Check:_o,LucideGrid2X2Plus:Bo,LucideGrid2X2X:Ao,LucideGrid2x2:zo,LucideGrid2x2Check:_o,LucideGrid2x2Plus:Bo,LucideGrid2x2X:Ao,LucideGrid3X3:zt,LucideGrid3x2:qm,LucideGrid3x3:zt,LucideGrip:Em,LucideGripHorizontal:Pm,LucideGripVertical:Dm,LucideGroup:Hm,LucideGuitar:Tm,LucideHam:jm,LucideHamburger:Om,LucideHammer:Fm,LucideHand:Gm,LucideHandCoins:Rm,LucideHandFist:Nm,LucideHandGrab:Vo,LucideHandHeart:$m,LucideHandHelping:qo,LucideHandMetal:Um,LucideHandPlatter:Wm,LucideHandbag:Km,LucideHandshake:Xm,LucideHardDrive:Qm,LucideHardDriveDownload:Zm,LucideHardDriveUpload:Ym,LucideHardHat:Jm,LucideHash:e4,LucideHatGlasses:t4,LucideHaze:a4,LucideHd:n4,LucideHdmiPort:o4,LucideHeading:h4,LucideHeading1:r4,LucideHeading2:i4,LucideHeading3:s4,LucideHeading4:l4,LucideHeading5:c4,LucideHeading6:d4,LucideHeadphoneOff:u4,LucideHeadphones:p4,LucideHeadset:y4,LucideHeart:x4,LucideHeartCrack:f4,LucideHeartHandshake:m4,LucideHeartMinus:k4,LucideHeartOff:g4,LucideHeartPlus:M4,LucideHeartPulse:b4,LucideHeater:w4,LucideHelicopter:v4,LucideHelpCircle:_t,LucideHelpingHand:qo,LucideHexagon:C4,LucideHighlighter:L4,LucideHistory:S4,LucideHome:Po,LucideHop:_4,LucideHopOff:I4,LucideHospital:A4,LucideHotel:B4,LucideHourglass:z4,LucideHouse:Po,LucideHouseHeart:V4,LucideHousePlug:q4,LucideHousePlus:P4,LucideHouseWifi:D4,LucideIceCream:Eo,LucideIceCream2:Do,LucideIceCreamBowl:Do,LucideIceCreamCone:Eo,LucideIdCard:T4,LucideIdCardLanyard:E4,LucideImage:U4,LucideImageDown:H4,LucideImageMinus:j4,LucideImageOff:O4,LucideImagePlay:F4,LucideImagePlus:R4,LucideImageUp:N4,LucideImageUpscale:$4,LucideImages:W4,LucideImport:K4,LucideInbox:G4,LucideIndent:qt,LucideIndentDecrease:Vt,LucideIndentIncrease:qt,LucideIndianRupee:X4,LucideInfinity:Z4,LucideInfo:Y4,LucideInspect:ti,LucideInspectionPanel:Q4,LucideInstagram:J4,LucideItalic:e5,LucideIterationCcw:t5,LucideIterationCw:a5,LucideJapaneseYen:n5,LucideJoystick:o5,LucideKanban:r5,LucideKanbanSquare:Zr,LucideKanbanSquareDashed:Nr,LucideKayak:i5,LucideKey:d5,LucideKeyRound:s5,LucideKeySquare:l5,LucideKeyboard:u5,LucideKeyboardMusic:c5,LucideKeyboardOff:h5,LucideLamp:g5,LucideLampCeiling:p5,LucideLampDesk:y5,LucideLampFloor:k5,LucideLampWallDown:f5,LucideLampWallUp:m5,LucideLandPlot:M5,LucideLandmark:x5,LucideLanguages:b5,LucideLaptop:v5,LucideLaptop2:To,LucideLaptopMinimal:To,LucideLaptopMinimalCheck:w5,LucideLasso:L5,LucideLassoSelect:C5,LucideLaugh:S5,LucideLayers:Ho,LucideLayers2:I5,LucideLayers3:Ho,LucideLayersPlus:_5,LucideLayout:nr,LucideLayoutDashboard:A5,LucideLayoutGrid:B5,LucideLayoutList:z5,LucideLayoutPanelLeft:V5,LucideLayoutPanelTop:q5,LucideLayoutTemplate:P5,LucideLeaf:D5,LucideLeafyGreen:E5,LucideLectern:T5,LucideLensConcave:H5,LucideLensConvex:j5,LucideLetterText:vi,LucideLibrary:N5,LucideLibraryBig:O5,LucideLibrarySquare:Yr,LucideLifeBuoy:R5,LucideLigature:F5,LucideLightbulb:U5,LucideLightbulbOff:$5,LucideLineChart:an,LucideLineDotRightHorizontal:W5,LucideLineSquiggle:G5,LucideLink:Gs,LucideLink2:X5,LucideLink2Off:K5,LucideLinkedin:Z5,LucideList:fg,LucideListCheck:Y5,LucideListChecks:Q5,LucideListChevronsDownUp:eg,LucideListChevronsUpDown:J5,LucideListCollapse:tg,LucideListEnd:ag,LucideListFilter:ng,LucideListFilterPlus:og,LucideListIndentDecrease:Vt,LucideListIndentIncrease:qt,LucideListMinus:lg,LucideListMusic:rg,LucideListOrdered:ig,LucideListPlus:sg,LucideListRestart:cg,LucideListStart:dg,LucideListTodo:ug,LucideListTree:hg,LucideListVideo:pg,LucideListX:yg,LucideLoader:mg,LucideLoader2:kt,LucideLoaderCircle:kt,LucideLoaderPinwheel:kg,LucideLocate:bg,LucideLocateFixed:gg,LucideLocateOff:Mg,LucideLocationEdit:Ro,LucideLock:wg,LucideLockKeyhole:xg,LucideLockKeyholeOpen:jo,LucideLockOpen:Oo,LucideLogIn:vg,LucideLogOut:Cg,LucideLogs:Lg,LucideLollipop:Sg,LucideLuggage:Ig,LucideMSquare:Qr,LucideMagnet:_g,LucideMail:Eg,LucideMailCheck:Ag,LucideMailMinus:zg,LucideMailOpen:Bg,LucideMailPlus:Vg,LucideMailQuestion:Fo,LucideMailQuestionMark:Fo,LucideMailSearch:qg,LucideMailWarning:Dg,LucideMailX:Pg,LucideMailbox:jg,LucideMails:Tg,LucideMap:Qg,LucideMapMinus:Hg,LucideMapPin:Ks,LucideMapPinCheck:Og,LucideMapPinCheckInside:Fg,LucideMapPinHouse:Rg,LucideMapPinMinus:$g,LucideMapPinMinusInside:Ng,LucideMapPinOff:Ug,LucideMapPinPen:Ro,LucideMapPinPlus:Gg,LucideMapPinPlusInside:Wg,LucideMapPinX:Kg,LucideMapPinXInside:Xg,LucideMapPinned:Zg,LucideMapPlus:Yg,LucideMars:t3,LucideMarsStroke:Jg,LucideMartini:e3,LucideMaximize:n3,LucideMaximize2:a3,LucideMedal:o3,LucideMegaphone:i3,LucideMegaphoneOff:r3,LucideMeh:s3,LucideMemoryStick:l3,LucideMenu:c3,LucideMenuSquare:Jr,LucideMerge:d3,LucideMessageCircle:x3,LucideMessageCircleCheck:h3,LucideMessageCircleCode:u3,LucideMessageCircleDashed:p3,LucideMessageCircleHeart:y3,LucideMessageCircleMore:k3,LucideMessageCircleOff:f3,LucideMessageCirclePlus:m3,LucideMessageCircleQuestion:No,LucideMessageCircleQuestionMark:No,LucideMessageCircleReply:g3,LucideMessageCircleWarning:M3,LucideMessageCircleX:b3,LucideMessageSquare:hs,LucideMessageSquareCheck:w3,LucideMessageSquareCode:v3,LucideMessageSquareDashed:C3,LucideMessageSquareDiff:L3,LucideMessageSquareDot:S3,LucideMessageSquareHeart:I3,LucideMessageSquareLock:_3,LucideMessageSquareMore:A3,LucideMessageSquareOff:B3,LucideMessageSquarePlus:z3,LucideMessageSquareQuote:V3,LucideMessageSquareReply:q3,LucideMessageSquareShare:P3,LucideMessageSquareText:E3,LucideMessageSquareWarning:D3,LucideMessageSquareX:T3,LucideMessagesSquare:H3,LucideMetronome:j3,LucideMic:F3,LucideMic2:$o,LucideMicOff:O3,LucideMicVocal:$o,LucideMicrochip:R3,LucideMicroscope:N3,LucideMicrowave:$3,LucideMilestone:U3,LucideMilk:G3,LucideMilkOff:W3,LucideMinimize:K3,LucideMinimize2:X3,LucideMinus:Xs,LucideMinusCircle:In,LucideMinusSquare:ei,LucideMirrorRectangular:Z3,LucideMirrorRound:Y3,LucideMonitor:h8,LucideMonitorCheck:Q3,LucideMonitorCloud:J3,LucideMonitorCog:e8,LucideMonitorDot:t8,LucideMonitorDown:a8,LucideMonitorOff:n8,LucideMonitorPause:o8,LucideMonitorPlay:r8,LucideMonitorSmartphone:i8,LucideMonitorSpeaker:s8,LucideMonitorStop:l8,LucideMonitorUp:c8,LucideMonitorX:d8,LucideMoon:p8,LucideMoonStar:u8,LucideMoreHorizontal:da,LucideMoreVertical:Xn,LucideMotorbike:y8,LucideMountain:k8,LucideMountainSnow:f8,LucideMouse:L8,LucideMouseLeft:m8,LucideMouseOff:g8,LucideMousePointer:v8,LucideMousePointer2:b8,LucideMousePointer2Off:M8,LucideMousePointerBan:x8,LucideMousePointerClick:w8,LucideMousePointerSquareDashed:$r,LucideMouseRight:C8,LucideMove:H8,LucideMove3D:Uo,LucideMove3d:Uo,LucideMoveDiagonal:I8,LucideMoveDiagonal2:S8,LucideMoveDown:B8,LucideMoveDownLeft:_8,LucideMoveDownRight:A8,LucideMoveHorizontal:z8,LucideMoveLeft:V8,LucideMoveRight:P8,LucideMoveUp:E8,LucideMoveUpLeft:q8,LucideMoveUpRight:D8,LucideMoveVertical:T8,LucideMusic:R8,LucideMusic2:j8,LucideMusic3:O8,LucideMusic4:F8,LucideNavigation:W8,LucideNavigation2:$8,LucideNavigation2Off:N8,LucideNavigationOff:U8,LucideNetwork:G8,LucideNewspaper:K8,LucideNfc:X8,LucideNonBinary:Z8,LucideNotebook:e6,LucideNotebookPen:Q8,LucideNotebookTabs:Y8,LucideNotebookText:J8,LucideNotepadText:a6,LucideNotepadTextDashed:t6,LucideNut:o6,LucideNutOff:n6,LucideOctagon:i6,LucideOctagonAlert:Wo,LucideOctagonMinus:r6,LucideOctagonPause:Go,LucideOctagonX:Ko,LucideOmega:s6,LucideOption:l6,LucideOrbit:c6,LucideOrigami:d6,LucideOutdent:Vt,LucidePackage:g6,LucidePackage2:h6,LucidePackageCheck:p6,LucidePackageMinus:u6,LucidePackageOpen:y6,LucidePackagePlus:f6,LucidePackageSearch:k6,LucidePackageX:m6,LucidePaintBucket:M6,LucidePaintRoller:b6,LucidePaintbrush:x6,LucidePaintbrush2:Xo,LucidePaintbrushVertical:Xo,LucidePalette:w6,LucidePalmtree:_i,LucidePanda:v6,LucidePanelBottom:S6,LucidePanelBottomClose:C6,LucidePanelBottomDashed:Zo,LucidePanelBottomInactive:Zo,LucidePanelBottomOpen:L6,LucidePanelLeft:er,LucidePanelLeftClose:Qo,LucidePanelLeftDashed:Yo,LucidePanelLeftInactive:Yo,LucidePanelLeftOpen:Jo,LucidePanelLeftRightDashed:I6,LucidePanelRight:B6,LucidePanelRightClose:_6,LucidePanelRightDashed:tr,LucidePanelRightInactive:tr,LucidePanelRightOpen:A6,LucidePanelTop:P6,LucidePanelTopBottomDashed:z6,LucidePanelTopClose:V6,LucidePanelTopDashed:ar,LucidePanelTopInactive:ar,LucidePanelTopOpen:q6,LucidePanelsLeftBottom:D6,LucidePanelsLeftRight:Un,LucidePanelsRightBottom:E6,LucidePanelsTopBottom:hr,LucidePanelsTopLeft:nr,LucidePaperclip:T6,LucideParentheses:H6,LucideParkingCircle:An,LucideParkingCircleOff:_n,LucideParkingMeter:j6,LucideParkingSquare:ni,LucideParkingSquareOff:ai,LucidePartyPopper:O6,LucidePause:F6,LucidePauseCircle:Bn,LucidePauseOctagon:Go,LucidePawPrint:R6,LucidePcCase:N6,LucidePen:rr,LucidePenBox:Xe,LucidePenLine:or,LucidePenOff:$6,LucidePenSquare:Xe,LucidePenTool:U6,LucidePencil:ir,LucidePencilLine:W6,LucidePencilOff:G6,LucidePencilRuler:K6,LucidePentagon:X6,LucidePercent:Z6,LucidePercentCircle:zn,LucidePercentDiamond:Gn,LucidePercentSquare:oi,LucidePersonStanding:Y6,LucidePhilippinePeso:Q6,LucidePhone:Zs,LucidePhoneCall:J6,LucidePhoneForwarded:e7,LucidePhoneIncoming:t7,LucidePhoneMissed:n7,LucidePhoneOff:a7,LucidePhoneOutgoing:o7,LucidePi:r7,LucidePiSquare:ri,LucidePiano:i7,LucidePickaxe:s7,LucidePictureInPicture:c7,LucidePictureInPicture2:l7,LucidePieChart:rn,LucidePiggyBank:d7,LucidePilcrow:p7,LucidePilcrowLeft:h7,LucidePilcrowRight:u7,LucidePilcrowSquare:ii,LucidePill:g7,LucidePillBottle:y7,LucidePin:k7,LucidePinOff:f7,LucidePipette:m7,LucidePizza:M7,LucidePlane:Ys,LucidePlaneLanding:b7,LucidePlaneTakeoff:x7,LucidePlay:w7,LucidePlayCircle:Vn,LucidePlaySquare:si,LucidePlug:C7,LucidePlug2:v7,LucidePlugZap:sr,LucidePlugZap2:sr,LucidePlus:Qs,LucidePlusCircle:qn,LucidePlusSquare:li,LucidePocket:S7,LucidePocketKnife:L7,LucidePodcast:I7,LucidePointer:A7,LucidePointerOff:_7,LucidePopcorn:B7,LucidePopsicle:z7,LucidePoundSterling:q7,LucidePower:P7,LucidePowerCircle:Pn,LucidePowerOff:V7,LucidePowerSquare:ci,LucidePresentation:D7,LucidePrinter:H7,LucidePrinterCheck:E7,LucidePrinterX:T7,LucideProjector:j7,LucideProportions:R7,LucidePuzzle:O7,LucidePyramid:F7,LucideQrCode:N7,LucideQuote:$7,LucideRabbit:W7,LucideRadar:U7,LucideRadiation:K7,LucideRadical:G7,LucideRadio:Y7,LucideRadioReceiver:X7,LucideRadioTower:Z7,LucideRadius:Q7,LucideRailSymbol:J7,LucideRainbow:eM,LucideRat:tM,LucideRatio:aM,LucideReceipt:uM,LucideReceiptCent:nM,LucideReceiptEuro:oM,LucideReceiptIndianRupee:rM,LucideReceiptJapaneseYen:iM,LucideReceiptPoundSterling:sM,LucideReceiptRussianRuble:lM,LucideReceiptSwissFranc:cM,LucideReceiptText:dM,LucideReceiptTurkishLira:hM,LucideRectangleCircle:pM,LucideRectangleEllipsis:lr,LucideRectangleGoggles:yM,LucideRectangleHorizontal:fM,LucideRectangleVertical:kM,LucideRecycle:mM,LucideRedo:MM,LucideRedo2:gM,LucideRedoDot:bM,LucideRefreshCcw:wM,LucideRefreshCcwDot:xM,LucideRefreshCw:us,LucideRefreshCwOff:vM,LucideRefrigerator:LM,LucideRegex:CM,LucideRemoveFormatting:SM,LucideRepeat:_M,LucideRepeat1:IM,LucideRepeat2:BM,LucideReplace:zM,LucideReplaceAll:AM,LucideReply:qM,LucideReplyAll:VM,LucideRewind:DM,LucideRibbon:PM,LucideRocket:EM,LucideRockingChair:TM,LucideRollerCoaster:HM,LucideRose:jM,LucideRotate3D:cr,LucideRotate3d:cr,LucideRotateCcw:RM,LucideRotateCcwKey:OM,LucideRotateCcwSquare:FM,LucideRotateCw:$M,LucideRotateCwSquare:NM,LucideRoute:WM,LucideRouteOff:UM,LucideRouter:GM,LucideRows:dr,LucideRows2:dr,LucideRows3:hr,LucideRows4:KM,LucideRss:XM,LucideRuler:ZM,LucideRulerDimensionLine:YM,LucideRussianRuble:QM,LucideSailboat:JM,LucideSalad:eb,LucideSandwich:ab,LucideSatellite:nb,LucideSatelliteDish:tb,LucideSaudiRiyal:ob,LucideSave:sb,LucideSaveAll:ib,LucideSaveOff:rb,LucideScale:lb,LucideScale3D:ur,LucideScale3d:ur,LucideScaling:cb,LucideScan:mb,LucideScanBarcode:db,LucideScanEye:hb,LucideScanFace:ub,LucideScanHeart:pb,LucideScanLine:yb,LucideScanQrCode:kb,LucideScanSearch:fb,LucideScanText:gb,LucideScatterChart:ln,LucideSchool:Mb,LucideSchool2:zi,LucideScissors:wb,LucideScissorsLineDashed:bb,LucideScissorsSquare:di,LucideScissorsSquareDashedBottom:qr,LucideScooter:xb,LucideScreenShare:Cb,LucideScreenShareOff:vb,LucideScroll:Sb,LucideScrollText:Lb,LucideSearch:pr,LucideSearchAlert:Ib,LucideSearchCheck:Ab,LucideSearchCode:_b,LucideSearchSlash:Bb,LucideSearchX:zb,LucideSection:Vb,LucideSend:Pb,LucideSendHorizonal:yr,LucideSendHorizontal:yr,LucideSendToBack:qb,LucideSeparatorHorizontal:Db,LucideSeparatorVertical:Eb,LucideServer:Js,LucideServerCog:Tb,LucideServerCrash:Hb,LucideServerOff:Ob,LucideSettings:Fb,LucideSettings2:jb,LucideShapes:Rb,LucideShare:Nb,LucideShare2:e1,LucideSheet:$b,LucideShell:Ub,LucideShelvingUnit:Wb,LucideShield:ax,LucideShieldAlert:Gb,LucideShieldBan:Kb,LucideShieldCheck:Xb,LucideShieldClose:kr,LucideShieldEllipsis:Zb,LucideShieldHalf:Yb,LucideShieldMinus:ex,LucideShieldOff:Qb,LucideShieldPlus:Jb,LucideShieldQuestion:fr,LucideShieldQuestionMark:fr,LucideShieldUser:tx,LucideShieldX:kr,LucideShip:ox,LucideShipWheel:nx,LucideShirt:rx,LucideShoppingBag:ix,LucideShoppingBasket:sx,LucideShoppingCart:t1,LucideShovel:cx,LucideShowerHead:lx,LucideShredder:dx,LucideShrimp:hx,LucideShrink:ux,LucideShrub:px,LucideShuffle:yx,LucideSidebar:er,LucideSidebarClose:Qo,LucideSidebarOpen:Jo,LucideSigma:fx,LucideSigmaSquare:hi,LucideSignal:bx,LucideSignalHigh:kx,LucideSignalLow:mx,LucideSignalMedium:gx,LucideSignalZero:Mx,LucideSignature:xx,LucideSignpost:vx,LucideSignpostBig:wx,LucideSiren:Cx,LucideSkipBack:Sx,LucideSkipForward:Lx,LucideSkull:_x,LucideSlack:Ix,LucideSlash:Ax,LucideSlashSquare:ui,LucideSlice:Bx,LucideSliders:mr,LucideSlidersHorizontal:a1,LucideSlidersVertical:mr,LucideSmartphone:qx,LucideSmartphoneCharging:zx,LucideSmartphoneNfc:Vx,LucideSmile:Dx,LucideSmilePlus:Px,LucideSnail:Ex,LucideSnowflake:Tx,LucideSoapDispenserDroplet:Hx,LucideSofa:jx,LucideSolarPanel:Ox,LucideSortAsc:ja,LucideSortDesc:Ea,LucideSoup:Fx,LucideSpace:Rx,LucideSpade:Nx,LucideSparkle:$x,LucideSparkles:gr,LucideSpeaker:Ux,LucideSpeech:Wx,LucideSpellCheck:Xx,LucideSpellCheck2:Gx,LucideSpline:Zx,LucideSplinePointer:Kx,LucideSplit:Yx,LucideSplitSquareHorizontal:pi,LucideSplitSquareVertical:yi,LucideSpool:Qx,LucideSpotlight:Jx,LucideSprayCan:e9,LucideSprout:t9,LucideSquare:f9,LucideSquareActivity:Mr,LucideSquareArrowDown:wr,LucideSquareArrowDownLeft:br,LucideSquareArrowDownRight:xr,LucideSquareArrowLeft:vr,LucideSquareArrowOutDownLeft:Cr,LucideSquareArrowOutDownRight:Lr,LucideSquareArrowOutUpLeft:Sr,LucideSquareArrowOutUpRight:Ir,LucideSquareArrowRight:_r,LucideSquareArrowRightEnter:a9,LucideSquareArrowRightExit:n9,LucideSquareArrowUp:zr,LucideSquareArrowUpLeft:Br,LucideSquareArrowUpRight:Ar,LucideSquareAsterisk:Vr,LucideSquareBottomDashedScissors:qr,LucideSquareCenterlineDashedHorizontal:Pr,LucideSquareCenterlineDashedVertical:Dr,LucideSquareChartGantt:Pt,LucideSquareCheck:Tr,LucideSquareCheckBig:Er,LucideSquareChevronDown:Hr,LucideSquareChevronLeft:jr,LucideSquareChevronRight:Or,LucideSquareChevronUp:Fr,LucideSquareCode:Rr,LucideSquareDashed:Ur,LucideSquareDashedBottom:r9,LucideSquareDashedBottomCode:o9,LucideSquareDashedKanban:Nr,LucideSquareDashedMousePointer:$r,LucideSquareDashedTopSolid:i9,LucideSquareDivide:Gr,LucideSquareDot:Wr,LucideSquareEqual:Kr,LucideSquareFunction:Xr,LucideSquareGanttChart:Pt,LucideSquareKanban:Zr,LucideSquareLibrary:Yr,LucideSquareM:Qr,LucideSquareMenu:Jr,LucideSquareMinus:ei,LucideSquareMousePointer:ti,LucideSquareParking:ni,LucideSquareParkingOff:ai,LucideSquarePause:s9,LucideSquarePen:Xe,LucideSquarePercent:oi,LucideSquarePi:ri,LucideSquarePilcrow:ii,LucideSquarePlay:si,LucideSquarePlus:li,LucideSquarePower:ci,LucideSquareRadical:c9,LucideSquareRoundCorner:l9,LucideSquareScissors:di,LucideSquareSigma:hi,LucideSquareSlash:ui,LucideSquareSplitHorizontal:pi,LucideSquareSplitVertical:yi,LucideSquareSquare:d9,LucideSquareStack:h9,LucideSquareStar:p9,LucideSquareStop:u9,LucideSquareTerminal:fi,LucideSquareUser:gi,LucideSquareUserRound:ki,LucideSquareX:mi,LucideSquaresExclude:y9,LucideSquaresIntersect:k9,LucideSquaresSubtract:m9,LucideSquaresUnite:g9,LucideSquircle:b9,LucideSquircleDashed:M9,LucideSquirrel:x9,LucideStamp:w9,LucideStar:S9,LucideStarHalf:v9,LucideStarOff:C9,LucideStars:gr,LucideStepBack:L9,LucideStepForward:I9,LucideStethoscope:_9,LucideSticker:A9,LucideStickyNote:B9,LucideStone:z9,LucideStopCircle:En,LucideStore:V9,LucideStretchHorizontal:P9,LucideStretchVertical:q9,LucideStrikethrough:D9,LucideSubscript:E9,LucideSubtitles:Ka,LucideSun:F9,LucideSunDim:T9,LucideSunMedium:H9,LucideSunMoon:O9,LucideSunSnow:j9,LucideSunrise:R9,LucideSunset:N9,LucideSuperscript:$9,LucideSwatchBook:U9,LucideSwissFranc:W9,LucideSwitchCamera:K9,LucideSword:G9,LucideSwords:X9,LucideSyringe:Z9,LucideTable:rw,LucideTable2:Y9,LucideTableCellsMerge:Q9,LucideTableCellsSplit:J9,LucideTableColumnsSplit:ew,LucideTableConfig:At,LucideTableOfContents:tw,LucideTableProperties:aw,LucideTableRowsSplit:nw,LucideTablet:ow,LucideTabletSmartphone:iw,LucideTablets:sw,LucideTag:lw,LucideTags:cw,LucideTally1:dw,LucideTally2:hw,LucideTally3:uw,LucideTally4:pw,LucideTally5:yw,LucideTangent:fw,LucideTarget:kw,LucideTelescope:mw,LucideTent:Mw,LucideTentTree:gw,LucideTerminal:bw,LucideTerminalSquare:fi,LucideTestTube:xw,LucideTestTube2:Mi,LucideTestTubeDiagonal:Mi,LucideTestTubes:ww,LucideText:Dt,LucideTextAlignCenter:wi,LucideTextAlignEnd:bi,LucideTextAlignJustify:xi,LucideTextAlignStart:Dt,LucideTextCursor:Cw,LucideTextCursorInput:vw,LucideTextInitial:vi,LucideTextQuote:Sw,LucideTextSearch:Lw,LucideTextSelect:Li,LucideTextSelection:Li,LucideTextWrap:Ci,LucideTheater:Iw,LucideThermometer:Bw,LucideThermometerSnowflake:_w,LucideThermometerSun:Aw,LucideThumbsDown:Vw,LucideThumbsUp:zw,LucideTicket:Ow,LucideTicketCheck:qw,LucideTicketMinus:Pw,LucideTicketPercent:Dw,LucideTicketPlus:Ew,LucideTicketSlash:Tw,LucideTicketX:Hw,LucideTickets:Fw,LucideTicketsPlane:jw,LucideTimer:$w,LucideTimerOff:Rw,LucideTimerReset:Nw,LucideToggleLeft:n1,LucideToggleRight:Uw,LucideToilet:Ww,LucideToolCase:Gw,LucideToolbox:Kw,LucideTornado:Xw,LucideTorus:Zw,LucideTouchpad:Qw,LucideTouchpadOff:Yw,LucideTowelRack:Jw,LucideTowerControl:ev,LucideToyBrick:tv,LucideTractor:av,LucideTrafficCone:nv,LucideTrain:Si,LucideTrainFront:sv,LucideTrainFrontTunnel:ov,LucideTrainTrack:rv,LucideTramFront:Si,LucideTransgender:iv,LucideTrash:lv,LucideTrash2:Ii,LucideTreeDeciduous:cv,LucideTreePalm:_i,LucideTreePine:dv,LucideTrees:hv,LucideTrello:uv,LucideTrendingDown:pv,LucideTrendingUp:fv,LucideTrendingUpDown:yv,LucideTriangle:Mv,LucideTriangleAlert:Ai,LucideTriangleDashed:kv,LucideTriangleRight:gv,LucideTrophy:mv,LucideTruck:xv,LucideTruckElectric:bv,LucideTurkishLira:wv,LucideTurntable:vv,LucideTurtle:Cv,LucideTv:Sv,LucideTv2:Bi,LucideTvMinimal:Bi,LucideTvMinimalPlay:Lv,LucideTwitch:Iv,LucideTwitter:Av,LucideType:Bv,LucideTypeOutline:_v,LucideUmbrella:Vv,LucideUmbrellaOff:zv,LucideUnderline:qv,LucideUndo:Dv,LucideUndo2:Pv,LucideUndoDot:Ev,LucideUnfoldHorizontal:Tv,LucideUnfoldVertical:Hv,LucideUngroup:jv,LucideUniversity:zi,LucideUnlink:Fv,LucideUnlink2:Ov,LucideUnlock:Oo,LucideUnlockKeyhole:jo,LucideUnplug:Rv,LucideUpload:Nv,LucideUploadCloud:ca,LucideUsb:$v,LucideUser:o1,LucideUser2:Ti,LucideUserCheck:Uv,LucideUserCheck2:Vi,LucideUserCircle:Hn,LucideUserCircle2:Tn,LucideUserCog:Wv,LucideUserCog2:qi,LucideUserKey:Gv,LucideUserLock:Kv,LucideUserMinus:Xv,LucideUserMinus2:Pi,LucideUserPen:Zv,LucideUserPlus:Yv,LucideUserPlus2:Di,LucideUserRound:Ti,LucideUserRoundCheck:Vi,LucideUserRoundCog:qi,LucideUserRoundKey:Qv,LucideUserRoundMinus:Pi,LucideUserRoundPen:Jv,LucideUserRoundPlus:Di,LucideUserRoundSearch:eC,LucideUserRoundX:Ei,LucideUserSearch:aC,LucideUserSquare:gi,LucideUserSquare2:ki,LucideUserStar:tC,LucideUserX:nC,LucideUserX2:Ei,LucideUsers:oC,LucideUsers2:Hi,LucideUsersRound:Hi,LucideUtensils:Oi,LucideUtensilsCrossed:ji,LucideUtilityPole:rC,LucideVan:iC,LucideVariable:lC,LucideVault:sC,LucideVectorSquare:cC,LucideVegan:dC,LucideVenetianMask:hC,LucideVenus:uC,LucideVenusAndMars:pC,LucideVerified:Ra,LucideVibrate:fC,LucideVibrateOff:yC,LucideVideo:mC,LucideVideoOff:kC,LucideVideotape:gC,LucideView:MC,LucideVoicemail:bC,LucideVolleyball:vC,LucideVolume:LC,LucideVolume1:xC,LucideVolume2:wC,LucideVolumeOff:CC,LucideVolumeX:SC,LucideVote:IC,LucideWallet:AC,LucideWallet2:Fi,LucideWalletCards:_C,LucideWalletMinimal:Fi,LucideWallpaper:BC,LucideWand:zC,LucideWand2:Ri,LucideWandSparkles:Ri,LucideWarehouse:VC,LucideWashingMachine:qC,LucideWatch:PC,LucideWaves:HC,LucideWavesArrowDown:DC,LucideWavesArrowUp:EC,LucideWavesLadder:TC,LucideWaypoints:jC,LucideWebcam:OC,LucideWebhook:RC,LucideWebhookOff:FC,LucideWeight:$C,LucideWeightTilde:NC,LucideWheat:WC,LucideWheatOff:UC,LucideWholeWord:GC,LucideWifi:tL,LucideWifiCog:KC,LucideWifiHigh:XC,LucideWifiLow:YC,LucideWifiOff:ZC,LucideWifiPen:QC,LucideWifiSync:JC,LucideWifiZero:eL,LucideWind:aL,LucideWindArrowDown:nL,LucideWine:oL,LucideWineOff:rL,LucideWorkflow:iL,LucideWorm:sL,LucideWrapText:Ci,LucideWrench:lL,LucideX:it,LucideXCircle:jn,LucideXLineTop:cL,LucideXOctagon:Ko,LucideXSquare:mi,LucideYoutube:dL,LucideZap:pL,LucideZapOff:hL,LucideZoomIn:uL,LucideZoomOut:yL,Luggage:Ig,LuggageIcon:Ig,MSquare:Qr,MSquareIcon:Qr,Magnet:_g,MagnetIcon:_g,Mail:Eg,MailCheck:Ag,MailCheckIcon:Ag,MailIcon:Eg,MailMinus:zg,MailMinusIcon:zg,MailOpen:Bg,MailOpenIcon:Bg,MailPlus:Vg,MailPlusIcon:Vg,MailQuestion:Fo,MailQuestionIcon:Fo,MailQuestionMark:Fo,MailQuestionMarkIcon:Fo,MailSearch:qg,MailSearchIcon:qg,MailWarning:Dg,MailWarningIcon:Dg,MailX:Pg,MailXIcon:Pg,Mailbox:jg,MailboxIcon:jg,Mails:Tg,MailsIcon:Tg,Map:Qg,MapIcon:Qg,MapMinus:Hg,MapMinusIcon:Hg,MapPin:Ks,MapPinCheck:Og,MapPinCheckIcon:Og,MapPinCheckInside:Fg,MapPinCheckInsideIcon:Fg,MapPinHouse:Rg,MapPinHouseIcon:Rg,MapPinIcon:Ks,MapPinMinus:$g,MapPinMinusIcon:$g,MapPinMinusInside:Ng,MapPinMinusInsideIcon:Ng,MapPinOff:Ug,MapPinOffIcon:Ug,MapPinPen:Ro,MapPinPenIcon:Ro,MapPinPlus:Gg,MapPinPlusIcon:Gg,MapPinPlusInside:Wg,MapPinPlusInsideIcon:Wg,MapPinX:Kg,MapPinXIcon:Kg,MapPinXInside:Xg,MapPinXInsideIcon:Xg,MapPinned:Zg,MapPinnedIcon:Zg,MapPlus:Yg,MapPlusIcon:Yg,Mars:t3,MarsIcon:t3,MarsStroke:Jg,MarsStrokeIcon:Jg,Martini:e3,MartiniIcon:e3,Maximize:n3,Maximize2:a3,Maximize2Icon:a3,MaximizeIcon:n3,Medal:o3,MedalIcon:o3,Megaphone:i3,MegaphoneIcon:i3,MegaphoneOff:r3,MegaphoneOffIcon:r3,Meh:s3,MehIcon:s3,MemoryStick:l3,MemoryStickIcon:l3,Menu:c3,MenuIcon:c3,MenuSquare:Jr,MenuSquareIcon:Jr,Merge:d3,MergeIcon:d3,MessageCircle:x3,MessageCircleCheck:h3,MessageCircleCheckIcon:h3,MessageCircleCode:u3,MessageCircleCodeIcon:u3,MessageCircleDashed:p3,MessageCircleDashedIcon:p3,MessageCircleHeart:y3,MessageCircleHeartIcon:y3,MessageCircleIcon:x3,MessageCircleMore:k3,MessageCircleMoreIcon:k3,MessageCircleOff:f3,MessageCircleOffIcon:f3,MessageCirclePlus:m3,MessageCirclePlusIcon:m3,MessageCircleQuestion:No,MessageCircleQuestionIcon:No,MessageCircleQuestionMark:No,MessageCircleQuestionMarkIcon:No,MessageCircleReply:g3,MessageCircleReplyIcon:g3,MessageCircleWarning:M3,MessageCircleWarningIcon:M3,MessageCircleX:b3,MessageCircleXIcon:b3,MessageSquare:hs,MessageSquareCheck:w3,MessageSquareCheckIcon:w3,MessageSquareCode:v3,MessageSquareCodeIcon:v3,MessageSquareDashed:C3,MessageSquareDashedIcon:C3,MessageSquareDiff:L3,MessageSquareDiffIcon:L3,MessageSquareDot:S3,MessageSquareDotIcon:S3,MessageSquareHeart:I3,MessageSquareHeartIcon:I3,MessageSquareIcon:hs,MessageSquareLock:_3,MessageSquareLockIcon:_3,MessageSquareMore:A3,MessageSquareMoreIcon:A3,MessageSquareOff:B3,MessageSquareOffIcon:B3,MessageSquarePlus:z3,MessageSquarePlusIcon:z3,MessageSquareQuote:V3,MessageSquareQuoteIcon:V3,MessageSquareReply:q3,MessageSquareReplyIcon:q3,MessageSquareShare:P3,MessageSquareShareIcon:P3,MessageSquareText:E3,MessageSquareTextIcon:E3,MessageSquareWarning:D3,MessageSquareWarningIcon:D3,MessageSquareX:T3,MessageSquareXIcon:T3,MessagesSquare:H3,MessagesSquareIcon:H3,Metronome:j3,MetronomeIcon:j3,Mic:F3,Mic2:$o,Mic2Icon:$o,MicIcon:F3,MicOff:O3,MicOffIcon:O3,MicVocal:$o,MicVocalIcon:$o,Microchip:R3,MicrochipIcon:R3,Microscope:N3,MicroscopeIcon:N3,Microwave:$3,MicrowaveIcon:$3,Milestone:U3,MilestoneIcon:U3,Milk:G3,MilkIcon:G3,MilkOff:W3,MilkOffIcon:W3,Minimize:K3,Minimize2:X3,Minimize2Icon:X3,MinimizeIcon:K3,Minus:Xs,MinusCircle:In,MinusCircleIcon:In,MinusIcon:Xs,MinusSquare:ei,MinusSquareIcon:ei,MirrorRectangular:Z3,MirrorRectangularIcon:Z3,MirrorRound:Y3,MirrorRoundIcon:Y3,Monitor:h8,MonitorCheck:Q3,MonitorCheckIcon:Q3,MonitorCloud:J3,MonitorCloudIcon:J3,MonitorCog:e8,MonitorCogIcon:e8,MonitorDot:t8,MonitorDotIcon:t8,MonitorDown:a8,MonitorDownIcon:a8,MonitorIcon:h8,MonitorOff:n8,MonitorOffIcon:n8,MonitorPause:o8,MonitorPauseIcon:o8,MonitorPlay:r8,MonitorPlayIcon:r8,MonitorSmartphone:i8,MonitorSmartphoneIcon:i8,MonitorSpeaker:s8,MonitorSpeakerIcon:s8,MonitorStop:l8,MonitorStopIcon:l8,MonitorUp:c8,MonitorUpIcon:c8,MonitorX:d8,MonitorXIcon:d8,Moon:p8,MoonIcon:p8,MoonStar:u8,MoonStarIcon:u8,MoreHorizontal:da,MoreHorizontalIcon:da,MoreVertical:Xn,MoreVerticalIcon:Xn,Motorbike:y8,MotorbikeIcon:y8,Mountain:k8,MountainIcon:k8,MountainSnow:f8,MountainSnowIcon:f8,Mouse:L8,MouseIcon:L8,MouseLeft:m8,MouseLeftIcon:m8,MouseOff:g8,MouseOffIcon:g8,MousePointer:v8,MousePointer2:b8,MousePointer2Icon:b8,MousePointer2Off:M8,MousePointer2OffIcon:M8,MousePointerBan:x8,MousePointerBanIcon:x8,MousePointerClick:w8,MousePointerClickIcon:w8,MousePointerIcon:v8,MousePointerSquareDashed:$r,MousePointerSquareDashedIcon:$r,MouseRight:C8,MouseRightIcon:C8,Move:H8,Move3D:Uo,Move3DIcon:Uo,Move3d:Uo,Move3dIcon:Uo,MoveDiagonal:I8,MoveDiagonal2:S8,MoveDiagonal2Icon:S8,MoveDiagonalIcon:I8,MoveDown:B8,MoveDownIcon:B8,MoveDownLeft:_8,MoveDownLeftIcon:_8,MoveDownRight:A8,MoveDownRightIcon:A8,MoveHorizontal:z8,MoveHorizontalIcon:z8,MoveIcon:H8,MoveLeft:V8,MoveLeftIcon:V8,MoveRight:P8,MoveRightIcon:P8,MoveUp:E8,MoveUpIcon:E8,MoveUpLeft:q8,MoveUpLeftIcon:q8,MoveUpRight:D8,MoveUpRightIcon:D8,MoveVertical:T8,MoveVerticalIcon:T8,Music:R8,Music2:j8,Music2Icon:j8,Music3:O8,Music3Icon:O8,Music4:F8,Music4Icon:F8,MusicIcon:R8,Navigation:W8,Navigation2:$8,Navigation2Icon:$8,Navigation2Off:N8,Navigation2OffIcon:N8,NavigationIcon:W8,NavigationOff:U8,NavigationOffIcon:U8,Network:G8,NetworkIcon:G8,Newspaper:K8,NewspaperIcon:K8,Nfc:X8,NfcIcon:X8,NonBinary:Z8,NonBinaryIcon:Z8,Notebook:e6,NotebookIcon:e6,NotebookPen:Q8,NotebookPenIcon:Q8,NotebookTabs:Y8,NotebookTabsIcon:Y8,NotebookText:J8,NotebookTextIcon:J8,NotepadText:a6,NotepadTextDashed:t6,NotepadTextDashedIcon:t6,NotepadTextIcon:a6,Nut:o6,NutIcon:o6,NutOff:n6,NutOffIcon:n6,Octagon:i6,OctagonAlert:Wo,OctagonAlertIcon:Wo,OctagonIcon:i6,OctagonMinus:r6,OctagonMinusIcon:r6,OctagonPause:Go,OctagonPauseIcon:Go,OctagonX:Ko,OctagonXIcon:Ko,Omega:s6,OmegaIcon:s6,Option:l6,OptionIcon:l6,Orbit:c6,OrbitIcon:c6,Origami:d6,OrigamiIcon:d6,Outdent:Vt,OutdentIcon:Vt,Package:g6,Package2:h6,Package2Icon:h6,PackageCheck:p6,PackageCheckIcon:p6,PackageIcon:g6,PackageMinus:u6,PackageMinusIcon:u6,PackageOpen:y6,PackageOpenIcon:y6,PackagePlus:f6,PackagePlusIcon:f6,PackageSearch:k6,PackageSearchIcon:k6,PackageX:m6,PackageXIcon:m6,PaintBucket:M6,PaintBucketIcon:M6,PaintRoller:b6,PaintRollerIcon:b6,Paintbrush:x6,Paintbrush2:Xo,Paintbrush2Icon:Xo,PaintbrushIcon:x6,PaintbrushVertical:Xo,PaintbrushVerticalIcon:Xo,Palette:w6,PaletteIcon:w6,Palmtree:_i,PalmtreeIcon:_i,Panda:v6,PandaIcon:v6,PanelBottom:S6,PanelBottomClose:C6,PanelBottomCloseIcon:C6,PanelBottomDashed:Zo,PanelBottomDashedIcon:Zo,PanelBottomIcon:S6,PanelBottomInactive:Zo,PanelBottomInactiveIcon:Zo,PanelBottomOpen:L6,PanelBottomOpenIcon:L6,PanelLeft:er,PanelLeftClose:Qo,PanelLeftCloseIcon:Qo,PanelLeftDashed:Yo,PanelLeftDashedIcon:Yo,PanelLeftIcon:er,PanelLeftInactive:Yo,PanelLeftInactiveIcon:Yo,PanelLeftOpen:Jo,PanelLeftOpenIcon:Jo,PanelLeftRightDashed:I6,PanelLeftRightDashedIcon:I6,PanelRight:B6,PanelRightClose:_6,PanelRightCloseIcon:_6,PanelRightDashed:tr,PanelRightDashedIcon:tr,PanelRightIcon:B6,PanelRightInactive:tr,PanelRightInactiveIcon:tr,PanelRightOpen:A6,PanelRightOpenIcon:A6,PanelTop:P6,PanelTopBottomDashed:z6,PanelTopBottomDashedIcon:z6,PanelTopClose:V6,PanelTopCloseIcon:V6,PanelTopDashed:ar,PanelTopDashedIcon:ar,PanelTopIcon:P6,PanelTopInactive:ar,PanelTopInactiveIcon:ar,PanelTopOpen:q6,PanelTopOpenIcon:q6,PanelsLeftBottom:D6,PanelsLeftBottomIcon:D6,PanelsLeftRight:Un,PanelsLeftRightIcon:Un,PanelsRightBottom:E6,PanelsRightBottomIcon:E6,PanelsTopBottom:hr,PanelsTopBottomIcon:hr,PanelsTopLeft:nr,PanelsTopLeftIcon:nr,Paperclip:T6,PaperclipIcon:T6,Parentheses:H6,ParenthesesIcon:H6,ParkingCircle:An,ParkingCircleIcon:An,ParkingCircleOff:_n,ParkingCircleOffIcon:_n,ParkingMeter:j6,ParkingMeterIcon:j6,ParkingSquare:ni,ParkingSquareIcon:ni,ParkingSquareOff:ai,ParkingSquareOffIcon:ai,PartyPopper:O6,PartyPopperIcon:O6,Pause:F6,PauseCircle:Bn,PauseCircleIcon:Bn,PauseIcon:F6,PauseOctagon:Go,PauseOctagonIcon:Go,PawPrint:R6,PawPrintIcon:R6,PcCase:N6,PcCaseIcon:N6,Pen:rr,PenBox:Xe,PenBoxIcon:Xe,PenIcon:rr,PenLine:or,PenLineIcon:or,PenOff:$6,PenOffIcon:$6,PenSquare:Xe,PenSquareIcon:Xe,PenTool:U6,PenToolIcon:U6,Pencil:ir,PencilIcon:ir,PencilLine:W6,PencilLineIcon:W6,PencilOff:G6,PencilOffIcon:G6,PencilRuler:K6,PencilRulerIcon:K6,Pentagon:X6,PentagonIcon:X6,Percent:Z6,PercentCircle:zn,PercentCircleIcon:zn,PercentDiamond:Gn,PercentDiamondIcon:Gn,PercentIcon:Z6,PercentSquare:oi,PercentSquareIcon:oi,PersonStanding:Y6,PersonStandingIcon:Y6,PhilippinePeso:Q6,PhilippinePesoIcon:Q6,Phone:Zs,PhoneCall:J6,PhoneCallIcon:J6,PhoneForwarded:e7,PhoneForwardedIcon:e7,PhoneIcon:Zs,PhoneIncoming:t7,PhoneIncomingIcon:t7,PhoneMissed:n7,PhoneMissedIcon:n7,PhoneOff:a7,PhoneOffIcon:a7,PhoneOutgoing:o7,PhoneOutgoingIcon:o7,Pi:r7,PiIcon:r7,PiSquare:ri,PiSquareIcon:ri,Piano:i7,PianoIcon:i7,Pickaxe:s7,PickaxeIcon:s7,PictureInPicture:c7,PictureInPicture2:l7,PictureInPicture2Icon:l7,PictureInPictureIcon:c7,PieChart:rn,PieChartIcon:rn,PiggyBank:d7,PiggyBankIcon:d7,Pilcrow:p7,PilcrowIcon:p7,PilcrowLeft:h7,PilcrowLeftIcon:h7,PilcrowRight:u7,PilcrowRightIcon:u7,PilcrowSquare:ii,PilcrowSquareIcon:ii,Pill:g7,PillBottle:y7,PillBottleIcon:y7,PillIcon:g7,Pin:k7,PinIcon:k7,PinOff:f7,PinOffIcon:f7,Pipette:m7,PipetteIcon:m7,Pizza:M7,PizzaIcon:M7,Plane:Ys,PlaneIcon:Ys,PlaneLanding:b7,PlaneLandingIcon:b7,PlaneTakeoff:x7,PlaneTakeoffIcon:x7,Play:w7,PlayCircle:Vn,PlayCircleIcon:Vn,PlayIcon:w7,PlaySquare:si,PlaySquareIcon:si,Plug:C7,Plug2:v7,Plug2Icon:v7,PlugIcon:C7,PlugZap:sr,PlugZap2:sr,PlugZap2Icon:sr,PlugZapIcon:sr,Plus:Qs,PlusCircle:qn,PlusCircleIcon:qn,PlusIcon:Qs,PlusSquare:li,PlusSquareIcon:li,Pocket:S7,PocketIcon:S7,PocketKnife:L7,PocketKnifeIcon:L7,Podcast:I7,PodcastIcon:I7,Pointer:A7,PointerIcon:A7,PointerOff:_7,PointerOffIcon:_7,Popcorn:B7,PopcornIcon:B7,Popsicle:z7,PopsicleIcon:z7,PoundSterling:q7,PoundSterlingIcon:q7,Power:P7,PowerCircle:Pn,PowerCircleIcon:Pn,PowerIcon:P7,PowerOff:V7,PowerOffIcon:V7,PowerSquare:ci,PowerSquareIcon:ci,Presentation:D7,PresentationIcon:D7,Printer:H7,PrinterCheck:E7,PrinterCheckIcon:E7,PrinterIcon:H7,PrinterX:T7,PrinterXIcon:T7,Projector:j7,ProjectorIcon:j7,Proportions:R7,ProportionsIcon:R7,Puzzle:O7,PuzzleIcon:O7,Pyramid:F7,PyramidIcon:F7,QrCode:N7,QrCodeIcon:N7,Quote:$7,QuoteIcon:$7,Rabbit:W7,RabbitIcon:W7,Radar:U7,RadarIcon:U7,Radiation:K7,RadiationIcon:K7,Radical:G7,RadicalIcon:G7,Radio:Y7,RadioIcon:Y7,RadioReceiver:X7,RadioReceiverIcon:X7,RadioTower:Z7,RadioTowerIcon:Z7,Radius:Q7,RadiusIcon:Q7,RailSymbol:J7,RailSymbolIcon:J7,Rainbow:eM,RainbowIcon:eM,Rat:tM,RatIcon:tM,Ratio:aM,RatioIcon:aM,Receipt:uM,ReceiptCent:nM,ReceiptCentIcon:nM,ReceiptEuro:oM,ReceiptEuroIcon:oM,ReceiptIcon:uM,ReceiptIndianRupee:rM,ReceiptIndianRupeeIcon:rM,ReceiptJapaneseYen:iM,ReceiptJapaneseYenIcon:iM,ReceiptPoundSterling:sM,ReceiptPoundSterlingIcon:sM,ReceiptRussianRuble:lM,ReceiptRussianRubleIcon:lM,ReceiptSwissFranc:cM,ReceiptSwissFrancIcon:cM,ReceiptText:dM,ReceiptTextIcon:dM,ReceiptTurkishLira:hM,ReceiptTurkishLiraIcon:hM,RectangleCircle:pM,RectangleCircleIcon:pM,RectangleEllipsis:lr,RectangleEllipsisIcon:lr,RectangleGoggles:yM,RectangleGogglesIcon:yM,RectangleHorizontal:fM,RectangleHorizontalIcon:fM,RectangleVertical:kM,RectangleVerticalIcon:kM,Recycle:mM,RecycleIcon:mM,Redo:MM,Redo2:gM,Redo2Icon:gM,RedoDot:bM,RedoDotIcon:bM,RedoIcon:MM,RefreshCcw:wM,RefreshCcwDot:xM,RefreshCcwDotIcon:xM,RefreshCcwIcon:wM,RefreshCw:us,RefreshCwIcon:us,RefreshCwOff:vM,RefreshCwOffIcon:vM,Refrigerator:LM,RefrigeratorIcon:LM,Regex:CM,RegexIcon:CM,RemoveFormatting:SM,RemoveFormattingIcon:SM,Repeat:_M,Repeat1:IM,Repeat1Icon:IM,Repeat2:BM,Repeat2Icon:BM,RepeatIcon:_M,Replace:zM,ReplaceAll:AM,ReplaceAllIcon:AM,ReplaceIcon:zM,Reply:qM,ReplyAll:VM,ReplyAllIcon:VM,ReplyIcon:qM,Rewind:DM,RewindIcon:DM,Ribbon:PM,RibbonIcon:PM,Rocket:EM,RocketIcon:EM,RockingChair:TM,RockingChairIcon:TM,RollerCoaster:HM,RollerCoasterIcon:HM,Rose:jM,RoseIcon:jM,Rotate3D:cr,Rotate3DIcon:cr,Rotate3d:cr,Rotate3dIcon:cr,RotateCcw:RM,RotateCcwIcon:RM,RotateCcwKey:OM,RotateCcwKeyIcon:OM,RotateCcwSquare:FM,RotateCcwSquareIcon:FM,RotateCw:$M,RotateCwIcon:$M,RotateCwSquare:NM,RotateCwSquareIcon:NM,Route:WM,RouteIcon:WM,RouteOff:UM,RouteOffIcon:UM,Router:GM,RouterIcon:GM,Rows:dr,Rows2:dr,Rows2Icon:dr,Rows3:hr,Rows3Icon:hr,Rows4:KM,Rows4Icon:KM,RowsIcon:dr,Rss:XM,RssIcon:XM,Ruler:ZM,RulerDimensionLine:YM,RulerDimensionLineIcon:YM,RulerIcon:ZM,RussianRuble:QM,RussianRubleIcon:QM,Sailboat:JM,SailboatIcon:JM,Salad:eb,SaladIcon:eb,Sandwich:ab,SandwichIcon:ab,Satellite:nb,SatelliteDish:tb,SatelliteDishIcon:tb,SatelliteIcon:nb,SaudiRiyal:ob,SaudiRiyalIcon:ob,Save:sb,SaveAll:ib,SaveAllIcon:ib,SaveIcon:sb,SaveOff:rb,SaveOffIcon:rb,Scale:lb,Scale3D:ur,Scale3DIcon:ur,Scale3d:ur,Scale3dIcon:ur,ScaleIcon:lb,Scaling:cb,ScalingIcon:cb,Scan:mb,ScanBarcode:db,ScanBarcodeIcon:db,ScanEye:hb,ScanEyeIcon:hb,ScanFace:ub,ScanFaceIcon:ub,ScanHeart:pb,ScanHeartIcon:pb,ScanIcon:mb,ScanLine:yb,ScanLineIcon:yb,ScanQrCode:kb,ScanQrCodeIcon:kb,ScanSearch:fb,ScanSearchIcon:fb,ScanText:gb,ScanTextIcon:gb,ScatterChart:ln,ScatterChartIcon:ln,School:Mb,School2:zi,School2Icon:zi,SchoolIcon:Mb,Scissors:wb,ScissorsIcon:wb,ScissorsLineDashed:bb,ScissorsLineDashedIcon:bb,ScissorsSquare:di,ScissorsSquareDashedBottom:qr,ScissorsSquareDashedBottomIcon:qr,ScissorsSquareIcon:di,Scooter:xb,ScooterIcon:xb,ScreenShare:Cb,ScreenShareIcon:Cb,ScreenShareOff:vb,ScreenShareOffIcon:vb,Scroll:Sb,ScrollIcon:Sb,ScrollText:Lb,ScrollTextIcon:Lb,Search:pr,SearchAlert:Ib,SearchAlertIcon:Ib,SearchCheck:Ab,SearchCheckIcon:Ab,SearchCode:_b,SearchCodeIcon:_b,SearchIcon:pr,SearchSlash:Bb,SearchSlashIcon:Bb,SearchX:zb,SearchXIcon:zb,Section:Vb,SectionIcon:Vb,Send:Pb,SendHorizonal:yr,SendHorizonalIcon:yr,SendHorizontal:yr,SendHorizontalIcon:yr,SendIcon:Pb,SendToBack:qb,SendToBackIcon:qb,SeparatorHorizontal:Db,SeparatorHorizontalIcon:Db,SeparatorVertical:Eb,SeparatorVerticalIcon:Eb,Server:Js,ServerCog:Tb,ServerCogIcon:Tb,ServerCrash:Hb,ServerCrashIcon:Hb,ServerIcon:Js,ServerOff:Ob,ServerOffIcon:Ob,Settings:Fb,Settings2:jb,Settings2Icon:jb,SettingsIcon:Fb,Shapes:Rb,ShapesIcon:Rb,Share:Nb,Share2:e1,Share2Icon:e1,ShareIcon:Nb,Sheet:$b,SheetIcon:$b,Shell:Ub,ShellIcon:Ub,ShelvingUnit:Wb,ShelvingUnitIcon:Wb,Shield:ax,ShieldAlert:Gb,ShieldAlertIcon:Gb,ShieldBan:Kb,ShieldBanIcon:Kb,ShieldCheck:Xb,ShieldCheckIcon:Xb,ShieldClose:kr,ShieldCloseIcon:kr,ShieldEllipsis:Zb,ShieldEllipsisIcon:Zb,ShieldHalf:Yb,ShieldHalfIcon:Yb,ShieldIcon:ax,ShieldMinus:ex,ShieldMinusIcon:ex,ShieldOff:Qb,ShieldOffIcon:Qb,ShieldPlus:Jb,ShieldPlusIcon:Jb,ShieldQuestion:fr,ShieldQuestionIcon:fr,ShieldQuestionMark:fr,ShieldQuestionMarkIcon:fr,ShieldUser:tx,ShieldUserIcon:tx,ShieldX:kr,ShieldXIcon:kr,Ship:ox,ShipIcon:ox,ShipWheel:nx,ShipWheelIcon:nx,Shirt:rx,ShirtIcon:rx,ShoppingBag:ix,ShoppingBagIcon:ix,ShoppingBasket:sx,ShoppingBasketIcon:sx,ShoppingCart:t1,ShoppingCartIcon:t1,Shovel:cx,ShovelIcon:cx,ShowerHead:lx,ShowerHeadIcon:lx,Shredder:dx,ShredderIcon:dx,Shrimp:hx,ShrimpIcon:hx,Shrink:ux,ShrinkIcon:ux,Shrub:px,ShrubIcon:px,Shuffle:yx,ShuffleIcon:yx,Sidebar:er,SidebarClose:Qo,SidebarCloseIcon:Qo,SidebarIcon:er,SidebarOpen:Jo,SidebarOpenIcon:Jo,Sigma:fx,SigmaIcon:fx,SigmaSquare:hi,SigmaSquareIcon:hi,Signal:bx,SignalHigh:kx,SignalHighIcon:kx,SignalIcon:bx,SignalLow:mx,SignalLowIcon:mx,SignalMedium:gx,SignalMediumIcon:gx,SignalZero:Mx,SignalZeroIcon:Mx,Signature:xx,SignatureIcon:xx,Signpost:vx,SignpostBig:wx,SignpostBigIcon:wx,SignpostIcon:vx,Siren:Cx,SirenIcon:Cx,SkipBack:Sx,SkipBackIcon:Sx,SkipForward:Lx,SkipForwardIcon:Lx,Skull:_x,SkullIcon:_x,Slack:Ix,SlackIcon:Ix,Slash:Ax,SlashIcon:Ax,SlashSquare:ui,SlashSquareIcon:ui,Slice:Bx,SliceIcon:Bx,Sliders:mr,SlidersHorizontal:a1,SlidersHorizontalIcon:a1,SlidersIcon:mr,SlidersVertical:mr,SlidersVerticalIcon:mr,Smartphone:qx,SmartphoneCharging:zx,SmartphoneChargingIcon:zx,SmartphoneIcon:qx,SmartphoneNfc:Vx,SmartphoneNfcIcon:Vx,Smile:Dx,SmileIcon:Dx,SmilePlus:Px,SmilePlusIcon:Px,Snail:Ex,SnailIcon:Ex,Snowflake:Tx,SnowflakeIcon:Tx,SoapDispenserDroplet:Hx,SoapDispenserDropletIcon:Hx,Sofa:jx,SofaIcon:jx,SolarPanel:Ox,SolarPanelIcon:Ox,SortAsc:ja,SortAscIcon:ja,SortDesc:Ea,SortDescIcon:Ea,Soup:Fx,SoupIcon:Fx,Space:Rx,SpaceIcon:Rx,Spade:Nx,SpadeIcon:Nx,Sparkle:$x,SparkleIcon:$x,Sparkles:gr,SparklesIcon:gr,Speaker:Ux,SpeakerIcon:Ux,Speech:Wx,SpeechIcon:Wx,SpellCheck:Xx,SpellCheck2:Gx,SpellCheck2Icon:Gx,SpellCheckIcon:Xx,Spline:Zx,SplineIcon:Zx,SplinePointer:Kx,SplinePointerIcon:Kx,Split:Yx,SplitIcon:Yx,SplitSquareHorizontal:pi,SplitSquareHorizontalIcon:pi,SplitSquareVertical:yi,SplitSquareVerticalIcon:yi,Spool:Qx,SpoolIcon:Qx,Spotlight:Jx,SpotlightIcon:Jx,SprayCan:e9,SprayCanIcon:e9,Sprout:t9,SproutIcon:t9,Square:f9,SquareActivity:Mr,SquareActivityIcon:Mr,SquareArrowDown:wr,SquareArrowDownIcon:wr,SquareArrowDownLeft:br,SquareArrowDownLeftIcon:br,SquareArrowDownRight:xr,SquareArrowDownRightIcon:xr,SquareArrowLeft:vr,SquareArrowLeftIcon:vr,SquareArrowOutDownLeft:Cr,SquareArrowOutDownLeftIcon:Cr,SquareArrowOutDownRight:Lr,SquareArrowOutDownRightIcon:Lr,SquareArrowOutUpLeft:Sr,SquareArrowOutUpLeftIcon:Sr,SquareArrowOutUpRight:Ir,SquareArrowOutUpRightIcon:Ir,SquareArrowRight:_r,SquareArrowRightEnter:a9,SquareArrowRightEnterIcon:a9,SquareArrowRightExit:n9,SquareArrowRightExitIcon:n9,SquareArrowRightIcon:_r,SquareArrowUp:zr,SquareArrowUpIcon:zr,SquareArrowUpLeft:Br,SquareArrowUpLeftIcon:Br,SquareArrowUpRight:Ar,SquareArrowUpRightIcon:Ar,SquareAsterisk:Vr,SquareAsteriskIcon:Vr,SquareBottomDashedScissors:qr,SquareBottomDashedScissorsIcon:qr,SquareCenterlineDashedHorizontal:Pr,SquareCenterlineDashedHorizontalIcon:Pr,SquareCenterlineDashedVertical:Dr,SquareCenterlineDashedVerticalIcon:Dr,SquareChartGantt:Pt,SquareChartGanttIcon:Pt,SquareCheck:Tr,SquareCheckBig:Er,SquareCheckBigIcon:Er,SquareCheckIcon:Tr,SquareChevronDown:Hr,SquareChevronDownIcon:Hr,SquareChevronLeft:jr,SquareChevronLeftIcon:jr,SquareChevronRight:Or,SquareChevronRightIcon:Or,SquareChevronUp:Fr,SquareChevronUpIcon:Fr,SquareCode:Rr,SquareCodeIcon:Rr,SquareDashed:Ur,SquareDashedBottom:r9,SquareDashedBottomCode:o9,SquareDashedBottomCodeIcon:o9,SquareDashedBottomIcon:r9,SquareDashedIcon:Ur,SquareDashedKanban:Nr,SquareDashedKanbanIcon:Nr,SquareDashedMousePointer:$r,SquareDashedMousePointerIcon:$r,SquareDashedTopSolid:i9,SquareDashedTopSolidIcon:i9,SquareDivide:Gr,SquareDivideIcon:Gr,SquareDot:Wr,SquareDotIcon:Wr,SquareEqual:Kr,SquareEqualIcon:Kr,SquareFunction:Xr,SquareFunctionIcon:Xr,SquareGanttChart:Pt,SquareGanttChartIcon:Pt,SquareIcon:f9,SquareKanban:Zr,SquareKanbanIcon:Zr,SquareLibrary:Yr,SquareLibraryIcon:Yr,SquareM:Qr,SquareMIcon:Qr,SquareMenu:Jr,SquareMenuIcon:Jr,SquareMinus:ei,SquareMinusIcon:ei,SquareMousePointer:ti,SquareMousePointerIcon:ti,SquareParking:ni,SquareParkingIcon:ni,SquareParkingOff:ai,SquareParkingOffIcon:ai,SquarePause:s9,SquarePauseIcon:s9,SquarePen:Xe,SquarePenIcon:Xe,SquarePercent:oi,SquarePercentIcon:oi,SquarePi:ri,SquarePiIcon:ri,SquarePilcrow:ii,SquarePilcrowIcon:ii,SquarePlay:si,SquarePlayIcon:si,SquarePlus:li,SquarePlusIcon:li,SquarePower:ci,SquarePowerIcon:ci,SquareRadical:c9,SquareRadicalIcon:c9,SquareRoundCorner:l9,SquareRoundCornerIcon:l9,SquareScissors:di,SquareScissorsIcon:di,SquareSigma:hi,SquareSigmaIcon:hi,SquareSlash:ui,SquareSlashIcon:ui,SquareSplitHorizontal:pi,SquareSplitHorizontalIcon:pi,SquareSplitVertical:yi,SquareSplitVerticalIcon:yi,SquareSquare:d9,SquareSquareIcon:d9,SquareStack:h9,SquareStackIcon:h9,SquareStar:p9,SquareStarIcon:p9,SquareStop:u9,SquareStopIcon:u9,SquareTerminal:fi,SquareTerminalIcon:fi,SquareUser:gi,SquareUserIcon:gi,SquareUserRound:ki,SquareUserRoundIcon:ki,SquareX:mi,SquareXIcon:mi,SquaresExclude:y9,SquaresExcludeIcon:y9,SquaresIntersect:k9,SquaresIntersectIcon:k9,SquaresSubtract:m9,SquaresSubtractIcon:m9,SquaresUnite:g9,SquaresUniteIcon:g9,Squircle:b9,SquircleDashed:M9,SquircleDashedIcon:M9,SquircleIcon:b9,Squirrel:x9,SquirrelIcon:x9,Stamp:w9,StampIcon:w9,Star:S9,StarHalf:v9,StarHalfIcon:v9,StarIcon:S9,StarOff:C9,StarOffIcon:C9,Stars:gr,StarsIcon:gr,StepBack:L9,StepBackIcon:L9,StepForward:I9,StepForwardIcon:I9,Stethoscope:_9,StethoscopeIcon:_9,Sticker:A9,StickerIcon:A9,StickyNote:B9,StickyNoteIcon:B9,Stone:z9,StoneIcon:z9,StopCircle:En,StopCircleIcon:En,Store:V9,StoreIcon:V9,StretchHorizontal:P9,StretchHorizontalIcon:P9,StretchVertical:q9,StretchVerticalIcon:q9,Strikethrough:D9,StrikethroughIcon:D9,Subscript:E9,SubscriptIcon:E9,Subtitles:Ka,SubtitlesIcon:Ka,Sun:F9,SunDim:T9,SunDimIcon:T9,SunIcon:F9,SunMedium:H9,SunMediumIcon:H9,SunMoon:O9,SunMoonIcon:O9,SunSnow:j9,SunSnowIcon:j9,Sunrise:R9,SunriseIcon:R9,Sunset:N9,SunsetIcon:N9,Superscript:$9,SuperscriptIcon:$9,SwatchBook:U9,SwatchBookIcon:U9,SwissFranc:W9,SwissFrancIcon:W9,SwitchCamera:K9,SwitchCameraIcon:K9,Sword:G9,SwordIcon:G9,Swords:X9,SwordsIcon:X9,Syringe:Z9,SyringeIcon:Z9,Table:rw,Table2:Y9,Table2Icon:Y9,TableCellsMerge:Q9,TableCellsMergeIcon:Q9,TableCellsSplit:J9,TableCellsSplitIcon:J9,TableColumnsSplit:ew,TableColumnsSplitIcon:ew,TableConfig:At,TableConfigIcon:At,TableIcon:rw,TableOfContents:tw,TableOfContentsIcon:tw,TableProperties:aw,TablePropertiesIcon:aw,TableRowsSplit:nw,TableRowsSplitIcon:nw,Tablet:ow,TabletIcon:ow,TabletSmartphone:iw,TabletSmartphoneIcon:iw,Tablets:sw,TabletsIcon:sw,Tag:lw,TagIcon:lw,Tags:cw,TagsIcon:cw,Tally1:dw,Tally1Icon:dw,Tally2:hw,Tally2Icon:hw,Tally3:uw,Tally3Icon:uw,Tally4:pw,Tally4Icon:pw,Tally5:yw,Tally5Icon:yw,Tangent:fw,TangentIcon:fw,Target:kw,TargetIcon:kw,Telescope:mw,TelescopeIcon:mw,Tent:Mw,TentIcon:Mw,TentTree:gw,TentTreeIcon:gw,Terminal:bw,TerminalIcon:bw,TerminalSquare:fi,TerminalSquareIcon:fi,TestTube:xw,TestTube2:Mi,TestTube2Icon:Mi,TestTubeDiagonal:Mi,TestTubeDiagonalIcon:Mi,TestTubeIcon:xw,TestTubes:ww,TestTubesIcon:ww,Text:Dt,TextAlignCenter:wi,TextAlignCenterIcon:wi,TextAlignEnd:bi,TextAlignEndIcon:bi,TextAlignJustify:xi,TextAlignJustifyIcon:xi,TextAlignStart:Dt,TextAlignStartIcon:Dt,TextCursor:Cw,TextCursorIcon:Cw,TextCursorInput:vw,TextCursorInputIcon:vw,TextIcon:Dt,TextInitial:vi,TextInitialIcon:vi,TextQuote:Sw,TextQuoteIcon:Sw,TextSearch:Lw,TextSearchIcon:Lw,TextSelect:Li,TextSelectIcon:Li,TextSelection:Li,TextSelectionIcon:Li,TextWrap:Ci,TextWrapIcon:Ci,Theater:Iw,TheaterIcon:Iw,Thermometer:Bw,ThermometerIcon:Bw,ThermometerSnowflake:_w,ThermometerSnowflakeIcon:_w,ThermometerSun:Aw,ThermometerSunIcon:Aw,ThumbsDown:Vw,ThumbsDownIcon:Vw,ThumbsUp:zw,ThumbsUpIcon:zw,Ticket:Ow,TicketCheck:qw,TicketCheckIcon:qw,TicketIcon:Ow,TicketMinus:Pw,TicketMinusIcon:Pw,TicketPercent:Dw,TicketPercentIcon:Dw,TicketPlus:Ew,TicketPlusIcon:Ew,TicketSlash:Tw,TicketSlashIcon:Tw,TicketX:Hw,TicketXIcon:Hw,Tickets:Fw,TicketsIcon:Fw,TicketsPlane:jw,TicketsPlaneIcon:jw,Timer:$w,TimerIcon:$w,TimerOff:Rw,TimerOffIcon:Rw,TimerReset:Nw,TimerResetIcon:Nw,ToggleLeft:n1,ToggleLeftIcon:n1,ToggleRight:Uw,ToggleRightIcon:Uw,Toilet:Ww,ToiletIcon:Ww,ToolCase:Gw,ToolCaseIcon:Gw,Toolbox:Kw,ToolboxIcon:Kw,Tornado:Xw,TornadoIcon:Xw,Torus:Zw,TorusIcon:Zw,Touchpad:Qw,TouchpadIcon:Qw,TouchpadOff:Yw,TouchpadOffIcon:Yw,TowelRack:Jw,TowelRackIcon:Jw,TowerControl:ev,TowerControlIcon:ev,ToyBrick:tv,ToyBrickIcon:tv,Tractor:av,TractorIcon:av,TrafficCone:nv,TrafficConeIcon:nv,Train:Si,TrainFront:sv,TrainFrontIcon:sv,TrainFrontTunnel:ov,TrainFrontTunnelIcon:ov,TrainIcon:Si,TrainTrack:rv,TrainTrackIcon:rv,TramFront:Si,TramFrontIcon:Si,Transgender:iv,TransgenderIcon:iv,Trash:lv,Trash2:Ii,Trash2Icon:Ii,TrashIcon:lv,TreeDeciduous:cv,TreeDeciduousIcon:cv,TreePalm:_i,TreePalmIcon:_i,TreePine:dv,TreePineIcon:dv,Trees:hv,TreesIcon:hv,Trello:uv,TrelloIcon:uv,TrendingDown:pv,TrendingDownIcon:pv,TrendingUp:fv,TrendingUpDown:yv,TrendingUpDownIcon:yv,TrendingUpIcon:fv,Triangle:Mv,TriangleAlert:Ai,TriangleAlertIcon:Ai,TriangleDashed:kv,TriangleDashedIcon:kv,TriangleIcon:Mv,TriangleRight:gv,TriangleRightIcon:gv,Trophy:mv,TrophyIcon:mv,Truck:xv,TruckElectric:bv,TruckElectricIcon:bv,TruckIcon:xv,TurkishLira:wv,TurkishLiraIcon:wv,Turntable:vv,TurntableIcon:vv,Turtle:Cv,TurtleIcon:Cv,Tv:Sv,Tv2:Bi,Tv2Icon:Bi,TvIcon:Sv,TvMinimal:Bi,TvMinimalIcon:Bi,TvMinimalPlay:Lv,TvMinimalPlayIcon:Lv,Twitch:Iv,TwitchIcon:Iv,Twitter:Av,TwitterIcon:Av,Type:Bv,TypeIcon:Bv,TypeOutline:_v,TypeOutlineIcon:_v,Umbrella:Vv,UmbrellaIcon:Vv,UmbrellaOff:zv,UmbrellaOffIcon:zv,Underline:qv,UnderlineIcon:qv,Undo:Dv,Undo2:Pv,Undo2Icon:Pv,UndoDot:Ev,UndoDotIcon:Ev,UndoIcon:Dv,UnfoldHorizontal:Tv,UnfoldHorizontalIcon:Tv,UnfoldVertical:Hv,UnfoldVerticalIcon:Hv,Ungroup:jv,UngroupIcon:jv,University:zi,UniversityIcon:zi,Unlink:Fv,Unlink2:Ov,Unlink2Icon:Ov,UnlinkIcon:Fv,Unlock:Oo,UnlockIcon:Oo,UnlockKeyhole:jo,UnlockKeyholeIcon:jo,Unplug:Rv,UnplugIcon:Rv,Upload:Nv,UploadCloud:ca,UploadCloudIcon:ca,UploadIcon:Nv,Usb:$v,UsbIcon:$v,User:o1,User2:Ti,User2Icon:Ti,UserCheck:Uv,UserCheck2:Vi,UserCheck2Icon:Vi,UserCheckIcon:Uv,UserCircle:Hn,UserCircle2:Tn,UserCircle2Icon:Tn,UserCircleIcon:Hn,UserCog:Wv,UserCog2:qi,UserCog2Icon:qi,UserCogIcon:Wv,UserIcon:o1,UserKey:Gv,UserKeyIcon:Gv,UserLock:Kv,UserLockIcon:Kv,UserMinus:Xv,UserMinus2:Pi,UserMinus2Icon:Pi,UserMinusIcon:Xv,UserPen:Zv,UserPenIcon:Zv,UserPlus:Yv,UserPlus2:Di,UserPlus2Icon:Di,UserPlusIcon:Yv,UserRound:Ti,UserRoundCheck:Vi,UserRoundCheckIcon:Vi,UserRoundCog:qi,UserRoundCogIcon:qi,UserRoundIcon:Ti,UserRoundKey:Qv,UserRoundKeyIcon:Qv,UserRoundMinus:Pi,UserRoundMinusIcon:Pi,UserRoundPen:Jv,UserRoundPenIcon:Jv,UserRoundPlus:Di,UserRoundPlusIcon:Di,UserRoundSearch:eC,UserRoundSearchIcon:eC,UserRoundX:Ei,UserRoundXIcon:Ei,UserSearch:aC,UserSearchIcon:aC,UserSquare:gi,UserSquare2:ki,UserSquare2Icon:ki,UserSquareIcon:gi,UserStar:tC,UserStarIcon:tC,UserX:nC,UserX2:Ei,UserX2Icon:Ei,UserXIcon:nC,Users:oC,Users2:Hi,Users2Icon:Hi,UsersIcon:oC,UsersRound:Hi,UsersRoundIcon:Hi,Utensils:Oi,UtensilsCrossed:ji,UtensilsCrossedIcon:ji,UtensilsIcon:Oi,UtilityPole:rC,UtilityPoleIcon:rC,Van:iC,VanIcon:iC,Variable:lC,VariableIcon:lC,Vault:sC,VaultIcon:sC,VectorSquare:cC,VectorSquareIcon:cC,Vegan:dC,VeganIcon:dC,VenetianMask:hC,VenetianMaskIcon:hC,Venus:uC,VenusAndMars:pC,VenusAndMarsIcon:pC,VenusIcon:uC,Verified:Ra,VerifiedIcon:Ra,Vibrate:fC,VibrateIcon:fC,VibrateOff:yC,VibrateOffIcon:yC,Video:mC,VideoIcon:mC,VideoOff:kC,VideoOffIcon:kC,Videotape:gC,VideotapeIcon:gC,View:MC,ViewIcon:MC,Voicemail:bC,VoicemailIcon:bC,Volleyball:vC,VolleyballIcon:vC,Volume:LC,Volume1:xC,Volume1Icon:xC,Volume2:wC,Volume2Icon:wC,VolumeIcon:LC,VolumeOff:CC,VolumeOffIcon:CC,VolumeX:SC,VolumeXIcon:SC,Vote:IC,VoteIcon:IC,Wallet:AC,Wallet2:Fi,Wallet2Icon:Fi,WalletCards:_C,WalletCardsIcon:_C,WalletIcon:AC,WalletMinimal:Fi,WalletMinimalIcon:Fi,Wallpaper:BC,WallpaperIcon:BC,Wand:zC,Wand2:Ri,Wand2Icon:Ri,WandIcon:zC,WandSparkles:Ri,WandSparklesIcon:Ri,Warehouse:VC,WarehouseIcon:VC,WashingMachine:qC,WashingMachineIcon:qC,Watch:PC,WatchIcon:PC,Waves:HC,WavesArrowDown:DC,WavesArrowDownIcon:DC,WavesArrowUp:EC,WavesArrowUpIcon:EC,WavesIcon:HC,WavesLadder:TC,WavesLadderIcon:TC,Waypoints:jC,WaypointsIcon:jC,Webcam:OC,WebcamIcon:OC,Webhook:RC,WebhookIcon:RC,WebhookOff:FC,WebhookOffIcon:FC,Weight:$C,WeightIcon:$C,WeightTilde:NC,WeightTildeIcon:NC,Wheat:WC,WheatIcon:WC,WheatOff:UC,WheatOffIcon:UC,WholeWord:GC,WholeWordIcon:GC,Wifi:tL,WifiCog:KC,WifiCogIcon:KC,WifiHigh:XC,WifiHighIcon:XC,WifiIcon:tL,WifiLow:YC,WifiLowIcon:YC,WifiOff:ZC,WifiOffIcon:ZC,WifiPen:QC,WifiPenIcon:QC,WifiSync:JC,WifiSyncIcon:JC,WifiZero:eL,WifiZeroIcon:eL,Wind:aL,WindArrowDown:nL,WindArrowDownIcon:nL,WindIcon:aL,Wine:oL,WineIcon:oL,WineOff:rL,WineOffIcon:rL,Workflow:iL,WorkflowIcon:iL,Worm:sL,WormIcon:sL,WrapText:Ci,WrapTextIcon:Ci,Wrench:lL,WrenchIcon:lL,X:it,XCircle:jn,XCircleIcon:jn,XIcon:it,XLineTop:cL,XLineTopIcon:cL,XOctagon:Ko,XOctagonIcon:Ko,XSquare:mi,XSquareIcon:mi,Youtube:dL,YoutubeIcon:dL,Zap:pL,ZapIcon:pL,ZapOff:hL,ZapOffIcon:hL,ZoomIn:uL,ZoomInIcon:uL,ZoomOut:yL,ZoomOutIcon:yL,createLucideIcon:l,icons:LP},Symbol.toStringTag,{value:"Module"})),SP=["aria-busy"],IP={key:0,class:"mb-1 h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},_P=["for"],AP={key:0,class:"ml-1 text-destructive"},BP={class:"relative"},zP={key:0,class:"flex items-center text-gray-500 gap-2"},VP=["id","placeholder","disabled","readonly","value"],qP={key:1,class:"h-6 w-6 animate-spin text-gray-500",viewBox:"0 0 24 24",fill:"none"},PP=["disabled"],DP={class:"overflow-y-auto overflow-x-hidden",style:{"max-height":"350px"}},EP=["onMouseenter","onClick"],TP={key:0},HP={class:"px-3 py-2 text-sm text-gray-500 dark:text-gray-400"},jP={key:0},OP={key:1},FP={key:2},RP={key:1,class:"mt-1 text-xs text-red-600"},ES=t.defineComponent({name:"DCodeAutoComplete",inheritAttrs:!1,__name:"DCodeAutoComplete",props:{modelValue:{},apiModule:{},apiAction:{},apiOptions:{},autoFetchOnOpen:{type:Boolean,default:!0},autoFetchOnMount:{type:Boolean,default:!1},visible:{type:Boolean,default:!0},clearable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},skeleton:{type:Boolean,default:!1},error:{default:null},errorMessage:{default:null},itemTitle:{type:[String,Function],default:"name"},itemValue:{type:[String,Function],default:"id"},returnObject:{type:Boolean,default:!1},endpoint:{},apiParams:{default:()=>({})},fetchItems:{},icon:{}},emits:["update:modelValue"],setup(a,{emit:e}){const n=a,o=e,r=t.useAttrs(),i=t.computed(()=>r.label??void 0),s=F=>{const te=r[F];return te===""||te===!0||te==="true"||te===1||te==="1"},c=t.ref(!1),d=t.computed(()=>n.itemTitle||r["item-title"]||r.itemTitle||"name"),h=t.computed(()=>n.itemValue||r["item-value"]||r.itemValue||"id"),u=t.computed(()=>n.disabled),p=t.computed(()=>s("required")),y=t.computed(()=>s("readonly")),f=t.computed(()=>n.returnObject||s("return-object")||s("returnObject")),k=t.computed(()=>p.value||s("aria-required")),m=t.computed(()=>n.error||n.errorMessage||r["error-message"]),g=t.computed(()=>r.placeholder??""),w=t.computed(()=>{const F=r.minChars??r["min-chars"];if(F==null||F==="")return 0;const te=typeof F=="number"?F:Number.parseInt(String(F),10);return Number.isFinite(te)&&te>0?te:0}),S=t.computed(()=>{const F=r.rules;return Array.isArray(F)?F:[]}),v=t.computed(()=>{const F=r.id||r.label;return F?`app-autocomplete-${F}-${Math.random().toString(36).slice(2,7)}`:void 0}),M=t.ref(n.modelValue),C=t.ref([]),x=t.ref(!1),b=t.ref(!1),L=t.computed(()=>r.items),I=t.computed(()=>{const F=H.value;return F.apiModule&&F.apiAction||F.apiUrl||n.fetchItems?C.value:L.value??[]}),V=t.computed(()=>!!r.loading),A=t.computed(()=>V.value||x.value),q=t.computed(()=>{const{label:F,items:te,loading:he,rules:_e,"item-title":De,"item-value":G,itemTitle:J,itemValue:ae,minChars:ye,"min-chars":Ve,clearable:na,required:We,"aria-required":tq,disabled:mS,readonly:aq,visible:gS,"return-object":nq,returnObject:c_,class:oq,"fetch-items":rq,fetchItems:d_,error:iq,errorMessage:sq,"error-message":h_,...u_}=r||{};return u_}),O=()=>{if(n.apiOptions)return typeof n.apiOptions=="function"?n.apiOptions():n.apiOptions},H=t.computed(()=>{const F=n.endpoint||{};return{apiModule:n.apiModule||F.apiModule,apiAction:n.apiAction||F.apiAction,apiUrl:F.apiUrl,apiMethod:F.apiMethod||"GET"}}),W=t.ref(null),T=t.ref(null),j=t.ref(null),{floatingStyles:R}=Q1(T,j,{placement:"bottom-start",whileElementsMounted:K1,middleware:[X1(4),Ds(),Z1(),Y1({apply({rects:F,elements:te,availableHeight:he}){Object.assign(te.floating.style,{width:`${F.reference.width}px`,maxHeight:`${he}px`})}})]}),Y=t.ref(!1),B=t.ref(""),z=t.ref(-1),U=t.ref(null),oe=t.computed(()=>!w.value||(B.value||"").trim().length>=w.value?"":`Ketik minimal ${w.value} karakter`),ee=F=>{if(F==null)return"";if(typeof F=="string"||typeof F=="number")return String(F);const te=d.value;return typeof te=="function"?te(F):(F==null?void 0:F[te])??(F==null?void 0:F.name)??(F==null?void 0:F.nama)??(F==null?void 0:F.label)??(F==null?void 0:F.title)??"-"},de=F=>{if(F==null)return null;if(typeof F=="string"||typeof F=="number")return F;const te=h.value;return typeof te=="function"?te(F):(F==null?void 0:F[te])??(F==null?void 0:F.id)??(F==null?void 0:F.value)??(F==null?void 0:F.code)??null},ce=t.computed(()=>{const F=M.value;if(F==null||F==="")return"";if(Array.isArray(F))return F.length?F.map(_e=>{if(f.value&&typeof _e=="object"||typeof _e=="object")return ee(_e);const De=I.value.find(G=>de(G)==_e);return De?ee(De):String(_e)}).join(", "):"";if(typeof F=="object")return ee(F);const te=I.value.find(he=>de(he)==F);return te?ee(te):String(F)}),ue=t.computed(()=>{const F=I.value||[],te=(B.value||"").trim().toLowerCase(),he=(ce.value||"").toLowerCase(),_e=!te||te===he;let De=F;if(_e||(De=F.filter(G=>ee(G).toLowerCase().includes(te))),De.length>0){const G=J=>{const ae=de(J);return Array.isArray(M.value)?M.value.some(ye=>ye==ae):M.value==ae};De=[...De].sort((J,ae)=>{const ye=G(J),Ve=G(ae);return ye&&!Ve?-1:!ye&&Ve?1:0})}return De}),ve=F=>Array.isArray(F)?F.length===0:F==null||F==="",le=F=>{if(U.value=null,p.value&&ve(F)&&!S.value.length)return U.value="This field is required",!1;for(const te of S.value){const he=te(F);if(he===!1)return U.value="Invalid value",!1;if(typeof he=="string")return U.value=he,!1}return!0},X=async()=>{if(u.value||y.value)return;Y.value=!0,z.value=ue.value.length?0:-1,B.value=ce.value||"";const F=H.value,te=F.apiModule&&F.apiAction||F.apiUrl||n.fetchItems;n.autoFetchOnOpen&&te&&!b.value&&(await bt(),z.value=ue.value.length?0:-1)},P=()=>{Y.value=!1,z.value=-1,B.value=ce.value||""},$=F=>{const te=f.value?F:de(F);let he=te;Array.isArray(M.value)&&(he=[te]),M.value=he,o("update:modelValue",he),U.value=null,le(he),B.value=ee(F),P()},Q=()=>{C.value=[],b.value=!1,M.value=Array.isArray(M.value)?[]:null,o("update:modelValue",M.value),B.value="",U.value=null},pe=()=>{c.value=!0,Q(),P(),setTimeout(()=>{c.value=!1},0)},Pe=F=>{if(u.value||y.value)return;const te=F.target.value;B.value=te,U.value&&(U.value=null),Y.value||(Y.value=!0),z.value=ue.value.length?0:-1;const he=H.value.apiModule&&H.value.apiAction||H.value.apiUrl||n.fetchItems;n.autoFetchOnOpen&&he&&!A.value&&!b.value&&bt()},ot=F=>{var he;if(u.value||y.value)return;const te={ArrowDown:()=>{if(F.preventDefault(),!Y.value){X();return}ue.value.length&&(z.value=Math.min(z.value+1,ue.value.length-1))},ArrowUp:()=>{!Y.value||!ue.value.length||(F.preventDefault(),z.value=Math.max(z.value-1,0))},Enter:()=>{if(!Y.value)return;F.preventDefault();const _e=ue.value[z.value];_e&&$(_e)},Escape:()=>{F.preventDefault(),P()},Tab:()=>{P()}};(he=te[F.key])==null||he.call(te)},bt=async()=>{const F=H.value;if(F.apiModule&&F.apiAction||F.apiUrl||n.fetchItems){x.value=!0;try{let he;if(n.fetchItems){const _e=O()||{},De={page:1,perPage:100,search:(B.value||"").trim(),..._e,...n.apiParams},G=await n.fetchItems(De),J=(G==null?void 0:G.data)??G;he=(J==null?void 0:J.data)??J}else{const De=Ke().DCodeApi;if(typeof De!="function"){console.error("[DCodeAutoComplete] useApi() must expose DCodeApi()");return}const J={page:1,perPage:100,...O()||{},...n.apiParams};let ae;F.apiUrl?ae=await De("","",J,{_url:F.apiUrl,_method:F.apiMethod||"POST"}):ae=await De(F.apiModule,F.apiAction,J);const ye=(ae==null?void 0:ae.data)??ae;he=(ye==null?void 0:ye.data)??ye}C.value=Array.isArray(he)?he:[],b.value=!0}catch(he){console.error("[DCodeAutoComplete][fetchOptions] ERROR:",he),U.value=`[DCodeAutoComplete][fetchOptions] ERROR: Error: ${(he==null?void 0:he.message)||(he==null?void 0:he.toString())||"Failed to load options"}`,C.value=[],b.value=!0}finally{x.value=!1}}},aa=F=>{const te=de(F);return f.value?M.value?Array.isArray(M.value)?M.value.some(he=>de(he)==te):de(M.value)==te:!1:Array.isArray(M.value)?M.value.some(he=>he==te):M.value==te};t.watch(()=>[O(),H.value,n.apiParams],([F,te,he],[_e,De,G])=>{const J=H.value;if(!(J.apiModule&&J.apiAction||J.apiUrl||n.fetchItems)){Q();return}const ye=JSON.stringify(F??null)===JSON.stringify(_e??null),Ve=JSON.stringify(he??null)===JSON.stringify(G??null);ye&&Ve||(Q(),Ve||bt())},{deep:!0}),t.watch(()=>n.modelValue,(F,te)=>{M.value=F,!c.value&&(F==null||F==="")&&te!=null&&n.apiModule&&n.apiAction&&(C.value=[],b.value=!1),B.value=ce.value||""},{immediate:!0});const _a=H.value;(_a.apiModule&&_a.apiAction||_a.apiUrl||n.fetchItems)&&(n.autoFetchOnMount||!ve(n.modelValue))&&bt();const $t=F=>{const te=W.value,he=j.value,_e=F.target;te&&te.contains(_e)||he&&he.contains(_e)||Y.value&&P()},D1=t.computed(()=>{const F=n.modelValue;return F==null?!1:typeof F=="string"?F.trim().length>0:Array.isArray(F)?F.length>0:typeof F=="object"?Object.keys(F).length>0:!0}),E1=t.computed(()=>!!n.clearable&&D1.value&&!n.disabled);return t.onMounted(()=>{document.addEventListener("mousedown",$t)}),t.onBeforeUnmount(()=>{document.removeEventListener("mousedown",$t)}),(F,te)=>t.withDirectives((t.openBlock(),t.createElementBlock("div",{ref_key:"rootEl",ref:W,class:t.normalizeClass(["w-full",t.unref(r).class]),"aria-busy":a.skeleton},[a.skeleton?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[i.value?(t.openBlock(),t.createElementBlock("div",IP)):t.createCommentVNode("",!0),te[6]||(te[6]=t.createElementVNode("div",{class:"h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse"},null,-1))],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[i.value?(t.openBlock(),t.createElementBlock("label",{key:0,for:v.value,class:"mb-1 block text-sm font-medium text-gray-900 dark:text-gray-100"},[t.createTextVNode(t.toDisplayString(i.value)+" ",1),k.value?(t.openBlock(),t.createElementBlock("span",AP,"*")):t.createCommentVNode("",!0)],8,_P)):t.createCommentVNode("",!0),t.createElementVNode("div",BP,[t.createElementVNode("div",{ref_key:"reference",ref:T,class:t.normalizeClass(["flex items-center gap-2 rounded-lg border px-3 py-2 bg-white dark:bg-neutral-900 border-gray-300 dark:border-gray-700 h-10 focus-within:ring-1 focus-within:ring-gray-700 dark:focus-within:ring-gray-300",[u.value||y.value?"opacity-60 cursor-not-allowed":"",U.value||m.value?"border-red-500 focus-within:ring-red-500":""]])},[n.icon||F.$slots["prepend-inner"]?(t.openBlock(),t.createElementBlock("div",zP,[t.renderSlot(F.$slots,"prepend-inner",{},()=>[n.icon?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(n.icon),{key:0,class:"h-4 w-4"})):t.createCommentVNode("",!0)])])):t.createCommentVNode("",!0),t.createElementVNode("input",t.mergeProps(q.value,{id:v.value,type:"text",class:["w-full bg-transparent outline-none text-sm text-gray-900 dark:text-gray-100 placeholder:text-gray-400",u.value||y.value?"cursor-not-allowed":"cursor-text"],placeholder:g.value,disabled:u.value,readonly:y.value,value:Y.value?B.value:ce.value||B.value,onFocus:te[0]||(te[0]=()=>{Y.value||X()}),onClick:te[1]||(te[1]=()=>{Y.value||X()}),onInput:Pe,onKeydown:ot,onBlur:te[2]||(te[2]=()=>le(M.value))}),null,16,VP),A.value?(t.openBlock(),t.createElementBlock("svg",qP,[...te[7]||(te[7]=[t.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),t.createElementVNode("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8v4a4 4 0 00-4 4H4z"},null,-1)])])):E1.value?(t.openBlock(),t.createElementBlock("button",{key:2,type:"button",class:"shrink-0 rounded-md px-1 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300",onMousedown:te[3]||(te[3]=t.withModifiers(()=>{},["prevent"])),onClick:t.withModifiers(pe,["stop"]),"aria-label":"Clear"}," ✕ ",32)):(t.openBlock(),t.createElementBlock("button",{key:3,type:"button",class:"shrink-0 rounded-md px-1 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300 disabled:opacity-50 disabled:cursor-not-allowed",disabled:u.value||y.value,onClick:te[4]||(te[4]=he=>Y.value?P():X()),"aria-label":"Toggle"},[t.createVNode(t.unref(St),{class:t.normalizeClass(["h-4 w-4 transition-transform duration-200 ease-in-out",{"rotate-180":Y.value}])},null,8,["class"])],8,PP))],2),(t.openBlock(),t.createBlock(t.Teleport,{to:"body"},[Y.value?(t.openBlock(),t.createElementBlock("div",{key:0,ref_key:"floating",ref:j,style:t.normalizeStyle(t.unref(R)),class:"z-[50] overflow-hidden rounded-lg border bg-white shadow-lg border-gray-200 dark:border-gray-700 dark:bg-neutral-900"},[t.createElementVNode("div",DP,[ue.value.length?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(ue.value,(he,_e)=>(t.openBlock(),t.createElementBlock("button",{key:de(he)??_e,type:"button",class:t.normalizeClass(["w-full flex justify-between text-left px-3 py-2 text-sm hover:bg-neutral-100 dark:hover:bg-neutral-800",_e===z.value?"bg-neutral-100 dark:bg-neutral-800":""]),onMouseenter:De=>z.value=_e,onMousedown:te[5]||(te[5]=t.withModifiers(()=>{},["prevent"])),onClick:De=>$(he)},[t.createTextVNode(t.toDisplayString(ee(he))+" ",1),aa(he)?(t.openBlock(),t.createElementBlock("span",TP," ✓ ")):t.createCommentVNode("",!0)],42,EP))),128)):t.renderSlot(F.$slots,"no-data",{key:1},()=>[t.createElementVNode("div",HP,[A.value?(t.openBlock(),t.createElementBlock("span",jP,"Loading data…")):oe.value?(t.openBlock(),t.createElementBlock("span",OP,t.toDisplayString(oe.value),1)):(t.openBlock(),t.createElementBlock("span",FP,"No data available"))])])])],4)):t.createCommentVNode("",!0)]))]),U.value||m.value?(t.openBlock(),t.createElementBlock("p",RP,t.toDisplayString(U.value||m.value),1)):t.createCommentVNode("",!0)],64))],10,SP)),[[t.vShow,a.visible]])}}),NP=["aria-busy"],$P={key:0,class:"mb-1 h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},UP=["for"],WP={key:0,class:"ml-1 text-destructive"},GP={class:"relative"},KP={key:0,class:"flex items-center text-gray-500 gap-2"},XP=["id","placeholder","disabled","value"],ZP={key:1,class:"h-6 w-6 animate-spin text-gray-500",viewBox:"0 0 24 24",fill:"none"},YP=["disabled"],QP={key:0,class:"p-3 space-y-2"},JP=["onMouseenter","onClick"],eD={class:"flex items-center space-x-3"},tD={class:"flex-1"},aD={class:"text-sm font-medium text-gray-900 dark:text-gray-100"},nD={key:0,class:"text-xs text-gray-500 dark:text-gray-400"},oD={key:0},rD={key:2,class:"p-3 text-center"},iD={class:"inline-flex items-center space-x-2"},sD={class:"text-sm text-gray-500"},lD={key:3,class:"p-3 text-center"},cD={class:"text-xs text-gray-400"},dD={key:4,class:"px-3 py-2 text-sm text-gray-500 dark:text-gray-400"},hD={key:1,class:"mt-1 text-xs text-red-600"},uD={key:2,class:"mt-1 text-xs text-gray-500"},j_=t.defineComponent({name:"DCodeInfiniteAutoComplete",inheritAttrs:!1,__name:"DCodeInfiniteAutoComplete",props:{modelValue:{},apiModule:{},apiAction:{},apiOptions:{},autoFetchOnOpen:{type:Boolean,default:!0},refreshOnOpen:{type:Boolean,default:!1},autoFetchOnMount:{type:Boolean,default:!1},visible:{type:Boolean,default:!0},clearable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},skeleton:{type:Boolean,default:!1},error:{default:null},errorMessage:{default:null},itemTitle:{type:[String,Function],default:"name"},itemValue:{type:[String,Function],default:"id"},itemSubtitle:{},returnObject:{type:Boolean,default:!1},endpoint:{},apiParams:{},fetchItems:{},icon:{},label:{},placeholder:{default:"Select an option"},required:{type:Boolean,default:!1},inputType:{default:"text"},helperText:{default:""},noResultsText:{default:"No results found"},loadingText:{default:"Loading more..."},endOfResultsText:{default:"End of results"},pageSize:{default:10},threshold:{default:100},debounceMs:{default:300}},emits:["update:modelValue","focus","blur","select","search","load-more","end-of-results","error"],setup(a,{emit:e}){const n=a,o=e,r=t.useAttrs(),i=t.ref(),s=t.ref(),c=t.ref(),d=t.ref(),h=t.ref(),u=t.computed(()=>{const z=n.label||n.placeholder;return z?`app-infinite-autocomplete-${z}-${Math.random().toString(36).slice(2,7)}`:void 0}),p=t.ref(""),y=t.ref([]),f=t.ref(!1),k=t.ref(!1),m=t.ref(-1),g=t.ref(1),w=t.ref(!0),S=t.ref(0),v=t.ref(),{floatingStyles:M}=Q1(d,h,{placement:"bottom-start",whileElementsMounted:K1,middleware:[X1(4),Ds(),Z1(),Y1({apply({rects:z,elements:U}){Object.assign(U.floating.style,{width:`${z.reference.width}px`})}})]});t.computed(()=>({"opacity-50 pointer-events-none":n.disabled,relative:!0}));const C=t.computed(()=>p.value?y.value.filter(z=>I(z).toLowerCase().includes(p.value.toLowerCase())):y.value),x=t.computed(()=>{if(k.value&&p.value)return p.value;if(n.modelValue){if(n.returnObject)return I(n.modelValue);{const z=y.value.find(U=>V(U)===n.modelValue);return z?I(z):String(n.modelValue)}}return""}),b=()=>{k.value=!0},L=()=>{k.value=!1},I=z=>typeof n.itemTitle=="function"?n.itemTitle(z):z[n.itemTitle]||"",V=z=>typeof n.itemValue=="function"?n.itemValue(z):z[n.itemValue]||z,A=z=>n.itemSubtitle?typeof n.itemSubtitle=="function"?n.itemSubtitle(z):z[n.itemSubtitle]||"":"",q=z=>n.modelValue?n.returnObject?V(z)===V(n.modelValue):V(z)===n.modelValue:!1,O=z=>{var oe;const U=n.returnObject?z:V(z);o("update:modelValue",U),o("select",z),k.value=!1,p.value="",(oe=i.value)==null||oe.blur()},H=()=>{var z;o("update:modelValue",null),p.value="",(z=i.value)==null||z.focus()},W=z=>{k.value=!0,o("focus",z),n.autoFetchOnOpen&&!f.value&&(n.refreshOnOpen||y.value.length===0)&&B(!0)},T=z=>{setTimeout(()=>{k.value=!1,o("blur",z)},200)},j=z=>{const U=z.target;p.value=U.value,v.value&&clearTimeout(v.value),v.value=setTimeout(()=>{o("search",p.value),g.value=1,w.value=!0,B(!0)},n.debounceMs)},R=z=>{if(k.value)switch(z.key){case"ArrowDown":z.preventDefault(),m.value=Math.min(m.value+1,C.value.length-1);break;case"ArrowUp":z.preventDefault(),m.value=Math.max(m.value-1,0);break;case"Enter":z.preventDefault(),m.value>=0&&C.value[m.value]&&O(C.value[m.value]);break;case"Escape":k.value=!1;break}},Y=z=>{if(!w.value||f.value)return;const U=z.target,{scrollTop:oe,scrollHeight:ee,clientHeight:de}=U;oe+de>=ee-n.threshold&&B()},B=async(z=!1)=>{var U,oe;if(!f.value){f.value=!0;try{let ee=[];if(n.fetchItems)ee=await n.fetchItems();else{const de=Ke(),ce=((U=n.endpoint)==null?void 0:U.apiModule)||n.apiModule,ue=((oe=n.endpoint)==null?void 0:oe.apiAction)||n.apiAction;if(!ce||!ue)throw new Error("API module and action are required");const ve={page:z?1:g.value,pageSize:n.pageSize,search:p.value,...n.apiParams},le=await de.apiUrl(`/${ce}/${ue}`,"GET",ve);ee=le.data||le.items||le||[],S.value=le.total||le.totalItems||ee.length}z?(y.value=ee,g.value=1):(y.value.push(...ee),g.value++),w.value=ee.length>=n.pageSize,w.value||o("end-of-results"),o("load-more",{items:ee,page:g.value,hasMore:w.value,total:S.value})}catch(ee){console.error("Error fetching items:",ee),o("error",ee)}finally{f.value=!1}}};return t.onMounted(()=>{n.autoFetchOnMount&&B()}),t.onUnmounted(()=>{v.value&&clearTimeout(v.value)}),t.watch(()=>n.modelValue,z=>{z||(p.value="")}),(z,U)=>t.withDirectives((t.openBlock(),t.createElementBlock("div",{ref_key:"rootEl",ref:c,class:t.normalizeClass(["w-full",t.unref(r).class]),"aria-busy":a.skeleton},[a.skeleton?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[a.label?(t.openBlock(),t.createElementBlock("div",$P)):t.createCommentVNode("",!0),U[3]||(U[3]=t.createElementVNode("div",{class:"h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse"},null,-1))],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[a.label?(t.openBlock(),t.createElementBlock("label",{key:0,for:u.value,class:"mb-1 block text-sm font-medium text-gray-900 dark:text-gray-100"},[t.createTextVNode(t.toDisplayString(a.label)+" ",1),a.required?(t.openBlock(),t.createElementBlock("span",WP,"*")):t.createCommentVNode("",!0)],8,UP)):t.createCommentVNode("",!0),t.createElementVNode("div",GP,[t.createElementVNode("div",{ref_key:"reference",ref:d,class:t.normalizeClass(["flex items-center gap-2 rounded-lg border px-3 py-2 bg-white dark:bg-neutral-900 border-gray-300 dark:border-gray-700 h-10 focus-within:ring-1 focus-within:ring-gray-700 dark:focus-within:ring-gray-300",[a.disabled?"opacity-60 cursor-not-allowed":"",a.error?"border-red-500 focus-within:ring-red-500":""]])},[n.icon?(t.openBlock(),t.createElementBlock("div",KP,[n.icon?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(n.icon),{key:0,class:"h-4 w-4"})):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),t.createElementVNode("input",t.mergeProps({ref_key:"inputRef",ref:i},z.$attrs,{id:u.value,type:"text",class:["w-full bg-transparent outline-none text-sm text-gray-900 dark:text-gray-100 placeholder:text-gray-400",a.disabled?"cursor-not-allowed":"cursor-text"],placeholder:a.placeholder,disabled:a.disabled,value:x.value,onFocus:W,onBlur:T,onInput:j,onKeydown:R}),null,16,XP),f.value?(t.openBlock(),t.createElementBlock("svg",ZP,[...U[4]||(U[4]=[t.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),t.createElementVNode("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8v4a4 4 0 00-4 4H4z"},null,-1)])])):a.clearable&&a.modelValue?(t.openBlock(),t.createElementBlock("button",{key:2,type:"button",class:"shrink-0 rounded-md px-1 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300",onMousedown:U[0]||(U[0]=t.withModifiers(()=>{},["prevent"])),onClick:t.withModifiers(H,["stop"]),"aria-label":"Clear"}," ✕ ",32)):(t.openBlock(),t.createElementBlock("button",{key:3,type:"button",class:"shrink-0 rounded-md px-1 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300 disabled:opacity-50 disabled:cursor-not-allowed",disabled:a.disabled,onClick:U[1]||(U[1]=oe=>k.value?L():b()),"aria-label":"Toggle"},[t.createVNode(t.unref(St),{class:t.normalizeClass(["h-4 w-4 transition-transform duration-200 ease-in-out",{"rotate-180":k.value}])},null,8,["class"])],8,YP))],2),(t.openBlock(),t.createBlock(t.Teleport,{to:"body"},[k.value?(t.openBlock(),t.createElementBlock("div",{key:0,ref_key:"floating",ref:h,style:t.normalizeStyle(t.unref(M)),class:"z-[9999] overflow-hidden rounded-lg border bg-white shadow-lg border-gray-200 dark:border-gray-700 dark:bg-neutral-900"},[t.createElementVNode("div",{ref_key:"scrollContainer",ref:s,class:"max-h-64 overflow-auto",onScroll:Y},[f.value&&y.value.length===0?(t.openBlock(),t.createElementBlock("div",QP,[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(5,oe=>t.createElementVNode("div",{key:oe,class:"flex items-center space-x-3"},[...U[5]||(U[5]=[t.createElementVNode("div",{class:"skeleton h-4 w-4 bg-gray-200 rounded"},null,-1),t.createElementVNode("div",{class:"skeleton h-4 flex-1 bg-gray-200 rounded"},null,-1)])])),64))])):C.value.length?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(C.value,(oe,ee)=>(t.openBlock(),t.createElementBlock("button",{key:V(oe)??ee,type:"button",class:t.normalizeClass(["w-full flex justify-between text-left px-3 py-2 text-sm hover:bg-neutral-100 dark:hover:bg-neutral-800",ee===m.value?"bg-neutral-100 dark:bg-neutral-800":""]),onMouseenter:de=>m.value=ee,onMousedown:U[2]||(U[2]=t.withModifiers(()=>{},["prevent"])),onClick:de=>O(oe)},[t.renderSlot(z.$slots,"item",{item:oe,index:ee},()=>[t.createElementVNode("div",eD,[t.createElementVNode("div",tD,[t.createElementVNode("div",aD,t.toDisplayString(I(oe)),1),a.itemSubtitle?(t.openBlock(),t.createElementBlock("div",nD,t.toDisplayString(A(oe)),1)):t.createCommentVNode("",!0)])])]),q(oe)?(t.openBlock(),t.createElementBlock("span",oD," ✓ ")):t.createCommentVNode("",!0)],42,JP))),128)):t.createCommentVNode("",!0),f.value&&y.value.length>0?(t.openBlock(),t.createElementBlock("div",rD,[t.createElementVNode("div",iD,[U[6]||(U[6]=t.createElementVNode("div",{class:"animate-spin rounded-full h-4 w-4 border-b-2 border-blue-600"},null,-1)),t.createElementVNode("span",sD,t.toDisplayString(a.loadingText),1)])])):t.createCommentVNode("",!0),!w.value&&y.value.length>0?(t.openBlock(),t.createElementBlock("div",lD,[t.createElementVNode("div",cD,t.toDisplayString(a.endOfResultsText),1)])):!f.value&&y.value.length===0?(t.openBlock(),t.createElementBlock("div",dD,t.toDisplayString(a.noResultsText),1)):t.createCommentVNode("",!0)],544)],4)):t.createCommentVNode("",!0)]))]),a.error?(t.openBlock(),t.createElementBlock("p",hD,t.toDisplayString(a.errorMessage||a.error),1)):a.helperText?(t.openBlock(),t.createElementBlock("p",uD,t.toDisplayString(a.helperText),1)):t.createCommentVNode("",!0)],64))],10,NP)),[[t.vShow,a.visible]])}});function O_(a){var e,n,o="";if(typeof a=="string"||typeof a=="number")o+=a;else if(typeof a=="object")if(Array.isArray(a)){var r=a.length;for(e=0;e<r;e++)a[e]&&(n=O_(a[e]))&&(o&&(o+=" "),o+=n)}else for(n in a)a[n]&&(o&&(o+=" "),o+=n);return o}function F_(){for(var a,e,n=0,o="",r=arguments.length;n<r;n++)(a=arguments[n])&&(e=O_(a))&&(o&&(o+=" "),o+=e);return o}const pD=(a,e)=>{const n=new Array(a.length+e.length);for(let o=0;o<a.length;o++)n[o]=a[o];for(let o=0;o<e.length;o++)n[a.length+o]=e[o];return n},yD=(a,e)=>({classGroupId:a,validator:e}),R_=(a=new Map,e=null,n)=>({nextPart:a,validators:e,classGroupId:n}),fL="-",N_=[],fD="arbitrary..",kD=a=>{const e=gD(a),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=a;return{getClassGroupId:s=>{if(s.startsWith("[")&&s.endsWith("]"))return mD(s);const c=s.split(fL),d=c[0]===""&&c.length>1?1:0;return $_(c,d,e)},getConflictingClassGroupIds:(s,c)=>{if(c){const d=o[s],h=n[s];return d?h?pD(h,d):d:h||N_}return n[s]||N_}}},$_=(a,e,n)=>{if(a.length-e===0)return n.classGroupId;const r=a[e],i=n.nextPart.get(r);if(i){const h=$_(a,e+1,i);if(h)return h}const s=n.validators;if(s===null)return;const c=e===0?a.join(fL):a.slice(e).join(fL),d=s.length;for(let h=0;h<d;h++){const u=s[h];if(u.validator(c))return u.classGroupId}},mD=a=>a.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const e=a.slice(1,-1),n=e.indexOf(":"),o=e.slice(0,n);return o?fD+o:void 0})(),gD=a=>{const{theme:e,classGroups:n}=a;return MD(n,e)},MD=(a,e)=>{const n=R_();for(const o in a){const r=a[o];TS(r,n,o,e)}return n},TS=(a,e,n,o)=>{const r=a.length;for(let i=0;i<r;i++){const s=a[i];bD(s,e,n,o)}},bD=(a,e,n,o)=>{if(typeof a=="string"){xD(a,e,n);return}if(typeof a=="function"){wD(a,e,n,o);return}vD(a,e,n,o)},xD=(a,e,n)=>{const o=a===""?e:U_(e,a);o.classGroupId=n},wD=(a,e,n,o)=>{if(CD(a)){TS(a(o),e,n,o);return}e.validators===null&&(e.validators=[]),e.validators.push(yD(n,a))},vD=(a,e,n,o)=>{const r=Object.entries(a),i=r.length;for(let s=0;s<i;s++){const[c,d]=r[s];TS(d,U_(e,c),n,o)}},U_=(a,e)=>{let n=a;const o=e.split(fL),r=o.length;for(let i=0;i<r;i++){const s=o[i];let c=n.nextPart.get(s);c||(c=R_(),n.nextPart.set(s,c)),n=c}return n},CD=a=>"isThemeGetter"in a&&a.isThemeGetter===!0,LD=a=>{if(a<1)return{get:()=>{},set:()=>{}};let e=0,n=Object.create(null),o=Object.create(null);const r=(i,s)=>{n[i]=s,e++,e>a&&(e=0,o=n,n=Object.create(null))};return{get(i){let s=n[i];if(s!==void 0)return s;if((s=o[i])!==void 0)return r(i,s),s},set(i,s){i in n?n[i]=s:r(i,s)}}},HS="!",W_=":",SD=[],G_=(a,e,n,o,r)=>({modifiers:a,hasImportantModifier:e,baseClassName:n,maybePostfixModifierPosition:o,isExternal:r}),ID=a=>{const{prefix:e,experimentalParseClassName:n}=a;let o=r=>{const i=[];let s=0,c=0,d=0,h;const u=r.length;for(let m=0;m<u;m++){const g=r[m];if(s===0&&c===0){if(g===W_){i.push(r.slice(d,m)),d=m+1;continue}if(g==="/"){h=m;continue}}g==="["?s++:g==="]"?s--:g==="("?c++:g===")"&&c--}const p=i.length===0?r:r.slice(d);let y=p,f=!1;p.endsWith(HS)?(y=p.slice(0,-1),f=!0):p.startsWith(HS)&&(y=p.slice(1),f=!0);const k=h&&h>d?h-d:void 0;return G_(i,f,y,k)};if(e){const r=e+W_,i=o;o=s=>s.startsWith(r)?i(s.slice(r.length)):G_(SD,!1,s,void 0,!0)}if(n){const r=o;o=i=>n({className:i,parseClassName:r})}return o},_D=a=>{const e=new Map;return a.orderSensitiveModifiers.forEach((n,o)=>{e.set(n,1e6+o)}),n=>{const o=[];let r=[];for(let i=0;i<n.length;i++){const s=n[i],c=s[0]==="[",d=e.has(s);c||d?(r.length>0&&(r.sort(),o.push(...r),r=[]),o.push(s)):r.push(s)}return r.length>0&&(r.sort(),o.push(...r)),o}},AD=a=>({cache:LD(a.cacheSize),parseClassName:ID(a),sortModifiers:_D(a),...kD(a)}),BD=/\s+/,zD=(a,e)=>{const{parseClassName:n,getClassGroupId:o,getConflictingClassGroupIds:r,sortModifiers:i}=e,s=[],c=a.trim().split(BD);let d="";for(let h=c.length-1;h>=0;h-=1){const u=c[h],{isExternal:p,modifiers:y,hasImportantModifier:f,baseClassName:k,maybePostfixModifierPosition:m}=n(u);if(p){d=u+(d.length>0?" "+d:d);continue}let g=!!m,w=o(g?k.substring(0,m):k);if(!w){if(!g){d=u+(d.length>0?" "+d:d);continue}if(w=o(k),!w){d=u+(d.length>0?" "+d:d);continue}g=!1}const S=y.length===0?"":y.length===1?y[0]:i(y).join(":"),v=f?S+HS:S,M=v+w;if(s.indexOf(M)>-1)continue;s.push(M);const C=r(w,g);for(let x=0;x<C.length;++x){const b=C[x];s.push(v+b)}d=u+(d.length>0?" "+d:d)}return d},VD=(...a)=>{let e=0,n,o,r="";for(;e<a.length;)(n=a[e++])&&(o=K_(n))&&(r&&(r+=" "),r+=o);return r},K_=a=>{if(typeof a=="string")return a;let e,n="";for(let o=0;o<a.length;o++)a[o]&&(e=K_(a[o]))&&(n&&(n+=" "),n+=e);return n},qD=(a,...e)=>{let n,o,r,i;const s=d=>{const h=e.reduce((u,p)=>p(u),a());return n=AD(h),o=n.cache.get,r=n.cache.set,i=c,c(d)},c=d=>{const h=o(d);if(h)return h;const u=zD(d,n);return r(d,u),u};return i=s,(...d)=>i(VD(...d))},PD=[],je=a=>{const e=n=>n[a]||PD;return e.isThemeGetter=!0,e},X_=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Z_=/^\((?:(\w[\w-]*):)?(.+)\)$/i,DD=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,ED=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,TD=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,HD=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,jD=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,OD=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ua=a=>DD.test(a),Me=a=>!!a&&!Number.isNaN(Number(a)),pa=a=>!!a&&Number.isInteger(Number(a)),jS=a=>a.endsWith("%")&&Me(a.slice(0,-1)),Gt=a=>ED.test(a),Y_=()=>!0,FD=a=>TD.test(a)&&!HD.test(a),OS=()=>!1,RD=a=>jD.test(a),ND=a=>OD.test(a),$D=a=>!re(a)&&!ie(a),UD=a=>ya(a,nA,OS),re=a=>X_.test(a),Ni=a=>ya(a,oA,FD),Q_=a=>ya(a,JD,Me),WD=a=>ya(a,iA,Y_),GD=a=>ya(a,rA,OS),J_=a=>ya(a,tA,OS),KD=a=>ya(a,aA,ND),kL=a=>ya(a,sA,RD),ie=a=>Z_.test(a),r1=a=>$i(a,oA),XD=a=>$i(a,rA),eA=a=>$i(a,tA),ZD=a=>$i(a,nA),YD=a=>$i(a,aA),mL=a=>$i(a,sA,!0),QD=a=>$i(a,iA,!0),ya=(a,e,n)=>{const o=X_.exec(a);return o?o[1]?e(o[1]):n(o[2]):!1},$i=(a,e,n=!1)=>{const o=Z_.exec(a);return o?o[1]?e(o[1]):n:!1},tA=a=>a==="position"||a==="percentage",aA=a=>a==="image"||a==="url",nA=a=>a==="length"||a==="size"||a==="bg-size",oA=a=>a==="length",JD=a=>a==="number",rA=a=>a==="family-name",iA=a=>a==="number"||a==="weight",sA=a=>a==="shadow",eE=qD(()=>{const a=je("color"),e=je("font"),n=je("text"),o=je("font-weight"),r=je("tracking"),i=je("leading"),s=je("breakpoint"),c=je("container"),d=je("spacing"),h=je("radius"),u=je("shadow"),p=je("inset-shadow"),y=je("text-shadow"),f=je("drop-shadow"),k=je("blur"),m=je("perspective"),g=je("aspect"),w=je("ease"),S=je("animate"),v=()=>["auto","avoid","all","avoid-page","page","left","right","column"],M=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],C=()=>[...M(),ie,re],x=()=>["auto","hidden","clip","visible","scroll"],b=()=>["auto","contain","none"],L=()=>[ie,re,d],I=()=>[ua,"full","auto",...L()],V=()=>[pa,"none","subgrid",ie,re],A=()=>["auto",{span:["full",pa,ie,re]},pa,ie,re],q=()=>[pa,"auto",ie,re],O=()=>["auto","min","max","fr",ie,re],H=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],W=()=>["start","end","center","stretch","center-safe","end-safe"],T=()=>["auto",...L()],j=()=>[ua,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...L()],R=()=>[ua,"screen","full","dvw","lvw","svw","min","max","fit",...L()],Y=()=>[ua,"screen","full","lh","dvh","lvh","svh","min","max","fit",...L()],B=()=>[a,ie,re],z=()=>[...M(),eA,J_,{position:[ie,re]}],U=()=>["no-repeat",{repeat:["","x","y","space","round"]}],oe=()=>["auto","cover","contain",ZD,UD,{size:[ie,re]}],ee=()=>[jS,r1,Ni],de=()=>["","none","full",h,ie,re],ce=()=>["",Me,r1,Ni],ue=()=>["solid","dashed","dotted","double"],ve=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],le=()=>[Me,jS,eA,J_],X=()=>["","none",k,ie,re],P=()=>["none",Me,ie,re],$=()=>["none",Me,ie,re],Q=()=>[Me,ie,re],pe=()=>[ua,"full",...L()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Gt],breakpoint:[Gt],color:[Y_],container:[Gt],"drop-shadow":[Gt],ease:["in","out","in-out"],font:[$D],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Gt],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Gt],shadow:[Gt],spacing:["px",Me],text:[Gt],"text-shadow":[Gt],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ua,re,ie,g]}],container:["container"],columns:[{columns:[Me,re,ie,c]}],"break-after":[{"break-after":v()}],"break-before":[{"break-before":v()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:C()}],overflow:[{overflow:x()}],"overflow-x":[{"overflow-x":x()}],"overflow-y":[{"overflow-y":x()}],overscroll:[{overscroll:b()}],"overscroll-x":[{"overscroll-x":b()}],"overscroll-y":[{"overscroll-y":b()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:I()}],"inset-x":[{"inset-x":I()}],"inset-y":[{"inset-y":I()}],start:[{"inset-s":I(),start:I()}],end:[{"inset-e":I(),end:I()}],"inset-bs":[{"inset-bs":I()}],"inset-be":[{"inset-be":I()}],top:[{top:I()}],right:[{right:I()}],bottom:[{bottom:I()}],left:[{left:I()}],visibility:["visible","invisible","collapse"],z:[{z:[pa,"auto",ie,re]}],basis:[{basis:[ua,"full","auto",c,...L()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Me,ua,"auto","initial","none",re]}],grow:[{grow:["",Me,ie,re]}],shrink:[{shrink:["",Me,ie,re]}],order:[{order:[pa,"first","last","none",ie,re]}],"grid-cols":[{"grid-cols":V()}],"col-start-end":[{col:A()}],"col-start":[{"col-start":q()}],"col-end":[{"col-end":q()}],"grid-rows":[{"grid-rows":V()}],"row-start-end":[{row:A()}],"row-start":[{"row-start":q()}],"row-end":[{"row-end":q()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":O()}],"auto-rows":[{"auto-rows":O()}],gap:[{gap:L()}],"gap-x":[{"gap-x":L()}],"gap-y":[{"gap-y":L()}],"justify-content":[{justify:[...H(),"normal"]}],"justify-items":[{"justify-items":[...W(),"normal"]}],"justify-self":[{"justify-self":["auto",...W()]}],"align-content":[{content:["normal",...H()]}],"align-items":[{items:[...W(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...W(),{baseline:["","last"]}]}],"place-content":[{"place-content":H()}],"place-items":[{"place-items":[...W(),"baseline"]}],"place-self":[{"place-self":["auto",...W()]}],p:[{p:L()}],px:[{px:L()}],py:[{py:L()}],ps:[{ps:L()}],pe:[{pe:L()}],pbs:[{pbs:L()}],pbe:[{pbe:L()}],pt:[{pt:L()}],pr:[{pr:L()}],pb:[{pb:L()}],pl:[{pl:L()}],m:[{m:T()}],mx:[{mx:T()}],my:[{my:T()}],ms:[{ms:T()}],me:[{me:T()}],mbs:[{mbs:T()}],mbe:[{mbe:T()}],mt:[{mt:T()}],mr:[{mr:T()}],mb:[{mb:T()}],ml:[{ml:T()}],"space-x":[{"space-x":L()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":L()}],"space-y-reverse":["space-y-reverse"],size:[{size:j()}],"inline-size":[{inline:["auto",...R()]}],"min-inline-size":[{"min-inline":["auto",...R()]}],"max-inline-size":[{"max-inline":["none",...R()]}],"block-size":[{block:["auto",...Y()]}],"min-block-size":[{"min-block":["auto",...Y()]}],"max-block-size":[{"max-block":["none",...Y()]}],w:[{w:[c,"screen",...j()]}],"min-w":[{"min-w":[c,"screen","none",...j()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[s]},...j()]}],h:[{h:["screen","lh",...j()]}],"min-h":[{"min-h":["screen","lh","none",...j()]}],"max-h":[{"max-h":["screen","lh",...j()]}],"font-size":[{text:["base",n,r1,Ni]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,QD,WD]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",jS,re]}],"font-family":[{font:[XD,GD,e]}],"font-features":[{"font-features":[re]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[r,ie,re]}],"line-clamp":[{"line-clamp":[Me,"none",ie,Q_]}],leading:[{leading:[i,...L()]}],"list-image":[{"list-image":["none",ie,re]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ie,re]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:B()}],"text-color":[{text:B()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ue(),"wavy"]}],"text-decoration-thickness":[{decoration:[Me,"from-font","auto",ie,Ni]}],"text-decoration-color":[{decoration:B()}],"underline-offset":[{"underline-offset":[Me,"auto",ie,re]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:L()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ie,re]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ie,re]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:z()}],"bg-repeat":[{bg:U()}],"bg-size":[{bg:oe()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},pa,ie,re],radial:["",ie,re],conic:[pa,ie,re]},YD,KD]}],"bg-color":[{bg:B()}],"gradient-from-pos":[{from:ee()}],"gradient-via-pos":[{via:ee()}],"gradient-to-pos":[{to:ee()}],"gradient-from":[{from:B()}],"gradient-via":[{via:B()}],"gradient-to":[{to:B()}],rounded:[{rounded:de()}],"rounded-s":[{"rounded-s":de()}],"rounded-e":[{"rounded-e":de()}],"rounded-t":[{"rounded-t":de()}],"rounded-r":[{"rounded-r":de()}],"rounded-b":[{"rounded-b":de()}],"rounded-l":[{"rounded-l":de()}],"rounded-ss":[{"rounded-ss":de()}],"rounded-se":[{"rounded-se":de()}],"rounded-ee":[{"rounded-ee":de()}],"rounded-es":[{"rounded-es":de()}],"rounded-tl":[{"rounded-tl":de()}],"rounded-tr":[{"rounded-tr":de()}],"rounded-br":[{"rounded-br":de()}],"rounded-bl":[{"rounded-bl":de()}],"border-w":[{border:ce()}],"border-w-x":[{"border-x":ce()}],"border-w-y":[{"border-y":ce()}],"border-w-s":[{"border-s":ce()}],"border-w-e":[{"border-e":ce()}],"border-w-bs":[{"border-bs":ce()}],"border-w-be":[{"border-be":ce()}],"border-w-t":[{"border-t":ce()}],"border-w-r":[{"border-r":ce()}],"border-w-b":[{"border-b":ce()}],"border-w-l":[{"border-l":ce()}],"divide-x":[{"divide-x":ce()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ce()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ue(),"hidden","none"]}],"divide-style":[{divide:[...ue(),"hidden","none"]}],"border-color":[{border:B()}],"border-color-x":[{"border-x":B()}],"border-color-y":[{"border-y":B()}],"border-color-s":[{"border-s":B()}],"border-color-e":[{"border-e":B()}],"border-color-bs":[{"border-bs":B()}],"border-color-be":[{"border-be":B()}],"border-color-t":[{"border-t":B()}],"border-color-r":[{"border-r":B()}],"border-color-b":[{"border-b":B()}],"border-color-l":[{"border-l":B()}],"divide-color":[{divide:B()}],"outline-style":[{outline:[...ue(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Me,ie,re]}],"outline-w":[{outline:["",Me,r1,Ni]}],"outline-color":[{outline:B()}],shadow:[{shadow:["","none",u,mL,kL]}],"shadow-color":[{shadow:B()}],"inset-shadow":[{"inset-shadow":["none",p,mL,kL]}],"inset-shadow-color":[{"inset-shadow":B()}],"ring-w":[{ring:ce()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:B()}],"ring-offset-w":[{"ring-offset":[Me,Ni]}],"ring-offset-color":[{"ring-offset":B()}],"inset-ring-w":[{"inset-ring":ce()}],"inset-ring-color":[{"inset-ring":B()}],"text-shadow":[{"text-shadow":["none",y,mL,kL]}],"text-shadow-color":[{"text-shadow":B()}],opacity:[{opacity:[Me,ie,re]}],"mix-blend":[{"mix-blend":[...ve(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ve()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Me]}],"mask-image-linear-from-pos":[{"mask-linear-from":le()}],"mask-image-linear-to-pos":[{"mask-linear-to":le()}],"mask-image-linear-from-color":[{"mask-linear-from":B()}],"mask-image-linear-to-color":[{"mask-linear-to":B()}],"mask-image-t-from-pos":[{"mask-t-from":le()}],"mask-image-t-to-pos":[{"mask-t-to":le()}],"mask-image-t-from-color":[{"mask-t-from":B()}],"mask-image-t-to-color":[{"mask-t-to":B()}],"mask-image-r-from-pos":[{"mask-r-from":le()}],"mask-image-r-to-pos":[{"mask-r-to":le()}],"mask-image-r-from-color":[{"mask-r-from":B()}],"mask-image-r-to-color":[{"mask-r-to":B()}],"mask-image-b-from-pos":[{"mask-b-from":le()}],"mask-image-b-to-pos":[{"mask-b-to":le()}],"mask-image-b-from-color":[{"mask-b-from":B()}],"mask-image-b-to-color":[{"mask-b-to":B()}],"mask-image-l-from-pos":[{"mask-l-from":le()}],"mask-image-l-to-pos":[{"mask-l-to":le()}],"mask-image-l-from-color":[{"mask-l-from":B()}],"mask-image-l-to-color":[{"mask-l-to":B()}],"mask-image-x-from-pos":[{"mask-x-from":le()}],"mask-image-x-to-pos":[{"mask-x-to":le()}],"mask-image-x-from-color":[{"mask-x-from":B()}],"mask-image-x-to-color":[{"mask-x-to":B()}],"mask-image-y-from-pos":[{"mask-y-from":le()}],"mask-image-y-to-pos":[{"mask-y-to":le()}],"mask-image-y-from-color":[{"mask-y-from":B()}],"mask-image-y-to-color":[{"mask-y-to":B()}],"mask-image-radial":[{"mask-radial":[ie,re]}],"mask-image-radial-from-pos":[{"mask-radial-from":le()}],"mask-image-radial-to-pos":[{"mask-radial-to":le()}],"mask-image-radial-from-color":[{"mask-radial-from":B()}],"mask-image-radial-to-color":[{"mask-radial-to":B()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":M()}],"mask-image-conic-pos":[{"mask-conic":[Me]}],"mask-image-conic-from-pos":[{"mask-conic-from":le()}],"mask-image-conic-to-pos":[{"mask-conic-to":le()}],"mask-image-conic-from-color":[{"mask-conic-from":B()}],"mask-image-conic-to-color":[{"mask-conic-to":B()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:z()}],"mask-repeat":[{mask:U()}],"mask-size":[{mask:oe()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ie,re]}],filter:[{filter:["","none",ie,re]}],blur:[{blur:X()}],brightness:[{brightness:[Me,ie,re]}],contrast:[{contrast:[Me,ie,re]}],"drop-shadow":[{"drop-shadow":["","none",f,mL,kL]}],"drop-shadow-color":[{"drop-shadow":B()}],grayscale:[{grayscale:["",Me,ie,re]}],"hue-rotate":[{"hue-rotate":[Me,ie,re]}],invert:[{invert:["",Me,ie,re]}],saturate:[{saturate:[Me,ie,re]}],sepia:[{sepia:["",Me,ie,re]}],"backdrop-filter":[{"backdrop-filter":["","none",ie,re]}],"backdrop-blur":[{"backdrop-blur":X()}],"backdrop-brightness":[{"backdrop-brightness":[Me,ie,re]}],"backdrop-contrast":[{"backdrop-contrast":[Me,ie,re]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Me,ie,re]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Me,ie,re]}],"backdrop-invert":[{"backdrop-invert":["",Me,ie,re]}],"backdrop-opacity":[{"backdrop-opacity":[Me,ie,re]}],"backdrop-saturate":[{"backdrop-saturate":[Me,ie,re]}],"backdrop-sepia":[{"backdrop-sepia":["",Me,ie,re]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":L()}],"border-spacing-x":[{"border-spacing-x":L()}],"border-spacing-y":[{"border-spacing-y":L()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ie,re]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Me,"initial",ie,re]}],ease:[{ease:["linear","initial",w,ie,re]}],delay:[{delay:[Me,ie,re]}],animate:[{animate:["none",S,ie,re]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,ie,re]}],"perspective-origin":[{"perspective-origin":C()}],rotate:[{rotate:P()}],"rotate-x":[{"rotate-x":P()}],"rotate-y":[{"rotate-y":P()}],"rotate-z":[{"rotate-z":P()}],scale:[{scale:$()}],"scale-x":[{"scale-x":$()}],"scale-y":[{"scale-y":$()}],"scale-z":[{"scale-z":$()}],"scale-3d":["scale-3d"],skew:[{skew:Q()}],"skew-x":[{"skew-x":Q()}],"skew-y":[{"skew-y":Q()}],transform:[{transform:[ie,re,"","none","gpu","cpu"]}],"transform-origin":[{origin:C()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:pe()}],"translate-x":[{"translate-x":pe()}],"translate-y":[{"translate-y":pe()}],"translate-z":[{"translate-z":pe()}],"translate-none":["translate-none"],accent:[{accent:B()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:B()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ie,re]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":L()}],"scroll-mx":[{"scroll-mx":L()}],"scroll-my":[{"scroll-my":L()}],"scroll-ms":[{"scroll-ms":L()}],"scroll-me":[{"scroll-me":L()}],"scroll-mbs":[{"scroll-mbs":L()}],"scroll-mbe":[{"scroll-mbe":L()}],"scroll-mt":[{"scroll-mt":L()}],"scroll-mr":[{"scroll-mr":L()}],"scroll-mb":[{"scroll-mb":L()}],"scroll-ml":[{"scroll-ml":L()}],"scroll-p":[{"scroll-p":L()}],"scroll-px":[{"scroll-px":L()}],"scroll-py":[{"scroll-py":L()}],"scroll-ps":[{"scroll-ps":L()}],"scroll-pe":[{"scroll-pe":L()}],"scroll-pbs":[{"scroll-pbs":L()}],"scroll-pbe":[{"scroll-pbe":L()}],"scroll-pt":[{"scroll-pt":L()}],"scroll-pr":[{"scroll-pr":L()}],"scroll-pb":[{"scroll-pb":L()}],"scroll-pl":[{"scroll-pl":L()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ie,re]}],fill:[{fill:["none",...B()]}],"stroke-w":[{stroke:[Me,r1,Ni,Q_]}],stroke:[{stroke:["none",...B()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function ke(...a){return eE(F_(a))}function tE(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var FS={},RS={},gL={exports:{}},lA;function aE(){if(lA)return gL.exports;lA=1;var a=String,e=function(){return{isColorSupported:!1,reset:a,bold:a,dim:a,italic:a,underline:a,inverse:a,hidden:a,strikethrough:a,black:a,red:a,green:a,yellow:a,blue:a,magenta:a,cyan:a,white:a,gray:a,bgBlack:a,bgRed:a,bgGreen:a,bgYellow:a,bgBlue:a,bgMagenta:a,bgCyan:a,bgWhite:a,blackBright:a,redBright:a,greenBright:a,yellowBright:a,blueBright:a,magentaBright:a,cyanBright:a,whiteBright:a,bgBlackBright:a,bgRedBright:a,bgGreenBright:a,bgYellowBright:a,bgBlueBright:a,bgMagentaBright:a,bgCyanBright:a,bgWhiteBright:a}};return gL.exports=e(),gL.exports.createColors=e,gL.exports}var cA;function nE(){return cA||(cA=1,(function(a){var e={};Object.defineProperty(a,"__esModule",{value:!0});function n(h,u){for(var p in u)Object.defineProperty(h,p,{enumerable:!0,get:u[p]})}n(a,{dim:function(){return c},default:function(){return d}});const o=r(aE());function r(h){return h&&h.__esModule?h:{default:h}}let i=new Set;function s(h,u,p){typeof process<"u"&&e.JEST_WORKER_ID||p&&i.has(p)||(p&&i.add(p),console.warn(""),u.forEach(y=>console.warn(h,"-",y)))}function c(h){return o.default.dim(h)}const d={info(h,u){s(o.default.bold(o.default.cyan("info")),...Array.isArray(h)?[h]:[u,h])},warn(h,u){s(o.default.bold(o.default.yellow("warn")),...Array.isArray(h)?[h]:[u,h])},risk(h,u){s(o.default.bold(o.default.magenta("risk")),...Array.isArray(h)?[h]:[u,h])}}})(RS)),RS}var dA;function oE(){return dA||(dA=1,(function(a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return r}});const e=n(nE());function n(i){return i&&i.__esModule?i:{default:i}}function o({version:i,from:s,to:c}){e.default.warn(`${s}-color-renamed`,[`As of Tailwind CSS ${i}, \`${s}\` has been renamed to \`${c}\`.`,"Update your configuration file to silence this warning."])}const r={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},get lightBlue(){return o({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return o({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return o({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return o({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return o({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}})(FS)),FS}var NS,hA;function rE(){if(hA)return NS;hA=1;let a=oE();return NS=(a.__esModule?a:{default:a}).default,NS}var iE=rE();const sE=tE(iE),uA=a=>typeof a=="boolean"?`${a}`:a===0?"0":a,pA=F_,i1=(a,e)=>n=>{var o;if((e==null?void 0:e.variants)==null)return pA(a,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:r,defaultVariants:i}=e,s=Object.keys(r).map(h=>{const u=n==null?void 0:n[h],p=i==null?void 0:i[h];if(u===null)return null;const y=uA(u)||uA(p);return r[h][y]}),c=n&&Object.entries(n).reduce((h,u)=>{let[p,y]=u;return y===void 0||(h[p]=y),h},{}),d=e==null||(o=e.compoundVariants)===null||o===void 0?void 0:o.reduce((h,u)=>{let{class:p,className:y,...f}=u;return Object.entries(f).every(k=>{let[m,g]=k;return Array.isArray(g)?g.includes({...i,...c}[m]):{...i,...c}[m]===g})?[...h,p,y]:h},[]);return pA(a,s,d,n==null?void 0:n.class,n==null?void 0:n.className)};function yA(a){return typeof a=="string"?`'${a}'`:new lE().serialize(a)}const lE=(function(){var e;class a{constructor(){yq(this,e,new Map)}compare(o,r){const i=typeof o,s=typeof r;return i==="string"&&s==="string"?o.localeCompare(r):i==="number"&&s==="number"?o-r:String.prototype.localeCompare.call(this.serialize(o,!0),this.serialize(r,!0))}serialize(o,r){if(o===null)return"null";switch(typeof o){case"string":return r?o:`'${o}'`;case"bigint":return`${o}n`;case"object":return this.$object(o);case"function":return this.$function(o)}return String(o)}serializeObject(o){const r=Object.prototype.toString.call(o);if(r!=="[object Object]")return this.serializeBuiltInType(r.length<10?`unknown:${r}`:r.slice(8,-1),o);const i=o.constructor,s=i===Object||i===void 0?"":i.name;if(s!==""&&globalThis[s]===i)return this.serializeBuiltInType(s,o);if(typeof o.toJSON=="function"){const c=o.toJSON();return s+(c!==null&&typeof c=="object"?this.$object(c):`(${this.serialize(c)})`)}return this.serializeObjectEntries(s,Object.entries(o))}serializeBuiltInType(o,r){const i=this["$"+o];if(i)return i.call(this,r);if(typeof(r==null?void 0:r.entries)=="function")return this.serializeObjectEntries(o,r.entries());throw new Error(`Cannot serialize ${o}`)}serializeObjectEntries(o,r){const i=Array.from(r).sort((c,d)=>this.compare(c[0],d[0]));let s=`${o}{`;for(let c=0;c<i.length;c++){const[d,h]=i[c];s+=`${this.serialize(d,!0)}:${this.serialize(h)}`,c<i.length-1&&(s+=",")}return s+"}"}$object(o){let r=T1(this,e).get(o);return r===void 0&&(T1(this,e).set(o,`#${T1(this,e).size}`),r=this.serializeObject(o),T1(this,e).set(o,r)),r}$function(o){const r=Function.prototype.toString.call(o);return r.slice(-15)==="[native code] }"?`${o.name||""}()[native]`:`${o.name}(${o.length})${r.replace(/\s*\n\s*/g,"")}`}$Array(o){let r="[";for(let i=0;i<o.length;i++)r+=this.serialize(o[i]),i<o.length-1&&(r+=",");return r+"]"}$Date(o){try{return`Date(${o.toISOString()})`}catch{return"Date(null)"}}$ArrayBuffer(o){return`ArrayBuffer[${new Uint8Array(o).join(",")}]`}$Set(o){return`Set${this.$Array(Array.from(o).sort((r,i)=>this.compare(r,i)))}`}$Map(o){return this.serializeObjectEntries("Map",o.entries())}}e=new WeakMap;for(const n of["Error","RegExp","URL"])a.prototype["$"+n]=function(o){return`${n}(${o})`};for(const n of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])a.prototype["$"+n]=function(o){return`${n}[${o.join(",")}]`};for(const n of["BigInt64Array","BigUint64Array"])a.prototype["$"+n]=function(o){return`${n}[${o.join("n,")}${o.length>0?"n":""}]`};return a})();function cE(a,e){return a===e||yA(a)===yA(e)}function fA(a,e=Number.NEGATIVE_INFINITY,n=Number.POSITIVE_INFINITY){return Math.min(n,Math.max(e,a))}function st(a,e){const n=typeof a=="string"&&!e?`${a}Context`:e,o=Symbol(n);return[s=>{const c=t.inject(o,s);if(c||c===null)return c;throw new Error(`Injection \`${o.toString()}\` not found. Component must be used within ${Array.isArray(a)?`one of the following components: ${a.join(", ")}`:`\`${a}\``}`)},s=>(t.provide(o,s),s)]}function at(){let a=document.activeElement;if(a==null)return null;for(;a!=null&&a.shadowRoot!=null&&a.shadowRoot.activeElement!=null;)a=a.shadowRoot.activeElement;return a}function $S(a,e,n){const o=n.originalEvent.target,r=new CustomEvent(a,{bubbles:!1,cancelable:!0,detail:n});e&&o.addEventListener(a,e,{once:!0}),o.dispatchEvent(r)}function US(a){return a==null}function WS(a){return a?a.flatMap(e=>e.type===t.Fragment?WS(e.children):[e]):[]}const[ML]=st("ConfigProvider");function dE(a,e){var n;const o=t.shallowRef();return t.watchEffect(()=>{o.value=a()},{...e,flush:(n=e==null?void 0:e.flush)!==null&&n!==void 0?n:"sync"}),t.readonly(o)}function ps(a,e){return t.getCurrentScope()?(t.onScopeDispose(a,e),!0):!1}function hE(){const a=new Set,e=i=>{a.delete(i)};return{on:i=>{a.add(i);const s=()=>e(i);return ps(s),{off:s}},off:e,trigger:(...i)=>Promise.all(Array.from(a).map(s=>s(...i))),clear:()=>{a.clear()}}}function uE(a){let e=!1,n;const o=t.effectScope(!0);return((...r)=>(e||(n=o.run(()=>a(...r)),e=!0),n))}const GS=new WeakMap,pE=(...a)=>{var e;const n=a[0],o=(e=t.getCurrentInstance())===null||e===void 0?void 0:e.proxy,r=o??t.getCurrentScope();if(r==null&&!t.hasInjectionContext())throw new Error("injectLocal must be called in setup");return r&&GS.has(r)&&n in GS.get(r)?GS.get(r)[n]:t.inject(...a)},lt=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const yE=a=>typeof a<"u",fE=Object.prototype.toString,kE=a=>fE.call(a)==="[object Object]",kA=mE();function mE(){var a,e,n;return lt&&!!(!((a=window)===null||a===void 0||(a=a.navigator)===null||a===void 0)&&a.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((e=window)===null||e===void 0||(e=e.navigator)===null||e===void 0?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test((n=window)===null||n===void 0?void 0:n.navigator.userAgent))}function gE(a,e){var n;if(typeof a=="number")return a+e;const o=((n=a.match(/^-?\d+\.?\d*/))===null||n===void 0?void 0:n[0])||"",r=a.slice(o.length),i=Number.parseFloat(o)+e;return Number.isNaN(i)?a:i+r}function s1(a){return a.endsWith("rem")?Number.parseFloat(a)*16:Number.parseFloat(a)}function KS(a){return Array.isArray(a)?a:[a]}function mA(a){return t.getCurrentInstance()}function ME(a){if(!lt)return a;let e=0,n,o;const r=()=>{e-=1,o&&e<=0&&(o.stop(),n=void 0,o=void 0)};return((...i)=>(e+=1,o||(o=t.effectScope(!0),n=o.run(()=>a(...i))),ps(r),n))}function bE(a){return t.isRef(a)?t.reactive(new Proxy({},{get(e,n,o){return t.unref(Reflect.get(a.value,n,o))},set(e,n,o){return t.isRef(a.value[n])&&!t.isRef(o)?a.value[n].value=o:a.value[n]=o,!0},deleteProperty(e,n){return Reflect.deleteProperty(a.value,n)},has(e,n){return Reflect.has(a.value,n)},ownKeys(){return Object.keys(a.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}})):t.reactive(a)}function xE(a){return bE(t.computed(a))}function Ee(a,...e){const n=e.flat(),o=n[0];return xE(()=>Object.fromEntries(typeof o=="function"?Object.entries(t.toRefs(a)).filter(([r,i])=>!o(t.toValue(i),r)):Object.entries(t.toRefs(a)).filter(r=>!n.includes(r[0]))))}function gA(a,e=1e4){return t.customRef((n,o)=>{let r=t.toValue(a),i;const s=()=>setTimeout(()=>{r=t.toValue(a),o()},t.toValue(e));return ps(()=>{clearTimeout(i)}),{get(){return n(),r},set(c){r=c,o(),clearTimeout(i),i=s()}}})}function wE(a,e){mA()&&t.onBeforeUnmount(a,e)}function vE(a,e=!0,n){mA()?t.onMounted(a,n):e?a():t.nextTick(a)}function MA(a,e,n={}){const{immediate:o=!0,immediateCallback:r=!1}=n,i=t.shallowRef(!1);let s;function c(){s&&(clearTimeout(s),s=void 0)}function d(){i.value=!1,c()}function h(...u){r&&a(),c(),i.value=!0,s=setTimeout(()=>{i.value=!1,s=void 0,a(...u)},t.toValue(e))}return o&&(i.value=!0,lt&&h()),ps(d),{isPending:t.shallowReadonly(i),start:h,stop:d}}function CE(a,e,n){return t.watch(a,e,{...n,immediate:!0})}const ys=lt?window:void 0;function Et(a){var e;const n=t.toValue(a);return(e=n==null?void 0:n.$el)!==null&&e!==void 0?e:n}function l1(...a){const e=(o,r,i,s)=>(o.addEventListener(r,i,s),()=>o.removeEventListener(r,i,s)),n=t.computed(()=>{const o=KS(t.toValue(a[0])).filter(r=>r!=null);return o.every(r=>typeof r!="string")?o:void 0});return CE(()=>{var o,r;return[(o=(r=n.value)===null||r===void 0?void 0:r.map(i=>Et(i)))!==null&&o!==void 0?o:[ys].filter(i=>i!=null),KS(t.toValue(n.value?a[1]:a[0])),KS(t.unref(n.value?a[2]:a[1])),t.toValue(n.value?a[3]:a[2])]},([o,r,i,s],c,d)=>{if(!(o!=null&&o.length)||!(r!=null&&r.length)||!(i!=null&&i.length))return;const h=kE(s)?{...s}:s,u=o.flatMap(p=>r.flatMap(y=>i.map(f=>e(p,y,f,h))));d(()=>{u.forEach(p=>p())})},{flush:"post"})}function bA(){const a=t.shallowRef(!1),e=t.getCurrentInstance();return e&&t.onMounted(()=>{a.value=!0},e),a}function xA(a){const e=bA();return t.computed(()=>(e.value,!!a()))}function LE(a){return typeof a=="function"?a:typeof a=="string"?e=>e.key===a:Array.isArray(a)?e=>a.includes(e.key):()=>!0}function SE(...a){let e,n,o={};a.length===3?(e=a[0],n=a[1],o=a[2]):a.length===2?typeof a[1]=="object"?(e=!0,n=a[0],o=a[1]):(e=a[0],n=a[1]):(e=!0,n=a[0]);const{target:r=ys,eventName:i="keydown",passive:s=!1,dedupe:c=!1}=o,d=LE(e);return l1(r,i,u=>{u.repeat&&t.toValue(c)||d(u)&&n(u)},s)}const IE=Symbol("vueuse-ssr-width");function wA(){const a=t.hasInjectionContext()?pE(IE,null):null;return typeof a=="number"?a:void 0}function c1(a,e={}){const{window:n=ys,ssrWidth:o=wA()}=e,r=xA(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),i=t.shallowRef(typeof o=="number"),s=t.shallowRef(),c=t.shallowRef(!1),d=h=>{c.value=h.matches};return t.watchEffect(()=>{if(i.value){i.value=!r.value,c.value=t.toValue(a).split(",").some(h=>{const u=h.includes("not all"),p=h.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),y=h.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let f=!!(p||y);return p&&f&&(f=o>=s1(p[1])),y&&f&&(f=o<=s1(y[1])),u?!f:f});return}r.value&&(s.value=n.matchMedia(t.toValue(a)),c.value=s.value.matches)}),l1(s,"change",d,{passive:!0}),t.computed(()=>c.value)}const _E={sm:640,md:768,lg:1024,xl:1280,"2xl":1536};function AE(a,e={}){function n(f,k){let m=t.toValue(a[t.toValue(f)]);return k!=null&&(m=gE(m,k)),typeof m=="number"&&(m=`${m}px`),m}const{window:o=ys,strategy:r="min-width",ssrWidth:i=wA()}=e,s=typeof i=="number",c=s?t.shallowRef(!1):{value:!0};s&&vE(()=>c.value=!!o);function d(f,k){return!c.value&&s?f==="min"?i>=s1(k):i<=s1(k):o?o.matchMedia(`(${f}-width: ${k})`).matches:!1}const h=f=>c1(()=>`(min-width: ${n(f)})`,e),u=f=>c1(()=>`(max-width: ${n(f)})`,e),p=Object.keys(a).reduce((f,k)=>(Object.defineProperty(f,k,{get:()=>r==="min-width"?h(k):u(k),enumerable:!0,configurable:!0}),f),{});function y(){const f=Object.keys(a).map(k=>[k,p[k],s1(n(k))]).sort((k,m)=>k[2]-m[2]);return t.computed(()=>f.filter(([,k])=>k.value).map(([k])=>k))}return Object.assign(p,{greaterOrEqual:h,smallerOrEqual:u,greater(f){return c1(()=>`(min-width: ${n(f,.1)})`,e)},smaller(f){return c1(()=>`(max-width: ${n(f,-.1)})`,e)},between(f,k){return c1(()=>`(min-width: ${n(f)}) and (max-width: ${n(k,-.1)})`,e)},isGreater(f){return d("min",n(f,.1))},isGreaterOrEqual(f){return d("min",n(f))},isSmaller(f){return d("max",n(f,-.1))},isSmallerOrEqual(f){return d("max",n(f))},isInBetween(f,k){return d("min",n(f))&&d("max",n(k,-.1))},current:y,active(){const f=y();return t.computed(()=>f.value.length===0?"":f.value.at(r==="min-width"?-1:0))}})}function BE(a){return JSON.parse(JSON.stringify(a))}function zE(a,e,n={}){const{window:o=ys,...r}=n;let i;const s=xA(()=>o&&"ResizeObserver"in o),c=()=>{i&&(i.disconnect(),i=void 0)},d=t.watch(t.computed(()=>{const u=t.toValue(a);return Array.isArray(u)?u.map(p=>Et(p)):[Et(u)]}),u=>{if(c(),s.value&&o){i=new ResizeObserver(e);for(const p of u)p&&i.observe(p,r)}},{immediate:!0,flush:"post"}),h=()=>{c(),d()};return ps(h),{isSupported:s,stop:h}}function fs(a,e,n,o={}){var r,i;const{clone:s=!1,passive:c=!1,eventName:d,deep:h=!1,defaultValue:u,shouldEmit:p}=o,y=t.getCurrentInstance(),f=n||(y==null?void 0:y.emit)||(y==null||(r=y.$emit)===null||r===void 0?void 0:r.bind(y))||(y==null||(i=y.proxy)===null||i===void 0||(i=i.$emit)===null||i===void 0?void 0:i.bind(y==null?void 0:y.proxy));let k=d;e||(e="modelValue"),k=k||`update:${e.toString()}`;const m=S=>s?typeof s=="function"?s(S):BE(S):S,g=()=>yE(a[e])?m(a[e]):u,w=S=>{p?p(S)&&f(k,S):f(k,S)};if(c){const S=t.ref(g());let v=!1;return t.watch(()=>a[e],M=>{v||(v=!0,S.value=m(M),t.nextTick(()=>v=!1))}),t.watch(S,M=>{!v&&(M!==a[e]||h)&&w(M)},{deep:h}),S}else return t.computed({get(){return g()},set(S){w(S)}})}function XS(a){if(a===null||typeof a!="object")return!1;const e=Object.getPrototypeOf(a);return e!==null&&e!==Object.prototype&&Object.getPrototypeOf(e)!==null||Symbol.iterator in a?!1:Symbol.toStringTag in a?Object.prototype.toString.call(a)==="[object Module]":!0}function ZS(a,e,n=".",o){if(!XS(e))return ZS(a,{},n,o);const r=Object.assign({},e);for(const i in a){if(i==="__proto__"||i==="constructor")continue;const s=a[i];s!=null&&(o&&o(r,i,s,n)||(Array.isArray(s)&&Array.isArray(r[i])?r[i]=[...s,...r[i]]:XS(s)&&XS(r[i])?r[i]=ZS(s,r[i],(n?`${n}.`:"")+i.toString(),o):r[i]=s))}return r}function VE(a){return(...e)=>e.reduce((n,o)=>ZS(n,o,"",a),{})}const qE=VE(),PE=ME(()=>{const a=t.ref(new Map),e=t.ref(),n=t.computed(()=>{for(const s of a.value.values())if(s)return!0;return!1}),o=ML({scrollBody:t.ref(!0)});let r=null;const i=()=>{document.body.style.paddingRight="",document.body.style.marginRight="",document.body.style.pointerEvents="",document.documentElement.style.removeProperty("--scrollbar-width"),document.body.style.overflow=e.value??"",kA&&(r==null||r()),e.value=void 0};return t.watch(n,(s,c)=>{var p;if(!lt)return;if(!s){c&&i();return}e.value===void 0&&(e.value=document.body.style.overflow);const d=window.innerWidth-document.documentElement.clientWidth,h={padding:d,margin:0},u=(p=o.scrollBody)!=null&&p.value?typeof o.scrollBody.value=="object"?qE({padding:o.scrollBody.value.padding===!0?d:o.scrollBody.value.padding,margin:o.scrollBody.value.margin===!0?d:o.scrollBody.value.margin},h):h:{padding:0,margin:0};d>0&&(document.body.style.paddingRight=typeof u.padding=="number"?`${u.padding}px`:String(u.padding),document.body.style.marginRight=typeof u.margin=="number"?`${u.margin}px`:String(u.margin),document.documentElement.style.setProperty("--scrollbar-width",`${d}px`),document.body.style.overflow="hidden"),kA&&(r=l1(document,"touchmove",y=>DE(y),{passive:!1})),t.nextTick(()=>{document.body.style.pointerEvents="none",document.body.style.overflow="hidden"})},{immediate:!0,flush:"sync"}),a});function vA(a){const e=Math.random().toString(36).substring(2,7),n=PE();n.value.set(e,a??!1);const o=t.computed({get:()=>n.value.get(e)??!1,set:r=>n.value.set(e,r)});return wE(()=>{n.value.delete(e)}),o}function CA(a){const e=window.getComputedStyle(a);if(e.overflowX==="scroll"||e.overflowY==="scroll"||e.overflowX==="auto"&&a.clientWidth<a.scrollWidth||e.overflowY==="auto"&&a.clientHeight<a.scrollHeight)return!0;{const n=a.parentNode;return!(n instanceof Element)||n.tagName==="BODY"?!1:CA(n)}}function DE(a){const e=a||window.event,n=e.target;return n instanceof Element&&CA(n)?!1:e.touches.length>1?!0:(e.preventDefault&&e.cancelable&&e.preventDefault(),!1)}function EE(a){const e=ML({dir:t.ref("ltr")});return t.computed(()=>{var n;return(a==null?void 0:a.value)||((n=e.dir)==null?void 0:n.value)||"ltr"})}function bL(a){const e=t.getCurrentInstance(),n=e==null?void 0:e.type.emits,o={};return n!=null&&n.length||console.warn(`No emitted event found. Please check component: ${e==null?void 0:e.type.__name}`),n==null||n.forEach(r=>{o[t.toHandlerKey(t.camelize(r))]=(...i)=>a(r,...i)}),o}let YS=0;function TE(){t.watchEffect(a=>{if(!lt)return;const e=document.querySelectorAll("[data-reka-focus-guard]");document.body.insertAdjacentElement("afterbegin",e[0]??LA()),document.body.insertAdjacentElement("beforeend",e[1]??LA()),YS++,a(()=>{YS===1&&document.querySelectorAll("[data-reka-focus-guard]").forEach(n=>n.remove()),YS--})})}function LA(){const a=document.createElement("span");return a.setAttribute("data-reka-focus-guard",""),a.tabIndex=0,a.style.outline="none",a.style.opacity="0",a.style.position="fixed",a.style.pointerEvents="none",a}function HE(a){return t.computed(()=>{var e;return t.toValue(a)?!!((e=Et(a))!=null&&e.closest("form")):!0})}function me(){const a=t.getCurrentInstance(),e=t.ref(),n=t.computed(()=>{var s,c;return["#text","#comment"].includes((s=e.value)==null?void 0:s.$el.nodeName)?(c=e.value)==null?void 0:c.$el.nextElementSibling:Et(e)}),o=Object.assign({},a.exposed),r={};for(const s in a.props)Object.defineProperty(r,s,{enumerable:!0,configurable:!0,get:()=>a.props[s]});if(Object.keys(o).length>0)for(const s in o)Object.defineProperty(r,s,{enumerable:!0,configurable:!0,get:()=>o[s]});Object.defineProperty(r,"$el",{enumerable:!0,configurable:!0,get:()=>a.vnode.el}),a.exposed=r;function i(s){if(e.value=s,!!s&&(Object.defineProperty(r,"$el",{enumerable:!0,configurable:!0,get:()=>s instanceof Element?s:s.$el}),!(s instanceof Element)&&!Object.prototype.hasOwnProperty.call(s,"$el"))){const c=s.$.exposed,d=Object.assign({},r);for(const h in c)Object.defineProperty(d,h,{enumerable:!0,configurable:!0,get:()=>c[h]});a.exposed=d}}return{forwardRef:i,currentRef:e,currentElement:n}}function Ze(a){const e=t.getCurrentInstance(),n=Object.keys((e==null?void 0:e.type.props)??{}).reduce((r,i)=>{const s=(e==null?void 0:e.type.props[i]).default;return s!==void 0&&(r[i]=s),r},{}),o=t.toRef(a);return t.computed(()=>{const r={},i=(e==null?void 0:e.vnode.props)??{};return Object.keys(i).forEach(s=>{r[t.camelize(s)]=i[s]}),Object.keys({...n,...r}).reduce((s,c)=>(o.value[c]!==void 0&&(s[c]=o.value[c]),s),{})})}function mt(a,e){const n=Ze(a),o=e?bL(e):{};return t.computed(()=>({...n.value,...o}))}function jE(a,e){const n=gA(!1,300);ps(()=>{n.value=!1});const o=t.ref(null),r=hE();function i(){o.value=null,n.value=!1}function s(c,d){const h=c.currentTarget,u={x:c.clientX,y:c.clientY},p=OE(u,h.getBoundingClientRect()),y=FE(u,p,1),f=RE(d.getBoundingClientRect()),k=$E([...y,...f]);o.value=k,n.value=!0}return t.watchEffect(c=>{if(a.value&&e.value){const d=u=>s(u,e.value),h=u=>s(u,a.value);a.value.addEventListener("pointerleave",d),e.value.addEventListener("pointerleave",h),c(()=>{var u,p;(u=a.value)==null||u.removeEventListener("pointerleave",d),(p=e.value)==null||p.removeEventListener("pointerleave",h)})}}),t.watchEffect(c=>{var d;if(o.value){const h=u=>{var g,w;if(!o.value||!(u.target instanceof Element))return;const p=u.target,y={x:u.clientX,y:u.clientY},f=((g=a.value)==null?void 0:g.contains(p))||((w=e.value)==null?void 0:w.contains(p)),k=!NE(y,o.value),m=!!p.closest("[data-grace-area-trigger]");f?i():(k||m)&&(i(),r.trigger())};(d=a.value)==null||d.ownerDocument.addEventListener("pointermove",h),c(()=>{var u;return(u=a.value)==null?void 0:u.ownerDocument.removeEventListener("pointermove",h)})}}),{isPointerInTransit:n,onPointerExit:r.on}}function OE(a,e){const n=Math.abs(e.top-a.y),o=Math.abs(e.bottom-a.y),r=Math.abs(e.right-a.x),i=Math.abs(e.left-a.x);switch(Math.min(n,o,r,i)){case i:return"left";case r:return"right";case n:return"top";case o:return"bottom";default:throw new Error("unreachable")}}function FE(a,e,n=5){const o=[];switch(e){case"top":o.push({x:a.x-n,y:a.y+n},{x:a.x+n,y:a.y+n});break;case"bottom":o.push({x:a.x-n,y:a.y-n},{x:a.x+n,y:a.y-n});break;case"left":o.push({x:a.x+n,y:a.y-n},{x:a.x+n,y:a.y+n});break;case"right":o.push({x:a.x-n,y:a.y-n},{x:a.x-n,y:a.y+n});break}return o}function RE(a){const{top:e,right:n,bottom:o,left:r}=a;return[{x:r,y:e},{x:n,y:e},{x:n,y:o},{x:r,y:o}]}function NE(a,e){const{x:n,y:o}=a;let r=!1;for(let i=0,s=e.length-1;i<e.length;s=i++){const c=e[i].x,d=e[i].y,h=e[s].x,u=e[s].y;d>o!=u>o&&n<(h-c)*(o-d)/(u-d)+c&&(r=!r)}return r}function $E(a){const e=a.slice();return e.sort((n,o)=>n.x<o.x?-1:n.x>o.x?1:n.y<o.y?-1:n.y>o.y?1:0),UE(e)}function UE(a){if(a.length<=1)return a.slice();const e=[];for(let o=0;o<a.length;o++){const r=a[o];for(;e.length>=2;){const i=e[e.length-1],s=e[e.length-2];if((i.x-s.x)*(r.y-s.y)>=(i.y-s.y)*(r.x-s.x))e.pop();else break}e.push(r)}e.pop();const n=[];for(let o=a.length-1;o>=0;o--){const r=a[o];for(;n.length>=2;){const i=n[n.length-1],s=n[n.length-2];if((i.x-s.x)*(r.y-s.y)>=(i.y-s.y)*(r.x-s.x))n.pop();else break}n.push(r)}return n.pop(),e.length===1&&n.length===1&&e[0].x===n[0].x&&e[0].y===n[0].y?e:e.concat(n)}var WE=function(a){if(typeof document>"u")return null;var e=Array.isArray(a)?a[0]:a;return e.ownerDocument.body},ks=new WeakMap,xL=new WeakMap,wL={},QS=0,SA=function(a){return a&&(a.host||SA(a.parentNode))},GE=function(a,e){return e.map(function(n){if(a.contains(n))return n;var o=SA(n);return o&&a.contains(o)?o:(console.error("aria-hidden",n,"in not contained inside",a,". Doing nothing"),null)}).filter(function(n){return!!n})},KE=function(a,e,n,o){var r=GE(e,Array.isArray(a)?a:[a]);wL[n]||(wL[n]=new WeakMap);var i=wL[n],s=[],c=new Set,d=new Set(r),h=function(p){!p||c.has(p)||(c.add(p),h(p.parentNode))};r.forEach(h);var u=function(p){!p||d.has(p)||Array.prototype.forEach.call(p.children,function(y){if(c.has(y))u(y);else try{var f=y.getAttribute(o),k=f!==null&&f!=="false",m=(ks.get(y)||0)+1,g=(i.get(y)||0)+1;ks.set(y,m),i.set(y,g),s.push(y),m===1&&k&&xL.set(y,!0),g===1&&y.setAttribute(n,"true"),k||y.setAttribute(o,"true")}catch(w){console.error("aria-hidden: cannot operate on ",y,w)}})};return u(e),c.clear(),QS++,function(){s.forEach(function(p){var y=ks.get(p)-1,f=i.get(p)-1;ks.set(p,y),i.set(p,f),y||(xL.has(p)||p.removeAttribute(o),xL.delete(p)),f||p.removeAttribute(n)}),QS--,QS||(ks=new WeakMap,ks=new WeakMap,xL=new WeakMap,wL={})}},XE=function(a,e,n){n===void 0&&(n="data-aria-hidden");var o=Array.from(Array.isArray(a)?a:[a]),r=WE(a);return r?(o.push.apply(o,Array.from(r.querySelectorAll("[aria-live], script"))),KE(o,r,n,"aria-hidden")):function(){return null}};function IA(a){let e;t.watch(()=>Et(a),n=>{n?e=XE(n):e&&e()}),t.onUnmounted(()=>{e&&e()})}let ZE=0;function ms(a,e="reka"){var o;if("useId"in j1)return`${e}-${(o=j1.useId)==null?void 0:o.call(j1)}`;const n=ML({useId:void 0});return n.useId?`${e}-${n.useId()}`:`${e}-${++ZE}`}function YE(a){const e=t.ref(),n=t.computed(()=>{var r;return((r=e.value)==null?void 0:r.width)??0}),o=t.computed(()=>{var r;return((r=e.value)==null?void 0:r.height)??0});return t.onMounted(()=>{const r=Et(a);if(r){e.value={width:r.offsetWidth,height:r.offsetHeight};const i=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const c=s[0];let d,h;if("borderBoxSize"in c){const u=c.borderBoxSize,p=Array.isArray(u)?u[0]:u;d=p.inlineSize,h=p.blockSize}else d=r.offsetWidth,h=r.offsetHeight;e.value={width:d,height:h}});return i.observe(r,{box:"border-box"}),()=>i.unobserve(r)}else e.value=void 0}),{width:n,height:o}}function QE(a,e){const n=t.ref(a);function o(i){return e[n.value][i]??n.value}return{state:n,dispatch:i=>{n.value=o(i)}}}function _A(a){const e=gA("",1e3);return{search:e,handleTypeaheadSearch:(r,i)=>{e.value=e.value+r;{const s=at(),c=i.map(y=>{var f,k;return{...y,textValue:((f=y.value)==null?void 0:f.textValue)??((k=y.ref.textContent)==null?void 0:k.trim())??""}}),d=c.find(y=>y.ref===s),h=c.map(y=>y.textValue),u=eT(h,e.value,d==null?void 0:d.textValue),p=c.find(y=>y.textValue===u);return p&&p.ref.focus(),p==null?void 0:p.ref}},resetTypeahead:()=>{e.value=""}}}function JE(a,e){return a.map((n,o)=>a[(e+o)%a.length])}function eT(a,e,n){const r=e.length>1&&Array.from(e).every(h=>h===e[0])?e[0]:e,i=n?a.indexOf(n):-1;let s=JE(a,Math.max(i,0));r.length===1&&(s=s.filter(h=>h!==n));const d=s.find(h=>h.toLowerCase().startsWith(r.toLowerCase()));return d!==n?d:void 0}function tT(a,e){var g;const n=t.ref({}),o=t.ref("none"),r=t.ref(a),i=a.value?"mounted":"unmounted";let s;const c=((g=e.value)==null?void 0:g.ownerDocument.defaultView)??ys,{state:d,dispatch:h}=QE(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),u=w=>{var S;if(lt){const v=new CustomEvent(w,{bubbles:!1,cancelable:!1});(S=e.value)==null||S.dispatchEvent(v)}};t.watch(a,async(w,S)=>{var M;const v=S!==w;if(await t.nextTick(),v){const C=o.value,x=vL(e.value);w?(h("MOUNT"),u("enter"),x==="none"&&u("after-enter")):x==="none"||x==="undefined"||((M=n.value)==null?void 0:M.display)==="none"?(h("UNMOUNT"),u("leave"),u("after-leave")):S&&C!==x?(h("ANIMATION_OUT"),u("leave")):(h("UNMOUNT"),u("after-leave"))}},{immediate:!0});const p=w=>{const S=vL(e.value),v=S.includes(CSS.escape(w.animationName)),M=d.value==="mounted"?"enter":"leave";if(w.target===e.value&&v&&(u(`after-${M}`),h("ANIMATION_END"),!r.value)){const C=e.value.style.animationFillMode;e.value.style.animationFillMode="forwards",s=c==null?void 0:c.setTimeout(()=>{var x;((x=e.value)==null?void 0:x.style.animationFillMode)==="forwards"&&(e.value.style.animationFillMode=C)})}w.target===e.value&&S==="none"&&h("ANIMATION_END")},y=w=>{w.target===e.value&&(o.value=vL(e.value))},f=t.watch(e,(w,S)=>{w?(n.value=getComputedStyle(w),w.addEventListener("animationstart",y),w.addEventListener("animationcancel",p),w.addEventListener("animationend",p)):(h("ANIMATION_END"),s!==void 0&&(c==null||c.clearTimeout(s)),S==null||S.removeEventListener("animationstart",y),S==null||S.removeEventListener("animationcancel",p),S==null||S.removeEventListener("animationend",p))},{immediate:!0}),k=t.watch(d,()=>{const w=vL(e.value);o.value=d.value==="mounted"?w:"none"});return t.onUnmounted(()=>{f(),k()}),{isPresent:t.computed(()=>["mounted","unmountSuspended"].includes(d.value))}}function vL(a){return a&&getComputedStyle(a).animationName||"none"}var CL=t.defineComponent({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(a,{slots:e,expose:n}){var h;const{present:o,forceMount:r}=t.toRefs(a),i=t.ref(),{isPresent:s}=tT(o,i);n({present:s});let c=e.default({present:s.value});c=WS(c||[]);const d=t.getCurrentInstance();if(c&&(c==null?void 0:c.length)>1){const u=(h=d==null?void 0:d.parent)!=null&&h.type.name?`<${d.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${u}\` for \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(p=>` - ${p}`).join(`
|
|
8497
8497
|
`)].join(`
|
|
8498
|
-
`))}return()=>r.value||o.value||s.value?t.h(e.default({present:s.value})[0],{ref:u=>{const p=Et(u);return typeof(p==null?void 0:p.hasAttribute)>"u"||(p!=null&&p.hasAttribute("data-reka-popper-content-wrapper")?i.value=p.firstElementChild:i.value=p),p}}):null}});const JS=t.defineComponent({name:"PrimitiveSlot",inheritAttrs:!1,setup(a,{attrs:e,slots:n}){return()=>{var d;if(!n.default)return null;const o=WS(n.default()),r=o.findIndex(h=>h.type!==t.Comment);if(r===-1)return o;const i=o[r];(d=i.props)==null||delete d.ref;const s=i.props?t.mergeProps(e,i.props):e,c=t.cloneVNode({...i,props:{}},s);return o.length===1?c:(o[r]=c,o)}}}),aT=["area","img","input"],we=t.defineComponent({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(a,{attrs:e,slots:n}){const o=a.asChild?"template":a.as;return typeof o=="string"&&aT.includes(o)?()=>t.h(o,e):o!=="template"?()=>t.h(a.as,e,{default:n.default}):()=>t.h(JS,e,{default:n.default})}});function _A(){const a=t.ref(),e=t.computed(()=>{var n,o;return["#text","#comment"].includes((n=a.value)==null?void 0:n.$el.nodeName)?(o=a.value)==null?void 0:o.$el.nextElementSibling:Et(a)});return{primitiveElement:a,currentElement:e}}const[Tt,nT]=st("DialogRoot");var oT=t.defineComponent({inheritAttrs:!1,__name:"DialogRoot",props:{open:{type:Boolean,required:!1,default:void 0},defaultOpen:{type:Boolean,required:!1,default:!1},modal:{type:Boolean,required:!1,default:!0}},emits:["update:open"],setup(a,{emit:e}){const n=a,r=fs(n,"open",e,{defaultValue:n.defaultOpen,passive:n.open===void 0}),i=t.ref(),s=t.ref(),{modal:c}=t.toRefs(n);return nT({open:r,modal:c,openModal:()=>{r.value=!0},onOpenChange:d=>{r.value=d},onOpenToggle:()=>{r.value=!r.value},contentId:"",titleId:"",descriptionId:"",triggerElement:i,contentElement:s}),(d,h)=>t.renderSlot(d.$slots,"default",{open:t.unref(r),close:()=>r.value=!1})}}),AA=oT,rT=t.defineComponent({__name:"DialogClose",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(a){const e=a;me();const n=Tt();return(o,r)=>(t.openBlock(),t.createBlock(t.unref(we),t.mergeProps(e,{type:o.as==="button"?"button":void 0,onClick:r[0]||(r[0]=i=>t.unref(n).onOpenChange(!1))}),{default:t.withCtx(()=>[t.renderSlot(o.$slots,"default")]),_:3},16,["type"]))}}),BA=rT;const iT="dismissableLayer.pointerDownOutside",sT="dismissableLayer.focusOutside";function VA(a,e){const n=e.closest("[data-dismissable-layer]"),o=a.dataset.dismissableLayer===""?a:a.querySelector("[data-dismissable-layer]"),r=Array.from(a.ownerDocument.querySelectorAll("[data-dismissable-layer]"));return!!(n&&(o===n||r.indexOf(o)<r.indexOf(n)))}function lT(a,e,n=!0){var s;const o=((s=e==null?void 0:e.value)==null?void 0:s.ownerDocument)??(globalThis==null?void 0:globalThis.document),r=t.ref(!1),i=t.ref(()=>{});return t.watchEffect(c=>{if(!lt||!t.toValue(n))return;const d=async u=>{const p=u.target;if(!(!(e!=null&&e.value)||!p)){if(VA(e.value,p)){r.value=!1;return}if(u.target&&!r.value){let f=function(){$S(iT,a,y)};const y={originalEvent:u};u.pointerType==="touch"?(o.removeEventListener("click",i.value),i.value=f,o.addEventListener("click",i.value,{once:!0})):f()}else o.removeEventListener("click",i.value);r.value=!1}},h=window.setTimeout(()=>{o.addEventListener("pointerdown",d)},0);c(()=>{window.clearTimeout(h),o.removeEventListener("pointerdown",d),o.removeEventListener("click",i.value)})}),{onPointerDownCapture:()=>{t.toValue(n)&&(r.value=!0)}}}function cT(a,e,n=!0){var i;const o=((i=e==null?void 0:e.value)==null?void 0:i.ownerDocument)??(globalThis==null?void 0:globalThis.document),r=t.ref(!1);return t.watchEffect(s=>{if(!lt||!t.toValue(n))return;const c=async d=>{if(!(e!=null&&e.value))return;await t.nextTick(),await t.nextTick();const h=d.target;!e.value||!h||VA(e.value,h)||d.target&&!r.value&&$S(sT,a,{originalEvent:d})};o.addEventListener("focusin",c),s(()=>o.removeEventListener("focusin",c))}),{onFocusCapture:()=>{t.toValue(n)&&(r.value=!0)},onBlurCapture:()=>{t.toValue(n)&&(r.value=!1)}}}const ct=t.reactive({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,originalBodyPointerEvents:void 0,branches:new Set});var dT=t.defineComponent({__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],setup(a,{emit:e}){const n=a,o=e,{forwardRef:r,currentElement:i}=me(),s=t.computed(()=>{var f;return((f=i.value)==null?void 0:f.ownerDocument)??globalThis.document}),c=t.computed(()=>ct.layersRoot),d=t.computed(()=>i.value?Array.from(c.value).indexOf(i.value):-1),h=t.computed(()=>ct.layersWithOutsidePointerEventsDisabled.size>0),u=t.computed(()=>{const f=Array.from(c.value),[k]=[...ct.layersWithOutsidePointerEventsDisabled].slice(-1),m=f.indexOf(k);return d.value>=m}),p=lT(async f=>{const k=[...ct.branches].some(m=>m==null?void 0:m.contains(f.target));!u.value||k||(o("pointerDownOutside",f),o("interactOutside",f),await t.nextTick(),f.defaultPrevented||o("dismiss"))},i),y=cT(f=>{[...ct.branches].some(m=>m==null?void 0:m.contains(f.target))||(o("focusOutside",f),o("interactOutside",f),f.defaultPrevented||o("dismiss"))},i);return SE("Escape",f=>{d.value===c.value.size-1&&(o("escapeKeyDown",f),f.defaultPrevented||o("dismiss"))}),t.watchEffect(f=>{i.value&&(n.disableOutsidePointerEvents&&(ct.layersWithOutsidePointerEventsDisabled.size===0&&(ct.originalBodyPointerEvents=s.value.body.style.pointerEvents,s.value.body.style.pointerEvents="none"),ct.layersWithOutsidePointerEventsDisabled.add(i.value)),c.value.add(i.value),f(()=>{n.disableOutsidePointerEvents&&ct.layersWithOutsidePointerEventsDisabled.size===1&&!US(ct.originalBodyPointerEvents)&&(s.value.body.style.pointerEvents=ct.originalBodyPointerEvents)}))}),t.watchEffect(f=>{f(()=>{i.value&&(c.value.delete(i.value),ct.layersWithOutsidePointerEventsDisabled.delete(i.value))})}),(f,k)=>(t.openBlock(),t.createBlock(t.unref(we),{ref:t.unref(r),"as-child":f.asChild,as:f.as,"data-dismissable-layer":"",style:t.normalizeStyle({pointerEvents:h.value?u.value?"auto":"none":void 0}),onFocusCapture:t.unref(y).onFocusCapture,onBlurCapture:t.unref(y).onBlurCapture,onPointerdownCapture:t.unref(p).onPointerDownCapture},{default:t.withCtx(()=>[t.renderSlot(f.$slots,"default")]),_:3},8,["as-child","as","style","onFocusCapture","onBlurCapture","onPointerdownCapture"]))}}),eI=dT;const hT=uE(()=>t.ref([]));function uT(){const a=hT();return{add(e){const n=a.value[0];e!==n&&(n==null||n.pause()),a.value=zA(a.value,e),a.value.unshift(e)},remove(e){var n;a.value=zA(a.value,e),(n=a.value[0])==null||n.resume()}}}function zA(a,e){const n=[...a],o=n.indexOf(e);return o!==-1&&n.splice(o,1),n}const tI="focusScope.autoFocusOnMount",aI="focusScope.autoFocusOnUnmount",qA={bubbles:!1,cancelable:!0};function pT(a,{select:e=!1}={}){const n=at();for(const o of a)if(fa(o,{select:e}),at()!==n)return!0}function yT(a){const e=PA(a),n=DA(e,a),o=DA(e.reverse(),a);return[n,o]}function PA(a){const e=[],n=document.createTreeWalker(a,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const r=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||r?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)e.push(n.currentNode);return e}function DA(a,e){for(const n of a)if(!fT(n,{upTo:e}))return n}function fT(a,{upTo:e}){if(getComputedStyle(a).visibility==="hidden")return!0;for(;a;){if(e!==void 0&&a===e)return!1;if(getComputedStyle(a).display==="none")return!0;a=a.parentElement}return!1}function kT(a){return a instanceof HTMLInputElement&&"select"in a}function fa(a,{select:e=!1}={}){if(a&&a.focus){const n=at();a.focus({preventScroll:!0}),a!==n&&kT(a)&&e&&a.select()}}var mT=t.defineComponent({__name:"FocusScope",props:{loop:{type:Boolean,required:!1,default:!1},trapped:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["mountAutoFocus","unmountAutoFocus"],setup(a,{emit:e}){const n=a,o=e,{currentRef:r,currentElement:i}=me(),s=t.ref(null),c=uT(),d=t.reactive({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});t.watchEffect(u=>{if(!lt)return;const p=i.value;if(!n.trapped)return;function y(g){if(d.paused||!p)return;const w=g.target;p.contains(w)?s.value=w:fa(s.value,{select:!0})}function f(g){if(d.paused||!p)return;const w=g.relatedTarget;w!==null&&(p.contains(w)||fa(s.value,{select:!0}))}function k(g){p.contains(s.value)||fa(p)}document.addEventListener("focusin",y),document.addEventListener("focusout",f);const m=new MutationObserver(k);p&&m.observe(p,{childList:!0,subtree:!0}),u(()=>{document.removeEventListener("focusin",y),document.removeEventListener("focusout",f),m.disconnect()})}),t.watchEffect(async u=>{const p=i.value;if(await t.nextTick(),!p)return;c.add(d);const y=at();if(!p.contains(y)){const k=new CustomEvent(tI,qA);p.addEventListener(tI,m=>o("mountAutoFocus",m)),p.dispatchEvent(k),k.defaultPrevented||(pT(PA(p),{select:!0}),at()===y&&fa(p))}u(()=>{p.removeEventListener(tI,g=>o("mountAutoFocus",g));const k=new CustomEvent(aI,qA),m=g=>{o("unmountAutoFocus",g)};p.addEventListener(aI,m),p.dispatchEvent(k),setTimeout(()=>{k.defaultPrevented||fa(y??document.body,{select:!0}),p.removeEventListener(aI,m),c.remove(d)},0)})});function h(u){if(!n.loop&&!n.trapped||d.paused)return;const p=u.key==="Tab"&&!u.altKey&&!u.ctrlKey&&!u.metaKey,y=at();if(p&&y){const f=u.currentTarget,[k,m]=yT(f);k&&m?!u.shiftKey&&y===m?(u.preventDefault(),n.loop&&fa(k,{select:!0})):u.shiftKey&&y===k&&(u.preventDefault(),n.loop&&fa(m,{select:!0})):y===f&&u.preventDefault()}}return(u,p)=>(t.openBlock(),t.createBlock(t.unref(we),{ref_key:"currentRef",ref:r,tabindex:"-1","as-child":u.asChild,as:u.as,onKeydown:h},{default:t.withCtx(()=>[t.renderSlot(u.$slots,"default")]),_:3},8,["as-child","as"]))}}),EA=mT;function gT(a){return a?"open":"closed"}function TA(a){const e=at();for(const n of a)if(n===e||(n.focus(),at()!==e))return}const MT="DialogTitle",bT="DialogContent";function xT({titleName:a=MT,contentName:e=bT,componentLink:n="dialog.html#title",titleId:o,descriptionId:r,contentElement:i}){const s=`Warning: \`${e}\` requires a \`${a}\` for the component to be accessible for screen reader users.
|
|
8498
|
+
`))}return()=>r.value||o.value||s.value?t.h(e.default({present:s.value})[0],{ref:u=>{const p=Et(u);return typeof(p==null?void 0:p.hasAttribute)>"u"||(p!=null&&p.hasAttribute("data-reka-popper-content-wrapper")?i.value=p.firstElementChild:i.value=p),p}}):null}});const JS=t.defineComponent({name:"PrimitiveSlot",inheritAttrs:!1,setup(a,{attrs:e,slots:n}){return()=>{var d;if(!n.default)return null;const o=WS(n.default()),r=o.findIndex(h=>h.type!==t.Comment);if(r===-1)return o;const i=o[r];(d=i.props)==null||delete d.ref;const s=i.props?t.mergeProps(e,i.props):e,c=t.cloneVNode({...i,props:{}},s);return o.length===1?c:(o[r]=c,o)}}}),aT=["area","img","input"],we=t.defineComponent({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(a,{attrs:e,slots:n}){const o=a.asChild?"template":a.as;return typeof o=="string"&&aT.includes(o)?()=>t.h(o,e):o!=="template"?()=>t.h(a.as,e,{default:n.default}):()=>t.h(JS,e,{default:n.default})}});function AA(){const a=t.ref(),e=t.computed(()=>{var n,o;return["#text","#comment"].includes((n=a.value)==null?void 0:n.$el.nodeName)?(o=a.value)==null?void 0:o.$el.nextElementSibling:Et(a)});return{primitiveElement:a,currentElement:e}}const[Tt,nT]=st("DialogRoot");var oT=t.defineComponent({inheritAttrs:!1,__name:"DialogRoot",props:{open:{type:Boolean,required:!1,default:void 0},defaultOpen:{type:Boolean,required:!1,default:!1},modal:{type:Boolean,required:!1,default:!0}},emits:["update:open"],setup(a,{emit:e}){const n=a,r=fs(n,"open",e,{defaultValue:n.defaultOpen,passive:n.open===void 0}),i=t.ref(),s=t.ref(),{modal:c}=t.toRefs(n);return nT({open:r,modal:c,openModal:()=>{r.value=!0},onOpenChange:d=>{r.value=d},onOpenToggle:()=>{r.value=!r.value},contentId:"",titleId:"",descriptionId:"",triggerElement:i,contentElement:s}),(d,h)=>t.renderSlot(d.$slots,"default",{open:t.unref(r),close:()=>r.value=!1})}}),BA=oT,rT=t.defineComponent({__name:"DialogClose",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(a){const e=a;me();const n=Tt();return(o,r)=>(t.openBlock(),t.createBlock(t.unref(we),t.mergeProps(e,{type:o.as==="button"?"button":void 0,onClick:r[0]||(r[0]=i=>t.unref(n).onOpenChange(!1))}),{default:t.withCtx(()=>[t.renderSlot(o.$slots,"default")]),_:3},16,["type"]))}}),zA=rT;const iT="dismissableLayer.pointerDownOutside",sT="dismissableLayer.focusOutside";function VA(a,e){const n=e.closest("[data-dismissable-layer]"),o=a.dataset.dismissableLayer===""?a:a.querySelector("[data-dismissable-layer]"),r=Array.from(a.ownerDocument.querySelectorAll("[data-dismissable-layer]"));return!!(n&&(o===n||r.indexOf(o)<r.indexOf(n)))}function lT(a,e,n=!0){var s;const o=((s=e==null?void 0:e.value)==null?void 0:s.ownerDocument)??(globalThis==null?void 0:globalThis.document),r=t.ref(!1),i=t.ref(()=>{});return t.watchEffect(c=>{if(!lt||!t.toValue(n))return;const d=async u=>{const p=u.target;if(!(!(e!=null&&e.value)||!p)){if(VA(e.value,p)){r.value=!1;return}if(u.target&&!r.value){let f=function(){$S(iT,a,y)};const y={originalEvent:u};u.pointerType==="touch"?(o.removeEventListener("click",i.value),i.value=f,o.addEventListener("click",i.value,{once:!0})):f()}else o.removeEventListener("click",i.value);r.value=!1}},h=window.setTimeout(()=>{o.addEventListener("pointerdown",d)},0);c(()=>{window.clearTimeout(h),o.removeEventListener("pointerdown",d),o.removeEventListener("click",i.value)})}),{onPointerDownCapture:()=>{t.toValue(n)&&(r.value=!0)}}}function cT(a,e,n=!0){var i;const o=((i=e==null?void 0:e.value)==null?void 0:i.ownerDocument)??(globalThis==null?void 0:globalThis.document),r=t.ref(!1);return t.watchEffect(s=>{if(!lt||!t.toValue(n))return;const c=async d=>{if(!(e!=null&&e.value))return;await t.nextTick(),await t.nextTick();const h=d.target;!e.value||!h||VA(e.value,h)||d.target&&!r.value&&$S(sT,a,{originalEvent:d})};o.addEventListener("focusin",c),s(()=>o.removeEventListener("focusin",c))}),{onFocusCapture:()=>{t.toValue(n)&&(r.value=!0)},onBlurCapture:()=>{t.toValue(n)&&(r.value=!1)}}}const ct=t.reactive({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,originalBodyPointerEvents:void 0,branches:new Set});var dT=t.defineComponent({__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],setup(a,{emit:e}){const n=a,o=e,{forwardRef:r,currentElement:i}=me(),s=t.computed(()=>{var f;return((f=i.value)==null?void 0:f.ownerDocument)??globalThis.document}),c=t.computed(()=>ct.layersRoot),d=t.computed(()=>i.value?Array.from(c.value).indexOf(i.value):-1),h=t.computed(()=>ct.layersWithOutsidePointerEventsDisabled.size>0),u=t.computed(()=>{const f=Array.from(c.value),[k]=[...ct.layersWithOutsidePointerEventsDisabled].slice(-1),m=f.indexOf(k);return d.value>=m}),p=lT(async f=>{const k=[...ct.branches].some(m=>m==null?void 0:m.contains(f.target));!u.value||k||(o("pointerDownOutside",f),o("interactOutside",f),await t.nextTick(),f.defaultPrevented||o("dismiss"))},i),y=cT(f=>{[...ct.branches].some(m=>m==null?void 0:m.contains(f.target))||(o("focusOutside",f),o("interactOutside",f),f.defaultPrevented||o("dismiss"))},i);return SE("Escape",f=>{d.value===c.value.size-1&&(o("escapeKeyDown",f),f.defaultPrevented||o("dismiss"))}),t.watchEffect(f=>{i.value&&(n.disableOutsidePointerEvents&&(ct.layersWithOutsidePointerEventsDisabled.size===0&&(ct.originalBodyPointerEvents=s.value.body.style.pointerEvents,s.value.body.style.pointerEvents="none"),ct.layersWithOutsidePointerEventsDisabled.add(i.value)),c.value.add(i.value),f(()=>{n.disableOutsidePointerEvents&&ct.layersWithOutsidePointerEventsDisabled.size===1&&!US(ct.originalBodyPointerEvents)&&(s.value.body.style.pointerEvents=ct.originalBodyPointerEvents)}))}),t.watchEffect(f=>{f(()=>{i.value&&(c.value.delete(i.value),ct.layersWithOutsidePointerEventsDisabled.delete(i.value))})}),(f,k)=>(t.openBlock(),t.createBlock(t.unref(we),{ref:t.unref(r),"as-child":f.asChild,as:f.as,"data-dismissable-layer":"",style:t.normalizeStyle({pointerEvents:h.value?u.value?"auto":"none":void 0}),onFocusCapture:t.unref(y).onFocusCapture,onBlurCapture:t.unref(y).onBlurCapture,onPointerdownCapture:t.unref(p).onPointerDownCapture},{default:t.withCtx(()=>[t.renderSlot(f.$slots,"default")]),_:3},8,["as-child","as","style","onFocusCapture","onBlurCapture","onPointerdownCapture"]))}}),eI=dT;const hT=uE(()=>t.ref([]));function uT(){const a=hT();return{add(e){const n=a.value[0];e!==n&&(n==null||n.pause()),a.value=qA(a.value,e),a.value.unshift(e)},remove(e){var n;a.value=qA(a.value,e),(n=a.value[0])==null||n.resume()}}}function qA(a,e){const n=[...a],o=n.indexOf(e);return o!==-1&&n.splice(o,1),n}const tI="focusScope.autoFocusOnMount",aI="focusScope.autoFocusOnUnmount",PA={bubbles:!1,cancelable:!0};function pT(a,{select:e=!1}={}){const n=at();for(const o of a)if(fa(o,{select:e}),at()!==n)return!0}function yT(a){const e=DA(a),n=EA(e,a),o=EA(e.reverse(),a);return[n,o]}function DA(a){const e=[],n=document.createTreeWalker(a,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const r=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||r?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)e.push(n.currentNode);return e}function EA(a,e){for(const n of a)if(!fT(n,{upTo:e}))return n}function fT(a,{upTo:e}){if(getComputedStyle(a).visibility==="hidden")return!0;for(;a;){if(e!==void 0&&a===e)return!1;if(getComputedStyle(a).display==="none")return!0;a=a.parentElement}return!1}function kT(a){return a instanceof HTMLInputElement&&"select"in a}function fa(a,{select:e=!1}={}){if(a&&a.focus){const n=at();a.focus({preventScroll:!0}),a!==n&&kT(a)&&e&&a.select()}}var mT=t.defineComponent({__name:"FocusScope",props:{loop:{type:Boolean,required:!1,default:!1},trapped:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["mountAutoFocus","unmountAutoFocus"],setup(a,{emit:e}){const n=a,o=e,{currentRef:r,currentElement:i}=me(),s=t.ref(null),c=uT(),d=t.reactive({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});t.watchEffect(u=>{if(!lt)return;const p=i.value;if(!n.trapped)return;function y(g){if(d.paused||!p)return;const w=g.target;p.contains(w)?s.value=w:fa(s.value,{select:!0})}function f(g){if(d.paused||!p)return;const w=g.relatedTarget;w!==null&&(p.contains(w)||fa(s.value,{select:!0}))}function k(g){p.contains(s.value)||fa(p)}document.addEventListener("focusin",y),document.addEventListener("focusout",f);const m=new MutationObserver(k);p&&m.observe(p,{childList:!0,subtree:!0}),u(()=>{document.removeEventListener("focusin",y),document.removeEventListener("focusout",f),m.disconnect()})}),t.watchEffect(async u=>{const p=i.value;if(await t.nextTick(),!p)return;c.add(d);const y=at();if(!p.contains(y)){const k=new CustomEvent(tI,PA);p.addEventListener(tI,m=>o("mountAutoFocus",m)),p.dispatchEvent(k),k.defaultPrevented||(pT(DA(p),{select:!0}),at()===y&&fa(p))}u(()=>{p.removeEventListener(tI,g=>o("mountAutoFocus",g));const k=new CustomEvent(aI,PA),m=g=>{o("unmountAutoFocus",g)};p.addEventListener(aI,m),p.dispatchEvent(k),setTimeout(()=>{k.defaultPrevented||fa(y??document.body,{select:!0}),p.removeEventListener(aI,m),c.remove(d)},0)})});function h(u){if(!n.loop&&!n.trapped||d.paused)return;const p=u.key==="Tab"&&!u.altKey&&!u.ctrlKey&&!u.metaKey,y=at();if(p&&y){const f=u.currentTarget,[k,m]=yT(f);k&&m?!u.shiftKey&&y===m?(u.preventDefault(),n.loop&&fa(k,{select:!0})):u.shiftKey&&y===k&&(u.preventDefault(),n.loop&&fa(m,{select:!0})):y===f&&u.preventDefault()}}return(u,p)=>(t.openBlock(),t.createBlock(t.unref(we),{ref_key:"currentRef",ref:r,tabindex:"-1","as-child":u.asChild,as:u.as,onKeydown:h},{default:t.withCtx(()=>[t.renderSlot(u.$slots,"default")]),_:3},8,["as-child","as"]))}}),TA=mT;function gT(a){return a?"open":"closed"}function HA(a){const e=at();for(const n of a)if(n===e||(n.focus(),at()!==e))return}const MT="DialogTitle",bT="DialogContent";function xT({titleName:a=MT,contentName:e=bT,componentLink:n="dialog.html#title",titleId:o,descriptionId:r,contentElement:i}){const s=`Warning: \`${e}\` requires a \`${a}\` for the component to be accessible for screen reader users.
|
|
8499
8499
|
|
|
8500
8500
|
If you want to hide the \`${a}\`, you can wrap it with our VisuallyHidden component.
|
|
8501
8501
|
|
|
8502
|
-
For more information, see https://www.reka-ui.com/docs/components/${n}`,c=`Warning: Missing \`Description\` or \`aria-describedby="undefined"\` for ${e}.`;t.onMounted(()=>{var u;document.getElementById(o)||console.warn(s);const h=(u=i.value)==null?void 0:u.getAttribute("aria-describedby");r&&h&&(document.getElementById(r)||console.warn(c))})}var wT={},vT=t.defineComponent({__name:"DialogContentImpl",props:{forceMount:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(a,{emit:e}){const n=a,o=e,r=Tt(),{forwardRef:i,currentElement:s}=me();return r.titleId||(r.titleId=ms(void 0,"reka-dialog-title")),r.descriptionId||(r.descriptionId=ms(void 0,"reka-dialog-description")),t.onMounted(()=>{r.contentElement=s,at()!==document.body&&(r.triggerElement.value=at())}),wT.NODE_ENV!=="production"&&xT({titleName:"DialogTitle",contentName:"DialogContent",componentLink:"dialog.html#title",titleId:r.titleId,descriptionId:r.descriptionId,contentElement:s}),(c,d)=>(t.openBlock(),t.createBlock(t.unref(EA),{"as-child":"",loop:"",trapped:n.trapFocus,onMountAutoFocus:d[5]||(d[5]=h=>o("openAutoFocus",h)),onUnmountAutoFocus:d[6]||(d[6]=h=>o("closeAutoFocus",h))},{default:t.withCtx(()=>[t.createVNode(t.unref(eI),t.mergeProps({id:t.unref(r).contentId,ref:t.unref(i),as:c.as,"as-child":c.asChild,"disable-outside-pointer-events":c.disableOutsidePointerEvents,role:"dialog","aria-describedby":t.unref(r).descriptionId,"aria-labelledby":t.unref(r).titleId,"data-state":t.unref(gT)(t.unref(r).open.value)},c.$attrs,{onDismiss:d[0]||(d[0]=h=>t.unref(r).onOpenChange(!1)),onEscapeKeyDown:d[1]||(d[1]=h=>o("escapeKeyDown",h)),onFocusOutside:d[2]||(d[2]=h=>o("focusOutside",h)),onInteractOutside:d[3]||(d[3]=h=>o("interactOutside",h)),onPointerDownOutside:d[4]||(d[4]=h=>o("pointerDownOutside",h))}),{default:t.withCtx(()=>[t.renderSlot(c.$slots,"default")]),_:3},16,["id","as","as-child","disable-outside-pointer-events","aria-describedby","aria-labelledby","data-state"])]),_:3},8,["trapped"]))}}),HA=vT,CT=t.defineComponent({__name:"DialogContentModal",props:{forceMount:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(a,{emit:e}){const n=a,o=e,r=Tt(),i=bL(o),{forwardRef:s,currentElement:c}=me();return SA(c),(d,h)=>(t.openBlock(),t.createBlock(HA,t.mergeProps({...n,...t.unref(i)},{ref:t.unref(s),"trap-focus":t.unref(r).open.value,"disable-outside-pointer-events":!0,onCloseAutoFocus:h[0]||(h[0]=u=>{var p;u.defaultPrevented||(u.preventDefault(),(p=t.unref(r).triggerElement.value)==null||p.focus())}),onPointerDownOutside:h[1]||(h[1]=u=>{const p=u.detail.originalEvent,y=p.button===0&&p.ctrlKey===!0;(p.button===2||y)&&u.preventDefault()}),onFocusOutside:h[2]||(h[2]=u=>{u.preventDefault()})}),{default:t.withCtx(()=>[t.renderSlot(d.$slots,"default")]),_:3},16,["trap-focus"]))}}),LT=CT,ST=t.defineComponent({__name:"DialogContentNonModal",props:{forceMount:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(a,{emit:e}){const n=a,r=bL(e);me();const i=Tt(),s=t.ref(!1),c=t.ref(!1);return(d,h)=>(t.openBlock(),t.createBlock(HA,t.mergeProps({...n,...t.unref(r)},{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:h[0]||(h[0]=u=>{var p;u.defaultPrevented||(s.value||(p=t.unref(i).triggerElement.value)==null||p.focus(),u.preventDefault()),s.value=!1,c.value=!1}),onInteractOutside:h[1]||(h[1]=u=>{var f;u.defaultPrevented||(s.value=!0,u.detail.originalEvent.type==="pointerdown"&&(c.value=!0));const p=u.target;((f=t.unref(i).triggerElement.value)==null?void 0:f.contains(p))&&u.preventDefault(),u.detail.originalEvent.type==="focusin"&&c.value&&u.preventDefault()})}),{default:t.withCtx(()=>[t.renderSlot(d.$slots,"default")]),_:3},16))}}),IT=ST,_T=t.defineComponent({__name:"DialogContent",props:{forceMount:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(a,{emit:e}){const n=a,o=e,r=Tt(),i=bL(o),{forwardRef:s}=me();return(c,d)=>(t.openBlock(),t.createBlock(t.unref(CL),{present:c.forceMount||t.unref(r).open.value},{default:t.withCtx(()=>[t.unref(r).modal.value?(t.openBlock(),t.createBlock(LT,t.mergeProps({key:0,ref:t.unref(s)},{...n,...t.unref(i),...c.$attrs}),{default:t.withCtx(()=>[t.renderSlot(c.$slots,"default")]),_:3},16)):(t.openBlock(),t.createBlock(IT,t.mergeProps({key:1,ref:t.unref(s)},{...n,...t.unref(i),...c.$attrs}),{default:t.withCtx(()=>[t.renderSlot(c.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),jA=_T,AT=t.defineComponent({__name:"DialogDescription",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"p"}},setup(a){const e=a;me();const n=Tt();return(o,r)=>(t.openBlock(),t.createBlock(t.unref(we),t.mergeProps(e,{id:t.unref(n).descriptionId}),{default:t.withCtx(()=>[t.renderSlot(o.$slots,"default")]),_:3},16,["id"]))}}),OA=AT,BT=t.defineComponent({__name:"DialogOverlayImpl",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(a){const e=Tt();return wA(!0),me(),(n,o)=>(t.openBlock(),t.createBlock(t.unref(we),{as:n.as,"as-child":n.asChild,"data-state":t.unref(e).open.value?"open":"closed",style:{"pointer-events":"auto"}},{default:t.withCtx(()=>[t.renderSlot(n.$slots,"default")]),_:3},8,["as","as-child","data-state"]))}}),VT=BT,zT=t.defineComponent({__name:"DialogOverlay",props:{forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(a){const e=Tt(),{forwardRef:n}=me();return(o,r)=>{var i;return(i=t.unref(e))!=null&&i.modal.value?(t.openBlock(),t.createBlock(t.unref(CL),{key:0,present:o.forceMount||t.unref(e).open.value},{default:t.withCtx(()=>[t.createVNode(VT,t.mergeProps(o.$attrs,{ref:t.unref(n),as:o.as,"as-child":o.asChild}),{default:t.withCtx(()=>[t.renderSlot(o.$slots,"default")]),_:3},16,["as","as-child"])]),_:3},8,["present"])):t.createCommentVNode("v-if",!0)}}}),FA=zT,qT=t.defineComponent({__name:"Teleport",props:{to:{type:null,required:!1,default:"body"},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(a){const e=MA();return(n,o)=>t.unref(e)||n.forceMount?(t.openBlock(),t.createBlock(t.Teleport,{key:0,to:n.to,disabled:n.disabled,defer:n.defer},[t.renderSlot(n.$slots,"default")],8,["to","disabled","defer"])):t.createCommentVNode("v-if",!0)}}),nI=qT,PT=t.defineComponent({__name:"DialogPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createBlock(t.unref(nI),t.normalizeProps(t.guardReactiveProps(e)),{default:t.withCtx(()=>[t.renderSlot(n.$slots,"default")]),_:3},16))}}),RA=PT,DT=t.defineComponent({__name:"DialogTitle",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"h2"}},setup(a){const e=a,n=Tt();return me(),(o,r)=>(t.openBlock(),t.createBlock(t.unref(we),t.mergeProps(e,{id:t.unref(n).titleId}),{default:t.withCtx(()=>[t.renderSlot(o.$slots,"default")]),_:3},16,["id"]))}}),NA=DT,ET=t.defineComponent({__name:"DialogTrigger",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(a){const e=a,n=Tt(),{forwardRef:o,currentElement:r}=me();return n.contentId||(n.contentId=ms(void 0,"reka-dialog-content")),t.onMounted(()=>{n.triggerElement.value=r.value}),(i,s)=>(t.openBlock(),t.createBlock(t.unref(we),t.mergeProps(e,{ref:t.unref(o),type:i.as==="button"?"button":void 0,"aria-haspopup":"dialog","aria-expanded":t.unref(n).open.value||!1,"aria-controls":t.unref(n).open.value?t.unref(n).contentId:void 0,"data-state":t.unref(n).open.value?"open":"closed",onClick:t.unref(n).onOpenToggle}),{default:t.withCtx(()=>[t.renderSlot(i.$slots,"default")]),_:3},16,["type","aria-expanded","aria-controls","data-state","onClick"]))}}),TT=ET;const[$A,HT]=st("AvatarRoot");var jT=t.defineComponent({__name:"AvatarRoot",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(a){return me(),HT({imageLoadingStatus:t.ref("idle")}),(e,n)=>(t.openBlock(),t.createBlock(t.unref(we),{"as-child":e.asChild,as:e.as},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},8,["as-child","as"]))}}),OT=jT,FT=t.defineComponent({__name:"AvatarFallback",props:{delayMs:{type:Number,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(a){const e=a,n=$A();me();const o=t.ref(e.delayMs===void 0);return t.watchEffect(r=>{if(e.delayMs&<){const i=window.setTimeout(()=>{o.value=!0},e.delayMs);r(()=>{window.clearTimeout(i)})}}),(r,i)=>o.value&&t.unref(n).imageLoadingStatus.value!=="loaded"?(t.openBlock(),t.createBlock(t.unref(we),{key:0,"as-child":r.asChild,as:r.as},{default:t.withCtx(()=>[t.renderSlot(r.$slots,"default")]),_:3},8,["as-child","as"])):t.createCommentVNode("v-if",!0)}}),RT=FT;function UA(a,e){return a?e?(a.src!==e&&(a.src=e),a.complete&&a.naturalWidth>0?"loaded":"loading"):"error":"idle"}function NT(a,{referrerPolicy:e,crossOrigin:n}={}){const o=t.ref(!1),r=t.ref(null),i=t.computed(()=>o.value?(!r.value&<&&(r.value=new window.Image),r.value):null),s=t.ref(UA(i.value,a.value)),c=d=>()=>{o.value&&(s.value=d)};return t.onMounted(()=>{o.value=!0,t.watchEffect(d=>{const h=i.value;if(!h)return;s.value=UA(h,a.value);const u=c("loaded"),p=c("error");h.addEventListener("load",u),h.addEventListener("error",p),e!=null&&e.value&&(h.referrerPolicy=e.value),typeof(n==null?void 0:n.value)=="string"&&(h.crossOrigin=n.value),d(()=>{h.removeEventListener("load",u),h.removeEventListener("error",p)})})}),t.onUnmounted(()=>{o.value=!1}),s}var $T=t.defineComponent({__name:"AvatarImage",props:{src:{type:String,required:!0},referrerPolicy:{type:null,required:!1},crossOrigin:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"img"}},emits:["loadingStatusChange"],setup(a,{emit:e}){const n=a,o=e,{src:r,referrerPolicy:i,crossOrigin:s}=t.toRefs(n);me();const c=$A(),d=NT(r,{referrerPolicy:i,crossOrigin:s});return t.watch(d,h=>{o("loadingStatusChange",h),h!=="idle"&&(c.imageLoadingStatus.value=h)},{immediate:!0}),(h,u)=>t.withDirectives((t.openBlock(),t.createBlock(t.unref(we),{role:"img","as-child":h.asChild,as:h.as,src:t.unref(r),referrerpolicy:t.unref(i),crossorigin:t.unref(s)},{default:t.withCtx(()=>[t.renderSlot(h.$slots,"default")]),_:3},8,["as-child","as","src","referrerpolicy","crossorigin"])),[[t.vShow,t.unref(d)==="loaded"]])}}),UT=$T;const WA="data-reka-collection-item";function gs(a={}){const{key:e="",isProvider:n=!1}=a,o=`${e}CollectionProvider`;let r;if(n){const u=t.ref(new Map);r={collectionRef:t.ref(),itemMap:u},t.provide(o,r)}else r=t.inject(o);const i=(u=!1)=>{const p=r.collectionRef.value;if(!p)return[];const y=Array.from(p.querySelectorAll(`[${WA}]`)),k=Array.from(r.itemMap.value.values()).sort((m,g)=>y.indexOf(m.ref)-y.indexOf(g.ref));return u?k:k.filter(m=>m.ref.dataset.disabled!=="")},s=t.defineComponent({name:"CollectionSlot",inheritAttrs:!1,setup(u,{slots:p,attrs:y}){const{primitiveElement:f,currentElement:k}=_A();return t.watch(k,()=>{r.collectionRef.value=k.value}),()=>t.h(JS,{ref:f,...y},p)}}),c=t.defineComponent({name:"CollectionItem",inheritAttrs:!1,props:{value:{validator:()=>!0}},setup(u,{slots:p,attrs:y}){const{primitiveElement:f,currentElement:k}=_A();return t.watchEffect(m=>{if(k.value){const g=t.markRaw(k.value);r.itemMap.value.set(g,{ref:k.value,value:u.value}),m(()=>r.itemMap.value.delete(g))}}),()=>t.h(JS,{...y,[WA]:"",ref:f},p)}}),d=t.computed(()=>Array.from(r.itemMap.value.values())),h=t.computed(()=>r.itemMap.value.size);return{getItems:i,reactiveItems:d,itemMapSize:h,CollectionSlot:s,CollectionItem:c}}var WT=t.defineComponent({__name:"VisuallyHidden",props:{feature:{type:String,required:!1,default:"focusable"},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(a){return(e,n)=>(t.openBlock(),t.createBlock(t.unref(we),{as:e.as,"as-child":e.asChild,"aria-hidden":e.feature==="focusable"?"true":void 0,"data-hidden":e.feature==="fully-hidden"?"":void 0,tabindex:e.feature==="fully-hidden"?"-1":void 0,style:{position:"absolute",border:0,width:"1px",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",whiteSpace:"nowrap",wordWrap:"normal",top:"-1px",left:"-1px"}},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},8,["as","as-child","aria-hidden","data-hidden","tabindex"]))}}),GA=WT;const[KA,GT]=st("PopperRoot");var KT=t.defineComponent({inheritAttrs:!1,__name:"PopperRoot",setup(a){const e=t.ref();return GT({anchor:e,onAnchorChange:n=>e.value=n}),(n,o)=>t.renderSlot(n.$slots,"default")}}),XA=KT,XT=t.defineComponent({__name:"PopperAnchor",props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(a){const e=a,{forwardRef:n,currentElement:o}=me(),r=KA();return t.watchPostEffect(()=>{r.onAnchorChange(e.reference??o.value)}),(i,s)=>(t.openBlock(),t.createBlock(t.unref(we),{ref:t.unref(n),as:i.as,"as-child":i.asChild},{default:t.withCtx(()=>[t.renderSlot(i.$slots,"default")]),_:3},8,["as","as-child"]))}}),ZA=XT;function ZT(a){return a!==null}function YT(a){return{name:"transformOrigin",options:a,fn(e){var g,w,S;const{placement:n,rects:o,middlewareData:r}=e,s=((g=r.arrow)==null?void 0:g.centerOffset)!==0,c=s?0:a.arrowWidth,d=s?0:a.arrowHeight,[h,u]=oI(n),p={start:"0%",center:"50%",end:"100%"}[u],y=(((w=r.arrow)==null?void 0:w.x)??0)+c/2,f=(((S=r.arrow)==null?void 0:S.y)??0)+d/2;let k="",m="";return h==="bottom"?(k=s?p:`${y}px`,m=`${-d}px`):h==="top"?(k=s?p:`${y}px`,m=`${o.floating.height+d}px`):h==="right"?(k=`${-d}px`,m=s?p:`${f}px`):h==="left"&&(k=`${o.floating.width+d}px`,m=s?p:`${f}px`),{data:{x:k,y:m}}}}}function oI(a){const[e,n="center"]=a.split("-");return[e,n]}const QT={side:"bottom",sideOffset:0,sideFlip:!0,align:"center",alignOffset:0,alignFlip:!0,arrowPadding:0,hideShiftedArrow:!0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:"partial",hideWhenDetached:!1,positionStrategy:"fixed",updatePositionStrategy:"optimized",prioritizePosition:!1},[EQ,JT]=st("PopperContent");var eH=t.defineComponent({inheritAttrs:!1,__name:"PopperContent",props:t.mergeDefaults({side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},{...QT}),emits:["placed"],setup(a,{emit:e}){const n=a,o=e,r=KA(),{forwardRef:i,currentElement:s}=me(),c=t.ref(),d=t.ref(),{width:h,height:u}=YE(d),p=t.computed(()=>n.side+(n.align!=="center"?`-${n.align}`:"")),y=t.computed(()=>typeof n.collisionPadding=="number"?n.collisionPadding:{top:0,right:0,bottom:0,left:0,...n.collisionPadding}),f=t.computed(()=>Array.isArray(n.collisionBoundary)?n.collisionBoundary:[n.collisionBoundary]),k=t.computed(()=>({padding:y.value,boundary:f.value.filter(ZT),altBoundary:f.value.length>0})),m=t.computed(()=>({mainAxis:n.sideFlip,crossAxis:n.alignFlip})),g=dE(()=>[X1({mainAxis:n.sideOffset+u.value,alignmentAxis:n.alignOffset}),n.prioritizePosition&&n.avoidCollisions&&Ds({...k.value,...m.value}),n.avoidCollisions&&Z1({mainAxis:!0,crossAxis:!!n.prioritizePosition,limiter:n.sticky==="partial"?mP():void 0,...k.value}),!n.prioritizePosition&&n.avoidCollisions&&Ds({...k.value,...m.value}),Y1({...k.value,apply:({elements:q,rects:O,availableWidth:H,availableHeight:W})=>{const{width:T,height:j}=O.reference,R=q.floating.style;R.setProperty("--reka-popper-available-width",`${H}px`),R.setProperty("--reka-popper-available-height",`${W}px`),R.setProperty("--reka-popper-anchor-width",`${T}px`),R.setProperty("--reka-popper-anchor-height",`${j}px`)}}),d.value&&bP({element:d.value,padding:n.arrowPadding}),YT({arrowWidth:h.value,arrowHeight:u.value}),n.hideWhenDetached&&fP({strategy:"referenceHidden",...k.value})]),w=t.computed(()=>n.reference??r.anchor.value),{floatingStyles:S,placement:v,isPositioned:M,middlewareData:C}=Q1(w,c,{strategy:n.positionStrategy,placement:p,whileElementsMounted:(...q)=>K1(...q,{layoutShift:!n.disableUpdateOnLayoutShift,animationFrame:n.updatePositionStrategy==="always"}),middleware:g}),x=t.computed(()=>oI(v.value)[0]),b=t.computed(()=>oI(v.value)[1]);t.watchPostEffect(()=>{M.value&&o("placed")});const L=t.computed(()=>{var O;const q=((O=C.value.arrow)==null?void 0:O.centerOffset)!==0;return n.hideShiftedArrow&&q}),I=t.ref("");t.watchEffect(()=>{s.value&&(I.value=window.getComputedStyle(s.value).zIndex)});const z=t.computed(()=>{var q;return((q=C.value.arrow)==null?void 0:q.x)??0}),A=t.computed(()=>{var q;return((q=C.value.arrow)==null?void 0:q.y)??0});return JT({placedSide:x,onArrowChange:q=>d.value=q,arrowX:z,arrowY:A,shouldHideArrow:L}),(q,O)=>{var H,W,T;return t.openBlock(),t.createElementBlock("div",{ref_key:"floatingRef",ref:c,"data-reka-popper-content-wrapper":"",style:t.normalizeStyle({...t.unref(S),transform:t.unref(M)?t.unref(S).transform:"translate(0, -200%)",minWidth:"max-content",zIndex:I.value,"--reka-popper-transform-origin":[(H=t.unref(C).transformOrigin)==null?void 0:H.x,(W=t.unref(C).transformOrigin)==null?void 0:W.y].join(" "),...((T=t.unref(C).hide)==null?void 0:T.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}})},[t.createVNode(t.unref(we),t.mergeProps({ref:t.unref(i)},q.$attrs,{"as-child":n.asChild,as:q.as,"data-side":x.value,"data-align":b.value,style:{animation:t.unref(M)?void 0:"none"}}),{default:t.withCtx(()=>[t.renderSlot(q.$slots,"default")]),_:3},16,["as-child","as","data-side","data-align","style"])],4)}}}),YA=eH;function tH(a){const e=ML({nonce:t.ref()});return t.computed(()=>{var n;return(a==null?void 0:a.value)||((n=e.nonce)==null?void 0:n.value)})}var aH=t.defineComponent({__name:"Label",props:{for:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"label"}},setup(a){const e=a;return me(),(n,o)=>(t.openBlock(),t.createBlock(t.unref(we),t.mergeProps(e,{onMousedown:o[0]||(o[0]=r=>{!r.defaultPrevented&&r.detail>1&&r.preventDefault()})}),{default:t.withCtx(()=>[t.renderSlot(n.$slots,"default")]),_:3},16))}}),nH=aH,oH=t.defineComponent({__name:"PaginationEllipsis",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(a){const e=a;return me(),(n,o)=>(t.openBlock(),t.createBlock(t.unref(we),t.mergeProps(e,{"data-type":"ellipsis"}),{default:t.withCtx(()=>[t.renderSlot(n.$slots,"default",{},()=>[o[0]||(o[0]=t.createTextVNode("…"))])]),_:3},16))}}),rH=oH;const[Ms,iH]=st("PaginationRoot");var sH=t.defineComponent({__name:"PaginationRoot",props:{page:{type:Number,required:!1},defaultPage:{type:Number,required:!1,default:1},itemsPerPage:{type:Number,required:!0},total:{type:Number,required:!1,default:0},siblingCount:{type:Number,required:!1,default:2},disabled:{type:Boolean,required:!1},showEdges:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"nav"}},emits:["update:page"],setup(a,{emit:e}){const n=a,o=e,{siblingCount:r,disabled:i,showEdges:s}=t.toRefs(n);me();const c=fs(n,"page",o,{defaultValue:n.defaultPage,passive:n.page===void 0}),d=t.computed(()=>Math.max(1,Math.ceil(n.total/(n.itemsPerPage||1))));return iH({page:c,onPageChange(h){c.value=h},pageCount:d,siblingCount:r,disabled:i,showEdges:s}),(h,u)=>(t.openBlock(),t.createBlock(t.unref(we),{as:h.as,"as-child":h.asChild},{default:t.withCtx(()=>[t.renderSlot(h.$slots,"default",{page:t.unref(c),pageCount:d.value})]),_:3},8,["as","as-child"]))}}),lH=sH,cH=t.defineComponent({__name:"PaginationFirst",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(a){const e=a,n=Ms();me();const o=t.computed(()=>n.page.value===1||n.disabled.value);return(r,i)=>(t.openBlock(),t.createBlock(t.unref(we),t.mergeProps(e,{"aria-label":"First Page",type:r.as==="button"?"button":void 0,disabled:o.value,onClick:i[0]||(i[0]=s=>!o.value&&t.unref(n).onPageChange(1))}),{default:t.withCtx(()=>[t.renderSlot(r.$slots,"default",{},()=>[i[1]||(i[1]=t.createTextVNode("First page"))])]),_:3},16,["type","disabled"]))}}),dH=cH,hH=t.defineComponent({__name:"PaginationLast",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(a){const e=a,n=Ms();me();const o=t.computed(()=>n.page.value===n.pageCount.value||n.disabled.value);return(r,i)=>(t.openBlock(),t.createBlock(t.unref(we),t.mergeProps(e,{"aria-label":"Last Page",type:r.as==="button"?"button":void 0,disabled:o.value,onClick:i[0]||(i[0]=s=>!o.value&&t.unref(n).onPageChange(t.unref(n).pageCount.value))}),{default:t.withCtx(()=>[t.renderSlot(r.$slots,"default",{},()=>[i[1]||(i[1]=t.createTextVNode("Last page"))])]),_:3},16,["type","disabled"]))}}),uH=hH;function ka(a,e){const n=e-a+1;return Array.from({length:n},(o,r)=>r+a)}function pH(a){return a.map(e=>typeof e=="number"?{type:"page",value:e}:{type:"ellipsis"})}const LL="ellipsis";function yH(a,e,n,o){const i=e,s=Math.max(a-n,1),c=Math.min(a+n,i);if(o){const h=Math.min(2*n+5,e)-2,u=s>3&&Math.abs(i-h-1+1)>2&&Math.abs(s-1)>2,p=c<i-2&&Math.abs(i-h)>2&&Math.abs(i-c)>2;if(!u&&p)return[...ka(1,h),LL,i];if(u&&!p){const f=ka(i-h+1,i);return[1,LL,...f]}if(u&&p){const f=ka(s,c);return[1,LL,...f,LL,i]}return ka(1,i)}else{const d=n*2+1;return e<d?ka(1,i):a<=n+1?ka(1,d):e-a<=n?ka(e-d+1,i):ka(s,c)}}var fH=t.defineComponent({__name:"PaginationList",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(a){const e=a;me();const n=Ms(),o=t.computed(()=>pH(yH(n.page.value,n.pageCount.value,n.siblingCount.value,n.showEdges.value)));return(r,i)=>(t.openBlock(),t.createBlock(t.unref(we),t.normalizeProps(t.guardReactiveProps(e)),{default:t.withCtx(()=>[t.renderSlot(r.$slots,"default",{items:o.value})]),_:3},16))}}),kH=fH,mH=t.defineComponent({__name:"PaginationListItem",props:{value:{type:Number,required:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(a){const e=a;me();const n=Ms(),o=t.computed(()=>n.page.value===e.value),r=t.computed(()=>n.disabled.value);return(i,s)=>(t.openBlock(),t.createBlock(t.unref(we),t.mergeProps(e,{"data-type":"page","aria-label":`Page ${i.value}`,"aria-current":o.value?"page":void 0,"data-selected":o.value?"true":void 0,disabled:r.value,type:i.as==="button"?"button":void 0,onClick:s[0]||(s[0]=c=>!r.value&&t.unref(n).onPageChange(i.value))}),{default:t.withCtx(()=>[t.renderSlot(i.$slots,"default",{},()=>[t.createTextVNode(t.toDisplayString(i.value),1)])]),_:3},16,["aria-label","aria-current","data-selected","disabled","type"]))}}),gH=mH,MH=t.defineComponent({__name:"PaginationNext",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(a){const e=a;me();const n=Ms(),o=t.computed(()=>n.page.value===n.pageCount.value||n.disabled.value);return(r,i)=>(t.openBlock(),t.createBlock(t.unref(we),t.mergeProps(e,{"aria-label":"Next Page",type:r.as==="button"?"button":void 0,disabled:o.value,onClick:i[0]||(i[0]=s=>!o.value&&t.unref(n).onPageChange(t.unref(n).page.value+1))}),{default:t.withCtx(()=>[t.renderSlot(r.$slots,"default",{},()=>[i[1]||(i[1]=t.createTextVNode("Next page"))])]),_:3},16,["type","disabled"]))}}),bH=MH,xH=t.defineComponent({__name:"PaginationPrev",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(a){const e=a;me();const n=Ms(),o=t.computed(()=>n.page.value===1||n.disabled.value);return(r,i)=>(t.openBlock(),t.createBlock(t.unref(we),t.mergeProps(e,{"aria-label":"Previous Page",type:r.as==="button"?"button":void 0,disabled:o.value,onClick:i[0]||(i[0]=s=>!o.value&&t.unref(n).onPageChange(t.unref(n).page.value-1))}),{default:t.withCtx(()=>[t.renderSlot(r.$slots,"default",{},()=>[i[1]||(i[1]=t.createTextVNode("Prev page"))])]),_:3},16,["type","disabled"]))}}),wH=xH;const vH=[" ","Enter","ArrowUp","ArrowDown"],CH=[" ","Enter"],gt=10;function d1(a,e,n){return a===void 0?!1:Array.isArray(a)?a.some(o=>rI(o,e,n)):rI(a,e,n)}function rI(a,e,n){return a===void 0||e===void 0?!1:typeof a=="string"?a===e:typeof n=="function"?n(a,e):typeof n=="string"?(a==null?void 0:a[n])===(e==null?void 0:e[n]):cE(a,e)}function LH(a){return a==null||a===""||Array.isArray(a)&&a.length===0}const SH={key:0,value:""},[ma,QA]=st("SelectRoot");var IH=t.defineComponent({inheritAttrs:!1,__name:"SelectRoot",props:{open:{type:Boolean,required:!1,default:void 0},defaultOpen:{type:Boolean,required:!1},defaultValue:{type:null,required:!1},modelValue:{type:null,required:!1,default:void 0},by:{type:[String,Function],required:!1},dir:{type:String,required:!1},multiple:{type:Boolean,required:!1},autocomplete:{type:String,required:!1},disabled:{type:Boolean,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:["update:modelValue","update:open"],setup(a,{emit:e}){const n=a,o=e,{required:r,disabled:i,multiple:s,dir:c}=t.toRefs(n),d=fs(n,"modelValue",o,{defaultValue:n.defaultValue??(s.value?[]:void 0),passive:n.modelValue===void 0,deep:!0}),h=fs(n,"open",o,{defaultValue:n.defaultOpen,passive:n.open===void 0}),u=t.ref(),p=t.ref(),y=t.ref({x:0,y:0}),f=t.computed(()=>{var M;return s.value&&Array.isArray(d.value)?((M=d.value)==null?void 0:M.length)===0:US(d.value)});gs({isProvider:!0});const k=EE(c),m=HE(u),g=t.ref(new Set),w=t.computed(()=>Array.from(g.value).map(M=>M.value).join(";"));function S(M){if(s.value){const C=Array.isArray(d.value)?[...d.value]:[],x=C.findIndex(b=>rI(b,M,n.by));x===-1?C.push(M):C.splice(x,1),d.value=[...C]}else d.value=M}function v(M){return Array.from(g.value).find(C=>d1(M,C.value,n.by))}return QA({triggerElement:u,onTriggerChange:M=>{u.value=M},valueElement:p,onValueElementChange:M=>{p.value=M},contentId:"",modelValue:d,onValueChange:S,by:n.by,open:h,multiple:s,required:r,onOpenChange:M=>{h.value=M},dir:k,triggerPointerDownPosRef:y,disabled:i,isEmptyModelValue:f,optionsSet:g,onOptionAdd:M=>{const C=v(M.value);C&&g.value.delete(C),g.value.add(M)},onOptionRemove:M=>{const C=v(M.value);C&&g.value.delete(C)}}),(M,C)=>(t.openBlock(),t.createBlock(t.unref(XA),null,{default:t.withCtx(()=>[t.renderSlot(M.$slots,"default",{modelValue:t.unref(d),open:t.unref(h)}),t.unref(m)?(t.openBlock(),t.createBlock(BH,{key:w.value,"aria-hidden":"true",tabindex:"-1",multiple:t.unref(s),required:t.unref(r),name:M.name,autocomplete:M.autocomplete,disabled:t.unref(i),value:t.unref(d)},{default:t.withCtx(()=>[t.unref(US)(t.unref(d))?(t.openBlock(),t.createElementBlock("option",SH)):t.createCommentVNode("v-if",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Array.from(g.value),x=>(t.openBlock(),t.createElementBlock("option",t.mergeProps({key:x.value??""},{ref_for:!0},x),null,16))),128))]),_:1},8,["multiple","required","name","autocomplete","disabled","value"])):t.createCommentVNode("v-if",!0)]),_:3}))}}),_H=IH,AH=t.defineComponent({__name:"BubbleSelect",props:{autocomplete:{type:String,required:!1},autofocus:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},form:{type:String,required:!1},multiple:{type:Boolean,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1},size:{type:Number,required:!1},value:{type:null,required:!1}},setup(a){const e=a,n=t.ref(),o=ma();t.watch(()=>e.value,(i,s)=>{const c=window.HTMLSelectElement.prototype,h=Object.getOwnPropertyDescriptor(c,"value").set;if(i!==s&&h&&n.value){const u=new Event("change",{bubbles:!0});h.call(n.value,i),n.value.dispatchEvent(u)}});function r(i){o.onValueChange(i.target.value)}return(i,s)=>(t.openBlock(),t.createBlock(t.unref(GA),{"as-child":""},{default:t.withCtx(()=>[t.createElementVNode("select",t.mergeProps({ref_key:"selectElement",ref:n},e,{onInput:r}),[t.renderSlot(i.$slots,"default")],16)]),_:3}))}}),BH=AH,VH=t.defineComponent({__name:"SelectPopperPosition",props:{side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1,default:"start"},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1,default:gt},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(a){const n=Ze(a);return(o,r)=>(t.openBlock(),t.createBlock(t.unref(YA),t.mergeProps(t.unref(n),{style:{boxSizing:"border-box","--reka-select-content-transform-origin":"var(--reka-popper-transform-origin)","--reka-select-content-available-width":"var(--reka-popper-available-width)","--reka-select-content-available-height":"var(--reka-popper-available-height)","--reka-select-trigger-width":"var(--reka-popper-anchor-width)","--reka-select-trigger-height":"var(--reka-popper-anchor-height)"}}),{default:t.withCtx(()=>[t.renderSlot(o.$slots,"default")]),_:3},16))}}),zH=VH;const qH={onViewportChange:()=>{},itemTextRefCallback:()=>{},itemRefCallback:()=>{}},[Ui,JA]=st("SelectContent");var PH=t.defineComponent({__name:"SelectContentImpl",props:{position:{type:String,required:!1,default:"item-aligned"},bodyLock:{type:Boolean,required:!1,default:!0},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1,default:"start"},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1,default:!0}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(a,{emit:e}){const n=a,o=e,r=ma();TE(),wA(n.bodyLock);const{CollectionSlot:i,getItems:s}=gs(),c=t.ref();SA(c);const{search:d,handleTypeaheadSearch:h}=IA(),u=t.ref(),p=t.ref(),y=t.ref(),f=t.ref(!1),k=t.ref(!1),m=t.ref(!1);function g(){p.value&&c.value&&TA([p.value,c.value])}t.watch(f,()=>{g()});const{onOpenChange:w,triggerPointerDownPosRef:S}=r;t.watchEffect(x=>{if(!c.value)return;let b={x:0,y:0};const L=z=>{var A,q;b={x:Math.abs(Math.round(z.pageX)-(((A=S.value)==null?void 0:A.x)??0)),y:Math.abs(Math.round(z.pageY)-(((q=S.value)==null?void 0:q.y)??0))}},I=z=>{var A;z.pointerType!=="touch"&&(b.x<=10&&b.y<=10?z.preventDefault():(A=c.value)!=null&&A.contains(z.target)||w(!1),document.removeEventListener("pointermove",L),S.value=null)};S.value!==null&&(document.addEventListener("pointermove",L),document.addEventListener("pointerup",I,{capture:!0,once:!0})),x(()=>{document.removeEventListener("pointermove",L),document.removeEventListener("pointerup",I,{capture:!0})})});function v(x){const b=x.ctrlKey||x.altKey||x.metaKey;if(x.key==="Tab"&&x.preventDefault(),!b&&x.key.length===1&&h(x.key,s()),["ArrowUp","ArrowDown","Home","End"].includes(x.key)){let I=[...s().map(z=>z.ref)];if(["ArrowUp","End"].includes(x.key)&&(I=I.slice().reverse()),["ArrowUp","ArrowDown"].includes(x.key)){const z=x.target,A=I.indexOf(z);I=I.slice(A+1)}setTimeout(()=>TA(I)),x.preventDefault()}}const M=t.computed(()=>n.position==="popper"?n:{}),C=Ze(M.value);return JA({content:c,viewport:u,onViewportChange:x=>{u.value=x},itemRefCallback:(x,b,L)=>{const I=!k.value&&!L,z=d1(r.modelValue.value,b,r.by);if(r.multiple.value){if(m.value)return;(z||I)&&(p.value=x,z&&(m.value=!0))}else(z||I)&&(p.value=x);I&&(k.value=!0)},selectedItem:p,selectedItemText:y,onItemLeave:()=>{var x;(x=c.value)==null||x.focus()},itemTextRefCallback:(x,b,L)=>{const I=!k.value&&!L;(d1(r.modelValue.value,b,r.by)||I)&&(y.value=x)},focusSelectedItem:g,position:n.position,isPositioned:f,searchRef:d}),(x,b)=>(t.openBlock(),t.createBlock(t.unref(i),null,{default:t.withCtx(()=>[t.createVNode(t.unref(EA),{"as-child":"",onMountAutoFocus:b[6]||(b[6]=t.withModifiers(()=>{},["prevent"])),onUnmountAutoFocus:b[7]||(b[7]=L=>{var I;o("closeAutoFocus",L),!L.defaultPrevented&&((I=t.unref(r).triggerElement.value)==null||I.focus({preventScroll:!0}),L.preventDefault())})},{default:t.withCtx(()=>[t.createVNode(t.unref(eI),{"as-child":"","disable-outside-pointer-events":x.disableOutsidePointerEvents,onFocusOutside:b[2]||(b[2]=t.withModifiers(()=>{},["prevent"])),onDismiss:b[3]||(b[3]=L=>t.unref(r).onOpenChange(!1)),onEscapeKeyDown:b[4]||(b[4]=L=>o("escapeKeyDown",L)),onPointerDownOutside:b[5]||(b[5]=L=>o("pointerDownOutside",L))},{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(x.position==="popper"?zH:HH),t.mergeProps({...x.$attrs,...t.unref(C)},{id:t.unref(r).contentId,ref:L=>{const I=t.unref(Et)(L);I!=null&&I.hasAttribute("data-reka-popper-content-wrapper")?c.value=I.firstElementChild:c.value=I},role:"listbox","data-state":t.unref(r).open.value?"open":"closed",dir:t.unref(r).dir.value,style:{display:"flex",flexDirection:"column",outline:"none"},onContextmenu:b[0]||(b[0]=t.withModifiers(()=>{},["prevent"])),onPlaced:b[1]||(b[1]=L=>f.value=!0),onKeydown:v}),{default:t.withCtx(()=>[t.renderSlot(x.$slots,"default")]),_:3},16,["id","data-state","dir","onKeydown"]))]),_:3},8,["disable-outside-pointer-events"])]),_:3})]),_:3}))}}),DH=PH;const[iI,EH]=st("SelectItemAlignedPosition");var TH=t.defineComponent({inheritAttrs:!1,__name:"SelectItemAlignedPosition",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["placed"],setup(a,{emit:e}){const n=a,o=e,{getItems:r}=gs(),i=ma(),s=Ui(),c=t.ref(!1),d=t.ref(!0),h=t.ref(),{forwardRef:u,currentElement:p}=me(),{viewport:y,selectedItem:f,selectedItemText:k,focusSelectedItem:m}=s;function g(){if(i.triggerElement.value&&i.valueElement.value&&h.value&&p.value&&(y!=null&&y.value)&&(f!=null&&f.value)&&(k!=null&&k.value)){const v=i.triggerElement.value.getBoundingClientRect(),M=p.value.getBoundingClientRect(),C=i.valueElement.value.getBoundingClientRect(),x=k.value.getBoundingClientRect();if(i.dir.value!=="rtl"){const ue=x.left-M.left,ve=C.left-ue,le=v.left-ve,X=v.width+le,P=Math.max(X,M.width),$=window.innerWidth-gt,Q=yA(ve,gt,Math.max(gt,$-P));h.value.style.minWidth=`${X}px`,h.value.style.left=`${Q}px`}else{const ue=M.right-x.right,ve=window.innerWidth-C.right-ue,le=window.innerWidth-v.right-ve,X=v.width+le,P=Math.max(X,M.width),$=window.innerWidth-gt,Q=yA(ve,gt,Math.max(gt,$-P));h.value.style.minWidth=`${X}px`,h.value.style.right=`${Q}px`}const b=r().map(ue=>ue.ref),L=window.innerHeight-gt*2,I=y.value.scrollHeight,z=window.getComputedStyle(p.value),A=Number.parseInt(z.borderTopWidth,10),q=Number.parseInt(z.paddingTop,10),O=Number.parseInt(z.borderBottomWidth,10),H=Number.parseInt(z.paddingBottom,10),W=A+q+I+H+O,T=Math.min(f.value.offsetHeight*5,W),j=window.getComputedStyle(y.value),R=Number.parseInt(j.paddingTop,10),Y=Number.parseInt(j.paddingBottom,10),B=v.top+v.height/2-gt,V=L-B,U=f.value.offsetHeight/2,oe=f.value.offsetTop+U,ee=A+q+oe,de=W-ee;if(ee<=B){const ue=f.value===b[b.length-1];h.value.style.bottom="0px";const ve=p.value.clientHeight-y.value.offsetTop-y.value.offsetHeight,le=Math.max(V,U+(ue?Y:0)+ve+O),X=ee+le;h.value.style.height=`${X}px`}else{const ue=f.value===b[0];h.value.style.top="0px";const le=Math.max(B,A+y.value.offsetTop+(ue?R:0)+U)+de;h.value.style.height=`${le}px`,y.value.scrollTop=ee-B+y.value.offsetTop}h.value.style.margin=`${gt}px 0`,h.value.style.minHeight=`${T}px`,h.value.style.maxHeight=`${L}px`,o("placed"),requestAnimationFrame(()=>c.value=!0)}}const w=t.ref("");t.onMounted(async()=>{await t.nextTick(),g(),p.value&&(w.value=window.getComputedStyle(p.value).zIndex)});function S(v){v&&d.value===!0&&(g(),m==null||m(),d.value=!1)}return VE(i.triggerElement,()=>{g()}),EH({contentWrapper:h,shouldExpandOnScrollRef:c,onScrollButtonChange:S}),(v,M)=>(t.openBlock(),t.createElementBlock("div",{ref_key:"contentWrapperElement",ref:h,style:t.normalizeStyle({display:"flex",flexDirection:"column",position:"fixed",zIndex:w.value})},[t.createVNode(t.unref(we),t.mergeProps({ref:t.unref(u),style:{boxSizing:"border-box",maxHeight:"100%"}},{...v.$attrs,...n}),{default:t.withCtx(()=>[t.renderSlot(v.$slots,"default")]),_:3},16)],4))}}),HH=TH,jH=t.defineComponent({inheritAttrs:!1,__name:"SelectProvider",props:{context:{type:Object,required:!0}},setup(a){return QA(a.context),JA(qH),(n,o)=>t.renderSlot(n.$slots,"default")}}),OH=jH;const FH={key:1};var RH=t.defineComponent({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean,required:!1},position:{type:String,required:!1},bodyLock:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(a,{emit:e}){const n=a,r=mt(n,e),i=ma(),s=t.ref();t.onMounted(()=>{s.value=new DocumentFragment});const c=t.ref(),d=t.computed(()=>n.forceMount||i.open.value),h=t.ref(d.value);return t.watch(d,()=>{setTimeout(()=>h.value=d.value)}),(u,p)=>{var y;return d.value||h.value||(y=c.value)!=null&&y.present?(t.openBlock(),t.createBlock(t.unref(CL),{key:0,ref_key:"presenceRef",ref:c,present:d.value},{default:t.withCtx(()=>[t.createVNode(DH,t.normalizeProps(t.guardReactiveProps({...t.unref(r),...u.$attrs})),{default:t.withCtx(()=>[t.renderSlot(u.$slots,"default")]),_:3},16)]),_:3},8,["present"])):s.value?(t.openBlock(),t.createElementBlock("div",FH,[(t.openBlock(),t.createBlock(t.Teleport,{to:s.value},[t.createVNode(OH,{context:t.unref(i)},{default:t.withCtx(()=>[t.renderSlot(u.$slots,"default")]),_:3},8,["context"])],8,["to"]))])):t.createCommentVNode("v-if",!0)}}}),NH=RH,$H=t.defineComponent({__name:"SelectIcon",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(a){return(e,n)=>(t.openBlock(),t.createBlock(t.unref(we),{"aria-hidden":"true",as:e.as,"as-child":e.asChild},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default",{},()=>[n[0]||(n[0]=t.createTextVNode("▼"))])]),_:3},8,["as","as-child"]))}}),UH=$H;const[eB,WH]=st("SelectItem");var GH=t.defineComponent({__name:"SelectItem",props:{value:{type:null,required:!0},disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["select"],setup(a,{emit:e}){const n=a,o=e,{disabled:r}=t.toRefs(n),i=ma(),s=Ui(),{forwardRef:c,currentElement:d}=me(),{CollectionItem:h}=gs(),u=t.computed(()=>{var M;return d1((M=i.modelValue)==null?void 0:M.value,n.value,i.by)}),p=t.ref(!1),y=t.ref(n.textValue??""),f=ms(void 0,"reka-select-item-text"),k="select.select";async function m(M){if(M.defaultPrevented)return;const C={originalEvent:M,value:n.value};$S(k,g,C)}async function g(M){await t.nextTick(),o("select",M),!M.defaultPrevented&&(r.value||(i.onValueChange(n.value),i.multiple.value||i.onOpenChange(!1)))}async function w(M){var C,x;await t.nextTick(),!M.defaultPrevented&&(r.value?(C=s.onItemLeave)==null||C.call(s):(x=M.currentTarget)==null||x.focus({preventScroll:!0}))}async function S(M){var C;await t.nextTick(),!M.defaultPrevented&&M.currentTarget===at()&&((C=s.onItemLeave)==null||C.call(s))}async function v(M){var x;await t.nextTick(),!(M.defaultPrevented||((x=s.searchRef)==null?void 0:x.value)!==""&&M.key===" ")&&(CH.includes(M.key)&&m(M),M.key===" "&&M.preventDefault())}if(n.value==="")throw new Error("A <SelectItem /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return t.onMounted(()=>{d.value&&s.itemRefCallback(d.value,n.value,n.disabled)}),WH({value:n.value,disabled:r,textId:f,isSelected:u,onItemTextChange:M=>{y.value=((y.value||(M==null?void 0:M.textContent))??"").trim()}}),(M,C)=>(t.openBlock(),t.createBlock(t.unref(h),{value:{textValue:y.value}},{default:t.withCtx(()=>[t.createVNode(t.unref(we),{ref:t.unref(c),role:"option","aria-labelledby":t.unref(f),"data-highlighted":p.value?"":void 0,"aria-selected":u.value,"data-state":u.value?"checked":"unchecked","aria-disabled":t.unref(r)||void 0,"data-disabled":t.unref(r)?"":void 0,tabindex:t.unref(r)?void 0:-1,as:M.as,"as-child":M.asChild,onFocus:C[0]||(C[0]=x=>p.value=!0),onBlur:C[1]||(C[1]=x=>p.value=!1),onPointerup:m,onPointerdown:C[2]||(C[2]=x=>{x.currentTarget.focus({preventScroll:!0})}),onTouchend:C[3]||(C[3]=t.withModifiers(()=>{},["prevent","stop"])),onPointermove:w,onPointerleave:S,onKeydown:v},{default:t.withCtx(()=>[t.renderSlot(M.$slots,"default")]),_:3},8,["aria-labelledby","data-highlighted","aria-selected","data-state","aria-disabled","data-disabled","tabindex","as","as-child"])]),_:3},8,["value"]))}}),KH=GH,XH=t.defineComponent({__name:"SelectItemIndicator",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(a){const e=a,n=eB();return(o,r)=>t.unref(n).isSelected.value?(t.openBlock(),t.createBlock(t.unref(we),t.mergeProps({key:0,"aria-hidden":"true"},e),{default:t.withCtx(()=>[t.renderSlot(o.$slots,"default")]),_:3},16)):t.createCommentVNode("v-if",!0)}}),ZH=XH,YH=t.defineComponent({inheritAttrs:!1,__name:"SelectItemText",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(a){const e=a,n=ma(),o=Ui(),r=eB(),{forwardRef:i,currentElement:s}=me(),c=t.computed(()=>{var d,h;return{value:r.value,disabled:r.disabled.value,textContent:((d=s.value)==null?void 0:d.textContent)??((h=r.value)==null?void 0:h.toString())??""}});return t.onMounted(()=>{s.value&&(r.onItemTextChange(s.value),o.itemTextRefCallback(s.value,r.value,r.disabled.value),n.onOptionAdd(c.value))}),t.onUnmounted(()=>{n.onOptionRemove(c.value)}),(d,h)=>(t.openBlock(),t.createBlock(t.unref(we),t.mergeProps({id:t.unref(r).textId,ref:t.unref(i)},{...e,...d.$attrs}),{default:t.withCtx(()=>[t.renderSlot(d.$slots,"default")]),_:3},16,["id"]))}}),QH=YH,JH=t.defineComponent({__name:"SelectPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createBlock(t.unref(nI),t.normalizeProps(t.guardReactiveProps(e)),{default:t.withCtx(()=>[t.renderSlot(n.$slots,"default")]),_:3},16))}}),ej=JH,tj=t.defineComponent({__name:"SelectScrollButtonImpl",emits:["autoScroll"],setup(a,{emit:e}){const n=e,{getItems:o}=gs(),r=Ui(),i=t.ref(null);function s(){i.value!==null&&(window.clearInterval(i.value),i.value=null)}t.watchEffect(()=>{const h=o().map(u=>u.ref).find(u=>u===at());h==null||h.scrollIntoView({block:"nearest"})});function c(){i.value===null&&(i.value=window.setInterval(()=>{n("autoScroll")},50))}function d(){var h;(h=r.onItemLeave)==null||h.call(r),i.value===null&&(i.value=window.setInterval(()=>{n("autoScroll")},50))}return t.onBeforeUnmount(()=>s()),(h,u)=>{var p;return t.openBlock(),t.createBlock(t.unref(we),t.mergeProps({"aria-hidden":"true",style:{flexShrink:0}},(p=h.$parent)==null?void 0:p.$props,{onPointerdown:c,onPointermove:d,onPointerleave:u[0]||(u[0]=()=>{s()})}),{default:t.withCtx(()=>[t.renderSlot(h.$slots,"default")]),_:3},16)}}}),tB=tj,aj=t.defineComponent({__name:"SelectScrollDownButton",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(a){const e=Ui(),n=e.position==="item-aligned"?iI():void 0,{forwardRef:o,currentElement:r}=me(),i=t.ref(!1);return t.watchEffect(s=>{var c,d;if((c=e.viewport)!=null&&c.value&&((d=e.isPositioned)!=null&&d.value)){let u=function(){const p=h.scrollHeight-h.clientHeight;i.value=Math.ceil(h.scrollTop)<p};const h=e.viewport.value;u(),h.addEventListener("scroll",u),s(()=>h.removeEventListener("scroll",u))}}),t.watch(r,()=>{r.value&&(n==null||n.onScrollButtonChange(r.value))}),(s,c)=>i.value?(t.openBlock(),t.createBlock(tB,{key:0,ref:t.unref(o),onAutoScroll:c[0]||(c[0]=()=>{const{viewport:d,selectedItem:h}=t.unref(e);d!=null&&d.value&&(h!=null&&h.value)&&(d.value.scrollTop=d.value.scrollTop+h.value.offsetHeight)})},{default:t.withCtx(()=>[t.renderSlot(s.$slots,"default")]),_:3},512)):t.createCommentVNode("v-if",!0)}}),nj=aj,oj=t.defineComponent({__name:"SelectScrollUpButton",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(a){const e=Ui(),n=e.position==="item-aligned"?iI():void 0,{forwardRef:o,currentElement:r}=me(),i=t.ref(!1);return t.watchEffect(s=>{var c,d;if((c=e.viewport)!=null&&c.value&&((d=e.isPositioned)!=null&&d.value)){let u=function(){i.value=h.scrollTop>0};const h=e.viewport.value;u(),h.addEventListener("scroll",u),s(()=>h.removeEventListener("scroll",u))}}),t.watch(r,()=>{r.value&&(n==null||n.onScrollButtonChange(r.value))}),(s,c)=>i.value?(t.openBlock(),t.createBlock(tB,{key:0,ref:t.unref(o),onAutoScroll:c[0]||(c[0]=()=>{const{viewport:d,selectedItem:h}=t.unref(e);d!=null&&d.value&&(h!=null&&h.value)&&(d.value.scrollTop=d.value.scrollTop-h.value.offsetHeight)})},{default:t.withCtx(()=>[t.renderSlot(s.$slots,"default")]),_:3},512)):t.createCommentVNode("v-if",!0)}}),rj=oj,ij=t.defineComponent({__name:"SelectTrigger",props:{disabled:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(a){const e=a,n=ma(),{forwardRef:o,currentElement:r}=me(),i=t.computed(()=>{var y;return((y=n.disabled)==null?void 0:y.value)||e.disabled});n.contentId||(n.contentId=ms(void 0,"reka-select-content")),t.onMounted(()=>{n.onTriggerChange(r.value)});const{getItems:s}=gs(),{search:c,handleTypeaheadSearch:d,resetTypeahead:h}=IA();function u(){i.value||(n.onOpenChange(!0),h())}function p(y){u(),n.triggerPointerDownPosRef.value={x:Math.round(y.pageX),y:Math.round(y.pageY)}}return(y,f)=>(t.openBlock(),t.createBlock(t.unref(ZA),{"as-child":"",reference:y.reference},{default:t.withCtx(()=>{var k,m,g,w;return[t.createVNode(t.unref(we),{ref:t.unref(o),role:"combobox",type:y.as==="button"?"button":void 0,"aria-controls":t.unref(n).contentId,"aria-expanded":t.unref(n).open.value||!1,"aria-required":(k=t.unref(n).required)==null?void 0:k.value,"aria-autocomplete":"none",disabled:i.value,dir:(m=t.unref(n))==null?void 0:m.dir.value,"data-state":(g=t.unref(n))!=null&&g.open.value?"open":"closed","data-disabled":i.value?"":void 0,"data-placeholder":t.unref(LH)((w=t.unref(n).modelValue)==null?void 0:w.value)?"":void 0,"as-child":y.asChild,as:y.as,onClick:f[0]||(f[0]=S=>{var v;(v=S==null?void 0:S.currentTarget)==null||v.focus()}),onPointerdown:f[1]||(f[1]=S=>{if(S.pointerType==="touch")return S.preventDefault();const v=S.target;v.hasPointerCapture(S.pointerId)&&v.releasePointerCapture(S.pointerId),S.button===0&&S.ctrlKey===!1&&(p(S),S.preventDefault())}),onPointerup:f[2]||(f[2]=t.withModifiers(S=>{S.pointerType==="touch"&&p(S)},["prevent"])),onKeydown:f[3]||(f[3]=S=>{const v=t.unref(c)!=="";!(S.ctrlKey||S.altKey||S.metaKey)&&S.key.length===1&&v&&S.key===" "||(t.unref(d)(S.key,t.unref(s)()),t.unref(vH).includes(S.key)&&(u(),S.preventDefault()))})},{default:t.withCtx(()=>[t.renderSlot(y.$slots,"default")]),_:3},8,["type","aria-controls","aria-expanded","aria-required","disabled","dir","data-state","data-disabled","data-placeholder","as-child","as"])]}),_:3},8,["reference"]))}}),sj=ij,lj=t.defineComponent({__name:"SelectValue",props:{placeholder:{type:String,required:!1,default:""},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(a){const e=a,{forwardRef:n,currentElement:o}=me(),r=ma();t.onMounted(()=>{r.valueElement=o});const i=t.computed(()=>{var u;let c=[];const d=Array.from(r.optionsSet.value),h=p=>d.find(y=>d1(p,y.value,r.by));return Array.isArray(r.modelValue.value)?c=r.modelValue.value.map(p=>{var y;return((y=h(p))==null?void 0:y.textContent)??""}):c=[((u=h(r.modelValue.value))==null?void 0:u.textContent)??""],c.filter(Boolean)}),s=t.computed(()=>i.value.length?i.value.join(", "):e.placeholder);return(c,d)=>(t.openBlock(),t.createBlock(t.unref(we),{ref:t.unref(n),as:c.as,"as-child":c.asChild,style:{pointerEvents:"none"},"data-placeholder":i.value.length?void 0:e.placeholder},{default:t.withCtx(()=>[t.renderSlot(c.$slots,"default",{selectedLabel:i.value,modelValue:t.unref(r).modelValue.value},()=>[t.createTextVNode(t.toDisplayString(s.value),1)])]),_:3},8,["as","as-child","data-placeholder"]))}}),cj=lj,dj=t.defineComponent({__name:"SelectViewport",props:{nonce:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(a){const e=a,{nonce:n}=t.toRefs(e),o=tH(n),r=Ui(),i=r.position==="item-aligned"?iI():void 0,{forwardRef:s,currentElement:c}=me();t.onMounted(()=>{r==null||r.onViewportChange(c.value)});const d=t.ref(0);function h(u){const p=u.currentTarget,{shouldExpandOnScrollRef:y,contentWrapper:f}=i??{};if(y!=null&&y.value&&(f!=null&&f.value)){const k=Math.abs(d.value-p.scrollTop);if(k>0){const m=window.innerHeight-gt*2,g=Number.parseFloat(f.value.style.minHeight),w=Number.parseFloat(f.value.style.height),S=Math.max(g,w);if(S<m){const v=S+k,M=Math.min(m,v),C=v-M;f.value.style.height=`${M}px`,f.value.style.bottom==="0px"&&(p.scrollTop=C>0?C:0,f.value.style.justifyContent="flex-end")}}}d.value=p.scrollTop}return(u,p)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createVNode(t.unref(we),t.mergeProps({ref:t.unref(s),"data-reka-select-viewport":"",role:"presentation"},{...u.$attrs,...e},{style:{position:"relative",flex:1,overflow:"hidden auto"},onScroll:h}),{default:t.withCtx(()=>[t.renderSlot(u.$slots,"default")]),_:3},16),t.createVNode(t.unref(we),{as:"style",nonce:t.unref(o)},{default:t.withCtx(()=>p[0]||(p[0]=[t.createTextVNode(" /* Hide scrollbars cross-browser and enable momentum scroll for touch devices */ [data-reka-select-viewport] { scrollbar-width:none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } [data-reka-select-viewport]::-webkit-scrollbar { display: none; } ")])),_:1,__:[0]},8,["nonce"])],64))}}),hj=dj,uj=t.defineComponent({__name:"BaseSeparator",props:{orientation:{type:String,required:!1,default:"horizontal"},decorative:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(a){const e=a,n=["horizontal","vertical"];function o(c){return n.includes(c)}const r=t.computed(()=>o(e.orientation)?e.orientation:"horizontal"),i=t.computed(()=>r.value==="vertical"?e.orientation:void 0),s=t.computed(()=>e.decorative?{role:"none"}:{"aria-orientation":i.value,role:"separator"});return(c,d)=>(t.openBlock(),t.createBlock(t.unref(we),t.mergeProps({as:c.as,"as-child":c.asChild,"data-orientation":r.value},s.value),{default:t.withCtx(()=>[t.renderSlot(c.$slots,"default")]),_:3},16,["as","as-child","data-orientation"]))}}),pj=uj,yj=t.defineComponent({__name:"Separator",props:{orientation:{type:String,required:!1,default:"horizontal"},decorative:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createBlock(pj,t.normalizeProps(t.guardReactiveProps(e)),{default:t.withCtx(()=>[t.renderSlot(n.$slots,"default")]),_:3},16))}}),fj=yj;const[sI,kj]=st("TooltipProvider");var mj=t.defineComponent({inheritAttrs:!1,__name:"TooltipProvider",props:{delayDuration:{type:Number,required:!1,default:700},skipDelayDuration:{type:Number,required:!1,default:300},disableHoverableContent:{type:Boolean,required:!1,default:!1},disableClosingTrigger:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},ignoreNonKeyboardFocus:{type:Boolean,required:!1,default:!1}},setup(a){const e=a,{delayDuration:n,skipDelayDuration:o,disableHoverableContent:r,disableClosingTrigger:i,ignoreNonKeyboardFocus:s,disabled:c}=t.toRefs(e);me();const d=t.ref(!0),h=t.ref(!1),{start:u,stop:p}=gA(()=>{d.value=!0},o,{immediate:!1});return kj({isOpenDelayed:d,delayDuration:n,onOpen(){p(),d.value=!1},onClose(){u()},isPointerInTransitRef:h,disableHoverableContent:r,disableClosingTrigger:i,disabled:c,ignoreNonKeyboardFocus:s}),(y,f)=>t.renderSlot(y.$slots,"default")}}),gj=mj;const aB="tooltip.open",[SL,Mj]=st("TooltipRoot");var bj=t.defineComponent({__name:"TooltipRoot",props:{defaultOpen:{type:Boolean,required:!1,default:!1},open:{type:Boolean,required:!1,default:void 0},delayDuration:{type:Number,required:!1,default:void 0},disableHoverableContent:{type:Boolean,required:!1,default:void 0},disableClosingTrigger:{type:Boolean,required:!1,default:void 0},disabled:{type:Boolean,required:!1,default:void 0},ignoreNonKeyboardFocus:{type:Boolean,required:!1,default:void 0}},emits:["update:open"],setup(a,{emit:e}){const n=a,o=e;me();const r=sI(),i=t.computed(()=>n.disableHoverableContent??r.disableHoverableContent.value),s=t.computed(()=>n.disableClosingTrigger??r.disableClosingTrigger.value),c=t.computed(()=>n.disabled??r.disabled.value),d=t.computed(()=>n.delayDuration??r.delayDuration.value),h=t.computed(()=>n.ignoreNonKeyboardFocus??r.ignoreNonKeyboardFocus.value),u=fs(n,"open",o,{defaultValue:n.defaultOpen,passive:n.open===void 0});t.watch(u,v=>{r.onClose&&(v?(r.onOpen(),document.dispatchEvent(new CustomEvent(aB))):r.onClose())});const p=t.ref(!1),y=t.ref(),f=t.computed(()=>u.value?p.value?"delayed-open":"instant-open":"closed"),{start:k,stop:m}=gA(()=>{p.value=!0,u.value=!0},d,{immediate:!1});function g(){m(),p.value=!1,u.value=!0}function w(){m(),u.value=!1}function S(){k()}return Mj({contentId:"",open:u,stateAttribute:f,trigger:y,onTriggerChange(v){y.value=v},onTriggerEnter(){r.isOpenDelayed.value?S():g()},onTriggerLeave(){i.value?w():m()},onOpen:g,onClose:w,disableHoverableContent:i,disableClosingTrigger:s,disabled:c,ignoreNonKeyboardFocus:h}),(v,M)=>(t.openBlock(),t.createBlock(t.unref(XA),null,{default:t.withCtx(()=>[t.renderSlot(v.$slots,"default",{open:t.unref(u)})]),_:3}))}}),xj=bj,wj=t.defineComponent({__name:"TooltipContentImpl",props:{ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1,default:"top"},sideOffset:{type:Number,required:!1,default:0},align:{type:null,required:!1,default:"center"},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1,default:!0},collisionBoundary:{type:null,required:!1,default:()=>[]},collisionPadding:{type:[Number,Object],required:!1,default:0},arrowPadding:{type:Number,required:!1,default:0},sticky:{type:String,required:!1,default:"partial"},hideWhenDetached:{type:Boolean,required:!1,default:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},emits:["escapeKeyDown","pointerDownOutside"],setup(a,{emit:e}){const n=a,o=e,r=SL(),{forwardRef:i,currentElement:s}=me(),c=t.computed(()=>{var h;return n.ariaLabel||((h=s.value)==null?void 0:h.textContent)}),d=t.computed(()=>{const{ariaLabel:h,...u}=n;return u});return t.onMounted(()=>{l1(window,"scroll",h=>{const u=h.target;u!=null&&u.contains(r.trigger.value)&&r.onClose()}),l1(window,aB,r.onClose)}),(h,u)=>(t.openBlock(),t.createBlock(t.unref(eI),{"as-child":"","disable-outside-pointer-events":!1,onEscapeKeyDown:u[0]||(u[0]=p=>o("escapeKeyDown",p)),onPointerDownOutside:u[1]||(u[1]=p=>{var y;t.unref(r).disableClosingTrigger.value&&((y=t.unref(r).trigger.value)!=null&&y.contains(p.target))&&p.preventDefault(),o("pointerDownOutside",p)}),onFocusOutside:u[2]||(u[2]=t.withModifiers(()=>{},["prevent"])),onDismiss:u[3]||(u[3]=p=>t.unref(r).onClose())},{default:t.withCtx(()=>[t.createVNode(t.unref(YA),t.mergeProps({ref:t.unref(i),"data-state":t.unref(r).stateAttribute.value},{...h.$attrs,...d.value},{style:{"--reka-tooltip-content-transform-origin":"var(--reka-popper-transform-origin)","--reka-tooltip-content-available-width":"var(--reka-popper-available-width)","--reka-tooltip-content-available-height":"var(--reka-popper-available-height)","--reka-tooltip-trigger-width":"var(--reka-popper-anchor-width)","--reka-tooltip-trigger-height":"var(--reka-popper-anchor-height)"}}),{default:t.withCtx(()=>[t.renderSlot(h.$slots,"default"),t.createVNode(t.unref(GA),{id:t.unref(r).contentId,role:"tooltip"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(c.value),1)]),_:1},8,["id"])]),_:3},16,["data-state"])]),_:3}))}}),nB=wj,vj=t.defineComponent({__name:"TooltipContentHoverable",props:{ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},setup(a){const n=Ze(a),{forwardRef:o,currentElement:r}=me(),{trigger:i,onClose:s}=SL(),c=sI(),{isPointerInTransit:d,onPointerExit:h}=jE(i,r);return c.isPointerInTransitRef=d,h(()=>{s()}),(u,p)=>(t.openBlock(),t.createBlock(nB,t.mergeProps({ref:t.unref(o)},t.unref(n)),{default:t.withCtx(()=>[t.renderSlot(u.$slots,"default")]),_:3},16))}}),Cj=vj,Lj=t.defineComponent({__name:"TooltipContent",props:{forceMount:{type:Boolean,required:!1},ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1,default:"top"},sideOffset:{type:Number,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},emits:["escapeKeyDown","pointerDownOutside"],setup(a,{emit:e}){const n=a,o=e,r=SL(),i=mt(n,o),{forwardRef:s}=me();return(c,d)=>(t.openBlock(),t.createBlock(t.unref(CL),{present:c.forceMount||t.unref(r).open.value},{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(r).disableHoverableContent.value?nB:Cj),t.mergeProps({ref:t.unref(s)},t.unref(i)),{default:t.withCtx(()=>[t.renderSlot(c.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),Sj=Lj,Ij=t.defineComponent({__name:"TooltipPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createBlock(t.unref(nI),t.normalizeProps(t.guardReactiveProps(e)),{default:t.withCtx(()=>[t.renderSlot(n.$slots,"default")]),_:3},16))}}),_j=Ij,Aj=t.defineComponent({__name:"TooltipTrigger",props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(a){const e=a,n=SL(),o=sI();n.contentId||(n.contentId=ms(void 0,"reka-tooltip-content"));const{forwardRef:r,currentElement:i}=me(),s=t.ref(!1),c=t.ref(!1),d=t.computed(()=>n.disabled.value?{}:{click:m,focus:f,pointermove:p,pointerleave:y,pointerdown:u,blur:k});t.onMounted(()=>{n.onTriggerChange(i.value)});function h(){setTimeout(()=>{s.value=!1},1)}function u(){n.open&&!n.disableClosingTrigger.value&&n.onClose(),s.value=!0,document.addEventListener("pointerup",h,{once:!0})}function p(g){g.pointerType!=="touch"&&!c.value&&!o.isPointerInTransitRef.value&&(n.onTriggerEnter(),c.value=!0)}function y(){n.onTriggerLeave(),c.value=!1}function f(g){var w,S;s.value||n.ignoreNonKeyboardFocus.value&&!((S=(w=g.target).matches)!=null&&S.call(w,":focus-visible"))||n.onOpen()}function k(){n.onClose()}function m(){n.disableClosingTrigger.value||n.onClose()}return(g,w)=>(t.openBlock(),t.createBlock(t.unref(ZA),{"as-child":"",reference:g.reference},{default:t.withCtx(()=>[t.createVNode(t.unref(we),t.mergeProps({ref:t.unref(r),"aria-describedby":t.unref(n).open.value?t.unref(n).contentId:void 0,"data-state":t.unref(n).stateAttribute.value,as:g.as,"as-child":e.asChild,"data-grace-area-trigger":""},t.toHandlers(d.value)),{default:t.withCtx(()=>[t.renderSlot(g.$slots,"default")]),_:3},16,["aria-describedby","data-state","as","as-child"])]),_:3},8,["reference"]))}}),Bj=Aj;const Ae=t.defineComponent({__name:"Button",props:{variant:{},size:{},class:{type:[Boolean,null,String,Object,Array]},asChild:{type:Boolean},as:{default:"button"}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createBlock(t.unref(we),{as:a.as,"as-child":a.asChild,class:t.normalizeClass(t.unref(ke)(t.unref(bs)({variant:a.variant,size:a.size}),e.class))},{default:t.withCtx(()=>[t.renderSlot(n.$slots,"default")]),_:3},8,["as","as-child","class"]))}}),bs=i1("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",xs:"h-7 rounded px-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-8 w-8","icon-sm":"size-7","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}}),oB=t.defineComponent({__name:"Tooltip",props:{defaultOpen:{type:Boolean},open:{type:Boolean},delayDuration:{},disableHoverableContent:{type:Boolean},disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},ignoreNonKeyboardFocus:{type:Boolean}},emits:["update:open"],setup(a,{emit:e}){const r=mt(a,e);return(i,s)=>(t.openBlock(),t.createBlock(t.unref(xj),t.normalizeProps(t.guardReactiveProps(t.unref(r))),{default:t.withCtx(()=>[t.renderSlot(i.$slots,"default")]),_:3},16))}}),rB=t.defineComponent({inheritAttrs:!1,__name:"TooltipContent",props:{forceMount:{type:Boolean},ariaLabel:{},asChild:{type:Boolean},as:{},side:{},sideOffset:{default:4},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},class:{type:[Boolean,null,String,Object,Array]}},emits:["escapeKeyDown","pointerDownOutside"],setup(a,{emit:e}){const n=a,o=e,r=Ee(n,"class"),i=mt(r,o);return(s,c)=>(t.openBlock(),t.createBlock(t.unref(_j),null,{default:t.withCtx(()=>[t.createVNode(t.unref(Sj),t.mergeProps({...t.unref(i),...s.$attrs},{class:t.unref(ke)("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",n.class)}),{default:t.withCtx(()=>[t.renderSlot(s.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),iB=t.defineComponent({__name:"TooltipProvider",props:{delayDuration:{},skipDelayDuration:{},disableHoverableContent:{type:Boolean},disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},ignoreNonKeyboardFocus:{type:Boolean}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createBlock(t.unref(gj),t.normalizeProps(t.guardReactiveProps(e)),{default:t.withCtx(()=>[t.renderSlot(n.$slots,"default")]),_:3},16))}}),sB=t.defineComponent({__name:"TooltipTrigger",props:{reference:{},asChild:{type:Boolean},as:{}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createBlock(t.unref(Bj),t.normalizeProps(t.guardReactiveProps(e)),{default:t.withCtx(()=>[t.renderSlot(n.$slots,"default")]),_:3},16))}}),Vj={class:"relative z-10"},zj="rounded-lg font-medium transition-all duration-300 ease-in-out hover:-translate-y-0.5 hover:scale-[1.02] active:translate-y-0 active:scale-[0.98] shadow-[0_3px_0_0_rgba(0,0,0,0.12),0_12px_22px_-10px_rgba(0,0,0,0.35)] hover:shadow-[0_6px_20px_-4px_rgba(0,0,0,0.3),0_10px_40px_-10px_rgba(0,0,0,0.2)] active:shadow-[0_1px_0_0_rgba(0,0,0,0.2),0_4px_8px_-4px_rgba(0,0,0,0.35)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:opacity-60 disabled:cursor-not-allowed disabled:shadow-none disabled:translate-y-0 disabled:scale-100 relative overflow-hidden before:absolute before:inset-0 before:bg-white/20 before:translate-y-full before:transition-transform before:duration-300 hover:before:translate-y-0",qj=t.defineComponent({name:"DCodeButton",inheritAttrs:!1,__name:"DCodeButton",props:{icon:{},text:{default:""},variant:{default:"default"},size:{default:"default"},tooltip:{default:""},bgColor:{default:""},textColor:{default:""},hoverBgColor:{default:""},borderColor:{default:""},disabled:{type:Boolean,default:!1},type:{default:"button"},visible:{type:Boolean,default:!0},skeleton:{type:Boolean,default:!1}},setup(a){const e=t.useAttrs(),n=a,o=t.computed(()=>n.icon&&ha[n.icon]||null),r=t.computed(()=>!!n.tooltip),i=t.computed(()=>n.visible??!0),s=t.computed(()=>{const B=String(n.variant||"default").toLowerCase();return B==="tonal"?"secondary":B==="elevated"?"default":B}),c=t.computed(()=>String(n.bgColor||"").toLowerCase()),d=t.computed(()=>String(n.type||"button").toLowerCase()),h=t.computed(()=>{const{class:B,...V}=e;return V}),u=t.computed(()=>ke(e.class)),p=t.computed(()=>((u.value??"").match(/\b(?:w|h|min-w|min-h|max-w|max-h)-[^\s]+\b/g)??[]).join(" ")),y=t.computed(()=>n.size==="sm"?"h-9":n.size==="lg"?"h-11":n.size==="icon"?"h-10 w-10":"h-10"),f=t.computed(()=>n.size==="icon"?"":!n.text&&n.icon?"w-10":"w-28"),k=t.computed(()=>ke("inline-flex items-center justify-center rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse",y.value,f.value,p.value)),m=t.computed(()=>{const V=(u.value??"").match(/\bbg-(?!gradient)([a-z-]+)(?:-(\d{2,3}))?\b/u);return V?V[0]:null}),g=t.computed(()=>{const V=(u.value??"").match(/\bhover:bg-(?!gradient)([a-z-]+)(?:-(\d{2,3}))?\b/u);return V?V[0]:null}),w=t.computed(()=>!!m.value),S=t.computed(()=>/\bborder-/.test(u.value??"")),v=t.computed(()=>/\bhover:/.test(u.value??"")),M=t.computed(()=>{const B=u.value??"";return s.value!=="outline"?B:B.replaceAll(/\bbg-(?!gradient)[^\s]+\b/gu,"").replaceAll(/\bhover:bg-(?!gradient)[^\s]+\b/gu,"").replaceAll(/\s+/gu," ").trim()}),C=t.ref(null),x=B=>{const V=B.match(/rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*([0-9.]+))?\)/u);return V?{r:Number(V[1]),g:Number(V[2]),b:Number(V[3]),a:V[4]?Number(V[4]):1}:null},b=(B,V)=>{const U=x(B);if(!U)return B;const oe=ee=>Math.max(0,Math.min(255,Math.round(ee)));return`rgba(${oe(U.r*(1-V))}, ${oe(U.g*(1-V))}, ${oe(U.b*(1-V))}, ${U.a})`},L=B=>{if(globalThis.window===void 0)return null;const V=document.createElement("div");V.className=B,V.style.position="absolute",V.style.visibility="hidden",V.style.pointerEvents="none",V.style.width="1px",V.style.height="1px",document.body.appendChild(V);const U=globalThis.getComputedStyle(V).backgroundColor;return V.remove(),!U||U==="transparent"||U==="rgba(0, 0, 0, 0)"?null:U},I=[50,100,200,300,400,500,600,700,800,900,950],z=B=>{const V=I.indexOf(B);return V===-1?B:I[Math.min(I.length-1,V+2)]},A=(B,V)=>{const U=sE[B];if(!U)return null;if(typeof U=="string")return U;if(!V)return null;const oe=U[V];return typeof oe=="string"?oe:null},q=(B,V=!1)=>{if(!B)return null;const U=V?/\bhover:bg-(?!gradient)([a-z-]+)(?:-(\d{2,3}))?\b/u:/\bbg-(?!gradient)([a-z-]+)(?:-(\d{2,3}))?\b/u,oe=B.match(U);return oe?{colorName:oe[1],shade:oe[2]?Number.parseInt(oe[2],10):null}:null},O=()=>{const B=m.value;if(!B){C.value=null;return}const V=q(B),U=V==null?void 0:V.colorName,oe=(V==null?void 0:V.shade)??null,ee=(U?A(U,oe):null)??L(B);if(!ee){C.value=null;return}let de;const ce=q(g.value,!0),ue=ce?A(ce.colorName,ce.shade??null):null;if(ue)de=ue;else if(U&&oe){const ve=z(oe);de=A(U,ve)??b(ee,.2)}else de=b(ee,.2);C.value={"--btn-color":ee,"--btn-color-hover":de}};t.onMounted(()=>{O()}),t.watch([m,g],async()=>{await t.nextTick(),O()});const H=t.computed(()=>{const B=/\bdark:bg-/.test(u.value??"");return!w.value||s.value==="outline"||B?"":C.value?"dcode-btn--fill dcode-btn--fill-hover":v.value?"":"hover:brightness-90"}),W=t.computed(()=>{if(!w.value||s.value!=="outline")return"";const B=["dcode-btn--outline","dcode-btn--outline-hover"];return S.value||B.push("border"),!C.value&&!v.value&&B.push("hover:brightness-90"),B.join(" ")}),T=t.computed(()=>C.value??void 0),j={primary:{bg:"bg-blue-600",text:"text-white",hover:"hover:bg-blue-700",border:"border-blue-600"},success:{bg:"bg-green-600",text:"text-white",hover:"hover:bg-green-700",border:"border-green-600"},warning:{bg:"bg-yellow-500",text:"text-white",hover:"hover:bg-yellow-600",border:"border-yellow-500"},danger:{bg:"bg-red-600",text:"text-white",hover:"hover:bg-red-700",border:"border-red-600"},info:{bg:"bg-cyan-600",text:"text-white",hover:"hover:bg-cyan-700",border:"border-cyan-600"},purple:{bg:"bg-purple-600",text:"text-white",hover:"hover:bg-purple-700",border:"border-purple-600"},pink:{bg:"bg-pink-600",text:"text-white",hover:"hover:bg-pink-700",border:"border-pink-600"},"gradient-blue":{bg:"bg-gradient-to-r from-blue-500 to-cyan-500",text:"text-white",hover:"hover:from-blue-600 hover:to-cyan-600"},"gradient-purple":{bg:"bg-gradient-to-r from-purple-500 to-pink-500",text:"text-white",hover:"hover:from-purple-600 hover:to-pink-600"},"gradient-sunset":{bg:"bg-gradient-to-r from-orange-500 to-red-500",text:"text-white",hover:"hover:from-orange-600 hover:to-red-600"},"gradient-emerald":{bg:"bg-gradient-to-r from-emerald-500 to-teal-500",text:"text-white",hover:"hover:from-emerald-600 hover:to-teal-600"}},R=t.computed(()=>{const B=[],V=c.value?j[c.value]:null;return V?(B.push(V.bg,V.text,V.hover),V.border&&s.value==="outline"&&B.push(V.border)):(c.value&&B.push(c.value),n.textColor&&B.push(n.textColor),n.hoverBgColor&&B.push(n.hoverBgColor),n.borderColor&&B.push(n.borderColor)),B.join(" ")}),Y=t.computed(()=>ke(zj,M.value,H.value,W.value,R.value));return(B,V)=>i.value?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[a.skeleton?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(k.value),"aria-hidden":"true"},null,2)):(t.openBlock(),t.createBlock(t.unref(iB),{key:1,"delay-duration":0},{default:t.withCtx(()=>[r.value?(t.openBlock(),t.createBlock(t.unref(oB),{key:0},{default:t.withCtx(()=>[t.createVNode(t.unref(sB),{"as-child":""},{default:t.withCtx(()=>[t.createVNode(t.unref(Ae),t.mergeProps({variant:s.value,size:n.size,disabled:n.disabled,type:d.value,class:Y.value,style:T.value},h.value),{default:t.withCtx(()=>[o.value?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(o.value),{key:0,class:"h-[18px] w-[18px]"})):t.createCommentVNode("",!0),n.text?(t.openBlock(),t.createElementBlock("span",{key:1,class:t.normalizeClass(o.value?"ml-1":"")},t.toDisplayString(n.text),3)):t.createCommentVNode("",!0)]),_:1},16,["variant","size","disabled","type","class","style"])]),_:1}),t.createVNode(t.unref(rB),{side:"top","side-offset":8,class:"animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 bg-gray-900 dark:bg-gray-100 text-white dark:text-gray-900 px-3 py-2 rounded-lg text-sm font-medium shadow-xl border-0"},{default:t.withCtx(()=>[t.createElementVNode("span",Vj,t.toDisplayString(n.tooltip),1)]),_:1})]),_:1})):(t.openBlock(),t.createBlock(t.unref(Ae),t.mergeProps({key:1,variant:s.value,size:n.size,disabled:n.disabled,type:d.value,class:Y.value,style:T.value},h.value),{default:t.withCtx(()=>[t.renderSlot(B.$slots,"default",{},()=>[o.value?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(o.value),{key:0,class:"h-[18px] w-[18px]"})):t.createCommentVNode("",!0),n.text?(t.openBlock(),t.createElementBlock("span",{key:1,class:t.normalizeClass(o.value?"ml-1":"")},t.toDisplayString(n.text),3)):t.createCommentVNode("",!0)],!0)]),_:3},16,["variant","size","disabled","type","class","style"]))]),_:3}))],64)):t.createCommentVNode("",!0)}}),ga=(a,e)=>{const n=a.__vccOpts||a;for(const[o,r]of e)n[o]=r;return n},xs=ga(qj,[["__scopeId","data-v-9a451047"]]),Pj={key:0,class:"flex items-center justify-between mb-4"},Dj={class:"flex flex-col gap-1"},Ej={key:0,class:"text-lg font-semibold text-neutral-900 dark:text-neutral-50 leading-tight"},Tj={key:1,class:"text-sm text-neutral-500 dark:text-neutral-400"},Hj={key:0,class:"flex items-center gap-2"},jj={class:"relative z-10"},Oj={key:1,class:"mt-6 pt-6 border-t border-neutral-200 dark:border-neutral-800"},Fj={name:"DCodeCard"},lI=t.defineComponent({...Fj,props:{level:{default:1},title:{},subtitle:{},shadow:{type:Boolean,default:!1},border:{type:Boolean,default:!0},padding:{default:"p-6"}},setup(a){const e=a,n=t.computed(()=>{switch(e.level){case 2:return"bg-neutral-50 dark:bg-neutral-800";case 3:return"bg-neutral-100 dark:bg-neutral-700";case 1:default:return"bg-white dark:bg-neutral-900"}});return(o,r)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["transition-shadow duration-300 dcode-card",[n.value,a.padding,{"shadow-md":a.shadow},{"border-transparent":!a.border},{"border-neutral-200 dark:border-neutral-800":a.border&&a.level===1},{"border-neutral-300 dark:border-neutral-700":a.border&&a.level!==1}]])},[a.title||o.$slots.header||o.$slots.actions?(t.openBlock(),t.createElementBlock("div",Pj,[t.createElementVNode("div",Dj,[t.renderSlot(o.$slots,"header",{},()=>[a.title?(t.openBlock(),t.createElementBlock("h3",Ej,t.toDisplayString(a.title),1)):t.createCommentVNode("",!0),a.subtitle?(t.openBlock(),t.createElementBlock("p",Tj,t.toDisplayString(a.subtitle),1)):t.createCommentVNode("",!0)])]),o.$slots.actions?(t.openBlock(),t.createElementBlock("div",Hj,[t.renderSlot(o.$slots,"actions")])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),t.createElementVNode("div",jj,[t.renderSlot(o.$slots,"default")]),o.$slots.footer?(t.openBlock(),t.createElementBlock("div",Oj,[t.renderSlot(o.$slots,"footer")])):t.createCommentVNode("",!0)],2))}});/*!
|
|
8502
|
+
For more information, see https://www.reka-ui.com/docs/components/${n}`,c=`Warning: Missing \`Description\` or \`aria-describedby="undefined"\` for ${e}.`;t.onMounted(()=>{var u;document.getElementById(o)||console.warn(s);const h=(u=i.value)==null?void 0:u.getAttribute("aria-describedby");r&&h&&(document.getElementById(r)||console.warn(c))})}var wT={},vT=t.defineComponent({__name:"DialogContentImpl",props:{forceMount:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(a,{emit:e}){const n=a,o=e,r=Tt(),{forwardRef:i,currentElement:s}=me();return r.titleId||(r.titleId=ms(void 0,"reka-dialog-title")),r.descriptionId||(r.descriptionId=ms(void 0,"reka-dialog-description")),t.onMounted(()=>{r.contentElement=s,at()!==document.body&&(r.triggerElement.value=at())}),wT.NODE_ENV!=="production"&&xT({titleName:"DialogTitle",contentName:"DialogContent",componentLink:"dialog.html#title",titleId:r.titleId,descriptionId:r.descriptionId,contentElement:s}),(c,d)=>(t.openBlock(),t.createBlock(t.unref(TA),{"as-child":"",loop:"",trapped:n.trapFocus,onMountAutoFocus:d[5]||(d[5]=h=>o("openAutoFocus",h)),onUnmountAutoFocus:d[6]||(d[6]=h=>o("closeAutoFocus",h))},{default:t.withCtx(()=>[t.createVNode(t.unref(eI),t.mergeProps({id:t.unref(r).contentId,ref:t.unref(i),as:c.as,"as-child":c.asChild,"disable-outside-pointer-events":c.disableOutsidePointerEvents,role:"dialog","aria-describedby":t.unref(r).descriptionId,"aria-labelledby":t.unref(r).titleId,"data-state":t.unref(gT)(t.unref(r).open.value)},c.$attrs,{onDismiss:d[0]||(d[0]=h=>t.unref(r).onOpenChange(!1)),onEscapeKeyDown:d[1]||(d[1]=h=>o("escapeKeyDown",h)),onFocusOutside:d[2]||(d[2]=h=>o("focusOutside",h)),onInteractOutside:d[3]||(d[3]=h=>o("interactOutside",h)),onPointerDownOutside:d[4]||(d[4]=h=>o("pointerDownOutside",h))}),{default:t.withCtx(()=>[t.renderSlot(c.$slots,"default")]),_:3},16,["id","as","as-child","disable-outside-pointer-events","aria-describedby","aria-labelledby","data-state"])]),_:3},8,["trapped"]))}}),jA=vT,CT=t.defineComponent({__name:"DialogContentModal",props:{forceMount:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(a,{emit:e}){const n=a,o=e,r=Tt(),i=bL(o),{forwardRef:s,currentElement:c}=me();return IA(c),(d,h)=>(t.openBlock(),t.createBlock(jA,t.mergeProps({...n,...t.unref(i)},{ref:t.unref(s),"trap-focus":t.unref(r).open.value,"disable-outside-pointer-events":!0,onCloseAutoFocus:h[0]||(h[0]=u=>{var p;u.defaultPrevented||(u.preventDefault(),(p=t.unref(r).triggerElement.value)==null||p.focus())}),onPointerDownOutside:h[1]||(h[1]=u=>{const p=u.detail.originalEvent,y=p.button===0&&p.ctrlKey===!0;(p.button===2||y)&&u.preventDefault()}),onFocusOutside:h[2]||(h[2]=u=>{u.preventDefault()})}),{default:t.withCtx(()=>[t.renderSlot(d.$slots,"default")]),_:3},16,["trap-focus"]))}}),LT=CT,ST=t.defineComponent({__name:"DialogContentNonModal",props:{forceMount:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(a,{emit:e}){const n=a,r=bL(e);me();const i=Tt(),s=t.ref(!1),c=t.ref(!1);return(d,h)=>(t.openBlock(),t.createBlock(jA,t.mergeProps({...n,...t.unref(r)},{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:h[0]||(h[0]=u=>{var p;u.defaultPrevented||(s.value||(p=t.unref(i).triggerElement.value)==null||p.focus(),u.preventDefault()),s.value=!1,c.value=!1}),onInteractOutside:h[1]||(h[1]=u=>{var f;u.defaultPrevented||(s.value=!0,u.detail.originalEvent.type==="pointerdown"&&(c.value=!0));const p=u.target;((f=t.unref(i).triggerElement.value)==null?void 0:f.contains(p))&&u.preventDefault(),u.detail.originalEvent.type==="focusin"&&c.value&&u.preventDefault()})}),{default:t.withCtx(()=>[t.renderSlot(d.$slots,"default")]),_:3},16))}}),IT=ST,_T=t.defineComponent({__name:"DialogContent",props:{forceMount:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(a,{emit:e}){const n=a,o=e,r=Tt(),i=bL(o),{forwardRef:s}=me();return(c,d)=>(t.openBlock(),t.createBlock(t.unref(CL),{present:c.forceMount||t.unref(r).open.value},{default:t.withCtx(()=>[t.unref(r).modal.value?(t.openBlock(),t.createBlock(LT,t.mergeProps({key:0,ref:t.unref(s)},{...n,...t.unref(i),...c.$attrs}),{default:t.withCtx(()=>[t.renderSlot(c.$slots,"default")]),_:3},16)):(t.openBlock(),t.createBlock(IT,t.mergeProps({key:1,ref:t.unref(s)},{...n,...t.unref(i),...c.$attrs}),{default:t.withCtx(()=>[t.renderSlot(c.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),OA=_T,AT=t.defineComponent({__name:"DialogDescription",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"p"}},setup(a){const e=a;me();const n=Tt();return(o,r)=>(t.openBlock(),t.createBlock(t.unref(we),t.mergeProps(e,{id:t.unref(n).descriptionId}),{default:t.withCtx(()=>[t.renderSlot(o.$slots,"default")]),_:3},16,["id"]))}}),FA=AT,BT=t.defineComponent({__name:"DialogOverlayImpl",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(a){const e=Tt();return vA(!0),me(),(n,o)=>(t.openBlock(),t.createBlock(t.unref(we),{as:n.as,"as-child":n.asChild,"data-state":t.unref(e).open.value?"open":"closed",style:{"pointer-events":"auto"}},{default:t.withCtx(()=>[t.renderSlot(n.$slots,"default")]),_:3},8,["as","as-child","data-state"]))}}),zT=BT,VT=t.defineComponent({__name:"DialogOverlay",props:{forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(a){const e=Tt(),{forwardRef:n}=me();return(o,r)=>{var i;return(i=t.unref(e))!=null&&i.modal.value?(t.openBlock(),t.createBlock(t.unref(CL),{key:0,present:o.forceMount||t.unref(e).open.value},{default:t.withCtx(()=>[t.createVNode(zT,t.mergeProps(o.$attrs,{ref:t.unref(n),as:o.as,"as-child":o.asChild}),{default:t.withCtx(()=>[t.renderSlot(o.$slots,"default")]),_:3},16,["as","as-child"])]),_:3},8,["present"])):t.createCommentVNode("v-if",!0)}}}),RA=VT,qT=t.defineComponent({__name:"Teleport",props:{to:{type:null,required:!1,default:"body"},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(a){const e=bA();return(n,o)=>t.unref(e)||n.forceMount?(t.openBlock(),t.createBlock(t.Teleport,{key:0,to:n.to,disabled:n.disabled,defer:n.defer},[t.renderSlot(n.$slots,"default")],8,["to","disabled","defer"])):t.createCommentVNode("v-if",!0)}}),nI=qT,PT=t.defineComponent({__name:"DialogPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createBlock(t.unref(nI),t.normalizeProps(t.guardReactiveProps(e)),{default:t.withCtx(()=>[t.renderSlot(n.$slots,"default")]),_:3},16))}}),NA=PT,DT=t.defineComponent({__name:"DialogTitle",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"h2"}},setup(a){const e=a,n=Tt();return me(),(o,r)=>(t.openBlock(),t.createBlock(t.unref(we),t.mergeProps(e,{id:t.unref(n).titleId}),{default:t.withCtx(()=>[t.renderSlot(o.$slots,"default")]),_:3},16,["id"]))}}),$A=DT,ET=t.defineComponent({__name:"DialogTrigger",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(a){const e=a,n=Tt(),{forwardRef:o,currentElement:r}=me();return n.contentId||(n.contentId=ms(void 0,"reka-dialog-content")),t.onMounted(()=>{n.triggerElement.value=r.value}),(i,s)=>(t.openBlock(),t.createBlock(t.unref(we),t.mergeProps(e,{ref:t.unref(o),type:i.as==="button"?"button":void 0,"aria-haspopup":"dialog","aria-expanded":t.unref(n).open.value||!1,"aria-controls":t.unref(n).open.value?t.unref(n).contentId:void 0,"data-state":t.unref(n).open.value?"open":"closed",onClick:t.unref(n).onOpenToggle}),{default:t.withCtx(()=>[t.renderSlot(i.$slots,"default")]),_:3},16,["type","aria-expanded","aria-controls","data-state","onClick"]))}}),TT=ET;const[UA,HT]=st("AvatarRoot");var jT=t.defineComponent({__name:"AvatarRoot",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(a){return me(),HT({imageLoadingStatus:t.ref("idle")}),(e,n)=>(t.openBlock(),t.createBlock(t.unref(we),{"as-child":e.asChild,as:e.as},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},8,["as-child","as"]))}}),OT=jT,FT=t.defineComponent({__name:"AvatarFallback",props:{delayMs:{type:Number,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(a){const e=a,n=UA();me();const o=t.ref(e.delayMs===void 0);return t.watchEffect(r=>{if(e.delayMs&<){const i=window.setTimeout(()=>{o.value=!0},e.delayMs);r(()=>{window.clearTimeout(i)})}}),(r,i)=>o.value&&t.unref(n).imageLoadingStatus.value!=="loaded"?(t.openBlock(),t.createBlock(t.unref(we),{key:0,"as-child":r.asChild,as:r.as},{default:t.withCtx(()=>[t.renderSlot(r.$slots,"default")]),_:3},8,["as-child","as"])):t.createCommentVNode("v-if",!0)}}),RT=FT;function WA(a,e){return a?e?(a.src!==e&&(a.src=e),a.complete&&a.naturalWidth>0?"loaded":"loading"):"error":"idle"}function NT(a,{referrerPolicy:e,crossOrigin:n}={}){const o=t.ref(!1),r=t.ref(null),i=t.computed(()=>o.value?(!r.value&<&&(r.value=new window.Image),r.value):null),s=t.ref(WA(i.value,a.value)),c=d=>()=>{o.value&&(s.value=d)};return t.onMounted(()=>{o.value=!0,t.watchEffect(d=>{const h=i.value;if(!h)return;s.value=WA(h,a.value);const u=c("loaded"),p=c("error");h.addEventListener("load",u),h.addEventListener("error",p),e!=null&&e.value&&(h.referrerPolicy=e.value),typeof(n==null?void 0:n.value)=="string"&&(h.crossOrigin=n.value),d(()=>{h.removeEventListener("load",u),h.removeEventListener("error",p)})})}),t.onUnmounted(()=>{o.value=!1}),s}var $T=t.defineComponent({__name:"AvatarImage",props:{src:{type:String,required:!0},referrerPolicy:{type:null,required:!1},crossOrigin:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"img"}},emits:["loadingStatusChange"],setup(a,{emit:e}){const n=a,o=e,{src:r,referrerPolicy:i,crossOrigin:s}=t.toRefs(n);me();const c=UA(),d=NT(r,{referrerPolicy:i,crossOrigin:s});return t.watch(d,h=>{o("loadingStatusChange",h),h!=="idle"&&(c.imageLoadingStatus.value=h)},{immediate:!0}),(h,u)=>t.withDirectives((t.openBlock(),t.createBlock(t.unref(we),{role:"img","as-child":h.asChild,as:h.as,src:t.unref(r),referrerpolicy:t.unref(i),crossorigin:t.unref(s)},{default:t.withCtx(()=>[t.renderSlot(h.$slots,"default")]),_:3},8,["as-child","as","src","referrerpolicy","crossorigin"])),[[t.vShow,t.unref(d)==="loaded"]])}}),UT=$T;const GA="data-reka-collection-item";function gs(a={}){const{key:e="",isProvider:n=!1}=a,o=`${e}CollectionProvider`;let r;if(n){const u=t.ref(new Map);r={collectionRef:t.ref(),itemMap:u},t.provide(o,r)}else r=t.inject(o);const i=(u=!1)=>{const p=r.collectionRef.value;if(!p)return[];const y=Array.from(p.querySelectorAll(`[${GA}]`)),k=Array.from(r.itemMap.value.values()).sort((m,g)=>y.indexOf(m.ref)-y.indexOf(g.ref));return u?k:k.filter(m=>m.ref.dataset.disabled!=="")},s=t.defineComponent({name:"CollectionSlot",inheritAttrs:!1,setup(u,{slots:p,attrs:y}){const{primitiveElement:f,currentElement:k}=AA();return t.watch(k,()=>{r.collectionRef.value=k.value}),()=>t.h(JS,{ref:f,...y},p)}}),c=t.defineComponent({name:"CollectionItem",inheritAttrs:!1,props:{value:{validator:()=>!0}},setup(u,{slots:p,attrs:y}){const{primitiveElement:f,currentElement:k}=AA();return t.watchEffect(m=>{if(k.value){const g=t.markRaw(k.value);r.itemMap.value.set(g,{ref:k.value,value:u.value}),m(()=>r.itemMap.value.delete(g))}}),()=>t.h(JS,{...y,[GA]:"",ref:f},p)}}),d=t.computed(()=>Array.from(r.itemMap.value.values())),h=t.computed(()=>r.itemMap.value.size);return{getItems:i,reactiveItems:d,itemMapSize:h,CollectionSlot:s,CollectionItem:c}}var WT=t.defineComponent({__name:"VisuallyHidden",props:{feature:{type:String,required:!1,default:"focusable"},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(a){return(e,n)=>(t.openBlock(),t.createBlock(t.unref(we),{as:e.as,"as-child":e.asChild,"aria-hidden":e.feature==="focusable"?"true":void 0,"data-hidden":e.feature==="fully-hidden"?"":void 0,tabindex:e.feature==="fully-hidden"?"-1":void 0,style:{position:"absolute",border:0,width:"1px",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",whiteSpace:"nowrap",wordWrap:"normal",top:"-1px",left:"-1px"}},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},8,["as","as-child","aria-hidden","data-hidden","tabindex"]))}}),KA=WT;const[XA,GT]=st("PopperRoot");var KT=t.defineComponent({inheritAttrs:!1,__name:"PopperRoot",setup(a){const e=t.ref();return GT({anchor:e,onAnchorChange:n=>e.value=n}),(n,o)=>t.renderSlot(n.$slots,"default")}}),ZA=KT,XT=t.defineComponent({__name:"PopperAnchor",props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(a){const e=a,{forwardRef:n,currentElement:o}=me(),r=XA();return t.watchPostEffect(()=>{r.onAnchorChange(e.reference??o.value)}),(i,s)=>(t.openBlock(),t.createBlock(t.unref(we),{ref:t.unref(n),as:i.as,"as-child":i.asChild},{default:t.withCtx(()=>[t.renderSlot(i.$slots,"default")]),_:3},8,["as","as-child"]))}}),YA=XT;function ZT(a){return a!==null}function YT(a){return{name:"transformOrigin",options:a,fn(e){var g,w,S;const{placement:n,rects:o,middlewareData:r}=e,s=((g=r.arrow)==null?void 0:g.centerOffset)!==0,c=s?0:a.arrowWidth,d=s?0:a.arrowHeight,[h,u]=oI(n),p={start:"0%",center:"50%",end:"100%"}[u],y=(((w=r.arrow)==null?void 0:w.x)??0)+c/2,f=(((S=r.arrow)==null?void 0:S.y)??0)+d/2;let k="",m="";return h==="bottom"?(k=s?p:`${y}px`,m=`${-d}px`):h==="top"?(k=s?p:`${y}px`,m=`${o.floating.height+d}px`):h==="right"?(k=`${-d}px`,m=s?p:`${f}px`):h==="left"&&(k=`${o.floating.width+d}px`,m=s?p:`${f}px`),{data:{x:k,y:m}}}}}function oI(a){const[e,n="center"]=a.split("-");return[e,n]}const QT={side:"bottom",sideOffset:0,sideFlip:!0,align:"center",alignOffset:0,alignFlip:!0,arrowPadding:0,hideShiftedArrow:!0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:"partial",hideWhenDetached:!1,positionStrategy:"fixed",updatePositionStrategy:"optimized",prioritizePosition:!1},[EQ,JT]=st("PopperContent");var eH=t.defineComponent({inheritAttrs:!1,__name:"PopperContent",props:t.mergeDefaults({side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},{...QT}),emits:["placed"],setup(a,{emit:e}){const n=a,o=e,r=XA(),{forwardRef:i,currentElement:s}=me(),c=t.ref(),d=t.ref(),{width:h,height:u}=YE(d),p=t.computed(()=>n.side+(n.align!=="center"?`-${n.align}`:"")),y=t.computed(()=>typeof n.collisionPadding=="number"?n.collisionPadding:{top:0,right:0,bottom:0,left:0,...n.collisionPadding}),f=t.computed(()=>Array.isArray(n.collisionBoundary)?n.collisionBoundary:[n.collisionBoundary]),k=t.computed(()=>({padding:y.value,boundary:f.value.filter(ZT),altBoundary:f.value.length>0})),m=t.computed(()=>({mainAxis:n.sideFlip,crossAxis:n.alignFlip})),g=dE(()=>[X1({mainAxis:n.sideOffset+u.value,alignmentAxis:n.alignOffset}),n.prioritizePosition&&n.avoidCollisions&&Ds({...k.value,...m.value}),n.avoidCollisions&&Z1({mainAxis:!0,crossAxis:!!n.prioritizePosition,limiter:n.sticky==="partial"?mP():void 0,...k.value}),!n.prioritizePosition&&n.avoidCollisions&&Ds({...k.value,...m.value}),Y1({...k.value,apply:({elements:q,rects:O,availableWidth:H,availableHeight:W})=>{const{width:T,height:j}=O.reference,R=q.floating.style;R.setProperty("--reka-popper-available-width",`${H}px`),R.setProperty("--reka-popper-available-height",`${W}px`),R.setProperty("--reka-popper-anchor-width",`${T}px`),R.setProperty("--reka-popper-anchor-height",`${j}px`)}}),d.value&&bP({element:d.value,padding:n.arrowPadding}),YT({arrowWidth:h.value,arrowHeight:u.value}),n.hideWhenDetached&&fP({strategy:"referenceHidden",...k.value})]),w=t.computed(()=>n.reference??r.anchor.value),{floatingStyles:S,placement:v,isPositioned:M,middlewareData:C}=Q1(w,c,{strategy:n.positionStrategy,placement:p,whileElementsMounted:(...q)=>K1(...q,{layoutShift:!n.disableUpdateOnLayoutShift,animationFrame:n.updatePositionStrategy==="always"}),middleware:g}),x=t.computed(()=>oI(v.value)[0]),b=t.computed(()=>oI(v.value)[1]);t.watchPostEffect(()=>{M.value&&o("placed")});const L=t.computed(()=>{var O;const q=((O=C.value.arrow)==null?void 0:O.centerOffset)!==0;return n.hideShiftedArrow&&q}),I=t.ref("");t.watchEffect(()=>{s.value&&(I.value=window.getComputedStyle(s.value).zIndex)});const V=t.computed(()=>{var q;return((q=C.value.arrow)==null?void 0:q.x)??0}),A=t.computed(()=>{var q;return((q=C.value.arrow)==null?void 0:q.y)??0});return JT({placedSide:x,onArrowChange:q=>d.value=q,arrowX:V,arrowY:A,shouldHideArrow:L}),(q,O)=>{var H,W,T;return t.openBlock(),t.createElementBlock("div",{ref_key:"floatingRef",ref:c,"data-reka-popper-content-wrapper":"",style:t.normalizeStyle({...t.unref(S),transform:t.unref(M)?t.unref(S).transform:"translate(0, -200%)",minWidth:"max-content",zIndex:I.value,"--reka-popper-transform-origin":[(H=t.unref(C).transformOrigin)==null?void 0:H.x,(W=t.unref(C).transformOrigin)==null?void 0:W.y].join(" "),...((T=t.unref(C).hide)==null?void 0:T.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}})},[t.createVNode(t.unref(we),t.mergeProps({ref:t.unref(i)},q.$attrs,{"as-child":n.asChild,as:q.as,"data-side":x.value,"data-align":b.value,style:{animation:t.unref(M)?void 0:"none"}}),{default:t.withCtx(()=>[t.renderSlot(q.$slots,"default")]),_:3},16,["as-child","as","data-side","data-align","style"])],4)}}}),QA=eH;function tH(a){const e=ML({nonce:t.ref()});return t.computed(()=>{var n;return(a==null?void 0:a.value)||((n=e.nonce)==null?void 0:n.value)})}var aH=t.defineComponent({__name:"Label",props:{for:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"label"}},setup(a){const e=a;return me(),(n,o)=>(t.openBlock(),t.createBlock(t.unref(we),t.mergeProps(e,{onMousedown:o[0]||(o[0]=r=>{!r.defaultPrevented&&r.detail>1&&r.preventDefault()})}),{default:t.withCtx(()=>[t.renderSlot(n.$slots,"default")]),_:3},16))}}),nH=aH,oH=t.defineComponent({__name:"PaginationEllipsis",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(a){const e=a;return me(),(n,o)=>(t.openBlock(),t.createBlock(t.unref(we),t.mergeProps(e,{"data-type":"ellipsis"}),{default:t.withCtx(()=>[t.renderSlot(n.$slots,"default",{},()=>[o[0]||(o[0]=t.createTextVNode("…"))])]),_:3},16))}}),rH=oH;const[Ms,iH]=st("PaginationRoot");var sH=t.defineComponent({__name:"PaginationRoot",props:{page:{type:Number,required:!1},defaultPage:{type:Number,required:!1,default:1},itemsPerPage:{type:Number,required:!0},total:{type:Number,required:!1,default:0},siblingCount:{type:Number,required:!1,default:2},disabled:{type:Boolean,required:!1},showEdges:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"nav"}},emits:["update:page"],setup(a,{emit:e}){const n=a,o=e,{siblingCount:r,disabled:i,showEdges:s}=t.toRefs(n);me();const c=fs(n,"page",o,{defaultValue:n.defaultPage,passive:n.page===void 0}),d=t.computed(()=>Math.max(1,Math.ceil(n.total/(n.itemsPerPage||1))));return iH({page:c,onPageChange(h){c.value=h},pageCount:d,siblingCount:r,disabled:i,showEdges:s}),(h,u)=>(t.openBlock(),t.createBlock(t.unref(we),{as:h.as,"as-child":h.asChild},{default:t.withCtx(()=>[t.renderSlot(h.$slots,"default",{page:t.unref(c),pageCount:d.value})]),_:3},8,["as","as-child"]))}}),lH=sH,cH=t.defineComponent({__name:"PaginationFirst",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(a){const e=a,n=Ms();me();const o=t.computed(()=>n.page.value===1||n.disabled.value);return(r,i)=>(t.openBlock(),t.createBlock(t.unref(we),t.mergeProps(e,{"aria-label":"First Page",type:r.as==="button"?"button":void 0,disabled:o.value,onClick:i[0]||(i[0]=s=>!o.value&&t.unref(n).onPageChange(1))}),{default:t.withCtx(()=>[t.renderSlot(r.$slots,"default",{},()=>[i[1]||(i[1]=t.createTextVNode("First page"))])]),_:3},16,["type","disabled"]))}}),dH=cH,hH=t.defineComponent({__name:"PaginationLast",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(a){const e=a,n=Ms();me();const o=t.computed(()=>n.page.value===n.pageCount.value||n.disabled.value);return(r,i)=>(t.openBlock(),t.createBlock(t.unref(we),t.mergeProps(e,{"aria-label":"Last Page",type:r.as==="button"?"button":void 0,disabled:o.value,onClick:i[0]||(i[0]=s=>!o.value&&t.unref(n).onPageChange(t.unref(n).pageCount.value))}),{default:t.withCtx(()=>[t.renderSlot(r.$slots,"default",{},()=>[i[1]||(i[1]=t.createTextVNode("Last page"))])]),_:3},16,["type","disabled"]))}}),uH=hH;function ka(a,e){const n=e-a+1;return Array.from({length:n},(o,r)=>r+a)}function pH(a){return a.map(e=>typeof e=="number"?{type:"page",value:e}:{type:"ellipsis"})}const LL="ellipsis";function yH(a,e,n,o){const i=e,s=Math.max(a-n,1),c=Math.min(a+n,i);if(o){const h=Math.min(2*n+5,e)-2,u=s>3&&Math.abs(i-h-1+1)>2&&Math.abs(s-1)>2,p=c<i-2&&Math.abs(i-h)>2&&Math.abs(i-c)>2;if(!u&&p)return[...ka(1,h),LL,i];if(u&&!p){const f=ka(i-h+1,i);return[1,LL,...f]}if(u&&p){const f=ka(s,c);return[1,LL,...f,LL,i]}return ka(1,i)}else{const d=n*2+1;return e<d?ka(1,i):a<=n+1?ka(1,d):e-a<=n?ka(e-d+1,i):ka(s,c)}}var fH=t.defineComponent({__name:"PaginationList",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(a){const e=a;me();const n=Ms(),o=t.computed(()=>pH(yH(n.page.value,n.pageCount.value,n.siblingCount.value,n.showEdges.value)));return(r,i)=>(t.openBlock(),t.createBlock(t.unref(we),t.normalizeProps(t.guardReactiveProps(e)),{default:t.withCtx(()=>[t.renderSlot(r.$slots,"default",{items:o.value})]),_:3},16))}}),kH=fH,mH=t.defineComponent({__name:"PaginationListItem",props:{value:{type:Number,required:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(a){const e=a;me();const n=Ms(),o=t.computed(()=>n.page.value===e.value),r=t.computed(()=>n.disabled.value);return(i,s)=>(t.openBlock(),t.createBlock(t.unref(we),t.mergeProps(e,{"data-type":"page","aria-label":`Page ${i.value}`,"aria-current":o.value?"page":void 0,"data-selected":o.value?"true":void 0,disabled:r.value,type:i.as==="button"?"button":void 0,onClick:s[0]||(s[0]=c=>!r.value&&t.unref(n).onPageChange(i.value))}),{default:t.withCtx(()=>[t.renderSlot(i.$slots,"default",{},()=>[t.createTextVNode(t.toDisplayString(i.value),1)])]),_:3},16,["aria-label","aria-current","data-selected","disabled","type"]))}}),gH=mH,MH=t.defineComponent({__name:"PaginationNext",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(a){const e=a;me();const n=Ms(),o=t.computed(()=>n.page.value===n.pageCount.value||n.disabled.value);return(r,i)=>(t.openBlock(),t.createBlock(t.unref(we),t.mergeProps(e,{"aria-label":"Next Page",type:r.as==="button"?"button":void 0,disabled:o.value,onClick:i[0]||(i[0]=s=>!o.value&&t.unref(n).onPageChange(t.unref(n).page.value+1))}),{default:t.withCtx(()=>[t.renderSlot(r.$slots,"default",{},()=>[i[1]||(i[1]=t.createTextVNode("Next page"))])]),_:3},16,["type","disabled"]))}}),bH=MH,xH=t.defineComponent({__name:"PaginationPrev",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(a){const e=a;me();const n=Ms(),o=t.computed(()=>n.page.value===1||n.disabled.value);return(r,i)=>(t.openBlock(),t.createBlock(t.unref(we),t.mergeProps(e,{"aria-label":"Previous Page",type:r.as==="button"?"button":void 0,disabled:o.value,onClick:i[0]||(i[0]=s=>!o.value&&t.unref(n).onPageChange(t.unref(n).page.value-1))}),{default:t.withCtx(()=>[t.renderSlot(r.$slots,"default",{},()=>[i[1]||(i[1]=t.createTextVNode("Prev page"))])]),_:3},16,["type","disabled"]))}}),wH=xH;const vH=[" ","Enter","ArrowUp","ArrowDown"],CH=[" ","Enter"],gt=10;function d1(a,e,n){return a===void 0?!1:Array.isArray(a)?a.some(o=>rI(o,e,n)):rI(a,e,n)}function rI(a,e,n){return a===void 0||e===void 0?!1:typeof a=="string"?a===e:typeof n=="function"?n(a,e):typeof n=="string"?(a==null?void 0:a[n])===(e==null?void 0:e[n]):cE(a,e)}function LH(a){return a==null||a===""||Array.isArray(a)&&a.length===0}const SH={key:0,value:""},[ma,JA]=st("SelectRoot");var IH=t.defineComponent({inheritAttrs:!1,__name:"SelectRoot",props:{open:{type:Boolean,required:!1,default:void 0},defaultOpen:{type:Boolean,required:!1},defaultValue:{type:null,required:!1},modelValue:{type:null,required:!1,default:void 0},by:{type:[String,Function],required:!1},dir:{type:String,required:!1},multiple:{type:Boolean,required:!1},autocomplete:{type:String,required:!1},disabled:{type:Boolean,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:["update:modelValue","update:open"],setup(a,{emit:e}){const n=a,o=e,{required:r,disabled:i,multiple:s,dir:c}=t.toRefs(n),d=fs(n,"modelValue",o,{defaultValue:n.defaultValue??(s.value?[]:void 0),passive:n.modelValue===void 0,deep:!0}),h=fs(n,"open",o,{defaultValue:n.defaultOpen,passive:n.open===void 0}),u=t.ref(),p=t.ref(),y=t.ref({x:0,y:0}),f=t.computed(()=>{var M;return s.value&&Array.isArray(d.value)?((M=d.value)==null?void 0:M.length)===0:US(d.value)});gs({isProvider:!0});const k=EE(c),m=HE(u),g=t.ref(new Set),w=t.computed(()=>Array.from(g.value).map(M=>M.value).join(";"));function S(M){if(s.value){const C=Array.isArray(d.value)?[...d.value]:[],x=C.findIndex(b=>rI(b,M,n.by));x===-1?C.push(M):C.splice(x,1),d.value=[...C]}else d.value=M}function v(M){return Array.from(g.value).find(C=>d1(M,C.value,n.by))}return JA({triggerElement:u,onTriggerChange:M=>{u.value=M},valueElement:p,onValueElementChange:M=>{p.value=M},contentId:"",modelValue:d,onValueChange:S,by:n.by,open:h,multiple:s,required:r,onOpenChange:M=>{h.value=M},dir:k,triggerPointerDownPosRef:y,disabled:i,isEmptyModelValue:f,optionsSet:g,onOptionAdd:M=>{const C=v(M.value);C&&g.value.delete(C),g.value.add(M)},onOptionRemove:M=>{const C=v(M.value);C&&g.value.delete(C)}}),(M,C)=>(t.openBlock(),t.createBlock(t.unref(ZA),null,{default:t.withCtx(()=>[t.renderSlot(M.$slots,"default",{modelValue:t.unref(d),open:t.unref(h)}),t.unref(m)?(t.openBlock(),t.createBlock(BH,{key:w.value,"aria-hidden":"true",tabindex:"-1",multiple:t.unref(s),required:t.unref(r),name:M.name,autocomplete:M.autocomplete,disabled:t.unref(i),value:t.unref(d)},{default:t.withCtx(()=>[t.unref(US)(t.unref(d))?(t.openBlock(),t.createElementBlock("option",SH)):t.createCommentVNode("v-if",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Array.from(g.value),x=>(t.openBlock(),t.createElementBlock("option",t.mergeProps({key:x.value??""},{ref_for:!0},x),null,16))),128))]),_:1},8,["multiple","required","name","autocomplete","disabled","value"])):t.createCommentVNode("v-if",!0)]),_:3}))}}),_H=IH,AH=t.defineComponent({__name:"BubbleSelect",props:{autocomplete:{type:String,required:!1},autofocus:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},form:{type:String,required:!1},multiple:{type:Boolean,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1},size:{type:Number,required:!1},value:{type:null,required:!1}},setup(a){const e=a,n=t.ref(),o=ma();t.watch(()=>e.value,(i,s)=>{const c=window.HTMLSelectElement.prototype,h=Object.getOwnPropertyDescriptor(c,"value").set;if(i!==s&&h&&n.value){const u=new Event("change",{bubbles:!0});h.call(n.value,i),n.value.dispatchEvent(u)}});function r(i){o.onValueChange(i.target.value)}return(i,s)=>(t.openBlock(),t.createBlock(t.unref(KA),{"as-child":""},{default:t.withCtx(()=>[t.createElementVNode("select",t.mergeProps({ref_key:"selectElement",ref:n},e,{onInput:r}),[t.renderSlot(i.$slots,"default")],16)]),_:3}))}}),BH=AH,zH=t.defineComponent({__name:"SelectPopperPosition",props:{side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1,default:"start"},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1,default:gt},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(a){const n=Ze(a);return(o,r)=>(t.openBlock(),t.createBlock(t.unref(QA),t.mergeProps(t.unref(n),{style:{boxSizing:"border-box","--reka-select-content-transform-origin":"var(--reka-popper-transform-origin)","--reka-select-content-available-width":"var(--reka-popper-available-width)","--reka-select-content-available-height":"var(--reka-popper-available-height)","--reka-select-trigger-width":"var(--reka-popper-anchor-width)","--reka-select-trigger-height":"var(--reka-popper-anchor-height)"}}),{default:t.withCtx(()=>[t.renderSlot(o.$slots,"default")]),_:3},16))}}),VH=zH;const qH={onViewportChange:()=>{},itemTextRefCallback:()=>{},itemRefCallback:()=>{}},[Ui,eB]=st("SelectContent");var PH=t.defineComponent({__name:"SelectContentImpl",props:{position:{type:String,required:!1,default:"item-aligned"},bodyLock:{type:Boolean,required:!1,default:!0},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1,default:"start"},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1,default:!0}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(a,{emit:e}){const n=a,o=e,r=ma();TE(),vA(n.bodyLock);const{CollectionSlot:i,getItems:s}=gs(),c=t.ref();IA(c);const{search:d,handleTypeaheadSearch:h}=_A(),u=t.ref(),p=t.ref(),y=t.ref(),f=t.ref(!1),k=t.ref(!1),m=t.ref(!1);function g(){p.value&&c.value&&HA([p.value,c.value])}t.watch(f,()=>{g()});const{onOpenChange:w,triggerPointerDownPosRef:S}=r;t.watchEffect(x=>{if(!c.value)return;let b={x:0,y:0};const L=V=>{var A,q;b={x:Math.abs(Math.round(V.pageX)-(((A=S.value)==null?void 0:A.x)??0)),y:Math.abs(Math.round(V.pageY)-(((q=S.value)==null?void 0:q.y)??0))}},I=V=>{var A;V.pointerType!=="touch"&&(b.x<=10&&b.y<=10?V.preventDefault():(A=c.value)!=null&&A.contains(V.target)||w(!1),document.removeEventListener("pointermove",L),S.value=null)};S.value!==null&&(document.addEventListener("pointermove",L),document.addEventListener("pointerup",I,{capture:!0,once:!0})),x(()=>{document.removeEventListener("pointermove",L),document.removeEventListener("pointerup",I,{capture:!0})})});function v(x){const b=x.ctrlKey||x.altKey||x.metaKey;if(x.key==="Tab"&&x.preventDefault(),!b&&x.key.length===1&&h(x.key,s()),["ArrowUp","ArrowDown","Home","End"].includes(x.key)){let I=[...s().map(V=>V.ref)];if(["ArrowUp","End"].includes(x.key)&&(I=I.slice().reverse()),["ArrowUp","ArrowDown"].includes(x.key)){const V=x.target,A=I.indexOf(V);I=I.slice(A+1)}setTimeout(()=>HA(I)),x.preventDefault()}}const M=t.computed(()=>n.position==="popper"?n:{}),C=Ze(M.value);return eB({content:c,viewport:u,onViewportChange:x=>{u.value=x},itemRefCallback:(x,b,L)=>{const I=!k.value&&!L,V=d1(r.modelValue.value,b,r.by);if(r.multiple.value){if(m.value)return;(V||I)&&(p.value=x,V&&(m.value=!0))}else(V||I)&&(p.value=x);I&&(k.value=!0)},selectedItem:p,selectedItemText:y,onItemLeave:()=>{var x;(x=c.value)==null||x.focus()},itemTextRefCallback:(x,b,L)=>{const I=!k.value&&!L;(d1(r.modelValue.value,b,r.by)||I)&&(y.value=x)},focusSelectedItem:g,position:n.position,isPositioned:f,searchRef:d}),(x,b)=>(t.openBlock(),t.createBlock(t.unref(i),null,{default:t.withCtx(()=>[t.createVNode(t.unref(TA),{"as-child":"",onMountAutoFocus:b[6]||(b[6]=t.withModifiers(()=>{},["prevent"])),onUnmountAutoFocus:b[7]||(b[7]=L=>{var I;o("closeAutoFocus",L),!L.defaultPrevented&&((I=t.unref(r).triggerElement.value)==null||I.focus({preventScroll:!0}),L.preventDefault())})},{default:t.withCtx(()=>[t.createVNode(t.unref(eI),{"as-child":"","disable-outside-pointer-events":x.disableOutsidePointerEvents,onFocusOutside:b[2]||(b[2]=t.withModifiers(()=>{},["prevent"])),onDismiss:b[3]||(b[3]=L=>t.unref(r).onOpenChange(!1)),onEscapeKeyDown:b[4]||(b[4]=L=>o("escapeKeyDown",L)),onPointerDownOutside:b[5]||(b[5]=L=>o("pointerDownOutside",L))},{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(x.position==="popper"?VH:HH),t.mergeProps({...x.$attrs,...t.unref(C)},{id:t.unref(r).contentId,ref:L=>{const I=t.unref(Et)(L);I!=null&&I.hasAttribute("data-reka-popper-content-wrapper")?c.value=I.firstElementChild:c.value=I},role:"listbox","data-state":t.unref(r).open.value?"open":"closed",dir:t.unref(r).dir.value,style:{display:"flex",flexDirection:"column",outline:"none"},onContextmenu:b[0]||(b[0]=t.withModifiers(()=>{},["prevent"])),onPlaced:b[1]||(b[1]=L=>f.value=!0),onKeydown:v}),{default:t.withCtx(()=>[t.renderSlot(x.$slots,"default")]),_:3},16,["id","data-state","dir","onKeydown"]))]),_:3},8,["disable-outside-pointer-events"])]),_:3})]),_:3}))}}),DH=PH;const[iI,EH]=st("SelectItemAlignedPosition");var TH=t.defineComponent({inheritAttrs:!1,__name:"SelectItemAlignedPosition",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["placed"],setup(a,{emit:e}){const n=a,o=e,{getItems:r}=gs(),i=ma(),s=Ui(),c=t.ref(!1),d=t.ref(!0),h=t.ref(),{forwardRef:u,currentElement:p}=me(),{viewport:y,selectedItem:f,selectedItemText:k,focusSelectedItem:m}=s;function g(){if(i.triggerElement.value&&i.valueElement.value&&h.value&&p.value&&(y!=null&&y.value)&&(f!=null&&f.value)&&(k!=null&&k.value)){const v=i.triggerElement.value.getBoundingClientRect(),M=p.value.getBoundingClientRect(),C=i.valueElement.value.getBoundingClientRect(),x=k.value.getBoundingClientRect();if(i.dir.value!=="rtl"){const ue=x.left-M.left,ve=C.left-ue,le=v.left-ve,X=v.width+le,P=Math.max(X,M.width),$=window.innerWidth-gt,Q=fA(ve,gt,Math.max(gt,$-P));h.value.style.minWidth=`${X}px`,h.value.style.left=`${Q}px`}else{const ue=M.right-x.right,ve=window.innerWidth-C.right-ue,le=window.innerWidth-v.right-ve,X=v.width+le,P=Math.max(X,M.width),$=window.innerWidth-gt,Q=fA(ve,gt,Math.max(gt,$-P));h.value.style.minWidth=`${X}px`,h.value.style.right=`${Q}px`}const b=r().map(ue=>ue.ref),L=window.innerHeight-gt*2,I=y.value.scrollHeight,V=window.getComputedStyle(p.value),A=Number.parseInt(V.borderTopWidth,10),q=Number.parseInt(V.paddingTop,10),O=Number.parseInt(V.borderBottomWidth,10),H=Number.parseInt(V.paddingBottom,10),W=A+q+I+H+O,T=Math.min(f.value.offsetHeight*5,W),j=window.getComputedStyle(y.value),R=Number.parseInt(j.paddingTop,10),Y=Number.parseInt(j.paddingBottom,10),B=v.top+v.height/2-gt,z=L-B,U=f.value.offsetHeight/2,oe=f.value.offsetTop+U,ee=A+q+oe,de=W-ee;if(ee<=B){const ue=f.value===b[b.length-1];h.value.style.bottom="0px";const ve=p.value.clientHeight-y.value.offsetTop-y.value.offsetHeight,le=Math.max(z,U+(ue?Y:0)+ve+O),X=ee+le;h.value.style.height=`${X}px`}else{const ue=f.value===b[0];h.value.style.top="0px";const le=Math.max(B,A+y.value.offsetTop+(ue?R:0)+U)+de;h.value.style.height=`${le}px`,y.value.scrollTop=ee-B+y.value.offsetTop}h.value.style.margin=`${gt}px 0`,h.value.style.minHeight=`${T}px`,h.value.style.maxHeight=`${L}px`,o("placed"),requestAnimationFrame(()=>c.value=!0)}}const w=t.ref("");t.onMounted(async()=>{await t.nextTick(),g(),p.value&&(w.value=window.getComputedStyle(p.value).zIndex)});function S(v){v&&d.value===!0&&(g(),m==null||m(),d.value=!1)}return zE(i.triggerElement,()=>{g()}),EH({contentWrapper:h,shouldExpandOnScrollRef:c,onScrollButtonChange:S}),(v,M)=>(t.openBlock(),t.createElementBlock("div",{ref_key:"contentWrapperElement",ref:h,style:t.normalizeStyle({display:"flex",flexDirection:"column",position:"fixed",zIndex:w.value})},[t.createVNode(t.unref(we),t.mergeProps({ref:t.unref(u),style:{boxSizing:"border-box",maxHeight:"100%"}},{...v.$attrs,...n}),{default:t.withCtx(()=>[t.renderSlot(v.$slots,"default")]),_:3},16)],4))}}),HH=TH,jH=t.defineComponent({inheritAttrs:!1,__name:"SelectProvider",props:{context:{type:Object,required:!0}},setup(a){return JA(a.context),eB(qH),(n,o)=>t.renderSlot(n.$slots,"default")}}),OH=jH;const FH={key:1};var RH=t.defineComponent({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean,required:!1},position:{type:String,required:!1},bodyLock:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(a,{emit:e}){const n=a,r=mt(n,e),i=ma(),s=t.ref();t.onMounted(()=>{s.value=new DocumentFragment});const c=t.ref(),d=t.computed(()=>n.forceMount||i.open.value),h=t.ref(d.value);return t.watch(d,()=>{setTimeout(()=>h.value=d.value)}),(u,p)=>{var y;return d.value||h.value||(y=c.value)!=null&&y.present?(t.openBlock(),t.createBlock(t.unref(CL),{key:0,ref_key:"presenceRef",ref:c,present:d.value},{default:t.withCtx(()=>[t.createVNode(DH,t.normalizeProps(t.guardReactiveProps({...t.unref(r),...u.$attrs})),{default:t.withCtx(()=>[t.renderSlot(u.$slots,"default")]),_:3},16)]),_:3},8,["present"])):s.value?(t.openBlock(),t.createElementBlock("div",FH,[(t.openBlock(),t.createBlock(t.Teleport,{to:s.value},[t.createVNode(OH,{context:t.unref(i)},{default:t.withCtx(()=>[t.renderSlot(u.$slots,"default")]),_:3},8,["context"])],8,["to"]))])):t.createCommentVNode("v-if",!0)}}}),NH=RH,$H=t.defineComponent({__name:"SelectIcon",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(a){return(e,n)=>(t.openBlock(),t.createBlock(t.unref(we),{"aria-hidden":"true",as:e.as,"as-child":e.asChild},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default",{},()=>[n[0]||(n[0]=t.createTextVNode("▼"))])]),_:3},8,["as","as-child"]))}}),UH=$H;const[tB,WH]=st("SelectItem");var GH=t.defineComponent({__name:"SelectItem",props:{value:{type:null,required:!0},disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["select"],setup(a,{emit:e}){const n=a,o=e,{disabled:r}=t.toRefs(n),i=ma(),s=Ui(),{forwardRef:c,currentElement:d}=me(),{CollectionItem:h}=gs(),u=t.computed(()=>{var M;return d1((M=i.modelValue)==null?void 0:M.value,n.value,i.by)}),p=t.ref(!1),y=t.ref(n.textValue??""),f=ms(void 0,"reka-select-item-text"),k="select.select";async function m(M){if(M.defaultPrevented)return;const C={originalEvent:M,value:n.value};$S(k,g,C)}async function g(M){await t.nextTick(),o("select",M),!M.defaultPrevented&&(r.value||(i.onValueChange(n.value),i.multiple.value||i.onOpenChange(!1)))}async function w(M){var C,x;await t.nextTick(),!M.defaultPrevented&&(r.value?(C=s.onItemLeave)==null||C.call(s):(x=M.currentTarget)==null||x.focus({preventScroll:!0}))}async function S(M){var C;await t.nextTick(),!M.defaultPrevented&&M.currentTarget===at()&&((C=s.onItemLeave)==null||C.call(s))}async function v(M){var x;await t.nextTick(),!(M.defaultPrevented||((x=s.searchRef)==null?void 0:x.value)!==""&&M.key===" ")&&(CH.includes(M.key)&&m(M),M.key===" "&&M.preventDefault())}if(n.value==="")throw new Error("A <SelectItem /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return t.onMounted(()=>{d.value&&s.itemRefCallback(d.value,n.value,n.disabled)}),WH({value:n.value,disabled:r,textId:f,isSelected:u,onItemTextChange:M=>{y.value=((y.value||(M==null?void 0:M.textContent))??"").trim()}}),(M,C)=>(t.openBlock(),t.createBlock(t.unref(h),{value:{textValue:y.value}},{default:t.withCtx(()=>[t.createVNode(t.unref(we),{ref:t.unref(c),role:"option","aria-labelledby":t.unref(f),"data-highlighted":p.value?"":void 0,"aria-selected":u.value,"data-state":u.value?"checked":"unchecked","aria-disabled":t.unref(r)||void 0,"data-disabled":t.unref(r)?"":void 0,tabindex:t.unref(r)?void 0:-1,as:M.as,"as-child":M.asChild,onFocus:C[0]||(C[0]=x=>p.value=!0),onBlur:C[1]||(C[1]=x=>p.value=!1),onPointerup:m,onPointerdown:C[2]||(C[2]=x=>{x.currentTarget.focus({preventScroll:!0})}),onTouchend:C[3]||(C[3]=t.withModifiers(()=>{},["prevent","stop"])),onPointermove:w,onPointerleave:S,onKeydown:v},{default:t.withCtx(()=>[t.renderSlot(M.$slots,"default")]),_:3},8,["aria-labelledby","data-highlighted","aria-selected","data-state","aria-disabled","data-disabled","tabindex","as","as-child"])]),_:3},8,["value"]))}}),KH=GH,XH=t.defineComponent({__name:"SelectItemIndicator",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(a){const e=a,n=tB();return(o,r)=>t.unref(n).isSelected.value?(t.openBlock(),t.createBlock(t.unref(we),t.mergeProps({key:0,"aria-hidden":"true"},e),{default:t.withCtx(()=>[t.renderSlot(o.$slots,"default")]),_:3},16)):t.createCommentVNode("v-if",!0)}}),ZH=XH,YH=t.defineComponent({inheritAttrs:!1,__name:"SelectItemText",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(a){const e=a,n=ma(),o=Ui(),r=tB(),{forwardRef:i,currentElement:s}=me(),c=t.computed(()=>{var d,h;return{value:r.value,disabled:r.disabled.value,textContent:((d=s.value)==null?void 0:d.textContent)??((h=r.value)==null?void 0:h.toString())??""}});return t.onMounted(()=>{s.value&&(r.onItemTextChange(s.value),o.itemTextRefCallback(s.value,r.value,r.disabled.value),n.onOptionAdd(c.value))}),t.onUnmounted(()=>{n.onOptionRemove(c.value)}),(d,h)=>(t.openBlock(),t.createBlock(t.unref(we),t.mergeProps({id:t.unref(r).textId,ref:t.unref(i)},{...e,...d.$attrs}),{default:t.withCtx(()=>[t.renderSlot(d.$slots,"default")]),_:3},16,["id"]))}}),QH=YH,JH=t.defineComponent({__name:"SelectPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createBlock(t.unref(nI),t.normalizeProps(t.guardReactiveProps(e)),{default:t.withCtx(()=>[t.renderSlot(n.$slots,"default")]),_:3},16))}}),ej=JH,tj=t.defineComponent({__name:"SelectScrollButtonImpl",emits:["autoScroll"],setup(a,{emit:e}){const n=e,{getItems:o}=gs(),r=Ui(),i=t.ref(null);function s(){i.value!==null&&(window.clearInterval(i.value),i.value=null)}t.watchEffect(()=>{const h=o().map(u=>u.ref).find(u=>u===at());h==null||h.scrollIntoView({block:"nearest"})});function c(){i.value===null&&(i.value=window.setInterval(()=>{n("autoScroll")},50))}function d(){var h;(h=r.onItemLeave)==null||h.call(r),i.value===null&&(i.value=window.setInterval(()=>{n("autoScroll")},50))}return t.onBeforeUnmount(()=>s()),(h,u)=>{var p;return t.openBlock(),t.createBlock(t.unref(we),t.mergeProps({"aria-hidden":"true",style:{flexShrink:0}},(p=h.$parent)==null?void 0:p.$props,{onPointerdown:c,onPointermove:d,onPointerleave:u[0]||(u[0]=()=>{s()})}),{default:t.withCtx(()=>[t.renderSlot(h.$slots,"default")]),_:3},16)}}}),aB=tj,aj=t.defineComponent({__name:"SelectScrollDownButton",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(a){const e=Ui(),n=e.position==="item-aligned"?iI():void 0,{forwardRef:o,currentElement:r}=me(),i=t.ref(!1);return t.watchEffect(s=>{var c,d;if((c=e.viewport)!=null&&c.value&&((d=e.isPositioned)!=null&&d.value)){let u=function(){const p=h.scrollHeight-h.clientHeight;i.value=Math.ceil(h.scrollTop)<p};const h=e.viewport.value;u(),h.addEventListener("scroll",u),s(()=>h.removeEventListener("scroll",u))}}),t.watch(r,()=>{r.value&&(n==null||n.onScrollButtonChange(r.value))}),(s,c)=>i.value?(t.openBlock(),t.createBlock(aB,{key:0,ref:t.unref(o),onAutoScroll:c[0]||(c[0]=()=>{const{viewport:d,selectedItem:h}=t.unref(e);d!=null&&d.value&&(h!=null&&h.value)&&(d.value.scrollTop=d.value.scrollTop+h.value.offsetHeight)})},{default:t.withCtx(()=>[t.renderSlot(s.$slots,"default")]),_:3},512)):t.createCommentVNode("v-if",!0)}}),nj=aj,oj=t.defineComponent({__name:"SelectScrollUpButton",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(a){const e=Ui(),n=e.position==="item-aligned"?iI():void 0,{forwardRef:o,currentElement:r}=me(),i=t.ref(!1);return t.watchEffect(s=>{var c,d;if((c=e.viewport)!=null&&c.value&&((d=e.isPositioned)!=null&&d.value)){let u=function(){i.value=h.scrollTop>0};const h=e.viewport.value;u(),h.addEventListener("scroll",u),s(()=>h.removeEventListener("scroll",u))}}),t.watch(r,()=>{r.value&&(n==null||n.onScrollButtonChange(r.value))}),(s,c)=>i.value?(t.openBlock(),t.createBlock(aB,{key:0,ref:t.unref(o),onAutoScroll:c[0]||(c[0]=()=>{const{viewport:d,selectedItem:h}=t.unref(e);d!=null&&d.value&&(h!=null&&h.value)&&(d.value.scrollTop=d.value.scrollTop-h.value.offsetHeight)})},{default:t.withCtx(()=>[t.renderSlot(s.$slots,"default")]),_:3},512)):t.createCommentVNode("v-if",!0)}}),rj=oj,ij=t.defineComponent({__name:"SelectTrigger",props:{disabled:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(a){const e=a,n=ma(),{forwardRef:o,currentElement:r}=me(),i=t.computed(()=>{var y;return((y=n.disabled)==null?void 0:y.value)||e.disabled});n.contentId||(n.contentId=ms(void 0,"reka-select-content")),t.onMounted(()=>{n.onTriggerChange(r.value)});const{getItems:s}=gs(),{search:c,handleTypeaheadSearch:d,resetTypeahead:h}=_A();function u(){i.value||(n.onOpenChange(!0),h())}function p(y){u(),n.triggerPointerDownPosRef.value={x:Math.round(y.pageX),y:Math.round(y.pageY)}}return(y,f)=>(t.openBlock(),t.createBlock(t.unref(YA),{"as-child":"",reference:y.reference},{default:t.withCtx(()=>{var k,m,g,w;return[t.createVNode(t.unref(we),{ref:t.unref(o),role:"combobox",type:y.as==="button"?"button":void 0,"aria-controls":t.unref(n).contentId,"aria-expanded":t.unref(n).open.value||!1,"aria-required":(k=t.unref(n).required)==null?void 0:k.value,"aria-autocomplete":"none",disabled:i.value,dir:(m=t.unref(n))==null?void 0:m.dir.value,"data-state":(g=t.unref(n))!=null&&g.open.value?"open":"closed","data-disabled":i.value?"":void 0,"data-placeholder":t.unref(LH)((w=t.unref(n).modelValue)==null?void 0:w.value)?"":void 0,"as-child":y.asChild,as:y.as,onClick:f[0]||(f[0]=S=>{var v;(v=S==null?void 0:S.currentTarget)==null||v.focus()}),onPointerdown:f[1]||(f[1]=S=>{if(S.pointerType==="touch")return S.preventDefault();const v=S.target;v.hasPointerCapture(S.pointerId)&&v.releasePointerCapture(S.pointerId),S.button===0&&S.ctrlKey===!1&&(p(S),S.preventDefault())}),onPointerup:f[2]||(f[2]=t.withModifiers(S=>{S.pointerType==="touch"&&p(S)},["prevent"])),onKeydown:f[3]||(f[3]=S=>{const v=t.unref(c)!=="";!(S.ctrlKey||S.altKey||S.metaKey)&&S.key.length===1&&v&&S.key===" "||(t.unref(d)(S.key,t.unref(s)()),t.unref(vH).includes(S.key)&&(u(),S.preventDefault()))})},{default:t.withCtx(()=>[t.renderSlot(y.$slots,"default")]),_:3},8,["type","aria-controls","aria-expanded","aria-required","disabled","dir","data-state","data-disabled","data-placeholder","as-child","as"])]}),_:3},8,["reference"]))}}),sj=ij,lj=t.defineComponent({__name:"SelectValue",props:{placeholder:{type:String,required:!1,default:""},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(a){const e=a,{forwardRef:n,currentElement:o}=me(),r=ma();t.onMounted(()=>{r.valueElement=o});const i=t.computed(()=>{var u;let c=[];const d=Array.from(r.optionsSet.value),h=p=>d.find(y=>d1(p,y.value,r.by));return Array.isArray(r.modelValue.value)?c=r.modelValue.value.map(p=>{var y;return((y=h(p))==null?void 0:y.textContent)??""}):c=[((u=h(r.modelValue.value))==null?void 0:u.textContent)??""],c.filter(Boolean)}),s=t.computed(()=>i.value.length?i.value.join(", "):e.placeholder);return(c,d)=>(t.openBlock(),t.createBlock(t.unref(we),{ref:t.unref(n),as:c.as,"as-child":c.asChild,style:{pointerEvents:"none"},"data-placeholder":i.value.length?void 0:e.placeholder},{default:t.withCtx(()=>[t.renderSlot(c.$slots,"default",{selectedLabel:i.value,modelValue:t.unref(r).modelValue.value},()=>[t.createTextVNode(t.toDisplayString(s.value),1)])]),_:3},8,["as","as-child","data-placeholder"]))}}),cj=lj,dj=t.defineComponent({__name:"SelectViewport",props:{nonce:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(a){const e=a,{nonce:n}=t.toRefs(e),o=tH(n),r=Ui(),i=r.position==="item-aligned"?iI():void 0,{forwardRef:s,currentElement:c}=me();t.onMounted(()=>{r==null||r.onViewportChange(c.value)});const d=t.ref(0);function h(u){const p=u.currentTarget,{shouldExpandOnScrollRef:y,contentWrapper:f}=i??{};if(y!=null&&y.value&&(f!=null&&f.value)){const k=Math.abs(d.value-p.scrollTop);if(k>0){const m=window.innerHeight-gt*2,g=Number.parseFloat(f.value.style.minHeight),w=Number.parseFloat(f.value.style.height),S=Math.max(g,w);if(S<m){const v=S+k,M=Math.min(m,v),C=v-M;f.value.style.height=`${M}px`,f.value.style.bottom==="0px"&&(p.scrollTop=C>0?C:0,f.value.style.justifyContent="flex-end")}}}d.value=p.scrollTop}return(u,p)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createVNode(t.unref(we),t.mergeProps({ref:t.unref(s),"data-reka-select-viewport":"",role:"presentation"},{...u.$attrs,...e},{style:{position:"relative",flex:1,overflow:"hidden auto"},onScroll:h}),{default:t.withCtx(()=>[t.renderSlot(u.$slots,"default")]),_:3},16),t.createVNode(t.unref(we),{as:"style",nonce:t.unref(o)},{default:t.withCtx(()=>p[0]||(p[0]=[t.createTextVNode(" /* Hide scrollbars cross-browser and enable momentum scroll for touch devices */ [data-reka-select-viewport] { scrollbar-width:none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } [data-reka-select-viewport]::-webkit-scrollbar { display: none; } ")])),_:1,__:[0]},8,["nonce"])],64))}}),hj=dj,uj=t.defineComponent({__name:"BaseSeparator",props:{orientation:{type:String,required:!1,default:"horizontal"},decorative:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(a){const e=a,n=["horizontal","vertical"];function o(c){return n.includes(c)}const r=t.computed(()=>o(e.orientation)?e.orientation:"horizontal"),i=t.computed(()=>r.value==="vertical"?e.orientation:void 0),s=t.computed(()=>e.decorative?{role:"none"}:{"aria-orientation":i.value,role:"separator"});return(c,d)=>(t.openBlock(),t.createBlock(t.unref(we),t.mergeProps({as:c.as,"as-child":c.asChild,"data-orientation":r.value},s.value),{default:t.withCtx(()=>[t.renderSlot(c.$slots,"default")]),_:3},16,["as","as-child","data-orientation"]))}}),pj=uj,yj=t.defineComponent({__name:"Separator",props:{orientation:{type:String,required:!1,default:"horizontal"},decorative:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createBlock(pj,t.normalizeProps(t.guardReactiveProps(e)),{default:t.withCtx(()=>[t.renderSlot(n.$slots,"default")]),_:3},16))}}),fj=yj;const[sI,kj]=st("TooltipProvider");var mj=t.defineComponent({inheritAttrs:!1,__name:"TooltipProvider",props:{delayDuration:{type:Number,required:!1,default:700},skipDelayDuration:{type:Number,required:!1,default:300},disableHoverableContent:{type:Boolean,required:!1,default:!1},disableClosingTrigger:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},ignoreNonKeyboardFocus:{type:Boolean,required:!1,default:!1}},setup(a){const e=a,{delayDuration:n,skipDelayDuration:o,disableHoverableContent:r,disableClosingTrigger:i,ignoreNonKeyboardFocus:s,disabled:c}=t.toRefs(e);me();const d=t.ref(!0),h=t.ref(!1),{start:u,stop:p}=MA(()=>{d.value=!0},o,{immediate:!1});return kj({isOpenDelayed:d,delayDuration:n,onOpen(){p(),d.value=!1},onClose(){u()},isPointerInTransitRef:h,disableHoverableContent:r,disableClosingTrigger:i,disabled:c,ignoreNonKeyboardFocus:s}),(y,f)=>t.renderSlot(y.$slots,"default")}}),gj=mj;const nB="tooltip.open",[SL,Mj]=st("TooltipRoot");var bj=t.defineComponent({__name:"TooltipRoot",props:{defaultOpen:{type:Boolean,required:!1,default:!1},open:{type:Boolean,required:!1,default:void 0},delayDuration:{type:Number,required:!1,default:void 0},disableHoverableContent:{type:Boolean,required:!1,default:void 0},disableClosingTrigger:{type:Boolean,required:!1,default:void 0},disabled:{type:Boolean,required:!1,default:void 0},ignoreNonKeyboardFocus:{type:Boolean,required:!1,default:void 0}},emits:["update:open"],setup(a,{emit:e}){const n=a,o=e;me();const r=sI(),i=t.computed(()=>n.disableHoverableContent??r.disableHoverableContent.value),s=t.computed(()=>n.disableClosingTrigger??r.disableClosingTrigger.value),c=t.computed(()=>n.disabled??r.disabled.value),d=t.computed(()=>n.delayDuration??r.delayDuration.value),h=t.computed(()=>n.ignoreNonKeyboardFocus??r.ignoreNonKeyboardFocus.value),u=fs(n,"open",o,{defaultValue:n.defaultOpen,passive:n.open===void 0});t.watch(u,v=>{r.onClose&&(v?(r.onOpen(),document.dispatchEvent(new CustomEvent(nB))):r.onClose())});const p=t.ref(!1),y=t.ref(),f=t.computed(()=>u.value?p.value?"delayed-open":"instant-open":"closed"),{start:k,stop:m}=MA(()=>{p.value=!0,u.value=!0},d,{immediate:!1});function g(){m(),p.value=!1,u.value=!0}function w(){m(),u.value=!1}function S(){k()}return Mj({contentId:"",open:u,stateAttribute:f,trigger:y,onTriggerChange(v){y.value=v},onTriggerEnter(){r.isOpenDelayed.value?S():g()},onTriggerLeave(){i.value?w():m()},onOpen:g,onClose:w,disableHoverableContent:i,disableClosingTrigger:s,disabled:c,ignoreNonKeyboardFocus:h}),(v,M)=>(t.openBlock(),t.createBlock(t.unref(ZA),null,{default:t.withCtx(()=>[t.renderSlot(v.$slots,"default",{open:t.unref(u)})]),_:3}))}}),xj=bj,wj=t.defineComponent({__name:"TooltipContentImpl",props:{ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1,default:"top"},sideOffset:{type:Number,required:!1,default:0},align:{type:null,required:!1,default:"center"},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1,default:!0},collisionBoundary:{type:null,required:!1,default:()=>[]},collisionPadding:{type:[Number,Object],required:!1,default:0},arrowPadding:{type:Number,required:!1,default:0},sticky:{type:String,required:!1,default:"partial"},hideWhenDetached:{type:Boolean,required:!1,default:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},emits:["escapeKeyDown","pointerDownOutside"],setup(a,{emit:e}){const n=a,o=e,r=SL(),{forwardRef:i,currentElement:s}=me(),c=t.computed(()=>{var h;return n.ariaLabel||((h=s.value)==null?void 0:h.textContent)}),d=t.computed(()=>{const{ariaLabel:h,...u}=n;return u});return t.onMounted(()=>{l1(window,"scroll",h=>{const u=h.target;u!=null&&u.contains(r.trigger.value)&&r.onClose()}),l1(window,nB,r.onClose)}),(h,u)=>(t.openBlock(),t.createBlock(t.unref(eI),{"as-child":"","disable-outside-pointer-events":!1,onEscapeKeyDown:u[0]||(u[0]=p=>o("escapeKeyDown",p)),onPointerDownOutside:u[1]||(u[1]=p=>{var y;t.unref(r).disableClosingTrigger.value&&((y=t.unref(r).trigger.value)!=null&&y.contains(p.target))&&p.preventDefault(),o("pointerDownOutside",p)}),onFocusOutside:u[2]||(u[2]=t.withModifiers(()=>{},["prevent"])),onDismiss:u[3]||(u[3]=p=>t.unref(r).onClose())},{default:t.withCtx(()=>[t.createVNode(t.unref(QA),t.mergeProps({ref:t.unref(i),"data-state":t.unref(r).stateAttribute.value},{...h.$attrs,...d.value},{style:{"--reka-tooltip-content-transform-origin":"var(--reka-popper-transform-origin)","--reka-tooltip-content-available-width":"var(--reka-popper-available-width)","--reka-tooltip-content-available-height":"var(--reka-popper-available-height)","--reka-tooltip-trigger-width":"var(--reka-popper-anchor-width)","--reka-tooltip-trigger-height":"var(--reka-popper-anchor-height)"}}),{default:t.withCtx(()=>[t.renderSlot(h.$slots,"default"),t.createVNode(t.unref(KA),{id:t.unref(r).contentId,role:"tooltip"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(c.value),1)]),_:1},8,["id"])]),_:3},16,["data-state"])]),_:3}))}}),oB=wj,vj=t.defineComponent({__name:"TooltipContentHoverable",props:{ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},setup(a){const n=Ze(a),{forwardRef:o,currentElement:r}=me(),{trigger:i,onClose:s}=SL(),c=sI(),{isPointerInTransit:d,onPointerExit:h}=jE(i,r);return c.isPointerInTransitRef=d,h(()=>{s()}),(u,p)=>(t.openBlock(),t.createBlock(oB,t.mergeProps({ref:t.unref(o)},t.unref(n)),{default:t.withCtx(()=>[t.renderSlot(u.$slots,"default")]),_:3},16))}}),Cj=vj,Lj=t.defineComponent({__name:"TooltipContent",props:{forceMount:{type:Boolean,required:!1},ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1,default:"top"},sideOffset:{type:Number,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},emits:["escapeKeyDown","pointerDownOutside"],setup(a,{emit:e}){const n=a,o=e,r=SL(),i=mt(n,o),{forwardRef:s}=me();return(c,d)=>(t.openBlock(),t.createBlock(t.unref(CL),{present:c.forceMount||t.unref(r).open.value},{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(r).disableHoverableContent.value?oB:Cj),t.mergeProps({ref:t.unref(s)},t.unref(i)),{default:t.withCtx(()=>[t.renderSlot(c.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),Sj=Lj,Ij=t.defineComponent({__name:"TooltipPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createBlock(t.unref(nI),t.normalizeProps(t.guardReactiveProps(e)),{default:t.withCtx(()=>[t.renderSlot(n.$slots,"default")]),_:3},16))}}),_j=Ij,Aj=t.defineComponent({__name:"TooltipTrigger",props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(a){const e=a,n=SL(),o=sI();n.contentId||(n.contentId=ms(void 0,"reka-tooltip-content"));const{forwardRef:r,currentElement:i}=me(),s=t.ref(!1),c=t.ref(!1),d=t.computed(()=>n.disabled.value?{}:{click:m,focus:f,pointermove:p,pointerleave:y,pointerdown:u,blur:k});t.onMounted(()=>{n.onTriggerChange(i.value)});function h(){setTimeout(()=>{s.value=!1},1)}function u(){n.open&&!n.disableClosingTrigger.value&&n.onClose(),s.value=!0,document.addEventListener("pointerup",h,{once:!0})}function p(g){g.pointerType!=="touch"&&!c.value&&!o.isPointerInTransitRef.value&&(n.onTriggerEnter(),c.value=!0)}function y(){n.onTriggerLeave(),c.value=!1}function f(g){var w,S;s.value||n.ignoreNonKeyboardFocus.value&&!((S=(w=g.target).matches)!=null&&S.call(w,":focus-visible"))||n.onOpen()}function k(){n.onClose()}function m(){n.disableClosingTrigger.value||n.onClose()}return(g,w)=>(t.openBlock(),t.createBlock(t.unref(YA),{"as-child":"",reference:g.reference},{default:t.withCtx(()=>[t.createVNode(t.unref(we),t.mergeProps({ref:t.unref(r),"aria-describedby":t.unref(n).open.value?t.unref(n).contentId:void 0,"data-state":t.unref(n).stateAttribute.value,as:g.as,"as-child":e.asChild,"data-grace-area-trigger":""},t.toHandlers(d.value)),{default:t.withCtx(()=>[t.renderSlot(g.$slots,"default")]),_:3},16,["aria-describedby","data-state","as","as-child"])]),_:3},8,["reference"]))}}),Bj=Aj;const Ae=t.defineComponent({__name:"Button",props:{variant:{},size:{},class:{type:[Boolean,null,String,Object,Array]},asChild:{type:Boolean},as:{default:"button"}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createBlock(t.unref(we),{as:a.as,"as-child":a.asChild,class:t.normalizeClass(t.unref(ke)(t.unref(bs)({variant:a.variant,size:a.size}),e.class))},{default:t.withCtx(()=>[t.renderSlot(n.$slots,"default")]),_:3},8,["as","as-child","class"]))}}),bs=i1("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",xs:"h-7 rounded px-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-8 w-8","icon-sm":"size-7","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}}),rB=t.defineComponent({__name:"Tooltip",props:{defaultOpen:{type:Boolean},open:{type:Boolean},delayDuration:{},disableHoverableContent:{type:Boolean},disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},ignoreNonKeyboardFocus:{type:Boolean}},emits:["update:open"],setup(a,{emit:e}){const r=mt(a,e);return(i,s)=>(t.openBlock(),t.createBlock(t.unref(xj),t.normalizeProps(t.guardReactiveProps(t.unref(r))),{default:t.withCtx(()=>[t.renderSlot(i.$slots,"default")]),_:3},16))}}),iB=t.defineComponent({inheritAttrs:!1,__name:"TooltipContent",props:{forceMount:{type:Boolean},ariaLabel:{},asChild:{type:Boolean},as:{},side:{},sideOffset:{default:4},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},class:{type:[Boolean,null,String,Object,Array]}},emits:["escapeKeyDown","pointerDownOutside"],setup(a,{emit:e}){const n=a,o=e,r=Ee(n,"class"),i=mt(r,o);return(s,c)=>(t.openBlock(),t.createBlock(t.unref(_j),null,{default:t.withCtx(()=>[t.createVNode(t.unref(Sj),t.mergeProps({...t.unref(i),...s.$attrs},{class:t.unref(ke)("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",n.class)}),{default:t.withCtx(()=>[t.renderSlot(s.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),sB=t.defineComponent({__name:"TooltipProvider",props:{delayDuration:{},skipDelayDuration:{},disableHoverableContent:{type:Boolean},disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},ignoreNonKeyboardFocus:{type:Boolean}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createBlock(t.unref(gj),t.normalizeProps(t.guardReactiveProps(e)),{default:t.withCtx(()=>[t.renderSlot(n.$slots,"default")]),_:3},16))}}),lB=t.defineComponent({__name:"TooltipTrigger",props:{reference:{},asChild:{type:Boolean},as:{}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createBlock(t.unref(Bj),t.normalizeProps(t.guardReactiveProps(e)),{default:t.withCtx(()=>[t.renderSlot(n.$slots,"default")]),_:3},16))}}),zj={class:"relative z-10"},Vj="rounded-lg font-medium transition-all duration-300 ease-in-out hover:-translate-y-0.5 hover:scale-[1.02] active:translate-y-0 active:scale-[0.98] shadow-[0_3px_0_0_rgba(0,0,0,0.12),0_12px_22px_-10px_rgba(0,0,0,0.35)] hover:shadow-[0_6px_20px_-4px_rgba(0,0,0,0.3),0_10px_40px_-10px_rgba(0,0,0,0.2)] active:shadow-[0_1px_0_0_rgba(0,0,0,0.2),0_4px_8px_-4px_rgba(0,0,0,0.35)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:opacity-60 disabled:cursor-not-allowed disabled:shadow-none disabled:translate-y-0 disabled:scale-100 relative overflow-hidden before:absolute before:inset-0 before:bg-white/20 before:translate-y-full before:transition-transform before:duration-300 hover:before:translate-y-0",qj=t.defineComponent({name:"DCodeButton",inheritAttrs:!1,__name:"DCodeButton",props:{icon:{},text:{default:""},variant:{default:"default"},size:{default:"default"},tooltip:{default:""},bgColor:{default:""},textColor:{default:""},hoverBgColor:{default:""},borderColor:{default:""},disabled:{type:Boolean,default:!1},type:{default:"button"},visible:{type:Boolean,default:!0},skeleton:{type:Boolean,default:!1}},setup(a){const e=t.useAttrs(),n=a,o=t.computed(()=>n.icon&&ha[n.icon]||null),r=t.computed(()=>!!n.tooltip),i=t.computed(()=>n.visible??!0),s=t.computed(()=>{const B=String(n.variant||"default").toLowerCase();return B==="tonal"?"secondary":B==="elevated"?"default":B}),c=t.computed(()=>String(n.bgColor||"").toLowerCase()),d=t.computed(()=>String(n.type||"button").toLowerCase()),h=t.computed(()=>{const{class:B,...z}=e;return z}),u=t.computed(()=>ke(e.class)),p=t.computed(()=>((u.value??"").match(/\b(?:w|h|min-w|min-h|max-w|max-h)-[^\s]+\b/g)??[]).join(" ")),y=t.computed(()=>n.size==="sm"?"h-9":n.size==="lg"?"h-11":n.size==="icon"?"h-10 w-10":"h-10"),f=t.computed(()=>n.size==="icon"?"":!n.text&&n.icon?"w-10":"w-28"),k=t.computed(()=>ke("inline-flex items-center justify-center rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse",y.value,f.value,p.value)),m=t.computed(()=>{const z=(u.value??"").match(/\bbg-(?!gradient)([a-z-]+)(?:-(\d{2,3}))?\b/u);return z?z[0]:null}),g=t.computed(()=>{const z=(u.value??"").match(/\bhover:bg-(?!gradient)([a-z-]+)(?:-(\d{2,3}))?\b/u);return z?z[0]:null}),w=t.computed(()=>!!m.value),S=t.computed(()=>/\bborder-/.test(u.value??"")),v=t.computed(()=>/\bhover:/.test(u.value??"")),M=t.computed(()=>{const B=u.value??"";return s.value!=="outline"?B:B.replaceAll(/\bbg-(?!gradient)[^\s]+\b/gu,"").replaceAll(/\bhover:bg-(?!gradient)[^\s]+\b/gu,"").replaceAll(/\s+/gu," ").trim()}),C=t.ref(null),x=B=>{const z=B.match(/rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*([0-9.]+))?\)/u);return z?{r:Number(z[1]),g:Number(z[2]),b:Number(z[3]),a:z[4]?Number(z[4]):1}:null},b=(B,z)=>{const U=x(B);if(!U)return B;const oe=ee=>Math.max(0,Math.min(255,Math.round(ee)));return`rgba(${oe(U.r*(1-z))}, ${oe(U.g*(1-z))}, ${oe(U.b*(1-z))}, ${U.a})`},L=B=>{if(globalThis.window===void 0)return null;const z=document.createElement("div");z.className=B,z.style.position="absolute",z.style.visibility="hidden",z.style.pointerEvents="none",z.style.width="1px",z.style.height="1px",document.body.appendChild(z);const U=globalThis.getComputedStyle(z).backgroundColor;return z.remove(),!U||U==="transparent"||U==="rgba(0, 0, 0, 0)"?null:U},I=[50,100,200,300,400,500,600,700,800,900,950],V=B=>{const z=I.indexOf(B);return z===-1?B:I[Math.min(I.length-1,z+2)]},A=(B,z)=>{const U=sE[B];if(!U)return null;if(typeof U=="string")return U;if(!z)return null;const oe=U[z];return typeof oe=="string"?oe:null},q=(B,z=!1)=>{if(!B)return null;const U=z?/\bhover:bg-(?!gradient)([a-z-]+)(?:-(\d{2,3}))?\b/u:/\bbg-(?!gradient)([a-z-]+)(?:-(\d{2,3}))?\b/u,oe=B.match(U);return oe?{colorName:oe[1],shade:oe[2]?Number.parseInt(oe[2],10):null}:null},O=()=>{const B=m.value;if(!B){C.value=null;return}const z=q(B),U=z==null?void 0:z.colorName,oe=(z==null?void 0:z.shade)??null,ee=(U?A(U,oe):null)??L(B);if(!ee){C.value=null;return}let de;const ce=q(g.value,!0),ue=ce?A(ce.colorName,ce.shade??null):null;if(ue)de=ue;else if(U&&oe){const ve=V(oe);de=A(U,ve)??b(ee,.2)}else de=b(ee,.2);C.value={"--btn-color":ee,"--btn-color-hover":de}};t.onMounted(()=>{O()}),t.watch([m,g],async()=>{await t.nextTick(),O()});const H=t.computed(()=>{const B=/\bdark:bg-/.test(u.value??"");return!w.value||s.value==="outline"||B?"":C.value?"dcode-btn--fill dcode-btn--fill-hover":v.value?"":"hover:brightness-90"}),W=t.computed(()=>{if(!w.value||s.value!=="outline")return"";const B=["dcode-btn--outline","dcode-btn--outline-hover"];return S.value||B.push("border"),!C.value&&!v.value&&B.push("hover:brightness-90"),B.join(" ")}),T=t.computed(()=>C.value??void 0),j={primary:{bg:"bg-blue-600",text:"text-white",hover:"hover:bg-blue-700",border:"border-blue-600"},success:{bg:"bg-green-600",text:"text-white",hover:"hover:bg-green-700",border:"border-green-600"},warning:{bg:"bg-yellow-500",text:"text-white",hover:"hover:bg-yellow-600",border:"border-yellow-500"},danger:{bg:"bg-red-600",text:"text-white",hover:"hover:bg-red-700",border:"border-red-600"},info:{bg:"bg-cyan-600",text:"text-white",hover:"hover:bg-cyan-700",border:"border-cyan-600"},purple:{bg:"bg-purple-600",text:"text-white",hover:"hover:bg-purple-700",border:"border-purple-600"},pink:{bg:"bg-pink-600",text:"text-white",hover:"hover:bg-pink-700",border:"border-pink-600"},"gradient-blue":{bg:"bg-gradient-to-r from-blue-500 to-cyan-500",text:"text-white",hover:"hover:from-blue-600 hover:to-cyan-600"},"gradient-purple":{bg:"bg-gradient-to-r from-purple-500 to-pink-500",text:"text-white",hover:"hover:from-purple-600 hover:to-pink-600"},"gradient-sunset":{bg:"bg-gradient-to-r from-orange-500 to-red-500",text:"text-white",hover:"hover:from-orange-600 hover:to-red-600"},"gradient-emerald":{bg:"bg-gradient-to-r from-emerald-500 to-teal-500",text:"text-white",hover:"hover:from-emerald-600 hover:to-teal-600"}},R=t.computed(()=>{const B=[],z=c.value?j[c.value]:null;return z?(B.push(z.bg,z.text,z.hover),z.border&&s.value==="outline"&&B.push(z.border)):(c.value&&B.push(c.value),n.textColor&&B.push(n.textColor),n.hoverBgColor&&B.push(n.hoverBgColor),n.borderColor&&B.push(n.borderColor)),B.join(" ")}),Y=t.computed(()=>ke(Vj,M.value,H.value,W.value,R.value));return(B,z)=>i.value?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[a.skeleton?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(k.value),"aria-hidden":"true"},null,2)):(t.openBlock(),t.createBlock(t.unref(sB),{key:1,"delay-duration":0},{default:t.withCtx(()=>[r.value?(t.openBlock(),t.createBlock(t.unref(rB),{key:0},{default:t.withCtx(()=>[t.createVNode(t.unref(lB),{"as-child":""},{default:t.withCtx(()=>[t.createVNode(t.unref(Ae),t.mergeProps({variant:s.value,size:n.size,disabled:n.disabled,type:d.value,class:Y.value,style:T.value},h.value),{default:t.withCtx(()=>[o.value?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(o.value),{key:0,class:"h-[18px] w-[18px]"})):t.createCommentVNode("",!0),n.text?(t.openBlock(),t.createElementBlock("span",{key:1,class:t.normalizeClass(o.value?"ml-1":"")},t.toDisplayString(n.text),3)):t.createCommentVNode("",!0)]),_:1},16,["variant","size","disabled","type","class","style"])]),_:1}),t.createVNode(t.unref(iB),{side:"top","side-offset":8,class:"animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 bg-gray-900 dark:bg-gray-100 text-white dark:text-gray-900 px-3 py-2 rounded-lg text-sm font-medium shadow-xl border-0"},{default:t.withCtx(()=>[t.createElementVNode("span",zj,t.toDisplayString(n.tooltip),1)]),_:1})]),_:1})):(t.openBlock(),t.createBlock(t.unref(Ae),t.mergeProps({key:1,variant:s.value,size:n.size,disabled:n.disabled,type:d.value,class:Y.value,style:T.value},h.value),{default:t.withCtx(()=>[t.renderSlot(B.$slots,"default",{},()=>[o.value?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(o.value),{key:0,class:"h-[18px] w-[18px]"})):t.createCommentVNode("",!0),n.text?(t.openBlock(),t.createElementBlock("span",{key:1,class:t.normalizeClass(o.value?"ml-1":"")},t.toDisplayString(n.text),3)):t.createCommentVNode("",!0)],!0)]),_:3},16,["variant","size","disabled","type","class","style"]))]),_:3}))],64)):t.createCommentVNode("",!0)}}),ga=(a,e)=>{const n=a.__vccOpts||a;for(const[o,r]of e)n[o]=r;return n},xs=ga(qj,[["__scopeId","data-v-9a451047"]]),Pj={key:0,class:"flex items-center justify-between mb-4"},Dj={class:"flex flex-col gap-1"},Ej={key:0,class:"text-lg font-semibold text-neutral-900 dark:text-neutral-50 leading-tight"},Tj={key:1,class:"text-sm text-neutral-500 dark:text-neutral-400"},Hj={key:0,class:"flex items-center gap-2"},jj={class:"relative z-10"},Oj={key:1,class:"mt-6 pt-6 border-t border-neutral-200 dark:border-neutral-800"},Fj={name:"DCodeCard"},lI=t.defineComponent({...Fj,props:{level:{default:1},title:{},subtitle:{},shadow:{type:Boolean,default:!1},border:{type:Boolean,default:!0},padding:{default:"p-6"}},setup(a){const e=a,n=t.computed(()=>{switch(e.level){case 2:return"bg-neutral-50 dark:bg-neutral-800";case 3:return"bg-neutral-100 dark:bg-neutral-700";case 1:default:return"bg-white dark:bg-neutral-900"}});return(o,r)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["transition-shadow duration-300 dcode-card",[n.value,a.padding,{"shadow-md":a.shadow},{"border-transparent":!a.border},{"border-neutral-200 dark:border-neutral-800":a.border&&a.level===1},{"border-neutral-300 dark:border-neutral-700":a.border&&a.level!==1}]])},[a.title||o.$slots.header||o.$slots.actions?(t.openBlock(),t.createElementBlock("div",Pj,[t.createElementVNode("div",Dj,[t.renderSlot(o.$slots,"header",{},()=>[a.title?(t.openBlock(),t.createElementBlock("h3",Ej,t.toDisplayString(a.title),1)):t.createCommentVNode("",!0),a.subtitle?(t.openBlock(),t.createElementBlock("p",Tj,t.toDisplayString(a.subtitle),1)):t.createCommentVNode("",!0)])]),o.$slots.actions?(t.openBlock(),t.createElementBlock("div",Hj,[t.renderSlot(o.$slots,"actions")])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),t.createElementVNode("div",jj,[t.renderSlot(o.$slots,"default")]),o.$slots.footer?(t.openBlock(),t.createElementBlock("div",Oj,[t.renderSlot(o.$slots,"footer")])):t.createCommentVNode("",!0)],2))}});/*!
|
|
8503
8503
|
* @kurkle/color v0.3.4
|
|
8504
8504
|
* https://github.com/kurkle/color#readme
|
|
8505
8505
|
* (c) 2024 Jukka Kurkela
|
|
8506
8506
|
* Released under the MIT License
|
|
8507
|
-
*/function h1(a){return a+.5|0}const Ma=(a,e,n)=>Math.max(Math.min(a,n),e);function u1(a){return Ma(h1(a*2.55),0,255)}function ba(a){return Ma(h1(a*255),0,255)}function Kt(a){return Ma(h1(a/2.55)/100,0,1)}function
|
|
8507
|
+
*/function h1(a){return a+.5|0}const Ma=(a,e,n)=>Math.max(Math.min(a,n),e);function u1(a){return Ma(h1(a*2.55),0,255)}function ba(a){return Ma(h1(a*255),0,255)}function Kt(a){return Ma(h1(a/2.55)/100,0,1)}function cB(a){return Ma(h1(a*100),0,100)}const dt={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},cI=[..."0123456789ABCDEF"],Rj=a=>cI[a&15],Nj=a=>cI[(a&240)>>4]+cI[a&15],IL=a=>(a&240)>>4===(a&15),$j=a=>IL(a.r)&&IL(a.g)&&IL(a.b)&&IL(a.a);function Uj(a){var e=a.length,n;return a[0]==="#"&&(e===4||e===5?n={r:255&dt[a[1]]*17,g:255&dt[a[2]]*17,b:255&dt[a[3]]*17,a:e===5?dt[a[4]]*17:255}:(e===7||e===9)&&(n={r:dt[a[1]]<<4|dt[a[2]],g:dt[a[3]]<<4|dt[a[4]],b:dt[a[5]]<<4|dt[a[6]],a:e===9?dt[a[7]]<<4|dt[a[8]]:255})),n}const Wj=(a,e)=>a<255?e(a):"";function Gj(a){var e=$j(a)?Rj:Nj;return a?"#"+e(a.r)+e(a.g)+e(a.b)+Wj(a.a,e):void 0}const Kj=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function dB(a,e,n){const o=e*Math.min(n,1-n),r=(i,s=(i+a/30)%12)=>n-o*Math.max(Math.min(s-3,9-s,1),-1);return[r(0),r(8),r(4)]}function Xj(a,e,n){const o=(r,i=(r+a/60)%6)=>n-n*e*Math.max(Math.min(i,4-i,1),0);return[o(5),o(3),o(1)]}function Zj(a,e,n){const o=dB(a,1,.5);let r;for(e+n>1&&(r=1/(e+n),e*=r,n*=r),r=0;r<3;r++)o[r]*=1-e-n,o[r]+=e;return o}function Yj(a,e,n,o,r){return a===r?(e-n)/o+(e<n?6:0):e===r?(n-a)/o+2:(a-e)/o+4}function dI(a){const n=a.r/255,o=a.g/255,r=a.b/255,i=Math.max(n,o,r),s=Math.min(n,o,r),c=(i+s)/2;let d,h,u;return i!==s&&(u=i-s,h=c>.5?u/(2-i-s):u/(i+s),d=Yj(n,o,r,u,i),d=d*60+.5),[d|0,h||0,c]}function hI(a,e,n,o){return(Array.isArray(e)?a(e[0],e[1],e[2]):a(e,n,o)).map(ba)}function uI(a,e,n){return hI(dB,a,e,n)}function Qj(a,e,n){return hI(Zj,a,e,n)}function Jj(a,e,n){return hI(Xj,a,e,n)}function hB(a){return(a%360+360)%360}function eO(a){const e=Kj.exec(a);let n=255,o;if(!e)return;e[5]!==o&&(n=e[6]?u1(+e[5]):ba(+e[5]));const r=hB(+e[2]),i=+e[3]/100,s=+e[4]/100;return e[1]==="hwb"?o=Qj(r,i,s):e[1]==="hsv"?o=Jj(r,i,s):o=uI(r,i,s),{r:o[0],g:o[1],b:o[2],a:n}}function tO(a,e){var n=dI(a);n[0]=hB(n[0]+e),n=uI(n),a.r=n[0],a.g=n[1],a.b=n[2]}function aO(a){if(!a)return;const e=dI(a),n=e[0],o=cB(e[1]),r=cB(e[2]);return a.a<255?`hsla(${n}, ${o}%, ${r}%, ${Kt(a.a)})`:`hsl(${n}, ${o}%, ${r}%)`}const uB={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},pB={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function nO(){const a={},e=Object.keys(pB),n=Object.keys(uB);let o,r,i,s,c;for(o=0;o<e.length;o++){for(s=c=e[o],r=0;r<n.length;r++)i=n[r],c=c.replace(i,uB[i]);i=parseInt(pB[s],16),a[c]=[i>>16&255,i>>8&255,i&255]}return a}let _L;function oO(a){_L||(_L=nO(),_L.transparent=[0,0,0,0]);const e=_L[a.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:e.length===4?e[3]:255}}const rO=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function iO(a){const e=rO.exec(a);let n=255,o,r,i;if(e){if(e[7]!==o){const s=+e[7];n=e[8]?u1(s):Ma(s*255,0,255)}return o=+e[1],r=+e[3],i=+e[5],o=255&(e[2]?u1(o):Ma(o,0,255)),r=255&(e[4]?u1(r):Ma(r,0,255)),i=255&(e[6]?u1(i):Ma(i,0,255)),{r:o,g:r,b:i,a:n}}}function sO(a){return a&&(a.a<255?`rgba(${a.r}, ${a.g}, ${a.b}, ${Kt(a.a)})`:`rgb(${a.r}, ${a.g}, ${a.b})`)}const pI=a=>a<=.0031308?a*12.92:Math.pow(a,1/2.4)*1.055-.055,ws=a=>a<=.04045?a/12.92:Math.pow((a+.055)/1.055,2.4);function lO(a,e,n){const o=ws(Kt(a.r)),r=ws(Kt(a.g)),i=ws(Kt(a.b));return{r:ba(pI(o+n*(ws(Kt(e.r))-o))),g:ba(pI(r+n*(ws(Kt(e.g))-r))),b:ba(pI(i+n*(ws(Kt(e.b))-i))),a:a.a+n*(e.a-a.a)}}function AL(a,e,n){if(a){let o=dI(a);o[e]=Math.max(0,Math.min(o[e]+o[e]*n,e===0?360:1)),o=uI(o),a.r=o[0],a.g=o[1],a.b=o[2]}}function yB(a,e){return a&&Object.assign(e||{},a)}function fB(a){var e={r:0,g:0,b:0,a:255};return Array.isArray(a)?a.length>=3&&(e={r:a[0],g:a[1],b:a[2],a:255},a.length>3&&(e.a=ba(a[3]))):(e=yB(a,{r:0,g:0,b:0,a:1}),e.a=ba(e.a)),e}function cO(a){return a.charAt(0)==="r"?iO(a):eO(a)}class p1{constructor(e){if(e instanceof p1)return e;const n=typeof e;let o;n==="object"?o=fB(e):n==="string"&&(o=Uj(e)||oO(e)||cO(e)),this._rgb=o,this._valid=!!o}get valid(){return this._valid}get rgb(){var e=yB(this._rgb);return e&&(e.a=Kt(e.a)),e}set rgb(e){this._rgb=fB(e)}rgbString(){return this._valid?sO(this._rgb):void 0}hexString(){return this._valid?Gj(this._rgb):void 0}hslString(){return this._valid?aO(this._rgb):void 0}mix(e,n){if(e){const o=this.rgb,r=e.rgb;let i;const s=n===i?.5:n,c=2*s-1,d=o.a-r.a,h=((c*d===-1?c:(c+d)/(1+c*d))+1)/2;i=1-h,o.r=255&h*o.r+i*r.r+.5,o.g=255&h*o.g+i*r.g+.5,o.b=255&h*o.b+i*r.b+.5,o.a=s*o.a+(1-s)*r.a,this.rgb=o}return this}interpolate(e,n){return e&&(this._rgb=lO(this._rgb,e._rgb,n)),this}clone(){return new p1(this.rgb)}alpha(e){return this._rgb.a=ba(e),this}clearer(e){const n=this._rgb;return n.a*=1-e,this}greyscale(){const e=this._rgb,n=h1(e.r*.3+e.g*.59+e.b*.11);return e.r=e.g=e.b=n,this}opaquer(e){const n=this._rgb;return n.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return AL(this._rgb,2,e),this}darken(e){return AL(this._rgb,2,-e),this}saturate(e){return AL(this._rgb,1,e),this}desaturate(e){return AL(this._rgb,1,-e),this}rotate(e){return tO(this._rgb,e),this}}/*!
|
|
8508
8508
|
* Chart.js v4.5.1
|
|
8509
8509
|
* https://www.chartjs.org
|
|
8510
8510
|
* (c) 2025 Chart.js Contributors
|
|
8511
8511
|
* Released under the MIT License
|
|
8512
|
-
*/function Xt(){}const dO=(()=>{let a=0;return()=>a++})();function Ce(a){return a==null}function He(a){if(Array.isArray&&Array.isArray(a))return!0;const e=Object.prototype.toString.call(a);return e.slice(0,7)==="[object"&&e.slice(-6)==="Array]"}function be(a){return a!==null&&Object.prototype.toString.call(a)==="[object Object]"}function Re(a){return(typeof a=="number"||a instanceof Number)&&isFinite(+a)}function Ht(a,e){return Re(a)?a:e}function ge(a,e){return typeof a>"u"?e:a}const hO=(a,e)=>typeof a=="string"&&a.endsWith("%")?parseFloat(a)/100:+a/e,fB=(a,e)=>typeof a=="string"&&a.endsWith("%")?parseFloat(a)/100*e:+a;function Be(a,e,n){if(a&&typeof a.call=="function")return a.apply(n,e)}function Le(a,e,n,o){let r,i,s;if(He(a))for(i=a.length,r=0;r<i;r++)e.call(n,a[r],r);else if(be(a))for(s=Object.keys(a),i=s.length,r=0;r<i;r++)e.call(n,a[s[r]],s[r])}function BL(a,e){let n,o,r,i;if(!a||!e||a.length!==e.length)return!1;for(n=0,o=a.length;n<o;++n)if(r=a[n],i=e[n],r.datasetIndex!==i.datasetIndex||r.index!==i.index)return!1;return!0}function VL(a){if(He(a))return a.map(VL);if(be(a)){const e=Object.create(null),n=Object.keys(a),o=n.length;let r=0;for(;r<o;++r)e[n[r]]=VL(a[n[r]]);return e}return a}function kB(a){return["__proto__","prototype","constructor"].indexOf(a)===-1}function uO(a,e,n,o){if(!kB(a))return;const r=e[a],i=n[a];be(r)&&be(i)?y1(r,i,o):e[a]=VL(i)}function y1(a,e,n){const o=He(e)?e:[e],r=o.length;if(!be(a))return a;n=n||{};const i=n.merger||uO;let s;for(let c=0;c<r;++c){if(s=o[c],!be(s))continue;const d=Object.keys(s);for(let h=0,u=d.length;h<u;++h)i(d[h],a,s,n)}return a}function f1(a,e){return y1(a,e,{merger:pO})}function pO(a,e,n){if(!kB(a))return;const o=e[a],r=n[a];be(o)&&be(r)?f1(o,r):Object.prototype.hasOwnProperty.call(e,a)||(e[a]=VL(r))}const mB={"":a=>a,x:a=>a.x,y:a=>a.y};function yO(a){const e=a.split("."),n=[];let o="";for(const r of e)o+=r,o.endsWith("\\")?o=o.slice(0,-1)+".":(n.push(o),o="");return n}function fO(a){const e=yO(a);return n=>{for(const o of e){if(o==="")break;n=n&&n[o]}return n}}function Wi(a,e){return(mB[e]||(mB[e]=fO(e)))(a)}function yI(a){return a.charAt(0).toUpperCase()+a.slice(1)}const k1=a=>typeof a<"u",xa=a=>typeof a=="function",gB=(a,e)=>{if(a.size!==e.size)return!1;for(const n of a)if(!e.has(n))return!1;return!0};function kO(a){return a.type==="mouseup"||a.type==="click"||a.type==="contextmenu"}const Se=Math.PI,qe=2*Se,mO=qe+Se,zL=Number.POSITIVE_INFINITY,gO=Se/180,Oe=Se/2,Gi=Se/4,MB=Se*2/3,bB=Math.log10,jt=Math.sign;function m1(a,e,n){return Math.abs(a-e)<n}function xB(a){const e=Math.round(a);a=m1(a,e,a/1e3)?e:a;const n=Math.pow(10,Math.floor(bB(a))),o=a/n;return(o<=1?1:o<=2?2:o<=5?5:10)*n}function MO(a){const e=[],n=Math.sqrt(a);let o;for(o=1;o<n;o++)a%o===0&&(e.push(o),e.push(a/o));return n===(n|0)&&e.push(n),e.sort((r,i)=>r-i).pop(),e}function bO(a){return typeof a=="symbol"||typeof a=="object"&&a!==null&&!(Symbol.toPrimitive in a||"toString"in a||"valueOf"in a)}function g1(a){return!bO(a)&&!isNaN(parseFloat(a))&&isFinite(a)}function xO(a,e){const n=Math.round(a);return n-e<=a&&n+e>=a}function wO(a,e,n){let o,r,i;for(o=0,r=a.length;o<r;o++)i=a[o][n],isNaN(i)||(e.min=Math.min(e.min,i),e.max=Math.max(e.max,i))}function Zt(a){return a*(Se/180)}function vO(a){return a*(180/Se)}function wB(a){if(!Re(a))return;let e=1,n=0;for(;Math.round(a*e)/e!==a;)e*=10,n++;return n}function vB(a,e){const n=e.x-a.x,o=e.y-a.y,r=Math.sqrt(n*n+o*o);let i=Math.atan2(o,n);return i<-.5*Se&&(i+=qe),{angle:i,distance:r}}function fI(a,e){return Math.sqrt(Math.pow(e.x-a.x,2)+Math.pow(e.y-a.y,2))}function CO(a,e){return(a-e+mO)%qe-Se}function nt(a){return(a%qe+qe)%qe}function M1(a,e,n,o){const r=nt(a),i=nt(e),s=nt(n),c=nt(i-r),d=nt(s-r),h=nt(r-i),u=nt(r-s);return r===i||r===s||o&&i===s||c>d&&h<u}function Ne(a,e,n){return Math.max(e,Math.min(n,a))}function LO(a){return Ne(a,-32768,32767)}function Yt(a,e,n,o=1e-6){return a>=Math.min(e,n)-o&&a<=Math.max(e,n)+o}function kI(a,e,n){n=n||(s=>a[s]<e);let o=a.length-1,r=0,i;for(;o-r>1;)i=r+o>>1,n(i)?r=i:o=i;return{lo:r,hi:o}}const Ki=(a,e,n,o)=>kI(a,n,o?r=>{const i=a[r][e];return i<n||i===n&&a[r+1][e]===n}:r=>a[r][e]<n),SO=(a,e,n)=>kI(a,n,o=>a[o][e]>=n);function IO(a,e,n){let o=0,r=a.length;for(;o<r&&a[o]<e;)o++;for(;r>o&&a[r-1]>n;)r--;return o>0||r<a.length?a.slice(o,r):a}const CB=["push","pop","shift","splice","unshift"];function _O(a,e){if(a._chartjs){a._chartjs.listeners.push(e);return}Object.defineProperty(a,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),CB.forEach(n=>{const o="_onData"+yI(n),r=a[n];Object.defineProperty(a,n,{configurable:!0,enumerable:!1,value(...i){const s=r.apply(this,i);return a._chartjs.listeners.forEach(c=>{typeof c[o]=="function"&&c[o](...i)}),s}})})}function LB(a,e){const n=a._chartjs;if(!n)return;const o=n.listeners,r=o.indexOf(e);r!==-1&&o.splice(r,1),!(o.length>0)&&(CB.forEach(i=>{delete a[i]}),delete a._chartjs)}function SB(a){const e=new Set(a);return e.size===a.length?a:Array.from(e)}const IB=(function(){return typeof window>"u"?function(a){return a()}:window.requestAnimationFrame})();function _B(a,e){let n=[],o=!1;return function(...r){n=r,o||(o=!0,IB.call(window,()=>{o=!1,a.apply(e,n)}))}}function AO(a,e){let n;return function(...o){return e?(clearTimeout(n),n=setTimeout(a,e,o)):a.apply(this,o),e}}const mI=a=>a==="start"?"left":a==="end"?"right":"center",$e=(a,e,n)=>a==="start"?e:a==="end"?n:(e+n)/2,BO=(a,e,n,o)=>a===(o?"left":"right")?n:a==="center"?(e+n)/2:e;function VO(a,e,n){const o=e.length;let r=0,i=o;if(a._sorted){const{iScale:s,vScale:c,_parsed:d}=a,h=a.dataset&&a.dataset.options?a.dataset.options.spanGaps:null,u=s.axis,{min:p,max:y,minDefined:f,maxDefined:k}=s.getUserBounds();if(f){if(r=Math.min(Ki(d,u,p).lo,n?o:Ki(e,u,s.getPixelForValue(p)).lo),h){const m=d.slice(0,r+1).reverse().findIndex(g=>!Ce(g[c.axis]));r-=Math.max(0,m)}r=Ne(r,0,o-1)}if(k){let m=Math.max(Ki(d,s.axis,y,!0).hi+1,n?0:Ki(e,u,s.getPixelForValue(y),!0).hi+1);if(h){const g=d.slice(m-1).findIndex(w=>!Ce(w[c.axis]));m+=Math.max(0,g)}i=Ne(m,r,o)-r}else i=o-r}return{start:r,count:i}}function zO(a){const{xScale:e,yScale:n,_scaleRanges:o}=a,r={xmin:e.min,xmax:e.max,ymin:n.min,ymax:n.max};if(!o)return a._scaleRanges=r,!0;const i=o.xmin!==e.min||o.xmax!==e.max||o.ymin!==n.min||o.ymax!==n.max;return Object.assign(o,r),i}const qL=a=>a===0||a===1,AB=(a,e,n)=>-(Math.pow(2,10*(a-=1))*Math.sin((a-e)*qe/n)),BB=(a,e,n)=>Math.pow(2,-10*a)*Math.sin((a-e)*qe/n)+1,b1={linear:a=>a,easeInQuad:a=>a*a,easeOutQuad:a=>-a*(a-2),easeInOutQuad:a=>(a/=.5)<1?.5*a*a:-.5*(--a*(a-2)-1),easeInCubic:a=>a*a*a,easeOutCubic:a=>(a-=1)*a*a+1,easeInOutCubic:a=>(a/=.5)<1?.5*a*a*a:.5*((a-=2)*a*a+2),easeInQuart:a=>a*a*a*a,easeOutQuart:a=>-((a-=1)*a*a*a-1),easeInOutQuart:a=>(a/=.5)<1?.5*a*a*a*a:-.5*((a-=2)*a*a*a-2),easeInQuint:a=>a*a*a*a*a,easeOutQuint:a=>(a-=1)*a*a*a*a+1,easeInOutQuint:a=>(a/=.5)<1?.5*a*a*a*a*a:.5*((a-=2)*a*a*a*a+2),easeInSine:a=>-Math.cos(a*Oe)+1,easeOutSine:a=>Math.sin(a*Oe),easeInOutSine:a=>-.5*(Math.cos(Se*a)-1),easeInExpo:a=>a===0?0:Math.pow(2,10*(a-1)),easeOutExpo:a=>a===1?1:-Math.pow(2,-10*a)+1,easeInOutExpo:a=>qL(a)?a:a<.5?.5*Math.pow(2,10*(a*2-1)):.5*(-Math.pow(2,-10*(a*2-1))+2),easeInCirc:a=>a>=1?a:-(Math.sqrt(1-a*a)-1),easeOutCirc:a=>Math.sqrt(1-(a-=1)*a),easeInOutCirc:a=>(a/=.5)<1?-.5*(Math.sqrt(1-a*a)-1):.5*(Math.sqrt(1-(a-=2)*a)+1),easeInElastic:a=>qL(a)?a:AB(a,.075,.3),easeOutElastic:a=>qL(a)?a:BB(a,.075,.3),easeInOutElastic(a){return qL(a)?a:a<.5?.5*AB(a*2,.1125,.45):.5+.5*BB(a*2-1,.1125,.45)},easeInBack(a){return a*a*((1.70158+1)*a-1.70158)},easeOutBack(a){return(a-=1)*a*((1.70158+1)*a+1.70158)+1},easeInOutBack(a){let e=1.70158;return(a/=.5)<1?.5*(a*a*(((e*=1.525)+1)*a-e)):.5*((a-=2)*a*(((e*=1.525)+1)*a+e)+2)},easeInBounce:a=>1-b1.easeOutBounce(1-a),easeOutBounce(a){return a<1/2.75?7.5625*a*a:a<2/2.75?7.5625*(a-=1.5/2.75)*a+.75:a<2.5/2.75?7.5625*(a-=2.25/2.75)*a+.9375:7.5625*(a-=2.625/2.75)*a+.984375},easeInOutBounce:a=>a<.5?b1.easeInBounce(a*2)*.5:b1.easeOutBounce(a*2-1)*.5+.5};function gI(a){if(a&&typeof a=="object"){const e=a.toString();return e==="[object CanvasPattern]"||e==="[object CanvasGradient]"}return!1}function VB(a){return gI(a)?a:new p1(a)}function MI(a){return gI(a)?a:new p1(a).saturate(.5).darken(.1).hexString()}const qO=["x","y","borderWidth","radius","tension"],PO=["color","borderColor","backgroundColor"];function DO(a){a.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),a.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:e=>e!=="onProgress"&&e!=="onComplete"&&e!=="fn"}),a.set("animations",{colors:{type:"color",properties:PO},numbers:{type:"number",properties:qO}}),a.describe("animations",{_fallback:"animation"}),a.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>e|0}}}})}function EO(a){a.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const zB=new Map;function TO(a,e){e=e||{};const n=a+JSON.stringify(e);let o=zB.get(n);return o||(o=new Intl.NumberFormat(a,e),zB.set(n,o)),o}function bI(a,e,n){return TO(e,n).format(a)}const HO={values(a){return He(a)?a:""+a},numeric(a,e,n){if(a===0)return"0";const o=this.chart.options.locale;let r,i=a;if(n.length>1){const h=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(h<1e-4||h>1e15)&&(r="scientific"),i=jO(a,n)}const s=bB(Math.abs(i)),c=isNaN(s)?1:Math.max(Math.min(-1*Math.floor(s),20),0),d={notation:r,minimumFractionDigits:c,maximumFractionDigits:c};return Object.assign(d,this.options.ticks.format),bI(a,o,d)}};function jO(a,e){let n=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;return Math.abs(n)>=1&&a!==Math.floor(a)&&(n=a-Math.floor(a)),n}var qB={formatters:HO};function OO(a){a.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,n)=>n.lineWidth,tickColor:(e,n)=>n.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:qB.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),a.route("scale.ticks","color","","color"),a.route("scale.grid","color","","borderColor"),a.route("scale.border","color","","borderColor"),a.route("scale.title","color","","color"),a.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&e!=="callback"&&e!=="parser",_indexable:e=>e!=="borderDash"&&e!=="tickBorderDash"&&e!=="dash"}),a.describe("scales",{_fallback:"scale"}),a.describe("scale.ticks",{_scriptable:e=>e!=="backdropPadding"&&e!=="callback",_indexable:e=>e!=="backdropPadding"})}const Xi=Object.create(null),xI=Object.create(null);function x1(a,e){if(!e)return a;const n=e.split(".");for(let o=0,r=n.length;o<r;++o){const i=n[o];a=a[i]||(a[i]=Object.create(null))}return a}function wI(a,e,n){return typeof e=="string"?y1(x1(a,e),n):y1(x1(a,""),e)}class FO{constructor(e,n){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=o=>o.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(o,r)=>MI(r.backgroundColor),this.hoverBorderColor=(o,r)=>MI(r.borderColor),this.hoverColor=(o,r)=>MI(r.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e),this.apply(n)}set(e,n){return wI(this,e,n)}get(e){return x1(this,e)}describe(e,n){return wI(xI,e,n)}override(e,n){return wI(Xi,e,n)}route(e,n,o,r){const i=x1(this,e),s=x1(this,o),c="_"+n;Object.defineProperties(i,{[c]:{value:i[n],writable:!0},[n]:{enumerable:!0,get(){const d=this[c],h=s[r];return be(d)?Object.assign({},h,d):ge(d,h)},set(d){this[c]=d}}})}apply(e){e.forEach(n=>n(this))}}var Te=new FO({_scriptable:a=>!a.startsWith("on"),_indexable:a=>a!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[DO,EO,OO]);function RO(a){return!a||Ce(a.size)||Ce(a.family)?null:(a.style?a.style+" ":"")+(a.weight?a.weight+" ":"")+a.size+"px "+a.family}function PB(a,e,n,o,r){let i=e[r];return i||(i=e[r]=a.measureText(r).width,n.push(r)),i>o&&(o=i),o}function Zi(a,e,n){const o=a.currentDevicePixelRatio,r=n!==0?Math.max(n/2,.5):0;return Math.round((e-r)*o)/o+r}function DB(a,e){!e&&!a||(e=e||a.getContext("2d"),e.save(),e.resetTransform(),e.clearRect(0,0,a.width,a.height),e.restore())}function vI(a,e,n,o){EB(a,e,n,o,null)}function EB(a,e,n,o,r){let i,s,c,d,h,u,p,y;const f=e.pointStyle,k=e.rotation,m=e.radius;let g=(k||0)*gO;if(f&&typeof f=="object"&&(i=f.toString(),i==="[object HTMLImageElement]"||i==="[object HTMLCanvasElement]")){a.save(),a.translate(n,o),a.rotate(g),a.drawImage(f,-f.width/2,-f.height/2,f.width,f.height),a.restore();return}if(!(isNaN(m)||m<=0)){switch(a.beginPath(),f){default:r?a.ellipse(n,o,r/2,m,0,0,qe):a.arc(n,o,m,0,qe),a.closePath();break;case"triangle":u=r?r/2:m,a.moveTo(n+Math.sin(g)*u,o-Math.cos(g)*m),g+=MB,a.lineTo(n+Math.sin(g)*u,o-Math.cos(g)*m),g+=MB,a.lineTo(n+Math.sin(g)*u,o-Math.cos(g)*m),a.closePath();break;case"rectRounded":h=m*.516,d=m-h,s=Math.cos(g+Gi)*d,p=Math.cos(g+Gi)*(r?r/2-h:d),c=Math.sin(g+Gi)*d,y=Math.sin(g+Gi)*(r?r/2-h:d),a.arc(n-p,o-c,h,g-Se,g-Oe),a.arc(n+y,o-s,h,g-Oe,g),a.arc(n+p,o+c,h,g,g+Oe),a.arc(n-y,o+s,h,g+Oe,g+Se),a.closePath();break;case"rect":if(!k){d=Math.SQRT1_2*m,u=r?r/2:d,a.rect(n-u,o-d,2*u,2*d);break}g+=Gi;case"rectRot":p=Math.cos(g)*(r?r/2:m),s=Math.cos(g)*m,c=Math.sin(g)*m,y=Math.sin(g)*(r?r/2:m),a.moveTo(n-p,o-c),a.lineTo(n+y,o-s),a.lineTo(n+p,o+c),a.lineTo(n-y,o+s),a.closePath();break;case"crossRot":g+=Gi;case"cross":p=Math.cos(g)*(r?r/2:m),s=Math.cos(g)*m,c=Math.sin(g)*m,y=Math.sin(g)*(r?r/2:m),a.moveTo(n-p,o-c),a.lineTo(n+p,o+c),a.moveTo(n+y,o-s),a.lineTo(n-y,o+s);break;case"star":p=Math.cos(g)*(r?r/2:m),s=Math.cos(g)*m,c=Math.sin(g)*m,y=Math.sin(g)*(r?r/2:m),a.moveTo(n-p,o-c),a.lineTo(n+p,o+c),a.moveTo(n+y,o-s),a.lineTo(n-y,o+s),g+=Gi,p=Math.cos(g)*(r?r/2:m),s=Math.cos(g)*m,c=Math.sin(g)*m,y=Math.sin(g)*(r?r/2:m),a.moveTo(n-p,o-c),a.lineTo(n+p,o+c),a.moveTo(n+y,o-s),a.lineTo(n-y,o+s);break;case"line":s=r?r/2:Math.cos(g)*m,c=Math.sin(g)*m,a.moveTo(n-s,o-c),a.lineTo(n+s,o+c);break;case"dash":a.moveTo(n,o),a.lineTo(n+Math.cos(g)*(r?r/2:m),o+Math.sin(g)*m);break;case!1:a.closePath();break}a.fill(),e.borderWidth>0&&a.stroke()}}function w1(a,e,n){return n=n||.5,!e||a&&a.x>e.left-n&&a.x<e.right+n&&a.y>e.top-n&&a.y<e.bottom+n}function PL(a,e){a.save(),a.beginPath(),a.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),a.clip()}function DL(a){a.restore()}function NO(a,e,n,o,r){if(!e)return a.lineTo(n.x,n.y);if(r==="middle"){const i=(e.x+n.x)/2;a.lineTo(i,e.y),a.lineTo(i,n.y)}else r==="after"!=!!o?a.lineTo(e.x,n.y):a.lineTo(n.x,e.y);a.lineTo(n.x,n.y)}function $O(a,e,n,o){if(!e)return a.lineTo(n.x,n.y);a.bezierCurveTo(o?e.cp1x:e.cp2x,o?e.cp1y:e.cp2y,o?n.cp2x:n.cp1x,o?n.cp2y:n.cp1y,n.x,n.y)}function UO(a,e){e.translation&&a.translate(e.translation[0],e.translation[1]),Ce(e.rotation)||a.rotate(e.rotation),e.color&&(a.fillStyle=e.color),e.textAlign&&(a.textAlign=e.textAlign),e.textBaseline&&(a.textBaseline=e.textBaseline)}function WO(a,e,n,o,r){if(r.strikethrough||r.underline){const i=a.measureText(o),s=e-i.actualBoundingBoxLeft,c=e+i.actualBoundingBoxRight,d=n-i.actualBoundingBoxAscent,h=n+i.actualBoundingBoxDescent,u=r.strikethrough?(d+h)/2:h;a.strokeStyle=a.fillStyle,a.beginPath(),a.lineWidth=r.decorationWidth||2,a.moveTo(s,u),a.lineTo(c,u),a.stroke()}}function GO(a,e){const n=a.fillStyle;a.fillStyle=e.color,a.fillRect(e.left,e.top,e.width,e.height),a.fillStyle=n}function v1(a,e,n,o,r,i={}){const s=He(e)?e:[e],c=i.strokeWidth>0&&i.strokeColor!=="";let d,h;for(a.save(),a.font=r.string,UO(a,i),d=0;d<s.length;++d)h=s[d],i.backdrop&&GO(a,i.backdrop),c&&(i.strokeColor&&(a.strokeStyle=i.strokeColor),Ce(i.strokeWidth)||(a.lineWidth=i.strokeWidth),a.strokeText(h,n,o,i.maxWidth)),a.fillText(h,n,o,i.maxWidth),WO(a,n,o,h,i),o+=Number(r.lineHeight);a.restore()}function EL(a,e){const{x:n,y:o,w:r,h:i,radius:s}=e;a.arc(n+s.topLeft,o+s.topLeft,s.topLeft,1.5*Se,Se,!0),a.lineTo(n,o+i-s.bottomLeft),a.arc(n+s.bottomLeft,o+i-s.bottomLeft,s.bottomLeft,Se,Oe,!0),a.lineTo(n+r-s.bottomRight,o+i),a.arc(n+r-s.bottomRight,o+i-s.bottomRight,s.bottomRight,Oe,0,!0),a.lineTo(n+r,o+s.topRight),a.arc(n+r-s.topRight,o+s.topRight,s.topRight,0,-Oe,!0),a.lineTo(n+s.topLeft,o)}const KO=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,XO=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function ZO(a,e){const n=(""+a).match(KO);if(!n||n[1]==="normal")return e*1.2;switch(a=+n[2],n[3]){case"px":return a;case"%":a/=100;break}return e*a}const YO=a=>+a||0;function CI(a,e){const n={},o=be(e),r=o?Object.keys(e):e,i=be(a)?o?s=>ge(a[s],a[e[s]]):s=>a[s]:()=>a;for(const s of r)n[s]=YO(i(s));return n}function TB(a){return CI(a,{top:"y",right:"x",bottom:"y",left:"x"})}function vs(a){return CI(a,["topLeft","topRight","bottomLeft","bottomRight"])}function ht(a){const e=TB(a);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function Ue(a,e){a=a||{},e=e||Te.font;let n=ge(a.size,e.size);typeof n=="string"&&(n=parseInt(n,10));let o=ge(a.style,e.style);o&&!(""+o).match(XO)&&(console.warn('Invalid font style specified: "'+o+'"'),o=void 0);const r={family:ge(a.family,e.family),lineHeight:ZO(ge(a.lineHeight,e.lineHeight),n),size:n,style:o,weight:ge(a.weight,e.weight),string:""};return r.string=RO(r),r}function TL(a,e,n,o){let r,i,s;for(r=0,i=a.length;r<i;++r)if(s=a[r],s!==void 0&&s!==void 0)return s}function QO(a,e,n){const{min:o,max:r}=a,i=fB(e,(r-o)/2),s=(c,d)=>n&&c===0?0:c+d;return{min:s(o,-Math.abs(i)),max:s(r,i)}}function Yi(a,e){return Object.assign(Object.create(a),e)}function LI(a,e=[""],n,o,r=()=>a[0]){const i=n||a;typeof o>"u"&&(o=RB("_fallback",a));const s={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:a,_rootScopes:i,_fallback:o,_getTarget:r,override:c=>LI([c,...a],e,i,o)};return new Proxy(s,{deleteProperty(c,d){return delete c[d],delete c._keys,delete a[0][d],!0},get(c,d){return jB(c,d,()=>iF(d,e,a,c))},getOwnPropertyDescriptor(c,d){return Reflect.getOwnPropertyDescriptor(c._scopes[0],d)},getPrototypeOf(){return Reflect.getPrototypeOf(a[0])},has(c,d){return NB(c).includes(d)},ownKeys(c){return NB(c)},set(c,d,h){const u=c._storage||(c._storage=r());return c[d]=u[d]=h,delete c._keys,!0}})}function Cs(a,e,n,o){const r={_cacheable:!1,_proxy:a,_context:e,_subProxy:n,_stack:new Set,_descriptors:HB(a,o),setContext:i=>Cs(a,i,n,o),override:i=>Cs(a.override(i),e,n,o)};return new Proxy(r,{deleteProperty(i,s){return delete i[s],delete a[s],!0},get(i,s,c){return jB(i,s,()=>eF(i,s,c))},getOwnPropertyDescriptor(i,s){return i._descriptors.allKeys?Reflect.has(a,s)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(a,s)},getPrototypeOf(){return Reflect.getPrototypeOf(a)},has(i,s){return Reflect.has(a,s)},ownKeys(){return Reflect.ownKeys(a)},set(i,s,c){return a[s]=c,delete i[s],!0}})}function HB(a,e={scriptable:!0,indexable:!0}){const{_scriptable:n=e.scriptable,_indexable:o=e.indexable,_allKeys:r=e.allKeys}=a;return{allKeys:r,scriptable:n,indexable:o,isScriptable:xa(n)?n:()=>n,isIndexable:xa(o)?o:()=>o}}const JO=(a,e)=>a?a+yI(e):e,SI=(a,e)=>be(e)&&a!=="adapters"&&(Object.getPrototypeOf(e)===null||e.constructor===Object);function jB(a,e,n){if(Object.prototype.hasOwnProperty.call(a,e)||e==="constructor")return a[e];const o=n();return a[e]=o,o}function eF(a,e,n){const{_proxy:o,_context:r,_subProxy:i,_descriptors:s}=a;let c=o[e];return xa(c)&&s.isScriptable(e)&&(c=tF(e,c,a,n)),He(c)&&c.length&&(c=aF(e,c,a,s.isIndexable)),SI(e,c)&&(c=Cs(c,r,i&&i[e],s)),c}function tF(a,e,n,o){const{_proxy:r,_context:i,_subProxy:s,_stack:c}=n;if(c.has(a))throw new Error("Recursion detected: "+Array.from(c).join("->")+"->"+a);c.add(a);let d=e(i,s||o);return c.delete(a),SI(a,d)&&(d=II(r._scopes,r,a,d)),d}function aF(a,e,n,o){const{_proxy:r,_context:i,_subProxy:s,_descriptors:c}=n;if(typeof i.index<"u"&&o(a))return e[i.index%e.length];if(be(e[0])){const d=e,h=r._scopes.filter(u=>u!==d);e=[];for(const u of d){const p=II(h,r,a,u);e.push(Cs(p,i,s&&s[a],c))}}return e}function OB(a,e,n){return xa(a)?a(e,n):a}const nF=(a,e)=>a===!0?e:typeof a=="string"?Wi(e,a):void 0;function oF(a,e,n,o,r){for(const i of e){const s=nF(n,i);if(s){a.add(s);const c=OB(s._fallback,n,r);if(typeof c<"u"&&c!==n&&c!==o)return c}else if(s===!1&&typeof o<"u"&&n!==o)return null}return!1}function II(a,e,n,o){const r=e._rootScopes,i=OB(e._fallback,n,o),s=[...a,...r],c=new Set;c.add(o);let d=FB(c,s,n,i||n,o);return d===null||typeof i<"u"&&i!==n&&(d=FB(c,s,i,d,o),d===null)?!1:LI(Array.from(c),[""],r,i,()=>rF(e,n,o))}function FB(a,e,n,o,r){for(;n;)n=oF(a,e,n,o,r);return n}function rF(a,e,n){const o=a._getTarget();e in o||(o[e]={});const r=o[e];return He(r)&&be(n)?n:r||{}}function iF(a,e,n,o){let r;for(const i of e)if(r=RB(JO(i,a),n),typeof r<"u")return SI(a,r)?II(n,o,a,r):r}function RB(a,e){for(const n of e){if(!n)continue;const o=n[a];if(typeof o<"u")return o}}function NB(a){let e=a._keys;return e||(e=a._keys=sF(a._scopes)),e}function sF(a){const e=new Set;for(const n of a)for(const o of Object.keys(n).filter(r=>!r.startsWith("_")))e.add(o);return Array.from(e)}const lF=Number.EPSILON||1e-14,Ls=(a,e)=>e<a.length&&!a[e].skip&&a[e],$B=a=>a==="x"?"y":"x";function cF(a,e,n,o){const r=a.skip?e:a,i=e,s=n.skip?e:n,c=fI(i,r),d=fI(s,i);let h=c/(c+d),u=d/(c+d);h=isNaN(h)?0:h,u=isNaN(u)?0:u;const p=o*h,y=o*u;return{previous:{x:i.x-p*(s.x-r.x),y:i.y-p*(s.y-r.y)},next:{x:i.x+y*(s.x-r.x),y:i.y+y*(s.y-r.y)}}}function dF(a,e,n){const o=a.length;let r,i,s,c,d,h=Ls(a,0);for(let u=0;u<o-1;++u)if(d=h,h=Ls(a,u+1),!(!d||!h)){if(m1(e[u],0,lF)){n[u]=n[u+1]=0;continue}r=n[u]/e[u],i=n[u+1]/e[u],c=Math.pow(r,2)+Math.pow(i,2),!(c<=9)&&(s=3/Math.sqrt(c),n[u]=r*s*e[u],n[u+1]=i*s*e[u])}}function hF(a,e,n="x"){const o=$B(n),r=a.length;let i,s,c,d=Ls(a,0);for(let h=0;h<r;++h){if(s=c,c=d,d=Ls(a,h+1),!c)continue;const u=c[n],p=c[o];s&&(i=(u-s[n])/3,c[`cp1${n}`]=u-i,c[`cp1${o}`]=p-i*e[h]),d&&(i=(d[n]-u)/3,c[`cp2${n}`]=u+i,c[`cp2${o}`]=p+i*e[h])}}function uF(a,e="x"){const n=$B(e),o=a.length,r=Array(o).fill(0),i=Array(o);let s,c,d,h=Ls(a,0);for(s=0;s<o;++s)if(c=d,d=h,h=Ls(a,s+1),!!d){if(h){const u=h[e]-d[e];r[s]=u!==0?(h[n]-d[n])/u:0}i[s]=c?h?jt(r[s-1])!==jt(r[s])?0:(r[s-1]+r[s])/2:r[s-1]:r[s]}dF(a,r,i),hF(a,i,e)}function HL(a,e,n){return Math.max(Math.min(a,n),e)}function pF(a,e){let n,o,r,i,s,c=w1(a[0],e);for(n=0,o=a.length;n<o;++n)s=i,i=c,c=n<o-1&&w1(a[n+1],e),i&&(r=a[n],s&&(r.cp1x=HL(r.cp1x,e.left,e.right),r.cp1y=HL(r.cp1y,e.top,e.bottom)),c&&(r.cp2x=HL(r.cp2x,e.left,e.right),r.cp2y=HL(r.cp2y,e.top,e.bottom)))}function yF(a,e,n,o,r){let i,s,c,d;if(e.spanGaps&&(a=a.filter(h=>!h.skip)),e.cubicInterpolationMode==="monotone")uF(a,r);else{let h=o?a[a.length-1]:a[0];for(i=0,s=a.length;i<s;++i)c=a[i],d=cF(h,c,a[Math.min(i+1,s-(o?0:1))%s],e.tension),c.cp1x=d.previous.x,c.cp1y=d.previous.y,c.cp2x=d.next.x,c.cp2y=d.next.y,h=c}e.capBezierPoints&&pF(a,n)}function _I(){return typeof window<"u"&&typeof document<"u"}function AI(a){let e=a.parentNode;return e&&e.toString()==="[object ShadowRoot]"&&(e=e.host),e}function jL(a,e,n){let o;return typeof a=="string"?(o=parseInt(a,10),a.indexOf("%")!==-1&&(o=o/100*e.parentNode[n])):o=a,o}const OL=a=>a.ownerDocument.defaultView.getComputedStyle(a,null);function fF(a,e){return OL(a).getPropertyValue(e)}const kF=["top","right","bottom","left"];function Qi(a,e,n){const o={};n=n?"-"+n:"";for(let r=0;r<4;r++){const i=kF[r];o[i]=parseFloat(a[e+"-"+i+n])||0}return o.width=o.left+o.right,o.height=o.top+o.bottom,o}const mF=(a,e,n)=>(a>0||e>0)&&(!n||!n.shadowRoot);function gF(a,e){const n=a.touches,o=n&&n.length?n[0]:a,{offsetX:r,offsetY:i}=o;let s=!1,c,d;if(mF(r,i,a.target))c=r,d=i;else{const h=e.getBoundingClientRect();c=o.clientX-h.left,d=o.clientY-h.top,s=!0}return{x:c,y:d,box:s}}function Ji(a,e){if("native"in a)return a;const{canvas:n,currentDevicePixelRatio:o}=e,r=OL(n),i=r.boxSizing==="border-box",s=Qi(r,"padding"),c=Qi(r,"border","width"),{x:d,y:h,box:u}=gF(a,n),p=s.left+(u&&c.left),y=s.top+(u&&c.top);let{width:f,height:k}=e;return i&&(f-=s.width+c.width,k-=s.height+c.height),{x:Math.round((d-p)/f*n.width/o),y:Math.round((h-y)/k*n.height/o)}}function MF(a,e,n){let o,r;if(e===void 0||n===void 0){const i=a&&AI(a);if(!i)e=a.clientWidth,n=a.clientHeight;else{const s=i.getBoundingClientRect(),c=OL(i),d=Qi(c,"border","width"),h=Qi(c,"padding");e=s.width-h.width-d.width,n=s.height-h.height-d.height,o=jL(c.maxWidth,i,"clientWidth"),r=jL(c.maxHeight,i,"clientHeight")}}return{width:e,height:n,maxWidth:o||zL,maxHeight:r||zL}}const wa=a=>Math.round(a*10)/10;function bF(a,e,n,o){const r=OL(a),i=Qi(r,"margin"),s=jL(r.maxWidth,a,"clientWidth")||zL,c=jL(r.maxHeight,a,"clientHeight")||zL,d=MF(a,e,n);let{width:h,height:u}=d;if(r.boxSizing==="content-box"){const y=Qi(r,"border","width"),f=Qi(r,"padding");h-=f.width+y.width,u-=f.height+y.height}return h=Math.max(0,h-i.width),u=Math.max(0,o?h/o:u-i.height),h=wa(Math.min(h,s,d.maxWidth)),u=wa(Math.min(u,c,d.maxHeight)),h&&!u&&(u=wa(h/2)),(e!==void 0||n!==void 0)&&o&&d.height&&u>d.height&&(u=d.height,h=wa(Math.floor(u*o))),{width:h,height:u}}function UB(a,e,n){const o=e||1,r=wa(a.height*o),i=wa(a.width*o);a.height=wa(a.height),a.width=wa(a.width);const s=a.canvas;return s.style&&(n||!s.style.height&&!s.style.width)&&(s.style.height=`${a.height}px`,s.style.width=`${a.width}px`),a.currentDevicePixelRatio!==o||s.height!==r||s.width!==i?(a.currentDevicePixelRatio=o,s.height=r,s.width=i,a.ctx.setTransform(o,0,0,o,0,0),!0):!1}const xF=(function(){let a=!1;try{const e={get passive(){return a=!0,!1}};_I()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch{}return a})();function WB(a,e){const n=fF(a,e),o=n&&n.match(/^(\d+)(\.\d+)?px$/);return o?+o[1]:void 0}function es(a,e,n,o){return{x:a.x+n*(e.x-a.x),y:a.y+n*(e.y-a.y)}}function wF(a,e,n,o){return{x:a.x+n*(e.x-a.x),y:o==="middle"?n<.5?a.y:e.y:o==="after"?n<1?a.y:e.y:n>0?e.y:a.y}}function vF(a,e,n,o){const r={x:a.cp2x,y:a.cp2y},i={x:e.cp1x,y:e.cp1y},s=es(a,r,n),c=es(r,i,n),d=es(i,e,n),h=es(s,c,n),u=es(c,d,n);return es(h,u,n)}const CF=function(a,e){return{x(n){return a+a+e-n},setWidth(n){e=n},textAlign(n){return n==="center"?n:n==="right"?"left":"right"},xPlus(n,o){return n-o},leftForLtr(n,o){return n-o}}},LF=function(){return{x(a){return a},setWidth(a){},textAlign(a){return a},xPlus(a,e){return a+e},leftForLtr(a,e){return a}}};function Ss(a,e,n){return a?CF(e,n):LF()}function GB(a,e){let n,o;(e==="ltr"||e==="rtl")&&(n=a.canvas.style,o=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),a.prevTextDirection=o)}function KB(a,e){e!==void 0&&(delete a.prevTextDirection,a.canvas.style.setProperty("direction",e[0],e[1]))}function XB(a){return a==="angle"?{between:M1,compare:CO,normalize:nt}:{between:Yt,compare:(e,n)=>e-n,normalize:e=>e}}function ZB({start:a,end:e,count:n,loop:o,style:r}){return{start:a%n,end:e%n,loop:o&&(e-a+1)%n===0,style:r}}function SF(a,e,n){const{property:o,start:r,end:i}=n,{between:s,normalize:c}=XB(o),d=e.length;let{start:h,end:u,loop:p}=a,y,f;if(p){for(h+=d,u+=d,y=0,f=d;y<f&&s(c(e[h%d][o]),r,i);++y)h--,u--;h%=d,u%=d}return u<h&&(u+=d),{start:h,end:u,loop:p,style:a.style}}function YB(a,e,n){if(!n)return[a];const{property:o,start:r,end:i}=n,s=e.length,{compare:c,between:d,normalize:h}=XB(o),{start:u,end:p,loop:y,style:f}=SF(a,e,n),k=[];let m=!1,g=null,w,S,v;const M=()=>d(r,v,w)&&c(r,v)!==0,C=()=>c(i,w)===0||d(i,v,w),x=()=>m||M(),b=()=>!m||C();for(let L=u,I=u;L<=p;++L)S=e[L%s],!S.skip&&(w=h(S[o]),w!==v&&(m=d(w,r,i),g===null&&x()&&(g=c(w,r)===0?L:I),g!==null&&b()&&(k.push(ZB({start:g,end:L,loop:y,count:s,style:f})),g=null),I=L,v=w));return g!==null&&k.push(ZB({start:g,end:p,loop:y,count:s,style:f})),k}function QB(a,e){const n=[],o=a.segments;for(let r=0;r<o.length;r++){const i=YB(o[r],a.points,e);i.length&&n.push(...i)}return n}function IF(a,e,n,o){let r=0,i=e-1;if(n&&!o)for(;r<e&&!a[r].skip;)r++;for(;r<e&&a[r].skip;)r++;for(r%=e,n&&(i+=r);i>r&&a[i%e].skip;)i--;return i%=e,{start:r,end:i}}function _F(a,e,n,o){const r=a.length,i=[];let s=e,c=a[e],d;for(d=e+1;d<=n;++d){const h=a[d%r];h.skip||h.stop?c.skip||(o=!1,i.push({start:e%r,end:(d-1)%r,loop:o}),e=s=h.stop?d:null):(s=d,c.skip&&(e=d)),c=h}return s!==null&&i.push({start:e%r,end:s%r,loop:o}),i}function AF(a,e){const n=a.points,o=a.options.spanGaps,r=n.length;if(!r)return[];const i=!!a._loop,{start:s,end:c}=IF(n,r,i,o);if(o===!0)return JB(a,[{start:s,end:c,loop:i}],n,e);const d=c<s?c+r:c,h=!!a._fullLoop&&s===0&&c===r-1;return JB(a,_F(n,s,d,h),n,e)}function JB(a,e,n,o){return!o||!o.setContext||!n?e:BF(a,e,n,o)}function BF(a,e,n,o){const r=a._chart.getContext(),i=eV(a.options),{_datasetIndex:s,options:{spanGaps:c}}=a,d=n.length,h=[];let u=i,p=e[0].start,y=p;function f(k,m,g,w){const S=c?-1:1;if(k!==m){for(k+=d;n[k%d].skip;)k-=S;for(;n[m%d].skip;)m+=S;k%d!==m%d&&(h.push({start:k%d,end:m%d,loop:g,style:w}),u=w,p=m%d)}}for(const k of e){p=c?p:k.start;let m=n[p%d],g;for(y=p+1;y<=k.end;y++){const w=n[y%d];g=eV(o.setContext(Yi(r,{type:"segment",p0:m,p1:w,p0DataIndex:(y-1)%d,p1DataIndex:y%d,datasetIndex:s}))),VF(g,u)&&f(p,y-1,k.loop,u),m=w,u=g}p<y-1&&f(p,y-1,k.loop,u)}return h}function eV(a){return{backgroundColor:a.backgroundColor,borderCapStyle:a.borderCapStyle,borderDash:a.borderDash,borderDashOffset:a.borderDashOffset,borderJoinStyle:a.borderJoinStyle,borderWidth:a.borderWidth,borderColor:a.borderColor}}function VF(a,e){if(!e)return!1;const n=[],o=function(r,i){return gI(i)?(n.includes(i)||n.push(i),n.indexOf(i)):i};return JSON.stringify(a,o)!==JSON.stringify(e,o)}function FL(a,e,n){return a.options.clip?a[n]:e[n]}function zF(a,e){const{xScale:n,yScale:o}=a;return n&&o?{left:FL(n,e,"left"),right:FL(n,e,"right"),top:FL(o,e,"top"),bottom:FL(o,e,"bottom")}:e}function tV(a,e){const n=e._clip;if(n.disabled)return!1;const o=zF(e,a.chartArea);return{left:n.left===!1?0:o.left-(n.left===!0?0:n.left),right:n.right===!1?a.width:o.right+(n.right===!0?0:n.right),top:n.top===!1?0:o.top-(n.top===!0?0:n.top),bottom:n.bottom===!1?a.height:o.bottom+(n.bottom===!0?0:n.bottom)}}/*!
|
|
8512
|
+
*/function Xt(){}const dO=(()=>{let a=0;return()=>a++})();function Ce(a){return a==null}function He(a){if(Array.isArray&&Array.isArray(a))return!0;const e=Object.prototype.toString.call(a);return e.slice(0,7)==="[object"&&e.slice(-6)==="Array]"}function be(a){return a!==null&&Object.prototype.toString.call(a)==="[object Object]"}function Re(a){return(typeof a=="number"||a instanceof Number)&&isFinite(+a)}function Ht(a,e){return Re(a)?a:e}function ge(a,e){return typeof a>"u"?e:a}const hO=(a,e)=>typeof a=="string"&&a.endsWith("%")?parseFloat(a)/100:+a/e,kB=(a,e)=>typeof a=="string"&&a.endsWith("%")?parseFloat(a)/100*e:+a;function Be(a,e,n){if(a&&typeof a.call=="function")return a.apply(n,e)}function Le(a,e,n,o){let r,i,s;if(He(a))for(i=a.length,r=0;r<i;r++)e.call(n,a[r],r);else if(be(a))for(s=Object.keys(a),i=s.length,r=0;r<i;r++)e.call(n,a[s[r]],s[r])}function BL(a,e){let n,o,r,i;if(!a||!e||a.length!==e.length)return!1;for(n=0,o=a.length;n<o;++n)if(r=a[n],i=e[n],r.datasetIndex!==i.datasetIndex||r.index!==i.index)return!1;return!0}function zL(a){if(He(a))return a.map(zL);if(be(a)){const e=Object.create(null),n=Object.keys(a),o=n.length;let r=0;for(;r<o;++r)e[n[r]]=zL(a[n[r]]);return e}return a}function mB(a){return["__proto__","prototype","constructor"].indexOf(a)===-1}function uO(a,e,n,o){if(!mB(a))return;const r=e[a],i=n[a];be(r)&&be(i)?y1(r,i,o):e[a]=zL(i)}function y1(a,e,n){const o=He(e)?e:[e],r=o.length;if(!be(a))return a;n=n||{};const i=n.merger||uO;let s;for(let c=0;c<r;++c){if(s=o[c],!be(s))continue;const d=Object.keys(s);for(let h=0,u=d.length;h<u;++h)i(d[h],a,s,n)}return a}function f1(a,e){return y1(a,e,{merger:pO})}function pO(a,e,n){if(!mB(a))return;const o=e[a],r=n[a];be(o)&&be(r)?f1(o,r):Object.prototype.hasOwnProperty.call(e,a)||(e[a]=zL(r))}const gB={"":a=>a,x:a=>a.x,y:a=>a.y};function yO(a){const e=a.split("."),n=[];let o="";for(const r of e)o+=r,o.endsWith("\\")?o=o.slice(0,-1)+".":(n.push(o),o="");return n}function fO(a){const e=yO(a);return n=>{for(const o of e){if(o==="")break;n=n&&n[o]}return n}}function Wi(a,e){return(gB[e]||(gB[e]=fO(e)))(a)}function yI(a){return a.charAt(0).toUpperCase()+a.slice(1)}const k1=a=>typeof a<"u",xa=a=>typeof a=="function",MB=(a,e)=>{if(a.size!==e.size)return!1;for(const n of a)if(!e.has(n))return!1;return!0};function kO(a){return a.type==="mouseup"||a.type==="click"||a.type==="contextmenu"}const Se=Math.PI,qe=2*Se,mO=qe+Se,VL=Number.POSITIVE_INFINITY,gO=Se/180,Oe=Se/2,Gi=Se/4,bB=Se*2/3,xB=Math.log10,jt=Math.sign;function m1(a,e,n){return Math.abs(a-e)<n}function wB(a){const e=Math.round(a);a=m1(a,e,a/1e3)?e:a;const n=Math.pow(10,Math.floor(xB(a))),o=a/n;return(o<=1?1:o<=2?2:o<=5?5:10)*n}function MO(a){const e=[],n=Math.sqrt(a);let o;for(o=1;o<n;o++)a%o===0&&(e.push(o),e.push(a/o));return n===(n|0)&&e.push(n),e.sort((r,i)=>r-i).pop(),e}function bO(a){return typeof a=="symbol"||typeof a=="object"&&a!==null&&!(Symbol.toPrimitive in a||"toString"in a||"valueOf"in a)}function g1(a){return!bO(a)&&!isNaN(parseFloat(a))&&isFinite(a)}function xO(a,e){const n=Math.round(a);return n-e<=a&&n+e>=a}function wO(a,e,n){let o,r,i;for(o=0,r=a.length;o<r;o++)i=a[o][n],isNaN(i)||(e.min=Math.min(e.min,i),e.max=Math.max(e.max,i))}function Zt(a){return a*(Se/180)}function vO(a){return a*(180/Se)}function vB(a){if(!Re(a))return;let e=1,n=0;for(;Math.round(a*e)/e!==a;)e*=10,n++;return n}function CB(a,e){const n=e.x-a.x,o=e.y-a.y,r=Math.sqrt(n*n+o*o);let i=Math.atan2(o,n);return i<-.5*Se&&(i+=qe),{angle:i,distance:r}}function fI(a,e){return Math.sqrt(Math.pow(e.x-a.x,2)+Math.pow(e.y-a.y,2))}function CO(a,e){return(a-e+mO)%qe-Se}function nt(a){return(a%qe+qe)%qe}function M1(a,e,n,o){const r=nt(a),i=nt(e),s=nt(n),c=nt(i-r),d=nt(s-r),h=nt(r-i),u=nt(r-s);return r===i||r===s||o&&i===s||c>d&&h<u}function Ne(a,e,n){return Math.max(e,Math.min(n,a))}function LO(a){return Ne(a,-32768,32767)}function Yt(a,e,n,o=1e-6){return a>=Math.min(e,n)-o&&a<=Math.max(e,n)+o}function kI(a,e,n){n=n||(s=>a[s]<e);let o=a.length-1,r=0,i;for(;o-r>1;)i=r+o>>1,n(i)?r=i:o=i;return{lo:r,hi:o}}const Ki=(a,e,n,o)=>kI(a,n,o?r=>{const i=a[r][e];return i<n||i===n&&a[r+1][e]===n}:r=>a[r][e]<n),SO=(a,e,n)=>kI(a,n,o=>a[o][e]>=n);function IO(a,e,n){let o=0,r=a.length;for(;o<r&&a[o]<e;)o++;for(;r>o&&a[r-1]>n;)r--;return o>0||r<a.length?a.slice(o,r):a}const LB=["push","pop","shift","splice","unshift"];function _O(a,e){if(a._chartjs){a._chartjs.listeners.push(e);return}Object.defineProperty(a,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),LB.forEach(n=>{const o="_onData"+yI(n),r=a[n];Object.defineProperty(a,n,{configurable:!0,enumerable:!1,value(...i){const s=r.apply(this,i);return a._chartjs.listeners.forEach(c=>{typeof c[o]=="function"&&c[o](...i)}),s}})})}function SB(a,e){const n=a._chartjs;if(!n)return;const o=n.listeners,r=o.indexOf(e);r!==-1&&o.splice(r,1),!(o.length>0)&&(LB.forEach(i=>{delete a[i]}),delete a._chartjs)}function IB(a){const e=new Set(a);return e.size===a.length?a:Array.from(e)}const _B=(function(){return typeof window>"u"?function(a){return a()}:window.requestAnimationFrame})();function AB(a,e){let n=[],o=!1;return function(...r){n=r,o||(o=!0,_B.call(window,()=>{o=!1,a.apply(e,n)}))}}function AO(a,e){let n;return function(...o){return e?(clearTimeout(n),n=setTimeout(a,e,o)):a.apply(this,o),e}}const mI=a=>a==="start"?"left":a==="end"?"right":"center",$e=(a,e,n)=>a==="start"?e:a==="end"?n:(e+n)/2,BO=(a,e,n,o)=>a===(o?"left":"right")?n:a==="center"?(e+n)/2:e;function zO(a,e,n){const o=e.length;let r=0,i=o;if(a._sorted){const{iScale:s,vScale:c,_parsed:d}=a,h=a.dataset&&a.dataset.options?a.dataset.options.spanGaps:null,u=s.axis,{min:p,max:y,minDefined:f,maxDefined:k}=s.getUserBounds();if(f){if(r=Math.min(Ki(d,u,p).lo,n?o:Ki(e,u,s.getPixelForValue(p)).lo),h){const m=d.slice(0,r+1).reverse().findIndex(g=>!Ce(g[c.axis]));r-=Math.max(0,m)}r=Ne(r,0,o-1)}if(k){let m=Math.max(Ki(d,s.axis,y,!0).hi+1,n?0:Ki(e,u,s.getPixelForValue(y),!0).hi+1);if(h){const g=d.slice(m-1).findIndex(w=>!Ce(w[c.axis]));m+=Math.max(0,g)}i=Ne(m,r,o)-r}else i=o-r}return{start:r,count:i}}function VO(a){const{xScale:e,yScale:n,_scaleRanges:o}=a,r={xmin:e.min,xmax:e.max,ymin:n.min,ymax:n.max};if(!o)return a._scaleRanges=r,!0;const i=o.xmin!==e.min||o.xmax!==e.max||o.ymin!==n.min||o.ymax!==n.max;return Object.assign(o,r),i}const qL=a=>a===0||a===1,BB=(a,e,n)=>-(Math.pow(2,10*(a-=1))*Math.sin((a-e)*qe/n)),zB=(a,e,n)=>Math.pow(2,-10*a)*Math.sin((a-e)*qe/n)+1,b1={linear:a=>a,easeInQuad:a=>a*a,easeOutQuad:a=>-a*(a-2),easeInOutQuad:a=>(a/=.5)<1?.5*a*a:-.5*(--a*(a-2)-1),easeInCubic:a=>a*a*a,easeOutCubic:a=>(a-=1)*a*a+1,easeInOutCubic:a=>(a/=.5)<1?.5*a*a*a:.5*((a-=2)*a*a+2),easeInQuart:a=>a*a*a*a,easeOutQuart:a=>-((a-=1)*a*a*a-1),easeInOutQuart:a=>(a/=.5)<1?.5*a*a*a*a:-.5*((a-=2)*a*a*a-2),easeInQuint:a=>a*a*a*a*a,easeOutQuint:a=>(a-=1)*a*a*a*a+1,easeInOutQuint:a=>(a/=.5)<1?.5*a*a*a*a*a:.5*((a-=2)*a*a*a*a+2),easeInSine:a=>-Math.cos(a*Oe)+1,easeOutSine:a=>Math.sin(a*Oe),easeInOutSine:a=>-.5*(Math.cos(Se*a)-1),easeInExpo:a=>a===0?0:Math.pow(2,10*(a-1)),easeOutExpo:a=>a===1?1:-Math.pow(2,-10*a)+1,easeInOutExpo:a=>qL(a)?a:a<.5?.5*Math.pow(2,10*(a*2-1)):.5*(-Math.pow(2,-10*(a*2-1))+2),easeInCirc:a=>a>=1?a:-(Math.sqrt(1-a*a)-1),easeOutCirc:a=>Math.sqrt(1-(a-=1)*a),easeInOutCirc:a=>(a/=.5)<1?-.5*(Math.sqrt(1-a*a)-1):.5*(Math.sqrt(1-(a-=2)*a)+1),easeInElastic:a=>qL(a)?a:BB(a,.075,.3),easeOutElastic:a=>qL(a)?a:zB(a,.075,.3),easeInOutElastic(a){return qL(a)?a:a<.5?.5*BB(a*2,.1125,.45):.5+.5*zB(a*2-1,.1125,.45)},easeInBack(a){return a*a*((1.70158+1)*a-1.70158)},easeOutBack(a){return(a-=1)*a*((1.70158+1)*a+1.70158)+1},easeInOutBack(a){let e=1.70158;return(a/=.5)<1?.5*(a*a*(((e*=1.525)+1)*a-e)):.5*((a-=2)*a*(((e*=1.525)+1)*a+e)+2)},easeInBounce:a=>1-b1.easeOutBounce(1-a),easeOutBounce(a){return a<1/2.75?7.5625*a*a:a<2/2.75?7.5625*(a-=1.5/2.75)*a+.75:a<2.5/2.75?7.5625*(a-=2.25/2.75)*a+.9375:7.5625*(a-=2.625/2.75)*a+.984375},easeInOutBounce:a=>a<.5?b1.easeInBounce(a*2)*.5:b1.easeOutBounce(a*2-1)*.5+.5};function gI(a){if(a&&typeof a=="object"){const e=a.toString();return e==="[object CanvasPattern]"||e==="[object CanvasGradient]"}return!1}function VB(a){return gI(a)?a:new p1(a)}function MI(a){return gI(a)?a:new p1(a).saturate(.5).darken(.1).hexString()}const qO=["x","y","borderWidth","radius","tension"],PO=["color","borderColor","backgroundColor"];function DO(a){a.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),a.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:e=>e!=="onProgress"&&e!=="onComplete"&&e!=="fn"}),a.set("animations",{colors:{type:"color",properties:PO},numbers:{type:"number",properties:qO}}),a.describe("animations",{_fallback:"animation"}),a.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>e|0}}}})}function EO(a){a.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const qB=new Map;function TO(a,e){e=e||{};const n=a+JSON.stringify(e);let o=qB.get(n);return o||(o=new Intl.NumberFormat(a,e),qB.set(n,o)),o}function bI(a,e,n){return TO(e,n).format(a)}const HO={values(a){return He(a)?a:""+a},numeric(a,e,n){if(a===0)return"0";const o=this.chart.options.locale;let r,i=a;if(n.length>1){const h=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(h<1e-4||h>1e15)&&(r="scientific"),i=jO(a,n)}const s=xB(Math.abs(i)),c=isNaN(s)?1:Math.max(Math.min(-1*Math.floor(s),20),0),d={notation:r,minimumFractionDigits:c,maximumFractionDigits:c};return Object.assign(d,this.options.ticks.format),bI(a,o,d)}};function jO(a,e){let n=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;return Math.abs(n)>=1&&a!==Math.floor(a)&&(n=a-Math.floor(a)),n}var PB={formatters:HO};function OO(a){a.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,n)=>n.lineWidth,tickColor:(e,n)=>n.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:PB.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),a.route("scale.ticks","color","","color"),a.route("scale.grid","color","","borderColor"),a.route("scale.border","color","","borderColor"),a.route("scale.title","color","","color"),a.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&e!=="callback"&&e!=="parser",_indexable:e=>e!=="borderDash"&&e!=="tickBorderDash"&&e!=="dash"}),a.describe("scales",{_fallback:"scale"}),a.describe("scale.ticks",{_scriptable:e=>e!=="backdropPadding"&&e!=="callback",_indexable:e=>e!=="backdropPadding"})}const Xi=Object.create(null),xI=Object.create(null);function x1(a,e){if(!e)return a;const n=e.split(".");for(let o=0,r=n.length;o<r;++o){const i=n[o];a=a[i]||(a[i]=Object.create(null))}return a}function wI(a,e,n){return typeof e=="string"?y1(x1(a,e),n):y1(x1(a,""),e)}class FO{constructor(e,n){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=o=>o.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(o,r)=>MI(r.backgroundColor),this.hoverBorderColor=(o,r)=>MI(r.borderColor),this.hoverColor=(o,r)=>MI(r.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e),this.apply(n)}set(e,n){return wI(this,e,n)}get(e){return x1(this,e)}describe(e,n){return wI(xI,e,n)}override(e,n){return wI(Xi,e,n)}route(e,n,o,r){const i=x1(this,e),s=x1(this,o),c="_"+n;Object.defineProperties(i,{[c]:{value:i[n],writable:!0},[n]:{enumerable:!0,get(){const d=this[c],h=s[r];return be(d)?Object.assign({},h,d):ge(d,h)},set(d){this[c]=d}}})}apply(e){e.forEach(n=>n(this))}}var Te=new FO({_scriptable:a=>!a.startsWith("on"),_indexable:a=>a!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[DO,EO,OO]);function RO(a){return!a||Ce(a.size)||Ce(a.family)?null:(a.style?a.style+" ":"")+(a.weight?a.weight+" ":"")+a.size+"px "+a.family}function DB(a,e,n,o,r){let i=e[r];return i||(i=e[r]=a.measureText(r).width,n.push(r)),i>o&&(o=i),o}function Zi(a,e,n){const o=a.currentDevicePixelRatio,r=n!==0?Math.max(n/2,.5):0;return Math.round((e-r)*o)/o+r}function EB(a,e){!e&&!a||(e=e||a.getContext("2d"),e.save(),e.resetTransform(),e.clearRect(0,0,a.width,a.height),e.restore())}function vI(a,e,n,o){TB(a,e,n,o,null)}function TB(a,e,n,o,r){let i,s,c,d,h,u,p,y;const f=e.pointStyle,k=e.rotation,m=e.radius;let g=(k||0)*gO;if(f&&typeof f=="object"&&(i=f.toString(),i==="[object HTMLImageElement]"||i==="[object HTMLCanvasElement]")){a.save(),a.translate(n,o),a.rotate(g),a.drawImage(f,-f.width/2,-f.height/2,f.width,f.height),a.restore();return}if(!(isNaN(m)||m<=0)){switch(a.beginPath(),f){default:r?a.ellipse(n,o,r/2,m,0,0,qe):a.arc(n,o,m,0,qe),a.closePath();break;case"triangle":u=r?r/2:m,a.moveTo(n+Math.sin(g)*u,o-Math.cos(g)*m),g+=bB,a.lineTo(n+Math.sin(g)*u,o-Math.cos(g)*m),g+=bB,a.lineTo(n+Math.sin(g)*u,o-Math.cos(g)*m),a.closePath();break;case"rectRounded":h=m*.516,d=m-h,s=Math.cos(g+Gi)*d,p=Math.cos(g+Gi)*(r?r/2-h:d),c=Math.sin(g+Gi)*d,y=Math.sin(g+Gi)*(r?r/2-h:d),a.arc(n-p,o-c,h,g-Se,g-Oe),a.arc(n+y,o-s,h,g-Oe,g),a.arc(n+p,o+c,h,g,g+Oe),a.arc(n-y,o+s,h,g+Oe,g+Se),a.closePath();break;case"rect":if(!k){d=Math.SQRT1_2*m,u=r?r/2:d,a.rect(n-u,o-d,2*u,2*d);break}g+=Gi;case"rectRot":p=Math.cos(g)*(r?r/2:m),s=Math.cos(g)*m,c=Math.sin(g)*m,y=Math.sin(g)*(r?r/2:m),a.moveTo(n-p,o-c),a.lineTo(n+y,o-s),a.lineTo(n+p,o+c),a.lineTo(n-y,o+s),a.closePath();break;case"crossRot":g+=Gi;case"cross":p=Math.cos(g)*(r?r/2:m),s=Math.cos(g)*m,c=Math.sin(g)*m,y=Math.sin(g)*(r?r/2:m),a.moveTo(n-p,o-c),a.lineTo(n+p,o+c),a.moveTo(n+y,o-s),a.lineTo(n-y,o+s);break;case"star":p=Math.cos(g)*(r?r/2:m),s=Math.cos(g)*m,c=Math.sin(g)*m,y=Math.sin(g)*(r?r/2:m),a.moveTo(n-p,o-c),a.lineTo(n+p,o+c),a.moveTo(n+y,o-s),a.lineTo(n-y,o+s),g+=Gi,p=Math.cos(g)*(r?r/2:m),s=Math.cos(g)*m,c=Math.sin(g)*m,y=Math.sin(g)*(r?r/2:m),a.moveTo(n-p,o-c),a.lineTo(n+p,o+c),a.moveTo(n+y,o-s),a.lineTo(n-y,o+s);break;case"line":s=r?r/2:Math.cos(g)*m,c=Math.sin(g)*m,a.moveTo(n-s,o-c),a.lineTo(n+s,o+c);break;case"dash":a.moveTo(n,o),a.lineTo(n+Math.cos(g)*(r?r/2:m),o+Math.sin(g)*m);break;case!1:a.closePath();break}a.fill(),e.borderWidth>0&&a.stroke()}}function w1(a,e,n){return n=n||.5,!e||a&&a.x>e.left-n&&a.x<e.right+n&&a.y>e.top-n&&a.y<e.bottom+n}function PL(a,e){a.save(),a.beginPath(),a.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),a.clip()}function DL(a){a.restore()}function NO(a,e,n,o,r){if(!e)return a.lineTo(n.x,n.y);if(r==="middle"){const i=(e.x+n.x)/2;a.lineTo(i,e.y),a.lineTo(i,n.y)}else r==="after"!=!!o?a.lineTo(e.x,n.y):a.lineTo(n.x,e.y);a.lineTo(n.x,n.y)}function $O(a,e,n,o){if(!e)return a.lineTo(n.x,n.y);a.bezierCurveTo(o?e.cp1x:e.cp2x,o?e.cp1y:e.cp2y,o?n.cp2x:n.cp1x,o?n.cp2y:n.cp1y,n.x,n.y)}function UO(a,e){e.translation&&a.translate(e.translation[0],e.translation[1]),Ce(e.rotation)||a.rotate(e.rotation),e.color&&(a.fillStyle=e.color),e.textAlign&&(a.textAlign=e.textAlign),e.textBaseline&&(a.textBaseline=e.textBaseline)}function WO(a,e,n,o,r){if(r.strikethrough||r.underline){const i=a.measureText(o),s=e-i.actualBoundingBoxLeft,c=e+i.actualBoundingBoxRight,d=n-i.actualBoundingBoxAscent,h=n+i.actualBoundingBoxDescent,u=r.strikethrough?(d+h)/2:h;a.strokeStyle=a.fillStyle,a.beginPath(),a.lineWidth=r.decorationWidth||2,a.moveTo(s,u),a.lineTo(c,u),a.stroke()}}function GO(a,e){const n=a.fillStyle;a.fillStyle=e.color,a.fillRect(e.left,e.top,e.width,e.height),a.fillStyle=n}function v1(a,e,n,o,r,i={}){const s=He(e)?e:[e],c=i.strokeWidth>0&&i.strokeColor!=="";let d,h;for(a.save(),a.font=r.string,UO(a,i),d=0;d<s.length;++d)h=s[d],i.backdrop&&GO(a,i.backdrop),c&&(i.strokeColor&&(a.strokeStyle=i.strokeColor),Ce(i.strokeWidth)||(a.lineWidth=i.strokeWidth),a.strokeText(h,n,o,i.maxWidth)),a.fillText(h,n,o,i.maxWidth),WO(a,n,o,h,i),o+=Number(r.lineHeight);a.restore()}function EL(a,e){const{x:n,y:o,w:r,h:i,radius:s}=e;a.arc(n+s.topLeft,o+s.topLeft,s.topLeft,1.5*Se,Se,!0),a.lineTo(n,o+i-s.bottomLeft),a.arc(n+s.bottomLeft,o+i-s.bottomLeft,s.bottomLeft,Se,Oe,!0),a.lineTo(n+r-s.bottomRight,o+i),a.arc(n+r-s.bottomRight,o+i-s.bottomRight,s.bottomRight,Oe,0,!0),a.lineTo(n+r,o+s.topRight),a.arc(n+r-s.topRight,o+s.topRight,s.topRight,0,-Oe,!0),a.lineTo(n+s.topLeft,o)}const KO=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,XO=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function ZO(a,e){const n=(""+a).match(KO);if(!n||n[1]==="normal")return e*1.2;switch(a=+n[2],n[3]){case"px":return a;case"%":a/=100;break}return e*a}const YO=a=>+a||0;function CI(a,e){const n={},o=be(e),r=o?Object.keys(e):e,i=be(a)?o?s=>ge(a[s],a[e[s]]):s=>a[s]:()=>a;for(const s of r)n[s]=YO(i(s));return n}function HB(a){return CI(a,{top:"y",right:"x",bottom:"y",left:"x"})}function vs(a){return CI(a,["topLeft","topRight","bottomLeft","bottomRight"])}function ht(a){const e=HB(a);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function Ue(a,e){a=a||{},e=e||Te.font;let n=ge(a.size,e.size);typeof n=="string"&&(n=parseInt(n,10));let o=ge(a.style,e.style);o&&!(""+o).match(XO)&&(console.warn('Invalid font style specified: "'+o+'"'),o=void 0);const r={family:ge(a.family,e.family),lineHeight:ZO(ge(a.lineHeight,e.lineHeight),n),size:n,style:o,weight:ge(a.weight,e.weight),string:""};return r.string=RO(r),r}function TL(a,e,n,o){let r,i,s;for(r=0,i=a.length;r<i;++r)if(s=a[r],s!==void 0&&s!==void 0)return s}function QO(a,e,n){const{min:o,max:r}=a,i=kB(e,(r-o)/2),s=(c,d)=>n&&c===0?0:c+d;return{min:s(o,-Math.abs(i)),max:s(r,i)}}function Yi(a,e){return Object.assign(Object.create(a),e)}function LI(a,e=[""],n,o,r=()=>a[0]){const i=n||a;typeof o>"u"&&(o=NB("_fallback",a));const s={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:a,_rootScopes:i,_fallback:o,_getTarget:r,override:c=>LI([c,...a],e,i,o)};return new Proxy(s,{deleteProperty(c,d){return delete c[d],delete c._keys,delete a[0][d],!0},get(c,d){return OB(c,d,()=>iF(d,e,a,c))},getOwnPropertyDescriptor(c,d){return Reflect.getOwnPropertyDescriptor(c._scopes[0],d)},getPrototypeOf(){return Reflect.getPrototypeOf(a[0])},has(c,d){return $B(c).includes(d)},ownKeys(c){return $B(c)},set(c,d,h){const u=c._storage||(c._storage=r());return c[d]=u[d]=h,delete c._keys,!0}})}function Cs(a,e,n,o){const r={_cacheable:!1,_proxy:a,_context:e,_subProxy:n,_stack:new Set,_descriptors:jB(a,o),setContext:i=>Cs(a,i,n,o),override:i=>Cs(a.override(i),e,n,o)};return new Proxy(r,{deleteProperty(i,s){return delete i[s],delete a[s],!0},get(i,s,c){return OB(i,s,()=>eF(i,s,c))},getOwnPropertyDescriptor(i,s){return i._descriptors.allKeys?Reflect.has(a,s)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(a,s)},getPrototypeOf(){return Reflect.getPrototypeOf(a)},has(i,s){return Reflect.has(a,s)},ownKeys(){return Reflect.ownKeys(a)},set(i,s,c){return a[s]=c,delete i[s],!0}})}function jB(a,e={scriptable:!0,indexable:!0}){const{_scriptable:n=e.scriptable,_indexable:o=e.indexable,_allKeys:r=e.allKeys}=a;return{allKeys:r,scriptable:n,indexable:o,isScriptable:xa(n)?n:()=>n,isIndexable:xa(o)?o:()=>o}}const JO=(a,e)=>a?a+yI(e):e,SI=(a,e)=>be(e)&&a!=="adapters"&&(Object.getPrototypeOf(e)===null||e.constructor===Object);function OB(a,e,n){if(Object.prototype.hasOwnProperty.call(a,e)||e==="constructor")return a[e];const o=n();return a[e]=o,o}function eF(a,e,n){const{_proxy:o,_context:r,_subProxy:i,_descriptors:s}=a;let c=o[e];return xa(c)&&s.isScriptable(e)&&(c=tF(e,c,a,n)),He(c)&&c.length&&(c=aF(e,c,a,s.isIndexable)),SI(e,c)&&(c=Cs(c,r,i&&i[e],s)),c}function tF(a,e,n,o){const{_proxy:r,_context:i,_subProxy:s,_stack:c}=n;if(c.has(a))throw new Error("Recursion detected: "+Array.from(c).join("->")+"->"+a);c.add(a);let d=e(i,s||o);return c.delete(a),SI(a,d)&&(d=II(r._scopes,r,a,d)),d}function aF(a,e,n,o){const{_proxy:r,_context:i,_subProxy:s,_descriptors:c}=n;if(typeof i.index<"u"&&o(a))return e[i.index%e.length];if(be(e[0])){const d=e,h=r._scopes.filter(u=>u!==d);e=[];for(const u of d){const p=II(h,r,a,u);e.push(Cs(p,i,s&&s[a],c))}}return e}function FB(a,e,n){return xa(a)?a(e,n):a}const nF=(a,e)=>a===!0?e:typeof a=="string"?Wi(e,a):void 0;function oF(a,e,n,o,r){for(const i of e){const s=nF(n,i);if(s){a.add(s);const c=FB(s._fallback,n,r);if(typeof c<"u"&&c!==n&&c!==o)return c}else if(s===!1&&typeof o<"u"&&n!==o)return null}return!1}function II(a,e,n,o){const r=e._rootScopes,i=FB(e._fallback,n,o),s=[...a,...r],c=new Set;c.add(o);let d=RB(c,s,n,i||n,o);return d===null||typeof i<"u"&&i!==n&&(d=RB(c,s,i,d,o),d===null)?!1:LI(Array.from(c),[""],r,i,()=>rF(e,n,o))}function RB(a,e,n,o,r){for(;n;)n=oF(a,e,n,o,r);return n}function rF(a,e,n){const o=a._getTarget();e in o||(o[e]={});const r=o[e];return He(r)&&be(n)?n:r||{}}function iF(a,e,n,o){let r;for(const i of e)if(r=NB(JO(i,a),n),typeof r<"u")return SI(a,r)?II(n,o,a,r):r}function NB(a,e){for(const n of e){if(!n)continue;const o=n[a];if(typeof o<"u")return o}}function $B(a){let e=a._keys;return e||(e=a._keys=sF(a._scopes)),e}function sF(a){const e=new Set;for(const n of a)for(const o of Object.keys(n).filter(r=>!r.startsWith("_")))e.add(o);return Array.from(e)}const lF=Number.EPSILON||1e-14,Ls=(a,e)=>e<a.length&&!a[e].skip&&a[e],UB=a=>a==="x"?"y":"x";function cF(a,e,n,o){const r=a.skip?e:a,i=e,s=n.skip?e:n,c=fI(i,r),d=fI(s,i);let h=c/(c+d),u=d/(c+d);h=isNaN(h)?0:h,u=isNaN(u)?0:u;const p=o*h,y=o*u;return{previous:{x:i.x-p*(s.x-r.x),y:i.y-p*(s.y-r.y)},next:{x:i.x+y*(s.x-r.x),y:i.y+y*(s.y-r.y)}}}function dF(a,e,n){const o=a.length;let r,i,s,c,d,h=Ls(a,0);for(let u=0;u<o-1;++u)if(d=h,h=Ls(a,u+1),!(!d||!h)){if(m1(e[u],0,lF)){n[u]=n[u+1]=0;continue}r=n[u]/e[u],i=n[u+1]/e[u],c=Math.pow(r,2)+Math.pow(i,2),!(c<=9)&&(s=3/Math.sqrt(c),n[u]=r*s*e[u],n[u+1]=i*s*e[u])}}function hF(a,e,n="x"){const o=UB(n),r=a.length;let i,s,c,d=Ls(a,0);for(let h=0;h<r;++h){if(s=c,c=d,d=Ls(a,h+1),!c)continue;const u=c[n],p=c[o];s&&(i=(u-s[n])/3,c[`cp1${n}`]=u-i,c[`cp1${o}`]=p-i*e[h]),d&&(i=(d[n]-u)/3,c[`cp2${n}`]=u+i,c[`cp2${o}`]=p+i*e[h])}}function uF(a,e="x"){const n=UB(e),o=a.length,r=Array(o).fill(0),i=Array(o);let s,c,d,h=Ls(a,0);for(s=0;s<o;++s)if(c=d,d=h,h=Ls(a,s+1),!!d){if(h){const u=h[e]-d[e];r[s]=u!==0?(h[n]-d[n])/u:0}i[s]=c?h?jt(r[s-1])!==jt(r[s])?0:(r[s-1]+r[s])/2:r[s-1]:r[s]}dF(a,r,i),hF(a,i,e)}function HL(a,e,n){return Math.max(Math.min(a,n),e)}function pF(a,e){let n,o,r,i,s,c=w1(a[0],e);for(n=0,o=a.length;n<o;++n)s=i,i=c,c=n<o-1&&w1(a[n+1],e),i&&(r=a[n],s&&(r.cp1x=HL(r.cp1x,e.left,e.right),r.cp1y=HL(r.cp1y,e.top,e.bottom)),c&&(r.cp2x=HL(r.cp2x,e.left,e.right),r.cp2y=HL(r.cp2y,e.top,e.bottom)))}function yF(a,e,n,o,r){let i,s,c,d;if(e.spanGaps&&(a=a.filter(h=>!h.skip)),e.cubicInterpolationMode==="monotone")uF(a,r);else{let h=o?a[a.length-1]:a[0];for(i=0,s=a.length;i<s;++i)c=a[i],d=cF(h,c,a[Math.min(i+1,s-(o?0:1))%s],e.tension),c.cp1x=d.previous.x,c.cp1y=d.previous.y,c.cp2x=d.next.x,c.cp2y=d.next.y,h=c}e.capBezierPoints&&pF(a,n)}function _I(){return typeof window<"u"&&typeof document<"u"}function AI(a){let e=a.parentNode;return e&&e.toString()==="[object ShadowRoot]"&&(e=e.host),e}function jL(a,e,n){let o;return typeof a=="string"?(o=parseInt(a,10),a.indexOf("%")!==-1&&(o=o/100*e.parentNode[n])):o=a,o}const OL=a=>a.ownerDocument.defaultView.getComputedStyle(a,null);function fF(a,e){return OL(a).getPropertyValue(e)}const kF=["top","right","bottom","left"];function Qi(a,e,n){const o={};n=n?"-"+n:"";for(let r=0;r<4;r++){const i=kF[r];o[i]=parseFloat(a[e+"-"+i+n])||0}return o.width=o.left+o.right,o.height=o.top+o.bottom,o}const mF=(a,e,n)=>(a>0||e>0)&&(!n||!n.shadowRoot);function gF(a,e){const n=a.touches,o=n&&n.length?n[0]:a,{offsetX:r,offsetY:i}=o;let s=!1,c,d;if(mF(r,i,a.target))c=r,d=i;else{const h=e.getBoundingClientRect();c=o.clientX-h.left,d=o.clientY-h.top,s=!0}return{x:c,y:d,box:s}}function Ji(a,e){if("native"in a)return a;const{canvas:n,currentDevicePixelRatio:o}=e,r=OL(n),i=r.boxSizing==="border-box",s=Qi(r,"padding"),c=Qi(r,"border","width"),{x:d,y:h,box:u}=gF(a,n),p=s.left+(u&&c.left),y=s.top+(u&&c.top);let{width:f,height:k}=e;return i&&(f-=s.width+c.width,k-=s.height+c.height),{x:Math.round((d-p)/f*n.width/o),y:Math.round((h-y)/k*n.height/o)}}function MF(a,e,n){let o,r;if(e===void 0||n===void 0){const i=a&&AI(a);if(!i)e=a.clientWidth,n=a.clientHeight;else{const s=i.getBoundingClientRect(),c=OL(i),d=Qi(c,"border","width"),h=Qi(c,"padding");e=s.width-h.width-d.width,n=s.height-h.height-d.height,o=jL(c.maxWidth,i,"clientWidth"),r=jL(c.maxHeight,i,"clientHeight")}}return{width:e,height:n,maxWidth:o||VL,maxHeight:r||VL}}const wa=a=>Math.round(a*10)/10;function bF(a,e,n,o){const r=OL(a),i=Qi(r,"margin"),s=jL(r.maxWidth,a,"clientWidth")||VL,c=jL(r.maxHeight,a,"clientHeight")||VL,d=MF(a,e,n);let{width:h,height:u}=d;if(r.boxSizing==="content-box"){const y=Qi(r,"border","width"),f=Qi(r,"padding");h-=f.width+y.width,u-=f.height+y.height}return h=Math.max(0,h-i.width),u=Math.max(0,o?h/o:u-i.height),h=wa(Math.min(h,s,d.maxWidth)),u=wa(Math.min(u,c,d.maxHeight)),h&&!u&&(u=wa(h/2)),(e!==void 0||n!==void 0)&&o&&d.height&&u>d.height&&(u=d.height,h=wa(Math.floor(u*o))),{width:h,height:u}}function WB(a,e,n){const o=e||1,r=wa(a.height*o),i=wa(a.width*o);a.height=wa(a.height),a.width=wa(a.width);const s=a.canvas;return s.style&&(n||!s.style.height&&!s.style.width)&&(s.style.height=`${a.height}px`,s.style.width=`${a.width}px`),a.currentDevicePixelRatio!==o||s.height!==r||s.width!==i?(a.currentDevicePixelRatio=o,s.height=r,s.width=i,a.ctx.setTransform(o,0,0,o,0,0),!0):!1}const xF=(function(){let a=!1;try{const e={get passive(){return a=!0,!1}};_I()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch{}return a})();function GB(a,e){const n=fF(a,e),o=n&&n.match(/^(\d+)(\.\d+)?px$/);return o?+o[1]:void 0}function es(a,e,n,o){return{x:a.x+n*(e.x-a.x),y:a.y+n*(e.y-a.y)}}function wF(a,e,n,o){return{x:a.x+n*(e.x-a.x),y:o==="middle"?n<.5?a.y:e.y:o==="after"?n<1?a.y:e.y:n>0?e.y:a.y}}function vF(a,e,n,o){const r={x:a.cp2x,y:a.cp2y},i={x:e.cp1x,y:e.cp1y},s=es(a,r,n),c=es(r,i,n),d=es(i,e,n),h=es(s,c,n),u=es(c,d,n);return es(h,u,n)}const CF=function(a,e){return{x(n){return a+a+e-n},setWidth(n){e=n},textAlign(n){return n==="center"?n:n==="right"?"left":"right"},xPlus(n,o){return n-o},leftForLtr(n,o){return n-o}}},LF=function(){return{x(a){return a},setWidth(a){},textAlign(a){return a},xPlus(a,e){return a+e},leftForLtr(a,e){return a}}};function Ss(a,e,n){return a?CF(e,n):LF()}function KB(a,e){let n,o;(e==="ltr"||e==="rtl")&&(n=a.canvas.style,o=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),a.prevTextDirection=o)}function XB(a,e){e!==void 0&&(delete a.prevTextDirection,a.canvas.style.setProperty("direction",e[0],e[1]))}function ZB(a){return a==="angle"?{between:M1,compare:CO,normalize:nt}:{between:Yt,compare:(e,n)=>e-n,normalize:e=>e}}function YB({start:a,end:e,count:n,loop:o,style:r}){return{start:a%n,end:e%n,loop:o&&(e-a+1)%n===0,style:r}}function SF(a,e,n){const{property:o,start:r,end:i}=n,{between:s,normalize:c}=ZB(o),d=e.length;let{start:h,end:u,loop:p}=a,y,f;if(p){for(h+=d,u+=d,y=0,f=d;y<f&&s(c(e[h%d][o]),r,i);++y)h--,u--;h%=d,u%=d}return u<h&&(u+=d),{start:h,end:u,loop:p,style:a.style}}function QB(a,e,n){if(!n)return[a];const{property:o,start:r,end:i}=n,s=e.length,{compare:c,between:d,normalize:h}=ZB(o),{start:u,end:p,loop:y,style:f}=SF(a,e,n),k=[];let m=!1,g=null,w,S,v;const M=()=>d(r,v,w)&&c(r,v)!==0,C=()=>c(i,w)===0||d(i,v,w),x=()=>m||M(),b=()=>!m||C();for(let L=u,I=u;L<=p;++L)S=e[L%s],!S.skip&&(w=h(S[o]),w!==v&&(m=d(w,r,i),g===null&&x()&&(g=c(w,r)===0?L:I),g!==null&&b()&&(k.push(YB({start:g,end:L,loop:y,count:s,style:f})),g=null),I=L,v=w));return g!==null&&k.push(YB({start:g,end:p,loop:y,count:s,style:f})),k}function JB(a,e){const n=[],o=a.segments;for(let r=0;r<o.length;r++){const i=QB(o[r],a.points,e);i.length&&n.push(...i)}return n}function IF(a,e,n,o){let r=0,i=e-1;if(n&&!o)for(;r<e&&!a[r].skip;)r++;for(;r<e&&a[r].skip;)r++;for(r%=e,n&&(i+=r);i>r&&a[i%e].skip;)i--;return i%=e,{start:r,end:i}}function _F(a,e,n,o){const r=a.length,i=[];let s=e,c=a[e],d;for(d=e+1;d<=n;++d){const h=a[d%r];h.skip||h.stop?c.skip||(o=!1,i.push({start:e%r,end:(d-1)%r,loop:o}),e=s=h.stop?d:null):(s=d,c.skip&&(e=d)),c=h}return s!==null&&i.push({start:e%r,end:s%r,loop:o}),i}function AF(a,e){const n=a.points,o=a.options.spanGaps,r=n.length;if(!r)return[];const i=!!a._loop,{start:s,end:c}=IF(n,r,i,o);if(o===!0)return ez(a,[{start:s,end:c,loop:i}],n,e);const d=c<s?c+r:c,h=!!a._fullLoop&&s===0&&c===r-1;return ez(a,_F(n,s,d,h),n,e)}function ez(a,e,n,o){return!o||!o.setContext||!n?e:BF(a,e,n,o)}function BF(a,e,n,o){const r=a._chart.getContext(),i=tz(a.options),{_datasetIndex:s,options:{spanGaps:c}}=a,d=n.length,h=[];let u=i,p=e[0].start,y=p;function f(k,m,g,w){const S=c?-1:1;if(k!==m){for(k+=d;n[k%d].skip;)k-=S;for(;n[m%d].skip;)m+=S;k%d!==m%d&&(h.push({start:k%d,end:m%d,loop:g,style:w}),u=w,p=m%d)}}for(const k of e){p=c?p:k.start;let m=n[p%d],g;for(y=p+1;y<=k.end;y++){const w=n[y%d];g=tz(o.setContext(Yi(r,{type:"segment",p0:m,p1:w,p0DataIndex:(y-1)%d,p1DataIndex:y%d,datasetIndex:s}))),zF(g,u)&&f(p,y-1,k.loop,u),m=w,u=g}p<y-1&&f(p,y-1,k.loop,u)}return h}function tz(a){return{backgroundColor:a.backgroundColor,borderCapStyle:a.borderCapStyle,borderDash:a.borderDash,borderDashOffset:a.borderDashOffset,borderJoinStyle:a.borderJoinStyle,borderWidth:a.borderWidth,borderColor:a.borderColor}}function zF(a,e){if(!e)return!1;const n=[],o=function(r,i){return gI(i)?(n.includes(i)||n.push(i),n.indexOf(i)):i};return JSON.stringify(a,o)!==JSON.stringify(e,o)}function FL(a,e,n){return a.options.clip?a[n]:e[n]}function VF(a,e){const{xScale:n,yScale:o}=a;return n&&o?{left:FL(n,e,"left"),right:FL(n,e,"right"),top:FL(o,e,"top"),bottom:FL(o,e,"bottom")}:e}function az(a,e){const n=e._clip;if(n.disabled)return!1;const o=VF(e,a.chartArea);return{left:n.left===!1?0:o.left-(n.left===!0?0:n.left),right:n.right===!1?a.width:o.right+(n.right===!0?0:n.right),top:n.top===!1?0:o.top-(n.top===!0?0:n.top),bottom:n.bottom===!1?a.height:o.bottom+(n.bottom===!0?0:n.bottom)}}/*!
|
|
8513
8513
|
* Chart.js v4.5.1
|
|
8514
8514
|
* https://www.chartjs.org
|
|
8515
8515
|
* (c) 2025 Chart.js Contributors
|
|
8516
8516
|
* Released under the MIT License
|
|
8517
|
-
*/class qF{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,n,o,r){const i=n.listeners[r],s=n.duration;i.forEach(c=>c({chart:e,initial:n.initial,numSteps:s,currentStep:Math.min(o-n.start,s)}))}_refresh(){this._request||(this._running=!0,this._request=IB.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let n=0;this._charts.forEach((o,r)=>{if(!o.running||!o.items.length)return;const i=o.items;let s=i.length-1,c=!1,d;for(;s>=0;--s)d=i[s],d._active?(d._total>o.duration&&(o.duration=d._total),d.tick(e),c=!0):(i[s]=i[i.length-1],i.pop());c&&(r.draw(),this._notify(r,o,e,"progress")),i.length||(o.running=!1,this._notify(r,o,e,"complete"),o.initial=!1),n+=i.length}),this._lastDate=e,n===0&&(this._running=!1)}_getAnims(e){const n=this._charts;let o=n.get(e);return o||(o={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(e,o)),o}listen(e,n,o){this._getAnims(e).listeners[n].push(o)}add(e,n){!n||!n.length||this._getAnims(e).items.push(...n)}has(e){return this._getAnims(e).items.length>0}start(e){const n=this._charts.get(e);n&&(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((o,r)=>Math.max(o,r._duration),0),this._refresh())}running(e){if(!this._running)return!1;const n=this._charts.get(e);return!(!n||!n.running||!n.items.length)}stop(e){const n=this._charts.get(e);if(!n||!n.items.length)return;const o=n.items;let r=o.length-1;for(;r>=0;--r)o[r].cancel();n.items=[],this._notify(e,n,Date.now(),"complete")}remove(e){return this._charts.delete(e)}}var Qt=new qF;const aV="transparent",PF={boolean(a,e,n){return n>.5?e:a},color(a,e,n){const o=VB(a||aV),r=o.valid&&VB(e||aV);return r&&r.valid?r.mix(o,n).hexString():e},number(a,e,n){return a+(e-a)*n}};class DF{constructor(e,n,o,r){const i=n[o];r=TL([e.to,r,i,e.from]);const s=TL([e.from,i,r]);this._active=!0,this._fn=e.fn||PF[e.type||typeof s],this._easing=b1[e.easing]||b1.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=n,this._prop=o,this._from=s,this._to=r,this._promises=void 0}active(){return this._active}update(e,n,o){if(this._active){this._notify(!1);const r=this._target[this._prop],i=o-this._start,s=this._duration-i;this._start=o,this._duration=Math.floor(Math.max(s,e.duration)),this._total+=i,this._loop=!!e.loop,this._to=TL([e.to,n,r,e.from]),this._from=TL([e.from,r,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const n=e-this._start,o=this._duration,r=this._prop,i=this._from,s=this._loop,c=this._to;let d;if(this._active=i!==c&&(s||n<o),!this._active){this._target[r]=c,this._notify(!0);return}if(n<0){this._target[r]=i;return}d=n/o%2,d=s&&d>1?2-d:d,d=this._easing(Math.min(1,Math.max(0,d))),this._target[r]=this._fn(i,c,d)}wait(){const e=this._promises||(this._promises=[]);return new Promise((n,o)=>{e.push({res:n,rej:o})})}_notify(e){const n=e?"res":"rej",o=this._promises||[];for(let r=0;r<o.length;r++)o[r][n]()}}class nV{constructor(e,n){this._chart=e,this._properties=new Map,this.configure(n)}configure(e){if(!be(e))return;const n=Object.keys(Te.animation),o=this._properties;Object.getOwnPropertyNames(e).forEach(r=>{const i=e[r];if(!be(i))return;const s={};for(const c of n)s[c]=i[c];(He(i.properties)&&i.properties||[r]).forEach(c=>{(c===r||!o.has(c))&&o.set(c,s)})})}_animateOptions(e,n){const o=n.options,r=TF(e,o);if(!r)return[];const i=this._createAnimations(r,o);return o.$shared&&EF(e.options.$animations,o).then(()=>{e.options=o},()=>{}),i}_createAnimations(e,n){const o=this._properties,r=[],i=e.$animations||(e.$animations={}),s=Object.keys(n),c=Date.now();let d;for(d=s.length-1;d>=0;--d){const h=s[d];if(h.charAt(0)==="$")continue;if(h==="options"){r.push(...this._animateOptions(e,n));continue}const u=n[h];let p=i[h];const y=o.get(h);if(p)if(y&&p.active()){p.update(y,u,c);continue}else p.cancel();if(!y||!y.duration){e[h]=u;continue}i[h]=p=new DF(y,e,h,u),r.push(p)}return r}update(e,n){if(this._properties.size===0){Object.assign(e,n);return}const o=this._createAnimations(e,n);if(o.length)return Qt.add(this._chart,o),!0}}function EF(a,e){const n=[],o=Object.keys(e);for(let r=0;r<o.length;r++){const i=a[o[r]];i&&i.active()&&n.push(i.wait())}return Promise.all(n)}function TF(a,e){if(!e)return;let n=a.options;if(!n){a.options=e;return}return n.$shared&&(a.options=n=Object.assign({},n,{$shared:!1,$animations:{}})),n}function oV(a,e){const n=a&&a.options||{},o=n.reverse,r=n.min===void 0?e:0,i=n.max===void 0?e:0;return{start:o?i:r,end:o?r:i}}function HF(a,e,n){if(n===!1)return!1;const o=oV(a,n),r=oV(e,n);return{top:r.end,right:o.end,bottom:r.start,left:o.start}}function jF(a){let e,n,o,r;return be(a)?(e=a.top,n=a.right,o=a.bottom,r=a.left):e=n=o=r=a,{top:e,right:n,bottom:o,left:r,disabled:a===!1}}function rV(a,e){const n=[],o=a._getSortedDatasetMetas(e);let r,i;for(r=0,i=o.length;r<i;++r)n.push(o[r].index);return n}function iV(a,e,n,o={}){const r=a.keys,i=o.mode==="single";let s,c,d,h;if(e===null)return;let u=!1;for(s=0,c=r.length;s<c;++s){if(d=+r[s],d===n){if(u=!0,o.all)continue;break}h=a.values[d],Re(h)&&(i||e===0||jt(e)===jt(h))&&(e+=h)}return!u&&!o.all?0:e}function OF(a,e){const{iScale:n,vScale:o}=e,r=n.axis==="x"?"x":"y",i=o.axis==="x"?"x":"y",s=Object.keys(a),c=new Array(s.length);let d,h,u;for(d=0,h=s.length;d<h;++d)u=s[d],c[d]={[r]:u,[i]:a[u]};return c}function BI(a,e){const n=a&&a.options.stacked;return n||n===void 0&&e.stack!==void 0}function FF(a,e,n){return`${a.id}.${e.id}.${n.stack||n.type}`}function RF(a){const{min:e,max:n,minDefined:o,maxDefined:r}=a.getUserBounds();return{min:o?e:Number.NEGATIVE_INFINITY,max:r?n:Number.POSITIVE_INFINITY}}function NF(a,e,n){const o=a[e]||(a[e]={});return o[n]||(o[n]={})}function sV(a,e,n,o){for(const r of e.getMatchingVisibleMetas(o).reverse()){const i=a[r.index];if(n&&i>0||!n&&i<0)return r.index}return null}function lV(a,e){const{chart:n,_cachedMeta:o}=a,r=n._stacks||(n._stacks={}),{iScale:i,vScale:s,index:c}=o,d=i.axis,h=s.axis,u=FF(i,s,o),p=e.length;let y;for(let f=0;f<p;++f){const k=e[f],{[d]:m,[h]:g}=k,w=k._stacks||(k._stacks={});y=w[h]=NF(r,u,m),y[c]=g,y._top=sV(y,s,!0,o.type),y._bottom=sV(y,s,!1,o.type);const S=y._visualValues||(y._visualValues={});S[c]=g}}function VI(a,e){const n=a.scales;return Object.keys(n).filter(o=>n[o].axis===e).shift()}function $F(a,e){return Yi(a,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}function UF(a,e,n){return Yi(a,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:n,index:e,mode:"default",type:"data"})}function C1(a,e){const n=a.controller.index,o=a.vScale&&a.vScale.axis;if(o){e=e||a._parsed;for(const r of e){const i=r._stacks;if(!i||i[o]===void 0||i[o][n]===void 0)return;delete i[o][n],i[o]._visualValues!==void 0&&i[o]._visualValues[n]!==void 0&&delete i[o]._visualValues[n]}}}const zI=a=>a==="reset"||a==="none",cV=(a,e)=>e?a:Object.assign({},a),WF=(a,e,n)=>a&&!e.hidden&&e._stacked&&{keys:rV(n,!0),values:null};class ts{constructor(e,n){this.chart=e,this._ctx=e.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=BI(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(e){this.index!==e&&C1(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,n=this._cachedMeta,o=this.getDataset(),r=(p,y,f,k)=>p==="x"?y:p==="r"?k:f,i=n.xAxisID=ge(o.xAxisID,VI(e,"x")),s=n.yAxisID=ge(o.yAxisID,VI(e,"y")),c=n.rAxisID=ge(o.rAxisID,VI(e,"r")),d=n.indexAxis,h=n.iAxisID=r(d,i,s,c),u=n.vAxisID=r(d,s,i,c);n.xScale=this.getScaleForId(i),n.yScale=this.getScaleForId(s),n.rScale=this.getScaleForId(c),n.iScale=this.getScaleForId(h),n.vScale=this.getScaleForId(u)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const n=this._cachedMeta;return e===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&LB(this._data,this),e._stacked&&C1(e)}_dataCheck(){const e=this.getDataset(),n=e.data||(e.data=[]),o=this._data;if(be(n)){const r=this._cachedMeta;this._data=OF(n,r)}else if(o!==n){if(o){LB(o,this);const r=this._cachedMeta;C1(r),r._parsed=[]}n&&Object.isExtensible(n)&&_O(n,this),this._syncList=[],this._data=n}}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const n=this._cachedMeta,o=this.getDataset();let r=!1;this._dataCheck();const i=n._stacked;n._stacked=BI(n.vScale,n),n.stack!==o.stack&&(r=!0,C1(n),n.stack=o.stack),this._resyncElements(e),(r||i!==n._stacked)&&(lV(this,n._parsed),n._stacked=BI(n.vScale,n))}configure(){const e=this.chart.config,n=e.datasetScopeKeys(this._type),o=e.getOptionScopes(this.getDataset(),n,!0);this.options=e.createResolver(o,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,n){const{_cachedMeta:o,_data:r}=this,{iScale:i,_stacked:s}=o,c=i.axis;let d=e===0&&n===r.length?!0:o._sorted,h=e>0&&o._parsed[e-1],u,p,y;if(this._parsing===!1)o._parsed=r,o._sorted=!0,y=r;else{He(r[e])?y=this.parseArrayData(o,r,e,n):be(r[e])?y=this.parseObjectData(o,r,e,n):y=this.parsePrimitiveData(o,r,e,n);const f=()=>p[c]===null||h&&p[c]<h[c];for(u=0;u<n;++u)o._parsed[u+e]=p=y[u],d&&(f()&&(d=!1),h=p);o._sorted=d}s&&lV(this,y)}parsePrimitiveData(e,n,o,r){const{iScale:i,vScale:s}=e,c=i.axis,d=s.axis,h=i.getLabels(),u=i===s,p=new Array(r);let y,f,k;for(y=0,f=r;y<f;++y)k=y+o,p[y]={[c]:u||i.parse(h[k],k),[d]:s.parse(n[k],k)};return p}parseArrayData(e,n,o,r){const{xScale:i,yScale:s}=e,c=new Array(r);let d,h,u,p;for(d=0,h=r;d<h;++d)u=d+o,p=n[u],c[d]={x:i.parse(p[0],u),y:s.parse(p[1],u)};return c}parseObjectData(e,n,o,r){const{xScale:i,yScale:s}=e,{xAxisKey:c="x",yAxisKey:d="y"}=this._parsing,h=new Array(r);let u,p,y,f;for(u=0,p=r;u<p;++u)y=u+o,f=n[y],h[u]={x:i.parse(Wi(f,c),y),y:s.parse(Wi(f,d),y)};return h}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,n,o){const r=this.chart,i=this._cachedMeta,s=n[e.axis],c={keys:rV(r,!0),values:n._stacks[e.axis]._visualValues};return iV(c,s,i.index,{mode:o})}updateRangeFromParsed(e,n,o,r){const i=o[n.axis];let s=i===null?NaN:i;const c=r&&o._stacks[n.axis];r&&c&&(r.values=c,s=iV(r,i,this._cachedMeta.index)),e.min=Math.min(e.min,s),e.max=Math.max(e.max,s)}getMinMax(e,n){const o=this._cachedMeta,r=o._parsed,i=o._sorted&&e===o.iScale,s=r.length,c=this._getOtherScale(e),d=WF(n,o,this.chart),h={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:u,max:p}=RF(c);let y,f;function k(){f=r[y];const m=f[c.axis];return!Re(f[e.axis])||u>m||p<m}for(y=0;y<s&&!(!k()&&(this.updateRangeFromParsed(h,e,f,d),i));++y);if(i){for(y=s-1;y>=0;--y)if(!k()){this.updateRangeFromParsed(h,e,f,d);break}}return h}getAllParsedValues(e){const n=this._cachedMeta._parsed,o=[];let r,i,s;for(r=0,i=n.length;r<i;++r)s=n[r][e.axis],Re(s)&&o.push(s);return o}getMaxOverflow(){return!1}getLabelAndValue(e){const n=this._cachedMeta,o=n.iScale,r=n.vScale,i=this.getParsed(e);return{label:o?""+o.getLabelForValue(i[o.axis]):"",value:r?""+r.getLabelForValue(i[r.axis]):""}}_update(e){const n=this._cachedMeta;this.update(e||"default"),n._clip=jF(ge(this.options.clip,HF(n.xScale,n.yScale,this.getMaxOverflow())))}update(e){}draw(){const e=this._ctx,n=this.chart,o=this._cachedMeta,r=o.data||[],i=n.chartArea,s=[],c=this._drawStart||0,d=this._drawCount||r.length-c,h=this.options.drawActiveElementsOnTop;let u;for(o.dataset&&o.dataset.draw(e,i,c,d),u=c;u<c+d;++u){const p=r[u];p.hidden||(p.active&&h?s.push(p):p.draw(e,i))}for(u=0;u<s.length;++u)s[u].draw(e,i)}getStyle(e,n){const o=n?"active":"default";return e===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(o):this.resolveDataElementOptions(e||0,o)}getContext(e,n,o){const r=this.getDataset();let i;if(e>=0&&e<this._cachedMeta.data.length){const s=this._cachedMeta.data[e];i=s.$context||(s.$context=UF(this.getContext(),e,s)),i.parsed=this.getParsed(e),i.raw=r.data[e],i.index=i.dataIndex=e}else i=this.$context||(this.$context=$F(this.chart.getContext(),this.index)),i.dataset=r,i.index=i.datasetIndex=this.index;return i.active=!!n,i.mode=o,i}resolveDatasetElementOptions(e){return this._resolveElementOptions(this.datasetElementType.id,e)}resolveDataElementOptions(e,n){return this._resolveElementOptions(this.dataElementType.id,n,e)}_resolveElementOptions(e,n="default",o){const r=n==="active",i=this._cachedDataOpts,s=e+"-"+n,c=i[s],d=this.enableOptionSharing&&k1(o);if(c)return cV(c,d);const h=this.chart.config,u=h.datasetElementScopeKeys(this._type,e),p=r?[`${e}Hover`,"hover",e,""]:[e,""],y=h.getOptionScopes(this.getDataset(),u),f=Object.keys(Te.elements[e]),k=()=>this.getContext(o,r,n),m=h.resolveNamedOptions(y,f,k,p);return m.$shared&&(m.$shared=d,i[s]=Object.freeze(cV(m,d))),m}_resolveAnimations(e,n,o){const r=this.chart,i=this._cachedDataOpts,s=`animation-${n}`,c=i[s];if(c)return c;let d;if(r.options.animation!==!1){const u=this.chart.config,p=u.datasetAnimationScopeKeys(this._type,n),y=u.getOptionScopes(this.getDataset(),p);d=u.createResolver(y,this.getContext(e,o,n))}const h=new nV(r,d&&d.animations);return d&&d._cacheable&&(i[s]=Object.freeze(h)),h}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,n){return!n||zI(e)||this.chart._animationsDisabled}_getSharedOptions(e,n){const o=this.resolveDataElementOptions(e,n),r=this._sharedOptions,i=this.getSharedOptions(o),s=this.includeOptions(n,i)||i!==r;return this.updateSharedOptions(i,n,o),{sharedOptions:i,includeOptions:s}}updateElement(e,n,o,r){zI(r)?Object.assign(e,o):this._resolveAnimations(n,r).update(e,o)}updateSharedOptions(e,n,o){e&&!zI(n)&&this._resolveAnimations(void 0,n).update(e,o)}_setStyle(e,n,o,r){e.active=r;const i=this.getStyle(n,r);this._resolveAnimations(n,o,r).update(e,{options:!r&&this.getSharedOptions(i)||i})}removeHoverStyle(e,n,o){this._setStyle(e,o,"active",!1)}setHoverStyle(e,n,o){this._setStyle(e,o,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const n=this._data,o=this._cachedMeta.data;for(const[c,d,h]of this._syncList)this[c](d,h);this._syncList=[];const r=o.length,i=n.length,s=Math.min(i,r);s&&this.parse(0,s),i>r?this._insertElements(r,i-r,e):i<r&&this._removeElements(i,r-i)}_insertElements(e,n,o=!0){const r=this._cachedMeta,i=r.data,s=e+n;let c;const d=h=>{for(h.length+=n,c=h.length-1;c>=s;c--)h[c]=h[c-n]};for(d(i),c=e;c<s;++c)i[c]=new this.dataElementType;this._parsing&&d(r._parsed),this.parse(e,n),o&&this.updateElements(i,e,n,"reset")}updateElements(e,n,o,r){}_removeElements(e,n){const o=this._cachedMeta;if(this._parsing){const r=o._parsed.splice(e,n);o._stacked&&C1(o,r)}o.data.splice(e,n)}_sync(e){if(this._parsing)this._syncList.push(e);else{const[n,o,r]=e;this[n](o,r)}this.chart._dataChanges.push([this.index,...e])}_onDataPush(){const e=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-e,e])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(e,n){n&&this._sync(["_removeElements",e,n]);const o=arguments.length-2;o&&this._sync(["_insertElements",e,o])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}se(ts,"defaults",{}),se(ts,"datasetElementType",null),se(ts,"dataElementType",null);function GF(a,e){if(!a._cache.$bar){const n=a.getMatchingVisibleMetas(e);let o=[];for(let r=0,i=n.length;r<i;r++)o=o.concat(n[r].controller.getAllParsedValues(a));a._cache.$bar=SB(o.sort((r,i)=>r-i))}return a._cache.$bar}function KF(a){const e=a.iScale,n=GF(e,a.type);let o=e._length,r,i,s,c;const d=()=>{s===32767||s===-32768||(k1(c)&&(o=Math.min(o,Math.abs(s-c)||o)),c=s)};for(r=0,i=n.length;r<i;++r)s=e.getPixelForValue(n[r]),d();for(c=void 0,r=0,i=e.ticks.length;r<i;++r)s=e.getPixelForTick(r),d();return o}function XF(a,e,n,o){const r=n.barThickness;let i,s;return Ce(r)?(i=e.min*n.categoryPercentage,s=n.barPercentage):(i=r*o,s=1),{chunk:i/o,ratio:s,start:e.pixels[a]-i/2}}function ZF(a,e,n,o){const r=e.pixels,i=r[a];let s=a>0?r[a-1]:null,c=a<r.length-1?r[a+1]:null;const d=n.categoryPercentage;s===null&&(s=i-(c===null?e.end-e.start:c-i)),c===null&&(c=i+i-s);const h=i-(i-Math.min(s,c))/2*d;return{chunk:Math.abs(c-s)/2*d/o,ratio:n.barPercentage,start:h}}function YF(a,e,n,o){const r=n.parse(a[0],o),i=n.parse(a[1],o),s=Math.min(r,i),c=Math.max(r,i);let d=s,h=c;Math.abs(s)>Math.abs(c)&&(d=c,h=s),e[n.axis]=h,e._custom={barStart:d,barEnd:h,start:r,end:i,min:s,max:c}}function dV(a,e,n,o){return He(a)?YF(a,e,n,o):e[n.axis]=n.parse(a,o),e}function hV(a,e,n,o){const r=a.iScale,i=a.vScale,s=r.getLabels(),c=r===i,d=[];let h,u,p,y;for(h=n,u=n+o;h<u;++h)y=e[h],p={},p[r.axis]=c||r.parse(s[h],h),d.push(dV(y,p,i,h));return d}function qI(a){return a&&a.barStart!==void 0&&a.barEnd!==void 0}function QF(a,e,n){return a!==0?jt(a):(e.isHorizontal()?1:-1)*(e.min>=n?1:-1)}function JF(a){let e,n,o,r,i;return a.horizontal?(e=a.base>a.x,n="left",o="right"):(e=a.base<a.y,n="bottom",o="top"),e?(r="end",i="start"):(r="start",i="end"),{start:n,end:o,reverse:e,top:r,bottom:i}}function eR(a,e,n,o){let r=e.borderSkipped;const i={};if(!r){a.borderSkipped=i;return}if(r===!0){a.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};return}const{start:s,end:c,reverse:d,top:h,bottom:u}=JF(a);r==="middle"&&n&&(a.enableBorderRadius=!0,(n._top||0)===o?r=h:(n._bottom||0)===o?r=u:(i[uV(u,s,c,d)]=!0,r=h)),i[uV(r,s,c,d)]=!0,a.borderSkipped=i}function uV(a,e,n,o){return o?(a=tR(a,e,n),a=pV(a,n,e)):a=pV(a,e,n),a}function tR(a,e,n){return a===e?n:a===n?e:a}function pV(a,e,n){return a==="start"?e:a==="end"?n:a}function aR(a,{inflateAmount:e},n){a.inflateAmount=e==="auto"?n===1?.33:0:e}class RL extends ts{parsePrimitiveData(e,n,o,r){return hV(e,n,o,r)}parseArrayData(e,n,o,r){return hV(e,n,o,r)}parseObjectData(e,n,o,r){const{iScale:i,vScale:s}=e,{xAxisKey:c="x",yAxisKey:d="y"}=this._parsing,h=i.axis==="x"?c:d,u=s.axis==="x"?c:d,p=[];let y,f,k,m;for(y=o,f=o+r;y<f;++y)m=n[y],k={},k[i.axis]=i.parse(Wi(m,h),y),p.push(dV(Wi(m,u),k,s,y));return p}updateRangeFromParsed(e,n,o,r){super.updateRangeFromParsed(e,n,o,r);const i=o._custom;i&&n===this._cachedMeta.vScale&&(e.min=Math.min(e.min,i.min),e.max=Math.max(e.max,i.max))}getMaxOverflow(){return 0}getLabelAndValue(e){const n=this._cachedMeta,{iScale:o,vScale:r}=n,i=this.getParsed(e),s=i._custom,c=qI(s)?"["+s.start+", "+s.end+"]":""+r.getLabelForValue(i[r.axis]);return{label:""+o.getLabelForValue(i[o.axis]),value:c}}initialize(){this.enableOptionSharing=!0,super.initialize();const e=this._cachedMeta;e.stack=this.getDataset().stack}update(e){const n=this._cachedMeta;this.updateElements(n.data,0,n.data.length,e)}updateElements(e,n,o,r){const i=r==="reset",{index:s,_cachedMeta:{vScale:c}}=this,d=c.getBasePixel(),h=c.isHorizontal(),u=this._getRuler(),{sharedOptions:p,includeOptions:y}=this._getSharedOptions(n,r);for(let f=n;f<n+o;f++){const k=this.getParsed(f),m=i||Ce(k[c.axis])?{base:d,head:d}:this._calculateBarValuePixels(f),g=this._calculateBarIndexPixels(f,u),w=(k._stacks||{})[c.axis],S={horizontal:h,base:m.base,enableBorderRadius:!w||qI(k._custom)||s===w._top||s===w._bottom,x:h?m.head:g.center,y:h?g.center:m.head,height:h?g.size:Math.abs(m.size),width:h?Math.abs(m.size):g.size};y&&(S.options=p||this.resolveDataElementOptions(f,e[f].active?"active":r));const v=S.options||e[f].options;eR(S,v,w,s),aR(S,v,u.ratio),this.updateElement(e[f],f,S,r)}}_getStacks(e,n){const{iScale:o}=this._cachedMeta,r=o.getMatchingVisibleMetas(this._type).filter(u=>u.controller.options.grouped),i=o.options.stacked,s=[],c=this._cachedMeta.controller.getParsed(n),d=c&&c[o.axis],h=u=>{const p=u._parsed.find(f=>f[o.axis]===d),y=p&&p[u.vScale.axis];if(Ce(y)||isNaN(y))return!0};for(const u of r)if(!(n!==void 0&&h(u))&&((i===!1||s.indexOf(u.stack)===-1||i===void 0&&u.stack===void 0)&&s.push(u.stack),u.index===e))break;return s.length||s.push(void 0),s}_getStackCount(e){return this._getStacks(void 0,e).length}_getAxisCount(){return this._getAxis().length}getFirstScaleIdForIndexAxis(){const e=this.chart.scales,n=this.chart.options.indexAxis;return Object.keys(e).filter(o=>e[o].axis===n).shift()}_getAxis(){const e={},n=this.getFirstScaleIdForIndexAxis();for(const o of this.chart.data.datasets)e[ge(this.chart.options.indexAxis==="x"?o.xAxisID:o.yAxisID,n)]=!0;return Object.keys(e)}_getStackIndex(e,n,o){const r=this._getStacks(e,o),i=n!==void 0?r.indexOf(n):-1;return i===-1?r.length-1:i}_getRuler(){const e=this.options,n=this._cachedMeta,o=n.iScale,r=[];let i,s;for(i=0,s=n.data.length;i<s;++i)r.push(o.getPixelForValue(this.getParsed(i)[o.axis],i));const c=e.barThickness;return{min:c||KF(n),pixels:r,start:o._startPixel,end:o._endPixel,stackCount:this._getStackCount(),scale:o,grouped:e.grouped,ratio:c?1:e.categoryPercentage*e.barPercentage}}_calculateBarValuePixels(e){const{_cachedMeta:{vScale:n,_stacked:o,index:r},options:{base:i,minBarLength:s}}=this,c=i||0,d=this.getParsed(e),h=d._custom,u=qI(h);let p=d[n.axis],y=0,f=o?this.applyStack(n,d,o):p,k,m;f!==p&&(y=f-p,f=p),u&&(p=h.barStart,f=h.barEnd-h.barStart,p!==0&&jt(p)!==jt(h.barEnd)&&(y=0),y+=p);const g=!Ce(i)&&!u?i:y;let w=n.getPixelForValue(g);if(this.chart.getDataVisibility(e)?k=n.getPixelForValue(y+f):k=w,m=k-w,Math.abs(m)<s){m=QF(m,n,c)*s,p===c&&(w-=m/2);const S=n.getPixelForDecimal(0),v=n.getPixelForDecimal(1),M=Math.min(S,v),C=Math.max(S,v);w=Math.max(Math.min(w,C),M),k=w+m,o&&!u&&(d._stacks[n.axis]._visualValues[r]=n.getValueForPixel(k)-n.getValueForPixel(w))}if(w===n.getPixelForValue(c)){const S=jt(m)*n.getLineWidthForValue(c)/2;w+=S,m-=S}return{size:m,base:w,head:k,center:k+m/2}}_calculateBarIndexPixels(e,n){const o=n.scale,r=this.options,i=r.skipNull,s=ge(r.maxBarThickness,1/0);let c,d;const h=this._getAxisCount();if(n.grouped){const u=i?this._getStackCount(e):n.stackCount,p=r.barThickness==="flex"?ZF(e,n,r,u*h):XF(e,n,r,u*h),y=this.chart.options.indexAxis==="x"?this.getDataset().xAxisID:this.getDataset().yAxisID,f=this._getAxis().indexOf(ge(y,this.getFirstScaleIdForIndexAxis())),k=this._getStackIndex(this.index,this._cachedMeta.stack,i?e:void 0)+f;c=p.start+p.chunk*k+p.chunk/2,d=Math.min(s,p.chunk*p.ratio)}else c=o.getPixelForValue(this.getParsed(e)[o.axis],e),d=Math.min(s,n.min*n.ratio);return{base:c-d/2,head:c+d/2,center:c,size:d}}draw(){const e=this._cachedMeta,n=e.vScale,o=e.data,r=o.length;let i=0;for(;i<r;++i)this.getParsed(i)[n.axis]!==null&&!o[i].hidden&&o[i].draw(this._ctx)}}se(RL,"id","bar"),se(RL,"defaults",{datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}}),se(RL,"overrides",{scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}});function nR(a,e,n){let o=1,r=1,i=0,s=0;if(e<qe){const c=a,d=c+e,h=Math.cos(c),u=Math.sin(c),p=Math.cos(d),y=Math.sin(d),f=(v,M,C)=>M1(v,c,d,!0)?1:Math.max(M,M*n,C,C*n),k=(v,M,C)=>M1(v,c,d,!0)?-1:Math.min(M,M*n,C,C*n),m=f(0,h,p),g=f(Oe,u,y),w=k(Se,h,p),S=k(Se+Oe,u,y);o=(m-w)/2,r=(g-S)/2,i=-(m+w)/2,s=-(g+S)/2}return{ratioX:o,ratioY:r,offsetX:i,offsetY:s}}class Is extends ts{constructor(e,n){super(e,n),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,n){const o=this.getDataset().data,r=this._cachedMeta;if(this._parsing===!1)r._parsed=o;else{let i=d=>+o[d];if(be(o[e])){const{key:d="value"}=this._parsing;i=h=>+Wi(o[h],d)}let s,c;for(s=e,c=e+n;s<c;++s)r._parsed[s]=i(s)}}_getRotation(){return Zt(this.options.rotation-90)}_getCircumference(){return Zt(this.options.circumference)}_getRotationExtents(){let e=qe,n=-qe;for(let o=0;o<this.chart.data.datasets.length;++o)if(this.chart.isDatasetVisible(o)&&this.chart.getDatasetMeta(o).type===this._type){const r=this.chart.getDatasetMeta(o).controller,i=r._getRotation(),s=r._getCircumference();e=Math.min(e,i),n=Math.max(n,i+s)}return{rotation:e,circumference:n-e}}update(e){const n=this.chart,{chartArea:o}=n,r=this._cachedMeta,i=r.data,s=this.getMaxBorderWidth()+this.getMaxOffset(i)+this.options.spacing,c=Math.max((Math.min(o.width,o.height)-s)/2,0),d=Math.min(hO(this.options.cutout,c),1),h=this._getRingWeight(this.index),{circumference:u,rotation:p}=this._getRotationExtents(),{ratioX:y,ratioY:f,offsetX:k,offsetY:m}=nR(p,u,d),g=(o.width-s)/y,w=(o.height-s)/f,S=Math.max(Math.min(g,w)/2,0),v=fB(this.options.radius,S),M=Math.max(v*d,0),C=(v-M)/this._getVisibleDatasetWeightTotal();this.offsetX=k*v,this.offsetY=m*v,r.total=this.calculateTotal(),this.outerRadius=v-C*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-C*h,0),this.updateElements(i,0,i.length,e)}_circumference(e,n){const o=this.options,r=this._cachedMeta,i=this._getCircumference();return n&&o.animation.animateRotate||!this.chart.getDataVisibility(e)||r._parsed[e]===null||r.data[e].hidden?0:this.calculateCircumference(r._parsed[e]*i/qe)}updateElements(e,n,o,r){const i=r==="reset",s=this.chart,c=s.chartArea,h=s.options.animation,u=(c.left+c.right)/2,p=(c.top+c.bottom)/2,y=i&&h.animateScale,f=y?0:this.innerRadius,k=y?0:this.outerRadius,{sharedOptions:m,includeOptions:g}=this._getSharedOptions(n,r);let w=this._getRotation(),S;for(S=0;S<n;++S)w+=this._circumference(S,i);for(S=n;S<n+o;++S){const v=this._circumference(S,i),M=e[S],C={x:u+this.offsetX,y:p+this.offsetY,startAngle:w,endAngle:w+v,circumference:v,outerRadius:k,innerRadius:f};g&&(C.options=m||this.resolveDataElementOptions(S,M.active?"active":r)),w+=v,this.updateElement(M,S,C,r)}}calculateTotal(){const e=this._cachedMeta,n=e.data;let o=0,r;for(r=0;r<n.length;r++){const i=e._parsed[r];i!==null&&!isNaN(i)&&this.chart.getDataVisibility(r)&&!n[r].hidden&&(o+=Math.abs(i))}return o}calculateCircumference(e){const n=this._cachedMeta.total;return n>0&&!isNaN(e)?qe*(Math.abs(e)/n):0}getLabelAndValue(e){const n=this._cachedMeta,o=this.chart,r=o.data.labels||[],i=bI(n._parsed[e],o.options.locale);return{label:r[e]||"",value:i}}getMaxBorderWidth(e){let n=0;const o=this.chart;let r,i,s,c,d;if(!e){for(r=0,i=o.data.datasets.length;r<i;++r)if(o.isDatasetVisible(r)){s=o.getDatasetMeta(r),e=s.data,c=s.controller;break}}if(!e)return 0;for(r=0,i=e.length;r<i;++r)d=c.resolveDataElementOptions(r),d.borderAlign!=="inner"&&(n=Math.max(n,d.borderWidth||0,d.hoverBorderWidth||0));return n}getMaxOffset(e){let n=0;for(let o=0,r=e.length;o<r;++o){const i=this.resolveDataElementOptions(o);n=Math.max(n,i.offset||0,i.hoverOffset||0)}return n}_getRingWeightOffset(e){let n=0;for(let o=0;o<e;++o)this.chart.isDatasetVisible(o)&&(n+=this._getRingWeight(o));return n}_getRingWeight(e){return Math.max(ge(this.chart.data.datasets[e].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}se(Is,"id","doughnut"),se(Is,"defaults",{datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"}),se(Is,"descriptors",{_scriptable:e=>e!=="spacing",_indexable:e=>e!=="spacing"&&!e.startsWith("borderDash")&&!e.startsWith("hoverBorderDash")}),se(Is,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const n=e.data,{labels:{pointStyle:o,textAlign:r,color:i,useBorderRadius:s,borderRadius:c}}=e.legend.options;return n.labels.length&&n.datasets.length?n.labels.map((d,h)=>{const p=e.getDatasetMeta(0).controller.getStyle(h);return{text:d,fillStyle:p.backgroundColor,fontColor:i,hidden:!e.getDataVisibility(h),lineDash:p.borderDash,lineDashOffset:p.borderDashOffset,lineJoin:p.borderJoinStyle,lineWidth:p.borderWidth,strokeStyle:p.borderColor,textAlign:r,pointStyle:o,borderRadius:s&&(c||p.borderRadius),index:h}}):[]}},onClick(e,n,o){o.chart.toggleDataVisibility(n.index),o.chart.update()}}}});class NL extends ts{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(e){const n=this._cachedMeta,{dataset:o,data:r=[],_dataset:i}=n,s=this.chart._animationsDisabled;let{start:c,count:d}=VO(n,r,s);this._drawStart=c,this._drawCount=d,zO(n)&&(c=0,d=r.length),o._chart=this.chart,o._datasetIndex=this.index,o._decimated=!!i._decimated,o.points=r;const h=this.resolveDatasetElementOptions(e);this.options.showLine||(h.borderWidth=0),h.segment=this.options.segment,this.updateElement(o,void 0,{animated:!s,options:h},e),this.updateElements(r,c,d,e)}updateElements(e,n,o,r){const i=r==="reset",{iScale:s,vScale:c,_stacked:d,_dataset:h}=this._cachedMeta,{sharedOptions:u,includeOptions:p}=this._getSharedOptions(n,r),y=s.axis,f=c.axis,{spanGaps:k,segment:m}=this.options,g=g1(k)?k:Number.POSITIVE_INFINITY,w=this.chart._animationsDisabled||i||r==="none",S=n+o,v=e.length;let M=n>0&&this.getParsed(n-1);for(let C=0;C<v;++C){const x=e[C],b=w?x:{};if(C<n||C>=S){b.skip=!0;continue}const L=this.getParsed(C),I=Ce(L[f]),z=b[y]=s.getPixelForValue(L[y],C),A=b[f]=i||I?c.getBasePixel():c.getPixelForValue(d?this.applyStack(c,L,d):L[f],C);b.skip=isNaN(z)||isNaN(A)||I,b.stop=C>0&&Math.abs(L[y]-M[y])>g,m&&(b.parsed=L,b.raw=h.data[C]),p&&(b.options=u||this.resolveDataElementOptions(C,x.active?"active":r)),w||this.updateElement(x,C,b,r),M=L}}getMaxOverflow(){const e=this._cachedMeta,n=e.dataset,o=n.options&&n.options.borderWidth||0,r=e.data||[];if(!r.length)return o;const i=r[0].size(this.resolveDataElementOptions(0)),s=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(o,i,s)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}}se(NL,"id","line"),se(NL,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),se(NL,"overrides",{scales:{_index_:{type:"category"},_value_:{type:"linear"}}});class PI extends Is{}se(PI,"id","pie"),se(PI,"defaults",{cutout:0,rotation:0,circumference:360,radius:"100%"});function as(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class DI{constructor(e){se(this,"options");this.options=e||{}}static override(e){Object.assign(DI.prototype,e)}init(){}formats(){return as()}parse(){return as()}format(){return as()}add(){return as()}diff(){return as()}startOf(){return as()}endOf(){return as()}}var oR={_date:DI};function rR(a,e,n,o){const{controller:r,data:i,_sorted:s}=a,c=r._cachedMeta.iScale,d=a.dataset&&a.dataset.options?a.dataset.options.spanGaps:null;if(c&&e===c.axis&&e!=="r"&&s&&i.length){const h=c._reversePixels?SO:Ki;if(o){if(r._sharedOptions){const u=i[0],p=typeof u.getRange=="function"&&u.getRange(e);if(p){const y=h(i,e,n-p),f=h(i,e,n+p);return{lo:y.lo,hi:f.hi}}}}else{const u=h(i,e,n);if(d){const{vScale:p}=r._cachedMeta,{_parsed:y}=a,f=y.slice(0,u.lo+1).reverse().findIndex(m=>!Ce(m[p.axis]));u.lo-=Math.max(0,f);const k=y.slice(u.hi).findIndex(m=>!Ce(m[p.axis]));u.hi+=Math.max(0,k)}return u}}return{lo:0,hi:i.length-1}}function $L(a,e,n,o,r){const i=a.getSortedVisibleDatasetMetas(),s=n[e];for(let c=0,d=i.length;c<d;++c){const{index:h,data:u}=i[c],{lo:p,hi:y}=rR(i[c],e,s,r);for(let f=p;f<=y;++f){const k=u[f];k.skip||o(k,h,f)}}}function iR(a){const e=a.indexOf("x")!==-1,n=a.indexOf("y")!==-1;return function(o,r){const i=e?Math.abs(o.x-r.x):0,s=n?Math.abs(o.y-r.y):0;return Math.sqrt(Math.pow(i,2)+Math.pow(s,2))}}function EI(a,e,n,o,r){const i=[];return!r&&!a.isPointInArea(e)||$L(a,n,e,function(c,d,h){!r&&!w1(c,a.chartArea,0)||c.inRange(e.x,e.y,o)&&i.push({element:c,datasetIndex:d,index:h})},!0),i}function sR(a,e,n,o){let r=[];function i(s,c,d){const{startAngle:h,endAngle:u}=s.getProps(["startAngle","endAngle"],o),{angle:p}=vB(s,{x:e.x,y:e.y});M1(p,h,u)&&r.push({element:s,datasetIndex:c,index:d})}return $L(a,n,e,i),r}function lR(a,e,n,o,r,i){let s=[];const c=iR(n);let d=Number.POSITIVE_INFINITY;function h(u,p,y){const f=u.inRange(e.x,e.y,r);if(o&&!f)return;const k=u.getCenterPoint(r);if(!(!!i||a.isPointInArea(k))&&!f)return;const g=c(e,k);g<d?(s=[{element:u,datasetIndex:p,index:y}],d=g):g===d&&s.push({element:u,datasetIndex:p,index:y})}return $L(a,n,e,h),s}function TI(a,e,n,o,r,i){return!i&&!a.isPointInArea(e)?[]:n==="r"&&!o?sR(a,e,n,r):lR(a,e,n,o,r,i)}function yV(a,e,n,o,r){const i=[],s=n==="x"?"inXRange":"inYRange";let c=!1;return $L(a,n,e,(d,h,u)=>{d[s]&&d[s](e[n],r)&&(i.push({element:d,datasetIndex:h,index:u}),c=c||d.inRange(e.x,e.y,r))}),o&&!c?[]:i}var cR={modes:{index(a,e,n,o){const r=Ji(e,a),i=n.axis||"x",s=n.includeInvisible||!1,c=n.intersect?EI(a,r,i,o,s):TI(a,r,i,!1,o,s),d=[];return c.length?(a.getSortedVisibleDatasetMetas().forEach(h=>{const u=c[0].index,p=h.data[u];p&&!p.skip&&d.push({element:p,datasetIndex:h.index,index:u})}),d):[]},dataset(a,e,n,o){const r=Ji(e,a),i=n.axis||"xy",s=n.includeInvisible||!1;let c=n.intersect?EI(a,r,i,o,s):TI(a,r,i,!1,o,s);if(c.length>0){const d=c[0].datasetIndex,h=a.getDatasetMeta(d).data;c=[];for(let u=0;u<h.length;++u)c.push({element:h[u],datasetIndex:d,index:u})}return c},point(a,e,n,o){const r=Ji(e,a),i=n.axis||"xy",s=n.includeInvisible||!1;return EI(a,r,i,o,s)},nearest(a,e,n,o){const r=Ji(e,a),i=n.axis||"xy",s=n.includeInvisible||!1;return TI(a,r,i,n.intersect,o,s)},x(a,e,n,o){const r=Ji(e,a);return yV(a,r,"x",n.intersect,o)},y(a,e,n,o){const r=Ji(e,a);return yV(a,r,"y",n.intersect,o)}}};const fV=["left","top","right","bottom"];function L1(a,e){return a.filter(n=>n.pos===e)}function kV(a,e){return a.filter(n=>fV.indexOf(n.pos)===-1&&n.box.axis===e)}function S1(a,e){return a.sort((n,o)=>{const r=e?o:n,i=e?n:o;return r.weight===i.weight?r.index-i.index:r.weight-i.weight})}function dR(a){const e=[];let n,o,r,i,s,c;for(n=0,o=(a||[]).length;n<o;++n)r=a[n],{position:i,options:{stack:s,stackWeight:c=1}}=r,e.push({index:n,box:r,pos:i,horizontal:r.isHorizontal(),weight:r.weight,stack:s&&i+s,stackWeight:c});return e}function hR(a){const e={};for(const n of a){const{stack:o,pos:r,stackWeight:i}=n;if(!o||!fV.includes(r))continue;const s=e[o]||(e[o]={count:0,placed:0,weight:0,size:0});s.count++,s.weight+=i}return e}function uR(a,e){const n=hR(a),{vBoxMaxWidth:o,hBoxMaxHeight:r}=e;let i,s,c;for(i=0,s=a.length;i<s;++i){c=a[i];const{fullSize:d}=c.box,h=n[c.stack],u=h&&c.stackWeight/h.weight;c.horizontal?(c.width=u?u*o:d&&e.availableWidth,c.height=r):(c.width=o,c.height=u?u*r:d&&e.availableHeight)}return n}function pR(a){const e=dR(a),n=S1(e.filter(h=>h.box.fullSize),!0),o=S1(L1(e,"left"),!0),r=S1(L1(e,"right")),i=S1(L1(e,"top"),!0),s=S1(L1(e,"bottom")),c=kV(e,"x"),d=kV(e,"y");return{fullSize:n,leftAndTop:o.concat(i),rightAndBottom:r.concat(d).concat(s).concat(c),chartArea:L1(e,"chartArea"),vertical:o.concat(r).concat(d),horizontal:i.concat(s).concat(c)}}function mV(a,e,n,o){return Math.max(a[n],e[n])+Math.max(a[o],e[o])}function gV(a,e){a.top=Math.max(a.top,e.top),a.left=Math.max(a.left,e.left),a.bottom=Math.max(a.bottom,e.bottom),a.right=Math.max(a.right,e.right)}function yR(a,e,n,o){const{pos:r,box:i}=n,s=a.maxPadding;if(!be(r)){n.size&&(a[r]-=n.size);const p=o[n.stack]||{size:0,count:1};p.size=Math.max(p.size,n.horizontal?i.height:i.width),n.size=p.size/p.count,a[r]+=n.size}i.getPadding&&gV(s,i.getPadding());const c=Math.max(0,e.outerWidth-mV(s,a,"left","right")),d=Math.max(0,e.outerHeight-mV(s,a,"top","bottom")),h=c!==a.w,u=d!==a.h;return a.w=c,a.h=d,n.horizontal?{same:h,other:u}:{same:u,other:h}}function fR(a){const e=a.maxPadding;function n(o){const r=Math.max(e[o]-a[o],0);return a[o]+=r,r}a.y+=n("top"),a.x+=n("left"),n("right"),n("bottom")}function kR(a,e){const n=e.maxPadding;function o(r){const i={left:0,top:0,right:0,bottom:0};return r.forEach(s=>{i[s]=Math.max(e[s],n[s])}),i}return o(a?["left","right"]:["top","bottom"])}function I1(a,e,n,o){const r=[];let i,s,c,d,h,u;for(i=0,s=a.length,h=0;i<s;++i){c=a[i],d=c.box,d.update(c.width||e.w,c.height||e.h,kR(c.horizontal,e));const{same:p,other:y}=yR(e,n,c,o);h|=p&&r.length,u=u||y,d.fullSize||r.push(c)}return h&&I1(r,e,n,o)||u}function UL(a,e,n,o,r){a.top=n,a.left=e,a.right=e+o,a.bottom=n+r,a.width=o,a.height=r}function MV(a,e,n,o){const r=n.padding;let{x:i,y:s}=e;for(const c of a){const d=c.box,h=o[c.stack]||{placed:0,weight:1},u=c.stackWeight/h.weight||1;if(c.horizontal){const p=e.w*u,y=h.size||d.height;k1(h.start)&&(s=h.start),d.fullSize?UL(d,r.left,s,n.outerWidth-r.right-r.left,y):UL(d,e.left+h.placed,s,p,y),h.start=s,h.placed+=p,s=d.bottom}else{const p=e.h*u,y=h.size||d.width;k1(h.start)&&(i=h.start),d.fullSize?UL(d,i,r.top,y,n.outerHeight-r.bottom-r.top):UL(d,i,e.top+h.placed,y,p),h.start=i,h.placed+=p,i=d.right}}e.x=i,e.y=s}var ut={addBox(a,e){a.boxes||(a.boxes=[]),e.fullSize=e.fullSize||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw(n){e.draw(n)}}]},a.boxes.push(e)},removeBox(a,e){const n=a.boxes?a.boxes.indexOf(e):-1;n!==-1&&a.boxes.splice(n,1)},configure(a,e,n){e.fullSize=n.fullSize,e.position=n.position,e.weight=n.weight},update(a,e,n,o){if(!a)return;const r=ht(a.options.layout.padding),i=Math.max(e-r.width,0),s=Math.max(n-r.height,0),c=pR(a.boxes),d=c.vertical,h=c.horizontal;Le(a.boxes,m=>{typeof m.beforeLayout=="function"&&m.beforeLayout()});const u=d.reduce((m,g)=>g.box.options&&g.box.options.display===!1?m:m+1,0)||1,p=Object.freeze({outerWidth:e,outerHeight:n,padding:r,availableWidth:i,availableHeight:s,vBoxMaxWidth:i/2/u,hBoxMaxHeight:s/2}),y=Object.assign({},r);gV(y,ht(o));const f=Object.assign({maxPadding:y,w:i,h:s,x:r.left,y:r.top},r),k=uR(d.concat(h),p);I1(c.fullSize,f,p,k),I1(d,f,p,k),I1(h,f,p,k)&&I1(d,f,p,k),fR(f),MV(c.leftAndTop,f,p,k),f.x+=f.w,f.y+=f.h,MV(c.rightAndBottom,f,p,k),a.chartArea={left:f.left,top:f.top,right:f.left+f.w,bottom:f.top+f.h,height:f.h,width:f.w},Le(c.chartArea,m=>{const g=m.box;Object.assign(g,a.chartArea),g.update(f.w,f.h,{left:0,top:0,right:0,bottom:0})})}};class bV{acquireContext(e,n){}releaseContext(e){return!1}addEventListener(e,n,o){}removeEventListener(e,n,o){}getDevicePixelRatio(){return 1}getMaximumSize(e,n,o,r){return n=Math.max(0,n||e.width),o=o||e.height,{width:n,height:Math.max(0,r?Math.floor(n/r):o)}}isAttached(e){return!0}updateConfig(e){}}class mR extends bV{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const WL="$chartjs",gR={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},xV=a=>a===null||a==="";function MR(a,e){const n=a.style,o=a.getAttribute("height"),r=a.getAttribute("width");if(a[WL]={initial:{height:o,width:r,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",xV(r)){const i=WB(a,"width");i!==void 0&&(a.width=i)}if(xV(o))if(a.style.height==="")a.height=a.width/(e||2);else{const i=WB(a,"height");i!==void 0&&(a.height=i)}return a}const wV=xF?{passive:!0}:!1;function bR(a,e,n){a&&a.addEventListener(e,n,wV)}function xR(a,e,n){a&&a.canvas&&a.canvas.removeEventListener(e,n,wV)}function wR(a,e){const n=gR[a.type]||a.type,{x:o,y:r}=Ji(a,e);return{type:n,chart:e,native:a,x:o!==void 0?o:null,y:r!==void 0?r:null}}function GL(a,e){for(const n of a)if(n===e||n.contains(e))return!0}function vR(a,e,n){const o=a.canvas,r=new MutationObserver(i=>{let s=!1;for(const c of i)s=s||GL(c.addedNodes,o),s=s&&!GL(c.removedNodes,o);s&&n()});return r.observe(document,{childList:!0,subtree:!0}),r}function CR(a,e,n){const o=a.canvas,r=new MutationObserver(i=>{let s=!1;for(const c of i)s=s||GL(c.removedNodes,o),s=s&&!GL(c.addedNodes,o);s&&n()});return r.observe(document,{childList:!0,subtree:!0}),r}const _1=new Map;let vV=0;function CV(){const a=window.devicePixelRatio;a!==vV&&(vV=a,_1.forEach((e,n)=>{n.currentDevicePixelRatio!==a&&e()}))}function LR(a,e){_1.size||window.addEventListener("resize",CV),_1.set(a,e)}function SR(a){_1.delete(a),_1.size||window.removeEventListener("resize",CV)}function IR(a,e,n){const o=a.canvas,r=o&&AI(o);if(!r)return;const i=_B((c,d)=>{const h=r.clientWidth;n(c,d),h<r.clientWidth&&n()},window),s=new ResizeObserver(c=>{const d=c[0],h=d.contentRect.width,u=d.contentRect.height;h===0&&u===0||i(h,u)});return s.observe(r),LR(a,i),s}function HI(a,e,n){n&&n.disconnect(),e==="resize"&&SR(a)}function _R(a,e,n){const o=a.canvas,r=_B(i=>{a.ctx!==null&&n(wR(i,a))},a);return bR(o,e,r),r}class AR extends bV{acquireContext(e,n){const o=e&&e.getContext&&e.getContext("2d");return o&&o.canvas===e?(MR(e,n),o):null}releaseContext(e){const n=e.canvas;if(!n[WL])return!1;const o=n[WL].initial;["height","width"].forEach(i=>{const s=o[i];Ce(s)?n.removeAttribute(i):n.setAttribute(i,s)});const r=o.style||{};return Object.keys(r).forEach(i=>{n.style[i]=r[i]}),n.width=n.width,delete n[WL],!0}addEventListener(e,n,o){this.removeEventListener(e,n);const r=e.$proxies||(e.$proxies={}),s={attach:vR,detach:CR,resize:IR}[n]||_R;r[n]=s(e,n,o)}removeEventListener(e,n){const o=e.$proxies||(e.$proxies={}),r=o[n];if(!r)return;({attach:HI,detach:HI,resize:HI}[n]||xR)(e,n,r),o[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,n,o,r){return bF(e,n,o,r)}isAttached(e){const n=e&&AI(e);return!!(n&&n.isConnected)}}function BR(a){return!_I()||typeof OffscreenCanvas<"u"&&a instanceof OffscreenCanvas?mR:AR}let Jt=(kS=class{constructor(){se(this,"x");se(this,"y");se(this,"active",!1);se(this,"options");se(this,"$animations")}tooltipPosition(e){const{x:n,y:o}=this.getProps(["x","y"],e);return{x:n,y:o}}hasValue(){return g1(this.x)&&g1(this.y)}getProps(e,n){const o=this.$animations;if(!n||!o)return this;const r={};return e.forEach(i=>{r[i]=o[i]&&o[i].active()?o[i]._to:this[i]}),r}},se(kS,"defaults",{}),se(kS,"defaultRoutes"),kS);function VR(a,e){const n=a.options.ticks,o=zR(a),r=Math.min(n.maxTicksLimit||o,o),i=n.major.enabled?PR(e):[],s=i.length,c=i[0],d=i[s-1],h=[];if(s>r)return DR(e,h,i,s/r),h;const u=qR(i,e,r);if(s>0){let p,y;const f=s>1?Math.round((d-c)/(s-1)):null;for(KL(e,h,u,Ce(f)?0:c-f,c),p=0,y=s-1;p<y;p++)KL(e,h,u,i[p],i[p+1]);return KL(e,h,u,d,Ce(f)?e.length:d+f),h}return KL(e,h,u),h}function zR(a){const e=a.options.offset,n=a._tickSize(),o=a._length/n+(e?0:1),r=a._maxLength/n;return Math.floor(Math.min(o,r))}function qR(a,e,n){const o=ER(a),r=e.length/n;if(!o)return Math.max(r,1);const i=MO(o);for(let s=0,c=i.length-1;s<c;s++){const d=i[s];if(d>r)return d}return Math.max(r,1)}function PR(a){const e=[];let n,o;for(n=0,o=a.length;n<o;n++)a[n].major&&e.push(n);return e}function DR(a,e,n,o){let r=0,i=n[0],s;for(o=Math.ceil(o),s=0;s<a.length;s++)s===i&&(e.push(a[s]),r++,i=n[r*o])}function KL(a,e,n,o,r){const i=ge(o,0),s=Math.min(ge(r,a.length),a.length);let c=0,d,h,u;for(n=Math.ceil(n),r&&(d=r-o,n=d/Math.floor(d/n)),u=i;u<0;)c++,u=Math.round(i+c*n);for(h=Math.max(i,0);h<s;h++)h===u&&(e.push(a[h]),c++,u=Math.round(i+c*n))}function ER(a){const e=a.length;let n,o;if(e<2)return!1;for(o=a[0],n=1;n<e;++n)if(a[n]-a[n-1]!==o)return!1;return o}const TR=a=>a==="left"?"right":a==="right"?"left":a,LV=(a,e,n)=>e==="top"||e==="left"?a[e]+n:a[e]-n,SV=(a,e)=>Math.min(e||a,a);function IV(a,e){const n=[],o=a.length/e,r=a.length;let i=0;for(;i<r;i+=o)n.push(a[Math.floor(i)]);return n}function HR(a,e,n){const o=a.ticks.length,r=Math.min(e,o-1),i=a._startPixel,s=a._endPixel,c=1e-6;let d=a.getPixelForTick(r),h;if(!(n&&(o===1?h=Math.max(d-i,s-d):e===0?h=(a.getPixelForTick(1)-d)/2:h=(d-a.getPixelForTick(r-1))/2,d+=r<e?h:-h,d<i-c||d>s+c)))return d}function jR(a,e){Le(a,n=>{const o=n.gc,r=o.length/2;let i;if(r>e){for(i=0;i<r;++i)delete n.data[o[i]];o.splice(0,r)}})}function A1(a){return a.drawTicks?a.tickLength:0}function _V(a,e){if(!a.display)return 0;const n=Ue(a.font,e),o=ht(a.padding);return(He(a.text)?a.text.length:1)*n.lineHeight+o.height}function OR(a,e){return Yi(a,{scale:e,type:"scale"})}function FR(a,e,n){return Yi(a,{tick:n,index:e,type:"tick"})}function RR(a,e,n){let o=mI(a);return(n&&e!=="right"||!n&&e==="right")&&(o=TR(o)),o}function NR(a,e,n,o){const{top:r,left:i,bottom:s,right:c,chart:d}=a,{chartArea:h,scales:u}=d;let p=0,y,f,k;const m=s-r,g=c-i;if(a.isHorizontal()){if(f=$e(o,i,c),be(n)){const w=Object.keys(n)[0],S=n[w];k=u[w].getPixelForValue(S)+m-e}else n==="center"?k=(h.bottom+h.top)/2+m-e:k=LV(a,n,e);y=c-i}else{if(be(n)){const w=Object.keys(n)[0],S=n[w];f=u[w].getPixelForValue(S)-g+e}else n==="center"?f=(h.left+h.right)/2-g+e:f=LV(a,n,e);k=$e(o,s,r),p=n==="left"?-Oe:Oe}return{titleX:f,titleY:k,maxWidth:y,rotation:p}}class _s extends Jt{constructor(e){super(),this.id=e.id,this.type=e.type,this.options=void 0,this.ctx=e.ctx,this.chart=e.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(e){this.options=e.setContext(this.getContext()),this.axis=e.axis,this._userMin=this.parse(e.min),this._userMax=this.parse(e.max),this._suggestedMin=this.parse(e.suggestedMin),this._suggestedMax=this.parse(e.suggestedMax)}parse(e,n){return e}getUserBounds(){let{_userMin:e,_userMax:n,_suggestedMin:o,_suggestedMax:r}=this;return e=Ht(e,Number.POSITIVE_INFINITY),n=Ht(n,Number.NEGATIVE_INFINITY),o=Ht(o,Number.POSITIVE_INFINITY),r=Ht(r,Number.NEGATIVE_INFINITY),{min:Ht(e,o),max:Ht(n,r),minDefined:Re(e),maxDefined:Re(n)}}getMinMax(e){let{min:n,max:o,minDefined:r,maxDefined:i}=this.getUserBounds(),s;if(r&&i)return{min:n,max:o};const c=this.getMatchingVisibleMetas();for(let d=0,h=c.length;d<h;++d)s=c[d].controller.getMinMax(this,e),r||(n=Math.min(n,s.min)),i||(o=Math.max(o,s.max));return n=i&&n>o?o:n,o=r&&n>o?n:o,{min:Ht(n,Ht(o,n)),max:Ht(o,Ht(n,o))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}getLabelItems(e=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(e))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Be(this.options.beforeUpdate,[this])}update(e,n,o){const{beginAtZero:r,grace:i,ticks:s}=this.options,c=s.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=n,this._margins=o=Object.assign({left:0,right:0,top:0,bottom:0},o),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+o.left+o.right:this.height+o.top+o.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=QO(this,i,r),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const d=c<this.ticks.length;this._convertTicksToLabels(d?IV(this.ticks,c):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),s.display&&(s.autoSkip||s.source==="auto")&&(this.ticks=VR(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),d&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let e=this.options.reverse,n,o;this.isHorizontal()?(n=this.left,o=this.right):(n=this.top,o=this.bottom,e=!e),this._startPixel=n,this._endPixel=o,this._reversePixels=e,this._length=o-n,this._alignToPixels=this.options.alignToPixels}afterUpdate(){Be(this.options.afterUpdate,[this])}beforeSetDimensions(){Be(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){Be(this.options.afterSetDimensions,[this])}_callHooks(e){this.chart.notifyPlugins(e,this.getContext()),Be(this.options[e],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){Be(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(e){const n=this.options.ticks;let o,r,i;for(o=0,r=e.length;o<r;o++)i=e[o],i.label=Be(n.callback,[i.value,o,e],this)}afterTickToLabelConversion(){Be(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){Be(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const e=this.options,n=e.ticks,o=SV(this.ticks.length,e.ticks.maxTicksLimit),r=n.minRotation||0,i=n.maxRotation;let s=r,c,d,h;if(!this._isVisible()||!n.display||r>=i||o<=1||!this.isHorizontal()){this.labelRotation=r;return}const u=this._getLabelSizes(),p=u.widest.width,y=u.highest.height,f=Ne(this.chart.width-p,0,this.maxWidth);c=e.offset?this.maxWidth/o:f/(o-1),p+6>c&&(c=f/(o-(e.offset?.5:1)),d=this.maxHeight-A1(e.grid)-n.padding-_V(e.title,this.chart.options.font),h=Math.sqrt(p*p+y*y),s=vO(Math.min(Math.asin(Ne((u.highest.height+6)/c,-1,1)),Math.asin(Ne(d/h,-1,1))-Math.asin(Ne(y/h,-1,1)))),s=Math.max(r,Math.min(i,s))),this.labelRotation=s}afterCalculateLabelRotation(){Be(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Be(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:n,options:{ticks:o,title:r,grid:i}}=this,s=this._isVisible(),c=this.isHorizontal();if(s){const d=_V(r,n.options.font);if(c?(e.width=this.maxWidth,e.height=A1(i)+d):(e.height=this.maxHeight,e.width=A1(i)+d),o.display&&this.ticks.length){const{first:h,last:u,widest:p,highest:y}=this._getLabelSizes(),f=o.padding*2,k=Zt(this.labelRotation),m=Math.cos(k),g=Math.sin(k);if(c){const w=o.mirror?0:g*p.width+m*y.height;e.height=Math.min(this.maxHeight,e.height+w+f)}else{const w=o.mirror?0:m*p.width+g*y.height;e.width=Math.min(this.maxWidth,e.width+w+f)}this._calculatePadding(h,u,g,m)}}this._handleMargins(),c?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,n,o,r){const{ticks:{align:i,padding:s},position:c}=this.options,d=this.labelRotation!==0,h=c!=="top"&&this.axis==="x";if(this.isHorizontal()){const u=this.getPixelForTick(0)-this.left,p=this.right-this.getPixelForTick(this.ticks.length-1);let y=0,f=0;d?h?(y=r*e.width,f=o*n.height):(y=o*e.height,f=r*n.width):i==="start"?f=n.width:i==="end"?y=e.width:i!=="inner"&&(y=e.width/2,f=n.width/2),this.paddingLeft=Math.max((y-u+s)*this.width/(this.width-u),0),this.paddingRight=Math.max((f-p+s)*this.width/(this.width-p),0)}else{let u=n.height/2,p=e.height/2;i==="start"?(u=0,p=e.height):i==="end"&&(u=n.height,p=0),this.paddingTop=u+s,this.paddingBottom=p+s}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){Be(this.options.afterFit,[this])}isHorizontal(){const{axis:e,position:n}=this.options;return n==="top"||n==="bottom"||e==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){this.beforeTickToLabelConversion(),this.generateTickLabels(e);let n,o;for(n=0,o=e.length;n<o;n++)Ce(e[n].label)&&(e.splice(n,1),o--,n--);this.afterTickToLabelConversion()}_getLabelSizes(){let e=this._labelSizes;if(!e){const n=this.options.ticks.sampleSize;let o=this.ticks;n<o.length&&(o=IV(o,n)),this._labelSizes=e=this._computeLabelSizes(o,o.length,this.options.ticks.maxTicksLimit)}return e}_computeLabelSizes(e,n,o){const{ctx:r,_longestTextCache:i}=this,s=[],c=[],d=Math.floor(n/SV(n,o));let h=0,u=0,p,y,f,k,m,g,w,S,v,M,C;for(p=0;p<n;p+=d){if(k=e[p].label,m=this._resolveTickFontOptions(p),r.font=g=m.string,w=i[g]=i[g]||{data:{},gc:[]},S=m.lineHeight,v=M=0,!Ce(k)&&!He(k))v=PB(r,w.data,w.gc,v,k),M=S;else if(He(k))for(y=0,f=k.length;y<f;++y)C=k[y],!Ce(C)&&!He(C)&&(v=PB(r,w.data,w.gc,v,C),M+=S);s.push(v),c.push(M),h=Math.max(v,h),u=Math.max(M,u)}jR(i,n);const x=s.indexOf(h),b=c.indexOf(u),L=I=>({width:s[I]||0,height:c[I]||0});return{first:L(0),last:L(n-1),widest:L(x),highest:L(b),widths:s,heights:c}}getLabelForValue(e){return e}getPixelForValue(e,n){return NaN}getValueForPixel(e){}getPixelForTick(e){const n=this.ticks;return e<0||e>n.length-1?null:this.getPixelForValue(n[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const n=this._startPixel+e*this._length;return LO(this._alignToPixels?Zi(this.chart,n,0):n)}getDecimalForPixel(e){const n=(e-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:n}=this;return e<0&&n<0?n:e>0&&n>0?e:0}getContext(e){const n=this.ticks||[];if(e>=0&&e<n.length){const o=n[e];return o.$context||(o.$context=FR(this.getContext(),e,o))}return this.$context||(this.$context=OR(this.chart.getContext(),this))}_tickSize(){const e=this.options.ticks,n=Zt(this.labelRotation),o=Math.abs(Math.cos(n)),r=Math.abs(Math.sin(n)),i=this._getLabelSizes(),s=e.autoSkipPadding||0,c=i?i.widest.width+s:0,d=i?i.highest.height+s:0;return this.isHorizontal()?d*o>c*r?c/o:d/r:d*r<c*o?d/o:c/r}_isVisible(){const e=this.options.display;return e!=="auto"?!!e:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(e){const n=this.axis,o=this.chart,r=this.options,{grid:i,position:s,border:c}=r,d=i.offset,h=this.isHorizontal(),p=this.ticks.length+(d?1:0),y=A1(i),f=[],k=c.setContext(this.getContext()),m=k.display?k.width:0,g=m/2,w=function(T){return Zi(o,T,m)};let S,v,M,C,x,b,L,I,z,A,q,O;if(s==="top")S=w(this.bottom),b=this.bottom-y,I=S-g,A=w(e.top)+g,O=e.bottom;else if(s==="bottom")S=w(this.top),A=e.top,O=w(e.bottom)-g,b=S+g,I=this.top+y;else if(s==="left")S=w(this.right),x=this.right-y,L=S-g,z=w(e.left)+g,q=e.right;else if(s==="right")S=w(this.left),z=e.left,q=w(e.right)-g,x=S+g,L=this.left+y;else if(n==="x"){if(s==="center")S=w((e.top+e.bottom)/2+.5);else if(be(s)){const T=Object.keys(s)[0],j=s[T];S=w(this.chart.scales[T].getPixelForValue(j))}A=e.top,O=e.bottom,b=S+g,I=b+y}else if(n==="y"){if(s==="center")S=w((e.left+e.right)/2);else if(be(s)){const T=Object.keys(s)[0],j=s[T];S=w(this.chart.scales[T].getPixelForValue(j))}x=S-g,L=x-y,z=e.left,q=e.right}const H=ge(r.ticks.maxTicksLimit,p),W=Math.max(1,Math.ceil(p/H));for(v=0;v<p;v+=W){const T=this.getContext(v),j=i.setContext(T),R=c.setContext(T),Y=j.lineWidth,B=j.color,V=R.dash||[],U=R.dashOffset,oe=j.tickWidth,ee=j.tickColor,de=j.tickBorderDash||[],ce=j.tickBorderDashOffset;M=HR(this,v,d),M!==void 0&&(C=Zi(o,M,Y),h?x=L=z=q=C:b=I=A=O=C,f.push({tx1:x,ty1:b,tx2:L,ty2:I,x1:z,y1:A,x2:q,y2:O,width:Y,color:B,borderDash:V,borderDashOffset:U,tickWidth:oe,tickColor:ee,tickBorderDash:de,tickBorderDashOffset:ce}))}return this._ticksLength=p,this._borderValue=S,f}_computeLabelItems(e){const n=this.axis,o=this.options,{position:r,ticks:i}=o,s=this.isHorizontal(),c=this.ticks,{align:d,crossAlign:h,padding:u,mirror:p}=i,y=A1(o.grid),f=y+u,k=p?-u:f,m=-Zt(this.labelRotation),g=[];let w,S,v,M,C,x,b,L,I,z,A,q,O="middle";if(r==="top")x=this.bottom-k,b=this._getXAxisLabelAlignment();else if(r==="bottom")x=this.top+k,b=this._getXAxisLabelAlignment();else if(r==="left"){const W=this._getYAxisLabelAlignment(y);b=W.textAlign,C=W.x}else if(r==="right"){const W=this._getYAxisLabelAlignment(y);b=W.textAlign,C=W.x}else if(n==="x"){if(r==="center")x=(e.top+e.bottom)/2+f;else if(be(r)){const W=Object.keys(r)[0],T=r[W];x=this.chart.scales[W].getPixelForValue(T)+f}b=this._getXAxisLabelAlignment()}else if(n==="y"){if(r==="center")C=(e.left+e.right)/2-f;else if(be(r)){const W=Object.keys(r)[0],T=r[W];C=this.chart.scales[W].getPixelForValue(T)}b=this._getYAxisLabelAlignment(y).textAlign}n==="y"&&(d==="start"?O="top":d==="end"&&(O="bottom"));const H=this._getLabelSizes();for(w=0,S=c.length;w<S;++w){v=c[w],M=v.label;const W=i.setContext(this.getContext(w));L=this.getPixelForTick(w)+i.labelOffset,I=this._resolveTickFontOptions(w),z=I.lineHeight,A=He(M)?M.length:1;const T=A/2,j=W.color,R=W.textStrokeColor,Y=W.textStrokeWidth;let B=b;s?(C=L,b==="inner"&&(w===S-1?B=this.options.reverse?"left":"right":w===0?B=this.options.reverse?"right":"left":B="center"),r==="top"?h==="near"||m!==0?q=-A*z+z/2:h==="center"?q=-H.highest.height/2-T*z+z:q=-H.highest.height+z/2:h==="near"||m!==0?q=z/2:h==="center"?q=H.highest.height/2-T*z:q=H.highest.height-A*z,p&&(q*=-1),m!==0&&!W.showLabelBackdrop&&(C+=z/2*Math.sin(m))):(x=L,q=(1-A)*z/2);let V;if(W.showLabelBackdrop){const U=ht(W.backdropPadding),oe=H.heights[w],ee=H.widths[w];let de=q-U.top,ce=0-U.left;switch(O){case"middle":de-=oe/2;break;case"bottom":de-=oe;break}switch(b){case"center":ce-=ee/2;break;case"right":ce-=ee;break;case"inner":w===S-1?ce-=ee:w>0&&(ce-=ee/2);break}V={left:ce,top:de,width:ee+U.width,height:oe+U.height,color:W.backdropColor}}g.push({label:M,font:I,textOffset:q,options:{rotation:m,color:j,strokeColor:R,strokeWidth:Y,textAlign:B,textBaseline:O,translation:[C,x],backdrop:V}})}return g}_getXAxisLabelAlignment(){const{position:e,ticks:n}=this.options;if(-Zt(this.labelRotation))return e==="top"?"left":"right";let r="center";return n.align==="start"?r="left":n.align==="end"?r="right":n.align==="inner"&&(r="inner"),r}_getYAxisLabelAlignment(e){const{position:n,ticks:{crossAlign:o,mirror:r,padding:i}}=this.options,s=this._getLabelSizes(),c=e+i,d=s.widest.width;let h,u;return n==="left"?r?(u=this.right+i,o==="near"?h="left":o==="center"?(h="center",u+=d/2):(h="right",u+=d)):(u=this.right-c,o==="near"?h="right":o==="center"?(h="center",u-=d/2):(h="left",u=this.left)):n==="right"?r?(u=this.left+i,o==="near"?h="right":o==="center"?(h="center",u-=d/2):(h="left",u-=d)):(u=this.left+c,o==="near"?h="left":o==="center"?(h="center",u+=d/2):(h="right",u=this.right)):h="right",{textAlign:h,x:u}}_computeLabelArea(){if(this.options.ticks.mirror)return;const e=this.chart,n=this.options.position;if(n==="left"||n==="right")return{top:0,left:this.left,bottom:e.height,right:this.right};if(n==="top"||n==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:e.width}}drawBackground(){const{ctx:e,options:{backgroundColor:n},left:o,top:r,width:i,height:s}=this;n&&(e.save(),e.fillStyle=n,e.fillRect(o,r,i,s),e.restore())}getLineWidthForValue(e){const n=this.options.grid;if(!this._isVisible()||!n.display)return 0;const r=this.ticks.findIndex(i=>i.value===e);return r>=0?n.setContext(this.getContext(r)).lineWidth:0}drawGrid(e){const n=this.options.grid,o=this.ctx,r=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let i,s;const c=(d,h,u)=>{!u.width||!u.color||(o.save(),o.lineWidth=u.width,o.strokeStyle=u.color,o.setLineDash(u.borderDash||[]),o.lineDashOffset=u.borderDashOffset,o.beginPath(),o.moveTo(d.x,d.y),o.lineTo(h.x,h.y),o.stroke(),o.restore())};if(n.display)for(i=0,s=r.length;i<s;++i){const d=r[i];n.drawOnChartArea&&c({x:d.x1,y:d.y1},{x:d.x2,y:d.y2},d),n.drawTicks&&c({x:d.tx1,y:d.ty1},{x:d.tx2,y:d.ty2},{color:d.tickColor,width:d.tickWidth,borderDash:d.tickBorderDash,borderDashOffset:d.tickBorderDashOffset})}}drawBorder(){const{chart:e,ctx:n,options:{border:o,grid:r}}=this,i=o.setContext(this.getContext()),s=o.display?i.width:0;if(!s)return;const c=r.setContext(this.getContext(0)).lineWidth,d=this._borderValue;let h,u,p,y;this.isHorizontal()?(h=Zi(e,this.left,s)-s/2,u=Zi(e,this.right,c)+c/2,p=y=d):(p=Zi(e,this.top,s)-s/2,y=Zi(e,this.bottom,c)+c/2,h=u=d),n.save(),n.lineWidth=i.width,n.strokeStyle=i.color,n.beginPath(),n.moveTo(h,p),n.lineTo(u,y),n.stroke(),n.restore()}drawLabels(e){if(!this.options.ticks.display)return;const o=this.ctx,r=this._computeLabelArea();r&&PL(o,r);const i=this.getLabelItems(e);for(const s of i){const c=s.options,d=s.font,h=s.label,u=s.textOffset;v1(o,h,0,u,d,c)}r&&DL(o)}drawTitle(){const{ctx:e,options:{position:n,title:o,reverse:r}}=this;if(!o.display)return;const i=Ue(o.font),s=ht(o.padding),c=o.align;let d=i.lineHeight/2;n==="bottom"||n==="center"||be(n)?(d+=s.bottom,He(o.text)&&(d+=i.lineHeight*(o.text.length-1))):d+=s.top;const{titleX:h,titleY:u,maxWidth:p,rotation:y}=NR(this,d,n,c);v1(e,o.text,0,0,i,{color:o.color,maxWidth:p,rotation:y,textAlign:RR(c,n,r),textBaseline:"middle",translation:[h,u]})}draw(e){this._isVisible()&&(this.drawBackground(),this.drawGrid(e),this.drawBorder(),this.drawTitle(),this.drawLabels(e))}_layers(){const e=this.options,n=e.ticks&&e.ticks.z||0,o=ge(e.grid&&e.grid.z,-1),r=ge(e.border&&e.border.z,0);return!this._isVisible()||this.draw!==_s.prototype.draw?[{z:n,draw:i=>{this.draw(i)}}]:[{z:o,draw:i=>{this.drawBackground(),this.drawGrid(i),this.drawTitle()}},{z:r,draw:()=>{this.drawBorder()}},{z:n,draw:i=>{this.drawLabels(i)}}]}getMatchingVisibleMetas(e){const n=this.chart.getSortedVisibleDatasetMetas(),o=this.axis+"AxisID",r=[];let i,s;for(i=0,s=n.length;i<s;++i){const c=n[i];c[o]===this.id&&(!e||c.type===e)&&r.push(c)}return r}_resolveTickFontOptions(e){const n=this.options.ticks.setContext(this.getContext(e));return Ue(n.font)}_maxDigits(){const e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}}class XL{constructor(e,n,o){this.type=e,this.scope=n,this.override=o,this.items=Object.create(null)}isForType(e){return Object.prototype.isPrototypeOf.call(this.type.prototype,e.prototype)}register(e){const n=Object.getPrototypeOf(e);let o;WR(n)&&(o=this.register(n));const r=this.items,i=e.id,s=this.scope+"."+i;if(!i)throw new Error("class does not have id: "+e);return i in r||(r[i]=e,$R(e,s,o),this.override&&Te.override(e.id,e.overrides)),s}get(e){return this.items[e]}unregister(e){const n=this.items,o=e.id,r=this.scope;o in n&&delete n[o],r&&o in Te[r]&&(delete Te[r][o],this.override&&delete Xi[o])}}function $R(a,e,n){const o=y1(Object.create(null),[n?Te.get(n):{},Te.get(e),a.defaults]);Te.set(e,o),a.defaultRoutes&&UR(e,a.defaultRoutes),a.descriptors&&Te.describe(e,a.descriptors)}function UR(a,e){Object.keys(e).forEach(n=>{const o=n.split("."),r=o.pop(),i=[a].concat(o).join("."),s=e[n].split("."),c=s.pop(),d=s.join(".");Te.route(i,r,d,c)})}function WR(a){return"id"in a&&"defaults"in a}class GR{constructor(){this.controllers=new XL(ts,"datasets",!0),this.elements=new XL(Jt,"elements"),this.plugins=new XL(Object,"plugins"),this.scales=new XL(_s,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}removeControllers(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,n,o){[...n].forEach(r=>{const i=o||this._getRegistryForType(r);o||i.isForType(r)||i===this.plugins&&r.id?this._exec(e,i,r):Le(r,s=>{const c=o||this._getRegistryForType(s);this._exec(e,c,s)})})}_exec(e,n,o){const r=yI(e);Be(o["before"+r],[],o),n[e](o),Be(o["after"+r],[],o)}_getRegistryForType(e){for(let n=0;n<this._typedRegistries.length;n++){const o=this._typedRegistries[n];if(o.isForType(e))return o}return this.plugins}_get(e,n,o){const r=n.get(e);if(r===void 0)throw new Error('"'+e+'" is not a registered '+o+".");return r}}var Ot=new GR;class KR{constructor(){this._init=void 0}notify(e,n,o,r){if(n==="beforeInit"&&(this._init=this._createDescriptors(e,!0),this._notify(this._init,e,"install")),this._init===void 0)return;const i=r?this._descriptors(e).filter(r):this._descriptors(e),s=this._notify(i,e,n,o);return n==="afterDestroy"&&(this._notify(i,e,"stop"),this._notify(this._init,e,"uninstall"),this._init=void 0),s}_notify(e,n,o,r){r=r||{};for(const i of e){const s=i.plugin,c=s[o],d=[n,r,i.options];if(Be(c,d,s)===!1&&r.cancelable)return!1}return!0}invalidate(){Ce(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(e){if(this._cache)return this._cache;const n=this._cache=this._createDescriptors(e);return this._notifyStateChanges(e),n}_createDescriptors(e,n){const o=e&&e.config,r=ge(o.options&&o.options.plugins,{}),i=XR(o);return r===!1&&!n?[]:YR(e,i,r,n)}_notifyStateChanges(e){const n=this._oldCache||[],o=this._cache,r=(i,s)=>i.filter(c=>!s.some(d=>c.plugin.id===d.plugin.id));this._notify(r(n,o),e,"stop"),this._notify(r(o,n),e,"start")}}function XR(a){const e={},n=[],o=Object.keys(Ot.plugins.items);for(let i=0;i<o.length;i++)n.push(Ot.getPlugin(o[i]));const r=a.plugins||[];for(let i=0;i<r.length;i++){const s=r[i];n.indexOf(s)===-1&&(n.push(s),e[s.id]=!0)}return{plugins:n,localIds:e}}function ZR(a,e){return!e&&a===!1?null:a===!0?{}:a}function YR(a,{plugins:e,localIds:n},o,r){const i=[],s=a.getContext();for(const c of e){const d=c.id,h=ZR(o[d],r);h!==null&&i.push({plugin:c,options:QR(a.config,{plugin:c,local:n[d]},h,s)})}return i}function QR(a,{plugin:e,local:n},o,r){const i=a.pluginScopeKeys(e),s=a.getOptionScopes(o,i);return n&&e.defaults&&s.push(e.defaults),a.createResolver(s,r,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function jI(a,e){const n=Te.datasets[a]||{};return((e.datasets||{})[a]||{}).indexAxis||e.indexAxis||n.indexAxis||"x"}function JR(a,e){let n=a;return a==="_index_"?n=e:a==="_value_"&&(n=e==="x"?"y":"x"),n}function eN(a,e){return a===e?"_index_":"_value_"}function AV(a){if(a==="x"||a==="y"||a==="r")return a}function tN(a){if(a==="top"||a==="bottom")return"x";if(a==="left"||a==="right")return"y"}function OI(a,...e){if(AV(a))return a;for(const n of e){const o=n.axis||tN(n.position)||a.length>1&&AV(a[0].toLowerCase());if(o)return o}throw new Error(`Cannot determine type of '${a}' axis. Please provide 'axis' or 'position' option.`)}function BV(a,e,n){if(n[e+"AxisID"]===a)return{axis:e}}function aN(a,e){if(e.data&&e.data.datasets){const n=e.data.datasets.filter(o=>o.xAxisID===a||o.yAxisID===a);if(n.length)return BV(a,"x",n[0])||BV(a,"y",n[0])}return{}}function nN(a,e){const n=Xi[a.type]||{scales:{}},o=e.scales||{},r=jI(a.type,e),i=Object.create(null);return Object.keys(o).forEach(s=>{const c=o[s];if(!be(c))return console.error(`Invalid scale configuration for scale: ${s}`);if(c._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${s}`);const d=OI(s,c,aN(s,a),Te.scales[c.type]),h=eN(d,r),u=n.scales||{};i[s]=f1(Object.create(null),[{axis:d},c,u[d],u[h]])}),a.data.datasets.forEach(s=>{const c=s.type||a.type,d=s.indexAxis||jI(c,e),u=(Xi[c]||{}).scales||{};Object.keys(u).forEach(p=>{const y=JR(p,d),f=s[y+"AxisID"]||y;i[f]=i[f]||Object.create(null),f1(i[f],[{axis:y},o[f],u[p]])})}),Object.keys(i).forEach(s=>{const c=i[s];f1(c,[Te.scales[c.type],Te.scale])}),i}function VV(a){const e=a.options||(a.options={});e.plugins=ge(e.plugins,{}),e.scales=nN(a,e)}function zV(a){return a=a||{},a.datasets=a.datasets||[],a.labels=a.labels||[],a}function oN(a){return a=a||{},a.data=zV(a.data),VV(a),a}const qV=new Map,PV=new Set;function ZL(a,e){let n=qV.get(a);return n||(n=e(),qV.set(a,n),PV.add(n)),n}const B1=(a,e,n)=>{const o=Wi(e,n);o!==void 0&&a.add(o)};class rN{constructor(e){this._config=oN(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=zV(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){const e=this._config;this.clearCache(),VV(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return ZL(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,n){return ZL(`${e}.transition.${n}`,()=>[[`datasets.${e}.transitions.${n}`,`transitions.${n}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,n){return ZL(`${e}-${n}`,()=>[[`datasets.${e}.elements.${n}`,`datasets.${e}`,`elements.${n}`,""]])}pluginScopeKeys(e){const n=e.id,o=this.type;return ZL(`${o}-plugin-${n}`,()=>[[`plugins.${n}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,n){const o=this._scopeCache;let r=o.get(e);return(!r||n)&&(r=new Map,o.set(e,r)),r}getOptionScopes(e,n,o){const{options:r,type:i}=this,s=this._cachedScopes(e,o),c=s.get(n);if(c)return c;const d=new Set;n.forEach(u=>{e&&(d.add(e),u.forEach(p=>B1(d,e,p))),u.forEach(p=>B1(d,r,p)),u.forEach(p=>B1(d,Xi[i]||{},p)),u.forEach(p=>B1(d,Te,p)),u.forEach(p=>B1(d,xI,p))});const h=Array.from(d);return h.length===0&&h.push(Object.create(null)),PV.has(n)&&s.set(n,h),h}chartOptionScopes(){const{options:e,type:n}=this;return[e,Xi[n]||{},Te.datasets[n]||{},{type:n},Te,xI]}resolveNamedOptions(e,n,o,r=[""]){const i={$shared:!0},{resolver:s,subPrefixes:c}=DV(this._resolverCache,e,r);let d=s;if(sN(s,n)){i.$shared=!1,o=xa(o)?o():o;const h=this.createResolver(e,o,c);d=Cs(s,o,h)}for(const h of n)i[h]=d[h];return i}createResolver(e,n,o=[""],r){const{resolver:i}=DV(this._resolverCache,e,o);return be(n)?Cs(i,n,void 0,r):i}}function DV(a,e,n){let o=a.get(e);o||(o=new Map,a.set(e,o));const r=n.join();let i=o.get(r);return i||(i={resolver:LI(e,n),subPrefixes:n.filter(c=>!c.toLowerCase().includes("hover"))},o.set(r,i)),i}const iN=a=>be(a)&&Object.getOwnPropertyNames(a).some(e=>xa(a[e]));function sN(a,e){const{isScriptable:n,isIndexable:o}=HB(a);for(const r of e){const i=n(r),s=o(r),c=(s||i)&&a[r];if(i&&(xa(c)||iN(c))||s&&He(c))return!0}return!1}var lN="4.5.1";const cN=["top","bottom","left","right","chartArea"];function EV(a,e){return a==="top"||a==="bottom"||cN.indexOf(a)===-1&&e==="x"}function TV(a,e){return function(n,o){return n[a]===o[a]?n[e]-o[e]:n[a]-o[a]}}function HV(a){const e=a.chart,n=e.options.animation;e.notifyPlugins("afterRender"),Be(n&&n.onComplete,[a],e)}function dN(a){const e=a.chart,n=e.options.animation;Be(n&&n.onProgress,[a],e)}function jV(a){return _I()&&typeof a=="string"?a=document.getElementById(a):a&&a.length&&(a=a[0]),a&&a.canvas&&(a=a.canvas),a}const YL={},OV=a=>{const e=jV(a);return Object.values(YL).filter(n=>n.canvas===e).pop()};function hN(a,e,n){const o=Object.keys(a);for(const r of o){const i=+r;if(i>=e){const s=a[r];delete a[r],(n>0||i>e)&&(a[i+n]=s)}}}function uN(a,e,n,o){return!n||a.type==="mouseout"?null:o?e:a}class ea{static register(...e){Ot.add(...e),FV()}static unregister(...e){Ot.remove(...e),FV()}constructor(e,n){const o=this.config=new rN(n),r=jV(e),i=OV(r);if(i)throw new Error("Canvas is already in use. Chart with ID '"+i.id+"' must be destroyed before the canvas with ID '"+i.canvas.id+"' can be reused.");const s=o.createResolver(o.chartOptionScopes(),this.getContext());this.platform=new(o.platform||BR(r)),this.platform.updateConfig(o);const c=this.platform.acquireContext(r,s.aspectRatio),d=c&&c.canvas,h=d&&d.height,u=d&&d.width;if(this.id=dO(),this.ctx=c,this.canvas=d,this.width=u,this.height=h,this._options=s,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new KR,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=AO(p=>this.update(p),s.resizeDelay||0),this._dataChanges=[],YL[this.id]=this,!c||!d){console.error("Failed to create chart: can't acquire context from the given item");return}Qt.listen(this,"complete",HV),Qt.listen(this,"progress",dN),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:n},width:o,height:r,_aspectRatio:i}=this;return Ce(e)?n&&i?i:r?o/r:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return Ot}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():UB(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return DB(this.canvas,this.ctx),this}stop(){return Qt.stop(this),this}resize(e,n){Qt.running(this)?this._resizeBeforeDraw={width:e,height:n}:this._resize(e,n)}_resize(e,n){const o=this.options,r=this.canvas,i=o.maintainAspectRatio&&this.aspectRatio,s=this.platform.getMaximumSize(r,e,n,i),c=o.devicePixelRatio||this.platform.getDevicePixelRatio(),d=this.width?"resize":"attach";this.width=s.width,this.height=s.height,this._aspectRatio=this.aspectRatio,UB(this,c,!0)&&(this.notifyPlugins("resize",{size:s}),Be(o.onResize,[this,s],this),this.attached&&this._doResize(d)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};Le(n,(o,r)=>{o.id=r})}buildOrUpdateScales(){const e=this.options,n=e.scales,o=this.scales,r=Object.keys(o).reduce((s,c)=>(s[c]=!1,s),{});let i=[];n&&(i=i.concat(Object.keys(n).map(s=>{const c=n[s],d=OI(s,c),h=d==="r",u=d==="x";return{options:c,dposition:h?"chartArea":u?"bottom":"left",dtype:h?"radialLinear":u?"category":"linear"}}))),Le(i,s=>{const c=s.options,d=c.id,h=OI(d,c),u=ge(c.type,s.dtype);(c.position===void 0||EV(c.position,h)!==EV(s.dposition))&&(c.position=s.dposition),r[d]=!0;let p=null;if(d in o&&o[d].type===u)p=o[d];else{const y=Ot.getScale(u);p=new y({id:d,type:u,ctx:this.ctx,chart:this}),o[p.id]=p}p.init(c,e)}),Le(r,(s,c)=>{s||delete o[c]}),Le(o,s=>{ut.configure(this,s,s.options),ut.addBox(this,s)})}_updateMetasets(){const e=this._metasets,n=this.data.datasets.length,o=e.length;if(e.sort((r,i)=>r.index-i.index),o>n){for(let r=n;r<o;++r)this._destroyDatasetMeta(r);e.splice(n,o-n)}this._sortedMetasets=e.slice(0).sort(TV("order","index"))}_removeUnreferencedMetasets(){const{_metasets:e,data:{datasets:n}}=this;e.length>n.length&&delete this._stacks,e.forEach((o,r)=>{n.filter(i=>i===o._dataset).length===0&&this._destroyDatasetMeta(r)})}buildOrUpdateControllers(){const e=[],n=this.data.datasets;let o,r;for(this._removeUnreferencedMetasets(),o=0,r=n.length;o<r;o++){const i=n[o];let s=this.getDatasetMeta(o);const c=i.type||this.config.type;if(s.type&&s.type!==c&&(this._destroyDatasetMeta(o),s=this.getDatasetMeta(o)),s.type=c,s.indexAxis=i.indexAxis||jI(c,this.options),s.order=i.order||0,s.index=o,s.label=""+i.label,s.visible=this.isDatasetVisible(o),s.controller)s.controller.updateIndex(o),s.controller.linkScales();else{const d=Ot.getController(c),{datasetElementType:h,dataElementType:u}=Te.datasets[c];Object.assign(d,{dataElementType:Ot.getElement(u),datasetElementType:h&&Ot.getElement(h)}),s.controller=new d(this,o),e.push(s.controller)}}return this._updateMetasets(),e}_resetElements(){Le(this.data.datasets,(e,n)=>{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const n=this.config;n.update();const o=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),r=this._animationsDisabled=!o.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0})===!1)return;const i=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let s=0;for(let h=0,u=this.data.datasets.length;h<u;h++){const{controller:p}=this.getDatasetMeta(h),y=!r&&i.indexOf(p)===-1;p.buildOrUpdateElements(y),s=Math.max(+p.getMaxOverflow(),s)}s=this._minPadding=o.layout.autoPadding?s:0,this._updateLayout(s),r||Le(i,h=>{h.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(TV("z","_idx"));const{_active:c,_lastEvent:d}=this;d?this._eventHandler(d,!0):c.length&&this._updateHoverStyles(c,c,!0),this.render()}_updateScales(){Le(this.scales,e=>{ut.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,n=new Set(Object.keys(this._listeners)),o=new Set(e.events);(!gB(n,o)||!!this._responsiveListeners!==e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,n=this._getUniformDataChanges()||[];for(const{method:o,start:r,count:i}of n){const s=o==="_removeElements"?-i:i;hN(e,r,s)}}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const n=this.data.datasets.length,o=i=>new Set(e.filter(s=>s[0]===i).map((s,c)=>c+","+s.splice(1).join(","))),r=o(0);for(let i=1;i<n;i++)if(!gB(r,o(i)))return;return Array.from(r).map(i=>i.split(",")).map(i=>({method:i[1],start:+i[2],count:+i[3]}))}_updateLayout(e){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;ut.update(this,this.width,this.height,e);const n=this.chartArea,o=n.width<=0||n.height<=0;this._layers=[],Le(this.boxes,r=>{o&&r.position==="chartArea"||(r.configure&&r.configure(),this._layers.push(...r._layers()))},this),this._layers.forEach((r,i)=>{r._idx=i}),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})!==!1){for(let n=0,o=this.data.datasets.length;n<o;++n)this.getDatasetMeta(n).controller.configure();for(let n=0,o=this.data.datasets.length;n<o;++n)this._updateDataset(n,xa(e)?e({datasetIndex:n}):e);this.notifyPlugins("afterDatasetsUpdate",{mode:e})}}_updateDataset(e,n){const o=this.getDatasetMeta(e),r={meta:o,index:e,mode:n,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",r)!==!1&&(o.controller._update(n),r.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",r))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&(Qt.has(this)?this.attached&&!Qt.running(this)&&Qt.start(this):(this.draw(),HV({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){const{width:o,height:r}=this._resizeBeforeDraw;this._resizeBeforeDraw=null,this._resize(o,r)}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;const n=this._layers;for(e=0;e<n.length&&n[e].z<=0;++e)n[e].draw(this.chartArea);for(this._drawDatasets();e<n.length;++e)n[e].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(e){const n=this._sortedMetasets,o=[];let r,i;for(r=0,i=n.length;r<i;++r){const s=n[r];(!e||s.visible)&&o.push(s)}return o}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;const e=this.getSortedVisibleDatasetMetas();for(let n=e.length-1;n>=0;--n)this._drawDataset(e[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const n=this.ctx,o={meta:e,index:e.index,cancelable:!0},r=tV(this,e);this.notifyPlugins("beforeDatasetDraw",o)!==!1&&(r&&PL(n,r),e.controller.draw(),r&&DL(n),o.cancelable=!1,this.notifyPlugins("afterDatasetDraw",o))}isPointInArea(e){return w1(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,n,o,r){const i=cR.modes[n];return typeof i=="function"?i(this,e,o,r):[]}getDatasetMeta(e){const n=this.data.datasets[e],o=this._metasets;let r=o.filter(i=>i&&i._dataset===n).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:e,_dataset:n,_parsed:[],_sorted:!1},o.push(r)),r}getContext(){return this.$context||(this.$context=Yi(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const n=this.data.datasets[e];if(!n)return!1;const o=this.getDatasetMeta(e);return typeof o.hidden=="boolean"?!o.hidden:!n.hidden}setDatasetVisibility(e,n){const o=this.getDatasetMeta(e);o.hidden=!n}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,n,o){const r=o?"show":"hide",i=this.getDatasetMeta(e),s=i.controller._resolveAnimations(void 0,r);k1(n)?(i.data[n].hidden=!o,this.update()):(this.setDatasetVisibility(e,o),s.update(i,{visible:o}),this.update(c=>c.datasetIndex===e?r:void 0))}hide(e,n){this._updateVisibility(e,n,!1)}show(e,n){this._updateVisibility(e,n,!0)}_destroyDatasetMeta(e){const n=this._metasets[e];n&&n.controller&&n.controller._destroy(),delete this._metasets[e]}_stop(){let e,n;for(this.stop(),Qt.remove(this),e=0,n=this.data.datasets.length;e<n;++e)this._destroyDatasetMeta(e)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:e,ctx:n}=this;this._stop(),this.config.clearCache(),e&&(this.unbindEvents(),DB(e,n),this.platform.releaseContext(n),this.canvas=null,this.ctx=null),delete YL[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...e){return this.canvas.toDataURL(...e)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const e=this._listeners,n=this.platform,o=(i,s)=>{n.addEventListener(this,i,s),e[i]=s},r=(i,s,c)=>{i.offsetX=s,i.offsetY=c,this._eventHandler(i)};Le(this.options.events,i=>o(i,r))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,n=this.platform,o=(d,h)=>{n.addEventListener(this,d,h),e[d]=h},r=(d,h)=>{e[d]&&(n.removeEventListener(this,d,h),delete e[d])},i=(d,h)=>{this.canvas&&this.resize(d,h)};let s;const c=()=>{r("attach",c),this.attached=!0,this.resize(),o("resize",i),o("detach",s)};s=()=>{this.attached=!1,r("resize",i),this._stop(),this._resize(0,0),o("attach",c)},n.isAttached(this.canvas)?c():s()}unbindEvents(){Le(this._listeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._listeners={},Le(this._responsiveListeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,n,o){const r=o?"set":"remove";let i,s,c,d;for(n==="dataset"&&(i=this.getDatasetMeta(e[0].datasetIndex),i.controller["_"+r+"DatasetHoverStyle"]()),c=0,d=e.length;c<d;++c){s=e[c];const h=s&&this.getDatasetMeta(s.datasetIndex).controller;h&&h[r+"HoverStyle"](s.element,s.datasetIndex,s.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){const n=this._active||[],o=e.map(({datasetIndex:i,index:s})=>{const c=this.getDatasetMeta(i);if(!c)throw new Error("No dataset found at index "+i);return{datasetIndex:i,element:c.data[s],index:s}});!BL(o,n)&&(this._active=o,this._lastEvent=null,this._updateHoverStyles(o,n))}notifyPlugins(e,n,o){return this._plugins.notify(this,e,n,o)}isPluginEnabled(e){return this._plugins._cache.filter(n=>n.plugin.id===e).length===1}_updateHoverStyles(e,n,o){const r=this.options.hover,i=(d,h)=>d.filter(u=>!h.some(p=>u.datasetIndex===p.datasetIndex&&u.index===p.index)),s=i(n,e),c=o?e:i(e,n);s.length&&this.updateHoverStyle(s,r.mode,!1),c.length&&r.mode&&this.updateHoverStyle(c,r.mode,!0)}_eventHandler(e,n){const o={event:e,replay:n,cancelable:!0,inChartArea:this.isPointInArea(e)},r=s=>(s.options.events||this.options.events).includes(e.native.type);if(this.notifyPlugins("beforeEvent",o,r)===!1)return;const i=this._handleEvent(e,n,o.inChartArea);return o.cancelable=!1,this.notifyPlugins("afterEvent",o,r),(i||o.changed)&&this.render(),this}_handleEvent(e,n,o){const{_active:r=[],options:i}=this,s=n,c=this._getActiveElements(e,r,o,s),d=kO(e),h=uN(e,this._lastEvent,o,d);o&&(this._lastEvent=null,Be(i.onHover,[e,c,this],this),d&&Be(i.onClick,[e,c,this],this));const u=!BL(c,r);return(u||n)&&(this._active=c,this._updateHoverStyles(c,r,n)),this._lastEvent=h,u}_getActiveElements(e,n,o,r){if(e.type==="mouseout")return[];if(!o)return n;const i=this.options.hover;return this.getElementsAtEventForMode(e,i.mode,i,r)}}se(ea,"defaults",Te),se(ea,"instances",YL),se(ea,"overrides",Xi),se(ea,"registry",Ot),se(ea,"version",lN),se(ea,"getChart",OV);function FV(){return Le(ea.instances,a=>a._plugins.invalidate())}function pN(a,e,n){const{startAngle:o,x:r,y:i,outerRadius:s,innerRadius:c,options:d}=e,{borderWidth:h,borderJoinStyle:u}=d,p=Math.min(h/s,nt(o-n));if(a.beginPath(),a.arc(r,i,s-h/2,o+p/2,n-p/2),c>0){const y=Math.min(h/c,nt(o-n));a.arc(r,i,c+h/2,n-y/2,o+y/2,!0)}else{const y=Math.min(h/2,s*nt(o-n));if(u==="round")a.arc(r,i,y,n-Se/2,o+Se/2,!0);else if(u==="bevel"){const f=2*y*y,k=-f*Math.cos(n+Se/2)+r,m=-f*Math.sin(n+Se/2)+i,g=f*Math.cos(o+Se/2)+r,w=f*Math.sin(o+Se/2)+i;a.lineTo(k,m),a.lineTo(g,w)}}a.closePath(),a.moveTo(0,0),a.rect(0,0,a.canvas.width,a.canvas.height),a.clip("evenodd")}function yN(a,e,n){const{startAngle:o,pixelMargin:r,x:i,y:s,outerRadius:c,innerRadius:d}=e;let h=r/c;a.beginPath(),a.arc(i,s,c,o-h,n+h),d>r?(h=r/d,a.arc(i,s,d,n+h,o-h,!0)):a.arc(i,s,r,n+Oe,o-Oe),a.closePath(),a.clip()}function fN(a){return CI(a,["outerStart","outerEnd","innerStart","innerEnd"])}function kN(a,e,n,o){const r=fN(a.options.borderRadius),i=(n-e)/2,s=Math.min(i,o*e/2),c=d=>{const h=(n-Math.min(i,d))*o/2;return Ne(d,0,Math.min(i,h))};return{outerStart:c(r.outerStart),outerEnd:c(r.outerEnd),innerStart:Ne(r.innerStart,0,s),innerEnd:Ne(r.innerEnd,0,s)}}function As(a,e,n,o){return{x:n+a*Math.cos(e),y:o+a*Math.sin(e)}}function QL(a,e,n,o,r,i){const{x:s,y:c,startAngle:d,pixelMargin:h,innerRadius:u}=e,p=Math.max(e.outerRadius+o+n-h,0),y=u>0?u+o+n+h:0;let f=0;const k=r-d;if(o){const W=u>0?u-o:0,T=p>0?p-o:0,j=(W+T)/2,R=j!==0?k*j/(j+o):k;f=(k-R)/2}const m=Math.max(.001,k*p-n/Se)/p,g=(k-m)/2,w=d+g+f,S=r-g-f,{outerStart:v,outerEnd:M,innerStart:C,innerEnd:x}=kN(e,y,p,S-w),b=p-v,L=p-M,I=w+v/b,z=S-M/L,A=y+C,q=y+x,O=w+C/A,H=S-x/q;if(a.beginPath(),i){const W=(I+z)/2;if(a.arc(s,c,p,I,W),a.arc(s,c,p,W,z),M>0){const Y=As(L,z,s,c);a.arc(Y.x,Y.y,M,z,S+Oe)}const T=As(q,S,s,c);if(a.lineTo(T.x,T.y),x>0){const Y=As(q,H,s,c);a.arc(Y.x,Y.y,x,S+Oe,H+Math.PI)}const j=(S-x/y+(w+C/y))/2;if(a.arc(s,c,y,S-x/y,j,!0),a.arc(s,c,y,j,w+C/y,!0),C>0){const Y=As(A,O,s,c);a.arc(Y.x,Y.y,C,O+Math.PI,w-Oe)}const R=As(b,w,s,c);if(a.lineTo(R.x,R.y),v>0){const Y=As(b,I,s,c);a.arc(Y.x,Y.y,v,w-Oe,I)}}else{a.moveTo(s,c);const W=Math.cos(I)*p+s,T=Math.sin(I)*p+c;a.lineTo(W,T);const j=Math.cos(z)*p+s,R=Math.sin(z)*p+c;a.lineTo(j,R)}a.closePath()}function mN(a,e,n,o,r){const{fullCircles:i,startAngle:s,circumference:c}=e;let d=e.endAngle;if(i){QL(a,e,n,o,d,r);for(let h=0;h<i;++h)a.fill();isNaN(c)||(d=s+(c%qe||qe))}return QL(a,e,n,o,d,r),a.fill(),d}function gN(a,e,n,o,r){const{fullCircles:i,startAngle:s,circumference:c,options:d}=e,{borderWidth:h,borderJoinStyle:u,borderDash:p,borderDashOffset:y,borderRadius:f}=d,k=d.borderAlign==="inner";if(!h)return;a.setLineDash(p||[]),a.lineDashOffset=y,k?(a.lineWidth=h*2,a.lineJoin=u||"round"):(a.lineWidth=h,a.lineJoin=u||"bevel");let m=e.endAngle;if(i){QL(a,e,n,o,m,r);for(let g=0;g<i;++g)a.stroke();isNaN(c)||(m=s+(c%qe||qe))}k&&yN(a,e,m),d.selfJoin&&m-s>=Se&&f===0&&u!=="miter"&&pN(a,e,m),i||(QL(a,e,n,o,m,r),a.stroke())}class V1 extends Jt{constructor(n){super();se(this,"circumference");se(this,"endAngle");se(this,"fullCircles");se(this,"innerRadius");se(this,"outerRadius");se(this,"pixelMargin");se(this,"startAngle");this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,n&&Object.assign(this,n)}inRange(n,o,r){const i=this.getProps(["x","y"],r),{angle:s,distance:c}=vB(i,{x:n,y:o}),{startAngle:d,endAngle:h,innerRadius:u,outerRadius:p,circumference:y}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],r),f=(this.options.spacing+this.options.borderWidth)/2,k=ge(y,h-d),m=M1(s,d,h)&&d!==h,g=k>=qe||m,w=Yt(c,u+f,p+f);return g&&w}getCenterPoint(n){const{x:o,y:r,startAngle:i,endAngle:s,innerRadius:c,outerRadius:d}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],n),{offset:h,spacing:u}=this.options,p=(i+s)/2,y=(c+d+u+h)/2;return{x:o+Math.cos(p)*y,y:r+Math.sin(p)*y}}tooltipPosition(n){return this.getCenterPoint(n)}draw(n){const{options:o,circumference:r}=this,i=(o.offset||0)/4,s=(o.spacing||0)/2,c=o.circular;if(this.pixelMargin=o.borderAlign==="inner"?.33:0,this.fullCircles=r>qe?Math.floor(r/qe):0,r===0||this.innerRadius<0||this.outerRadius<0)return;n.save();const d=(this.startAngle+this.endAngle)/2;n.translate(Math.cos(d)*i,Math.sin(d)*i);const h=1-Math.sin(Math.min(Se,r||0)),u=i*h;n.fillStyle=o.backgroundColor,n.strokeStyle=o.borderColor,mN(n,this,u,s,c),gN(n,this,u,s,c),n.restore()}}se(V1,"id","arc"),se(V1,"defaults",{borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0,selfJoin:!1}),se(V1,"defaultRoutes",{backgroundColor:"backgroundColor"}),se(V1,"descriptors",{_scriptable:!0,_indexable:n=>n!=="borderDash"});function RV(a,e,n=e){a.lineCap=ge(n.borderCapStyle,e.borderCapStyle),a.setLineDash(ge(n.borderDash,e.borderDash)),a.lineDashOffset=ge(n.borderDashOffset,e.borderDashOffset),a.lineJoin=ge(n.borderJoinStyle,e.borderJoinStyle),a.lineWidth=ge(n.borderWidth,e.borderWidth),a.strokeStyle=ge(n.borderColor,e.borderColor)}function MN(a,e,n){a.lineTo(n.x,n.y)}function bN(a){return a.stepped?NO:a.tension||a.cubicInterpolationMode==="monotone"?$O:MN}function NV(a,e,n={}){const o=a.length,{start:r=0,end:i=o-1}=n,{start:s,end:c}=e,d=Math.max(r,s),h=Math.min(i,c),u=r<s&&i<s||r>c&&i>c;return{count:o,start:d,loop:e.loop,ilen:h<d&&!u?o+h-d:h-d}}function xN(a,e,n,o){const{points:r,options:i}=e,{count:s,start:c,loop:d,ilen:h}=NV(r,n,o),u=bN(i);let{move:p=!0,reverse:y}=o||{},f,k,m;for(f=0;f<=h;++f)k=r[(c+(y?h-f:f))%s],!k.skip&&(p?(a.moveTo(k.x,k.y),p=!1):u(a,m,k,y,i.stepped),m=k);return d&&(k=r[(c+(y?h:0))%s],u(a,m,k,y,i.stepped)),!!d}function wN(a,e,n,o){const r=e.points,{count:i,start:s,ilen:c}=NV(r,n,o),{move:d=!0,reverse:h}=o||{};let u=0,p=0,y,f,k,m,g,w;const S=M=>(s+(h?c-M:M))%i,v=()=>{m!==g&&(a.lineTo(u,g),a.lineTo(u,m),a.lineTo(u,w))};for(d&&(f=r[S(0)],a.moveTo(f.x,f.y)),y=0;y<=c;++y){if(f=r[S(y)],f.skip)continue;const M=f.x,C=f.y,x=M|0;x===k?(C<m?m=C:C>g&&(g=C),u=(p*u+M)/++p):(v(),a.lineTo(M,C),k=x,p=0,m=g=C),w=C}v()}function FI(a){const e=a.options,n=e.borderDash&&e.borderDash.length;return!a._decimated&&!a._loop&&!e.tension&&e.cubicInterpolationMode!=="monotone"&&!e.stepped&&!n?wN:xN}function vN(a){return a.stepped?wF:a.tension||a.cubicInterpolationMode==="monotone"?vF:es}function CN(a,e,n,o){let r=e._path;r||(r=e._path=new Path2D,e.path(r,n,o)&&r.closePath()),RV(a,e.options),a.stroke(r)}function LN(a,e,n,o){const{segments:r,options:i}=e,s=FI(e);for(const c of r)RV(a,i,c.style),a.beginPath(),s(a,e,c,{start:n,end:n+o-1})&&a.closePath(),a.stroke()}const SN=typeof Path2D=="function";function IN(a,e,n,o){SN&&!e.options.segment?CN(a,e,n,o):LN(a,e,n,o)}class va extends Jt{constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,n){const o=this.options;if((o.tension||o.cubicInterpolationMode==="monotone")&&!o.stepped&&!this._pointsUpdated){const r=o.spanGaps?this._loop:this._fullLoop;yF(this._points,o,e,r,n),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=AF(this,this.options.segment))}first(){const e=this.segments,n=this.points;return e.length&&n[e[0].start]}last(){const e=this.segments,n=this.points,o=e.length;return o&&n[e[o-1].end]}interpolate(e,n){const o=this.options,r=e[n],i=this.points,s=QB(this,{property:n,start:r,end:r});if(!s.length)return;const c=[],d=vN(o);let h,u;for(h=0,u=s.length;h<u;++h){const{start:p,end:y}=s[h],f=i[p],k=i[y];if(f===k){c.push(f);continue}const m=Math.abs((r-f[n])/(k[n]-f[n])),g=d(f,k,m,o.stepped);g[n]=e[n],c.push(g)}return c.length===1?c[0]:c}pathSegment(e,n,o){return FI(this)(e,this,n,o)}path(e,n,o){const r=this.segments,i=FI(this);let s=this._loop;n=n||0,o=o||this.points.length-n;for(const c of r)s&=i(e,this,c,{start:n,end:n+o-1});return!!s}draw(e,n,o,r){const i=this.options||{};(this.points||[]).length&&i.borderWidth&&(e.save(),IN(e,this,o,r),e.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}se(va,"id","line"),se(va,"defaults",{borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0}),se(va,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"}),se(va,"descriptors",{_scriptable:!0,_indexable:e=>e!=="borderDash"&&e!=="fill"});function $V(a,e,n,o){const r=a.options,{[n]:i}=a.getProps([n],o);return Math.abs(e-i)<r.radius+r.hitRadius}class JL extends Jt{constructor(n){super();se(this,"parsed");se(this,"skip");se(this,"stop");this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,n&&Object.assign(this,n)}inRange(n,o,r){const i=this.options,{x:s,y:c}=this.getProps(["x","y"],r);return Math.pow(n-s,2)+Math.pow(o-c,2)<Math.pow(i.hitRadius+i.radius,2)}inXRange(n,o){return $V(this,n,"x",o)}inYRange(n,o){return $V(this,n,"y",o)}getCenterPoint(n){const{x:o,y:r}=this.getProps(["x","y"],n);return{x:o,y:r}}size(n){n=n||this.options||{};let o=n.radius||0;o=Math.max(o,o&&n.hoverRadius||0);const r=o&&n.borderWidth||0;return(o+r)*2}draw(n,o){const r=this.options;this.skip||r.radius<.1||!w1(this,o,this.size(r)/2)||(n.strokeStyle=r.borderColor,n.lineWidth=r.borderWidth,n.fillStyle=r.backgroundColor,vI(n,r,this.x,this.y))}getRange(){const n=this.options||{};return n.radius+n.hitRadius}}se(JL,"id","point"),se(JL,"defaults",{borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0}),se(JL,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});function UV(a,e){const{x:n,y:o,base:r,width:i,height:s}=a.getProps(["x","y","base","width","height"],e);let c,d,h,u,p;return a.horizontal?(p=s/2,c=Math.min(n,r),d=Math.max(n,r),h=o-p,u=o+p):(p=i/2,c=n-p,d=n+p,h=Math.min(o,r),u=Math.max(o,r)),{left:c,top:h,right:d,bottom:u}}function Ca(a,e,n,o){return a?0:Ne(e,n,o)}function _N(a,e,n){const o=a.options.borderWidth,r=a.borderSkipped,i=TB(o);return{t:Ca(r.top,i.top,0,n),r:Ca(r.right,i.right,0,e),b:Ca(r.bottom,i.bottom,0,n),l:Ca(r.left,i.left,0,e)}}function AN(a,e,n){const{enableBorderRadius:o}=a.getProps(["enableBorderRadius"]),r=a.options.borderRadius,i=vs(r),s=Math.min(e,n),c=a.borderSkipped,d=o||be(r);return{topLeft:Ca(!d||c.top||c.left,i.topLeft,0,s),topRight:Ca(!d||c.top||c.right,i.topRight,0,s),bottomLeft:Ca(!d||c.bottom||c.left,i.bottomLeft,0,s),bottomRight:Ca(!d||c.bottom||c.right,i.bottomRight,0,s)}}function BN(a){const e=UV(a),n=e.right-e.left,o=e.bottom-e.top,r=_N(a,n/2,o/2),i=AN(a,n/2,o/2);return{outer:{x:e.left,y:e.top,w:n,h:o,radius:i},inner:{x:e.left+r.l,y:e.top+r.t,w:n-r.l-r.r,h:o-r.t-r.b,radius:{topLeft:Math.max(0,i.topLeft-Math.max(r.t,r.l)),topRight:Math.max(0,i.topRight-Math.max(r.t,r.r)),bottomLeft:Math.max(0,i.bottomLeft-Math.max(r.b,r.l)),bottomRight:Math.max(0,i.bottomRight-Math.max(r.b,r.r))}}}}function RI(a,e,n,o){const r=e===null,i=n===null,c=a&&!(r&&i)&&UV(a,o);return c&&(r||Yt(e,c.left,c.right))&&(i||Yt(n,c.top,c.bottom))}function VN(a){return a.topLeft||a.topRight||a.bottomLeft||a.bottomRight}function zN(a,e){a.rect(e.x,e.y,e.w,e.h)}function NI(a,e,n={}){const o=a.x!==n.x?-e:0,r=a.y!==n.y?-e:0,i=(a.x+a.w!==n.x+n.w?e:0)-o,s=(a.y+a.h!==n.y+n.h?e:0)-r;return{x:a.x+o,y:a.y+r,w:a.w+i,h:a.h+s,radius:a.radius}}class eS extends Jt{constructor(e){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,e&&Object.assign(this,e)}draw(e){const{inflateAmount:n,options:{borderColor:o,backgroundColor:r}}=this,{inner:i,outer:s}=BN(this),c=VN(s.radius)?EL:zN;e.save(),(s.w!==i.w||s.h!==i.h)&&(e.beginPath(),c(e,NI(s,n,i)),e.clip(),c(e,NI(i,-n,s)),e.fillStyle=o,e.fill("evenodd")),e.beginPath(),c(e,NI(i,n)),e.fillStyle=r,e.fill(),e.restore()}inRange(e,n,o){return RI(this,e,n,o)}inXRange(e,n){return RI(this,e,null,n)}inYRange(e,n){return RI(this,null,e,n)}getCenterPoint(e){const{x:n,y:o,base:r,horizontal:i}=this.getProps(["x","y","base","horizontal"],e);return{x:i?(n+r)/2:n,y:i?o:(o+r)/2}}getRange(e){return e==="x"?this.width/2:this.height/2}}se(eS,"id","bar"),se(eS,"defaults",{borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0}),se(eS,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});function qN(a,e,n){const o=a.segments,r=a.points,i=e.points,s=[];for(const c of o){let{start:d,end:h}=c;h=tS(d,h,r);const u=$I(n,r[d],r[h],c.loop);if(!e.segments){s.push({source:c,target:u,start:r[d],end:r[h]});continue}const p=QB(e,u);for(const y of p){const f=$I(n,i[y.start],i[y.end],y.loop),k=YB(c,r,f);for(const m of k)s.push({source:m,target:y,start:{[n]:WV(u,f,"start",Math.max)},end:{[n]:WV(u,f,"end",Math.min)}})}}return s}function $I(a,e,n,o){if(o)return;let r=e[a],i=n[a];return a==="angle"&&(r=nt(r),i=nt(i)),{property:a,start:r,end:i}}function PN(a,e){const{x:n=null,y:o=null}=a||{},r=e.points,i=[];return e.segments.forEach(({start:s,end:c})=>{c=tS(s,c,r);const d=r[s],h=r[c];o!==null?(i.push({x:d.x,y:o}),i.push({x:h.x,y:o})):n!==null&&(i.push({x:n,y:d.y}),i.push({x:n,y:h.y}))}),i}function tS(a,e,n){for(;e>a;e--){const o=n[e];if(!isNaN(o.x)&&!isNaN(o.y))break}return e}function WV(a,e,n,o){return a&&e?o(a[n],e[n]):a?a[n]:e?e[n]:0}function GV(a,e){let n=[],o=!1;return He(a)?(o=!0,n=a):n=PN(a,e),n.length?new va({points:n,options:{tension:0},_loop:o,_fullLoop:o}):null}function KV(a){return a&&a.fill!==!1}function DN(a,e,n){let r=a[e].fill;const i=[e];let s;if(!n)return r;for(;r!==!1&&i.indexOf(r)===-1;){if(!Re(r))return r;if(s=a[r],!s)return!1;if(s.visible)return r;i.push(r),r=s.fill}return!1}function EN(a,e,n){const o=ON(a);if(be(o))return isNaN(o.value)?!1:o;let r=parseFloat(o);return Re(r)&&Math.floor(r)===r?TN(o[0],e,r,n):["origin","start","end","stack","shape"].indexOf(o)>=0&&o}function TN(a,e,n,o){return(a==="-"||a==="+")&&(n=e+n),n===e||n<0||n>=o?!1:n}function HN(a,e){let n=null;return a==="start"?n=e.bottom:a==="end"?n=e.top:be(a)?n=e.getPixelForValue(a.value):e.getBasePixel&&(n=e.getBasePixel()),n}function jN(a,e,n){let o;return a==="start"?o=n:a==="end"?o=e.options.reverse?e.min:e.max:be(a)?o=a.value:o=e.getBaseValue(),o}function ON(a){const e=a.options,n=e.fill;let o=ge(n&&n.target,n);return o===void 0&&(o=!!e.backgroundColor),o===!1||o===null?!1:o===!0?"origin":o}function FN(a){const{scale:e,index:n,line:o}=a,r=[],i=o.segments,s=o.points,c=RN(e,n);c.push(GV({x:null,y:e.bottom},o));for(let d=0;d<i.length;d++){const h=i[d];for(let u=h.start;u<=h.end;u++)NN(r,s[u],c)}return new va({points:r,options:{}})}function RN(a,e){const n=[],o=a.getMatchingVisibleMetas("line");for(let r=0;r<o.length;r++){const i=o[r];if(i.index===e)break;i.hidden||n.unshift(i.dataset)}return n}function NN(a,e,n){const o=[];for(let r=0;r<n.length;r++){const i=n[r],{first:s,last:c,point:d}=$N(i,e,"x");if(!(!d||s&&c)){if(s)o.unshift(d);else if(a.push(d),!c)break}}a.push(...o)}function $N(a,e,n){const o=a.interpolate(e,n);if(!o)return{};const r=o[n],i=a.segments,s=a.points;let c=!1,d=!1;for(let h=0;h<i.length;h++){const u=i[h],p=s[u.start][n],y=s[u.end][n];if(Yt(r,p,y)){c=r===p,d=r===y;break}}return{first:c,last:d,point:o}}class XV{constructor(e){this.x=e.x,this.y=e.y,this.radius=e.radius}pathSegment(e,n,o){const{x:r,y:i,radius:s}=this;return n=n||{start:0,end:qe},e.arc(r,i,s,n.end,n.start,!0),!o.bounds}interpolate(e){const{x:n,y:o,radius:r}=this,i=e.angle;return{x:n+Math.cos(i)*r,y:o+Math.sin(i)*r,angle:i}}}function UN(a){const{chart:e,fill:n,line:o}=a;if(Re(n))return WN(e,n);if(n==="stack")return FN(a);if(n==="shape")return!0;const r=GN(a);return r instanceof XV?r:GV(r,o)}function WN(a,e){const n=a.getDatasetMeta(e);return n&&a.isDatasetVisible(e)?n.dataset:null}function GN(a){return(a.scale||{}).getPointPositionForValue?XN(a):KN(a)}function KN(a){const{scale:e={},fill:n}=a,o=HN(n,e);if(Re(o)){const r=e.isHorizontal();return{x:r?o:null,y:r?null:o}}return null}function XN(a){const{scale:e,fill:n}=a,o=e.options,r=e.getLabels().length,i=o.reverse?e.max:e.min,s=jN(n,e,i),c=[];if(o.grid.circular){const d=e.getPointPositionForValue(0,i);return new XV({x:d.x,y:d.y,radius:e.getDistanceFromCenterForValue(s)})}for(let d=0;d<r;++d)c.push(e.getPointPositionForValue(d,s));return c}function UI(a,e,n){const o=UN(e),{chart:r,index:i,line:s,scale:c,axis:d}=e,h=s.options,u=h.fill,p=h.backgroundColor,{above:y=p,below:f=p}=u||{},k=r.getDatasetMeta(i),m=tV(r,k);o&&s.points.length&&(PL(a,n),ZN(a,{line:s,target:o,above:y,below:f,area:n,scale:c,axis:d,clip:m}),DL(a))}function ZN(a,e){const{line:n,target:o,above:r,below:i,area:s,scale:c,clip:d}=e,h=n._loop?"angle":e.axis;a.save();let u=i;i!==r&&(h==="x"?(ZV(a,o,s.top),WI(a,{line:n,target:o,color:r,scale:c,property:h,clip:d}),a.restore(),a.save(),ZV(a,o,s.bottom)):h==="y"&&(YV(a,o,s.left),WI(a,{line:n,target:o,color:i,scale:c,property:h,clip:d}),a.restore(),a.save(),YV(a,o,s.right),u=r)),WI(a,{line:n,target:o,color:u,scale:c,property:h,clip:d}),a.restore()}function ZV(a,e,n){const{segments:o,points:r}=e;let i=!0,s=!1;a.beginPath();for(const c of o){const{start:d,end:h}=c,u=r[d],p=r[tS(d,h,r)];i?(a.moveTo(u.x,u.y),i=!1):(a.lineTo(u.x,n),a.lineTo(u.x,u.y)),s=!!e.pathSegment(a,c,{move:s}),s?a.closePath():a.lineTo(p.x,n)}a.lineTo(e.first().x,n),a.closePath(),a.clip()}function YV(a,e,n){const{segments:o,points:r}=e;let i=!0,s=!1;a.beginPath();for(const c of o){const{start:d,end:h}=c,u=r[d],p=r[tS(d,h,r)];i?(a.moveTo(u.x,u.y),i=!1):(a.lineTo(n,u.y),a.lineTo(u.x,u.y)),s=!!e.pathSegment(a,c,{move:s}),s?a.closePath():a.lineTo(n,p.y)}a.lineTo(n,e.first().y),a.closePath(),a.clip()}function WI(a,e){const{line:n,target:o,property:r,color:i,scale:s,clip:c}=e,d=qN(n,o,r);for(const{source:h,target:u,start:p,end:y}of d){const{style:{backgroundColor:f=i}={}}=h,k=o!==!0;a.save(),a.fillStyle=f,YN(a,s,c,k&&$I(r,p,y)),a.beginPath();const m=!!n.pathSegment(a,h);let g;if(k){m?a.closePath():QV(a,o,y,r);const w=!!o.pathSegment(a,u,{move:m,reverse:!0});g=m&&w,g||QV(a,o,p,r)}a.closePath(),a.fill(g?"evenodd":"nonzero"),a.restore()}}function YN(a,e,n,o){const r=e.chart.chartArea,{property:i,start:s,end:c}=o||{};if(i==="x"||i==="y"){let d,h,u,p;i==="x"?(d=s,h=r.top,u=c,p=r.bottom):(d=r.left,h=s,u=r.right,p=c),a.beginPath(),n&&(d=Math.max(d,n.left),u=Math.min(u,n.right),h=Math.max(h,n.top),p=Math.min(p,n.bottom)),a.rect(d,h,u-d,p-h),a.clip()}}function QV(a,e,n,o){const r=e.interpolate(n,o);r&&a.lineTo(r.x,r.y)}var QN={id:"filler",afterDatasetsUpdate(a,e,n){const o=(a.data.datasets||[]).length,r=[];let i,s,c,d;for(s=0;s<o;++s)i=a.getDatasetMeta(s),c=i.dataset,d=null,c&&c.options&&c instanceof va&&(d={visible:a.isDatasetVisible(s),index:s,fill:EN(c,s,o),chart:a,axis:i.controller.options.indexAxis,scale:i.vScale,line:c}),i.$filler=d,r.push(d);for(s=0;s<o;++s)d=r[s],!(!d||d.fill===!1)&&(d.fill=DN(r,s,n.propagate))},beforeDraw(a,e,n){const o=n.drawTime==="beforeDraw",r=a.getSortedVisibleDatasetMetas(),i=a.chartArea;for(let s=r.length-1;s>=0;--s){const c=r[s].$filler;c&&(c.line.updateControlPoints(i,c.axis),o&&c.fill&&UI(a.ctx,c,i))}},beforeDatasetsDraw(a,e,n){if(n.drawTime!=="beforeDatasetsDraw")return;const o=a.getSortedVisibleDatasetMetas();for(let r=o.length-1;r>=0;--r){const i=o[r].$filler;KV(i)&&UI(a.ctx,i,a.chartArea)}},beforeDatasetDraw(a,e,n){const o=e.meta.$filler;!KV(o)||n.drawTime!=="beforeDatasetDraw"||UI(a.ctx,o,a.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const JV=(a,e)=>{let{boxHeight:n=e,boxWidth:o=e}=a;return a.usePointStyle&&(n=Math.min(n,e),o=a.pointStyleWidth||Math.min(o,e)),{boxWidth:o,boxHeight:n,itemHeight:Math.max(e,n)}},JN=(a,e)=>a!==null&&e!==null&&a.datasetIndex===e.datasetIndex&&a.index===e.index;class ez extends Jt{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,n,o){this.maxWidth=e,this.maxHeight=n,this._margins=o,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const e=this.options.labels||{};let n=Be(e.generateLabels,[this.chart],this)||[];e.filter&&(n=n.filter(o=>e.filter(o,this.chart.data))),e.sort&&(n=n.sort((o,r)=>e.sort(o,r,this.chart.data))),this.options.reverse&&n.reverse(),this.legendItems=n}fit(){const{options:e,ctx:n}=this;if(!e.display){this.width=this.height=0;return}const o=e.labels,r=Ue(o.font),i=r.size,s=this._computeTitleHeight(),{boxWidth:c,itemHeight:d}=JV(o,i);let h,u;n.font=r.string,this.isHorizontal()?(h=this.maxWidth,u=this._fitRows(s,i,c,d)+10):(u=this.maxHeight,h=this._fitCols(s,r,c,d)+10),this.width=Math.min(h,e.maxWidth||this.maxWidth),this.height=Math.min(u,e.maxHeight||this.maxHeight)}_fitRows(e,n,o,r){const{ctx:i,maxWidth:s,options:{labels:{padding:c}}}=this,d=this.legendHitBoxes=[],h=this.lineWidths=[0],u=r+c;let p=e;i.textAlign="left",i.textBaseline="middle";let y=-1,f=-u;return this.legendItems.forEach((k,m)=>{const g=o+n/2+i.measureText(k.text).width;(m===0||h[h.length-1]+g+2*c>s)&&(p+=u,h[h.length-(m>0?0:1)]=0,f+=u,y++),d[m]={left:0,top:f,row:y,width:g,height:r},h[h.length-1]+=g+c}),p}_fitCols(e,n,o,r){const{ctx:i,maxHeight:s,options:{labels:{padding:c}}}=this,d=this.legendHitBoxes=[],h=this.columnSizes=[],u=s-e;let p=c,y=0,f=0,k=0,m=0;return this.legendItems.forEach((g,w)=>{const{itemWidth:S,itemHeight:v}=e$(o,n,i,g,r);w>0&&f+v+2*c>u&&(p+=y+c,h.push({width:y,height:f}),k+=y+c,m++,y=f=0),d[w]={left:k,top:f,col:m,width:S,height:v},y=Math.max(y,S),f+=v+c}),p+=y,h.push({width:y,height:f}),p}adjustHitBoxes(){if(!this.options.display)return;const e=this._computeTitleHeight(),{legendHitBoxes:n,options:{align:o,labels:{padding:r},rtl:i}}=this,s=Ss(i,this.left,this.width);if(this.isHorizontal()){let c=0,d=$e(o,this.left+r,this.right-this.lineWidths[c]);for(const h of n)c!==h.row&&(c=h.row,d=$e(o,this.left+r,this.right-this.lineWidths[c])),h.top+=this.top+e+r,h.left=s.leftForLtr(s.x(d),h.width),d+=h.width+r}else{let c=0,d=$e(o,this.top+e+r,this.bottom-this.columnSizes[c].height);for(const h of n)h.col!==c&&(c=h.col,d=$e(o,this.top+e+r,this.bottom-this.columnSizes[c].height)),h.top=d,h.left+=this.left+r,h.left=s.leftForLtr(s.x(h.left),h.width),d+=h.height+r}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const e=this.ctx;PL(e,this),this._draw(),DL(e)}}_draw(){const{options:e,columnSizes:n,lineWidths:o,ctx:r}=this,{align:i,labels:s}=e,c=Te.color,d=Ss(e.rtl,this.left,this.width),h=Ue(s.font),{padding:u}=s,p=h.size,y=p/2;let f;this.drawTitle(),r.textAlign=d.textAlign("left"),r.textBaseline="middle",r.lineWidth=.5,r.font=h.string;const{boxWidth:k,boxHeight:m,itemHeight:g}=JV(s,p),w=function(x,b,L){if(isNaN(k)||k<=0||isNaN(m)||m<0)return;r.save();const I=ge(L.lineWidth,1);if(r.fillStyle=ge(L.fillStyle,c),r.lineCap=ge(L.lineCap,"butt"),r.lineDashOffset=ge(L.lineDashOffset,0),r.lineJoin=ge(L.lineJoin,"miter"),r.lineWidth=I,r.strokeStyle=ge(L.strokeStyle,c),r.setLineDash(ge(L.lineDash,[])),s.usePointStyle){const z={radius:m*Math.SQRT2/2,pointStyle:L.pointStyle,rotation:L.rotation,borderWidth:I},A=d.xPlus(x,k/2),q=b+y;EB(r,z,A,q,s.pointStyleWidth&&k)}else{const z=b+Math.max((p-m)/2,0),A=d.leftForLtr(x,k),q=vs(L.borderRadius);r.beginPath(),Object.values(q).some(O=>O!==0)?EL(r,{x:A,y:z,w:k,h:m,radius:q}):r.rect(A,z,k,m),r.fill(),I!==0&&r.stroke()}r.restore()},S=function(x,b,L){v1(r,L.text,x,b+g/2,h,{strikethrough:L.hidden,textAlign:d.textAlign(L.textAlign)})},v=this.isHorizontal(),M=this._computeTitleHeight();v?f={x:$e(i,this.left+u,this.right-o[0]),y:this.top+u+M,line:0}:f={x:this.left+u,y:$e(i,this.top+M+u,this.bottom-n[0].height),line:0},GB(this.ctx,e.textDirection);const C=g+u;this.legendItems.forEach((x,b)=>{r.strokeStyle=x.fontColor,r.fillStyle=x.fontColor;const L=r.measureText(x.text).width,I=d.textAlign(x.textAlign||(x.textAlign=s.textAlign)),z=k+y+L;let A=f.x,q=f.y;d.setWidth(this.width),v?b>0&&A+z+u>this.right&&(q=f.y+=C,f.line++,A=f.x=$e(i,this.left+u,this.right-o[f.line])):b>0&&q+C>this.bottom&&(A=f.x=A+n[f.line].width+u,f.line++,q=f.y=$e(i,this.top+M+u,this.bottom-n[f.line].height));const O=d.x(A);if(w(O,q,x),A=BO(I,A+k+y,v?A+z:this.right,e.rtl),S(d.x(A),q,x),v)f.x+=z+u;else if(typeof x.text!="string"){const H=h.lineHeight;f.y+=tz(x,H)+u}else f.y+=C}),KB(this.ctx,e.textDirection)}drawTitle(){const e=this.options,n=e.title,o=Ue(n.font),r=ht(n.padding);if(!n.display)return;const i=Ss(e.rtl,this.left,this.width),s=this.ctx,c=n.position,d=o.size/2,h=r.top+d;let u,p=this.left,y=this.width;if(this.isHorizontal())y=Math.max(...this.lineWidths),u=this.top+h,p=$e(e.align,p,this.right-y);else{const k=this.columnSizes.reduce((m,g)=>Math.max(m,g.height),0);u=h+$e(e.align,this.top,this.bottom-k-e.labels.padding-this._computeTitleHeight())}const f=$e(c,p,p+y);s.textAlign=i.textAlign(mI(c)),s.textBaseline="middle",s.strokeStyle=n.color,s.fillStyle=n.color,s.font=o.string,v1(s,n.text,f,u,o)}_computeTitleHeight(){const e=this.options.title,n=Ue(e.font),o=ht(e.padding);return e.display?n.lineHeight+o.height:0}_getLegendItemAt(e,n){let o,r,i;if(Yt(e,this.left,this.right)&&Yt(n,this.top,this.bottom)){for(i=this.legendHitBoxes,o=0;o<i.length;++o)if(r=i[o],Yt(e,r.left,r.left+r.width)&&Yt(n,r.top,r.top+r.height))return this.legendItems[o]}return null}handleEvent(e){const n=this.options;if(!n$(e.type,n))return;const o=this._getLegendItemAt(e.x,e.y);if(e.type==="mousemove"||e.type==="mouseout"){const r=this._hoveredItem,i=JN(r,o);r&&!i&&Be(n.onLeave,[e,r,this],this),this._hoveredItem=o,o&&!i&&Be(n.onHover,[e,o,this],this)}else o&&Be(n.onClick,[e,o,this],this)}}function e$(a,e,n,o,r){const i=t$(o,a,e,n),s=a$(r,o,e.lineHeight);return{itemWidth:i,itemHeight:s}}function t$(a,e,n,o){let r=a.text;return r&&typeof r!="string"&&(r=r.reduce((i,s)=>i.length>s.length?i:s)),e+n.size/2+o.measureText(r).width}function a$(a,e,n){let o=a;return typeof e.text!="string"&&(o=tz(e,n)),o}function tz(a,e){const n=a.text?a.text.length:0;return e*n}function n$(a,e){return!!((a==="mousemove"||a==="mouseout")&&(e.onHover||e.onLeave)||e.onClick&&(a==="click"||a==="mouseup"))}var o$={id:"legend",_element:ez,start(a,e,n){const o=a.legend=new ez({ctx:a.ctx,options:n,chart:a});ut.configure(a,o,n),ut.addBox(a,o)},stop(a){ut.removeBox(a,a.legend),delete a.legend},beforeUpdate(a,e,n){const o=a.legend;ut.configure(a,o,n),o.options=n},afterUpdate(a){const e=a.legend;e.buildLabels(),e.adjustHitBoxes()},afterEvent(a,e){e.replay||a.legend.handleEvent(e.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(a,e,n){const o=e.datasetIndex,r=n.chart;r.isDatasetVisible(o)?(r.hide(o),e.hidden=!0):(r.show(o),e.hidden=!1)},onHover:null,onLeave:null,labels:{color:a=>a.chart.options.color,boxWidth:40,padding:10,generateLabels(a){const e=a.data.datasets,{labels:{usePointStyle:n,pointStyle:o,textAlign:r,color:i,useBorderRadius:s,borderRadius:c}}=a.legend.options;return a._getSortedDatasetMetas().map(d=>{const h=d.controller.getStyle(n?0:void 0),u=ht(h.borderWidth);return{text:e[d.index].label,fillStyle:h.backgroundColor,fontColor:i,hidden:!d.visible,lineCap:h.borderCapStyle,lineDash:h.borderDash,lineDashOffset:h.borderDashOffset,lineJoin:h.borderJoinStyle,lineWidth:(u.width+u.height)/4,strokeStyle:h.borderColor,pointStyle:o||h.pointStyle,rotation:h.rotation,textAlign:r||h.textAlign,borderRadius:s&&(c||h.borderRadius),datasetIndex:d.index}},this)}},title:{color:a=>a.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:a=>!a.startsWith("on"),labels:{_scriptable:a=>!["generateLabels","filter","sort"].includes(a)}}};class az extends Jt{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,n){const o=this.options;if(this.left=0,this.top=0,!o.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=e,this.height=this.bottom=n;const r=He(o.text)?o.text.length:1;this._padding=ht(o.padding);const i=r*Ue(o.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=i:this.width=i}isHorizontal(){const e=this.options.position;return e==="top"||e==="bottom"}_drawArgs(e){const{top:n,left:o,bottom:r,right:i,options:s}=this,c=s.align;let d=0,h,u,p;return this.isHorizontal()?(u=$e(c,o,i),p=n+e,h=i-o):(s.position==="left"?(u=o+e,p=$e(c,r,n),d=Se*-.5):(u=i-e,p=$e(c,n,r),d=Se*.5),h=r-n),{titleX:u,titleY:p,maxWidth:h,rotation:d}}draw(){const e=this.ctx,n=this.options;if(!n.display)return;const o=Ue(n.font),i=o.lineHeight/2+this._padding.top,{titleX:s,titleY:c,maxWidth:d,rotation:h}=this._drawArgs(i);v1(e,n.text,0,0,o,{color:n.color,maxWidth:d,rotation:h,textAlign:mI(n.align),textBaseline:"middle",translation:[s,c]})}}function r$(a,e){const n=new az({ctx:a.ctx,options:e,chart:a});ut.configure(a,n,e),ut.addBox(a,n),a.titleBlock=n}var i$={id:"title",_element:az,start(a,e,n){r$(a,n)},stop(a){const e=a.titleBlock;ut.removeBox(a,e),delete a.titleBlock},beforeUpdate(a,e,n){const o=a.titleBlock;ut.configure(a,o,n),o.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const z1={average(a){if(!a.length)return!1;let e,n,o=new Set,r=0,i=0;for(e=0,n=a.length;e<n;++e){const c=a[e].element;if(c&&c.hasValue()){const d=c.tooltipPosition();o.add(d.x),r+=d.y,++i}}return i===0||o.size===0?!1:{x:[...o].reduce((c,d)=>c+d)/o.size,y:r/i}},nearest(a,e){if(!a.length)return!1;let n=e.x,o=e.y,r=Number.POSITIVE_INFINITY,i,s,c;for(i=0,s=a.length;i<s;++i){const d=a[i].element;if(d&&d.hasValue()){const h=d.getCenterPoint(),u=fI(e,h);u<r&&(r=u,c=d)}}if(c){const d=c.tooltipPosition();n=d.x,o=d.y}return{x:n,y:o}}};function Ft(a,e){return e&&(He(e)?Array.prototype.push.apply(a,e):a.push(e)),a}function ta(a){return(typeof a=="string"||a instanceof String)&&a.indexOf(`
|
|
8517
|
+
*/class qF{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,n,o,r){const i=n.listeners[r],s=n.duration;i.forEach(c=>c({chart:e,initial:n.initial,numSteps:s,currentStep:Math.min(o-n.start,s)}))}_refresh(){this._request||(this._running=!0,this._request=_B.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let n=0;this._charts.forEach((o,r)=>{if(!o.running||!o.items.length)return;const i=o.items;let s=i.length-1,c=!1,d;for(;s>=0;--s)d=i[s],d._active?(d._total>o.duration&&(o.duration=d._total),d.tick(e),c=!0):(i[s]=i[i.length-1],i.pop());c&&(r.draw(),this._notify(r,o,e,"progress")),i.length||(o.running=!1,this._notify(r,o,e,"complete"),o.initial=!1),n+=i.length}),this._lastDate=e,n===0&&(this._running=!1)}_getAnims(e){const n=this._charts;let o=n.get(e);return o||(o={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(e,o)),o}listen(e,n,o){this._getAnims(e).listeners[n].push(o)}add(e,n){!n||!n.length||this._getAnims(e).items.push(...n)}has(e){return this._getAnims(e).items.length>0}start(e){const n=this._charts.get(e);n&&(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((o,r)=>Math.max(o,r._duration),0),this._refresh())}running(e){if(!this._running)return!1;const n=this._charts.get(e);return!(!n||!n.running||!n.items.length)}stop(e){const n=this._charts.get(e);if(!n||!n.items.length)return;const o=n.items;let r=o.length-1;for(;r>=0;--r)o[r].cancel();n.items=[],this._notify(e,n,Date.now(),"complete")}remove(e){return this._charts.delete(e)}}var Qt=new qF;const nz="transparent",PF={boolean(a,e,n){return n>.5?e:a},color(a,e,n){const o=VB(a||nz),r=o.valid&&VB(e||nz);return r&&r.valid?r.mix(o,n).hexString():e},number(a,e,n){return a+(e-a)*n}};class DF{constructor(e,n,o,r){const i=n[o];r=TL([e.to,r,i,e.from]);const s=TL([e.from,i,r]);this._active=!0,this._fn=e.fn||PF[e.type||typeof s],this._easing=b1[e.easing]||b1.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=n,this._prop=o,this._from=s,this._to=r,this._promises=void 0}active(){return this._active}update(e,n,o){if(this._active){this._notify(!1);const r=this._target[this._prop],i=o-this._start,s=this._duration-i;this._start=o,this._duration=Math.floor(Math.max(s,e.duration)),this._total+=i,this._loop=!!e.loop,this._to=TL([e.to,n,r,e.from]),this._from=TL([e.from,r,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const n=e-this._start,o=this._duration,r=this._prop,i=this._from,s=this._loop,c=this._to;let d;if(this._active=i!==c&&(s||n<o),!this._active){this._target[r]=c,this._notify(!0);return}if(n<0){this._target[r]=i;return}d=n/o%2,d=s&&d>1?2-d:d,d=this._easing(Math.min(1,Math.max(0,d))),this._target[r]=this._fn(i,c,d)}wait(){const e=this._promises||(this._promises=[]);return new Promise((n,o)=>{e.push({res:n,rej:o})})}_notify(e){const n=e?"res":"rej",o=this._promises||[];for(let r=0;r<o.length;r++)o[r][n]()}}class oz{constructor(e,n){this._chart=e,this._properties=new Map,this.configure(n)}configure(e){if(!be(e))return;const n=Object.keys(Te.animation),o=this._properties;Object.getOwnPropertyNames(e).forEach(r=>{const i=e[r];if(!be(i))return;const s={};for(const c of n)s[c]=i[c];(He(i.properties)&&i.properties||[r]).forEach(c=>{(c===r||!o.has(c))&&o.set(c,s)})})}_animateOptions(e,n){const o=n.options,r=TF(e,o);if(!r)return[];const i=this._createAnimations(r,o);return o.$shared&&EF(e.options.$animations,o).then(()=>{e.options=o},()=>{}),i}_createAnimations(e,n){const o=this._properties,r=[],i=e.$animations||(e.$animations={}),s=Object.keys(n),c=Date.now();let d;for(d=s.length-1;d>=0;--d){const h=s[d];if(h.charAt(0)==="$")continue;if(h==="options"){r.push(...this._animateOptions(e,n));continue}const u=n[h];let p=i[h];const y=o.get(h);if(p)if(y&&p.active()){p.update(y,u,c);continue}else p.cancel();if(!y||!y.duration){e[h]=u;continue}i[h]=p=new DF(y,e,h,u),r.push(p)}return r}update(e,n){if(this._properties.size===0){Object.assign(e,n);return}const o=this._createAnimations(e,n);if(o.length)return Qt.add(this._chart,o),!0}}function EF(a,e){const n=[],o=Object.keys(e);for(let r=0;r<o.length;r++){const i=a[o[r]];i&&i.active()&&n.push(i.wait())}return Promise.all(n)}function TF(a,e){if(!e)return;let n=a.options;if(!n){a.options=e;return}return n.$shared&&(a.options=n=Object.assign({},n,{$shared:!1,$animations:{}})),n}function rz(a,e){const n=a&&a.options||{},o=n.reverse,r=n.min===void 0?e:0,i=n.max===void 0?e:0;return{start:o?i:r,end:o?r:i}}function HF(a,e,n){if(n===!1)return!1;const o=rz(a,n),r=rz(e,n);return{top:r.end,right:o.end,bottom:r.start,left:o.start}}function jF(a){let e,n,o,r;return be(a)?(e=a.top,n=a.right,o=a.bottom,r=a.left):e=n=o=r=a,{top:e,right:n,bottom:o,left:r,disabled:a===!1}}function iz(a,e){const n=[],o=a._getSortedDatasetMetas(e);let r,i;for(r=0,i=o.length;r<i;++r)n.push(o[r].index);return n}function sz(a,e,n,o={}){const r=a.keys,i=o.mode==="single";let s,c,d,h;if(e===null)return;let u=!1;for(s=0,c=r.length;s<c;++s){if(d=+r[s],d===n){if(u=!0,o.all)continue;break}h=a.values[d],Re(h)&&(i||e===0||jt(e)===jt(h))&&(e+=h)}return!u&&!o.all?0:e}function OF(a,e){const{iScale:n,vScale:o}=e,r=n.axis==="x"?"x":"y",i=o.axis==="x"?"x":"y",s=Object.keys(a),c=new Array(s.length);let d,h,u;for(d=0,h=s.length;d<h;++d)u=s[d],c[d]={[r]:u,[i]:a[u]};return c}function BI(a,e){const n=a&&a.options.stacked;return n||n===void 0&&e.stack!==void 0}function FF(a,e,n){return`${a.id}.${e.id}.${n.stack||n.type}`}function RF(a){const{min:e,max:n,minDefined:o,maxDefined:r}=a.getUserBounds();return{min:o?e:Number.NEGATIVE_INFINITY,max:r?n:Number.POSITIVE_INFINITY}}function NF(a,e,n){const o=a[e]||(a[e]={});return o[n]||(o[n]={})}function lz(a,e,n,o){for(const r of e.getMatchingVisibleMetas(o).reverse()){const i=a[r.index];if(n&&i>0||!n&&i<0)return r.index}return null}function cz(a,e){const{chart:n,_cachedMeta:o}=a,r=n._stacks||(n._stacks={}),{iScale:i,vScale:s,index:c}=o,d=i.axis,h=s.axis,u=FF(i,s,o),p=e.length;let y;for(let f=0;f<p;++f){const k=e[f],{[d]:m,[h]:g}=k,w=k._stacks||(k._stacks={});y=w[h]=NF(r,u,m),y[c]=g,y._top=lz(y,s,!0,o.type),y._bottom=lz(y,s,!1,o.type);const S=y._visualValues||(y._visualValues={});S[c]=g}}function zI(a,e){const n=a.scales;return Object.keys(n).filter(o=>n[o].axis===e).shift()}function $F(a,e){return Yi(a,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}function UF(a,e,n){return Yi(a,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:n,index:e,mode:"default",type:"data"})}function C1(a,e){const n=a.controller.index,o=a.vScale&&a.vScale.axis;if(o){e=e||a._parsed;for(const r of e){const i=r._stacks;if(!i||i[o]===void 0||i[o][n]===void 0)return;delete i[o][n],i[o]._visualValues!==void 0&&i[o]._visualValues[n]!==void 0&&delete i[o]._visualValues[n]}}}const VI=a=>a==="reset"||a==="none",dz=(a,e)=>e?a:Object.assign({},a),WF=(a,e,n)=>a&&!e.hidden&&e._stacked&&{keys:iz(n,!0),values:null};class ts{constructor(e,n){this.chart=e,this._ctx=e.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=BI(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(e){this.index!==e&&C1(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,n=this._cachedMeta,o=this.getDataset(),r=(p,y,f,k)=>p==="x"?y:p==="r"?k:f,i=n.xAxisID=ge(o.xAxisID,zI(e,"x")),s=n.yAxisID=ge(o.yAxisID,zI(e,"y")),c=n.rAxisID=ge(o.rAxisID,zI(e,"r")),d=n.indexAxis,h=n.iAxisID=r(d,i,s,c),u=n.vAxisID=r(d,s,i,c);n.xScale=this.getScaleForId(i),n.yScale=this.getScaleForId(s),n.rScale=this.getScaleForId(c),n.iScale=this.getScaleForId(h),n.vScale=this.getScaleForId(u)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const n=this._cachedMeta;return e===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&SB(this._data,this),e._stacked&&C1(e)}_dataCheck(){const e=this.getDataset(),n=e.data||(e.data=[]),o=this._data;if(be(n)){const r=this._cachedMeta;this._data=OF(n,r)}else if(o!==n){if(o){SB(o,this);const r=this._cachedMeta;C1(r),r._parsed=[]}n&&Object.isExtensible(n)&&_O(n,this),this._syncList=[],this._data=n}}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const n=this._cachedMeta,o=this.getDataset();let r=!1;this._dataCheck();const i=n._stacked;n._stacked=BI(n.vScale,n),n.stack!==o.stack&&(r=!0,C1(n),n.stack=o.stack),this._resyncElements(e),(r||i!==n._stacked)&&(cz(this,n._parsed),n._stacked=BI(n.vScale,n))}configure(){const e=this.chart.config,n=e.datasetScopeKeys(this._type),o=e.getOptionScopes(this.getDataset(),n,!0);this.options=e.createResolver(o,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,n){const{_cachedMeta:o,_data:r}=this,{iScale:i,_stacked:s}=o,c=i.axis;let d=e===0&&n===r.length?!0:o._sorted,h=e>0&&o._parsed[e-1],u,p,y;if(this._parsing===!1)o._parsed=r,o._sorted=!0,y=r;else{He(r[e])?y=this.parseArrayData(o,r,e,n):be(r[e])?y=this.parseObjectData(o,r,e,n):y=this.parsePrimitiveData(o,r,e,n);const f=()=>p[c]===null||h&&p[c]<h[c];for(u=0;u<n;++u)o._parsed[u+e]=p=y[u],d&&(f()&&(d=!1),h=p);o._sorted=d}s&&cz(this,y)}parsePrimitiveData(e,n,o,r){const{iScale:i,vScale:s}=e,c=i.axis,d=s.axis,h=i.getLabels(),u=i===s,p=new Array(r);let y,f,k;for(y=0,f=r;y<f;++y)k=y+o,p[y]={[c]:u||i.parse(h[k],k),[d]:s.parse(n[k],k)};return p}parseArrayData(e,n,o,r){const{xScale:i,yScale:s}=e,c=new Array(r);let d,h,u,p;for(d=0,h=r;d<h;++d)u=d+o,p=n[u],c[d]={x:i.parse(p[0],u),y:s.parse(p[1],u)};return c}parseObjectData(e,n,o,r){const{xScale:i,yScale:s}=e,{xAxisKey:c="x",yAxisKey:d="y"}=this._parsing,h=new Array(r);let u,p,y,f;for(u=0,p=r;u<p;++u)y=u+o,f=n[y],h[u]={x:i.parse(Wi(f,c),y),y:s.parse(Wi(f,d),y)};return h}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,n,o){const r=this.chart,i=this._cachedMeta,s=n[e.axis],c={keys:iz(r,!0),values:n._stacks[e.axis]._visualValues};return sz(c,s,i.index,{mode:o})}updateRangeFromParsed(e,n,o,r){const i=o[n.axis];let s=i===null?NaN:i;const c=r&&o._stacks[n.axis];r&&c&&(r.values=c,s=sz(r,i,this._cachedMeta.index)),e.min=Math.min(e.min,s),e.max=Math.max(e.max,s)}getMinMax(e,n){const o=this._cachedMeta,r=o._parsed,i=o._sorted&&e===o.iScale,s=r.length,c=this._getOtherScale(e),d=WF(n,o,this.chart),h={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:u,max:p}=RF(c);let y,f;function k(){f=r[y];const m=f[c.axis];return!Re(f[e.axis])||u>m||p<m}for(y=0;y<s&&!(!k()&&(this.updateRangeFromParsed(h,e,f,d),i));++y);if(i){for(y=s-1;y>=0;--y)if(!k()){this.updateRangeFromParsed(h,e,f,d);break}}return h}getAllParsedValues(e){const n=this._cachedMeta._parsed,o=[];let r,i,s;for(r=0,i=n.length;r<i;++r)s=n[r][e.axis],Re(s)&&o.push(s);return o}getMaxOverflow(){return!1}getLabelAndValue(e){const n=this._cachedMeta,o=n.iScale,r=n.vScale,i=this.getParsed(e);return{label:o?""+o.getLabelForValue(i[o.axis]):"",value:r?""+r.getLabelForValue(i[r.axis]):""}}_update(e){const n=this._cachedMeta;this.update(e||"default"),n._clip=jF(ge(this.options.clip,HF(n.xScale,n.yScale,this.getMaxOverflow())))}update(e){}draw(){const e=this._ctx,n=this.chart,o=this._cachedMeta,r=o.data||[],i=n.chartArea,s=[],c=this._drawStart||0,d=this._drawCount||r.length-c,h=this.options.drawActiveElementsOnTop;let u;for(o.dataset&&o.dataset.draw(e,i,c,d),u=c;u<c+d;++u){const p=r[u];p.hidden||(p.active&&h?s.push(p):p.draw(e,i))}for(u=0;u<s.length;++u)s[u].draw(e,i)}getStyle(e,n){const o=n?"active":"default";return e===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(o):this.resolveDataElementOptions(e||0,o)}getContext(e,n,o){const r=this.getDataset();let i;if(e>=0&&e<this._cachedMeta.data.length){const s=this._cachedMeta.data[e];i=s.$context||(s.$context=UF(this.getContext(),e,s)),i.parsed=this.getParsed(e),i.raw=r.data[e],i.index=i.dataIndex=e}else i=this.$context||(this.$context=$F(this.chart.getContext(),this.index)),i.dataset=r,i.index=i.datasetIndex=this.index;return i.active=!!n,i.mode=o,i}resolveDatasetElementOptions(e){return this._resolveElementOptions(this.datasetElementType.id,e)}resolveDataElementOptions(e,n){return this._resolveElementOptions(this.dataElementType.id,n,e)}_resolveElementOptions(e,n="default",o){const r=n==="active",i=this._cachedDataOpts,s=e+"-"+n,c=i[s],d=this.enableOptionSharing&&k1(o);if(c)return dz(c,d);const h=this.chart.config,u=h.datasetElementScopeKeys(this._type,e),p=r?[`${e}Hover`,"hover",e,""]:[e,""],y=h.getOptionScopes(this.getDataset(),u),f=Object.keys(Te.elements[e]),k=()=>this.getContext(o,r,n),m=h.resolveNamedOptions(y,f,k,p);return m.$shared&&(m.$shared=d,i[s]=Object.freeze(dz(m,d))),m}_resolveAnimations(e,n,o){const r=this.chart,i=this._cachedDataOpts,s=`animation-${n}`,c=i[s];if(c)return c;let d;if(r.options.animation!==!1){const u=this.chart.config,p=u.datasetAnimationScopeKeys(this._type,n),y=u.getOptionScopes(this.getDataset(),p);d=u.createResolver(y,this.getContext(e,o,n))}const h=new oz(r,d&&d.animations);return d&&d._cacheable&&(i[s]=Object.freeze(h)),h}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,n){return!n||VI(e)||this.chart._animationsDisabled}_getSharedOptions(e,n){const o=this.resolveDataElementOptions(e,n),r=this._sharedOptions,i=this.getSharedOptions(o),s=this.includeOptions(n,i)||i!==r;return this.updateSharedOptions(i,n,o),{sharedOptions:i,includeOptions:s}}updateElement(e,n,o,r){VI(r)?Object.assign(e,o):this._resolveAnimations(n,r).update(e,o)}updateSharedOptions(e,n,o){e&&!VI(n)&&this._resolveAnimations(void 0,n).update(e,o)}_setStyle(e,n,o,r){e.active=r;const i=this.getStyle(n,r);this._resolveAnimations(n,o,r).update(e,{options:!r&&this.getSharedOptions(i)||i})}removeHoverStyle(e,n,o){this._setStyle(e,o,"active",!1)}setHoverStyle(e,n,o){this._setStyle(e,o,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const n=this._data,o=this._cachedMeta.data;for(const[c,d,h]of this._syncList)this[c](d,h);this._syncList=[];const r=o.length,i=n.length,s=Math.min(i,r);s&&this.parse(0,s),i>r?this._insertElements(r,i-r,e):i<r&&this._removeElements(i,r-i)}_insertElements(e,n,o=!0){const r=this._cachedMeta,i=r.data,s=e+n;let c;const d=h=>{for(h.length+=n,c=h.length-1;c>=s;c--)h[c]=h[c-n]};for(d(i),c=e;c<s;++c)i[c]=new this.dataElementType;this._parsing&&d(r._parsed),this.parse(e,n),o&&this.updateElements(i,e,n,"reset")}updateElements(e,n,o,r){}_removeElements(e,n){const o=this._cachedMeta;if(this._parsing){const r=o._parsed.splice(e,n);o._stacked&&C1(o,r)}o.data.splice(e,n)}_sync(e){if(this._parsing)this._syncList.push(e);else{const[n,o,r]=e;this[n](o,r)}this.chart._dataChanges.push([this.index,...e])}_onDataPush(){const e=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-e,e])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(e,n){n&&this._sync(["_removeElements",e,n]);const o=arguments.length-2;o&&this._sync(["_insertElements",e,o])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}se(ts,"defaults",{}),se(ts,"datasetElementType",null),se(ts,"dataElementType",null);function GF(a,e){if(!a._cache.$bar){const n=a.getMatchingVisibleMetas(e);let o=[];for(let r=0,i=n.length;r<i;r++)o=o.concat(n[r].controller.getAllParsedValues(a));a._cache.$bar=IB(o.sort((r,i)=>r-i))}return a._cache.$bar}function KF(a){const e=a.iScale,n=GF(e,a.type);let o=e._length,r,i,s,c;const d=()=>{s===32767||s===-32768||(k1(c)&&(o=Math.min(o,Math.abs(s-c)||o)),c=s)};for(r=0,i=n.length;r<i;++r)s=e.getPixelForValue(n[r]),d();for(c=void 0,r=0,i=e.ticks.length;r<i;++r)s=e.getPixelForTick(r),d();return o}function XF(a,e,n,o){const r=n.barThickness;let i,s;return Ce(r)?(i=e.min*n.categoryPercentage,s=n.barPercentage):(i=r*o,s=1),{chunk:i/o,ratio:s,start:e.pixels[a]-i/2}}function ZF(a,e,n,o){const r=e.pixels,i=r[a];let s=a>0?r[a-1]:null,c=a<r.length-1?r[a+1]:null;const d=n.categoryPercentage;s===null&&(s=i-(c===null?e.end-e.start:c-i)),c===null&&(c=i+i-s);const h=i-(i-Math.min(s,c))/2*d;return{chunk:Math.abs(c-s)/2*d/o,ratio:n.barPercentage,start:h}}function YF(a,e,n,o){const r=n.parse(a[0],o),i=n.parse(a[1],o),s=Math.min(r,i),c=Math.max(r,i);let d=s,h=c;Math.abs(s)>Math.abs(c)&&(d=c,h=s),e[n.axis]=h,e._custom={barStart:d,barEnd:h,start:r,end:i,min:s,max:c}}function hz(a,e,n,o){return He(a)?YF(a,e,n,o):e[n.axis]=n.parse(a,o),e}function uz(a,e,n,o){const r=a.iScale,i=a.vScale,s=r.getLabels(),c=r===i,d=[];let h,u,p,y;for(h=n,u=n+o;h<u;++h)y=e[h],p={},p[r.axis]=c||r.parse(s[h],h),d.push(hz(y,p,i,h));return d}function qI(a){return a&&a.barStart!==void 0&&a.barEnd!==void 0}function QF(a,e,n){return a!==0?jt(a):(e.isHorizontal()?1:-1)*(e.min>=n?1:-1)}function JF(a){let e,n,o,r,i;return a.horizontal?(e=a.base>a.x,n="left",o="right"):(e=a.base<a.y,n="bottom",o="top"),e?(r="end",i="start"):(r="start",i="end"),{start:n,end:o,reverse:e,top:r,bottom:i}}function eR(a,e,n,o){let r=e.borderSkipped;const i={};if(!r){a.borderSkipped=i;return}if(r===!0){a.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};return}const{start:s,end:c,reverse:d,top:h,bottom:u}=JF(a);r==="middle"&&n&&(a.enableBorderRadius=!0,(n._top||0)===o?r=h:(n._bottom||0)===o?r=u:(i[pz(u,s,c,d)]=!0,r=h)),i[pz(r,s,c,d)]=!0,a.borderSkipped=i}function pz(a,e,n,o){return o?(a=tR(a,e,n),a=yz(a,n,e)):a=yz(a,e,n),a}function tR(a,e,n){return a===e?n:a===n?e:a}function yz(a,e,n){return a==="start"?e:a==="end"?n:a}function aR(a,{inflateAmount:e},n){a.inflateAmount=e==="auto"?n===1?.33:0:e}class RL extends ts{parsePrimitiveData(e,n,o,r){return uz(e,n,o,r)}parseArrayData(e,n,o,r){return uz(e,n,o,r)}parseObjectData(e,n,o,r){const{iScale:i,vScale:s}=e,{xAxisKey:c="x",yAxisKey:d="y"}=this._parsing,h=i.axis==="x"?c:d,u=s.axis==="x"?c:d,p=[];let y,f,k,m;for(y=o,f=o+r;y<f;++y)m=n[y],k={},k[i.axis]=i.parse(Wi(m,h),y),p.push(hz(Wi(m,u),k,s,y));return p}updateRangeFromParsed(e,n,o,r){super.updateRangeFromParsed(e,n,o,r);const i=o._custom;i&&n===this._cachedMeta.vScale&&(e.min=Math.min(e.min,i.min),e.max=Math.max(e.max,i.max))}getMaxOverflow(){return 0}getLabelAndValue(e){const n=this._cachedMeta,{iScale:o,vScale:r}=n,i=this.getParsed(e),s=i._custom,c=qI(s)?"["+s.start+", "+s.end+"]":""+r.getLabelForValue(i[r.axis]);return{label:""+o.getLabelForValue(i[o.axis]),value:c}}initialize(){this.enableOptionSharing=!0,super.initialize();const e=this._cachedMeta;e.stack=this.getDataset().stack}update(e){const n=this._cachedMeta;this.updateElements(n.data,0,n.data.length,e)}updateElements(e,n,o,r){const i=r==="reset",{index:s,_cachedMeta:{vScale:c}}=this,d=c.getBasePixel(),h=c.isHorizontal(),u=this._getRuler(),{sharedOptions:p,includeOptions:y}=this._getSharedOptions(n,r);for(let f=n;f<n+o;f++){const k=this.getParsed(f),m=i||Ce(k[c.axis])?{base:d,head:d}:this._calculateBarValuePixels(f),g=this._calculateBarIndexPixels(f,u),w=(k._stacks||{})[c.axis],S={horizontal:h,base:m.base,enableBorderRadius:!w||qI(k._custom)||s===w._top||s===w._bottom,x:h?m.head:g.center,y:h?g.center:m.head,height:h?g.size:Math.abs(m.size),width:h?Math.abs(m.size):g.size};y&&(S.options=p||this.resolveDataElementOptions(f,e[f].active?"active":r));const v=S.options||e[f].options;eR(S,v,w,s),aR(S,v,u.ratio),this.updateElement(e[f],f,S,r)}}_getStacks(e,n){const{iScale:o}=this._cachedMeta,r=o.getMatchingVisibleMetas(this._type).filter(u=>u.controller.options.grouped),i=o.options.stacked,s=[],c=this._cachedMeta.controller.getParsed(n),d=c&&c[o.axis],h=u=>{const p=u._parsed.find(f=>f[o.axis]===d),y=p&&p[u.vScale.axis];if(Ce(y)||isNaN(y))return!0};for(const u of r)if(!(n!==void 0&&h(u))&&((i===!1||s.indexOf(u.stack)===-1||i===void 0&&u.stack===void 0)&&s.push(u.stack),u.index===e))break;return s.length||s.push(void 0),s}_getStackCount(e){return this._getStacks(void 0,e).length}_getAxisCount(){return this._getAxis().length}getFirstScaleIdForIndexAxis(){const e=this.chart.scales,n=this.chart.options.indexAxis;return Object.keys(e).filter(o=>e[o].axis===n).shift()}_getAxis(){const e={},n=this.getFirstScaleIdForIndexAxis();for(const o of this.chart.data.datasets)e[ge(this.chart.options.indexAxis==="x"?o.xAxisID:o.yAxisID,n)]=!0;return Object.keys(e)}_getStackIndex(e,n,o){const r=this._getStacks(e,o),i=n!==void 0?r.indexOf(n):-1;return i===-1?r.length-1:i}_getRuler(){const e=this.options,n=this._cachedMeta,o=n.iScale,r=[];let i,s;for(i=0,s=n.data.length;i<s;++i)r.push(o.getPixelForValue(this.getParsed(i)[o.axis],i));const c=e.barThickness;return{min:c||KF(n),pixels:r,start:o._startPixel,end:o._endPixel,stackCount:this._getStackCount(),scale:o,grouped:e.grouped,ratio:c?1:e.categoryPercentage*e.barPercentage}}_calculateBarValuePixels(e){const{_cachedMeta:{vScale:n,_stacked:o,index:r},options:{base:i,minBarLength:s}}=this,c=i||0,d=this.getParsed(e),h=d._custom,u=qI(h);let p=d[n.axis],y=0,f=o?this.applyStack(n,d,o):p,k,m;f!==p&&(y=f-p,f=p),u&&(p=h.barStart,f=h.barEnd-h.barStart,p!==0&&jt(p)!==jt(h.barEnd)&&(y=0),y+=p);const g=!Ce(i)&&!u?i:y;let w=n.getPixelForValue(g);if(this.chart.getDataVisibility(e)?k=n.getPixelForValue(y+f):k=w,m=k-w,Math.abs(m)<s){m=QF(m,n,c)*s,p===c&&(w-=m/2);const S=n.getPixelForDecimal(0),v=n.getPixelForDecimal(1),M=Math.min(S,v),C=Math.max(S,v);w=Math.max(Math.min(w,C),M),k=w+m,o&&!u&&(d._stacks[n.axis]._visualValues[r]=n.getValueForPixel(k)-n.getValueForPixel(w))}if(w===n.getPixelForValue(c)){const S=jt(m)*n.getLineWidthForValue(c)/2;w+=S,m-=S}return{size:m,base:w,head:k,center:k+m/2}}_calculateBarIndexPixels(e,n){const o=n.scale,r=this.options,i=r.skipNull,s=ge(r.maxBarThickness,1/0);let c,d;const h=this._getAxisCount();if(n.grouped){const u=i?this._getStackCount(e):n.stackCount,p=r.barThickness==="flex"?ZF(e,n,r,u*h):XF(e,n,r,u*h),y=this.chart.options.indexAxis==="x"?this.getDataset().xAxisID:this.getDataset().yAxisID,f=this._getAxis().indexOf(ge(y,this.getFirstScaleIdForIndexAxis())),k=this._getStackIndex(this.index,this._cachedMeta.stack,i?e:void 0)+f;c=p.start+p.chunk*k+p.chunk/2,d=Math.min(s,p.chunk*p.ratio)}else c=o.getPixelForValue(this.getParsed(e)[o.axis],e),d=Math.min(s,n.min*n.ratio);return{base:c-d/2,head:c+d/2,center:c,size:d}}draw(){const e=this._cachedMeta,n=e.vScale,o=e.data,r=o.length;let i=0;for(;i<r;++i)this.getParsed(i)[n.axis]!==null&&!o[i].hidden&&o[i].draw(this._ctx)}}se(RL,"id","bar"),se(RL,"defaults",{datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}}),se(RL,"overrides",{scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}});function nR(a,e,n){let o=1,r=1,i=0,s=0;if(e<qe){const c=a,d=c+e,h=Math.cos(c),u=Math.sin(c),p=Math.cos(d),y=Math.sin(d),f=(v,M,C)=>M1(v,c,d,!0)?1:Math.max(M,M*n,C,C*n),k=(v,M,C)=>M1(v,c,d,!0)?-1:Math.min(M,M*n,C,C*n),m=f(0,h,p),g=f(Oe,u,y),w=k(Se,h,p),S=k(Se+Oe,u,y);o=(m-w)/2,r=(g-S)/2,i=-(m+w)/2,s=-(g+S)/2}return{ratioX:o,ratioY:r,offsetX:i,offsetY:s}}class Is extends ts{constructor(e,n){super(e,n),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,n){const o=this.getDataset().data,r=this._cachedMeta;if(this._parsing===!1)r._parsed=o;else{let i=d=>+o[d];if(be(o[e])){const{key:d="value"}=this._parsing;i=h=>+Wi(o[h],d)}let s,c;for(s=e,c=e+n;s<c;++s)r._parsed[s]=i(s)}}_getRotation(){return Zt(this.options.rotation-90)}_getCircumference(){return Zt(this.options.circumference)}_getRotationExtents(){let e=qe,n=-qe;for(let o=0;o<this.chart.data.datasets.length;++o)if(this.chart.isDatasetVisible(o)&&this.chart.getDatasetMeta(o).type===this._type){const r=this.chart.getDatasetMeta(o).controller,i=r._getRotation(),s=r._getCircumference();e=Math.min(e,i),n=Math.max(n,i+s)}return{rotation:e,circumference:n-e}}update(e){const n=this.chart,{chartArea:o}=n,r=this._cachedMeta,i=r.data,s=this.getMaxBorderWidth()+this.getMaxOffset(i)+this.options.spacing,c=Math.max((Math.min(o.width,o.height)-s)/2,0),d=Math.min(hO(this.options.cutout,c),1),h=this._getRingWeight(this.index),{circumference:u,rotation:p}=this._getRotationExtents(),{ratioX:y,ratioY:f,offsetX:k,offsetY:m}=nR(p,u,d),g=(o.width-s)/y,w=(o.height-s)/f,S=Math.max(Math.min(g,w)/2,0),v=kB(this.options.radius,S),M=Math.max(v*d,0),C=(v-M)/this._getVisibleDatasetWeightTotal();this.offsetX=k*v,this.offsetY=m*v,r.total=this.calculateTotal(),this.outerRadius=v-C*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-C*h,0),this.updateElements(i,0,i.length,e)}_circumference(e,n){const o=this.options,r=this._cachedMeta,i=this._getCircumference();return n&&o.animation.animateRotate||!this.chart.getDataVisibility(e)||r._parsed[e]===null||r.data[e].hidden?0:this.calculateCircumference(r._parsed[e]*i/qe)}updateElements(e,n,o,r){const i=r==="reset",s=this.chart,c=s.chartArea,h=s.options.animation,u=(c.left+c.right)/2,p=(c.top+c.bottom)/2,y=i&&h.animateScale,f=y?0:this.innerRadius,k=y?0:this.outerRadius,{sharedOptions:m,includeOptions:g}=this._getSharedOptions(n,r);let w=this._getRotation(),S;for(S=0;S<n;++S)w+=this._circumference(S,i);for(S=n;S<n+o;++S){const v=this._circumference(S,i),M=e[S],C={x:u+this.offsetX,y:p+this.offsetY,startAngle:w,endAngle:w+v,circumference:v,outerRadius:k,innerRadius:f};g&&(C.options=m||this.resolveDataElementOptions(S,M.active?"active":r)),w+=v,this.updateElement(M,S,C,r)}}calculateTotal(){const e=this._cachedMeta,n=e.data;let o=0,r;for(r=0;r<n.length;r++){const i=e._parsed[r];i!==null&&!isNaN(i)&&this.chart.getDataVisibility(r)&&!n[r].hidden&&(o+=Math.abs(i))}return o}calculateCircumference(e){const n=this._cachedMeta.total;return n>0&&!isNaN(e)?qe*(Math.abs(e)/n):0}getLabelAndValue(e){const n=this._cachedMeta,o=this.chart,r=o.data.labels||[],i=bI(n._parsed[e],o.options.locale);return{label:r[e]||"",value:i}}getMaxBorderWidth(e){let n=0;const o=this.chart;let r,i,s,c,d;if(!e){for(r=0,i=o.data.datasets.length;r<i;++r)if(o.isDatasetVisible(r)){s=o.getDatasetMeta(r),e=s.data,c=s.controller;break}}if(!e)return 0;for(r=0,i=e.length;r<i;++r)d=c.resolveDataElementOptions(r),d.borderAlign!=="inner"&&(n=Math.max(n,d.borderWidth||0,d.hoverBorderWidth||0));return n}getMaxOffset(e){let n=0;for(let o=0,r=e.length;o<r;++o){const i=this.resolveDataElementOptions(o);n=Math.max(n,i.offset||0,i.hoverOffset||0)}return n}_getRingWeightOffset(e){let n=0;for(let o=0;o<e;++o)this.chart.isDatasetVisible(o)&&(n+=this._getRingWeight(o));return n}_getRingWeight(e){return Math.max(ge(this.chart.data.datasets[e].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}se(Is,"id","doughnut"),se(Is,"defaults",{datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"}),se(Is,"descriptors",{_scriptable:e=>e!=="spacing",_indexable:e=>e!=="spacing"&&!e.startsWith("borderDash")&&!e.startsWith("hoverBorderDash")}),se(Is,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const n=e.data,{labels:{pointStyle:o,textAlign:r,color:i,useBorderRadius:s,borderRadius:c}}=e.legend.options;return n.labels.length&&n.datasets.length?n.labels.map((d,h)=>{const p=e.getDatasetMeta(0).controller.getStyle(h);return{text:d,fillStyle:p.backgroundColor,fontColor:i,hidden:!e.getDataVisibility(h),lineDash:p.borderDash,lineDashOffset:p.borderDashOffset,lineJoin:p.borderJoinStyle,lineWidth:p.borderWidth,strokeStyle:p.borderColor,textAlign:r,pointStyle:o,borderRadius:s&&(c||p.borderRadius),index:h}}):[]}},onClick(e,n,o){o.chart.toggleDataVisibility(n.index),o.chart.update()}}}});class NL extends ts{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(e){const n=this._cachedMeta,{dataset:o,data:r=[],_dataset:i}=n,s=this.chart._animationsDisabled;let{start:c,count:d}=zO(n,r,s);this._drawStart=c,this._drawCount=d,VO(n)&&(c=0,d=r.length),o._chart=this.chart,o._datasetIndex=this.index,o._decimated=!!i._decimated,o.points=r;const h=this.resolveDatasetElementOptions(e);this.options.showLine||(h.borderWidth=0),h.segment=this.options.segment,this.updateElement(o,void 0,{animated:!s,options:h},e),this.updateElements(r,c,d,e)}updateElements(e,n,o,r){const i=r==="reset",{iScale:s,vScale:c,_stacked:d,_dataset:h}=this._cachedMeta,{sharedOptions:u,includeOptions:p}=this._getSharedOptions(n,r),y=s.axis,f=c.axis,{spanGaps:k,segment:m}=this.options,g=g1(k)?k:Number.POSITIVE_INFINITY,w=this.chart._animationsDisabled||i||r==="none",S=n+o,v=e.length;let M=n>0&&this.getParsed(n-1);for(let C=0;C<v;++C){const x=e[C],b=w?x:{};if(C<n||C>=S){b.skip=!0;continue}const L=this.getParsed(C),I=Ce(L[f]),V=b[y]=s.getPixelForValue(L[y],C),A=b[f]=i||I?c.getBasePixel():c.getPixelForValue(d?this.applyStack(c,L,d):L[f],C);b.skip=isNaN(V)||isNaN(A)||I,b.stop=C>0&&Math.abs(L[y]-M[y])>g,m&&(b.parsed=L,b.raw=h.data[C]),p&&(b.options=u||this.resolveDataElementOptions(C,x.active?"active":r)),w||this.updateElement(x,C,b,r),M=L}}getMaxOverflow(){const e=this._cachedMeta,n=e.dataset,o=n.options&&n.options.borderWidth||0,r=e.data||[];if(!r.length)return o;const i=r[0].size(this.resolveDataElementOptions(0)),s=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(o,i,s)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}}se(NL,"id","line"),se(NL,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),se(NL,"overrides",{scales:{_index_:{type:"category"},_value_:{type:"linear"}}});class PI extends Is{}se(PI,"id","pie"),se(PI,"defaults",{cutout:0,rotation:0,circumference:360,radius:"100%"});function as(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class DI{constructor(e){se(this,"options");this.options=e||{}}static override(e){Object.assign(DI.prototype,e)}init(){}formats(){return as()}parse(){return as()}format(){return as()}add(){return as()}diff(){return as()}startOf(){return as()}endOf(){return as()}}var oR={_date:DI};function rR(a,e,n,o){const{controller:r,data:i,_sorted:s}=a,c=r._cachedMeta.iScale,d=a.dataset&&a.dataset.options?a.dataset.options.spanGaps:null;if(c&&e===c.axis&&e!=="r"&&s&&i.length){const h=c._reversePixels?SO:Ki;if(o){if(r._sharedOptions){const u=i[0],p=typeof u.getRange=="function"&&u.getRange(e);if(p){const y=h(i,e,n-p),f=h(i,e,n+p);return{lo:y.lo,hi:f.hi}}}}else{const u=h(i,e,n);if(d){const{vScale:p}=r._cachedMeta,{_parsed:y}=a,f=y.slice(0,u.lo+1).reverse().findIndex(m=>!Ce(m[p.axis]));u.lo-=Math.max(0,f);const k=y.slice(u.hi).findIndex(m=>!Ce(m[p.axis]));u.hi+=Math.max(0,k)}return u}}return{lo:0,hi:i.length-1}}function $L(a,e,n,o,r){const i=a.getSortedVisibleDatasetMetas(),s=n[e];for(let c=0,d=i.length;c<d;++c){const{index:h,data:u}=i[c],{lo:p,hi:y}=rR(i[c],e,s,r);for(let f=p;f<=y;++f){const k=u[f];k.skip||o(k,h,f)}}}function iR(a){const e=a.indexOf("x")!==-1,n=a.indexOf("y")!==-1;return function(o,r){const i=e?Math.abs(o.x-r.x):0,s=n?Math.abs(o.y-r.y):0;return Math.sqrt(Math.pow(i,2)+Math.pow(s,2))}}function EI(a,e,n,o,r){const i=[];return!r&&!a.isPointInArea(e)||$L(a,n,e,function(c,d,h){!r&&!w1(c,a.chartArea,0)||c.inRange(e.x,e.y,o)&&i.push({element:c,datasetIndex:d,index:h})},!0),i}function sR(a,e,n,o){let r=[];function i(s,c,d){const{startAngle:h,endAngle:u}=s.getProps(["startAngle","endAngle"],o),{angle:p}=CB(s,{x:e.x,y:e.y});M1(p,h,u)&&r.push({element:s,datasetIndex:c,index:d})}return $L(a,n,e,i),r}function lR(a,e,n,o,r,i){let s=[];const c=iR(n);let d=Number.POSITIVE_INFINITY;function h(u,p,y){const f=u.inRange(e.x,e.y,r);if(o&&!f)return;const k=u.getCenterPoint(r);if(!(!!i||a.isPointInArea(k))&&!f)return;const g=c(e,k);g<d?(s=[{element:u,datasetIndex:p,index:y}],d=g):g===d&&s.push({element:u,datasetIndex:p,index:y})}return $L(a,n,e,h),s}function TI(a,e,n,o,r,i){return!i&&!a.isPointInArea(e)?[]:n==="r"&&!o?sR(a,e,n,r):lR(a,e,n,o,r,i)}function fz(a,e,n,o,r){const i=[],s=n==="x"?"inXRange":"inYRange";let c=!1;return $L(a,n,e,(d,h,u)=>{d[s]&&d[s](e[n],r)&&(i.push({element:d,datasetIndex:h,index:u}),c=c||d.inRange(e.x,e.y,r))}),o&&!c?[]:i}var cR={modes:{index(a,e,n,o){const r=Ji(e,a),i=n.axis||"x",s=n.includeInvisible||!1,c=n.intersect?EI(a,r,i,o,s):TI(a,r,i,!1,o,s),d=[];return c.length?(a.getSortedVisibleDatasetMetas().forEach(h=>{const u=c[0].index,p=h.data[u];p&&!p.skip&&d.push({element:p,datasetIndex:h.index,index:u})}),d):[]},dataset(a,e,n,o){const r=Ji(e,a),i=n.axis||"xy",s=n.includeInvisible||!1;let c=n.intersect?EI(a,r,i,o,s):TI(a,r,i,!1,o,s);if(c.length>0){const d=c[0].datasetIndex,h=a.getDatasetMeta(d).data;c=[];for(let u=0;u<h.length;++u)c.push({element:h[u],datasetIndex:d,index:u})}return c},point(a,e,n,o){const r=Ji(e,a),i=n.axis||"xy",s=n.includeInvisible||!1;return EI(a,r,i,o,s)},nearest(a,e,n,o){const r=Ji(e,a),i=n.axis||"xy",s=n.includeInvisible||!1;return TI(a,r,i,n.intersect,o,s)},x(a,e,n,o){const r=Ji(e,a);return fz(a,r,"x",n.intersect,o)},y(a,e,n,o){const r=Ji(e,a);return fz(a,r,"y",n.intersect,o)}}};const kz=["left","top","right","bottom"];function L1(a,e){return a.filter(n=>n.pos===e)}function mz(a,e){return a.filter(n=>kz.indexOf(n.pos)===-1&&n.box.axis===e)}function S1(a,e){return a.sort((n,o)=>{const r=e?o:n,i=e?n:o;return r.weight===i.weight?r.index-i.index:r.weight-i.weight})}function dR(a){const e=[];let n,o,r,i,s,c;for(n=0,o=(a||[]).length;n<o;++n)r=a[n],{position:i,options:{stack:s,stackWeight:c=1}}=r,e.push({index:n,box:r,pos:i,horizontal:r.isHorizontal(),weight:r.weight,stack:s&&i+s,stackWeight:c});return e}function hR(a){const e={};for(const n of a){const{stack:o,pos:r,stackWeight:i}=n;if(!o||!kz.includes(r))continue;const s=e[o]||(e[o]={count:0,placed:0,weight:0,size:0});s.count++,s.weight+=i}return e}function uR(a,e){const n=hR(a),{vBoxMaxWidth:o,hBoxMaxHeight:r}=e;let i,s,c;for(i=0,s=a.length;i<s;++i){c=a[i];const{fullSize:d}=c.box,h=n[c.stack],u=h&&c.stackWeight/h.weight;c.horizontal?(c.width=u?u*o:d&&e.availableWidth,c.height=r):(c.width=o,c.height=u?u*r:d&&e.availableHeight)}return n}function pR(a){const e=dR(a),n=S1(e.filter(h=>h.box.fullSize),!0),o=S1(L1(e,"left"),!0),r=S1(L1(e,"right")),i=S1(L1(e,"top"),!0),s=S1(L1(e,"bottom")),c=mz(e,"x"),d=mz(e,"y");return{fullSize:n,leftAndTop:o.concat(i),rightAndBottom:r.concat(d).concat(s).concat(c),chartArea:L1(e,"chartArea"),vertical:o.concat(r).concat(d),horizontal:i.concat(s).concat(c)}}function gz(a,e,n,o){return Math.max(a[n],e[n])+Math.max(a[o],e[o])}function Mz(a,e){a.top=Math.max(a.top,e.top),a.left=Math.max(a.left,e.left),a.bottom=Math.max(a.bottom,e.bottom),a.right=Math.max(a.right,e.right)}function yR(a,e,n,o){const{pos:r,box:i}=n,s=a.maxPadding;if(!be(r)){n.size&&(a[r]-=n.size);const p=o[n.stack]||{size:0,count:1};p.size=Math.max(p.size,n.horizontal?i.height:i.width),n.size=p.size/p.count,a[r]+=n.size}i.getPadding&&Mz(s,i.getPadding());const c=Math.max(0,e.outerWidth-gz(s,a,"left","right")),d=Math.max(0,e.outerHeight-gz(s,a,"top","bottom")),h=c!==a.w,u=d!==a.h;return a.w=c,a.h=d,n.horizontal?{same:h,other:u}:{same:u,other:h}}function fR(a){const e=a.maxPadding;function n(o){const r=Math.max(e[o]-a[o],0);return a[o]+=r,r}a.y+=n("top"),a.x+=n("left"),n("right"),n("bottom")}function kR(a,e){const n=e.maxPadding;function o(r){const i={left:0,top:0,right:0,bottom:0};return r.forEach(s=>{i[s]=Math.max(e[s],n[s])}),i}return o(a?["left","right"]:["top","bottom"])}function I1(a,e,n,o){const r=[];let i,s,c,d,h,u;for(i=0,s=a.length,h=0;i<s;++i){c=a[i],d=c.box,d.update(c.width||e.w,c.height||e.h,kR(c.horizontal,e));const{same:p,other:y}=yR(e,n,c,o);h|=p&&r.length,u=u||y,d.fullSize||r.push(c)}return h&&I1(r,e,n,o)||u}function UL(a,e,n,o,r){a.top=n,a.left=e,a.right=e+o,a.bottom=n+r,a.width=o,a.height=r}function bz(a,e,n,o){const r=n.padding;let{x:i,y:s}=e;for(const c of a){const d=c.box,h=o[c.stack]||{placed:0,weight:1},u=c.stackWeight/h.weight||1;if(c.horizontal){const p=e.w*u,y=h.size||d.height;k1(h.start)&&(s=h.start),d.fullSize?UL(d,r.left,s,n.outerWidth-r.right-r.left,y):UL(d,e.left+h.placed,s,p,y),h.start=s,h.placed+=p,s=d.bottom}else{const p=e.h*u,y=h.size||d.width;k1(h.start)&&(i=h.start),d.fullSize?UL(d,i,r.top,y,n.outerHeight-r.bottom-r.top):UL(d,i,e.top+h.placed,y,p),h.start=i,h.placed+=p,i=d.right}}e.x=i,e.y=s}var ut={addBox(a,e){a.boxes||(a.boxes=[]),e.fullSize=e.fullSize||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw(n){e.draw(n)}}]},a.boxes.push(e)},removeBox(a,e){const n=a.boxes?a.boxes.indexOf(e):-1;n!==-1&&a.boxes.splice(n,1)},configure(a,e,n){e.fullSize=n.fullSize,e.position=n.position,e.weight=n.weight},update(a,e,n,o){if(!a)return;const r=ht(a.options.layout.padding),i=Math.max(e-r.width,0),s=Math.max(n-r.height,0),c=pR(a.boxes),d=c.vertical,h=c.horizontal;Le(a.boxes,m=>{typeof m.beforeLayout=="function"&&m.beforeLayout()});const u=d.reduce((m,g)=>g.box.options&&g.box.options.display===!1?m:m+1,0)||1,p=Object.freeze({outerWidth:e,outerHeight:n,padding:r,availableWidth:i,availableHeight:s,vBoxMaxWidth:i/2/u,hBoxMaxHeight:s/2}),y=Object.assign({},r);Mz(y,ht(o));const f=Object.assign({maxPadding:y,w:i,h:s,x:r.left,y:r.top},r),k=uR(d.concat(h),p);I1(c.fullSize,f,p,k),I1(d,f,p,k),I1(h,f,p,k)&&I1(d,f,p,k),fR(f),bz(c.leftAndTop,f,p,k),f.x+=f.w,f.y+=f.h,bz(c.rightAndBottom,f,p,k),a.chartArea={left:f.left,top:f.top,right:f.left+f.w,bottom:f.top+f.h,height:f.h,width:f.w},Le(c.chartArea,m=>{const g=m.box;Object.assign(g,a.chartArea),g.update(f.w,f.h,{left:0,top:0,right:0,bottom:0})})}};class xz{acquireContext(e,n){}releaseContext(e){return!1}addEventListener(e,n,o){}removeEventListener(e,n,o){}getDevicePixelRatio(){return 1}getMaximumSize(e,n,o,r){return n=Math.max(0,n||e.width),o=o||e.height,{width:n,height:Math.max(0,r?Math.floor(n/r):o)}}isAttached(e){return!0}updateConfig(e){}}class mR extends xz{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const WL="$chartjs",gR={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},wz=a=>a===null||a==="";function MR(a,e){const n=a.style,o=a.getAttribute("height"),r=a.getAttribute("width");if(a[WL]={initial:{height:o,width:r,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",wz(r)){const i=GB(a,"width");i!==void 0&&(a.width=i)}if(wz(o))if(a.style.height==="")a.height=a.width/(e||2);else{const i=GB(a,"height");i!==void 0&&(a.height=i)}return a}const vz=xF?{passive:!0}:!1;function bR(a,e,n){a&&a.addEventListener(e,n,vz)}function xR(a,e,n){a&&a.canvas&&a.canvas.removeEventListener(e,n,vz)}function wR(a,e){const n=gR[a.type]||a.type,{x:o,y:r}=Ji(a,e);return{type:n,chart:e,native:a,x:o!==void 0?o:null,y:r!==void 0?r:null}}function GL(a,e){for(const n of a)if(n===e||n.contains(e))return!0}function vR(a,e,n){const o=a.canvas,r=new MutationObserver(i=>{let s=!1;for(const c of i)s=s||GL(c.addedNodes,o),s=s&&!GL(c.removedNodes,o);s&&n()});return r.observe(document,{childList:!0,subtree:!0}),r}function CR(a,e,n){const o=a.canvas,r=new MutationObserver(i=>{let s=!1;for(const c of i)s=s||GL(c.removedNodes,o),s=s&&!GL(c.addedNodes,o);s&&n()});return r.observe(document,{childList:!0,subtree:!0}),r}const _1=new Map;let Cz=0;function Lz(){const a=window.devicePixelRatio;a!==Cz&&(Cz=a,_1.forEach((e,n)=>{n.currentDevicePixelRatio!==a&&e()}))}function LR(a,e){_1.size||window.addEventListener("resize",Lz),_1.set(a,e)}function SR(a){_1.delete(a),_1.size||window.removeEventListener("resize",Lz)}function IR(a,e,n){const o=a.canvas,r=o&&AI(o);if(!r)return;const i=AB((c,d)=>{const h=r.clientWidth;n(c,d),h<r.clientWidth&&n()},window),s=new ResizeObserver(c=>{const d=c[0],h=d.contentRect.width,u=d.contentRect.height;h===0&&u===0||i(h,u)});return s.observe(r),LR(a,i),s}function HI(a,e,n){n&&n.disconnect(),e==="resize"&&SR(a)}function _R(a,e,n){const o=a.canvas,r=AB(i=>{a.ctx!==null&&n(wR(i,a))},a);return bR(o,e,r),r}class AR extends xz{acquireContext(e,n){const o=e&&e.getContext&&e.getContext("2d");return o&&o.canvas===e?(MR(e,n),o):null}releaseContext(e){const n=e.canvas;if(!n[WL])return!1;const o=n[WL].initial;["height","width"].forEach(i=>{const s=o[i];Ce(s)?n.removeAttribute(i):n.setAttribute(i,s)});const r=o.style||{};return Object.keys(r).forEach(i=>{n.style[i]=r[i]}),n.width=n.width,delete n[WL],!0}addEventListener(e,n,o){this.removeEventListener(e,n);const r=e.$proxies||(e.$proxies={}),s={attach:vR,detach:CR,resize:IR}[n]||_R;r[n]=s(e,n,o)}removeEventListener(e,n){const o=e.$proxies||(e.$proxies={}),r=o[n];if(!r)return;({attach:HI,detach:HI,resize:HI}[n]||xR)(e,n,r),o[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,n,o,r){return bF(e,n,o,r)}isAttached(e){const n=e&&AI(e);return!!(n&&n.isConnected)}}function BR(a){return!_I()||typeof OffscreenCanvas<"u"&&a instanceof OffscreenCanvas?mR:AR}let Jt=(kS=class{constructor(){se(this,"x");se(this,"y");se(this,"active",!1);se(this,"options");se(this,"$animations")}tooltipPosition(e){const{x:n,y:o}=this.getProps(["x","y"],e);return{x:n,y:o}}hasValue(){return g1(this.x)&&g1(this.y)}getProps(e,n){const o=this.$animations;if(!n||!o)return this;const r={};return e.forEach(i=>{r[i]=o[i]&&o[i].active()?o[i]._to:this[i]}),r}},se(kS,"defaults",{}),se(kS,"defaultRoutes"),kS);function zR(a,e){const n=a.options.ticks,o=VR(a),r=Math.min(n.maxTicksLimit||o,o),i=n.major.enabled?PR(e):[],s=i.length,c=i[0],d=i[s-1],h=[];if(s>r)return DR(e,h,i,s/r),h;const u=qR(i,e,r);if(s>0){let p,y;const f=s>1?Math.round((d-c)/(s-1)):null;for(KL(e,h,u,Ce(f)?0:c-f,c),p=0,y=s-1;p<y;p++)KL(e,h,u,i[p],i[p+1]);return KL(e,h,u,d,Ce(f)?e.length:d+f),h}return KL(e,h,u),h}function VR(a){const e=a.options.offset,n=a._tickSize(),o=a._length/n+(e?0:1),r=a._maxLength/n;return Math.floor(Math.min(o,r))}function qR(a,e,n){const o=ER(a),r=e.length/n;if(!o)return Math.max(r,1);const i=MO(o);for(let s=0,c=i.length-1;s<c;s++){const d=i[s];if(d>r)return d}return Math.max(r,1)}function PR(a){const e=[];let n,o;for(n=0,o=a.length;n<o;n++)a[n].major&&e.push(n);return e}function DR(a,e,n,o){let r=0,i=n[0],s;for(o=Math.ceil(o),s=0;s<a.length;s++)s===i&&(e.push(a[s]),r++,i=n[r*o])}function KL(a,e,n,o,r){const i=ge(o,0),s=Math.min(ge(r,a.length),a.length);let c=0,d,h,u;for(n=Math.ceil(n),r&&(d=r-o,n=d/Math.floor(d/n)),u=i;u<0;)c++,u=Math.round(i+c*n);for(h=Math.max(i,0);h<s;h++)h===u&&(e.push(a[h]),c++,u=Math.round(i+c*n))}function ER(a){const e=a.length;let n,o;if(e<2)return!1;for(o=a[0],n=1;n<e;++n)if(a[n]-a[n-1]!==o)return!1;return o}const TR=a=>a==="left"?"right":a==="right"?"left":a,Sz=(a,e,n)=>e==="top"||e==="left"?a[e]+n:a[e]-n,Iz=(a,e)=>Math.min(e||a,a);function _z(a,e){const n=[],o=a.length/e,r=a.length;let i=0;for(;i<r;i+=o)n.push(a[Math.floor(i)]);return n}function HR(a,e,n){const o=a.ticks.length,r=Math.min(e,o-1),i=a._startPixel,s=a._endPixel,c=1e-6;let d=a.getPixelForTick(r),h;if(!(n&&(o===1?h=Math.max(d-i,s-d):e===0?h=(a.getPixelForTick(1)-d)/2:h=(d-a.getPixelForTick(r-1))/2,d+=r<e?h:-h,d<i-c||d>s+c)))return d}function jR(a,e){Le(a,n=>{const o=n.gc,r=o.length/2;let i;if(r>e){for(i=0;i<r;++i)delete n.data[o[i]];o.splice(0,r)}})}function A1(a){return a.drawTicks?a.tickLength:0}function Az(a,e){if(!a.display)return 0;const n=Ue(a.font,e),o=ht(a.padding);return(He(a.text)?a.text.length:1)*n.lineHeight+o.height}function OR(a,e){return Yi(a,{scale:e,type:"scale"})}function FR(a,e,n){return Yi(a,{tick:n,index:e,type:"tick"})}function RR(a,e,n){let o=mI(a);return(n&&e!=="right"||!n&&e==="right")&&(o=TR(o)),o}function NR(a,e,n,o){const{top:r,left:i,bottom:s,right:c,chart:d}=a,{chartArea:h,scales:u}=d;let p=0,y,f,k;const m=s-r,g=c-i;if(a.isHorizontal()){if(f=$e(o,i,c),be(n)){const w=Object.keys(n)[0],S=n[w];k=u[w].getPixelForValue(S)+m-e}else n==="center"?k=(h.bottom+h.top)/2+m-e:k=Sz(a,n,e);y=c-i}else{if(be(n)){const w=Object.keys(n)[0],S=n[w];f=u[w].getPixelForValue(S)-g+e}else n==="center"?f=(h.left+h.right)/2-g+e:f=Sz(a,n,e);k=$e(o,s,r),p=n==="left"?-Oe:Oe}return{titleX:f,titleY:k,maxWidth:y,rotation:p}}class _s extends Jt{constructor(e){super(),this.id=e.id,this.type=e.type,this.options=void 0,this.ctx=e.ctx,this.chart=e.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(e){this.options=e.setContext(this.getContext()),this.axis=e.axis,this._userMin=this.parse(e.min),this._userMax=this.parse(e.max),this._suggestedMin=this.parse(e.suggestedMin),this._suggestedMax=this.parse(e.suggestedMax)}parse(e,n){return e}getUserBounds(){let{_userMin:e,_userMax:n,_suggestedMin:o,_suggestedMax:r}=this;return e=Ht(e,Number.POSITIVE_INFINITY),n=Ht(n,Number.NEGATIVE_INFINITY),o=Ht(o,Number.POSITIVE_INFINITY),r=Ht(r,Number.NEGATIVE_INFINITY),{min:Ht(e,o),max:Ht(n,r),minDefined:Re(e),maxDefined:Re(n)}}getMinMax(e){let{min:n,max:o,minDefined:r,maxDefined:i}=this.getUserBounds(),s;if(r&&i)return{min:n,max:o};const c=this.getMatchingVisibleMetas();for(let d=0,h=c.length;d<h;++d)s=c[d].controller.getMinMax(this,e),r||(n=Math.min(n,s.min)),i||(o=Math.max(o,s.max));return n=i&&n>o?o:n,o=r&&n>o?n:o,{min:Ht(n,Ht(o,n)),max:Ht(o,Ht(n,o))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}getLabelItems(e=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(e))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Be(this.options.beforeUpdate,[this])}update(e,n,o){const{beginAtZero:r,grace:i,ticks:s}=this.options,c=s.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=n,this._margins=o=Object.assign({left:0,right:0,top:0,bottom:0},o),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+o.left+o.right:this.height+o.top+o.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=QO(this,i,r),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const d=c<this.ticks.length;this._convertTicksToLabels(d?_z(this.ticks,c):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),s.display&&(s.autoSkip||s.source==="auto")&&(this.ticks=zR(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),d&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let e=this.options.reverse,n,o;this.isHorizontal()?(n=this.left,o=this.right):(n=this.top,o=this.bottom,e=!e),this._startPixel=n,this._endPixel=o,this._reversePixels=e,this._length=o-n,this._alignToPixels=this.options.alignToPixels}afterUpdate(){Be(this.options.afterUpdate,[this])}beforeSetDimensions(){Be(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){Be(this.options.afterSetDimensions,[this])}_callHooks(e){this.chart.notifyPlugins(e,this.getContext()),Be(this.options[e],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){Be(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(e){const n=this.options.ticks;let o,r,i;for(o=0,r=e.length;o<r;o++)i=e[o],i.label=Be(n.callback,[i.value,o,e],this)}afterTickToLabelConversion(){Be(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){Be(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const e=this.options,n=e.ticks,o=Iz(this.ticks.length,e.ticks.maxTicksLimit),r=n.minRotation||0,i=n.maxRotation;let s=r,c,d,h;if(!this._isVisible()||!n.display||r>=i||o<=1||!this.isHorizontal()){this.labelRotation=r;return}const u=this._getLabelSizes(),p=u.widest.width,y=u.highest.height,f=Ne(this.chart.width-p,0,this.maxWidth);c=e.offset?this.maxWidth/o:f/(o-1),p+6>c&&(c=f/(o-(e.offset?.5:1)),d=this.maxHeight-A1(e.grid)-n.padding-Az(e.title,this.chart.options.font),h=Math.sqrt(p*p+y*y),s=vO(Math.min(Math.asin(Ne((u.highest.height+6)/c,-1,1)),Math.asin(Ne(d/h,-1,1))-Math.asin(Ne(y/h,-1,1)))),s=Math.max(r,Math.min(i,s))),this.labelRotation=s}afterCalculateLabelRotation(){Be(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Be(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:n,options:{ticks:o,title:r,grid:i}}=this,s=this._isVisible(),c=this.isHorizontal();if(s){const d=Az(r,n.options.font);if(c?(e.width=this.maxWidth,e.height=A1(i)+d):(e.height=this.maxHeight,e.width=A1(i)+d),o.display&&this.ticks.length){const{first:h,last:u,widest:p,highest:y}=this._getLabelSizes(),f=o.padding*2,k=Zt(this.labelRotation),m=Math.cos(k),g=Math.sin(k);if(c){const w=o.mirror?0:g*p.width+m*y.height;e.height=Math.min(this.maxHeight,e.height+w+f)}else{const w=o.mirror?0:m*p.width+g*y.height;e.width=Math.min(this.maxWidth,e.width+w+f)}this._calculatePadding(h,u,g,m)}}this._handleMargins(),c?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,n,o,r){const{ticks:{align:i,padding:s},position:c}=this.options,d=this.labelRotation!==0,h=c!=="top"&&this.axis==="x";if(this.isHorizontal()){const u=this.getPixelForTick(0)-this.left,p=this.right-this.getPixelForTick(this.ticks.length-1);let y=0,f=0;d?h?(y=r*e.width,f=o*n.height):(y=o*e.height,f=r*n.width):i==="start"?f=n.width:i==="end"?y=e.width:i!=="inner"&&(y=e.width/2,f=n.width/2),this.paddingLeft=Math.max((y-u+s)*this.width/(this.width-u),0),this.paddingRight=Math.max((f-p+s)*this.width/(this.width-p),0)}else{let u=n.height/2,p=e.height/2;i==="start"?(u=0,p=e.height):i==="end"&&(u=n.height,p=0),this.paddingTop=u+s,this.paddingBottom=p+s}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){Be(this.options.afterFit,[this])}isHorizontal(){const{axis:e,position:n}=this.options;return n==="top"||n==="bottom"||e==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){this.beforeTickToLabelConversion(),this.generateTickLabels(e);let n,o;for(n=0,o=e.length;n<o;n++)Ce(e[n].label)&&(e.splice(n,1),o--,n--);this.afterTickToLabelConversion()}_getLabelSizes(){let e=this._labelSizes;if(!e){const n=this.options.ticks.sampleSize;let o=this.ticks;n<o.length&&(o=_z(o,n)),this._labelSizes=e=this._computeLabelSizes(o,o.length,this.options.ticks.maxTicksLimit)}return e}_computeLabelSizes(e,n,o){const{ctx:r,_longestTextCache:i}=this,s=[],c=[],d=Math.floor(n/Iz(n,o));let h=0,u=0,p,y,f,k,m,g,w,S,v,M,C;for(p=0;p<n;p+=d){if(k=e[p].label,m=this._resolveTickFontOptions(p),r.font=g=m.string,w=i[g]=i[g]||{data:{},gc:[]},S=m.lineHeight,v=M=0,!Ce(k)&&!He(k))v=DB(r,w.data,w.gc,v,k),M=S;else if(He(k))for(y=0,f=k.length;y<f;++y)C=k[y],!Ce(C)&&!He(C)&&(v=DB(r,w.data,w.gc,v,C),M+=S);s.push(v),c.push(M),h=Math.max(v,h),u=Math.max(M,u)}jR(i,n);const x=s.indexOf(h),b=c.indexOf(u),L=I=>({width:s[I]||0,height:c[I]||0});return{first:L(0),last:L(n-1),widest:L(x),highest:L(b),widths:s,heights:c}}getLabelForValue(e){return e}getPixelForValue(e,n){return NaN}getValueForPixel(e){}getPixelForTick(e){const n=this.ticks;return e<0||e>n.length-1?null:this.getPixelForValue(n[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const n=this._startPixel+e*this._length;return LO(this._alignToPixels?Zi(this.chart,n,0):n)}getDecimalForPixel(e){const n=(e-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:n}=this;return e<0&&n<0?n:e>0&&n>0?e:0}getContext(e){const n=this.ticks||[];if(e>=0&&e<n.length){const o=n[e];return o.$context||(o.$context=FR(this.getContext(),e,o))}return this.$context||(this.$context=OR(this.chart.getContext(),this))}_tickSize(){const e=this.options.ticks,n=Zt(this.labelRotation),o=Math.abs(Math.cos(n)),r=Math.abs(Math.sin(n)),i=this._getLabelSizes(),s=e.autoSkipPadding||0,c=i?i.widest.width+s:0,d=i?i.highest.height+s:0;return this.isHorizontal()?d*o>c*r?c/o:d/r:d*r<c*o?d/o:c/r}_isVisible(){const e=this.options.display;return e!=="auto"?!!e:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(e){const n=this.axis,o=this.chart,r=this.options,{grid:i,position:s,border:c}=r,d=i.offset,h=this.isHorizontal(),p=this.ticks.length+(d?1:0),y=A1(i),f=[],k=c.setContext(this.getContext()),m=k.display?k.width:0,g=m/2,w=function(T){return Zi(o,T,m)};let S,v,M,C,x,b,L,I,V,A,q,O;if(s==="top")S=w(this.bottom),b=this.bottom-y,I=S-g,A=w(e.top)+g,O=e.bottom;else if(s==="bottom")S=w(this.top),A=e.top,O=w(e.bottom)-g,b=S+g,I=this.top+y;else if(s==="left")S=w(this.right),x=this.right-y,L=S-g,V=w(e.left)+g,q=e.right;else if(s==="right")S=w(this.left),V=e.left,q=w(e.right)-g,x=S+g,L=this.left+y;else if(n==="x"){if(s==="center")S=w((e.top+e.bottom)/2+.5);else if(be(s)){const T=Object.keys(s)[0],j=s[T];S=w(this.chart.scales[T].getPixelForValue(j))}A=e.top,O=e.bottom,b=S+g,I=b+y}else if(n==="y"){if(s==="center")S=w((e.left+e.right)/2);else if(be(s)){const T=Object.keys(s)[0],j=s[T];S=w(this.chart.scales[T].getPixelForValue(j))}x=S-g,L=x-y,V=e.left,q=e.right}const H=ge(r.ticks.maxTicksLimit,p),W=Math.max(1,Math.ceil(p/H));for(v=0;v<p;v+=W){const T=this.getContext(v),j=i.setContext(T),R=c.setContext(T),Y=j.lineWidth,B=j.color,z=R.dash||[],U=R.dashOffset,oe=j.tickWidth,ee=j.tickColor,de=j.tickBorderDash||[],ce=j.tickBorderDashOffset;M=HR(this,v,d),M!==void 0&&(C=Zi(o,M,Y),h?x=L=V=q=C:b=I=A=O=C,f.push({tx1:x,ty1:b,tx2:L,ty2:I,x1:V,y1:A,x2:q,y2:O,width:Y,color:B,borderDash:z,borderDashOffset:U,tickWidth:oe,tickColor:ee,tickBorderDash:de,tickBorderDashOffset:ce}))}return this._ticksLength=p,this._borderValue=S,f}_computeLabelItems(e){const n=this.axis,o=this.options,{position:r,ticks:i}=o,s=this.isHorizontal(),c=this.ticks,{align:d,crossAlign:h,padding:u,mirror:p}=i,y=A1(o.grid),f=y+u,k=p?-u:f,m=-Zt(this.labelRotation),g=[];let w,S,v,M,C,x,b,L,I,V,A,q,O="middle";if(r==="top")x=this.bottom-k,b=this._getXAxisLabelAlignment();else if(r==="bottom")x=this.top+k,b=this._getXAxisLabelAlignment();else if(r==="left"){const W=this._getYAxisLabelAlignment(y);b=W.textAlign,C=W.x}else if(r==="right"){const W=this._getYAxisLabelAlignment(y);b=W.textAlign,C=W.x}else if(n==="x"){if(r==="center")x=(e.top+e.bottom)/2+f;else if(be(r)){const W=Object.keys(r)[0],T=r[W];x=this.chart.scales[W].getPixelForValue(T)+f}b=this._getXAxisLabelAlignment()}else if(n==="y"){if(r==="center")C=(e.left+e.right)/2-f;else if(be(r)){const W=Object.keys(r)[0],T=r[W];C=this.chart.scales[W].getPixelForValue(T)}b=this._getYAxisLabelAlignment(y).textAlign}n==="y"&&(d==="start"?O="top":d==="end"&&(O="bottom"));const H=this._getLabelSizes();for(w=0,S=c.length;w<S;++w){v=c[w],M=v.label;const W=i.setContext(this.getContext(w));L=this.getPixelForTick(w)+i.labelOffset,I=this._resolveTickFontOptions(w),V=I.lineHeight,A=He(M)?M.length:1;const T=A/2,j=W.color,R=W.textStrokeColor,Y=W.textStrokeWidth;let B=b;s?(C=L,b==="inner"&&(w===S-1?B=this.options.reverse?"left":"right":w===0?B=this.options.reverse?"right":"left":B="center"),r==="top"?h==="near"||m!==0?q=-A*V+V/2:h==="center"?q=-H.highest.height/2-T*V+V:q=-H.highest.height+V/2:h==="near"||m!==0?q=V/2:h==="center"?q=H.highest.height/2-T*V:q=H.highest.height-A*V,p&&(q*=-1),m!==0&&!W.showLabelBackdrop&&(C+=V/2*Math.sin(m))):(x=L,q=(1-A)*V/2);let z;if(W.showLabelBackdrop){const U=ht(W.backdropPadding),oe=H.heights[w],ee=H.widths[w];let de=q-U.top,ce=0-U.left;switch(O){case"middle":de-=oe/2;break;case"bottom":de-=oe;break}switch(b){case"center":ce-=ee/2;break;case"right":ce-=ee;break;case"inner":w===S-1?ce-=ee:w>0&&(ce-=ee/2);break}z={left:ce,top:de,width:ee+U.width,height:oe+U.height,color:W.backdropColor}}g.push({label:M,font:I,textOffset:q,options:{rotation:m,color:j,strokeColor:R,strokeWidth:Y,textAlign:B,textBaseline:O,translation:[C,x],backdrop:z}})}return g}_getXAxisLabelAlignment(){const{position:e,ticks:n}=this.options;if(-Zt(this.labelRotation))return e==="top"?"left":"right";let r="center";return n.align==="start"?r="left":n.align==="end"?r="right":n.align==="inner"&&(r="inner"),r}_getYAxisLabelAlignment(e){const{position:n,ticks:{crossAlign:o,mirror:r,padding:i}}=this.options,s=this._getLabelSizes(),c=e+i,d=s.widest.width;let h,u;return n==="left"?r?(u=this.right+i,o==="near"?h="left":o==="center"?(h="center",u+=d/2):(h="right",u+=d)):(u=this.right-c,o==="near"?h="right":o==="center"?(h="center",u-=d/2):(h="left",u=this.left)):n==="right"?r?(u=this.left+i,o==="near"?h="right":o==="center"?(h="center",u-=d/2):(h="left",u-=d)):(u=this.left+c,o==="near"?h="left":o==="center"?(h="center",u+=d/2):(h="right",u=this.right)):h="right",{textAlign:h,x:u}}_computeLabelArea(){if(this.options.ticks.mirror)return;const e=this.chart,n=this.options.position;if(n==="left"||n==="right")return{top:0,left:this.left,bottom:e.height,right:this.right};if(n==="top"||n==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:e.width}}drawBackground(){const{ctx:e,options:{backgroundColor:n},left:o,top:r,width:i,height:s}=this;n&&(e.save(),e.fillStyle=n,e.fillRect(o,r,i,s),e.restore())}getLineWidthForValue(e){const n=this.options.grid;if(!this._isVisible()||!n.display)return 0;const r=this.ticks.findIndex(i=>i.value===e);return r>=0?n.setContext(this.getContext(r)).lineWidth:0}drawGrid(e){const n=this.options.grid,o=this.ctx,r=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let i,s;const c=(d,h,u)=>{!u.width||!u.color||(o.save(),o.lineWidth=u.width,o.strokeStyle=u.color,o.setLineDash(u.borderDash||[]),o.lineDashOffset=u.borderDashOffset,o.beginPath(),o.moveTo(d.x,d.y),o.lineTo(h.x,h.y),o.stroke(),o.restore())};if(n.display)for(i=0,s=r.length;i<s;++i){const d=r[i];n.drawOnChartArea&&c({x:d.x1,y:d.y1},{x:d.x2,y:d.y2},d),n.drawTicks&&c({x:d.tx1,y:d.ty1},{x:d.tx2,y:d.ty2},{color:d.tickColor,width:d.tickWidth,borderDash:d.tickBorderDash,borderDashOffset:d.tickBorderDashOffset})}}drawBorder(){const{chart:e,ctx:n,options:{border:o,grid:r}}=this,i=o.setContext(this.getContext()),s=o.display?i.width:0;if(!s)return;const c=r.setContext(this.getContext(0)).lineWidth,d=this._borderValue;let h,u,p,y;this.isHorizontal()?(h=Zi(e,this.left,s)-s/2,u=Zi(e,this.right,c)+c/2,p=y=d):(p=Zi(e,this.top,s)-s/2,y=Zi(e,this.bottom,c)+c/2,h=u=d),n.save(),n.lineWidth=i.width,n.strokeStyle=i.color,n.beginPath(),n.moveTo(h,p),n.lineTo(u,y),n.stroke(),n.restore()}drawLabels(e){if(!this.options.ticks.display)return;const o=this.ctx,r=this._computeLabelArea();r&&PL(o,r);const i=this.getLabelItems(e);for(const s of i){const c=s.options,d=s.font,h=s.label,u=s.textOffset;v1(o,h,0,u,d,c)}r&&DL(o)}drawTitle(){const{ctx:e,options:{position:n,title:o,reverse:r}}=this;if(!o.display)return;const i=Ue(o.font),s=ht(o.padding),c=o.align;let d=i.lineHeight/2;n==="bottom"||n==="center"||be(n)?(d+=s.bottom,He(o.text)&&(d+=i.lineHeight*(o.text.length-1))):d+=s.top;const{titleX:h,titleY:u,maxWidth:p,rotation:y}=NR(this,d,n,c);v1(e,o.text,0,0,i,{color:o.color,maxWidth:p,rotation:y,textAlign:RR(c,n,r),textBaseline:"middle",translation:[h,u]})}draw(e){this._isVisible()&&(this.drawBackground(),this.drawGrid(e),this.drawBorder(),this.drawTitle(),this.drawLabels(e))}_layers(){const e=this.options,n=e.ticks&&e.ticks.z||0,o=ge(e.grid&&e.grid.z,-1),r=ge(e.border&&e.border.z,0);return!this._isVisible()||this.draw!==_s.prototype.draw?[{z:n,draw:i=>{this.draw(i)}}]:[{z:o,draw:i=>{this.drawBackground(),this.drawGrid(i),this.drawTitle()}},{z:r,draw:()=>{this.drawBorder()}},{z:n,draw:i=>{this.drawLabels(i)}}]}getMatchingVisibleMetas(e){const n=this.chart.getSortedVisibleDatasetMetas(),o=this.axis+"AxisID",r=[];let i,s;for(i=0,s=n.length;i<s;++i){const c=n[i];c[o]===this.id&&(!e||c.type===e)&&r.push(c)}return r}_resolveTickFontOptions(e){const n=this.options.ticks.setContext(this.getContext(e));return Ue(n.font)}_maxDigits(){const e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}}class XL{constructor(e,n,o){this.type=e,this.scope=n,this.override=o,this.items=Object.create(null)}isForType(e){return Object.prototype.isPrototypeOf.call(this.type.prototype,e.prototype)}register(e){const n=Object.getPrototypeOf(e);let o;WR(n)&&(o=this.register(n));const r=this.items,i=e.id,s=this.scope+"."+i;if(!i)throw new Error("class does not have id: "+e);return i in r||(r[i]=e,$R(e,s,o),this.override&&Te.override(e.id,e.overrides)),s}get(e){return this.items[e]}unregister(e){const n=this.items,o=e.id,r=this.scope;o in n&&delete n[o],r&&o in Te[r]&&(delete Te[r][o],this.override&&delete Xi[o])}}function $R(a,e,n){const o=y1(Object.create(null),[n?Te.get(n):{},Te.get(e),a.defaults]);Te.set(e,o),a.defaultRoutes&&UR(e,a.defaultRoutes),a.descriptors&&Te.describe(e,a.descriptors)}function UR(a,e){Object.keys(e).forEach(n=>{const o=n.split("."),r=o.pop(),i=[a].concat(o).join("."),s=e[n].split("."),c=s.pop(),d=s.join(".");Te.route(i,r,d,c)})}function WR(a){return"id"in a&&"defaults"in a}class GR{constructor(){this.controllers=new XL(ts,"datasets",!0),this.elements=new XL(Jt,"elements"),this.plugins=new XL(Object,"plugins"),this.scales=new XL(_s,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}removeControllers(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,n,o){[...n].forEach(r=>{const i=o||this._getRegistryForType(r);o||i.isForType(r)||i===this.plugins&&r.id?this._exec(e,i,r):Le(r,s=>{const c=o||this._getRegistryForType(s);this._exec(e,c,s)})})}_exec(e,n,o){const r=yI(e);Be(o["before"+r],[],o),n[e](o),Be(o["after"+r],[],o)}_getRegistryForType(e){for(let n=0;n<this._typedRegistries.length;n++){const o=this._typedRegistries[n];if(o.isForType(e))return o}return this.plugins}_get(e,n,o){const r=n.get(e);if(r===void 0)throw new Error('"'+e+'" is not a registered '+o+".");return r}}var Ot=new GR;class KR{constructor(){this._init=void 0}notify(e,n,o,r){if(n==="beforeInit"&&(this._init=this._createDescriptors(e,!0),this._notify(this._init,e,"install")),this._init===void 0)return;const i=r?this._descriptors(e).filter(r):this._descriptors(e),s=this._notify(i,e,n,o);return n==="afterDestroy"&&(this._notify(i,e,"stop"),this._notify(this._init,e,"uninstall"),this._init=void 0),s}_notify(e,n,o,r){r=r||{};for(const i of e){const s=i.plugin,c=s[o],d=[n,r,i.options];if(Be(c,d,s)===!1&&r.cancelable)return!1}return!0}invalidate(){Ce(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(e){if(this._cache)return this._cache;const n=this._cache=this._createDescriptors(e);return this._notifyStateChanges(e),n}_createDescriptors(e,n){const o=e&&e.config,r=ge(o.options&&o.options.plugins,{}),i=XR(o);return r===!1&&!n?[]:YR(e,i,r,n)}_notifyStateChanges(e){const n=this._oldCache||[],o=this._cache,r=(i,s)=>i.filter(c=>!s.some(d=>c.plugin.id===d.plugin.id));this._notify(r(n,o),e,"stop"),this._notify(r(o,n),e,"start")}}function XR(a){const e={},n=[],o=Object.keys(Ot.plugins.items);for(let i=0;i<o.length;i++)n.push(Ot.getPlugin(o[i]));const r=a.plugins||[];for(let i=0;i<r.length;i++){const s=r[i];n.indexOf(s)===-1&&(n.push(s),e[s.id]=!0)}return{plugins:n,localIds:e}}function ZR(a,e){return!e&&a===!1?null:a===!0?{}:a}function YR(a,{plugins:e,localIds:n},o,r){const i=[],s=a.getContext();for(const c of e){const d=c.id,h=ZR(o[d],r);h!==null&&i.push({plugin:c,options:QR(a.config,{plugin:c,local:n[d]},h,s)})}return i}function QR(a,{plugin:e,local:n},o,r){const i=a.pluginScopeKeys(e),s=a.getOptionScopes(o,i);return n&&e.defaults&&s.push(e.defaults),a.createResolver(s,r,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function jI(a,e){const n=Te.datasets[a]||{};return((e.datasets||{})[a]||{}).indexAxis||e.indexAxis||n.indexAxis||"x"}function JR(a,e){let n=a;return a==="_index_"?n=e:a==="_value_"&&(n=e==="x"?"y":"x"),n}function eN(a,e){return a===e?"_index_":"_value_"}function Bz(a){if(a==="x"||a==="y"||a==="r")return a}function tN(a){if(a==="top"||a==="bottom")return"x";if(a==="left"||a==="right")return"y"}function OI(a,...e){if(Bz(a))return a;for(const n of e){const o=n.axis||tN(n.position)||a.length>1&&Bz(a[0].toLowerCase());if(o)return o}throw new Error(`Cannot determine type of '${a}' axis. Please provide 'axis' or 'position' option.`)}function zz(a,e,n){if(n[e+"AxisID"]===a)return{axis:e}}function aN(a,e){if(e.data&&e.data.datasets){const n=e.data.datasets.filter(o=>o.xAxisID===a||o.yAxisID===a);if(n.length)return zz(a,"x",n[0])||zz(a,"y",n[0])}return{}}function nN(a,e){const n=Xi[a.type]||{scales:{}},o=e.scales||{},r=jI(a.type,e),i=Object.create(null);return Object.keys(o).forEach(s=>{const c=o[s];if(!be(c))return console.error(`Invalid scale configuration for scale: ${s}`);if(c._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${s}`);const d=OI(s,c,aN(s,a),Te.scales[c.type]),h=eN(d,r),u=n.scales||{};i[s]=f1(Object.create(null),[{axis:d},c,u[d],u[h]])}),a.data.datasets.forEach(s=>{const c=s.type||a.type,d=s.indexAxis||jI(c,e),u=(Xi[c]||{}).scales||{};Object.keys(u).forEach(p=>{const y=JR(p,d),f=s[y+"AxisID"]||y;i[f]=i[f]||Object.create(null),f1(i[f],[{axis:y},o[f],u[p]])})}),Object.keys(i).forEach(s=>{const c=i[s];f1(c,[Te.scales[c.type],Te.scale])}),i}function Vz(a){const e=a.options||(a.options={});e.plugins=ge(e.plugins,{}),e.scales=nN(a,e)}function qz(a){return a=a||{},a.datasets=a.datasets||[],a.labels=a.labels||[],a}function oN(a){return a=a||{},a.data=qz(a.data),Vz(a),a}const Pz=new Map,Dz=new Set;function ZL(a,e){let n=Pz.get(a);return n||(n=e(),Pz.set(a,n),Dz.add(n)),n}const B1=(a,e,n)=>{const o=Wi(e,n);o!==void 0&&a.add(o)};class rN{constructor(e){this._config=oN(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=qz(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){const e=this._config;this.clearCache(),Vz(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return ZL(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,n){return ZL(`${e}.transition.${n}`,()=>[[`datasets.${e}.transitions.${n}`,`transitions.${n}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,n){return ZL(`${e}-${n}`,()=>[[`datasets.${e}.elements.${n}`,`datasets.${e}`,`elements.${n}`,""]])}pluginScopeKeys(e){const n=e.id,o=this.type;return ZL(`${o}-plugin-${n}`,()=>[[`plugins.${n}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,n){const o=this._scopeCache;let r=o.get(e);return(!r||n)&&(r=new Map,o.set(e,r)),r}getOptionScopes(e,n,o){const{options:r,type:i}=this,s=this._cachedScopes(e,o),c=s.get(n);if(c)return c;const d=new Set;n.forEach(u=>{e&&(d.add(e),u.forEach(p=>B1(d,e,p))),u.forEach(p=>B1(d,r,p)),u.forEach(p=>B1(d,Xi[i]||{},p)),u.forEach(p=>B1(d,Te,p)),u.forEach(p=>B1(d,xI,p))});const h=Array.from(d);return h.length===0&&h.push(Object.create(null)),Dz.has(n)&&s.set(n,h),h}chartOptionScopes(){const{options:e,type:n}=this;return[e,Xi[n]||{},Te.datasets[n]||{},{type:n},Te,xI]}resolveNamedOptions(e,n,o,r=[""]){const i={$shared:!0},{resolver:s,subPrefixes:c}=Ez(this._resolverCache,e,r);let d=s;if(sN(s,n)){i.$shared=!1,o=xa(o)?o():o;const h=this.createResolver(e,o,c);d=Cs(s,o,h)}for(const h of n)i[h]=d[h];return i}createResolver(e,n,o=[""],r){const{resolver:i}=Ez(this._resolverCache,e,o);return be(n)?Cs(i,n,void 0,r):i}}function Ez(a,e,n){let o=a.get(e);o||(o=new Map,a.set(e,o));const r=n.join();let i=o.get(r);return i||(i={resolver:LI(e,n),subPrefixes:n.filter(c=>!c.toLowerCase().includes("hover"))},o.set(r,i)),i}const iN=a=>be(a)&&Object.getOwnPropertyNames(a).some(e=>xa(a[e]));function sN(a,e){const{isScriptable:n,isIndexable:o}=jB(a);for(const r of e){const i=n(r),s=o(r),c=(s||i)&&a[r];if(i&&(xa(c)||iN(c))||s&&He(c))return!0}return!1}var lN="4.5.1";const cN=["top","bottom","left","right","chartArea"];function Tz(a,e){return a==="top"||a==="bottom"||cN.indexOf(a)===-1&&e==="x"}function Hz(a,e){return function(n,o){return n[a]===o[a]?n[e]-o[e]:n[a]-o[a]}}function jz(a){const e=a.chart,n=e.options.animation;e.notifyPlugins("afterRender"),Be(n&&n.onComplete,[a],e)}function dN(a){const e=a.chart,n=e.options.animation;Be(n&&n.onProgress,[a],e)}function Oz(a){return _I()&&typeof a=="string"?a=document.getElementById(a):a&&a.length&&(a=a[0]),a&&a.canvas&&(a=a.canvas),a}const YL={},Fz=a=>{const e=Oz(a);return Object.values(YL).filter(n=>n.canvas===e).pop()};function hN(a,e,n){const o=Object.keys(a);for(const r of o){const i=+r;if(i>=e){const s=a[r];delete a[r],(n>0||i>e)&&(a[i+n]=s)}}}function uN(a,e,n,o){return!n||a.type==="mouseout"?null:o?e:a}class ea{static register(...e){Ot.add(...e),Rz()}static unregister(...e){Ot.remove(...e),Rz()}constructor(e,n){const o=this.config=new rN(n),r=Oz(e),i=Fz(r);if(i)throw new Error("Canvas is already in use. Chart with ID '"+i.id+"' must be destroyed before the canvas with ID '"+i.canvas.id+"' can be reused.");const s=o.createResolver(o.chartOptionScopes(),this.getContext());this.platform=new(o.platform||BR(r)),this.platform.updateConfig(o);const c=this.platform.acquireContext(r,s.aspectRatio),d=c&&c.canvas,h=d&&d.height,u=d&&d.width;if(this.id=dO(),this.ctx=c,this.canvas=d,this.width=u,this.height=h,this._options=s,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new KR,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=AO(p=>this.update(p),s.resizeDelay||0),this._dataChanges=[],YL[this.id]=this,!c||!d){console.error("Failed to create chart: can't acquire context from the given item");return}Qt.listen(this,"complete",jz),Qt.listen(this,"progress",dN),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:n},width:o,height:r,_aspectRatio:i}=this;return Ce(e)?n&&i?i:r?o/r:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return Ot}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():WB(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return EB(this.canvas,this.ctx),this}stop(){return Qt.stop(this),this}resize(e,n){Qt.running(this)?this._resizeBeforeDraw={width:e,height:n}:this._resize(e,n)}_resize(e,n){const o=this.options,r=this.canvas,i=o.maintainAspectRatio&&this.aspectRatio,s=this.platform.getMaximumSize(r,e,n,i),c=o.devicePixelRatio||this.platform.getDevicePixelRatio(),d=this.width?"resize":"attach";this.width=s.width,this.height=s.height,this._aspectRatio=this.aspectRatio,WB(this,c,!0)&&(this.notifyPlugins("resize",{size:s}),Be(o.onResize,[this,s],this),this.attached&&this._doResize(d)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};Le(n,(o,r)=>{o.id=r})}buildOrUpdateScales(){const e=this.options,n=e.scales,o=this.scales,r=Object.keys(o).reduce((s,c)=>(s[c]=!1,s),{});let i=[];n&&(i=i.concat(Object.keys(n).map(s=>{const c=n[s],d=OI(s,c),h=d==="r",u=d==="x";return{options:c,dposition:h?"chartArea":u?"bottom":"left",dtype:h?"radialLinear":u?"category":"linear"}}))),Le(i,s=>{const c=s.options,d=c.id,h=OI(d,c),u=ge(c.type,s.dtype);(c.position===void 0||Tz(c.position,h)!==Tz(s.dposition))&&(c.position=s.dposition),r[d]=!0;let p=null;if(d in o&&o[d].type===u)p=o[d];else{const y=Ot.getScale(u);p=new y({id:d,type:u,ctx:this.ctx,chart:this}),o[p.id]=p}p.init(c,e)}),Le(r,(s,c)=>{s||delete o[c]}),Le(o,s=>{ut.configure(this,s,s.options),ut.addBox(this,s)})}_updateMetasets(){const e=this._metasets,n=this.data.datasets.length,o=e.length;if(e.sort((r,i)=>r.index-i.index),o>n){for(let r=n;r<o;++r)this._destroyDatasetMeta(r);e.splice(n,o-n)}this._sortedMetasets=e.slice(0).sort(Hz("order","index"))}_removeUnreferencedMetasets(){const{_metasets:e,data:{datasets:n}}=this;e.length>n.length&&delete this._stacks,e.forEach((o,r)=>{n.filter(i=>i===o._dataset).length===0&&this._destroyDatasetMeta(r)})}buildOrUpdateControllers(){const e=[],n=this.data.datasets;let o,r;for(this._removeUnreferencedMetasets(),o=0,r=n.length;o<r;o++){const i=n[o];let s=this.getDatasetMeta(o);const c=i.type||this.config.type;if(s.type&&s.type!==c&&(this._destroyDatasetMeta(o),s=this.getDatasetMeta(o)),s.type=c,s.indexAxis=i.indexAxis||jI(c,this.options),s.order=i.order||0,s.index=o,s.label=""+i.label,s.visible=this.isDatasetVisible(o),s.controller)s.controller.updateIndex(o),s.controller.linkScales();else{const d=Ot.getController(c),{datasetElementType:h,dataElementType:u}=Te.datasets[c];Object.assign(d,{dataElementType:Ot.getElement(u),datasetElementType:h&&Ot.getElement(h)}),s.controller=new d(this,o),e.push(s.controller)}}return this._updateMetasets(),e}_resetElements(){Le(this.data.datasets,(e,n)=>{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const n=this.config;n.update();const o=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),r=this._animationsDisabled=!o.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0})===!1)return;const i=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let s=0;for(let h=0,u=this.data.datasets.length;h<u;h++){const{controller:p}=this.getDatasetMeta(h),y=!r&&i.indexOf(p)===-1;p.buildOrUpdateElements(y),s=Math.max(+p.getMaxOverflow(),s)}s=this._minPadding=o.layout.autoPadding?s:0,this._updateLayout(s),r||Le(i,h=>{h.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(Hz("z","_idx"));const{_active:c,_lastEvent:d}=this;d?this._eventHandler(d,!0):c.length&&this._updateHoverStyles(c,c,!0),this.render()}_updateScales(){Le(this.scales,e=>{ut.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,n=new Set(Object.keys(this._listeners)),o=new Set(e.events);(!MB(n,o)||!!this._responsiveListeners!==e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,n=this._getUniformDataChanges()||[];for(const{method:o,start:r,count:i}of n){const s=o==="_removeElements"?-i:i;hN(e,r,s)}}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const n=this.data.datasets.length,o=i=>new Set(e.filter(s=>s[0]===i).map((s,c)=>c+","+s.splice(1).join(","))),r=o(0);for(let i=1;i<n;i++)if(!MB(r,o(i)))return;return Array.from(r).map(i=>i.split(",")).map(i=>({method:i[1],start:+i[2],count:+i[3]}))}_updateLayout(e){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;ut.update(this,this.width,this.height,e);const n=this.chartArea,o=n.width<=0||n.height<=0;this._layers=[],Le(this.boxes,r=>{o&&r.position==="chartArea"||(r.configure&&r.configure(),this._layers.push(...r._layers()))},this),this._layers.forEach((r,i)=>{r._idx=i}),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})!==!1){for(let n=0,o=this.data.datasets.length;n<o;++n)this.getDatasetMeta(n).controller.configure();for(let n=0,o=this.data.datasets.length;n<o;++n)this._updateDataset(n,xa(e)?e({datasetIndex:n}):e);this.notifyPlugins("afterDatasetsUpdate",{mode:e})}}_updateDataset(e,n){const o=this.getDatasetMeta(e),r={meta:o,index:e,mode:n,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",r)!==!1&&(o.controller._update(n),r.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",r))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&(Qt.has(this)?this.attached&&!Qt.running(this)&&Qt.start(this):(this.draw(),jz({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){const{width:o,height:r}=this._resizeBeforeDraw;this._resizeBeforeDraw=null,this._resize(o,r)}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;const n=this._layers;for(e=0;e<n.length&&n[e].z<=0;++e)n[e].draw(this.chartArea);for(this._drawDatasets();e<n.length;++e)n[e].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(e){const n=this._sortedMetasets,o=[];let r,i;for(r=0,i=n.length;r<i;++r){const s=n[r];(!e||s.visible)&&o.push(s)}return o}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;const e=this.getSortedVisibleDatasetMetas();for(let n=e.length-1;n>=0;--n)this._drawDataset(e[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const n=this.ctx,o={meta:e,index:e.index,cancelable:!0},r=az(this,e);this.notifyPlugins("beforeDatasetDraw",o)!==!1&&(r&&PL(n,r),e.controller.draw(),r&&DL(n),o.cancelable=!1,this.notifyPlugins("afterDatasetDraw",o))}isPointInArea(e){return w1(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,n,o,r){const i=cR.modes[n];return typeof i=="function"?i(this,e,o,r):[]}getDatasetMeta(e){const n=this.data.datasets[e],o=this._metasets;let r=o.filter(i=>i&&i._dataset===n).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:e,_dataset:n,_parsed:[],_sorted:!1},o.push(r)),r}getContext(){return this.$context||(this.$context=Yi(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const n=this.data.datasets[e];if(!n)return!1;const o=this.getDatasetMeta(e);return typeof o.hidden=="boolean"?!o.hidden:!n.hidden}setDatasetVisibility(e,n){const o=this.getDatasetMeta(e);o.hidden=!n}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,n,o){const r=o?"show":"hide",i=this.getDatasetMeta(e),s=i.controller._resolveAnimations(void 0,r);k1(n)?(i.data[n].hidden=!o,this.update()):(this.setDatasetVisibility(e,o),s.update(i,{visible:o}),this.update(c=>c.datasetIndex===e?r:void 0))}hide(e,n){this._updateVisibility(e,n,!1)}show(e,n){this._updateVisibility(e,n,!0)}_destroyDatasetMeta(e){const n=this._metasets[e];n&&n.controller&&n.controller._destroy(),delete this._metasets[e]}_stop(){let e,n;for(this.stop(),Qt.remove(this),e=0,n=this.data.datasets.length;e<n;++e)this._destroyDatasetMeta(e)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:e,ctx:n}=this;this._stop(),this.config.clearCache(),e&&(this.unbindEvents(),EB(e,n),this.platform.releaseContext(n),this.canvas=null,this.ctx=null),delete YL[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...e){return this.canvas.toDataURL(...e)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const e=this._listeners,n=this.platform,o=(i,s)=>{n.addEventListener(this,i,s),e[i]=s},r=(i,s,c)=>{i.offsetX=s,i.offsetY=c,this._eventHandler(i)};Le(this.options.events,i=>o(i,r))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,n=this.platform,o=(d,h)=>{n.addEventListener(this,d,h),e[d]=h},r=(d,h)=>{e[d]&&(n.removeEventListener(this,d,h),delete e[d])},i=(d,h)=>{this.canvas&&this.resize(d,h)};let s;const c=()=>{r("attach",c),this.attached=!0,this.resize(),o("resize",i),o("detach",s)};s=()=>{this.attached=!1,r("resize",i),this._stop(),this._resize(0,0),o("attach",c)},n.isAttached(this.canvas)?c():s()}unbindEvents(){Le(this._listeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._listeners={},Le(this._responsiveListeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,n,o){const r=o?"set":"remove";let i,s,c,d;for(n==="dataset"&&(i=this.getDatasetMeta(e[0].datasetIndex),i.controller["_"+r+"DatasetHoverStyle"]()),c=0,d=e.length;c<d;++c){s=e[c];const h=s&&this.getDatasetMeta(s.datasetIndex).controller;h&&h[r+"HoverStyle"](s.element,s.datasetIndex,s.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){const n=this._active||[],o=e.map(({datasetIndex:i,index:s})=>{const c=this.getDatasetMeta(i);if(!c)throw new Error("No dataset found at index "+i);return{datasetIndex:i,element:c.data[s],index:s}});!BL(o,n)&&(this._active=o,this._lastEvent=null,this._updateHoverStyles(o,n))}notifyPlugins(e,n,o){return this._plugins.notify(this,e,n,o)}isPluginEnabled(e){return this._plugins._cache.filter(n=>n.plugin.id===e).length===1}_updateHoverStyles(e,n,o){const r=this.options.hover,i=(d,h)=>d.filter(u=>!h.some(p=>u.datasetIndex===p.datasetIndex&&u.index===p.index)),s=i(n,e),c=o?e:i(e,n);s.length&&this.updateHoverStyle(s,r.mode,!1),c.length&&r.mode&&this.updateHoverStyle(c,r.mode,!0)}_eventHandler(e,n){const o={event:e,replay:n,cancelable:!0,inChartArea:this.isPointInArea(e)},r=s=>(s.options.events||this.options.events).includes(e.native.type);if(this.notifyPlugins("beforeEvent",o,r)===!1)return;const i=this._handleEvent(e,n,o.inChartArea);return o.cancelable=!1,this.notifyPlugins("afterEvent",o,r),(i||o.changed)&&this.render(),this}_handleEvent(e,n,o){const{_active:r=[],options:i}=this,s=n,c=this._getActiveElements(e,r,o,s),d=kO(e),h=uN(e,this._lastEvent,o,d);o&&(this._lastEvent=null,Be(i.onHover,[e,c,this],this),d&&Be(i.onClick,[e,c,this],this));const u=!BL(c,r);return(u||n)&&(this._active=c,this._updateHoverStyles(c,r,n)),this._lastEvent=h,u}_getActiveElements(e,n,o,r){if(e.type==="mouseout")return[];if(!o)return n;const i=this.options.hover;return this.getElementsAtEventForMode(e,i.mode,i,r)}}se(ea,"defaults",Te),se(ea,"instances",YL),se(ea,"overrides",Xi),se(ea,"registry",Ot),se(ea,"version",lN),se(ea,"getChart",Fz);function Rz(){return Le(ea.instances,a=>a._plugins.invalidate())}function pN(a,e,n){const{startAngle:o,x:r,y:i,outerRadius:s,innerRadius:c,options:d}=e,{borderWidth:h,borderJoinStyle:u}=d,p=Math.min(h/s,nt(o-n));if(a.beginPath(),a.arc(r,i,s-h/2,o+p/2,n-p/2),c>0){const y=Math.min(h/c,nt(o-n));a.arc(r,i,c+h/2,n-y/2,o+y/2,!0)}else{const y=Math.min(h/2,s*nt(o-n));if(u==="round")a.arc(r,i,y,n-Se/2,o+Se/2,!0);else if(u==="bevel"){const f=2*y*y,k=-f*Math.cos(n+Se/2)+r,m=-f*Math.sin(n+Se/2)+i,g=f*Math.cos(o+Se/2)+r,w=f*Math.sin(o+Se/2)+i;a.lineTo(k,m),a.lineTo(g,w)}}a.closePath(),a.moveTo(0,0),a.rect(0,0,a.canvas.width,a.canvas.height),a.clip("evenodd")}function yN(a,e,n){const{startAngle:o,pixelMargin:r,x:i,y:s,outerRadius:c,innerRadius:d}=e;let h=r/c;a.beginPath(),a.arc(i,s,c,o-h,n+h),d>r?(h=r/d,a.arc(i,s,d,n+h,o-h,!0)):a.arc(i,s,r,n+Oe,o-Oe),a.closePath(),a.clip()}function fN(a){return CI(a,["outerStart","outerEnd","innerStart","innerEnd"])}function kN(a,e,n,o){const r=fN(a.options.borderRadius),i=(n-e)/2,s=Math.min(i,o*e/2),c=d=>{const h=(n-Math.min(i,d))*o/2;return Ne(d,0,Math.min(i,h))};return{outerStart:c(r.outerStart),outerEnd:c(r.outerEnd),innerStart:Ne(r.innerStart,0,s),innerEnd:Ne(r.innerEnd,0,s)}}function As(a,e,n,o){return{x:n+a*Math.cos(e),y:o+a*Math.sin(e)}}function QL(a,e,n,o,r,i){const{x:s,y:c,startAngle:d,pixelMargin:h,innerRadius:u}=e,p=Math.max(e.outerRadius+o+n-h,0),y=u>0?u+o+n+h:0;let f=0;const k=r-d;if(o){const W=u>0?u-o:0,T=p>0?p-o:0,j=(W+T)/2,R=j!==0?k*j/(j+o):k;f=(k-R)/2}const m=Math.max(.001,k*p-n/Se)/p,g=(k-m)/2,w=d+g+f,S=r-g-f,{outerStart:v,outerEnd:M,innerStart:C,innerEnd:x}=kN(e,y,p,S-w),b=p-v,L=p-M,I=w+v/b,V=S-M/L,A=y+C,q=y+x,O=w+C/A,H=S-x/q;if(a.beginPath(),i){const W=(I+V)/2;if(a.arc(s,c,p,I,W),a.arc(s,c,p,W,V),M>0){const Y=As(L,V,s,c);a.arc(Y.x,Y.y,M,V,S+Oe)}const T=As(q,S,s,c);if(a.lineTo(T.x,T.y),x>0){const Y=As(q,H,s,c);a.arc(Y.x,Y.y,x,S+Oe,H+Math.PI)}const j=(S-x/y+(w+C/y))/2;if(a.arc(s,c,y,S-x/y,j,!0),a.arc(s,c,y,j,w+C/y,!0),C>0){const Y=As(A,O,s,c);a.arc(Y.x,Y.y,C,O+Math.PI,w-Oe)}const R=As(b,w,s,c);if(a.lineTo(R.x,R.y),v>0){const Y=As(b,I,s,c);a.arc(Y.x,Y.y,v,w-Oe,I)}}else{a.moveTo(s,c);const W=Math.cos(I)*p+s,T=Math.sin(I)*p+c;a.lineTo(W,T);const j=Math.cos(V)*p+s,R=Math.sin(V)*p+c;a.lineTo(j,R)}a.closePath()}function mN(a,e,n,o,r){const{fullCircles:i,startAngle:s,circumference:c}=e;let d=e.endAngle;if(i){QL(a,e,n,o,d,r);for(let h=0;h<i;++h)a.fill();isNaN(c)||(d=s+(c%qe||qe))}return QL(a,e,n,o,d,r),a.fill(),d}function gN(a,e,n,o,r){const{fullCircles:i,startAngle:s,circumference:c,options:d}=e,{borderWidth:h,borderJoinStyle:u,borderDash:p,borderDashOffset:y,borderRadius:f}=d,k=d.borderAlign==="inner";if(!h)return;a.setLineDash(p||[]),a.lineDashOffset=y,k?(a.lineWidth=h*2,a.lineJoin=u||"round"):(a.lineWidth=h,a.lineJoin=u||"bevel");let m=e.endAngle;if(i){QL(a,e,n,o,m,r);for(let g=0;g<i;++g)a.stroke();isNaN(c)||(m=s+(c%qe||qe))}k&&yN(a,e,m),d.selfJoin&&m-s>=Se&&f===0&&u!=="miter"&&pN(a,e,m),i||(QL(a,e,n,o,m,r),a.stroke())}class z1 extends Jt{constructor(n){super();se(this,"circumference");se(this,"endAngle");se(this,"fullCircles");se(this,"innerRadius");se(this,"outerRadius");se(this,"pixelMargin");se(this,"startAngle");this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,n&&Object.assign(this,n)}inRange(n,o,r){const i=this.getProps(["x","y"],r),{angle:s,distance:c}=CB(i,{x:n,y:o}),{startAngle:d,endAngle:h,innerRadius:u,outerRadius:p,circumference:y}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],r),f=(this.options.spacing+this.options.borderWidth)/2,k=ge(y,h-d),m=M1(s,d,h)&&d!==h,g=k>=qe||m,w=Yt(c,u+f,p+f);return g&&w}getCenterPoint(n){const{x:o,y:r,startAngle:i,endAngle:s,innerRadius:c,outerRadius:d}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],n),{offset:h,spacing:u}=this.options,p=(i+s)/2,y=(c+d+u+h)/2;return{x:o+Math.cos(p)*y,y:r+Math.sin(p)*y}}tooltipPosition(n){return this.getCenterPoint(n)}draw(n){const{options:o,circumference:r}=this,i=(o.offset||0)/4,s=(o.spacing||0)/2,c=o.circular;if(this.pixelMargin=o.borderAlign==="inner"?.33:0,this.fullCircles=r>qe?Math.floor(r/qe):0,r===0||this.innerRadius<0||this.outerRadius<0)return;n.save();const d=(this.startAngle+this.endAngle)/2;n.translate(Math.cos(d)*i,Math.sin(d)*i);const h=1-Math.sin(Math.min(Se,r||0)),u=i*h;n.fillStyle=o.backgroundColor,n.strokeStyle=o.borderColor,mN(n,this,u,s,c),gN(n,this,u,s,c),n.restore()}}se(z1,"id","arc"),se(z1,"defaults",{borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0,selfJoin:!1}),se(z1,"defaultRoutes",{backgroundColor:"backgroundColor"}),se(z1,"descriptors",{_scriptable:!0,_indexable:n=>n!=="borderDash"});function Nz(a,e,n=e){a.lineCap=ge(n.borderCapStyle,e.borderCapStyle),a.setLineDash(ge(n.borderDash,e.borderDash)),a.lineDashOffset=ge(n.borderDashOffset,e.borderDashOffset),a.lineJoin=ge(n.borderJoinStyle,e.borderJoinStyle),a.lineWidth=ge(n.borderWidth,e.borderWidth),a.strokeStyle=ge(n.borderColor,e.borderColor)}function MN(a,e,n){a.lineTo(n.x,n.y)}function bN(a){return a.stepped?NO:a.tension||a.cubicInterpolationMode==="monotone"?$O:MN}function $z(a,e,n={}){const o=a.length,{start:r=0,end:i=o-1}=n,{start:s,end:c}=e,d=Math.max(r,s),h=Math.min(i,c),u=r<s&&i<s||r>c&&i>c;return{count:o,start:d,loop:e.loop,ilen:h<d&&!u?o+h-d:h-d}}function xN(a,e,n,o){const{points:r,options:i}=e,{count:s,start:c,loop:d,ilen:h}=$z(r,n,o),u=bN(i);let{move:p=!0,reverse:y}=o||{},f,k,m;for(f=0;f<=h;++f)k=r[(c+(y?h-f:f))%s],!k.skip&&(p?(a.moveTo(k.x,k.y),p=!1):u(a,m,k,y,i.stepped),m=k);return d&&(k=r[(c+(y?h:0))%s],u(a,m,k,y,i.stepped)),!!d}function wN(a,e,n,o){const r=e.points,{count:i,start:s,ilen:c}=$z(r,n,o),{move:d=!0,reverse:h}=o||{};let u=0,p=0,y,f,k,m,g,w;const S=M=>(s+(h?c-M:M))%i,v=()=>{m!==g&&(a.lineTo(u,g),a.lineTo(u,m),a.lineTo(u,w))};for(d&&(f=r[S(0)],a.moveTo(f.x,f.y)),y=0;y<=c;++y){if(f=r[S(y)],f.skip)continue;const M=f.x,C=f.y,x=M|0;x===k?(C<m?m=C:C>g&&(g=C),u=(p*u+M)/++p):(v(),a.lineTo(M,C),k=x,p=0,m=g=C),w=C}v()}function FI(a){const e=a.options,n=e.borderDash&&e.borderDash.length;return!a._decimated&&!a._loop&&!e.tension&&e.cubicInterpolationMode!=="monotone"&&!e.stepped&&!n?wN:xN}function vN(a){return a.stepped?wF:a.tension||a.cubicInterpolationMode==="monotone"?vF:es}function CN(a,e,n,o){let r=e._path;r||(r=e._path=new Path2D,e.path(r,n,o)&&r.closePath()),Nz(a,e.options),a.stroke(r)}function LN(a,e,n,o){const{segments:r,options:i}=e,s=FI(e);for(const c of r)Nz(a,i,c.style),a.beginPath(),s(a,e,c,{start:n,end:n+o-1})&&a.closePath(),a.stroke()}const SN=typeof Path2D=="function";function IN(a,e,n,o){SN&&!e.options.segment?CN(a,e,n,o):LN(a,e,n,o)}class va extends Jt{constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,n){const o=this.options;if((o.tension||o.cubicInterpolationMode==="monotone")&&!o.stepped&&!this._pointsUpdated){const r=o.spanGaps?this._loop:this._fullLoop;yF(this._points,o,e,r,n),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=AF(this,this.options.segment))}first(){const e=this.segments,n=this.points;return e.length&&n[e[0].start]}last(){const e=this.segments,n=this.points,o=e.length;return o&&n[e[o-1].end]}interpolate(e,n){const o=this.options,r=e[n],i=this.points,s=JB(this,{property:n,start:r,end:r});if(!s.length)return;const c=[],d=vN(o);let h,u;for(h=0,u=s.length;h<u;++h){const{start:p,end:y}=s[h],f=i[p],k=i[y];if(f===k){c.push(f);continue}const m=Math.abs((r-f[n])/(k[n]-f[n])),g=d(f,k,m,o.stepped);g[n]=e[n],c.push(g)}return c.length===1?c[0]:c}pathSegment(e,n,o){return FI(this)(e,this,n,o)}path(e,n,o){const r=this.segments,i=FI(this);let s=this._loop;n=n||0,o=o||this.points.length-n;for(const c of r)s&=i(e,this,c,{start:n,end:n+o-1});return!!s}draw(e,n,o,r){const i=this.options||{};(this.points||[]).length&&i.borderWidth&&(e.save(),IN(e,this,o,r),e.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}se(va,"id","line"),se(va,"defaults",{borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0}),se(va,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"}),se(va,"descriptors",{_scriptable:!0,_indexable:e=>e!=="borderDash"&&e!=="fill"});function Uz(a,e,n,o){const r=a.options,{[n]:i}=a.getProps([n],o);return Math.abs(e-i)<r.radius+r.hitRadius}class JL extends Jt{constructor(n){super();se(this,"parsed");se(this,"skip");se(this,"stop");this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,n&&Object.assign(this,n)}inRange(n,o,r){const i=this.options,{x:s,y:c}=this.getProps(["x","y"],r);return Math.pow(n-s,2)+Math.pow(o-c,2)<Math.pow(i.hitRadius+i.radius,2)}inXRange(n,o){return Uz(this,n,"x",o)}inYRange(n,o){return Uz(this,n,"y",o)}getCenterPoint(n){const{x:o,y:r}=this.getProps(["x","y"],n);return{x:o,y:r}}size(n){n=n||this.options||{};let o=n.radius||0;o=Math.max(o,o&&n.hoverRadius||0);const r=o&&n.borderWidth||0;return(o+r)*2}draw(n,o){const r=this.options;this.skip||r.radius<.1||!w1(this,o,this.size(r)/2)||(n.strokeStyle=r.borderColor,n.lineWidth=r.borderWidth,n.fillStyle=r.backgroundColor,vI(n,r,this.x,this.y))}getRange(){const n=this.options||{};return n.radius+n.hitRadius}}se(JL,"id","point"),se(JL,"defaults",{borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0}),se(JL,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});function Wz(a,e){const{x:n,y:o,base:r,width:i,height:s}=a.getProps(["x","y","base","width","height"],e);let c,d,h,u,p;return a.horizontal?(p=s/2,c=Math.min(n,r),d=Math.max(n,r),h=o-p,u=o+p):(p=i/2,c=n-p,d=n+p,h=Math.min(o,r),u=Math.max(o,r)),{left:c,top:h,right:d,bottom:u}}function Ca(a,e,n,o){return a?0:Ne(e,n,o)}function _N(a,e,n){const o=a.options.borderWidth,r=a.borderSkipped,i=HB(o);return{t:Ca(r.top,i.top,0,n),r:Ca(r.right,i.right,0,e),b:Ca(r.bottom,i.bottom,0,n),l:Ca(r.left,i.left,0,e)}}function AN(a,e,n){const{enableBorderRadius:o}=a.getProps(["enableBorderRadius"]),r=a.options.borderRadius,i=vs(r),s=Math.min(e,n),c=a.borderSkipped,d=o||be(r);return{topLeft:Ca(!d||c.top||c.left,i.topLeft,0,s),topRight:Ca(!d||c.top||c.right,i.topRight,0,s),bottomLeft:Ca(!d||c.bottom||c.left,i.bottomLeft,0,s),bottomRight:Ca(!d||c.bottom||c.right,i.bottomRight,0,s)}}function BN(a){const e=Wz(a),n=e.right-e.left,o=e.bottom-e.top,r=_N(a,n/2,o/2),i=AN(a,n/2,o/2);return{outer:{x:e.left,y:e.top,w:n,h:o,radius:i},inner:{x:e.left+r.l,y:e.top+r.t,w:n-r.l-r.r,h:o-r.t-r.b,radius:{topLeft:Math.max(0,i.topLeft-Math.max(r.t,r.l)),topRight:Math.max(0,i.topRight-Math.max(r.t,r.r)),bottomLeft:Math.max(0,i.bottomLeft-Math.max(r.b,r.l)),bottomRight:Math.max(0,i.bottomRight-Math.max(r.b,r.r))}}}}function RI(a,e,n,o){const r=e===null,i=n===null,c=a&&!(r&&i)&&Wz(a,o);return c&&(r||Yt(e,c.left,c.right))&&(i||Yt(n,c.top,c.bottom))}function zN(a){return a.topLeft||a.topRight||a.bottomLeft||a.bottomRight}function VN(a,e){a.rect(e.x,e.y,e.w,e.h)}function NI(a,e,n={}){const o=a.x!==n.x?-e:0,r=a.y!==n.y?-e:0,i=(a.x+a.w!==n.x+n.w?e:0)-o,s=(a.y+a.h!==n.y+n.h?e:0)-r;return{x:a.x+o,y:a.y+r,w:a.w+i,h:a.h+s,radius:a.radius}}class eS extends Jt{constructor(e){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,e&&Object.assign(this,e)}draw(e){const{inflateAmount:n,options:{borderColor:o,backgroundColor:r}}=this,{inner:i,outer:s}=BN(this),c=zN(s.radius)?EL:VN;e.save(),(s.w!==i.w||s.h!==i.h)&&(e.beginPath(),c(e,NI(s,n,i)),e.clip(),c(e,NI(i,-n,s)),e.fillStyle=o,e.fill("evenodd")),e.beginPath(),c(e,NI(i,n)),e.fillStyle=r,e.fill(),e.restore()}inRange(e,n,o){return RI(this,e,n,o)}inXRange(e,n){return RI(this,e,null,n)}inYRange(e,n){return RI(this,null,e,n)}getCenterPoint(e){const{x:n,y:o,base:r,horizontal:i}=this.getProps(["x","y","base","horizontal"],e);return{x:i?(n+r)/2:n,y:i?o:(o+r)/2}}getRange(e){return e==="x"?this.width/2:this.height/2}}se(eS,"id","bar"),se(eS,"defaults",{borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0}),se(eS,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});function qN(a,e,n){const o=a.segments,r=a.points,i=e.points,s=[];for(const c of o){let{start:d,end:h}=c;h=tS(d,h,r);const u=$I(n,r[d],r[h],c.loop);if(!e.segments){s.push({source:c,target:u,start:r[d],end:r[h]});continue}const p=JB(e,u);for(const y of p){const f=$I(n,i[y.start],i[y.end],y.loop),k=QB(c,r,f);for(const m of k)s.push({source:m,target:y,start:{[n]:Gz(u,f,"start",Math.max)},end:{[n]:Gz(u,f,"end",Math.min)}})}}return s}function $I(a,e,n,o){if(o)return;let r=e[a],i=n[a];return a==="angle"&&(r=nt(r),i=nt(i)),{property:a,start:r,end:i}}function PN(a,e){const{x:n=null,y:o=null}=a||{},r=e.points,i=[];return e.segments.forEach(({start:s,end:c})=>{c=tS(s,c,r);const d=r[s],h=r[c];o!==null?(i.push({x:d.x,y:o}),i.push({x:h.x,y:o})):n!==null&&(i.push({x:n,y:d.y}),i.push({x:n,y:h.y}))}),i}function tS(a,e,n){for(;e>a;e--){const o=n[e];if(!isNaN(o.x)&&!isNaN(o.y))break}return e}function Gz(a,e,n,o){return a&&e?o(a[n],e[n]):a?a[n]:e?e[n]:0}function Kz(a,e){let n=[],o=!1;return He(a)?(o=!0,n=a):n=PN(a,e),n.length?new va({points:n,options:{tension:0},_loop:o,_fullLoop:o}):null}function Xz(a){return a&&a.fill!==!1}function DN(a,e,n){let r=a[e].fill;const i=[e];let s;if(!n)return r;for(;r!==!1&&i.indexOf(r)===-1;){if(!Re(r))return r;if(s=a[r],!s)return!1;if(s.visible)return r;i.push(r),r=s.fill}return!1}function EN(a,e,n){const o=ON(a);if(be(o))return isNaN(o.value)?!1:o;let r=parseFloat(o);return Re(r)&&Math.floor(r)===r?TN(o[0],e,r,n):["origin","start","end","stack","shape"].indexOf(o)>=0&&o}function TN(a,e,n,o){return(a==="-"||a==="+")&&(n=e+n),n===e||n<0||n>=o?!1:n}function HN(a,e){let n=null;return a==="start"?n=e.bottom:a==="end"?n=e.top:be(a)?n=e.getPixelForValue(a.value):e.getBasePixel&&(n=e.getBasePixel()),n}function jN(a,e,n){let o;return a==="start"?o=n:a==="end"?o=e.options.reverse?e.min:e.max:be(a)?o=a.value:o=e.getBaseValue(),o}function ON(a){const e=a.options,n=e.fill;let o=ge(n&&n.target,n);return o===void 0&&(o=!!e.backgroundColor),o===!1||o===null?!1:o===!0?"origin":o}function FN(a){const{scale:e,index:n,line:o}=a,r=[],i=o.segments,s=o.points,c=RN(e,n);c.push(Kz({x:null,y:e.bottom},o));for(let d=0;d<i.length;d++){const h=i[d];for(let u=h.start;u<=h.end;u++)NN(r,s[u],c)}return new va({points:r,options:{}})}function RN(a,e){const n=[],o=a.getMatchingVisibleMetas("line");for(let r=0;r<o.length;r++){const i=o[r];if(i.index===e)break;i.hidden||n.unshift(i.dataset)}return n}function NN(a,e,n){const o=[];for(let r=0;r<n.length;r++){const i=n[r],{first:s,last:c,point:d}=$N(i,e,"x");if(!(!d||s&&c)){if(s)o.unshift(d);else if(a.push(d),!c)break}}a.push(...o)}function $N(a,e,n){const o=a.interpolate(e,n);if(!o)return{};const r=o[n],i=a.segments,s=a.points;let c=!1,d=!1;for(let h=0;h<i.length;h++){const u=i[h],p=s[u.start][n],y=s[u.end][n];if(Yt(r,p,y)){c=r===p,d=r===y;break}}return{first:c,last:d,point:o}}class Zz{constructor(e){this.x=e.x,this.y=e.y,this.radius=e.radius}pathSegment(e,n,o){const{x:r,y:i,radius:s}=this;return n=n||{start:0,end:qe},e.arc(r,i,s,n.end,n.start,!0),!o.bounds}interpolate(e){const{x:n,y:o,radius:r}=this,i=e.angle;return{x:n+Math.cos(i)*r,y:o+Math.sin(i)*r,angle:i}}}function UN(a){const{chart:e,fill:n,line:o}=a;if(Re(n))return WN(e,n);if(n==="stack")return FN(a);if(n==="shape")return!0;const r=GN(a);return r instanceof Zz?r:Kz(r,o)}function WN(a,e){const n=a.getDatasetMeta(e);return n&&a.isDatasetVisible(e)?n.dataset:null}function GN(a){return(a.scale||{}).getPointPositionForValue?XN(a):KN(a)}function KN(a){const{scale:e={},fill:n}=a,o=HN(n,e);if(Re(o)){const r=e.isHorizontal();return{x:r?o:null,y:r?null:o}}return null}function XN(a){const{scale:e,fill:n}=a,o=e.options,r=e.getLabels().length,i=o.reverse?e.max:e.min,s=jN(n,e,i),c=[];if(o.grid.circular){const d=e.getPointPositionForValue(0,i);return new Zz({x:d.x,y:d.y,radius:e.getDistanceFromCenterForValue(s)})}for(let d=0;d<r;++d)c.push(e.getPointPositionForValue(d,s));return c}function UI(a,e,n){const o=UN(e),{chart:r,index:i,line:s,scale:c,axis:d}=e,h=s.options,u=h.fill,p=h.backgroundColor,{above:y=p,below:f=p}=u||{},k=r.getDatasetMeta(i),m=az(r,k);o&&s.points.length&&(PL(a,n),ZN(a,{line:s,target:o,above:y,below:f,area:n,scale:c,axis:d,clip:m}),DL(a))}function ZN(a,e){const{line:n,target:o,above:r,below:i,area:s,scale:c,clip:d}=e,h=n._loop?"angle":e.axis;a.save();let u=i;i!==r&&(h==="x"?(Yz(a,o,s.top),WI(a,{line:n,target:o,color:r,scale:c,property:h,clip:d}),a.restore(),a.save(),Yz(a,o,s.bottom)):h==="y"&&(Qz(a,o,s.left),WI(a,{line:n,target:o,color:i,scale:c,property:h,clip:d}),a.restore(),a.save(),Qz(a,o,s.right),u=r)),WI(a,{line:n,target:o,color:u,scale:c,property:h,clip:d}),a.restore()}function Yz(a,e,n){const{segments:o,points:r}=e;let i=!0,s=!1;a.beginPath();for(const c of o){const{start:d,end:h}=c,u=r[d],p=r[tS(d,h,r)];i?(a.moveTo(u.x,u.y),i=!1):(a.lineTo(u.x,n),a.lineTo(u.x,u.y)),s=!!e.pathSegment(a,c,{move:s}),s?a.closePath():a.lineTo(p.x,n)}a.lineTo(e.first().x,n),a.closePath(),a.clip()}function Qz(a,e,n){const{segments:o,points:r}=e;let i=!0,s=!1;a.beginPath();for(const c of o){const{start:d,end:h}=c,u=r[d],p=r[tS(d,h,r)];i?(a.moveTo(u.x,u.y),i=!1):(a.lineTo(n,u.y),a.lineTo(u.x,u.y)),s=!!e.pathSegment(a,c,{move:s}),s?a.closePath():a.lineTo(n,p.y)}a.lineTo(n,e.first().y),a.closePath(),a.clip()}function WI(a,e){const{line:n,target:o,property:r,color:i,scale:s,clip:c}=e,d=qN(n,o,r);for(const{source:h,target:u,start:p,end:y}of d){const{style:{backgroundColor:f=i}={}}=h,k=o!==!0;a.save(),a.fillStyle=f,YN(a,s,c,k&&$I(r,p,y)),a.beginPath();const m=!!n.pathSegment(a,h);let g;if(k){m?a.closePath():Jz(a,o,y,r);const w=!!o.pathSegment(a,u,{move:m,reverse:!0});g=m&&w,g||Jz(a,o,p,r)}a.closePath(),a.fill(g?"evenodd":"nonzero"),a.restore()}}function YN(a,e,n,o){const r=e.chart.chartArea,{property:i,start:s,end:c}=o||{};if(i==="x"||i==="y"){let d,h,u,p;i==="x"?(d=s,h=r.top,u=c,p=r.bottom):(d=r.left,h=s,u=r.right,p=c),a.beginPath(),n&&(d=Math.max(d,n.left),u=Math.min(u,n.right),h=Math.max(h,n.top),p=Math.min(p,n.bottom)),a.rect(d,h,u-d,p-h),a.clip()}}function Jz(a,e,n,o){const r=e.interpolate(n,o);r&&a.lineTo(r.x,r.y)}var QN={id:"filler",afterDatasetsUpdate(a,e,n){const o=(a.data.datasets||[]).length,r=[];let i,s,c,d;for(s=0;s<o;++s)i=a.getDatasetMeta(s),c=i.dataset,d=null,c&&c.options&&c instanceof va&&(d={visible:a.isDatasetVisible(s),index:s,fill:EN(c,s,o),chart:a,axis:i.controller.options.indexAxis,scale:i.vScale,line:c}),i.$filler=d,r.push(d);for(s=0;s<o;++s)d=r[s],!(!d||d.fill===!1)&&(d.fill=DN(r,s,n.propagate))},beforeDraw(a,e,n){const o=n.drawTime==="beforeDraw",r=a.getSortedVisibleDatasetMetas(),i=a.chartArea;for(let s=r.length-1;s>=0;--s){const c=r[s].$filler;c&&(c.line.updateControlPoints(i,c.axis),o&&c.fill&&UI(a.ctx,c,i))}},beforeDatasetsDraw(a,e,n){if(n.drawTime!=="beforeDatasetsDraw")return;const o=a.getSortedVisibleDatasetMetas();for(let r=o.length-1;r>=0;--r){const i=o[r].$filler;Xz(i)&&UI(a.ctx,i,a.chartArea)}},beforeDatasetDraw(a,e,n){const o=e.meta.$filler;!Xz(o)||n.drawTime!=="beforeDatasetDraw"||UI(a.ctx,o,a.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const eV=(a,e)=>{let{boxHeight:n=e,boxWidth:o=e}=a;return a.usePointStyle&&(n=Math.min(n,e),o=a.pointStyleWidth||Math.min(o,e)),{boxWidth:o,boxHeight:n,itemHeight:Math.max(e,n)}},JN=(a,e)=>a!==null&&e!==null&&a.datasetIndex===e.datasetIndex&&a.index===e.index;class tV extends Jt{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,n,o){this.maxWidth=e,this.maxHeight=n,this._margins=o,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const e=this.options.labels||{};let n=Be(e.generateLabels,[this.chart],this)||[];e.filter&&(n=n.filter(o=>e.filter(o,this.chart.data))),e.sort&&(n=n.sort((o,r)=>e.sort(o,r,this.chart.data))),this.options.reverse&&n.reverse(),this.legendItems=n}fit(){const{options:e,ctx:n}=this;if(!e.display){this.width=this.height=0;return}const o=e.labels,r=Ue(o.font),i=r.size,s=this._computeTitleHeight(),{boxWidth:c,itemHeight:d}=eV(o,i);let h,u;n.font=r.string,this.isHorizontal()?(h=this.maxWidth,u=this._fitRows(s,i,c,d)+10):(u=this.maxHeight,h=this._fitCols(s,r,c,d)+10),this.width=Math.min(h,e.maxWidth||this.maxWidth),this.height=Math.min(u,e.maxHeight||this.maxHeight)}_fitRows(e,n,o,r){const{ctx:i,maxWidth:s,options:{labels:{padding:c}}}=this,d=this.legendHitBoxes=[],h=this.lineWidths=[0],u=r+c;let p=e;i.textAlign="left",i.textBaseline="middle";let y=-1,f=-u;return this.legendItems.forEach((k,m)=>{const g=o+n/2+i.measureText(k.text).width;(m===0||h[h.length-1]+g+2*c>s)&&(p+=u,h[h.length-(m>0?0:1)]=0,f+=u,y++),d[m]={left:0,top:f,row:y,width:g,height:r},h[h.length-1]+=g+c}),p}_fitCols(e,n,o,r){const{ctx:i,maxHeight:s,options:{labels:{padding:c}}}=this,d=this.legendHitBoxes=[],h=this.columnSizes=[],u=s-e;let p=c,y=0,f=0,k=0,m=0;return this.legendItems.forEach((g,w)=>{const{itemWidth:S,itemHeight:v}=e$(o,n,i,g,r);w>0&&f+v+2*c>u&&(p+=y+c,h.push({width:y,height:f}),k+=y+c,m++,y=f=0),d[w]={left:k,top:f,col:m,width:S,height:v},y=Math.max(y,S),f+=v+c}),p+=y,h.push({width:y,height:f}),p}adjustHitBoxes(){if(!this.options.display)return;const e=this._computeTitleHeight(),{legendHitBoxes:n,options:{align:o,labels:{padding:r},rtl:i}}=this,s=Ss(i,this.left,this.width);if(this.isHorizontal()){let c=0,d=$e(o,this.left+r,this.right-this.lineWidths[c]);for(const h of n)c!==h.row&&(c=h.row,d=$e(o,this.left+r,this.right-this.lineWidths[c])),h.top+=this.top+e+r,h.left=s.leftForLtr(s.x(d),h.width),d+=h.width+r}else{let c=0,d=$e(o,this.top+e+r,this.bottom-this.columnSizes[c].height);for(const h of n)h.col!==c&&(c=h.col,d=$e(o,this.top+e+r,this.bottom-this.columnSizes[c].height)),h.top=d,h.left+=this.left+r,h.left=s.leftForLtr(s.x(h.left),h.width),d+=h.height+r}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const e=this.ctx;PL(e,this),this._draw(),DL(e)}}_draw(){const{options:e,columnSizes:n,lineWidths:o,ctx:r}=this,{align:i,labels:s}=e,c=Te.color,d=Ss(e.rtl,this.left,this.width),h=Ue(s.font),{padding:u}=s,p=h.size,y=p/2;let f;this.drawTitle(),r.textAlign=d.textAlign("left"),r.textBaseline="middle",r.lineWidth=.5,r.font=h.string;const{boxWidth:k,boxHeight:m,itemHeight:g}=eV(s,p),w=function(x,b,L){if(isNaN(k)||k<=0||isNaN(m)||m<0)return;r.save();const I=ge(L.lineWidth,1);if(r.fillStyle=ge(L.fillStyle,c),r.lineCap=ge(L.lineCap,"butt"),r.lineDashOffset=ge(L.lineDashOffset,0),r.lineJoin=ge(L.lineJoin,"miter"),r.lineWidth=I,r.strokeStyle=ge(L.strokeStyle,c),r.setLineDash(ge(L.lineDash,[])),s.usePointStyle){const V={radius:m*Math.SQRT2/2,pointStyle:L.pointStyle,rotation:L.rotation,borderWidth:I},A=d.xPlus(x,k/2),q=b+y;TB(r,V,A,q,s.pointStyleWidth&&k)}else{const V=b+Math.max((p-m)/2,0),A=d.leftForLtr(x,k),q=vs(L.borderRadius);r.beginPath(),Object.values(q).some(O=>O!==0)?EL(r,{x:A,y:V,w:k,h:m,radius:q}):r.rect(A,V,k,m),r.fill(),I!==0&&r.stroke()}r.restore()},S=function(x,b,L){v1(r,L.text,x,b+g/2,h,{strikethrough:L.hidden,textAlign:d.textAlign(L.textAlign)})},v=this.isHorizontal(),M=this._computeTitleHeight();v?f={x:$e(i,this.left+u,this.right-o[0]),y:this.top+u+M,line:0}:f={x:this.left+u,y:$e(i,this.top+M+u,this.bottom-n[0].height),line:0},KB(this.ctx,e.textDirection);const C=g+u;this.legendItems.forEach((x,b)=>{r.strokeStyle=x.fontColor,r.fillStyle=x.fontColor;const L=r.measureText(x.text).width,I=d.textAlign(x.textAlign||(x.textAlign=s.textAlign)),V=k+y+L;let A=f.x,q=f.y;d.setWidth(this.width),v?b>0&&A+V+u>this.right&&(q=f.y+=C,f.line++,A=f.x=$e(i,this.left+u,this.right-o[f.line])):b>0&&q+C>this.bottom&&(A=f.x=A+n[f.line].width+u,f.line++,q=f.y=$e(i,this.top+M+u,this.bottom-n[f.line].height));const O=d.x(A);if(w(O,q,x),A=BO(I,A+k+y,v?A+V:this.right,e.rtl),S(d.x(A),q,x),v)f.x+=V+u;else if(typeof x.text!="string"){const H=h.lineHeight;f.y+=aV(x,H)+u}else f.y+=C}),XB(this.ctx,e.textDirection)}drawTitle(){const e=this.options,n=e.title,o=Ue(n.font),r=ht(n.padding);if(!n.display)return;const i=Ss(e.rtl,this.left,this.width),s=this.ctx,c=n.position,d=o.size/2,h=r.top+d;let u,p=this.left,y=this.width;if(this.isHorizontal())y=Math.max(...this.lineWidths),u=this.top+h,p=$e(e.align,p,this.right-y);else{const k=this.columnSizes.reduce((m,g)=>Math.max(m,g.height),0);u=h+$e(e.align,this.top,this.bottom-k-e.labels.padding-this._computeTitleHeight())}const f=$e(c,p,p+y);s.textAlign=i.textAlign(mI(c)),s.textBaseline="middle",s.strokeStyle=n.color,s.fillStyle=n.color,s.font=o.string,v1(s,n.text,f,u,o)}_computeTitleHeight(){const e=this.options.title,n=Ue(e.font),o=ht(e.padding);return e.display?n.lineHeight+o.height:0}_getLegendItemAt(e,n){let o,r,i;if(Yt(e,this.left,this.right)&&Yt(n,this.top,this.bottom)){for(i=this.legendHitBoxes,o=0;o<i.length;++o)if(r=i[o],Yt(e,r.left,r.left+r.width)&&Yt(n,r.top,r.top+r.height))return this.legendItems[o]}return null}handleEvent(e){const n=this.options;if(!n$(e.type,n))return;const o=this._getLegendItemAt(e.x,e.y);if(e.type==="mousemove"||e.type==="mouseout"){const r=this._hoveredItem,i=JN(r,o);r&&!i&&Be(n.onLeave,[e,r,this],this),this._hoveredItem=o,o&&!i&&Be(n.onHover,[e,o,this],this)}else o&&Be(n.onClick,[e,o,this],this)}}function e$(a,e,n,o,r){const i=t$(o,a,e,n),s=a$(r,o,e.lineHeight);return{itemWidth:i,itemHeight:s}}function t$(a,e,n,o){let r=a.text;return r&&typeof r!="string"&&(r=r.reduce((i,s)=>i.length>s.length?i:s)),e+n.size/2+o.measureText(r).width}function a$(a,e,n){let o=a;return typeof e.text!="string"&&(o=aV(e,n)),o}function aV(a,e){const n=a.text?a.text.length:0;return e*n}function n$(a,e){return!!((a==="mousemove"||a==="mouseout")&&(e.onHover||e.onLeave)||e.onClick&&(a==="click"||a==="mouseup"))}var o$={id:"legend",_element:tV,start(a,e,n){const o=a.legend=new tV({ctx:a.ctx,options:n,chart:a});ut.configure(a,o,n),ut.addBox(a,o)},stop(a){ut.removeBox(a,a.legend),delete a.legend},beforeUpdate(a,e,n){const o=a.legend;ut.configure(a,o,n),o.options=n},afterUpdate(a){const e=a.legend;e.buildLabels(),e.adjustHitBoxes()},afterEvent(a,e){e.replay||a.legend.handleEvent(e.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(a,e,n){const o=e.datasetIndex,r=n.chart;r.isDatasetVisible(o)?(r.hide(o),e.hidden=!0):(r.show(o),e.hidden=!1)},onHover:null,onLeave:null,labels:{color:a=>a.chart.options.color,boxWidth:40,padding:10,generateLabels(a){const e=a.data.datasets,{labels:{usePointStyle:n,pointStyle:o,textAlign:r,color:i,useBorderRadius:s,borderRadius:c}}=a.legend.options;return a._getSortedDatasetMetas().map(d=>{const h=d.controller.getStyle(n?0:void 0),u=ht(h.borderWidth);return{text:e[d.index].label,fillStyle:h.backgroundColor,fontColor:i,hidden:!d.visible,lineCap:h.borderCapStyle,lineDash:h.borderDash,lineDashOffset:h.borderDashOffset,lineJoin:h.borderJoinStyle,lineWidth:(u.width+u.height)/4,strokeStyle:h.borderColor,pointStyle:o||h.pointStyle,rotation:h.rotation,textAlign:r||h.textAlign,borderRadius:s&&(c||h.borderRadius),datasetIndex:d.index}},this)}},title:{color:a=>a.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:a=>!a.startsWith("on"),labels:{_scriptable:a=>!["generateLabels","filter","sort"].includes(a)}}};class nV extends Jt{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,n){const o=this.options;if(this.left=0,this.top=0,!o.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=e,this.height=this.bottom=n;const r=He(o.text)?o.text.length:1;this._padding=ht(o.padding);const i=r*Ue(o.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=i:this.width=i}isHorizontal(){const e=this.options.position;return e==="top"||e==="bottom"}_drawArgs(e){const{top:n,left:o,bottom:r,right:i,options:s}=this,c=s.align;let d=0,h,u,p;return this.isHorizontal()?(u=$e(c,o,i),p=n+e,h=i-o):(s.position==="left"?(u=o+e,p=$e(c,r,n),d=Se*-.5):(u=i-e,p=$e(c,n,r),d=Se*.5),h=r-n),{titleX:u,titleY:p,maxWidth:h,rotation:d}}draw(){const e=this.ctx,n=this.options;if(!n.display)return;const o=Ue(n.font),i=o.lineHeight/2+this._padding.top,{titleX:s,titleY:c,maxWidth:d,rotation:h}=this._drawArgs(i);v1(e,n.text,0,0,o,{color:n.color,maxWidth:d,rotation:h,textAlign:mI(n.align),textBaseline:"middle",translation:[s,c]})}}function r$(a,e){const n=new nV({ctx:a.ctx,options:e,chart:a});ut.configure(a,n,e),ut.addBox(a,n),a.titleBlock=n}var i$={id:"title",_element:nV,start(a,e,n){r$(a,n)},stop(a){const e=a.titleBlock;ut.removeBox(a,e),delete a.titleBlock},beforeUpdate(a,e,n){const o=a.titleBlock;ut.configure(a,o,n),o.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const V1={average(a){if(!a.length)return!1;let e,n,o=new Set,r=0,i=0;for(e=0,n=a.length;e<n;++e){const c=a[e].element;if(c&&c.hasValue()){const d=c.tooltipPosition();o.add(d.x),r+=d.y,++i}}return i===0||o.size===0?!1:{x:[...o].reduce((c,d)=>c+d)/o.size,y:r/i}},nearest(a,e){if(!a.length)return!1;let n=e.x,o=e.y,r=Number.POSITIVE_INFINITY,i,s,c;for(i=0,s=a.length;i<s;++i){const d=a[i].element;if(d&&d.hasValue()){const h=d.getCenterPoint(),u=fI(e,h);u<r&&(r=u,c=d)}}if(c){const d=c.tooltipPosition();n=d.x,o=d.y}return{x:n,y:o}}};function Ft(a,e){return e&&(He(e)?Array.prototype.push.apply(a,e):a.push(e)),a}function ta(a){return(typeof a=="string"||a instanceof String)&&a.indexOf(`
|
|
8518
8518
|
`)>-1?a.split(`
|
|
8519
|
-
`):a}function s$(a,e){const{element:n,datasetIndex:o,index:r}=e,i=a.getDatasetMeta(o).controller,{label:s,value:c}=i.getLabelAndValue(r);return{chart:a,label:s,parsed:i.getParsed(r),raw:a.data.datasets[o].data[r],formattedValue:c,dataset:i.getDataset(),dataIndex:r,datasetIndex:o,element:n}}function nz(a,e){const n=a.chart.ctx,{body:o,footer:r,title:i}=a,{boxWidth:s,boxHeight:c}=e,d=Ue(e.bodyFont),h=Ue(e.titleFont),u=Ue(e.footerFont),p=i.length,y=r.length,f=o.length,k=ht(e.padding);let m=k.height,g=0,w=o.reduce((M,C)=>M+C.before.length+C.lines.length+C.after.length,0);if(w+=a.beforeBody.length+a.afterBody.length,p&&(m+=p*h.lineHeight+(p-1)*e.titleSpacing+e.titleMarginBottom),w){const M=e.displayColors?Math.max(c,d.lineHeight):d.lineHeight;m+=f*M+(w-f)*d.lineHeight+(w-1)*e.bodySpacing}y&&(m+=e.footerMarginTop+y*u.lineHeight+(y-1)*e.footerSpacing);let S=0;const v=function(M){g=Math.max(g,n.measureText(M).width+S)};return n.save(),n.font=h.string,Le(a.title,v),n.font=d.string,Le(a.beforeBody.concat(a.afterBody),v),S=e.displayColors?s+2+e.boxPadding:0,Le(o,M=>{Le(M.before,v),Le(M.lines,v),Le(M.after,v)}),S=0,n.font=u.string,Le(a.footer,v),n.restore(),g+=k.width,{width:g,height:m}}function l$(a,e){const{y:n,height:o}=e;return n<o/2?"top":n>a.height-o/2?"bottom":"center"}function c$(a,e,n,o){const{x:r,width:i}=o,s=n.caretSize+n.caretPadding;if(a==="left"&&r+i+s>e.width||a==="right"&&r-i-s<0)return!0}function d$(a,e,n,o){const{x:r,width:i}=n,{width:s,chartArea:{left:c,right:d}}=a;let h="center";return o==="center"?h=r<=(c+d)/2?"left":"right":r<=i/2?h="left":r>=s-i/2&&(h="right"),c$(h,a,e,n)&&(h="center"),h}function oz(a,e,n){const o=n.yAlign||e.yAlign||l$(a,n);return{xAlign:n.xAlign||e.xAlign||d$(a,e,n,o),yAlign:o}}function h$(a,e){let{x:n,width:o}=a;return e==="right"?n-=o:e==="center"&&(n-=o/2),n}function u$(a,e,n){let{y:o,height:r}=a;return e==="top"?o+=n:e==="bottom"?o-=r+n:o-=r/2,o}function rz(a,e,n,o){const{caretSize:r,caretPadding:i,cornerRadius:s}=a,{xAlign:c,yAlign:d}=n,h=r+i,{topLeft:u,topRight:p,bottomLeft:y,bottomRight:f}=vs(s);let k=h$(e,c);const m=u$(e,d,h);return d==="center"?c==="left"?k+=h:c==="right"&&(k-=h):c==="left"?k-=Math.max(u,y)+r:c==="right"&&(k+=Math.max(p,f)+r),{x:Ne(k,0,o.width-e.width),y:Ne(m,0,o.height-e.height)}}function aS(a,e,n){const o=ht(n.padding);return e==="center"?a.x+a.width/2:e==="right"?a.x+a.width-o.right:a.x+o.left}function iz(a){return Ft([],ta(a))}function p$(a,e,n){return Yi(a,{tooltip:e,tooltipItems:n,type:"tooltip"})}function sz(a,e){const n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?a.override(n):a}const lz={beforeTitle:Xt,title(a){if(a.length>0){const e=a[0],n=e.chart.data.labels,o=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return e.dataset.label||"";if(e.label)return e.label;if(o>0&&e.dataIndex<o)return n[e.dataIndex]}return""},afterTitle:Xt,beforeBody:Xt,beforeLabel:Xt,label(a){if(this&&this.options&&this.options.mode==="dataset")return a.label+": "+a.formattedValue||a.formattedValue;let e=a.dataset.label||"";e&&(e+=": ");const n=a.formattedValue;return Ce(n)||(e+=n),e},labelColor(a){const n=a.chart.getDatasetMeta(a.datasetIndex).controller.getStyle(a.dataIndex);return{borderColor:n.borderColor,backgroundColor:n.backgroundColor,borderWidth:n.borderWidth,borderDash:n.borderDash,borderDashOffset:n.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(a){const n=a.chart.getDatasetMeta(a.datasetIndex).controller.getStyle(a.dataIndex);return{pointStyle:n.pointStyle,rotation:n.rotation}},afterLabel:Xt,afterBody:Xt,beforeFooter:Xt,footer:Xt,afterFooter:Xt};function Ye(a,e,n,o){const r=a[e].call(n,o);return typeof r>"u"?lz[e].call(n,o):r}class GI extends Jt{constructor(e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const e=this._cachedAnimations;if(e)return e;const n=this.chart,o=this.options.setContext(this.getContext()),r=o.enabled&&n.options.animation&&o.animations,i=new nV(this.chart,r);return r._cacheable&&(this._cachedAnimations=Object.freeze(i)),i}getContext(){return this.$context||(this.$context=p$(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,n){const{callbacks:o}=n,r=Ye(o,"beforeTitle",this,e),i=Ye(o,"title",this,e),s=Ye(o,"afterTitle",this,e);let c=[];return c=Ft(c,ta(r)),c=Ft(c,ta(i)),c=Ft(c,ta(s)),c}getBeforeBody(e,n){return iz(Ye(n.callbacks,"beforeBody",this,e))}getBody(e,n){const{callbacks:o}=n,r=[];return Le(e,i=>{const s={before:[],lines:[],after:[]},c=sz(o,i);Ft(s.before,ta(Ye(c,"beforeLabel",this,i))),Ft(s.lines,Ye(c,"label",this,i)),Ft(s.after,ta(Ye(c,"afterLabel",this,i))),r.push(s)}),r}getAfterBody(e,n){return iz(Ye(n.callbacks,"afterBody",this,e))}getFooter(e,n){const{callbacks:o}=n,r=Ye(o,"beforeFooter",this,e),i=Ye(o,"footer",this,e),s=Ye(o,"afterFooter",this,e);let c=[];return c=Ft(c,ta(r)),c=Ft(c,ta(i)),c=Ft(c,ta(s)),c}_createItems(e){const n=this._active,o=this.chart.data,r=[],i=[],s=[];let c=[],d,h;for(d=0,h=n.length;d<h;++d)c.push(s$(this.chart,n[d]));return e.filter&&(c=c.filter((u,p,y)=>e.filter(u,p,y,o))),e.itemSort&&(c=c.sort((u,p)=>e.itemSort(u,p,o))),Le(c,u=>{const p=sz(e.callbacks,u);r.push(Ye(p,"labelColor",this,u)),i.push(Ye(p,"labelPointStyle",this,u)),s.push(Ye(p,"labelTextColor",this,u))}),this.labelColors=r,this.labelPointStyles=i,this.labelTextColors=s,this.dataPoints=c,c}update(e,n){const o=this.options.setContext(this.getContext()),r=this._active;let i,s=[];if(!r.length)this.opacity!==0&&(i={opacity:0});else{const c=z1[o.position].call(this,r,this._eventPosition);s=this._createItems(o),this.title=this.getTitle(s,o),this.beforeBody=this.getBeforeBody(s,o),this.body=this.getBody(s,o),this.afterBody=this.getAfterBody(s,o),this.footer=this.getFooter(s,o);const d=this._size=nz(this,o),h=Object.assign({},c,d),u=oz(this.chart,o,h),p=rz(o,h,u,this.chart);this.xAlign=u.xAlign,this.yAlign=u.yAlign,i={opacity:1,x:p.x,y:p.y,width:d.width,height:d.height,caretX:c.x,caretY:c.y}}this._tooltipItems=s,this.$context=void 0,i&&this._resolveAnimations().update(this,i),e&&o.external&&o.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(e,n,o,r){const i=this.getCaretPosition(e,o,r);n.lineTo(i.x1,i.y1),n.lineTo(i.x2,i.y2),n.lineTo(i.x3,i.y3)}getCaretPosition(e,n,o){const{xAlign:r,yAlign:i}=this,{caretSize:s,cornerRadius:c}=o,{topLeft:d,topRight:h,bottomLeft:u,bottomRight:p}=vs(c),{x:y,y:f}=e,{width:k,height:m}=n;let g,w,S,v,M,C;return i==="center"?(M=f+m/2,r==="left"?(g=y,w=g-s,v=M+s,C=M-s):(g=y+k,w=g+s,v=M-s,C=M+s),S=g):(r==="left"?w=y+Math.max(d,u)+s:r==="right"?w=y+k-Math.max(h,p)-s:w=this.caretX,i==="top"?(v=f,M=v-s,g=w-s,S=w+s):(v=f+m,M=v+s,g=w+s,S=w-s),C=v),{x1:g,x2:w,x3:S,y1:v,y2:M,y3:C}}drawTitle(e,n,o){const r=this.title,i=r.length;let s,c,d;if(i){const h=Ss(o.rtl,this.x,this.width);for(e.x=aS(this,o.titleAlign,o),n.textAlign=h.textAlign(o.titleAlign),n.textBaseline="middle",s=Ue(o.titleFont),c=o.titleSpacing,n.fillStyle=o.titleColor,n.font=s.string,d=0;d<i;++d)n.fillText(r[d],h.x(e.x),e.y+s.lineHeight/2),e.y+=s.lineHeight+c,d+1===i&&(e.y+=o.titleMarginBottom-c)}}_drawColorBox(e,n,o,r,i){const s=this.labelColors[o],c=this.labelPointStyles[o],{boxHeight:d,boxWidth:h}=i,u=Ue(i.bodyFont),p=aS(this,"left",i),y=r.x(p),f=d<u.lineHeight?(u.lineHeight-d)/2:0,k=n.y+f;if(i.usePointStyle){const m={radius:Math.min(h,d)/2,pointStyle:c.pointStyle,rotation:c.rotation,borderWidth:1},g=r.leftForLtr(y,h)+h/2,w=k+d/2;e.strokeStyle=i.multiKeyBackground,e.fillStyle=i.multiKeyBackground,vI(e,m,g,w),e.strokeStyle=s.borderColor,e.fillStyle=s.backgroundColor,vI(e,m,g,w)}else{e.lineWidth=be(s.borderWidth)?Math.max(...Object.values(s.borderWidth)):s.borderWidth||1,e.strokeStyle=s.borderColor,e.setLineDash(s.borderDash||[]),e.lineDashOffset=s.borderDashOffset||0;const m=r.leftForLtr(y,h),g=r.leftForLtr(r.xPlus(y,1),h-2),w=vs(s.borderRadius);Object.values(w).some(S=>S!==0)?(e.beginPath(),e.fillStyle=i.multiKeyBackground,EL(e,{x:m,y:k,w:h,h:d,radius:w}),e.fill(),e.stroke(),e.fillStyle=s.backgroundColor,e.beginPath(),EL(e,{x:g,y:k+1,w:h-2,h:d-2,radius:w}),e.fill()):(e.fillStyle=i.multiKeyBackground,e.fillRect(m,k,h,d),e.strokeRect(m,k,h,d),e.fillStyle=s.backgroundColor,e.fillRect(g,k+1,h-2,d-2))}e.fillStyle=this.labelTextColors[o]}drawBody(e,n,o){const{body:r}=this,{bodySpacing:i,bodyAlign:s,displayColors:c,boxHeight:d,boxWidth:h,boxPadding:u}=o,p=Ue(o.bodyFont);let y=p.lineHeight,f=0;const k=Ss(o.rtl,this.x,this.width),m=function(L){n.fillText(L,k.x(e.x+f),e.y+y/2),e.y+=y+i},g=k.textAlign(s);let w,S,v,M,C,x,b;for(n.textAlign=s,n.textBaseline="middle",n.font=p.string,e.x=aS(this,g,o),n.fillStyle=o.bodyColor,Le(this.beforeBody,m),f=c&&g!=="right"?s==="center"?h/2+u:h+2+u:0,M=0,x=r.length;M<x;++M){for(w=r[M],S=this.labelTextColors[M],n.fillStyle=S,Le(w.before,m),v=w.lines,c&&v.length&&(this._drawColorBox(n,e,M,k,o),y=Math.max(p.lineHeight,d)),C=0,b=v.length;C<b;++C)m(v[C]),y=p.lineHeight;Le(w.after,m)}f=0,y=p.lineHeight,Le(this.afterBody,m),e.y-=i}drawFooter(e,n,o){const r=this.footer,i=r.length;let s,c;if(i){const d=Ss(o.rtl,this.x,this.width);for(e.x=aS(this,o.footerAlign,o),e.y+=o.footerMarginTop,n.textAlign=d.textAlign(o.footerAlign),n.textBaseline="middle",s=Ue(o.footerFont),n.fillStyle=o.footerColor,n.font=s.string,c=0;c<i;++c)n.fillText(r[c],d.x(e.x),e.y+s.lineHeight/2),e.y+=s.lineHeight+o.footerSpacing}}drawBackground(e,n,o,r){const{xAlign:i,yAlign:s}=this,{x:c,y:d}=e,{width:h,height:u}=o,{topLeft:p,topRight:y,bottomLeft:f,bottomRight:k}=vs(r.cornerRadius);n.fillStyle=r.backgroundColor,n.strokeStyle=r.borderColor,n.lineWidth=r.borderWidth,n.beginPath(),n.moveTo(c+p,d),s==="top"&&this.drawCaret(e,n,o,r),n.lineTo(c+h-y,d),n.quadraticCurveTo(c+h,d,c+h,d+y),s==="center"&&i==="right"&&this.drawCaret(e,n,o,r),n.lineTo(c+h,d+u-k),n.quadraticCurveTo(c+h,d+u,c+h-k,d+u),s==="bottom"&&this.drawCaret(e,n,o,r),n.lineTo(c+f,d+u),n.quadraticCurveTo(c,d+u,c,d+u-f),s==="center"&&i==="left"&&this.drawCaret(e,n,o,r),n.lineTo(c,d+p),n.quadraticCurveTo(c,d,c+p,d),n.closePath(),n.fill(),r.borderWidth>0&&n.stroke()}_updateAnimationTarget(e){const n=this.chart,o=this.$animations,r=o&&o.x,i=o&&o.y;if(r||i){const s=z1[e.position].call(this,this._active,this._eventPosition);if(!s)return;const c=this._size=nz(this,e),d=Object.assign({},s,this._size),h=oz(n,e,d),u=rz(e,d,h,n);(r._to!==u.x||i._to!==u.y)&&(this.xAlign=h.xAlign,this.yAlign=h.yAlign,this.width=c.width,this.height=c.height,this.caretX=s.x,this.caretY=s.y,this._resolveAnimations().update(this,u))}}_willRender(){return!!this.opacity}draw(e){const n=this.options.setContext(this.getContext());let o=this.opacity;if(!o)return;this._updateAnimationTarget(n);const r={width:this.width,height:this.height},i={x:this.x,y:this.y};o=Math.abs(o)<.001?0:o;const s=ht(n.padding),c=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&c&&(e.save(),e.globalAlpha=o,this.drawBackground(i,e,r,n),GB(e,n.textDirection),i.y+=s.top,this.drawTitle(i,e,n),this.drawBody(i,e,n),this.drawFooter(i,e,n),KB(e,n.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,n){const o=this._active,r=e.map(({datasetIndex:c,index:d})=>{const h=this.chart.getDatasetMeta(c);if(!h)throw new Error("Cannot find a dataset at index "+c);return{datasetIndex:c,element:h.data[d],index:d}}),i=!BL(o,r),s=this._positionChanged(r,n);(i||s)&&(this._active=r,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,n,o=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const r=this.options,i=this._active||[],s=this._getActiveElements(e,i,n,o),c=this._positionChanged(s,e),d=n||!BL(s,i)||c;return d&&(this._active=s,(r.enabled||r.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,n))),d}_getActiveElements(e,n,o,r){const i=this.options;if(e.type==="mouseout")return[];if(!r)return n.filter(c=>this.chart.data.datasets[c.datasetIndex]&&this.chart.getDatasetMeta(c.datasetIndex).controller.getParsed(c.index)!==void 0);const s=this.chart.getElementsAtEventForMode(e,i.mode,i,o);return i.reverse&&s.reverse(),s}_positionChanged(e,n){const{caretX:o,caretY:r,options:i}=this,s=z1[i.position].call(this,e,n);return s!==!1&&(o!==s.x||r!==s.y)}}se(GI,"positioners",z1);var y$={id:"tooltip",_element:GI,positioners:z1,afterInit(a,e,n){n&&(a.tooltip=new GI({chart:a,options:n}))},beforeUpdate(a,e,n){a.tooltip&&a.tooltip.initialize(n)},reset(a,e,n){a.tooltip&&a.tooltip.initialize(n)},afterDraw(a){const e=a.tooltip;if(e&&e._willRender()){const n={tooltip:e};if(a.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0})===!1)return;e.draw(a.ctx),a.notifyPlugins("afterTooltipDraw",n)}},afterEvent(a,e){if(a.tooltip){const n=e.replay;a.tooltip.handleEvent(e.event,n,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(a,e)=>e.bodyFont.size,boxWidth:(a,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:lz},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:a=>a!=="filter"&&a!=="itemSort"&&a!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const f$=(a,e,n,o)=>(typeof e=="string"?(n=a.push(e)-1,o.unshift({index:n,label:e})):isNaN(e)&&(n=null),n);function k$(a,e,n,o){const r=a.indexOf(e);if(r===-1)return f$(a,e,n,o);const i=a.lastIndexOf(e);return r!==i?n:r}const m$=(a,e)=>a===null?null:Ne(Math.round(a),0,e);function cz(a){const e=this.getLabels();return a>=0&&a<e.length?e[a]:a}class KI extends _s{constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){const n=this._addedLabels;if(n.length){const o=this.getLabels();for(const{index:r,label:i}of n)o[r]===i&&o.splice(r,1);this._addedLabels=[]}super.init(e)}parse(e,n){if(Ce(e))return null;const o=this.getLabels();return n=isFinite(n)&&o[n]===e?n:k$(o,e,ge(n,e),this._addedLabels),m$(n,o.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:n}=this.getUserBounds();let{min:o,max:r}=this.getMinMax(!0);this.options.bounds==="ticks"&&(e||(o=0),n||(r=this.getLabels().length-1)),this.min=o,this.max=r}buildTicks(){const e=this.min,n=this.max,o=this.options.offset,r=[];let i=this.getLabels();i=e===0&&n===i.length-1?i:i.slice(e,n+1),this._valueRange=Math.max(i.length-(o?0:1),1),this._startValue=this.min-(o?.5:0);for(let s=e;s<=n;s++)r.push({value:s});return r}getLabelForValue(e){return cz.call(this,e)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(e){return typeof e!="number"&&(e=this.parse(e)),e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getPixelForTick(e){const n=this.ticks;return e<0||e>n.length-1?null:this.getPixelForValue(n[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}}se(KI,"id","category"),se(KI,"defaults",{ticks:{callback:cz}});function g$(a,e){const n=[],{bounds:r,step:i,min:s,max:c,precision:d,count:h,maxTicks:u,maxDigits:p,includeBounds:y}=a,f=i||1,k=u-1,{min:m,max:g}=e,w=!Ce(s),S=!Ce(c),v=!Ce(h),M=(g-m)/(p+1);let C=xB((g-m)/k/f)*f,x,b,L,I;if(C<1e-14&&!w&&!S)return[{value:m},{value:g}];I=Math.ceil(g/C)-Math.floor(m/C),I>k&&(C=xB(I*C/k/f)*f),Ce(d)||(x=Math.pow(10,d),C=Math.ceil(C*x)/x),r==="ticks"?(b=Math.floor(m/C)*C,L=Math.ceil(g/C)*C):(b=m,L=g),w&&S&&i&&xO((c-s)/i,C/1e3)?(I=Math.round(Math.min((c-s)/C,u)),C=(c-s)/I,b=s,L=c):v?(b=w?s:b,L=S?c:L,I=h-1,C=(L-b)/I):(I=(L-b)/C,m1(I,Math.round(I),C/1e3)?I=Math.round(I):I=Math.ceil(I));const z=Math.max(wB(C),wB(b));x=Math.pow(10,Ce(d)?z:d),b=Math.round(b*x)/x,L=Math.round(L*x)/x;let A=0;for(w&&(y&&b!==s?(n.push({value:s}),b<s&&A++,m1(Math.round((b+A*C)*x)/x,s,dz(s,M,a))&&A++):b<s&&A++);A<I;++A){const q=Math.round((b+A*C)*x)/x;if(S&&q>c)break;n.push({value:q})}return S&&y&&L!==c?n.length&&m1(n[n.length-1].value,c,dz(c,M,a))?n[n.length-1].value=c:n.push({value:c}):(!S||L===c)&&n.push({value:L}),n}function dz(a,e,{horizontal:n,minRotation:o}){const r=Zt(o),i=(n?Math.sin(r):Math.cos(r))||.001,s=.75*e*(""+a).length;return Math.min(e/i,s)}class M$ extends _s{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,n){return Ce(e)||(typeof e=="number"||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){const{beginAtZero:e}=this.options,{minDefined:n,maxDefined:o}=this.getUserBounds();let{min:r,max:i}=this;const s=d=>r=n?r:d,c=d=>i=o?i:d;if(e){const d=jt(r),h=jt(i);d<0&&h<0?c(0):d>0&&h>0&&s(0)}if(r===i){let d=i===0?1:Math.abs(i*.05);c(i+d),e||s(r-d)}this.min=r,this.max=i}getTickLimit(){const e=this.options.ticks;let{maxTicksLimit:n,stepSize:o}=e,r;return o?(r=Math.ceil(this.max/o)-Math.floor(this.min/o)+1,r>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${o} would result generating up to ${r} ticks. Limiting to 1000.`),r=1e3)):(r=this.computeTickLimit(),n=n||11),n&&(r=Math.min(n,r)),r}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,n=e.ticks;let o=this.getTickLimit();o=Math.max(2,o);const r={maxTicks:o,bounds:e.bounds,min:e.min,max:e.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},i=this._range||this,s=g$(r,i);return e.bounds==="ticks"&&wO(s,this,"value"),e.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}configure(){const e=this.ticks;let n=this.min,o=this.max;if(super.configure(),this.options.offset&&e.length){const r=(o-n)/Math.max(e.length-1,1)/2;n-=r,o+=r}this._startValue=n,this._endValue=o,this._valueRange=o-n}getLabelForValue(e){return bI(e,this.chart.options.locale,this.options.ticks.format)}}class XI extends M${determineDataLimits(){const{min:e,max:n}=this.getMinMax(!0);this.min=Re(e)?e:0,this.max=Re(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),n=e?this.width:this.height,o=Zt(this.options.ticks.minRotation),r=(e?Math.sin(o):Math.cos(o))||.001,i=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,i.lineHeight/r))}getPixelForValue(e){return e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}se(XI,"id","linear"),se(XI,"defaults",{ticks:{callback:qB.formatters.numeric}});const nS={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Qe=Object.keys(nS);function hz(a,e){return a-e}function uz(a,e){if(Ce(e))return null;const n=a._adapter,{parser:o,round:r,isoWeekday:i}=a._parseOpts;let s=e;return typeof o=="function"&&(s=o(s)),Re(s)||(s=typeof o=="string"?n.parse(s,o):n.parse(s)),s===null?null:(r&&(s=r==="week"&&(g1(i)||i===!0)?n.startOf(s,"isoWeek",i):n.startOf(s,r)),+s)}function pz(a,e,n,o){const r=Qe.length;for(let i=Qe.indexOf(a);i<r-1;++i){const s=nS[Qe[i]],c=s.steps?s.steps:Number.MAX_SAFE_INTEGER;if(s.common&&Math.ceil((n-e)/(c*s.size))<=o)return Qe[i]}return Qe[r-1]}function b$(a,e,n,o,r){for(let i=Qe.length-1;i>=Qe.indexOf(n);i--){const s=Qe[i];if(nS[s].common&&a._adapter.diff(r,o,s)>=e-1)return s}return Qe[n?Qe.indexOf(n):0]}function x$(a){for(let e=Qe.indexOf(a)+1,n=Qe.length;e<n;++e)if(nS[Qe[e]].common)return Qe[e]}function yz(a,e,n){if(!n)a[e]=!0;else if(n.length){const{lo:o,hi:r}=kI(n,e),i=n[o]>=e?n[o]:n[r];a[i]=!0}}function w$(a,e,n,o){const r=a._adapter,i=+r.startOf(e[0].value,o),s=e[e.length-1].value;let c,d;for(c=i;c<=s;c=+r.add(c,1,o))d=n[c],d>=0&&(e[d].major=!0);return e}function fz(a,e,n){const o=[],r={},i=e.length;let s,c;for(s=0;s<i;++s)c=e[s],r[c]=s,o.push({value:c,major:!1});return i===0||!n?o:w$(a,o,r,n)}class oS extends _s{constructor(e){super(e),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(e,n={}){const o=e.time||(e.time={}),r=this._adapter=new oR._date(e.adapters.date);r.init(n),f1(o.displayFormats,r.formats()),this._parseOpts={parser:o.parser,round:o.round,isoWeekday:o.isoWeekday},super.init(e),this._normalized=n.normalized}parse(e,n){return e===void 0?null:uz(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const e=this.options,n=this._adapter,o=e.time.unit||"day";let{min:r,max:i,minDefined:s,maxDefined:c}=this.getUserBounds();function d(h){!s&&!isNaN(h.min)&&(r=Math.min(r,h.min)),!c&&!isNaN(h.max)&&(i=Math.max(i,h.max))}(!s||!c)&&(d(this._getLabelBounds()),(e.bounds!=="ticks"||e.ticks.source!=="labels")&&d(this.getMinMax(!1))),r=Re(r)&&!isNaN(r)?r:+n.startOf(Date.now(),o),i=Re(i)&&!isNaN(i)?i:+n.endOf(Date.now(),o)+1,this.min=Math.min(r,i-1),this.max=Math.max(r+1,i)}_getLabelBounds(){const e=this.getLabelTimestamps();let n=Number.POSITIVE_INFINITY,o=Number.NEGATIVE_INFINITY;return e.length&&(n=e[0],o=e[e.length-1]),{min:n,max:o}}buildTicks(){const e=this.options,n=e.time,o=e.ticks,r=o.source==="labels"?this.getLabelTimestamps():this._generate();e.bounds==="ticks"&&r.length&&(this.min=this._userMin||r[0],this.max=this._userMax||r[r.length-1]);const i=this.min,s=this.max,c=IO(r,i,s);return this._unit=n.unit||(o.autoSkip?pz(n.minUnit,this.min,this.max,this._getLabelCapacity(i)):b$(this,c.length,n.minUnit,this.min,this.max)),this._majorUnit=!o.major.enabled||this._unit==="year"?void 0:x$(this._unit),this.initOffsets(r),e.reverse&&c.reverse(),fz(this,c,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(e=>+e.value))}initOffsets(e=[]){let n=0,o=0,r,i;this.options.offset&&e.length&&(r=this.getDecimalForValue(e[0]),e.length===1?n=1-r:n=(this.getDecimalForValue(e[1])-r)/2,i=this.getDecimalForValue(e[e.length-1]),e.length===1?o=i:o=(i-this.getDecimalForValue(e[e.length-2]))/2);const s=e.length<3?.5:.25;n=Ne(n,0,s),o=Ne(o,0,s),this._offsets={start:n,end:o,factor:1/(n+1+o)}}_generate(){const e=this._adapter,n=this.min,o=this.max,r=this.options,i=r.time,s=i.unit||pz(i.minUnit,n,o,this._getLabelCapacity(n)),c=ge(r.ticks.stepSize,1),d=s==="week"?i.isoWeekday:!1,h=g1(d)||d===!0,u={};let p=n,y,f;if(h&&(p=+e.startOf(p,"isoWeek",d)),p=+e.startOf(p,h?"day":s),e.diff(o,n,s)>1e5*c)throw new Error(n+" and "+o+" are too far apart with stepSize of "+c+" "+s);const k=r.ticks.source==="data"&&this.getDataTimestamps();for(y=p,f=0;y<o;y=+e.add(y,c,s),f++)yz(u,y,k);return(y===o||r.bounds==="ticks"||f===1)&&yz(u,y,k),Object.keys(u).sort(hz).map(m=>+m)}getLabelForValue(e){const n=this._adapter,o=this.options.time;return o.tooltipFormat?n.format(e,o.tooltipFormat):n.format(e,o.displayFormats.datetime)}format(e,n){const r=this.options.time.displayFormats,i=this._unit,s=n||r[i];return this._adapter.format(e,s)}_tickFormatFunction(e,n,o,r){const i=this.options,s=i.ticks.callback;if(s)return Be(s,[e,n,o],this);const c=i.time.displayFormats,d=this._unit,h=this._majorUnit,u=d&&c[d],p=h&&c[h],y=o[n],f=h&&p&&y&&y.major;return this._adapter.format(e,r||(f?p:u))}generateTickLabels(e){let n,o,r;for(n=0,o=e.length;n<o;++n)r=e[n],r.label=this._tickFormatFunction(r.value,n,e)}getDecimalForValue(e){return e===null?NaN:(e-this.min)/(this.max-this.min)}getPixelForValue(e){const n=this._offsets,o=this.getDecimalForValue(e);return this.getPixelForDecimal((n.start+o)*n.factor)}getValueForPixel(e){const n=this._offsets,o=this.getDecimalForPixel(e)/n.factor-n.end;return this.min+o*(this.max-this.min)}_getLabelSize(e){const n=this.options.ticks,o=this.ctx.measureText(e).width,r=Zt(this.isHorizontal()?n.maxRotation:n.minRotation),i=Math.cos(r),s=Math.sin(r),c=this._resolveTickFontOptions(0).size;return{w:o*i+c*s,h:o*s+c*i}}_getLabelCapacity(e){const n=this.options.time,o=n.displayFormats,r=o[n.unit]||o.millisecond,i=this._tickFormatFunction(e,0,fz(this,[e],this._majorUnit),r),s=this._getLabelSize(i),c=Math.floor(this.isHorizontal()?this.width/s.w:this.height/s.h)-1;return c>0?c:1}getDataTimestamps(){let e=this._cache.data||[],n,o;if(e.length)return e;const r=this.getMatchingVisibleMetas();if(this._normalized&&r.length)return this._cache.data=r[0].controller.getAllParsedValues(this);for(n=0,o=r.length;n<o;++n)e=e.concat(r[n].controller.getAllParsedValues(this));return this._cache.data=this.normalize(e)}getLabelTimestamps(){const e=this._cache.labels||[];let n,o;if(e.length)return e;const r=this.getLabels();for(n=0,o=r.length;n<o;++n)e.push(uz(this,r[n]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return SB(e.sort(hz))}}se(oS,"id","time"),se(oS,"defaults",{bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}});function rS(a,e,n){let o=0,r=a.length-1,i,s,c,d;n?(e>=a[o].pos&&e<=a[r].pos&&({lo:o,hi:r}=Ki(a,"pos",e)),{pos:i,time:c}=a[o],{pos:s,time:d}=a[r]):(e>=a[o].time&&e<=a[r].time&&({lo:o,hi:r}=Ki(a,"time",e)),{time:i,pos:c}=a[o],{time:s,pos:d}=a[r]);const h=s-i;return h?c+(d-c)*(e-i)/h:c}class kz extends oS{constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const e=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(e);this._minPos=rS(n,this.min),this._tableRange=rS(n,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){const{min:n,max:o}=this,r=[],i=[];let s,c,d,h,u;for(s=0,c=e.length;s<c;++s)h=e[s],h>=n&&h<=o&&r.push(h);if(r.length<2)return[{time:n,pos:0},{time:o,pos:1}];for(s=0,c=r.length;s<c;++s)u=r[s+1],d=r[s-1],h=r[s],Math.round((u+d)/2)!==h&&i.push({time:h,pos:s/(c-1)});return i}_generate(){const e=this.min,n=this.max;let o=super.getDataTimestamps();return(!o.includes(e)||!o.length)&&o.splice(0,0,e),(!o.includes(n)||o.length===1)&&o.push(n),o.sort((r,i)=>r-i)}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;const n=this.getDataTimestamps(),o=this.getLabelTimestamps();return n.length&&o.length?e=this.normalize(n.concat(o)):e=n.length?n:o,e=this._cache.all=e,e}getDecimalForValue(e){return(rS(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){const n=this._offsets,o=this.getDecimalForPixel(e)/n.factor-n.end;return rS(this._table,o*this._tableRange+this._minPos,!0)}}se(kz,"id","timeseries"),se(kz,"defaults",oS.defaults);const v$={key:0,class:"mb-2 text-sm font-medium text-gray-700"},C$={key:0,class:"text-red-500 ml-1"},L$={key:0,class:"absolute inset-0 flex items-center justify-center bg-white"},S$={key:1,class:"absolute inset-0 flex items-center justify-center bg-red-50 border border-red-200 rounded"},I$={class:"text-red-600 text-sm"},_$={key:1,class:"mt-2 text-xs text-gray-500"},A$={key:0},mz=ga(t.defineComponent({name:"DCodeChart",__name:"DCodeChart",props:{type:{default:"line"},width:{default:400},height:{default:300},required:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},error:{default:null},showInfo:{type:Boolean,default:!1},responsive:{type:Boolean,default:!0},maintainAspectRatio:{type:Boolean,default:!1},theme:{default:"light"},colors:{default:()=>["#3B82F6","#EF4444","#10B981","#F59E0B","#8B5CF6","#EC4899","#14B8A6","#F97316","#6366F1","#84CC16"]},data:{},modelValue:{},options:{},onClick:{},onHover:{},label:{}},emits:["update:modelValue","click","hover","ready"],setup(a,{expose:e,emit:n}){ea.register(KI,XI,JL,va,eS,V1,i$,y$,o$,QN,NL,RL,PI,Is);const o=a,r=n,i=t.ref(null),s=t.shallowRef(null),c=t.ref(null),d=t.computed(()=>({"opacity-50 pointer-events-none":o.loading||o.error})),h=()=>{const y=o.theme==="dark";return{responsive:o.responsive,maintainAspectRatio:o.maintainAspectRatio,animation:{duration:1e3,easing:"easeInOutQuart",delay:f=>{let k=0;return f.type==="data"&&f.mode==="default"&&(k=f.dataIndex*100+f.datasetIndex*50),k},onComplete:()=>{}},plugins:{legend:{position:"top",labels:{color:y?"#E5E7EB":"#374151",font:{size:12}}},tooltip:{backgroundColor:y?"#1F2937":"#FFFFFF",titleColor:y?"#F3F4F6":"#111827",bodyColor:y?"#D1D5DB":"#4B5563",borderColor:y?"#374151":"#E5E7EB",borderWidth:1,animation:{duration:200,easing:"easeInOutQuad"}}},scales:o.type!=="pie"&&o.type!=="doughnut"&&o.type!=="polarArea"?{x:{grid:{color:y?"#374151":"#E5E7EB"},ticks:{color:y?"#D1D5DB":"#6B7280"}},y:{grid:{color:y?"#374151":"#E5E7EB"},ticks:{color:y?"#D1D5DB":"#6B7280"}}}:void 0}},u=y=>!y||!y.datasets?y:{...y,datasets:y.datasets.map((f,k)=>{const m=k%o.colors.length,g=o.colors[m];let w=f.backgroundColor,S=f.borderColor;return["pie","doughnut","polarArea"].includes(o.type)&&(!w||w.length===0)?f.data&&(w=f.data.map((v,M)=>o.colors[M%o.colors.length]+"80"),S=f.data.map((v,M)=>o.colors[M%o.colors.length])):(w=w||g+"40",S=S||g),{...f,borderColor:S,backgroundColor:w,pointBackgroundColor:f.pointBackgroundColor||g,pointBorderColor:f.pointBorderColor||g,hoverBackgroundColor:f.hoverBackgroundColor||g+"60",hoverBorderColor:f.hoverBorderColor||g}})},p=async()=>{if(!i.value)return;await t.nextTick(),s.value&&s.value.destroy();const y=o.data||o.modelValue;let f=y;if(Array.isArray(y))if(y.length>0&&typeof y[0]=="object"&&y[0]!==null){const m=Object.keys(y[0]),g=m.find(S=>["label","name","x","category","title"].includes(S.toLowerCase()))||m[0],w=m.find(S=>S!==g&&["value","y","count","amount","total","data"].includes(S.toLowerCase()))||m.find(S=>S!==g&&typeof y[0][S]=="number")||(m.length>1?m.find(S=>S!==g):m[0]);f={labels:y.map(S=>S[g||""]),datasets:[{label:o.label||"Data",data:y.map(S=>S[w||""])}]}}else y.length>0?f={labels:y.map((m,g)=>`Data ${g+1}`),datasets:[{label:o.label||"Data",data:y}]}:f={labels:[],datasets:[]};if(c.value=u(f),!c.value)return;const k={...h(),...o.options,onClick:(m,g)=>{r("click",m,g),o.onClick&&o.onClick(m,g)},onHover:(m,g)=>{r("hover",m,g),o.onHover&&o.onHover(m,g)}};s.value=new ea(i.value,{type:o.type,data:c.value,options:k}),r("ready",s.value)};return t.watch(()=>[o.data,o.modelValue,o.type,o.options,o.theme],()=>{p()},{deep:!0}),t.watch(()=>[o.width,o.height],()=>{s.value&&s.value.resize()}),t.onMounted(()=>{p()}),t.onUnmounted(()=>{s.value&&s.value.destroy()}),e({chart:s,updateChart:p}),(y,f)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["d-code-chart",d.value])},[a.label?(t.openBlock(),t.createElementBlock("div",v$,[t.createTextVNode(t.toDisplayString(a.label)+" ",1),a.required?(t.openBlock(),t.createElementBlock("span",C$,"*")):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:"relative",style:t.normalizeStyle({height:a.height+"px"})},[t.createElementVNode("canvas",{ref_key:"chartCanvas",ref:i},null,512),a.loading?(t.openBlock(),t.createElementBlock("div",L$,[...f[0]||(f[0]=[t.createElementVNode("div",{class:"animate-pulse-slow rounded-full h-8 w-8 border-b-2 border-blue-600"},null,-1)])])):t.createCommentVNode("",!0),a.error?(t.openBlock(),t.createElementBlock("div",S$,[t.createElementVNode("div",I$,t.toDisplayString(a.error),1)])):t.createCommentVNode("",!0)],4),a.showInfo&&c.value?(t.openBlock(),t.createElementBlock("div",_$,[c.value.datasets?(t.openBlock(),t.createElementBlock("div",A$,t.toDisplayString(c.value.datasets.length)+" dataset(s) • "+t.toDisplayString(c.value.labels?c.value.labels.length:0)+" data points ",1)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)],2))}}),[["__scopeId","data-v-b1c7c58f"]]),Bs=t.defineComponent({__name:"Label",props:{for:{},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a,n=Ee(e,"class");return(o,r)=>(t.openBlock(),t.createBlock(t.unref(nH),t.mergeProps(t.unref(n),{class:t.unref(ke)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",e.class)}),{default:t.withCtx(()=>[t.renderSlot(o.$slots,"default")]),_:3},16,["class"]))}}),B$=["aria-busy"],V$={key:0,class:"h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},z$={key:1,class:"flex items-center gap-2.5"},q$=["id","checked","indeterminate","disabled","required"],P$={key:0,class:"ml-1 text-red-500 dark:text-red-400","aria-label":"required"},q1=ga(t.defineComponent({name:"DCodeCheckbox",inheritAttrs:!1,__name:"DCodeCheckbox",props:{modelValue:{type:[Boolean,null]},visible:{type:Boolean,default:!0},skeleton:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:["update:modelValue","change"],setup(a,{emit:e}){const n=t.useAttrs(),o=e,r=a,i=t.computed(()=>n.label),s=t.computed(()=>n.placeholder),c=t.computed(()=>n.title),d=t.computed(()=>r.visible??!0),h=t.computed(()=>n.required===""||n.required===!0||n.required==="true"),u=Math.random().toString(36).slice(2,7),p=t.computed(()=>`dcode-checkbox-${n.id||i.value||"checkbox"}-${u}`),y=t.ref(!!r.modelValue);t.watch(()=>r.modelValue,m=>{y.value=!!m},{immediate:!0});const f=()=>{if(r.disabled)return;const m=!y.value;y.value=m,o("update:modelValue",m)},k=m=>{(m.key===" "||m.key==="Enter")&&(m.preventDefault(),f())};return(m,g)=>t.withDirectives((t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["",[t.unref(n).class,{"opacity-60 cursor-not-allowed":a.disabled}]]),"aria-busy":a.skeleton},[a.skeleton?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[i.value?(t.openBlock(),t.createElementBlock("div",V$)):t.createCommentVNode("",!0),g[0]||(g[0]=t.createElementVNode("div",{class:"flex items-center gap-2.5"},[t.createElementVNode("div",{class:"h-4 w-4 rounded bg-gray-200 dark:bg-gray-700 animate-pulse flex-shrink-0"}),t.createElementVNode("div",{class:"h-4 w-24 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"})],-1))],64)):(t.openBlock(),t.createElementBlock("div",z$,[t.createElementVNode("label",{class:t.normalizeClass(["flex items-start gap-2.5 group relative",{"cursor-pointer":!a.disabled,"opacity-50 cursor-not-allowed":a.disabled}])},[t.createElementVNode("input",{type:"checkbox",id:p.value,class:"sr-only",checked:y.value,indeterminate:a.indeterminate,disabled:a.disabled,required:h.value,onChange:f,onKeydown:k},null,40,q$),t.createElementVNode("div",{class:t.normalizeClass(["h-4 w-4 shrink-0 rounded-sm border shadow-sm transition-colors flex items-center justify-center mt-0.5",[y.value||a.indeterminate?"bg-primary border-primary text-primary-foreground":"border-neutral-300 dark:border-neutral-600 bg-white dark:bg-neutral-900",a.disabled?"cursor-not-allowed":"cursor-pointer"]]),"aria-hidden":"true"},[y.value&&!a.indeterminate?(t.openBlock(),t.createBlock(t.unref(sa),{key:0,class:"h-3 w-3 text-white","stroke-width":"3"})):a.indeterminate?(t.openBlock(),t.createBlock(t.unref(Xs),{key:1,class:"h-3 w-3 text-white","stroke-width":"3"})):t.createCommentVNode("",!0)],2),s.value||c.value?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["text-sm leading-relaxed select-none transition-colors",[a.disabled?"text-gray-400 dark:text-gray-500":"text-gray-700 dark:text-gray-300 group-hover:text-gray-900 dark:group-hover:text-gray-100"]])},t.toDisplayString(s.value||c.value),3)):t.createCommentVNode("",!0)],2),i.value?(t.openBlock(),t.createBlock(Bs,{key:0,for:p.value,class:"text-sm font-medium text-gray-700 dark:text-gray-300 select-none cursor-pointer"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(i.value)+" ",1),h.value?(t.openBlock(),t.createElementBlock("span",P$," * ")):t.createCommentVNode("",!0)]),_:1},8,["for"])):t.createCommentVNode("",!0)]))],10,B$)),[[t.vShow,d.value]])}}),[["__scopeId","data-v-938d0f92"]]),D$=["aria-busy"],E$={key:0,class:"h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},T$={key:1,class:"flex justify-end"},H$=["for"],j$={key:0,class:"ml-1 text-destructive"},O$={class:"relative w-full group"},F$={class:"flex items-center self-stretch px-3 bg-gray-50 dark:bg-neutral-800 border-r border-gray-300 dark:border-gray-700"},R$={class:"text-sm font-semibold text-gray-500 dark:text-gray-400 whitespace-nowrap select-none"},N$=["id","disabled","readonly","placeholder","maxlength"],$$={key:0,class:"absolute top-full right-0 z-10 text-[11px] text-gray-400 dark:text-gray-500 opacity-0 transition-opacity pointer-events-none group-focus-within:opacity-100 mt-0.5"},U$={key:1,class:"flex items-center gap-1 text-xs text-destructive"},gz=t.defineComponent({name:"DCodeCurrencyField",inheritAttrs:!1,__name:"DCodeCurrencyField",props:{modelValue:{},currency:{default:"IDR"},locale:{},label:{},placeholder:{},error:{},disabled:{type:Boolean},readonly:{type:Boolean},clearable:{type:Boolean},hideClearWhenEmpty:{type:Boolean,default:!0},prependInner:{},skeleton:{type:Boolean,default:!1},showCharCount:{type:Boolean,default:!0}},emits:["update:modelValue","clear"],setup(a,{emit:e}){const n=t.useAttrs(),o=e,r=a,i=Math.random().toString(36).slice(2,7),s=t.computed(()=>`app-currency-field-${n.id||r.label||"currency-field"}-${i}`),c=t.computed(()=>{const A=n.required,q=n["aria-required"];return A===""||A===!0||A==="true"||(q==="true"||q===!0)}),d=t.computed(()=>{const A=n.maxlength??n.maxLength;let q=Number.NaN;return typeof A=="number"?q=A:typeof A=="string"&&(q=Number.parseInt(A,10)),Number.isFinite(q)&&q>0?q:void 0}),h=t.computed(()=>r.locale?r.locale:"en-US"),u=t.computed(()=>r.prependInner?r.prependInner:r.currency==="USD"?"$":r.currency==="IDR"?"Rp":r.currency),p=t.computed(()=>new Intl.NumberFormat(h.value,{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:0})),y=A=>{const q=A.replaceAll(/\D/g,"");return q?Number(q):null},f=A=>p.value.format(A),k=t.ref(""),m=t.ref(null);t.watch(()=>r.modelValue,A=>{A==null?k.value="":y(k.value)!==A&&(k.value=f(A))},{immediate:!0});const g=(A,q)=>{let O=0;for(let H=0;H<q;H++)/\d/.test(A[H])&&O++;return O},w=(A,q)=>{let O=0;for(let H=0;H<A.length;H++)if(/\d/.test(A[H])&&(O++,O===q))return H+1;return A.length},S=A=>{const q=A.target,O=q.value,H=q.selectionStart??O.length,W=y(O);if(W===null){k.value="",o("update:modelValue",null);return}const T=f(W);if(O!==T){const j=g(O,H);k.value=T,t.nextTick(()=>{if(m.value){const R=w(T,j);m.value.setSelectionRange(R,R)}})}o("update:modelValue",W)},v=()=>{k.value="",o("update:modelValue",null),o("clear")},M=t.computed(()=>!r.clearable||r.disabled||r.readonly?!1:r.hideClearWhenEmpty?k.value.length>0:!0),C=t.computed(()=>!!r.error),x=t.computed(()=>{const{class:A,maxlength:q,maxLength:O,...H}=n;return H}),b=t.computed(()=>k.value.length),L=t.computed(()=>r.showCharCount?(d.value??0)>0:!1),I=t.computed(()=>L.value&&b.value>0),z=t.computed(()=>`${b.value} / ${d.value}`);return(A,q)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["flex flex-col gap-1.5 w-full",t.unref(n).class]),"aria-busy":r.skeleton},[r.skeleton?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[a.label?(t.openBlock(),t.createElementBlock("div",E$)):t.createCommentVNode("",!0),q[2]||(q[2]=t.createElementVNode("div",{class:"relative w-full"},[t.createElementVNode("div",{class:"h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse"})],-1)),L.value?(t.openBlock(),t.createElementBlock("div",T$,[...q[1]||(q[1]=[t.createElementVNode("div",{class:"h-3 w-14 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},null,-1)])])):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[a.label?(t.openBlock(),t.createElementBlock("label",{key:0,for:s.value,class:"text-sm font-medium text-gray-700 dark:text-gray-300"},[t.createTextVNode(t.toDisplayString(a.label)+" ",1),c.value?(t.openBlock(),t.createElementBlock("span",j$,"*")):t.createCommentVNode("",!0)],8,H$)):t.createCommentVNode("",!0),t.createElementVNode("div",O$,[t.createElementVNode("div",{class:t.normalizeClass(["flex items-center w-full rounded-lg border overflow-hidden transition-all duration-200","bg-white dark:bg-neutral-900",C.value?"border-destructive ring-1 ring-destructive":"border-gray-300 dark:border-gray-700 focus-within:border-blue-500 focus-within:ring-1 focus-within:ring-blue-500 dark:focus-within:border-blue-400",r.disabled?"opacity-50 cursor-not-allowed bg-gray-50 dark:bg-neutral-800":""])},[t.createElementVNode("div",F$,[t.createElementVNode("span",R$,t.toDisplayString(u.value),1)]),t.withDirectives(t.createElementVNode("input",t.mergeProps({id:s.value,ref_key:"inputRef",ref:m,"onUpdate:modelValue":q[0]||(q[0]=O=>k.value=O),onInput:S,type:"text",inputmode:"numeric"},x.value,{disabled:r.disabled,readonly:r.readonly,placeholder:r.placeholder,maxlength:d.value,class:["flex-1 h-10 px-3 py-2 text-sm bg-transparent text-foreground dark:text-gray-300 outline-none placeholder:text-gray-400",M.value?"pr-8":""]}),null,16,N$),[[t.vModelText,k.value]]),M.value?(t.openBlock(),t.createElementBlock("button",{key:0,type:"button",class:"flex items-center justify-center w-8 h-10 text-gray-400 hover:text-gray-600 dark:hover:text-gray-200 transition-colors flex-shrink-0","aria-label":"Clear input",onClick:v},[t.createVNode(t.unref(it),{class:"w-3.5 h-3.5"})])):t.createCommentVNode("",!0)],2),I.value&&!C.value?(t.openBlock(),t.createElementBlock("p",$$,t.toDisplayString(z.value),1)):t.createCommentVNode("",!0)]),C.value?(t.openBlock(),t.createElementBlock("p",U$,[t.createVNode(t.unref(It),{class:"w-3.5 h-3.5 flex-shrink-0"}),t.createTextVNode(" "+t.toDisplayString(r.error),1)])):t.createCommentVNode("",!0)],64))],10,D$))}}),Mz=6048e5,W$=864e5,bz=Symbol.for("constructDateFrom");function La(a,e){return typeof a=="function"?a(e):a&&typeof a=="object"&&bz in a?a[bz](e):a instanceof Date?new a.constructor(e):new Date(e)}function Mt(a,e){return La(e||a,a)}let G$={};function iS(){return G$}function P1(a,e){var c,d,h,u;const n=iS(),o=(e==null?void 0:e.weekStartsOn)??((d=(c=e==null?void 0:e.locale)==null?void 0:c.options)==null?void 0:d.weekStartsOn)??n.weekStartsOn??((u=(h=n.locale)==null?void 0:h.options)==null?void 0:u.weekStartsOn)??0,r=Mt(a,e==null?void 0:e.in),i=r.getDay(),s=(i<o?7:0)+i-o;return r.setDate(r.getDate()-s),r.setHours(0,0,0,0),r}function sS(a,e){return P1(a,{...e,weekStartsOn:1})}function xz(a,e){const n=Mt(a,e==null?void 0:e.in),o=n.getFullYear(),r=La(n,0);r.setFullYear(o+1,0,4),r.setHours(0,0,0,0);const i=sS(r),s=La(n,0);s.setFullYear(o,0,4),s.setHours(0,0,0,0);const c=sS(s);return n.getTime()>=i.getTime()?o+1:n.getTime()>=c.getTime()?o:o-1}function wz(a){const e=Mt(a),n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return n.setUTCFullYear(e.getFullYear()),+a-+n}function K$(a,...e){const n=La.bind(null,e.find(o=>typeof o=="object"));return e.map(n)}function vz(a,e){const n=Mt(a,e==null?void 0:e.in);return n.setHours(0,0,0,0),n}function X$(a,e,n){const[o,r]=K$(n==null?void 0:n.in,a,e),i=vz(o),s=vz(r),c=+i-wz(i),d=+s-wz(s);return Math.round((c-d)/W$)}function Z$(a,e){const n=xz(a,e),o=La(a,0);return o.setFullYear(n,0,4),o.setHours(0,0,0,0),sS(o)}function Y$(a){return a instanceof Date||typeof a=="object"&&Object.prototype.toString.call(a)==="[object Date]"}function Q$(a){return!(!Y$(a)&&typeof a!="number"||isNaN(+Mt(a)))}function J$(a,e){const n=Mt(a,e==null?void 0:e.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}const eU={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},tU=(a,e,n)=>{let o;const r=eU[a];return typeof r=="string"?o=r:e===1?o=r.one:o=r.other.replace("{{count}}",e.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+o:o+" ago":o};function Vs(a){return(e={})=>{const n=e.width?String(e.width):a.defaultWidth;return a.formats[n]||a.formats[a.defaultWidth]}}const aU={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},nU={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},oU={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},rU={date:Vs({formats:aU,defaultWidth:"full"}),time:Vs({formats:nU,defaultWidth:"full"}),dateTime:Vs({formats:oU,defaultWidth:"full"})},iU={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},sU=(a,e,n,o)=>iU[a];function Rt(a){return(e,n)=>{const o=n!=null&&n.context?String(n.context):"standalone";let r;if(o==="formatting"&&a.formattingValues){const s=a.defaultFormattingWidth||a.defaultWidth,c=n!=null&&n.width?String(n.width):s;r=a.formattingValues[c]||a.formattingValues[s]}else{const s=a.defaultWidth,c=n!=null&&n.width?String(n.width):a.defaultWidth;r=a.values[c]||a.values[s]}const i=a.argumentCallback?a.argumentCallback(e):e;return r[i]}}const lU={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},cU={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},dU={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},hU={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},uU={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},pU={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},yU={ordinalNumber:(a,e)=>{const n=Number(a),o=n%100;if(o>20||o<10)switch(o%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:Rt({values:lU,defaultWidth:"wide"}),quarter:Rt({values:cU,defaultWidth:"wide",argumentCallback:a=>a-1}),month:Rt({values:dU,defaultWidth:"wide"}),day:Rt({values:hU,defaultWidth:"wide"}),dayPeriod:Rt({values:uU,defaultWidth:"wide",formattingValues:pU,defaultFormattingWidth:"wide"})};function Nt(a){return(e,n={})=>{const o=n.width,r=o&&a.matchPatterns[o]||a.matchPatterns[a.defaultMatchWidth],i=e.match(r);if(!i)return null;const s=i[0],c=o&&a.parsePatterns[o]||a.parsePatterns[a.defaultParseWidth],d=Array.isArray(c)?kU(c,p=>p.test(s)):fU(c,p=>p.test(s));let h;h=a.valueCallback?a.valueCallback(d):d,h=n.valueCallback?n.valueCallback(h):h;const u=e.slice(s.length);return{value:h,rest:u}}}function fU(a,e){for(const n in a)if(Object.prototype.hasOwnProperty.call(a,n)&&e(a[n]))return n}function kU(a,e){for(let n=0;n<a.length;n++)if(e(a[n]))return n}function Cz(a){return(e,n={})=>{const o=e.match(a.matchPattern);if(!o)return null;const r=o[0],i=e.match(a.parsePattern);if(!i)return null;let s=a.valueCallback?a.valueCallback(i[0]):i[0];s=n.valueCallback?n.valueCallback(s):s;const c=e.slice(r.length);return{value:s,rest:c}}}const mU=/^(\d+)(th|st|nd|rd)?/i,gU=/\d+/i,MU={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},bU={any:[/^b/i,/^(a|c)/i]},xU={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},wU={any:[/1/i,/2/i,/3/i,/4/i]},vU={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},CU={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},LU={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},SU={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},IU={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},_U={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},AU={ordinalNumber:Cz({matchPattern:mU,parsePattern:gU,valueCallback:a=>parseInt(a,10)}),era:Nt({matchPatterns:MU,defaultMatchWidth:"wide",parsePatterns:bU,defaultParseWidth:"any"}),quarter:Nt({matchPatterns:xU,defaultMatchWidth:"wide",parsePatterns:wU,defaultParseWidth:"any",valueCallback:a=>a+1}),month:Nt({matchPatterns:vU,defaultMatchWidth:"wide",parsePatterns:CU,defaultParseWidth:"any"}),day:Nt({matchPatterns:LU,defaultMatchWidth:"wide",parsePatterns:SU,defaultParseWidth:"any"}),dayPeriod:Nt({matchPatterns:IU,defaultMatchWidth:"any",parsePatterns:_U,defaultParseWidth:"any"})},Lz={code:"en-US",formatDistance:tU,formatLong:rU,formatRelative:sU,localize:yU,match:AU,options:{weekStartsOn:0,firstWeekContainsDate:1}};function BU(a,e){const n=Mt(a,e==null?void 0:e.in);return X$(n,J$(n))+1}function VU(a,e){const n=Mt(a,e==null?void 0:e.in),o=+sS(n)-+Z$(n);return Math.round(o/Mz)+1}function Sz(a,e){var u,p,y,f;const n=Mt(a,e==null?void 0:e.in),o=n.getFullYear(),r=iS(),i=(e==null?void 0:e.firstWeekContainsDate)??((p=(u=e==null?void 0:e.locale)==null?void 0:u.options)==null?void 0:p.firstWeekContainsDate)??r.firstWeekContainsDate??((f=(y=r.locale)==null?void 0:y.options)==null?void 0:f.firstWeekContainsDate)??1,s=La((e==null?void 0:e.in)||a,0);s.setFullYear(o+1,0,i),s.setHours(0,0,0,0);const c=P1(s,e),d=La((e==null?void 0:e.in)||a,0);d.setFullYear(o,0,i),d.setHours(0,0,0,0);const h=P1(d,e);return+n>=+c?o+1:+n>=+h?o:o-1}function zU(a,e){var c,d,h,u;const n=iS(),o=(e==null?void 0:e.firstWeekContainsDate)??((d=(c=e==null?void 0:e.locale)==null?void 0:c.options)==null?void 0:d.firstWeekContainsDate)??n.firstWeekContainsDate??((u=(h=n.locale)==null?void 0:h.options)==null?void 0:u.firstWeekContainsDate)??1,r=Sz(a,e),i=La((e==null?void 0:e.in)||a,0);return i.setFullYear(r,0,o),i.setHours(0,0,0,0),P1(i,e)}function qU(a,e){const n=Mt(a,e==null?void 0:e.in),o=+P1(n,e)-+zU(n,e);return Math.round(o/Mz)+1}function Ie(a,e){const n=a<0?"-":"",o=Math.abs(a).toString().padStart(e,"0");return n+o}const Sa={y(a,e){const n=a.getFullYear(),o=n>0?n:1-n;return Ie(e==="yy"?o%100:o,e.length)},M(a,e){const n=a.getMonth();return e==="M"?String(n+1):Ie(n+1,2)},d(a,e){return Ie(a.getDate(),e.length)},a(a,e){const n=a.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(a,e){return Ie(a.getHours()%12||12,e.length)},H(a,e){return Ie(a.getHours(),e.length)},m(a,e){return Ie(a.getMinutes(),e.length)},s(a,e){return Ie(a.getSeconds(),e.length)},S(a,e){const n=e.length,o=a.getMilliseconds(),r=Math.trunc(o*Math.pow(10,n-3));return Ie(r,e.length)}},zs={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Iz={G:function(a,e,n){const o=a.getFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(o,{width:"abbreviated"});case"GGGGG":return n.era(o,{width:"narrow"});case"GGGG":default:return n.era(o,{width:"wide"})}},y:function(a,e,n){if(e==="yo"){const o=a.getFullYear(),r=o>0?o:1-o;return n.ordinalNumber(r,{unit:"year"})}return Sa.y(a,e)},Y:function(a,e,n,o){const r=Sz(a,o),i=r>0?r:1-r;if(e==="YY"){const s=i%100;return Ie(s,2)}return e==="Yo"?n.ordinalNumber(i,{unit:"year"}):Ie(i,e.length)},R:function(a,e){const n=xz(a);return Ie(n,e.length)},u:function(a,e){const n=a.getFullYear();return Ie(n,e.length)},Q:function(a,e,n){const o=Math.ceil((a.getMonth()+1)/3);switch(e){case"Q":return String(o);case"QQ":return Ie(o,2);case"Qo":return n.ordinalNumber(o,{unit:"quarter"});case"QQQ":return n.quarter(o,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(o,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(o,{width:"wide",context:"formatting"})}},q:function(a,e,n){const o=Math.ceil((a.getMonth()+1)/3);switch(e){case"q":return String(o);case"qq":return Ie(o,2);case"qo":return n.ordinalNumber(o,{unit:"quarter"});case"qqq":return n.quarter(o,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(o,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(o,{width:"wide",context:"standalone"})}},M:function(a,e,n){const o=a.getMonth();switch(e){case"M":case"MM":return Sa.M(a,e);case"Mo":return n.ordinalNumber(o+1,{unit:"month"});case"MMM":return n.month(o,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(o,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(o,{width:"wide",context:"formatting"})}},L:function(a,e,n){const o=a.getMonth();switch(e){case"L":return String(o+1);case"LL":return Ie(o+1,2);case"Lo":return n.ordinalNumber(o+1,{unit:"month"});case"LLL":return n.month(o,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(o,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(o,{width:"wide",context:"standalone"})}},w:function(a,e,n,o){const r=qU(a,o);return e==="wo"?n.ordinalNumber(r,{unit:"week"}):Ie(r,e.length)},I:function(a,e,n){const o=VU(a);return e==="Io"?n.ordinalNumber(o,{unit:"week"}):Ie(o,e.length)},d:function(a,e,n){return e==="do"?n.ordinalNumber(a.getDate(),{unit:"date"}):Sa.d(a,e)},D:function(a,e,n){const o=BU(a);return e==="Do"?n.ordinalNumber(o,{unit:"dayOfYear"}):Ie(o,e.length)},E:function(a,e,n){const o=a.getDay();switch(e){case"E":case"EE":case"EEE":return n.day(o,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(o,{width:"short",context:"formatting"});case"EEEE":default:return n.day(o,{width:"wide",context:"formatting"})}},e:function(a,e,n,o){const r=a.getDay(),i=(r-o.weekStartsOn+8)%7||7;switch(e){case"e":return String(i);case"ee":return Ie(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(r,{width:"short",context:"formatting"});case"eeee":default:return n.day(r,{width:"wide",context:"formatting"})}},c:function(a,e,n,o){const r=a.getDay(),i=(r-o.weekStartsOn+8)%7||7;switch(e){case"c":return String(i);case"cc":return Ie(i,e.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(r,{width:"narrow",context:"standalone"});case"cccccc":return n.day(r,{width:"short",context:"standalone"});case"cccc":default:return n.day(r,{width:"wide",context:"standalone"})}},i:function(a,e,n){const o=a.getDay(),r=o===0?7:o;switch(e){case"i":return String(r);case"ii":return Ie(r,e.length);case"io":return n.ordinalNumber(r,{unit:"day"});case"iii":return n.day(o,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(o,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(o,{width:"short",context:"formatting"});case"iiii":default:return n.day(o,{width:"wide",context:"formatting"})}},a:function(a,e,n){const r=a.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(a,e,n){const o=a.getHours();let r;switch(o===12?r=zs.noon:o===0?r=zs.midnight:r=o/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(a,e,n){const o=a.getHours();let r;switch(o>=17?r=zs.evening:o>=12?r=zs.afternoon:o>=4?r=zs.morning:r=zs.night,e){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(a,e,n){if(e==="ho"){let o=a.getHours()%12;return o===0&&(o=12),n.ordinalNumber(o,{unit:"hour"})}return Sa.h(a,e)},H:function(a,e,n){return e==="Ho"?n.ordinalNumber(a.getHours(),{unit:"hour"}):Sa.H(a,e)},K:function(a,e,n){const o=a.getHours()%12;return e==="Ko"?n.ordinalNumber(o,{unit:"hour"}):Ie(o,e.length)},k:function(a,e,n){let o=a.getHours();return o===0&&(o=24),e==="ko"?n.ordinalNumber(o,{unit:"hour"}):Ie(o,e.length)},m:function(a,e,n){return e==="mo"?n.ordinalNumber(a.getMinutes(),{unit:"minute"}):Sa.m(a,e)},s:function(a,e,n){return e==="so"?n.ordinalNumber(a.getSeconds(),{unit:"second"}):Sa.s(a,e)},S:function(a,e){return Sa.S(a,e)},X:function(a,e,n){const o=a.getTimezoneOffset();if(o===0)return"Z";switch(e){case"X":return Az(o);case"XXXX":case"XX":return ns(o);case"XXXXX":case"XXX":default:return ns(o,":")}},x:function(a,e,n){const o=a.getTimezoneOffset();switch(e){case"x":return Az(o);case"xxxx":case"xx":return ns(o);case"xxxxx":case"xxx":default:return ns(o,":")}},O:function(a,e,n){const o=a.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+_z(o,":");case"OOOO":default:return"GMT"+ns(o,":")}},z:function(a,e,n){const o=a.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+_z(o,":");case"zzzz":default:return"GMT"+ns(o,":")}},t:function(a,e,n){const o=Math.trunc(+a/1e3);return Ie(o,e.length)},T:function(a,e,n){return Ie(+a,e.length)}};function _z(a,e=""){const n=a>0?"-":"+",o=Math.abs(a),r=Math.trunc(o/60),i=o%60;return i===0?n+String(r):n+String(r)+e+Ie(i,2)}function Az(a,e){return a%60===0?(a>0?"-":"+")+Ie(Math.abs(a)/60,2):ns(a,e)}function ns(a,e=""){const n=a>0?"-":"+",o=Math.abs(a),r=Ie(Math.trunc(o/60),2),i=Ie(o%60,2);return n+r+e+i}const Bz=(a,e)=>{switch(a){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}},Vz=(a,e)=>{switch(a){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}},PU={p:Vz,P:(a,e)=>{const n=a.match(/(P+)(p+)?/)||[],o=n[1],r=n[2];if(!r)return Bz(a,e);let i;switch(o){case"P":i=e.dateTime({width:"short"});break;case"PP":i=e.dateTime({width:"medium"});break;case"PPP":i=e.dateTime({width:"long"});break;case"PPPP":default:i=e.dateTime({width:"full"});break}return i.replace("{{date}}",Bz(o,e)).replace("{{time}}",Vz(r,e))}},DU=/^D+$/,EU=/^Y+$/,TU=["D","DD","YY","YYYY"];function HU(a){return DU.test(a)}function jU(a){return EU.test(a)}function OU(a,e,n){const o=FU(a,e,n);if(console.warn(o),TU.includes(a))throw new RangeError(o)}function FU(a,e,n){const o=a[0]==="Y"?"years":"days of the month";return`Use \`${a.toLowerCase()}\` instead of \`${a}\` (in \`${e}\`) for formatting ${o} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const RU=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,NU=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,$U=/^'([^]*?)'?$/,UU=/''/g,WU=/[a-zA-Z]/;function zz(a,e,n){var u,p,y,f;const o=iS(),r=o.locale??Lz,i=o.firstWeekContainsDate??((p=(u=o.locale)==null?void 0:u.options)==null?void 0:p.firstWeekContainsDate)??1,s=o.weekStartsOn??((f=(y=o.locale)==null?void 0:y.options)==null?void 0:f.weekStartsOn)??0,c=Mt(a,n==null?void 0:n.in);if(!Q$(c))throw new RangeError("Invalid time value");let d=e.match(NU).map(k=>{const m=k[0];if(m==="p"||m==="P"){const g=PU[m];return g(k,r.formatLong)}return k}).join("").match(RU).map(k=>{if(k==="''")return{isToken:!1,value:"'"};const m=k[0];if(m==="'")return{isToken:!1,value:GU(k)};if(Iz[m])return{isToken:!0,value:k};if(m.match(WU))throw new RangeError("Format string contains an unescaped latin alphabet character `"+m+"`");return{isToken:!1,value:k}});r.localize.preprocessor&&(d=r.localize.preprocessor(c,d));const h={firstWeekContainsDate:i,weekStartsOn:s,locale:r};return d.map(k=>{if(!k.isToken)return k.value;const m=k.value;(jU(m)||HU(m))&&OU(m,e,String(a));const g=Iz[m[0]];return g(c,m,r.localize,h)}).join("")}function GU(a){const e=a.match($U);return e?e[1].replace(UU,"'"):a}const KU={lessThanXSeconds:{one:"kurang dari 1 detik",other:"kurang dari {{count}} detik"},xSeconds:{one:"1 detik",other:"{{count}} detik"},halfAMinute:"setengah menit",lessThanXMinutes:{one:"kurang dari 1 menit",other:"kurang dari {{count}} menit"},xMinutes:{one:"1 menit",other:"{{count}} menit"},aboutXHours:{one:"sekitar 1 jam",other:"sekitar {{count}} jam"},xHours:{one:"1 jam",other:"{{count}} jam"},xDays:{one:"1 hari",other:"{{count}} hari"},aboutXWeeks:{one:"sekitar 1 minggu",other:"sekitar {{count}} minggu"},xWeeks:{one:"1 minggu",other:"{{count}} minggu"},aboutXMonths:{one:"sekitar 1 bulan",other:"sekitar {{count}} bulan"},xMonths:{one:"1 bulan",other:"{{count}} bulan"},aboutXYears:{one:"sekitar 1 tahun",other:"sekitar {{count}} tahun"},xYears:{one:"1 tahun",other:"{{count}} tahun"},overXYears:{one:"lebih dari 1 tahun",other:"lebih dari {{count}} tahun"},almostXYears:{one:"hampir 1 tahun",other:"hampir {{count}} tahun"}},XU=(a,e,n)=>{let o;const r=KU[a];return typeof r=="string"?o=r:e===1?o=r.one:o=r.other.replace("{{count}}",e.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"dalam waktu "+o:o+" yang lalu":o},ZU={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"d/M/yyyy"},YU={full:"HH.mm.ss",long:"HH.mm.ss",medium:"HH.mm",short:"HH.mm"},QU={full:"{{date}} 'pukul' {{time}}",long:"{{date}} 'pukul' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},JU={date:Vs({formats:ZU,defaultWidth:"full"}),time:Vs({formats:YU,defaultWidth:"full"}),dateTime:Vs({formats:QU,defaultWidth:"full"})},eW={lastWeek:"eeee 'lalu pukul' p",yesterday:"'Kemarin pukul' p",today:"'Hari ini pukul' p",tomorrow:"'Besok pukul' p",nextWeek:"eeee 'pukul' p",other:"P"},tW=(a,e,n,o)=>eW[a],aW={narrow:["SM","M"],abbreviated:["SM","M"],wide:["Sebelum Masehi","Masehi"]},nW={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["Kuartal ke-1","Kuartal ke-2","Kuartal ke-3","Kuartal ke-4"]},oW={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agt","Sep","Okt","Nov","Des"],wide:["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"]},rW={narrow:["M","S","S","R","K","J","S"],short:["Min","Sen","Sel","Rab","Kam","Jum","Sab"],abbreviated:["Min","Sen","Sel","Rab","Kam","Jum","Sab"],wide:["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"]},iW={narrow:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},abbreviated:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},wide:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"}},sW={narrow:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},abbreviated:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},wide:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"}},lW={ordinalNumber:(a,e)=>"ke-"+Number(a),era:Rt({values:aW,defaultWidth:"wide"}),quarter:Rt({values:nW,defaultWidth:"wide",argumentCallback:a=>a-1}),month:Rt({values:oW,defaultWidth:"wide"}),day:Rt({values:rW,defaultWidth:"wide"}),dayPeriod:Rt({values:iW,defaultWidth:"wide",formattingValues:sW,defaultFormattingWidth:"wide"})},cW=/^ke-(\d+)?/i,dW=/\d+/i,hW={narrow:/^(sm|m)/i,abbreviated:/^(s\.?\s?m\.?|s\.?\s?e\.?\s?u\.?|m\.?|e\.?\s?u\.?)/i,wide:/^(sebelum masehi|sebelum era umum|masehi|era umum)/i},uW={any:[/^s/i,/^(m|e)/i]},pW={narrow:/^[1234]/i,abbreviated:/^K-?\s[1234]/i,wide:/^Kuartal ke-?\s?[1234]/i},yW={any:[/1/i,/2/i,/3/i,/4/i]},fW={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|mei|jun|jul|agt|sep|okt|nov|des)/i,wide:/^(januari|februari|maret|april|mei|juni|juli|agustus|september|oktober|november|desember)/i},kW={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^ma/i,/^ap/i,/^me/i,/^jun/i,/^jul/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},mW={narrow:/^[srkjm]/i,short:/^(min|sen|sel|rab|kam|jum|sab)/i,abbreviated:/^(min|sen|sel|rab|kam|jum|sab)/i,wide:/^(minggu|senin|selasa|rabu|kamis|jumat|sabtu)/i},gW={narrow:[/^m/i,/^s/i,/^s/i,/^r/i,/^k/i,/^j/i,/^s/i],any:[/^m/i,/^sen/i,/^sel/i,/^r/i,/^k/i,/^j/i,/^sa/i]},MW={narrow:/^(a|p|tengah m|tengah h|(di(\swaktu)?) (pagi|siang|sore|malam))/i,any:/^([ap]\.?\s?m\.?|tengah malam|tengah hari|(di(\swaktu)?) (pagi|siang|sore|malam))/i},bW={any:{am:/^a/i,pm:/^pm/i,midnight:/^tengah m/i,noon:/^tengah h/i,morning:/pagi/i,afternoon:/siang/i,evening:/sore/i,night:/malam/i}},xW={ordinalNumber:Cz({matchPattern:cW,parsePattern:dW,valueCallback:a=>parseInt(a,10)}),era:Nt({matchPatterns:hW,defaultMatchWidth:"wide",parsePatterns:uW,defaultParseWidth:"any"}),quarter:Nt({matchPatterns:pW,defaultMatchWidth:"wide",parsePatterns:yW,defaultParseWidth:"any",valueCallback:a=>a+1}),month:Nt({matchPatterns:fW,defaultMatchWidth:"wide",parsePatterns:kW,defaultParseWidth:"any"}),day:Nt({matchPatterns:mW,defaultMatchWidth:"wide",parsePatterns:gW,defaultParseWidth:"any"}),dayPeriod:Nt({matchPatterns:MW,defaultMatchWidth:"any",parsePatterns:bW,defaultParseWidth:"any"})},wW={code:"id",formatDistance:XU,formatLong:JU,formatRelative:tW,localize:lW,match:xW,options:{weekStartsOn:1,firstWeekContainsDate:1}},qz={primary:{light:{primary:"hsl(var(--primary))",text:"hsl(var(--primary-foreground))",hover:"hsl(var(--accent))",border:"hsl(var(--border))",range:"#bfdbfe"},dark:{primary:"hsl(var(--primary))",text:"hsl(var(--primary-foreground))",hover:"hsl(var(--accent))",border:"hsl(var(--border))",range:"rgba(30, 58, 138, 0.3)"}},emerald:{light:{primary:"#16a34a",text:"#ffffff",hover:"#dcfce7",border:"#16a34a",range:"#ecfdf5"},dark:{primary:"#22c55e",text:"#0b1220",hover:"#14532d",border:"#22c55e",range:"rgba(6, 78, 59, 0.3)"}},amber:{light:{primary:"#d97706",text:"#ffffff",hover:"#fffbeb",border:"#d97706",range:"#fffbeb"},dark:{primary:"#f59e0b",text:"#0b1220",hover:"#78350f",border:"#f59e0b",range:"rgba(120, 53, 15, 0.3)"}},violet:{light:{primary:"#7c3aed",text:"#ffffff",hover:"#f5f3ff",border:"#7c3aed",range:"#f5f3ff"},dark:{primary:"#8b5cf6",text:"#0b1220",hover:"#2e1065",border:"#8b5cf6",range:"rgba(46, 16, 101, 0.3)"}},destructive:{light:{primary:"hsl(var(--destructive))",text:"hsl(var(--destructive-foreground))",hover:"hsl(var(--destructive) / 0.10)",border:"hsl(var(--destructive))",range:"#fef2f2"},dark:{primary:"hsl(var(--destructive))",text:"hsl(var(--destructive-foreground))",hover:"hsl(var(--destructive) / 0.18)",border:"hsl(var(--destructive))",range:"rgba(127, 29, 29, 0.3)"}}},Pz="dcode-dp-theme-forced";function vW(a,e=Pz){const n=qz[a]??qz.primary,o=`
|
|
8519
|
+
`):a}function s$(a,e){const{element:n,datasetIndex:o,index:r}=e,i=a.getDatasetMeta(o).controller,{label:s,value:c}=i.getLabelAndValue(r);return{chart:a,label:s,parsed:i.getParsed(r),raw:a.data.datasets[o].data[r],formattedValue:c,dataset:i.getDataset(),dataIndex:r,datasetIndex:o,element:n}}function oV(a,e){const n=a.chart.ctx,{body:o,footer:r,title:i}=a,{boxWidth:s,boxHeight:c}=e,d=Ue(e.bodyFont),h=Ue(e.titleFont),u=Ue(e.footerFont),p=i.length,y=r.length,f=o.length,k=ht(e.padding);let m=k.height,g=0,w=o.reduce((M,C)=>M+C.before.length+C.lines.length+C.after.length,0);if(w+=a.beforeBody.length+a.afterBody.length,p&&(m+=p*h.lineHeight+(p-1)*e.titleSpacing+e.titleMarginBottom),w){const M=e.displayColors?Math.max(c,d.lineHeight):d.lineHeight;m+=f*M+(w-f)*d.lineHeight+(w-1)*e.bodySpacing}y&&(m+=e.footerMarginTop+y*u.lineHeight+(y-1)*e.footerSpacing);let S=0;const v=function(M){g=Math.max(g,n.measureText(M).width+S)};return n.save(),n.font=h.string,Le(a.title,v),n.font=d.string,Le(a.beforeBody.concat(a.afterBody),v),S=e.displayColors?s+2+e.boxPadding:0,Le(o,M=>{Le(M.before,v),Le(M.lines,v),Le(M.after,v)}),S=0,n.font=u.string,Le(a.footer,v),n.restore(),g+=k.width,{width:g,height:m}}function l$(a,e){const{y:n,height:o}=e;return n<o/2?"top":n>a.height-o/2?"bottom":"center"}function c$(a,e,n,o){const{x:r,width:i}=o,s=n.caretSize+n.caretPadding;if(a==="left"&&r+i+s>e.width||a==="right"&&r-i-s<0)return!0}function d$(a,e,n,o){const{x:r,width:i}=n,{width:s,chartArea:{left:c,right:d}}=a;let h="center";return o==="center"?h=r<=(c+d)/2?"left":"right":r<=i/2?h="left":r>=s-i/2&&(h="right"),c$(h,a,e,n)&&(h="center"),h}function rV(a,e,n){const o=n.yAlign||e.yAlign||l$(a,n);return{xAlign:n.xAlign||e.xAlign||d$(a,e,n,o),yAlign:o}}function h$(a,e){let{x:n,width:o}=a;return e==="right"?n-=o:e==="center"&&(n-=o/2),n}function u$(a,e,n){let{y:o,height:r}=a;return e==="top"?o+=n:e==="bottom"?o-=r+n:o-=r/2,o}function iV(a,e,n,o){const{caretSize:r,caretPadding:i,cornerRadius:s}=a,{xAlign:c,yAlign:d}=n,h=r+i,{topLeft:u,topRight:p,bottomLeft:y,bottomRight:f}=vs(s);let k=h$(e,c);const m=u$(e,d,h);return d==="center"?c==="left"?k+=h:c==="right"&&(k-=h):c==="left"?k-=Math.max(u,y)+r:c==="right"&&(k+=Math.max(p,f)+r),{x:Ne(k,0,o.width-e.width),y:Ne(m,0,o.height-e.height)}}function aS(a,e,n){const o=ht(n.padding);return e==="center"?a.x+a.width/2:e==="right"?a.x+a.width-o.right:a.x+o.left}function sV(a){return Ft([],ta(a))}function p$(a,e,n){return Yi(a,{tooltip:e,tooltipItems:n,type:"tooltip"})}function lV(a,e){const n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?a.override(n):a}const cV={beforeTitle:Xt,title(a){if(a.length>0){const e=a[0],n=e.chart.data.labels,o=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return e.dataset.label||"";if(e.label)return e.label;if(o>0&&e.dataIndex<o)return n[e.dataIndex]}return""},afterTitle:Xt,beforeBody:Xt,beforeLabel:Xt,label(a){if(this&&this.options&&this.options.mode==="dataset")return a.label+": "+a.formattedValue||a.formattedValue;let e=a.dataset.label||"";e&&(e+=": ");const n=a.formattedValue;return Ce(n)||(e+=n),e},labelColor(a){const n=a.chart.getDatasetMeta(a.datasetIndex).controller.getStyle(a.dataIndex);return{borderColor:n.borderColor,backgroundColor:n.backgroundColor,borderWidth:n.borderWidth,borderDash:n.borderDash,borderDashOffset:n.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(a){const n=a.chart.getDatasetMeta(a.datasetIndex).controller.getStyle(a.dataIndex);return{pointStyle:n.pointStyle,rotation:n.rotation}},afterLabel:Xt,afterBody:Xt,beforeFooter:Xt,footer:Xt,afterFooter:Xt};function Ye(a,e,n,o){const r=a[e].call(n,o);return typeof r>"u"?cV[e].call(n,o):r}class GI extends Jt{constructor(e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const e=this._cachedAnimations;if(e)return e;const n=this.chart,o=this.options.setContext(this.getContext()),r=o.enabled&&n.options.animation&&o.animations,i=new oz(this.chart,r);return r._cacheable&&(this._cachedAnimations=Object.freeze(i)),i}getContext(){return this.$context||(this.$context=p$(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,n){const{callbacks:o}=n,r=Ye(o,"beforeTitle",this,e),i=Ye(o,"title",this,e),s=Ye(o,"afterTitle",this,e);let c=[];return c=Ft(c,ta(r)),c=Ft(c,ta(i)),c=Ft(c,ta(s)),c}getBeforeBody(e,n){return sV(Ye(n.callbacks,"beforeBody",this,e))}getBody(e,n){const{callbacks:o}=n,r=[];return Le(e,i=>{const s={before:[],lines:[],after:[]},c=lV(o,i);Ft(s.before,ta(Ye(c,"beforeLabel",this,i))),Ft(s.lines,Ye(c,"label",this,i)),Ft(s.after,ta(Ye(c,"afterLabel",this,i))),r.push(s)}),r}getAfterBody(e,n){return sV(Ye(n.callbacks,"afterBody",this,e))}getFooter(e,n){const{callbacks:o}=n,r=Ye(o,"beforeFooter",this,e),i=Ye(o,"footer",this,e),s=Ye(o,"afterFooter",this,e);let c=[];return c=Ft(c,ta(r)),c=Ft(c,ta(i)),c=Ft(c,ta(s)),c}_createItems(e){const n=this._active,o=this.chart.data,r=[],i=[],s=[];let c=[],d,h;for(d=0,h=n.length;d<h;++d)c.push(s$(this.chart,n[d]));return e.filter&&(c=c.filter((u,p,y)=>e.filter(u,p,y,o))),e.itemSort&&(c=c.sort((u,p)=>e.itemSort(u,p,o))),Le(c,u=>{const p=lV(e.callbacks,u);r.push(Ye(p,"labelColor",this,u)),i.push(Ye(p,"labelPointStyle",this,u)),s.push(Ye(p,"labelTextColor",this,u))}),this.labelColors=r,this.labelPointStyles=i,this.labelTextColors=s,this.dataPoints=c,c}update(e,n){const o=this.options.setContext(this.getContext()),r=this._active;let i,s=[];if(!r.length)this.opacity!==0&&(i={opacity:0});else{const c=V1[o.position].call(this,r,this._eventPosition);s=this._createItems(o),this.title=this.getTitle(s,o),this.beforeBody=this.getBeforeBody(s,o),this.body=this.getBody(s,o),this.afterBody=this.getAfterBody(s,o),this.footer=this.getFooter(s,o);const d=this._size=oV(this,o),h=Object.assign({},c,d),u=rV(this.chart,o,h),p=iV(o,h,u,this.chart);this.xAlign=u.xAlign,this.yAlign=u.yAlign,i={opacity:1,x:p.x,y:p.y,width:d.width,height:d.height,caretX:c.x,caretY:c.y}}this._tooltipItems=s,this.$context=void 0,i&&this._resolveAnimations().update(this,i),e&&o.external&&o.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(e,n,o,r){const i=this.getCaretPosition(e,o,r);n.lineTo(i.x1,i.y1),n.lineTo(i.x2,i.y2),n.lineTo(i.x3,i.y3)}getCaretPosition(e,n,o){const{xAlign:r,yAlign:i}=this,{caretSize:s,cornerRadius:c}=o,{topLeft:d,topRight:h,bottomLeft:u,bottomRight:p}=vs(c),{x:y,y:f}=e,{width:k,height:m}=n;let g,w,S,v,M,C;return i==="center"?(M=f+m/2,r==="left"?(g=y,w=g-s,v=M+s,C=M-s):(g=y+k,w=g+s,v=M-s,C=M+s),S=g):(r==="left"?w=y+Math.max(d,u)+s:r==="right"?w=y+k-Math.max(h,p)-s:w=this.caretX,i==="top"?(v=f,M=v-s,g=w-s,S=w+s):(v=f+m,M=v+s,g=w+s,S=w-s),C=v),{x1:g,x2:w,x3:S,y1:v,y2:M,y3:C}}drawTitle(e,n,o){const r=this.title,i=r.length;let s,c,d;if(i){const h=Ss(o.rtl,this.x,this.width);for(e.x=aS(this,o.titleAlign,o),n.textAlign=h.textAlign(o.titleAlign),n.textBaseline="middle",s=Ue(o.titleFont),c=o.titleSpacing,n.fillStyle=o.titleColor,n.font=s.string,d=0;d<i;++d)n.fillText(r[d],h.x(e.x),e.y+s.lineHeight/2),e.y+=s.lineHeight+c,d+1===i&&(e.y+=o.titleMarginBottom-c)}}_drawColorBox(e,n,o,r,i){const s=this.labelColors[o],c=this.labelPointStyles[o],{boxHeight:d,boxWidth:h}=i,u=Ue(i.bodyFont),p=aS(this,"left",i),y=r.x(p),f=d<u.lineHeight?(u.lineHeight-d)/2:0,k=n.y+f;if(i.usePointStyle){const m={radius:Math.min(h,d)/2,pointStyle:c.pointStyle,rotation:c.rotation,borderWidth:1},g=r.leftForLtr(y,h)+h/2,w=k+d/2;e.strokeStyle=i.multiKeyBackground,e.fillStyle=i.multiKeyBackground,vI(e,m,g,w),e.strokeStyle=s.borderColor,e.fillStyle=s.backgroundColor,vI(e,m,g,w)}else{e.lineWidth=be(s.borderWidth)?Math.max(...Object.values(s.borderWidth)):s.borderWidth||1,e.strokeStyle=s.borderColor,e.setLineDash(s.borderDash||[]),e.lineDashOffset=s.borderDashOffset||0;const m=r.leftForLtr(y,h),g=r.leftForLtr(r.xPlus(y,1),h-2),w=vs(s.borderRadius);Object.values(w).some(S=>S!==0)?(e.beginPath(),e.fillStyle=i.multiKeyBackground,EL(e,{x:m,y:k,w:h,h:d,radius:w}),e.fill(),e.stroke(),e.fillStyle=s.backgroundColor,e.beginPath(),EL(e,{x:g,y:k+1,w:h-2,h:d-2,radius:w}),e.fill()):(e.fillStyle=i.multiKeyBackground,e.fillRect(m,k,h,d),e.strokeRect(m,k,h,d),e.fillStyle=s.backgroundColor,e.fillRect(g,k+1,h-2,d-2))}e.fillStyle=this.labelTextColors[o]}drawBody(e,n,o){const{body:r}=this,{bodySpacing:i,bodyAlign:s,displayColors:c,boxHeight:d,boxWidth:h,boxPadding:u}=o,p=Ue(o.bodyFont);let y=p.lineHeight,f=0;const k=Ss(o.rtl,this.x,this.width),m=function(L){n.fillText(L,k.x(e.x+f),e.y+y/2),e.y+=y+i},g=k.textAlign(s);let w,S,v,M,C,x,b;for(n.textAlign=s,n.textBaseline="middle",n.font=p.string,e.x=aS(this,g,o),n.fillStyle=o.bodyColor,Le(this.beforeBody,m),f=c&&g!=="right"?s==="center"?h/2+u:h+2+u:0,M=0,x=r.length;M<x;++M){for(w=r[M],S=this.labelTextColors[M],n.fillStyle=S,Le(w.before,m),v=w.lines,c&&v.length&&(this._drawColorBox(n,e,M,k,o),y=Math.max(p.lineHeight,d)),C=0,b=v.length;C<b;++C)m(v[C]),y=p.lineHeight;Le(w.after,m)}f=0,y=p.lineHeight,Le(this.afterBody,m),e.y-=i}drawFooter(e,n,o){const r=this.footer,i=r.length;let s,c;if(i){const d=Ss(o.rtl,this.x,this.width);for(e.x=aS(this,o.footerAlign,o),e.y+=o.footerMarginTop,n.textAlign=d.textAlign(o.footerAlign),n.textBaseline="middle",s=Ue(o.footerFont),n.fillStyle=o.footerColor,n.font=s.string,c=0;c<i;++c)n.fillText(r[c],d.x(e.x),e.y+s.lineHeight/2),e.y+=s.lineHeight+o.footerSpacing}}drawBackground(e,n,o,r){const{xAlign:i,yAlign:s}=this,{x:c,y:d}=e,{width:h,height:u}=o,{topLeft:p,topRight:y,bottomLeft:f,bottomRight:k}=vs(r.cornerRadius);n.fillStyle=r.backgroundColor,n.strokeStyle=r.borderColor,n.lineWidth=r.borderWidth,n.beginPath(),n.moveTo(c+p,d),s==="top"&&this.drawCaret(e,n,o,r),n.lineTo(c+h-y,d),n.quadraticCurveTo(c+h,d,c+h,d+y),s==="center"&&i==="right"&&this.drawCaret(e,n,o,r),n.lineTo(c+h,d+u-k),n.quadraticCurveTo(c+h,d+u,c+h-k,d+u),s==="bottom"&&this.drawCaret(e,n,o,r),n.lineTo(c+f,d+u),n.quadraticCurveTo(c,d+u,c,d+u-f),s==="center"&&i==="left"&&this.drawCaret(e,n,o,r),n.lineTo(c,d+p),n.quadraticCurveTo(c,d,c+p,d),n.closePath(),n.fill(),r.borderWidth>0&&n.stroke()}_updateAnimationTarget(e){const n=this.chart,o=this.$animations,r=o&&o.x,i=o&&o.y;if(r||i){const s=V1[e.position].call(this,this._active,this._eventPosition);if(!s)return;const c=this._size=oV(this,e),d=Object.assign({},s,this._size),h=rV(n,e,d),u=iV(e,d,h,n);(r._to!==u.x||i._to!==u.y)&&(this.xAlign=h.xAlign,this.yAlign=h.yAlign,this.width=c.width,this.height=c.height,this.caretX=s.x,this.caretY=s.y,this._resolveAnimations().update(this,u))}}_willRender(){return!!this.opacity}draw(e){const n=this.options.setContext(this.getContext());let o=this.opacity;if(!o)return;this._updateAnimationTarget(n);const r={width:this.width,height:this.height},i={x:this.x,y:this.y};o=Math.abs(o)<.001?0:o;const s=ht(n.padding),c=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&c&&(e.save(),e.globalAlpha=o,this.drawBackground(i,e,r,n),KB(e,n.textDirection),i.y+=s.top,this.drawTitle(i,e,n),this.drawBody(i,e,n),this.drawFooter(i,e,n),XB(e,n.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,n){const o=this._active,r=e.map(({datasetIndex:c,index:d})=>{const h=this.chart.getDatasetMeta(c);if(!h)throw new Error("Cannot find a dataset at index "+c);return{datasetIndex:c,element:h.data[d],index:d}}),i=!BL(o,r),s=this._positionChanged(r,n);(i||s)&&(this._active=r,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,n,o=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const r=this.options,i=this._active||[],s=this._getActiveElements(e,i,n,o),c=this._positionChanged(s,e),d=n||!BL(s,i)||c;return d&&(this._active=s,(r.enabled||r.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,n))),d}_getActiveElements(e,n,o,r){const i=this.options;if(e.type==="mouseout")return[];if(!r)return n.filter(c=>this.chart.data.datasets[c.datasetIndex]&&this.chart.getDatasetMeta(c.datasetIndex).controller.getParsed(c.index)!==void 0);const s=this.chart.getElementsAtEventForMode(e,i.mode,i,o);return i.reverse&&s.reverse(),s}_positionChanged(e,n){const{caretX:o,caretY:r,options:i}=this,s=V1[i.position].call(this,e,n);return s!==!1&&(o!==s.x||r!==s.y)}}se(GI,"positioners",V1);var y$={id:"tooltip",_element:GI,positioners:V1,afterInit(a,e,n){n&&(a.tooltip=new GI({chart:a,options:n}))},beforeUpdate(a,e,n){a.tooltip&&a.tooltip.initialize(n)},reset(a,e,n){a.tooltip&&a.tooltip.initialize(n)},afterDraw(a){const e=a.tooltip;if(e&&e._willRender()){const n={tooltip:e};if(a.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0})===!1)return;e.draw(a.ctx),a.notifyPlugins("afterTooltipDraw",n)}},afterEvent(a,e){if(a.tooltip){const n=e.replay;a.tooltip.handleEvent(e.event,n,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(a,e)=>e.bodyFont.size,boxWidth:(a,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:cV},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:a=>a!=="filter"&&a!=="itemSort"&&a!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const f$=(a,e,n,o)=>(typeof e=="string"?(n=a.push(e)-1,o.unshift({index:n,label:e})):isNaN(e)&&(n=null),n);function k$(a,e,n,o){const r=a.indexOf(e);if(r===-1)return f$(a,e,n,o);const i=a.lastIndexOf(e);return r!==i?n:r}const m$=(a,e)=>a===null?null:Ne(Math.round(a),0,e);function dV(a){const e=this.getLabels();return a>=0&&a<e.length?e[a]:a}class KI extends _s{constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){const n=this._addedLabels;if(n.length){const o=this.getLabels();for(const{index:r,label:i}of n)o[r]===i&&o.splice(r,1);this._addedLabels=[]}super.init(e)}parse(e,n){if(Ce(e))return null;const o=this.getLabels();return n=isFinite(n)&&o[n]===e?n:k$(o,e,ge(n,e),this._addedLabels),m$(n,o.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:n}=this.getUserBounds();let{min:o,max:r}=this.getMinMax(!0);this.options.bounds==="ticks"&&(e||(o=0),n||(r=this.getLabels().length-1)),this.min=o,this.max=r}buildTicks(){const e=this.min,n=this.max,o=this.options.offset,r=[];let i=this.getLabels();i=e===0&&n===i.length-1?i:i.slice(e,n+1),this._valueRange=Math.max(i.length-(o?0:1),1),this._startValue=this.min-(o?.5:0);for(let s=e;s<=n;s++)r.push({value:s});return r}getLabelForValue(e){return dV.call(this,e)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(e){return typeof e!="number"&&(e=this.parse(e)),e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getPixelForTick(e){const n=this.ticks;return e<0||e>n.length-1?null:this.getPixelForValue(n[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}}se(KI,"id","category"),se(KI,"defaults",{ticks:{callback:dV}});function g$(a,e){const n=[],{bounds:r,step:i,min:s,max:c,precision:d,count:h,maxTicks:u,maxDigits:p,includeBounds:y}=a,f=i||1,k=u-1,{min:m,max:g}=e,w=!Ce(s),S=!Ce(c),v=!Ce(h),M=(g-m)/(p+1);let C=wB((g-m)/k/f)*f,x,b,L,I;if(C<1e-14&&!w&&!S)return[{value:m},{value:g}];I=Math.ceil(g/C)-Math.floor(m/C),I>k&&(C=wB(I*C/k/f)*f),Ce(d)||(x=Math.pow(10,d),C=Math.ceil(C*x)/x),r==="ticks"?(b=Math.floor(m/C)*C,L=Math.ceil(g/C)*C):(b=m,L=g),w&&S&&i&&xO((c-s)/i,C/1e3)?(I=Math.round(Math.min((c-s)/C,u)),C=(c-s)/I,b=s,L=c):v?(b=w?s:b,L=S?c:L,I=h-1,C=(L-b)/I):(I=(L-b)/C,m1(I,Math.round(I),C/1e3)?I=Math.round(I):I=Math.ceil(I));const V=Math.max(vB(C),vB(b));x=Math.pow(10,Ce(d)?V:d),b=Math.round(b*x)/x,L=Math.round(L*x)/x;let A=0;for(w&&(y&&b!==s?(n.push({value:s}),b<s&&A++,m1(Math.round((b+A*C)*x)/x,s,hV(s,M,a))&&A++):b<s&&A++);A<I;++A){const q=Math.round((b+A*C)*x)/x;if(S&&q>c)break;n.push({value:q})}return S&&y&&L!==c?n.length&&m1(n[n.length-1].value,c,hV(c,M,a))?n[n.length-1].value=c:n.push({value:c}):(!S||L===c)&&n.push({value:L}),n}function hV(a,e,{horizontal:n,minRotation:o}){const r=Zt(o),i=(n?Math.sin(r):Math.cos(r))||.001,s=.75*e*(""+a).length;return Math.min(e/i,s)}class M$ extends _s{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,n){return Ce(e)||(typeof e=="number"||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){const{beginAtZero:e}=this.options,{minDefined:n,maxDefined:o}=this.getUserBounds();let{min:r,max:i}=this;const s=d=>r=n?r:d,c=d=>i=o?i:d;if(e){const d=jt(r),h=jt(i);d<0&&h<0?c(0):d>0&&h>0&&s(0)}if(r===i){let d=i===0?1:Math.abs(i*.05);c(i+d),e||s(r-d)}this.min=r,this.max=i}getTickLimit(){const e=this.options.ticks;let{maxTicksLimit:n,stepSize:o}=e,r;return o?(r=Math.ceil(this.max/o)-Math.floor(this.min/o)+1,r>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${o} would result generating up to ${r} ticks. Limiting to 1000.`),r=1e3)):(r=this.computeTickLimit(),n=n||11),n&&(r=Math.min(n,r)),r}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,n=e.ticks;let o=this.getTickLimit();o=Math.max(2,o);const r={maxTicks:o,bounds:e.bounds,min:e.min,max:e.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},i=this._range||this,s=g$(r,i);return e.bounds==="ticks"&&wO(s,this,"value"),e.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}configure(){const e=this.ticks;let n=this.min,o=this.max;if(super.configure(),this.options.offset&&e.length){const r=(o-n)/Math.max(e.length-1,1)/2;n-=r,o+=r}this._startValue=n,this._endValue=o,this._valueRange=o-n}getLabelForValue(e){return bI(e,this.chart.options.locale,this.options.ticks.format)}}class XI extends M${determineDataLimits(){const{min:e,max:n}=this.getMinMax(!0);this.min=Re(e)?e:0,this.max=Re(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),n=e?this.width:this.height,o=Zt(this.options.ticks.minRotation),r=(e?Math.sin(o):Math.cos(o))||.001,i=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,i.lineHeight/r))}getPixelForValue(e){return e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}se(XI,"id","linear"),se(XI,"defaults",{ticks:{callback:PB.formatters.numeric}});const nS={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Qe=Object.keys(nS);function uV(a,e){return a-e}function pV(a,e){if(Ce(e))return null;const n=a._adapter,{parser:o,round:r,isoWeekday:i}=a._parseOpts;let s=e;return typeof o=="function"&&(s=o(s)),Re(s)||(s=typeof o=="string"?n.parse(s,o):n.parse(s)),s===null?null:(r&&(s=r==="week"&&(g1(i)||i===!0)?n.startOf(s,"isoWeek",i):n.startOf(s,r)),+s)}function yV(a,e,n,o){const r=Qe.length;for(let i=Qe.indexOf(a);i<r-1;++i){const s=nS[Qe[i]],c=s.steps?s.steps:Number.MAX_SAFE_INTEGER;if(s.common&&Math.ceil((n-e)/(c*s.size))<=o)return Qe[i]}return Qe[r-1]}function b$(a,e,n,o,r){for(let i=Qe.length-1;i>=Qe.indexOf(n);i--){const s=Qe[i];if(nS[s].common&&a._adapter.diff(r,o,s)>=e-1)return s}return Qe[n?Qe.indexOf(n):0]}function x$(a){for(let e=Qe.indexOf(a)+1,n=Qe.length;e<n;++e)if(nS[Qe[e]].common)return Qe[e]}function fV(a,e,n){if(!n)a[e]=!0;else if(n.length){const{lo:o,hi:r}=kI(n,e),i=n[o]>=e?n[o]:n[r];a[i]=!0}}function w$(a,e,n,o){const r=a._adapter,i=+r.startOf(e[0].value,o),s=e[e.length-1].value;let c,d;for(c=i;c<=s;c=+r.add(c,1,o))d=n[c],d>=0&&(e[d].major=!0);return e}function kV(a,e,n){const o=[],r={},i=e.length;let s,c;for(s=0;s<i;++s)c=e[s],r[c]=s,o.push({value:c,major:!1});return i===0||!n?o:w$(a,o,r,n)}class oS extends _s{constructor(e){super(e),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(e,n={}){const o=e.time||(e.time={}),r=this._adapter=new oR._date(e.adapters.date);r.init(n),f1(o.displayFormats,r.formats()),this._parseOpts={parser:o.parser,round:o.round,isoWeekday:o.isoWeekday},super.init(e),this._normalized=n.normalized}parse(e,n){return e===void 0?null:pV(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const e=this.options,n=this._adapter,o=e.time.unit||"day";let{min:r,max:i,minDefined:s,maxDefined:c}=this.getUserBounds();function d(h){!s&&!isNaN(h.min)&&(r=Math.min(r,h.min)),!c&&!isNaN(h.max)&&(i=Math.max(i,h.max))}(!s||!c)&&(d(this._getLabelBounds()),(e.bounds!=="ticks"||e.ticks.source!=="labels")&&d(this.getMinMax(!1))),r=Re(r)&&!isNaN(r)?r:+n.startOf(Date.now(),o),i=Re(i)&&!isNaN(i)?i:+n.endOf(Date.now(),o)+1,this.min=Math.min(r,i-1),this.max=Math.max(r+1,i)}_getLabelBounds(){const e=this.getLabelTimestamps();let n=Number.POSITIVE_INFINITY,o=Number.NEGATIVE_INFINITY;return e.length&&(n=e[0],o=e[e.length-1]),{min:n,max:o}}buildTicks(){const e=this.options,n=e.time,o=e.ticks,r=o.source==="labels"?this.getLabelTimestamps():this._generate();e.bounds==="ticks"&&r.length&&(this.min=this._userMin||r[0],this.max=this._userMax||r[r.length-1]);const i=this.min,s=this.max,c=IO(r,i,s);return this._unit=n.unit||(o.autoSkip?yV(n.minUnit,this.min,this.max,this._getLabelCapacity(i)):b$(this,c.length,n.minUnit,this.min,this.max)),this._majorUnit=!o.major.enabled||this._unit==="year"?void 0:x$(this._unit),this.initOffsets(r),e.reverse&&c.reverse(),kV(this,c,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(e=>+e.value))}initOffsets(e=[]){let n=0,o=0,r,i;this.options.offset&&e.length&&(r=this.getDecimalForValue(e[0]),e.length===1?n=1-r:n=(this.getDecimalForValue(e[1])-r)/2,i=this.getDecimalForValue(e[e.length-1]),e.length===1?o=i:o=(i-this.getDecimalForValue(e[e.length-2]))/2);const s=e.length<3?.5:.25;n=Ne(n,0,s),o=Ne(o,0,s),this._offsets={start:n,end:o,factor:1/(n+1+o)}}_generate(){const e=this._adapter,n=this.min,o=this.max,r=this.options,i=r.time,s=i.unit||yV(i.minUnit,n,o,this._getLabelCapacity(n)),c=ge(r.ticks.stepSize,1),d=s==="week"?i.isoWeekday:!1,h=g1(d)||d===!0,u={};let p=n,y,f;if(h&&(p=+e.startOf(p,"isoWeek",d)),p=+e.startOf(p,h?"day":s),e.diff(o,n,s)>1e5*c)throw new Error(n+" and "+o+" are too far apart with stepSize of "+c+" "+s);const k=r.ticks.source==="data"&&this.getDataTimestamps();for(y=p,f=0;y<o;y=+e.add(y,c,s),f++)fV(u,y,k);return(y===o||r.bounds==="ticks"||f===1)&&fV(u,y,k),Object.keys(u).sort(uV).map(m=>+m)}getLabelForValue(e){const n=this._adapter,o=this.options.time;return o.tooltipFormat?n.format(e,o.tooltipFormat):n.format(e,o.displayFormats.datetime)}format(e,n){const r=this.options.time.displayFormats,i=this._unit,s=n||r[i];return this._adapter.format(e,s)}_tickFormatFunction(e,n,o,r){const i=this.options,s=i.ticks.callback;if(s)return Be(s,[e,n,o],this);const c=i.time.displayFormats,d=this._unit,h=this._majorUnit,u=d&&c[d],p=h&&c[h],y=o[n],f=h&&p&&y&&y.major;return this._adapter.format(e,r||(f?p:u))}generateTickLabels(e){let n,o,r;for(n=0,o=e.length;n<o;++n)r=e[n],r.label=this._tickFormatFunction(r.value,n,e)}getDecimalForValue(e){return e===null?NaN:(e-this.min)/(this.max-this.min)}getPixelForValue(e){const n=this._offsets,o=this.getDecimalForValue(e);return this.getPixelForDecimal((n.start+o)*n.factor)}getValueForPixel(e){const n=this._offsets,o=this.getDecimalForPixel(e)/n.factor-n.end;return this.min+o*(this.max-this.min)}_getLabelSize(e){const n=this.options.ticks,o=this.ctx.measureText(e).width,r=Zt(this.isHorizontal()?n.maxRotation:n.minRotation),i=Math.cos(r),s=Math.sin(r),c=this._resolveTickFontOptions(0).size;return{w:o*i+c*s,h:o*s+c*i}}_getLabelCapacity(e){const n=this.options.time,o=n.displayFormats,r=o[n.unit]||o.millisecond,i=this._tickFormatFunction(e,0,kV(this,[e],this._majorUnit),r),s=this._getLabelSize(i),c=Math.floor(this.isHorizontal()?this.width/s.w:this.height/s.h)-1;return c>0?c:1}getDataTimestamps(){let e=this._cache.data||[],n,o;if(e.length)return e;const r=this.getMatchingVisibleMetas();if(this._normalized&&r.length)return this._cache.data=r[0].controller.getAllParsedValues(this);for(n=0,o=r.length;n<o;++n)e=e.concat(r[n].controller.getAllParsedValues(this));return this._cache.data=this.normalize(e)}getLabelTimestamps(){const e=this._cache.labels||[];let n,o;if(e.length)return e;const r=this.getLabels();for(n=0,o=r.length;n<o;++n)e.push(pV(this,r[n]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return IB(e.sort(uV))}}se(oS,"id","time"),se(oS,"defaults",{bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}});function rS(a,e,n){let o=0,r=a.length-1,i,s,c,d;n?(e>=a[o].pos&&e<=a[r].pos&&({lo:o,hi:r}=Ki(a,"pos",e)),{pos:i,time:c}=a[o],{pos:s,time:d}=a[r]):(e>=a[o].time&&e<=a[r].time&&({lo:o,hi:r}=Ki(a,"time",e)),{time:i,pos:c}=a[o],{time:s,pos:d}=a[r]);const h=s-i;return h?c+(d-c)*(e-i)/h:c}class mV extends oS{constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const e=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(e);this._minPos=rS(n,this.min),this._tableRange=rS(n,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){const{min:n,max:o}=this,r=[],i=[];let s,c,d,h,u;for(s=0,c=e.length;s<c;++s)h=e[s],h>=n&&h<=o&&r.push(h);if(r.length<2)return[{time:n,pos:0},{time:o,pos:1}];for(s=0,c=r.length;s<c;++s)u=r[s+1],d=r[s-1],h=r[s],Math.round((u+d)/2)!==h&&i.push({time:h,pos:s/(c-1)});return i}_generate(){const e=this.min,n=this.max;let o=super.getDataTimestamps();return(!o.includes(e)||!o.length)&&o.splice(0,0,e),(!o.includes(n)||o.length===1)&&o.push(n),o.sort((r,i)=>r-i)}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;const n=this.getDataTimestamps(),o=this.getLabelTimestamps();return n.length&&o.length?e=this.normalize(n.concat(o)):e=n.length?n:o,e=this._cache.all=e,e}getDecimalForValue(e){return(rS(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){const n=this._offsets,o=this.getDecimalForPixel(e)/n.factor-n.end;return rS(this._table,o*this._tableRange+this._minPos,!0)}}se(mV,"id","timeseries"),se(mV,"defaults",oS.defaults);const v$={key:0,class:"mb-2 text-sm font-medium text-gray-700"},C$={key:0,class:"text-red-500 ml-1"},L$={key:0,class:"absolute inset-0 flex items-center justify-center bg-white"},S$={key:1,class:"absolute inset-0 flex items-center justify-center bg-red-50 border border-red-200 rounded"},I$={class:"text-red-600 text-sm"},_$={key:1,class:"mt-2 text-xs text-gray-500"},A$={key:0},gV=ga(t.defineComponent({name:"DCodeChart",__name:"DCodeChart",props:{type:{default:"line"},width:{default:400},height:{default:300},required:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},error:{default:null},showInfo:{type:Boolean,default:!1},responsive:{type:Boolean,default:!0},maintainAspectRatio:{type:Boolean,default:!1},theme:{default:"light"},colors:{default:()=>["#3B82F6","#EF4444","#10B981","#F59E0B","#8B5CF6","#EC4899","#14B8A6","#F97316","#6366F1","#84CC16"]},data:{},modelValue:{},options:{},onClick:{},onHover:{},label:{}},emits:["update:modelValue","click","hover","ready"],setup(a,{expose:e,emit:n}){ea.register(KI,XI,JL,va,eS,z1,i$,y$,o$,QN,NL,RL,PI,Is);const o=a,r=n,i=t.ref(null),s=t.shallowRef(null),c=t.ref(null),d=t.computed(()=>({"opacity-50 pointer-events-none":o.loading||o.error})),h=()=>{const y=o.theme==="dark";return{responsive:o.responsive,maintainAspectRatio:o.maintainAspectRatio,animation:{duration:1e3,easing:"easeInOutQuart",delay:f=>{let k=0;return f.type==="data"&&f.mode==="default"&&(k=f.dataIndex*100+f.datasetIndex*50),k},onComplete:()=>{}},plugins:{legend:{position:"top",labels:{color:y?"#E5E7EB":"#374151",font:{size:12}}},tooltip:{backgroundColor:y?"#1F2937":"#FFFFFF",titleColor:y?"#F3F4F6":"#111827",bodyColor:y?"#D1D5DB":"#4B5563",borderColor:y?"#374151":"#E5E7EB",borderWidth:1,animation:{duration:200,easing:"easeInOutQuad"}}},scales:o.type!=="pie"&&o.type!=="doughnut"&&o.type!=="polarArea"?{x:{grid:{color:y?"#374151":"#E5E7EB"},ticks:{color:y?"#D1D5DB":"#6B7280"}},y:{grid:{color:y?"#374151":"#E5E7EB"},ticks:{color:y?"#D1D5DB":"#6B7280"}}}:void 0}},u=y=>!y||!y.datasets?y:{...y,datasets:y.datasets.map((f,k)=>{const m=k%o.colors.length,g=o.colors[m];let w=f.backgroundColor,S=f.borderColor;return["pie","doughnut","polarArea"].includes(o.type)&&(!w||w.length===0)?f.data&&(w=f.data.map((v,M)=>o.colors[M%o.colors.length]+"80"),S=f.data.map((v,M)=>o.colors[M%o.colors.length])):(w=w||g+"40",S=S||g),{...f,borderColor:S,backgroundColor:w,pointBackgroundColor:f.pointBackgroundColor||g,pointBorderColor:f.pointBorderColor||g,hoverBackgroundColor:f.hoverBackgroundColor||g+"60",hoverBorderColor:f.hoverBorderColor||g}})},p=async()=>{if(!i.value)return;await t.nextTick(),s.value&&s.value.destroy();const y=o.data||o.modelValue;let f=y;if(Array.isArray(y))if(y.length>0&&typeof y[0]=="object"&&y[0]!==null){const m=Object.keys(y[0]),g=m.find(S=>["label","name","x","category","title"].includes(S.toLowerCase()))||m[0],w=m.find(S=>S!==g&&["value","y","count","amount","total","data"].includes(S.toLowerCase()))||m.find(S=>S!==g&&typeof y[0][S]=="number")||(m.length>1?m.find(S=>S!==g):m[0]);f={labels:y.map(S=>S[g||""]),datasets:[{label:o.label||"Data",data:y.map(S=>S[w||""])}]}}else y.length>0?f={labels:y.map((m,g)=>`Data ${g+1}`),datasets:[{label:o.label||"Data",data:y}]}:f={labels:[],datasets:[]};if(c.value=u(f),!c.value)return;const k={...h(),...o.options,onClick:(m,g)=>{r("click",m,g),o.onClick&&o.onClick(m,g)},onHover:(m,g)=>{r("hover",m,g),o.onHover&&o.onHover(m,g)}};s.value=new ea(i.value,{type:o.type,data:c.value,options:k}),r("ready",s.value)};return t.watch(()=>[o.data,o.modelValue,o.type,o.options,o.theme],()=>{p()},{deep:!0}),t.watch(()=>[o.width,o.height],()=>{s.value&&s.value.resize()}),t.onMounted(()=>{p()}),t.onUnmounted(()=>{s.value&&s.value.destroy()}),e({chart:s,updateChart:p}),(y,f)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["d-code-chart",d.value])},[a.label?(t.openBlock(),t.createElementBlock("div",v$,[t.createTextVNode(t.toDisplayString(a.label)+" ",1),a.required?(t.openBlock(),t.createElementBlock("span",C$,"*")):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:"relative",style:t.normalizeStyle({height:a.height+"px"})},[t.createElementVNode("canvas",{ref_key:"chartCanvas",ref:i},null,512),a.loading?(t.openBlock(),t.createElementBlock("div",L$,[...f[0]||(f[0]=[t.createElementVNode("div",{class:"animate-pulse-slow rounded-full h-8 w-8 border-b-2 border-blue-600"},null,-1)])])):t.createCommentVNode("",!0),a.error?(t.openBlock(),t.createElementBlock("div",S$,[t.createElementVNode("div",I$,t.toDisplayString(a.error),1)])):t.createCommentVNode("",!0)],4),a.showInfo&&c.value?(t.openBlock(),t.createElementBlock("div",_$,[c.value.datasets?(t.openBlock(),t.createElementBlock("div",A$,t.toDisplayString(c.value.datasets.length)+" dataset(s) • "+t.toDisplayString(c.value.labels?c.value.labels.length:0)+" data points ",1)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)],2))}}),[["__scopeId","data-v-b1c7c58f"]]),Bs=t.defineComponent({__name:"Label",props:{for:{},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a,n=Ee(e,"class");return(o,r)=>(t.openBlock(),t.createBlock(t.unref(nH),t.mergeProps(t.unref(n),{class:t.unref(ke)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",e.class)}),{default:t.withCtx(()=>[t.renderSlot(o.$slots,"default")]),_:3},16,["class"]))}}),B$=["aria-busy"],z$={key:0,class:"h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},V$={key:1,class:"flex items-center gap-2.5"},q$=["id","checked","indeterminate","disabled","required"],P$={key:0,class:"ml-1 text-red-500 dark:text-red-400","aria-label":"required"},q1=ga(t.defineComponent({name:"DCodeCheckbox",inheritAttrs:!1,__name:"DCodeCheckbox",props:{modelValue:{type:[Boolean,null]},visible:{type:Boolean,default:!0},skeleton:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:["update:modelValue","change"],setup(a,{emit:e}){const n=t.useAttrs(),o=e,r=a,i=t.computed(()=>n.label),s=t.computed(()=>n.placeholder),c=t.computed(()=>n.title),d=t.computed(()=>r.visible??!0),h=t.computed(()=>n.required===""||n.required===!0||n.required==="true"),u=Math.random().toString(36).slice(2,7),p=t.computed(()=>`dcode-checkbox-${n.id||i.value||"checkbox"}-${u}`),y=t.ref(!!r.modelValue);t.watch(()=>r.modelValue,m=>{y.value=!!m},{immediate:!0});const f=()=>{if(r.disabled)return;const m=!y.value;y.value=m,o("update:modelValue",m)},k=m=>{(m.key===" "||m.key==="Enter")&&(m.preventDefault(),f())};return(m,g)=>t.withDirectives((t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["",[t.unref(n).class,{"opacity-60 cursor-not-allowed":a.disabled}]]),"aria-busy":a.skeleton},[a.skeleton?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[i.value?(t.openBlock(),t.createElementBlock("div",z$)):t.createCommentVNode("",!0),g[0]||(g[0]=t.createElementVNode("div",{class:"flex items-center gap-2.5"},[t.createElementVNode("div",{class:"h-4 w-4 rounded bg-gray-200 dark:bg-gray-700 animate-pulse flex-shrink-0"}),t.createElementVNode("div",{class:"h-4 w-24 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"})],-1))],64)):(t.openBlock(),t.createElementBlock("div",V$,[t.createElementVNode("label",{class:t.normalizeClass(["flex items-start gap-2.5 group relative",{"cursor-pointer":!a.disabled,"opacity-50 cursor-not-allowed":a.disabled}])},[t.createElementVNode("input",{type:"checkbox",id:p.value,class:"sr-only",checked:y.value,indeterminate:a.indeterminate,disabled:a.disabled,required:h.value,onChange:f,onKeydown:k},null,40,q$),t.createElementVNode("div",{class:t.normalizeClass(["h-4 w-4 shrink-0 rounded-sm border shadow-sm transition-colors flex items-center justify-center mt-0.5",[y.value||a.indeterminate?"bg-primary border-primary text-primary-foreground":"border-neutral-300 dark:border-neutral-600 bg-white dark:bg-neutral-900",a.disabled?"cursor-not-allowed":"cursor-pointer"]]),"aria-hidden":"true"},[y.value&&!a.indeterminate?(t.openBlock(),t.createBlock(t.unref(sa),{key:0,class:"h-3 w-3 text-white","stroke-width":"3"})):a.indeterminate?(t.openBlock(),t.createBlock(t.unref(Xs),{key:1,class:"h-3 w-3 text-white","stroke-width":"3"})):t.createCommentVNode("",!0)],2),s.value||c.value?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["text-sm leading-relaxed select-none transition-colors",[a.disabled?"text-gray-400 dark:text-gray-500":"text-gray-700 dark:text-gray-300 group-hover:text-gray-900 dark:group-hover:text-gray-100"]])},t.toDisplayString(s.value||c.value),3)):t.createCommentVNode("",!0)],2),i.value?(t.openBlock(),t.createBlock(Bs,{key:0,for:p.value,class:"text-sm font-medium text-gray-700 dark:text-gray-300 select-none cursor-pointer"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(i.value)+" ",1),h.value?(t.openBlock(),t.createElementBlock("span",P$," * ")):t.createCommentVNode("",!0)]),_:1},8,["for"])):t.createCommentVNode("",!0)]))],10,B$)),[[t.vShow,d.value]])}}),[["__scopeId","data-v-938d0f92"]]),D$=["aria-busy"],E$={key:0,class:"h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},T$={key:1,class:"flex justify-end"},H$=["for"],j$={key:0,class:"ml-1 text-destructive"},O$={class:"relative w-full group"},F$={class:"flex items-center self-stretch px-3 bg-gray-50 dark:bg-neutral-800 border-r border-gray-300 dark:border-gray-700"},R$={class:"text-sm font-semibold text-gray-500 dark:text-gray-400 whitespace-nowrap select-none"},N$=["id","disabled","readonly","placeholder","maxlength"],$$={key:0,class:"absolute top-full right-0 z-10 text-[11px] text-gray-400 dark:text-gray-500 opacity-0 transition-opacity pointer-events-none group-focus-within:opacity-100 mt-0.5"},U$={key:1,class:"flex items-center gap-1 text-xs text-destructive"},MV=t.defineComponent({name:"DCodeCurrencyField",inheritAttrs:!1,__name:"DCodeCurrencyField",props:{modelValue:{},currency:{default:"IDR"},locale:{},label:{},placeholder:{},error:{},disabled:{type:Boolean},readonly:{type:Boolean},clearable:{type:Boolean},hideClearWhenEmpty:{type:Boolean,default:!0},prependInner:{},skeleton:{type:Boolean,default:!1},showCharCount:{type:Boolean,default:!0}},emits:["update:modelValue","clear"],setup(a,{emit:e}){const n=t.useAttrs(),o=e,r=a,i=Math.random().toString(36).slice(2,7),s=t.computed(()=>`app-currency-field-${n.id||r.label||"currency-field"}-${i}`),c=t.computed(()=>{const A=n.required,q=n["aria-required"];return A===""||A===!0||A==="true"||(q==="true"||q===!0)}),d=t.computed(()=>{const A=n.maxlength??n.maxLength;let q=Number.NaN;return typeof A=="number"?q=A:typeof A=="string"&&(q=Number.parseInt(A,10)),Number.isFinite(q)&&q>0?q:void 0}),h=t.computed(()=>r.locale?r.locale:"en-US"),u=t.computed(()=>r.prependInner?r.prependInner:r.currency==="USD"?"$":r.currency==="IDR"?"Rp":r.currency),p=t.computed(()=>new Intl.NumberFormat(h.value,{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:0})),y=A=>{const q=A.replaceAll(/\D/g,"");return q?Number(q):null},f=A=>p.value.format(A),k=t.ref(""),m=t.ref(null);t.watch(()=>r.modelValue,A=>{A==null?k.value="":y(k.value)!==A&&(k.value=f(A))},{immediate:!0});const g=(A,q)=>{let O=0;for(let H=0;H<q;H++)/\d/.test(A[H])&&O++;return O},w=(A,q)=>{let O=0;for(let H=0;H<A.length;H++)if(/\d/.test(A[H])&&(O++,O===q))return H+1;return A.length},S=A=>{const q=A.target,O=q.value,H=q.selectionStart??O.length,W=y(O);if(W===null){k.value="",o("update:modelValue",null);return}const T=f(W);if(O!==T){const j=g(O,H);k.value=T,t.nextTick(()=>{if(m.value){const R=w(T,j);m.value.setSelectionRange(R,R)}})}o("update:modelValue",W)},v=()=>{k.value="",o("update:modelValue",null),o("clear")},M=t.computed(()=>!r.clearable||r.disabled||r.readonly?!1:r.hideClearWhenEmpty?k.value.length>0:!0),C=t.computed(()=>!!r.error),x=t.computed(()=>{const{class:A,maxlength:q,maxLength:O,...H}=n;return H}),b=t.computed(()=>k.value.length),L=t.computed(()=>r.showCharCount?(d.value??0)>0:!1),I=t.computed(()=>L.value&&b.value>0),V=t.computed(()=>`${b.value} / ${d.value}`);return(A,q)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["flex flex-col gap-1.5 w-full",t.unref(n).class]),"aria-busy":r.skeleton},[r.skeleton?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[a.label?(t.openBlock(),t.createElementBlock("div",E$)):t.createCommentVNode("",!0),q[2]||(q[2]=t.createElementVNode("div",{class:"relative w-full"},[t.createElementVNode("div",{class:"h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse"})],-1)),L.value?(t.openBlock(),t.createElementBlock("div",T$,[...q[1]||(q[1]=[t.createElementVNode("div",{class:"h-3 w-14 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},null,-1)])])):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[a.label?(t.openBlock(),t.createElementBlock("label",{key:0,for:s.value,class:"text-sm font-medium text-gray-700 dark:text-gray-300"},[t.createTextVNode(t.toDisplayString(a.label)+" ",1),c.value?(t.openBlock(),t.createElementBlock("span",j$,"*")):t.createCommentVNode("",!0)],8,H$)):t.createCommentVNode("",!0),t.createElementVNode("div",O$,[t.createElementVNode("div",{class:t.normalizeClass(["flex items-center w-full rounded-lg border overflow-hidden transition-all duration-200","bg-white dark:bg-neutral-900",C.value?"border-destructive ring-1 ring-destructive":"border-gray-300 dark:border-gray-700 focus-within:border-blue-500 focus-within:ring-1 focus-within:ring-blue-500 dark:focus-within:border-blue-400",r.disabled?"opacity-50 cursor-not-allowed bg-gray-50 dark:bg-neutral-800":""])},[t.createElementVNode("div",F$,[t.createElementVNode("span",R$,t.toDisplayString(u.value),1)]),t.withDirectives(t.createElementVNode("input",t.mergeProps({id:s.value,ref_key:"inputRef",ref:m,"onUpdate:modelValue":q[0]||(q[0]=O=>k.value=O),onInput:S,type:"text",inputmode:"numeric"},x.value,{disabled:r.disabled,readonly:r.readonly,placeholder:r.placeholder,maxlength:d.value,class:["flex-1 h-10 px-3 py-2 text-sm bg-transparent text-foreground dark:text-gray-300 outline-none placeholder:text-gray-400",M.value?"pr-8":""]}),null,16,N$),[[t.vModelText,k.value]]),M.value?(t.openBlock(),t.createElementBlock("button",{key:0,type:"button",class:"flex items-center justify-center w-8 h-10 text-gray-400 hover:text-gray-600 dark:hover:text-gray-200 transition-colors flex-shrink-0","aria-label":"Clear input",onClick:v},[t.createVNode(t.unref(it),{class:"w-3.5 h-3.5"})])):t.createCommentVNode("",!0)],2),I.value&&!C.value?(t.openBlock(),t.createElementBlock("p",$$,t.toDisplayString(V.value),1)):t.createCommentVNode("",!0)]),C.value?(t.openBlock(),t.createElementBlock("p",U$,[t.createVNode(t.unref(It),{class:"w-3.5 h-3.5 flex-shrink-0"}),t.createTextVNode(" "+t.toDisplayString(r.error),1)])):t.createCommentVNode("",!0)],64))],10,D$))}}),bV=6048e5,W$=864e5,xV=Symbol.for("constructDateFrom");function La(a,e){return typeof a=="function"?a(e):a&&typeof a=="object"&&xV in a?a[xV](e):a instanceof Date?new a.constructor(e):new Date(e)}function Mt(a,e){return La(e||a,a)}let G$={};function iS(){return G$}function P1(a,e){var c,d,h,u;const n=iS(),o=(e==null?void 0:e.weekStartsOn)??((d=(c=e==null?void 0:e.locale)==null?void 0:c.options)==null?void 0:d.weekStartsOn)??n.weekStartsOn??((u=(h=n.locale)==null?void 0:h.options)==null?void 0:u.weekStartsOn)??0,r=Mt(a,e==null?void 0:e.in),i=r.getDay(),s=(i<o?7:0)+i-o;return r.setDate(r.getDate()-s),r.setHours(0,0,0,0),r}function sS(a,e){return P1(a,{...e,weekStartsOn:1})}function wV(a,e){const n=Mt(a,e==null?void 0:e.in),o=n.getFullYear(),r=La(n,0);r.setFullYear(o+1,0,4),r.setHours(0,0,0,0);const i=sS(r),s=La(n,0);s.setFullYear(o,0,4),s.setHours(0,0,0,0);const c=sS(s);return n.getTime()>=i.getTime()?o+1:n.getTime()>=c.getTime()?o:o-1}function vV(a){const e=Mt(a),n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return n.setUTCFullYear(e.getFullYear()),+a-+n}function K$(a,...e){const n=La.bind(null,e.find(o=>typeof o=="object"));return e.map(n)}function CV(a,e){const n=Mt(a,e==null?void 0:e.in);return n.setHours(0,0,0,0),n}function X$(a,e,n){const[o,r]=K$(n==null?void 0:n.in,a,e),i=CV(o),s=CV(r),c=+i-vV(i),d=+s-vV(s);return Math.round((c-d)/W$)}function Z$(a,e){const n=wV(a,e),o=La(a,0);return o.setFullYear(n,0,4),o.setHours(0,0,0,0),sS(o)}function Y$(a){return a instanceof Date||typeof a=="object"&&Object.prototype.toString.call(a)==="[object Date]"}function Q$(a){return!(!Y$(a)&&typeof a!="number"||isNaN(+Mt(a)))}function J$(a,e){const n=Mt(a,e==null?void 0:e.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}const eU={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},tU=(a,e,n)=>{let o;const r=eU[a];return typeof r=="string"?o=r:e===1?o=r.one:o=r.other.replace("{{count}}",e.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+o:o+" ago":o};function zs(a){return(e={})=>{const n=e.width?String(e.width):a.defaultWidth;return a.formats[n]||a.formats[a.defaultWidth]}}const aU={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},nU={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},oU={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},rU={date:zs({formats:aU,defaultWidth:"full"}),time:zs({formats:nU,defaultWidth:"full"}),dateTime:zs({formats:oU,defaultWidth:"full"})},iU={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},sU=(a,e,n,o)=>iU[a];function Rt(a){return(e,n)=>{const o=n!=null&&n.context?String(n.context):"standalone";let r;if(o==="formatting"&&a.formattingValues){const s=a.defaultFormattingWidth||a.defaultWidth,c=n!=null&&n.width?String(n.width):s;r=a.formattingValues[c]||a.formattingValues[s]}else{const s=a.defaultWidth,c=n!=null&&n.width?String(n.width):a.defaultWidth;r=a.values[c]||a.values[s]}const i=a.argumentCallback?a.argumentCallback(e):e;return r[i]}}const lU={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},cU={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},dU={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},hU={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},uU={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},pU={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},yU={ordinalNumber:(a,e)=>{const n=Number(a),o=n%100;if(o>20||o<10)switch(o%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:Rt({values:lU,defaultWidth:"wide"}),quarter:Rt({values:cU,defaultWidth:"wide",argumentCallback:a=>a-1}),month:Rt({values:dU,defaultWidth:"wide"}),day:Rt({values:hU,defaultWidth:"wide"}),dayPeriod:Rt({values:uU,defaultWidth:"wide",formattingValues:pU,defaultFormattingWidth:"wide"})};function Nt(a){return(e,n={})=>{const o=n.width,r=o&&a.matchPatterns[o]||a.matchPatterns[a.defaultMatchWidth],i=e.match(r);if(!i)return null;const s=i[0],c=o&&a.parsePatterns[o]||a.parsePatterns[a.defaultParseWidth],d=Array.isArray(c)?kU(c,p=>p.test(s)):fU(c,p=>p.test(s));let h;h=a.valueCallback?a.valueCallback(d):d,h=n.valueCallback?n.valueCallback(h):h;const u=e.slice(s.length);return{value:h,rest:u}}}function fU(a,e){for(const n in a)if(Object.prototype.hasOwnProperty.call(a,n)&&e(a[n]))return n}function kU(a,e){for(let n=0;n<a.length;n++)if(e(a[n]))return n}function LV(a){return(e,n={})=>{const o=e.match(a.matchPattern);if(!o)return null;const r=o[0],i=e.match(a.parsePattern);if(!i)return null;let s=a.valueCallback?a.valueCallback(i[0]):i[0];s=n.valueCallback?n.valueCallback(s):s;const c=e.slice(r.length);return{value:s,rest:c}}}const mU=/^(\d+)(th|st|nd|rd)?/i,gU=/\d+/i,MU={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},bU={any:[/^b/i,/^(a|c)/i]},xU={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},wU={any:[/1/i,/2/i,/3/i,/4/i]},vU={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},CU={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},LU={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},SU={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},IU={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},_U={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},AU={ordinalNumber:LV({matchPattern:mU,parsePattern:gU,valueCallback:a=>parseInt(a,10)}),era:Nt({matchPatterns:MU,defaultMatchWidth:"wide",parsePatterns:bU,defaultParseWidth:"any"}),quarter:Nt({matchPatterns:xU,defaultMatchWidth:"wide",parsePatterns:wU,defaultParseWidth:"any",valueCallback:a=>a+1}),month:Nt({matchPatterns:vU,defaultMatchWidth:"wide",parsePatterns:CU,defaultParseWidth:"any"}),day:Nt({matchPatterns:LU,defaultMatchWidth:"wide",parsePatterns:SU,defaultParseWidth:"any"}),dayPeriod:Nt({matchPatterns:IU,defaultMatchWidth:"any",parsePatterns:_U,defaultParseWidth:"any"})},SV={code:"en-US",formatDistance:tU,formatLong:rU,formatRelative:sU,localize:yU,match:AU,options:{weekStartsOn:0,firstWeekContainsDate:1}};function BU(a,e){const n=Mt(a,e==null?void 0:e.in);return X$(n,J$(n))+1}function zU(a,e){const n=Mt(a,e==null?void 0:e.in),o=+sS(n)-+Z$(n);return Math.round(o/bV)+1}function IV(a,e){var u,p,y,f;const n=Mt(a,e==null?void 0:e.in),o=n.getFullYear(),r=iS(),i=(e==null?void 0:e.firstWeekContainsDate)??((p=(u=e==null?void 0:e.locale)==null?void 0:u.options)==null?void 0:p.firstWeekContainsDate)??r.firstWeekContainsDate??((f=(y=r.locale)==null?void 0:y.options)==null?void 0:f.firstWeekContainsDate)??1,s=La((e==null?void 0:e.in)||a,0);s.setFullYear(o+1,0,i),s.setHours(0,0,0,0);const c=P1(s,e),d=La((e==null?void 0:e.in)||a,0);d.setFullYear(o,0,i),d.setHours(0,0,0,0);const h=P1(d,e);return+n>=+c?o+1:+n>=+h?o:o-1}function VU(a,e){var c,d,h,u;const n=iS(),o=(e==null?void 0:e.firstWeekContainsDate)??((d=(c=e==null?void 0:e.locale)==null?void 0:c.options)==null?void 0:d.firstWeekContainsDate)??n.firstWeekContainsDate??((u=(h=n.locale)==null?void 0:h.options)==null?void 0:u.firstWeekContainsDate)??1,r=IV(a,e),i=La((e==null?void 0:e.in)||a,0);return i.setFullYear(r,0,o),i.setHours(0,0,0,0),P1(i,e)}function qU(a,e){const n=Mt(a,e==null?void 0:e.in),o=+P1(n,e)-+VU(n,e);return Math.round(o/bV)+1}function Ie(a,e){const n=a<0?"-":"",o=Math.abs(a).toString().padStart(e,"0");return n+o}const Sa={y(a,e){const n=a.getFullYear(),o=n>0?n:1-n;return Ie(e==="yy"?o%100:o,e.length)},M(a,e){const n=a.getMonth();return e==="M"?String(n+1):Ie(n+1,2)},d(a,e){return Ie(a.getDate(),e.length)},a(a,e){const n=a.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(a,e){return Ie(a.getHours()%12||12,e.length)},H(a,e){return Ie(a.getHours(),e.length)},m(a,e){return Ie(a.getMinutes(),e.length)},s(a,e){return Ie(a.getSeconds(),e.length)},S(a,e){const n=e.length,o=a.getMilliseconds(),r=Math.trunc(o*Math.pow(10,n-3));return Ie(r,e.length)}},Vs={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},_V={G:function(a,e,n){const o=a.getFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(o,{width:"abbreviated"});case"GGGGG":return n.era(o,{width:"narrow"});case"GGGG":default:return n.era(o,{width:"wide"})}},y:function(a,e,n){if(e==="yo"){const o=a.getFullYear(),r=o>0?o:1-o;return n.ordinalNumber(r,{unit:"year"})}return Sa.y(a,e)},Y:function(a,e,n,o){const r=IV(a,o),i=r>0?r:1-r;if(e==="YY"){const s=i%100;return Ie(s,2)}return e==="Yo"?n.ordinalNumber(i,{unit:"year"}):Ie(i,e.length)},R:function(a,e){const n=wV(a);return Ie(n,e.length)},u:function(a,e){const n=a.getFullYear();return Ie(n,e.length)},Q:function(a,e,n){const o=Math.ceil((a.getMonth()+1)/3);switch(e){case"Q":return String(o);case"QQ":return Ie(o,2);case"Qo":return n.ordinalNumber(o,{unit:"quarter"});case"QQQ":return n.quarter(o,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(o,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(o,{width:"wide",context:"formatting"})}},q:function(a,e,n){const o=Math.ceil((a.getMonth()+1)/3);switch(e){case"q":return String(o);case"qq":return Ie(o,2);case"qo":return n.ordinalNumber(o,{unit:"quarter"});case"qqq":return n.quarter(o,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(o,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(o,{width:"wide",context:"standalone"})}},M:function(a,e,n){const o=a.getMonth();switch(e){case"M":case"MM":return Sa.M(a,e);case"Mo":return n.ordinalNumber(o+1,{unit:"month"});case"MMM":return n.month(o,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(o,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(o,{width:"wide",context:"formatting"})}},L:function(a,e,n){const o=a.getMonth();switch(e){case"L":return String(o+1);case"LL":return Ie(o+1,2);case"Lo":return n.ordinalNumber(o+1,{unit:"month"});case"LLL":return n.month(o,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(o,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(o,{width:"wide",context:"standalone"})}},w:function(a,e,n,o){const r=qU(a,o);return e==="wo"?n.ordinalNumber(r,{unit:"week"}):Ie(r,e.length)},I:function(a,e,n){const o=zU(a);return e==="Io"?n.ordinalNumber(o,{unit:"week"}):Ie(o,e.length)},d:function(a,e,n){return e==="do"?n.ordinalNumber(a.getDate(),{unit:"date"}):Sa.d(a,e)},D:function(a,e,n){const o=BU(a);return e==="Do"?n.ordinalNumber(o,{unit:"dayOfYear"}):Ie(o,e.length)},E:function(a,e,n){const o=a.getDay();switch(e){case"E":case"EE":case"EEE":return n.day(o,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(o,{width:"short",context:"formatting"});case"EEEE":default:return n.day(o,{width:"wide",context:"formatting"})}},e:function(a,e,n,o){const r=a.getDay(),i=(r-o.weekStartsOn+8)%7||7;switch(e){case"e":return String(i);case"ee":return Ie(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(r,{width:"short",context:"formatting"});case"eeee":default:return n.day(r,{width:"wide",context:"formatting"})}},c:function(a,e,n,o){const r=a.getDay(),i=(r-o.weekStartsOn+8)%7||7;switch(e){case"c":return String(i);case"cc":return Ie(i,e.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(r,{width:"narrow",context:"standalone"});case"cccccc":return n.day(r,{width:"short",context:"standalone"});case"cccc":default:return n.day(r,{width:"wide",context:"standalone"})}},i:function(a,e,n){const o=a.getDay(),r=o===0?7:o;switch(e){case"i":return String(r);case"ii":return Ie(r,e.length);case"io":return n.ordinalNumber(r,{unit:"day"});case"iii":return n.day(o,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(o,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(o,{width:"short",context:"formatting"});case"iiii":default:return n.day(o,{width:"wide",context:"formatting"})}},a:function(a,e,n){const r=a.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(a,e,n){const o=a.getHours();let r;switch(o===12?r=Vs.noon:o===0?r=Vs.midnight:r=o/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(a,e,n){const o=a.getHours();let r;switch(o>=17?r=Vs.evening:o>=12?r=Vs.afternoon:o>=4?r=Vs.morning:r=Vs.night,e){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(a,e,n){if(e==="ho"){let o=a.getHours()%12;return o===0&&(o=12),n.ordinalNumber(o,{unit:"hour"})}return Sa.h(a,e)},H:function(a,e,n){return e==="Ho"?n.ordinalNumber(a.getHours(),{unit:"hour"}):Sa.H(a,e)},K:function(a,e,n){const o=a.getHours()%12;return e==="Ko"?n.ordinalNumber(o,{unit:"hour"}):Ie(o,e.length)},k:function(a,e,n){let o=a.getHours();return o===0&&(o=24),e==="ko"?n.ordinalNumber(o,{unit:"hour"}):Ie(o,e.length)},m:function(a,e,n){return e==="mo"?n.ordinalNumber(a.getMinutes(),{unit:"minute"}):Sa.m(a,e)},s:function(a,e,n){return e==="so"?n.ordinalNumber(a.getSeconds(),{unit:"second"}):Sa.s(a,e)},S:function(a,e){return Sa.S(a,e)},X:function(a,e,n){const o=a.getTimezoneOffset();if(o===0)return"Z";switch(e){case"X":return BV(o);case"XXXX":case"XX":return ns(o);case"XXXXX":case"XXX":default:return ns(o,":")}},x:function(a,e,n){const o=a.getTimezoneOffset();switch(e){case"x":return BV(o);case"xxxx":case"xx":return ns(o);case"xxxxx":case"xxx":default:return ns(o,":")}},O:function(a,e,n){const o=a.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+AV(o,":");case"OOOO":default:return"GMT"+ns(o,":")}},z:function(a,e,n){const o=a.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+AV(o,":");case"zzzz":default:return"GMT"+ns(o,":")}},t:function(a,e,n){const o=Math.trunc(+a/1e3);return Ie(o,e.length)},T:function(a,e,n){return Ie(+a,e.length)}};function AV(a,e=""){const n=a>0?"-":"+",o=Math.abs(a),r=Math.trunc(o/60),i=o%60;return i===0?n+String(r):n+String(r)+e+Ie(i,2)}function BV(a,e){return a%60===0?(a>0?"-":"+")+Ie(Math.abs(a)/60,2):ns(a,e)}function ns(a,e=""){const n=a>0?"-":"+",o=Math.abs(a),r=Ie(Math.trunc(o/60),2),i=Ie(o%60,2);return n+r+e+i}const zV=(a,e)=>{switch(a){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}},VV=(a,e)=>{switch(a){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}},PU={p:VV,P:(a,e)=>{const n=a.match(/(P+)(p+)?/)||[],o=n[1],r=n[2];if(!r)return zV(a,e);let i;switch(o){case"P":i=e.dateTime({width:"short"});break;case"PP":i=e.dateTime({width:"medium"});break;case"PPP":i=e.dateTime({width:"long"});break;case"PPPP":default:i=e.dateTime({width:"full"});break}return i.replace("{{date}}",zV(o,e)).replace("{{time}}",VV(r,e))}},DU=/^D+$/,EU=/^Y+$/,TU=["D","DD","YY","YYYY"];function HU(a){return DU.test(a)}function jU(a){return EU.test(a)}function OU(a,e,n){const o=FU(a,e,n);if(console.warn(o),TU.includes(a))throw new RangeError(o)}function FU(a,e,n){const o=a[0]==="Y"?"years":"days of the month";return`Use \`${a.toLowerCase()}\` instead of \`${a}\` (in \`${e}\`) for formatting ${o} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const RU=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,NU=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,$U=/^'([^]*?)'?$/,UU=/''/g,WU=/[a-zA-Z]/;function qV(a,e,n){var u,p,y,f;const o=iS(),r=o.locale??SV,i=o.firstWeekContainsDate??((p=(u=o.locale)==null?void 0:u.options)==null?void 0:p.firstWeekContainsDate)??1,s=o.weekStartsOn??((f=(y=o.locale)==null?void 0:y.options)==null?void 0:f.weekStartsOn)??0,c=Mt(a,n==null?void 0:n.in);if(!Q$(c))throw new RangeError("Invalid time value");let d=e.match(NU).map(k=>{const m=k[0];if(m==="p"||m==="P"){const g=PU[m];return g(k,r.formatLong)}return k}).join("").match(RU).map(k=>{if(k==="''")return{isToken:!1,value:"'"};const m=k[0];if(m==="'")return{isToken:!1,value:GU(k)};if(_V[m])return{isToken:!0,value:k};if(m.match(WU))throw new RangeError("Format string contains an unescaped latin alphabet character `"+m+"`");return{isToken:!1,value:k}});r.localize.preprocessor&&(d=r.localize.preprocessor(c,d));const h={firstWeekContainsDate:i,weekStartsOn:s,locale:r};return d.map(k=>{if(!k.isToken)return k.value;const m=k.value;(jU(m)||HU(m))&&OU(m,e,String(a));const g=_V[m[0]];return g(c,m,r.localize,h)}).join("")}function GU(a){const e=a.match($U);return e?e[1].replace(UU,"'"):a}const KU={lessThanXSeconds:{one:"kurang dari 1 detik",other:"kurang dari {{count}} detik"},xSeconds:{one:"1 detik",other:"{{count}} detik"},halfAMinute:"setengah menit",lessThanXMinutes:{one:"kurang dari 1 menit",other:"kurang dari {{count}} menit"},xMinutes:{one:"1 menit",other:"{{count}} menit"},aboutXHours:{one:"sekitar 1 jam",other:"sekitar {{count}} jam"},xHours:{one:"1 jam",other:"{{count}} jam"},xDays:{one:"1 hari",other:"{{count}} hari"},aboutXWeeks:{one:"sekitar 1 minggu",other:"sekitar {{count}} minggu"},xWeeks:{one:"1 minggu",other:"{{count}} minggu"},aboutXMonths:{one:"sekitar 1 bulan",other:"sekitar {{count}} bulan"},xMonths:{one:"1 bulan",other:"{{count}} bulan"},aboutXYears:{one:"sekitar 1 tahun",other:"sekitar {{count}} tahun"},xYears:{one:"1 tahun",other:"{{count}} tahun"},overXYears:{one:"lebih dari 1 tahun",other:"lebih dari {{count}} tahun"},almostXYears:{one:"hampir 1 tahun",other:"hampir {{count}} tahun"}},XU=(a,e,n)=>{let o;const r=KU[a];return typeof r=="string"?o=r:e===1?o=r.one:o=r.other.replace("{{count}}",e.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"dalam waktu "+o:o+" yang lalu":o},ZU={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"d/M/yyyy"},YU={full:"HH.mm.ss",long:"HH.mm.ss",medium:"HH.mm",short:"HH.mm"},QU={full:"{{date}} 'pukul' {{time}}",long:"{{date}} 'pukul' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},JU={date:zs({formats:ZU,defaultWidth:"full"}),time:zs({formats:YU,defaultWidth:"full"}),dateTime:zs({formats:QU,defaultWidth:"full"})},eW={lastWeek:"eeee 'lalu pukul' p",yesterday:"'Kemarin pukul' p",today:"'Hari ini pukul' p",tomorrow:"'Besok pukul' p",nextWeek:"eeee 'pukul' p",other:"P"},tW=(a,e,n,o)=>eW[a],aW={narrow:["SM","M"],abbreviated:["SM","M"],wide:["Sebelum Masehi","Masehi"]},nW={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["Kuartal ke-1","Kuartal ke-2","Kuartal ke-3","Kuartal ke-4"]},oW={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agt","Sep","Okt","Nov","Des"],wide:["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"]},rW={narrow:["M","S","S","R","K","J","S"],short:["Min","Sen","Sel","Rab","Kam","Jum","Sab"],abbreviated:["Min","Sen","Sel","Rab","Kam","Jum","Sab"],wide:["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"]},iW={narrow:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},abbreviated:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},wide:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"}},sW={narrow:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},abbreviated:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},wide:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"}},lW={ordinalNumber:(a,e)=>"ke-"+Number(a),era:Rt({values:aW,defaultWidth:"wide"}),quarter:Rt({values:nW,defaultWidth:"wide",argumentCallback:a=>a-1}),month:Rt({values:oW,defaultWidth:"wide"}),day:Rt({values:rW,defaultWidth:"wide"}),dayPeriod:Rt({values:iW,defaultWidth:"wide",formattingValues:sW,defaultFormattingWidth:"wide"})},cW=/^ke-(\d+)?/i,dW=/\d+/i,hW={narrow:/^(sm|m)/i,abbreviated:/^(s\.?\s?m\.?|s\.?\s?e\.?\s?u\.?|m\.?|e\.?\s?u\.?)/i,wide:/^(sebelum masehi|sebelum era umum|masehi|era umum)/i},uW={any:[/^s/i,/^(m|e)/i]},pW={narrow:/^[1234]/i,abbreviated:/^K-?\s[1234]/i,wide:/^Kuartal ke-?\s?[1234]/i},yW={any:[/1/i,/2/i,/3/i,/4/i]},fW={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|mei|jun|jul|agt|sep|okt|nov|des)/i,wide:/^(januari|februari|maret|april|mei|juni|juli|agustus|september|oktober|november|desember)/i},kW={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^ma/i,/^ap/i,/^me/i,/^jun/i,/^jul/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},mW={narrow:/^[srkjm]/i,short:/^(min|sen|sel|rab|kam|jum|sab)/i,abbreviated:/^(min|sen|sel|rab|kam|jum|sab)/i,wide:/^(minggu|senin|selasa|rabu|kamis|jumat|sabtu)/i},gW={narrow:[/^m/i,/^s/i,/^s/i,/^r/i,/^k/i,/^j/i,/^s/i],any:[/^m/i,/^sen/i,/^sel/i,/^r/i,/^k/i,/^j/i,/^sa/i]},MW={narrow:/^(a|p|tengah m|tengah h|(di(\swaktu)?) (pagi|siang|sore|malam))/i,any:/^([ap]\.?\s?m\.?|tengah malam|tengah hari|(di(\swaktu)?) (pagi|siang|sore|malam))/i},bW={any:{am:/^a/i,pm:/^pm/i,midnight:/^tengah m/i,noon:/^tengah h/i,morning:/pagi/i,afternoon:/siang/i,evening:/sore/i,night:/malam/i}},xW={ordinalNumber:LV({matchPattern:cW,parsePattern:dW,valueCallback:a=>parseInt(a,10)}),era:Nt({matchPatterns:hW,defaultMatchWidth:"wide",parsePatterns:uW,defaultParseWidth:"any"}),quarter:Nt({matchPatterns:pW,defaultMatchWidth:"wide",parsePatterns:yW,defaultParseWidth:"any",valueCallback:a=>a+1}),month:Nt({matchPatterns:fW,defaultMatchWidth:"wide",parsePatterns:kW,defaultParseWidth:"any"}),day:Nt({matchPatterns:mW,defaultMatchWidth:"wide",parsePatterns:gW,defaultParseWidth:"any"}),dayPeriod:Nt({matchPatterns:MW,defaultMatchWidth:"any",parsePatterns:bW,defaultParseWidth:"any"})},wW={code:"id",formatDistance:XU,formatLong:JU,formatRelative:tW,localize:lW,match:xW,options:{weekStartsOn:1,firstWeekContainsDate:1}},PV={primary:{light:{primary:"hsl(var(--primary))",text:"hsl(var(--primary-foreground))",hover:"hsl(var(--accent))",border:"hsl(var(--border))",range:"#bfdbfe"},dark:{primary:"hsl(var(--primary))",text:"hsl(var(--primary-foreground))",hover:"hsl(var(--accent))",border:"hsl(var(--border))",range:"rgba(30, 58, 138, 0.3)"}},emerald:{light:{primary:"#16a34a",text:"#ffffff",hover:"#dcfce7",border:"#16a34a",range:"#ecfdf5"},dark:{primary:"#22c55e",text:"#0b1220",hover:"#14532d",border:"#22c55e",range:"rgba(6, 78, 59, 0.3)"}},amber:{light:{primary:"#d97706",text:"#ffffff",hover:"#fffbeb",border:"#d97706",range:"#fffbeb"},dark:{primary:"#f59e0b",text:"#0b1220",hover:"#78350f",border:"#f59e0b",range:"rgba(120, 53, 15, 0.3)"}},violet:{light:{primary:"#7c3aed",text:"#ffffff",hover:"#f5f3ff",border:"#7c3aed",range:"#f5f3ff"},dark:{primary:"#8b5cf6",text:"#0b1220",hover:"#2e1065",border:"#8b5cf6",range:"rgba(46, 16, 101, 0.3)"}},destructive:{light:{primary:"hsl(var(--destructive))",text:"hsl(var(--destructive-foreground))",hover:"hsl(var(--destructive) / 0.10)",border:"hsl(var(--destructive))",range:"#fef2f2"},dark:{primary:"hsl(var(--destructive))",text:"hsl(var(--destructive-foreground))",hover:"hsl(var(--destructive) / 0.18)",border:"hsl(var(--destructive))",range:"rgba(127, 29, 29, 0.3)"}}},DV="dcode-dp-theme-forced";function vW(a,e=DV){const n=PV[a]??PV.primary,o=`
|
|
8520
8520
|
.dp__theme_light {
|
|
8521
8521
|
--dp-primary-color: ${n.light.primary} !important;
|
|
8522
8522
|
--dp-primary-text-color: ${n.light.text} !important;
|
|
@@ -8561,7 +8561,7 @@ For more information, see https://www.reka-ui.com/docs/components/${n}`,c=`Warni
|
|
|
8561
8561
|
.dcode-datepicker-menu .dp__menu_inner {
|
|
8562
8562
|
padding: 0 !important;
|
|
8563
8563
|
}
|
|
8564
|
-
`.trim();let r=document.getElementById(e);r||(r=document.createElement("style"),r.id=e,document.head.appendChild(r)),r.textContent=o}function CW(a,e=Pz){t.watch(a,n=>vW(n,e),{immediate:!0})}const LW={key:0,class:"h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},SW={key:0,class:"ml-1 text-destructive"},IW=["disabled","onClick"],_W={class:"flex-shrink-0 px-2 text-sm text-muted-foreground select-none whitespace-nowrap"},AW=["id","value","placeholder","disabled","onClick","onFocus","onBlur","onInput","onKeydown","onKeypress","onPaste"],BW={class:"h-full p-2 flex flex-col gap-3 w-32"},VW={class:"flex items-center justify-end gap-2 w-full p-2"},zW={key:1,class:"text-xs text-destructive"},ZI=t.defineComponent({name:"DCodeDatePicker",inheritAttrs:!1,__name:"DCodeDatePicker",props:{modelValue:{},range:{type:Boolean,default:!1},autoRangeDays:{default:null},disablePast:{type:Boolean,default:!1},maxDaysAhead:{default:null},placeholder:{default:"Pilih tanggal"},label:{},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},displayFormat:{default:"dd/MM/yyyy"},modelType:{default:"yyyy-MM-dd"},locale:{default:"en"},placement:{default:"bottom-start"},prependInner:{default:void 0},error:{default:null},selectLabel:{default:"Select"},cancelLabel:{default:"Cancel"},tone:{default:"primary"},skeleton:{type:Boolean,default:!1}},emits:["update:modelValue","change","clear"],setup(a,{emit:e}){const n=t.useAttrs(),o=a,r=e,i=Math.random().toString(36).slice(2,7),s=t.computed(()=>`dcode-datepicker-${n.id||o.label||"date-picker"}-${i}`),c=t.computed(()=>{const O=n.required,H=n["aria-required"];return O===""||O===!0||O==="true"||H==="true"||H===!0}),d=t.computed(()=>!!o.error),h=t.computed({get:()=>o.modelValue,set:O=>{r("update:modelValue",O),r("change",O)}}),u=t.computed(()=>o.locale==="en"?Lz:wW),p=t.computed(()=>o.range?2:!1),y=t.computed(()=>{if(!o.range)return!1;const O={partialRange:!1};return o.autoRangeDays&&o.autoRangeDays>0&&(O.maxRange=o.autoRangeDays,O.autoRange=o.autoRangeDays),O}),f=O=>{const H=new Date(O);return H.setHours(0,0,0,0),H},k=O=>{const H=new Date(O);return H.setHours(23,59,59,999),H},m=(O,H)=>{const W=new Date(O);return W.setDate(W.getDate()+H),W},g=t.computed(()=>{if(o.disablePast)return f(new Date)}),w=t.computed(()=>{if(o.maxDaysAhead&&o.maxDaysAhead>0)return k(m(new Date,o.maxDaysAhead))}),S=t.ref(null),v=t.ref(null),M=O=>{v.value={month:O.month,year:O.year}},C=t.ref(!1);let x=null;t.onMounted(()=>{const O=document.documentElement,H=()=>C.value=O.classList.contains("dark");H(),x=new MutationObserver(H),x.observe(O,{attributes:!0,attributeFilter:["class"]})}),t.onBeforeUnmount(()=>{x==null||x.disconnect(),x=null}),CW(t.toRef(o,"tone"));const b=O=>{const H=new Date(O),W=H.getDay(),T=H.getDate()-W+(W===0?-6:1);return H.setDate(T),f(H)},L=O=>{const H=b(O);return H.setDate(H.getDate()+6),k(H)},I=O=>{const H=new Date(O);return H.setDate(1),f(H)},z=O=>{const H=new Date(O);return H.setMonth(H.getMonth()+1),H.setDate(0),k(H)},A=t.computed(()=>{if(!o.range)return[];const O=new Date,H=f(O),W=b(O),T=L(O),j=I(O),R=z(O),Y=(B,V)=>{let U=B;o.disablePast&&U<H&&(U=H);let oe=V;if(o.autoRangeDays&&o.autoRangeDays>0){const ee=k(m(U,o.autoRangeDays-1));oe>ee&&(oe=ee)}return oe<U&&(oe=k(new Date(U))),[U,oe]};return[{label:o.locale==="id"?"Minggu Ini":"This Week",range:Y(W,T)},{label:o.locale==="id"?"Bulan Ini":"This Month",range:Y(j,R)}]}),q=async O=>{var V,U;const H=o.modelType||"yyyy-MM-dd";if(O.length===0){h.value=null;return}if(O.length<2)return;const W=zz(O[0],H),T=zz(O[1],H);h.value=[W,T],await t.nextTick();const j=O[0],R=j.getMonth(),Y=j.getFullYear();v.value&&v.value.month===R&&v.value.year===Y||(V=S.value)==null||V.setMonthYear({month:R,year:Y}),(U=S.value)==null||U.openMenu()};return(O,H)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["flex flex-col gap-1 w-full",t.unref(n).class])},[a.skeleton?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[a.label?(t.openBlock(),t.createElementBlock("div",LW)):t.createCommentVNode("",!0),H[2]||(H[2]=t.createElementVNode("div",{class:"h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse"},null,-1))],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[a.label?(t.openBlock(),t.createBlock(t.unref(Bs),{key:0,for:s.value,class:"text-sm font-medium"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(a.label)+" ",1),c.value?(t.openBlock(),t.createElementBlock("span",SW,"*")):t.createCommentVNode("",!0)]),_:1},8,["for"])):t.createCommentVNode("",!0),t.createVNode(t.unref(Je.VueDatePicker),{ref_key:"dpRef",ref:S,modelValue:h.value,"onUpdate:modelValue":H[1]||(H[1]=W=>h.value=W),dark:C.value,range:y.value,"multi-calendars":p.value,disabled:a.disabled,clearable:!1,"text-input":"","enable-time-picker":!1,"time-config":{enableTimePicker:!1},"auto-apply":!1,"action-row":{showPreview:!0,showNow:!1},locale:u.value,"model-type":a.modelType,formats:{input:a.displayFormat},"min-date":g.value,"max-date":w.value,"preset-ranges":A.value,floating:{placement:a.placement,offset:8,arrow:!1,flip:!1,shift:!0},teleport:!0,"menu-class-name":"dcode-datepicker-menu","calendar-class-name":"dcode-datepicker-calendar",onUpdateMonthYear:M},t.createSlots({"dp-input":t.withCtx(({value:W,onInput:T,onEnter:j,onTab:R,onBlur:Y,onFocus:B,onKeypress:V,onPaste:U,toggleMenu:oe})=>[t.createElementVNode("div",{class:t.normalizeClass(["flex items-center w-full h-10 rounded-lg border bg-white dark:bg-neutral-900 border-gray-300 dark:border-gray-700 overflow-hidden",[d.value?"border-destructive":"",a.disabled?"opacity-50 cursor-not-allowed":""]])},[t.createElementVNode("button",{type:"button",tabindex:"-1",disabled:a.disabled,class:"flex-shrink-0 flex items-center justify-center w-10 h-full text-muted-foreground hover:text-foreground transition-colors focus:outline-none",onClick:ee=>oe()},[t.createVNode(t.unref(Hs),{class:"w-4 h-4 pointer-events-none"})],8,IW),H[4]||(H[4]=t.createElementVNode("span",{class:"w-px h-5 bg-gray-200 dark:bg-gray-700 flex-shrink-0"},null,-1)),a.prependInner?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("span",_W,t.toDisplayString(a.prependInner),1),H[3]||(H[3]=t.createElementVNode("span",{class:"w-px h-5 bg-gray-200 dark:bg-gray-700 flex-shrink-0"},null,-1))],64)):t.createCommentVNode("",!0),t.createElementVNode("input",{id:s.value,value:W,placeholder:a.placeholder,disabled:a.disabled,autocomplete:"off",readonly:"",class:t.normalizeClass(["flex-1 min-w-0 px-3 h-full bg-transparent text-sm text-foreground dark:text-gray-300 placeholder:text-muted-foreground outline-none",a.disabled?"cursor-not-allowed":"cursor-pointer"]),onClick:ee=>oe(),onFocus:ee=>B(),onBlur:ee=>Y(),onInput:ee=>T(ee),onKeydown:[t.withKeys(ee=>j(ee),["enter"]),t.withKeys(ee=>R(ee),["tab"])],onKeypress:ee=>V(ee),onPaste:ee=>U()},null,42,AW)],2)]),"action-buttons":t.withCtx(({selectDate:W,selectionDisabled:T})=>[t.createElementVNode("div",VW,[t.createVNode(t.unref(Ae),{type:"button",variant:"outline",onClick:H[0]||(H[0]=j=>{var R;return(R=S.value)==null?void 0:R.closeMenu()})},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(a.cancelLabel),1)]),_:1}),t.createVNode(t.unref(Ae),{type:"button",variant:"default",disabled:T,onClick:j=>W()},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(a.selectLabel),1)]),_:1},8,["disabled","onClick"])])]),_:2},[a.range?{name:"left-sidebar",fn:t.withCtx(()=>[t.createElementVNode("div",BW,[A.value.length?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(A.value,W=>(t.openBlock(),t.createBlock(t.unref(Ae),{key:W.label,type:"button",variant:"default",class:"w-full",onClick:T=>q(W.range)},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(W.label),1)]),_:2},1032,["onClick"]))),128)):t.createCommentVNode("",!0)])]),key:"0"}:void 0]),1032,["modelValue","dark","range","multi-calendars","disabled","locale","model-type","formats","min-date","max-date","preset-ranges","floating"]),d.value?(t.openBlock(),t.createElementBlock("p",zW,t.toDisplayString(o.error),1)):t.createCommentVNode("",!0)],64))],2))}}),qW=t.defineComponent({__name:"Dialog",props:{open:{type:Boolean},defaultOpen:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(a,{emit:e}){const r=mt(a,e);return(i,s)=>(t.openBlock(),t.createBlock(t.unref(AA),t.normalizeProps(t.guardReactiveProps(t.unref(r))),{default:t.withCtx(()=>[t.renderSlot(i.$slots,"default")]),_:3},16))}}),PW=t.defineComponent({inheritAttrs:!1,__name:"DialogContent",props:{forceMount:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(a,{emit:e}){const n=a,o=e,r=Ee(n,"class"),i=mt(r,o);return(s,c)=>(t.openBlock(),t.createBlock(t.unref(RA),null,{default:t.withCtx(()=>[t.createVNode(t.unref(FA),{class:"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"}),t.createVNode(t.unref(jA),t.mergeProps({...t.unref(i),...s.$attrs},{class:t.unref(ke)("fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",n.class)}),{default:t.withCtx(()=>[t.renderSlot(s.$slots,"default"),t.createVNode(t.unref(BA),{class:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground"},{default:t.withCtx(()=>[t.createVNode(t.unref(it),{class:"w-4 h-4"}),c[0]||(c[0]=t.createElementVNode("span",{class:"sr-only"},"Close",-1))]),_:1})]),_:3},16,["class"])]),_:3}))}}),DW=t.defineComponent({__name:"DialogDescription",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a,n=Ee(e,"class"),o=Ze(n);return(r,i)=>(t.openBlock(),t.createBlock(t.unref(OA),t.mergeProps(t.unref(o),{class:t.unref(ke)("text-sm text-muted-foreground",e.class)}),{default:t.withCtx(()=>[t.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),EW=t.defineComponent({__name:"DialogTitle",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a,n=Ee(e,"class"),o=Ze(n);return(r,i)=>(t.openBlock(),t.createBlock(t.unref(NA),t.mergeProps(t.unref(o),{class:t.unref(ke)("text-lg font-medium leading-none tracking-tight",e.class)}),{default:t.withCtx(()=>[t.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),TW={class:"flex items-center gap-3"},HW={class:"flex justify-end gap-3"},lS=t.defineComponent({name:"DCodeDialog",inheritAttrs:!1,__name:"DCodeDialog",props:{modelValue:{type:Boolean,default:!1},title:{default:""},icon:{default:""},maxWidth:{default:500},persistent:{type:Boolean,default:!0},contentClass:{default:"p-5"},contentStyle:{default:()=>({})}},emits:["update:modelValue"],setup(a,{emit:e}){const n=a,o=e,r=t.useAttrs(),i=t.computed(()=>{const{style:h,...u}=r;return u}),s=t.computed(()=>({maxWidth:typeof n.maxWidth=="number"?`${n.maxWidth}px`:n.maxWidth,width:"100%"})),c=t.computed(()=>n.icon?ha[n.icon]??null:null),d=h=>{o("update:modelValue",h)};return(h,u)=>(t.openBlock(),t.createBlock(t.unref(qW),{open:a.modelValue,"onUpdate:open":d},{default:t.withCtx(()=>[t.createVNode(t.unref(PW),t.mergeProps(i.value,{style:s.value,class:"p-0 overflow-hidden rounded-xl",onInteractOutside:u[0]||(u[0]=p=>a.persistent?p.preventDefault():null),onEscapeKeyDown:u[1]||(u[1]=p=>a.persistent?p.preventDefault():null)}),{default:t.withCtx(()=>[t.createVNode(lI,{padding:a.contentClass,border:"",shadow:"",class:"w-full !rounded-xl !border-0",level:1},t.createSlots({header:t.withCtx(()=>[t.createElementVNode("div",TW,[c.value?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(c.value),{key:0,class:"h-5 w-5"})):t.createCommentVNode("",!0),t.createVNode(t.unref(EW),{class:"text-base font-medium"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(a.title),1)]),_:1}),t.createVNode(t.unref(DW),{class:"hidden"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(a.title||"Dialog Content"),1)]),_:1})])]),actions:t.withCtx(()=>[t.renderSlot(h.$slots,"header-append")]),default:t.withCtx(()=>[t.createElementVNode("div",{style:t.normalizeStyle(a.contentStyle)},[t.renderSlot(h.$slots,"default")],4)]),_:2},[h.$slots.actions?{name:"footer",fn:t.withCtx(()=>[t.createElementVNode("div",HW,[t.renderSlot(h.$slots,"actions")])]),key:"0"}:void 0]),1032,["padding"])]),_:3},16,["style"])]),_:3},8,["open"]))}}),Dz=t.defineComponent({__name:"DCodeDialogCloseBtn",props:{icon:{default:"X"},iconSize:{default:22}},setup(a){const e=a,n=t.computed(()=>ha[e.icon]??it);return(o,r)=>(t.openBlock(),t.createBlock(t.unref(Ae),{type:"button",variant:"secondary",size:"icon",class:"rounded-full shadow-sm"},{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(n.value),{size:Number(a.iconSize)},null,8,["size"]))]),_:1}))}}),jW=t.defineComponent({__name:"Alert",props:{class:{type:[Boolean,null,String,Object,Array]},variant:{}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(t.unref(ke)(t.unref(FW)({variant:a.variant}),e.class)),role:"alert"},[t.renderSlot(n.$slots,"default")],2))}}),OW=t.defineComponent({__name:"AlertDescription",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(t.unref(ke)("text-sm [&_p]:leading-relaxed",e.class))},[t.renderSlot(n.$slots,"default")],2))}}),FW=i1("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),Ia=t.defineComponent({__name:"Badge",props:{variant:{},class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(t.unref(ke)(t.unref(RW)({variant:a.variant}),e.class))},[t.renderSlot(n.$slots,"default")],2))}}),RW=i1("inline-flex gap-1 items-center rounded-full border px-2.5 py-0.5 text-xs font-medium transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}}),cS=t.defineComponent({__name:"Card",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(t.unref(ke)("rounded-xl border bg-card text-card-foreground shadow",e.class))},[t.renderSlot(n.$slots,"default")],2))}}),dS=t.defineComponent({__name:"CardContent",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(t.unref(ke)("p-6 pt-0",e.class))},[t.renderSlot(n.$slots,"default")],2))}}),NW=t.defineComponent({__name:"CardFooter",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(t.unref(ke)("flex items-center p-6 pt-0",e.class))},[t.renderSlot(n.$slots,"default")],2))}}),hS=t.defineComponent({__name:"CardHeader",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(t.unref(ke)("flex flex-col gap-y-1.5 p-6",e.class))},[t.renderSlot(n.$slots,"default")],2))}}),YI=t.defineComponent({__name:"CardTitle",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createElementBlock("h3",{class:t.normalizeClass(t.unref(ke)("font-medium leading-none tracking-tight",e.class))},[t.renderSlot(n.$slots,"default")],2))}}),$W={class:"h-full w-full p-6 flex flex-col items-center justify-center text-center gap-2"},UW={class:"flex flex-wrap items-center justify-center gap-2"},WW=["accept","multiple"],uS=ga(t.defineComponent({__name:"DCodeDropzone",props:{label:{default:"Upload File"},hint:{default:"Drag & drop file di sini atau klik area ini"},accept:{default:"*/*"},maxSizeMb:{default:2},mode:{default:"single"},disabled:{type:Boolean,default:!1},showSelected:{type:Boolean,default:!0},error:{default:null}},emits:["picked","picked:multiple","error"],setup(a,{emit:e}){const n=a,o=e,r=t.ref(null),i=t.ref(!1),s=t.ref(null),c=t.ref(null),d=t.ref(null);t.computed(()=>n.accept||"file/*");const h=t.computed(()=>n.error??s.value);function u(){var b;n.disabled||(b=r.value)==null||b.click()}function p(b){const L=b/1024,I=L/1024;return I>=1?`${I.toFixed(2)} MB`:L>=1?`${L.toFixed(1)} KB`:`${b} B`}function y(b){var I;if(!b)return"File tidak valid";if((I=n.accept)!=null&&I.includes("image/")&&!b.type.startsWith("image/"))return"Hanya file gambar yang diizinkan";const L=(n.maxSizeMb??2)*1024*1024;return b.size>L?`Ukuran file terlalu besar. Maks ${n.maxSizeMb}MB`:null}function f(b){c.value=b.name,d.value=b.size}function k(b){if(s.value=null,!b.length)return;if(n.mode==="single"){const I=b[0],z=y(I);if(z){s.value=z,o("error",z);return}n.showSelected&&f(I),o("picked",I);return}const L=[];for(const I of b){const z=y(I);if(z){s.value=z,o("error",z);return}L.push(I)}L.length&&(n.showSelected&&f(L[0]),o("picked:multiple",L))}function m(b){const L=b.target,I=Array.from(L.files??[]);k(I),L.value=""}function g(){n.disabled||(i.value=!0)}function w(){n.disabled||(i.value=!0)}function S(){i.value=!1}function v(b){var z,A;if(n.disabled)return;i.value=!1;const L=Array.from(((z=b.dataTransfer)==null?void 0:z.files)??[]),I=(A=n.accept)!=null&&A.includes("image/")?L.filter(q=>q.type.startsWith("image/")):L;k(I)}const M=t.computed(()=>(n.accept||"file/*").split(",").map(b=>b.trim()).filter(Boolean).map(b=>b==="image/*"?"IMAGE":b.replace(/^image\//,"").replace(/^\./,"")).join(", "));t.computed(()=>`${n.maxSizeMb??0}MB`);const C=t.ref(!1),x=t.computed(()=>{if(n.disabled||!C.value)return{};const b=document.documentElement.classList.contains("dark")||document.body.classList.contains("dark");return{borderColor:b?"hsl(var(--primary) / 0.5)":"hsl(var(--primary) / 0.6)",backgroundColor:b?"hsl(var(--primary) / 0.1)":"hsl(var(--primary) / 0.05)"}});return(b,L)=>(t.openBlock(),t.createBlock(t.unref(cS),{class:t.normalizeClass([a.disabled?"opacity-60":"","dark:bg-neutral-900 dark:border-neutral-800"])},{default:t.withCtx(()=>[t.createVNode(t.unref(hS),{class:"pb-2"},{default:t.withCtx(()=>[t.createVNode(t.unref(YI),{class:"text-sm font-semibold dark:text-neutral-100"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(a.label),1)]),_:1})]),_:1}),t.createVNode(t.unref(dS),{class:"pt-2"},{default:t.withCtx(()=>[t.createElementVNode("div",{class:t.normalizeClass(["d-dropzone-area flex justify-center items-center rounded-xl border-2 border-dashed transition cursor-pointer select-none",[i.value?"is-dragging border-primary bg-primary/10 dark:bg-primary/20 -translate-y-[1px]":"border-border dark:border-neutral-700 bg-muted/30 dark:bg-neutral-800/50",a.disabled?"is-disabled":""]]),style:t.normalizeStyle([{minHeight:"190px"},x.value]),onClick:u,onDragenter:t.withModifiers(g,["prevent"]),onDragover:t.withModifiers(w,["prevent"]),onDragleave:t.withModifiers(S,["prevent"]),onDrop:t.withModifiers(v,["prevent"]),onMouseenter:L[0]||(L[0]=I=>C.value=!0),onMouseleave:L[1]||(L[1]=I=>C.value=!1)},[t.createElementVNode("div",$W,[L[2]||(L[2]=t.createElementVNode("div",{class:"text-sm font-medium dark:text-neutral-200"},"Drag & drop file di sini",-1)),L[3]||(L[3]=t.createElementVNode("div",{class:"text-xs text-muted-foreground dark:text-neutral-400"},"atau klik area ini untuk memilih file",-1)),t.createElementVNode("div",UW,[t.createVNode(t.unref(Ia),{variant:"secondary",class:"text-[11px] dark:bg-neutral-700 dark:text-neutral-300"},{default:t.withCtx(()=>[t.createTextVNode(" Allowed: "+t.toDisplayString(M.value),1)]),_:1}),t.createVNode(t.unref(Ia),{variant:"secondary",class:"text-[11px] dark:bg-neutral-700 dark:text-neutral-300"},{default:t.withCtx(()=>[t.createTextVNode(" Max: "+t.toDisplayString(n.maxSizeMb)+"MB ",1)]),_:1})]),a.showSelected&&c.value?(t.openBlock(),t.createBlock(t.unref(Ia),{key:0,variant:"secondary",class:"mt-2 dark:bg-neutral-700 dark:text-neutral-300"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(c.value)+" • "+t.toDisplayString(d.value?p(d.value):""),1)]),_:1})):t.createCommentVNode("",!0)]),t.createElementVNode("input",{ref_key:"fileInputEl",ref:r,type:"file",class:"hidden",accept:a.accept,multiple:a.mode==="multiple",onChange:m},null,40,WW)],38),h.value?(t.openBlock(),t.createBlock(t.unref(jW),{key:0,variant:"destructive",class:"mt-3"},{default:t.withCtx(()=>[t.createVNode(t.unref(OW),{class:"text-sm"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(h.value),1)]),_:1})]),_:1})):t.createCommentVNode("",!0)]),_:1})]),_:1},8,["class"]))}}),[["__scopeId","data-v-218e1a20"]]),GW={key:0,class:"text-xs text-muted-foreground dark:text-neutral-400"},KW=["src"],XW={key:1,class:"h-full w-full flex flex-col items-center justify-center text-muted-foreground dark:text-neutral-400 gap-2 p-4 text-center"},ZW={class:"space-y-0.5"},YW={class:"text-sm font-medium truncate max-w-[180px] dark:text-neutral-200"},QW={class:"text-xs opacity-70"},JW=["disabled"],eG={key:1},tG=["disabled"],aG={class:"text-[11px] text-foreground/90 dark:text-neutral-200 space-y-1 whitespace-nowrap"},nG={class:"flex gap-2"},oG={class:"font-medium truncate"},rG={class:"flex gap-2"},iG={class:"font-medium"},sG={class:"flex gap-2"},lG={class:"font-medium truncate"},QI=ga(t.defineComponent({__name:"DCodeFileResult",props:{file:{},title:{default:"File Terpilih"},description:{default:""},disabled:{type:Boolean,default:!1},previewHeight:{default:190},previewWidth:{default:220},showEdit:{type:Boolean,default:!0},showReplace:{type:Boolean,default:!0},showRemove:{type:Boolean,default:!0},forceFileIcon:{type:Boolean,default:!1}},emits:["edit","replace","remove"],setup(a,{emit:e}){const n=a,o=e,r=t.ref(null),i=t.computed(()=>n.forceFileIcon||!n.file?!1:(n.file.type||"").startsWith("image/"));t.watch(()=>n.file,f=>{r.value&&URL.revokeObjectURL(r.value),r.value=f?URL.createObjectURL(f):null},{immediate:!0}),t.onBeforeUnmount(()=>{r.value&&URL.revokeObjectURL(r.value),u&&u.disconnect()});function s(f){const k=f/1024,m=k/1024;return m>=1?`${m.toFixed(2)} MB`:k>=1?`${k.toFixed(1)} KB`:`${f} B`}const c=t.computed(()=>n.file?{name:n.file.name,size:s(n.file.size),type:n.file.type||"unknown"}:null),d=t.ref(!1),h=t.ref(!1);let u=null;const p=()=>{typeof document<"u"&&(h.value=document.documentElement.classList.contains("dark")||document.body.classList.contains("dark"))};t.onMounted(()=>{p(),typeof document<"u"&&(u=new MutationObserver(p),u.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]}),u.observe(document.body,{attributes:!0,attributeFilter:["class"]}))});const y=t.computed(()=>n.disabled||!d.value?{}:{borderColor:h.value?"hsl(var(--primary) / 0.4)":"hsl(var(--primary) / 0.5)",backgroundColor:h.value?"hsl(var(--primary) / 0.1)":"hsl(var(--primary) / 0.05)"});return(f,k)=>a.file?(t.openBlock(),t.createBlock(cS,{key:0,class:t.normalizeClass([a.disabled?"opacity-60 pointer-events-none":"","dark:bg-neutral-900 dark:border-neutral-800"])},{default:t.withCtx(()=>[t.createVNode(hS,{class:"pb-2"},{default:t.withCtx(()=>[t.createVNode(YI,{class:"text-sm font-semibold dark:text-neutral-100"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(a.title),1)]),_:1}),a.description?(t.openBlock(),t.createElementBlock("div",GW,t.toDisplayString(a.description),1)):t.createCommentVNode("",!0)]),_:1}),t.createVNode(dS,{class:"pt-2"},{default:t.withCtx(()=>{var m,g,w,S,v;return[t.createElementVNode("div",{class:"d-result-preview-wrap relative rounded-xl overflow-hidden border-2 border-dashed transition-colors duration-200 bg-muted dark:bg-neutral-800/50 border-border dark:border-neutral-700 w-full",style:t.normalizeStyle([{height:`${a.previewHeight}px`},y.value]),onMouseenter:k[2]||(k[2]=M=>d.value=!0),onMouseleave:k[3]||(k[3]=M=>d.value=!1)},[i.value&&r.value?(t.openBlock(),t.createElementBlock("img",{key:0,src:r.value,alt:"Preview",class:"h-full w-full object-contain"},null,8,KW)):(t.openBlock(),t.createElementBlock("div",XW,[t.createVNode(t.unref(ds),{class:"w-10 h-10"}),t.createElementVNode("div",ZW,[t.createElementVNode("p",YW,t.toDisplayString((m=c.value)==null?void 0:m.name),1),t.createElementVNode("p",QW,t.toDisplayString((g=c.value)==null?void 0:g.size),1)])])),t.createElementVNode("div",{class:"d-action-buttons",style:t.normalizeStyle({position:"absolute",top:"8px",left:"8px",right:"8px",display:"flex",alignItems:"center",justifyContent:"space-between",zIndex:50,opacity:d.value?1:0,transition:"opacity 0.2s ease-in-out",pointerEvents:d.value?"auto":"none"})},[a.showEdit&&i.value?(t.openBlock(),t.createElementBlock("button",{key:0,disabled:a.disabled,class:"d-action-btn shadow-md",style:t.normalizeStyle({height:"32px",width:"32px",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"#eab308",color:"white",borderRadius:"8px",border:"1px solid rgba(255,255,255,0.4)",cursor:a.disabled?"not-allowed":"pointer",transition:"all 0.2s"}),onClick:k[0]||(k[0]=M=>o("edit"))},[t.createVNode(t.unref(ir),{style:{width:"16px",height:"16px"}})],12,JW)):(t.openBlock(),t.createElementBlock("div",eG)),a.showRemove?(t.openBlock(),t.createElementBlock("button",{key:2,disabled:a.disabled,class:"d-action-btn shadow-md",style:t.normalizeStyle({height:"32px",width:"32px",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"#ef4444",color:"white",borderRadius:"8px",border:"1px solid rgba(255,255,255,0.4)",cursor:a.disabled?"not-allowed":"pointer",transition:"all 0.2s"}),onClick:k[1]||(k[1]=M=>o("remove"))},[t.createVNode(t.unref(Ii),{style:{width:"16px",height:"16px"}})],12,tG)):t.createCommentVNode("",!0)],4),t.createElementVNode("div",{class:"d-metadata-overlay",style:t.normalizeStyle({position:"absolute",left:"8px",bottom:"8px",zIndex:10,display:"inline-block",maxWidth:"calc(100% - 16px)",borderRadius:"12px",border:"1px solid rgba(0,0,0,0.1)",padding:"8px 12px",boxShadow:"0 10px 15px -3px rgba(0,0,0,0.1)",backdropFilter:"blur(8px)",transition:"all 0.2s ease-in-out",opacity:d.value?1:0,transform:d.value?"translateY(0) scale(1)":"translateY(4px) scale(0.99)",backgroundColor:h.value?"rgba(38, 38, 38, 0.8)":"rgba(255, 255, 255, 0.8)",color:h.value?"#e5e5e5":"#171717"})},[t.createElementVNode("div",aG,[t.createElementVNode("div",nG,[k[4]||(k[4]=t.createElementVNode("span",{class:"w-14 shrink-0 text-muted-foreground dark:text-neutral-400"},"Nama",-1)),t.createElementVNode("span",oG,t.toDisplayString((w=c.value)==null?void 0:w.name),1)]),t.createElementVNode("div",rG,[k[5]||(k[5]=t.createElementVNode("span",{class:"w-14 shrink-0 text-muted-foreground dark:text-neutral-400"},"Ukuran",-1)),t.createElementVNode("span",iG,t.toDisplayString((S=c.value)==null?void 0:S.size),1)]),t.createElementVNode("div",sG,[k[6]||(k[6]=t.createElementVNode("span",{class:"w-14 shrink-0 text-muted-foreground dark:text-neutral-400"},"Tipe",-1)),t.createElementVNode("span",lG,t.toDisplayString((v=c.value)==null?void 0:v.type),1)])])],4)],36)]}),_:1})]),_:1},8,["class"])):t.createCommentVNode("",!0)}}),[["__scopeId","data-v-21123eaf"]]);function JI(){const a=i=>{var d;const s={type:i.type||"info",title:i.title,message:i.message,duration:i.duration??3e3};typeof window<"u"&&window.dispatchEvent(new CustomEvent("micro:toast",{detail:s,bubbles:!0,composed:!0})),(s.type==="error"?console.error:s.type==="warning"?console.warn:console.log)(`[Toast][${(d=s.type)==null?void 0:d.toUpperCase()}]`,s.title||"",s.message)};return{show:a,success:(i,s)=>a({type:"success",message:i,title:s}),error:(i,s)=>a({type:"error",message:i,title:s}),warning:(i,s)=>a({type:"warning",message:i,title:s}),info:(i,s)=>a({type:"info",message:i,title:s})}}const cG={class:"space-y-3"},dG={key:1,class:"flex items-center justify-center p-6 border rounded-lg bg-muted/30 dark:bg-neutral-800/20 dark:border-neutral-800"},Ez=t.defineComponent({__name:"DCodeFileField",props:{modelValue:{default:null},label:{default:"Upload File"},hint:{},disabled:{type:Boolean,default:!1},previewHeight:{default:190},previewWidth:{default:void 0},allowedTypes:{default:null},accept:{default:"*/*"},minSizeMb:{default:null},maxSizeMb:{default:1},endpoint:{},uploadFn:{}},emits:["update:modelValue","error","uploaded"],setup(a,{emit:e}){const n=a,o=e,r=t.computed({get:()=>n.modelValue,set:x=>o("update:modelValue",x)}),i=t.ref(null),s=t.ref(null);function c(x){s.value=x,o("error",x)}function d(){s.value=null}const h=t.computed(()=>{const x=(n.allowedTypes??"").trim();return x?x.split(/[,\s;]+/g).map(L=>L.trim().toLowerCase()).filter(Boolean).map(L=>L.includes("/")||L.startsWith(".")?L:`.${L}`):[]});function u(x){const b=x.lastIndexOf(".");return b>=0?x.slice(b).toLowerCase():""}const p=t.computed(()=>{if(h.value.length){const x=h.value.filter(L=>L.startsWith("."));return[...h.value.filter(L=>L.includes("/")),...x].join(",")}return n.accept}),y=t.computed(()=>h.value.length?h.value.join(", "):n.accept||"Semua File");function f(x){if(h.value.length){const b=(x.type||"").toLowerCase(),L=u(x.name);return h.value.some(I=>I.includes("/")?b===I:I.startsWith(".")?L===I:L===`.${I}`)}if(n.accept){if(n.accept==="*/*")return!0;const b=n.accept.split(",").map(z=>z.trim().toLowerCase()),L=(x.type||"").toLowerCase(),I=u(x.name);return b.some(z=>{if(z.endsWith("/*")){const A=z.slice(0,-2);return L.startsWith(A)}return z.startsWith(".")?I===z:L===z})}return!0}function k(x){return x*1024*1024}async function m(x){return x?f(x)?n.minSizeMb!=null&&x.size<k(n.minSizeMb)?`Ukuran file terlalu kecil. Minimal ${n.minSizeMb}MB`:n.maxSizeMb!=null&&x.size>k(n.maxSizeMb)?`Ukuran file terlalu besar. Maks ${n.maxSizeMb}MB`:null:`File Type not allowed. Allowed: ${y.value}`:"File tidak valid"}const{DCodeApi:g}=Ke(),w=JI(),S=t.ref(!1);async function v(x){var b;if(n.uploadFn){try{S.value=!0;const L=await n.uploadFn(x);r.value=x,o("uploaded",L)}catch(L){console.error("Upload Error",L),w.error("Upload Failed",(L==null?void 0:L.message)||"Unknown error"),c((L==null?void 0:L.message)||"Upload Failed")}finally{S.value=!1}return}if(!((b=n.endpoint)!=null&&b.apiUrl)){r.value=x;return}if(typeof g!="function"){c("useApi() must expose DCodeApi()");return}try{S.value=!0;const L=new FormData;L.append("doc",x);const I=(n.endpoint.apiMethod||"POST").toUpperCase(),z=n.endpoint.apiUrl,A=await g("","",L,{_url:z,_method:I,withCredentials:!0,transformRequest:[(O,H)=>(H&&(delete H["Content-Type"],delete H["content-type"]),O)]}),q=(A==null?void 0:A.data)??A;r.value=x,o("uploaded",q)}catch(L){console.error("Upload Error",L),w.error("Upload Failed",(L==null?void 0:L.message)||"Unknown error"),c((L==null?void 0:L.message)||"Upload Failed")}finally{S.value=!1}}async function M(x){var L;if(n.disabled)return;d();const b=await m(x);if(b){c(b);return}i.value=x,n.uploadFn||(L=n.endpoint)!=null&&L.apiUrl?await v(x):r.value=x}function C(){d(),r.value=null,i.value=null}return t.watch(()=>n.modelValue,x=>{x&&!i.value&&(i.value=x),x||(i.value=null)},{immediate:!0}),(x,b)=>(t.openBlock(),t.createElementBlock("div",cG,[r.value?S.value?(t.openBlock(),t.createElementBlock("div",dG,[...b[1]||(b[1]=[t.createElementVNode("span",{class:"text-sm text-muted-foreground dark:text-neutral-400 animate-pulse"},"Uploading...",-1)])])):(t.openBlock(),t.createBlock(QI,{key:2,file:r.value,title:a.label,description:a.hint,disabled:a.disabled,"show-edit":!1,"show-replace":!1,"show-remove":!0,"force-file-icon":!0,"preview-height":a.previewHeight,"preview-width":a.previewWidth,onRemove:C},null,8,["file","title","description","disabled","preview-height","preview-width"])):(t.openBlock(),t.createBlock(uS,{key:0,label:a.label,hint:a.hint,accept:p.value,maxSizeMb:a.maxSizeMb,disabled:a.disabled||S.value,onPicked:M,error:s.value,onError:b[0]||(b[0]=L=>c(L))},null,8,["label","hint","accept","maxSizeMb","disabled","error"]))]))}}),hG=["for"],uG={key:0,class:"!ml-1 !text-destructive"},pG={class:"relative w-full block box-border"},yG={key:0,class:"absolute inset-y-0 left-3 flex items-center text-muted-foreground pointer-events-none z-10"},fG=["id","readonly","disabled","placeholder"],kG={class:"absolute inset-y-0 right-4 flex items-center z-10"},mG={key:1,class:"absolute z-50 mt-1 w-full rounded-xl border bg-white dark:bg-neutral-900 shadow-lg box-border"},gG={key:0,class:"flex items-center justify-center py-10 text-muted-foreground gap-2"},MG={key:1,class:"text-sm text-muted-foreground text-center"},bG=["onClick","title"],xG={class:"flex flex-col items-center justify-between gap-2 py-1 min-h-[72px]"},wG={class:"flex items-center justify-center flex-1"},vG={class:"text-[10px] leading-tight text-muted-foreground truncate w-full text-center block flex-shrink-0"},CG={key:3,class:"pt-2 text-[11px] text-muted-foreground text-center"},Tz=t.defineComponent({name:"DCodeIconDropdown",__name:"DCodeIconDropdown",props:{modelValue:{},label:{},placeholder:{default:"Pilih icon…"},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},columns:{default:4},maxHeight:{default:"335px"},iconSize:{default:20},pageSize:{default:120}},emits:["update:modelValue","clear"],setup(a,{emit:e}){const n=a,o=e,r=ha,i=t.ref(null),s=t.ref(null),c=Math.random().toString(36).slice(2,7),d=t.computed(()=>`dcode-icon-dropdown-${n.label||"icon-dropdown"}-${c}`),h=t.ref(!1),u=t.computed(()=>(n.modelValue??"").trim()||""),p=t.ref(""),y=t.ref(!1),f=t.ref(!1),k=t.ref(!1),m=t.shallowRef([]),g=t.ref(n.pageSize),w=new Set(["default","createLucideIcon","LucideIcon","Icon","icons","toKebabCase","camelCase","children","IconNode"]),S=async()=>{if(f.value||k.value)return;k.value=!0,await new Promise(V=>setTimeout(V,0));const B=Object.keys(r).filter(V=>!w.has(V)).filter(V=>/^[A-Z]/.test(V)).filter(V=>typeof r[V]=="function"||typeof r[V]=="object"&&r[V]).sort((V,U)=>V.localeCompare(U));m.value=B,f.value=!0,k.value=!1},v=t.computed(()=>!f.value||!u.value||!m.value.includes(u.value)?null:r[u.value]),M=t.ref(u.value),C=t.computed(()=>!!u.value&&!h.value),x=t.computed(()=>{if(!f.value)return[];const B=(p.value??"").trim().toLowerCase();return B?m.value.filter(V=>V.toLowerCase().includes(B)):m.value}),b=t.computed(()=>x.value.slice(0,g.value)),L=t.computed(()=>{const B=n.columns;return B<=2?"grid-cols-2":B===3?"grid-cols-3":B===4?"grid-cols-4":B===5?"grid-cols-5":B>=8?"grid-cols-8":"grid-cols-6"});t.computed(()=>n.clearable?"!pr-10":"!pr-3"),t.computed(()=>v.value&&!h.value?"!pl-12":"!pl-3");const I=async()=>{var B;await t.nextTick(),(B=s.value)==null||B.focus()},z=async B=>{if(n.disabled)return;const V=B!==!1;if(y.value){y.value=!1;return}h.value=!0,await S(),V&&(p.value="",M.value=""),g.value=n.pageSize,await I()},A=()=>{h.value=!1,p.value="",M.value=u.value,g.value=n.pageSize},q=async()=>{n.disabled||(h.value?A():await z())};let O=null;const H=async B=>{if(n.disabled)return;o("update:modelValue",null),h.value||await z(!1),O&&clearTimeout(O);const V=M.value;O=setTimeout(()=>{p.value=V},300)},W=B=>{n.disabled||(o("update:modelValue",B),A(),queueMicrotask(()=>{var V;return(V=s.value)==null?void 0:V.blur()}))},T=()=>{n.disabled||(o("update:modelValue",null),o("clear"),y.value=!0,A(),queueMicrotask(()=>{var B;return(B=s.value)==null?void 0:B.focus()}))},j=B=>{if(B.key==="Escape"){B.preventDefault(),A();return}if(B.key==="Enter"&&h.value){const V=x.value[0];V&&(B.preventDefault(),W(V))}},R=B=>{if(!h.value)return;const V=B.target;i.value&&!i.value.contains(V)&&A()},Y=B=>{const V=B.target;V.scrollTop+V.clientHeight>=V.scrollHeight-24&&g.value<x.value.length&&(g.value=Math.min(g.value+n.pageSize,x.value.length))};return t.onMounted(()=>{document.addEventListener("mousedown",R),queueMicrotask(()=>{var B;s.value=((B=i.value)==null?void 0:B.querySelector("input"))??null}),u.value&&S()}),t.onBeforeUnmount(()=>{document.removeEventListener("mousedown",R),O&&clearTimeout(O)}),t.watch(u,B=>{h.value||(M.value=B)}),t.watch(()=>p.value,()=>{g.value=n.pageSize}),(B,V)=>(t.openBlock(),t.createElementBlock("div",{ref_key:"rootEl",ref:i,class:"!w-full !block !box-border"},[n.label?(t.openBlock(),t.createElementBlock("label",{key:0,for:d.value,class:"!text-sm !font-medium !mb-1 !block"},[t.createTextVNode(t.toDisplayString(n.label)+" ",1),n.required?(t.openBlock(),t.createElementBlock("span",uG,"*")):t.createCommentVNode("",!0)],8,hG)):t.createCommentVNode("",!0),t.createElementVNode("div",pG,[v.value&&!h.value?(t.openBlock(),t.createElementBlock("div",yG,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(v.value),{size:18}))])):t.createCommentVNode("",!0),t.withDirectives(t.createElementVNode("input",{id:d.value,"onUpdate:modelValue":V[0]||(V[0]=U=>M.value=U),readonly:C.value,disabled:n.disabled,placeholder:n.placeholder,class:t.normalizeClass(["w-full h-10 m-0 py-0 rounded-lg border bg-white dark:bg-neutral-900 text-foreground dark:text-gray-300 border-gray-300 dark:border-gray-700 pr-10 outline-none box-border truncate",[v.value&&!h.value?"pl-10":"pl-4",C.value?"cursor-pointer select-none":""]]),onClick:z,onFocus:z,onInput:H,onKeydown:j},null,42,fG),[[t.vModelText,M.value]]),t.createElementVNode("div",kG,[n.clearable&&u.value?(t.openBlock(),t.createElementBlock("button",{key:0,type:"button",class:"flex items-center justify-center p-1 m-0 bg-transparent border-0 text-muted-foreground hover:text-foreground transition cursor-pointer outline-none",onMousedown:V[1]||(V[1]=t.withModifiers(()=>{},["prevent"])),onClick:T,title:"Clear"},[t.createVNode(t.unref(it),{class:"h-4 w-4"})],32)):(t.openBlock(),t.createElementBlock("button",{key:1,type:"button",class:"flex items-center justify-center p-1 m-0 bg-transparent border-0 text-muted-foreground hover:text-foreground transition-transform cursor-pointer outline-none",onMousedown:V[2]||(V[2]=t.withModifiers(()=>{},["prevent"])),onClick:q,title:"Open"},[t.createVNode(t.unref(St),{class:"h-4 w-4"})],32))]),h.value?(t.openBlock(),t.createElementBlock("div",mG,[t.createElementVNode("div",{class:"p-2 overflow-auto",style:t.normalizeStyle({maxHeight:n.maxHeight}),onScroll:Y},[k.value?(t.openBlock(),t.createElementBlock("div",gG,[t.createVNode(t.unref(kt),{class:"h-4 w-4 animate-spin"}),V[3]||(V[3]=t.createElementVNode("span",{class:"text-sm"},"Loading icons…",-1))])):f.value&&x.value.length===0?(t.openBlock(),t.createElementBlock("div",MG," Icon tidak ditemukan ")):(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(["grid gap-2",L.value])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(b.value,U=>(t.openBlock(),t.createElementBlock("button",{key:U,type:"button",class:t.normalizeClass(["group rounded-lg border p-2 hover:bg-muted/40 transition",u.value===U?"ring-1 ring-primary":""]),onClick:oe=>W(U),title:U},[t.createElementVNode("div",xG,[t.createElementVNode("div",wG,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(r)[U]),{size:n.iconSize,class:"shrink-0"},null,8,["size"]))]),t.createElementVNode("span",vG,t.toDisplayString(U),1)])],10,bG))),128))],2)),f.value&&x.value.length>0?(t.openBlock(),t.createElementBlock("div",CG," Showing "+t.toDisplayString(b.value.length)+" / "+t.toDisplayString(x.value.length),1)):t.createCommentVNode("",!0)],36)])):t.createCommentVNode("",!0)])],512))}}),LG={key:0,class:"fixed inset-0 z-50 flex items-center justify-center p-4 sm:p-6"},SG={class:"flex items-center justify-between border-b dark:border-neutral-800 px-6 py-4"},IG={class:"relative overflow-auto p-0"},e_=t.defineComponent({__name:"DCodeImageCropperDialog",props:{modelValue:{type:Boolean},file:{},title:{default:"Resize & Crop Gambar"},description:{default:""},aspectRatio:{default:null},outputWidth:{default:null},outputHeight:{default:null},quality:{default:.92},autoOpenEditor:{type:Boolean,default:!1}},emits:["update:modelValue","done","cancel"],setup(a,{emit:e}){const n=a,o=e,r=t.computed({get:()=>n.modelValue,set:v=>o("update:modelValue",v)}),i=t.ref(null),s=t.ref(null);let c=null,d=!1,h=0,u=null;function p(){if(c){try{c.close()}catch{}c=null,u&&(u.disconnect(),u=null),i.value&&(i.value.innerHTML=""),s.value=null}}async function y(v,M,C,x,b){const L=await new Promise((A,q)=>{const O=URL.createObjectURL(v),H=new Image;H.onload=()=>{URL.revokeObjectURL(O),A(H)},H.onerror=W=>{URL.revokeObjectURL(O),q(W)},H.src=O}),I=document.createElement("canvas");I.width=M,I.height=C;const z=I.getContext("2d");return z?(z.drawImage(L,0,0,M,C),await new Promise(A=>{I.toBlob(q=>A(q||v),x,b)})):v}function f(){if(!c||!s.value)return;const v=c.getPlugin("Dashboard"),M=c.getFile(s.value);!v||!M||requestAnimationFrame(()=>{try{v.openFileEditor(M)}catch{try{v.openFileEditor(s.value)}catch{}}})}async function k(v){if(c){c.cancelAll(),s.value=null;try{const M=c.addFile({name:v.name,type:v.type,data:v,source:"Local",isRemote:!1});s.value=String(M)}catch{}}}function m(){if(!i.value)return;c&&p(),c=new fq({autoProceed:!1,restrictions:{maxNumberOfFiles:1,allowedFileTypes:["image/*"]}});const v=document.documentElement.classList.contains("dark");c.use(p_,{target:i.value,inline:!0,height:480,theme:v?"dark":"light",proudlyDisplayPoweredByUppy:!1,hideUploadButton:!0,hideRetryButton:!0,hidePauseResumeButton:!0,hideCancelButton:!0,showProgressDetails:!1}),u=new MutationObserver(()=>{if(!c)return;const M=document.documentElement.classList.contains("dark"),C=c.getPlugin("Dashboard");C&&C.setOptions({theme:M?"dark":"light"})}),u.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]}),c.use(kq,{target:p_,quality:n.quality,cropperOptions:{viewMode:1,dragMode:"move",autoCropArea:1,aspectRatio:n.aspectRatio==null?Number.NaN:n.aspectRatio}}),c.on("file-editor:cancel",()=>{r.value=!1}),c.on("file-added",M=>{s.value=(M==null?void 0:M.id)??null,n.autoOpenEditor&&setTimeout(()=>f(),80)}),c.on("file-editor:complete",async M=>{const C=++h;try{const x=M.data,b=x.type||M.type||"image/jpeg";let L=x;if(n.outputWidth&&n.outputHeight&&(L=await y(x,n.outputWidth,n.outputHeight,b,n.quality)),d||C!==h)return;const I=M.name||"edited-image.jpg",z=new File([L],I,{type:b});await g(z,"UPPY_EDITOR_COMPLETE"),o("done",z),r.value=!1}catch{}})}async function g(v,M="CROP_RESULT"){const C=URL.createObjectURL(v);try{const x=await new Promise((b,L)=>{const I=new Image;I.onload=()=>b(I),I.onerror=L,I.src=C});console.group(M),console.log("file:",v),console.table({name:v.name,type:v.type,sizeBytes:v.size,sizeMB:+(v.size/1024/1024).toFixed(3),width:x.naturalWidth,height:x.naturalHeight,ratio:+(x.naturalWidth/x.naturalHeight).toFixed(4)}),console.log("previewUrl:",C),console.groupEnd()}finally{URL.revokeObjectURL(C)}}t.watch(r,async v=>{d=!v,h++,v?(await t.nextTick(),m(),n.file&&await k(n.file)):p()},{flush:"post"}),t.watch(()=>n.file,async v=>{r.value&&v&&(await t.nextTick(),await k(v))}),t.onBeforeUnmount(()=>{d=!0,h++,p()});const w=v=>{v.key==="Escape"&&r.value&&(r.value=!1)};t.watch(r,v=>{v?globalThis.addEventListener("keydown",w):globalThis.removeEventListener("keydown",w)},{immediate:!0});const S=t.ref(!1);return(v,M)=>r.value?(t.openBlock(),t.createElementBlock("div",LG,[t.createVNode(t.Transition,{appear:"","enter-active-class":"duration-300 ease-out","enter-from-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"duration-200 ease-in","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:t.withCtx(()=>[r.value?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fixed inset-0 bg-black/60 backdrop-blur-sm transition-opacity",onClick:M[0]||(M[0]=C=>r.value=!1)})):t.createCommentVNode("",!0)]),_:1}),t.createVNode(t.Transition,{appear:"","enter-active-class":"duration-300 ease-out","enter-from-class":"opacity-0 scale-95 translate-y-4 sm:translate-y-0 sm:scale-95","enter-to-class":"opacity-100 scale-100 translate-y-0 sm:scale-100","leave-active-class":"duration-200 ease-in","leave-from-class":"opacity-100 scale-100 translate-y-0 sm:scale-100","leave-to-class":"opacity-0 scale-95 translate-y-4 sm:translate-y-0 sm:scale-95"},{default:t.withCtx(()=>[r.value?(t.openBlock(),t.createElementBlock("div",{key:0,class:"relative flex w-fit max-w-4xl flex-col overflow-hidden rounded-xl border border-border dark:border-neutral-800 bg-background dark:bg-neutral-900 shadow-2xl transition-all",onClick:M[4]||(M[4]=t.withModifiers(()=>{},["stop"]))},[t.createElementVNode("div",SG,[M[6]||(M[6]=t.createElementVNode("h3",{class:"text-lg font-semibold leading-none tracking-tight dark:text-neutral-100"}," Crop & Resize ",-1)),t.createElementVNode("button",{class:"d-close-btn rounded-sm dark:text-neutral-400 ring-offset-background transition-opacity focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",style:t.normalizeStyle({opacity:S.value?1:.7}),onClick:M[1]||(M[1]=C=>r.value=!1),onMouseenter:M[2]||(M[2]=C=>S.value=!0),onMouseleave:M[3]||(M[3]=C=>S.value=!1)},[t.createVNode(t.unref(it),{class:"h-4 w-4"}),M[5]||(M[5]=t.createElementVNode("span",{class:"sr-only"},"Close",-1))],36)]),t.createElementVNode("div",IG,[t.createElementVNode("div",{ref_key:"dashboardEl",ref:i,class:"uppy-wrap"},null,512)])])):t.createCommentVNode("",!0)]),_:1})])):t.createCommentVNode("",!0)}}),_G={key:0,class:"text-xs text-muted-foreground dark:text-neutral-400"},AG=["src"],BG=["disabled"],VG=["disabled"],zG={class:"text-[11px] text-foreground/90 dark:text-neutral-200 space-y-1 whitespace-nowrap"},qG={class:"flex gap-2"},PG={class:"font-medium truncate"},DG={class:"flex gap-2"},EG={class:"font-medium"},TG={class:"flex gap-2"},HG={class:"font-medium truncate"},t_=ga(t.defineComponent({__name:"DCodeImageResult",props:{file:{},title:{default:"Hasil Gambar"},description:{default:""},disabled:{type:Boolean,default:!1},previewHeight:{default:190},previewWidth:{default:220},showEdit:{type:Boolean,default:!0},showReplace:{type:Boolean,default:!0},showRemove:{type:Boolean,default:!0}},emits:["edit","replace","remove"],setup(a,{emit:e}){const n=a,o=e,r=t.ref(null);t.watch(()=>n.file,y=>{r.value&&URL.revokeObjectURL(r.value),r.value=y?URL.createObjectURL(y):null},{immediate:!0}),t.onBeforeUnmount(()=>{r.value&&URL.revokeObjectURL(r.value),h&&h.disconnect()});function i(y){const f=y/1024,k=f/1024;return k>=1?`${k.toFixed(2)} MB`:f>=1?`${f.toFixed(1)} KB`:`${y} B`}const s=t.computed(()=>n.file?{name:n.file.name,size:i(n.file.size),type:n.file.type||"unknown"}:null),c=t.ref(!1),d=t.ref(!1);let h=null;const u=()=>{typeof document<"u"&&(d.value=document.documentElement.classList.contains("dark")||document.body.classList.contains("dark"))};t.onMounted(()=>{u(),typeof document<"u"&&(h=new MutationObserver(u),h.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]}),h.observe(document.body,{attributes:!0,attributeFilter:["class"]}))});const p=t.computed(()=>n.disabled||!c.value?{}:{borderColor:d.value?"hsl(var(--primary) / 0.4)":"hsl(var(--primary) / 0.5)",backgroundColor:d.value?"hsl(var(--primary) / 0.1)":"hsl(var(--primary) / 0.05)"});return(y,f)=>a.file?(t.openBlock(),t.createBlock(cS,{key:0,class:t.normalizeClass([a.disabled?"opacity-60 pointer-events-none":"","dark:bg-neutral-900 dark:border-neutral-800"])},{default:t.withCtx(()=>[t.createVNode(hS,{class:"pb-2"},{default:t.withCtx(()=>[t.createVNode(YI,{class:"text-sm font-semibold dark:text-neutral-100"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(a.title),1)]),_:1}),a.description?(t.openBlock(),t.createElementBlock("div",_G,t.toDisplayString(a.description),1)):t.createCommentVNode("",!0)]),_:1}),t.createVNode(dS,{class:"pt-2"},{default:t.withCtx(()=>{var k,m,g;return[t.createElementVNode("div",{class:"d-result-preview-wrap relative rounded-xl overflow-hidden border-2 border-dashed transition-colors duration-200 bg-muted dark:bg-neutral-800/50 border-border dark:border-neutral-700 w-full",style:t.normalizeStyle([{height:`${a.previewHeight}px`},p.value]),onMouseenter:f[2]||(f[2]=w=>c.value=!0),onMouseleave:f[3]||(f[3]=w=>c.value=!1)},[r.value?(t.openBlock(),t.createElementBlock("img",{key:0,src:r.value,alt:"Preview",class:"h-full w-full object-contain"},null,8,AG)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:"d-action-buttons",style:t.normalizeStyle({position:"absolute",top:"8px",left:"8px",right:"8px",display:"flex",alignItems:"center",justifyContent:"space-between",zIndex:50,opacity:c.value?1:0,transition:"opacity 0.2s ease-in-out",pointerEvents:c.value?"auto":"none"})},[a.showEdit?(t.openBlock(),t.createElementBlock("button",{key:0,disabled:a.disabled,class:"d-action-btn shadow-md",style:t.normalizeStyle({height:"32px",width:"32px",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"#eab308",color:"white",borderRadius:"8px",border:"1px solid rgba(255,255,255,0.4)",cursor:a.disabled?"not-allowed":"pointer",transition:"all 0.2s",boxShadow:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)"}),onClick:f[0]||(f[0]=w=>o("edit"))},[t.createVNode(t.unref(ir),{style:{width:"16px",height:"16px"}})],12,BG)):t.createCommentVNode("",!0),a.showRemove?(t.openBlock(),t.createElementBlock("button",{key:1,disabled:a.disabled,class:"d-action-btn shadow-md",style:t.normalizeStyle({height:"32px",width:"32px",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"#ef4444",color:"white",borderRadius:"8px",border:"1px solid rgba(255,255,255,0.4)",cursor:a.disabled?"not-allowed":"pointer",transition:"all 0.2s",boxShadow:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)"}),onClick:f[1]||(f[1]=w=>o("remove"))},[t.createVNode(t.unref(Ii),{style:{width:"16px",height:"16px"}})],12,VG)):t.createCommentVNode("",!0)],4),t.createElementVNode("div",{class:"d-metadata-overlay",style:t.normalizeStyle({position:"absolute",left:"8px",bottom:"8px",zIndex:10,display:"inline-block",maxWidth:"calc(100% - 16px)",borderRadius:"12px",border:"1px solid rgba(0,0,0,0.1)",padding:"8px 12px",boxShadow:"0 10px 15px -3px rgba(0,0,0,0.1)",backdropFilter:"blur(8px)",transition:"all 0.2s ease-in-out",opacity:c.value?1:0,transform:c.value?"translateY(0) scale(1)":"translateY(4px) scale(0.99)",backgroundColor:d.value?"rgba(38, 38, 38, 0.8)":"rgba(255, 255, 255, 0.8)",color:d.value?"#e5e5e5":"#171717"})},[t.createElementVNode("div",zG,[t.createElementVNode("div",qG,[f[4]||(f[4]=t.createElementVNode("span",{class:"w-14 shrink-0 text-muted-foreground dark:text-neutral-400"},"Nama",-1)),t.createElementVNode("span",PG,t.toDisplayString((k=s.value)==null?void 0:k.name),1)]),t.createElementVNode("div",DG,[f[5]||(f[5]=t.createElementVNode("span",{class:"w-14 shrink-0 text-muted-foreground dark:text-neutral-400"},"Ukuran",-1)),t.createElementVNode("span",EG,t.toDisplayString((m=s.value)==null?void 0:m.size),1)]),t.createElementVNode("div",TG,[f[6]||(f[6]=t.createElementVNode("span",{class:"w-14 shrink-0 text-muted-foreground dark:text-neutral-400"},"Tipe",-1)),t.createElementVNode("span",HG,t.toDisplayString((g=s.value)==null?void 0:g.type),1)])])],4)],36)]}),_:1})]),_:1},8,["class"])):t.createCommentVNode("",!0)}}),[["__scopeId","data-v-349b562d"]]),jG={class:"space-y-3"},a_=t.defineComponent({__name:"DCodeImageField",props:{modelValue:{default:null},label:{default:"Upload Gambar"},hint:{default:"Drag & drop atau klik area ini"},disabled:{type:Boolean,default:!1},allowedTypes:{default:null},accept:{default:"image/*"},minSizeMb:{default:null},maxSizeMb:{default:1},title:{default:"Hasil Gambar"},description:{default:""},previewWidth:{default:360},previewHeight:{default:220},aspectRatio:{default:null},outputWidth:{default:null},outputHeight:{default:null},quality:{default:.92},autoOpenEditor:{type:Boolean,default:!0},minWidth:{default:null},minHeight:{default:null},maxWidth:{default:null},maxHeight:{default:null},endpoint:{},uploadFn:{},editUseOriginal:{type:Boolean,default:!1}},emits:["update:modelValue","error","uploaded"],setup(a,{emit:e}){const n=a,o=e,r=t.computed({get:()=>n.modelValue,set:T=>o("update:modelValue",T)}),i=t.ref(!1),s=t.ref(null),c=t.ref(null),d=t.ref(null);function h(T){d.value=T,o("error",T)}function u(){d.value=null}const p=t.computed(()=>{const T=(n.allowedTypes??"").trim();return T?T.split(/[,\s;]+/g).map(R=>R.trim().toLowerCase()).filter(Boolean).map(R=>R.includes("/")||R.startsWith(".")?R:`.${R}`):[]});function y(T){const j=T.lastIndexOf(".");return j>=0?T.slice(j).toLowerCase():""}const f=t.computed(()=>{if(p.value.length){const T=p.value.filter(R=>R.startsWith("."));return[...p.value.filter(R=>R.includes("/")),...T].join(",")}return n.accept||"image/*"}),k=t.computed(()=>p.value.length?p.value.join(", "):n.accept||"image/*");function m(T){if(p.value.length){const R=(T.type||"").toLowerCase(),Y=y(T.name);return p.value.some(B=>B.includes("/")?R===B:B.startsWith(".")?Y===B:Y===`.${B}`)}return(n.accept||"image/*").toLowerCase().includes("image/")?(T.type||"").toLowerCase().startsWith("image/"):!0}function g(T){return T*1024*1024}async function w(T){var j;return(j=T.type)!=null&&j.startsWith("image/")?await new Promise(R=>{const Y=URL.createObjectURL(T),B=new Image;B.onload=()=>{URL.revokeObjectURL(Y),R({w:B.naturalWidth,h:B.naturalHeight})},B.onerror=()=>{URL.revokeObjectURL(Y),R(null)},B.src=Y}):null}async function S(T){if(!(n.minWidth!=null||n.minHeight!=null||n.maxWidth!=null||n.maxHeight!=null))return null;const R=await w(T);return R?n.minWidth!=null&&R.w<n.minWidth?`Lebar gambar minimal ${n.minWidth}px`:n.minHeight!=null&&R.h<n.minHeight?`Tinggi gambar minimal ${n.minHeight}px`:n.maxWidth!=null&&R.w>n.maxWidth?`Lebar gambar maksimal ${n.maxWidth}px`:n.maxHeight!=null&&R.h>n.maxHeight?`Tinggi gambar maksimal ${n.maxHeight}px`:null:"Gagal membaca dimensi gambar"}async function v(T){return T?m(T)?n.minSizeMb!=null&&T.size<g(n.minSizeMb)?`Ukuran file terlalu kecil. Minimal ${n.minSizeMb}MB`:n.maxSizeMb!=null&&T.size>g(n.maxSizeMb)?`Ukuran file terlalu besar. Maks ${n.maxSizeMb}MB`:await S(T):`only Allowed: ${k.value}`:"File tidak valid"}function M(T){n.disabled||(s.value=T,i.value=!0)}async function C(T){if(n.disabled)return;u();const j=await v(T);if(j){h(j);return}c.value=T,M(T)}const{DCodeApi:x}=Ke(),b=JI(),L=t.ref(!1);t.ref(null);function I(T,j){return!T||!j?null:T.replace(/\/+$/,"")+"/"+j.replace(/^\/+/,"")}function z(T){var B;const j=(T==null?void 0:T.data)??T,R=(B=j==null?void 0:j.data)==null?void 0:B[0];if(!R)return null;const Y=I(R.server,R.url);return{...R,fullUrl:Y?encodeURI(Y):null}}async function A(T){var j;if(n.uploadFn){try{L.value=!0;const R=await n.uploadFn(T);r.value=T,o("uploaded",R)}catch(R){console.error("Upload Error",R),b.error("Upload Failed",(R==null?void 0:R.message)||"Unknown error"),h((R==null?void 0:R.message)||"Upload Failed")}finally{L.value=!1}return}if(!((j=n.endpoint)!=null&&j.apiUrl)){r.value=T;return}if(typeof x!="function"){h("useApi() must expose DCodeApi()");return}try{L.value=!0;const R=new FormData;R.append("doc",T);const Y=(n.endpoint.apiMethod||"POST").toUpperCase(),B=n.endpoint.apiUrl,V=await x("","",R,{_url:B,_method:Y,withCredentials:!0,transformRequest:[(oe,ee)=>(ee&&(delete ee["Content-Type"],delete ee["content-type"]),oe)]}),U=(V==null?void 0:V.data)??V;z(U),r.value=T,o("uploaded",U)}catch(R){console.error("Upload Error",R),b.error("Upload Failed",(R==null?void 0:R.message)||"Unknown error"),h((R==null?void 0:R.message)||"Upload Failed")}finally{L.value=!1}}async function q(T){var j;u(),n.uploadFn||(j=n.endpoint)!=null&&j.apiUrl?await A(T):r.value=T,i.value=!1,s.value=null}function O(){i.value=!1,s.value=null}async function H(){if(!r.value)return;u();const T=n.editUseOriginal?c.value??r.value:r.value,j=await v(T);if(j){h(j);return}M(T)}function W(){u(),r.value=null,s.value=null,i.value=!1,c.value=null}return t.watch(()=>n.modelValue,T=>{T&&!c.value&&(c.value=T),T||(c.value=null)},{immediate:!0}),(T,j)=>(t.openBlock(),t.createElementBlock("div",jG,[r.value?(t.openBlock(),t.createBlock(t_,{key:1,file:r.value,title:a.label,description:a.description,"preview-width":a.previewWidth,disabled:a.disabled,"show-edit":!0,"show-remove":!0,"show-replace":!1,onEdit:H,onRemove:W,"aspect-ratio":16/9},null,8,["file","title","description","preview-width","disabled"])):(t.openBlock(),t.createBlock(uS,{key:0,label:a.label,hint:a.hint,accept:f.value,maxSizeMb:a.maxSizeMb,disabled:a.disabled,onPicked:C,error:d.value,onError:j[0]||(j[0]=R=>h(R))},null,8,["label","hint","accept","maxSizeMb","disabled","error"])),t.createVNode(e_,{modelValue:i.value,"onUpdate:modelValue":j[1]||(j[1]=R=>i.value=R),file:s.value,title:a.title,description:a.description,"auto-open-editor":a.autoOpenEditor,"aspect-ratio":a.aspectRatio,"output-width":a.outputWidth,"output-height":a.outputHeight,quality:a.quality,onDone:q,onCancel:O},null,8,["modelValue","file","title","description","auto-open-editor","aspect-ratio","output-width","output-height","quality"])]))}}),n_=t.defineComponent({name:"DCodeLabel",inheritAttrs:!1,__name:"DCodeLabel",props:{label:{},text:{},textSize:{},textType:{},icon:{},iconClass:{}},setup(a){const e=t.useAttrs(),n=a,o=t.computed(()=>n.icon&&ha[n.icon]||null),r=t.computed(()=>n.textSize?`text-${n.textSize}`:"text-xs"),i={xs:"w-3 h-3",sm:"w-3.5 h-3.5",base:"w-4 h-4",lg:"w-5 h-5",xl:"w-5 h-5","2xl":"w-6 h-6","3xl":"w-7 h-7","4xl":"w-8 h-8","5xl":"w-10 h-10","6xl":"w-12 h-12"},s=t.computed(()=>i[n.textSize??"xs"]??"w-3 h-3"),c=t.computed(()=>n.textType==="BOLD"?"font-bold":n.textType==="ITALIC"?"italic font-normal":"font-normal"),d=t.computed(()=>{const u=`${r.value} ${c.value} text-slate-600 ml-1 inline-flex items-center gap-1`,p=e.class??"";return[u,p].filter(Boolean).join(" ")}),h=t.computed(()=>{const{class:u,...p}=e;return p});return(u,p)=>(t.openBlock(),t.createElementBlock("span",t.mergeProps({class:d.value},h.value),[o.value?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(o.value),{key:0,class:t.normalizeClass(["shrink-0",s.value,a.iconClass])},null,8,["class"])):t.createCommentVNode("",!0),t.createTextVNode(" "+t.toDisplayString(a.label||a.text),1)],16))}}),o_=t.defineComponent({__name:"Input",props:{defaultValue:{},modelValue:{},class:{type:[Boolean,null,String,Object,Array]}},emits:["update:modelValue"],setup(a,{emit:e}){const n=a,r=fs(n,"modelValue",e,{passive:!0,defaultValue:n.defaultValue});return(i,s)=>t.withDirectives((t.openBlock(),t.createElementBlock("input",{"onUpdate:modelValue":s[0]||(s[0]=c=>t.isRef(r)?r.value=c:null),class:t.normalizeClass(t.unref(ke)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",n.class))},null,2)),[[t.vModelText,t.unref(r)]])}}),OG=["aria-busy"],FG={key:0,class:"h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},RG={key:0,class:"ml-1 text-destructive"},NG={class:"min-w-0 flex-1 text-left"},$G={key:0,class:"flex flex-wrap gap-1.5"},UG={class:"max-w-[220px] truncate"},WG=["onClick"],GG={key:1,class:"text-muted-foreground truncate"},KG={class:"flex items-center gap-2 shrink-0"},XG={key:0,class:"p-2 border-b border-gray-200 dark:border-gray-800"},ZG={key:0,class:"h-full flex items-center justify-center px-3 text-sm text-muted-foreground"},YG=["disabled","onClick"],QG={class:"truncate"},JG={key:0,class:"text-primary-600 dark:text-primary-400"},eK={key:1,class:"h-full flex items-center justify-center text-sm text-muted-foreground"},tK={key:0},aK={key:1},nK={key:1,class:"text-xs text-destructive"},oK={name:"DCodeMultiSelect"},Hz=t.defineComponent({...oK,name:"DCodeMultiSelect",inheritAttrs:!1,props:{modelValue:{},items:{default:()=>[]},endpoint:{default:void 0},fetchItems:{},autoFetchOnOpen:{type:Boolean,default:!0},autoFetchOnMount:{type:Boolean,default:!1},refreshOnOpen:{type:Boolean,default:!1},label:{default:""},placeholder:{default:"Pilih data…"},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},searchable:{type:Boolean,default:!1},searchPlaceholder:{default:"Cari…"},visible:{type:Boolean,default:!0},skeleton:{type:Boolean,default:!1},maxChips:{default:2},maxSelected:{default:3},itemTitle:{type:[String,Function],default:"name"},itemValue:{type:[String,Function],default:"id"},returnObject:{type:Boolean,default:!1},virtual:{type:Boolean,default:!0},itemHeight:{default:40},maxRows:{default:5},overscan:{default:6},error:{default:null},required:{type:Boolean,default:!1}},emits:["update:modelValue","clear","max"],setup(a,{emit:e}){const n=t.useAttrs(),o=e,r=a,i=t.computed(()=>(r.label||n.label)??void 0),s=t.computed(()=>r.visible??!0),c=Math.random().toString(36).slice(2,7),d=t.computed(()=>`app-multiselect-${n.id||i.value||"field"}-${c}`),h=t.computed(()=>{if(r.required)return!0;const G=n.required,J=n["aria-required"];return G===""||G===!0||G==="true"||(J==="true"||J===!0)}),u=t.computed(()=>!!r.error);function p(G){return G?typeof r.itemTitle=="function"?r.itemTitle(G)??"":String((G==null?void 0:G[r.itemTitle])??""):""}function y(G){return G?typeof r.itemValue=="function"?r.itemValue(G):G==null?void 0:G[r.itemValue]:null}function f(G,J){return y(G)??J}const k=t.computed(()=>Array.isArray(r.modelValue)?r.modelValue:[]),m=t.computed(()=>{var G;return!!((G=r.endpoint)!=null&&G.apiUrl)||!!r.fetchItems}),g=t.ref([]),w=t.ref(!1),S=t.ref(!1),v=t.computed(()=>{var J;const G=(J=r.endpoint)==null?void 0:J.apiOptions;if(G)return typeof G=="function"?G():G}),M=t.computed(()=>{var ye,ze;const G=((ye=r.endpoint)==null?void 0:ye.apiUrl)??"",J=(((ze=r.endpoint)==null?void 0:ze.apiMethod)??"GET").toUpperCase(),ae=JSON.stringify(v.value??null);return`${J} ${G} :: ${ae}`}),C=t.computed(()=>m.value?g.value:r.items||[]);async function x(){var G;if(m.value&&!(!((G=r.endpoint)!=null&&G.apiUrl)&&!r.fetchItems)&&!w.value){w.value=!0;try{let J;if(r.fetchItems){const ae=await r.fetchItems(),ye=(ae==null?void 0:ae.data)??ae;J=(ye==null?void 0:ye.data)??ye}else{const{DCodeApi:ae}=Ke();if(typeof ae!="function"){console.error("[DCodeMultiSelectChips] useApi() must expose DCodeApi()");return}const ye={page:1,perPage:100,...v.value||{}},ze=await ae("","",ye,{_url:r.endpoint.apiUrl,_method:(r.endpoint.apiMethod||"GET").toUpperCase()}),na=(ze==null?void 0:ze.data)??ze;J=(na==null?void 0:na.data)??na}g.value=Array.isArray(J)?J:[],S.value=!0}catch(J){console.error("[DCodeMultiSelectChips][fetchOptions] ERROR:",J),g.value=[]}finally{w.value=!1}}}t.watch(()=>M.value,()=>{g.value=[],S.value=!1}),t.onMounted(()=>{r.autoFetchOnMount&&m.value&&x()});const b=t.computed(()=>{const G=k.value;if(r.returnObject)return G;const J=new Map;for(const ae of C.value)J.set(y(ae),ae);return G.map(ae=>J.get(ae)??{[r.itemValue]:ae,[r.itemTitle]:String(ae)})}),L=t.computed(()=>r.maxChips===null?b.value:b.value.slice(0,r.maxChips));function I(G){const J=k.value;if(r.returnObject){const ae=y(G);return J.some(ye=>y(ye)===ae)}return J.includes(y(G))}const z=t.computed(()=>{if(r.maxSelected===null||r.maxSelected===void 0)return null;const G=Number(r.maxSelected);return Number.isFinite(G)&&G>0?G:null}),A=t.computed(()=>{const G=z.value;return G===null?!1:k.value.length>=G});function q(G){return!I(G)&&A.value}const O=t.computed(()=>{const G=k.value,J=new Set;if(r.returnObject)for(const ae of G)J.add(y(ae));else for(const ae of G)J.add(ae);return J}),H=t.computed(()=>{const G=O.value;return(C.value||[]).filter(J=>!G.has(y(J)))}),W=t.computed(()=>C.value.length===0?!1:H.value.length===0),T=t.ref(null),j=t.ref(null),R=t.ref(null),Y=t.ref(!1),B=t.ref(""),V=t.ref(0),U=t.ref(0),{floatingStyles:oe}=Q1(T,j,{whileElementsMounted:K1,placement:"bottom-start",middleware:[X1(8),Ds(),Z1({padding:8}),Y1({apply({rects:G,elements:J}){Object.assign(J.floating.style,{width:`${G.reference.width}px`,"--floating-width":`${G.reference.width}px`})}})]}),ee=t.computed(()=>oe.value),de=t.computed(()=>{const G=Number(r.maxRows);return Number.isFinite(G)&&G>0?G:5});async function ce(){r.disabled||(Y.value=!0,U.value=0,requestAnimationFrame(()=>{R.value&&(R.value.scrollTop=0),V.value=0}),m.value&&r.autoFetchOnOpen&&(r.refreshOnOpen||!S.value)&&!w.value&&await x())}function ue(){Y.value=!1}function ve(){Y.value?ue():ce()}function le(G){var ae,ye;if(!Y.value)return;const J=G.target;(ae=T.value)!=null&&ae.contains(J)||(ye=j.value)!=null&&ye.contains(J)||ue()}t.onMounted(()=>document.addEventListener("mousedown",le)),t.onBeforeUnmount(()=>document.removeEventListener("mousedown",le));function X(G){if(r.disabled)return;if(q(G)){o("max");return}const J=[...k.value];if(r.returnObject){const ae=y(G);if(J.some(ze=>y(ze)===ae))return;o("update:modelValue",[...J,G])}else{const ae=y(G);if(J.includes(ae))return;o("update:modelValue",[...J,ae])}B.value="",U.value=0,requestAnimationFrame(()=>{R.value&&(R.value.scrollTop=0),V.value=0})}function P(G){if(r.disabled)return;const J=[...k.value];if(r.returnObject){const ae=y(G);o("update:modelValue",J.filter(ye=>y(ye)!==ae))}else{const ae=y(G);o("update:modelValue",J.filter(ye=>ye!==ae))}}function $(){r.disabled||(o("update:modelValue",[]),o("clear"),ue())}const Q=t.computed(()=>{const G=B.value.trim().toLowerCase(),J=H.value;return G?J.filter(ae=>p(ae).toLowerCase().includes(G)):J}),pe=t.computed(()=>Q.value.length);t.watch(Y,G=>{G||(B.value="")});const Pe=t.computed(()=>{if(W.value)return r.itemHeight;const G=pe.value;return(G<=0?1:Math.min(G,de.value))*r.itemHeight}),ot=t.computed(()=>r.virtual?pe.value*r.itemHeight:0),bt=t.computed(()=>r.virtual?Math.ceil(Pe.value/r.itemHeight)+r.overscan:pe.value),aa=t.computed(()=>{if(!r.virtual)return 0;const G=Math.floor(V.value/r.itemHeight)-Math.floor(r.overscan/2);return Math.max(0,G)}),_a=t.computed(()=>r.virtual?Math.min(pe.value,aa.value+bt.value):pe.value),xt=t.computed(()=>r.virtual?aa.value*r.itemHeight:0),$t=t.computed(()=>{const G=Q.value;return r.virtual?G.slice(aa.value,_a.value):G});function D1(G){const J=G.target;V.value=J.scrollTop}function E1(G){return G===U.value}function F(G){const J=R.value;if(!J||!r.virtual)return;const ae=G*r.itemHeight,ye=ae+r.itemHeight,ze=J.scrollTop,na=J.scrollTop+J.clientHeight;ae<ze?J.scrollTop=ae:ye>na&&(J.scrollTop=ye-J.clientHeight)}function te(G){const J=Math.max(0,pe.value-1);U.value=Math.min(J,Math.max(0,U.value+G)),F(U.value)}function he(){const G=Q.value[U.value];G&&X(G)}const _e=t.computed(()=>r.clearable&&!r.disabled&&b.value.length>0),De=t.computed(()=>u.value?"border-red-500 ring-[0.5px] ring-red-500":Y.value?"border-gray-700 ring-[0.5px] ring-gray-700 dark:border-gray-300 dark:ring-gray-300":"");return(G,J)=>t.withDirectives((t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["flex flex-col gap-1 w-full",t.unref(n).class]),"aria-busy":r.skeleton},[r.skeleton?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[i.value?(t.openBlock(),t.createElementBlock("div",FG)):t.createCommentVNode("",!0),J[3]||(J[3]=t.createElementVNode("div",{class:"h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse"},null,-1))],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[i.value?(t.openBlock(),t.createBlock(t.unref(Bs),{key:0,for:d.value,class:"text-sm font-medium"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(i.value)+" ",1),h.value?(t.openBlock(),t.createElementBlock("span",RG,"*")):t.createCommentVNode("",!0)]),_:1},8,["for"])):t.createCommentVNode("",!0),t.createElementVNode("div",{ref_key:"referenceEl",ref:T,class:"relative"},[t.createVNode(t.unref(Ae),{id:d.value,type:"button",variant:"outline",class:t.normalizeClass(["w-full justify-between h-auto min-h-10 px-3 py-2 transition border",["bg-white dark:bg-neutral-900 border-gray-300 dark:border-gray-700 text-foreground dark:text-gray-300",De.value]]),disabled:r.disabled,onClick:ve},{default:t.withCtx(()=>[t.createElementVNode("div",NG,[b.value.length?(t.openBlock(),t.createElementBlock("div",$G,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(L.value,(ae,ye)=>(t.openBlock(),t.createBlock(t.unref(Ia),{key:`chip-${f(ae,ye)}`,variant:"secondary",class:"gap-1"},{default:t.withCtx(()=>[t.createElementVNode("span",UG,t.toDisplayString(p(ae)),1),r.disabled?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("button",{key:0,class:"ml-1 opacity-70 hover:opacity-100",onClick:t.withModifiers(ze=>P(ae),["stop"]),"aria-label":"Remove"}," ✕ ",8,WG))]),_:2},1024))),128)),r.maxChips!==null&&b.value.length>r.maxChips?(t.openBlock(),t.createBlock(t.unref(Ia),{key:0,variant:"secondary"},{default:t.withCtx(()=>[t.createTextVNode(" +"+t.toDisplayString(b.value.length-(r.maxChips??0)),1)]),_:1})):t.createCommentVNode("",!0)])):(t.openBlock(),t.createElementBlock("div",GG,t.toDisplayString(r.placeholder),1))]),t.createElementVNode("div",KG,[_e.value?(t.openBlock(),t.createElementBlock("button",{key:0,class:"text-muted-foreground hover:text-foreground",onClick:t.withModifiers($,["stop"]),"aria-label":"Clear"}," ✕ ")):t.createCommentVNode("",!0),t.createVNode(t.unref(St),{class:"h-4 w-4 text-muted-foreground"})])]),_:1},8,["id","disabled","class"]),(t.openBlock(),t.createBlock(t.Teleport,{to:"body"},[Y.value?(t.openBlock(),t.createElementBlock("div",{key:0,ref_key:"floatingEl",ref:j,class:"-mt-1 z-[9999] w-[var(--floating-width)] rounded-lg border shadow-lg overflow-hidden bg-white dark:bg-neutral-900 border-gray-200 dark:border-gray-800",style:t.normalizeStyle(ee.value)},[r.searchable&&!W.value?(t.openBlock(),t.createElementBlock("div",XG,[t.createVNode(t.unref(o_),{modelValue:B.value,"onUpdate:modelValue":J[0]||(J[0]=ae=>B.value=ae),placeholder:r.searchPlaceholder,class:"h-10",onKeydown:[J[1]||(J[1]=t.withKeys(t.withModifiers(ae=>te(1),["prevent"]),["down"])),J[2]||(J[2]=t.withKeys(t.withModifiers(ae=>te(-1),["prevent"]),["up"])),t.withKeys(t.withModifiers(he,["prevent"]),["enter"]),t.withKeys(t.withModifiers(ue,["prevent"]),["esc"])]},null,8,["modelValue","placeholder","onKeydown"])])):t.createCommentVNode("",!0),t.createElementVNode("div",{ref_key:"listEl",ref:R,class:"relative overflow-auto",style:t.normalizeStyle({height:Pe.value+"px"}),onScroll:D1},[W.value?(t.openBlock(),t.createElementBlock("div",ZG," All items have been selected ")):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[r.virtual?(t.openBlock(),t.createElementBlock("div",{key:0,style:t.normalizeStyle({height:ot.value+"px"})},null,4)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(r.virtual?"absolute left-0 top-0 w-full":""),style:t.normalizeStyle(r.virtual?{transform:`translateY(${xt.value}px)`}:void 0)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList($t.value,(ae,ye)=>(t.openBlock(),t.createElementBlock("button",{key:String(f(ae,aa.value+ye)),type:"button",class:t.normalizeClass(["w-full px-3 text-left text-sm flex items-center justify-between gap-3",[q(ae)?"cursor-not-allowed opacity-50":"hover:bg-neutral-50 dark:hover:bg-neutral-800/60",E1(aa.value+ye)?"bg-neutral-50 dark:bg-neutral-800/60":"",I(ae)?"font-semibold":"font-normal"]]),style:t.normalizeStyle({height:r.itemHeight+"px"}),disabled:r.disabled||q(ae),onClick:ze=>X(ae)},[t.createElementVNode("span",QG,t.toDisplayString(p(ae)),1),I(ae)?(t.openBlock(),t.createElementBlock("span",JG,"✓")):t.createCommentVNode("",!0)],14,YG))),128))],6),pe.value===0?(t.openBlock(),t.createElementBlock("div",eK,[w.value?(t.openBlock(),t.createElementBlock("span",tK,"Loading data…")):(t.openBlock(),t.createElementBlock("span",aK,"Tidak ada data"))])):t.createCommentVNode("",!0)],64))],36)],4)):t.createCommentVNode("",!0)]))],512),u.value?(t.openBlock(),t.createElementBlock("p",nK,t.toDisplayString(r.error),1)):t.createCommentVNode("",!0)],64))],10,OG)),[[t.vShow,s.value]])}}),rK={class:"space-y-4"},iK={key:0,class:"space-y-1"},sK={class:"text-base font-semibold text-gray-800"},lK={class:"text-sm text-gray-400"},cK={class:"flex items-center gap-2 flex-nowrap"},dK=["value","disabled","onKeydown","onInput","onPaste"],r_=t.defineComponent({name:"DCodeOtpInput",__name:"DCodeOtpInput",props:{modelValue:{default:""},totalInput:{default:6},default:{default:""},label:{default:""},endpoint:{},submitFn:{}},emits:["updateOtp","update:modelValue","complete","loading","success","error"],setup(a,{emit:e}){const n=a,o=e,r=t.ref([]),i=t.ref([]),s=t.ref(!1),{DCodeApi:c}=Ke(),d=JI(),h=t.computed(()=>{const v=Number(n.totalInput);return v&&v>0?v:6}),u=()=>{i.value=Array.from({length:h.value},(v,M)=>{var C;return((C=n.default)==null?void 0:C[M])??""}),o("updateOtp",i.value.join(""))};u(),t.watch(()=>[n.totalInput,n.default],()=>u());const p=v=>{v<0||v>=h.value||t.nextTick(()=>{var M;return(M=r.value[v])==null?void 0:M.focus()})},y=v=>v.match(/[a-zA-Z0-9]/)?v.match(/[a-zA-Z0-9]/)[0]:"";async function f(v){var M;if(o("complete",v),n.submitFn){try{s.value=!0,o("loading",!0);const C=await n.submitFn(v);o("success",C)}catch(C){console.error("OTP Submit Error",C),d.error("Submit Failed",(C==null?void 0:C.message)||"Unknown error"),o("error",(C==null?void 0:C.message)||"Submit Failed")}finally{s.value=!1,o("loading",!1)}return}if((M=n.endpoint)!=null&&M.apiUrl){if(typeof c!="function"){o("error","useApi() must expose DCodeApi()");return}try{s.value=!0,o("loading",!0);const C=(n.endpoint.apiMethod||"POST").toUpperCase(),x=n.endpoint.apiUrl,b=await c("","",{otp:v},{_url:x,_method:C,withCredentials:!0}),L=(b==null?void 0:b.data)??b;o("success",L)}catch(C){console.error("OTP Submit Error",C),d.error("Submit Failed",(C==null?void 0:C.message)||"Unknown error"),o("error",(C==null?void 0:C.message)||"Submit Failed")}finally{s.value=!1,o("loading",!1)}}}const k=(v,M)=>{i.value[v]=y(M);const C=i.value.join("");o("updateOtp",C),o("update:modelValue",C),C.length===h.value&&f(C)},m=(v,M)=>{const C=v.key,x=/^\d$/.test(C),b=/^[a-zA-Z]$/.test(C);if(C==="Backspace"){if(v.preventDefault(),i.value[M]){k(M,"");return}M>0&&(k(M-1,""),p(M-1));return}if(C==="ArrowLeft"){v.preventDefault(),p(M-1);return}if(C==="ArrowRight"){v.preventDefault(),p(M+1);return}if(x||b){v.preventDefault(),k(M,C),M<h.value-1&&p(M+1);return}C.length===1&&v.preventDefault()},g=(v,M)=>{const C=v.target,x=C.value??"",b=y(x);C.value=b,k(M,b),b&&M<h.value-1&&p(M+1)},w=(v,M)=>{var I;v.preventDefault();const x=(((I=v.clipboardData)==null?void 0:I.getData("text"))??"").replaceAll(/[^a-zA-Z0-9]/g,"");if(!x)return;let b=M;for(const z of x){if(b>=h.value)break;i.value[b]=z,b++}const L=i.value.join("");o("updateOtp",L),o("update:modelValue",L),L.length===h.value&&f(L),p(Math.min(b,h.value-1))},S=v=>M=>{r.value[v]=(M==null?void 0:M.$el)??M};return(v,M)=>(t.openBlock(),t.createElementBlock("div",rK,[n.label||h.value?(t.openBlock(),t.createElementBlock("div",iK,[t.createElementVNode("h6",sK,t.toDisplayString(n.label||"Masukkan kode keamanan"),1),t.createElementVNode("p",lK," Ketik "+t.toDisplayString(h.value)+" digit kode verifikasi Anda ",1)])):t.createCommentVNode("",!0),t.createElementVNode("div",cK,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(h.value,C=>(t.openBlock(),t.createElementBlock("input",{key:C,ref_for:!0,ref:S(C-1),value:i.value[C-1]||"",type:"text",inputmode:"text",maxlength:"1",autocomplete:"one-time-code","aria-label":"`OTP digit ${i}`",placeholder:"*",disabled:s.value,class:t.normalizeClass(["w-12 h-12 flex-none text-center text-xl font-bold rounded-xl border-2 transition-all duration-200 box-border p-0","focus:outline-none focus:scale-105 disabled:opacity-50 disabled:cursor-not-allowed",i.value[C-1]?"border-blue-500 bg-blue-50 text-blue-700 shadow-sm shadow-blue-100":"border-gray-200 bg-gray-50 text-gray-400 focus:border-blue-400 focus:bg-white focus:shadow-md focus:shadow-blue-50"]),onKeydown:x=>m(x,C-1),onInput:x=>g(x,C-1),onPaste:x=>w(x,C-1)},null,42,dK))),128))])]))}}),hK={class:"w-full"},uK={key:0,class:"flex items-center justify-between mb-2"},pK={key:0,class:"text-sm font-medium text-gray-700"},yK={key:1,class:"text-sm text-gray-600"},fK={name:"DCodeProgress"},jz=t.defineComponent({...fK,name:"DCodeProgress",inheritAttrs:!1,props:{modelValue:{default:0},max:{default:100},label:{default:""},showValue:{type:Boolean,default:!1},color:{default:"blue"},size:{default:"md"},striped:{type:Boolean,default:!1},animated:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(a,{emit:e}){const n=a,o=t.computed(()=>Math.min(n.modelValue/n.max*100,100)),r=t.computed(()=>["w-full rounded-full overflow-hidden",{sm:"h-1",md:"h-2",lg:"h-3"}[n.size],"bg-gray-200"].join(" ")),i=t.computed(()=>{const c={blue:"bg-blue-500",green:"bg-green-500",red:"bg-red-500",yellow:"bg-yellow-500",purple:"bg-purple-500",gray:"bg-gray-500"},d=["h-full transition-all duration-300 ease-out",c[n.color]||c.blue];return n.striped&&d.push("bg-gradient-to-r from-transparent via-white/20 to-transparent"),n.animated&&d.push("animate-pulse"),d.join(" ")}),s=t.computed(()=>`${Math.round(o.value)}%`);return(c,d)=>(t.openBlock(),t.createElementBlock("div",hK,[a.label||a.showValue?(t.openBlock(),t.createElementBlock("div",uK,[a.label?(t.openBlock(),t.createElementBlock("span",pK,t.toDisplayString(a.label),1)):t.createCommentVNode("",!0),a.showValue?(t.openBlock(),t.createElementBlock("span",yK,t.toDisplayString(s.value),1)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(r.value)},[t.createElementVNode("div",{class:t.normalizeClass(i.value),style:t.normalizeStyle({width:`${o.value}%`})},null,6)],2)]))}}),kK={key:0,class:"fixed top-0 left-0 right-0 z-[10000] h-[3px]"},Oz=ga(t.defineComponent({name:"DCodeProgressBar",__name:"DCodeProgressBar",props:{isApiLoading:{type:Boolean,default:!1},apiProgress:{default:0}},setup(a){return(e,n)=>(t.openBlock(),t.createBlock(t.Transition,{name:"fade"},{default:t.withCtx(()=>[a.isApiLoading?(t.openBlock(),t.createElementBlock("div",kK,[t.createElementVNode("div",{class:"h-full bg-primary-600 shadow-[0_0_15px_rgba(37,99,235,0.8)] transition-all duration-300 ease-out",style:t.normalizeStyle({width:`${a.apiProgress}%`})},null,4)])):t.createCommentVNode("",!0)]),_:1}))}}),[["__scopeId","data-v-85c68054"]]),mK={class:"flex flex-col"},gK={key:0,class:"flex items-center gap-2 text-sm text-gray-500 mb-2"},MK={class:"relative flex-shrink-0 mt-0.5"},bK=["id","name","value","checked","disabled","required","onChange"],xK=["onClick"],wK=["for"],vK={key:0,class:"ml-1 text-red-500"},CK={key:1,class:"flex items-center gap-1 text-sm text-red-500 mt-1"},Fz=t.defineComponent({name:"DCodeRadio",inheritAttrs:!1,__name:"DCodeRadio",props:{modelValue:{default:void 0},label:{default:"name"},options:{default:()=>[]},apiUrl:{default:""},apiMethod:{default:"GET"},dataPath:{default:""},layout:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},error:{default:null},size:{default:"md"},color:{default:"blue"},model:{default:"id"},id:{default:""}},emits:["update:modelValue","change"],setup(a,{emit:e}){t.useAttrs();const{apiUrl:n}=Ke(),o=e,r=a,i=t.ref([]),s=t.ref(!1),c=t.ref(null),d=async()=>{if(r.apiUrl){s.value=!0,c.value=null;try{const v={page:1,perPage:100},M=await n(r.apiUrl,r.apiMethod,v);let C=M;r.dataPath?C=r.dataPath.split(".").reduce((b,L)=>b&&b[L]!=="undefined"?b[L]:void 0,M):typeof M=="object"&&!Array.isArray(M)&&M.data&&(C=M.data),Array.isArray(C)?i.value=C:(console.warn("DCodeRadio: Format response tidak terdeteksi sebagai Array. Gunakan prop 'dataPath'."),c.value="Format respons data tidak valid. Array tidak ditemukan.")}catch(v){console.error("DCodeRadio fetch error:",v),c.value="Gagal memuat data dari endpoint."}finally{s.value=!1}}};t.onMounted(()=>{r.apiUrl&&d()});const h=t.computed(()=>r.options&&r.options.length>0?r.options:i.value.length>0?i.value:r.model!==void 0||r.label?[{[r.model]:r.model,[r.label]:r.label}]:[]),u=v=>typeof v=="object"?v[r.model]:v,p=v=>typeof v=="object"?v[r.label]:String(v),y=t.computed(()=>r.model||`radio-group-${Math.random().toString(36).substr(2,9)}`),f=t.computed(()=>!!r.error||!!c.value),k=t.computed(()=>r.error||c.value),m=v=>v==null?r.modelValue===v:String(r.modelValue)===String(v),g=t.computed(()=>({sm:{radio:"w-3 h-3",label:"text-sm",container:"gap-2"},md:{radio:"w-4 h-4",label:"text-base",container:"gap-2"},lg:{radio:"w-5 h-5",label:"text-lg",container:"gap-3"}})[r.size]),w=(v,M)=>{M.target.checked&&(o("update:modelValue",v),o("change",v))},S=v=>{!r.disabled&&!m(v)&&(o("update:modelValue",v),o("change",v))};return(v,M)=>(t.openBlock(),t.createElementBlock("div",mK,[s.value?(t.openBlock(),t.createElementBlock("div",gK,[t.createVNode(t.unref(kt),{class:"w-4 h-4 animate-spin"}),M[0]||(M[0]=t.createTextVNode(" Sedang memuat opsi... ",-1))])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(["flex",a.layout?"flex-row flex-wrap gap-4":"flex-col gap-3"])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(h.value,(C,x)=>(t.openBlock(),t.createElementBlock("div",{key:x,class:t.normalizeClass(["flex items-start",g.value.container,a.disabled?"opacity-50 cursor-not-allowed":"cursor-pointer"])},[t.createElementVNode("div",MK,[t.createElementVNode("input",{id:a.id?`${a.id}-${x}`:`${y.value}-${x}`,name:y.value,type:"radio",value:u(C),checked:m(u(C)),disabled:a.disabled,required:a.required&&x===0,onChange:b=>w(u(C),b),class:"w-5 h-5 text-blue-600 focus:ring-blue-500 border-gray-300"},null,40,bK)]),t.createElementVNode("div",{class:"flex-1 min-w-0",onClick:b=>S(u(C))},[t.createElementVNode("label",{for:a.id?`${a.id}-${x}`:`${y.value}-${x}`,class:t.normalizeClass([g.value.label,"font-medium cursor-pointer select-none text-foreground dark:text-gray-300",a.disabled?"cursor-not-allowed opacity-50":""])},[t.createTextVNode(t.toDisplayString(p(C))+" ",1),a.required&&h.value.length===1&&a.label?(t.openBlock(),t.createElementBlock("span",vK,"*")):t.createCommentVNode("",!0)],10,wK)],8,xK)],2))),128))],2),f.value&&k.value?(t.openBlock(),t.createElementBlock("div",CK,[t.createVNode(t.unref(It),{class:"w-4 h-4 flex-shrink-0"}),t.createTextVNode(" "+t.toDisplayString(k.value),1)])):t.createCommentVNode("",!0)]))}}),LK={class:"flex flex-col"},SK={key:0,class:"flex items-center gap-2 text-sm text-gray-500 dark:text-neutral-400 mb-2"},IK=["onClick"],_K=["id","name","value","checked","disabled","required","onChange"],AK={key:1,class:"w-6 h-6",fill:"currentColor",viewBox:"0 0 20 20"},BK=["for"],VK={key:0,class:"ml-1 text-red-500"},zK={key:1,class:"flex items-center gap-1 text-sm text-red-500 mt-2"},Rz=t.defineComponent({name:"DCodeRadioCustom",inheritAttrs:!1,__name:"DCodeRadioCustom",props:{modelValue:{default:void 0},icon:{},label:{default:"name"},options:{default:()=>[]},apiUrl:{default:""},apiMethod:{default:"GET"},dataPath:{default:""},layout:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},error:{default:null},size:{default:"md"},color:{default:"blue"},model:{default:"id"},id:{default:""}},emits:["update:modelValue","change"],setup(a,{emit:e}){t.useAttrs();const{apiUrl:n}=Ke(),o=e,r=a,i=t.ref(r.modelValue??void 0);t.watch(()=>r.modelValue,I=>{i.value=I},{immediate:!0});const s=t.ref([]),c=t.ref(!1),d=t.ref(null),h=async()=>{if(r.apiUrl){c.value=!0,d.value=null;try{const I={page:1,perPage:100},z=await n(r.apiUrl,r.apiMethod,I);let A=z;r.dataPath?A=r.dataPath.split(".").reduce((O,H)=>O&&O[H]!=="undefined"?O[H]:void 0,z):typeof z=="object"&&!Array.isArray(z)&&z.data&&(A=z.data),Array.isArray(A)?s.value=A:(console.warn("DCodeRadioCustom: Format response tidak terdeteksi sebagai Array. Gunakan prop 'dataPath'."),d.value="Format respons data tidak valid. Array tidak ditemukan.")}catch(I){console.error("DCodeRadioCustom fetch error:",I),d.value="Gagal memuat data dari endpoint."}finally{c.value=!1}}},u=t.ref(!1);let p=null;const y=()=>{typeof document<"u"&&(u.value=document.documentElement.classList.contains("dark")||document.body.classList.contains("dark"))};t.onMounted(()=>{r.apiUrl&&h(),y(),typeof document<"u"&&(p=new MutationObserver(y),p.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]}),p.observe(document.body,{attributes:!0,attributeFilter:["class"]}))}),t.onBeforeUnmount(()=>{p&&p.disconnect()});const f=t.computed(()=>r.options&&r.options.length>0?r.options:s.value.length>0?s.value:r.model!==void 0||r.label?[{[r.model]:r.model,[r.label]:r.label}]:[]),k=I=>typeof I=="object"?I[r.model]:I,m=I=>typeof I=="object"?I[r.label]:String(I),g=Math.random().toString(36).slice(2,7),w=t.computed(()=>r.id?`radio-custom-${r.id}`:`radio-custom-${r.model}-${g}`),S=t.computed(()=>!!r.error||!!d.value),v=t.computed(()=>r.error||d.value),M=I=>{const z=i.value;return I==null?z===I:String(z)===String(I)},C=t.computed(()=>({sm:{radio:"w-3 h-3",label:"text-sm",container:"gap-2"},md:{radio:"w-4 h-4",label:"text-base",container:"gap-2"},lg:{radio:"w-5 h-5",label:"text-lg",container:"gap-3"}})[r.size]),x=t.computed(()=>r.icon&&ha[r.icon]||null),b=(I,z)=>{z.target.checked&&(i.value=I,o("update:modelValue",I),o("change",I))},L=I=>{r.disabled||M(I)||(i.value=I,o("update:modelValue",I),o("change",I))};return(I,z)=>(t.openBlock(),t.createElementBlock("div",LK,[c.value?(t.openBlock(),t.createElementBlock("div",SK,[t.createVNode(t.unref(kt),{class:"w-4 h-4 animate-spin"}),z[0]||(z[0]=t.createTextVNode(" Sedang memuat opsi... ",-1))])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(["grid",a.layout?"grid-cols-2 sm:grid-cols-3":"grid-cols-1","gap-3"])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(f.value,(A,q)=>(t.openBlock(),t.createElementBlock("div",{key:q,class:t.normalizeClass(["relative flex flex-col items-center justify-center gap-2 p-4 rounded-xl border-2 transition-all duration-200",M(k(A))?u.value?"border-primary-500 bg-primary-500/10 shadow-none":"border-primary-500 bg-primary-50 shadow-md shadow-primary-100":u.value?"border-neutral-700 bg-neutral-800 hover:border-neutral-600":"border-gray-200 bg-white hover:border-gray-300 hover:shadow-sm",a.disabled?"opacity-50 cursor-not-allowed":"cursor-pointer"]),onClick:O=>!a.disabled&&L(k(A))},[t.createElementVNode("input",{id:a.id?`${a.id}-${q}`:`${w.value}-${q}`,name:w.value,type:"radio",value:k(A),checked:M(k(A)),disabled:a.disabled,required:a.required&&q===0,onChange:O=>b(k(A),O),class:"sr-only",tabindex:"-1"},null,40,_K),t.createElementVNode("div",{class:t.normalizeClass(["w-10 h-10 rounded-full flex items-center justify-center transition-all duration-200",M(k(A))?u.value?"bg-primary-500/25 text-primary-400":"bg-primary-100 text-primary-600":u.value?"bg-neutral-700 text-neutral-500":"bg-gray-100 text-gray-400"])},[x.value?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(x.value),{key:0,class:"w-6 h-6"})):(t.openBlock(),t.createElementBlock("svg",AK,[...z[1]||(z[1]=[t.createElementVNode("circle",{cx:"10",cy:"10",r:"6"},null,-1)])]))],2),t.createElementVNode("label",{for:a.id?`${a.id}-${q}`:`${w.value}-${q}`,class:t.normalizeClass([C.value.label,"font-medium text-center leading-tight select-none transition-colors duration-200",M(k(A))?u.value?"text-primary-400":"text-primary-700":u.value?"text-neutral-300":"text-gray-700",a.disabled?"cursor-not-allowed":"cursor-pointer"])},[t.createTextVNode(t.toDisplayString(m(A))+" ",1),a.required&&f.value.length===1&&a.label?(t.openBlock(),t.createElementBlock("span",VK,"*")):t.createCommentVNode("",!0)],10,BK)],10,IK))),128))],2),S.value&&v.value?(t.openBlock(),t.createElementBlock("div",zK,[t.createVNode(t.unref(It),{class:"w-4 h-4 flex-shrink-0"}),t.createTextVNode(" "+t.toDisplayString(v.value),1)])):t.createCommentVNode("",!0)]))}}),qK={key:0,class:"ml-1 text-destructive"},PK={class:"relative w-full"},DK={key:0,class:"mb-2 flex items-center justify-between"},EK={class:"text-sm text-muted-foreground"},TK={class:"text-sm font-medium text-foreground"},HK={class:"text-sm text-muted-foreground"},jK={class:"relative"},OK=["id","value","min","max","step","disabled","placeholder"],FK={key:1,class:"relative mt-2"},RK={class:"text-xs text-muted-foreground mt-1"},NK={key:1,class:"flex items-center gap-1 text-sm text-destructive"},$K={name:"DCodeSlider"},Nz=t.defineComponent({...$K,name:"DCodeSlider",inheritAttrs:!1,props:{modelValue:{default:0},min:{default:0},max:{default:100},step:{default:1},disabled:{type:Boolean,default:!1},label:{default:""},placeholder:{default:""},required:{type:Boolean,default:!1},error:{default:null},showValue:{type:Boolean,default:!0},valuePrefix:{default:""},valueSuffix:{default:""},marks:{default:()=>[]},color:{default:"blue"},size:{default:"md"}},emits:["update:modelValue","change","input"],setup(a,{emit:e}){const n=t.useAttrs(),o=e,r=a,i=t.ref(),s=t.ref(!1),c=t.computed(()=>!!r.error),d=t.computed(()=>`slider-${Math.random().toString(36).substr(2,9)}`),h=t.computed(()=>(r.label||n.label)??void 0),u=t.computed(()=>!0),p=t.computed(()=>{const C={sm:"h-2",md:"h-2.5",lg:"h-3"},x={blue:"accent-blue-500",green:"accent-green-500",red:"accent-red-500",yellow:"accent-yellow-500",purple:"accent-purple-500",gray:"accent-gray-500"};return["w-full appearance-none bg-gray-200 rounded-lg outline-none transition-all cursor-pointer","disabled:opacity-50 disabled:cursor-not-allowed",C[r.size],x[r.color]||x.blue,c.value?"accent-red-500":"",n.class].filter(Boolean).join(" ")}),y=t.computed(()=>["appearance-none bg-white border-2 border-current rounded-full cursor-pointer transition-all","hover:scale-110 focus:scale-110","shadow-md hover:shadow-lg focus:shadow-lg","focus:outline-none focus:ring-2 focus:ring-offset-2",{sm:"w-4 h-4",md:"w-5 h-5",lg:"w-6 h-6"}[r.size],r.color==="blue"?"focus:ring-blue-500":r.color==="green"?"focus:ring-green-500":r.color==="red"?"focus:ring-red-500":r.color==="yellow"?"focus:ring-yellow-500":r.color==="purple"?"focus:ring-purple-500":"focus:ring-gray-500"].join(" ")),f=t.computed(()=>`${r.valuePrefix}${r.modelValue}${r.valueSuffix}`),k=t.computed(()=>{const C=r.max-r.min;return(r.modelValue-r.min)/C*100}),m=C=>{const x=C.target,b=parseFloat(x.value);o("update:modelValue",b),o("input",b)},g=C=>{const x=C.target,b=parseFloat(x.value);o("change",b)},w=()=>{s.value=!0},S=()=>{s.value=!1},v=C=>{const x=r.max-r.min;return(C-r.min)/x*100},M=t.computed(()=>{const C={sm:16,md:20,lg:24};return`
|
|
8564
|
+
`.trim();let r=document.getElementById(e);r||(r=document.createElement("style"),r.id=e,document.head.appendChild(r)),r.textContent=o}function CW(a,e=DV){t.watch(a,n=>vW(n,e),{immediate:!0})}const LW={key:0,class:"h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},SW={key:0,class:"ml-1 text-destructive"},IW=["disabled","onClick"],_W={class:"flex-shrink-0 px-2 text-sm text-muted-foreground select-none whitespace-nowrap"},AW=["id","value","placeholder","disabled","onClick","onFocus","onBlur","onInput","onKeydown","onKeypress","onPaste"],BW={class:"h-full p-2 flex flex-col gap-3 w-32"},zW={class:"flex items-center justify-end gap-2 w-full p-2"},VW={key:1,class:"text-xs text-destructive"},ZI=t.defineComponent({name:"DCodeDatePicker",inheritAttrs:!1,__name:"DCodeDatePicker",props:{modelValue:{},range:{type:Boolean,default:!1},autoRangeDays:{default:null},disablePast:{type:Boolean,default:!1},maxDaysAhead:{default:null},placeholder:{default:"Pilih tanggal"},label:{},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},displayFormat:{default:"dd/MM/yyyy"},modelType:{default:"yyyy-MM-dd"},locale:{default:"en"},placement:{default:"bottom-start"},prependInner:{default:void 0},error:{default:null},selectLabel:{default:"Select"},cancelLabel:{default:"Cancel"},tone:{default:"primary"},skeleton:{type:Boolean,default:!1}},emits:["update:modelValue","change","clear"],setup(a,{emit:e}){const n=t.useAttrs(),o=a,r=e,i=Math.random().toString(36).slice(2,7),s=t.computed(()=>`dcode-datepicker-${n.id||o.label||"date-picker"}-${i}`),c=t.computed(()=>{const O=n.required,H=n["aria-required"];return O===""||O===!0||O==="true"||H==="true"||H===!0}),d=t.computed(()=>!!o.error),h=t.computed({get:()=>o.modelValue,set:O=>{r("update:modelValue",O),r("change",O)}}),u=t.computed(()=>o.locale==="en"?SV:wW),p=t.computed(()=>o.range?2:!1),y=t.computed(()=>{if(!o.range)return!1;const O={partialRange:!1};return o.autoRangeDays&&o.autoRangeDays>0&&(O.maxRange=o.autoRangeDays,O.autoRange=o.autoRangeDays),O}),f=O=>{const H=new Date(O);return H.setHours(0,0,0,0),H},k=O=>{const H=new Date(O);return H.setHours(23,59,59,999),H},m=(O,H)=>{const W=new Date(O);return W.setDate(W.getDate()+H),W},g=t.computed(()=>{if(o.disablePast)return f(new Date)}),w=t.computed(()=>{if(o.maxDaysAhead&&o.maxDaysAhead>0)return k(m(new Date,o.maxDaysAhead))}),S=t.ref(null),v=t.ref(null),M=O=>{v.value={month:O.month,year:O.year}},C=t.ref(!1);let x=null;t.onMounted(()=>{const O=document.documentElement,H=()=>C.value=O.classList.contains("dark");H(),x=new MutationObserver(H),x.observe(O,{attributes:!0,attributeFilter:["class"]})}),t.onBeforeUnmount(()=>{x==null||x.disconnect(),x=null}),CW(t.toRef(o,"tone"));const b=O=>{const H=new Date(O),W=H.getDay(),T=H.getDate()-W+(W===0?-6:1);return H.setDate(T),f(H)},L=O=>{const H=b(O);return H.setDate(H.getDate()+6),k(H)},I=O=>{const H=new Date(O);return H.setDate(1),f(H)},V=O=>{const H=new Date(O);return H.setMonth(H.getMonth()+1),H.setDate(0),k(H)},A=t.computed(()=>{if(!o.range)return[];const O=new Date,H=f(O),W=b(O),T=L(O),j=I(O),R=V(O),Y=(B,z)=>{let U=B;o.disablePast&&U<H&&(U=H);let oe=z;if(o.autoRangeDays&&o.autoRangeDays>0){const ee=k(m(U,o.autoRangeDays-1));oe>ee&&(oe=ee)}return oe<U&&(oe=k(new Date(U))),[U,oe]};return[{label:o.locale==="id"?"Minggu Ini":"This Week",range:Y(W,T)},{label:o.locale==="id"?"Bulan Ini":"This Month",range:Y(j,R)}]}),q=async O=>{var z,U;const H=o.modelType||"yyyy-MM-dd";if(O.length===0){h.value=null;return}if(O.length<2)return;const W=qV(O[0],H),T=qV(O[1],H);h.value=[W,T],await t.nextTick();const j=O[0],R=j.getMonth(),Y=j.getFullYear();v.value&&v.value.month===R&&v.value.year===Y||(z=S.value)==null||z.setMonthYear({month:R,year:Y}),(U=S.value)==null||U.openMenu()};return(O,H)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["flex flex-col gap-1 w-full",t.unref(n).class])},[a.skeleton?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[a.label?(t.openBlock(),t.createElementBlock("div",LW)):t.createCommentVNode("",!0),H[2]||(H[2]=t.createElementVNode("div",{class:"h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse"},null,-1))],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[a.label?(t.openBlock(),t.createBlock(t.unref(Bs),{key:0,for:s.value,class:"text-sm font-medium"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(a.label)+" ",1),c.value?(t.openBlock(),t.createElementBlock("span",SW,"*")):t.createCommentVNode("",!0)]),_:1},8,["for"])):t.createCommentVNode("",!0),t.createVNode(t.unref(Je.VueDatePicker),{ref_key:"dpRef",ref:S,modelValue:h.value,"onUpdate:modelValue":H[1]||(H[1]=W=>h.value=W),dark:C.value,range:y.value,"multi-calendars":p.value,disabled:a.disabled,clearable:!1,"text-input":"","enable-time-picker":!1,"time-config":{enableTimePicker:!1},"auto-apply":!1,"action-row":{showPreview:!0,showNow:!1},locale:u.value,"model-type":a.modelType,formats:{input:a.displayFormat},"min-date":g.value,"max-date":w.value,"preset-ranges":A.value,floating:{placement:a.placement,offset:8,arrow:!1,flip:!1,shift:!0},teleport:!0,"menu-class-name":"dcode-datepicker-menu","calendar-class-name":"dcode-datepicker-calendar",onUpdateMonthYear:M},t.createSlots({"dp-input":t.withCtx(({value:W,onInput:T,onEnter:j,onTab:R,onBlur:Y,onFocus:B,onKeypress:z,onPaste:U,toggleMenu:oe})=>[t.createElementVNode("div",{class:t.normalizeClass(["flex items-center w-full h-10 rounded-lg border bg-white dark:bg-neutral-900 border-gray-300 dark:border-gray-700 overflow-hidden",[d.value?"border-destructive":"",a.disabled?"opacity-50 cursor-not-allowed":""]])},[t.createElementVNode("button",{type:"button",tabindex:"-1",disabled:a.disabled,class:"flex-shrink-0 flex items-center justify-center w-10 h-full text-muted-foreground hover:text-foreground transition-colors focus:outline-none",onClick:ee=>oe()},[t.createVNode(t.unref(Hs),{class:"w-4 h-4 pointer-events-none"})],8,IW),H[4]||(H[4]=t.createElementVNode("span",{class:"w-px h-5 bg-gray-200 dark:bg-gray-700 flex-shrink-0"},null,-1)),a.prependInner?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("span",_W,t.toDisplayString(a.prependInner),1),H[3]||(H[3]=t.createElementVNode("span",{class:"w-px h-5 bg-gray-200 dark:bg-gray-700 flex-shrink-0"},null,-1))],64)):t.createCommentVNode("",!0),t.createElementVNode("input",{id:s.value,value:W,placeholder:a.placeholder,disabled:a.disabled,autocomplete:"off",readonly:"",class:t.normalizeClass(["flex-1 min-w-0 px-3 h-full bg-transparent text-sm text-foreground dark:text-gray-300 placeholder:text-muted-foreground outline-none",a.disabled?"cursor-not-allowed":"cursor-pointer"]),onClick:ee=>oe(),onFocus:ee=>B(),onBlur:ee=>Y(),onInput:ee=>T(ee),onKeydown:[t.withKeys(ee=>j(ee),["enter"]),t.withKeys(ee=>R(ee),["tab"])],onKeypress:ee=>z(ee),onPaste:ee=>U()},null,42,AW)],2)]),"action-buttons":t.withCtx(({selectDate:W,selectionDisabled:T})=>[t.createElementVNode("div",zW,[t.createVNode(t.unref(Ae),{type:"button",variant:"outline",onClick:H[0]||(H[0]=j=>{var R;return(R=S.value)==null?void 0:R.closeMenu()})},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(a.cancelLabel),1)]),_:1}),t.createVNode(t.unref(Ae),{type:"button",variant:"default",disabled:T,onClick:j=>W()},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(a.selectLabel),1)]),_:1},8,["disabled","onClick"])])]),_:2},[a.range?{name:"left-sidebar",fn:t.withCtx(()=>[t.createElementVNode("div",BW,[A.value.length?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(A.value,W=>(t.openBlock(),t.createBlock(t.unref(Ae),{key:W.label,type:"button",variant:"default",class:"w-full",onClick:T=>q(W.range)},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(W.label),1)]),_:2},1032,["onClick"]))),128)):t.createCommentVNode("",!0)])]),key:"0"}:void 0]),1032,["modelValue","dark","range","multi-calendars","disabled","locale","model-type","formats","min-date","max-date","preset-ranges","floating"]),d.value?(t.openBlock(),t.createElementBlock("p",VW,t.toDisplayString(o.error),1)):t.createCommentVNode("",!0)],64))],2))}}),qW=t.defineComponent({__name:"Dialog",props:{open:{type:Boolean},defaultOpen:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(a,{emit:e}){const r=mt(a,e);return(i,s)=>(t.openBlock(),t.createBlock(t.unref(BA),t.normalizeProps(t.guardReactiveProps(t.unref(r))),{default:t.withCtx(()=>[t.renderSlot(i.$slots,"default")]),_:3},16))}}),PW=t.defineComponent({inheritAttrs:!1,__name:"DialogContent",props:{forceMount:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(a,{emit:e}){const n=a,o=e,r=Ee(n,"class"),i=mt(r,o);return(s,c)=>(t.openBlock(),t.createBlock(t.unref(NA),null,{default:t.withCtx(()=>[t.createVNode(t.unref(RA),{class:"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"}),t.createVNode(t.unref(OA),t.mergeProps({...t.unref(i),...s.$attrs},{class:t.unref(ke)("fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",n.class)}),{default:t.withCtx(()=>[t.renderSlot(s.$slots,"default"),t.createVNode(t.unref(zA),{class:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground"},{default:t.withCtx(()=>[t.createVNode(t.unref(it),{class:"w-4 h-4"}),c[0]||(c[0]=t.createElementVNode("span",{class:"sr-only"},"Close",-1))]),_:1})]),_:3},16,["class"])]),_:3}))}}),DW=t.defineComponent({__name:"DialogDescription",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a,n=Ee(e,"class"),o=Ze(n);return(r,i)=>(t.openBlock(),t.createBlock(t.unref(FA),t.mergeProps(t.unref(o),{class:t.unref(ke)("text-sm text-muted-foreground",e.class)}),{default:t.withCtx(()=>[t.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),EW=t.defineComponent({__name:"DialogTitle",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a,n=Ee(e,"class"),o=Ze(n);return(r,i)=>(t.openBlock(),t.createBlock(t.unref($A),t.mergeProps(t.unref(o),{class:t.unref(ke)("text-lg font-medium leading-none tracking-tight",e.class)}),{default:t.withCtx(()=>[t.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),TW={class:"flex items-center gap-3"},HW={class:"flex justify-end gap-3"},lS=t.defineComponent({name:"DCodeDialog",inheritAttrs:!1,__name:"DCodeDialog",props:{modelValue:{type:Boolean,default:!1},title:{default:""},icon:{default:""},maxWidth:{default:500},persistent:{type:Boolean,default:!0},contentClass:{default:"p-5"},contentStyle:{default:()=>({})}},emits:["update:modelValue"],setup(a,{emit:e}){const n=a,o=e,r=t.useAttrs(),i=t.computed(()=>{const{style:h,...u}=r;return u}),s=t.computed(()=>({maxWidth:typeof n.maxWidth=="number"?`${n.maxWidth}px`:n.maxWidth,width:"100%"})),c=t.computed(()=>n.icon?ha[n.icon]??null:null),d=h=>{o("update:modelValue",h)};return(h,u)=>(t.openBlock(),t.createBlock(t.unref(qW),{open:a.modelValue,"onUpdate:open":d},{default:t.withCtx(()=>[t.createVNode(t.unref(PW),t.mergeProps(i.value,{style:s.value,class:"p-0 overflow-hidden rounded-xl",onInteractOutside:u[0]||(u[0]=p=>a.persistent?p.preventDefault():null),onEscapeKeyDown:u[1]||(u[1]=p=>a.persistent?p.preventDefault():null)}),{default:t.withCtx(()=>[t.createVNode(lI,{padding:a.contentClass,border:"",shadow:"",class:"w-full !rounded-xl !border-0",level:1},t.createSlots({header:t.withCtx(()=>[t.createElementVNode("div",TW,[c.value?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(c.value),{key:0,class:"h-5 w-5"})):t.createCommentVNode("",!0),t.createVNode(t.unref(EW),{class:"text-base font-medium"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(a.title),1)]),_:1}),t.createVNode(t.unref(DW),{class:"hidden"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(a.title||"Dialog Content"),1)]),_:1})])]),actions:t.withCtx(()=>[t.renderSlot(h.$slots,"header-append")]),default:t.withCtx(()=>[t.createElementVNode("div",{style:t.normalizeStyle(a.contentStyle)},[t.renderSlot(h.$slots,"default")],4)]),_:2},[h.$slots.actions?{name:"footer",fn:t.withCtx(()=>[t.createElementVNode("div",HW,[t.renderSlot(h.$slots,"actions")])]),key:"0"}:void 0]),1032,["padding"])]),_:3},16,["style"])]),_:3},8,["open"]))}}),EV=t.defineComponent({__name:"DCodeDialogCloseBtn",props:{icon:{default:"X"},iconSize:{default:22}},setup(a){const e=a,n=t.computed(()=>ha[e.icon]??it);return(o,r)=>(t.openBlock(),t.createBlock(t.unref(Ae),{type:"button",variant:"secondary",size:"icon",class:"rounded-full shadow-sm"},{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(n.value),{size:Number(a.iconSize)},null,8,["size"]))]),_:1}))}}),jW=t.defineComponent({__name:"Alert",props:{class:{type:[Boolean,null,String,Object,Array]},variant:{}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(t.unref(ke)(t.unref(FW)({variant:a.variant}),e.class)),role:"alert"},[t.renderSlot(n.$slots,"default")],2))}}),OW=t.defineComponent({__name:"AlertDescription",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(t.unref(ke)("text-sm [&_p]:leading-relaxed",e.class))},[t.renderSlot(n.$slots,"default")],2))}}),FW=i1("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),Ia=t.defineComponent({__name:"Badge",props:{variant:{},class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(t.unref(ke)(t.unref(RW)({variant:a.variant}),e.class))},[t.renderSlot(n.$slots,"default")],2))}}),RW=i1("inline-flex gap-1 items-center rounded-full border px-2.5 py-0.5 text-xs font-medium transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}}),cS=t.defineComponent({__name:"Card",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(t.unref(ke)("rounded-xl border bg-card text-card-foreground shadow",e.class))},[t.renderSlot(n.$slots,"default")],2))}}),dS=t.defineComponent({__name:"CardContent",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(t.unref(ke)("p-6 pt-0",e.class))},[t.renderSlot(n.$slots,"default")],2))}}),NW=t.defineComponent({__name:"CardFooter",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(t.unref(ke)("flex items-center p-6 pt-0",e.class))},[t.renderSlot(n.$slots,"default")],2))}}),hS=t.defineComponent({__name:"CardHeader",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(t.unref(ke)("flex flex-col gap-y-1.5 p-6",e.class))},[t.renderSlot(n.$slots,"default")],2))}}),YI=t.defineComponent({__name:"CardTitle",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createElementBlock("h3",{class:t.normalizeClass(t.unref(ke)("font-medium leading-none tracking-tight",e.class))},[t.renderSlot(n.$slots,"default")],2))}}),$W={class:"h-full w-full p-6 flex flex-col items-center justify-center text-center gap-2"},UW={class:"flex flex-wrap items-center justify-center gap-2"},WW=["accept","multiple"],uS=ga(t.defineComponent({__name:"DCodeDropzone",props:{label:{default:"Upload File"},hint:{default:"Drag & drop file di sini atau klik area ini"},accept:{default:"*/*"},maxSizeMb:{default:2},mode:{default:"single"},disabled:{type:Boolean,default:!1},showSelected:{type:Boolean,default:!0},error:{default:null}},emits:["picked","picked:multiple","error"],setup(a,{emit:e}){const n=a,o=e,r=t.ref(null),i=t.ref(!1),s=t.ref(null),c=t.ref(null),d=t.ref(null);t.computed(()=>n.accept||"file/*");const h=t.computed(()=>n.error??s.value);function u(){var b;n.disabled||(b=r.value)==null||b.click()}function p(b){const L=b/1024,I=L/1024;return I>=1?`${I.toFixed(2)} MB`:L>=1?`${L.toFixed(1)} KB`:`${b} B`}function y(b){var I;if(!b)return"File tidak valid";if((I=n.accept)!=null&&I.includes("image/")&&!b.type.startsWith("image/"))return"Hanya file gambar yang diizinkan";const L=(n.maxSizeMb??2)*1024*1024;return b.size>L?`Ukuran file terlalu besar. Maks ${n.maxSizeMb}MB`:null}function f(b){c.value=b.name,d.value=b.size}function k(b){if(s.value=null,!b.length)return;if(n.mode==="single"){const I=b[0],V=y(I);if(V){s.value=V,o("error",V);return}n.showSelected&&f(I),o("picked",I);return}const L=[];for(const I of b){const V=y(I);if(V){s.value=V,o("error",V);return}L.push(I)}L.length&&(n.showSelected&&f(L[0]),o("picked:multiple",L))}function m(b){const L=b.target,I=Array.from(L.files??[]);k(I),L.value=""}function g(){n.disabled||(i.value=!0)}function w(){n.disabled||(i.value=!0)}function S(){i.value=!1}function v(b){var V,A;if(n.disabled)return;i.value=!1;const L=Array.from(((V=b.dataTransfer)==null?void 0:V.files)??[]),I=(A=n.accept)!=null&&A.includes("image/")?L.filter(q=>q.type.startsWith("image/")):L;k(I)}const M=t.computed(()=>(n.accept||"file/*").split(",").map(b=>b.trim()).filter(Boolean).map(b=>b==="image/*"?"IMAGE":b.replace(/^image\//,"").replace(/^\./,"")).join(", "));t.computed(()=>`${n.maxSizeMb??0}MB`);const C=t.ref(!1),x=t.computed(()=>{if(n.disabled||!C.value)return{};const b=document.documentElement.classList.contains("dark")||document.body.classList.contains("dark");return{borderColor:b?"hsl(var(--primary) / 0.5)":"hsl(var(--primary) / 0.6)",backgroundColor:b?"hsl(var(--primary) / 0.1)":"hsl(var(--primary) / 0.05)"}});return(b,L)=>(t.openBlock(),t.createBlock(t.unref(cS),{class:t.normalizeClass([a.disabled?"opacity-60":"","dark:bg-neutral-900 dark:border-neutral-800"])},{default:t.withCtx(()=>[t.createVNode(t.unref(hS),{class:"pb-2"},{default:t.withCtx(()=>[t.createVNode(t.unref(YI),{class:"text-sm font-semibold dark:text-neutral-100"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(a.label),1)]),_:1})]),_:1}),t.createVNode(t.unref(dS),{class:"pt-2"},{default:t.withCtx(()=>[t.createElementVNode("div",{class:t.normalizeClass(["d-dropzone-area flex justify-center items-center rounded-xl border-2 border-dashed transition cursor-pointer select-none",[i.value?"is-dragging border-primary bg-primary/10 dark:bg-primary/20 -translate-y-[1px]":"border-border dark:border-neutral-700 bg-muted/30 dark:bg-neutral-800/50",a.disabled?"is-disabled":""]]),style:t.normalizeStyle([{minHeight:"190px"},x.value]),onClick:u,onDragenter:t.withModifiers(g,["prevent"]),onDragover:t.withModifiers(w,["prevent"]),onDragleave:t.withModifiers(S,["prevent"]),onDrop:t.withModifiers(v,["prevent"]),onMouseenter:L[0]||(L[0]=I=>C.value=!0),onMouseleave:L[1]||(L[1]=I=>C.value=!1)},[t.createElementVNode("div",$W,[L[2]||(L[2]=t.createElementVNode("div",{class:"text-sm font-medium dark:text-neutral-200"},"Drag & drop file di sini",-1)),L[3]||(L[3]=t.createElementVNode("div",{class:"text-xs text-muted-foreground dark:text-neutral-400"},"atau klik area ini untuk memilih file",-1)),t.createElementVNode("div",UW,[t.createVNode(t.unref(Ia),{variant:"secondary",class:"text-[11px] dark:bg-neutral-700 dark:text-neutral-300"},{default:t.withCtx(()=>[t.createTextVNode(" Allowed: "+t.toDisplayString(M.value),1)]),_:1}),t.createVNode(t.unref(Ia),{variant:"secondary",class:"text-[11px] dark:bg-neutral-700 dark:text-neutral-300"},{default:t.withCtx(()=>[t.createTextVNode(" Max: "+t.toDisplayString(n.maxSizeMb)+"MB ",1)]),_:1})]),a.showSelected&&c.value?(t.openBlock(),t.createBlock(t.unref(Ia),{key:0,variant:"secondary",class:"mt-2 dark:bg-neutral-700 dark:text-neutral-300"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(c.value)+" • "+t.toDisplayString(d.value?p(d.value):""),1)]),_:1})):t.createCommentVNode("",!0)]),t.createElementVNode("input",{ref_key:"fileInputEl",ref:r,type:"file",class:"hidden",accept:a.accept,multiple:a.mode==="multiple",onChange:m},null,40,WW)],38),h.value?(t.openBlock(),t.createBlock(t.unref(jW),{key:0,variant:"destructive",class:"mt-3"},{default:t.withCtx(()=>[t.createVNode(t.unref(OW),{class:"text-sm"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(h.value),1)]),_:1})]),_:1})):t.createCommentVNode("",!0)]),_:1})]),_:1},8,["class"]))}}),[["__scopeId","data-v-218e1a20"]]),GW={key:0,class:"text-xs text-muted-foreground dark:text-neutral-400"},KW=["src"],XW={key:1,class:"h-full w-full flex flex-col items-center justify-center text-muted-foreground dark:text-neutral-400 gap-2 p-4 text-center"},ZW={class:"space-y-0.5"},YW={class:"text-sm font-medium truncate max-w-[180px] dark:text-neutral-200"},QW={class:"text-xs opacity-70"},JW=["disabled"],eG={key:1},tG=["disabled"],aG={class:"text-[11px] text-foreground/90 dark:text-neutral-200 space-y-1 whitespace-nowrap"},nG={class:"flex gap-2"},oG={class:"font-medium truncate"},rG={class:"flex gap-2"},iG={class:"font-medium"},sG={class:"flex gap-2"},lG={class:"font-medium truncate"},QI=ga(t.defineComponent({__name:"DCodeFileResult",props:{file:{},title:{default:"File Terpilih"},description:{default:""},disabled:{type:Boolean,default:!1},previewHeight:{default:190},previewWidth:{default:220},showEdit:{type:Boolean,default:!0},showReplace:{type:Boolean,default:!0},showRemove:{type:Boolean,default:!0},forceFileIcon:{type:Boolean,default:!1}},emits:["edit","replace","remove"],setup(a,{emit:e}){const n=a,o=e,r=t.ref(null),i=t.computed(()=>n.forceFileIcon||!n.file?!1:(n.file.type||"").startsWith("image/"));t.watch(()=>n.file,f=>{r.value&&URL.revokeObjectURL(r.value),r.value=f?URL.createObjectURL(f):null},{immediate:!0}),t.onBeforeUnmount(()=>{r.value&&URL.revokeObjectURL(r.value),u&&u.disconnect()});function s(f){const k=f/1024,m=k/1024;return m>=1?`${m.toFixed(2)} MB`:k>=1?`${k.toFixed(1)} KB`:`${f} B`}const c=t.computed(()=>n.file?{name:n.file.name,size:s(n.file.size),type:n.file.type||"unknown"}:null),d=t.ref(!1),h=t.ref(!1);let u=null;const p=()=>{typeof document<"u"&&(h.value=document.documentElement.classList.contains("dark")||document.body.classList.contains("dark"))};t.onMounted(()=>{p(),typeof document<"u"&&(u=new MutationObserver(p),u.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]}),u.observe(document.body,{attributes:!0,attributeFilter:["class"]}))});const y=t.computed(()=>n.disabled||!d.value?{}:{borderColor:h.value?"hsl(var(--primary) / 0.4)":"hsl(var(--primary) / 0.5)",backgroundColor:h.value?"hsl(var(--primary) / 0.1)":"hsl(var(--primary) / 0.05)"});return(f,k)=>a.file?(t.openBlock(),t.createBlock(cS,{key:0,class:t.normalizeClass([a.disabled?"opacity-60 pointer-events-none":"","dark:bg-neutral-900 dark:border-neutral-800"])},{default:t.withCtx(()=>[t.createVNode(hS,{class:"pb-2"},{default:t.withCtx(()=>[t.createVNode(YI,{class:"text-sm font-semibold dark:text-neutral-100"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(a.title),1)]),_:1}),a.description?(t.openBlock(),t.createElementBlock("div",GW,t.toDisplayString(a.description),1)):t.createCommentVNode("",!0)]),_:1}),t.createVNode(dS,{class:"pt-2"},{default:t.withCtx(()=>{var m,g,w,S,v;return[t.createElementVNode("div",{class:"d-result-preview-wrap relative rounded-xl overflow-hidden border-2 border-dashed transition-colors duration-200 bg-muted dark:bg-neutral-800/50 border-border dark:border-neutral-700 w-full",style:t.normalizeStyle([{height:`${a.previewHeight}px`},y.value]),onMouseenter:k[2]||(k[2]=M=>d.value=!0),onMouseleave:k[3]||(k[3]=M=>d.value=!1)},[i.value&&r.value?(t.openBlock(),t.createElementBlock("img",{key:0,src:r.value,alt:"Preview",class:"h-full w-full object-contain"},null,8,KW)):(t.openBlock(),t.createElementBlock("div",XW,[t.createVNode(t.unref(ds),{class:"w-10 h-10"}),t.createElementVNode("div",ZW,[t.createElementVNode("p",YW,t.toDisplayString((m=c.value)==null?void 0:m.name),1),t.createElementVNode("p",QW,t.toDisplayString((g=c.value)==null?void 0:g.size),1)])])),t.createElementVNode("div",{class:"d-action-buttons",style:t.normalizeStyle({position:"absolute",top:"8px",left:"8px",right:"8px",display:"flex",alignItems:"center",justifyContent:"space-between",zIndex:50,opacity:d.value?1:0,transition:"opacity 0.2s ease-in-out",pointerEvents:d.value?"auto":"none"})},[a.showEdit&&i.value?(t.openBlock(),t.createElementBlock("button",{key:0,disabled:a.disabled,class:"d-action-btn shadow-md",style:t.normalizeStyle({height:"32px",width:"32px",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"#eab308",color:"white",borderRadius:"8px",border:"1px solid rgba(255,255,255,0.4)",cursor:a.disabled?"not-allowed":"pointer",transition:"all 0.2s"}),onClick:k[0]||(k[0]=M=>o("edit"))},[t.createVNode(t.unref(ir),{style:{width:"16px",height:"16px"}})],12,JW)):(t.openBlock(),t.createElementBlock("div",eG)),a.showRemove?(t.openBlock(),t.createElementBlock("button",{key:2,disabled:a.disabled,class:"d-action-btn shadow-md",style:t.normalizeStyle({height:"32px",width:"32px",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"#ef4444",color:"white",borderRadius:"8px",border:"1px solid rgba(255,255,255,0.4)",cursor:a.disabled?"not-allowed":"pointer",transition:"all 0.2s"}),onClick:k[1]||(k[1]=M=>o("remove"))},[t.createVNode(t.unref(Ii),{style:{width:"16px",height:"16px"}})],12,tG)):t.createCommentVNode("",!0)],4),t.createElementVNode("div",{class:"d-metadata-overlay",style:t.normalizeStyle({position:"absolute",left:"8px",bottom:"8px",zIndex:10,display:"inline-block",maxWidth:"calc(100% - 16px)",borderRadius:"12px",border:"1px solid rgba(0,0,0,0.1)",padding:"8px 12px",boxShadow:"0 10px 15px -3px rgba(0,0,0,0.1)",backdropFilter:"blur(8px)",transition:"all 0.2s ease-in-out",opacity:d.value?1:0,transform:d.value?"translateY(0) scale(1)":"translateY(4px) scale(0.99)",backgroundColor:h.value?"rgba(38, 38, 38, 0.8)":"rgba(255, 255, 255, 0.8)",color:h.value?"#e5e5e5":"#171717"})},[t.createElementVNode("div",aG,[t.createElementVNode("div",nG,[k[4]||(k[4]=t.createElementVNode("span",{class:"w-14 shrink-0 text-muted-foreground dark:text-neutral-400"},"Nama",-1)),t.createElementVNode("span",oG,t.toDisplayString((w=c.value)==null?void 0:w.name),1)]),t.createElementVNode("div",rG,[k[5]||(k[5]=t.createElementVNode("span",{class:"w-14 shrink-0 text-muted-foreground dark:text-neutral-400"},"Ukuran",-1)),t.createElementVNode("span",iG,t.toDisplayString((S=c.value)==null?void 0:S.size),1)]),t.createElementVNode("div",sG,[k[6]||(k[6]=t.createElementVNode("span",{class:"w-14 shrink-0 text-muted-foreground dark:text-neutral-400"},"Tipe",-1)),t.createElementVNode("span",lG,t.toDisplayString((v=c.value)==null?void 0:v.type),1)])])],4)],36)]}),_:1})]),_:1},8,["class"])):t.createCommentVNode("",!0)}}),[["__scopeId","data-v-21123eaf"]]);function JI(){const a=i=>{var d;const s={type:i.type||"info",title:i.title,message:i.message,duration:i.duration??3e3};typeof window<"u"&&window.dispatchEvent(new CustomEvent("micro:toast",{detail:s,bubbles:!0,composed:!0})),(s.type==="error"?console.error:s.type==="warning"?console.warn:console.log)(`[Toast][${(d=s.type)==null?void 0:d.toUpperCase()}]`,s.title||"",s.message)};return{show:a,success:(i,s)=>a({type:"success",message:i,title:s}),error:(i,s)=>a({type:"error",message:i,title:s}),warning:(i,s)=>a({type:"warning",message:i,title:s}),info:(i,s)=>a({type:"info",message:i,title:s})}}const cG={class:"space-y-3"},dG={key:1,class:"flex items-center justify-center p-6 border rounded-lg bg-muted/30 dark:bg-neutral-800/20 dark:border-neutral-800"},TV=t.defineComponent({__name:"DCodeFileField",props:{modelValue:{default:null},label:{default:"Upload File"},hint:{},disabled:{type:Boolean,default:!1},previewHeight:{default:190},previewWidth:{default:void 0},allowedTypes:{default:null},accept:{default:"*/*"},minSizeMb:{default:null},maxSizeMb:{default:1},endpoint:{},uploadFn:{}},emits:["update:modelValue","error","uploaded"],setup(a,{emit:e}){const n=a,o=e,r=t.computed({get:()=>n.modelValue,set:x=>o("update:modelValue",x)}),i=t.ref(null),s=t.ref(null);function c(x){s.value=x,o("error",x)}function d(){s.value=null}const h=t.computed(()=>{const x=(n.allowedTypes??"").trim();return x?x.split(/[,\s;]+/g).map(L=>L.trim().toLowerCase()).filter(Boolean).map(L=>L.includes("/")||L.startsWith(".")?L:`.${L}`):[]});function u(x){const b=x.lastIndexOf(".");return b>=0?x.slice(b).toLowerCase():""}const p=t.computed(()=>{if(h.value.length){const x=h.value.filter(L=>L.startsWith("."));return[...h.value.filter(L=>L.includes("/")),...x].join(",")}return n.accept}),y=t.computed(()=>h.value.length?h.value.join(", "):n.accept||"Semua File");function f(x){if(h.value.length){const b=(x.type||"").toLowerCase(),L=u(x.name);return h.value.some(I=>I.includes("/")?b===I:I.startsWith(".")?L===I:L===`.${I}`)}if(n.accept){if(n.accept==="*/*")return!0;const b=n.accept.split(",").map(V=>V.trim().toLowerCase()),L=(x.type||"").toLowerCase(),I=u(x.name);return b.some(V=>{if(V.endsWith("/*")){const A=V.slice(0,-2);return L.startsWith(A)}return V.startsWith(".")?I===V:L===V})}return!0}function k(x){return x*1024*1024}async function m(x){return x?f(x)?n.minSizeMb!=null&&x.size<k(n.minSizeMb)?`Ukuran file terlalu kecil. Minimal ${n.minSizeMb}MB`:n.maxSizeMb!=null&&x.size>k(n.maxSizeMb)?`Ukuran file terlalu besar. Maks ${n.maxSizeMb}MB`:null:`File Type not allowed. Allowed: ${y.value}`:"File tidak valid"}const{DCodeApi:g}=Ke(),w=JI(),S=t.ref(!1);async function v(x){var b;if(n.uploadFn){try{S.value=!0;const L=await n.uploadFn(x);r.value=x,o("uploaded",L)}catch(L){console.error("Upload Error",L),w.error("Upload Failed",(L==null?void 0:L.message)||"Unknown error"),c((L==null?void 0:L.message)||"Upload Failed")}finally{S.value=!1}return}if(!((b=n.endpoint)!=null&&b.apiUrl)){r.value=x;return}if(typeof g!="function"){c("useApi() must expose DCodeApi()");return}try{S.value=!0;const L=new FormData;L.append("doc",x);const I=(n.endpoint.apiMethod||"POST").toUpperCase(),V=n.endpoint.apiUrl,A=await g("","",L,{_url:V,_method:I,withCredentials:!0,transformRequest:[(O,H)=>(H&&(delete H["Content-Type"],delete H["content-type"]),O)]}),q=(A==null?void 0:A.data)??A;r.value=x,o("uploaded",q)}catch(L){console.error("Upload Error",L),w.error("Upload Failed",(L==null?void 0:L.message)||"Unknown error"),c((L==null?void 0:L.message)||"Upload Failed")}finally{S.value=!1}}async function M(x){var L;if(n.disabled)return;d();const b=await m(x);if(b){c(b);return}i.value=x,n.uploadFn||(L=n.endpoint)!=null&&L.apiUrl?await v(x):r.value=x}function C(){d(),r.value=null,i.value=null}return t.watch(()=>n.modelValue,x=>{x&&!i.value&&(i.value=x),x||(i.value=null)},{immediate:!0}),(x,b)=>(t.openBlock(),t.createElementBlock("div",cG,[r.value?S.value?(t.openBlock(),t.createElementBlock("div",dG,[...b[1]||(b[1]=[t.createElementVNode("span",{class:"text-sm text-muted-foreground dark:text-neutral-400 animate-pulse"},"Uploading...",-1)])])):(t.openBlock(),t.createBlock(QI,{key:2,file:r.value,title:a.label,description:a.hint,disabled:a.disabled,"show-edit":!1,"show-replace":!1,"show-remove":!0,"force-file-icon":!0,"preview-height":a.previewHeight,"preview-width":a.previewWidth,onRemove:C},null,8,["file","title","description","disabled","preview-height","preview-width"])):(t.openBlock(),t.createBlock(uS,{key:0,label:a.label,hint:a.hint,accept:p.value,maxSizeMb:a.maxSizeMb,disabled:a.disabled||S.value,onPicked:M,error:s.value,onError:b[0]||(b[0]=L=>c(L))},null,8,["label","hint","accept","maxSizeMb","disabled","error"]))]))}}),hG=["for"],uG={key:0,class:"!ml-1 !text-destructive"},pG={class:"relative w-full block box-border"},yG={key:0,class:"absolute inset-y-0 left-3 flex items-center text-muted-foreground pointer-events-none z-10"},fG=["id","readonly","disabled","placeholder"],kG={class:"absolute inset-y-0 right-4 flex items-center z-10"},mG={key:1,class:"absolute z-50 mt-1 w-full rounded-xl border bg-white dark:bg-neutral-900 shadow-lg box-border"},gG={key:0,class:"flex items-center justify-center py-10 text-muted-foreground gap-2"},MG={key:1,class:"text-sm text-muted-foreground text-center"},bG=["onClick","title"],xG={class:"flex flex-col items-center justify-between gap-2 py-1 min-h-[72px]"},wG={class:"flex items-center justify-center flex-1"},vG={class:"text-[10px] leading-tight text-muted-foreground truncate w-full text-center block flex-shrink-0"},CG={key:3,class:"pt-2 text-[11px] text-muted-foreground text-center"},HV=t.defineComponent({name:"DCodeIconDropdown",__name:"DCodeIconDropdown",props:{modelValue:{},label:{},placeholder:{default:"Pilih icon…"},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},columns:{default:4},maxHeight:{default:"335px"},iconSize:{default:20},pageSize:{default:120}},emits:["update:modelValue","clear"],setup(a,{emit:e}){const n=a,o=e,r=ha,i=t.ref(null),s=t.ref(null),c=Math.random().toString(36).slice(2,7),d=t.computed(()=>`dcode-icon-dropdown-${n.label||"icon-dropdown"}-${c}`),h=t.ref(!1),u=t.computed(()=>(n.modelValue??"").trim()||""),p=t.ref(""),y=t.ref(!1),f=t.ref(!1),k=t.ref(!1),m=t.shallowRef([]),g=t.ref(n.pageSize),w=new Set(["default","createLucideIcon","LucideIcon","Icon","icons","toKebabCase","camelCase","children","IconNode"]),S=async()=>{if(f.value||k.value)return;k.value=!0,await new Promise(z=>setTimeout(z,0));const B=Object.keys(r).filter(z=>!w.has(z)).filter(z=>/^[A-Z]/.test(z)).filter(z=>typeof r[z]=="function"||typeof r[z]=="object"&&r[z]).sort((z,U)=>z.localeCompare(U));m.value=B,f.value=!0,k.value=!1},v=t.computed(()=>!f.value||!u.value||!m.value.includes(u.value)?null:r[u.value]),M=t.ref(u.value),C=t.computed(()=>!!u.value&&!h.value),x=t.computed(()=>{if(!f.value)return[];const B=(p.value??"").trim().toLowerCase();return B?m.value.filter(z=>z.toLowerCase().includes(B)):m.value}),b=t.computed(()=>x.value.slice(0,g.value)),L=t.computed(()=>{const B=n.columns;return B<=2?"grid-cols-2":B===3?"grid-cols-3":B===4?"grid-cols-4":B===5?"grid-cols-5":B>=8?"grid-cols-8":"grid-cols-6"});t.computed(()=>n.clearable?"!pr-10":"!pr-3"),t.computed(()=>v.value&&!h.value?"!pl-12":"!pl-3");const I=async()=>{var B;await t.nextTick(),(B=s.value)==null||B.focus()},V=async B=>{if(n.disabled)return;const z=B!==!1;if(y.value){y.value=!1;return}h.value=!0,await S(),z&&(p.value="",M.value=""),g.value=n.pageSize,await I()},A=()=>{h.value=!1,p.value="",M.value=u.value,g.value=n.pageSize},q=async()=>{n.disabled||(h.value?A():await V())};let O=null;const H=async B=>{if(n.disabled)return;o("update:modelValue",null),h.value||await V(!1),O&&clearTimeout(O);const z=M.value;O=setTimeout(()=>{p.value=z},300)},W=B=>{n.disabled||(o("update:modelValue",B),A(),queueMicrotask(()=>{var z;return(z=s.value)==null?void 0:z.blur()}))},T=()=>{n.disabled||(o("update:modelValue",null),o("clear"),y.value=!0,A(),queueMicrotask(()=>{var B;return(B=s.value)==null?void 0:B.focus()}))},j=B=>{if(B.key==="Escape"){B.preventDefault(),A();return}if(B.key==="Enter"&&h.value){const z=x.value[0];z&&(B.preventDefault(),W(z))}},R=B=>{if(!h.value)return;const z=B.target;i.value&&!i.value.contains(z)&&A()},Y=B=>{const z=B.target;z.scrollTop+z.clientHeight>=z.scrollHeight-24&&g.value<x.value.length&&(g.value=Math.min(g.value+n.pageSize,x.value.length))};return t.onMounted(()=>{document.addEventListener("mousedown",R),queueMicrotask(()=>{var B;s.value=((B=i.value)==null?void 0:B.querySelector("input"))??null}),u.value&&S()}),t.onBeforeUnmount(()=>{document.removeEventListener("mousedown",R),O&&clearTimeout(O)}),t.watch(u,B=>{h.value||(M.value=B)}),t.watch(()=>p.value,()=>{g.value=n.pageSize}),(B,z)=>(t.openBlock(),t.createElementBlock("div",{ref_key:"rootEl",ref:i,class:"!w-full !block !box-border"},[n.label?(t.openBlock(),t.createElementBlock("label",{key:0,for:d.value,class:"!text-sm !font-medium !mb-1 !block"},[t.createTextVNode(t.toDisplayString(n.label)+" ",1),n.required?(t.openBlock(),t.createElementBlock("span",uG,"*")):t.createCommentVNode("",!0)],8,hG)):t.createCommentVNode("",!0),t.createElementVNode("div",pG,[v.value&&!h.value?(t.openBlock(),t.createElementBlock("div",yG,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(v.value),{size:18}))])):t.createCommentVNode("",!0),t.withDirectives(t.createElementVNode("input",{id:d.value,"onUpdate:modelValue":z[0]||(z[0]=U=>M.value=U),readonly:C.value,disabled:n.disabled,placeholder:n.placeholder,class:t.normalizeClass(["w-full h-10 m-0 py-0 rounded-lg border bg-white dark:bg-neutral-900 text-foreground dark:text-gray-300 border-gray-300 dark:border-gray-700 pr-10 outline-none box-border truncate",[v.value&&!h.value?"pl-10":"pl-4",C.value?"cursor-pointer select-none":""]]),onClick:V,onFocus:V,onInput:H,onKeydown:j},null,42,fG),[[t.vModelText,M.value]]),t.createElementVNode("div",kG,[n.clearable&&u.value?(t.openBlock(),t.createElementBlock("button",{key:0,type:"button",class:"flex items-center justify-center p-1 m-0 bg-transparent border-0 text-muted-foreground hover:text-foreground transition cursor-pointer outline-none",onMousedown:z[1]||(z[1]=t.withModifiers(()=>{},["prevent"])),onClick:T,title:"Clear"},[t.createVNode(t.unref(it),{class:"h-4 w-4"})],32)):(t.openBlock(),t.createElementBlock("button",{key:1,type:"button",class:"flex items-center justify-center p-1 m-0 bg-transparent border-0 text-muted-foreground hover:text-foreground transition-transform cursor-pointer outline-none",onMousedown:z[2]||(z[2]=t.withModifiers(()=>{},["prevent"])),onClick:q,title:"Open"},[t.createVNode(t.unref(St),{class:"h-4 w-4"})],32))]),h.value?(t.openBlock(),t.createElementBlock("div",mG,[t.createElementVNode("div",{class:"p-2 overflow-auto",style:t.normalizeStyle({maxHeight:n.maxHeight}),onScroll:Y},[k.value?(t.openBlock(),t.createElementBlock("div",gG,[t.createVNode(t.unref(kt),{class:"h-4 w-4 animate-spin"}),z[3]||(z[3]=t.createElementVNode("span",{class:"text-sm"},"Loading icons…",-1))])):f.value&&x.value.length===0?(t.openBlock(),t.createElementBlock("div",MG," Icon tidak ditemukan ")):(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(["grid gap-2",L.value])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(b.value,U=>(t.openBlock(),t.createElementBlock("button",{key:U,type:"button",class:t.normalizeClass(["group rounded-lg border p-2 hover:bg-muted/40 transition",u.value===U?"ring-1 ring-primary":""]),onClick:oe=>W(U),title:U},[t.createElementVNode("div",xG,[t.createElementVNode("div",wG,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(r)[U]),{size:n.iconSize,class:"shrink-0"},null,8,["size"]))]),t.createElementVNode("span",vG,t.toDisplayString(U),1)])],10,bG))),128))],2)),f.value&&x.value.length>0?(t.openBlock(),t.createElementBlock("div",CG," Showing "+t.toDisplayString(b.value.length)+" / "+t.toDisplayString(x.value.length),1)):t.createCommentVNode("",!0)],36)])):t.createCommentVNode("",!0)])],512))}}),LG={key:0,class:"fixed inset-0 z-50 flex items-center justify-center p-4 sm:p-6"},SG={class:"flex items-center justify-between border-b dark:border-neutral-800 px-6 py-4"},IG={class:"relative overflow-auto p-0"},e_=t.defineComponent({__name:"DCodeImageCropperDialog",props:{modelValue:{type:Boolean},file:{},title:{default:"Resize & Crop Gambar"},description:{default:""},aspectRatio:{default:null},outputWidth:{default:null},outputHeight:{default:null},quality:{default:.92},autoOpenEditor:{type:Boolean,default:!1}},emits:["update:modelValue","done","cancel"],setup(a,{emit:e}){const n=a,o=e,r=t.computed({get:()=>n.modelValue,set:v=>o("update:modelValue",v)}),i=t.ref(null),s=t.ref(null);let c=null,d=!1,h=0,u=null;function p(){if(c){try{c.close()}catch{}c=null,u&&(u.disconnect(),u=null),i.value&&(i.value.innerHTML=""),s.value=null}}async function y(v,M,C,x,b){const L=await new Promise((A,q)=>{const O=URL.createObjectURL(v),H=new Image;H.onload=()=>{URL.revokeObjectURL(O),A(H)},H.onerror=W=>{URL.revokeObjectURL(O),q(W)},H.src=O}),I=document.createElement("canvas");I.width=M,I.height=C;const V=I.getContext("2d");return V?(V.drawImage(L,0,0,M,C),await new Promise(A=>{I.toBlob(q=>A(q||v),x,b)})):v}function f(){if(!c||!s.value)return;const v=c.getPlugin("Dashboard"),M=c.getFile(s.value);!v||!M||requestAnimationFrame(()=>{try{v.openFileEditor(M)}catch{try{v.openFileEditor(s.value)}catch{}}})}async function k(v){if(c){c.cancelAll(),s.value=null;try{const M=c.addFile({name:v.name,type:v.type,data:v,source:"Local",isRemote:!1});s.value=String(M)}catch{}}}function m(){if(!i.value)return;c&&p(),c=new fq({autoProceed:!1,restrictions:{maxNumberOfFiles:1,allowedFileTypes:["image/*"]}});const v=document.documentElement.classList.contains("dark");c.use(y_,{target:i.value,inline:!0,height:480,theme:v?"dark":"light",proudlyDisplayPoweredByUppy:!1,hideUploadButton:!0,hideRetryButton:!0,hidePauseResumeButton:!0,hideCancelButton:!0,showProgressDetails:!1}),u=new MutationObserver(()=>{if(!c)return;const M=document.documentElement.classList.contains("dark"),C=c.getPlugin("Dashboard");C&&C.setOptions({theme:M?"dark":"light"})}),u.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]}),c.use(kq,{target:y_,quality:n.quality,cropperOptions:{viewMode:1,dragMode:"move",autoCropArea:1,aspectRatio:n.aspectRatio==null?Number.NaN:n.aspectRatio}}),c.on("file-editor:cancel",()=>{r.value=!1}),c.on("file-added",M=>{s.value=(M==null?void 0:M.id)??null,n.autoOpenEditor&&setTimeout(()=>f(),80)}),c.on("file-editor:complete",async M=>{const C=++h;try{const x=M.data,b=x.type||M.type||"image/jpeg";let L=x;if(n.outputWidth&&n.outputHeight&&(L=await y(x,n.outputWidth,n.outputHeight,b,n.quality)),d||C!==h)return;const I=M.name||"edited-image.jpg",V=new File([L],I,{type:b});await g(V,"UPPY_EDITOR_COMPLETE"),o("done",V),r.value=!1}catch{}})}async function g(v,M="CROP_RESULT"){const C=URL.createObjectURL(v);try{const x=await new Promise((b,L)=>{const I=new Image;I.onload=()=>b(I),I.onerror=L,I.src=C});console.group(M),console.log("file:",v),console.table({name:v.name,type:v.type,sizeBytes:v.size,sizeMB:+(v.size/1024/1024).toFixed(3),width:x.naturalWidth,height:x.naturalHeight,ratio:+(x.naturalWidth/x.naturalHeight).toFixed(4)}),console.log("previewUrl:",C),console.groupEnd()}finally{URL.revokeObjectURL(C)}}t.watch(r,async v=>{d=!v,h++,v?(await t.nextTick(),m(),n.file&&await k(n.file)):p()},{flush:"post"}),t.watch(()=>n.file,async v=>{r.value&&v&&(await t.nextTick(),await k(v))}),t.onBeforeUnmount(()=>{d=!0,h++,p()});const w=v=>{v.key==="Escape"&&r.value&&(r.value=!1)};t.watch(r,v=>{v?globalThis.addEventListener("keydown",w):globalThis.removeEventListener("keydown",w)},{immediate:!0});const S=t.ref(!1);return(v,M)=>r.value?(t.openBlock(),t.createElementBlock("div",LG,[t.createVNode(t.Transition,{appear:"","enter-active-class":"duration-300 ease-out","enter-from-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"duration-200 ease-in","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:t.withCtx(()=>[r.value?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fixed inset-0 bg-black/60 backdrop-blur-sm transition-opacity",onClick:M[0]||(M[0]=C=>r.value=!1)})):t.createCommentVNode("",!0)]),_:1}),t.createVNode(t.Transition,{appear:"","enter-active-class":"duration-300 ease-out","enter-from-class":"opacity-0 scale-95 translate-y-4 sm:translate-y-0 sm:scale-95","enter-to-class":"opacity-100 scale-100 translate-y-0 sm:scale-100","leave-active-class":"duration-200 ease-in","leave-from-class":"opacity-100 scale-100 translate-y-0 sm:scale-100","leave-to-class":"opacity-0 scale-95 translate-y-4 sm:translate-y-0 sm:scale-95"},{default:t.withCtx(()=>[r.value?(t.openBlock(),t.createElementBlock("div",{key:0,class:"relative flex w-fit max-w-4xl flex-col overflow-hidden rounded-xl border border-border dark:border-neutral-800 bg-background dark:bg-neutral-900 shadow-2xl transition-all",onClick:M[4]||(M[4]=t.withModifiers(()=>{},["stop"]))},[t.createElementVNode("div",SG,[M[6]||(M[6]=t.createElementVNode("h3",{class:"text-lg font-semibold leading-none tracking-tight dark:text-neutral-100"}," Crop & Resize ",-1)),t.createElementVNode("button",{class:"d-close-btn rounded-sm dark:text-neutral-400 ring-offset-background transition-opacity focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",style:t.normalizeStyle({opacity:S.value?1:.7}),onClick:M[1]||(M[1]=C=>r.value=!1),onMouseenter:M[2]||(M[2]=C=>S.value=!0),onMouseleave:M[3]||(M[3]=C=>S.value=!1)},[t.createVNode(t.unref(it),{class:"h-4 w-4"}),M[5]||(M[5]=t.createElementVNode("span",{class:"sr-only"},"Close",-1))],36)]),t.createElementVNode("div",IG,[t.createElementVNode("div",{ref_key:"dashboardEl",ref:i,class:"uppy-wrap"},null,512)])])):t.createCommentVNode("",!0)]),_:1})])):t.createCommentVNode("",!0)}}),_G={key:0,class:"text-xs text-muted-foreground dark:text-neutral-400"},AG=["src"],BG=["disabled"],zG=["disabled"],VG={class:"text-[11px] text-foreground/90 dark:text-neutral-200 space-y-1 whitespace-nowrap"},qG={class:"flex gap-2"},PG={class:"font-medium truncate"},DG={class:"flex gap-2"},EG={class:"font-medium"},TG={class:"flex gap-2"},HG={class:"font-medium truncate"},t_=ga(t.defineComponent({__name:"DCodeImageResult",props:{file:{},title:{default:"Hasil Gambar"},description:{default:""},disabled:{type:Boolean,default:!1},previewHeight:{default:190},previewWidth:{default:220},showEdit:{type:Boolean,default:!0},showReplace:{type:Boolean,default:!0},showRemove:{type:Boolean,default:!0}},emits:["edit","replace","remove"],setup(a,{emit:e}){const n=a,o=e,r=t.ref(null);t.watch(()=>n.file,y=>{r.value&&URL.revokeObjectURL(r.value),r.value=y?URL.createObjectURL(y):null},{immediate:!0}),t.onBeforeUnmount(()=>{r.value&&URL.revokeObjectURL(r.value),h&&h.disconnect()});function i(y){const f=y/1024,k=f/1024;return k>=1?`${k.toFixed(2)} MB`:f>=1?`${f.toFixed(1)} KB`:`${y} B`}const s=t.computed(()=>n.file?{name:n.file.name,size:i(n.file.size),type:n.file.type||"unknown"}:null),c=t.ref(!1),d=t.ref(!1);let h=null;const u=()=>{typeof document<"u"&&(d.value=document.documentElement.classList.contains("dark")||document.body.classList.contains("dark"))};t.onMounted(()=>{u(),typeof document<"u"&&(h=new MutationObserver(u),h.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]}),h.observe(document.body,{attributes:!0,attributeFilter:["class"]}))});const p=t.computed(()=>n.disabled||!c.value?{}:{borderColor:d.value?"hsl(var(--primary) / 0.4)":"hsl(var(--primary) / 0.5)",backgroundColor:d.value?"hsl(var(--primary) / 0.1)":"hsl(var(--primary) / 0.05)"});return(y,f)=>a.file?(t.openBlock(),t.createBlock(cS,{key:0,class:t.normalizeClass([a.disabled?"opacity-60 pointer-events-none":"","dark:bg-neutral-900 dark:border-neutral-800"])},{default:t.withCtx(()=>[t.createVNode(hS,{class:"pb-2"},{default:t.withCtx(()=>[t.createVNode(YI,{class:"text-sm font-semibold dark:text-neutral-100"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(a.title),1)]),_:1}),a.description?(t.openBlock(),t.createElementBlock("div",_G,t.toDisplayString(a.description),1)):t.createCommentVNode("",!0)]),_:1}),t.createVNode(dS,{class:"pt-2"},{default:t.withCtx(()=>{var k,m,g;return[t.createElementVNode("div",{class:"d-result-preview-wrap relative rounded-xl overflow-hidden border-2 border-dashed transition-colors duration-200 bg-muted dark:bg-neutral-800/50 border-border dark:border-neutral-700 w-full",style:t.normalizeStyle([{height:`${a.previewHeight}px`},p.value]),onMouseenter:f[2]||(f[2]=w=>c.value=!0),onMouseleave:f[3]||(f[3]=w=>c.value=!1)},[r.value?(t.openBlock(),t.createElementBlock("img",{key:0,src:r.value,alt:"Preview",class:"h-full w-full object-contain"},null,8,AG)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:"d-action-buttons",style:t.normalizeStyle({position:"absolute",top:"8px",left:"8px",right:"8px",display:"flex",alignItems:"center",justifyContent:"space-between",zIndex:50,opacity:c.value?1:0,transition:"opacity 0.2s ease-in-out",pointerEvents:c.value?"auto":"none"})},[a.showEdit?(t.openBlock(),t.createElementBlock("button",{key:0,disabled:a.disabled,class:"d-action-btn shadow-md",style:t.normalizeStyle({height:"32px",width:"32px",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"#eab308",color:"white",borderRadius:"8px",border:"1px solid rgba(255,255,255,0.4)",cursor:a.disabled?"not-allowed":"pointer",transition:"all 0.2s",boxShadow:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)"}),onClick:f[0]||(f[0]=w=>o("edit"))},[t.createVNode(t.unref(ir),{style:{width:"16px",height:"16px"}})],12,BG)):t.createCommentVNode("",!0),a.showRemove?(t.openBlock(),t.createElementBlock("button",{key:1,disabled:a.disabled,class:"d-action-btn shadow-md",style:t.normalizeStyle({height:"32px",width:"32px",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"#ef4444",color:"white",borderRadius:"8px",border:"1px solid rgba(255,255,255,0.4)",cursor:a.disabled?"not-allowed":"pointer",transition:"all 0.2s",boxShadow:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)"}),onClick:f[1]||(f[1]=w=>o("remove"))},[t.createVNode(t.unref(Ii),{style:{width:"16px",height:"16px"}})],12,zG)):t.createCommentVNode("",!0)],4),t.createElementVNode("div",{class:"d-metadata-overlay",style:t.normalizeStyle({position:"absolute",left:"8px",bottom:"8px",zIndex:10,display:"inline-block",maxWidth:"calc(100% - 16px)",borderRadius:"12px",border:"1px solid rgba(0,0,0,0.1)",padding:"8px 12px",boxShadow:"0 10px 15px -3px rgba(0,0,0,0.1)",backdropFilter:"blur(8px)",transition:"all 0.2s ease-in-out",opacity:c.value?1:0,transform:c.value?"translateY(0) scale(1)":"translateY(4px) scale(0.99)",backgroundColor:d.value?"rgba(38, 38, 38, 0.8)":"rgba(255, 255, 255, 0.8)",color:d.value?"#e5e5e5":"#171717"})},[t.createElementVNode("div",VG,[t.createElementVNode("div",qG,[f[4]||(f[4]=t.createElementVNode("span",{class:"w-14 shrink-0 text-muted-foreground dark:text-neutral-400"},"Nama",-1)),t.createElementVNode("span",PG,t.toDisplayString((k=s.value)==null?void 0:k.name),1)]),t.createElementVNode("div",DG,[f[5]||(f[5]=t.createElementVNode("span",{class:"w-14 shrink-0 text-muted-foreground dark:text-neutral-400"},"Ukuran",-1)),t.createElementVNode("span",EG,t.toDisplayString((m=s.value)==null?void 0:m.size),1)]),t.createElementVNode("div",TG,[f[6]||(f[6]=t.createElementVNode("span",{class:"w-14 shrink-0 text-muted-foreground dark:text-neutral-400"},"Tipe",-1)),t.createElementVNode("span",HG,t.toDisplayString((g=s.value)==null?void 0:g.type),1)])])],4)],36)]}),_:1})]),_:1},8,["class"])):t.createCommentVNode("",!0)}}),[["__scopeId","data-v-349b562d"]]),jG={class:"space-y-3"},a_=t.defineComponent({__name:"DCodeImageField",props:{modelValue:{default:null},label:{default:"Upload Gambar"},hint:{default:"Drag & drop atau klik area ini"},disabled:{type:Boolean,default:!1},allowedTypes:{default:null},accept:{default:"image/*"},minSizeMb:{default:null},maxSizeMb:{default:1},title:{default:"Hasil Gambar"},description:{default:""},previewWidth:{default:360},previewHeight:{default:220},aspectRatio:{default:null},outputWidth:{default:null},outputHeight:{default:null},quality:{default:.92},autoOpenEditor:{type:Boolean,default:!0},minWidth:{default:null},minHeight:{default:null},maxWidth:{default:null},maxHeight:{default:null},endpoint:{},uploadFn:{},editUseOriginal:{type:Boolean,default:!1}},emits:["update:modelValue","error","uploaded"],setup(a,{emit:e}){const n=a,o=e,r=t.computed({get:()=>n.modelValue,set:T=>o("update:modelValue",T)}),i=t.ref(!1),s=t.ref(null),c=t.ref(null),d=t.ref(null);function h(T){d.value=T,o("error",T)}function u(){d.value=null}const p=t.computed(()=>{const T=(n.allowedTypes??"").trim();return T?T.split(/[,\s;]+/g).map(R=>R.trim().toLowerCase()).filter(Boolean).map(R=>R.includes("/")||R.startsWith(".")?R:`.${R}`):[]});function y(T){const j=T.lastIndexOf(".");return j>=0?T.slice(j).toLowerCase():""}const f=t.computed(()=>{if(p.value.length){const T=p.value.filter(R=>R.startsWith("."));return[...p.value.filter(R=>R.includes("/")),...T].join(",")}return n.accept||"image/*"}),k=t.computed(()=>p.value.length?p.value.join(", "):n.accept||"image/*");function m(T){if(p.value.length){const R=(T.type||"").toLowerCase(),Y=y(T.name);return p.value.some(B=>B.includes("/")?R===B:B.startsWith(".")?Y===B:Y===`.${B}`)}return(n.accept||"image/*").toLowerCase().includes("image/")?(T.type||"").toLowerCase().startsWith("image/"):!0}function g(T){return T*1024*1024}async function w(T){var j;return(j=T.type)!=null&&j.startsWith("image/")?await new Promise(R=>{const Y=URL.createObjectURL(T),B=new Image;B.onload=()=>{URL.revokeObjectURL(Y),R({w:B.naturalWidth,h:B.naturalHeight})},B.onerror=()=>{URL.revokeObjectURL(Y),R(null)},B.src=Y}):null}async function S(T){if(!(n.minWidth!=null||n.minHeight!=null||n.maxWidth!=null||n.maxHeight!=null))return null;const R=await w(T);return R?n.minWidth!=null&&R.w<n.minWidth?`Lebar gambar minimal ${n.minWidth}px`:n.minHeight!=null&&R.h<n.minHeight?`Tinggi gambar minimal ${n.minHeight}px`:n.maxWidth!=null&&R.w>n.maxWidth?`Lebar gambar maksimal ${n.maxWidth}px`:n.maxHeight!=null&&R.h>n.maxHeight?`Tinggi gambar maksimal ${n.maxHeight}px`:null:"Gagal membaca dimensi gambar"}async function v(T){return T?m(T)?n.minSizeMb!=null&&T.size<g(n.minSizeMb)?`Ukuran file terlalu kecil. Minimal ${n.minSizeMb}MB`:n.maxSizeMb!=null&&T.size>g(n.maxSizeMb)?`Ukuran file terlalu besar. Maks ${n.maxSizeMb}MB`:await S(T):`only Allowed: ${k.value}`:"File tidak valid"}function M(T){n.disabled||(s.value=T,i.value=!0)}async function C(T){if(n.disabled)return;u();const j=await v(T);if(j){h(j);return}c.value=T,M(T)}const{DCodeApi:x}=Ke(),b=JI(),L=t.ref(!1);t.ref(null);function I(T,j){return!T||!j?null:T.replace(/\/+$/,"")+"/"+j.replace(/^\/+/,"")}function V(T){var B;const j=(T==null?void 0:T.data)??T,R=(B=j==null?void 0:j.data)==null?void 0:B[0];if(!R)return null;const Y=I(R.server,R.url);return{...R,fullUrl:Y?encodeURI(Y):null}}async function A(T){var j;if(n.uploadFn){try{L.value=!0;const R=await n.uploadFn(T);r.value=T,o("uploaded",R)}catch(R){console.error("Upload Error",R),b.error("Upload Failed",(R==null?void 0:R.message)||"Unknown error"),h((R==null?void 0:R.message)||"Upload Failed")}finally{L.value=!1}return}if(!((j=n.endpoint)!=null&&j.apiUrl)){r.value=T;return}if(typeof x!="function"){h("useApi() must expose DCodeApi()");return}try{L.value=!0;const R=new FormData;R.append("doc",T);const Y=(n.endpoint.apiMethod||"POST").toUpperCase(),B=n.endpoint.apiUrl,z=await x("","",R,{_url:B,_method:Y,withCredentials:!0,transformRequest:[(oe,ee)=>(ee&&(delete ee["Content-Type"],delete ee["content-type"]),oe)]}),U=(z==null?void 0:z.data)??z;V(U),r.value=T,o("uploaded",U)}catch(R){console.error("Upload Error",R),b.error("Upload Failed",(R==null?void 0:R.message)||"Unknown error"),h((R==null?void 0:R.message)||"Upload Failed")}finally{L.value=!1}}async function q(T){var j;u(),n.uploadFn||(j=n.endpoint)!=null&&j.apiUrl?await A(T):r.value=T,i.value=!1,s.value=null}function O(){i.value=!1,s.value=null}async function H(){if(!r.value)return;u();const T=n.editUseOriginal?c.value??r.value:r.value,j=await v(T);if(j){h(j);return}M(T)}function W(){u(),r.value=null,s.value=null,i.value=!1,c.value=null}return t.watch(()=>n.modelValue,T=>{T&&!c.value&&(c.value=T),T||(c.value=null)},{immediate:!0}),(T,j)=>(t.openBlock(),t.createElementBlock("div",jG,[r.value?(t.openBlock(),t.createBlock(t_,{key:1,file:r.value,title:a.label,description:a.description,"preview-width":a.previewWidth,disabled:a.disabled,"show-edit":!0,"show-remove":!0,"show-replace":!1,onEdit:H,onRemove:W,"aspect-ratio":16/9},null,8,["file","title","description","preview-width","disabled"])):(t.openBlock(),t.createBlock(uS,{key:0,label:a.label,hint:a.hint,accept:f.value,maxSizeMb:a.maxSizeMb,disabled:a.disabled,onPicked:C,error:d.value,onError:j[0]||(j[0]=R=>h(R))},null,8,["label","hint","accept","maxSizeMb","disabled","error"])),t.createVNode(e_,{modelValue:i.value,"onUpdate:modelValue":j[1]||(j[1]=R=>i.value=R),file:s.value,title:a.title,description:a.description,"auto-open-editor":a.autoOpenEditor,"aspect-ratio":a.aspectRatio,"output-width":a.outputWidth,"output-height":a.outputHeight,quality:a.quality,onDone:q,onCancel:O},null,8,["modelValue","file","title","description","auto-open-editor","aspect-ratio","output-width","output-height","quality"])]))}}),n_=t.defineComponent({name:"DCodeLabel",inheritAttrs:!1,__name:"DCodeLabel",props:{label:{},text:{},textSize:{},textType:{},icon:{},iconClass:{}},setup(a){const e=t.useAttrs(),n=a,o=t.computed(()=>n.icon&&ha[n.icon]||null),r=t.computed(()=>n.textSize?`text-${n.textSize}`:"text-xs"),i={xs:"w-3 h-3",sm:"w-3.5 h-3.5",base:"w-4 h-4",lg:"w-5 h-5",xl:"w-5 h-5","2xl":"w-6 h-6","3xl":"w-7 h-7","4xl":"w-8 h-8","5xl":"w-10 h-10","6xl":"w-12 h-12"},s=t.computed(()=>i[n.textSize??"xs"]??"w-3 h-3"),c=t.computed(()=>n.textType==="BOLD"?"font-bold":n.textType==="ITALIC"?"italic font-normal":"font-normal"),d=t.computed(()=>{const u=`${r.value} ${c.value} text-slate-600 ml-1 inline-flex items-center gap-1`,p=e.class??"";return[u,p].filter(Boolean).join(" ")}),h=t.computed(()=>{const{class:u,...p}=e;return p});return(u,p)=>(t.openBlock(),t.createElementBlock("span",t.mergeProps({class:d.value},h.value),[o.value?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(o.value),{key:0,class:t.normalizeClass(["shrink-0",s.value,a.iconClass])},null,8,["class"])):t.createCommentVNode("",!0),t.createTextVNode(" "+t.toDisplayString(a.label||a.text),1)],16))}}),o_=t.defineComponent({__name:"Input",props:{defaultValue:{},modelValue:{},class:{type:[Boolean,null,String,Object,Array]}},emits:["update:modelValue"],setup(a,{emit:e}){const n=a,r=fs(n,"modelValue",e,{passive:!0,defaultValue:n.defaultValue});return(i,s)=>t.withDirectives((t.openBlock(),t.createElementBlock("input",{"onUpdate:modelValue":s[0]||(s[0]=c=>t.isRef(r)?r.value=c:null),class:t.normalizeClass(t.unref(ke)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",n.class))},null,2)),[[t.vModelText,t.unref(r)]])}}),OG=["aria-busy"],FG={key:0,class:"h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},RG={key:0,class:"ml-1 text-destructive"},NG={class:"min-w-0 flex-1 text-left"},$G={key:0,class:"flex flex-wrap gap-1.5"},UG={class:"max-w-[220px] truncate"},WG=["onClick"],GG={key:1,class:"text-muted-foreground truncate"},KG={class:"flex items-center gap-2 shrink-0"},XG={key:0,class:"p-2 border-b border-gray-200 dark:border-gray-800"},ZG={key:0,class:"h-full flex items-center justify-center px-3 text-sm text-muted-foreground"},YG=["disabled","onClick"],QG={class:"truncate"},JG={key:0,class:"text-primary-600 dark:text-primary-400"},eK={key:1,class:"h-full flex items-center justify-center text-sm text-muted-foreground"},tK={key:0},aK={key:1},nK={key:1,class:"text-xs text-destructive"},oK={name:"DCodeMultiSelect"},jV=t.defineComponent({...oK,name:"DCodeMultiSelect",inheritAttrs:!1,props:{modelValue:{},items:{default:()=>[]},endpoint:{default:void 0},fetchItems:{},autoFetchOnOpen:{type:Boolean,default:!0},autoFetchOnMount:{type:Boolean,default:!1},refreshOnOpen:{type:Boolean,default:!1},label:{default:""},placeholder:{default:"Pilih data…"},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},searchable:{type:Boolean,default:!1},searchPlaceholder:{default:"Cari…"},visible:{type:Boolean,default:!0},skeleton:{type:Boolean,default:!1},maxChips:{default:2},maxSelected:{default:3},itemTitle:{type:[String,Function],default:"name"},itemValue:{type:[String,Function],default:"id"},returnObject:{type:Boolean,default:!1},virtual:{type:Boolean,default:!0},itemHeight:{default:40},maxRows:{default:5},overscan:{default:6},error:{default:null},required:{type:Boolean,default:!1}},emits:["update:modelValue","clear","max"],setup(a,{emit:e}){const n=t.useAttrs(),o=e,r=a,i=t.computed(()=>(r.label||n.label)??void 0),s=t.computed(()=>r.visible??!0),c=Math.random().toString(36).slice(2,7),d=t.computed(()=>`app-multiselect-${n.id||i.value||"field"}-${c}`),h=t.computed(()=>{if(r.required)return!0;const G=n.required,J=n["aria-required"];return G===""||G===!0||G==="true"||(J==="true"||J===!0)}),u=t.computed(()=>!!r.error);function p(G){return G?typeof r.itemTitle=="function"?r.itemTitle(G)??"":String((G==null?void 0:G[r.itemTitle])??""):""}function y(G){return G?typeof r.itemValue=="function"?r.itemValue(G):G==null?void 0:G[r.itemValue]:null}function f(G,J){return y(G)??J}const k=t.computed(()=>Array.isArray(r.modelValue)?r.modelValue:[]),m=t.computed(()=>{var G;return!!((G=r.endpoint)!=null&&G.apiUrl)||!!r.fetchItems}),g=t.ref([]),w=t.ref(!1),S=t.ref(!1),v=t.computed(()=>{var J;const G=(J=r.endpoint)==null?void 0:J.apiOptions;if(G)return typeof G=="function"?G():G}),M=t.computed(()=>{var ye,Ve;const G=((ye=r.endpoint)==null?void 0:ye.apiUrl)??"",J=(((Ve=r.endpoint)==null?void 0:Ve.apiMethod)??"GET").toUpperCase(),ae=JSON.stringify(v.value??null);return`${J} ${G} :: ${ae}`}),C=t.computed(()=>m.value?g.value:r.items||[]);async function x(){var G;if(m.value&&!(!((G=r.endpoint)!=null&&G.apiUrl)&&!r.fetchItems)&&!w.value){w.value=!0;try{let J;if(r.fetchItems){const ae=await r.fetchItems(),ye=(ae==null?void 0:ae.data)??ae;J=(ye==null?void 0:ye.data)??ye}else{const{DCodeApi:ae}=Ke();if(typeof ae!="function"){console.error("[DCodeMultiSelectChips] useApi() must expose DCodeApi()");return}const ye={page:1,perPage:100,...v.value||{}},Ve=await ae("","",ye,{_url:r.endpoint.apiUrl,_method:(r.endpoint.apiMethod||"GET").toUpperCase()}),na=(Ve==null?void 0:Ve.data)??Ve;J=(na==null?void 0:na.data)??na}g.value=Array.isArray(J)?J:[],S.value=!0}catch(J){console.error("[DCodeMultiSelectChips][fetchOptions] ERROR:",J),g.value=[]}finally{w.value=!1}}}t.watch(()=>M.value,()=>{g.value=[],S.value=!1}),t.onMounted(()=>{r.autoFetchOnMount&&m.value&&x()});const b=t.computed(()=>{const G=k.value;if(r.returnObject)return G;const J=new Map;for(const ae of C.value)J.set(y(ae),ae);return G.map(ae=>J.get(ae)??{[r.itemValue]:ae,[r.itemTitle]:String(ae)})}),L=t.computed(()=>r.maxChips===null?b.value:b.value.slice(0,r.maxChips));function I(G){const J=k.value;if(r.returnObject){const ae=y(G);return J.some(ye=>y(ye)===ae)}return J.includes(y(G))}const V=t.computed(()=>{if(r.maxSelected===null||r.maxSelected===void 0)return null;const G=Number(r.maxSelected);return Number.isFinite(G)&&G>0?G:null}),A=t.computed(()=>{const G=V.value;return G===null?!1:k.value.length>=G});function q(G){return!I(G)&&A.value}const O=t.computed(()=>{const G=k.value,J=new Set;if(r.returnObject)for(const ae of G)J.add(y(ae));else for(const ae of G)J.add(ae);return J}),H=t.computed(()=>{const G=O.value;return(C.value||[]).filter(J=>!G.has(y(J)))}),W=t.computed(()=>C.value.length===0?!1:H.value.length===0),T=t.ref(null),j=t.ref(null),R=t.ref(null),Y=t.ref(!1),B=t.ref(""),z=t.ref(0),U=t.ref(0),{floatingStyles:oe}=Q1(T,j,{whileElementsMounted:K1,placement:"bottom-start",middleware:[X1(8),Ds(),Z1({padding:8}),Y1({apply({rects:G,elements:J}){Object.assign(J.floating.style,{width:`${G.reference.width}px`,"--floating-width":`${G.reference.width}px`})}})]}),ee=t.computed(()=>oe.value),de=t.computed(()=>{const G=Number(r.maxRows);return Number.isFinite(G)&&G>0?G:5});async function ce(){r.disabled||(Y.value=!0,U.value=0,requestAnimationFrame(()=>{R.value&&(R.value.scrollTop=0),z.value=0}),m.value&&r.autoFetchOnOpen&&(r.refreshOnOpen||!S.value)&&!w.value&&await x())}function ue(){Y.value=!1}function ve(){Y.value?ue():ce()}function le(G){var ae,ye;if(!Y.value)return;const J=G.target;(ae=T.value)!=null&&ae.contains(J)||(ye=j.value)!=null&&ye.contains(J)||ue()}t.onMounted(()=>document.addEventListener("mousedown",le)),t.onBeforeUnmount(()=>document.removeEventListener("mousedown",le));function X(G){if(r.disabled)return;if(q(G)){o("max");return}const J=[...k.value];if(r.returnObject){const ae=y(G);if(J.some(Ve=>y(Ve)===ae))return;o("update:modelValue",[...J,G])}else{const ae=y(G);if(J.includes(ae))return;o("update:modelValue",[...J,ae])}B.value="",U.value=0,requestAnimationFrame(()=>{R.value&&(R.value.scrollTop=0),z.value=0})}function P(G){if(r.disabled)return;const J=[...k.value];if(r.returnObject){const ae=y(G);o("update:modelValue",J.filter(ye=>y(ye)!==ae))}else{const ae=y(G);o("update:modelValue",J.filter(ye=>ye!==ae))}}function $(){r.disabled||(o("update:modelValue",[]),o("clear"),ue())}const Q=t.computed(()=>{const G=B.value.trim().toLowerCase(),J=H.value;return G?J.filter(ae=>p(ae).toLowerCase().includes(G)):J}),pe=t.computed(()=>Q.value.length);t.watch(Y,G=>{G||(B.value="")});const Pe=t.computed(()=>{if(W.value)return r.itemHeight;const G=pe.value;return(G<=0?1:Math.min(G,de.value))*r.itemHeight}),ot=t.computed(()=>r.virtual?pe.value*r.itemHeight:0),bt=t.computed(()=>r.virtual?Math.ceil(Pe.value/r.itemHeight)+r.overscan:pe.value),aa=t.computed(()=>{if(!r.virtual)return 0;const G=Math.floor(z.value/r.itemHeight)-Math.floor(r.overscan/2);return Math.max(0,G)}),_a=t.computed(()=>r.virtual?Math.min(pe.value,aa.value+bt.value):pe.value),xt=t.computed(()=>r.virtual?aa.value*r.itemHeight:0),$t=t.computed(()=>{const G=Q.value;return r.virtual?G.slice(aa.value,_a.value):G});function D1(G){const J=G.target;z.value=J.scrollTop}function E1(G){return G===U.value}function F(G){const J=R.value;if(!J||!r.virtual)return;const ae=G*r.itemHeight,ye=ae+r.itemHeight,Ve=J.scrollTop,na=J.scrollTop+J.clientHeight;ae<Ve?J.scrollTop=ae:ye>na&&(J.scrollTop=ye-J.clientHeight)}function te(G){const J=Math.max(0,pe.value-1);U.value=Math.min(J,Math.max(0,U.value+G)),F(U.value)}function he(){const G=Q.value[U.value];G&&X(G)}const _e=t.computed(()=>r.clearable&&!r.disabled&&b.value.length>0),De=t.computed(()=>u.value?"border-red-500 ring-[0.5px] ring-red-500":Y.value?"border-gray-700 ring-[0.5px] ring-gray-700 dark:border-gray-300 dark:ring-gray-300":"");return(G,J)=>t.withDirectives((t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["flex flex-col gap-1 w-full",t.unref(n).class]),"aria-busy":r.skeleton},[r.skeleton?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[i.value?(t.openBlock(),t.createElementBlock("div",FG)):t.createCommentVNode("",!0),J[3]||(J[3]=t.createElementVNode("div",{class:"h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse"},null,-1))],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[i.value?(t.openBlock(),t.createBlock(t.unref(Bs),{key:0,for:d.value,class:"text-sm font-medium"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(i.value)+" ",1),h.value?(t.openBlock(),t.createElementBlock("span",RG,"*")):t.createCommentVNode("",!0)]),_:1},8,["for"])):t.createCommentVNode("",!0),t.createElementVNode("div",{ref_key:"referenceEl",ref:T,class:"relative"},[t.createVNode(t.unref(Ae),{id:d.value,type:"button",variant:"outline",class:t.normalizeClass(["w-full justify-between h-auto min-h-10 px-3 py-2 transition border",["bg-white dark:bg-neutral-900 border-gray-300 dark:border-gray-700 text-foreground dark:text-gray-300",De.value]]),disabled:r.disabled,onClick:ve},{default:t.withCtx(()=>[t.createElementVNode("div",NG,[b.value.length?(t.openBlock(),t.createElementBlock("div",$G,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(L.value,(ae,ye)=>(t.openBlock(),t.createBlock(t.unref(Ia),{key:`chip-${f(ae,ye)}`,variant:"secondary",class:"gap-1"},{default:t.withCtx(()=>[t.createElementVNode("span",UG,t.toDisplayString(p(ae)),1),r.disabled?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("button",{key:0,class:"ml-1 opacity-70 hover:opacity-100",onClick:t.withModifiers(Ve=>P(ae),["stop"]),"aria-label":"Remove"}," ✕ ",8,WG))]),_:2},1024))),128)),r.maxChips!==null&&b.value.length>r.maxChips?(t.openBlock(),t.createBlock(t.unref(Ia),{key:0,variant:"secondary"},{default:t.withCtx(()=>[t.createTextVNode(" +"+t.toDisplayString(b.value.length-(r.maxChips??0)),1)]),_:1})):t.createCommentVNode("",!0)])):(t.openBlock(),t.createElementBlock("div",GG,t.toDisplayString(r.placeholder),1))]),t.createElementVNode("div",KG,[_e.value?(t.openBlock(),t.createElementBlock("button",{key:0,class:"text-muted-foreground hover:text-foreground",onClick:t.withModifiers($,["stop"]),"aria-label":"Clear"}," ✕ ")):t.createCommentVNode("",!0),t.createVNode(t.unref(St),{class:"h-4 w-4 text-muted-foreground"})])]),_:1},8,["id","disabled","class"]),(t.openBlock(),t.createBlock(t.Teleport,{to:"body"},[Y.value?(t.openBlock(),t.createElementBlock("div",{key:0,ref_key:"floatingEl",ref:j,class:"-mt-1 z-[9999] w-[var(--floating-width)] rounded-lg border shadow-lg overflow-hidden bg-white dark:bg-neutral-900 border-gray-200 dark:border-gray-800",style:t.normalizeStyle(ee.value)},[r.searchable&&!W.value?(t.openBlock(),t.createElementBlock("div",XG,[t.createVNode(t.unref(o_),{modelValue:B.value,"onUpdate:modelValue":J[0]||(J[0]=ae=>B.value=ae),placeholder:r.searchPlaceholder,class:"h-10",onKeydown:[J[1]||(J[1]=t.withKeys(t.withModifiers(ae=>te(1),["prevent"]),["down"])),J[2]||(J[2]=t.withKeys(t.withModifiers(ae=>te(-1),["prevent"]),["up"])),t.withKeys(t.withModifiers(he,["prevent"]),["enter"]),t.withKeys(t.withModifiers(ue,["prevent"]),["esc"])]},null,8,["modelValue","placeholder","onKeydown"])])):t.createCommentVNode("",!0),t.createElementVNode("div",{ref_key:"listEl",ref:R,class:"relative overflow-auto",style:t.normalizeStyle({height:Pe.value+"px"}),onScroll:D1},[W.value?(t.openBlock(),t.createElementBlock("div",ZG," All items have been selected ")):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[r.virtual?(t.openBlock(),t.createElementBlock("div",{key:0,style:t.normalizeStyle({height:ot.value+"px"})},null,4)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(r.virtual?"absolute left-0 top-0 w-full":""),style:t.normalizeStyle(r.virtual?{transform:`translateY(${xt.value}px)`}:void 0)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList($t.value,(ae,ye)=>(t.openBlock(),t.createElementBlock("button",{key:String(f(ae,aa.value+ye)),type:"button",class:t.normalizeClass(["w-full px-3 text-left text-sm flex items-center justify-between gap-3",[q(ae)?"cursor-not-allowed opacity-50":"hover:bg-neutral-50 dark:hover:bg-neutral-800/60",E1(aa.value+ye)?"bg-neutral-50 dark:bg-neutral-800/60":"",I(ae)?"font-semibold":"font-normal"]]),style:t.normalizeStyle({height:r.itemHeight+"px"}),disabled:r.disabled||q(ae),onClick:Ve=>X(ae)},[t.createElementVNode("span",QG,t.toDisplayString(p(ae)),1),I(ae)?(t.openBlock(),t.createElementBlock("span",JG,"✓")):t.createCommentVNode("",!0)],14,YG))),128))],6),pe.value===0?(t.openBlock(),t.createElementBlock("div",eK,[w.value?(t.openBlock(),t.createElementBlock("span",tK,"Loading data…")):(t.openBlock(),t.createElementBlock("span",aK,"Tidak ada data"))])):t.createCommentVNode("",!0)],64))],36)],4)):t.createCommentVNode("",!0)]))],512),u.value?(t.openBlock(),t.createElementBlock("p",nK,t.toDisplayString(r.error),1)):t.createCommentVNode("",!0)],64))],10,OG)),[[t.vShow,s.value]])}}),rK={class:"space-y-4"},iK={key:0,class:"space-y-1"},sK={class:"text-base font-semibold text-gray-800"},lK={class:"text-sm text-gray-400"},cK={class:"flex items-center gap-2 flex-nowrap"},dK=["value","disabled","onKeydown","onInput","onPaste"],r_=t.defineComponent({name:"DCodeOtpInput",__name:"DCodeOtpInput",props:{modelValue:{default:""},totalInput:{default:6},default:{default:""},label:{default:""},endpoint:{},submitFn:{}},emits:["updateOtp","update:modelValue","complete","loading","success","error"],setup(a,{emit:e}){const n=a,o=e,r=t.ref([]),i=t.ref([]),s=t.ref(!1),{DCodeApi:c}=Ke(),d=JI(),h=t.computed(()=>{const v=Number(n.totalInput);return v&&v>0?v:6}),u=()=>{i.value=Array.from({length:h.value},(v,M)=>{var C;return((C=n.default)==null?void 0:C[M])??""}),o("updateOtp",i.value.join(""))};u(),t.watch(()=>[n.totalInput,n.default],()=>u());const p=v=>{v<0||v>=h.value||t.nextTick(()=>{var M;return(M=r.value[v])==null?void 0:M.focus()})},y=v=>v.match(/[a-zA-Z0-9]/)?v.match(/[a-zA-Z0-9]/)[0]:"";async function f(v){var M;if(o("complete",v),n.submitFn){try{s.value=!0,o("loading",!0);const C=await n.submitFn(v);o("success",C)}catch(C){console.error("OTP Submit Error",C),d.error("Submit Failed",(C==null?void 0:C.message)||"Unknown error"),o("error",(C==null?void 0:C.message)||"Submit Failed")}finally{s.value=!1,o("loading",!1)}return}if((M=n.endpoint)!=null&&M.apiUrl){if(typeof c!="function"){o("error","useApi() must expose DCodeApi()");return}try{s.value=!0,o("loading",!0);const C=(n.endpoint.apiMethod||"POST").toUpperCase(),x=n.endpoint.apiUrl,b=await c("","",{otp:v},{_url:x,_method:C,withCredentials:!0}),L=(b==null?void 0:b.data)??b;o("success",L)}catch(C){console.error("OTP Submit Error",C),d.error("Submit Failed",(C==null?void 0:C.message)||"Unknown error"),o("error",(C==null?void 0:C.message)||"Submit Failed")}finally{s.value=!1,o("loading",!1)}}}const k=(v,M)=>{i.value[v]=y(M);const C=i.value.join("");o("updateOtp",C),o("update:modelValue",C),C.length===h.value&&f(C)},m=(v,M)=>{const C=v.key,x=/^\d$/.test(C),b=/^[a-zA-Z]$/.test(C);if(C==="Backspace"){if(v.preventDefault(),i.value[M]){k(M,"");return}M>0&&(k(M-1,""),p(M-1));return}if(C==="ArrowLeft"){v.preventDefault(),p(M-1);return}if(C==="ArrowRight"){v.preventDefault(),p(M+1);return}if(x||b){v.preventDefault(),k(M,C),M<h.value-1&&p(M+1);return}C.length===1&&v.preventDefault()},g=(v,M)=>{const C=v.target,x=C.value??"",b=y(x);C.value=b,k(M,b),b&&M<h.value-1&&p(M+1)},w=(v,M)=>{var I;v.preventDefault();const x=(((I=v.clipboardData)==null?void 0:I.getData("text"))??"").replaceAll(/[^a-zA-Z0-9]/g,"");if(!x)return;let b=M;for(const V of x){if(b>=h.value)break;i.value[b]=V,b++}const L=i.value.join("");o("updateOtp",L),o("update:modelValue",L),L.length===h.value&&f(L),p(Math.min(b,h.value-1))},S=v=>M=>{r.value[v]=(M==null?void 0:M.$el)??M};return(v,M)=>(t.openBlock(),t.createElementBlock("div",rK,[n.label||h.value?(t.openBlock(),t.createElementBlock("div",iK,[t.createElementVNode("h6",sK,t.toDisplayString(n.label||"Masukkan kode keamanan"),1),t.createElementVNode("p",lK," Ketik "+t.toDisplayString(h.value)+" digit kode verifikasi Anda ",1)])):t.createCommentVNode("",!0),t.createElementVNode("div",cK,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(h.value,C=>(t.openBlock(),t.createElementBlock("input",{key:C,ref_for:!0,ref:S(C-1),value:i.value[C-1]||"",type:"text",inputmode:"text",maxlength:"1",autocomplete:"one-time-code","aria-label":"`OTP digit ${i}`",placeholder:"*",disabled:s.value,class:t.normalizeClass(["w-12 h-12 flex-none text-center text-xl font-bold rounded-xl border-2 transition-all duration-200 box-border p-0","focus:outline-none focus:scale-105 disabled:opacity-50 disabled:cursor-not-allowed",i.value[C-1]?"border-blue-500 bg-blue-50 text-blue-700 shadow-sm shadow-blue-100":"border-gray-200 bg-gray-50 text-gray-400 focus:border-blue-400 focus:bg-white focus:shadow-md focus:shadow-blue-50"]),onKeydown:x=>m(x,C-1),onInput:x=>g(x,C-1),onPaste:x=>w(x,C-1)},null,42,dK))),128))])]))}}),hK={class:"w-full"},uK={key:0,class:"flex items-center justify-between mb-2"},pK={key:0,class:"text-sm font-medium text-gray-700"},yK={key:1,class:"text-sm text-gray-600"},fK={name:"DCodeProgress"},OV=t.defineComponent({...fK,name:"DCodeProgress",inheritAttrs:!1,props:{modelValue:{default:0},max:{default:100},label:{default:""},showValue:{type:Boolean,default:!1},color:{default:"blue"},size:{default:"md"},striped:{type:Boolean,default:!1},animated:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(a,{emit:e}){const n=a,o=t.computed(()=>Math.min(n.modelValue/n.max*100,100)),r=t.computed(()=>["w-full rounded-full overflow-hidden",{sm:"h-1",md:"h-2",lg:"h-3"}[n.size],"bg-gray-200"].join(" ")),i=t.computed(()=>{const c={blue:"bg-blue-500",green:"bg-green-500",red:"bg-red-500",yellow:"bg-yellow-500",purple:"bg-purple-500",gray:"bg-gray-500"},d=["h-full transition-all duration-300 ease-out",c[n.color]||c.blue];return n.striped&&d.push("bg-gradient-to-r from-transparent via-white/20 to-transparent"),n.animated&&d.push("animate-pulse"),d.join(" ")}),s=t.computed(()=>`${Math.round(o.value)}%`);return(c,d)=>(t.openBlock(),t.createElementBlock("div",hK,[a.label||a.showValue?(t.openBlock(),t.createElementBlock("div",uK,[a.label?(t.openBlock(),t.createElementBlock("span",pK,t.toDisplayString(a.label),1)):t.createCommentVNode("",!0),a.showValue?(t.openBlock(),t.createElementBlock("span",yK,t.toDisplayString(s.value),1)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(r.value)},[t.createElementVNode("div",{class:t.normalizeClass(i.value),style:t.normalizeStyle({width:`${o.value}%`})},null,6)],2)]))}}),kK={key:0,class:"fixed top-0 left-0 right-0 z-[10000] h-[3px]"},FV=ga(t.defineComponent({name:"DCodeProgressBar",__name:"DCodeProgressBar",props:{isApiLoading:{type:Boolean,default:!1},apiProgress:{default:0}},setup(a){return(e,n)=>(t.openBlock(),t.createBlock(t.Transition,{name:"fade"},{default:t.withCtx(()=>[a.isApiLoading?(t.openBlock(),t.createElementBlock("div",kK,[t.createElementVNode("div",{class:"h-full bg-primary-600 shadow-[0_0_15px_rgba(37,99,235,0.8)] transition-all duration-300 ease-out",style:t.normalizeStyle({width:`${a.apiProgress}%`})},null,4)])):t.createCommentVNode("",!0)]),_:1}))}}),[["__scopeId","data-v-85c68054"]]),mK={class:"flex flex-col"},gK={key:0,class:"flex items-center gap-2 text-sm text-gray-500 mb-2"},MK={class:"relative flex-shrink-0 mt-0.5"},bK=["id","name","value","checked","disabled","required","onChange"],xK=["onClick"],wK=["for"],vK={key:0,class:"ml-1 text-red-500"},CK={key:1,class:"flex items-center gap-1 text-sm text-red-500 mt-1"},RV=t.defineComponent({name:"DCodeRadio",inheritAttrs:!1,__name:"DCodeRadio",props:{modelValue:{default:void 0},label:{default:"name"},options:{default:()=>[]},apiUrl:{default:""},apiMethod:{default:"GET"},dataPath:{default:""},layout:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},error:{default:null},size:{default:"md"},color:{default:"blue"},model:{default:"id"},id:{default:""}},emits:["update:modelValue","change"],setup(a,{emit:e}){t.useAttrs();const{apiUrl:n}=Ke(),o=e,r=a,i=t.ref([]),s=t.ref(!1),c=t.ref(null),d=async()=>{if(r.apiUrl){s.value=!0,c.value=null;try{const v={page:1,perPage:100},M=await n(r.apiUrl,r.apiMethod,v);let C=M;r.dataPath?C=r.dataPath.split(".").reduce((b,L)=>b&&b[L]!=="undefined"?b[L]:void 0,M):typeof M=="object"&&!Array.isArray(M)&&M.data&&(C=M.data),Array.isArray(C)?i.value=C:(console.warn("DCodeRadio: Format response tidak terdeteksi sebagai Array. Gunakan prop 'dataPath'."),c.value="Format respons data tidak valid. Array tidak ditemukan.")}catch(v){console.error("DCodeRadio fetch error:",v),c.value="Gagal memuat data dari endpoint."}finally{s.value=!1}}};t.onMounted(()=>{r.apiUrl&&d()});const h=t.computed(()=>r.options&&r.options.length>0?r.options:i.value.length>0?i.value:r.model!==void 0||r.label?[{[r.model]:r.model,[r.label]:r.label}]:[]),u=v=>typeof v=="object"?v[r.model]:v,p=v=>typeof v=="object"?v[r.label]:String(v),y=t.computed(()=>r.model||`radio-group-${Math.random().toString(36).substr(2,9)}`),f=t.computed(()=>!!r.error||!!c.value),k=t.computed(()=>r.error||c.value),m=v=>v==null?r.modelValue===v:String(r.modelValue)===String(v),g=t.computed(()=>({sm:{radio:"w-3 h-3",label:"text-sm",container:"gap-2"},md:{radio:"w-4 h-4",label:"text-base",container:"gap-2"},lg:{radio:"w-5 h-5",label:"text-lg",container:"gap-3"}})[r.size]),w=(v,M)=>{M.target.checked&&(o("update:modelValue",v),o("change",v))},S=v=>{!r.disabled&&!m(v)&&(o("update:modelValue",v),o("change",v))};return(v,M)=>(t.openBlock(),t.createElementBlock("div",mK,[s.value?(t.openBlock(),t.createElementBlock("div",gK,[t.createVNode(t.unref(kt),{class:"w-4 h-4 animate-spin"}),M[0]||(M[0]=t.createTextVNode(" Sedang memuat opsi... ",-1))])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(["flex",a.layout?"flex-row flex-wrap gap-4":"flex-col gap-3"])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(h.value,(C,x)=>(t.openBlock(),t.createElementBlock("div",{key:x,class:t.normalizeClass(["flex items-start",g.value.container,a.disabled?"opacity-50 cursor-not-allowed":"cursor-pointer"])},[t.createElementVNode("div",MK,[t.createElementVNode("input",{id:a.id?`${a.id}-${x}`:`${y.value}-${x}`,name:y.value,type:"radio",value:u(C),checked:m(u(C)),disabled:a.disabled,required:a.required&&x===0,onChange:b=>w(u(C),b),class:"w-5 h-5 text-blue-600 focus:ring-blue-500 border-gray-300"},null,40,bK)]),t.createElementVNode("div",{class:"flex-1 min-w-0",onClick:b=>S(u(C))},[t.createElementVNode("label",{for:a.id?`${a.id}-${x}`:`${y.value}-${x}`,class:t.normalizeClass([g.value.label,"font-medium cursor-pointer select-none text-foreground dark:text-gray-300",a.disabled?"cursor-not-allowed opacity-50":""])},[t.createTextVNode(t.toDisplayString(p(C))+" ",1),a.required&&h.value.length===1&&a.label?(t.openBlock(),t.createElementBlock("span",vK,"*")):t.createCommentVNode("",!0)],10,wK)],8,xK)],2))),128))],2),f.value&&k.value?(t.openBlock(),t.createElementBlock("div",CK,[t.createVNode(t.unref(It),{class:"w-4 h-4 flex-shrink-0"}),t.createTextVNode(" "+t.toDisplayString(k.value),1)])):t.createCommentVNode("",!0)]))}}),LK={class:"flex flex-col"},SK={key:0,class:"flex items-center gap-2 text-sm text-gray-500 dark:text-neutral-400 mb-2"},IK=["onClick"],_K=["id","name","value","checked","disabled","required","onChange"],AK={key:1,class:"w-6 h-6",fill:"currentColor",viewBox:"0 0 20 20"},BK=["for"],zK={key:0,class:"ml-1 text-red-500"},VK={key:1,class:"flex items-center gap-1 text-sm text-red-500 mt-2"},NV=t.defineComponent({name:"DCodeRadioCustom",inheritAttrs:!1,__name:"DCodeRadioCustom",props:{modelValue:{default:void 0},icon:{},label:{default:"name"},options:{default:()=>[]},apiUrl:{default:""},apiMethod:{default:"GET"},dataPath:{default:""},layout:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},error:{default:null},size:{default:"md"},color:{default:"blue"},model:{default:"id"},id:{default:""}},emits:["update:modelValue","change"],setup(a,{emit:e}){t.useAttrs();const{apiUrl:n}=Ke(),o=e,r=a,i=t.ref(r.modelValue??void 0);t.watch(()=>r.modelValue,I=>{i.value=I},{immediate:!0});const s=t.ref([]),c=t.ref(!1),d=t.ref(null),h=async()=>{if(r.apiUrl){c.value=!0,d.value=null;try{const I={page:1,perPage:100},V=await n(r.apiUrl,r.apiMethod,I);let A=V;r.dataPath?A=r.dataPath.split(".").reduce((O,H)=>O&&O[H]!=="undefined"?O[H]:void 0,V):typeof V=="object"&&!Array.isArray(V)&&V.data&&(A=V.data),Array.isArray(A)?s.value=A:(console.warn("DCodeRadioCustom: Format response tidak terdeteksi sebagai Array. Gunakan prop 'dataPath'."),d.value="Format respons data tidak valid. Array tidak ditemukan.")}catch(I){console.error("DCodeRadioCustom fetch error:",I),d.value="Gagal memuat data dari endpoint."}finally{c.value=!1}}},u=t.ref(!1);let p=null;const y=()=>{typeof document<"u"&&(u.value=document.documentElement.classList.contains("dark")||document.body.classList.contains("dark"))};t.onMounted(()=>{r.apiUrl&&h(),y(),typeof document<"u"&&(p=new MutationObserver(y),p.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]}),p.observe(document.body,{attributes:!0,attributeFilter:["class"]}))}),t.onBeforeUnmount(()=>{p&&p.disconnect()});const f=t.computed(()=>r.options&&r.options.length>0?r.options:s.value.length>0?s.value:r.model!==void 0||r.label?[{[r.model]:r.model,[r.label]:r.label}]:[]),k=I=>typeof I=="object"?I[r.model]:I,m=I=>typeof I=="object"?I[r.label]:String(I),g=Math.random().toString(36).slice(2,7),w=t.computed(()=>r.id?`radio-custom-${r.id}`:`radio-custom-${r.model}-${g}`),S=t.computed(()=>!!r.error||!!d.value),v=t.computed(()=>r.error||d.value),M=I=>{const V=i.value;return I==null?V===I:String(V)===String(I)},C=t.computed(()=>({sm:{radio:"w-3 h-3",label:"text-sm",container:"gap-2"},md:{radio:"w-4 h-4",label:"text-base",container:"gap-2"},lg:{radio:"w-5 h-5",label:"text-lg",container:"gap-3"}})[r.size]),x=t.computed(()=>r.icon&&ha[r.icon]||null),b=(I,V)=>{V.target.checked&&(i.value=I,o("update:modelValue",I),o("change",I))},L=I=>{r.disabled||M(I)||(i.value=I,o("update:modelValue",I),o("change",I))};return(I,V)=>(t.openBlock(),t.createElementBlock("div",LK,[c.value?(t.openBlock(),t.createElementBlock("div",SK,[t.createVNode(t.unref(kt),{class:"w-4 h-4 animate-spin"}),V[0]||(V[0]=t.createTextVNode(" Sedang memuat opsi... ",-1))])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(["grid",a.layout?"grid-cols-2 sm:grid-cols-3":"grid-cols-1","gap-3"])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(f.value,(A,q)=>(t.openBlock(),t.createElementBlock("div",{key:q,class:t.normalizeClass(["relative flex flex-col items-center justify-center gap-2 p-4 rounded-xl border-2 transition-all duration-200",M(k(A))?u.value?"border-primary-500 bg-primary-500/10 shadow-none":"border-primary-500 bg-primary-50 shadow-md shadow-primary-100":u.value?"border-neutral-700 bg-neutral-800 hover:border-neutral-600":"border-gray-200 bg-white hover:border-gray-300 hover:shadow-sm",a.disabled?"opacity-50 cursor-not-allowed":"cursor-pointer"]),onClick:O=>!a.disabled&&L(k(A))},[t.createElementVNode("input",{id:a.id?`${a.id}-${q}`:`${w.value}-${q}`,name:w.value,type:"radio",value:k(A),checked:M(k(A)),disabled:a.disabled,required:a.required&&q===0,onChange:O=>b(k(A),O),class:"sr-only",tabindex:"-1"},null,40,_K),t.createElementVNode("div",{class:t.normalizeClass(["w-10 h-10 rounded-full flex items-center justify-center transition-all duration-200",M(k(A))?u.value?"bg-primary-500/25 text-primary-400":"bg-primary-100 text-primary-600":u.value?"bg-neutral-700 text-neutral-500":"bg-gray-100 text-gray-400"])},[x.value?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(x.value),{key:0,class:"w-6 h-6"})):(t.openBlock(),t.createElementBlock("svg",AK,[...V[1]||(V[1]=[t.createElementVNode("circle",{cx:"10",cy:"10",r:"6"},null,-1)])]))],2),t.createElementVNode("label",{for:a.id?`${a.id}-${q}`:`${w.value}-${q}`,class:t.normalizeClass([C.value.label,"font-medium text-center leading-tight select-none transition-colors duration-200",M(k(A))?u.value?"text-primary-400":"text-primary-700":u.value?"text-neutral-300":"text-gray-700",a.disabled?"cursor-not-allowed":"cursor-pointer"])},[t.createTextVNode(t.toDisplayString(m(A))+" ",1),a.required&&f.value.length===1&&a.label?(t.openBlock(),t.createElementBlock("span",zK,"*")):t.createCommentVNode("",!0)],10,BK)],10,IK))),128))],2),S.value&&v.value?(t.openBlock(),t.createElementBlock("div",VK,[t.createVNode(t.unref(It),{class:"w-4 h-4 flex-shrink-0"}),t.createTextVNode(" "+t.toDisplayString(v.value),1)])):t.createCommentVNode("",!0)]))}}),qK={key:0,class:"ml-1 text-destructive"},PK={class:"relative w-full"},DK={key:0,class:"mb-2 flex items-center justify-between"},EK={class:"text-sm text-muted-foreground"},TK={class:"text-sm font-medium text-foreground"},HK={class:"text-sm text-muted-foreground"},jK={class:"relative"},OK=["id","value","min","max","step","disabled","placeholder"],FK={key:1,class:"relative mt-2"},RK={class:"text-xs text-muted-foreground mt-1"},NK={key:1,class:"flex items-center gap-1 text-sm text-destructive"},$K={name:"DCodeSlider"},i_=t.defineComponent({...$K,name:"DCodeSlider",inheritAttrs:!1,props:{modelValue:{default:0},min:{default:0},max:{default:100},step:{default:1},disabled:{type:Boolean,default:!1},label:{default:""},placeholder:{default:""},required:{type:Boolean,default:!1},error:{default:null},showValue:{type:Boolean,default:!0},valuePrefix:{default:""},valueSuffix:{default:""},marks:{default:()=>[]},color:{default:"blue"},size:{default:"md"}},emits:["update:modelValue","change","input"],setup(a,{emit:e}){const n=t.useAttrs(),o=e,r=a,i=t.ref(),s=t.ref(!1),c=t.computed(()=>!!r.error),d=t.computed(()=>`slider-${Math.random().toString(36).substr(2,9)}`),h=t.computed(()=>(r.label||n.label)??void 0),u=t.computed(()=>!0),p=t.computed(()=>{const C={sm:"h-2",md:"h-2.5",lg:"h-3"},x={blue:"accent-blue-500",green:"accent-green-500",red:"accent-red-500",yellow:"accent-yellow-500",purple:"accent-purple-500",gray:"accent-gray-500"};return["w-full appearance-none bg-transparent rounded-lg outline-none transition-all cursor-pointer relative z-10","disabled:opacity-50 disabled:cursor-not-allowed",C[r.size],x[r.color]||x.blue,c.value?"accent-red-500":"",n.class].filter(Boolean).join(" ")}),y=t.computed(()=>["appearance-none bg-white border-2 border-current rounded-full cursor-pointer transition-all","hover:scale-110 focus:scale-110","shadow-md hover:shadow-lg focus:shadow-lg","focus:outline-none focus:ring-2 focus:ring-offset-2",{sm:"w-4 h-4",md:"w-5 h-5",lg:"w-6 h-6"}[r.size],r.color==="blue"?"focus:ring-blue-500":r.color==="green"?"focus:ring-green-500":r.color==="red"?"focus:ring-red-500":r.color==="yellow"?"focus:ring-yellow-500":r.color==="purple"?"focus:ring-purple-500":"focus:ring-gray-500"].join(" ")),f=t.computed(()=>`${r.valuePrefix}${r.modelValue}${r.valueSuffix}`),k=t.computed(()=>{const C=r.max-r.min;return(r.modelValue-r.min)/C*100}),m=C=>{const x=C.target,b=parseFloat(x.value);o("update:modelValue",b),o("input",b)},g=C=>{const x=C.target,b=parseFloat(x.value);o("change",b)},w=()=>{s.value=!0},S=()=>{s.value=!1},v=C=>{const x=r.max-r.min;return(C-r.min)/x*100},M=t.computed(()=>{const C={sm:16,md:20,lg:24};return`
|
|
8565
8565
|
input[type="range"]::-webkit-slider-thumb {
|
|
8566
8566
|
${y.value}
|
|
8567
8567
|
width: ${C[r.size]}px;
|
|
@@ -8590,6 +8590,6 @@ For more information, see https://www.reka-ui.com/docs/components/${n}`,c=`Warni
|
|
|
8590
8590
|
input[type="range"]:focus::-moz-range-thumb {
|
|
8591
8591
|
transform: scale(1.1);
|
|
8592
8592
|
}
|
|
8593
|
-
`});return(C,x)=>t.withDirectives((t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["flex flex-col gap-2 w-full",t.unref(n).class]),"aria-busy":!1},[h.value?(t.openBlock(),t.createBlock(t.unref(Bs),{key:0,for:d.value,class:"text-sm font-medium"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(h.value)+" ",1),a.required?(t.openBlock(),t.createElementBlock("span",qK,"*")):t.createCommentVNode("",!0)]),_:1},8,["for"])):t.createCommentVNode("",!0),t.createElementVNode("div",PK,[a.showValue?(t.openBlock(),t.createElementBlock("div",DK,[t.createElementVNode("span",EK,t.toDisplayString(r.valuePrefix)+t.toDisplayString(a.min)+t.toDisplayString(r.valueSuffix),1),t.createElementVNode("span",TK,t.toDisplayString(f.value),1),t.createElementVNode("span",HK,t.toDisplayString(r.valuePrefix)+t.toDisplayString(a.max)+t.toDisplayString(r.valueSuffix),1)])):t.createCommentVNode("",!0),t.createElementVNode("div",jK,[t.createElementVNode("div",{class:t.normalizeClass(["absolute top-1/2 -translate-y-1/2 w-full h-full bg-gray-200 rounded-lg pointer-events-none",[a.size==="sm"?"h-2":a.size==="md"?"h-2.5":"h-3"]])},[t.createElementVNode("div",{class:t.normalizeClass(["absolute top-0 left-0 h-full rounded-lg transition-all",[a.color==="blue"?"bg-blue-500":a.color==="green"?"bg-green-500":a.color==="red"?"bg-red-500":a.color==="yellow"?"bg-yellow-500":a.color==="purple"?"bg-purple-500":"bg-gray-500"]]),style:t.normalizeStyle({width:`${k.value}%`})},null,6)],2),t.createElementVNode("input",{id:d.value,ref_key:"sliderRef",ref:i,type:"range",value:a.modelValue,min:a.min,max:a.max,step:a.step,disabled:a.disabled,placeholder:a.placeholder,class:t.normalizeClass(p.value),onInput:m,onChange:g,onMousedown:w,onMouseup:S,onTouchstart:w,onTouchend:S},null,42,OK)]),a.marks.length>0?(t.openBlock(),t.createElementBlock("div",FK,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.marks,b=>(t.openBlock(),t.createElementBlock("div",{key:b.value,class:"absolute flex flex-col items-center",style:t.normalizeStyle({left:`${v(b.value)}%`,transform:"translateX(-50%)"})},[x[0]||(x[0]=t.createElementVNode("div",{class:"w-1 h-2 bg-gray-400 rounded-full"},null,-1)),t.createElementVNode("span",RK,t.toDisplayString(b.label),1)],4))),128))])):t.createCommentVNode("",!0)]),c.value?(t.openBlock(),t.createElementBlock("div",NK,[x[1]||(x[1]=t.createElementVNode("svg",{class:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})],-1)),t.createTextVNode(" "+t.toDisplayString(a.error),1)])):t.createCommentVNode("",!0),M.value?(t.openBlock(),t.createBlock(t.resolveDynamicComponent("style"),{key:2},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(M.value),1)]),_:1})):t.createCommentVNode("",!0)],2)),[[t.vShow,u.value]])}}),UK={class:"inline-flex items-center gap-3"},WK=["for"],GK={key:0,class:"text-red-500 ml-1"},KK=["id","name","aria-checked","aria-label","disabled"],XK={key:0,class:"absolute inset-0 flex items-center justify-center"},ZK={class:"relative z-10 flex items-center gap-2"},YK=["id","name","aria-checked","aria-label","disabled"],QK={key:0,class:"absolute inset-0 flex items-center justify-center"},JK=["for"],eX={key:0,class:"text-red-500 ml-1"},tX={name:"DCodeSwitch"},i_=t.defineComponent({...tX,props:{modelValue:{type:Boolean,default:!1},label:{default:""},disabled:{type:Boolean,default:!1},size:{default:"medium"},color:{default:"primary"},loading:{type:Boolean,default:!1},labelPosition:{default:"right"},id:{},name:{},required:{type:Boolean,default:!1},showTooltip:{type:Boolean,default:!1},tooltipActiveText:{default:"Aktif"},tooltipInactiveText:{default:"Tidak Aktif"}},emits:["update:modelValue","change"],setup(a,{emit:e}){const n=a,o=e,r=t.computed({get:()=>n.modelValue,set:p=>{!n.disabled&&!n.loading&&(o("update:modelValue",p),o("change",p))}}),i=t.computed(()=>{switch(n.size){case"small":return"w-9 h-5";case"large":return"w-14 h-7";default:return"w-11 h-6"}}),s=t.computed(()=>{switch(n.size){case"small":return"w-4 h-4";case"large":return"w-6 h-6";default:return"w-5 h-5"}}),c=t.computed(()=>{switch(n.size){case"small":return"translate-x-4";case"large":return"translate-x-7";default:return"translate-x-5"}}),d=t.computed(()=>{if(n.disabled)return"bg-gray-300";if(!r.value)return"bg-gray-200";switch(n.color){case"success":return"bg-green-500";case"warning":return"bg-yellow-500";case"danger":return"bg-red-500";default:return"bg-blue-500"}}),h=()=>{r.value=!r.value},u=t.computed(()=>r.value?n.tooltipActiveText:n.tooltipInactiveText);return(p,y)=>(t.openBlock(),t.createElementBlock("div",UK,[a.label&&a.labelPosition==="left"?(t.openBlock(),t.createElementBlock("label",{key:0,for:a.id,class:t.normalizeClass(["text-sm font-medium text-gray-700 cursor-pointer",{"opacity-50":a.disabled}])},[t.createTextVNode(t.toDisplayString(a.label)+" ",1),a.required?(t.openBlock(),t.createElementBlock("span",GK,"*")):t.createCommentVNode("",!0)],10,WK)):t.createCommentVNode("",!0),t.createVNode(t.unref(iB),null,{default:t.withCtx(()=>[a.showTooltip?(t.openBlock(),t.createBlock(t.unref(oB),{key:0,"delay-duration":200},{default:t.withCtx(()=>[t.createVNode(t.unref(sB),{"as-child":""},{default:t.withCtx(()=>[t.createElementVNode("button",{type:"button",id:a.id,name:a.name,"aria-checked":r.value?"true":"false","aria-label":a.label||"Toggle switch",disabled:a.disabled||a.loading,class:t.normalizeClass([i.value,d.value,"relative inline-flex items-center rounded-full transition-all duration-300 ease-in-out focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500","hover:scale-105 active:scale-95",{"cursor-not-allowed opacity-50":a.disabled,"cursor-wait":a.loading,"cursor-pointer":!a.disabled&&!a.loading}]),onClick:h},[t.createElementVNode("span",{class:t.normalizeClass([s.value,r.value?c.value:"translate-x-0.5","inline-block transform rounded-full bg-white shadow-lg transition-all duration-300 ease-in-out","hover:shadow-xl flex items-center justify-center"])},[a.loading?(t.openBlock(),t.createElementBlock("span",XK,[...y[0]||(y[0]=[t.createElementVNode("svg",{class:"animate-spin h-3 w-3 text-gray-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),t.createElementVNode("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})],-1)])])):t.createCommentVNode("",!0),t.createVNode(t.Transition,{"enter-active-class":"transition-all duration-200 ease-out","enter-from-class":"scale-0 rotate-90 opacity-0","enter-to-class":"scale-100 rotate-0 opacity-100","leave-active-class":"transition-all duration-150 ease-in","leave-from-class":"scale-100 rotate-0 opacity-100","leave-to-class":"scale-0 -rotate-90 opacity-0"},{default:t.withCtx(()=>[r.value&&!a.loading?(t.openBlock(),t.createBlock(t.unref(sa),{key:0,class:t.normalizeClass([a.size==="small"?"w-2.5 h-2.5":a.size==="large"?"w-4 h-4":"w-3 h-3","text-green-600 stroke-[3]"])},null,8,["class"])):!r.value&&!a.loading?(t.openBlock(),t.createBlock(t.unref(it),{key:1,class:t.normalizeClass([a.size==="small"?"w-2.5 h-2.5":a.size==="large"?"w-4 h-4":"w-3 h-3","text-gray-400 stroke-[3]"])},null,8,["class"])):t.createCommentVNode("",!0)]),_:1})],2)],10,KK)]),_:1}),t.createVNode(t.unref(rB),{side:"top","side-offset":8,class:t.normalizeClass(["animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 px-3 py-2 rounded-lg text-sm font-medium shadow-xl border-0",[r.value?"bg-green-600 dark:bg-green-500 text-white":"bg-gray-700 dark:bg-gray-600 text-white"]])},{default:t.withCtx(()=>[t.createElementVNode("span",ZK,[t.createElementVNode("span",{class:t.normalizeClass(["inline-block w-2 h-2 rounded-full animate-pulse",r.value?"bg-green-200":"bg-gray-300"])},null,2),t.createTextVNode(" "+t.toDisplayString(u.value),1)])]),_:1},8,["class"])]),_:1})):(t.openBlock(),t.createElementBlock("button",{key:1,type:"button",id:a.id,name:a.name,"aria-checked":r.value?"true":"false","aria-label":a.label||"Toggle switch",disabled:a.disabled||a.loading,class:t.normalizeClass([i.value,d.value,"relative inline-flex items-center rounded-full transition-all duration-300 ease-in-out focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500","hover:scale-105 active:scale-95",{"cursor-not-allowed opacity-50":a.disabled,"cursor-wait":a.loading,"cursor-pointer":!a.disabled&&!a.loading}]),onClick:h},[t.createElementVNode("span",{class:t.normalizeClass([s.value,r.value?c.value:"translate-x-0.5","inline-block transform rounded-full bg-white shadow-lg transition-all duration-300 ease-in-out","hover:shadow-xl flex items-center justify-center"])},[a.loading?(t.openBlock(),t.createElementBlock("span",QK,[...y[1]||(y[1]=[t.createElementVNode("svg",{class:"animate-spin h-3 w-3 text-gray-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),t.createElementVNode("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})],-1)])])):t.createCommentVNode("",!0),t.createVNode(t.Transition,{"enter-active-class":"transition-all duration-200 ease-out","enter-from-class":"scale-0 rotate-90 opacity-0","enter-to-class":"scale-100 rotate-0 opacity-100","leave-active-class":"transition-all duration-150 ease-in","leave-from-class":"scale-100 rotate-0 opacity-100","leave-to-class":"scale-0 -rotate-90 opacity-0"},{default:t.withCtx(()=>[r.value&&!a.loading?(t.openBlock(),t.createBlock(t.unref(sa),{key:0,class:t.normalizeClass([a.size==="small"?"w-2.5 h-2.5":a.size==="large"?"w-4 h-4":"w-3 h-3","text-green-600 stroke-[3]"])},null,8,["class"])):!r.value&&!a.loading?(t.openBlock(),t.createBlock(t.unref(it),{key:1,class:t.normalizeClass([a.size==="small"?"w-2.5 h-2.5":a.size==="large"?"w-4 h-4":"w-3 h-3","text-gray-400 stroke-[3]"])},null,8,["class"])):t.createCommentVNode("",!0)]),_:1})],2)],10,YK))]),_:1}),a.label&&a.labelPosition==="right"?(t.openBlock(),t.createElementBlock("label",{key:1,for:a.id,class:t.normalizeClass(["text-sm font-medium text-gray-700 cursor-pointer",{"opacity-50":a.disabled}])},[t.createTextVNode(t.toDisplayString(a.label)+" ",1),a.required?(t.openBlock(),t.createElementBlock("span",eX,"*")):t.createCommentVNode("",!0)],10,JK)):t.createCommentVNode("",!0)]))}}),aX=["aria-busy"],nX={key:0,class:"h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},oX={key:1,class:"flex justify-end"},rX={key:0,class:"ml-1 text-destructive"},iX={class:"relative w-full group"},sX={key:0,class:"absolute inset-y-0 left-4 flex items-center text-muted-foreground"},lX={key:1},cX={key:1,class:"absolute inset-y-0 right-4 flex items-center"},dX={key:2,class:"absolute inset-y-0 right-4 flex items-center"},hX={key:3,class:"absolute top-full right-0 z-10 text-[11px] text-gray-500 dark:text-gray-400 opacity-0 transition-opacity pointer-events-none group-focus-within:opacity-100"},uX={key:1,class:"text-xs text-destructive"},s_=t.defineComponent({name:"DCodeTextField",inheritAttrs:!1,__name:"DCodeTextField",props:{modelValue:{},prependInner:{},clearable:{type:Boolean},hideClearWhenEmpty:{type:Boolean,default:!0},textCase:{default:"none"},applyTextCaseToValue:{type:Boolean,default:!0},valueType:{default:"free"},allowSpaces:{type:Boolean,default:!0},allowChars:{},pattern:{},visible:{type:Boolean,default:!0},skeleton:{type:Boolean,default:!1},showCharCount:{type:Boolean,default:!0},returnNumber:{type:Boolean,default:!1},error:{default:null},placeholder:{default:""},icon:{},disabled:{type:Boolean,default:!1}},emits:["update:modelValue","clear"],setup(a,{emit:e}){const n=t.useAttrs(),o=t.computed(()=>{var P;return((P=c.valueType)==null?void 0:P.toLowerCase())==="password"||n.type==="password"}),r=t.ref(!1),i=()=>{r.value=!r.value},s=e,c=a,d=t.computed(()=>n.label);t.computed(()=>c.visible??!0);const h=Math.random().toString(36).slice(2,7),u=t.computed(()=>`app-text-field-${n.id||d.value||"field"}-${h}`),p=t.computed(()=>{const P=n.required,$=n["aria-required"];return P===""||P===!0||P==="true"||($==="true"||$===!0)}),y=t.computed(()=>{const{label:P,class:$,id:Q,required:pe,"aria-required":Pe,...ot}=n;return ot}),f=t.computed(()=>{var $,Q;const P={...y.value};return(($=c.valueType)==null?void 0:$.toLowerCase())==="number"&&(P.type="text",P.inputmode="numeric",P.pattern="[0-9]*"),((Q=c.valueType)==null?void 0:Q.toLowerCase())==="email"&&(P.type="email",P.inputmode="email"),o.value&&(P.type=r.value?"text":"password"),c.disabled&&(P.disabled=!0),P}),k=t.computed(()=>{const P=c.modelValue;return P==null||String(P).length===0}),m=t.computed(()=>c.clearable?c.hideClearWhenEmpty?!k.value:!0:!1),g=t.computed(()=>{switch(c.textCase){case"uppercase":return"uppercase";case"lowercase":return"lowercase";default:return"none"}}),w=t.ref(String(c.modelValue??""));t.watch(()=>c.modelValue,P=>{const $=String(P??"");$!==w.value&&(w.value=$)});const S=t.ref(!1),v=t.ref(!1),M=P=>P.split(/(\s+)/).map($=>{if($.trim()==="")return $;const Q=$.toLowerCase();return Q.charAt(0).toUpperCase()+Q.slice(1)}).join(""),C=P=>{const $=P.toLowerCase(),Q=$.search(new RegExp("\\p{L}","u"));return Q<0?$:$.slice(0,Q)+$.charAt(Q).toUpperCase()+$.slice(Q+1)},x=P=>{switch(c.textCase){case"uppercase":return P.toUpperCase();case"lowercase":return P.toLowerCase();case"titlecase":return M(P);case"sentencecase":return C(P);case"none":default:return P}},b=P=>{if(!P)return null;const $=Array.isArray(P)?P.join(""):P;return $?new Set($):null},L=t.computed(()=>b(c.allowChars)),I=(P,$)=>(P.lastIndex=0,P.test($)),z=P=>{var bt;const $=(bt=c.valueType)==null?void 0:bt.toLowerCase();if($==="free"||$==="email"||$==="password")return!0;const Q=P===" ",pe=/\d/.test(P),Pe=new RegExp("\\p{L}","u").test(P),ot=new RegExp("\\p{N}","u").test(P);return $==="number"?pe:$==="letter"?Pe||c.allowSpaces&&Q:$==="letternumber"?Pe||ot||c.allowSpaces&&Q:!0},A=P=>{let $="";for(const Q of P){const pe=!!L.value&&L.value.has(Q);c.pattern&&!pe&&!I(c.pattern,Q)||!pe&&!z(Q)||($+=Q)}return $},q=t.computed(()=>{const P=n.maxlength??n.maxLength;let $=Number.NaN;return typeof P=="number"?$=P:typeof P=="string"&&($=Number.parseInt(P,10)),Number.isFinite($)&&$>0?$:-1}),O=t.computed(()=>w.value.length),H=t.computed(()=>c.showCharCount?q.value>0:!1),W=P=>q.value>0?P.slice(0,q.value):P,T=P=>{const $=A(P),Q=c.applyTextCaseToValue?x($):$;return W(Q)};let j=null;const R=P=>{var $;if(P==="")return null;if((($=c.valueType)==null?void 0:$.toLowerCase())==="number"&&c.returnNumber){const Q=Number(P);return Number.isFinite(Q)?Q:null}return P},Y=P=>{w.value=P,s("update:modelValue",R(P))},B=(P,$)=>{const Q=W($);v.value=!0,P.value=Q,Y(Q),queueMicrotask(()=>v.value=!1)},V=(P,$)=>{const Q=P.selectionStart??P.value.length,pe=P.selectionEnd??P.value.length;if(q.value>0){const Pe=P.value.length-(pe-Q),ot=q.value-Pe;if(ot<=0)return;$=$.slice(0,ot)}P.setRangeText($,Q,pe,"end"),B(P,T(P.value))},U=P=>{var pe;if(!j||S.value||v.value||!((pe=P.inputType)!=null&&pe.startsWith("insert")))return;const $=P.data;if($==null)return;const Q=T($);Q!==$&&(P.preventDefault(),Q.length>0&&V(j,Q))},oe=P=>{var pe;if(!j||S.value||v.value)return;const $=((pe=P.clipboardData)==null?void 0:pe.getData("text"))??"",Q=T($);Q!==$&&(P.preventDefault(),Q.length>0&&V(j,Q))},ee=P=>{if(!j||S.value||v.value)return;const $=P.target,Q=$.value??"",pe=T(Q);pe===Q?Y(pe):B($,pe)},de=()=>S.value=!0,ce=()=>{if(S.value=!1,!j)return;const P=j.value??"",$=T(P);$===P?Y($):B(j,$)};t.onMounted(()=>{if(j=document.getElementById(u.value),!j)return;j.addEventListener("beforeinput",U),j.addEventListener("paste",oe),j.addEventListener("input",ee),j.addEventListener("compositionstart",de),j.addEventListener("compositionend",ce);const P=j.value??"",$=T(P);$===P?Y($):B(j,$)}),t.onBeforeUnmount(()=>{j&&(j.removeEventListener("beforeinput",U),j.removeEventListener("paste",oe),j.removeEventListener("input",ee),j.removeEventListener("compositionstart",de),j.removeEventListener("compositionend",ce),j=null)});const ue=()=>{w.value="",j&&(j.value=""),s("update:modelValue",null),s("clear")},ve=t.computed(()=>H.value&&O.value>0),le=t.computed(()=>`${O.value} / ${q.value}`),X=t.computed(()=>!!c.error);return(P,$)=>t.withDirectives((t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["flex flex-col gap-1 w-full",t.unref(n).class]),"aria-busy":c.skeleton},[c.skeleton?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[d.value?(t.openBlock(),t.createElementBlock("div",nX)):t.createCommentVNode("",!0),$[1]||($[1]=t.createElementVNode("div",{class:"relative w-full"},[t.createElementVNode("div",{class:"h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse"})],-1)),H.value?(t.openBlock(),t.createElementBlock("div",oX,[...$[0]||($[0]=[t.createElementVNode("div",{class:"h-3 w-14 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},null,-1)])])):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[d.value?(t.openBlock(),t.createBlock(t.unref(Bs),{key:0,for:u.value,class:"text-sm font-medium"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(d.value)+" ",1),p.value?(t.openBlock(),t.createElementBlock("span",rX,"*")):t.createCommentVNode("",!0)]),_:1},8,["for"])):t.createCommentVNode("",!0),t.createElementVNode("div",iX,[c.icon||c.prependInner||P.$slots["prepend-inner"]?(t.openBlock(),t.createElementBlock("div",sX,[t.renderSlot(P.$slots,"prepend-inner",{},()=>[c.icon?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(c.icon),{key:0,class:"h-4 w-4"})):c.prependInner?(t.openBlock(),t.createElementBlock("span",lX,t.toDisplayString(c.prependInner),1)):t.createCommentVNode("",!0)])])):t.createCommentVNode("",!0),t.createVNode(t.unref(o_),t.mergeProps({id:u.value,modelValue:w.value},f.value,{placeholder:c.placeholder,style:`text-transform: ${g.value}; padding-left: ${c.icon||c.prependInner||P.$slots["prepend-inner"]?"2.5rem":"0.75rem"} !important; padding-right: ${m.value||o.value?"2.5rem":"0.75rem"} !important;`,class:["w-full h-10 flex items-center gap-2 rounded-lg border py-2 bg-white dark:bg-neutral-900 text-foreground dark:text-gray-300 border-gray-300 dark:border-gray-700 focus-within:ring-1 focus-within:ring-white",X.value?"border-destructive focus:ring-destructive focus-visible:ring-destructive focus-visible:ring-[0.5px]":""]}),null,16,["id","modelValue","placeholder","style","class"]),o.value?(t.openBlock(),t.createElementBlock("div",cX,[t.createElementVNode("button",{type:"button",class:"text-muted-foreground hover:text-foreground",tabindex:"-1",onClick:i},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(r.value?t.unref(cs):t.unref(Us)),{class:"w-4 h-4"}))])])):t.createCommentVNode("",!0),m.value&&!o.value?(t.openBlock(),t.createElementBlock("div",dX,[t.createElementVNode("button",{type:"button",class:"text-muted-foreground hover:text-foreground text-lg leading-none","aria-label":"Clear input",onClick:ue}," ✕ ")])):t.createCommentVNode("",!0),ve.value&&!X.value?(t.openBlock(),t.createElementBlock("p",hX,t.toDisplayString(le.value),1)):t.createCommentVNode("",!0)]),X.value?(t.openBlock(),t.createElementBlock("p",uX,t.toDisplayString(c.error),1)):t.createCommentVNode("",!0)],64))],10,aX)),[[t.vShow,a.visible]])}}),pX=["aria-busy"],yX={key:0,class:"h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},fX={key:0,class:"ml-1 text-destructive"},kX={class:"relative w-full group"},mX=["id","value"],gX={key:0,class:"absolute top-1 right-2"},MX={key:1,class:"absolute top-full right-0 z-10 text-[11px] text-gray-500 dark:text-gray-400 opacity-0 transition-opacity pointer-events-none group-focus-within:opacity-100"},bX={key:1,class:"text-xs text-destructive"},pS=t.defineComponent({name:"DCodeTextarea",inheritAttrs:!1,__name:"DCodeTextarea",props:{modelValue:{},clearable:{type:Boolean},hideClearWhenEmpty:{type:Boolean,default:!0},textCase:{default:"none"},applyTextCaseToValue:{type:Boolean,default:!0},valueType:{default:"free"},allowSpaces:{type:Boolean,default:!0},allowChars:{},pattern:{},visible:{type:Boolean,default:!0},skeleton:{type:Boolean,default:!1},showCharCount:{type:Boolean,default:!0},returnNumber:{type:Boolean,default:!1},error:{default:null}},emits:["update:modelValue","clear"],setup(a,{emit:e}){const n=t.useAttrs(),o=e,r=a,i=t.computed(()=>n.label),s=t.computed(()=>r.visible??!0),c=Math.random().toString(36).slice(2,7),d=t.computed(()=>`app-textarea-${n.id||i.value||"field"}-${c}`),h=t.computed(()=>{const X=n.required,P=n["aria-required"];return X===""||X===!0||X==="true"||(P==="true"||P===!0)}),u=t.computed(()=>{const{label:X,class:P,id:$,required:Q,"aria-required":pe,...Pe}=n;return Pe}),p=t.computed(()=>{const X=n.maxlength;let P=Number.NaN;return typeof X=="number"?P=X:typeof X=="string"&&(P=Number.parseInt(X,10)),Number.isFinite(P)&&P>0?P:-1}),y=X=>p.value>0?X.slice(0,p.value):X,f=t.computed(()=>{const X=r.modelValue;return X==null||String(X).length===0}),k=t.computed(()=>r.clearable?r.hideClearWhenEmpty?!f.value:!0:!1),m=t.ref(String(r.modelValue??""));t.watch(()=>r.modelValue,X=>{const P=String(X??"");P!==m.value&&(m.value=P)});const g=t.ref(!1),w=t.ref(!1),S=X=>X.split(/(\s+)/).map(P=>{if(P.trim()==="")return P;const $=P.toLowerCase();return $.charAt(0).toUpperCase()+$.slice(1)}).join(""),v=X=>{const P=X.toLowerCase(),$=P.search(new RegExp("\\p{L}","u"));return $<0?P:P.slice(0,$)+P.charAt($).toUpperCase()+P.slice($+1)},M=X=>{switch(r.textCase){case"uppercase":return X.toUpperCase();case"lowercase":return X.toLowerCase();case"titlecase":return S(X);case"sentencecase":return v(X);case"none":default:return X}},C=t.computed(()=>{switch(r.textCase){case"uppercase":return"uppercase";case"lowercase":return"lowercase";default:return"none"}}),x=X=>{if(!X)return null;const P=Array.isArray(X)?X.join(""):X;return P?new Set(P):null},b=t.computed(()=>x(r.allowChars)),L=(X,P)=>(X.lastIndex=0,X.test(P)),I=X=>{if(X===`
|
|
8594
|
-
`)return r.valueType!=="number";if(r.valueType==="free")return!0;const P=X===" ",$=/\d/.test(X),Q=new RegExp("\\p{L}","u").test(X),pe=new RegExp("\\p{N}","u").test(X);return r.valueType==="number"?$:r.valueType==="letter"?Q||r.allowSpaces&&P:r.valueType==="letternumber"?Q||pe||r.allowSpaces&&P:!0},
|
|
8595
|
-
`,""),$=Number(P);return Number.isFinite($)?$:null}return X},H=X=>{m.value=X,o("update:modelValue",O(X))},W=(X,P)=>{const $=y(P);w.value=!0,X.value=$,H($),queueMicrotask(()=>w.value=!1)},T=(X,P)=>{const $=X.selectionStart??X.value.length,Q=X.selectionEnd??X.value.length;if(p.value>0){const pe=X.value.length-(Q-$),Pe=p.value-pe;if(Pe<=0)return;P=P.slice(0,Pe)}X.setRangeText(P,$,Q,"end"),W(X,A(X.value))},j=X=>{var Q;if(!q||g.value||w.value||!((Q=X.inputType)!=null&&Q.startsWith("insert")))return;const P=X.data;if(P==null)return;const $=A(P);$!==P&&(X.preventDefault(),$.length>0&&T(q,$))},R=X=>{var Q;if(!q||g.value||w.value)return;const P=((Q=X.clipboardData)==null?void 0:Q.getData("text"))??"",$=A(P);$!==P&&(X.preventDefault(),$.length>0&&T(q,$))},Y=async X=>{if(!q||g.value||w.value)return;const P=X.target,$=P.value??"",Q=A($);if(Q===$){const pe=P.selectionStart??Q.length,Pe=P.selectionEnd??Q.length;W(P,Q),await t.nextTick();try{P.setSelectionRange(pe,Pe)}catch{}H(Q)}else{const pe=P.selectionStart??Q.length,Pe=P.selectionEnd??Q.length;W(P,Q),await t.nextTick();try{P.setSelectionRange(pe,Pe)}catch{}}},B=()=>g.value=!0,V=()=>{if(g.value=!1,!q)return;const X=q.value??"",P=A(X);P===X?H(P):W(q,P)};t.onMounted(()=>{if(q=document.getElementById(d.value),!q)return;q.addEventListener("beforeinput",j),q.addEventListener("paste",R),q.addEventListener("input",Y),q.addEventListener("compositionstart",B),q.addEventListener("compositionend",V);const X=q.value??"",P=A(X);P===X?H(P):W(q,P)}),t.onBeforeUnmount(()=>{q&&(q.removeEventListener("beforeinput",j),q.removeEventListener("paste",R),q.removeEventListener("input",Y),q.removeEventListener("compositionstart",B),q.removeEventListener("compositionend",V),q=null)});const U=()=>{m.value="",q&&(q.value=""),o("update:modelValue",null),o("clear")},oe=t.computed(()=>m.value.length),ee=t.computed(()=>r.showCharCount?p.value>0:!1),de=t.computed(()=>ee.value&&oe.value>0),ce=t.computed(()=>`${oe.value} / ${p.value}`),ue=t.computed(()=>!!r.error),ve=t.computed(()=>{const X=n.rows,P=typeof X=="number"?X:Number.parseInt(String(X??""),10);return Number.isFinite(P)&&P>0?P:3}),le=t.computed(()=>({height:`${ve.value*24+16}px`}));return(X,P)=>t.withDirectives((t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["flex flex-col gap-1 w-full",t.unref(n).class]),"aria-busy":r.skeleton},[r.skeleton?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[i.value?(t.openBlock(),t.createElementBlock("div",yX)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:"w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse",style:t.normalizeStyle(le.value)},null,4)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[i.value?(t.openBlock(),t.createBlock(t.unref(Bs),{key:0,for:d.value,class:"text-sm font-medium"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(i.value)+" ",1),h.value?(t.openBlock(),t.createElementBlock("span",fX,"*")):t.createCommentVNode("",!0)]),_:1},8,["for"])):t.createCommentVNode("",!0),t.createElementVNode("div",kX,[t.createElementVNode("textarea",t.mergeProps({id:d.value,value:m.value},u.value,{style:`text-transform: ${C.value}; padding-right: ${k.value?"2.5rem":"0.75rem"} !important; padding-left: 0.75rem !important;`,class:["flex min-h-[120px] w-full rounded-lg border py-2 bg-white dark:bg-neutral-900 text-foreground dark:text-gray-300 border-gray-300 dark:border-gray-700 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",ue.value?"border-destructive focus-visible:ring-destructive":""]}),null,16,mX),k.value?(t.openBlock(),t.createElementBlock("div",gX,[t.createElementVNode("button",{type:"button",class:"text-muted-foreground hover:text-foreground text-sm leading-none","aria-label":"Clear textarea",onClick:U}," ✕ ")])):t.createCommentVNode("",!0),de.value&&!ue.value?(t.openBlock(),t.createElementBlock("p",MX,t.toDisplayString(ce.value),1)):t.createCommentVNode("",!0)]),ue.value?(t.openBlock(),t.createElementBlock("p",bX,t.toDisplayString(r.error),1)):t.createCommentVNode("",!0)],64))],10,pX)),[[t.vShow,s.value]])}}),$z=t.defineComponent({__name:"Avatar",props:{class:{type:[Boolean,null,String,Object,Array]},size:{default:"sm"},shape:{default:"circle"}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createBlock(t.unref(OT),{class:t.normalizeClass(t.unref(ke)(t.unref(xX)({size:a.size,shape:a.shape}),e.class))},{default:t.withCtx(()=>[t.renderSlot(n.$slots,"default")]),_:3},8,["class"]))}}),Uz=t.defineComponent({__name:"AvatarFallback",props:{delayMs:{},asChild:{type:Boolean},as:{}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createBlock(t.unref(RT),t.normalizeProps(t.guardReactiveProps(e)),{default:t.withCtx(()=>[t.renderSlot(n.$slots,"default")]),_:3},16))}}),Wz=t.defineComponent({__name:"AvatarImage",props:{src:{},referrerPolicy:{},crossOrigin:{},asChild:{type:Boolean},as:{}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createBlock(t.unref(UT),t.mergeProps(e,{class:"h-full w-full object-cover"}),{default:t.withCtx(()=>[t.renderSlot(n.$slots,"default")]),_:3},16))}}),xX=i1("inline-flex items-center justify-center font-normal text-foreground select-none shrink-0 bg-secondary overflow-hidden",{variants:{size:{sm:"h-10 w-10 text-xs",base:"h-16 w-16 text-2xl",lg:"h-32 w-32 text-5xl"},shape:{circle:"rounded-full",square:"rounded-md"}}}),yS=t.defineComponent({__name:"Separator",props:{orientation:{default:"horizontal"},decorative:{type:Boolean,default:!0},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a,n=Ee(e,"class");return(o,r)=>(t.openBlock(),t.createBlock(t.unref(fj),t.mergeProps(t.unref(n),{class:t.unref(ke)("shrink-0 bg-border",e.orientation==="horizontal"?"h-px w-full":"w-px h-full",e.class)}),null,16,["class"]))}}),wX={class:"bg-card text-card-foreground"},vX={class:"pb-6 px-3"},CX={key:0,class:"flex justify-center p-8"},LX={key:1,class:"p-8 text-center text-red-500"},SX={key:2,class:"relative"},IX={class:"space-y-6"},_X={class:"rounded-xl border bg-card text-card-foreground shadow"},AX={class:"p-4"},BX={class:"flex items-center justify-between gap-3"},VX={class:"font-medium"},zX={class:"text-xs text-muted-foreground"},qX={class:"mt-1 text-sm text-muted-foreground"},PX={class:"text-foreground"},DX={class:"text-foreground"},EX={class:"mt-1 text-xs text-muted-foreground"},TX={key:0,class:"mt-3 flex items-center gap-2 text-sm"},HX={class:"flex items-center justify-between gap-3"},jX={class:"font-medium"},OX={class:"text-xs text-muted-foreground"},FX={class:"mt-2 text-sm text-muted-foreground"},RX={class:"flex flex-wrap items-center justify-between gap-3"},NX={class:"flex items-center gap-3"},$X={class:"leading-tight"},UX={class:"text-sm font-medium"},WX={class:"text-xs text-muted-foreground"},GX={class:"flex items-center gap-2"},KX={key:2,class:"flex flex-col gap-3 sm:flex-row sm:items-start"},XX={class:"h-16 w-16 shrink-0 rounded-lg bg-muted flex items-center justify-center"},ZX=["src"],YX={class:"flex-1"},QX={class:"flex items-center justify-between gap-3"},JX={class:"font-medium"},eZ={class:"text-xs text-muted-foreground"},tZ={class:"mt-1 text-sm text-muted-foreground"},aZ={class:"text-left sm:text-center"},nZ={class:"text-xs text-muted-foreground"},oZ={class:"text-left sm:text-center"},rZ={class:"text-xs text-muted-foreground"},iZ={class:"text-left sm:text-center"},sZ={class:"text-xs text-muted-foreground"},lZ={class:"flex items-center justify-between gap-3"},cZ={class:"font-medium"},dZ={class:"text-xs text-muted-foreground"},hZ={class:"mt-2 text-sm text-muted-foreground"},uZ={class:"mt-3 flex items-center gap-3"},pZ={class:"text-sm font-medium"},yZ={class:"flex items-start justify-between gap-3"},fZ={class:"font-medium"},kZ={class:"mt-3 grid gap-2 text-sm"},mZ={class:"flex items-center justify-between gap-3"},gZ={class:"flex items-center gap-2 text-muted-foreground"},MZ={class:"font-medium"},bZ={class:"flex items-center justify-between gap-3"},xZ={class:"flex items-center gap-2 text-muted-foreground"},wZ={class:"font-medium"},vZ={class:"flex items-center justify-between gap-3"},CZ={class:"flex items-center gap-2 text-muted-foreground"},LZ={class:"font-medium"},SZ={class:"flex items-center justify-between"},IZ={class:"flex items-center gap-2"},_Z={class:"flex items-start justify-between gap-3"},AZ={class:"flex items-center gap-2"},BZ={class:"font-medium"},VZ={class:"mt-2 text-sm text-muted-foreground"},zZ={key:0,class:"mt-1 text-sm text-muted-foreground"},qZ={class:"flex flex-wrap items-center justify-between gap-3"},PZ={class:"flex items-center gap-2"},DZ={class:"text-xs text-muted-foreground"},Gz=t.defineComponent({__name:"DCodeTimelineWithIcons",props:{items:{},apiUrl:{},apiMethod:{}},setup(a){const n=AE(_E).smaller("md");t.ref(!1);const o=a,r=t.ref(!1),i=t.ref(null),s=t.ref([]),c=t.computed(()=>s.value.length>0?s.value:o.items&&o.items.length>0?o.items:[]),d=async()=>{if(o.apiUrl){r.value=!0,i.value=null;try{const p=await fetch(o.apiUrl,{method:o.apiMethod||"GET",headers:{"Content-Type":"application/json"}});if(!p.ok)throw new Error(`Error: ${p.status} ${p.statusText}`);const y=await p.json();Array.isArray(y)?s.value=y:y.data&&Array.isArray(y.data)?s.value=y.data:y.items&&Array.isArray(y.items)?s.value=y.items:s.value=[]}catch(p){console.error("Failed to fetch timeline items:",p),i.value=p.message||"Failed to fetch data"}finally{r.value=!1}}};t.onMounted(()=>{o.apiUrl&&d()}),t.watch(()=>o.apiUrl,()=>{o.apiUrl?d():s.value=[]});const h=p=>{switch(p){case"flight":return{Icon:Ys,Circle:"bg-primary/10 text-primary border-primary/30"};case"interview":return{Icon:Ns,Circle:"bg-emerald-500/10 text-emerald-600 border-emerald-500/30"};case"product":return{Icon:t1,Circle:"bg-amber-500/10 text-amber-600 border-amber-500/30"};case"design":return{Icon:ir,Circle:"bg-sky-500/10 text-sky-600 border-sky-500/30"};case"server":return{Icon:Js,Circle:"bg-rose-500/10 text-rose-600 border-rose-500/30"};case"location":return{Icon:Ks,Circle:"bg-emerald-500/10 text-emerald-600 border-emerald-500/30"};default:return{Icon:Rs,Circle:"bg-primary/10 text-primary border-primary/30"}}},u=p=>p.split(" ").filter(Boolean).slice(0,2).map(y=>{var f;return(f=y[0])==null?void 0:f.toUpperCase()}).join("");return(p,y)=>{const f=t.resolveComponent("ShoppingCart"),k=t.resolveComponent("RefreshCcw"),m=t.resolveComponent("MapPin");return t.openBlock(),t.createElementBlock("div",wX,[y[8]||(y[8]=t.createElementVNode("div",{class:"flex flex-col space-y-1.5 py-6 px-3"},[t.createElementVNode("h3",{class:"leading-none tracking-tight text-lg font-medium"},"Timeline With Icons")],-1)),t.createElementVNode("div",vX,[r.value?(t.openBlock(),t.createElementBlock("div",CX,[...y[0]||(y[0]=[t.createElementVNode("div",{class:"animate-spin rounded-full h-8 w-8 border-b-2 border-primary"},null,-1)])])):i.value?(t.openBlock(),t.createElementBlock("div",LX,t.toDisplayString(i.value),1)):(t.openBlock(),t.createElementBlock("div",SX,[y[7]||(y[7]=t.createElementVNode("div",{class:"absolute left-4 top-0 h-full w-px bg-border"},null,-1)),t.createElementVNode("div",IX,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(c.value,(g,w)=>(t.openBlock(),t.createElementBlock("div",{key:w,class:"relative pl-14"},[t.createElementVNode("div",{class:t.normalizeClass(["absolute left-0 top-2 flex h-8 w-8 items-center justify-center rounded-full border",h(g.type).Circle])},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(h(g.type).Icon),{class:"h-4 w-4"}))],2),t.createElementVNode("div",_X,[t.createElementVNode("div",AX,[g.type==="flight"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("div",BX,[t.createElementVNode("p",VX,t.toDisplayString(g.title),1),t.createElementVNode("p",zX,t.toDisplayString(g.meta),1)]),t.createElementVNode("p",qX,[t.createElementVNode("span",PX,t.toDisplayString(g.from),1),t.createVNode(t.unref(Ts),{class:"mx-2 inline h-4 w-4"}),t.createElementVNode("span",DX,t.toDisplayString(g.to),1)]),t.createElementVNode("p",EX,t.toDisplayString(g.time),1),g.fileName?(t.openBlock(),t.createElementBlock("div",TX,[t.createVNode(t.unref(ds),{class:"h-4 w-4 text-muted-foreground"}),t.createElementVNode("span",null,t.toDisplayString(g.fileName),1)])):t.createCommentVNode("",!0)],64)):g.type==="interview"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createElementVNode("div",HX,[t.createElementVNode("p",jX,t.toDisplayString(g.title),1),t.createElementVNode("p",OX,t.toDisplayString(g.meta),1)]),t.createElementVNode("p",FX,t.toDisplayString(g.desc),1),t.createVNode(t.unref(yS),{class:"my-4"}),t.createElementVNode("div",RX,[t.createElementVNode("div",NX,[t.createVNode(t.unref($z),{class:"h-10 w-10"},{default:t.withCtx(()=>[g.avatarUrl?(t.openBlock(),t.createBlock(t.unref(Wz),{key:0,src:g.avatarUrl},null,8,["src"])):t.createCommentVNode("",!0),t.createVNode(t.unref(Uz),null,{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(u(g.personName??"")),1)]),_:2},1024)]),_:2},1024),t.createElementVNode("div",$X,[t.createElementVNode("p",UX,t.toDisplayString(g.personName),1),t.createElementVNode("p",WX,t.toDisplayString(g.personRole),1)])]),t.createElementVNode("div",GX,[t.createVNode(t.unref(Ae),{size:"icon",variant:"ghost"},{default:t.withCtx(()=>[t.createVNode(t.unref(hs),{class:"h-4 w-4"})]),_:1}),t.createVNode(t.unref(Ae),{size:"icon",variant:"ghost"},{default:t.withCtx(()=>[t.createVNode(t.unref(Zs),{class:"h-4 w-4"})]),_:1})])])],64)):g.type==="product"?(t.openBlock(),t.createElementBlock("div",KX,[t.createElementVNode("div",XX,[g.imgUrl?(t.openBlock(),t.createElementBlock("img",{key:0,src:g.imgUrl,class:"h-full w-full rounded-lg object-cover",alt:"product"},null,8,ZX)):(t.openBlock(),t.createBlock(f,{key:1,class:"h-5 w-5 text-muted-foreground"}))]),t.createElementVNode("div",YX,[t.createElementVNode("div",QX,[t.createElementVNode("p",JX,t.toDisplayString(g.title),1),t.createElementVNode("p",eZ,t.toDisplayString(g.meta),1)]),t.createElementVNode("p",tZ,t.toDisplayString(g.desc),1),t.createElementVNode("div",{class:t.normalizeClass(["mt-4 grid gap-3",t.unref(n)?"grid-cols-1":"grid-cols-3"])},[t.createElementVNode("div",aZ,[y[1]||(y[1]=t.createElementVNode("p",{class:"text-sm font-medium"},"Customer",-1)),t.createElementVNode("p",nZ,t.toDisplayString(g.customer),1)]),t.createElementVNode("div",oZ,[y[2]||(y[2]=t.createElementVNode("p",{class:"text-sm font-medium"},"Price",-1)),t.createElementVNode("p",rZ,t.toDisplayString(g.price),1)]),t.createElementVNode("div",iZ,[y[3]||(y[3]=t.createElementVNode("p",{class:"text-sm font-medium"},"Quantity",-1)),t.createElementVNode("p",sZ,t.toDisplayString(g.qty),1)])],2)])])):g.type==="design"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:3},[t.createElementVNode("div",lZ,[t.createElementVNode("p",cZ,t.toDisplayString(g.title),1),t.createElementVNode("p",dZ,t.toDisplayString(g.meta),1)]),t.createElementVNode("p",hZ,t.toDisplayString(g.desc),1),t.createElementVNode("div",uZ,[t.createVNode(t.unref($z),{class:"h-10 w-10"},{default:t.withCtx(()=>[g.avatarUrl?(t.openBlock(),t.createBlock(t.unref(Wz),{key:0,src:g.avatarUrl},null,8,["src"])):t.createCommentVNode("",!0),t.createVNode(t.unref(Uz),null,{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(u(g.personName??"")),1)]),_:2},1024)]),_:2},1024),t.createElementVNode("p",pZ,t.toDisplayString(g.personName),1)])],64)):g.type==="server"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:4},[t.createElementVNode("div",yZ,[t.createElementVNode("p",fZ,t.toDisplayString(g.title),1),t.createVNode(t.unref(Ia),{variant:"destructive",class:"h-6"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(g.chipText??""),1)]),_:2},1024)]),t.createElementVNode("div",kZ,[t.createElementVNode("div",mZ,[t.createElementVNode("div",gZ,[t.createVNode(t.unref(Ws),{class:"h-4 w-4"}),y[4]||(y[4]=t.createElementVNode("span",null,"IP Address",-1))]),t.createElementVNode("span",MZ,t.toDisplayString(g.ip),1)]),t.createElementVNode("div",bZ,[t.createElementVNode("div",xZ,[t.createVNode(t.unref(ls),{class:"h-4 w-4"}),y[5]||(y[5]=t.createElementVNode("span",null,"CPU",-1))]),t.createElementVNode("span",wZ,t.toDisplayString(g.cpu),1)]),t.createElementVNode("div",vZ,[t.createElementVNode("div",CZ,[t.createVNode(t.unref(ls),{class:"h-4 w-4"}),y[6]||(y[6]=t.createElementVNode("span",null,"Memory",-1))]),t.createElementVNode("span",LZ,t.toDisplayString(g.memory),1)])]),t.createVNode(t.unref(yS),{class:"my-4"}),t.createElementVNode("div",SZ,[t.createElementVNode("div",IZ,[t.createVNode(t.unref(Ae),{size:"icon",variant:"ghost"},{default:t.withCtx(()=>[t.createVNode(t.unref(e1),{class:"h-4 w-4"})]),_:1}),t.createVNode(t.unref(Ae),{size:"icon",variant:"ghost"},{default:t.withCtx(()=>[t.createVNode(k,{class:"h-4 w-4"})]),_:1})])])],64)):g.type==="location"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:5},[t.createElementVNode("div",_Z,[t.createElementVNode("div",AZ,[t.createVNode(m,{class:"h-4 w-4 text-muted-foreground"}),t.createElementVNode("p",BZ,t.toDisplayString(g.title),1)]),t.createVNode(t.unref(Ia),{variant:"destructive",class:"h-6"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(g.chipText),1)]),_:2},1024)]),t.createElementVNode("p",VZ,t.toDisplayString(g.desc1),1),g.desc2?(t.openBlock(),t.createElementBlock("p",zZ,t.toDisplayString(g.desc2),1)):t.createCommentVNode("",!0),t.createVNode(t.unref(yS),{class:"my-4"}),t.createElementVNode("div",qZ,[t.createElementVNode("div",PZ,[t.createVNode(t.unref(Ae),{size:"icon",variant:"ghost"},{default:t.withCtx(()=>[t.createVNode(t.unref(Gs),{class:"h-4 w-4"})]),_:1}),t.createVNode(t.unref(Ae),{size:"icon",variant:"ghost"},{default:t.withCtx(()=>[t.createVNode(t.unref(hs),{class:"h-4 w-4"})]),_:1}),t.createVNode(t.unref(Ae),{size:"icon",variant:"ghost"},{default:t.withCtx(()=>[t.createVNode(t.unref(o1),{class:"h-4 w-4"})]),_:1})]),t.createElementVNode("p",DZ,"Due date: "+t.toDisplayString(g.due),1)])],64)):t.createCommentVNode("",!0)])])]))),128))])]))])])}}}),EZ={class:"dcode-upload-file"},TZ={class:"border-2 border-dashed border-gray-300 dark:border-gray-700 rounded-lg p-6 flex flex-col items-center justify-center text-center hover:bg-gray-50 dark:hover:bg-gray-800 transition-colors cursor-pointer"},HZ={key:0,class:"text-xs text-gray-500 mt-1"},jZ=["accept"],OZ={key:1,class:"text-xs text-red-600 mt-1"},Kz=t.defineComponent({__name:"DCodeUploadFile",props:{label:{},accept:{},errorMessage:{},modelValue:{}},emits:["update:modelValue"],setup(a,{emit:e}){const n=e,o=r=>{var s;const i=(s=r.target.files)==null?void 0:s[0];i&&n("update:modelValue",i)};return(r,i)=>(t.openBlock(),t.createElementBlock("div",EZ,[a.label?(t.openBlock(),t.createBlock(n_,{key:0,label:a.label},null,8,["label"])):t.createCommentVNode("",!0),t.createElementVNode("div",TZ,[t.createVNode(t.unref(ca),{class:"w-8 h-8 text-gray-400 mb-2"}),i[0]||(i[0]=t.createElementVNode("p",{class:"text-sm text-gray-600 dark:text-gray-400"},[t.createElementVNode("span",{class:"font-medium text-primary-600"},"Click to upload"),t.createTextVNode(" or drag and drop ")],-1)),a.accept?(t.openBlock(),t.createElementBlock("p",HZ,t.toDisplayString(a.accept),1)):t.createCommentVNode("",!0),t.createElementVNode("input",{type:"file",class:"hidden",onChange:o,accept:a.accept},null,40,jZ)]),a.errorMessage?(t.openBlock(),t.createElementBlock("p",OZ,t.toDisplayString(a.errorMessage),1)):t.createCommentVNode("",!0)]))}}),FZ=["onClick"],RZ={key:1,class:"mr-2 text-xs font-bold shrink-0 opacity-50"},NZ={class:"font-semibold text-sm whitespace-normal text-center leading-tight"},$Z={key:1},UZ={key:0,class:"text-primary-700"},WZ={key:1},GZ={key:2},KZ={key:1,class:"mr-2 text-sm font-bold opacity-70"},XZ={class:"whitespace-normal text-sm text-center leading-tight"},ZZ={class:"flex flex-col flex-1 min-w-0"},YZ={class:"text-sm text-muted-foreground"},QZ={class:"px-1"},Xz=t.defineComponent({__name:"DCodeWizard",props:{tabs:{},modelValue:{},defaultTab:{default:0},allowTabClick:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},cache:{type:Boolean,default:!0},autoFetchOnMount:{type:Boolean,default:!0},apiOptions:{type:[Object,Function],default:void 0},isVertical:{type:Boolean,default:!1},isWizard:{type:Boolean,default:!1},typeWizard:{default:"icon"},showNavigation:{type:Boolean,default:!0},submitText:{default:"Simpan"},loading:{type:Boolean,default:!1}},emits:["update:modelValue","change","loaded","error"],setup(a,{emit:e}){const n=a,o=e,r=Ke(),i=r==null?void 0:r.DCodeApi;typeof i!="function"&&console.error("[DCodeWizardTabs] useApi() must expose DCodeApi()");const s=t.ref(n.defaultTab),c=t.computed({get(){var x;if(typeof n.modelValue=="string"){const b=(x=n.tabs)==null?void 0:x.findIndex(L=>L.key===n.modelValue);if(b!==void 0&&b>=0)return b}return(typeof n.modelValue=="number"?n.modelValue:void 0)??s.value},set(x){var b;if(s.value=x,typeof n.modelValue=="string"){const L=(b=n.tabs)==null?void 0:b[x];L?o("update:modelValue",L.key):o("update:modelValue",x)}else o("update:modelValue",x)}}),d=t.computed(()=>{var x;return((x=n.tabs)==null?void 0:x.length)??0}),h=t.computed(()=>{var x;return(x=n.tabs)==null?void 0:x[c.value]});function u(x){return d.value<=0?0:Math.min(Math.max(x,0),d.value-1)}const p=t.reactive({});function y(x){return p[x.key]||(p[x.key]={loaded:!1,loading:!1,data:null,error:null}),p[x.key]}function f(){if(n.apiOptions)return typeof n.apiOptions=="function"?n.apiOptions():n.apiOptions}function k(x){const b=x.endpoint||{};return{apiModule:x.apiModule||b.apiModule,apiAction:x.apiAction||b.apiAction,apiUrl:b.apiUrl,apiMethod:b.apiMethod||"GET",apiParams:x.apiParams}}function m(x){if(n.isWizard||!n.allowTabClick||n.disabled)return!1;const b=n.tabs[x];return!(!b||b.disabled)}async function g(x){if(typeof x.tab.fetchData=="function"){const O=await x.tab.fetchData(),H=(O==null?void 0:O.data)??O;return(H==null?void 0:H.data)??H}const b=k(x.tab);if(!(b.apiModule&&b.apiAction||b.apiUrl))return null;if(typeof i!="function")throw new Error("DCodeApi is not available");const I=f();let z;if(b.apiUrl)z=await i("","",I,{_url:b.apiUrl,_method:b.apiMethod,_data:b.apiParams??void 0});else{const O={...I,...b.apiParams};z=await i(b.apiModule,b.apiAction,O)}const A=(z==null?void 0:z.data)??z;return(A==null?void 0:A.data)??A}async function w(x,{force:b=!1}={}){const L=u(x),I=n.tabs[L];if(!I)return;const z=y(I);if(!(n.cache&&z.loaded&&!b)&&!z.loading){z.loading=!0,z.error=null;try{const A=await g({tabIndex:L,tab:I});z.data=A,z.loaded=!0,o("loaded",{tabIndex:L,tab:I,data:A})}catch(A){const q=typeof(A==null?void 0:A.message)=="string"&&A.message||typeof A=="string"&&A||"Failed to load tab data.";z.error=q,o("error",{tabIndex:L,tab:I,message:q})}finally{z.loading=!1}}}function S(x){const b=u(x);m(b)&&b!==c.value&&(c.value=b)}function v(x=c.value){return w(x,{force:!0})}function M(){const x=u(c.value-1);x!==c.value&&(c.value=x)}function C(){const x=u(c.value+1);x!==c.value&&(c.value=x)}return t.watch(()=>n.tabs,x=>{for(const b of x??[])y(b)},{immediate:!0}),t.watch(()=>c.value,async x=>{var L;const b=(L=n.tabs)==null?void 0:L[x];b&&o("change",{tabIndex:x,tab:b}),await w(x)},{immediate:!0}),t.watch(()=>n.autoFetchOnMount,async x=>{x&&await w(c.value)},{immediate:!0}),(x,b)=>(t.openBlock(),t.createBlock(t.unref(cS),{class:t.normalizeClass(["w-full",{"flex flex-row":a.isVertical}])},{default:t.withCtx(()=>[t.createVNode(t.unref(hS),{class:t.normalizeClass({"w-64 border-r pr-0":a.isVertical,"pb-2":a.isWizard&&!a.isVertical})},{default:t.withCtx(()=>[t.createElementVNode("div",{class:t.normalizeClass({"mt-4":!a.isVertical||a.isWizard})},[a.isWizard?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["w-full relative flex overflow-visible rounded-lg",a.isVertical?"flex-col gap-2":""])},[a.isVertical?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(a.tabs,(L,I)=>(t.openBlock(),t.createElementBlock("div",{key:L.key,class:"relative z-10 box-border flex items-center gap-3 w-full pb-6 last:pb-0"},[t.createElementVNode("div",{class:t.normalizeClass(["w-8 h-8 rounded-full flex shrink-0 items-center justify-center font-bold text-sm border-2 transition-all bg-white dark:bg-zinc-800",[I<c.value?"border-primary bg-primary text-white border-primary-500":"",I===c.value?"border-primary text-primary border-primary-500 ring-2 ring-primary/20":"border-slate-300 dark:border-zinc-600 text-slate-500"]])},[a.typeWizard==="icon"&&L.icon?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(L.icon),{key:0,class:"w-4 h-4"})):a.typeWizard==="number"||!L.icon&&a.typeWizard!=="none"?(t.openBlock(),t.createElementBlock("span",$Z,[I<c.value?(t.openBlock(),t.createElementBlock("span",UZ,"✓")):(t.openBlock(),t.createElementBlock("span",WZ,t.toDisplayString(I+1),1))])):(t.openBlock(),t.createElementBlock("span",GZ))],2),t.createElementVNode("span",{class:t.normalizeClass(["text-xs font-semibold whitespace-normal px-2 py-1 rounded transition-colors text-left",I===c.value?"text-primary":"text-slate-500"])},t.toDisplayString(L.title),3)]))),128)):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(a.tabs,(L,I)=>(t.openBlock(),t.createElementBlock("div",{key:L.key,onClick:z=>S(I),style:t.normalizeStyle({zIndex:a.tabs.length-I}),class:"relative flex-1 group"},[t.createElementVNode("div",{class:t.normalizeClass(["relative flex items-center justify-center min-h-[3rem] h-auto py-2 px-2 cursor-pointer transition-colors w-full",[I>0?"pl-8":"",I===c.value?"bg-primary text-primary-foreground":I<c.value?"bg-primary/20 text-primary hover:bg-primary/30":"bg-slate-100 dark:bg-zinc-800 text-slate-500 group-hover:bg-slate-200 dark:group-hover:bg-zinc-700"]])},[a.typeWizard==="icon"&&L.icon?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(L.icon),{key:0,class:"w-4 h-4 mr-2 shrink-0"})):a.typeWizard==="number"?(t.openBlock(),t.createElementBlock("span",RZ,t.toDisplayString(I+1),1)):t.createCommentVNode("",!0),t.createElementVNode("span",NZ,t.toDisplayString(L.title),1)],2),I<a.tabs.length-1?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["absolute top-0 -right-4 w-0 h-0 border-t-[24px] border-t-transparent border-b-[24px] border-b-transparent border-l-[16px] transition-colors",[I===c.value?"border-l-primary":I<c.value?"border-l-primary/20 group-hover:border-l-primary/30":"border-l-slate-100 dark:border-l-zinc-800 group-hover:border-l-slate-200 dark:group-hover:border-l-zinc-700"]])},null,2)):t.createCommentVNode("",!0)],12,FZ))),128))],2)):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["flex w-full",a.isVertical?"flex-col gap-1":"flex-wrap border-b border-separate"])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.tabs,(L,I)=>(t.openBlock(),t.createBlock(t.unref(Ae),{key:L.key,type:"button",variant:"ghost",disabled:!m(I),onClick:z=>S(I),class:t.normalizeClass(["relative min-h-[3rem] h-auto py-2 flex items-center justify-center gap-2 px-4 transition-all rounded-none",t.unref(ke)("border-b border-r border-slate-200 dark:border-zinc-700",!a.isVertical&&I===a.tabs.length-1&&"border-r-0",I===c.value?"bg-primary-50 dark:bg-primary-900/20 text-primary-700 dark:text-primary-300 font-semibold":"bg-white dark:bg-zinc-900 text-slate-600 dark:text-zinc-400 hover:bg-slate-50 dark:hover:bg-zinc-800",!m(I)&&"opacity-60 cursor-not-allowed",a.isVertical?"w-full justify-start border-r-0":"flex-1")])},{default:t.withCtx(()=>[a.typeWizard==="icon"&&L.icon?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(L.icon),{key:0,class:"h-4 w-4 shrink-0"})):a.typeWizard==="number"?(t.openBlock(),t.createElementBlock("span",KZ,t.toDisplayString(I+1),1)):t.createCommentVNode("",!0),t.createElementVNode("span",XZ,t.toDisplayString(L.title),1)]),_:2},1032,["disabled","onClick","class"]))),128))],2))],2)]),_:1},8,["class"]),a.isVertical?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(yS),{key:0})),t.createElementVNode("div",ZZ,[t.createVNode(t.unref(dS),{class:t.normalizeClass(["pt-6 flex-1 min-w-0",{"pl-6":a.isVertical}])},{default:t.withCtx(()=>{var L,I,z;return[h.value?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[(L=p[h.value.key])!=null&&L.loading?t.renderSlot(x.$slots,"loading",{key:0,tab:h.value,tabIndex:c.value},()=>[b[0]||(b[0]=t.createElementVNode("div",{class:"rounded-lg border bg-muted/30 px-4 py-3 text-sm text-muted-foreground"},"Loading...",-1))]):t.renderSlot(x.$slots,`tab-${h.value.key}`,{key:1,tab:h.value,tabIndex:c.value,data:(I=p[h.value.key])==null?void 0:I.data,loaded:(z=p[h.value.key])==null?void 0:z.loaded,reload:v},()=>[t.createElementVNode("div",YZ,[b[1]||(b[1]=t.createTextVNode(" Slot ",-1)),t.createElementVNode("code",QZ,"tab-"+t.toDisplayString(h.value.key),1),b[2]||(b[2]=t.createTextVNode(" belum dibuat. ",-1))])])],64)):t.createCommentVNode("",!0)]}),_:3},8,["class"]),a.isWizard||a.showNavigation?(t.openBlock(),t.createBlock(t.unref(NW),{key:0,class:t.normalizeClass(["flex justify-between p-6 pt-0",{"pl-6":a.isVertical}])},{default:t.withCtx(()=>[t.createVNode(t.unref(Ae),{type:"button",variant:"outline",onClick:M,disabled:c.value<=0},{default:t.withCtx(()=>[...b[3]||(b[3]=[t.createTextVNode(" Sebelumnya ",-1)])]),_:1},8,["disabled"]),c.value<d.value-1?(t.openBlock(),t.createBlock(t.unref(Ae),{key:0,type:"button",onClick:C},{default:t.withCtx(()=>[...b[4]||(b[4]=[t.createTextVNode(" Selanjutnya ",-1)])]),_:1})):(t.openBlock(),t.createBlock(t.unref(Ae),{key:1,type:"submit",disabled:a.loading},{default:t.withCtx(()=>[a.loading?(t.openBlock(),t.createBlock(t.unref(kt),{key:0,class:"w-4 h-4 mr-2 animate-spin"})):t.createCommentVNode("",!0),t.createTextVNode(" "+t.toDisplayString(a.submitText),1)]),_:1},8,["disabled"]))]),_:1},8,["class"])):t.createCommentVNode("",!0)])]),_:3},8,["class"]))}});function JZ(){return{setPageTitle:n=>{typeof document<"u"&&(document.title=n||document.title),typeof window<"u"&&window.dispatchEvent(new CustomEvent("micro:page-title",{detail:{title:n},bubbles:!0,composed:!0}))},setBreadcrumb:n=>{typeof window<"u"&&window.dispatchEvent(new CustomEvent("micro:breadcrumb",{detail:{items:n},bubbles:!0,composed:!0}))}}}const eY={class:"w-full"},tY={class:"relative mx-auto min-h-[37.5rem]"},aY={key:"content",class:"w-full"},nY={class:"mb-6"},oY={class:"text-neutral-500 dark:text-neutral-400"},rY={key:"skeleton",class:"w-full"},iY={key:"error",class:"flex items-center justify-center p-20 text-red-500 w-full"},Zz=ga(t.defineComponent({__name:"AutoLayoutForm",props:{layoutCode:{}},setup(a){var C,x;const e=a,n=(x=(C=t.getCurrentInstance())==null?void 0:C.appContext)==null?void 0:x.app;n&&!n._context.provides[Symbol.for("vue-router-route-location")]&&n.provide(Symbol.for("vue-router-route-location"),{query:{},params:{},path:""});let o={query:{},params:{},path:""};try{const b=H1.useRoute();b&&(o=b)}catch{console.warn("useRoute not available, using fallback")}let r={back:()=>console.warn("Router back() not available"),push:()=>console.warn("Router push() not available")};try{const b=H1.useRouter();b&&(r=b)}catch{console.warn("useRouter not available, using fallback")}const{apiUrl:i,DCodeApi:s}=Ke();let c;try{c=vS.useI18n().locale}catch{c=t.ref("en")}const{setPageTitle:d}=JZ(),h=t.computed(()=>o.params&&"id"in o.params?!0:o.path?/\/edit\/[^\/]+$/.test(o.path):!1),u=t.computed(()=>{if(o.params&&"id"in o.params)return o.params.id;if(!o.path)return null;const b=o.path.match(/\/edit\/([^\/]+)$/);return b?b[1]:null}),p=t.ref({}),y=t.ref(null),f=t.ref(!0),k=t.ref(!1),m=t.ref(e.layoutCode),g=t.computed(()=>{var I;if(!y.value)return"";const b=((I=c==null?void 0:c.value)==null?void 0:I.toLowerCase())||"en";return(b==="en"||b.startsWith("en-")?y.value.titleEN:y.value.titleID)||y.value.title||e.layoutCode});t.watch(g,b=>{b&&d(b)},{immediate:!0});const w=async()=>{var b,L,I;f.value=!0;try{let z=e.layoutCode;o&&o.query&&typeof o.query=="object"&&"code"in o.query&&(z=o.query.code||e.layoutCode);let A=await i(`/api/auto-layout/form/form-dynamic?code=${z}`,"GET");if(!A.status||!A.data||Array.isArray(A.data)&&A.data.length===0)try{const q=await i(`/api/auto-layout/datatable/form-dynamic?code=${z}`,"GET");if(q.status){const O=Array.isArray(q.data)?q.data[0]:q.data;O&&O.code&&(z=O.code,m.value=z,A=await i(`/api/auto-layout/form/form-dynamic?code=${z}`,"GET"))}}catch(q){console.warn("Failed to resolve layout code via datatable",q)}if(A.status){y.value=Array.isArray(A.data)?A.data[0]:A.data;const q={};if((b=y.value)!=null&&b.sections&&y.value.sections.forEach(O=>{((O.propsForm||O.props||{}).fields||O.fields||[]).forEach(T=>{var R;const j=T.model||((R=T.props)==null?void 0:R.model)||T.key;j&&(q[j]=null)})}),p.value=q,f.value=!1,h.value&&u.value){k.value=!0;try{if((L=y.value.endpointGlobal)!=null&&L.apiUrl){const O=y.value.endpointGlobal.apiUrl,H=y.value.endpointGlobal.apiMethod||"GET",W={id:u.value},T=await s(O,H,W);if(T.status){const j=Array.isArray(T.data)?T.data[0]:T.data;p.value={...p.value,...j}}}else{const O=((I=y.value.endpoint)==null?void 0:I.detailUrl)||`/api/${m.value}/detail/${u.value}`,H=await i(O,"GET");if(H.status){let W=Array.isArray(H.data)?H.data[0]:H.data;if(H.payload){const j={...H.payload};if(Object.keys(j).forEach(R=>{W[R]!==void 0&&W[R]!==null&&(j[R]=W[R])}),!("id"in j)&&W.id){const R=Object.keys(j).find(Y=>Y.startsWith("id")&&Y.length>2&&!j[Y]);R&&(j[R]=W.id)}W=j}const T={...W};Object.keys(p.value).forEach(j=>{if(T[j]===void 0||T[j]===null){if(j.toLowerCase().startsWith("id")&&j.length>2){const Y=j.substring(2).toLowerCase(),B=Array.isArray(H.data)?H.data[0]:H.data,V=Object.keys(B).find(U=>U.toLowerCase()===Y);V&&B[V]&&typeof B[V]=="object"&&"id"in B[V]&&(T[j]=B[V].id)}if(j==="idSupervisor"){const Y=Array.isArray(H.data)?H.data[0]:H.data;Y.supervisorId&&(T[j]=Y.supervisorId)}}}),p.value={...p.value,...T}}}}catch(O){console.error("Failed to fetch record data:",O)}finally{k.value=!1}}}}catch(z){console.error("Failed to load form layout:",z),f.value=!1}},S=async b=>{var L,I,z;try{const A=(z=(I=(L=y.value.sections)==null?void 0:L[0])==null?void 0:I.propsForm)==null?void 0:z.endpointForm,q=y.value.endpointGlobal||y.value.endpoint,O=(A==null?void 0:A.submitUrl)||(q==null?void 0:q.submitUrl)||`/api/generic/${e.layoutCode}`,H=(A==null?void 0:A.submitMethod)||(q==null?void 0:q.submitMethod)||(h.value?"PUT":"POST"),W={...b};h.value&&u.value&&!W.id&&(W.id=u.value),await i(O,H,W),r.back()}catch(A){console.error("Submit failed:",A)}},v=async(b,L)=>{if(b==="cancel"){M();return}const I=L.endpointPropAction||L.propsActionGlobal&&L.propsActionGlobal.endpointPropAction;if(I)try{f.value=!0;const z={...p.value};h.value&&L.model&&u.value&&(z[L.model]=u.value);const A=I.apiUrl,q=I.apiMethod||"POST";(await s(A,q,z)).status&&r.back()}catch(z){console.error("Action failed:",z)}finally{f.value=!1}},M=()=>{r.back()};return t.onMounted(()=>{w()}),t.onUnmounted(()=>{d("")}),(b,L)=>{const I=t.resolveComponent("DynamicForm"),z=t.resolveComponent("AutoLayoutSkeleton");return t.openBlock(),t.createElementBlock("div",eY,[t.createElementVNode("div",tY,[t.createVNode(t.Transition,{name:"fade",mode:"out-in"},{default:t.withCtx(()=>[!f.value&&y.value?(t.openBlock(),t.createElementBlock("div",aY,[t.createElementVNode("div",nY,[t.createElementVNode("p",oY,t.toDisplayString(y.value.description),1)]),t.createVNode(I,{schema:y.value,model:p.value,"is-edit-mode":h.value,loading:k.value,onSubmit:S,onCancel:M,onAction:v,class:"w-full"},null,8,["schema","model","is-edit-mode","loading"])])):f.value?(t.openBlock(),t.createElementBlock("div",rY,[t.createVNode(z)])):(t.openBlock(),t.createElementBlock("div",iY," Failed to load form configuration for "+t.toDisplayString(e.layoutCode),1))]),_:1})])])}}}),[["__scopeId","data-v-fd9d71a6"]]),sY=(a,e="short",n="id-ID")=>{const o=typeof a=="string"?new Date(a):a,r=d=>String(d).padStart(2,"0"),i=d=>`${r(d.getHours())}:${r(d.getMinutes())}:${r(d.getSeconds())}`,c={id:"id-ID",en:"en-GB"}[n]||n;return e==="time"?i(o):e==="datetime"?new Intl.DateTimeFormat(c,{day:"2-digit",month:"long",year:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(o):e==="long"?new Intl.DateTimeFormat(c,{day:"2-digit",month:"long",year:"numeric",hour:"2-digit",minute:"2-digit"}).format(o):new Intl.DateTimeFormat(c,{day:"2-digit",month:"short",year:"numeric"}).format(o)},lY=t.defineComponent({__name:"Sheet",props:{open:{type:Boolean},defaultOpen:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(a,{emit:e}){const r=mt(a,e);return(i,s)=>(t.openBlock(),t.createBlock(t.unref(AA),t.normalizeProps(t.guardReactiveProps(t.unref(r))),{default:t.withCtx(()=>[t.renderSlot(i.$slots,"default")]),_:3},16))}}),cY=t.defineComponent({inheritAttrs:!1,__name:"SheetContent",props:{class:{type:[Boolean,null,String,Object,Array]},side:{},forceMount:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(a,{emit:e}){const n=a,o=e,r=Ee(n,"class","side"),i=mt(r,o);return(s,c)=>(t.openBlock(),t.createBlock(t.unref(RA),null,{default:t.withCtx(()=>[t.createVNode(t.unref(FA),{class:"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"}),t.createVNode(t.unref(jA),t.mergeProps({class:t.unref(ke)(t.unref(fY)({side:a.side}),n.class)},{...t.unref(i),...s.$attrs}),{default:t.withCtx(()=>[t.renderSlot(s.$slots,"default"),t.createVNode(t.unref(BA),{class:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary"},{default:t.withCtx(()=>[t.createVNode(t.unref(it),{class:"w-4 h-4"})]),_:1})]),_:3},16,["class"])]),_:3}))}}),dY=t.defineComponent({__name:"SheetDescription",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a,n=Ee(e,"class");return(o,r)=>(t.openBlock(),t.createBlock(t.unref(OA),t.mergeProps({class:t.unref(ke)("text-sm text-muted-foreground",e.class)},t.unref(n)),{default:t.withCtx(()=>[t.renderSlot(o.$slots,"default")]),_:3},16,["class"]))}}),hY=t.defineComponent({__name:"SheetFooter",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(t.unref(ke)("flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2",e.class))},[t.renderSlot(n.$slots,"default")],2))}}),uY=t.defineComponent({__name:"SheetHeader",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(t.unref(ke)("flex flex-col gap-y-2 text-center sm:text-left",e.class))},[t.renderSlot(n.$slots,"default")],2))}}),pY=t.defineComponent({__name:"SheetTitle",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a,n=Ee(e,"class");return(o,r)=>(t.openBlock(),t.createBlock(t.unref(NA),t.mergeProps({class:t.unref(ke)("text-lg font-medium text-foreground",e.class)},t.unref(n)),{default:t.withCtx(()=>[t.renderSlot(o.$slots,"default")]),_:3},16,["class"]))}}),yY=t.defineComponent({__name:"SheetTrigger",props:{asChild:{type:Boolean},as:{}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createBlock(t.unref(TT),t.normalizeProps(t.guardReactiveProps(e)),{default:t.withCtx(()=>[t.renderSlot(n.$slots,"default")]),_:3},16))}}),fY=i1("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),kY={class:"flex-1 overflow-hidden"},mY=t.defineComponent({__name:"DataFilterSheet",props:{title:{default:"Filter Data"},description:{default:"Masukan parameter pencarian untuk memfilter data."}},setup(a){return(e,n)=>(t.openBlock(),t.createBlock(t.unref(lY),null,{default:t.withCtx(()=>[t.createVNode(t.unref(yY),{"as-child":""},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"trigger",{},()=>[t.createVNode(t.unref(Ae),{variant:"outline",class:"gap-2"},{default:t.withCtx(()=>[t.createVNode(t.unref(pr),{class:"w-4 h-4"}),n[0]||(n[0]=t.createElementVNode("span",null,"Pencarian",-1))]),_:1})])]),_:3}),t.createVNode(t.unref(cY),{class:"flex flex-col h-full"},{default:t.withCtx(()=>[t.createVNode(t.unref(uY),{class:"flex-shrink-0"},{default:t.withCtx(()=>[t.createVNode(t.unref(pY),null,{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(a.title),1)]),_:1}),t.createVNode(t.unref(dY),null,{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(a.description),1)]),_:1})]),_:1}),t.createElementVNode("div",kY,[t.renderSlot(e.$slots,"default")]),t.createVNode(t.unref(hY),{class:"flex-shrink-0"},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"footer")]),_:3})]),_:3})]),_:3}))}}),gY={key:0},MY=["value","name"],Yz=t.defineComponent({__name:"DynamicFilterField",props:{field:{},modelValue:{}},emits:["update:modelValue"],setup(a,{emit:e}){const{locale:n}=vS.useI18n(),o=a,r=e,i=t.ref(o.modelValue);t.watch(()=>o.modelValue,u=>{i.value=u});const s={DCodeTextField:s_,DCodeAutoComplete:ES,DCodeDatePicker:ZI,DCodeTextarea:pS,DCodeTextArea:pS,DCodeCheckbox:q1,DCodeSwitch:i_,DCodeOtpInput:r_,DCodeImageField:a_},c=t.computed(()=>{const u=o.field.component;return s[u]||null}),d=t.computed(()=>{const u=o.field.props,p={};return(u.labelID||u.labelEN)&&(p.label=n.value==="id"?u.labelID:u.labelEN),(u.placeholderID||u.placeholderEN)&&(p.placeholder=n.value==="id"?u.placeholderID:u.placeholderEN),u.required!==void 0&&(p.required=u.required),u.disabled!==void 0&&(p.disabled=u.disabled),u.readonly!==void 0&&(p.readonly=u.readonly),u.valueType&&(p.type=u.valueType),u.minLength!==void 0&&(p.minlength=u.minLength),u.maxLength!==void 0&&(p.maxlength=u.maxLength),u.min!==void 0&&(p.min=u.min),u.max!==void 0&&(p.max=u.max),u.options&&(p.options=u.options),u.endpoint&&(p.endpoint=u.endpoint),u.itemTitle&&(p.itemTitle=u.itemTitle),u.itemValue&&(p.itemValue=u.itemValue),u.returnObject!==void 0&&(p.returnObject=u.returnObject),u.clearable!==void 0&&(p.clearable=u.clearable),Object.keys(u).forEach(y=>{!["labelID","labelEN","placeholderID","placeholderEN"].includes(y)&&!p.hasOwnProperty(y)&&(p[y]=u[y])}),p}),h=u=>{i.value=u,r("update:modelValue",u)};return(u,p)=>a.field.isHidden?(t.openBlock(),t.createElementBlock("div",gY,[t.createElementVNode("input",{type:"hidden",value:i.value,name:a.field.model},null,8,MY)])):(t.openBlock(),t.createBlock(t.resolveDynamicComponent(c.value),t.mergeProps({key:1},d.value,{modelValue:i.value,"onUpdate:modelValue":[p[0]||(p[0]=y=>i.value=y),h]}),null,16,["modelValue"]))}}),bY=t.defineComponent({__name:"Pagination",props:{page:{},defaultPage:{},itemsPerPage:{},total:{},siblingCount:{},disabled:{type:Boolean},showEdges:{type:Boolean},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},emits:["update:page"],setup(a,{emit:e}){const n=a,o=e,r=Ee(n,"class"),i=mt(r,o);return(s,c)=>(t.openBlock(),t.createBlock(t.unref(lH),t.mergeProps({"data-slot":"pagination"},t.unref(i),{class:n.class}),{default:t.withCtx(d=>[t.renderSlot(s.$slots,"default",t.normalizeProps(t.guardReactiveProps(d)))]),_:3},16,["class"]))}}),xY=t.defineComponent({__name:"PaginationContent",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a,n=Ee(e,"class");return(o,r)=>(t.openBlock(),t.createBlock(t.unref(kH),t.mergeProps({"data-slot":"pagination-content"},t.unref(n),{class:t.unref(ke)("flex flex-row items-center gap-1",e.class)}),{default:t.withCtx(i=>[t.renderSlot(o.$slots,"default",t.normalizeProps(t.guardReactiveProps(i)))]),_:3},16,["class"]))}}),wY=t.defineComponent({__name:"PaginationEllipsis",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a,n=Ee(e,"class");return(o,r)=>(t.openBlock(),t.createBlock(t.unref(rH),t.mergeProps({"data-slot":"pagination-ellipsis"},t.unref(n),{class:t.unref(ke)("flex size-9 items-center justify-center",e.class)}),{default:t.withCtx(()=>[t.renderSlot(o.$slots,"default",{},()=>[t.createVNode(t.unref(da),{class:"size-4"}),r[0]||(r[0]=t.createElementVNode("span",{class:"sr-only"},"More pages",-1))])]),_:3},16,["class"]))}}),vY=t.defineComponent({__name:"PaginationFirst",props:{asChild:{type:Boolean},as:{},size:{default:"default"},class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a,n=Ee(e,"class","size"),o=Ze(n);return(r,i)=>(t.openBlock(),t.createBlock(t.unref(dH),t.mergeProps({"data-slot":"pagination-first",class:t.unref(ke)(t.unref(bs)({variant:"ghost",size:a.size}),"gap-1 px-2.5 sm:pr-2.5",e.class)},t.unref(o)),{default:t.withCtx(()=>[t.renderSlot(r.$slots,"default",{},()=>[t.createVNode(t.unref(cn)),i[0]||(i[0]=t.createElementVNode("span",{class:"hidden sm:block"},"First",-1))])]),_:3},16,["class"]))}}),CY=t.defineComponent({__name:"PaginationItem",props:{value:{},asChild:{type:Boolean},as:{},size:{default:"icon"},class:{type:[Boolean,null,String,Object,Array]},isActive:{type:Boolean}},setup(a){const e=a,n=Ee(e,"class","size","isActive");return(o,r)=>(t.openBlock(),t.createBlock(t.unref(gH),t.mergeProps({"data-slot":"pagination-item"},t.unref(n),{class:t.unref(ke)(t.unref(bs)({variant:"ghost",size:a.size}),a.isActive?"bg-[#0056a1] dark:bg-[#003d75] text-white hover:bg-[#0056a1]/90 dark:hover:bg-[#003d75]/90 hover:text-white":"",e.class)}),{default:t.withCtx(()=>[t.renderSlot(o.$slots,"default")]),_:3},16,["class"]))}}),LY=t.defineComponent({__name:"PaginationLast",props:{asChild:{type:Boolean},as:{},size:{default:"default"},class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a,n=Ee(e,"class","size"),o=Ze(n);return(r,i)=>(t.openBlock(),t.createBlock(t.unref(uH),t.mergeProps({"data-slot":"pagination-last",class:t.unref(ke)(t.unref(bs)({variant:"ghost",size:a.size}),"gap-1 px-2.5 sm:pr-2.5",e.class)},t.unref(o)),{default:t.withCtx(()=>[t.renderSlot(r.$slots,"default",{},()=>[i[0]||(i[0]=t.createElementVNode("span",{class:"hidden sm:block"},"Last",-1)),t.createVNode(t.unref(dn))])]),_:3},16,["class"]))}}),SY=t.defineComponent({__name:"PaginationNext",props:{asChild:{type:Boolean},as:{},size:{default:"default"},class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a,n=Ee(e,"class","size"),o=Ze(n);return(r,i)=>(t.openBlock(),t.createBlock(t.unref(bH),t.mergeProps({"data-slot":"pagination-next",class:t.unref(ke)(t.unref(bs)({variant:"ghost",size:a.size}),"gap-1 px-2.5 sm:pr-2.5",e.class)},t.unref(o)),{default:t.withCtx(()=>[t.renderSlot(r.$slots,"default",{},()=>[i[0]||(i[0]=t.createElementVNode("span",{class:"hidden sm:block"},"Next",-1)),t.createVNode(t.unref(dn))])]),_:3},16,["class"]))}}),IY=t.defineComponent({__name:"PaginationPrevious",props:{asChild:{type:Boolean},as:{},size:{default:"default"},class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a,n=Ee(e,"class","size"),o=Ze(n);return(r,i)=>(t.openBlock(),t.createBlock(t.unref(wH),t.mergeProps({"data-slot":"pagination-previous",class:t.unref(ke)(t.unref(bs)({variant:"ghost",size:a.size}),"gap-1 px-2.5 sm:pr-2.5",e.class)},t.unref(o)),{default:t.withCtx(()=>[t.renderSlot(r.$slots,"default",{},()=>[t.createVNode(t.unref(cn)),i[0]||(i[0]=t.createElementVNode("span",{class:"hidden sm:block"},"Previous",-1))])]),_:3},16,["class"]))}}),_Y=t.defineComponent({__name:"Select",props:{open:{type:Boolean},defaultOpen:{type:Boolean},defaultValue:{},modelValue:{},by:{type:[String,Function]},dir:{},multiple:{type:Boolean},autocomplete:{},disabled:{type:Boolean},name:{},required:{type:Boolean}},emits:["update:modelValue","update:open"],setup(a,{emit:e}){const r=mt(a,e);return(i,s)=>(t.openBlock(),t.createBlock(t.unref(_H),t.normalizeProps(t.guardReactiveProps(t.unref(r))),{default:t.withCtx(()=>[t.renderSlot(i.$slots,"default")]),_:3},16))}}),AY=t.defineComponent({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean},position:{default:"popper"},bodyLock:{type:Boolean},side:{},sideOffset:{},sideFlip:{type:Boolean},align:{},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},hideShiftedArrow:{type:Boolean},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},reference:{},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean},class:{type:[Boolean,null,String,Object,Array]}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(a,{emit:e}){const n=a,o=e,r=Ee(n,"class"),i=mt(r,o);return(s,c)=>(t.openBlock(),t.createBlock(t.unref(ej),null,{default:t.withCtx(()=>[t.createVNode(t.unref(NH),t.mergeProps({...t.unref(i),...s.$attrs},{class:t.unref(ke)("relative z-50 max-h-96 min-w-32 overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a.position==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",n.class)}),{default:t.withCtx(()=>[t.createVNode(t.unref(qY)),t.createVNode(t.unref(hj),{class:t.normalizeClass(t.unref(ke)("p-1",a.position==="popper"&&"h-[--reka-select-trigger-height] w-full min-w-[--reka-select-trigger-width]"))},{default:t.withCtx(()=>[t.renderSlot(s.$slots,"default")]),_:3},8,["class"]),t.createVNode(t.unref(zY))]),_:3},16,["class"])]),_:3}))}}),BY={class:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center"},VY=t.defineComponent({__name:"SelectItem",props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a,n=Ee(e,"class"),o=Ze(n);return(r,i)=>(t.openBlock(),t.createBlock(t.unref(KH),t.mergeProps(t.unref(o),{class:t.unref(ke)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e.class)}),{default:t.withCtx(()=>[t.createElementVNode("span",BY,[t.createVNode(t.unref(ZH),null,{default:t.withCtx(()=>[t.createVNode(t.unref(sa),{class:"h-4 w-4"})]),_:1})]),t.createVNode(t.unref(QH),null,{default:t.withCtx(()=>[t.renderSlot(r.$slots,"default")]),_:3})]),_:3},16,["class"]))}}),zY=t.defineComponent({__name:"SelectScrollDownButton",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a,n=Ee(e,"class"),o=Ze(n);return(r,i)=>(t.openBlock(),t.createBlock(t.unref(nj),t.mergeProps(t.unref(o),{class:t.unref(ke)("flex cursor-default items-center justify-center py-1",e.class)}),{default:t.withCtx(()=>[t.renderSlot(r.$slots,"default",{},()=>[t.createVNode(t.unref(St))])]),_:3},16,["class"]))}}),qY=t.defineComponent({__name:"SelectScrollUpButton",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a,n=Ee(e,"class"),o=Ze(n);return(r,i)=>(t.openBlock(),t.createBlock(t.unref(rj),t.mergeProps(t.unref(o),{class:t.unref(ke)("flex cursor-default items-center justify-center py-1",e.class)}),{default:t.withCtx(()=>[t.renderSlot(r.$slots,"default",{},()=>[t.createVNode(t.unref(js))])]),_:3},16,["class"]))}}),PY=t.defineComponent({__name:"SelectTrigger",props:{disabled:{type:Boolean},reference:{},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a,n=Ee(e,"class"),o=Ze(n);return(r,i)=>(t.openBlock(),t.createBlock(t.unref(sj),t.mergeProps(t.unref(o),{class:t.unref(ke)("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:truncate text-start",e.class)}),{default:t.withCtx(()=>[t.renderSlot(r.$slots,"default"),t.createVNode(t.unref(UH),{"as-child":""},{default:t.withCtx(()=>[t.createVNode(t.unref(St),{class:"w-4 h-4 opacity-50 shrink-0"})]),_:1})]),_:3},16,["class"]))}}),DY=t.defineComponent({__name:"SelectValue",props:{placeholder:{},asChild:{type:Boolean},as:{}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createBlock(t.unref(cj),t.normalizeProps(t.guardReactiveProps(e)),{default:t.withCtx(()=>[t.renderSlot(n.$slots,"default")]),_:3},16))}}),EY={class:"dcode-card animate-slide-up"},TY={class:"px-4 py-2 bg-primary-700 dark:bg-primary-900 border-b border-primary-500/30 dark:border-primary-900/50 rounded-t-xl relative z-30"},HY={class:"flex flex-col lg:flex-row lg:items-center lg:justify-between gap-4"},jY={key:0,class:"flex flex-col sm:flex-row items-start sm:items-center gap-2 flex-1 max-w-2xl"},OY={class:"relative w-full sm:w-64"},FY={key:0,class:"relative"},RY={class:"flex flex-col h-full"},NY={key:0,class:"flex-1 overflow-y-auto py-4"},$Y={class:"grid grid-cols-1 md:grid-cols-2 gap-4 px-1"},UY={key:0,class:"sticky bottom-0 left-0 right-0 bg-white dark:bg-zinc-900 border-t border-neutral-200 dark:border-neutral-700 p-4 flex gap-2"},WY={class:"flex justify-end gap-2 w-full"},GY={key:0,class:"font-medium text-sm text-neutral-600 dark:text-neutral-400"},KY={class:"overflow-auto custom-scrollbar relative max-h-[calc(100vh-17rem)]"},XY={class:"dcode-table w-full"},ZY={class:"bg-primary-700 dark:bg-primary-900 sticky top-0 z-20 shadow-sm"},YY=["onClick"],QY={key:0,class:"flex items-center justify-center w-full"},JY={key:0,class:"px-3 py-2 text-xs font-medium text-white dark:text-neutral-100 uppercase tracking-wider"},eQ={class:"bg-white dark:bg-zinc-900 divide-y divide-neutral-200 dark:divide-neutral-700"},tQ={key:0,class:"px-3 py-0.5"},aQ={key:1},nQ=["colspan"],oQ={class:"flex flex-col items-center gap-4"},rQ={class:"text-base font-medium text-neutral-700 dark:text-neutral-300"},iQ={class:"text-sm text-neutral-500 dark:text-neutral-400 mt-1"},sQ={class:"hover:bg-zinc-50 dark:hover:bg-zinc-800/50 transition-colors duration-150"},lQ={key:0,class:"flex items-center justify-center"},cQ={key:0,class:"px-3 py-0.5 !text-center"},dQ={key:0,class:"flex items-center justify-center gap-1.5"},hQ={key:0,class:"bg-zinc-50/50 dark:bg-zinc-800/30"},uQ=["colspan"],pQ={key:0,class:"px-4 py-3 bg-zinc-50/50 dark:bg-zinc-800/30 border-t border-neutral-200 dark:border-neutral-700 flex flex-col sm:flex-row items-center justify-between gap-4 w-full"},yQ={class:"flex items-center gap-4"},fQ={class:"text-xs text-neutral-500 dark:text-neutral-400 font-medium"},kQ={class:"text-neutral-900 dark:text-neutral-100 font-medium"},mQ={class:"text-neutral-900 dark:text-neutral-100 font-medium"},gQ={class:"text-neutral-900 dark:text-neutral-100 font-medium"},MQ={class:"flex-shrink-0"},bQ={class:"space-y-4"},xQ={class:"text-gray-600 dark:text-gray-400"},wQ={class:"grid grid-cols-1 md:grid-cols-2 gap-4 py-4 px-1"},fS=t.defineComponent({__name:"DataTable",props:{columns:{default:()=>[]},data:{default:()=>[]},perPage:{default:10},loading:{type:Boolean,default:!1},hasActions:{type:Boolean,default:!1},nested:{type:Boolean,default:!1},apiModule:{},apiAction:{default:"list"},apiMethod:{},apiUrl:{},permissionBase:{},apiParams:{default:()=>({})},configKey:{},tableConfig:{},dynamicColumns:{type:Boolean,default:!1},searchApiEndpoint:{},enableQuickSearch:{type:Boolean,default:!0},showPagination:{type:Boolean,default:!0},ignorePermissions:{type:Boolean,default:!1},userPermissions:{default:null},permissionChecker:{type:Function,default:void 0}},emits:["update:search","update:sort","update:page","create","export","action","update:selection","navigate"],setup(a,{expose:e,emit:n}){console.log("[DEBUG] DataTable.vue loaded - top level");const o=a,r=n,{apiUrl:i}=Ke(),{locale:s}=vS.useI18n(),c=t.ref(""),d=t.ref(1),h=t.ref(o.perPage),u=t.ref({key:"",direction:"asc"}),p=t.ref([]),y=t.ref(!1),f=t.ref(0),k=t.ref({}),m=t.ref([]),g=t.ref(null),w=t.ref(!0),S=t.ref([]),v=t.ref([]),M=t.ref([]),C=t.ref(!1),x=t.ref(!1),b=t.ref({}),L=t.ref(null),I=t.ref(null),z=t.ref(null),A=t.ref([]),q=t.computed(()=>{if(xt.value.length===0)return!1;const _=xt.value.map(E=>{const K=ce.value.find(N=>N.type==="CHECKBOX"),D=(K==null?void 0:K.keyCheckbox)||"id";return E[D]}).filter(E=>E!=null);return _.length===0?!1:_.every(E=>A.value.includes(E))}),O=t.computed(()=>{if(xt.value.length===0)return!1;const _=ce.value.find(N=>N.type==="CHECKBOX"),E=(_==null?void 0:_.keyCheckbox)||"id",K=xt.value.map(N=>N[E]).filter(N=>N!=null),D=K.filter(N=>A.value.includes(N)).length;return D>0&&D<K.length}),H=_=>{const E=ce.value.find(N=>N.type==="CHECKBOX"),K=(E==null?void 0:E.keyCheckbox)||"id",D=_[K];return D!==void 0&&A.value.includes(D)},W=_=>{const E=ce.value.find(N=>N.type==="CHECKBOX"),K=(E==null?void 0:E.keyCheckbox)||"id",D=xt.value.map(N=>N[K]).filter(N=>N!=null);if(_){const N=new Set([...A.value,...D]);A.value=Array.from(N)}else A.value=A.value.filter(N=>!D.includes(N))},T=(_,E)=>{const K=ce.value.find(Z=>Z.type==="CHECKBOX"),D=(K==null?void 0:K.keyCheckbox)||"id",N=_[D];N!=null&&(E?A.value.includes(N)||A.value.push(N):A.value=A.value.filter(Z=>Z!==N))};t.watch(A,_=>{var K;r("update:selection",_);const E=q.value||_.length>1;(K=v.value)!=null&&K.length&&v.value.forEach(D=>{var N;(N=D.fieldActionGlobal)!=null&&N.length&&D.fieldActionGlobal.forEach(Z=>{var Ge,rt;const fe=D.endpoint||((Ge=D.propsActionGlobal)==null?void 0:Ge.endpointPropAction)||D.propsActionGlobal,xe=(rt=fe==null?void 0:fe.keyParam)==null?void 0:rt[0];(xe&&Z.model===xe||!xe&&/^(id|ids|idAuditTrail)/i.test(Z.model))&&E&&Z.model&&(b.value[Z.model]=_)})})},{deep:!0});const j=_=>_&&typeof _=="string"&&_.trim()?_:void 0,R=t.computed(()=>{var _,E,K,D;return j((E=(_=g.value)==null?void 0:_.endpoint)==null?void 0:E.apiModule)||j((D=(K=g.value)==null?void 0:K.endpointGlobal)==null?void 0:D.apiModule)||o.apiModule}),Y=t.computed(()=>{var _,E,K,D;return j((E=(_=g.value)==null?void 0:_.endpoint)==null?void 0:E.apiAction)||j((D=(K=g.value)==null?void 0:K.endpointGlobal)==null?void 0:D.apiAction)||o.apiAction}),B=t.computed(()=>{var _,E,K,D;return j((E=(_=g.value)==null?void 0:_.endpoint)==null?void 0:E.apiMethod)||j((D=(K=g.value)==null?void 0:K.endpointGlobal)==null?void 0:D.apiMethod)||o.apiMethod||"POST"}),V=t.computed(()=>{var _,E,K,D;return j((E=(_=g.value)==null?void 0:_.endpoint)==null?void 0:E.apiUrl)||j((D=(K=g.value)==null?void 0:K.endpointGlobal)==null?void 0:D.apiUrl)||o.apiUrl}),U=t.computed(()=>o.permissionBase||""),oe=t.computed(()=>!M.value||M.value.length===0?[]:[...M.value].sort((_,E)=>(_.seq||0)-(E.seq||0))),ee=_=>{if(!_)return"col-span-1";const E=_.toLowerCase();return{full:"col-span-1 md:col-span-2",half:"col-span-1",third:"col-span-1","two-thirds":"col-span-1 md:col-span-2",two_thirds:"col-span-1 md:col-span-2"}[E]||"col-span-1"},de=()=>{let _=null;if(o.tableConfig&&(_=o.tableConfig),_){g.value=_,_.headers&&(m.value=_.headers.map(D=>{var fe,xe,Ve,Ge,rt,bS,cq,dq,hq,uq;if(D.key==="action"||((fe=D.custom)==null?void 0:fe.type)==="ACTION"||((xe=D.custom)==null?void 0:xe.type)==="action"){const Aa=((Ve=D.custom)==null?void 0:Ve.actionCustom)||((Ge=D.custom)==null?void 0:Ge.action);return Aa&&(S.value=Aa.map(oa=>{const Fe=oa.propsActionCustom||oa.props||{},xS=oa.propCustomMessage||{};return{permission:oa.permission,label:s.value==="id"?Fe.labelID:Fe.labelEN,tooltip:s.value==="id"?Fe.tooltipID||Fe.labelID:Fe.tooltipEN||Fe.labelEN,icon:Fe.icon,variant:Fe.variant||"ghost",bgColor:Fe.bgColor,action:Fe.actionType||Fe.key,route:Fe.route,path:Fe.path,endpoint:Fe.endpointPropAction,requiredCondition:oa.requiredCondition||!1,propCustomCondition:oa.propCustomCondition||[],openDialog:oa.openDialog||!1,fieldActionCustom:(oa.fieldActionCustom||[]).map(wS=>{const u_=wS.propsFieldCustom||wS.propsFieldGlobal||wS.props||{};return{...wS,props:{...u_,endpoint:u_.endpointComponent||u_.endpoint}}}),requireConfirm:oa.requireConfirm||Fe.requireConfirm||!1,confirmTitle:s.value==="id"?xS.titleID||Fe.confirmTitleID||"Konfirmasi":xS.titleEN||Fe.confirmTitleEN||"Confirm",confirmMessage:s.value==="id"?xS.messageID||Fe.confirmMessageID||"Apakah Anda yakin?":xS.messageEN||Fe.confirmMessageEN||"Are you sure?"}})),null}let N;const Z=((rt=D.custom)==null?void 0:rt.conditionBadge)||((bS=D.custom)==null?void 0:bS.condition);return(((cq=D.custom)==null?void 0:cq.type)==="BADGE"||((dq=D.custom)==null?void 0:dq.type)==="badge")&&Z&&(N=Z.map(Aa=>({value:Aa.value,label:s.value==="id"?Aa.labelID:Aa.labelEN,color:Aa.color,variant:Aa.variant}))),{key:D.key,label:s.value==="id"?D.labelID:D.labelEN,width:D.width,align:D.align,sortable:!0,type:(hq=D.custom)==null?void 0:hq.type,condition:N,keyCheckbox:(uq=D.custom)==null?void 0:uq.keyCheckbox}}).filter(D=>D!==null));const E=_.filters||_.filter;E&&Array.isArray(E)&&(M.value=E.map(D=>({...D,props:D.propsFilters||D.props||{}})),M.value.forEach(D=>{k.value[D.model]=""}));const K=_.actionGlobal||_.action;console.log("[DEBUG] loadConfig rawActions:",K),K&&Array.isArray(K)?(v.value=K.map(D=>{const N=D.propsActionGlobal||D.props||{};return{key:N.key,permission:D.permission,label:s.value==="id"?N.labelID||"Action":N.labelEN||"Action",tooltip:s.value==="id"?N.tooltipID||N.labelID:N.tooltipEN||N.labelEN,icon:N.icon,variant:N.variant||"default",bgColor:N.bgColor,textColor:N.textColor,route:N.route,path:N.path,endpoint:N.endpointPropAction||D.endpoint,openDialog:D.openDialog||!1,fieldActionGlobal:(D.fieldActionGlobal||D.field||[]).map(Z=>{const fe=Z.propsFieldGlobal||Z.props||{};return{...Z,props:{...fe,endpoint:fe.endpointComponent||fe.endpoint}}})}}),console.log("[DEBUG] loadConfig headerActions set:",v.value)):console.log("[DEBUG] loadConfig no rawActions found"),_.pagination!==void 0&&(w.value=_.pagination)}};t.watch(()=>o.tableConfig,()=>{de()},{deep:!0,immediate:!0});const ce=t.computed(()=>o.dynamicColumns||o.configKey||o.tableConfig?m.value:o.columns||[]),ue=t.computed(()=>o.hasActions||S.value.length>0),ve=t.computed(()=>R.value||V.value?y.value:o.loading),le=t.computed(()=>!!R.value||!!V.value),X=t.computed(()=>[]),P=_=>{if(console.log("[DEBUG] hasAction called:",{actionCode:_,permissionChecker:!!o.permissionChecker,effectivePath:U.value}),o.permissionChecker){const E=o.permissionChecker(U.value,_);return console.log("[DEBUG] permissionChecker result:",E),E}return X.value.some(E=>E.code===_)},$=(_,E)=>{if(!_.visibilityCondition)return!0;const{field:K,operator:D,value:N}=_.visibilityCondition,Z=F(E,K);switch(D){case"equals":return Z===N;case"notEquals":return Z!==N;case"in":return Array.isArray(N)&&N.includes(Z);case"notIn":return Array.isArray(N)&&!N.includes(Z);case"greaterThan":return Z>N;case"lessThan":return Z<N;case"contains":return String(Z).includes(String(N));default:return!0}},Q=t.computed(()=>{if(console.log("[DEBUG] visibleHeaderActions:",{headerActions:v.value,ignorePermissions:o.ignorePermissions}),v.value.length===0)return v.value;const _=v.value.filter(E=>{if(o.ignorePermissions)return!0;if(!E.permission)return console.log("[DEBUG] Action no permission, showing:",E.label),!0;const K=P(E.permission);return console.log("[DEBUG] Action permission check:",{label:E.label,permission:E.permission,hasPerm:K}),K});return console.log("[DEBUG] Filtered header actions:",_.length),_}),pe=t.computed(()=>S.value.length===0?S.value:S.value.filter(_=>o.ignorePermissions||!_.permission?!0:P(_.permission))),Pe=_=>pe.value.filter(E=>$(E,_)),ot=(_,E)=>{var N,Z;if(_.requiredCondition&&((N=_.propCustomCondition)==null?void 0:N.length)>0){const fe=F(E,"status"),xe=_.propCustomCondition.find(Ve=>Ve.value===fe);if(xe)return xe.bgColor||_.bgColor||"primary"}if(!_.dynamicColor||!_.colorCondition)return _.bgColor||"primary";const K=F(E,_.colorCondition.field),D=(Z=_.colorCondition.conditions)==null?void 0:Z.find(fe=>fe.value===K);return(D==null?void 0:D.bgColor)||_.bgColor||"primary"},bt=_=>{const E=(_||"left").toLowerCase();return E==="center"?"justify-center":E==="right"?"justify-end":"justify-start"},aa={ToggleLeft:n1,SquarePen:Xe,Trash2:Ii,Eye:cs,CheckCircle:la,Plus:Qs,Download:$s,RefreshCw:us,Search:pr,SlidersHorizontal:a1},_a=_=>_?ha[_]?ha[_]:aa[_]||null:null,xt=t.computed(()=>le.value?p.value.map((_,E)=>({..._,no:(d.value-1)*h.value+E+1})):_e.value),$t=t.computed(()=>le.value?f.value:te.value.length),D1=t.computed(()=>$t.value===0?0:(d.value-1)*h.value+1),E1=t.computed(()=>{const _=d.value*h.value;return _>$t.value?$t.value:_}),F=(_,E)=>{if(!(!_||!E))return E in _?_[E]:E.split(".").reduce((K,D)=>K&&K[D],_)},te=t.computed(()=>{if(le.value)return[];if(!c.value)return o.data;const _=c.value.toLowerCase();return o.data.filter(E=>ce.value.some(K=>{const D=F(E,K.key);return D==null?!1:String(D).toLowerCase().includes(_)}))}),he=t.computed(()=>le.value?[]:u.value.key?[...te.value].sort((E,K)=>{const D=F(E,u.value.key),N=F(K,u.value.key);if(D===N)return 0;let Z=0;return typeof D=="number"&&typeof N=="number"?Z=D-N:Z=String(D).localeCompare(String(N)),u.value.direction==="asc"?Z:-Z}):te.value),_e=t.computed(()=>{if(le.value)return[];const _=(d.value-1)*h.value,E=_+h.value;return he.value.slice(_,E).map((K,D)=>({...K,no:_+D+1}))}),De=t.computed(()=>le.value?Object.values(k.value).some(_=>!!_):!!c.value),G=[10,25,50,100],J=()=>{le.value&&(k.value={...k.value,keyword:c.value},d.value=1,We())};let ae;const ye=()=>{o.enableQuickSearch&&(clearTimeout(ae),ae=setTimeout(()=>{J()},500))};let ze;const na=()=>{clearTimeout(ze),ze=setTimeout(()=>{le.value&&We()},1e3)};t.watch(c,()=>{o.enableQuickSearch&&le.value&&ye()});const We=async()=>{if(le.value&&!(!R.value&&!V.value))try{y.value=!0;const _={page:d.value,perPage:h.value,...k.value,...o.apiParams};c.value&&(_.keyword=c.value),Object.keys(_).forEach(K=>{(_[K]===""||_[K]===null||_[K]===void 0)&&delete _[K]});let E;R.value?E=await i(R.value,Y.value,_):V.value&&(E=await i(V.value,B.value,_)),tq(E)}catch(_){console.error("DataTable fetch error",_),y.value=!1}},tq=_=>{console.log("DataTable handleResponseData:",_),_&&(o.dynamicColumns&&_.columns&&Array.isArray(_.columns)&&(m.value=_.columns.map(E=>({key:E.key||E.field||E.name,label:E.label||E.header||E.name,width:E.width,align:E.align||"LEFT",sortable:E.sortable!==!1,type:E.type,condition:E.condition,format:E.format}))),_.data&&Array.isArray(_.data)?(p.value=_.data,_.totalData?f.value=_.totalData:_.maxPage?f.value=_.maxPage*h.value:f.value=_.data.length*(_.maxPage||1)):Array.isArray(_)?(p.value=_,f.value=_.length):_.users?(p.value=_.users,f.value=_.users.length):_.items&&Array.isArray(_.items)?(p.value=_.items,f.value=_.total||_.totalItems||_.items.length):_.list&&Array.isArray(_.list)?(p.value=_.list,f.value=_.total||_.list.length):_.rows&&Array.isArray(_.rows)?(p.value=_.rows,f.value=_.count||_.total||_.rows.length):_.result&&Array.isArray(_.result)?(p.value=_.result,f.value=_.total||_.count||_.result.length):(console.warn("DataTable: Unknown response format",_),p.value=[],f.value=0)),y.value=!1};t.onUnmounted(()=>{clearTimeout(ae),clearTimeout(ze)});const mS=()=>{Object.keys(k.value).forEach(_=>{k.value[_]=""}),c.value="",d.value=1,We()},aq=()=>{d.value=1,We()},gS=(_,E)=>{const K=F(_,E.key);let D={variant:"secondary",class:"",label:K};if(E.condition){const N=E.condition.find(Z=>{const fe=(xe,Ve)=>typeof xe=="string"&&typeof Ve=="string"?xe.toLowerCase().trim()===Ve.toLowerCase().trim():xe==Ve;return typeof K=="object"&&K!==null?fe(Z.value,K.code)||fe(Z.value,K.id):fe(Z.value,K)});if(N){if(N.variant&&(D.variant=N.variant),D.label=N.label||(typeof K=="object"?K.name||K.code:K),N.color){const Z=N.color.toLowerCase(),fe=D.variant==="outline",xe={success:"bg-green-500 hover:bg-green-600 border-transparent text-white shadow",warning:"bg-yellow-500 hover:bg-yellow-600 border-transparent text-white shadow",info:"bg-blue-500 hover:bg-blue-600 border-transparent text-white shadow"},Ve={success:"text-green-600 border-green-600 hover:bg-green-50",warning:"text-yellow-600 border-yellow-600 hover:bg-yellow-50",info:"text-blue-600 border-blue-600 hover:bg-blue-50",danger:"text-red-600 border-red-600 hover:bg-red-50",destructive:"text-red-600 border-red-600 hover:bg-red-50",primary:"text-primary-600 border-primary-600 hover:bg-primary-50",secondary:"text-neutral-600 border-neutral-600 hover:bg-zinc-50"},Ge={danger:"destructive",secondary:"secondary",primary:"default"};fe?Ve[Z]&&(D.class=Ve[Z]):Ge[Z]?D.variant=Ge[Z]:xe[Z]&&(D.class=xe[Z])}}else D.label=typeof K=="object"?(K==null?void 0:K.name)||(K==null?void 0:K.code)||"-":K}else D.label=typeof K=="object"?(K==null?void 0:K.name)||(K==null?void 0:K.code)||"-":K;return D},nq=_=>{u.value.key===_?u.value.direction=u.value.direction==="asc"?"desc":"asc":(u.value.key=_,u.value.direction="asc"),r("update:sort",u.value)},l_=_=>{_!==d.value&&(d.value=_,le.value&&We(),r("update:page",_))},oq=_=>{h.value=_,d.value=1,le.value&&We()},rq=_=>{const E=Math.random()*15+75;if(_.width){const K=parseInt(String(_.width));return K<100?`${Math.floor(K*(Math.random()*.2+.7))}px`:`${E}%`}return`${E}%`},c_=()=>{c.value="",k.value={},d.value=1,We()},iq=_=>{var E;if(console.log("[DEBUG] handleHeaderAction called:",_),_.route||_.path)console.log("[DEBUG] Emitting navigate:",{route:_.route,path:_.path}),r("navigate",{route:_.route,path:_.path,key:_.key});else if(_.openDialog){I.value=_,z.value=null,b.value={};const K=_.fieldActionGlobal||_.field||[];K.length&&K.forEach(D=>{var fe;const N=_.endpoint||((fe=_.propsActionGlobal)==null?void 0:fe.endpointPropAction)||_.propsActionGlobal,Z=N!=null&&N.keyParam&&N.keyParam.length>0?N.keyParam[0]:null;Z&&D.model===Z||!Z&&/^(id|ids|idAuditTrail)/i.test(D.model)?b.value[D.model]=A.value:b.value[D.model]||(b.value[D.model]="")}),x.value=!0}else r("action",{action:((E=_.propsActionCustom)==null?void 0:E.key)||_.key||"create",row:null,selection:A.value})},sq=(_,E)=>{if(_.requireConfirm){L.value={button:_,row:E},C.value=!0;return}if(_.openDialog){I.value=_,z.value=E,b.value={};const K=ce.value.find(N=>N.type==="CHECKBOX"),D=(K==null?void 0:K.keyCheckbox)||"id";_.fieldActionCustom&&_.fieldActionCustom.forEach(N=>{/^(id|ids|idAuditTrail)/i.test(N.model)?b.value[N.model]=[E[D]]:b.value[N.model]=""}),x.value=!0;return}d_(_,E)},d_=(_,E)=>{if(_.route){if(_.path){const D=_.route.startsWith("/")?_.route:"/"+_.route;sessionStorage.setItem(`layout_${D}`,_.path)}let K=_.route;K.includes(":")?K=K.replaceAll(/:([a-zA-Z0-9_]+)/g,(D,N)=>E[N]||E.id||N):E.id&&(K=`${K.replace(/\/$/,"")}/${E.id}`),_.path&&_.path,r("navigate",{route:K,path:_.path})}else if(_.endpoint&&_.endpoint.apiUrl){y.value=!0;const{apiUrl:K}=Ke(),D=_.endpoint.apiUrl,N=_.endpoint.apiMethod||"POST",Z={};_.endpoint.keyParam&&Array.isArray(_.endpoint.keyParam)&&_.endpoint.keyParam.forEach((fe,xe)=>{const Ve=_.endpoint.model&&xe===0?_.endpoint.model:fe;E[fe]!==void 0&&(Z[Ve]=E[fe])}),Object.keys(Z).length===0&&E.id&&(Z.id=E.id),K(D,N,Z).then(()=>{We(),r("action",{action:_.action||"success",row:E})}).catch(fe=>{console.error("Action Failed",fe)}).finally(()=>{y.value=!1})}else r("action",{action:_.action,row:E})},h_=()=>{L.value&&(d_(L.value.button,L.value.row),lq())},_Q=()=>{var _,E;if(I.value){const K=I.value,D=K.endpoint||((_=K.propsActionGlobal)==null?void 0:_.endpointPropAction)||K.propsActionGlobal;let N=(D==null?void 0:D.model)||(D!=null&&D.keyParam&&D.keyParam.length>0?D.keyParam[0]:null);if(!N){const Ve=(K.fieldActionGlobal||K.fieldActionCustom||K.field||[]).find(Ge=>/^(id|ids|idAuditTrail)/i.test(Ge.model));N=Ve?Ve.model:"ids"}let Z=null,fe=!1;if(z.value){const xe=ce.value.find(rt=>rt.type==="CHECKBOX"),Ve=(xe==null?void 0:xe.keyCheckbox)||"id",Ge=z.value[Ve];D!=null&&D.apiUrl&&(Z={...b.value},Z[N]||(Z[N]=[Ge]),fe=!0)}else D!=null&&D.apiUrl&&(Z={...b.value},Z[N]||(Z[N]=A.value||[]),fe=!0);if(fe&&Z&&(D!=null&&D.apiUrl)){const{apiUrl:xe}=Ke(),Ve=D.apiUrl,Ge=D.apiMethod||"POST";xe(Ve,Ge,Z).then(()=>{x.value=!1,z.value||(A.value=[]),We(),r("action",{action:"success",row:null})}).catch(rt=>{console.error("Action Failed",rt)})}else if(z.value){const xe=ce.value.find(bS=>bS.type==="CHECKBOX"),Ve=(xe==null?void 0:xe.keyCheckbox)||"id",Ge=z.value[Ve],rt={...b.value};rt[N]||(rt[N]=[Ge]),r("action",{action:I.value.action,row:rt}),x.value=!1}else{const xe={...b.value};xe[N]||(xe[N]=A.value);const Ve={action:((E=I.value.propsActionGlobal)==null?void 0:E.key)||I.value.key,row:xe,selection:A.value};r("action",Ve),x.value=!1}}},lq=()=>{C.value=!1,L.value=null},AQ=t.computed(()=>L.value?L.value.button.confirmTitle||"Confirm":""),BQ=t.computed(()=>L.value?L.value.button.confirmMessage||"Confirm":"");e({fetchData:We,filters:k,resetFilters:mS,handleRefresh:c_});const MS=t.ref(""),VQ=_=>{if(!_)return"";const E=_.endpoint||_.endpointGlobal||{};return JSON.stringify({url:E.apiUrl||_.apiUrl,module:E.apiModule||_.apiModule,action:E.apiAction||_.apiAction,method:E.apiMethod||_.apiMethod,params:_.apiParams,socket:E.socket||_.socketEndpoint,socketParams:_.socketParams})};return t.watch(()=>o.tableConfig,()=>{if(o.tableConfig){de();const _=VQ(o.tableConfig);_!==MS.value&&(!MS.value&&le.value?(MS.value=_,We()):(MS.value=_,le.value&&na()))}},{deep:!0,immediate:!0}),t.watch(()=>o.apiModule,()=>{le.value&&We()}),t.watch(()=>o.apiParams,()=>{le.value&&We()},{deep:!0}),t.watch(()=>v.value,_=>{console.log("[DEBUG] headerActions changed:",_.length,"items");const E=Q.value;console.log("[DEBUG] visibleHeaderActions evaluated:",E.length,"items")},{deep:!0}),t.onMounted(()=>{de(),le.value&&(o.tableConfig||(y.value=!0,We()))}),(_,E)=>{var K;return t.openBlock(),t.createElementBlock("div",EY,[t.createElementVNode("div",TY,[t.createElementVNode("div",HY,[a.nested?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",jY,[t.createElementVNode("div",OY,[t.createVNode(t.unref(pr),{class:"absolute left-2.5 top-2.5 h-4 w-4 text-neutral-500 dark:text-neutral-400"}),t.createVNode(t.unref(o_),{modelValue:c.value,"onUpdate:modelValue":E[0]||(E[0]=D=>c.value=D),placeholder:"Search...",style:{"padding-left":"2.25rem !important"},class:"h-9 bg-white/95 dark:bg-zinc-800/95 border-white/30 dark:border-neutral-700/50 text-neutral-900 dark:text-neutral-100 placeholder:text-neutral-500 dark:placeholder:text-neutral-400",onKeyup:t.withKeys(J,["enter"])},null,8,["modelValue"])]),M.value.length>0?(t.openBlock(),t.createElementBlock("div",FY,[t.createVNode(mY,null,{trigger:t.withCtx(()=>[t.createVNode(xs,{variant:"secondary",icon:"SlidersHorizontal",tooltip:"Advance Search",class:"gap-2 h-9 w-full sm:w-auto justify-center bg-white/95 dark:bg-zinc-800/95 text-neutral-700 dark:text-neutral-300 hover:bg-zinc-50 dark:hover:bg-zinc-800 border border-white/30 dark:border-neutral-700/50 shadow-sm backdrop-blur-sm text-xs font-medium"})]),footer:t.withCtx(()=>[t.createElementVNode("div",WY,[t.renderSlot(_.$slots,"filter-footer",{fetch:We,reset:mS})])]),default:t.withCtx(()=>[t.createElementVNode("div",RY,[t.renderSlot(_.$slots,"filter-form",{filters:k.value},()=>[M.value.length>0?(t.openBlock(),t.createElementBlock("div",NY,[t.createElementVNode("div",$Y,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(oe.value,(D,N)=>(t.openBlock(),t.createElementBlock("div",{key:N,class:t.normalizeClass(ee(D.column))},[t.createVNode(Yz,{field:D,modelValue:k.value[D.model],"onUpdate:modelValue":Z=>k.value[D.model]=Z},null,8,["field","modelValue","onUpdate:modelValue"])],2))),128))])])):t.createCommentVNode("",!0)]),M.value.length>0?(t.openBlock(),t.createElementBlock("div",UY,[t.createVNode(t.unref(Ae),{variant:"outline",onClick:mS,disabled:ve.value,class:"flex-1 w-full"},{default:t.withCtx(()=>[...E[8]||(E[8]=[t.createTextVNode(" Reset ",-1)])]),_:1},8,["disabled"]),t.createVNode(t.unref(Ae),{onClick:aq,disabled:ve.value,class:"flex-1 w-full"},{default:t.withCtx(()=>[...E[9]||(E[9]=[t.createTextVNode(" Search ",-1)])]),_:1},8,["disabled"])])):t.createCommentVNode("",!0)])]),_:3})])):t.createCommentVNode("",!0)])),t.createElementVNode("div",{class:t.normalizeClass(["flex items-center gap-2 flex-wrap",{"w-full justify-between":a.nested}])},[a.nested?(t.openBlock(),t.createElementBlock("span",GY)):t.createCommentVNode("",!0),a.nested?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(xs,{key:1,variant:"secondary",icon:"RefreshCw",text:"Refresh",tooltip:"Refresh",class:"gap-2 h-9 bg-white/95 dark:bg-zinc-800/95 text-neutral-700 dark:text-neutral-300 hover:bg-white dark:hover:bg-zinc-800 border border-white/30 dark:border-neutral-700/50 shadow-sm backdrop-blur-sm text-xs font-medium",onClick:c_,disabled:ve.value},{icon:t.withCtx(()=>[t.createVNode(t.unref(us),{class:t.normalizeClass(["w-3.5 h-3.5",{"animate-spin":ve.value}])},null,8,["class"])]),_:1},8,["disabled"])),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Q.value,(D,N)=>(t.openBlock(),t.createBlock(xs,{key:N,icon:D.icon,text:D.label,tooltip:D.tooltip,variant:D.variant,"bg-color":D.bgColor,"text-color":D.textColor,class:"gap-2 h-9 shadow-lg shadow-primary-500/20 border-none text-xs font-medium",onClick:Z=>iq(D)},null,8,["icon","text","tooltip","variant","bg-color","text-color","onClick"]))),128)),t.renderSlot(_.$slots,"header-actions")],2)])]),t.createElementVNode("div",KY,[t.createElementVNode("table",XY,[t.createElementVNode("thead",ZY,[t.createElementVNode("tr",null,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(ce.value,D=>(t.openBlock(),t.createElementBlock("th",{key:D.key,class:t.normalizeClass([D.align?`text-${D.align.toLowerCase()}`:"",D.sortable?"cursor-pointer select-none":"","px-3 py-2 text-xs font-black text-white dark:text-neutral-100 uppercase tracking-wider transition-colors duration-150"]),style:t.normalizeStyle(D.width?{width:D.width}:{}),onClick:N=>D.sortable&&nq(D.key)},[D.type==="CHECKBOX"?(t.openBlock(),t.createElementBlock("div",QY,[t.createVNode(q1,{"model-value":q.value,indeterminate:O.value,"onUpdate:modelValue":E[1]||(E[1]=N=>W(!!N)),onClick:E[2]||(E[2]=t.withModifiers(()=>{},["stop"]))},null,8,["model-value","indeterminate"])])):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["flex items-center gap-2 w-full",bt(D.align)])},[t.createElementVNode("span",null,t.toDisplayString(D.label),1)],2))],14,YY))),128)),ue.value?(t.openBlock(),t.createElementBlock("th",JY,[...E[10]||(E[10]=[t.createElementVNode("div",{class:"flex items-center justify-center w-full"}," Actions ",-1)])])):t.createCommentVNode("",!0)])]),t.createElementVNode("tbody",eQ,[ve.value?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(h.value,D=>(t.openBlock(),t.createElementBlock("tr",{key:`skeleton-${D}`},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(ce.value,N=>{var Z,fe;return t.openBlock(),t.createElementBlock("td",{key:N.key,class:t.normalizeClass([N.align?`text-${N.align.toLowerCase()}`:"text-left","px-3 py-0.5"])},[t.createElementVNode("div",{class:t.normalizeClass(["bg-gradient-to-r from-neutral-200 via-neutral-300 to-neutral-200 dark:from-neutral-700 dark:via-neutral-600 dark:to-neutral-700 animate-shimmer",[["badge","BADGE"].includes(N.type??"")||N.condition?"h-5 rounded-full w-20":"h-4 rounded-md",((Z=N.align)==null?void 0:Z.toLowerCase())==="center"?"mx-auto":"",((fe=N.align)==null?void 0:fe.toLowerCase())==="right"?"ml-auto":""]]),style:t.normalizeStyle({width:["badge","BADGE"].includes(N.type??"")||N.condition?void 0:rq(N),backgroundSize:"200% 100%"})},null,6)],2)}),128)),a.hasActions?(t.openBlock(),t.createElementBlock("td",tQ,[...E[11]||(E[11]=[t.createElementVNode("div",{class:"flex items-center justify-center gap-1.5"},[t.createElementVNode("div",{class:"w-9 h-9 bg-zinc-200 dark:bg-zinc-700 rounded-xl animate-pulse"}),t.createElementVNode("div",{class:"w-9 h-9 bg-zinc-200 dark:bg-zinc-700 rounded-xl animate-pulse delay-75"}),t.createElementVNode("div",{class:"w-9 h-9 bg-zinc-200 dark:bg-zinc-700 rounded-xl animate-pulse delay-150"})],-1)])])):t.createCommentVNode("",!0)]))),128)):xt.value.length===0?(t.openBlock(),t.createElementBlock("tr",aQ,[t.createElementVNode("td",{colspan:ce.value.length+(ue.value?1:0),class:"text-center py-16"},[t.createElementVNode("div",oQ,[t.createElementVNode("div",null,[t.createElementVNode("p",rQ,t.toDisplayString(De.value?"No search results":"No data"),1),t.createElementVNode("p",iQ,t.toDisplayString(De.value?"Try changing keywords":"No data added"),1)])])],8,nQ)])):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:2},t.renderList(xt.value,(D,N)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:N},[t.createElementVNode("tr",sQ,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(ce.value,Z=>(t.openBlock(),t.createElementBlock("td",{key:Z.key,class:t.normalizeClass([Z.align?`text-${Z.align}`:"text-left","px-3 py-0.5 text-sm text-neutral-900 dark:text-neutral-100"])},[t.renderSlot(_.$slots,`cell-${Z.key}`,{row:D,value:F(D,Z.key)},()=>[Z.type==="CHECKBOX"?(t.openBlock(),t.createElementBlock("div",lQ,[t.createVNode(q1,{"model-value":H(D),"onUpdate:modelValue":fe=>T(D,!!fe),onClick:E[3]||(E[3]=t.withModifiers(()=>{},["stop"]))},null,8,["model-value","onUpdate:modelValue"])])):Z.type==="badge"||Z.type==="BADGE"||Z.condition?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["flex items-center gap-1.5 flex-wrap md:flex-nowrap",[Z.align?`justify-${Z.align}`:"justify-start"]])},[t.createVNode(t.unref(Ia),{variant:gS(D,Z).variant,class:t.normalizeClass([gS(D,Z).class,"whitespace-nowrap truncate max-w-[150px] inline-block"])},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(gS(D,Z).label),1)]),_:2},1032,["variant","class"])],2)):Z.key==="no"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode(t.toDisplayString((d.value-1)*h.value+N+1),1)],64)):Z.type==="date"||Z.type==="DATE"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:3},[t.createTextVNode(t.toDisplayString(F(D,Z.key)?t.unref(sY)(F(D,Z.key),"long"):"-"),1)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:4},[t.createTextVNode(t.toDisplayString(Z.format?Z.format(F(D,Z.key)):F(D,Z.key)),1)],64))])],2))),128)),ue.value?(t.openBlock(),t.createElementBlock("td",cQ,[t.renderSlot(_.$slots,"actions",{row:D,buttons:Pe(D),getButtonColor:ot,getIconComponent:_a},()=>[Pe(D).length>0?(t.openBlock(),t.createElementBlock("div",dQ,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Pe(D),(Z,fe)=>(t.openBlock(),t.createElementBlock("div",{key:fe,class:"group relative"},[t.createVNode(xs,{tooltip:Z.tooltip||Z.label,icon:_a(Z.icon),size:"icon",variant:Z.variant||"ghost","bg-color":ot(Z,D),onClick:xe=>sq(Z,D)},null,8,["tooltip","icon","variant","bg-color","onClick"])]))),128))])):t.createCommentVNode("",!0)])])):t.createCommentVNode("",!0)]),_.$slots["expanded-row"]?(t.openBlock(),t.createElementBlock("tr",hQ,[t.createElementVNode("td",{colspan:ce.value.length+(ue.value?1:0),class:"px-0 py-0"},[t.renderSlot(_.$slots,"expanded-row",{row:D,index:N})],8,uQ)])):t.createCommentVNode("",!0)],64))),128))])])]),!ve.value&&xt.value.length>0&&a.showPagination&&w.value?(t.openBlock(),t.createElementBlock("div",pQ,[t.createElementVNode("div",yQ,[t.createVNode(t.unref(_Y),{"model-value":String(h.value),"onUpdate:modelValue":E[4]||(E[4]=D=>oq(Number(D)))},{default:t.withCtx(()=>[t.createVNode(t.unref(PY),{class:"h-8 w-[70px] bg-white dark:bg-zinc-800 border-neutral-200 dark:border-neutral-700"},{default:t.withCtx(()=>[t.createVNode(t.unref(DY),{placeholder:String(h.value)},null,8,["placeholder"])]),_:1}),t.createVNode(t.unref(AY),null,{default:t.withCtx(()=>[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(G,D=>t.createVNode(t.unref(VY),{key:D,value:String(D)},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(D),1)]),_:2},1032,["value"])),64))]),_:1})]),_:1},8,["model-value"]),E[16]||(E[16]=t.createElementVNode("div",{class:"h-5 w-px bg-zinc-300 dark:bg-zinc-600"},null,-1)),t.createElementVNode("span",fQ,[E[12]||(E[12]=t.createTextVNode(" Showing ",-1)),t.createElementVNode("span",kQ,t.toDisplayString(D1.value),1),E[13]||(E[13]=t.createTextVNode(" to ",-1)),t.createElementVNode("span",mQ,t.toDisplayString(E1.value),1),E[14]||(E[14]=t.createTextVNode(" of ",-1)),t.createElementVNode("span",gQ,t.toDisplayString($t.value),1),E[15]||(E[15]=t.createTextVNode(" items ",-1))])]),t.createElementVNode("div",MQ,[t.createVNode(t.unref(bY),{total:$t.value,"items-per-page":h.value,"sibling-count":1,"show-edges":"",page:d.value,"onUpdate:page":l_,class:"scale-90 origin-right"},{default:t.withCtx(()=>[t.createVNode(t.unref(xY),{class:"flex items-center gap-1"},{default:t.withCtx(({items:D})=>[t.createVNode(t.unref(vY),{class:"w-8 h-8 p-0 flex items-center justify-center border border-neutral-200 dark:border-neutral-700 rounded-md bg-white dark:bg-zinc-800 text-neutral-900 dark:text-neutral-100 hover:bg-zinc-100 dark:hover:bg-zinc-700 disabled:opacity-50 disabled:cursor-not-allowed"},{default:t.withCtx(()=>[t.createVNode(t.unref(Os),{class:"h-4 w-4"})]),_:1}),t.createVNode(t.unref(IY),{class:"w-8 h-8 p-0 flex items-center justify-center border border-neutral-200 dark:border-neutral-700 rounded-md bg-white dark:bg-zinc-800 text-neutral-900 dark:text-neutral-100 hover:bg-zinc-100 dark:hover:bg-zinc-700 disabled:cursor-not-allowed"},{default:t.withCtx(()=>[t.createVNode(t.unref(cn),{class:"h-4 w-4"})]),_:1}),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(D,(N,Z)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[N.type==="page"?(t.openBlock(),t.createBlock(t.unref(CY),{key:Z,value:N.value,"as-child":""},{default:t.withCtx(()=>[t.createVNode(t.unref(Ae),{class:"w-8 h-8 p-0 text-sm",variant:N.value===d.value?"default":"outline",disabled:N.value===d.value,onClick:fe=>l_(N.value)},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(N.value),1)]),_:2},1032,["variant","disabled","onClick"])]),_:2},1032,["value"])):(t.openBlock(),t.createBlock(t.unref(wY),{key:N.type,index:Z},null,8,["index"]))],64))),256)),t.createVNode(t.unref(SY),{class:"w-8 h-8 p-0 flex items-center justify-center border border-neutral-200 dark:border-neutral-700 rounded-md bg-white dark:bg-zinc-800 text-neutral-900 dark:text-neutral-100 hover:bg-zinc-100 dark:hover:bg-zinc-700 disabled:cursor-not-allowed"},{default:t.withCtx(()=>[t.createVNode(t.unref(dn),{class:"h-4 w-4"})]),_:1}),t.createVNode(t.unref(LY),{class:"w-8 h-8 p-0 flex items-center justify-center border border-neutral-200 dark:border-neutral-700 rounded-md bg-white dark:bg-zinc-800 text-neutral-900 dark:text-neutral-100 hover:bg-zinc-100 dark:hover:bg-zinc-700 disabled:cursor-not-allowed"},{default:t.withCtx(()=>[t.createVNode(t.unref(Fs),{class:"h-4 w-4"})]),_:1})]),_:1})]),_:1},8,["total","items-per-page","page"])])])):t.createCommentVNode("",!0),t.createVNode(lS,{modelValue:C.value,"onUpdate:modelValue":E[5]||(E[5]=D=>C.value=D),title:AQ.value,icon:"AlertCircle","max-width":450,persistent:!1},{actions:t.withCtx(()=>[t.createVNode(t.unref(Ae),{variant:"outline",onClick:lq},{default:t.withCtx(()=>[...E[17]||(E[17]=[t.createTextVNode(" Cancel ",-1)])]),_:1}),t.createVNode(t.unref(Ae),{onClick:h_},{default:t.withCtx(()=>[...E[18]||(E[18]=[t.createTextVNode(" Yes ",-1)])]),_:1})]),default:t.withCtx(()=>[t.createElementVNode("div",bQ,[t.createElementVNode("p",xQ,t.toDisplayString(BQ.value),1)])]),_:1},8,["modelValue","title"]),t.createVNode(lS,{modelValue:x.value,"onUpdate:modelValue":E[7]||(E[7]=D=>x.value=D),title:((K=I.value)==null?void 0:K.label)||"Action",icon:"AlertCircle","max-width":450},{actions:t.withCtx(()=>[t.createVNode(t.unref(Ae),{variant:"outline",onClick:E[6]||(E[6]=D=>x.value=!1)},{default:t.withCtx(()=>[...E[19]||(E[19]=[t.createTextVNode(" Cancel ",-1)])]),_:1}),t.createVNode(t.unref(Ae),{onClick:_Q},{default:t.withCtx(()=>[...E[20]||(E[20]=[t.createTextVNode(" Save ",-1)])]),_:1})]),default:t.withCtx(()=>{var D,N;return[t.createElementVNode("div",wQ,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(((D=I.value)==null?void 0:D.fieldActionCustom)||((N=I.value)==null?void 0:N.fieldActionGlobal)||[],(Z,fe)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:fe},[Z.isHidden?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(ee(Z.column))},[t.createVNode(Yz,{field:Z,modelValue:b.value[Z.model],"onUpdate:modelValue":xe=>b.value[Z.model]=xe},null,8,["field","modelValue","onUpdate:modelValue"])],2))],64))),128))])]}),_:1},8,["modelValue","title"])])}}}),vQ={class:"h-full flex flex-col"},CQ={key:1,class:"flex-1 flex items-center justify-center"},LQ={key:2,class:"flex-1 flex items-center justify-center text-red-500"},Qz=t.defineComponent({__name:"AutoLayoutDatatable",props:{layoutCode:{},userPermissions:{},permissionBase:{}},emits:["action","navigate"],setup(a,{emit:e}){const n=a,o=e,r=H1.useRoute();H1.useRouter();const{apiUrl:i}=Ke(),s=t.inject("hasActionAccess",()=>!1),c=t.inject("userPermissions",null),d=t.ref(null),h=t.ref(!0),u=t.ref(null),p=async()=>{var k;h.value=!0;try{const m=await i(`/api/auto-layout/datatable/form-dynamic?code=${n.layoutCode}`,"GET");m.status&&(d.value=Array.isArray(m.data)?m.data[0]:m.data,console.log("[DEBUG] AutoLayoutDatatable config loaded:",d.value),console.log("[DEBUG] actionGlobal in config:",(k=d.value)==null?void 0:k.actionGlobal))}catch(m){console.error("Gagal Menampilkan Datatable:",m)}finally{h.value=!1}},y=k=>{k.action==="add"&&console.log("[AutoLayoutDatatable] Add action triggered"),console.log("Aksi:",k.action,k)},f=k=>{console.log("[DEBUG] AutoLayoutDatatable handleNavigate:",k);let m=k.route;if(m||(m=`/${((r==null?void 0:r.path)||"").split("/")[1]||"product"}/create`),m){const g=k.path?{code:k.path}:{};console.log("[DEBUG] Emitting navigate to parent:",{path:m,query:g}),o("navigate",{route:m,query:g})}else console.warn("[DEBUG] No route or path provided for navigation")};return t.onMounted(()=>{p()}),(k,m)=>(t.openBlock(),t.createElementBlock("div",vQ,[!h.value&&d.value?(t.openBlock(),t.createBlock(fS,{key:0,ref_key:"dtRef",ref:u,"api-url":`/api/auto-layout/datatable/form-dynamic?code=${n.layoutCode}`,"api-method":"GET","table-config":d.value,"permission-base":n.permissionBase||"","user-permissions":n.userPermissions||t.unref(c),"permission-checker":t.unref(s),onAction:y,onNavigate:f},{"header-actions":t.withCtx(()=>[...m[0]||(m[0]=[])]),_:1},8,["api-url","table-config","permission-base","user-permissions","permission-checker"])):h.value?(t.openBlock(),t.createElementBlock("div",CQ,[...m[1]||(m[1]=[t.createElementVNode("i",{class:"mdi mdi-loading mdi-spin text-4xl text-primary-600"},null,-1)])])):(t.openBlock(),t.createElementBlock("div",LQ," Failed to load configuration for "+t.toDisplayString(n.layoutCode),1))]))}}),Jz=t.defineCustomElement(Zz),eq=t.defineCustomElement(Qz);typeof customElements<"u"&&(customElements.get("micro-dynamic-form")||customElements.define("micro-dynamic-form",Jz),customElements.get("micro-dynamic-datatable")||customElements.define("micro-dynamic-datatable",eq));const SQ=[ES,H_,xs,lI,mz,q1,gz,ZI,lS,Dz,uS,Ez,QI,Tz,e_,a_,t_,n_,Hz,r_,jz,Oz,Fz,Rz,Nz,i_,s_,pS,Gz,Kz,Xz,fS],IQ={install(a,e={}){e&&Object.keys(e).length>0&&gq(e),SQ.forEach(n=>{n.name&&a.component(n.name,n)})}};ne.AutoLayoutDatatable=Qz,ne.AutoLayoutForm=Zz,ne.DCodeAutoComplete=ES,ne.DCodeButton=xs,ne.DCodeCard=lI,ne.DCodeChart=mz,ne.DCodeCheckbox=q1,ne.DCodeCurrencyField=gz,ne.DCodeDatePicker=ZI,ne.DCodeDialog=lS,ne.DCodeDialogCloseBtn=Dz,ne.DCodeDropzone=uS,ne.DCodeFileField=Ez,ne.DCodeFileResult=QI,ne.DCodeIconDropdown=Tz,ne.DCodeImageCropperDialog=e_,ne.DCodeImageField=a_,ne.DCodeImageResult=t_,ne.DCodeInfiniteAutoComplete=H_,ne.DCodeLabel=n_,ne.DCodeMultiSelect=Hz,ne.DCodeOtpInput=r_,ne.DCodeProgress=jz,ne.DCodeProgressBar=Oz,ne.DCodeRadio=Fz,ne.DCodeRadioCustom=Rz,ne.DCodeSlider=Nz,ne.DCodeSwitch=i_,ne.DCodeTextField=s_,ne.DCodeTextarea=pS,ne.DCodeTimelineWithIcons=Gz,ne.DCodeUploadFile=Kz,ne.DCodeWizard=Xz,ne.DataTable=fS,ne.DataTableComponent=fS,ne.MicroDynamicDatatable=eq,ne.MicroDynamicForm=Jz,ne.cn=ke,ne.default=IQ,Object.defineProperties(ne,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
|
|
8593
|
+
`});return(C,x)=>t.withDirectives((t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["flex flex-col gap-2 w-full",t.unref(n).class]),"aria-busy":!1},[h.value?(t.openBlock(),t.createBlock(t.unref(Bs),{key:0,for:d.value,class:"text-sm font-medium"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(h.value)+" ",1),a.required?(t.openBlock(),t.createElementBlock("span",qK,"*")):t.createCommentVNode("",!0)]),_:1},8,["for"])):t.createCommentVNode("",!0),t.createElementVNode("div",PK,[a.showValue?(t.openBlock(),t.createElementBlock("div",DK,[t.createElementVNode("span",EK,t.toDisplayString(r.valuePrefix)+t.toDisplayString(a.min)+t.toDisplayString(r.valueSuffix),1),t.createElementVNode("span",TK,t.toDisplayString(f.value),1),t.createElementVNode("span",HK,t.toDisplayString(r.valuePrefix)+t.toDisplayString(a.max)+t.toDisplayString(r.valueSuffix),1)])):t.createCommentVNode("",!0),t.createElementVNode("div",jK,[t.createElementVNode("div",{class:t.normalizeClass(["absolute top-1/2 -translate-y-1/2 w-full h-full bg-gray-200 rounded-lg pointer-events-none",[a.size==="sm"?"h-2":a.size==="md"?"h-2.5":"h-3"]])},[t.createElementVNode("div",{class:t.normalizeClass(["absolute top-0 left-0 h-full rounded-lg transition-all",[a.color==="blue"?"bg-blue-500":a.color==="green"?"bg-green-500":a.color==="red"?"bg-red-500":a.color==="yellow"?"bg-yellow-500":a.color==="purple"?"bg-purple-500":"bg-gray-500"]]),style:t.normalizeStyle({width:`${k.value}%`})},null,6)],2),t.createElementVNode("input",{id:d.value,ref_key:"sliderRef",ref:i,type:"range",value:a.modelValue,min:a.min,max:a.max,step:a.step,disabled:a.disabled,placeholder:a.placeholder,class:t.normalizeClass(p.value),onInput:m,onChange:g,onMousedown:w,onMouseup:S,onTouchstart:w,onTouchend:S},null,42,OK)]),a.marks.length>0?(t.openBlock(),t.createElementBlock("div",FK,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.marks,b=>(t.openBlock(),t.createElementBlock("div",{key:b.value,class:"absolute flex flex-col items-center",style:t.normalizeStyle({left:`${v(b.value)}%`,transform:"translateX(-50%)"})},[x[0]||(x[0]=t.createElementVNode("div",{class:"w-1 h-2 bg-gray-400 rounded-full"},null,-1)),t.createElementVNode("span",RK,t.toDisplayString(b.label),1)],4))),128))])):t.createCommentVNode("",!0)]),c.value?(t.openBlock(),t.createElementBlock("div",NK,[x[1]||(x[1]=t.createElementVNode("svg",{class:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})],-1)),t.createTextVNode(" "+t.toDisplayString(a.error),1)])):t.createCommentVNode("",!0),M.value?(t.openBlock(),t.createBlock(t.resolveDynamicComponent("style"),{key:2},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(M.value),1)]),_:1})):t.createCommentVNode("",!0)],2)),[[t.vShow,u.value]])}}),UK={class:"inline-flex items-center gap-3"},WK=["for"],GK={key:0,class:"text-red-500 ml-1"},KK=["id","name","aria-checked","aria-label","disabled"],XK={key:0,class:"absolute inset-0 flex items-center justify-center"},ZK={class:"relative z-10 flex items-center gap-2"},YK=["id","name","aria-checked","aria-label","disabled"],QK={key:0,class:"absolute inset-0 flex items-center justify-center"},JK=["for"],eX={key:0,class:"text-red-500 ml-1"},tX={name:"DCodeSwitch"},s_=t.defineComponent({...tX,props:{modelValue:{type:Boolean,default:!1},label:{default:""},disabled:{type:Boolean,default:!1},size:{default:"medium"},color:{default:"primary"},loading:{type:Boolean,default:!1},labelPosition:{default:"right"},id:{},name:{},required:{type:Boolean,default:!1},showTooltip:{type:Boolean,default:!1},tooltipActiveText:{default:"Aktif"},tooltipInactiveText:{default:"Tidak Aktif"}},emits:["update:modelValue","change"],setup(a,{emit:e}){const n=a,o=e,r=t.computed({get:()=>n.modelValue,set:p=>{!n.disabled&&!n.loading&&(o("update:modelValue",p),o("change",p))}}),i=t.computed(()=>{switch(n.size){case"small":return"w-9 h-5";case"large":return"w-14 h-7";default:return"w-11 h-6"}}),s=t.computed(()=>{switch(n.size){case"small":return"w-4 h-4";case"large":return"w-6 h-6";default:return"w-5 h-5"}}),c=t.computed(()=>{switch(n.size){case"small":return"translate-x-4";case"large":return"translate-x-7";default:return"translate-x-5"}}),d=t.computed(()=>{if(n.disabled)return"bg-gray-300";if(!r.value)return"bg-gray-200";switch(n.color){case"success":return"bg-green-500";case"warning":return"bg-yellow-500";case"danger":return"bg-red-500";default:return"bg-blue-500"}}),h=()=>{r.value=!r.value},u=t.computed(()=>r.value?n.tooltipActiveText:n.tooltipInactiveText);return(p,y)=>(t.openBlock(),t.createElementBlock("div",UK,[a.label&&a.labelPosition==="left"?(t.openBlock(),t.createElementBlock("label",{key:0,for:a.id,class:t.normalizeClass(["text-sm font-medium text-gray-700 cursor-pointer",{"opacity-50":a.disabled}])},[t.createTextVNode(t.toDisplayString(a.label)+" ",1),a.required?(t.openBlock(),t.createElementBlock("span",GK,"*")):t.createCommentVNode("",!0)],10,WK)):t.createCommentVNode("",!0),t.createVNode(t.unref(sB),null,{default:t.withCtx(()=>[a.showTooltip?(t.openBlock(),t.createBlock(t.unref(rB),{key:0,"delay-duration":200},{default:t.withCtx(()=>[t.createVNode(t.unref(lB),{"as-child":""},{default:t.withCtx(()=>[t.createElementVNode("button",{type:"button",id:a.id,name:a.name,"aria-checked":r.value?"true":"false","aria-label":a.label||"Toggle switch",disabled:a.disabled||a.loading,class:t.normalizeClass([i.value,d.value,"relative inline-flex items-center rounded-full transition-all duration-300 ease-in-out focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500","hover:scale-105 active:scale-95",{"cursor-not-allowed opacity-50":a.disabled,"cursor-wait":a.loading,"cursor-pointer":!a.disabled&&!a.loading}]),onClick:h},[t.createElementVNode("span",{class:t.normalizeClass([s.value,r.value?c.value:"translate-x-0.5","inline-block transform rounded-full bg-white shadow-lg transition-all duration-300 ease-in-out","hover:shadow-xl flex items-center justify-center"])},[a.loading?(t.openBlock(),t.createElementBlock("span",XK,[...y[0]||(y[0]=[t.createElementVNode("svg",{class:"animate-spin h-3 w-3 text-gray-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),t.createElementVNode("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})],-1)])])):t.createCommentVNode("",!0),t.createVNode(t.Transition,{"enter-active-class":"transition-all duration-200 ease-out","enter-from-class":"scale-0 rotate-90 opacity-0","enter-to-class":"scale-100 rotate-0 opacity-100","leave-active-class":"transition-all duration-150 ease-in","leave-from-class":"scale-100 rotate-0 opacity-100","leave-to-class":"scale-0 -rotate-90 opacity-0"},{default:t.withCtx(()=>[r.value&&!a.loading?(t.openBlock(),t.createBlock(t.unref(sa),{key:0,class:t.normalizeClass([a.size==="small"?"w-2.5 h-2.5":a.size==="large"?"w-4 h-4":"w-3 h-3","text-green-600 stroke-[3]"])},null,8,["class"])):!r.value&&!a.loading?(t.openBlock(),t.createBlock(t.unref(it),{key:1,class:t.normalizeClass([a.size==="small"?"w-2.5 h-2.5":a.size==="large"?"w-4 h-4":"w-3 h-3","text-gray-400 stroke-[3]"])},null,8,["class"])):t.createCommentVNode("",!0)]),_:1})],2)],10,KK)]),_:1}),t.createVNode(t.unref(iB),{side:"top","side-offset":8,class:t.normalizeClass(["animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 px-3 py-2 rounded-lg text-sm font-medium shadow-xl border-0",[r.value?"bg-green-600 dark:bg-green-500 text-white":"bg-gray-700 dark:bg-gray-600 text-white"]])},{default:t.withCtx(()=>[t.createElementVNode("span",ZK,[t.createElementVNode("span",{class:t.normalizeClass(["inline-block w-2 h-2 rounded-full animate-pulse",r.value?"bg-green-200":"bg-gray-300"])},null,2),t.createTextVNode(" "+t.toDisplayString(u.value),1)])]),_:1},8,["class"])]),_:1})):(t.openBlock(),t.createElementBlock("button",{key:1,type:"button",id:a.id,name:a.name,"aria-checked":r.value?"true":"false","aria-label":a.label||"Toggle switch",disabled:a.disabled||a.loading,class:t.normalizeClass([i.value,d.value,"relative inline-flex items-center rounded-full transition-all duration-300 ease-in-out focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500","hover:scale-105 active:scale-95",{"cursor-not-allowed opacity-50":a.disabled,"cursor-wait":a.loading,"cursor-pointer":!a.disabled&&!a.loading}]),onClick:h},[t.createElementVNode("span",{class:t.normalizeClass([s.value,r.value?c.value:"translate-x-0.5","inline-block transform rounded-full bg-white shadow-lg transition-all duration-300 ease-in-out","hover:shadow-xl flex items-center justify-center"])},[a.loading?(t.openBlock(),t.createElementBlock("span",QK,[...y[1]||(y[1]=[t.createElementVNode("svg",{class:"animate-spin h-3 w-3 text-gray-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),t.createElementVNode("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})],-1)])])):t.createCommentVNode("",!0),t.createVNode(t.Transition,{"enter-active-class":"transition-all duration-200 ease-out","enter-from-class":"scale-0 rotate-90 opacity-0","enter-to-class":"scale-100 rotate-0 opacity-100","leave-active-class":"transition-all duration-150 ease-in","leave-from-class":"scale-100 rotate-0 opacity-100","leave-to-class":"scale-0 -rotate-90 opacity-0"},{default:t.withCtx(()=>[r.value&&!a.loading?(t.openBlock(),t.createBlock(t.unref(sa),{key:0,class:t.normalizeClass([a.size==="small"?"w-2.5 h-2.5":a.size==="large"?"w-4 h-4":"w-3 h-3","text-green-600 stroke-[3]"])},null,8,["class"])):!r.value&&!a.loading?(t.openBlock(),t.createBlock(t.unref(it),{key:1,class:t.normalizeClass([a.size==="small"?"w-2.5 h-2.5":a.size==="large"?"w-4 h-4":"w-3 h-3","text-gray-400 stroke-[3]"])},null,8,["class"])):t.createCommentVNode("",!0)]),_:1})],2)],10,YK))]),_:1}),a.label&&a.labelPosition==="right"?(t.openBlock(),t.createElementBlock("label",{key:1,for:a.id,class:t.normalizeClass(["text-sm font-medium text-gray-700 cursor-pointer",{"opacity-50":a.disabled}])},[t.createTextVNode(t.toDisplayString(a.label)+" ",1),a.required?(t.openBlock(),t.createElementBlock("span",eX,"*")):t.createCommentVNode("",!0)],10,JK)):t.createCommentVNode("",!0)]))}}),aX=["aria-busy"],nX={key:0,class:"h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},oX={key:1,class:"flex justify-end"},rX={key:0,class:"ml-1 text-destructive"},iX={class:"relative w-full group"},sX={key:0,class:"absolute inset-y-0 left-4 flex items-center text-muted-foreground"},lX={key:1},cX={key:1,class:"absolute inset-y-0 right-4 flex items-center"},dX={key:2,class:"absolute inset-y-0 right-4 flex items-center"},hX={key:3,class:"absolute top-full right-0 z-10 text-[11px] text-gray-500 dark:text-gray-400 opacity-0 transition-opacity pointer-events-none group-focus-within:opacity-100"},uX={key:1,class:"text-xs text-destructive"},l_=t.defineComponent({name:"DCodeTextField",inheritAttrs:!1,__name:"DCodeTextField",props:{modelValue:{},prependInner:{},clearable:{type:Boolean},hideClearWhenEmpty:{type:Boolean,default:!0},textCase:{default:"none"},applyTextCaseToValue:{type:Boolean,default:!0},valueType:{default:"free"},allowSpaces:{type:Boolean,default:!0},allowChars:{},pattern:{},visible:{type:Boolean,default:!0},skeleton:{type:Boolean,default:!1},showCharCount:{type:Boolean,default:!0},returnNumber:{type:Boolean,default:!1},error:{default:null},placeholder:{default:""},icon:{},disabled:{type:Boolean,default:!1}},emits:["update:modelValue","clear"],setup(a,{emit:e}){const n=t.useAttrs(),o=t.computed(()=>{var P;return((P=c.valueType)==null?void 0:P.toLowerCase())==="password"||n.type==="password"}),r=t.ref(!1),i=()=>{r.value=!r.value},s=e,c=a,d=t.computed(()=>n.label);t.computed(()=>c.visible??!0);const h=Math.random().toString(36).slice(2,7),u=t.computed(()=>`app-text-field-${n.id||d.value||"field"}-${h}`),p=t.computed(()=>{const P=n.required,$=n["aria-required"];return P===""||P===!0||P==="true"||($==="true"||$===!0)}),y=t.computed(()=>{const{label:P,class:$,id:Q,required:pe,"aria-required":Pe,...ot}=n;return ot}),f=t.computed(()=>{var $,Q;const P={...y.value};return(($=c.valueType)==null?void 0:$.toLowerCase())==="number"&&(P.type="text",P.inputmode="numeric",P.pattern="[0-9]*"),((Q=c.valueType)==null?void 0:Q.toLowerCase())==="email"&&(P.type="email",P.inputmode="email"),o.value&&(P.type=r.value?"text":"password"),c.disabled&&(P.disabled=!0),P}),k=t.computed(()=>{const P=c.modelValue;return P==null||String(P).length===0}),m=t.computed(()=>c.clearable?c.hideClearWhenEmpty?!k.value:!0:!1),g=t.computed(()=>{switch(c.textCase){case"uppercase":return"uppercase";case"lowercase":return"lowercase";default:return"none"}}),w=t.ref(String(c.modelValue??""));t.watch(()=>c.modelValue,P=>{const $=String(P??"");$!==w.value&&(w.value=$)});const S=t.ref(!1),v=t.ref(!1),M=P=>P.split(/(\s+)/).map($=>{if($.trim()==="")return $;const Q=$.toLowerCase();return Q.charAt(0).toUpperCase()+Q.slice(1)}).join(""),C=P=>{const $=P.toLowerCase(),Q=$.search(new RegExp("\\p{L}","u"));return Q<0?$:$.slice(0,Q)+$.charAt(Q).toUpperCase()+$.slice(Q+1)},x=P=>{switch(c.textCase){case"uppercase":return P.toUpperCase();case"lowercase":return P.toLowerCase();case"titlecase":return M(P);case"sentencecase":return C(P);case"none":default:return P}},b=P=>{if(!P)return null;const $=Array.isArray(P)?P.join(""):P;return $?new Set($):null},L=t.computed(()=>b(c.allowChars)),I=(P,$)=>(P.lastIndex=0,P.test($)),V=P=>{var bt;const $=(bt=c.valueType)==null?void 0:bt.toLowerCase();if($==="free"||$==="email"||$==="password")return!0;const Q=P===" ",pe=/\d/.test(P),Pe=new RegExp("\\p{L}","u").test(P),ot=new RegExp("\\p{N}","u").test(P);return $==="number"?pe:$==="letter"?Pe||c.allowSpaces&&Q:$==="letternumber"?Pe||ot||c.allowSpaces&&Q:!0},A=P=>{let $="";for(const Q of P){const pe=!!L.value&&L.value.has(Q);c.pattern&&!pe&&!I(c.pattern,Q)||!pe&&!V(Q)||($+=Q)}return $},q=t.computed(()=>{const P=n.maxlength??n.maxLength;let $=Number.NaN;return typeof P=="number"?$=P:typeof P=="string"&&($=Number.parseInt(P,10)),Number.isFinite($)&&$>0?$:-1}),O=t.computed(()=>w.value.length),H=t.computed(()=>c.showCharCount?q.value>0:!1),W=P=>q.value>0?P.slice(0,q.value):P,T=P=>{const $=A(P),Q=c.applyTextCaseToValue?x($):$;return W(Q)};let j=null;const R=P=>{var $;if(P==="")return null;if((($=c.valueType)==null?void 0:$.toLowerCase())==="number"&&c.returnNumber){const Q=Number(P);return Number.isFinite(Q)?Q:null}return P},Y=P=>{w.value=P,s("update:modelValue",R(P))},B=(P,$)=>{const Q=W($);v.value=!0,P.value=Q,Y(Q),queueMicrotask(()=>v.value=!1)},z=(P,$)=>{const Q=P.selectionStart??P.value.length,pe=P.selectionEnd??P.value.length;if(q.value>0){const Pe=P.value.length-(pe-Q),ot=q.value-Pe;if(ot<=0)return;$=$.slice(0,ot)}P.setRangeText($,Q,pe,"end"),B(P,T(P.value))},U=P=>{var pe;if(!j||S.value||v.value||!((pe=P.inputType)!=null&&pe.startsWith("insert")))return;const $=P.data;if($==null)return;const Q=T($);Q!==$&&(P.preventDefault(),Q.length>0&&z(j,Q))},oe=P=>{var pe;if(!j||S.value||v.value)return;const $=((pe=P.clipboardData)==null?void 0:pe.getData("text"))??"",Q=T($);Q!==$&&(P.preventDefault(),Q.length>0&&z(j,Q))},ee=P=>{if(!j||S.value||v.value)return;const $=P.target,Q=$.value??"",pe=T(Q);pe===Q?Y(pe):B($,pe)},de=()=>S.value=!0,ce=()=>{if(S.value=!1,!j)return;const P=j.value??"",$=T(P);$===P?Y($):B(j,$)};t.onMounted(()=>{if(j=document.getElementById(u.value),!j)return;j.addEventListener("beforeinput",U),j.addEventListener("paste",oe),j.addEventListener("input",ee),j.addEventListener("compositionstart",de),j.addEventListener("compositionend",ce);const P=j.value??"",$=T(P);$===P?Y($):B(j,$)}),t.onBeforeUnmount(()=>{j&&(j.removeEventListener("beforeinput",U),j.removeEventListener("paste",oe),j.removeEventListener("input",ee),j.removeEventListener("compositionstart",de),j.removeEventListener("compositionend",ce),j=null)});const ue=()=>{w.value="",j&&(j.value=""),s("update:modelValue",null),s("clear")},ve=t.computed(()=>H.value&&O.value>0),le=t.computed(()=>`${O.value} / ${q.value}`),X=t.computed(()=>!!c.error);return(P,$)=>t.withDirectives((t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["flex flex-col gap-1 w-full",t.unref(n).class]),"aria-busy":c.skeleton},[c.skeleton?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[d.value?(t.openBlock(),t.createElementBlock("div",nX)):t.createCommentVNode("",!0),$[1]||($[1]=t.createElementVNode("div",{class:"relative w-full"},[t.createElementVNode("div",{class:"h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse"})],-1)),H.value?(t.openBlock(),t.createElementBlock("div",oX,[...$[0]||($[0]=[t.createElementVNode("div",{class:"h-3 w-14 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},null,-1)])])):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[d.value?(t.openBlock(),t.createBlock(t.unref(Bs),{key:0,for:u.value,class:"text-sm font-medium"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(d.value)+" ",1),p.value?(t.openBlock(),t.createElementBlock("span",rX,"*")):t.createCommentVNode("",!0)]),_:1},8,["for"])):t.createCommentVNode("",!0),t.createElementVNode("div",iX,[c.icon||c.prependInner||P.$slots["prepend-inner"]?(t.openBlock(),t.createElementBlock("div",sX,[t.renderSlot(P.$slots,"prepend-inner",{},()=>[c.icon?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(c.icon),{key:0,class:"h-4 w-4"})):c.prependInner?(t.openBlock(),t.createElementBlock("span",lX,t.toDisplayString(c.prependInner),1)):t.createCommentVNode("",!0)])])):t.createCommentVNode("",!0),t.createVNode(t.unref(o_),t.mergeProps({id:u.value,modelValue:w.value},f.value,{placeholder:c.placeholder,style:`text-transform: ${g.value}; padding-left: ${c.icon||c.prependInner||P.$slots["prepend-inner"]?"2.5rem":"0.75rem"} !important; padding-right: ${m.value||o.value?"2.5rem":"0.75rem"} !important;`,class:["w-full h-10 flex items-center gap-2 rounded-lg border py-2 bg-white dark:bg-neutral-900 text-foreground dark:text-gray-300 border-gray-300 dark:border-gray-700 focus-within:ring-1 focus-within:ring-white",X.value?"border-destructive focus:ring-destructive focus-visible:ring-destructive focus-visible:ring-[0.5px]":""]}),null,16,["id","modelValue","placeholder","style","class"]),o.value?(t.openBlock(),t.createElementBlock("div",cX,[t.createElementVNode("button",{type:"button",class:"text-muted-foreground hover:text-foreground",tabindex:"-1",onClick:i},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(r.value?t.unref(cs):t.unref(Us)),{class:"w-4 h-4"}))])])):t.createCommentVNode("",!0),m.value&&!o.value?(t.openBlock(),t.createElementBlock("div",dX,[t.createElementVNode("button",{type:"button",class:"text-muted-foreground hover:text-foreground text-lg leading-none","aria-label":"Clear input",onClick:ue}," ✕ ")])):t.createCommentVNode("",!0),ve.value&&!X.value?(t.openBlock(),t.createElementBlock("p",hX,t.toDisplayString(le.value),1)):t.createCommentVNode("",!0)]),X.value?(t.openBlock(),t.createElementBlock("p",uX,t.toDisplayString(c.error),1)):t.createCommentVNode("",!0)],64))],10,aX)),[[t.vShow,a.visible]])}}),pX=["aria-busy"],yX={key:0,class:"h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},fX={key:0,class:"ml-1 text-destructive"},kX={class:"relative w-full group"},mX=["id","value"],gX={key:0,class:"absolute top-1 right-2"},MX={key:1,class:"absolute top-full right-0 z-10 text-[11px] text-gray-500 dark:text-gray-400 opacity-0 transition-opacity pointer-events-none group-focus-within:opacity-100"},bX={key:1,class:"text-xs text-destructive"},pS=t.defineComponent({name:"DCodeTextarea",inheritAttrs:!1,__name:"DCodeTextarea",props:{modelValue:{},clearable:{type:Boolean},hideClearWhenEmpty:{type:Boolean,default:!0},textCase:{default:"none"},applyTextCaseToValue:{type:Boolean,default:!0},valueType:{default:"free"},allowSpaces:{type:Boolean,default:!0},allowChars:{},pattern:{},visible:{type:Boolean,default:!0},skeleton:{type:Boolean,default:!1},showCharCount:{type:Boolean,default:!0},returnNumber:{type:Boolean,default:!1},error:{default:null}},emits:["update:modelValue","clear"],setup(a,{emit:e}){const n=t.useAttrs(),o=e,r=a,i=t.computed(()=>n.label),s=t.computed(()=>r.visible??!0),c=Math.random().toString(36).slice(2,7),d=t.computed(()=>`app-textarea-${n.id||i.value||"field"}-${c}`),h=t.computed(()=>{const X=n.required,P=n["aria-required"];return X===""||X===!0||X==="true"||(P==="true"||P===!0)}),u=t.computed(()=>{const{label:X,class:P,id:$,required:Q,"aria-required":pe,...Pe}=n;return Pe}),p=t.computed(()=>{const X=n.maxlength;let P=Number.NaN;return typeof X=="number"?P=X:typeof X=="string"&&(P=Number.parseInt(X,10)),Number.isFinite(P)&&P>0?P:-1}),y=X=>p.value>0?X.slice(0,p.value):X,f=t.computed(()=>{const X=r.modelValue;return X==null||String(X).length===0}),k=t.computed(()=>r.clearable?r.hideClearWhenEmpty?!f.value:!0:!1),m=t.ref(String(r.modelValue??""));t.watch(()=>r.modelValue,X=>{const P=String(X??"");P!==m.value&&(m.value=P)});const g=t.ref(!1),w=t.ref(!1),S=X=>X.split(/(\s+)/).map(P=>{if(P.trim()==="")return P;const $=P.toLowerCase();return $.charAt(0).toUpperCase()+$.slice(1)}).join(""),v=X=>{const P=X.toLowerCase(),$=P.search(new RegExp("\\p{L}","u"));return $<0?P:P.slice(0,$)+P.charAt($).toUpperCase()+P.slice($+1)},M=X=>{switch(r.textCase){case"uppercase":return X.toUpperCase();case"lowercase":return X.toLowerCase();case"titlecase":return S(X);case"sentencecase":return v(X);case"none":default:return X}},C=t.computed(()=>{switch(r.textCase){case"uppercase":return"uppercase";case"lowercase":return"lowercase";default:return"none"}}),x=X=>{if(!X)return null;const P=Array.isArray(X)?X.join(""):X;return P?new Set(P):null},b=t.computed(()=>x(r.allowChars)),L=(X,P)=>(X.lastIndex=0,X.test(P)),I=X=>{if(X===`
|
|
8594
|
+
`)return r.valueType!=="number";if(r.valueType==="free")return!0;const P=X===" ",$=/\d/.test(X),Q=new RegExp("\\p{L}","u").test(X),pe=new RegExp("\\p{N}","u").test(X);return r.valueType==="number"?$:r.valueType==="letter"?Q||r.allowSpaces&&P:r.valueType==="letternumber"?Q||pe||r.allowSpaces&&P:!0},V=X=>{let P="";for(const $ of X){const Q=!!b.value&&b.value.has($);r.pattern&&!Q&&!L(r.pattern,$)||!Q&&!I($)||(P+=$)}return P},A=X=>{const P=V(X),$=r.applyTextCaseToValue?M(P):P;return y($)};let q=null;const O=X=>{if(X==="")return null;if(r.valueType==="number"&&r.returnNumber){const P=X.replaceAll(`
|
|
8595
|
+
`,""),$=Number(P);return Number.isFinite($)?$:null}return X},H=X=>{m.value=X,o("update:modelValue",O(X))},W=(X,P)=>{const $=y(P);w.value=!0,X.value=$,H($),queueMicrotask(()=>w.value=!1)},T=(X,P)=>{const $=X.selectionStart??X.value.length,Q=X.selectionEnd??X.value.length;if(p.value>0){const pe=X.value.length-(Q-$),Pe=p.value-pe;if(Pe<=0)return;P=P.slice(0,Pe)}X.setRangeText(P,$,Q,"end"),W(X,A(X.value))},j=X=>{var Q;if(!q||g.value||w.value||!((Q=X.inputType)!=null&&Q.startsWith("insert")))return;const P=X.data;if(P==null)return;const $=A(P);$!==P&&(X.preventDefault(),$.length>0&&T(q,$))},R=X=>{var Q;if(!q||g.value||w.value)return;const P=((Q=X.clipboardData)==null?void 0:Q.getData("text"))??"",$=A(P);$!==P&&(X.preventDefault(),$.length>0&&T(q,$))},Y=async X=>{if(!q||g.value||w.value)return;const P=X.target,$=P.value??"",Q=A($);if(Q===$){const pe=P.selectionStart??Q.length,Pe=P.selectionEnd??Q.length;W(P,Q),await t.nextTick();try{P.setSelectionRange(pe,Pe)}catch{}H(Q)}else{const pe=P.selectionStart??Q.length,Pe=P.selectionEnd??Q.length;W(P,Q),await t.nextTick();try{P.setSelectionRange(pe,Pe)}catch{}}},B=()=>g.value=!0,z=()=>{if(g.value=!1,!q)return;const X=q.value??"",P=A(X);P===X?H(P):W(q,P)};t.onMounted(()=>{if(q=document.getElementById(d.value),!q)return;q.addEventListener("beforeinput",j),q.addEventListener("paste",R),q.addEventListener("input",Y),q.addEventListener("compositionstart",B),q.addEventListener("compositionend",z);const X=q.value??"",P=A(X);P===X?H(P):W(q,P)}),t.onBeforeUnmount(()=>{q&&(q.removeEventListener("beforeinput",j),q.removeEventListener("paste",R),q.removeEventListener("input",Y),q.removeEventListener("compositionstart",B),q.removeEventListener("compositionend",z),q=null)});const U=()=>{m.value="",q&&(q.value=""),o("update:modelValue",null),o("clear")},oe=t.computed(()=>m.value.length),ee=t.computed(()=>r.showCharCount?p.value>0:!1),de=t.computed(()=>ee.value&&oe.value>0),ce=t.computed(()=>`${oe.value} / ${p.value}`),ue=t.computed(()=>!!r.error),ve=t.computed(()=>{const X=n.rows,P=typeof X=="number"?X:Number.parseInt(String(X??""),10);return Number.isFinite(P)&&P>0?P:3}),le=t.computed(()=>({height:`${ve.value*24+16}px`}));return(X,P)=>t.withDirectives((t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["flex flex-col gap-1 w-full",t.unref(n).class]),"aria-busy":r.skeleton},[r.skeleton?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[i.value?(t.openBlock(),t.createElementBlock("div",yX)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:"w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse",style:t.normalizeStyle(le.value)},null,4)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[i.value?(t.openBlock(),t.createBlock(t.unref(Bs),{key:0,for:d.value,class:"text-sm font-medium"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(i.value)+" ",1),h.value?(t.openBlock(),t.createElementBlock("span",fX,"*")):t.createCommentVNode("",!0)]),_:1},8,["for"])):t.createCommentVNode("",!0),t.createElementVNode("div",kX,[t.createElementVNode("textarea",t.mergeProps({id:d.value,value:m.value},u.value,{style:`text-transform: ${C.value}; padding-right: ${k.value?"2.5rem":"0.75rem"} !important; padding-left: 0.75rem !important;`,class:["flex min-h-[120px] w-full rounded-lg border py-2 bg-white dark:bg-neutral-900 text-foreground dark:text-gray-300 border-gray-300 dark:border-gray-700 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",ue.value?"border-destructive focus-visible:ring-destructive":""]}),null,16,mX),k.value?(t.openBlock(),t.createElementBlock("div",gX,[t.createElementVNode("button",{type:"button",class:"text-muted-foreground hover:text-foreground text-sm leading-none","aria-label":"Clear textarea",onClick:U}," ✕ ")])):t.createCommentVNode("",!0),de.value&&!ue.value?(t.openBlock(),t.createElementBlock("p",MX,t.toDisplayString(ce.value),1)):t.createCommentVNode("",!0)]),ue.value?(t.openBlock(),t.createElementBlock("p",bX,t.toDisplayString(r.error),1)):t.createCommentVNode("",!0)],64))],10,pX)),[[t.vShow,s.value]])}}),$V=t.defineComponent({__name:"Avatar",props:{class:{type:[Boolean,null,String,Object,Array]},size:{default:"sm"},shape:{default:"circle"}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createBlock(t.unref(OT),{class:t.normalizeClass(t.unref(ke)(t.unref(xX)({size:a.size,shape:a.shape}),e.class))},{default:t.withCtx(()=>[t.renderSlot(n.$slots,"default")]),_:3},8,["class"]))}}),UV=t.defineComponent({__name:"AvatarFallback",props:{delayMs:{},asChild:{type:Boolean},as:{}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createBlock(t.unref(RT),t.normalizeProps(t.guardReactiveProps(e)),{default:t.withCtx(()=>[t.renderSlot(n.$slots,"default")]),_:3},16))}}),WV=t.defineComponent({__name:"AvatarImage",props:{src:{},referrerPolicy:{},crossOrigin:{},asChild:{type:Boolean},as:{}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createBlock(t.unref(UT),t.mergeProps(e,{class:"h-full w-full object-cover"}),{default:t.withCtx(()=>[t.renderSlot(n.$slots,"default")]),_:3},16))}}),xX=i1("inline-flex items-center justify-center font-normal text-foreground select-none shrink-0 bg-secondary overflow-hidden",{variants:{size:{sm:"h-10 w-10 text-xs",base:"h-16 w-16 text-2xl",lg:"h-32 w-32 text-5xl"},shape:{circle:"rounded-full",square:"rounded-md"}}}),yS=t.defineComponent({__name:"Separator",props:{orientation:{default:"horizontal"},decorative:{type:Boolean,default:!0},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a,n=Ee(e,"class");return(o,r)=>(t.openBlock(),t.createBlock(t.unref(fj),t.mergeProps(t.unref(n),{class:t.unref(ke)("shrink-0 bg-border",e.orientation==="horizontal"?"h-px w-full":"w-px h-full",e.class)}),null,16,["class"]))}}),wX={class:"bg-card text-card-foreground"},vX={class:"pb-6 px-3"},CX={key:0,class:"flex justify-center p-8"},LX={key:1,class:"p-8 text-center text-red-500"},SX={key:2,class:"relative"},IX={class:"space-y-6"},_X={class:"rounded-xl border bg-card text-card-foreground shadow"},AX={class:"p-4"},BX={class:"flex items-center justify-between gap-3"},zX={class:"font-medium"},VX={class:"text-xs text-muted-foreground"},qX={class:"mt-1 text-sm text-muted-foreground"},PX={class:"text-foreground"},DX={class:"text-foreground"},EX={class:"mt-1 text-xs text-muted-foreground"},TX={key:0,class:"mt-3 flex items-center gap-2 text-sm"},HX={class:"flex items-center justify-between gap-3"},jX={class:"font-medium"},OX={class:"text-xs text-muted-foreground"},FX={class:"mt-2 text-sm text-muted-foreground"},RX={class:"flex flex-wrap items-center justify-between gap-3"},NX={class:"flex items-center gap-3"},$X={class:"leading-tight"},UX={class:"text-sm font-medium"},WX={class:"text-xs text-muted-foreground"},GX={class:"flex items-center gap-2"},KX={key:2,class:"flex flex-col gap-3 sm:flex-row sm:items-start"},XX={class:"h-16 w-16 shrink-0 rounded-lg bg-muted flex items-center justify-center"},ZX=["src"],YX={class:"flex-1"},QX={class:"flex items-center justify-between gap-3"},JX={class:"font-medium"},eZ={class:"text-xs text-muted-foreground"},tZ={class:"mt-1 text-sm text-muted-foreground"},aZ={class:"text-left sm:text-center"},nZ={class:"text-xs text-muted-foreground"},oZ={class:"text-left sm:text-center"},rZ={class:"text-xs text-muted-foreground"},iZ={class:"text-left sm:text-center"},sZ={class:"text-xs text-muted-foreground"},lZ={class:"flex items-center justify-between gap-3"},cZ={class:"font-medium"},dZ={class:"text-xs text-muted-foreground"},hZ={class:"mt-2 text-sm text-muted-foreground"},uZ={class:"mt-3 flex items-center gap-3"},pZ={class:"text-sm font-medium"},yZ={class:"flex items-start justify-between gap-3"},fZ={class:"font-medium"},kZ={class:"mt-3 grid gap-2 text-sm"},mZ={class:"flex items-center justify-between gap-3"},gZ={class:"flex items-center gap-2 text-muted-foreground"},MZ={class:"font-medium"},bZ={class:"flex items-center justify-between gap-3"},xZ={class:"flex items-center gap-2 text-muted-foreground"},wZ={class:"font-medium"},vZ={class:"flex items-center justify-between gap-3"},CZ={class:"flex items-center gap-2 text-muted-foreground"},LZ={class:"font-medium"},SZ={class:"flex items-center justify-between"},IZ={class:"flex items-center gap-2"},_Z={class:"flex items-start justify-between gap-3"},AZ={class:"flex items-center gap-2"},BZ={class:"font-medium"},zZ={class:"mt-2 text-sm text-muted-foreground"},VZ={key:0,class:"mt-1 text-sm text-muted-foreground"},qZ={class:"flex flex-wrap items-center justify-between gap-3"},PZ={class:"flex items-center gap-2"},DZ={class:"text-xs text-muted-foreground"},GV=t.defineComponent({__name:"DCodeTimelineWithIcons",props:{items:{},apiUrl:{},apiMethod:{}},setup(a){const n=AE(_E).smaller("md");t.ref(!1);const o=a,r=t.ref(!1),i=t.ref(null),s=t.ref([]),c=t.computed(()=>s.value.length>0?s.value:o.items&&o.items.length>0?o.items:[]),d=async()=>{if(o.apiUrl){r.value=!0,i.value=null;try{const p=await fetch(o.apiUrl,{method:o.apiMethod||"GET",headers:{"Content-Type":"application/json"}});if(!p.ok)throw new Error(`Error: ${p.status} ${p.statusText}`);const y=await p.json();Array.isArray(y)?s.value=y:y.data&&Array.isArray(y.data)?s.value=y.data:y.items&&Array.isArray(y.items)?s.value=y.items:s.value=[]}catch(p){console.error("Failed to fetch timeline items:",p),i.value=p.message||"Failed to fetch data"}finally{r.value=!1}}};t.onMounted(()=>{o.apiUrl&&d()}),t.watch(()=>o.apiUrl,()=>{o.apiUrl?d():s.value=[]});const h=p=>{switch(p){case"flight":return{Icon:Ys,Circle:"bg-primary/10 text-primary border-primary/30"};case"interview":return{Icon:Ns,Circle:"bg-emerald-500/10 text-emerald-600 border-emerald-500/30"};case"product":return{Icon:t1,Circle:"bg-amber-500/10 text-amber-600 border-amber-500/30"};case"design":return{Icon:ir,Circle:"bg-sky-500/10 text-sky-600 border-sky-500/30"};case"server":return{Icon:Js,Circle:"bg-rose-500/10 text-rose-600 border-rose-500/30"};case"location":return{Icon:Ks,Circle:"bg-emerald-500/10 text-emerald-600 border-emerald-500/30"};default:return{Icon:Rs,Circle:"bg-primary/10 text-primary border-primary/30"}}},u=p=>p.split(" ").filter(Boolean).slice(0,2).map(y=>{var f;return(f=y[0])==null?void 0:f.toUpperCase()}).join("");return(p,y)=>{const f=t.resolveComponent("ShoppingCart"),k=t.resolveComponent("RefreshCcw"),m=t.resolveComponent("MapPin");return t.openBlock(),t.createElementBlock("div",wX,[y[8]||(y[8]=t.createElementVNode("div",{class:"flex flex-col space-y-1.5 py-6 px-3"},[t.createElementVNode("h3",{class:"leading-none tracking-tight text-lg font-medium"},"Timeline With Icons")],-1)),t.createElementVNode("div",vX,[r.value?(t.openBlock(),t.createElementBlock("div",CX,[...y[0]||(y[0]=[t.createElementVNode("div",{class:"animate-spin rounded-full h-8 w-8 border-b-2 border-primary"},null,-1)])])):i.value?(t.openBlock(),t.createElementBlock("div",LX,t.toDisplayString(i.value),1)):(t.openBlock(),t.createElementBlock("div",SX,[y[7]||(y[7]=t.createElementVNode("div",{class:"absolute left-4 top-0 h-full w-px bg-border"},null,-1)),t.createElementVNode("div",IX,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(c.value,(g,w)=>(t.openBlock(),t.createElementBlock("div",{key:w,class:"relative pl-14"},[t.createElementVNode("div",{class:t.normalizeClass(["absolute left-0 top-2 flex h-8 w-8 items-center justify-center rounded-full border",h(g.type).Circle])},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(h(g.type).Icon),{class:"h-4 w-4"}))],2),t.createElementVNode("div",_X,[t.createElementVNode("div",AX,[g.type==="flight"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("div",BX,[t.createElementVNode("p",zX,t.toDisplayString(g.title),1),t.createElementVNode("p",VX,t.toDisplayString(g.meta),1)]),t.createElementVNode("p",qX,[t.createElementVNode("span",PX,t.toDisplayString(g.from),1),t.createVNode(t.unref(Ts),{class:"mx-2 inline h-4 w-4"}),t.createElementVNode("span",DX,t.toDisplayString(g.to),1)]),t.createElementVNode("p",EX,t.toDisplayString(g.time),1),g.fileName?(t.openBlock(),t.createElementBlock("div",TX,[t.createVNode(t.unref(ds),{class:"h-4 w-4 text-muted-foreground"}),t.createElementVNode("span",null,t.toDisplayString(g.fileName),1)])):t.createCommentVNode("",!0)],64)):g.type==="interview"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createElementVNode("div",HX,[t.createElementVNode("p",jX,t.toDisplayString(g.title),1),t.createElementVNode("p",OX,t.toDisplayString(g.meta),1)]),t.createElementVNode("p",FX,t.toDisplayString(g.desc),1),t.createVNode(t.unref(yS),{class:"my-4"}),t.createElementVNode("div",RX,[t.createElementVNode("div",NX,[t.createVNode(t.unref($V),{class:"h-10 w-10"},{default:t.withCtx(()=>[g.avatarUrl?(t.openBlock(),t.createBlock(t.unref(WV),{key:0,src:g.avatarUrl},null,8,["src"])):t.createCommentVNode("",!0),t.createVNode(t.unref(UV),null,{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(u(g.personName??"")),1)]),_:2},1024)]),_:2},1024),t.createElementVNode("div",$X,[t.createElementVNode("p",UX,t.toDisplayString(g.personName),1),t.createElementVNode("p",WX,t.toDisplayString(g.personRole),1)])]),t.createElementVNode("div",GX,[t.createVNode(t.unref(Ae),{size:"icon",variant:"ghost"},{default:t.withCtx(()=>[t.createVNode(t.unref(hs),{class:"h-4 w-4"})]),_:1}),t.createVNode(t.unref(Ae),{size:"icon",variant:"ghost"},{default:t.withCtx(()=>[t.createVNode(t.unref(Zs),{class:"h-4 w-4"})]),_:1})])])],64)):g.type==="product"?(t.openBlock(),t.createElementBlock("div",KX,[t.createElementVNode("div",XX,[g.imgUrl?(t.openBlock(),t.createElementBlock("img",{key:0,src:g.imgUrl,class:"h-full w-full rounded-lg object-cover",alt:"product"},null,8,ZX)):(t.openBlock(),t.createBlock(f,{key:1,class:"h-5 w-5 text-muted-foreground"}))]),t.createElementVNode("div",YX,[t.createElementVNode("div",QX,[t.createElementVNode("p",JX,t.toDisplayString(g.title),1),t.createElementVNode("p",eZ,t.toDisplayString(g.meta),1)]),t.createElementVNode("p",tZ,t.toDisplayString(g.desc),1),t.createElementVNode("div",{class:t.normalizeClass(["mt-4 grid gap-3",t.unref(n)?"grid-cols-1":"grid-cols-3"])},[t.createElementVNode("div",aZ,[y[1]||(y[1]=t.createElementVNode("p",{class:"text-sm font-medium"},"Customer",-1)),t.createElementVNode("p",nZ,t.toDisplayString(g.customer),1)]),t.createElementVNode("div",oZ,[y[2]||(y[2]=t.createElementVNode("p",{class:"text-sm font-medium"},"Price",-1)),t.createElementVNode("p",rZ,t.toDisplayString(g.price),1)]),t.createElementVNode("div",iZ,[y[3]||(y[3]=t.createElementVNode("p",{class:"text-sm font-medium"},"Quantity",-1)),t.createElementVNode("p",sZ,t.toDisplayString(g.qty),1)])],2)])])):g.type==="design"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:3},[t.createElementVNode("div",lZ,[t.createElementVNode("p",cZ,t.toDisplayString(g.title),1),t.createElementVNode("p",dZ,t.toDisplayString(g.meta),1)]),t.createElementVNode("p",hZ,t.toDisplayString(g.desc),1),t.createElementVNode("div",uZ,[t.createVNode(t.unref($V),{class:"h-10 w-10"},{default:t.withCtx(()=>[g.avatarUrl?(t.openBlock(),t.createBlock(t.unref(WV),{key:0,src:g.avatarUrl},null,8,["src"])):t.createCommentVNode("",!0),t.createVNode(t.unref(UV),null,{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(u(g.personName??"")),1)]),_:2},1024)]),_:2},1024),t.createElementVNode("p",pZ,t.toDisplayString(g.personName),1)])],64)):g.type==="server"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:4},[t.createElementVNode("div",yZ,[t.createElementVNode("p",fZ,t.toDisplayString(g.title),1),t.createVNode(t.unref(Ia),{variant:"destructive",class:"h-6"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(g.chipText??""),1)]),_:2},1024)]),t.createElementVNode("div",kZ,[t.createElementVNode("div",mZ,[t.createElementVNode("div",gZ,[t.createVNode(t.unref(Ws),{class:"h-4 w-4"}),y[4]||(y[4]=t.createElementVNode("span",null,"IP Address",-1))]),t.createElementVNode("span",MZ,t.toDisplayString(g.ip),1)]),t.createElementVNode("div",bZ,[t.createElementVNode("div",xZ,[t.createVNode(t.unref(ls),{class:"h-4 w-4"}),y[5]||(y[5]=t.createElementVNode("span",null,"CPU",-1))]),t.createElementVNode("span",wZ,t.toDisplayString(g.cpu),1)]),t.createElementVNode("div",vZ,[t.createElementVNode("div",CZ,[t.createVNode(t.unref(ls),{class:"h-4 w-4"}),y[6]||(y[6]=t.createElementVNode("span",null,"Memory",-1))]),t.createElementVNode("span",LZ,t.toDisplayString(g.memory),1)])]),t.createVNode(t.unref(yS),{class:"my-4"}),t.createElementVNode("div",SZ,[t.createElementVNode("div",IZ,[t.createVNode(t.unref(Ae),{size:"icon",variant:"ghost"},{default:t.withCtx(()=>[t.createVNode(t.unref(e1),{class:"h-4 w-4"})]),_:1}),t.createVNode(t.unref(Ae),{size:"icon",variant:"ghost"},{default:t.withCtx(()=>[t.createVNode(k,{class:"h-4 w-4"})]),_:1})])])],64)):g.type==="location"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:5},[t.createElementVNode("div",_Z,[t.createElementVNode("div",AZ,[t.createVNode(m,{class:"h-4 w-4 text-muted-foreground"}),t.createElementVNode("p",BZ,t.toDisplayString(g.title),1)]),t.createVNode(t.unref(Ia),{variant:"destructive",class:"h-6"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(g.chipText),1)]),_:2},1024)]),t.createElementVNode("p",zZ,t.toDisplayString(g.desc1),1),g.desc2?(t.openBlock(),t.createElementBlock("p",VZ,t.toDisplayString(g.desc2),1)):t.createCommentVNode("",!0),t.createVNode(t.unref(yS),{class:"my-4"}),t.createElementVNode("div",qZ,[t.createElementVNode("div",PZ,[t.createVNode(t.unref(Ae),{size:"icon",variant:"ghost"},{default:t.withCtx(()=>[t.createVNode(t.unref(Gs),{class:"h-4 w-4"})]),_:1}),t.createVNode(t.unref(Ae),{size:"icon",variant:"ghost"},{default:t.withCtx(()=>[t.createVNode(t.unref(hs),{class:"h-4 w-4"})]),_:1}),t.createVNode(t.unref(Ae),{size:"icon",variant:"ghost"},{default:t.withCtx(()=>[t.createVNode(t.unref(o1),{class:"h-4 w-4"})]),_:1})]),t.createElementVNode("p",DZ,"Due date: "+t.toDisplayString(g.due),1)])],64)):t.createCommentVNode("",!0)])])]))),128))])]))])])}}}),EZ={class:"dcode-upload-file"},TZ={class:"border-2 border-dashed border-gray-300 dark:border-gray-700 rounded-lg p-6 flex flex-col items-center justify-center text-center hover:bg-gray-50 dark:hover:bg-gray-800 transition-colors cursor-pointer"},HZ={key:0,class:"text-xs text-gray-500 mt-1"},jZ=["accept"],OZ={key:1,class:"text-xs text-red-600 mt-1"},KV=t.defineComponent({__name:"DCodeUploadFile",props:{label:{},accept:{},errorMessage:{},modelValue:{}},emits:["update:modelValue"],setup(a,{emit:e}){const n=e,o=r=>{var s;const i=(s=r.target.files)==null?void 0:s[0];i&&n("update:modelValue",i)};return(r,i)=>(t.openBlock(),t.createElementBlock("div",EZ,[a.label?(t.openBlock(),t.createBlock(n_,{key:0,label:a.label},null,8,["label"])):t.createCommentVNode("",!0),t.createElementVNode("div",TZ,[t.createVNode(t.unref(ca),{class:"w-8 h-8 text-gray-400 mb-2"}),i[0]||(i[0]=t.createElementVNode("p",{class:"text-sm text-gray-600 dark:text-gray-400"},[t.createElementVNode("span",{class:"font-medium text-primary-600"},"Click to upload"),t.createTextVNode(" or drag and drop ")],-1)),a.accept?(t.openBlock(),t.createElementBlock("p",HZ,t.toDisplayString(a.accept),1)):t.createCommentVNode("",!0),t.createElementVNode("input",{type:"file",class:"hidden",onChange:o,accept:a.accept},null,40,jZ)]),a.errorMessage?(t.openBlock(),t.createElementBlock("p",OZ,t.toDisplayString(a.errorMessage),1)):t.createCommentVNode("",!0)]))}}),FZ=["onClick"],RZ={key:1,class:"mr-2 text-xs font-bold shrink-0 opacity-50"},NZ={class:"font-semibold text-sm whitespace-normal text-center leading-tight"},$Z={key:1},UZ={key:0,class:"text-primary-700"},WZ={key:1},GZ={key:2},KZ={key:1,class:"mr-2 text-sm font-bold opacity-70"},XZ={class:"whitespace-normal text-sm text-center leading-tight"},ZZ={class:"flex flex-col flex-1 min-w-0"},YZ={class:"text-sm text-muted-foreground"},QZ={class:"px-1"},XV=t.defineComponent({__name:"DCodeWizard",props:{tabs:{},modelValue:{},defaultTab:{default:0},allowTabClick:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},cache:{type:Boolean,default:!0},autoFetchOnMount:{type:Boolean,default:!0},apiOptions:{type:[Object,Function],default:void 0},isVertical:{type:Boolean,default:!1},isWizard:{type:Boolean,default:!1},typeWizard:{default:"icon"},showNavigation:{type:Boolean,default:!0},submitText:{default:"Simpan"},loading:{type:Boolean,default:!1}},emits:["update:modelValue","change","loaded","error"],setup(a,{emit:e}){const n=a,o=e,r=Ke(),i=r==null?void 0:r.DCodeApi;typeof i!="function"&&console.error("[DCodeWizardTabs] useApi() must expose DCodeApi()");const s=t.ref(n.defaultTab),c=t.computed({get(){var x;if(typeof n.modelValue=="string"){const b=(x=n.tabs)==null?void 0:x.findIndex(L=>L.key===n.modelValue);if(b!==void 0&&b>=0)return b}return(typeof n.modelValue=="number"?n.modelValue:void 0)??s.value},set(x){var b;if(s.value=x,typeof n.modelValue=="string"){const L=(b=n.tabs)==null?void 0:b[x];L?o("update:modelValue",L.key):o("update:modelValue",x)}else o("update:modelValue",x)}}),d=t.computed(()=>{var x;return((x=n.tabs)==null?void 0:x.length)??0}),h=t.computed(()=>{var x;return(x=n.tabs)==null?void 0:x[c.value]});function u(x){return d.value<=0?0:Math.min(Math.max(x,0),d.value-1)}const p=t.reactive({});function y(x){return p[x.key]||(p[x.key]={loaded:!1,loading:!1,data:null,error:null}),p[x.key]}function f(){if(n.apiOptions)return typeof n.apiOptions=="function"?n.apiOptions():n.apiOptions}function k(x){const b=x.endpoint||{};return{apiModule:x.apiModule||b.apiModule,apiAction:x.apiAction||b.apiAction,apiUrl:b.apiUrl,apiMethod:b.apiMethod||"GET",apiParams:x.apiParams}}function m(x){if(n.isWizard||!n.allowTabClick||n.disabled)return!1;const b=n.tabs[x];return!(!b||b.disabled)}async function g(x){if(typeof x.tab.fetchData=="function"){const O=await x.tab.fetchData(),H=(O==null?void 0:O.data)??O;return(H==null?void 0:H.data)??H}const b=k(x.tab);if(!(b.apiModule&&b.apiAction||b.apiUrl))return null;if(typeof i!="function")throw new Error("DCodeApi is not available");const I=f();let V;if(b.apiUrl)V=await i("","",I,{_url:b.apiUrl,_method:b.apiMethod,_data:b.apiParams??void 0});else{const O={...I,...b.apiParams};V=await i(b.apiModule,b.apiAction,O)}const A=(V==null?void 0:V.data)??V;return(A==null?void 0:A.data)??A}async function w(x,{force:b=!1}={}){const L=u(x),I=n.tabs[L];if(!I)return;const V=y(I);if(!(n.cache&&V.loaded&&!b)&&!V.loading){V.loading=!0,V.error=null;try{const A=await g({tabIndex:L,tab:I});V.data=A,V.loaded=!0,o("loaded",{tabIndex:L,tab:I,data:A})}catch(A){const q=typeof(A==null?void 0:A.message)=="string"&&A.message||typeof A=="string"&&A||"Failed to load tab data.";V.error=q,o("error",{tabIndex:L,tab:I,message:q})}finally{V.loading=!1}}}function S(x){const b=u(x);m(b)&&b!==c.value&&(c.value=b)}function v(x=c.value){return w(x,{force:!0})}function M(){const x=u(c.value-1);x!==c.value&&(c.value=x)}function C(){const x=u(c.value+1);x!==c.value&&(c.value=x)}return t.watch(()=>n.tabs,x=>{for(const b of x??[])y(b)},{immediate:!0}),t.watch(()=>c.value,async x=>{var L;const b=(L=n.tabs)==null?void 0:L[x];b&&o("change",{tabIndex:x,tab:b}),await w(x)},{immediate:!0}),t.watch(()=>n.autoFetchOnMount,async x=>{x&&await w(c.value)},{immediate:!0}),(x,b)=>(t.openBlock(),t.createBlock(t.unref(cS),{class:t.normalizeClass(["w-full",{"flex flex-row":a.isVertical}])},{default:t.withCtx(()=>[t.createVNode(t.unref(hS),{class:t.normalizeClass({"w-64 border-r pr-0":a.isVertical,"pb-2":a.isWizard&&!a.isVertical})},{default:t.withCtx(()=>[t.createElementVNode("div",{class:t.normalizeClass({"mt-4":!a.isVertical||a.isWizard})},[a.isWizard?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["w-full relative flex overflow-visible rounded-lg",a.isVertical?"flex-col gap-2":""])},[a.isVertical?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(a.tabs,(L,I)=>(t.openBlock(),t.createElementBlock("div",{key:L.key,class:"relative z-10 box-border flex items-center gap-3 w-full pb-6 last:pb-0"},[t.createElementVNode("div",{class:t.normalizeClass(["w-8 h-8 rounded-full flex shrink-0 items-center justify-center font-bold text-sm border-2 transition-all bg-white dark:bg-zinc-800",[I<c.value?"border-primary bg-primary text-white border-primary-500":"",I===c.value?"border-primary text-primary border-primary-500 ring-2 ring-primary/20":"border-slate-300 dark:border-zinc-600 text-slate-500"]])},[a.typeWizard==="icon"&&L.icon?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(L.icon),{key:0,class:"w-4 h-4"})):a.typeWizard==="number"||!L.icon&&a.typeWizard!=="none"?(t.openBlock(),t.createElementBlock("span",$Z,[I<c.value?(t.openBlock(),t.createElementBlock("span",UZ,"✓")):(t.openBlock(),t.createElementBlock("span",WZ,t.toDisplayString(I+1),1))])):(t.openBlock(),t.createElementBlock("span",GZ))],2),t.createElementVNode("span",{class:t.normalizeClass(["text-xs font-semibold whitespace-normal px-2 py-1 rounded transition-colors text-left",I===c.value?"text-primary":"text-slate-500"])},t.toDisplayString(L.title),3)]))),128)):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(a.tabs,(L,I)=>(t.openBlock(),t.createElementBlock("div",{key:L.key,onClick:V=>S(I),style:t.normalizeStyle({zIndex:a.tabs.length-I}),class:"relative flex-1 group"},[t.createElementVNode("div",{class:t.normalizeClass(["relative flex items-center justify-center min-h-[3rem] h-auto py-2 px-2 cursor-pointer transition-colors w-full",[I>0?"pl-8":"",I===c.value?"bg-primary text-primary-foreground":I<c.value?"bg-primary/20 text-primary hover:bg-primary/30":"bg-slate-100 dark:bg-zinc-800 text-slate-500 group-hover:bg-slate-200 dark:group-hover:bg-zinc-700"]])},[a.typeWizard==="icon"&&L.icon?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(L.icon),{key:0,class:"w-4 h-4 mr-2 shrink-0"})):a.typeWizard==="number"?(t.openBlock(),t.createElementBlock("span",RZ,t.toDisplayString(I+1),1)):t.createCommentVNode("",!0),t.createElementVNode("span",NZ,t.toDisplayString(L.title),1)],2),I<a.tabs.length-1?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["absolute top-0 -right-4 w-0 h-0 border-t-[24px] border-t-transparent border-b-[24px] border-b-transparent border-l-[16px] transition-colors",[I===c.value?"border-l-primary":I<c.value?"border-l-primary/20 group-hover:border-l-primary/30":"border-l-slate-100 dark:border-l-zinc-800 group-hover:border-l-slate-200 dark:group-hover:border-l-zinc-700"]])},null,2)):t.createCommentVNode("",!0)],12,FZ))),128))],2)):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["flex w-full",a.isVertical?"flex-col gap-1":"flex-wrap border-b border-separate"])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.tabs,(L,I)=>(t.openBlock(),t.createBlock(t.unref(Ae),{key:L.key,type:"button",variant:"ghost",disabled:!m(I),onClick:V=>S(I),class:t.normalizeClass(["relative min-h-[3rem] h-auto py-2 flex items-center justify-center gap-2 px-4 transition-all rounded-none",t.unref(ke)("border-b border-r border-slate-200 dark:border-zinc-700",!a.isVertical&&I===a.tabs.length-1&&"border-r-0",I===c.value?"bg-primary-50 dark:bg-primary-900/20 text-primary-700 dark:text-primary-300 font-semibold":"bg-white dark:bg-zinc-900 text-slate-600 dark:text-zinc-400 hover:bg-slate-50 dark:hover:bg-zinc-800",!m(I)&&"opacity-60 cursor-not-allowed",a.isVertical?"w-full justify-start border-r-0":"flex-1")])},{default:t.withCtx(()=>[a.typeWizard==="icon"&&L.icon?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(L.icon),{key:0,class:"h-4 w-4 shrink-0"})):a.typeWizard==="number"?(t.openBlock(),t.createElementBlock("span",KZ,t.toDisplayString(I+1),1)):t.createCommentVNode("",!0),t.createElementVNode("span",XZ,t.toDisplayString(L.title),1)]),_:2},1032,["disabled","onClick","class"]))),128))],2))],2)]),_:1},8,["class"]),a.isVertical?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(yS),{key:0})),t.createElementVNode("div",ZZ,[t.createVNode(t.unref(dS),{class:t.normalizeClass(["pt-6 flex-1 min-w-0",{"pl-6":a.isVertical}])},{default:t.withCtx(()=>{var L,I,V;return[h.value?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[(L=p[h.value.key])!=null&&L.loading?t.renderSlot(x.$slots,"loading",{key:0,tab:h.value,tabIndex:c.value},()=>[b[0]||(b[0]=t.createElementVNode("div",{class:"rounded-lg border bg-muted/30 px-4 py-3 text-sm text-muted-foreground"},"Loading...",-1))]):t.renderSlot(x.$slots,`tab-${h.value.key}`,{key:1,tab:h.value,tabIndex:c.value,data:(I=p[h.value.key])==null?void 0:I.data,loaded:(V=p[h.value.key])==null?void 0:V.loaded,reload:v},()=>[t.createElementVNode("div",YZ,[b[1]||(b[1]=t.createTextVNode(" Slot ",-1)),t.createElementVNode("code",QZ,"tab-"+t.toDisplayString(h.value.key),1),b[2]||(b[2]=t.createTextVNode(" belum dibuat. ",-1))])])],64)):t.createCommentVNode("",!0)]}),_:3},8,["class"]),a.isWizard||a.showNavigation?(t.openBlock(),t.createBlock(t.unref(NW),{key:0,class:t.normalizeClass(["flex justify-between p-6 pt-0",{"pl-6":a.isVertical}])},{default:t.withCtx(()=>[t.createVNode(t.unref(Ae),{type:"button",variant:"outline",onClick:M,disabled:c.value<=0},{default:t.withCtx(()=>[...b[3]||(b[3]=[t.createTextVNode(" Sebelumnya ",-1)])]),_:1},8,["disabled"]),c.value<d.value-1?(t.openBlock(),t.createBlock(t.unref(Ae),{key:0,type:"button",onClick:C},{default:t.withCtx(()=>[...b[4]||(b[4]=[t.createTextVNode(" Selanjutnya ",-1)])]),_:1})):(t.openBlock(),t.createBlock(t.unref(Ae),{key:1,type:"submit",disabled:a.loading},{default:t.withCtx(()=>[a.loading?(t.openBlock(),t.createBlock(t.unref(kt),{key:0,class:"w-4 h-4 mr-2 animate-spin"})):t.createCommentVNode("",!0),t.createTextVNode(" "+t.toDisplayString(a.submitText),1)]),_:1},8,["disabled"]))]),_:1},8,["class"])):t.createCommentVNode("",!0)])]),_:3},8,["class"]))}});function JZ(){return{setPageTitle:n=>{typeof document<"u"&&(document.title=n||document.title),typeof window<"u"&&window.dispatchEvent(new CustomEvent("micro:page-title",{detail:{title:n},bubbles:!0,composed:!0}))},setBreadcrumb:n=>{typeof window<"u"&&window.dispatchEvent(new CustomEvent("micro:breadcrumb",{detail:{items:n},bubbles:!0,composed:!0}))}}}const eY={class:"w-full"},tY={class:"relative mx-auto min-h-[37.5rem]"},aY={key:"content",class:"w-full"},nY={class:"mb-6"},oY={class:"text-neutral-500 dark:text-neutral-400"},rY={key:"skeleton",class:"w-full"},iY={key:"error",class:"flex items-center justify-center p-20 text-red-500 w-full"},ZV=ga(t.defineComponent({__name:"AutoLayoutForm",props:{layoutCode:{}},setup(a){var C,x;const e=a,n=(x=(C=t.getCurrentInstance())==null?void 0:C.appContext)==null?void 0:x.app;n&&!n._context.provides[Symbol.for("vue-router-route-location")]&&n.provide(Symbol.for("vue-router-route-location"),{query:{},params:{},path:""});let o={query:{},params:{},path:""};try{const b=H1.useRoute();b&&(o=b)}catch{console.warn("useRoute not available, using fallback")}let r={back:()=>console.warn("Router back() not available"),push:()=>console.warn("Router push() not available")};try{const b=H1.useRouter();b&&(r=b)}catch{console.warn("useRouter not available, using fallback")}const{apiUrl:i,DCodeApi:s}=Ke();let c;try{c=vS.useI18n().locale}catch{c=t.ref("en")}const{setPageTitle:d}=JZ(),h=t.computed(()=>o.params&&"id"in o.params?!0:o.path?/\/edit\/[^\/]+$/.test(o.path):!1),u=t.computed(()=>{if(o.params&&"id"in o.params)return o.params.id;if(!o.path)return null;const b=o.path.match(/\/edit\/([^\/]+)$/);return b?b[1]:null}),p=t.ref({}),y=t.ref(null),f=t.ref(!0),k=t.ref(!1),m=t.ref(e.layoutCode),g=t.computed(()=>{var I;if(!y.value)return"";const b=((I=c==null?void 0:c.value)==null?void 0:I.toLowerCase())||"en";return(b==="en"||b.startsWith("en-")?y.value.titleEN:y.value.titleID)||y.value.title||e.layoutCode});t.watch(g,b=>{b&&d(b)},{immediate:!0});const w=async()=>{var b,L,I;f.value=!0;try{let V=e.layoutCode;o&&o.query&&typeof o.query=="object"&&"code"in o.query&&(V=o.query.code||e.layoutCode);let A=await i(`/api/auto-layout/form/form-dynamic?code=${V}`,"GET");if(!A.status||!A.data||Array.isArray(A.data)&&A.data.length===0)try{const q=await i(`/api/auto-layout/datatable/form-dynamic?code=${V}`,"GET");if(q.status){const O=Array.isArray(q.data)?q.data[0]:q.data;O&&O.code&&(V=O.code,m.value=V,A=await i(`/api/auto-layout/form/form-dynamic?code=${V}`,"GET"))}}catch(q){console.warn("Failed to resolve layout code via datatable",q)}if(A.status){y.value=Array.isArray(A.data)?A.data[0]:A.data;const q={};if((b=y.value)!=null&&b.sections&&y.value.sections.forEach(O=>{((O.propsForm||O.props||{}).fields||O.fields||[]).forEach(T=>{var R;const j=T.model||((R=T.props)==null?void 0:R.model)||T.key;j&&(q[j]=null)})}),p.value=q,f.value=!1,h.value&&u.value){k.value=!0;try{if((L=y.value.endpointGlobal)!=null&&L.apiUrl){const O=y.value.endpointGlobal.apiUrl,H=y.value.endpointGlobal.apiMethod||"GET",W={id:u.value},T=await s(O,H,W);if(T.status){const j=Array.isArray(T.data)?T.data[0]:T.data;p.value={...p.value,...j}}}else{const O=((I=y.value.endpoint)==null?void 0:I.detailUrl)||`/api/${m.value}/detail/${u.value}`,H=await i(O,"GET");if(H.status){let W=Array.isArray(H.data)?H.data[0]:H.data;if(H.payload){const j={...H.payload};if(Object.keys(j).forEach(R=>{W[R]!==void 0&&W[R]!==null&&(j[R]=W[R])}),!("id"in j)&&W.id){const R=Object.keys(j).find(Y=>Y.startsWith("id")&&Y.length>2&&!j[Y]);R&&(j[R]=W.id)}W=j}const T={...W};Object.keys(p.value).forEach(j=>{if(T[j]===void 0||T[j]===null){if(j.toLowerCase().startsWith("id")&&j.length>2){const Y=j.substring(2).toLowerCase(),B=Array.isArray(H.data)?H.data[0]:H.data,z=Object.keys(B).find(U=>U.toLowerCase()===Y);z&&B[z]&&typeof B[z]=="object"&&"id"in B[z]&&(T[j]=B[z].id)}if(j==="idSupervisor"){const Y=Array.isArray(H.data)?H.data[0]:H.data;Y.supervisorId&&(T[j]=Y.supervisorId)}}}),p.value={...p.value,...T}}}}catch(O){console.error("Failed to fetch record data:",O)}finally{k.value=!1}}}}catch(V){console.error("Failed to load form layout:",V),f.value=!1}},S=async b=>{var L,I,V;try{const A=(V=(I=(L=y.value.sections)==null?void 0:L[0])==null?void 0:I.propsForm)==null?void 0:V.endpointForm,q=y.value.endpointGlobal||y.value.endpoint,O=(A==null?void 0:A.submitUrl)||(q==null?void 0:q.submitUrl)||`/api/generic/${e.layoutCode}`,H=(A==null?void 0:A.submitMethod)||(q==null?void 0:q.submitMethod)||(h.value?"PUT":"POST"),W={...b};h.value&&u.value&&!W.id&&(W.id=u.value),await i(O,H,W),r.back()}catch(A){console.error("Submit failed:",A)}},v=async(b,L)=>{if(b==="cancel"){M();return}const I=L.endpointPropAction||L.propsActionGlobal&&L.propsActionGlobal.endpointPropAction;if(I)try{f.value=!0;const V={...p.value};h.value&&L.model&&u.value&&(V[L.model]=u.value);const A=I.apiUrl,q=I.apiMethod||"POST";(await s(A,q,V)).status&&r.back()}catch(V){console.error("Action failed:",V)}finally{f.value=!1}},M=()=>{r.back()};return t.onMounted(()=>{w()}),t.onUnmounted(()=>{d("")}),(b,L)=>{const I=t.resolveComponent("DynamicForm"),V=t.resolveComponent("AutoLayoutSkeleton");return t.openBlock(),t.createElementBlock("div",eY,[t.createElementVNode("div",tY,[t.createVNode(t.Transition,{name:"fade",mode:"out-in"},{default:t.withCtx(()=>[!f.value&&y.value?(t.openBlock(),t.createElementBlock("div",aY,[t.createElementVNode("div",nY,[t.createElementVNode("p",oY,t.toDisplayString(y.value.description),1)]),t.createVNode(I,{schema:y.value,model:p.value,"is-edit-mode":h.value,loading:k.value,onSubmit:S,onCancel:M,onAction:v,class:"w-full"},null,8,["schema","model","is-edit-mode","loading"])])):f.value?(t.openBlock(),t.createElementBlock("div",rY,[t.createVNode(V)])):(t.openBlock(),t.createElementBlock("div",iY," Failed to load form configuration for "+t.toDisplayString(e.layoutCode),1))]),_:1})])])}}}),[["__scopeId","data-v-fd9d71a6"]]),sY=(a,e="short",n="id-ID")=>{const o=typeof a=="string"?new Date(a):a,r=d=>String(d).padStart(2,"0"),i=d=>`${r(d.getHours())}:${r(d.getMinutes())}:${r(d.getSeconds())}`,c={id:"id-ID",en:"en-GB"}[n]||n;return e==="time"?i(o):e==="datetime"?new Intl.DateTimeFormat(c,{day:"2-digit",month:"long",year:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(o):e==="long"?new Intl.DateTimeFormat(c,{day:"2-digit",month:"long",year:"numeric",hour:"2-digit",minute:"2-digit"}).format(o):new Intl.DateTimeFormat(c,{day:"2-digit",month:"short",year:"numeric"}).format(o)},lY=t.defineComponent({__name:"Sheet",props:{open:{type:Boolean},defaultOpen:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(a,{emit:e}){const r=mt(a,e);return(i,s)=>(t.openBlock(),t.createBlock(t.unref(BA),t.normalizeProps(t.guardReactiveProps(t.unref(r))),{default:t.withCtx(()=>[t.renderSlot(i.$slots,"default")]),_:3},16))}}),cY=t.defineComponent({inheritAttrs:!1,__name:"SheetContent",props:{class:{type:[Boolean,null,String,Object,Array]},side:{},forceMount:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(a,{emit:e}){const n=a,o=e,r=Ee(n,"class","side"),i=mt(r,o);return(s,c)=>(t.openBlock(),t.createBlock(t.unref(NA),null,{default:t.withCtx(()=>[t.createVNode(t.unref(RA),{class:"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"}),t.createVNode(t.unref(OA),t.mergeProps({class:t.unref(ke)(t.unref(fY)({side:a.side}),n.class)},{...t.unref(i),...s.$attrs}),{default:t.withCtx(()=>[t.renderSlot(s.$slots,"default"),t.createVNode(t.unref(zA),{class:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary"},{default:t.withCtx(()=>[t.createVNode(t.unref(it),{class:"w-4 h-4"})]),_:1})]),_:3},16,["class"])]),_:3}))}}),dY=t.defineComponent({__name:"SheetDescription",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a,n=Ee(e,"class");return(o,r)=>(t.openBlock(),t.createBlock(t.unref(FA),t.mergeProps({class:t.unref(ke)("text-sm text-muted-foreground",e.class)},t.unref(n)),{default:t.withCtx(()=>[t.renderSlot(o.$slots,"default")]),_:3},16,["class"]))}}),hY=t.defineComponent({__name:"SheetFooter",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(t.unref(ke)("flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2",e.class))},[t.renderSlot(n.$slots,"default")],2))}}),uY=t.defineComponent({__name:"SheetHeader",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(t.unref(ke)("flex flex-col gap-y-2 text-center sm:text-left",e.class))},[t.renderSlot(n.$slots,"default")],2))}}),pY=t.defineComponent({__name:"SheetTitle",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a,n=Ee(e,"class");return(o,r)=>(t.openBlock(),t.createBlock(t.unref($A),t.mergeProps({class:t.unref(ke)("text-lg font-medium text-foreground",e.class)},t.unref(n)),{default:t.withCtx(()=>[t.renderSlot(o.$slots,"default")]),_:3},16,["class"]))}}),yY=t.defineComponent({__name:"SheetTrigger",props:{asChild:{type:Boolean},as:{}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createBlock(t.unref(TT),t.normalizeProps(t.guardReactiveProps(e)),{default:t.withCtx(()=>[t.renderSlot(n.$slots,"default")]),_:3},16))}}),fY=i1("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),kY={class:"flex-1 overflow-hidden"},mY=t.defineComponent({__name:"DataFilterSheet",props:{title:{default:"Filter Data"},description:{default:"Masukan parameter pencarian untuk memfilter data."}},setup(a){return(e,n)=>(t.openBlock(),t.createBlock(t.unref(lY),null,{default:t.withCtx(()=>[t.createVNode(t.unref(yY),{"as-child":""},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"trigger",{},()=>[t.createVNode(t.unref(Ae),{variant:"outline",class:"gap-2"},{default:t.withCtx(()=>[t.createVNode(t.unref(pr),{class:"w-4 h-4"}),n[0]||(n[0]=t.createElementVNode("span",null,"Pencarian",-1))]),_:1})])]),_:3}),t.createVNode(t.unref(cY),{class:"flex flex-col h-full"},{default:t.withCtx(()=>[t.createVNode(t.unref(uY),{class:"flex-shrink-0"},{default:t.withCtx(()=>[t.createVNode(t.unref(pY),null,{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(a.title),1)]),_:1}),t.createVNode(t.unref(dY),null,{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(a.description),1)]),_:1})]),_:1}),t.createElementVNode("div",kY,[t.renderSlot(e.$slots,"default")]),t.createVNode(t.unref(hY),{class:"flex-shrink-0"},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"footer")]),_:3})]),_:3})]),_:3}))}}),gY={key:0},MY=["value","name"],YV=t.defineComponent({__name:"DynamicFilterField",props:{field:{},modelValue:{}},emits:["update:modelValue"],setup(a,{emit:e}){const{locale:n}=vS.useI18n(),o=a,r=e,i=t.ref(o.modelValue);t.watch(()=>o.modelValue,u=>{i.value=u});const s={DCodeTextField:l_,DCodeAutoComplete:ES,DCodeDatePicker:ZI,DCodeTextarea:pS,DCodeTextArea:pS,DCodeCheckbox:q1,DCodeSwitch:s_,DCodeOtpInput:r_,DCodeImageField:a_,DCodeSlider:i_},c=t.computed(()=>{const u=o.field.component;return s[u]||null}),d=t.computed(()=>{const u=o.field.props,p={};return(u.labelID||u.labelEN)&&(p.label=n.value==="id"?u.labelID:u.labelEN),(u.placeholderID||u.placeholderEN)&&(p.placeholder=n.value==="id"?u.placeholderID:u.placeholderEN),u.required!==void 0&&(p.required=u.required),u.disabled!==void 0&&(p.disabled=u.disabled),u.readonly!==void 0&&(p.readonly=u.readonly),u.valueType&&(p.type=u.valueType),u.minLength!==void 0&&(p.minlength=u.minLength),u.maxLength!==void 0&&(p.maxlength=u.maxLength),u.min!==void 0&&(p.min=u.min),u.max!==void 0&&(p.max=u.max),u.options&&(p.options=u.options),u.endpoint&&(p.endpoint=u.endpoint),u.itemTitle&&(p.itemTitle=u.itemTitle),u.itemValue&&(p.itemValue=u.itemValue),u.returnObject!==void 0&&(p.returnObject=u.returnObject),u.clearable!==void 0&&(p.clearable=u.clearable),Object.keys(u).forEach(y=>{!["labelID","labelEN","placeholderID","placeholderEN"].includes(y)&&!p.hasOwnProperty(y)&&(p[y]=u[y])}),p}),h=u=>{i.value=u,r("update:modelValue",u)};return(u,p)=>a.field.isHidden?(t.openBlock(),t.createElementBlock("div",gY,[t.createElementVNode("input",{type:"hidden",value:i.value,name:a.field.model},null,8,MY)])):(t.openBlock(),t.createBlock(t.resolveDynamicComponent(c.value),t.mergeProps({key:1},d.value,{modelValue:i.value,"onUpdate:modelValue":[p[0]||(p[0]=y=>i.value=y),h]}),null,16,["modelValue"]))}}),bY=t.defineComponent({__name:"Pagination",props:{page:{},defaultPage:{},itemsPerPage:{},total:{},siblingCount:{},disabled:{type:Boolean},showEdges:{type:Boolean},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},emits:["update:page"],setup(a,{emit:e}){const n=a,o=e,r=Ee(n,"class"),i=mt(r,o);return(s,c)=>(t.openBlock(),t.createBlock(t.unref(lH),t.mergeProps({"data-slot":"pagination"},t.unref(i),{class:n.class}),{default:t.withCtx(d=>[t.renderSlot(s.$slots,"default",t.normalizeProps(t.guardReactiveProps(d)))]),_:3},16,["class"]))}}),xY=t.defineComponent({__name:"PaginationContent",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a,n=Ee(e,"class");return(o,r)=>(t.openBlock(),t.createBlock(t.unref(kH),t.mergeProps({"data-slot":"pagination-content"},t.unref(n),{class:t.unref(ke)("flex flex-row items-center gap-1",e.class)}),{default:t.withCtx(i=>[t.renderSlot(o.$slots,"default",t.normalizeProps(t.guardReactiveProps(i)))]),_:3},16,["class"]))}}),wY=t.defineComponent({__name:"PaginationEllipsis",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a,n=Ee(e,"class");return(o,r)=>(t.openBlock(),t.createBlock(t.unref(rH),t.mergeProps({"data-slot":"pagination-ellipsis"},t.unref(n),{class:t.unref(ke)("flex size-9 items-center justify-center",e.class)}),{default:t.withCtx(()=>[t.renderSlot(o.$slots,"default",{},()=>[t.createVNode(t.unref(da),{class:"size-4"}),r[0]||(r[0]=t.createElementVNode("span",{class:"sr-only"},"More pages",-1))])]),_:3},16,["class"]))}}),vY=t.defineComponent({__name:"PaginationFirst",props:{asChild:{type:Boolean},as:{},size:{default:"default"},class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a,n=Ee(e,"class","size"),o=Ze(n);return(r,i)=>(t.openBlock(),t.createBlock(t.unref(dH),t.mergeProps({"data-slot":"pagination-first",class:t.unref(ke)(t.unref(bs)({variant:"ghost",size:a.size}),"gap-1 px-2.5 sm:pr-2.5",e.class)},t.unref(o)),{default:t.withCtx(()=>[t.renderSlot(r.$slots,"default",{},()=>[t.createVNode(t.unref(cn)),i[0]||(i[0]=t.createElementVNode("span",{class:"hidden sm:block"},"First",-1))])]),_:3},16,["class"]))}}),CY=t.defineComponent({__name:"PaginationItem",props:{value:{},asChild:{type:Boolean},as:{},size:{default:"icon"},class:{type:[Boolean,null,String,Object,Array]},isActive:{type:Boolean}},setup(a){const e=a,n=Ee(e,"class","size","isActive");return(o,r)=>(t.openBlock(),t.createBlock(t.unref(gH),t.mergeProps({"data-slot":"pagination-item"},t.unref(n),{class:t.unref(ke)(t.unref(bs)({variant:"ghost",size:a.size}),a.isActive?"bg-[#0056a1] dark:bg-[#003d75] text-white hover:bg-[#0056a1]/90 dark:hover:bg-[#003d75]/90 hover:text-white":"",e.class)}),{default:t.withCtx(()=>[t.renderSlot(o.$slots,"default")]),_:3},16,["class"]))}}),LY=t.defineComponent({__name:"PaginationLast",props:{asChild:{type:Boolean},as:{},size:{default:"default"},class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a,n=Ee(e,"class","size"),o=Ze(n);return(r,i)=>(t.openBlock(),t.createBlock(t.unref(uH),t.mergeProps({"data-slot":"pagination-last",class:t.unref(ke)(t.unref(bs)({variant:"ghost",size:a.size}),"gap-1 px-2.5 sm:pr-2.5",e.class)},t.unref(o)),{default:t.withCtx(()=>[t.renderSlot(r.$slots,"default",{},()=>[i[0]||(i[0]=t.createElementVNode("span",{class:"hidden sm:block"},"Last",-1)),t.createVNode(t.unref(dn))])]),_:3},16,["class"]))}}),SY=t.defineComponent({__name:"PaginationNext",props:{asChild:{type:Boolean},as:{},size:{default:"default"},class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a,n=Ee(e,"class","size"),o=Ze(n);return(r,i)=>(t.openBlock(),t.createBlock(t.unref(bH),t.mergeProps({"data-slot":"pagination-next",class:t.unref(ke)(t.unref(bs)({variant:"ghost",size:a.size}),"gap-1 px-2.5 sm:pr-2.5",e.class)},t.unref(o)),{default:t.withCtx(()=>[t.renderSlot(r.$slots,"default",{},()=>[i[0]||(i[0]=t.createElementVNode("span",{class:"hidden sm:block"},"Next",-1)),t.createVNode(t.unref(dn))])]),_:3},16,["class"]))}}),IY=t.defineComponent({__name:"PaginationPrevious",props:{asChild:{type:Boolean},as:{},size:{default:"default"},class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a,n=Ee(e,"class","size"),o=Ze(n);return(r,i)=>(t.openBlock(),t.createBlock(t.unref(wH),t.mergeProps({"data-slot":"pagination-previous",class:t.unref(ke)(t.unref(bs)({variant:"ghost",size:a.size}),"gap-1 px-2.5 sm:pr-2.5",e.class)},t.unref(o)),{default:t.withCtx(()=>[t.renderSlot(r.$slots,"default",{},()=>[t.createVNode(t.unref(cn)),i[0]||(i[0]=t.createElementVNode("span",{class:"hidden sm:block"},"Previous",-1))])]),_:3},16,["class"]))}}),_Y=t.defineComponent({__name:"Select",props:{open:{type:Boolean},defaultOpen:{type:Boolean},defaultValue:{},modelValue:{},by:{type:[String,Function]},dir:{},multiple:{type:Boolean},autocomplete:{},disabled:{type:Boolean},name:{},required:{type:Boolean}},emits:["update:modelValue","update:open"],setup(a,{emit:e}){const r=mt(a,e);return(i,s)=>(t.openBlock(),t.createBlock(t.unref(_H),t.normalizeProps(t.guardReactiveProps(t.unref(r))),{default:t.withCtx(()=>[t.renderSlot(i.$slots,"default")]),_:3},16))}}),AY=t.defineComponent({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean},position:{default:"popper"},bodyLock:{type:Boolean},side:{},sideOffset:{},sideFlip:{type:Boolean},align:{},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},hideShiftedArrow:{type:Boolean},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},reference:{},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean},class:{type:[Boolean,null,String,Object,Array]}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(a,{emit:e}){const n=a,o=e,r=Ee(n,"class"),i=mt(r,o);return(s,c)=>(t.openBlock(),t.createBlock(t.unref(ej),null,{default:t.withCtx(()=>[t.createVNode(t.unref(NH),t.mergeProps({...t.unref(i),...s.$attrs},{class:t.unref(ke)("relative z-50 max-h-96 min-w-32 overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a.position==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",n.class)}),{default:t.withCtx(()=>[t.createVNode(t.unref(qY)),t.createVNode(t.unref(hj),{class:t.normalizeClass(t.unref(ke)("p-1",a.position==="popper"&&"h-[--reka-select-trigger-height] w-full min-w-[--reka-select-trigger-width]"))},{default:t.withCtx(()=>[t.renderSlot(s.$slots,"default")]),_:3},8,["class"]),t.createVNode(t.unref(VY))]),_:3},16,["class"])]),_:3}))}}),BY={class:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center"},zY=t.defineComponent({__name:"SelectItem",props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a,n=Ee(e,"class"),o=Ze(n);return(r,i)=>(t.openBlock(),t.createBlock(t.unref(KH),t.mergeProps(t.unref(o),{class:t.unref(ke)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e.class)}),{default:t.withCtx(()=>[t.createElementVNode("span",BY,[t.createVNode(t.unref(ZH),null,{default:t.withCtx(()=>[t.createVNode(t.unref(sa),{class:"h-4 w-4"})]),_:1})]),t.createVNode(t.unref(QH),null,{default:t.withCtx(()=>[t.renderSlot(r.$slots,"default")]),_:3})]),_:3},16,["class"]))}}),VY=t.defineComponent({__name:"SelectScrollDownButton",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a,n=Ee(e,"class"),o=Ze(n);return(r,i)=>(t.openBlock(),t.createBlock(t.unref(nj),t.mergeProps(t.unref(o),{class:t.unref(ke)("flex cursor-default items-center justify-center py-1",e.class)}),{default:t.withCtx(()=>[t.renderSlot(r.$slots,"default",{},()=>[t.createVNode(t.unref(St))])]),_:3},16,["class"]))}}),qY=t.defineComponent({__name:"SelectScrollUpButton",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a,n=Ee(e,"class"),o=Ze(n);return(r,i)=>(t.openBlock(),t.createBlock(t.unref(rj),t.mergeProps(t.unref(o),{class:t.unref(ke)("flex cursor-default items-center justify-center py-1",e.class)}),{default:t.withCtx(()=>[t.renderSlot(r.$slots,"default",{},()=>[t.createVNode(t.unref(js))])]),_:3},16,["class"]))}}),PY=t.defineComponent({__name:"SelectTrigger",props:{disabled:{type:Boolean},reference:{},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a,n=Ee(e,"class"),o=Ze(n);return(r,i)=>(t.openBlock(),t.createBlock(t.unref(sj),t.mergeProps(t.unref(o),{class:t.unref(ke)("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:truncate text-start",e.class)}),{default:t.withCtx(()=>[t.renderSlot(r.$slots,"default"),t.createVNode(t.unref(UH),{"as-child":""},{default:t.withCtx(()=>[t.createVNode(t.unref(St),{class:"w-4 h-4 opacity-50 shrink-0"})]),_:1})]),_:3},16,["class"]))}}),DY=t.defineComponent({__name:"SelectValue",props:{placeholder:{},asChild:{type:Boolean},as:{}},setup(a){const e=a;return(n,o)=>(t.openBlock(),t.createBlock(t.unref(cj),t.normalizeProps(t.guardReactiveProps(e)),{default:t.withCtx(()=>[t.renderSlot(n.$slots,"default")]),_:3},16))}}),EY={class:"dcode-card animate-slide-up"},TY={class:"px-4 py-2 bg-primary-700 dark:bg-primary-900 border-b border-primary-500/30 dark:border-primary-900/50 rounded-t-xl relative z-30"},HY={class:"flex flex-col lg:flex-row lg:items-center lg:justify-between gap-4"},jY={key:0,class:"flex flex-col sm:flex-row items-start sm:items-center gap-2 flex-1 max-w-2xl"},OY={class:"relative w-full sm:w-64"},FY={key:0,class:"relative"},RY={class:"flex flex-col h-full"},NY={key:0,class:"flex-1 overflow-y-auto py-4"},$Y={class:"grid grid-cols-1 md:grid-cols-2 gap-4 px-1"},UY={key:0,class:"sticky bottom-0 left-0 right-0 bg-white dark:bg-zinc-900 border-t border-neutral-200 dark:border-neutral-700 p-4 flex gap-2"},WY={class:"flex justify-end gap-2 w-full"},GY={key:0,class:"font-medium text-sm text-neutral-600 dark:text-neutral-400"},KY={class:"overflow-auto custom-scrollbar relative max-h-[calc(100vh-17rem)]"},XY={class:"dcode-table w-full"},ZY={class:"bg-primary-700 dark:bg-primary-900 sticky top-0 z-20 shadow-sm"},YY=["onClick"],QY={key:0,class:"flex items-center justify-center w-full"},JY={key:0,class:"px-3 py-2 text-xs font-medium text-white dark:text-neutral-100 uppercase tracking-wider"},eQ={class:"bg-white dark:bg-zinc-900 divide-y divide-neutral-200 dark:divide-neutral-700"},tQ={key:0,class:"px-3 py-0.5"},aQ={key:1},nQ=["colspan"],oQ={class:"flex flex-col items-center gap-4"},rQ={class:"text-base font-medium text-neutral-700 dark:text-neutral-300"},iQ={class:"text-sm text-neutral-500 dark:text-neutral-400 mt-1"},sQ={class:"hover:bg-zinc-50 dark:hover:bg-zinc-800/50 transition-colors duration-150"},lQ={key:0,class:"flex items-center justify-center"},cQ={key:0,class:"px-3 py-0.5 !text-center"},dQ={key:0,class:"flex items-center justify-center gap-1.5"},hQ={key:0,class:"bg-zinc-50/50 dark:bg-zinc-800/30"},uQ=["colspan"],pQ={key:0,class:"px-4 py-3 bg-zinc-50/50 dark:bg-zinc-800/30 border-t border-neutral-200 dark:border-neutral-700 flex flex-col sm:flex-row items-center justify-between gap-4 w-full"},yQ={class:"flex items-center gap-4"},fQ={class:"text-xs text-neutral-500 dark:text-neutral-400 font-medium"},kQ={class:"text-neutral-900 dark:text-neutral-100 font-medium"},mQ={class:"text-neutral-900 dark:text-neutral-100 font-medium"},gQ={class:"text-neutral-900 dark:text-neutral-100 font-medium"},MQ={class:"flex-shrink-0"},bQ={class:"space-y-4"},xQ={class:"text-gray-600 dark:text-gray-400"},wQ={class:"grid grid-cols-1 md:grid-cols-2 gap-4 py-4 px-1"},fS=t.defineComponent({__name:"DataTable",props:{columns:{default:()=>[]},data:{default:()=>[]},perPage:{default:10},loading:{type:Boolean,default:!1},hasActions:{type:Boolean,default:!1},nested:{type:Boolean,default:!1},apiModule:{},apiAction:{default:"list"},apiMethod:{},apiUrl:{},permissionBase:{},apiParams:{default:()=>({})},configKey:{},tableConfig:{},dynamicColumns:{type:Boolean,default:!1},searchApiEndpoint:{},enableQuickSearch:{type:Boolean,default:!0},showPagination:{type:Boolean,default:!0},ignorePermissions:{type:Boolean,default:!1},userPermissions:{default:null},permissionChecker:{type:Function,default:void 0}},emits:["update:search","update:sort","update:page","create","export","action","update:selection","navigate"],setup(a,{expose:e,emit:n}){console.log("[DEBUG] DataTable.vue loaded - top level");const o=a,r=n,{apiUrl:i}=Ke(),{locale:s}=vS.useI18n(),c=t.ref(""),d=t.ref(1),h=t.ref(o.perPage),u=t.ref({key:"",direction:"asc"}),p=t.ref([]),y=t.ref(!1),f=t.ref(0),k=t.ref({}),m=t.ref([]),g=t.ref(null),w=t.ref(!0),S=t.ref([]),v=t.ref([]),M=t.ref([]),C=t.ref(!1),x=t.ref(!1),b=t.ref({}),L=t.ref(null),I=t.ref(null),V=t.ref(null),A=t.ref([]),q=t.computed(()=>{if(xt.value.length===0)return!1;const _=xt.value.map(E=>{const K=ce.value.find(N=>N.type==="CHECKBOX"),D=(K==null?void 0:K.keyCheckbox)||"id";return E[D]}).filter(E=>E!=null);return _.length===0?!1:_.every(E=>A.value.includes(E))}),O=t.computed(()=>{if(xt.value.length===0)return!1;const _=ce.value.find(N=>N.type==="CHECKBOX"),E=(_==null?void 0:_.keyCheckbox)||"id",K=xt.value.map(N=>N[E]).filter(N=>N!=null),D=K.filter(N=>A.value.includes(N)).length;return D>0&&D<K.length}),H=_=>{const E=ce.value.find(N=>N.type==="CHECKBOX"),K=(E==null?void 0:E.keyCheckbox)||"id",D=_[K];return D!==void 0&&A.value.includes(D)},W=_=>{const E=ce.value.find(N=>N.type==="CHECKBOX"),K=(E==null?void 0:E.keyCheckbox)||"id",D=xt.value.map(N=>N[K]).filter(N=>N!=null);if(_){const N=new Set([...A.value,...D]);A.value=Array.from(N)}else A.value=A.value.filter(N=>!D.includes(N))},T=(_,E)=>{const K=ce.value.find(Z=>Z.type==="CHECKBOX"),D=(K==null?void 0:K.keyCheckbox)||"id",N=_[D];N!=null&&(E?A.value.includes(N)||A.value.push(N):A.value=A.value.filter(Z=>Z!==N))};t.watch(A,_=>{var K;r("update:selection",_);const E=q.value||_.length>1;(K=v.value)!=null&&K.length&&v.value.forEach(D=>{var N;(N=D.fieldActionGlobal)!=null&&N.length&&D.fieldActionGlobal.forEach(Z=>{var Ge,rt;const fe=D.endpoint||((Ge=D.propsActionGlobal)==null?void 0:Ge.endpointPropAction)||D.propsActionGlobal,xe=(rt=fe==null?void 0:fe.keyParam)==null?void 0:rt[0];(xe&&Z.model===xe||!xe&&/^(id|ids|idAuditTrail)/i.test(Z.model))&&E&&Z.model&&(b.value[Z.model]=_)})})},{deep:!0});const j=_=>_&&typeof _=="string"&&_.trim()?_:void 0,R=t.computed(()=>{var _,E,K,D;return j((E=(_=g.value)==null?void 0:_.endpoint)==null?void 0:E.apiModule)||j((D=(K=g.value)==null?void 0:K.endpointGlobal)==null?void 0:D.apiModule)||o.apiModule}),Y=t.computed(()=>{var _,E,K,D;return j((E=(_=g.value)==null?void 0:_.endpoint)==null?void 0:E.apiAction)||j((D=(K=g.value)==null?void 0:K.endpointGlobal)==null?void 0:D.apiAction)||o.apiAction}),B=t.computed(()=>{var _,E,K,D;return j((E=(_=g.value)==null?void 0:_.endpoint)==null?void 0:E.apiMethod)||j((D=(K=g.value)==null?void 0:K.endpointGlobal)==null?void 0:D.apiMethod)||o.apiMethod||"POST"}),z=t.computed(()=>{var _,E,K,D;return j((E=(_=g.value)==null?void 0:_.endpoint)==null?void 0:E.apiUrl)||j((D=(K=g.value)==null?void 0:K.endpointGlobal)==null?void 0:D.apiUrl)||o.apiUrl}),U=t.computed(()=>o.permissionBase||""),oe=t.computed(()=>!M.value||M.value.length===0?[]:[...M.value].sort((_,E)=>(_.seq||0)-(E.seq||0))),ee=_=>{if(!_)return"col-span-1";const E=_.toLowerCase();return{full:"col-span-1 md:col-span-2",half:"col-span-1",third:"col-span-1","two-thirds":"col-span-1 md:col-span-2",two_thirds:"col-span-1 md:col-span-2"}[E]||"col-span-1"},de=()=>{let _=null;if(o.tableConfig&&(_=o.tableConfig),_){g.value=_,_.headers&&(m.value=_.headers.map(D=>{var fe,xe,ze,Ge,rt,bS,cq,dq,hq,uq;if(D.key==="action"||((fe=D.custom)==null?void 0:fe.type)==="ACTION"||((xe=D.custom)==null?void 0:xe.type)==="action"){const Aa=((ze=D.custom)==null?void 0:ze.actionCustom)||((Ge=D.custom)==null?void 0:Ge.action);return Aa&&(S.value=Aa.map(oa=>{const Fe=oa.propsActionCustom||oa.props||{},xS=oa.propCustomMessage||{};return{permission:oa.permission,label:s.value==="id"?Fe.labelID:Fe.labelEN,tooltip:s.value==="id"?Fe.tooltipID||Fe.labelID:Fe.tooltipEN||Fe.labelEN,icon:Fe.icon,variant:Fe.variant||"ghost",bgColor:Fe.bgColor,action:Fe.actionType||Fe.key,route:Fe.route,path:Fe.path,endpoint:Fe.endpointPropAction,requiredCondition:oa.requiredCondition||!1,propCustomCondition:oa.propCustomCondition||[],openDialog:oa.openDialog||!1,fieldActionCustom:(oa.fieldActionCustom||[]).map(wS=>{const p_=wS.propsFieldCustom||wS.propsFieldGlobal||wS.props||{};return{...wS,props:{...p_,endpoint:p_.endpointComponent||p_.endpoint}}}),requireConfirm:oa.requireConfirm||Fe.requireConfirm||!1,confirmTitle:s.value==="id"?xS.titleID||Fe.confirmTitleID||"Konfirmasi":xS.titleEN||Fe.confirmTitleEN||"Confirm",confirmMessage:s.value==="id"?xS.messageID||Fe.confirmMessageID||"Apakah Anda yakin?":xS.messageEN||Fe.confirmMessageEN||"Are you sure?"}})),null}let N;const Z=((rt=D.custom)==null?void 0:rt.conditionBadge)||((bS=D.custom)==null?void 0:bS.condition);return(((cq=D.custom)==null?void 0:cq.type)==="BADGE"||((dq=D.custom)==null?void 0:dq.type)==="badge")&&Z&&(N=Z.map(Aa=>({value:Aa.value,label:s.value==="id"?Aa.labelID:Aa.labelEN,color:Aa.color,variant:Aa.variant}))),{key:D.key,label:s.value==="id"?D.labelID:D.labelEN,width:D.width,align:D.align,sortable:!0,type:(hq=D.custom)==null?void 0:hq.type,condition:N,keyCheckbox:(uq=D.custom)==null?void 0:uq.keyCheckbox}}).filter(D=>D!==null));const E=_.filters||_.filter;E&&Array.isArray(E)&&(M.value=E.map(D=>({...D,props:D.propsFilters||D.props||{}})),M.value.forEach(D=>{k.value[D.model]=""}));const K=_.actionGlobal||_.action;console.log("[DEBUG] loadConfig rawActions:",K),K&&Array.isArray(K)?(v.value=K.map(D=>{const N=D.propsActionGlobal||D.props||{};return{key:N.key,permission:D.permission,label:s.value==="id"?N.labelID||"Action":N.labelEN||"Action",tooltip:s.value==="id"?N.tooltipID||N.labelID:N.tooltipEN||N.labelEN,icon:N.icon,variant:N.variant||"default",bgColor:N.bgColor,textColor:N.textColor,route:N.route,path:N.path,endpoint:N.endpointPropAction||D.endpoint,openDialog:D.openDialog||!1,fieldActionGlobal:(D.fieldActionGlobal||D.field||[]).map(Z=>{const fe=Z.propsFieldGlobal||Z.props||{};return{...Z,props:{...fe,endpoint:fe.endpointComponent||fe.endpoint}}})}}),console.log("[DEBUG] loadConfig headerActions set:",v.value)):console.log("[DEBUG] loadConfig no rawActions found"),_.pagination!==void 0&&(w.value=_.pagination)}};t.watch(()=>o.tableConfig,()=>{de()},{deep:!0,immediate:!0});const ce=t.computed(()=>o.dynamicColumns||o.configKey||o.tableConfig?m.value:o.columns||[]),ue=t.computed(()=>o.hasActions||S.value.length>0),ve=t.computed(()=>R.value||z.value?y.value:o.loading),le=t.computed(()=>!!R.value||!!z.value),X=t.computed(()=>[]),P=_=>{if(console.log("[DEBUG] hasAction called:",{actionCode:_,permissionChecker:!!o.permissionChecker,effectivePath:U.value}),o.permissionChecker){const E=o.permissionChecker(U.value,_);return console.log("[DEBUG] permissionChecker result:",E),E}return X.value.some(E=>E.code===_)},$=(_,E)=>{if(!_.visibilityCondition)return!0;const{field:K,operator:D,value:N}=_.visibilityCondition,Z=F(E,K);switch(D){case"equals":return Z===N;case"notEquals":return Z!==N;case"in":return Array.isArray(N)&&N.includes(Z);case"notIn":return Array.isArray(N)&&!N.includes(Z);case"greaterThan":return Z>N;case"lessThan":return Z<N;case"contains":return String(Z).includes(String(N));default:return!0}},Q=t.computed(()=>{if(console.log("[DEBUG] visibleHeaderActions:",{headerActions:v.value,ignorePermissions:o.ignorePermissions}),v.value.length===0)return v.value;const _=v.value.filter(E=>{if(o.ignorePermissions)return!0;if(!E.permission)return console.log("[DEBUG] Action no permission, showing:",E.label),!0;const K=P(E.permission);return console.log("[DEBUG] Action permission check:",{label:E.label,permission:E.permission,hasPerm:K}),K});return console.log("[DEBUG] Filtered header actions:",_.length),_}),pe=t.computed(()=>S.value.length===0?S.value:S.value.filter(_=>o.ignorePermissions||!_.permission?!0:P(_.permission))),Pe=_=>pe.value.filter(E=>$(E,_)),ot=(_,E)=>{var N,Z;if(_.requiredCondition&&((N=_.propCustomCondition)==null?void 0:N.length)>0){const fe=F(E,"status"),xe=_.propCustomCondition.find(ze=>ze.value===fe);if(xe)return xe.bgColor||_.bgColor||"primary"}if(!_.dynamicColor||!_.colorCondition)return _.bgColor||"primary";const K=F(E,_.colorCondition.field),D=(Z=_.colorCondition.conditions)==null?void 0:Z.find(fe=>fe.value===K);return(D==null?void 0:D.bgColor)||_.bgColor||"primary"},bt=_=>{const E=(_||"left").toLowerCase();return E==="center"?"justify-center":E==="right"?"justify-end":"justify-start"},aa={ToggleLeft:n1,SquarePen:Xe,Trash2:Ii,Eye:cs,CheckCircle:la,Plus:Qs,Download:$s,RefreshCw:us,Search:pr,SlidersHorizontal:a1},_a=_=>_?ha[_]?ha[_]:aa[_]||null:null,xt=t.computed(()=>le.value?p.value.map((_,E)=>({..._,no:(d.value-1)*h.value+E+1})):_e.value),$t=t.computed(()=>le.value?f.value:te.value.length),D1=t.computed(()=>$t.value===0?0:(d.value-1)*h.value+1),E1=t.computed(()=>{const _=d.value*h.value;return _>$t.value?$t.value:_}),F=(_,E)=>{if(!(!_||!E))return E in _?_[E]:E.split(".").reduce((K,D)=>K&&K[D],_)},te=t.computed(()=>{if(le.value)return[];if(!c.value)return o.data;const _=c.value.toLowerCase();return o.data.filter(E=>ce.value.some(K=>{const D=F(E,K.key);return D==null?!1:String(D).toLowerCase().includes(_)}))}),he=t.computed(()=>le.value?[]:u.value.key?[...te.value].sort((E,K)=>{const D=F(E,u.value.key),N=F(K,u.value.key);if(D===N)return 0;let Z=0;return typeof D=="number"&&typeof N=="number"?Z=D-N:Z=String(D).localeCompare(String(N)),u.value.direction==="asc"?Z:-Z}):te.value),_e=t.computed(()=>{if(le.value)return[];const _=(d.value-1)*h.value,E=_+h.value;return he.value.slice(_,E).map((K,D)=>({...K,no:_+D+1}))}),De=t.computed(()=>le.value?Object.values(k.value).some(_=>!!_):!!c.value),G=[10,25,50,100],J=()=>{le.value&&(k.value={...k.value,keyword:c.value},d.value=1,We())};let ae;const ye=()=>{o.enableQuickSearch&&(clearTimeout(ae),ae=setTimeout(()=>{J()},500))};let Ve;const na=()=>{clearTimeout(Ve),Ve=setTimeout(()=>{le.value&&We()},1e3)};t.watch(c,()=>{o.enableQuickSearch&&le.value&&ye()});const We=async()=>{if(le.value&&!(!R.value&&!z.value))try{y.value=!0;const _={page:d.value,perPage:h.value,...k.value,...o.apiParams};c.value&&(_.keyword=c.value),Object.keys(_).forEach(K=>{(_[K]===""||_[K]===null||_[K]===void 0)&&delete _[K]});let E;R.value?E=await i(R.value,Y.value,_):z.value&&(E=await i(z.value,B.value,_)),tq(E)}catch(_){console.error("DataTable fetch error",_),y.value=!1}},tq=_=>{console.log("DataTable handleResponseData:",_),_&&(o.dynamicColumns&&_.columns&&Array.isArray(_.columns)&&(m.value=_.columns.map(E=>({key:E.key||E.field||E.name,label:E.label||E.header||E.name,width:E.width,align:E.align||"LEFT",sortable:E.sortable!==!1,type:E.type,condition:E.condition,format:E.format}))),_.data&&Array.isArray(_.data)?(p.value=_.data,_.totalData?f.value=_.totalData:_.maxPage?f.value=_.maxPage*h.value:f.value=_.data.length*(_.maxPage||1)):Array.isArray(_)?(p.value=_,f.value=_.length):_.users?(p.value=_.users,f.value=_.users.length):_.items&&Array.isArray(_.items)?(p.value=_.items,f.value=_.total||_.totalItems||_.items.length):_.list&&Array.isArray(_.list)?(p.value=_.list,f.value=_.total||_.list.length):_.rows&&Array.isArray(_.rows)?(p.value=_.rows,f.value=_.count||_.total||_.rows.length):_.result&&Array.isArray(_.result)?(p.value=_.result,f.value=_.total||_.count||_.result.length):(console.warn("DataTable: Unknown response format",_),p.value=[],f.value=0)),y.value=!1};t.onUnmounted(()=>{clearTimeout(ae),clearTimeout(Ve)});const mS=()=>{Object.keys(k.value).forEach(_=>{k.value[_]=""}),c.value="",d.value=1,We()},aq=()=>{d.value=1,We()},gS=(_,E)=>{const K=F(_,E.key);let D={variant:"secondary",class:"",label:K};if(E.condition){const N=E.condition.find(Z=>{const fe=(xe,ze)=>typeof xe=="string"&&typeof ze=="string"?xe.toLowerCase().trim()===ze.toLowerCase().trim():xe==ze;return typeof K=="object"&&K!==null?fe(Z.value,K.code)||fe(Z.value,K.id):fe(Z.value,K)});if(N){if(N.variant&&(D.variant=N.variant),D.label=N.label||(typeof K=="object"?K.name||K.code:K),N.color){const Z=N.color.toLowerCase(),fe=D.variant==="outline",xe={success:"bg-green-500 hover:bg-green-600 border-transparent text-white shadow",warning:"bg-yellow-500 hover:bg-yellow-600 border-transparent text-white shadow",info:"bg-blue-500 hover:bg-blue-600 border-transparent text-white shadow"},ze={success:"text-green-600 border-green-600 hover:bg-green-50",warning:"text-yellow-600 border-yellow-600 hover:bg-yellow-50",info:"text-blue-600 border-blue-600 hover:bg-blue-50",danger:"text-red-600 border-red-600 hover:bg-red-50",destructive:"text-red-600 border-red-600 hover:bg-red-50",primary:"text-primary-600 border-primary-600 hover:bg-primary-50",secondary:"text-neutral-600 border-neutral-600 hover:bg-zinc-50"},Ge={danger:"destructive",secondary:"secondary",primary:"default"};fe?ze[Z]&&(D.class=ze[Z]):Ge[Z]?D.variant=Ge[Z]:xe[Z]&&(D.class=xe[Z])}}else D.label=typeof K=="object"?(K==null?void 0:K.name)||(K==null?void 0:K.code)||"-":K}else D.label=typeof K=="object"?(K==null?void 0:K.name)||(K==null?void 0:K.code)||"-":K;return D},nq=_=>{u.value.key===_?u.value.direction=u.value.direction==="asc"?"desc":"asc":(u.value.key=_,u.value.direction="asc"),r("update:sort",u.value)},c_=_=>{_!==d.value&&(d.value=_,le.value&&We(),r("update:page",_))},oq=_=>{h.value=_,d.value=1,le.value&&We()},rq=_=>{const E=Math.random()*15+75;if(_.width){const K=parseInt(String(_.width));return K<100?`${Math.floor(K*(Math.random()*.2+.7))}px`:`${E}%`}return`${E}%`},d_=()=>{c.value="",k.value={},d.value=1,We()},iq=_=>{var E;if(console.log("[DEBUG] handleHeaderAction called:",_),_.route||_.path)console.log("[DEBUG] Emitting navigate:",{route:_.route,path:_.path}),r("navigate",{route:_.route,path:_.path,key:_.key});else if(_.openDialog){I.value=_,V.value=null,b.value={};const K=_.fieldActionGlobal||_.field||[];K.length&&K.forEach(D=>{var fe;const N=_.endpoint||((fe=_.propsActionGlobal)==null?void 0:fe.endpointPropAction)||_.propsActionGlobal,Z=N!=null&&N.keyParam&&N.keyParam.length>0?N.keyParam[0]:null;Z&&D.model===Z||!Z&&/^(id|ids|idAuditTrail)/i.test(D.model)?b.value[D.model]=A.value:b.value[D.model]||(b.value[D.model]="")}),x.value=!0}else r("action",{action:((E=_.propsActionCustom)==null?void 0:E.key)||_.key||"create",row:null,selection:A.value})},sq=(_,E)=>{if(_.requireConfirm){L.value={button:_,row:E},C.value=!0;return}if(_.openDialog){I.value=_,V.value=E,b.value={};const K=ce.value.find(N=>N.type==="CHECKBOX"),D=(K==null?void 0:K.keyCheckbox)||"id";_.fieldActionCustom&&_.fieldActionCustom.forEach(N=>{/^(id|ids|idAuditTrail)/i.test(N.model)?b.value[N.model]=[E[D]]:b.value[N.model]=""}),x.value=!0;return}h_(_,E)},h_=(_,E)=>{if(_.route){if(_.path){const D=_.route.startsWith("/")?_.route:"/"+_.route;sessionStorage.setItem(`layout_${D}`,_.path)}let K=_.route;K.includes(":")?K=K.replaceAll(/:([a-zA-Z0-9_]+)/g,(D,N)=>E[N]||E.id||N):E.id&&(K=`${K.replace(/\/$/,"")}/${E.id}`),_.path&&_.path,r("navigate",{route:K,path:_.path})}else if(_.endpoint&&_.endpoint.apiUrl){y.value=!0;const{apiUrl:K}=Ke(),D=_.endpoint.apiUrl,N=_.endpoint.apiMethod||"POST",Z={};_.endpoint.keyParam&&Array.isArray(_.endpoint.keyParam)&&_.endpoint.keyParam.forEach((fe,xe)=>{const ze=_.endpoint.model&&xe===0?_.endpoint.model:fe;E[fe]!==void 0&&(Z[ze]=E[fe])}),Object.keys(Z).length===0&&E.id&&(Z.id=E.id),K(D,N,Z).then(()=>{We(),r("action",{action:_.action||"success",row:E})}).catch(fe=>{console.error("Action Failed",fe)}).finally(()=>{y.value=!1})}else r("action",{action:_.action,row:E})},u_=()=>{L.value&&(h_(L.value.button,L.value.row),lq())},_Q=()=>{var _,E;if(I.value){const K=I.value,D=K.endpoint||((_=K.propsActionGlobal)==null?void 0:_.endpointPropAction)||K.propsActionGlobal;let N=(D==null?void 0:D.model)||(D!=null&&D.keyParam&&D.keyParam.length>0?D.keyParam[0]:null);if(!N){const ze=(K.fieldActionGlobal||K.fieldActionCustom||K.field||[]).find(Ge=>/^(id|ids|idAuditTrail)/i.test(Ge.model));N=ze?ze.model:"ids"}let Z=null,fe=!1;if(V.value){const xe=ce.value.find(rt=>rt.type==="CHECKBOX"),ze=(xe==null?void 0:xe.keyCheckbox)||"id",Ge=V.value[ze];D!=null&&D.apiUrl&&(Z={...b.value},Z[N]||(Z[N]=[Ge]),fe=!0)}else D!=null&&D.apiUrl&&(Z={...b.value},Z[N]||(Z[N]=A.value||[]),fe=!0);if(fe&&Z&&(D!=null&&D.apiUrl)){const{apiUrl:xe}=Ke(),ze=D.apiUrl,Ge=D.apiMethod||"POST";xe(ze,Ge,Z).then(()=>{x.value=!1,V.value||(A.value=[]),We(),r("action",{action:"success",row:null})}).catch(rt=>{console.error("Action Failed",rt)})}else if(V.value){const xe=ce.value.find(bS=>bS.type==="CHECKBOX"),ze=(xe==null?void 0:xe.keyCheckbox)||"id",Ge=V.value[ze],rt={...b.value};rt[N]||(rt[N]=[Ge]),r("action",{action:I.value.action,row:rt}),x.value=!1}else{const xe={...b.value};xe[N]||(xe[N]=A.value);const ze={action:((E=I.value.propsActionGlobal)==null?void 0:E.key)||I.value.key,row:xe,selection:A.value};r("action",ze),x.value=!1}}},lq=()=>{C.value=!1,L.value=null},AQ=t.computed(()=>L.value?L.value.button.confirmTitle||"Confirm":""),BQ=t.computed(()=>L.value?L.value.button.confirmMessage||"Confirm":"");e({fetchData:We,filters:k,resetFilters:mS,handleRefresh:d_});const MS=t.ref(""),zQ=_=>{if(!_)return"";const E=_.endpoint||_.endpointGlobal||{};return JSON.stringify({url:E.apiUrl||_.apiUrl,module:E.apiModule||_.apiModule,action:E.apiAction||_.apiAction,method:E.apiMethod||_.apiMethod,params:_.apiParams,socket:E.socket||_.socketEndpoint,socketParams:_.socketParams})};return t.watch(()=>o.tableConfig,()=>{if(o.tableConfig){de();const _=zQ(o.tableConfig);_!==MS.value&&(!MS.value&&le.value?(MS.value=_,We()):(MS.value=_,le.value&&na()))}},{deep:!0,immediate:!0}),t.watch(()=>o.apiModule,()=>{le.value&&We()}),t.watch(()=>o.apiParams,()=>{le.value&&We()},{deep:!0}),t.watch(()=>v.value,_=>{console.log("[DEBUG] headerActions changed:",_.length,"items");const E=Q.value;console.log("[DEBUG] visibleHeaderActions evaluated:",E.length,"items")},{deep:!0}),t.onMounted(()=>{de(),le.value&&(o.tableConfig||(y.value=!0,We()))}),(_,E)=>{var K;return t.openBlock(),t.createElementBlock("div",EY,[t.createElementVNode("div",TY,[t.createElementVNode("div",HY,[a.nested?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",jY,[t.createElementVNode("div",OY,[t.createVNode(t.unref(pr),{class:"absolute left-2.5 top-2.5 h-4 w-4 text-neutral-500 dark:text-neutral-400"}),t.createVNode(t.unref(o_),{modelValue:c.value,"onUpdate:modelValue":E[0]||(E[0]=D=>c.value=D),placeholder:"Search...",style:{"padding-left":"2.25rem !important"},class:"h-9 bg-white/95 dark:bg-zinc-800/95 border-white/30 dark:border-neutral-700/50 text-neutral-900 dark:text-neutral-100 placeholder:text-neutral-500 dark:placeholder:text-neutral-400",onKeyup:t.withKeys(J,["enter"])},null,8,["modelValue"])]),M.value.length>0?(t.openBlock(),t.createElementBlock("div",FY,[t.createVNode(mY,null,{trigger:t.withCtx(()=>[t.createVNode(xs,{variant:"secondary",icon:"SlidersHorizontal",tooltip:"Advance Search",class:"gap-2 h-9 w-full sm:w-auto justify-center bg-white/95 dark:bg-zinc-800/95 text-neutral-700 dark:text-neutral-300 hover:bg-zinc-50 dark:hover:bg-zinc-800 border border-white/30 dark:border-neutral-700/50 shadow-sm backdrop-blur-sm text-xs font-medium"})]),footer:t.withCtx(()=>[t.createElementVNode("div",WY,[t.renderSlot(_.$slots,"filter-footer",{fetch:We,reset:mS})])]),default:t.withCtx(()=>[t.createElementVNode("div",RY,[t.renderSlot(_.$slots,"filter-form",{filters:k.value},()=>[M.value.length>0?(t.openBlock(),t.createElementBlock("div",NY,[t.createElementVNode("div",$Y,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(oe.value,(D,N)=>(t.openBlock(),t.createElementBlock("div",{key:N,class:t.normalizeClass(ee(D.column))},[t.createVNode(YV,{field:D,modelValue:k.value[D.model],"onUpdate:modelValue":Z=>k.value[D.model]=Z},null,8,["field","modelValue","onUpdate:modelValue"])],2))),128))])])):t.createCommentVNode("",!0)]),M.value.length>0?(t.openBlock(),t.createElementBlock("div",UY,[t.createVNode(t.unref(Ae),{variant:"outline",onClick:mS,disabled:ve.value,class:"flex-1 w-full"},{default:t.withCtx(()=>[...E[8]||(E[8]=[t.createTextVNode(" Reset ",-1)])]),_:1},8,["disabled"]),t.createVNode(t.unref(Ae),{onClick:aq,disabled:ve.value,class:"flex-1 w-full"},{default:t.withCtx(()=>[...E[9]||(E[9]=[t.createTextVNode(" Search ",-1)])]),_:1},8,["disabled"])])):t.createCommentVNode("",!0)])]),_:3})])):t.createCommentVNode("",!0)])),t.createElementVNode("div",{class:t.normalizeClass(["flex items-center gap-2 flex-wrap",{"w-full justify-between":a.nested}])},[a.nested?(t.openBlock(),t.createElementBlock("span",GY)):t.createCommentVNode("",!0),a.nested?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(xs,{key:1,variant:"secondary",icon:"RefreshCw",text:"Refresh",tooltip:"Refresh",class:"gap-2 h-9 bg-white/95 dark:bg-zinc-800/95 text-neutral-700 dark:text-neutral-300 hover:bg-white dark:hover:bg-zinc-800 border border-white/30 dark:border-neutral-700/50 shadow-sm backdrop-blur-sm text-xs font-medium",onClick:d_,disabled:ve.value},{icon:t.withCtx(()=>[t.createVNode(t.unref(us),{class:t.normalizeClass(["w-3.5 h-3.5",{"animate-spin":ve.value}])},null,8,["class"])]),_:1},8,["disabled"])),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Q.value,(D,N)=>(t.openBlock(),t.createBlock(xs,{key:N,icon:D.icon,text:D.label,tooltip:D.tooltip,variant:D.variant,"bg-color":D.bgColor,"text-color":D.textColor,class:"gap-2 h-9 shadow-lg shadow-primary-500/20 border-none text-xs font-medium",onClick:Z=>iq(D)},null,8,["icon","text","tooltip","variant","bg-color","text-color","onClick"]))),128)),t.renderSlot(_.$slots,"header-actions")],2)])]),t.createElementVNode("div",KY,[t.createElementVNode("table",XY,[t.createElementVNode("thead",ZY,[t.createElementVNode("tr",null,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(ce.value,D=>(t.openBlock(),t.createElementBlock("th",{key:D.key,class:t.normalizeClass([D.align?`text-${D.align.toLowerCase()}`:"",D.sortable?"cursor-pointer select-none":"","px-3 py-2 text-xs font-black text-white dark:text-neutral-100 uppercase tracking-wider transition-colors duration-150"]),style:t.normalizeStyle(D.width?{width:D.width}:{}),onClick:N=>D.sortable&&nq(D.key)},[D.type==="CHECKBOX"?(t.openBlock(),t.createElementBlock("div",QY,[t.createVNode(q1,{"model-value":q.value,indeterminate:O.value,"onUpdate:modelValue":E[1]||(E[1]=N=>W(!!N)),onClick:E[2]||(E[2]=t.withModifiers(()=>{},["stop"]))},null,8,["model-value","indeterminate"])])):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["flex items-center gap-2 w-full",bt(D.align)])},[t.createElementVNode("span",null,t.toDisplayString(D.label),1)],2))],14,YY))),128)),ue.value?(t.openBlock(),t.createElementBlock("th",JY,[...E[10]||(E[10]=[t.createElementVNode("div",{class:"flex items-center justify-center w-full"}," Actions ",-1)])])):t.createCommentVNode("",!0)])]),t.createElementVNode("tbody",eQ,[ve.value?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(h.value,D=>(t.openBlock(),t.createElementBlock("tr",{key:`skeleton-${D}`},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(ce.value,N=>{var Z,fe;return t.openBlock(),t.createElementBlock("td",{key:N.key,class:t.normalizeClass([N.align?`text-${N.align.toLowerCase()}`:"text-left","px-3 py-0.5"])},[t.createElementVNode("div",{class:t.normalizeClass(["bg-gradient-to-r from-neutral-200 via-neutral-300 to-neutral-200 dark:from-neutral-700 dark:via-neutral-600 dark:to-neutral-700 animate-shimmer",[["badge","BADGE"].includes(N.type??"")||N.condition?"h-5 rounded-full w-20":"h-4 rounded-md",((Z=N.align)==null?void 0:Z.toLowerCase())==="center"?"mx-auto":"",((fe=N.align)==null?void 0:fe.toLowerCase())==="right"?"ml-auto":""]]),style:t.normalizeStyle({width:["badge","BADGE"].includes(N.type??"")||N.condition?void 0:rq(N),backgroundSize:"200% 100%"})},null,6)],2)}),128)),a.hasActions?(t.openBlock(),t.createElementBlock("td",tQ,[...E[11]||(E[11]=[t.createElementVNode("div",{class:"flex items-center justify-center gap-1.5"},[t.createElementVNode("div",{class:"w-9 h-9 bg-zinc-200 dark:bg-zinc-700 rounded-xl animate-pulse"}),t.createElementVNode("div",{class:"w-9 h-9 bg-zinc-200 dark:bg-zinc-700 rounded-xl animate-pulse delay-75"}),t.createElementVNode("div",{class:"w-9 h-9 bg-zinc-200 dark:bg-zinc-700 rounded-xl animate-pulse delay-150"})],-1)])])):t.createCommentVNode("",!0)]))),128)):xt.value.length===0?(t.openBlock(),t.createElementBlock("tr",aQ,[t.createElementVNode("td",{colspan:ce.value.length+(ue.value?1:0),class:"text-center py-16"},[t.createElementVNode("div",oQ,[t.createElementVNode("div",null,[t.createElementVNode("p",rQ,t.toDisplayString(De.value?"No search results":"No data"),1),t.createElementVNode("p",iQ,t.toDisplayString(De.value?"Try changing keywords":"No data added"),1)])])],8,nQ)])):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:2},t.renderList(xt.value,(D,N)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:N},[t.createElementVNode("tr",sQ,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(ce.value,Z=>(t.openBlock(),t.createElementBlock("td",{key:Z.key,class:t.normalizeClass([Z.align?`text-${Z.align}`:"text-left","px-3 py-0.5 text-sm text-neutral-900 dark:text-neutral-100"])},[t.renderSlot(_.$slots,`cell-${Z.key}`,{row:D,value:F(D,Z.key)},()=>[Z.type==="CHECKBOX"?(t.openBlock(),t.createElementBlock("div",lQ,[t.createVNode(q1,{"model-value":H(D),"onUpdate:modelValue":fe=>T(D,!!fe),onClick:E[3]||(E[3]=t.withModifiers(()=>{},["stop"]))},null,8,["model-value","onUpdate:modelValue"])])):Z.type==="badge"||Z.type==="BADGE"||Z.condition?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["flex items-center gap-1.5 flex-wrap md:flex-nowrap",[Z.align?`justify-${Z.align}`:"justify-start"]])},[t.createVNode(t.unref(Ia),{variant:gS(D,Z).variant,class:t.normalizeClass([gS(D,Z).class,"whitespace-nowrap truncate max-w-[150px] inline-block"])},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(gS(D,Z).label),1)]),_:2},1032,["variant","class"])],2)):Z.key==="no"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode(t.toDisplayString((d.value-1)*h.value+N+1),1)],64)):Z.type==="date"||Z.type==="DATE"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:3},[t.createTextVNode(t.toDisplayString(F(D,Z.key)?t.unref(sY)(F(D,Z.key),"long"):"-"),1)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:4},[t.createTextVNode(t.toDisplayString(Z.format?Z.format(F(D,Z.key)):F(D,Z.key)),1)],64))])],2))),128)),ue.value?(t.openBlock(),t.createElementBlock("td",cQ,[t.renderSlot(_.$slots,"actions",{row:D,buttons:Pe(D),getButtonColor:ot,getIconComponent:_a},()=>[Pe(D).length>0?(t.openBlock(),t.createElementBlock("div",dQ,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Pe(D),(Z,fe)=>(t.openBlock(),t.createElementBlock("div",{key:fe,class:"group relative"},[t.createVNode(xs,{tooltip:Z.tooltip||Z.label,icon:_a(Z.icon),size:"icon",variant:Z.variant||"ghost","bg-color":ot(Z,D),onClick:xe=>sq(Z,D)},null,8,["tooltip","icon","variant","bg-color","onClick"])]))),128))])):t.createCommentVNode("",!0)])])):t.createCommentVNode("",!0)]),_.$slots["expanded-row"]?(t.openBlock(),t.createElementBlock("tr",hQ,[t.createElementVNode("td",{colspan:ce.value.length+(ue.value?1:0),class:"px-0 py-0"},[t.renderSlot(_.$slots,"expanded-row",{row:D,index:N})],8,uQ)])):t.createCommentVNode("",!0)],64))),128))])])]),!ve.value&&xt.value.length>0&&a.showPagination&&w.value?(t.openBlock(),t.createElementBlock("div",pQ,[t.createElementVNode("div",yQ,[t.createVNode(t.unref(_Y),{"model-value":String(h.value),"onUpdate:modelValue":E[4]||(E[4]=D=>oq(Number(D)))},{default:t.withCtx(()=>[t.createVNode(t.unref(PY),{class:"h-8 w-[70px] bg-white dark:bg-zinc-800 border-neutral-200 dark:border-neutral-700"},{default:t.withCtx(()=>[t.createVNode(t.unref(DY),{placeholder:String(h.value)},null,8,["placeholder"])]),_:1}),t.createVNode(t.unref(AY),null,{default:t.withCtx(()=>[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(G,D=>t.createVNode(t.unref(zY),{key:D,value:String(D)},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(D),1)]),_:2},1032,["value"])),64))]),_:1})]),_:1},8,["model-value"]),E[16]||(E[16]=t.createElementVNode("div",{class:"h-5 w-px bg-zinc-300 dark:bg-zinc-600"},null,-1)),t.createElementVNode("span",fQ,[E[12]||(E[12]=t.createTextVNode(" Showing ",-1)),t.createElementVNode("span",kQ,t.toDisplayString(D1.value),1),E[13]||(E[13]=t.createTextVNode(" to ",-1)),t.createElementVNode("span",mQ,t.toDisplayString(E1.value),1),E[14]||(E[14]=t.createTextVNode(" of ",-1)),t.createElementVNode("span",gQ,t.toDisplayString($t.value),1),E[15]||(E[15]=t.createTextVNode(" items ",-1))])]),t.createElementVNode("div",MQ,[t.createVNode(t.unref(bY),{total:$t.value,"items-per-page":h.value,"sibling-count":1,"show-edges":"",page:d.value,"onUpdate:page":c_,class:"scale-90 origin-right"},{default:t.withCtx(()=>[t.createVNode(t.unref(xY),{class:"flex items-center gap-1"},{default:t.withCtx(({items:D})=>[t.createVNode(t.unref(vY),{class:"w-8 h-8 p-0 flex items-center justify-center border border-neutral-200 dark:border-neutral-700 rounded-md bg-white dark:bg-zinc-800 text-neutral-900 dark:text-neutral-100 hover:bg-zinc-100 dark:hover:bg-zinc-700 disabled:opacity-50 disabled:cursor-not-allowed"},{default:t.withCtx(()=>[t.createVNode(t.unref(Os),{class:"h-4 w-4"})]),_:1}),t.createVNode(t.unref(IY),{class:"w-8 h-8 p-0 flex items-center justify-center border border-neutral-200 dark:border-neutral-700 rounded-md bg-white dark:bg-zinc-800 text-neutral-900 dark:text-neutral-100 hover:bg-zinc-100 dark:hover:bg-zinc-700 disabled:cursor-not-allowed"},{default:t.withCtx(()=>[t.createVNode(t.unref(cn),{class:"h-4 w-4"})]),_:1}),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(D,(N,Z)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[N.type==="page"?(t.openBlock(),t.createBlock(t.unref(CY),{key:Z,value:N.value,"as-child":""},{default:t.withCtx(()=>[t.createVNode(t.unref(Ae),{class:"w-8 h-8 p-0 text-sm",variant:N.value===d.value?"default":"outline",disabled:N.value===d.value,onClick:fe=>c_(N.value)},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(N.value),1)]),_:2},1032,["variant","disabled","onClick"])]),_:2},1032,["value"])):(t.openBlock(),t.createBlock(t.unref(wY),{key:N.type,index:Z},null,8,["index"]))],64))),256)),t.createVNode(t.unref(SY),{class:"w-8 h-8 p-0 flex items-center justify-center border border-neutral-200 dark:border-neutral-700 rounded-md bg-white dark:bg-zinc-800 text-neutral-900 dark:text-neutral-100 hover:bg-zinc-100 dark:hover:bg-zinc-700 disabled:cursor-not-allowed"},{default:t.withCtx(()=>[t.createVNode(t.unref(dn),{class:"h-4 w-4"})]),_:1}),t.createVNode(t.unref(LY),{class:"w-8 h-8 p-0 flex items-center justify-center border border-neutral-200 dark:border-neutral-700 rounded-md bg-white dark:bg-zinc-800 text-neutral-900 dark:text-neutral-100 hover:bg-zinc-100 dark:hover:bg-zinc-700 disabled:cursor-not-allowed"},{default:t.withCtx(()=>[t.createVNode(t.unref(Fs),{class:"h-4 w-4"})]),_:1})]),_:1})]),_:1},8,["total","items-per-page","page"])])])):t.createCommentVNode("",!0),t.createVNode(lS,{modelValue:C.value,"onUpdate:modelValue":E[5]||(E[5]=D=>C.value=D),title:AQ.value,icon:"AlertCircle","max-width":450,persistent:!1},{actions:t.withCtx(()=>[t.createVNode(t.unref(Ae),{variant:"outline",onClick:lq},{default:t.withCtx(()=>[...E[17]||(E[17]=[t.createTextVNode(" Cancel ",-1)])]),_:1}),t.createVNode(t.unref(Ae),{onClick:u_},{default:t.withCtx(()=>[...E[18]||(E[18]=[t.createTextVNode(" Yes ",-1)])]),_:1})]),default:t.withCtx(()=>[t.createElementVNode("div",bQ,[t.createElementVNode("p",xQ,t.toDisplayString(BQ.value),1)])]),_:1},8,["modelValue","title"]),t.createVNode(lS,{modelValue:x.value,"onUpdate:modelValue":E[7]||(E[7]=D=>x.value=D),title:((K=I.value)==null?void 0:K.label)||"Action",icon:"AlertCircle","max-width":450},{actions:t.withCtx(()=>[t.createVNode(t.unref(Ae),{variant:"outline",onClick:E[6]||(E[6]=D=>x.value=!1)},{default:t.withCtx(()=>[...E[19]||(E[19]=[t.createTextVNode(" Cancel ",-1)])]),_:1}),t.createVNode(t.unref(Ae),{onClick:_Q},{default:t.withCtx(()=>[...E[20]||(E[20]=[t.createTextVNode(" Save ",-1)])]),_:1})]),default:t.withCtx(()=>{var D,N;return[t.createElementVNode("div",wQ,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(((D=I.value)==null?void 0:D.fieldActionCustom)||((N=I.value)==null?void 0:N.fieldActionGlobal)||[],(Z,fe)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:fe},[Z.isHidden?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(ee(Z.column))},[t.createVNode(YV,{field:Z,modelValue:b.value[Z.model],"onUpdate:modelValue":xe=>b.value[Z.model]=xe},null,8,["field","modelValue","onUpdate:modelValue"])],2))],64))),128))])]}),_:1},8,["modelValue","title"])])}}}),vQ={class:"h-full flex flex-col"},CQ={key:1,class:"flex-1 flex items-center justify-center"},LQ={key:2,class:"flex-1 flex items-center justify-center text-red-500"},QV=t.defineComponent({__name:"AutoLayoutDatatable",props:{layoutCode:{},userPermissions:{},permissionBase:{}},emits:["action","navigate"],setup(a,{emit:e}){const n=a,o=e,r=H1.useRoute();H1.useRouter();const{apiUrl:i}=Ke(),s=t.inject("hasActionAccess",()=>!1),c=t.inject("userPermissions",null),d=t.ref(null),h=t.ref(!0),u=t.ref(null),p=async()=>{var k;h.value=!0;try{const m=await i(`/api/auto-layout/datatable/form-dynamic?code=${n.layoutCode}`,"GET");m.status&&(d.value=Array.isArray(m.data)?m.data[0]:m.data,console.log("[DEBUG] AutoLayoutDatatable config loaded:",d.value),console.log("[DEBUG] actionGlobal in config:",(k=d.value)==null?void 0:k.actionGlobal))}catch(m){console.error("Gagal Menampilkan Datatable:",m)}finally{h.value=!1}},y=k=>{k.action==="add"&&console.log("[AutoLayoutDatatable] Add action triggered"),console.log("Aksi:",k.action,k)},f=k=>{console.log("[DEBUG] AutoLayoutDatatable handleNavigate:",k);let m=k.route;if(m||(m=`/${((r==null?void 0:r.path)||"").split("/")[1]||"product"}/create`),m){const g=k.path?{code:k.path}:{};console.log("[DEBUG] Emitting navigate to parent:",{path:m,query:g}),o("navigate",{route:m,query:g})}else console.warn("[DEBUG] No route or path provided for navigation")};return t.onMounted(()=>{p()}),(k,m)=>(t.openBlock(),t.createElementBlock("div",vQ,[!h.value&&d.value?(t.openBlock(),t.createBlock(fS,{key:0,ref_key:"dtRef",ref:u,"api-url":`/api/auto-layout/datatable/form-dynamic?code=${n.layoutCode}`,"api-method":"GET","table-config":d.value,"permission-base":n.permissionBase||"","user-permissions":n.userPermissions||t.unref(c),"permission-checker":t.unref(s),onAction:y,onNavigate:f},{"header-actions":t.withCtx(()=>[...m[0]||(m[0]=[])]),_:1},8,["api-url","table-config","permission-base","user-permissions","permission-checker"])):h.value?(t.openBlock(),t.createElementBlock("div",CQ,[...m[1]||(m[1]=[t.createElementVNode("i",{class:"mdi mdi-loading mdi-spin text-4xl text-primary-600"},null,-1)])])):(t.openBlock(),t.createElementBlock("div",LQ," Failed to load configuration for "+t.toDisplayString(n.layoutCode),1))]))}}),JV=t.defineCustomElement(ZV),eq=t.defineCustomElement(QV);typeof customElements<"u"&&(customElements.get("micro-dynamic-form")||customElements.define("micro-dynamic-form",JV),customElements.get("micro-dynamic-datatable")||customElements.define("micro-dynamic-datatable",eq));const SQ=[ES,j_,xs,lI,gV,q1,MV,ZI,lS,EV,uS,TV,QI,HV,e_,a_,t_,n_,jV,r_,OV,FV,RV,NV,i_,s_,l_,pS,GV,KV,XV,fS],IQ={install(a,e={}){e&&Object.keys(e).length>0&&gq(e),SQ.forEach(n=>{n.name&&a.component(n.name,n)})}};ne.AutoLayoutDatatable=QV,ne.AutoLayoutForm=ZV,ne.DCodeAutoComplete=ES,ne.DCodeButton=xs,ne.DCodeCard=lI,ne.DCodeChart=gV,ne.DCodeCheckbox=q1,ne.DCodeCurrencyField=MV,ne.DCodeDatePicker=ZI,ne.DCodeDialog=lS,ne.DCodeDialogCloseBtn=EV,ne.DCodeDropzone=uS,ne.DCodeFileField=TV,ne.DCodeFileResult=QI,ne.DCodeIconDropdown=HV,ne.DCodeImageCropperDialog=e_,ne.DCodeImageField=a_,ne.DCodeImageResult=t_,ne.DCodeInfiniteAutoComplete=j_,ne.DCodeLabel=n_,ne.DCodeMultiSelect=jV,ne.DCodeOtpInput=r_,ne.DCodeProgress=OV,ne.DCodeProgressBar=FV,ne.DCodeRadio=RV,ne.DCodeRadioCustom=NV,ne.DCodeSlider=i_,ne.DCodeSwitch=s_,ne.DCodeTextField=l_,ne.DCodeTextarea=pS,ne.DCodeTimelineWithIcons=GV,ne.DCodeUploadFile=KV,ne.DCodeWizard=XV,ne.DataTable=fS,ne.DataTableComponent=fS,ne.MicroDynamicDatatable=eq,ne.MicroDynamicForm=JV,ne.cn=ke,ne.default=IQ,Object.defineProperties(ne,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
|