@vuebro/runtime 0.3.7 → 1.0.0

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.
@@ -0,0 +1,415 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./PageView-x-6eI8cU.js","./sucrase-DTaNgZ3p.js","./compiler-sfc-DUpFnHsr.js","./RootView-CZPb8TLr.js","./NotFoundView-BFf3R-4M.js"])))=>i.map(i=>d[i]);
2
+ var Dl=Object.defineProperty;var ql=(e,t,r)=>t in e?Dl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var je=(e,t,r)=>ql(e,typeof t!="symbol"?t+"":t,r);import{toValue as $e,isRef as Mt,hasInjectionContext as Vl,inject as Ul,ref as Ge,watchEffect as Hl,getCurrentInstance as Oo,onBeforeUnmount as Wl,onDeactivated as Kl,onActivated as Bl,reactive as st,unref as rc,getCurrentScope as Gl,onScopeDispose as Jl,onMounted as Ro,nextTick as Ao,watch as Xe,computed as ye,shallowRef as Je,readonly as Xl,isReactive as Yl,defineComponent as nc,onUnmounted as Ql,h as si,resolveComponent as Zl,createBlock as ai,openBlock as ci,withCtx as eu,resolveDynamicComponent as tu,defineAsyncComponent as ru,createApp as nu}from"vue";import{g as pn,r as ou,t as li}from"./sucrase-DTaNgZ3p.js";import{useRoute as iu,createRouter as su,createWebHistory as au}from"vue-router";import{p as cu,c as lu,a as uu,b as fu}from"./compiler-sfc-DUpFnHsr.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&n(s)}).observe(document,{childList:!0,subtree:!0});function r(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(o){if(o.ep)return;o.ep=!0;const i=r(o);fetch(o.href,i)}})();const du="modulepreload",pu=function(e,t){return new URL(e,t).href},ui={},ot=function(t,r,n){let o=Promise.resolve();if(r&&r.length>0){let s=function(l){return Promise.all(l.map(d=>Promise.resolve(d).then(b=>({status:"fulfilled",value:b}),b=>({status:"rejected",reason:b}))))};const a=document.getElementsByTagName("link"),c=document.querySelector("meta[property=csp-nonce]"),u=(c==null?void 0:c.nonce)||(c==null?void 0:c.getAttribute("nonce"));o=s(r.map(l=>{if(l=pu(l,n),l in ui)return;ui[l]=!0;const d=l.endsWith(".css"),b=d?'[rel="stylesheet"]':"";if(!!n)for(let h=a.length-1;h>=0;h--){const p=a[h];if(p.href===l&&(!d||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${b}`))return;const g=document.createElement("link");if(g.rel=d?"stylesheet":du,d||(g.as="script"),g.crossOrigin="",g.href=l,u&&g.setAttribute("nonce",u),document.head.appendChild(g),d)return new Promise((h,p)=>{g.addEventListener("load",h),g.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${l}`)))})}))}function i(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return o.then(s=>{for(const a of s||[])a.status==="rejected"&&i(a.reason);return t().catch(i)})};function co(e,t={},r){for(const n in e){const o=e[n],i=r?`${r}:${n}`:n;typeof o=="object"&&o!==null?co(o,t,i):typeof o=="function"&&(t[i]=o)}return t}const hu={run:e=>e()},mu=()=>hu,oc=typeof console.createTask<"u"?console.createTask:mu;function gu(e,t){const r=t.shift(),n=oc(r);return e.reduce((o,i)=>o.then(()=>n.run(()=>i(...t))),Promise.resolve())}function yu(e,t){const r=t.shift(),n=oc(r);return Promise.all(e.map(o=>n.run(()=>o(...t))))}function jn(e,t){for(const r of[...e])r(t)}class bu{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,r,n={}){if(!t||typeof r!="function")return()=>{};const o=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!n.allowDeprecated){let s=i.message;s||(s=`${o} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||(console.warn(s),this._deprecatedMessages.add(s))}if(!r.name)try{Object.defineProperty(r,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(r),()=>{r&&(this.removeHook(t,r),r=void 0)}}hookOnce(t,r){let n,o=(...i)=>(typeof n=="function"&&n(),n=void 0,o=void 0,r(...i));return n=this.hook(t,o),n}removeHook(t,r){if(this._hooks[t]){const n=this._hooks[t].indexOf(r);n!==-1&&this._hooks[t].splice(n,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,r){this._deprecatedHooks[t]=typeof r=="string"?{to:r}:r;const n=this._hooks[t]||[];delete this._hooks[t];for(const o of n)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const r in t)this.deprecateHook(r,t[r])}addHooks(t){const r=co(t),n=Object.keys(r).map(o=>this.hook(o,r[o]));return()=>{for(const o of n.splice(0,n.length))o()}}removeHooks(t){const r=co(t);for(const n in r)this.removeHook(n,r[n])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...r){return r.unshift(t),this.callHookWith(gu,t,...r)}callHookParallel(t,...r){return r.unshift(t),this.callHookWith(yu,t,...r)}callHookWith(t,r,...n){const o=this._before||this._after?{name:r,args:n,context:{}}:void 0;this._before&&jn(this._before,o);const i=t(r in this._hooks?[...this._hooks[r]]:[],n);return i instanceof Promise?i.finally(()=>{this._after&&o&&jn(this._after,o)}):(this._after&&o&&jn(this._after,o),i)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const r=this._before.indexOf(t);r!==-1&&this._before.splice(r,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const r=this._after.indexOf(t);r!==-1&&this._after.splice(r,1)}}}}function vu(){return new bu}const $u=new Set(["link","style","script","noscript"]),wu=new Set(["title","titleTemplate","script","style","noscript"]),fi=new Set(["base","meta","link","style","script","noscript"]),ku=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),_u=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),xu=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),Su=new Set(["templateParams","htmlAttrs","bodyAttrs"]),To=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),Eu=["name","property","http-equiv"];function ic(e){const t=e.split(":");return t.length?To.has(t[1]):!1}function lo(e){const{props:t,tag:r}=e;if(_u.has(r))return r;if(r==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(e.tag==="meta"){for(const n of Eu)if(t[n]!==void 0)return`${r}:${t[n]}`}if(e.key)return`${r}:key:${e.key}`;if(t.id)return`${r}:id:${t.id}`;if(wu.has(r)){const n=e.textContent||e.innerHTML;if(n)return`${r}:content:${n}`}}function di(e){const t=e._h||e._d;if(t)return t;const r=e.textContent||e.innerHTML;return r||`${e.tag}:${Object.entries(e.props).map(([n,o])=>`${n}:${String(o)}`).join(",")}`}function Jr(e,t,r){typeof e==="function"&&(!r||r!=="titleTemplate"&&!(r[0]==="o"&&r[1]==="n"))&&(e=e());let o;if(t&&(o=t(r,e)),Array.isArray(o))return o.map(i=>Jr(i,t));if((o==null?void 0:o.constructor)===Object){const i={};for(const s of Object.keys(o))i[s]=Jr(o[s],t,s);return i}return o}function Cu(e,t){const r=e==="style"?new Map:new Set;function n(o){const i=o.trim();if(i)if(e==="style"){const[s,...a]=i.split(":").map(c=>c.trim());s&&a.length&&r.set(s,a.join(":"))}else i.split(" ").filter(Boolean).forEach(s=>r.add(s))}return typeof t=="string"?e==="style"?t.split(";").forEach(n):n(t):Array.isArray(t)?t.forEach(o=>n(o)):t&&typeof t=="object"&&Object.entries(t).forEach(([o,i])=>{i&&i!=="false"&&(e==="style"?r.set(o.trim(),i):n(o))}),r}function sc(e,t){return e.props=e.props||{},t&&Object.entries(t).forEach(([r,n])=>{if(n===null){e.props[r]=null;return}if(r==="class"||r==="style"){e.props[r]=Cu(r,n);return}if(xu.has(r)){if(["textContent","innerHTML"].includes(r)&&typeof n=="object"){let s=t.type;if(t.type||(s="application/json"),!(s!=null&&s.endsWith("json"))&&s!=="speculationrules")return;t.type=s,e.props.type=s,e[r]=JSON.stringify(n)}else e[r]=n;return}const o=String(n),i=r.startsWith("data-");o==="true"||o===""?e.props[r]=i?o:!0:!n&&i&&o==="false"?e.props[r]="false":n!==void 0&&(e.props[r]=n)}),e}function ju(e,t){const r=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},n=sc({tag:e,props:{}},r);return n.key&&$u.has(n.tag)&&(n.props["data-hid"]=n._h=n.key),n.tag==="script"&&typeof n.innerHTML=="object"&&(n.innerHTML=JSON.stringify(n.innerHTML),n.props.type=n.props.type||"application/json"),Array.isArray(n.props.content)?n.props.content.map(o=>({...n,props:{...n.props,content:o}})):n}function Pu(e,t){if(!e)return[];typeof e=="function"&&(e=e());const r=(o,i)=>{for(let s=0;s<t.length;s++)i=t[s](o,i);return i};e=r(void 0,e);const n=[];return e=Jr(e,r),Object.entries(e||{}).forEach(([o,i])=>{if(i!==void 0)for(const s of Array.isArray(i)?i:[i])n.push(ju(o,s))}),n.flat()}const pi=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,hi={base:-10,title:10},Ou={critical:-8,high:-1,low:2},mi={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},Ru=/@import/,kt=e=>e===""||e===!0;function Au(e,t){var i;if(typeof t.tagPriority=="number")return t.tagPriority;let r=100;const n=Ou[t.tagPriority]||0,o=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:mi;if(t.tag in hi)r=hi[t.tag];else if(t.tag==="meta"){const s=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;s&&(r=mi.meta[s])}else t.tag==="link"&&t.props.rel?r=o.link[t.props.rel]:t.tag==="script"?kt(t.props.async)?r=o.script.async:t.props.src&&!kt(t.props.defer)&&!kt(t.props.async)&&t.props.type!=="module"&&!((i=t.props.type)!=null&&i.endsWith("json"))?r=o.script.sync:kt(t.props.defer)&&t.props.src&&!kt(t.props.async)&&(r=o.script.defer):t.tag==="style"&&(r=t.innerHTML&&Ru.test(t.innerHTML)?o.style.imported:o.style.sync);return(r||100)+n}function gi(e,t){const r=typeof t=="function"?t(e):t,n=r.key||String(e.plugins.size+1);e.plugins.get(n)||(e.plugins.set(n,r),e.hooks.addHooks(r.hooks||{}))}function Tu(e={}){var a;const t=vu();t.addHooks(e.hooks||{});const r=!e.document,n=new Map,o=new Map,i=[],s={_entryCount:1,plugins:o,dirty:!1,resolvedOptions:e,hooks:t,ssr:r,entries:n,headEntries(){return[...n.values()]},use:c=>gi(s,c),push(c,u){const l={...u||{}};delete l.head;const d=l._index??s._entryCount++,b={_i:d,input:c,options:l},v={_poll(g=!1){s.dirty=!0,!g&&i.push(d),t.callHook("entries:updated",s)},dispose(){n.delete(d)&&v._poll(!0)},patch(g){(!l.mode||l.mode==="server"&&r||l.mode==="client"&&!r)&&(b.input=g,n.set(d,b),v._poll())}};return v.patch(c),v},async resolveTags(){var v;const c={tagMap:new Map,tags:[],entries:[...s.entries.values()]};for(await t.callHook("entries:resolve",c);i.length;){const g=i.shift(),h=n.get(g);if(h){const p={tags:Pu(h.input,e.propResolvers||[]).map(m=>Object.assign(m,h.options)),entry:h};await t.callHook("entries:normalize",p),h._tags=p.tags.map((m,f)=>(m._w=Au(s,m),m._p=(h._i<<10)+f,m._d=lo(m),m))}}let u=!1;c.entries.flatMap(g=>(g._tags||[]).map(h=>({...h,props:{...h.props}}))).sort(pi).reduce((g,h)=>{const p=String(h._d||h._p);if(!g.has(p))return g.set(p,h);const m=g.get(p);if(((h==null?void 0:h.tagDuplicateStrategy)||(Su.has(h.tag)?"merge":null)||(h.key&&h.key===m.key?"merge":null))==="merge"){const y={...m.props};Object.entries(h.props).forEach(([$,k])=>y[$]=$==="style"?new Map([...m.props.style||new Map,...k]):$==="class"?new Set([...m.props.class||new Set,...k]):k),g.set(p,{...h,props:y})}else h._p>>10===m._p>>10&&h.tag==="meta"&&ic(p)?(g.set(p,Object.assign([...Array.isArray(m)?m:[m],h],h)),u=!0):(h._w===m._w?h._p>m._p:(h==null?void 0:h._w)<(m==null?void 0:m._w))&&g.set(p,h);return g},c.tagMap);const l=c.tagMap.get("title"),d=c.tagMap.get("titleTemplate");if(s._title=l==null?void 0:l.textContent,d){const g=d==null?void 0:d.textContent;if(s._titleTemplate=g,g){let h=typeof g=="function"?g(l==null?void 0:l.textContent):g;typeof h=="string"&&!s.plugins.has("template-params")&&(h=h.replace("%s",(l==null?void 0:l.textContent)||"")),l?h===null?c.tagMap.delete("title"):c.tagMap.set("title",{...l,textContent:h}):(d.tag="title",d.textContent=h)}}c.tags=Array.from(c.tagMap.values()),u&&(c.tags=c.tags.flat().sort(pi)),await t.callHook("tags:beforeResolve",c),await t.callHook("tags:resolve",c),await t.callHook("tags:afterResolve",c);const b=[];for(const g of c.tags){const{innerHTML:h,tag:p,props:m}=g;if(ku.has(p)&&!(Object.keys(m).length===0&&!g.innerHTML&&!g.textContent)&&!(p==="meta"&&!m.content&&!m["http-equiv"]&&!m.charset)){if(p==="script"&&h){if((v=m.type)!=null&&v.endsWith("json")){const f=typeof h=="string"?h:JSON.stringify(h);g.innerHTML=f.replace(/</g,"\\u003C")}else typeof h=="string"&&(g.innerHTML=h.replace(new RegExp(`</${p}`,"g"),`<\\/${p}`));g._d=lo(g)}b.push(g)}}return b}};return((e==null?void 0:e.plugins)||[]).forEach(c=>gi(s,c)),s.hooks.callHook("init",s),(a=e.init)==null||a.forEach(c=>c&&s.push(c)),s}async function ac(e,t={}){const r=t.document||e.resolvedOptions.document;if(!r||!e.dirty)return;const n={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",n),!!n.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async o=>{var v;const i=new Map,s=new Promise(g=>{e.resolveTags().then(h=>{g(h.map(p=>{const m=i.get(p._d)||0,f={tag:p,id:(m?`${p._d}:${m}`:p._d)||di(p),shouldRender:!0};return p._d&&ic(p._d)&&i.set(p._d,m+1),f}))})});let a=e._dom;if(!a){a={title:r.title,elMap:new Map().set("htmlAttrs",r.documentElement).set("bodyAttrs",r.body)};for(const g of["body","head"]){const h=(v=r[g])==null?void 0:v.children;for(const p of h){const m=p.tagName.toLowerCase();if(!fi.has(m))continue;const f=sc({tag:m,props:{}},{innerHTML:p.innerHTML,...p.getAttributeNames().reduce((y,$)=>(y[$]=p.getAttribute($),y),{})||{}});if(f.key=p.getAttribute("data-hid")||void 0,f._d=lo(f)||di(f),a.elMap.has(f._d)){let y=1,$=f._d;for(;a.elMap.has($);)$=`${f._d}:${y++}`;a.elMap.set($,p)}else a.elMap.set(f._d,p)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function c(g,h,p){const m=`${g}:${h}`;a.sideEffects[m]=p,delete a.pendingSideEffects[m]}function u({id:g,$el:h,tag:p}){const m=p.tag.endsWith("Attrs");a.elMap.set(g,h),m||(p.textContent&&p.textContent!==h.textContent&&(h.textContent=p.textContent),p.innerHTML&&p.innerHTML!==h.innerHTML&&(h.innerHTML=p.innerHTML),c(g,"el",()=>{h==null||h.remove(),a.elMap.delete(g)}));for(const f in p.props){if(!Object.prototype.hasOwnProperty.call(p.props,f))continue;const y=p.props[f];if(f.startsWith("on")&&typeof y=="function"){const k=h==null?void 0:h.dataset;if(k&&k[`${f}fired`]){const _=f.slice(0,-5);y.call(h,new Event(_.substring(2)))}h.getAttribute(`data-${f}`)!==""&&((p.tag==="bodyAttrs"?r.defaultView:h).addEventListener(f.substring(2),y.bind(h)),h.setAttribute(`data-${f}`,""));continue}const $=`attr:${f}`;if(f==="class"){if(!y)continue;for(const k of y)m&&c(g,`${$}:${k}`,()=>h.classList.remove(k)),!h.classList.contains(k)&&h.classList.add(k)}else if(f==="style"){if(!y)continue;for(const[k,_]of y)c(g,`${$}:${k}`,()=>{h.style.removeProperty(k)}),h.style.setProperty(k,_)}else y!==!1&&y!==null&&(h.getAttribute(f)!==y&&h.setAttribute(f,y===!0?"":String(y)),m&&c(g,$,()=>h.removeAttribute(f)))}}const l=[],d={bodyClose:void 0,bodyOpen:void 0,head:void 0},b=await s;for(const g of b){const{tag:h,shouldRender:p,id:m}=g;if(p){if(h.tag==="title"){r.title=h.textContent,c("title","",()=>r.title=a.title);continue}g.$el=g.$el||a.elMap.get(m),g.$el?u(g):fi.has(h.tag)&&l.push(g)}}for(const g of l){const h=g.tag.tagPosition||"head";g.$el=r.createElement(g.tag.tag),u(g),d[h]=d[h]||r.createDocumentFragment(),d[h].appendChild(g.$el)}for(const g of b)await e.hooks.callHook("dom:renderTag",g,r,c);d.head&&r.head.appendChild(d.head),d.bodyOpen&&r.body.insertBefore(d.bodyOpen,r.body.firstChild),d.bodyClose&&r.body.appendChild(d.bodyClose);for(const g in a.pendingSideEffects)a.pendingSideEffects[g]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:b}),o()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function Nu(e={}){var n,o,i;const t=((n=e.domOptions)==null?void 0:n.render)||ac;e.document=e.document||(typeof window<"u"?document:void 0);const r=((i=(o=e.document)==null?void 0:o.head.querySelector('script[id="unhead:payload"]'))==null?void 0:i.innerHTML)||!1;return Tu({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[r?JSON.parse(r):!1,...e.init||[]]})}function Iu(e,t){let r=0;return()=>{const n=++r;t(()=>{r===n&&e()})}}const zt={META:new Set(["twitter"]),OG:new Set(["og","book","article","profile","fb"]),MEDIA:new Set(["ogImage","ogVideo","ogAudio","twitterImage"]),HTTP_EQUIV:new Set(["contentType","defaultStyle","xUaCompatible"])},Mu={articleExpirationTime:"article:expiration_time",articleModifiedTime:"article:modified_time",articlePublishedTime:"article:published_time",bookReleaseDate:"book:release_date",fbAppId:"fb:app_id",ogAudioSecureUrl:"og:audio:secure_url",ogAudioUrl:"og:audio",ogImageSecureUrl:"og:image:secure_url",ogImageUrl:"og:image",ogSiteName:"og:site_name",ogVideoSecureUrl:"og:video:secure_url",ogVideoUrl:"og:video",profileFirstName:"profile:first_name",profileLastName:"profile:last_name",profileUsername:"profile:username",msapplicationConfig:"msapplication-Config",msapplicationTileColor:"msapplication-TileColor",msapplicationTileImage:"msapplication-TileImage"},cc={appleItunesApp:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>`${Ve(e)}=${t}`}},refresh:{metaKey:"http-equiv",unpack:{entrySeparator:";",resolve:({key:e,value:t})=>e==="seconds"?`${t}`:void 0}},robots:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>typeof t=="boolean"?Ve(e):`${Ve(e)}:${t}`}},contentSecurityPolicy:{metaKey:"http-equiv",unpack:{entrySeparator:"; ",resolve:({key:e,value:t})=>`${Ve(e)} ${t}`}},charset:{}};function Ve(e){const t=e.replace(/([A-Z])/g,"-$1").toLowerCase(),r=t.indexOf("-");return r===-1?t:zt.META.has(t.slice(0,r))||zt.OG.has(t.slice(0,r))?e.replace(/([A-Z])/g,":$1").toLowerCase():t}function lc(e){return Object.fromEntries(Object.entries(e).filter(([t,r])=>String(r)!=="false"&&t))}function uo(e){return Array.isArray(e)?e.map(uo):!e||typeof e!="object"?e:Object.fromEntries(Object.entries(e).map(([t,r])=>[Ve(t),uo(r)]))}function uc(e,t={}){const{entrySeparator:r="",keyValueSeparator:n="",wrapValue:o,resolve:i}=t;return Object.entries(e).map(([s,a])=>{if(i){const u=i({key:s,value:a});if(u!==void 0)return u}const c=typeof a=="object"?uc(a,t):typeof a=="number"?a.toString():typeof a=="string"&&o?`${o}${a.replace(new RegExp(o,"g"),`\\${o}`)}${o}`:a;return`${s}${n}${c}`}).join(r)}function yi(e,t){const r=lc(t),n=Ve(e),o=fc(n);if(!To.has(n))return[{[o]:n,...r}];const i=Object.fromEntries(Object.entries(r).map(([s,a])=>[`${e}${s==="url"?"":`${s[0].toUpperCase()}${s.slice(1)}`}`,a]));return Xr(i||{}).sort((s,a)=>{var c,u;return(((c=s[o])==null?void 0:c.length)||0)-(((u=a[o])==null?void 0:u.length)||0)})}function fc(e){var n;if(((n=cc[e])==null?void 0:n.metaKey)==="http-equiv"||zt.HTTP_EQUIV.has(e))return"http-equiv";const t=Ve(e),r=t.indexOf(":");return r===-1?"name":zt.OG.has(t.slice(0,r))?"property":"name"}function Fu(e){return Mu[e]||Ve(e)}function zu(e,t){var r;return t==="refresh"?`${e.seconds};url=${e.url}`:uc(uo(e),{keyValueSeparator:"=",entrySeparator:", ",resolve:({value:n,key:o})=>n===null?"":typeof n=="boolean"?o:void 0,...(r=cc[t])==null?void 0:r.unpack})}function Xr(e){const t=[],r={};for(const[o,i]of Object.entries(e)){if(Array.isArray(i)){if(o==="themeColor"){i.forEach(s=>{typeof s=="object"&&s!==null&&t.push({name:"theme-color",...s})});continue}for(const s of i)if(typeof s=="object"&&s!==null){const a=[],c=[];for(const[u,l]of Object.entries(s)){const d=`${o}${u==="url"?"":`:${u}`}`,b=Xr({[d]:l});(u==="url"?a:c).push(...b)}t.push(...a,...c)}else t.push(...typeof s=="string"?Xr({[o]:s}):yi(o,s));continue}if(typeof i=="object"&&i)if(zt.MEDIA.has(o)){const s=o.startsWith("twitter")?"twitter":"og",a=o.replace(/^(og|twitter)/,"").toLowerCase(),c=s==="twitter"?"name":"property";i.url&&t.push({[c]:`${s}:${a}`,content:i.url}),i.secureUrl&&t.push({[c]:`${s}:${a}:secure_url`,content:i.secureUrl});for(const[u,l]of Object.entries(i))u!=="url"&&u!=="secureUrl"&&t.push({[c]:`${s}:${a}:${u}`,content:l})}else To.has(Ve(o))?t.push(...yi(o,i)):r[o]=lc(i);else r[o]=i}const n=Object.entries(r).map(([o,i])=>{if(o==="charset")return{charset:i===null?"_null":i};const s=fc(o),a=Fu(o),c=i===null?"_null":typeof i=="object"?zu(i,o):typeof i=="number"?i.toString():i;return s==="http-equiv"?{"http-equiv":a,content:c}:{[s]:a,content:c}});return[...t,...n].map(o=>"content"in o&&o.content==="_null"?{...o,content:null}:o)}const Lu={key:"flatMeta",hooks:{"entries:normalize":e=>{const t=[];e.tags=e.tags.map(r=>r.tag!=="_flatMeta"?r:(t.push(Xr(r.props).map(n=>({...r,tag:"meta",props:n}))),!1)).filter(Boolean).concat(...t)}}},Du=(e,t)=>Mt(t)?$e(t):t,dc="usehead";function qu(e){return{install(r){r.config.globalProperties.$unhead=e,r.config.globalProperties.$head=e,r.provide(dc,e)}}.install}function pc(){if(Vl()){const e=Ul(dc);if(!e)throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function hc(e,t={}){const r=t.head||pc();return r.ssr?r.push(e||{},t):Vu(r,e,t)}function Vu(e,t,r={}){const n=Ge(!1);let o;return Hl(()=>{const s=n.value?{}:Jr(t,Du);o?o.patch(s):o=e.push(s,r)}),Oo()&&(Wl(()=>{o.dispose()}),Kl(()=>{n.value=!0}),Bl(()=>{n.value=!1})),o}function Uu(e={},t={}){(t.head||pc()).use(Lu);const{title:n,titleTemplate:o,...i}=e;return hc({title:n,titleTemplate:o,_flatMeta:i},t)}function Hu(e={}){const t=Nu({domOptions:{render:Iu(()=>ac(t),r=>setTimeout(r,0))},...e});return t.install=qu(t),t}const qr="default",fo="preflights",Wu="shortcuts",mc="imports",Ku={[mc]:-200,[fo]:-100,[Wu]:-10,[qr]:0},gc=/[\\:]?[\s'"`;{}]+/g;function Bu(e){return e.split(gc)}const Gu={name:"@unocss/core/extractor-split",order:0,extract({code:e}){return Bu(e)}};function ae(e=[]){return Array.isArray(e)?e:[e]}function Re(e){return Array.from(new Set(e))}function bi(e,t){return e.reduce((r,n)=>(r.findIndex(i=>t(n,i))===-1&&r.push(n),r),[])}function le(e){return typeof e=="string"}class yc extends Set{constructor(r){super();je(this,"_map",new Map);if(r)for(const n of r)this.add(n)}add(r){return this._map.set(r,(this._map.get(r)??0)+1),super.add(r)}delete(r){return this._map.has(r)?(this._map.delete(r),super.delete(r)):!1}clear(){this._map.clear(),super.clear()}getCount(r){return this._map.get(r)??0}setCount(r,n){return this._map.set(r,n),super.add(r)}}function Pn(e){return e instanceof yc}function Lt(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function ht(e){const t=e.length;let r=-1,n,o="";const i=e.charCodeAt(0);for(;++r<t;){if(n=e.charCodeAt(r),n===0){o+="�";continue}if(n===37){o+="\\%";continue}if(n===44){o+="\\,";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&i===45){o+=`\\${n.toString(16)} `;continue}if(r===0&&t===1&&n===45){o+=`\\${e.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){o+=e.charAt(r);continue}o+=`\\${e.charAt(r)}`}return o}const On=ht;function Ju(){return{events:{},emit(e,...t){(this.events[e]||[]).forEach(r=>r(...t))},on(e,t){return(this.events[e]=this.events[e]||[]).push(t),()=>this.events[e]=(this.events[e]||[]).filter(r=>r!==t)}}}const Xu=/^\[(.+?)~?="(.*)"\]$/,Yu=/[\w\u00A0-\uFFFF%-?]/;function Qu(e){return e.match(Xu)}function po(e=""){return Yu.test(e)}function Zu(e){return typeof e=="function"?{match:e}:e}function vi(e){return e.length===3}function Vr(e){return e!=null}function ef(){}class tf{constructor(){je(this,"_map",new Map)}get(t,r){const n=this._map.get(t);if(n)return n.get(r)}getFallback(t,r,n){let o=this._map.get(t);return o||(o=new Map,this._map.set(t,o)),o.has(r)||o.set(r,n),o.get(r)}set(t,r,n){let o=this._map.get(t);return o||(o=new Map,this._map.set(t,o)),o.set(r,n),this}has(t,r){var n;return(n=this._map.get(t))==null?void 0:n.has(r)}delete(t,r){var n;return((n=this._map.get(t))==null?void 0:n.delete(r))||!1}deleteTop(t){return this._map.delete(t)}map(t){return Array.from(this._map.entries()).flatMap(([r,n])=>Array.from(n.entries()).map(([o,i])=>t(i,r,o)))}}class rf extends Map{getFallback(t,r){const n=this.get(t);return n===void 0?(this.set(t,r),r):n}map(t){const r=[];return this.forEach((n,o)=>{r.push(t(n,o))}),r}flatMap(t){const r=[];return this.forEach((n,o)=>{r.push(...t(n,o))}),r}}function Yr(e){return le(e)?e:(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function nf(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>Yr(t)):[e]:[Yr(e)]}function of(e){return e.filter(([t,r],n)=>{if(t.startsWith("$$"))return!1;for(let o=n-1;o>=0;o--)if(e[o][0]===t&&e[o][1]===r)return!1;return!0})}function Rn(e){return e==null?"":of(e).map(([t,r])=>r!=null&&typeof r!="function"?`${t}:${r};`:void 0).filter(Boolean).join("")}function Bt(e){return e&&typeof e=="object"&&!Array.isArray(e)}function hn(e,t,r=!1){const n=e,o=t;if(Array.isArray(o))return r&&Array.isArray(o)?[...n,...o]:[...o];const i={...n};return Bt(n)&&Bt(o)&&Object.keys(o).forEach(s=>{Bt(n[s])&&Bt(o[s])||Array.isArray(n[s])&&Array.isArray(o[s])?i[s]=hn(n[s],o[s],r):Object.assign(i,{[s]:o[s]})}),i}function Ur(e){let t,r,n;if(Array.isArray(e)){for(r=Array.from({length:t=e.length});t--;)r[t]=(n=e[t])&&typeof n=="object"?Ur(n):n;return r}if(Object.prototype.toString.call(e)==="[object Object]"){r={};for(t in e)t==="__proto__"?Object.defineProperty(r,t,{value:Ur(e[t]),configurable:!0,enumerable:!0,writable:!0}):r[t]=(n=e[t])&&typeof n=="object"?Ur(n):n;return r}return e}function sf(e){return le(e[0])}function af(e){return le(e[0])}const Gt={};function cf(e=["-",":"]){const t=e.join("|");return Gt[t]||(Gt[t]=new RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${t})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,"gm")),Gt[t].lastIndex=0,Gt[t]}function lf(e,t=["-",":"],r=5){const n=cf(t);let o,i=e.toString();const s=new Set,a=new Map;do o=!1,i=i.replace(n,(u,l,d,b,v)=>{var p;if(!t.includes(d))return u;o=!0,s.add(l+d);const g=v+l.length+d.length+1,h={length:u.length,items:[]};a.set(v,h);for(const m of[...b.matchAll(/\S+/g)]){const f=g+m.index;let y=(p=a.get(f))==null?void 0:p.items;y?a.delete(f):y=[{offset:f,length:m[0].length,className:m[0]}];for(const $ of y)$.className=$.className==="~"?l:$.className.replace(/^(!?)(.*)/,`$1${l}${d}$2`),h.items.push($)}return"$".repeat(u.length)}),r-=1;while(o&&r);let c;if(typeof e=="string"){c="";let u=0;for(const[l,d]of a)c+=e.slice(u,l),c+=d.items.map(b=>b.className).join(" "),u=l+d.length;c+=e.slice(u)}else{c=e;for(const[u,l]of a)c.overwrite(u,u+l.length,l.items.map(d=>d.className).join(" "))}return{prefixes:Array.from(s),hasChanged:o,groupsByOffset:a,get expanded(){return c.toString()}}}function uf(e,t=["-",":"],r=5){const n=lf(e,t,r);return typeof e=="string"?n.expanded:e}const $i=new Set;function bc(e){$i.has(e)||(console.warn("[unocss]",e),$i.add(e))}function vc(e){return ae(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}const wi="_uno_resolved";async function ff(e){var n;let t=typeof e=="function"?await e():await e;if(wi in t)return t;t={...t},Object.defineProperty(t,wi,{value:!0,enumerable:!1});const r=t.shortcuts?vc(t.shortcuts):void 0;if(t.shortcuts=r,t.prefix||t.layer){const o=i=>{i[2]||(i[2]={});const s=i[2];s.prefix==null&&t.prefix&&(s.prefix=ae(t.prefix)),s.layer==null&&t.layer&&(s.layer=t.layer)};r==null||r.forEach(o),(n=t.rules)==null||n.forEach(o)}return t}async function $c(e){const t=await ff(e);if(!t.presets)return[t];const r=(await Promise.all((t.presets||[]).flatMap(ae).flatMap($c))).flat();return[t,...r]}function df(e){var c,u;if(e.length===0)return{};const t=[],r=[];let n=!1;const o=[],i=[],s=[];for(const l of e){if(l.pipeline===!1){n=!0;break}else(c=l.pipeline)!=null&&c.include&&t.push(l.pipeline.include),(u=l.pipeline)!=null&&u.exclude&&r.push(l.pipeline.exclude);l.filesystem&&o.push(l.filesystem),l.inline&&i.push(l.inline),l.plain&&s.push(l.plain)}const a={pipeline:n?!1:{include:Re(_i(...t)),exclude:Re(_i(...r))}};return o.length&&(a.filesystem=Re(o.flat())),i.length&&(a.inline=Re(i.flat())),s.length&&(a.plain=Re(s.flat())),a}async function ki(e={},t={}){var k,_;const r=Object.assign({},t,e),n=bi((await Promise.all((r.presets||[]).flatMap(ae).flatMap($c))).flat(),(w,S)=>w.name===S.name),o=[...n.filter(w=>w.enforce==="pre"),...n.filter(w=>!w.enforce),...n.filter(w=>w.enforce==="post")],i=[...o,r],s=[...i].reverse(),a=Object.assign({},Ku,...i.map(w=>w.layers));function c(w){return Re(i.flatMap(S=>ae(S[w]||[])))}const u=c("extractors");let l=(k=s.find(w=>w.extractorDefault!==void 0))==null?void 0:k.extractorDefault;l===void 0&&(l=Gu),l&&!u.includes(l)&&u.unshift(l),u.sort((w,S)=>(w.order||0)-(S.order||0));const d=c("rules"),b={},v=d.length,g=d.filter(w=>{var O;return sf(w)?(ae(((O=w[2])==null?void 0:O.prefix)||"").forEach(F=>{b[F+w[0]]=w}),!1):!0}).reverse(),h={templates:Re(i.flatMap(w=>{var S;return ae((S=w.autocomplete)==null?void 0:S.templates)})),extractors:i.flatMap(w=>{var S;return ae((S=w.autocomplete)==null?void 0:S.extractors)}).sort((w,S)=>(w.order||0)-(S.order||0)),shorthands:hf(i.map(w=>{var S;return((S=w.autocomplete)==null?void 0:S.shorthands)||{}}))};let p=c("separators");p.length||(p=[":","-"]);const m=c("content"),f=df(m),y={mergeSelectors:!0,warn:!0,sortLayers:w=>w,...r,blocklist:c("blocklist"),presets:o,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:a,theme:pf(i.map(w=>w.theme)),rules:d,rulesSize:v,rulesDynamic:g,rulesStaticMap:b,preprocess:c("preprocess"),postprocess:c("postprocess"),preflights:c("preflights"),autocomplete:h,variants:c("variants").map(Zu).sort((w,S)=>(w.order||0)-(S.order||0)),shortcuts:vc(c("shortcuts")).reverse(),extractors:u,safelist:c("safelist"),separators:p,details:r.details??r.envMode==="dev",content:f,transformers:bi(c("transformers"),(w,S)=>w.name===S.name)},$=c("extendTheme");for(const w of $)y.theme=w(y.theme,y)||y.theme;for(const w of i)(_=w==null?void 0:w.configResolved)==null||_.call(w,y);return y}function pf(e){return e.map(t=>t?Ur(t):{}).reduce((t,r)=>hn(t,r),{})}function hf(e){return e.reduce((t,r)=>{const n={};for(const o in r){const i=r[o];Array.isArray(i)?n[o]=`(${i.join("|")})`:n[o]=i}return{...t,...n}},{})}function _i(...e){return e.flatMap(mf)}function mf(e){return Array.isArray(e)?e:e?[e]:[]}const gf="66.2.3",be={shortcutsNoMerge:"$$symbol-shortcut-no-merge",noMerge:"$$symbol-no-merge",variants:"$$symbol-variants",parent:"$$symbol-parent",selector:"$$symbol-selector",layer:"$$symbol-layer",sort:"$$symbol-sort"};class No{constructor(t={},r={}){je(this,"version",gf);je(this,"events",Ju());je(this,"config");je(this,"cache",new Map);je(this,"blocked",new Set);je(this,"parentOrders",new Map);je(this,"activatedRules",new Set);je(this,"resolveCSSResult",(t,r,n,o)=>{const i=nf(r).filter(s=>s.length);if(i.length){this.config.details&&o.rules.push(n),o.generator.activatedRules.add(n);const s=o.generator.config.rules.indexOf(n),a=n[2];return i.map(c=>{if(le(c))return[s,c,a];let u=o.variantHandlers,l=a;for(const d of c)d[0]===be.variants?typeof d[1]=="function"?u=d[1](u)||u:u=[...ae(d[1]),...u]:d[0]===be.parent?u=[{parent:d[1]},...u]:d[0]===be.selector?u=[{selector:d[1]},...u]:d[0]===be.layer?u=[{layer:d[1]},...u]:d[0]===be.sort?l={...l,sort:d[1]}:d[0]===be.noMerge&&(l={...l,noMerge:d[1]});return[s,t,c,l,u]})}});this.userConfig=t,this.defaults=r}static async create(t={},r={}){const n=new No(t,r);return n.config=await ki(n.userConfig,n.defaults),n.events.emit("config",n.config),n}async setConfig(t,r){t&&(r&&(this.defaults=r),this.userConfig=t,this.blocked.clear(),this.parentOrders.clear(),this.activatedRules.clear(),this.cache.clear(),this.config=await ki(t,this.defaults),this.events.emit("config",this.config))}async applyExtractors(t,r,n=new Set){var i;const o={original:t,code:t,id:r,extracted:n,envMode:this.config.envMode};for(const s of this.config.extractors){const a=await((i=s.extract)==null?void 0:i.call(s,o));if(a)if(Pn(a)&&Pn(n))for(const c of a)n.setCount(c,n.getCount(c)+a.getCount(c));else for(const c of a)n.add(c)}return n}makeContext(t,r){const n={rawSelector:t,currentSelector:r[1],theme:this.config.theme,generator:this,symbols:be,variantHandlers:r[2],constructCSS:(...o)=>this.constructCustomCSS(n,...o),variantMatch:r};return n}async parseToken(t,r){if(this.blocked.has(t))return;const n=`${t}${r?` ${r}`:""}`;if(this.cache.has(n))return this.cache.get(n);let o=t;for(const c of this.config.preprocess)o=c(t);if(this.isBlocked(o)){this.blocked.add(t),this.cache.set(n,null);return}const i=await this.matchVariants(t,o);if(i.every(c=>!c||this.isBlocked(c[1]))){this.blocked.add(t),this.cache.set(n,null);return}const s=async c=>{var b;const u=this.makeContext(t,[r||c[0],c[1],c[2],c[3]]);this.config.details&&(u.variants=[...c[3]]);const l=await this.expandShortcut(u.currentSelector,u);return l?await this.stringifyShortcuts(u.variantMatch,u,l[0],l[1]):(b=await this.parseUtil(u.variantMatch,u))==null?void 0:b.map(v=>this.stringifyUtil(v,u)).filter(Vr)},a=(await Promise.all(i.map(c=>s(c)))).flat().filter(c=>!!c);if(a!=null&&a.length)return this.cache.set(n,a),a;this.cache.set(n,null)}async generate(t,r={}){const{id:n,scope:o,preflights:i=!0,safelist:s=!0,minify:a=!1,extendedInfo:c=!1}=r,u=le(t)?await this.applyExtractors(t,n,c?new yc:new Set):Array.isArray(t)?new Set(t):t;if(s){const w={generator:this,theme:this.config.theme};this.config.safelist.flatMap(S=>typeof S=="function"?S(w):S).forEach(S=>{const O=S.trim();O&&!u.has(O)&&u.add(O)})}const l=a?"":`
3
+ `,d=new Set([qr]),b=c?new Map:new Set,v=new Map;let g={};const h=Array.from(u).map(async w=>{var O;if(b.has(w))return;const S=await this.parseToken(w);if(S!=null){b instanceof Map?b.set(w,{data:S,count:Pn(u)?u.getCount(w):-1}):b.add(w);for(const F of S){const z=F[3]||"",V=(O=F[4])==null?void 0:O.layer;v.has(z)||v.set(z,[]),v.get(z).push(F),V&&d.add(V)}}});await Promise.all(h),await(async()=>{if(!i)return;const w={generator:this,theme:this.config.theme},S=new Set([]);this.config.preflights.forEach(({layer:O=fo})=>{d.add(O),S.add(O)}),g=Object.fromEntries(await Promise.all(Array.from(S).map(async O=>{const z=(await Promise.all(this.config.preflights.filter(V=>(V.layer||fo)===O).map(async V=>await V.getCSS(w)))).filter(Boolean).join(l);return[O,z]})))})();const p=this.config.sortLayers(Array.from(d).sort((w,S)=>(this.config.layers[w]??0)-(this.config.layers[S]??0)||w.localeCompare(S))),m={},f=this.config.outputToCssLayers,y=w=>{var O;let S=w;return typeof f=="object"&&(S=(O=f.cssLayerName)==null?void 0:O.call(f,w)),S===null?null:S??w},$=(w=qr)=>{if(m[w])return m[w];let S=Array.from(v).sort((z,V)=>{var q;return(this.parentOrders.get(z[0])??0)-(this.parentOrders.get(V[0])??0)||((q=z[0])==null?void 0:q.localeCompare(V[0]||""))||0}).map(([z,V])=>{const q=V.length,G=V.filter(D=>{var X;return(((X=D[4])==null?void 0:X.layer)||qr)===w}).sort((D,X)=>{var N,P,I,R,x,E,T;return D[0]-X[0]||(((N=D[4])==null?void 0:N.sort)||0)-(((P=X[4])==null?void 0:P.sort)||0)||((x=(I=D[5])==null?void 0:I.currentSelector)==null?void 0:x.localeCompare(((R=X[5])==null?void 0:R.currentSelector)??""))||((E=D[1])==null?void 0:E.localeCompare(X[1]||""))||((T=D[2])==null?void 0:T.localeCompare(X[2]||""))||0}).map(([,D,X,,N,,P])=>[[[(D&&vf(D,o))??"",(N==null?void 0:N.sort)??0]],X,!!(P??(N==null?void 0:N.noMerge))]);if(!G.length)return;const se=G.reverse().map(([D,X,N],P)=>{if(!N&&this.config.mergeSelectors)for(let R=P+1;R<q;R++){const x=G[R];if(x&&!x[2]&&(D&&x[0]||D==null&&x[0]==null)&&x[1]===X)return D&&x[0]&&x[0].push(...D),null}const I=D?Re(D.sort((R,x)=>{var E;return R[1]-x[1]||((E=R[0])==null?void 0:E.localeCompare(x[0]||""))||0}).map(R=>R[0]).filter(Boolean)):[];return I.length?`${I.join(`,${l}`)}{${X}}`:X}).filter(Boolean),K=Array.from(new Set(se)).reverse().join(l);if(!z)return K;const J=z.split(" $$ ");return`${J.join("{")}{${l}${K}${l}${"}".repeat(J.length)}`}).filter(Boolean).join(l);i&&(S=[g[w],S].filter(Boolean).join(l));let O;f&&S&&(O=y(w),O!==null&&(S=`@layer ${O}{${l}${S}${l}}`));const F=a?"":`/* layer: ${w}${O&&O!==w?`, alias: ${O}`:""} */${l}`;return m[w]=S?F+S:""},k=(w=p,S)=>{const O=w.filter(F=>!(S!=null&&S.includes(F)));return[f&&O.length>0?`@layer ${O.map(y).filter(Vr).join(", ")};`:void 0,...O.map(F=>$(F)||"")].filter(Boolean).join(l)};return{get css(){return k()},layers:p,matched:b,getLayers:k,getLayer:$,setLayer:async(w,S)=>{const O=await S($(w));return m[w]=O,O}}}async matchVariants(t,r){const n={rawSelector:t,theme:this.config.theme,generator:this},o=async i=>{let s=!0;const[,,a,c]=i;for(;s;){s=!1;const u=i[1];for(const l of this.config.variants){if(!l.multiPass&&c.has(l))continue;let d=await l.match(u,n);if(d){if(le(d)){if(d===u)continue;d={matcher:d}}if(Array.isArray(d)){if(!d.length)continue;if(d.length===1)d=d[0];else{if(l.multiPass)throw new Error("multiPass can not be used together with array return variants");const b=d.map(v=>{const g=v.matcher??u,h=[v,...a],p=new Set(c);return p.add(l),[i[0],g,h,p]});return(await Promise.all(b.map(v=>o(v)))).flat()}}i[1]=d.matcher??u,a.unshift(d),c.add(l),s=!0;break}}if(!s)break;if(a.length>500)throw new Error(`Too many variants applied to "${t}"`)}return[i]};return await o([t,r||t,[],new Set])}applyVariants(t,r=t[4],n=t[1]){const i=r.slice().sort((u,l)=>(u.order||0)-(l.order||0)).reduceRight((u,l)=>d=>{var h,p;const b=((h=l.body)==null?void 0:h.call(l,d.entries))||d.entries,v=Array.isArray(l.parent)?l.parent:[l.parent,void 0],g=(p=l.selector)==null?void 0:p.call(l,d.selector,b);return(l.handle??$f)({...d,entries:b,selector:g||d.selector,parent:v[0]||d.parent,parentOrder:v[1]||d.parentOrder,layer:l.layer||d.layer,sort:l.sort||d.sort},u)},u=>u)({prefix:"",selector:kc(n),pseudo:"",entries:t[2]}),{parent:s,parentOrder:a}=i;s!=null&&a!=null&&this.parentOrders.set(s,a);const c={selector:[i.prefix,i.selector,i.pseudo].join(""),entries:i.entries,parent:s,layer:i.layer,sort:i.sort,noMerge:i.noMerge};for(const u of this.config.postprocess)u(c);return c}constructCustomCSS(t,r,n){const o=Yr(r);if(le(o))return o;const{selector:i,entries:s,parent:a}=this.applyVariants([0,n||t.rawSelector,o,void 0,t.variantHandlers]),c=`${i}{${Rn(s)}}`;return a?`${a}{${c}}`:c}async parseUtil(t,r,n=!1,o){const i=le(t)?await this.matchVariants(t):[t],s=async([c,u,l])=>{var v;this.config.details&&(r.rules=r.rules??[]);const d={...r,variantHandlers:l},b=this.config.rulesStaticMap[u];if(b&&b[1]&&(n||!((v=b[2])!=null&&v.internal)))return this.resolveCSSResult(c,b[1],b,d);for(const g of this.config.rulesDynamic){const[h,p,m]=g;if(m!=null&&m.internal&&!n)continue;let f=u;if(m!=null&&m.prefix){const _=ae(m.prefix);if(o){const w=ae(o);if(!_.some(S=>w.includes(S)))continue}else{const w=_.find(S=>u.startsWith(S));if(w==null)continue;f=u.slice(w.length)}}const y=f.match(h);if(!y)continue;let $=await p(y,d);if(!$)continue;if(typeof $!="string")if(Symbol.asyncIterator in $){const _=[];for await(const w of $)w&&_.push(w);$=_}else Symbol.iterator in $&&!Array.isArray($)&&($=Array.from($).filter(Vr));const k=this.resolveCSSResult(c,$,g,d);if(k)return k}},a=(await Promise.all(i.map(c=>s(c)))).flat().filter(c=>!!c);if(a.length)return a}stringifyUtil(t,r){if(!t)return;if(vi(t))return[t[0],void 0,t[1],void 0,t[2],this.config.details?r:void 0,void 0];const{selector:n,entries:o,parent:i,layer:s,sort:a,noMerge:c}=this.applyVariants(t),u=Rn(o);if(!u)return;const{layer:l,sort:d,...b}=t[3]??{},v={...b,layer:s??l,sort:a??d};return[t[0],n,u,i,v,this.config.details?r:void 0,c]}async expandShortcut(t,r,n=5){var u;if(n===0)return;const o=this.config.details?l=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(l)}:ef;let i,s,a,c;for(const l of this.config.shortcuts){let d=t;if((u=l[2])!=null&&u.prefix){const v=ae(l[2].prefix).find(g=>t.startsWith(g));if(v==null)continue;d=t.slice(v.length)}if(af(l)){if(l[0]===d){i=i||l[2],s=l[1],o(l);break}}else{const b=d.match(l[0]);if(b&&(s=l[1](b,r)),s){i=i||l[2],o(l);break}}}if(s&&(a=Re(ae(s).filter(le).map(l=>uf(l.trim()).split(/\s+/g)).flat()),c=ae(s).filter(l=>!le(l)).map(l=>({handles:[],value:l}))),!s){const l=le(t)?await this.matchVariants(t):[t];for(const d of l){const[b,v,g]=d;if(b!==v){const h=await this.expandShortcut(v,r,n-1);h&&(a=h[0].filter(le).map(p=>b.replace(v,p)),c=h[0].filter(p=>!le(p)).map(p=>({handles:[...p.handles,...g],value:p.value})))}}}if(!(!(a!=null&&a.length)&&!(c!=null&&c.length)))return[[await Promise.all(ae(a).map(async l=>{var d;return((d=await this.expandShortcut(l,r,n-1))==null?void 0:d[0])||[l]})),c].flat(2).filter(l=>!!l),i]}async stringifyShortcuts(t,r,n,o={layer:this.config.shortcutsLayer}){var l;const i=new rf,s=(await Promise.all(Re(n).map(async d=>{const b=le(d)?await this.parseUtil(d,r,!0,o.prefix):[[Number.POSITIVE_INFINITY,"{inline}",Yr(d.value),void 0,d.handles]];return!b&&this.config.warn&&bc(`unmatched utility "${d}" in shortcut "${t[1]}"`),b||[]}))).flat(1).filter(Boolean).sort((d,b)=>d[0]-b[0]),[a,,c]=t,u=[];for(const d of s){if(vi(d)){u.push([d[0],void 0,d[1],void 0,d[2],r,void 0]);continue}const{selector:b,entries:v,parent:g,sort:h,noMerge:p,layer:m}=this.applyVariants(d,[...d[4],...c],a);i.getFallback(m??o.layer,new tf).getFallback(b,g,[[],d[0]])[0].push([v,!!(p??((l=d[3])==null?void 0:l.noMerge)),h??0])}return u.concat(i.flatMap((d,b)=>d.map(([v,g],h,p)=>{const m=(y,$,k)=>{const _=Math.max(...k.map(S=>S[1])),w=k.map(S=>S[0]);return(y?[w.flat(1)]:w).map(S=>{const O=Rn(S);if(O)return[g,h,O,p,{...o,noMerge:$,sort:_,layer:b},r,void 0]})};return[[v.filter(([,y])=>y).map(([y,,$])=>[y,$]),!0],[v.filter(([,y])=>!y).map(([y,,$])=>[y,$]),!1]].map(([y,$])=>[...m(!1,$,y.filter(([k])=>k.some(_=>_[0]===be.shortcutsNoMerge))),...m(!0,$,y.filter(([k])=>k.every(_=>_[0]!==be.shortcutsNoMerge)))])}).flat(2).filter(Boolean)))}isBlocked(t){return!t||this.config.blocklist.map(r=>Array.isArray(r)?r[0]:r).some(r=>typeof r=="function"?r(t):le(r)?r===t:r.test(t))}getBlocked(t){const r=this.config.blocklist.find(n=>{const o=Array.isArray(n)?n[0]:n;return typeof o=="function"?o(t):le(o)?o===t:o.test(t)});return r?Array.isArray(r)?r:[r,void 0]:void 0}}async function yf(e,t){return await No.create(e,t)}const wc=/\s\$\$\s+/g;function bf(e){return wc.test(e)}function vf(e,t){return bf(e)?e.replace(wc,t?` ${t} `:" "):t?`${t} ${e}`:e}const xi=/^\[(.+?)(~?=)"(.*)"\]$/;function kc(e){return xi.test(e)?e.replace(xi,(t,r,n,o)=>`[${On(r)}${n}"${On(o)}"]`):`.${On(e)}`}function $f(e,t){return t(e)}var wf={};function kf(e,t){return{name:e,getImportUrl(r){const n=r.map(o=>{const{name:i,weights:s,italic:a}=o,c=i.toLowerCase().replace(/\s/g,"-");if(!(s!=null&&s.length))return`${c}${a?":i":""}`;let u=s.map(d=>d.toString());return!u.some(d=>d.endsWith("i"))&&a&&(u=u.map(d=>d+="i")),`${c}:${u.join(",")}`});return`${t}/css?family=${n.join("|")}&display=swap`}}}const _f=kf("bunny","https://fonts.bunny.net");function xf(e,t){return{name:e,getImportUrl(r){const n=i=>{const s=i.map(c=>c[0]),a=i.map(c=>c[1]);return`${s.join(";")};${a.join(";")}`},o=r.map(i=>{var a;let s=i.name.replace(/\s+/g,"+");return(a=i.weights)!=null&&a.length&&(s+=i.italic?`:ital,wght@${n(i.weights.map(c=>[`0,${c}`,`1,${c}`]))}`:`:wght@${i.weights.join(";")}`),`family=${s}`}).join("&");return`${t}/css2?${o}&display=swap`}}}const Sf=xf("coollabs","https://api.fonts.coollabs.io"),Ef=Cf("fontshare","https://api.fontshare.com");function Cf(e,t){return{name:e,getImportUrl(r){const n=r.map(o=>{var s;let i=o.name.replace(/\s+/g,"-").toLocaleLowerCase();return(s=o.weights)!=null&&s.length?i+=`@${o.weights.flatMap(a=>o.italic?Number(a)+1:a).sort().join()}`:i+=`@${o.italic?2:1}`,`f[]=${i}`}).join("&");return`${t}/v2/css?${n}&display=swap`}}}function jf(e,t){const r=new Map,n=new Map;return{name:e,async getPreflight(o){return(await Promise.all(o.map(async s=>{const a=[],c=s.name.toLowerCase().replace(/\s+/g,"-");let u=r.get(c);if(!u){const b=`https://api.fontsource.org/v1/fonts/${c}`;try{u=await(await ot(async()=>{const{$fetch:v}=await Promise.resolve().then(()=>go);return{$fetch:v}},void 0,import.meta.url)).$fetch(b),r.set(c,u)}catch{throw new Error(`Failed to fetch font: ${s.name}`)}}const{weights:l}=u,d=u.subsets.filter(b=>s.subsets?s.subsets.includes(b):!0);if(u.variable&&!s.preferStatic){let b=n.get(c);const v=`https://api.fontsource.org/v1/variable/${c}`;try{b=await(await ot(async()=>{const{$fetch:h}=await Promise.resolve().then(()=>go);return{$fetch:h}},void 0,import.meta.url)).$fetch(v),n.set(c,b)}catch{throw new Error(`Failed to fetch font variable: ${s.name}`)}const g=hn(b.axes,s.variable??{});for(const h of d){const p=`${t}/fontsource/fonts/${u.id}:vf@latest/${h}-${s.italic?"wght-italic":"wght-normal"}.woff2`,m={family:`${u.family}`,display:"swap",style:s.italic?"italic":"normal",weight:400,src:[{url:p,format:"woff2-variations"}],variable:{wght:g.wght??void 0,wdth:g.wdth??void 0,slnt:g.slnt??void 0},unicodeRange:u.unicodeRange[h],comment:`${u.id}-${h}-wght-normal`};a.push(Si(m))}}else{const b=s.weights&&s.weights.length>0?s.weights:l;for(const v of d)for(const g of b){const h=`${t}/fontsource/fonts/${u.id}@latest/${v}-${g}-${s.italic?"italic":"normal"}`,p={family:u.family,display:"swap",style:s.italic?"italic":"normal",weight:Number(g),src:[{url:`${h}.woff2`,format:"woff2"}],unicodeRange:u.unicodeRange[v],comment:`${u.id}-${v}-${g}${s.italic?"-italic":"-normal"}`};a.push(Si(p))}}return a}))).flat().join(`
4
+
5
+ `)}}}const Pf=jf("fontsource","https://cdn.jsdelivr.net");function Si(e){const{family:t,style:r,display:n,weight:o,variable:i,src:s,unicodeRange:a,comment:c,spacer:u=`
6
+ `}=e,{wght:l,wdth:d,slnt:b}=i??{};let v="@font-face {";return v+=`${u}font-family: '${t}';`,v+=`${u}font-style: ${b?`oblique ${Number(b.max)*-1}deg ${Number(b.min)*-1}deg`:r};`,v+=`${u}font-display: ${n};`,v+=`${u}font-weight: ${l?Of(l):o};`,d&&(v+=`${u}font-stretch: ${d.min}% ${d.max}%;`),v+=`${u}src: ${s.map(({url:g,format:h})=>`url(${g}) format('${h}')`).join(", ")};`,a&&(v+=`${u}unicode-range: ${a};`),c&&(v=`/* ${c} */
7
+ ${v}`),`${v}
8
+ }`}function Of(e){return e?e.min===e.max?`${e.min}`:`${e.min} ${e.max}`:"400"}function Rf(e,t){return{name:e,getImportUrl(r){const n=i=>{const s=i.map(c=>c[0]),a=i.map(c=>c[1]);return`${s.join(";")};${a.join(";")}`},o=r.map(i=>{var a;let s=i.name.replace(/\s+/g,"+");return(a=i.weights)!=null&&a.length&&(s+=i.italic?`:ital,wght@${n(i.weights.map(c=>[`0,${c}`,`1,${c}`]))}`:`:wght@${i.weights.join(";")}`),`family=${s}`}).join("&");return`${t}/css2?${o}&display=swap`}}}const Af=Rf("google","https://fonts.googleapis.com"),Tf={name:"none",getPreflight(){return""},getFontName(e){return e.name}},Nf={google:Af,bunny:_f,fontshare:Ef,fontsource:Pf,coollabs:Sf,none:Tf};function Ei(e){return typeof e=="string"?Nf[e]:e}function If(e,t){if(typeof e!="string")return e.provider=Ei(e.provider||t),e.weights&&(e.weights=[...new Set(e.weights.sort((o,i)=>o.toString().localeCompare(i.toString(),"en",{numeric:!0})))]),e;const[r,n=""]=e.split(":");return{name:r,weights:[...new Set(n.split(/[,;]\s*/).filter(Boolean).sort((o,i)=>o.localeCompare(i,"en",{numeric:!0})))],provider:Ei(t)}}function Mf(e){return(t={})=>{const{provider:r="google",extendTheme:n=!0,inlineImports:o=!0,customFetch:i=e,timeouts:s={}}=t,a="fonts",c=o?a:mc,u=ae(t.processors||[]),l=Object.fromEntries(Object.entries(t.fonts||{}).map(([f,y])=>[f,ae(y).map($=>If($,r))])),d=Object.values(l).flatMap(f=>f),b={};async function v(f){if(s===!1)return i(f);const{warning:y=1e3,failure:$=2e3}=s;let k=!1;const _=setTimeout(()=>{console.warn(`[unocss] Fetching web fonts: ${f}`),k=!0},y);return await Promise.race([i(f),new Promise((w,S)=>{setTimeout(()=>S(new Error("[unocss] Fetch web fonts timeout.")),$)})]).then(w=>(k&&console.info("[unocss] Web fonts fetched."),w)).finally(()=>clearTimeout(_))}async function g(f){return o?(b[f]||(b[f]=v(f).catch(y=>{if(console.error(`[unocss] Failed to fetch web fonts: ${f}`),console.error(y),typeof process<"u"&&wf.CI)throw y})),await b[f]):`@import url('${f}');`}const h=Array.from(new Set(d.map(f=>f.provider)));async function p(f,y){var _;const $=[];for(const w of y){const S=f.filter(O=>O.provider.name===w.name);if(w.getImportUrl){const O=w.getImportUrl(S);O&&$.push(await g(O))}$.push(await((_=w.getPreflight)==null?void 0:_.call(w,S)))}return $.filter(Boolean).join(`
9
+ `)}const m={name:"@unocss/preset-web-fonts",preflights:[{async getCSS(){var y,$;let f;for(const k of u){const _=await((y=k.getCSS)==null?void 0:y.call(k,d,h,p));if(_){f=_;break}}f||(f=await p(d,h));for(const k of u)f=await(($=k.transformCSS)==null?void 0:$.call(k,f))||f;return f},layer:c}],layers:{[a]:-200}};return n&&(m.extendTheme=(f,y)=>{const $=y.presets.some(w=>w.name==="@unocss/preset-wind4"),k=t.themeKey??($?"font":"fontFamily");f[k]||(f[k]={});const _=Object.fromEntries(Object.entries(l).map(([w,S])=>[w,S.map(O=>{var F,z;return((z=(F=O.provider).getFontName)==null?void 0:z.call(F,O))??`"${O.name}"`})]));for(const w of Object.keys(_))typeof f[k][w]=="string"?f[k][w]=_[w].map(S=>`${S},`).join("")+f[k][w]:f[k][w]=_[w].join(",")}),m}}const Ff="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36",zf=async e=>(await ot(async()=>{const{$fetch:t}=await Promise.resolve().then(()=>go);return{$fetch:t}},void 0,import.meta.url)).$fetch(e,{headers:{"User-Agent":Ff},retry:3}),Lf=Mf(zf);function Df(e){return e.replace(/-(\w)/g,(t,r)=>r?r.toUpperCase():"")}function Ci(e){return e.charAt(0).toUpperCase()+e.slice(1)}function ji(e){return e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var Pi=["Webkit","Moz","ms"];function qf(e){const t={};function r(n){const o=t[n];if(o)return o;let i=Df(n);if(i!=="filter"&&i in e)return t[n]=ji(i);i=Ci(i);for(let s=0;s<Pi.length;s++){const a=`${Pi[s]}${i}`;if(a in e)return t[n]=ji(Ci(a))}return n}return({entries:n})=>n.forEach(o=>{o[0].startsWith("--")||(o[0]=r(o[0]))})}function Vf(e){return e.replace(/&amp;/g,"&").replace(/&gt;/g,">").replace(/&lt;/g,"<")}async function Uf(e={}){var q,G,se;if(typeof window>"u"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}const t=window,r=window.document,n=()=>r.documentElement,o=t.__unocss||{},i=Object.assign({},e,o.runtime),s=i.defaults||{},a=i.cloakAttribute??"un-cloak";i.autoPrefix&&(s.postprocess=ae(s.postprocess)).unshift(qf(r.createElement("div").style)),(q=i.configResolved)==null||q.call(i,o,s);const c=await yf(o,s),u=K=>i.inject?i.inject(K):n().prepend(K),l=()=>i.rootElement?i.rootElement():r.body,d=new Map;let b=!0;const v=new Set;let g,h,p=[];const m=()=>new Promise(K=>{p.push(K),h!=null&&clearTimeout(h),h=setTimeout(()=>$().then(()=>{const J=p;p=[],J.forEach(D=>D())}),0)});function f(K,J=!1){if(K.nodeType!==1)return;const D=K;D.hasAttribute(a)&&D.removeAttribute(a),J&&D.querySelectorAll(`[${a}]`).forEach(X=>{X.removeAttribute(a)})}function y(K,J){let D=d.get(K);if(!D)if(D=r.createElement("style"),D.setAttribute("data-unocss-runtime-layer",K),d.set(K,D),J==null)u(D);else{const X=y(J),N=X.parentNode;N?N.insertBefore(D,X.nextSibling):u(D)}return D}async function $(){const K=[...v],J=await c.generate(K);return J.layers.reduce((X,N)=>(y(N,X).innerHTML=J.getLayer(N)??"",N),void 0),K.filter(X=>!J.matched.has(X)).forEach(X=>v.delete(X)),{...J,getStyleElement:X=>d.get(X),getStyleElements:()=>d}}async function k(K){const J=v.size;await c.applyExtractors(K,void 0,v),J!==v.size&&await m()}async function _(K=l()){const J=K&&K.outerHTML;J&&(await k(`${J} ${Vf(J)}`),f(n()),f(K,!0))}const w=new MutationObserver(K=>{b||K.forEach(async J=>{if(J.target.nodeType!==1)return;const D=J.target;for(const X of d)if(D===X[1])return;if(J.type==="childList")J.addedNodes.forEach(async X=>{if(X.nodeType!==1)return;const N=X;g&&!g(N)||(await k(N.outerHTML),f(N))});else{if(g&&!g(D))return;if(J.attributeName!==a){const X=Array.from(D.attributes).map(P=>P.value?`${P.name}="${P.value}"`:P.name).join(" "),N=`<${D.tagName.toLowerCase()} ${X}>`;await k(N)}f(D)}})});let S=!1;function O(){var J,D;if(S)return;const K=(J=i.observer)!=null&&J.target?i.observer.target():l();K&&(w.observe(K,{childList:!0,subtree:!0,attributes:!0,attributeFilter:(D=i.observer)==null?void 0:D.attributeFilter}),S=!0)}function F(){i.bypassDefined&&Hf(c.blocked),_(),O()}function z(){r.readyState==="loading"?t.addEventListener("DOMContentLoaded",F):F()}const V=t.__unocss_runtime=t.__unocss_runtime={version:c.version,uno:c,async extract(K){le(K)||(K.forEach(J=>v.add(J)),K=""),await k(K)},extractAll:_,inspect(K){g=K},toggleObserver(K){K===void 0?b=!b:b=!!K,!S&&!b&&z()},update:$,presets:((G=t.__unocss_runtime)==null?void 0:G.presets)??{}};((se=i.ready)==null?void 0:se.call(i,V))!==!1&&(b=!1,z())}function Hf(e=new Set){for(let t=0;t<document.styleSheets.length;t++){const r=document.styleSheets[t];let n;try{if(n=r.cssRules||r.rules,!n)continue;Array.from(n).flatMap(o=>{var i;return((i=o.selectorText)==null?void 0:i.split(/,/g))||[]}).forEach(o=>{o&&(o=o.trim(),o.startsWith(".")&&(o=o.slice(1)),e.add(o))})}catch{continue}}return e}function Io(e){return Gl()?(Jl(e),!0):!1}function Oi(e){if(!Mt(e))return st(e);const t=new Proxy({},{get(r,n,o){return rc(Reflect.get(e.value,n,o))},set(r,n,o){return Mt(e.value[n])&&!Mt(o)?e.value[n].value=o:e.value[n]=o,!0},deleteProperty(r,n){return Reflect.deleteProperty(e.value,n)},has(r,n){return Reflect.has(e.value,n)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return st(t)}const _c=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Wf=e=>e!=null,Kf=Object.prototype.toString,Bf=e=>Kf.call(e)==="[object Object]",Ue=()=>{};function xc(e,t){function r(...n){return new Promise((o,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(o).catch(i)})}return r}function Gf(e,t={}){let r,n,o=Ue;const i=c=>{clearTimeout(c),o(),o=Ue};let s;return c=>{const u=$e(e),l=$e(t.maxWait);return r&&i(r),u<=0||l!==void 0&&l<=0?(n&&(i(n),n=null),Promise.resolve(c())):new Promise((d,b)=>{o=t.rejectOnCancel?b:d,s=c,l&&!n&&(n=setTimeout(()=>{r&&i(r),n=null,d(s())},l)),r=setTimeout(()=>{n&&i(n),n=null,d(c())},u)})}}function Jf(...e){let t=0,r,n=!0,o=Ue,i,s,a,c,u;!Mt(e[0])&&typeof e[0]=="object"?{delay:s,trailing:a=!0,leading:c=!0,rejectOnCancel:u=!1}=e[0]:[s,a=!0,c=!0,u=!1]=e;const l=()=>{r&&(clearTimeout(r),r=void 0,o(),o=Ue)};return b=>{const v=$e(s),g=Date.now()-t,h=()=>i=b();return l(),v<=0?(t=Date.now(),h()):(g>v&&(c||!n)?(t=Date.now(),h()):a&&(i=new Promise((p,m)=>{o=u?m:p,r=setTimeout(()=>{t=Date.now(),n=!0,p(h()),l()},Math.max(0,v-g))})),!c&&!r&&(r=setTimeout(()=>n=!0,v)),n=!1,i)}}function Hr(e){return Array.isArray(e)?e:[e]}function Xf(e){return Oo()}function Yf(e,t=200,r={}){return xc(Gf(t,r),e)}function Qf(e,t=200,r=!1,n=!0,o=!1){return xc(Jf(t,r,n,o),e)}function Sc(e,t=!0,r){Xf()?Ro(e,r):t?e():Ao(e)}function Zf(e,t,r){return Xe(e,t,{...r,immediate:!0})}const Mo=_c?window:void 0,ed=_c?window.document:void 0;function Ft(e){var t;const r=$e(e);return(t=r==null?void 0:r.$el)!=null?t:r}function Ri(...e){const t=[],r=()=>{t.forEach(a=>a()),t.length=0},n=(a,c,u,l)=>(a.addEventListener(c,u,l),()=>a.removeEventListener(c,u,l)),o=ye(()=>{const a=Hr($e(e[0])).filter(c=>c!=null);return a.every(c=>typeof c!="string")?a:void 0}),i=Zf(()=>{var a,c;return[(c=(a=o.value)==null?void 0:a.map(u=>Ft(u)))!=null?c:[Mo].filter(u=>u!=null),Hr($e(o.value?e[1]:e[0])),Hr(rc(o.value?e[2]:e[1])),$e(o.value?e[3]:e[2])]},([a,c,u,l])=>{if(r(),!(a!=null&&a.length)||!(c!=null&&c.length)||!(u!=null&&u.length))return;const d=Bf(l)?{...l}:l;t.push(...a.flatMap(b=>c.flatMap(v=>u.map(g=>n(b,v,g,d)))))},{flush:"post"}),s=()=>{i(),r()};return Io(r),s}function td(){const e=Je(!1),t=Oo();return t&&Ro(()=>{e.value=!0},t),e}function rd(e){const t=td();return ye(()=>(t.value,!!e()))}function O$(e,t,r={}){const{root:n,rootMargin:o="0px",threshold:i=0,window:s=Mo,immediate:a=!0}=r,c=rd(()=>s&&"IntersectionObserver"in s),u=ye(()=>{const g=$e(e);return Hr(g).map(Ft).filter(Wf)});let l=Ue;const d=Je(a),b=c.value?Xe(()=>[u.value,Ft(n),d.value],([g,h])=>{if(l(),!d.value||!g.length)return;const p=new IntersectionObserver(t,{root:Ft(h),rootMargin:o,threshold:i});g.forEach(m=>m&&p.observe(m)),l=()=>{p.disconnect(),l=Ue}},{immediate:a,flush:"post"}):Ue,v=()=>{l(),b(),d.value=!1};return Io(v),{isSupported:c,isActive:d,pause(){l(),d.value=!1},resume(){d.value=!0},stop:v}}const Ai=1;function R$(e,t={}){const{throttle:r=0,idle:n=200,onStop:o=Ue,onScroll:i=Ue,offset:s={left:0,right:0,top:0,bottom:0},eventListenerOptions:a={capture:!1,passive:!0},behavior:c="auto",window:u=Mo,onError:l=w=>{console.error(w)}}=t,d=Je(0),b=Je(0),v=ye({get(){return d.value},set(w){h(w,void 0)}}),g=ye({get(){return b.value},set(w){h(void 0,w)}});function h(w,S){var O,F,z,V;if(!u)return;const q=$e(e);if(!q)return;(z=q instanceof Document?u.document.body:q)==null||z.scrollTo({top:(O=$e(S))!=null?O:g.value,left:(F=$e(w))!=null?F:v.value,behavior:$e(c)});const G=((V=q==null?void 0:q.document)==null?void 0:V.documentElement)||(q==null?void 0:q.documentElement)||q;v!=null&&(d.value=G.scrollLeft),g!=null&&(b.value=G.scrollTop)}const p=Je(!1),m=st({left:!0,right:!1,top:!0,bottom:!1}),f=st({left:!1,right:!1,top:!1,bottom:!1}),y=w=>{p.value&&(p.value=!1,f.left=!1,f.right=!1,f.top=!1,f.bottom=!1,o(w))},$=Yf(y,r+n),k=w=>{var S;if(!u)return;const O=((S=w==null?void 0:w.document)==null?void 0:S.documentElement)||(w==null?void 0:w.documentElement)||Ft(w),{display:F,flexDirection:z,direction:V}=getComputedStyle(O),q=V==="rtl"?-1:1,G=O.scrollLeft;f.left=G<d.value,f.right=G>d.value;const se=Math.abs(G*q)<=(s.left||0),K=Math.abs(G*q)+O.clientWidth>=O.scrollWidth-(s.right||0)-Ai;F==="flex"&&z==="row-reverse"?(m.left=K,m.right=se):(m.left=se,m.right=K),d.value=G;let J=O.scrollTop;w===u.document&&!J&&(J=u.document.body.scrollTop),f.top=J<b.value,f.bottom=J>b.value;const D=Math.abs(J)<=(s.top||0),X=Math.abs(J)+O.clientHeight>=O.scrollHeight-(s.bottom||0)-Ai;F==="flex"&&z==="column-reverse"?(m.top=X,m.bottom=D):(m.top=D,m.bottom=X),b.value=J},_=w=>{var S;if(!u)return;const O=(S=w.target.documentElement)!=null?S:w.target;k(O),p.value=!0,$(w),i(w)};return Ri(e,"scroll",r?Qf(_,r,!0,!1):_,a),Sc(()=>{try{const w=$e(e);if(!w)return;k(w)}catch(w){l(w)}}),Ri(e,"scrollend",y,a),{x:v,y:g,isScrolling:p,arrivedState:m,directions:f,measure(){const w=$e(e);u&&w&&k(w)}}}let nd=0;function od(e,t={}){const r=Je(!1),{document:n=ed,immediate:o=!0,manual:i=!1,id:s=`vueuse_styletag_${++nd}`}=t,a=Je(e);let c=()=>{};const u=()=>{if(!n)return;const d=n.getElementById(s)||n.createElement("style");d.isConnected||(d.id=s,t.nonce&&(d.nonce=t.nonce),t.media&&(d.media=t.media),n.head.appendChild(d)),!r.value&&(c=Xe(a,b=>{d.textContent=b},{immediate:!0}),r.value=!0)},l=()=>{!n||!r.value||(c(),n.head.removeChild(n.getElementById(s)),r.value=!1)};return o&&!i&&Sc(u),i||Io(l),{id:s,css:a,unload:l,load:u,isLoaded:Xl(r)}}const ge=[];for(let e=0;e<256;++e)ge.push((e+256).toString(16).slice(1));function id(e,t=0){return(ge[e[t+0]]+ge[e[t+1]]+ge[e[t+2]]+ge[e[t+3]]+"-"+ge[e[t+4]]+ge[e[t+5]]+"-"+ge[e[t+6]]+ge[e[t+7]]+"-"+ge[e[t+8]]+ge[e[t+9]]+"-"+ge[e[t+10]]+ge[e[t+11]]+ge[e[t+12]]+ge[e[t+13]]+ge[e[t+14]]+ge[e[t+15]]).toLowerCase()}let An;const sd=new Uint8Array(16);function ad(){if(!An){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");An=crypto.getRandomValues.bind(crypto)}return An(sd)}const cd=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Ti={randomUUID:cd};function Fo(e,t,r){var o;if(Ti.randomUUID&&!t&&!e)return Ti.randomUUID();e=e||{};const n=e.random??((o=e.rng)==null?void 0:o.call(e))??ad();if(n.length<16)throw new Error("Random bytes length must be >= 16");if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,t){if(r=r||0,r<0||r+16>t.length)throw new RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let i=0;i<16;++i)t[r+i]=n[i];return t}return id(n)}const ld=(e,{branch:t="branch",children:r="children",id:n="id",index:o="index",next:i="next",parent:s="parent",prev:a="prev",siblings:c="siblings"}={})=>{const u={[t]:{get(){var g;const v=[this];for(;(g=v[0])!=null&&g[s];)v.unshift(v[0][s]);return v}},[o]:{get(){return this[c].findIndex(v=>this[n]===v[n])}},[i]:{get(){return this[c][this[o]+1]}},[a]:{get(){return this[c][this[o]-1]}}},l=(v,g={})=>v.value.flatMap(h=>(Object.defineProperties(h,{...u,[s]:g,[c]:v}),[h,...l({configurable:!0,value:h[r]??[]},{configurable:!0,value:h})])),d=ye(()=>l({value:Yl(e)?e:st(e)})),b=Oi(ye(()=>Object.fromEntries(d.value.map(v=>[v[n],v]))));return{add:v=>{const g=b[v];if(g){const h=g[r],p=g[o],m=g[c],f=Fo();switch(!0){case!!g[s]:m.splice(p+1,0,{[n]:f});break;case!!h:h.unshift({[n]:f});break;default:m.splice(p+1,0,{[n]:f});break}return f}},arrLeaves:Oi(d),down:v=>{const g=b[v];if(g){const h=g[o],p=h+1,m=g[c];h<m.length-1&&m[h]&&m[p]&&([m[h],m[p]]=[m[p],m[h]])}},leaves:d,left:v=>{const g=b[v];if(g){const h=g[s];if(h!=null&&h[s]){const p=h[r]??[];return h[c].splice(h[o]+1,0,...p.splice(g[o],1)),h[n]}}},objLeaves:b,remove:v=>{const g=b[v];if(g){const h=g[s];if(h){const[p]=d.value,m=g[i],f=g[a],y=(m==null?void 0:m[n])??(f==null?void 0:f[n])??h[n]??(p==null?void 0:p[n]);return g[c].splice(g[o],1),y}}},right:v=>{const g=b[v];if(g){const h=g[a];if(h){const p=h[r]??[],m=h[n],f=g[c];return h[r]=[...p,...f.splice(g[o],1)],m}}},up:v=>{const g=b[v];if(g){const h=g[o],p=h-1,m=g[c];h&&m[h]&&m[p]&&([m[p],m[h]]=[m[h],m[p]])}}}};var Jt={exports:{}},Tn={},ze={},Qe={},Nn={},In={},Mn={},Ni;function Qr(){return Ni||(Ni=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.regexpCode=e.getEsmExportName=e.getProperty=e.safeStringify=e.stringify=e.strConcat=e.addCodeArg=e.str=e._=e.nil=e._Code=e.Name=e.IDENTIFIER=e._CodeOrName=void 0;class t{}e._CodeOrName=t,e.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class r extends t{constructor(f){if(super(),!e.IDENTIFIER.test(f))throw new Error("CodeGen: name must be a valid identifier");this.str=f}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}e.Name=r;class n extends t{constructor(f){super(),this._items=typeof f=="string"?[f]:f}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const f=this._items[0];return f===""||f==='""'}get str(){var f;return(f=this._str)!==null&&f!==void 0?f:this._str=this._items.reduce((y,$)=>`${y}${$}`,"")}get names(){var f;return(f=this._names)!==null&&f!==void 0?f:this._names=this._items.reduce((y,$)=>($ instanceof r&&(y[$.str]=(y[$.str]||0)+1),y),{})}}e._Code=n,e.nil=new n("");function o(m,...f){const y=[m[0]];let $=0;for(;$<f.length;)a(y,f[$]),y.push(m[++$]);return new n(y)}e._=o;const i=new n("+");function s(m,...f){const y=[v(m[0])];let $=0;for(;$<f.length;)y.push(i),a(y,f[$]),y.push(i,v(m[++$]));return c(y),new n(y)}e.str=s;function a(m,f){f instanceof n?m.push(...f._items):f instanceof r?m.push(f):m.push(d(f))}e.addCodeArg=a;function c(m){let f=1;for(;f<m.length-1;){if(m[f]===i){const y=u(m[f-1],m[f+1]);if(y!==void 0){m.splice(f-1,3,y);continue}m[f++]="+"}f++}}function u(m,f){if(f==='""')return m;if(m==='""')return f;if(typeof m=="string")return f instanceof r||m[m.length-1]!=='"'?void 0:typeof f!="string"?`${m.slice(0,-1)}${f}"`:f[0]==='"'?m.slice(0,-1)+f.slice(1):void 0;if(typeof f=="string"&&f[0]==='"'&&!(m instanceof r))return`"${m}${f.slice(1)}`}function l(m,f){return f.emptyStr()?m:m.emptyStr()?f:s`${m}${f}`}e.strConcat=l;function d(m){return typeof m=="number"||typeof m=="boolean"||m===null?m:v(Array.isArray(m)?m.join(","):m)}function b(m){return new n(v(m))}e.stringify=b;function v(m){return JSON.stringify(m).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}e.safeStringify=v;function g(m){return typeof m=="string"&&e.IDENTIFIER.test(m)?new n(`.${m}`):o`[${m}]`}e.getProperty=g;function h(m){if(typeof m=="string"&&e.IDENTIFIER.test(m))return new n(`${m}`);throw new Error(`CodeGen: invalid export name: ${m}, use explicit $id name mapping`)}e.getEsmExportName=h;function p(m){return new n(m.toString())}e.regexpCode=p}(Mn)),Mn}var Fn={},Ii;function Mi(){return Ii||(Ii=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ValueScope=e.ValueScopeName=e.Scope=e.varKinds=e.UsedValueState=void 0;const t=Qr();class r extends Error{constructor(u){super(`CodeGen: "code" for ${u} not defined`),this.value=u.value}}var n;(function(c){c[c.Started=0]="Started",c[c.Completed=1]="Completed"})(n||(e.UsedValueState=n={})),e.varKinds={const:new t.Name("const"),let:new t.Name("let"),var:new t.Name("var")};class o{constructor({prefixes:u,parent:l}={}){this._names={},this._prefixes=u,this._parent=l}toName(u){return u instanceof t.Name?u:this.name(u)}name(u){return new t.Name(this._newName(u))}_newName(u){const l=this._names[u]||this._nameGroup(u);return`${u}${l.index++}`}_nameGroup(u){var l,d;if(!((d=(l=this._parent)===null||l===void 0?void 0:l._prefixes)===null||d===void 0)&&d.has(u)||this._prefixes&&!this._prefixes.has(u))throw new Error(`CodeGen: prefix "${u}" is not allowed in this scope`);return this._names[u]={prefix:u,index:0}}}e.Scope=o;class i extends t.Name{constructor(u,l){super(l),this.prefix=u}setValue(u,{property:l,itemIndex:d}){this.value=u,this.scopePath=(0,t._)`.${new t.Name(l)}[${d}]`}}e.ValueScopeName=i;const s=(0,t._)`\n`;class a extends o{constructor(u){super(u),this._values={},this._scope=u.scope,this.opts={...u,_n:u.lines?s:t.nil}}get(){return this._scope}name(u){return new i(u,this._newName(u))}value(u,l){var d;if(l.ref===void 0)throw new Error("CodeGen: ref must be passed in value");const b=this.toName(u),{prefix:v}=b,g=(d=l.key)!==null&&d!==void 0?d:l.ref;let h=this._values[v];if(h){const f=h.get(g);if(f)return f}else h=this._values[v]=new Map;h.set(g,b);const p=this._scope[v]||(this._scope[v]=[]),m=p.length;return p[m]=l.ref,b.setValue(l,{property:v,itemIndex:m}),b}getValue(u,l){const d=this._values[u];if(d)return d.get(l)}scopeRefs(u,l=this._values){return this._reduceValues(l,d=>{if(d.scopePath===void 0)throw new Error(`CodeGen: name "${d}" has no value`);return(0,t._)`${u}${d.scopePath}`})}scopeCode(u=this._values,l,d){return this._reduceValues(u,b=>{if(b.value===void 0)throw new Error(`CodeGen: name "${b}" has no value`);return b.value.code},l,d)}_reduceValues(u,l,d={},b){let v=t.nil;for(const g in u){const h=u[g];if(!h)continue;const p=d[g]=d[g]||new Map;h.forEach(m=>{if(p.has(m))return;p.set(m,n.Started);let f=l(m);if(f){const y=this.opts.es5?e.varKinds.var:e.varKinds.const;v=(0,t._)`${v}${y} ${m} = ${f};${this.opts._n}`}else if(f=b==null?void 0:b(m))v=(0,t._)`${v}${f}${this.opts._n}`;else throw new r(m);p.set(m,n.Completed)})}return v}}e.ValueScope=a}(Fn)),Fn}var Fi;function te(){return Fi||(Fi=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.or=e.and=e.not=e.CodeGen=e.operators=e.varKinds=e.ValueScopeName=e.ValueScope=e.Scope=e.Name=e.regexpCode=e.stringify=e.getProperty=e.nil=e.strConcat=e.str=e._=void 0;const t=Qr(),r=Mi();var n=Qr();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return n._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return n.str}}),Object.defineProperty(e,"strConcat",{enumerable:!0,get:function(){return n.strConcat}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return n.nil}}),Object.defineProperty(e,"getProperty",{enumerable:!0,get:function(){return n.getProperty}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return n.stringify}}),Object.defineProperty(e,"regexpCode",{enumerable:!0,get:function(){return n.regexpCode}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return n.Name}});var o=Mi();Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return o.Scope}}),Object.defineProperty(e,"ValueScope",{enumerable:!0,get:function(){return o.ValueScope}}),Object.defineProperty(e,"ValueScopeName",{enumerable:!0,get:function(){return o.ValueScopeName}}),Object.defineProperty(e,"varKinds",{enumerable:!0,get:function(){return o.varKinds}}),e.operators={GT:new t._Code(">"),GTE:new t._Code(">="),LT:new t._Code("<"),LTE:new t._Code("<="),EQ:new t._Code("==="),NEQ:new t._Code("!=="),NOT:new t._Code("!"),OR:new t._Code("||"),AND:new t._Code("&&"),ADD:new t._Code("+")};class i{optimizeNodes(){return this}optimizeNames(x,E){return this}}class s extends i{constructor(x,E,T){super(),this.varKind=x,this.name=E,this.rhs=T}render({es5:x,_n:E}){const T=x?r.varKinds.var:this.varKind,U=this.rhs===void 0?"":` = ${this.rhs}`;return`${T} ${this.name}${U};`+E}optimizeNames(x,E){if(x[this.name.str])return this.rhs&&(this.rhs=G(this.rhs,x,E)),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}}class a extends i{constructor(x,E,T){super(),this.lhs=x,this.rhs=E,this.sideEffects=T}render({_n:x}){return`${this.lhs} = ${this.rhs};`+x}optimizeNames(x,E){if(!(this.lhs instanceof t.Name&&!x[this.lhs.str]&&!this.sideEffects))return this.rhs=G(this.rhs,x,E),this}get names(){const x=this.lhs instanceof t.Name?{}:{...this.lhs.names};return q(x,this.rhs)}}class c extends a{constructor(x,E,T,U){super(x,T,U),this.op=E}render({_n:x}){return`${this.lhs} ${this.op}= ${this.rhs};`+x}}class u extends i{constructor(x){super(),this.label=x,this.names={}}render({_n:x}){return`${this.label}:`+x}}class l extends i{constructor(x){super(),this.label=x,this.names={}}render({_n:x}){return`break${this.label?` ${this.label}`:""};`+x}}class d extends i{constructor(x){super(),this.error=x}render({_n:x}){return`throw ${this.error};`+x}get names(){return this.error.names}}class b extends i{constructor(x){super(),this.code=x}render({_n:x}){return`${this.code};`+x}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(x,E){return this.code=G(this.code,x,E),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}}class v extends i{constructor(x=[]){super(),this.nodes=x}render(x){return this.nodes.reduce((E,T)=>E+T.render(x),"")}optimizeNodes(){const{nodes:x}=this;let E=x.length;for(;E--;){const T=x[E].optimizeNodes();Array.isArray(T)?x.splice(E,1,...T):T?x[E]=T:x.splice(E,1)}return x.length>0?this:void 0}optimizeNames(x,E){const{nodes:T}=this;let U=T.length;for(;U--;){const W=T[U];W.optimizeNames(x,E)||(se(x,W.names),T.splice(U,1))}return T.length>0?this:void 0}get names(){return this.nodes.reduce((x,E)=>V(x,E.names),{})}}class g extends v{render(x){return"{"+x._n+super.render(x)+"}"+x._n}}class h extends v{}class p extends g{}p.kind="else";class m extends g{constructor(x,E){super(E),this.condition=x}render(x){let E=`if(${this.condition})`+super.render(x);return this.else&&(E+="else "+this.else.render(x)),E}optimizeNodes(){super.optimizeNodes();const x=this.condition;if(x===!0)return this.nodes;let E=this.else;if(E){const T=E.optimizeNodes();E=this.else=Array.isArray(T)?new p(T):T}if(E)return x===!1?E instanceof m?E:E.nodes:this.nodes.length?this:new m(K(x),E instanceof m?[E]:E.nodes);if(!(x===!1||!this.nodes.length))return this}optimizeNames(x,E){var T;if(this.else=(T=this.else)===null||T===void 0?void 0:T.optimizeNames(x,E),!!(super.optimizeNames(x,E)||this.else))return this.condition=G(this.condition,x,E),this}get names(){const x=super.names;return q(x,this.condition),this.else&&V(x,this.else.names),x}}m.kind="if";class f extends g{}f.kind="for";class y extends f{constructor(x){super(),this.iteration=x}render(x){return`for(${this.iteration})`+super.render(x)}optimizeNames(x,E){if(super.optimizeNames(x,E))return this.iteration=G(this.iteration,x,E),this}get names(){return V(super.names,this.iteration.names)}}class $ extends f{constructor(x,E,T,U){super(),this.varKind=x,this.name=E,this.from=T,this.to=U}render(x){const E=x.es5?r.varKinds.var:this.varKind,{name:T,from:U,to:W}=this;return`for(${E} ${T}=${U}; ${T}<${W}; ${T}++)`+super.render(x)}get names(){const x=q(super.names,this.from);return q(x,this.to)}}class k extends f{constructor(x,E,T,U){super(),this.loop=x,this.varKind=E,this.name=T,this.iterable=U}render(x){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(x)}optimizeNames(x,E){if(super.optimizeNames(x,E))return this.iterable=G(this.iterable,x,E),this}get names(){return V(super.names,this.iterable.names)}}class _ extends g{constructor(x,E,T){super(),this.name=x,this.args=E,this.async=T}render(x){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(x)}}_.kind="func";class w extends v{render(x){return"return "+super.render(x)}}w.kind="return";class S extends g{render(x){let E="try"+super.render(x);return this.catch&&(E+=this.catch.render(x)),this.finally&&(E+=this.finally.render(x)),E}optimizeNodes(){var x,E;return super.optimizeNodes(),(x=this.catch)===null||x===void 0||x.optimizeNodes(),(E=this.finally)===null||E===void 0||E.optimizeNodes(),this}optimizeNames(x,E){var T,U;return super.optimizeNames(x,E),(T=this.catch)===null||T===void 0||T.optimizeNames(x,E),(U=this.finally)===null||U===void 0||U.optimizeNames(x,E),this}get names(){const x=super.names;return this.catch&&V(x,this.catch.names),this.finally&&V(x,this.finally.names),x}}class O extends g{constructor(x){super(),this.error=x}render(x){return`catch(${this.error})`+super.render(x)}}O.kind="catch";class F extends g{render(x){return"finally"+super.render(x)}}F.kind="finally";class z{constructor(x,E={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...E,_n:E.lines?`
10
+ `:""},this._extScope=x,this._scope=new r.Scope({parent:x}),this._nodes=[new h]}toString(){return this._root.render(this.opts)}name(x){return this._scope.name(x)}scopeName(x){return this._extScope.name(x)}scopeValue(x,E){const T=this._extScope.value(x,E);return(this._values[T.prefix]||(this._values[T.prefix]=new Set)).add(T),T}getScopeValue(x,E){return this._extScope.getValue(x,E)}scopeRefs(x){return this._extScope.scopeRefs(x,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(x,E,T,U){const W=this._scope.toName(E);return T!==void 0&&U&&(this._constants[W.str]=T),this._leafNode(new s(x,W,T)),W}const(x,E,T){return this._def(r.varKinds.const,x,E,T)}let(x,E,T){return this._def(r.varKinds.let,x,E,T)}var(x,E,T){return this._def(r.varKinds.var,x,E,T)}assign(x,E,T){return this._leafNode(new a(x,E,T))}add(x,E){return this._leafNode(new c(x,e.operators.ADD,E))}code(x){return typeof x=="function"?x():x!==t.nil&&this._leafNode(new b(x)),this}object(...x){const E=["{"];for(const[T,U]of x)E.length>1&&E.push(","),E.push(T),(T!==U||this.opts.es5)&&(E.push(":"),(0,t.addCodeArg)(E,U));return E.push("}"),new t._Code(E)}if(x,E,T){if(this._blockNode(new m(x)),E&&T)this.code(E).else().code(T).endIf();else if(E)this.code(E).endIf();else if(T)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(x){return this._elseNode(new m(x))}else(){return this._elseNode(new p)}endIf(){return this._endBlockNode(m,p)}_for(x,E){return this._blockNode(x),E&&this.code(E).endFor(),this}for(x,E){return this._for(new y(x),E)}forRange(x,E,T,U,W=this.opts.es5?r.varKinds.var:r.varKinds.let){const oe=this._scope.toName(x);return this._for(new $(W,oe,E,T),()=>U(oe))}forOf(x,E,T,U=r.varKinds.const){const W=this._scope.toName(x);if(this.opts.es5){const oe=E instanceof t.Name?E:this.var("_arr",E);return this.forRange("_i",0,(0,t._)`${oe}.length`,re=>{this.var(W,(0,t._)`${oe}[${re}]`),T(W)})}return this._for(new k("of",U,W,E),()=>T(W))}forIn(x,E,T,U=this.opts.es5?r.varKinds.var:r.varKinds.const){if(this.opts.ownProperties)return this.forOf(x,(0,t._)`Object.keys(${E})`,T);const W=this._scope.toName(x);return this._for(new k("in",U,W,E),()=>T(W))}endFor(){return this._endBlockNode(f)}label(x){return this._leafNode(new u(x))}break(x){return this._leafNode(new l(x))}return(x){const E=new w;if(this._blockNode(E),this.code(x),E.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(w)}try(x,E,T){if(!E&&!T)throw new Error('CodeGen: "try" without "catch" and "finally"');const U=new S;if(this._blockNode(U),this.code(x),E){const W=this.name("e");this._currNode=U.catch=new O(W),E(W)}return T&&(this._currNode=U.finally=new F,this.code(T)),this._endBlockNode(O,F)}throw(x){return this._leafNode(new d(x))}block(x,E){return this._blockStarts.push(this._nodes.length),x&&this.code(x).endBlock(E),this}endBlock(x){const E=this._blockStarts.pop();if(E===void 0)throw new Error("CodeGen: not in self-balancing block");const T=this._nodes.length-E;if(T<0||x!==void 0&&T!==x)throw new Error(`CodeGen: wrong number of nodes: ${T} vs ${x} expected`);return this._nodes.length=E,this}func(x,E=t.nil,T,U){return this._blockNode(new _(x,E,T)),U&&this.code(U).endFunc(),this}endFunc(){return this._endBlockNode(_)}optimize(x=1){for(;x-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(x){return this._currNode.nodes.push(x),this}_blockNode(x){this._currNode.nodes.push(x),this._nodes.push(x)}_endBlockNode(x,E){const T=this._currNode;if(T instanceof x||E&&T instanceof E)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${E?`${x.kind}/${E.kind}`:x.kind}"`)}_elseNode(x){const E=this._currNode;if(!(E instanceof m))throw new Error('CodeGen: "else" without "if"');return this._currNode=E.else=x,this}get _root(){return this._nodes[0]}get _currNode(){const x=this._nodes;return x[x.length-1]}set _currNode(x){const E=this._nodes;E[E.length-1]=x}}e.CodeGen=z;function V(R,x){for(const E in x)R[E]=(R[E]||0)+(x[E]||0);return R}function q(R,x){return x instanceof t._CodeOrName?V(R,x.names):R}function G(R,x,E){if(R instanceof t.Name)return T(R);if(!U(R))return R;return new t._Code(R._items.reduce((W,oe)=>(oe instanceof t.Name&&(oe=T(oe)),oe instanceof t._Code?W.push(...oe._items):W.push(oe),W),[]));function T(W){const oe=E[W.str];return oe===void 0||x[W.str]!==1?W:(delete x[W.str],oe)}function U(W){return W instanceof t._Code&&W._items.some(oe=>oe instanceof t.Name&&x[oe.str]===1&&E[oe.str]!==void 0)}}function se(R,x){for(const E in x)R[E]=(R[E]||0)-(x[E]||0)}function K(R){return typeof R=="boolean"||typeof R=="number"||R===null?!R:(0,t._)`!${I(R)}`}e.not=K;const J=P(e.operators.AND);function D(...R){return R.reduce(J)}e.and=D;const X=P(e.operators.OR);function N(...R){return R.reduce(X)}e.or=N;function P(R){return(x,E)=>x===t.nil?E:E===t.nil?x:(0,t._)`${I(x)} ${R} ${I(E)}`}function I(R){return R instanceof t.Name?R:(0,t._)`(${R})`}}(In)),In}var Y={},zi;function ne(){if(zi)return Y;zi=1,Object.defineProperty(Y,"__esModule",{value:!0}),Y.checkStrictMode=Y.getErrorPath=Y.Type=Y.useFunc=Y.setEvaluated=Y.evaluatedPropsToName=Y.mergeEvaluated=Y.eachItem=Y.unescapeJsonPointer=Y.escapeJsonPointer=Y.escapeFragment=Y.unescapeFragment=Y.schemaRefOrVal=Y.schemaHasRulesButRef=Y.schemaHasRules=Y.checkUnknownRules=Y.alwaysValidSchema=Y.toHash=void 0;const e=te(),t=Qr();function r(k){const _={};for(const w of k)_[w]=!0;return _}Y.toHash=r;function n(k,_){return typeof _=="boolean"?_:Object.keys(_).length===0?!0:(o(k,_),!i(_,k.self.RULES.all))}Y.alwaysValidSchema=n;function o(k,_=k.schema){const{opts:w,self:S}=k;if(!w.strictSchema||typeof _=="boolean")return;const O=S.RULES.keywords;for(const F in _)O[F]||$(k,`unknown keyword: "${F}"`)}Y.checkUnknownRules=o;function i(k,_){if(typeof k=="boolean")return!k;for(const w in k)if(_[w])return!0;return!1}Y.schemaHasRules=i;function s(k,_){if(typeof k=="boolean")return!k;for(const w in k)if(w!=="$ref"&&_.all[w])return!0;return!1}Y.schemaHasRulesButRef=s;function a({topSchemaRef:k,schemaPath:_},w,S,O){if(!O){if(typeof w=="number"||typeof w=="boolean")return w;if(typeof w=="string")return(0,e._)`${w}`}return(0,e._)`${k}${_}${(0,e.getProperty)(S)}`}Y.schemaRefOrVal=a;function c(k){return d(decodeURIComponent(k))}Y.unescapeFragment=c;function u(k){return encodeURIComponent(l(k))}Y.escapeFragment=u;function l(k){return typeof k=="number"?`${k}`:k.replace(/~/g,"~0").replace(/\//g,"~1")}Y.escapeJsonPointer=l;function d(k){return k.replace(/~1/g,"/").replace(/~0/g,"~")}Y.unescapeJsonPointer=d;function b(k,_){if(Array.isArray(k))for(const w of k)_(w);else _(k)}Y.eachItem=b;function v({mergeNames:k,mergeToName:_,mergeValues:w,resultToName:S}){return(O,F,z,V)=>{const q=z===void 0?F:z instanceof e.Name?(F instanceof e.Name?k(O,F,z):_(O,F,z),z):F instanceof e.Name?(_(O,z,F),F):w(F,z);return V===e.Name&&!(q instanceof e.Name)?S(O,q):q}}Y.mergeEvaluated={props:v({mergeNames:(k,_,w)=>k.if((0,e._)`${w} !== true && ${_} !== undefined`,()=>{k.if((0,e._)`${_} === true`,()=>k.assign(w,!0),()=>k.assign(w,(0,e._)`${w} || {}`).code((0,e._)`Object.assign(${w}, ${_})`))}),mergeToName:(k,_,w)=>k.if((0,e._)`${w} !== true`,()=>{_===!0?k.assign(w,!0):(k.assign(w,(0,e._)`${w} || {}`),h(k,w,_))}),mergeValues:(k,_)=>k===!0?!0:{...k,..._},resultToName:g}),items:v({mergeNames:(k,_,w)=>k.if((0,e._)`${w} !== true && ${_} !== undefined`,()=>k.assign(w,(0,e._)`${_} === true ? true : ${w} > ${_} ? ${w} : ${_}`)),mergeToName:(k,_,w)=>k.if((0,e._)`${w} !== true`,()=>k.assign(w,_===!0?!0:(0,e._)`${w} > ${_} ? ${w} : ${_}`)),mergeValues:(k,_)=>k===!0?!0:Math.max(k,_),resultToName:(k,_)=>k.var("items",_)})};function g(k,_){if(_===!0)return k.var("props",!0);const w=k.var("props",(0,e._)`{}`);return _!==void 0&&h(k,w,_),w}Y.evaluatedPropsToName=g;function h(k,_,w){Object.keys(w).forEach(S=>k.assign((0,e._)`${_}${(0,e.getProperty)(S)}`,!0))}Y.setEvaluated=h;const p={};function m(k,_){return k.scopeValue("func",{ref:_,code:p[_.code]||(p[_.code]=new t._Code(_.code))})}Y.useFunc=m;var f;(function(k){k[k.Num=0]="Num",k[k.Str=1]="Str"})(f||(Y.Type=f={}));function y(k,_,w){if(k instanceof e.Name){const S=_===f.Num;return w?S?(0,e._)`"[" + ${k} + "]"`:(0,e._)`"['" + ${k} + "']"`:S?(0,e._)`"/" + ${k}`:(0,e._)`"/" + ${k}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return w?(0,e.getProperty)(k).toString():"/"+l(k)}Y.getErrorPath=y;function $(k,_,w=k.opts.strictSchema){if(w){if(_=`strict mode: ${_}`,w===!0)throw new Error(_);k.self.logger.warn(_)}}return Y.checkStrictMode=$,Y}var Xt={},Li;function Ye(){if(Li)return Xt;Li=1,Object.defineProperty(Xt,"__esModule",{value:!0});const e=te(),t={data:new e.Name("data"),valCxt:new e.Name("valCxt"),instancePath:new e.Name("instancePath"),parentData:new e.Name("parentData"),parentDataProperty:new e.Name("parentDataProperty"),rootData:new e.Name("rootData"),dynamicAnchors:new e.Name("dynamicAnchors"),vErrors:new e.Name("vErrors"),errors:new e.Name("errors"),this:new e.Name("this"),self:new e.Name("self"),scope:new e.Name("scope"),json:new e.Name("json"),jsonPos:new e.Name("jsonPos"),jsonLen:new e.Name("jsonLen"),jsonPart:new e.Name("jsonPart")};return Xt.default=t,Xt}var Di;function mn(){return Di||(Di=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.extendErrors=e.resetErrorsCount=e.reportExtraError=e.reportError=e.keyword$DataError=e.keywordError=void 0;const t=te(),r=ne(),n=Ye();e.keywordError={message:({keyword:p})=>(0,t.str)`must pass "${p}" keyword validation`},e.keyword$DataError={message:({keyword:p,schemaType:m})=>m?(0,t.str)`"${p}" keyword must be ${m} ($data)`:(0,t.str)`"${p}" keyword is invalid ($data)`};function o(p,m=e.keywordError,f,y){const{it:$}=p,{gen:k,compositeRule:_,allErrors:w}=$,S=d(p,m,f);y??(_||w)?c(k,S):u($,(0,t._)`[${S}]`)}e.reportError=o;function i(p,m=e.keywordError,f){const{it:y}=p,{gen:$,compositeRule:k,allErrors:_}=y,w=d(p,m,f);c($,w),k||_||u(y,n.default.vErrors)}e.reportExtraError=i;function s(p,m){p.assign(n.default.errors,m),p.if((0,t._)`${n.default.vErrors} !== null`,()=>p.if(m,()=>p.assign((0,t._)`${n.default.vErrors}.length`,m),()=>p.assign(n.default.vErrors,null)))}e.resetErrorsCount=s;function a({gen:p,keyword:m,schemaValue:f,data:y,errsCount:$,it:k}){if($===void 0)throw new Error("ajv implementation error");const _=p.name("err");p.forRange("i",$,n.default.errors,w=>{p.const(_,(0,t._)`${n.default.vErrors}[${w}]`),p.if((0,t._)`${_}.instancePath === undefined`,()=>p.assign((0,t._)`${_}.instancePath`,(0,t.strConcat)(n.default.instancePath,k.errorPath))),p.assign((0,t._)`${_}.schemaPath`,(0,t.str)`${k.errSchemaPath}/${m}`),k.opts.verbose&&(p.assign((0,t._)`${_}.schema`,f),p.assign((0,t._)`${_}.data`,y))})}e.extendErrors=a;function c(p,m){const f=p.const("err",m);p.if((0,t._)`${n.default.vErrors} === null`,()=>p.assign(n.default.vErrors,(0,t._)`[${f}]`),(0,t._)`${n.default.vErrors}.push(${f})`),p.code((0,t._)`${n.default.errors}++`)}function u(p,m){const{gen:f,validateName:y,schemaEnv:$}=p;$.$async?f.throw((0,t._)`new ${p.ValidationError}(${m})`):(f.assign((0,t._)`${y}.errors`,m),f.return(!1))}const l={keyword:new t.Name("keyword"),schemaPath:new t.Name("schemaPath"),params:new t.Name("params"),propertyName:new t.Name("propertyName"),message:new t.Name("message"),schema:new t.Name("schema"),parentSchema:new t.Name("parentSchema")};function d(p,m,f){const{createErrors:y}=p.it;return y===!1?(0,t._)`{}`:b(p,m,f)}function b(p,m,f={}){const{gen:y,it:$}=p,k=[v($,f),g(p,f)];return h(p,m,k),y.object(...k)}function v({errorPath:p},{instancePath:m}){const f=m?(0,t.str)`${p}${(0,r.getErrorPath)(m,r.Type.Str)}`:p;return[n.default.instancePath,(0,t.strConcat)(n.default.instancePath,f)]}function g({keyword:p,it:{errSchemaPath:m}},{schemaPath:f,parentSchema:y}){let $=y?m:(0,t.str)`${m}/${p}`;return f&&($=(0,t.str)`${$}${(0,r.getErrorPath)(f,r.Type.Str)}`),[l.schemaPath,$]}function h(p,{params:m,message:f},y){const{keyword:$,data:k,schemaValue:_,it:w}=p,{opts:S,propertyName:O,topSchemaRef:F,schemaPath:z}=w;y.push([l.keyword,$],[l.params,typeof m=="function"?m(p):m||(0,t._)`{}`]),S.messages&&y.push([l.message,typeof f=="function"?f(p):f]),S.verbose&&y.push([l.schema,_],[l.parentSchema,(0,t._)`${F}${z}`],[n.default.data,k]),O&&y.push([l.propertyName,O])}}(Nn)),Nn}var qi;function ud(){if(qi)return Qe;qi=1,Object.defineProperty(Qe,"__esModule",{value:!0}),Qe.boolOrEmptySchema=Qe.topBoolOrEmptySchema=void 0;const e=mn(),t=te(),r=Ye(),n={message:"boolean schema is false"};function o(a){const{gen:c,schema:u,validateName:l}=a;u===!1?s(a,!1):typeof u=="object"&&u.$async===!0?c.return(r.default.data):(c.assign((0,t._)`${l}.errors`,null),c.return(!0))}Qe.topBoolOrEmptySchema=o;function i(a,c){const{gen:u,schema:l}=a;l===!1?(u.var(c,!1),s(a)):u.var(c,!0)}Qe.boolOrEmptySchema=i;function s(a,c){const{gen:u,data:l}=a,d={gen:u,keyword:"false schema",data:l,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:a};(0,e.reportError)(d,n,void 0,c)}return Qe}var me={},Ze={},Vi;function Ec(){if(Vi)return Ze;Vi=1,Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.getRules=Ze.isJSONType=void 0;const e=["string","number","integer","boolean","null","object","array"],t=new Set(e);function r(o){return typeof o=="string"&&t.has(o)}Ze.isJSONType=r;function n(){const o={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...o,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},o.number,o.string,o.array,o.object],post:{rules:[]},all:{},keywords:{}}}return Ze.getRules=n,Ze}var Le={},Ui;function Cc(){if(Ui)return Le;Ui=1,Object.defineProperty(Le,"__esModule",{value:!0}),Le.shouldUseRule=Le.shouldUseGroup=Le.schemaHasRulesForType=void 0;function e({schema:n,self:o},i){const s=o.RULES.types[i];return s&&s!==!0&&t(n,s)}Le.schemaHasRulesForType=e;function t(n,o){return o.rules.some(i=>r(n,i))}Le.shouldUseGroup=t;function r(n,o){var i;return n[o.keyword]!==void 0||((i=o.definition.implements)===null||i===void 0?void 0:i.some(s=>n[s]!==void 0))}return Le.shouldUseRule=r,Le}var Hi;function Zr(){if(Hi)return me;Hi=1,Object.defineProperty(me,"__esModule",{value:!0}),me.reportTypeError=me.checkDataTypes=me.checkDataType=me.coerceAndCheckDataType=me.getJSONTypes=me.getSchemaTypes=me.DataType=void 0;const e=Ec(),t=Cc(),r=mn(),n=te(),o=ne();var i;(function(f){f[f.Correct=0]="Correct",f[f.Wrong=1]="Wrong"})(i||(me.DataType=i={}));function s(f){const y=a(f.type);if(y.includes("null")){if(f.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!y.length&&f.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');f.nullable===!0&&y.push("null")}return y}me.getSchemaTypes=s;function a(f){const y=Array.isArray(f)?f:f?[f]:[];if(y.every(e.isJSONType))return y;throw new Error("type must be JSONType or JSONType[]: "+y.join(","))}me.getJSONTypes=a;function c(f,y){const{gen:$,data:k,opts:_}=f,w=l(y,_.coerceTypes),S=y.length>0&&!(w.length===0&&y.length===1&&(0,t.schemaHasRulesForType)(f,y[0]));if(S){const O=g(y,k,_.strictNumbers,i.Wrong);$.if(O,()=>{w.length?d(f,y,w):p(f)})}return S}me.coerceAndCheckDataType=c;const u=new Set(["string","number","integer","boolean","null"]);function l(f,y){return y?f.filter($=>u.has($)||y==="array"&&$==="array"):[]}function d(f,y,$){const{gen:k,data:_,opts:w}=f,S=k.let("dataType",(0,n._)`typeof ${_}`),O=k.let("coerced",(0,n._)`undefined`);w.coerceTypes==="array"&&k.if((0,n._)`${S} == 'object' && Array.isArray(${_}) && ${_}.length == 1`,()=>k.assign(_,(0,n._)`${_}[0]`).assign(S,(0,n._)`typeof ${_}`).if(g(y,_,w.strictNumbers),()=>k.assign(O,_))),k.if((0,n._)`${O} !== undefined`);for(const z of $)(u.has(z)||z==="array"&&w.coerceTypes==="array")&&F(z);k.else(),p(f),k.endIf(),k.if((0,n._)`${O} !== undefined`,()=>{k.assign(_,O),b(f,O)});function F(z){switch(z){case"string":k.elseIf((0,n._)`${S} == "number" || ${S} == "boolean"`).assign(O,(0,n._)`"" + ${_}`).elseIf((0,n._)`${_} === null`).assign(O,(0,n._)`""`);return;case"number":k.elseIf((0,n._)`${S} == "boolean" || ${_} === null
11
+ || (${S} == "string" && ${_} && ${_} == +${_})`).assign(O,(0,n._)`+${_}`);return;case"integer":k.elseIf((0,n._)`${S} === "boolean" || ${_} === null
12
+ || (${S} === "string" && ${_} && ${_} == +${_} && !(${_} % 1))`).assign(O,(0,n._)`+${_}`);return;case"boolean":k.elseIf((0,n._)`${_} === "false" || ${_} === 0 || ${_} === null`).assign(O,!1).elseIf((0,n._)`${_} === "true" || ${_} === 1`).assign(O,!0);return;case"null":k.elseIf((0,n._)`${_} === "" || ${_} === 0 || ${_} === false`),k.assign(O,null);return;case"array":k.elseIf((0,n._)`${S} === "string" || ${S} === "number"
13
+ || ${S} === "boolean" || ${_} === null`).assign(O,(0,n._)`[${_}]`)}}}function b({gen:f,parentData:y,parentDataProperty:$},k){f.if((0,n._)`${y} !== undefined`,()=>f.assign((0,n._)`${y}[${$}]`,k))}function v(f,y,$,k=i.Correct){const _=k===i.Correct?n.operators.EQ:n.operators.NEQ;let w;switch(f){case"null":return(0,n._)`${y} ${_} null`;case"array":w=(0,n._)`Array.isArray(${y})`;break;case"object":w=(0,n._)`${y} && typeof ${y} == "object" && !Array.isArray(${y})`;break;case"integer":w=S((0,n._)`!(${y} % 1) && !isNaN(${y})`);break;case"number":w=S();break;default:return(0,n._)`typeof ${y} ${_} ${f}`}return k===i.Correct?w:(0,n.not)(w);function S(O=n.nil){return(0,n.and)((0,n._)`typeof ${y} == "number"`,O,$?(0,n._)`isFinite(${y})`:n.nil)}}me.checkDataType=v;function g(f,y,$,k){if(f.length===1)return v(f[0],y,$,k);let _;const w=(0,o.toHash)(f);if(w.array&&w.object){const S=(0,n._)`typeof ${y} != "object"`;_=w.null?S:(0,n._)`!${y} || ${S}`,delete w.null,delete w.array,delete w.object}else _=n.nil;w.number&&delete w.integer;for(const S in w)_=(0,n.and)(_,v(S,y,$,k));return _}me.checkDataTypes=g;const h={message:({schema:f})=>`must be ${f}`,params:({schema:f,schemaValue:y})=>typeof f=="string"?(0,n._)`{type: ${f}}`:(0,n._)`{type: ${y}}`};function p(f){const y=m(f);(0,r.reportError)(y,h)}me.reportTypeError=p;function m(f){const{gen:y,data:$,schema:k}=f,_=(0,o.schemaRefOrVal)(f,k,"type");return{gen:y,keyword:"type",data:$,schema:k.type,schemaCode:_,schemaValue:_,parentSchema:k,params:{},it:f}}return me}var _t={},Wi;function fd(){if(Wi)return _t;Wi=1,Object.defineProperty(_t,"__esModule",{value:!0}),_t.assignDefaults=void 0;const e=te(),t=ne();function r(o,i){const{properties:s,items:a}=o.schema;if(i==="object"&&s)for(const c in s)n(o,c,s[c].default);else i==="array"&&Array.isArray(a)&&a.forEach((c,u)=>n(o,u,c.default))}_t.assignDefaults=r;function n(o,i,s){const{gen:a,compositeRule:c,data:u,opts:l}=o;if(s===void 0)return;const d=(0,e._)`${u}${(0,e.getProperty)(i)}`;if(c){(0,t.checkStrictMode)(o,`default is ignored for: ${d}`);return}let b=(0,e._)`${d} === undefined`;l.useDefaults==="empty"&&(b=(0,e._)`${b} || ${d} === null || ${d} === ""`),a.if(b,(0,e._)`${d} = ${(0,e.stringify)(s)}`)}return _t}var Pe={},ie={},Ki;function Ne(){if(Ki)return ie;Ki=1,Object.defineProperty(ie,"__esModule",{value:!0}),ie.validateUnion=ie.validateArray=ie.usePattern=ie.callValidateCode=ie.schemaProperties=ie.allSchemaProperties=ie.noPropertyInData=ie.propertyInData=ie.isOwnProperty=ie.hasPropFunc=ie.reportMissingProp=ie.checkMissingProp=ie.checkReportMissingProp=void 0;const e=te(),t=ne(),r=Ye(),n=ne();function o(f,y){const{gen:$,data:k,it:_}=f;$.if(l($,k,y,_.opts.ownProperties),()=>{f.setParams({missingProperty:(0,e._)`${y}`},!0),f.error()})}ie.checkReportMissingProp=o;function i({gen:f,data:y,it:{opts:$}},k,_){return(0,e.or)(...k.map(w=>(0,e.and)(l(f,y,w,$.ownProperties),(0,e._)`${_} = ${w}`)))}ie.checkMissingProp=i;function s(f,y){f.setParams({missingProperty:y},!0),f.error()}ie.reportMissingProp=s;function a(f){return f.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,e._)`Object.prototype.hasOwnProperty`})}ie.hasPropFunc=a;function c(f,y,$){return(0,e._)`${a(f)}.call(${y}, ${$})`}ie.isOwnProperty=c;function u(f,y,$,k){const _=(0,e._)`${y}${(0,e.getProperty)($)} !== undefined`;return k?(0,e._)`${_} && ${c(f,y,$)}`:_}ie.propertyInData=u;function l(f,y,$,k){const _=(0,e._)`${y}${(0,e.getProperty)($)} === undefined`;return k?(0,e.or)(_,(0,e.not)(c(f,y,$))):_}ie.noPropertyInData=l;function d(f){return f?Object.keys(f).filter(y=>y!=="__proto__"):[]}ie.allSchemaProperties=d;function b(f,y){return d(y).filter($=>!(0,t.alwaysValidSchema)(f,y[$]))}ie.schemaProperties=b;function v({schemaCode:f,data:y,it:{gen:$,topSchemaRef:k,schemaPath:_,errorPath:w},it:S},O,F,z){const V=z?(0,e._)`${f}, ${y}, ${k}${_}`:y,q=[[r.default.instancePath,(0,e.strConcat)(r.default.instancePath,w)],[r.default.parentData,S.parentData],[r.default.parentDataProperty,S.parentDataProperty],[r.default.rootData,r.default.rootData]];S.opts.dynamicRef&&q.push([r.default.dynamicAnchors,r.default.dynamicAnchors]);const G=(0,e._)`${V}, ${$.object(...q)}`;return F!==e.nil?(0,e._)`${O}.call(${F}, ${G})`:(0,e._)`${O}(${G})`}ie.callValidateCode=v;const g=(0,e._)`new RegExp`;function h({gen:f,it:{opts:y}},$){const k=y.unicodeRegExp?"u":"",{regExp:_}=y.code,w=_($,k);return f.scopeValue("pattern",{key:w.toString(),ref:w,code:(0,e._)`${_.code==="new RegExp"?g:(0,n.useFunc)(f,_)}(${$}, ${k})`})}ie.usePattern=h;function p(f){const{gen:y,data:$,keyword:k,it:_}=f,w=y.name("valid");if(_.allErrors){const O=y.let("valid",!0);return S(()=>y.assign(O,!1)),O}return y.var(w,!0),S(()=>y.break()),w;function S(O){const F=y.const("len",(0,e._)`${$}.length`);y.forRange("i",0,F,z=>{f.subschema({keyword:k,dataProp:z,dataPropType:t.Type.Num},w),y.if((0,e.not)(w),O)})}}ie.validateArray=p;function m(f){const{gen:y,schema:$,keyword:k,it:_}=f;if(!Array.isArray($))throw new Error("ajv implementation error");if($.some(F=>(0,t.alwaysValidSchema)(_,F))&&!_.opts.unevaluated)return;const S=y.let("valid",!1),O=y.name("_valid");y.block(()=>$.forEach((F,z)=>{const V=f.subschema({keyword:k,schemaProp:z,compositeRule:!0},O);y.assign(S,(0,e._)`${S} || ${O}`),f.mergeValidEvaluated(V,O)||y.if((0,e.not)(S))})),f.result(S,()=>f.reset(),()=>f.error(!0))}return ie.validateUnion=m,ie}var Bi;function dd(){if(Bi)return Pe;Bi=1,Object.defineProperty(Pe,"__esModule",{value:!0}),Pe.validateKeywordUsage=Pe.validSchemaType=Pe.funcKeywordCode=Pe.macroKeywordCode=void 0;const e=te(),t=Ye(),r=Ne(),n=mn();function o(b,v){const{gen:g,keyword:h,schema:p,parentSchema:m,it:f}=b,y=v.macro.call(f.self,p,m,f),$=u(g,h,y);f.opts.validateSchema!==!1&&f.self.validateSchema(y,!0);const k=g.name("valid");b.subschema({schema:y,schemaPath:e.nil,errSchemaPath:`${f.errSchemaPath}/${h}`,topSchemaRef:$,compositeRule:!0},k),b.pass(k,()=>b.error(!0))}Pe.macroKeywordCode=o;function i(b,v){var g;const{gen:h,keyword:p,schema:m,parentSchema:f,$data:y,it:$}=b;c($,v);const k=!y&&v.compile?v.compile.call($.self,m,f,$):v.validate,_=u(h,p,k),w=h.let("valid");b.block$data(w,S),b.ok((g=v.valid)!==null&&g!==void 0?g:w);function S(){if(v.errors===!1)z(),v.modifying&&s(b),V(()=>b.error());else{const q=v.async?O():F();v.modifying&&s(b),V(()=>a(b,q))}}function O(){const q=h.let("ruleErrs",null);return h.try(()=>z((0,e._)`await `),G=>h.assign(w,!1).if((0,e._)`${G} instanceof ${$.ValidationError}`,()=>h.assign(q,(0,e._)`${G}.errors`),()=>h.throw(G))),q}function F(){const q=(0,e._)`${_}.errors`;return h.assign(q,null),z(e.nil),q}function z(q=v.async?(0,e._)`await `:e.nil){const G=$.opts.passContext?t.default.this:t.default.self,se=!("compile"in v&&!y||v.schema===!1);h.assign(w,(0,e._)`${q}${(0,r.callValidateCode)(b,_,G,se)}`,v.modifying)}function V(q){var G;h.if((0,e.not)((G=v.valid)!==null&&G!==void 0?G:w),q)}}Pe.funcKeywordCode=i;function s(b){const{gen:v,data:g,it:h}=b;v.if(h.parentData,()=>v.assign(g,(0,e._)`${h.parentData}[${h.parentDataProperty}]`))}function a(b,v){const{gen:g}=b;g.if((0,e._)`Array.isArray(${v})`,()=>{g.assign(t.default.vErrors,(0,e._)`${t.default.vErrors} === null ? ${v} : ${t.default.vErrors}.concat(${v})`).assign(t.default.errors,(0,e._)`${t.default.vErrors}.length`),(0,n.extendErrors)(b)},()=>b.error())}function c({schemaEnv:b},v){if(v.async&&!b.$async)throw new Error("async keyword in sync schema")}function u(b,v,g){if(g===void 0)throw new Error(`keyword "${v}" failed to compile`);return b.scopeValue("keyword",typeof g=="function"?{ref:g}:{ref:g,code:(0,e.stringify)(g)})}function l(b,v,g=!1){return!v.length||v.some(h=>h==="array"?Array.isArray(b):h==="object"?b&&typeof b=="object"&&!Array.isArray(b):typeof b==h||g&&typeof b>"u")}Pe.validSchemaType=l;function d({schema:b,opts:v,self:g,errSchemaPath:h},p,m){if(Array.isArray(p.keyword)?!p.keyword.includes(m):p.keyword!==m)throw new Error("ajv implementation error");const f=p.dependencies;if(f!=null&&f.some(y=>!Object.prototype.hasOwnProperty.call(b,y)))throw new Error(`parent schema must have dependencies of ${m}: ${f.join(",")}`);if(p.validateSchema&&!p.validateSchema(b[m])){const $=`keyword "${m}" value is invalid at path "${h}": `+g.errorsText(p.validateSchema.errors);if(v.validateSchema==="log")g.logger.error($);else throw new Error($)}}return Pe.validateKeywordUsage=d,Pe}var De={},Gi;function pd(){if(Gi)return De;Gi=1,Object.defineProperty(De,"__esModule",{value:!0}),De.extendSubschemaMode=De.extendSubschemaData=De.getSubschema=void 0;const e=te(),t=ne();function r(i,{keyword:s,schemaProp:a,schema:c,schemaPath:u,errSchemaPath:l,topSchemaRef:d}){if(s!==void 0&&c!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(s!==void 0){const b=i.schema[s];return a===void 0?{schema:b,schemaPath:(0,e._)`${i.schemaPath}${(0,e.getProperty)(s)}`,errSchemaPath:`${i.errSchemaPath}/${s}`}:{schema:b[a],schemaPath:(0,e._)`${i.schemaPath}${(0,e.getProperty)(s)}${(0,e.getProperty)(a)}`,errSchemaPath:`${i.errSchemaPath}/${s}/${(0,t.escapeFragment)(a)}`}}if(c!==void 0){if(u===void 0||l===void 0||d===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:c,schemaPath:u,topSchemaRef:d,errSchemaPath:l}}throw new Error('either "keyword" or "schema" must be passed')}De.getSubschema=r;function n(i,s,{dataProp:a,dataPropType:c,data:u,dataTypes:l,propertyName:d}){if(u!==void 0&&a!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:b}=s;if(a!==void 0){const{errorPath:g,dataPathArr:h,opts:p}=s,m=b.let("data",(0,e._)`${s.data}${(0,e.getProperty)(a)}`,!0);v(m),i.errorPath=(0,e.str)`${g}${(0,t.getErrorPath)(a,c,p.jsPropertySyntax)}`,i.parentDataProperty=(0,e._)`${a}`,i.dataPathArr=[...h,i.parentDataProperty]}if(u!==void 0){const g=u instanceof e.Name?u:b.let("data",u,!0);v(g),d!==void 0&&(i.propertyName=d)}l&&(i.dataTypes=l);function v(g){i.data=g,i.dataLevel=s.dataLevel+1,i.dataTypes=[],s.definedProperties=new Set,i.parentData=s.data,i.dataNames=[...s.dataNames,g]}}De.extendSubschemaData=n;function o(i,{jtdDiscriminator:s,jtdMetadata:a,compositeRule:c,createErrors:u,allErrors:l}){c!==void 0&&(i.compositeRule=c),u!==void 0&&(i.createErrors=u),l!==void 0&&(i.allErrors=l),i.jtdDiscriminator=s,i.jtdMetadata=a}return De.extendSubschemaMode=o,De}var ve={},zn,Ji;function jc(){return Ji||(Ji=1,zn=function e(t,r){if(t===r)return!0;if(t&&r&&typeof t=="object"&&typeof r=="object"){if(t.constructor!==r.constructor)return!1;var n,o,i;if(Array.isArray(t)){if(n=t.length,n!=r.length)return!1;for(o=n;o--!==0;)if(!e(t[o],r[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if(i=Object.keys(t),n=i.length,n!==Object.keys(r).length)return!1;for(o=n;o--!==0;)if(!Object.prototype.hasOwnProperty.call(r,i[o]))return!1;for(o=n;o--!==0;){var s=i[o];if(!e(t[s],r[s]))return!1}return!0}return t!==t&&r!==r}),zn}var Ln={exports:{}},Xi;function hd(){if(Xi)return Ln.exports;Xi=1;var e=Ln.exports=function(n,o,i){typeof o=="function"&&(i=o,o={}),i=o.cb||i;var s=typeof i=="function"?i:i.pre||function(){},a=i.post||function(){};t(o,s,a,n,"",n)};e.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},e.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},e.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},e.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function t(n,o,i,s,a,c,u,l,d,b){if(s&&typeof s=="object"&&!Array.isArray(s)){o(s,a,c,u,l,d,b);for(var v in s){var g=s[v];if(Array.isArray(g)){if(v in e.arrayKeywords)for(var h=0;h<g.length;h++)t(n,o,i,g[h],a+"/"+v+"/"+h,c,a,v,s,h)}else if(v in e.propsKeywords){if(g&&typeof g=="object")for(var p in g)t(n,o,i,g[p],a+"/"+v+"/"+r(p),c,a,v,s,p)}else(v in e.keywords||n.allKeys&&!(v in e.skipKeywords))&&t(n,o,i,g,a+"/"+v,c,a,v,s)}i(s,a,c,u,l,d,b)}}function r(n){return n.replace(/~/g,"~0").replace(/\//g,"~1")}return Ln.exports}var Yi;function gn(){if(Yi)return ve;Yi=1,Object.defineProperty(ve,"__esModule",{value:!0}),ve.getSchemaRefs=ve.resolveUrl=ve.normalizeId=ve._getFullPath=ve.getFullPath=ve.inlineRef=void 0;const e=ne(),t=jc(),r=hd(),n=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function o(h,p=!0){return typeof h=="boolean"?!0:p===!0?!s(h):p?a(h)<=p:!1}ve.inlineRef=o;const i=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function s(h){for(const p in h){if(i.has(p))return!0;const m=h[p];if(Array.isArray(m)&&m.some(s)||typeof m=="object"&&s(m))return!0}return!1}function a(h){let p=0;for(const m in h){if(m==="$ref")return 1/0;if(p++,!n.has(m)&&(typeof h[m]=="object"&&(0,e.eachItem)(h[m],f=>p+=a(f)),p===1/0))return 1/0}return p}function c(h,p="",m){m!==!1&&(p=d(p));const f=h.parse(p);return u(h,f)}ve.getFullPath=c;function u(h,p){return h.serialize(p).split("#")[0]+"#"}ve._getFullPath=u;const l=/#\/?$/;function d(h){return h?h.replace(l,""):""}ve.normalizeId=d;function b(h,p,m){return m=d(m),h.resolve(p,m)}ve.resolveUrl=b;const v=/^[a-z_][-a-z0-9._]*$/i;function g(h,p){if(typeof h=="boolean")return{};const{schemaId:m,uriResolver:f}=this.opts,y=d(h[m]||p),$={"":y},k=c(f,y,!1),_={},w=new Set;return r(h,{allKeys:!0},(F,z,V,q)=>{if(q===void 0)return;const G=k+z;let se=$[q];typeof F[m]=="string"&&(se=K.call(this,F[m])),J.call(this,F.$anchor),J.call(this,F.$dynamicAnchor),$[z]=se;function K(D){const X=this.opts.uriResolver.resolve;if(D=d(se?X(se,D):D),w.has(D))throw O(D);w.add(D);let N=this.refs[D];return typeof N=="string"&&(N=this.refs[N]),typeof N=="object"?S(F,N.schema,D):D!==d(G)&&(D[0]==="#"?(S(F,_[D],D),_[D]=F):this.refs[D]=G),D}function J(D){if(typeof D=="string"){if(!v.test(D))throw new Error(`invalid anchor "${D}"`);K.call(this,`#${D}`)}}}),_;function S(F,z,V){if(z!==void 0&&!t(F,z))throw O(V)}function O(F){return new Error(`reference "${F}" resolves to more than one schema`)}}return ve.getSchemaRefs=g,ve}var Qi;function yn(){if(Qi)return ze;Qi=1,Object.defineProperty(ze,"__esModule",{value:!0}),ze.getData=ze.KeywordCxt=ze.validateFunctionCode=void 0;const e=ud(),t=Zr(),r=Cc(),n=Zr(),o=fd(),i=dd(),s=pd(),a=te(),c=Ye(),u=gn(),l=ne(),d=mn();function b(j){if(k(j)&&(w(j),$(j))){p(j);return}v(j,()=>(0,e.topBoolOrEmptySchema)(j))}ze.validateFunctionCode=b;function v({gen:j,validateName:A,schema:M,schemaEnv:L,opts:H},Q){H.code.es5?j.func(A,(0,a._)`${c.default.data}, ${c.default.valCxt}`,L.$async,()=>{j.code((0,a._)`"use strict"; ${f(M,H)}`),h(j,H),j.code(Q)}):j.func(A,(0,a._)`${c.default.data}, ${g(H)}`,L.$async,()=>j.code(f(M,H)).code(Q))}function g(j){return(0,a._)`{${c.default.instancePath}="", ${c.default.parentData}, ${c.default.parentDataProperty}, ${c.default.rootData}=${c.default.data}${j.dynamicRef?(0,a._)`, ${c.default.dynamicAnchors}={}`:a.nil}}={}`}function h(j,A){j.if(c.default.valCxt,()=>{j.var(c.default.instancePath,(0,a._)`${c.default.valCxt}.${c.default.instancePath}`),j.var(c.default.parentData,(0,a._)`${c.default.valCxt}.${c.default.parentData}`),j.var(c.default.parentDataProperty,(0,a._)`${c.default.valCxt}.${c.default.parentDataProperty}`),j.var(c.default.rootData,(0,a._)`${c.default.valCxt}.${c.default.rootData}`),A.dynamicRef&&j.var(c.default.dynamicAnchors,(0,a._)`${c.default.valCxt}.${c.default.dynamicAnchors}`)},()=>{j.var(c.default.instancePath,(0,a._)`""`),j.var(c.default.parentData,(0,a._)`undefined`),j.var(c.default.parentDataProperty,(0,a._)`undefined`),j.var(c.default.rootData,c.default.data),A.dynamicRef&&j.var(c.default.dynamicAnchors,(0,a._)`{}`)})}function p(j){const{schema:A,opts:M,gen:L}=j;v(j,()=>{M.$comment&&A.$comment&&q(j),F(j),L.let(c.default.vErrors,null),L.let(c.default.errors,0),M.unevaluated&&m(j),S(j),G(j)})}function m(j){const{gen:A,validateName:M}=j;j.evaluated=A.const("evaluated",(0,a._)`${M}.evaluated`),A.if((0,a._)`${j.evaluated}.dynamicProps`,()=>A.assign((0,a._)`${j.evaluated}.props`,(0,a._)`undefined`)),A.if((0,a._)`${j.evaluated}.dynamicItems`,()=>A.assign((0,a._)`${j.evaluated}.items`,(0,a._)`undefined`))}function f(j,A){const M=typeof j=="object"&&j[A.schemaId];return M&&(A.code.source||A.code.process)?(0,a._)`/*# sourceURL=${M} */`:a.nil}function y(j,A){if(k(j)&&(w(j),$(j))){_(j,A);return}(0,e.boolOrEmptySchema)(j,A)}function $({schema:j,self:A}){if(typeof j=="boolean")return!j;for(const M in j)if(A.RULES.all[M])return!0;return!1}function k(j){return typeof j.schema!="boolean"}function _(j,A){const{schema:M,gen:L,opts:H}=j;H.$comment&&M.$comment&&q(j),z(j),V(j);const Q=L.const("_errs",c.default.errors);S(j,Q),L.var(A,(0,a._)`${Q} === ${c.default.errors}`)}function w(j){(0,l.checkUnknownRules)(j),O(j)}function S(j,A){if(j.opts.jtd)return K(j,[],!1,A);const M=(0,t.getSchemaTypes)(j.schema),L=(0,t.coerceAndCheckDataType)(j,M);K(j,M,!L,A)}function O(j){const{schema:A,errSchemaPath:M,opts:L,self:H}=j;A.$ref&&L.ignoreKeywordsWithRef&&(0,l.schemaHasRulesButRef)(A,H.RULES)&&H.logger.warn(`$ref: keywords ignored in schema at path "${M}"`)}function F(j){const{schema:A,opts:M}=j;A.default!==void 0&&M.useDefaults&&M.strictSchema&&(0,l.checkStrictMode)(j,"default is ignored in the schema root")}function z(j){const A=j.schema[j.opts.schemaId];A&&(j.baseId=(0,u.resolveUrl)(j.opts.uriResolver,j.baseId,A))}function V(j){if(j.schema.$async&&!j.schemaEnv.$async)throw new Error("async schema in sync schema")}function q({gen:j,schemaEnv:A,schema:M,errSchemaPath:L,opts:H}){const Q=M.$comment;if(H.$comment===!0)j.code((0,a._)`${c.default.self}.logger.log(${Q})`);else if(typeof H.$comment=="function"){const pe=(0,a.str)`${L}/$comment`,Ce=j.scopeValue("root",{ref:A.root});j.code((0,a._)`${c.default.self}.opts.$comment(${Q}, ${pe}, ${Ce}.schema)`)}}function G(j){const{gen:A,schemaEnv:M,validateName:L,ValidationError:H,opts:Q}=j;M.$async?A.if((0,a._)`${c.default.errors} === 0`,()=>A.return(c.default.data),()=>A.throw((0,a._)`new ${H}(${c.default.vErrors})`)):(A.assign((0,a._)`${L}.errors`,c.default.vErrors),Q.unevaluated&&se(j),A.return((0,a._)`${c.default.errors} === 0`))}function se({gen:j,evaluated:A,props:M,items:L}){M instanceof a.Name&&j.assign((0,a._)`${A}.props`,M),L instanceof a.Name&&j.assign((0,a._)`${A}.items`,L)}function K(j,A,M,L){const{gen:H,schema:Q,data:pe,allErrors:Ce,opts:we,self:ke}=j,{RULES:he}=ke;if(Q.$ref&&(we.ignoreKeywordsWithRef||!(0,l.schemaHasRulesButRef)(Q,he))){H.block(()=>U(j,"$ref",he.all.$ref.definition));return}we.jtd||D(j,A),H.block(()=>{for(const Ee of he.rules)ct(Ee);ct(he.post)});function ct(Ee){(0,r.shouldUseGroup)(Q,Ee)&&(Ee.type?(H.if((0,n.checkDataType)(Ee.type,pe,we.strictNumbers)),J(j,Ee),A.length===1&&A[0]===Ee.type&&M&&(H.else(),(0,n.reportTypeError)(j)),H.endIf()):J(j,Ee),Ce||H.if((0,a._)`${c.default.errors} === ${L||0}`))}}function J(j,A){const{gen:M,schema:L,opts:{useDefaults:H}}=j;H&&(0,o.assignDefaults)(j,A.type),M.block(()=>{for(const Q of A.rules)(0,r.shouldUseRule)(L,Q)&&U(j,Q.keyword,Q.definition,A.type)})}function D(j,A){j.schemaEnv.meta||!j.opts.strictTypes||(X(j,A),j.opts.allowUnionTypes||N(j,A),P(j,j.dataTypes))}function X(j,A){if(A.length){if(!j.dataTypes.length){j.dataTypes=A;return}A.forEach(M=>{R(j.dataTypes,M)||E(j,`type "${M}" not allowed by context "${j.dataTypes.join(",")}"`)}),x(j,A)}}function N(j,A){A.length>1&&!(A.length===2&&A.includes("null"))&&E(j,"use allowUnionTypes to allow union type keyword")}function P(j,A){const M=j.self.RULES.all;for(const L in M){const H=M[L];if(typeof H=="object"&&(0,r.shouldUseRule)(j.schema,H)){const{type:Q}=H.definition;Q.length&&!Q.some(pe=>I(A,pe))&&E(j,`missing type "${Q.join(",")}" for keyword "${L}"`)}}}function I(j,A){return j.includes(A)||A==="number"&&j.includes("integer")}function R(j,A){return j.includes(A)||A==="integer"&&j.includes("number")}function x(j,A){const M=[];for(const L of j.dataTypes)R(A,L)?M.push(L):A.includes("integer")&&L==="number"&&M.push("integer");j.dataTypes=M}function E(j,A){const M=j.schemaEnv.baseId+j.errSchemaPath;A+=` at "${M}" (strictTypes)`,(0,l.checkStrictMode)(j,A,j.opts.strictTypes)}class T{constructor(A,M,L){if((0,i.validateKeywordUsage)(A,M,L),this.gen=A.gen,this.allErrors=A.allErrors,this.keyword=L,this.data=A.data,this.schema=A.schema[L],this.$data=M.$data&&A.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,l.schemaRefOrVal)(A,this.schema,L,this.$data),this.schemaType=M.schemaType,this.parentSchema=A.schema,this.params={},this.it=A,this.def=M,this.$data)this.schemaCode=A.gen.const("vSchema",re(this.$data,A));else if(this.schemaCode=this.schemaValue,!(0,i.validSchemaType)(this.schema,M.schemaType,M.allowUndefined))throw new Error(`${L} value must be ${JSON.stringify(M.schemaType)}`);("code"in M?M.trackErrors:M.errors!==!1)&&(this.errsCount=A.gen.const("_errs",c.default.errors))}result(A,M,L){this.failResult((0,a.not)(A),M,L)}failResult(A,M,L){this.gen.if(A),L?L():this.error(),M?(this.gen.else(),M(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(A,M){this.failResult((0,a.not)(A),void 0,M)}fail(A){if(A===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(A),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(A){if(!this.$data)return this.fail(A);const{schemaCode:M}=this;this.fail((0,a._)`${M} !== undefined && (${(0,a.or)(this.invalid$data(),A)})`)}error(A,M,L){if(M){this.setParams(M),this._error(A,L),this.setParams({});return}this._error(A,L)}_error(A,M){(A?d.reportExtraError:d.reportError)(this,this.def.error,M)}$dataError(){(0,d.reportError)(this,this.def.$dataError||d.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,d.resetErrorsCount)(this.gen,this.errsCount)}ok(A){this.allErrors||this.gen.if(A)}setParams(A,M){M?Object.assign(this.params,A):this.params=A}block$data(A,M,L=a.nil){this.gen.block(()=>{this.check$data(A,L),M()})}check$data(A=a.nil,M=a.nil){if(!this.$data)return;const{gen:L,schemaCode:H,schemaType:Q,def:pe}=this;L.if((0,a.or)((0,a._)`${H} === undefined`,M)),A!==a.nil&&L.assign(A,!0),(Q.length||pe.validateSchema)&&(L.elseIf(this.invalid$data()),this.$dataError(),A!==a.nil&&L.assign(A,!1)),L.else()}invalid$data(){const{gen:A,schemaCode:M,schemaType:L,def:H,it:Q}=this;return(0,a.or)(pe(),Ce());function pe(){if(L.length){if(!(M instanceof a.Name))throw new Error("ajv implementation error");const we=Array.isArray(L)?L:[L];return(0,a._)`${(0,n.checkDataTypes)(we,M,Q.opts.strictNumbers,n.DataType.Wrong)}`}return a.nil}function Ce(){if(H.validateSchema){const we=A.scopeValue("validate$data",{ref:H.validateSchema});return(0,a._)`!${we}(${M})`}return a.nil}}subschema(A,M){const L=(0,s.getSubschema)(this.it,A);(0,s.extendSubschemaData)(L,this.it,A),(0,s.extendSubschemaMode)(L,A);const H={...this.it,...L,items:void 0,props:void 0};return y(H,M),H}mergeEvaluated(A,M){const{it:L,gen:H}=this;L.opts.unevaluated&&(L.props!==!0&&A.props!==void 0&&(L.props=l.mergeEvaluated.props(H,A.props,L.props,M)),L.items!==!0&&A.items!==void 0&&(L.items=l.mergeEvaluated.items(H,A.items,L.items,M)))}mergeValidEvaluated(A,M){const{it:L,gen:H}=this;if(L.opts.unevaluated&&(L.props!==!0||L.items!==!0))return H.if(M,()=>this.mergeEvaluated(A,a.Name)),!0}}ze.KeywordCxt=T;function U(j,A,M,L){const H=new T(j,M,A);"code"in M?M.code(H,L):H.$data&&M.validate?(0,i.funcKeywordCode)(H,M):"macro"in M?(0,i.macroKeywordCode)(H,M):(M.compile||M.validate)&&(0,i.funcKeywordCode)(H,M)}const W=/^\/(?:[^~]|~0|~1)*$/,oe=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function re(j,{dataLevel:A,dataNames:M,dataPathArr:L}){let H,Q;if(j==="")return c.default.rootData;if(j[0]==="/"){if(!W.test(j))throw new Error(`Invalid JSON-pointer: ${j}`);H=j,Q=c.default.rootData}else{const ke=oe.exec(j);if(!ke)throw new Error(`Invalid JSON-pointer: ${j}`);const he=+ke[1];if(H=ke[2],H==="#"){if(he>=A)throw new Error(we("property/index",he));return L[A-he]}if(he>A)throw new Error(we("data",he));if(Q=M[A-he],!H)return Q}let pe=Q;const Ce=H.split("/");for(const ke of Ce)ke&&(Q=(0,a._)`${Q}${(0,a.getProperty)((0,l.unescapeJsonPointer)(ke))}`,pe=(0,a._)`${pe} && ${Q}`);return pe;function we(ke,he){return`Cannot access ${ke} ${he} levels up, current level is ${A}`}}return ze.getData=re,ze}var Yt={},Zi;function zo(){if(Zi)return Yt;Zi=1,Object.defineProperty(Yt,"__esModule",{value:!0});class e extends Error{constructor(r){super("validation failed"),this.errors=r,this.ajv=this.validation=!0}}return Yt.default=e,Yt}var Qt={},es;function bn(){if(es)return Qt;es=1,Object.defineProperty(Qt,"__esModule",{value:!0});const e=gn();class t extends Error{constructor(n,o,i,s){super(s||`can't resolve reference ${i} from id ${o}`),this.missingRef=(0,e.resolveUrl)(n,o,i),this.missingSchema=(0,e.normalizeId)((0,e.getFullPath)(n,this.missingRef))}}return Qt.default=t,Qt}var xe={},ts;function Lo(){if(ts)return xe;ts=1,Object.defineProperty(xe,"__esModule",{value:!0}),xe.resolveSchema=xe.getCompilingSchema=xe.resolveRef=xe.compileSchema=xe.SchemaEnv=void 0;const e=te(),t=zo(),r=Ye(),n=gn(),o=ne(),i=yn();class s{constructor(m){var f;this.refs={},this.dynamicAnchors={};let y;typeof m.schema=="object"&&(y=m.schema),this.schema=m.schema,this.schemaId=m.schemaId,this.root=m.root||this,this.baseId=(f=m.baseId)!==null&&f!==void 0?f:(0,n.normalizeId)(y==null?void 0:y[m.schemaId||"$id"]),this.schemaPath=m.schemaPath,this.localRefs=m.localRefs,this.meta=m.meta,this.$async=y==null?void 0:y.$async,this.refs={}}}xe.SchemaEnv=s;function a(p){const m=l.call(this,p);if(m)return m;const f=(0,n.getFullPath)(this.opts.uriResolver,p.root.baseId),{es5:y,lines:$}=this.opts.code,{ownProperties:k}=this.opts,_=new e.CodeGen(this.scope,{es5:y,lines:$,ownProperties:k});let w;p.$async&&(w=_.scopeValue("Error",{ref:t.default,code:(0,e._)`require("ajv/dist/runtime/validation_error").default`}));const S=_.scopeName("validate");p.validateName=S;const O={gen:_,allErrors:this.opts.allErrors,data:r.default.data,parentData:r.default.parentData,parentDataProperty:r.default.parentDataProperty,dataNames:[r.default.data],dataPathArr:[e.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:_.scopeValue("schema",this.opts.code.source===!0?{ref:p.schema,code:(0,e.stringify)(p.schema)}:{ref:p.schema}),validateName:S,ValidationError:w,schema:p.schema,schemaEnv:p,rootId:f,baseId:p.baseId||f,schemaPath:e.nil,errSchemaPath:p.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,e._)`""`,opts:this.opts,self:this};let F;try{this._compilations.add(p),(0,i.validateFunctionCode)(O),_.optimize(this.opts.code.optimize);const z=_.toString();F=`${_.scopeRefs(r.default.scope)}return ${z}`,this.opts.code.process&&(F=this.opts.code.process(F,p));const q=new Function(`${r.default.self}`,`${r.default.scope}`,F)(this,this.scope.get());if(this.scope.value(S,{ref:q}),q.errors=null,q.schema=p.schema,q.schemaEnv=p,p.$async&&(q.$async=!0),this.opts.code.source===!0&&(q.source={validateName:S,validateCode:z,scopeValues:_._values}),this.opts.unevaluated){const{props:G,items:se}=O;q.evaluated={props:G instanceof e.Name?void 0:G,items:se instanceof e.Name?void 0:se,dynamicProps:G instanceof e.Name,dynamicItems:se instanceof e.Name},q.source&&(q.source.evaluated=(0,e.stringify)(q.evaluated))}return p.validate=q,p}catch(z){throw delete p.validate,delete p.validateName,F&&this.logger.error("Error compiling schema, function code:",F),z}finally{this._compilations.delete(p)}}xe.compileSchema=a;function c(p,m,f){var y;f=(0,n.resolveUrl)(this.opts.uriResolver,m,f);const $=p.refs[f];if($)return $;let k=b.call(this,p,f);if(k===void 0){const _=(y=p.localRefs)===null||y===void 0?void 0:y[f],{schemaId:w}=this.opts;_&&(k=new s({schema:_,schemaId:w,root:p,baseId:m}))}if(k!==void 0)return p.refs[f]=u.call(this,k)}xe.resolveRef=c;function u(p){return(0,n.inlineRef)(p.schema,this.opts.inlineRefs)?p.schema:p.validate?p:a.call(this,p)}function l(p){for(const m of this._compilations)if(d(m,p))return m}xe.getCompilingSchema=l;function d(p,m){return p.schema===m.schema&&p.root===m.root&&p.baseId===m.baseId}function b(p,m){let f;for(;typeof(f=this.refs[m])=="string";)m=f;return f||this.schemas[m]||v.call(this,p,m)}function v(p,m){const f=this.opts.uriResolver.parse(m),y=(0,n._getFullPath)(this.opts.uriResolver,f);let $=(0,n.getFullPath)(this.opts.uriResolver,p.baseId,void 0);if(Object.keys(p.schema).length>0&&y===$)return h.call(this,f,p);const k=(0,n.normalizeId)(y),_=this.refs[k]||this.schemas[k];if(typeof _=="string"){const w=v.call(this,p,_);return typeof(w==null?void 0:w.schema)!="object"?void 0:h.call(this,f,w)}if(typeof(_==null?void 0:_.schema)=="object"){if(_.validate||a.call(this,_),k===(0,n.normalizeId)(m)){const{schema:w}=_,{schemaId:S}=this.opts,O=w[S];return O&&($=(0,n.resolveUrl)(this.opts.uriResolver,$,O)),new s({schema:w,schemaId:S,root:p,baseId:$})}return h.call(this,f,_)}}xe.resolveSchema=v;const g=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function h(p,{baseId:m,schema:f,root:y}){var $;if((($=p.fragment)===null||$===void 0?void 0:$[0])!=="/")return;for(const w of p.fragment.slice(1).split("/")){if(typeof f=="boolean")return;const S=f[(0,o.unescapeFragment)(w)];if(S===void 0)return;f=S;const O=typeof f=="object"&&f[this.opts.schemaId];!g.has(w)&&O&&(m=(0,n.resolveUrl)(this.opts.uriResolver,m,O))}let k;if(typeof f!="boolean"&&f.$ref&&!(0,o.schemaHasRulesButRef)(f,this.RULES)){const w=(0,n.resolveUrl)(this.opts.uriResolver,m,f.$ref);k=v.call(this,y,w)}const{schemaId:_}=this.opts;if(k=k||new s({schema:f,schemaId:_,root:y,baseId:m}),k.schema!==k.root.schema)return k}return xe}const md="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",gd="Meta-schema for $data reference (JSON AnySchema extension proposal)",yd="object",bd=["$data"],vd={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},$d=!1,wd={$id:md,description:gd,type:yd,required:bd,properties:vd,additionalProperties:$d};var Zt={},xt={exports:{}},Dn,rs;function kd(){return rs||(rs=1,Dn={HEX:{0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15}}),Dn}var qn,ns;function _d(){if(ns)return qn;ns=1;const{HEX:e}=kd(),t=/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u;function r(h){if(a(h,".")<3)return{host:h,isIPV4:!1};const p=h.match(t)||[],[m]=p;return m?{host:s(m,"."),isIPV4:!0}:{host:h,isIPV4:!1}}function n(h,p=!1){let m="",f=!0;for(const y of h){if(e[y]===void 0)return;y!=="0"&&f===!0&&(f=!1),f||(m+=y)}return p&&m.length===0&&(m="0"),m}function o(h){let p=0;const m={error:!1,address:"",zone:""},f=[],y=[];let $=!1,k=!1,_=!1;function w(){if(y.length){if($===!1){const S=n(y);if(S!==void 0)f.push(S);else return m.error=!0,!1}y.length=0}return!0}for(let S=0;S<h.length;S++){const O=h[S];if(!(O==="["||O==="]"))if(O===":"){if(k===!0&&(_=!0),!w())break;if(p++,f.push(":"),p>7){m.error=!0;break}S-1>=0&&h[S-1]===":"&&(k=!0);continue}else if(O==="%"){if(!w())break;$=!0}else{y.push(O);continue}}return y.length&&($?m.zone=y.join(""):_?f.push(y.join("")):f.push(n(y))),m.address=f.join(""),m}function i(h){if(a(h,":")<2)return{host:h,isIPV6:!1};const p=o(h);if(p.error)return{host:h,isIPV6:!1};{let m=p.address,f=p.address;return p.zone&&(m+="%"+p.zone,f+="%25"+p.zone),{host:m,escapedHost:f,isIPV6:!0}}}function s(h,p){let m="",f=!0;const y=h.length;for(let $=0;$<y;$++){const k=h[$];k==="0"&&f?($+1<=y&&h[$+1]===p||$+1===y)&&(m+=k,f=!1):(k===p?f=!0:f=!1,m+=k)}return m}function a(h,p){let m=0;for(let f=0;f<h.length;f++)h[f]===p&&m++;return m}const c=/^\.\.?\//u,u=/^\/\.(?:\/|$)/u,l=/^\/\.\.(?:\/|$)/u,d=/^\/?(?:.|\n)*?(?=\/|$)/u;function b(h){const p=[];for(;h.length;)if(h.match(c))h=h.replace(c,"");else if(h.match(u))h=h.replace(u,"/");else if(h.match(l))h=h.replace(l,"/"),p.pop();else if(h==="."||h==="..")h="";else{const m=h.match(d);if(m){const f=m[0];h=h.slice(f.length),p.push(f)}else throw new Error("Unexpected dot segment condition")}return p.join("")}function v(h,p){const m=p!==!0?escape:unescape;return h.scheme!==void 0&&(h.scheme=m(h.scheme)),h.userinfo!==void 0&&(h.userinfo=m(h.userinfo)),h.host!==void 0&&(h.host=m(h.host)),h.path!==void 0&&(h.path=m(h.path)),h.query!==void 0&&(h.query=m(h.query)),h.fragment!==void 0&&(h.fragment=m(h.fragment)),h}function g(h){const p=[];if(h.userinfo!==void 0&&(p.push(h.userinfo),p.push("@")),h.host!==void 0){let m=unescape(h.host);const f=r(m);if(f.isIPV4)m=f.host;else{const y=i(f.host);y.isIPV6===!0?m=`[${y.escapedHost}]`:m=h.host}p.push(m)}return(typeof h.port=="number"||typeof h.port=="string")&&(p.push(":"),p.push(String(h.port))),p.length?p.join(""):void 0}return qn={recomposeAuthority:g,normalizeComponentEncoding:v,removeDotSegments:b,normalizeIPv4:r,normalizeIPv6:i,stringArrayToHexStripped:n},qn}var Vn,os;function xd(){if(os)return Vn;os=1;const e=/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu,t=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;function r(f){return typeof f.secure=="boolean"?f.secure:String(f.scheme).toLowerCase()==="wss"}function n(f){return f.host||(f.error=f.error||"HTTP URIs must have a host."),f}function o(f){const y=String(f.scheme).toLowerCase()==="https";return(f.port===(y?443:80)||f.port==="")&&(f.port=void 0),f.path||(f.path="/"),f}function i(f){return f.secure=r(f),f.resourceName=(f.path||"/")+(f.query?"?"+f.query:""),f.path=void 0,f.query=void 0,f}function s(f){if((f.port===(r(f)?443:80)||f.port==="")&&(f.port=void 0),typeof f.secure=="boolean"&&(f.scheme=f.secure?"wss":"ws",f.secure=void 0),f.resourceName){const[y,$]=f.resourceName.split("?");f.path=y&&y!=="/"?y:void 0,f.query=$,f.resourceName=void 0}return f.fragment=void 0,f}function a(f,y){if(!f.path)return f.error="URN can not be parsed",f;const $=f.path.match(t);if($){const k=y.scheme||f.scheme||"urn";f.nid=$[1].toLowerCase(),f.nss=$[2];const _=`${k}:${y.nid||f.nid}`,w=m[_];f.path=void 0,w&&(f=w.parse(f,y))}else f.error=f.error||"URN can not be parsed.";return f}function c(f,y){const $=y.scheme||f.scheme||"urn",k=f.nid.toLowerCase(),_=`${$}:${y.nid||k}`,w=m[_];w&&(f=w.serialize(f,y));const S=f,O=f.nss;return S.path=`${k||y.nid}:${O}`,y.skipEscape=!0,S}function u(f,y){const $=f;return $.uuid=$.nss,$.nss=void 0,!y.tolerant&&(!$.uuid||!e.test($.uuid))&&($.error=$.error||"UUID is not valid."),$}function l(f){const y=f;return y.nss=(f.uuid||"").toLowerCase(),y}const d={scheme:"http",domainHost:!0,parse:n,serialize:o},b={scheme:"https",domainHost:d.domainHost,parse:n,serialize:o},v={scheme:"ws",domainHost:!0,parse:i,serialize:s},g={scheme:"wss",domainHost:v.domainHost,parse:v.parse,serialize:v.serialize},m={http:d,https:b,ws:v,wss:g,urn:{scheme:"urn",parse:a,serialize:c,skipNormalize:!0},"urn:uuid":{scheme:"urn:uuid",parse:u,serialize:l,skipNormalize:!0}};return Vn=m,Vn}var is;function Sd(){if(is)return xt.exports;is=1;const{normalizeIPv6:e,normalizeIPv4:t,removeDotSegments:r,recomposeAuthority:n,normalizeComponentEncoding:o}=_d(),i=xd();function s(p,m){return typeof p=="string"?p=l(g(p,m),m):typeof p=="object"&&(p=g(l(p,m),m)),p}function a(p,m,f){const y=Object.assign({scheme:"null"},f),$=c(g(p,y),g(m,y),y,!0);return l($,{...y,skipEscape:!0})}function c(p,m,f,y){const $={};return y||(p=g(l(p,f),f),m=g(l(m,f),f)),f=f||{},!f.tolerant&&m.scheme?($.scheme=m.scheme,$.userinfo=m.userinfo,$.host=m.host,$.port=m.port,$.path=r(m.path||""),$.query=m.query):(m.userinfo!==void 0||m.host!==void 0||m.port!==void 0?($.userinfo=m.userinfo,$.host=m.host,$.port=m.port,$.path=r(m.path||""),$.query=m.query):(m.path?(m.path.charAt(0)==="/"?$.path=r(m.path):((p.userinfo!==void 0||p.host!==void 0||p.port!==void 0)&&!p.path?$.path="/"+m.path:p.path?$.path=p.path.slice(0,p.path.lastIndexOf("/")+1)+m.path:$.path=m.path,$.path=r($.path)),$.query=m.query):($.path=p.path,m.query!==void 0?$.query=m.query:$.query=p.query),$.userinfo=p.userinfo,$.host=p.host,$.port=p.port),$.scheme=p.scheme),$.fragment=m.fragment,$}function u(p,m,f){return typeof p=="string"?(p=unescape(p),p=l(o(g(p,f),!0),{...f,skipEscape:!0})):typeof p=="object"&&(p=l(o(p,!0),{...f,skipEscape:!0})),typeof m=="string"?(m=unescape(m),m=l(o(g(m,f),!0),{...f,skipEscape:!0})):typeof m=="object"&&(m=l(o(m,!0),{...f,skipEscape:!0})),p.toLowerCase()===m.toLowerCase()}function l(p,m){const f={host:p.host,scheme:p.scheme,userinfo:p.userinfo,port:p.port,path:p.path,query:p.query,nid:p.nid,nss:p.nss,uuid:p.uuid,fragment:p.fragment,reference:p.reference,resourceName:p.resourceName,secure:p.secure,error:""},y=Object.assign({},m),$=[],k=i[(y.scheme||f.scheme||"").toLowerCase()];k&&k.serialize&&k.serialize(f,y),f.path!==void 0&&(y.skipEscape?f.path=unescape(f.path):(f.path=escape(f.path),f.scheme!==void 0&&(f.path=f.path.split("%3A").join(":")))),y.reference!=="suffix"&&f.scheme&&$.push(f.scheme,":");const _=n(f);if(_!==void 0&&(y.reference!=="suffix"&&$.push("//"),$.push(_),f.path&&f.path.charAt(0)!=="/"&&$.push("/")),f.path!==void 0){let w=f.path;!y.absolutePath&&(!k||!k.absolutePath)&&(w=r(w)),_===void 0&&(w=w.replace(/^\/\//u,"/%2F")),$.push(w)}return f.query!==void 0&&$.push("?",f.query),f.fragment!==void 0&&$.push("#",f.fragment),$.join("")}const d=Array.from({length:127},(p,m)=>/[^!"$&'()*+,\-.;=_`a-z{}~]/u.test(String.fromCharCode(m)));function b(p){let m=0;for(let f=0,y=p.length;f<y;++f)if(m=p.charCodeAt(f),m>126||d[m])return!0;return!1}const v=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function g(p,m){const f=Object.assign({},m),y={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0},$=p.indexOf("%")!==-1;let k=!1;f.reference==="suffix"&&(p=(f.scheme?f.scheme+":":"")+"//"+p);const _=p.match(v);if(_){if(y.scheme=_[1],y.userinfo=_[3],y.host=_[4],y.port=parseInt(_[5],10),y.path=_[6]||"",y.query=_[7],y.fragment=_[8],isNaN(y.port)&&(y.port=_[5]),y.host){const S=t(y.host);if(S.isIPV4===!1){const O=e(S.host);y.host=O.host.toLowerCase(),k=O.isIPV6}else y.host=S.host,k=!0}y.scheme===void 0&&y.userinfo===void 0&&y.host===void 0&&y.port===void 0&&y.query===void 0&&!y.path?y.reference="same-document":y.scheme===void 0?y.reference="relative":y.fragment===void 0?y.reference="absolute":y.reference="uri",f.reference&&f.reference!=="suffix"&&f.reference!==y.reference&&(y.error=y.error||"URI is not a "+f.reference+" reference.");const w=i[(f.scheme||y.scheme||"").toLowerCase()];if(!f.unicodeSupport&&(!w||!w.unicodeSupport)&&y.host&&(f.domainHost||w&&w.domainHost)&&k===!1&&b(y.host))try{y.host=URL.domainToASCII(y.host.toLowerCase())}catch(S){y.error=y.error||"Host's domain name can not be converted to ASCII: "+S}(!w||w&&!w.skipNormalize)&&($&&y.scheme!==void 0&&(y.scheme=unescape(y.scheme)),$&&y.host!==void 0&&(y.host=unescape(y.host)),y.path&&(y.path=escape(unescape(y.path))),y.fragment&&(y.fragment=encodeURI(decodeURIComponent(y.fragment)))),w&&w.parse&&w.parse(y,f)}else y.error=y.error||"URI can not be parsed.";return y}const h={SCHEMES:i,normalize:s,resolve:a,resolveComponents:c,equal:u,serialize:l,parse:g};return xt.exports=h,xt.exports.default=h,xt.exports.fastUri=h,xt.exports}var ss;function Ed(){if(ss)return Zt;ss=1,Object.defineProperty(Zt,"__esModule",{value:!0});const e=Sd();return e.code='require("ajv/dist/runtime/uri").default',Zt.default=e,Zt}var as;function Cd(){return as||(as=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CodeGen=e.Name=e.nil=e.stringify=e.str=e._=e.KeywordCxt=void 0;var t=yn();Object.defineProperty(e,"KeywordCxt",{enumerable:!0,get:function(){return t.KeywordCxt}});var r=te();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return r._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return r.str}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return r.stringify}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return r.nil}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return r.Name}}),Object.defineProperty(e,"CodeGen",{enumerable:!0,get:function(){return r.CodeGen}});const n=zo(),o=bn(),i=Ec(),s=Lo(),a=te(),c=gn(),u=Zr(),l=ne(),d=wd,b=Ed(),v=(N,P)=>new RegExp(N,P);v.code="new RegExp";const g=["removeAdditional","useDefaults","coerceTypes"],h=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),p={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},m={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},f=200;function y(N){var P,I,R,x,E,T,U,W,oe,re,j,A,M,L,H,Q,pe,Ce,we,ke,he,ct,Ee,Sn,En;const wt=N.strict,Cn=(P=N.code)===null||P===void 0?void 0:P.optimize,oi=Cn===!0||Cn===void 0?1:Cn||0,ii=(R=(I=N.code)===null||I===void 0?void 0:I.regExp)!==null&&R!==void 0?R:v,Ll=(x=N.uriResolver)!==null&&x!==void 0?x:b.default;return{strictSchema:(T=(E=N.strictSchema)!==null&&E!==void 0?E:wt)!==null&&T!==void 0?T:!0,strictNumbers:(W=(U=N.strictNumbers)!==null&&U!==void 0?U:wt)!==null&&W!==void 0?W:!0,strictTypes:(re=(oe=N.strictTypes)!==null&&oe!==void 0?oe:wt)!==null&&re!==void 0?re:"log",strictTuples:(A=(j=N.strictTuples)!==null&&j!==void 0?j:wt)!==null&&A!==void 0?A:"log",strictRequired:(L=(M=N.strictRequired)!==null&&M!==void 0?M:wt)!==null&&L!==void 0?L:!1,code:N.code?{...N.code,optimize:oi,regExp:ii}:{optimize:oi,regExp:ii},loopRequired:(H=N.loopRequired)!==null&&H!==void 0?H:f,loopEnum:(Q=N.loopEnum)!==null&&Q!==void 0?Q:f,meta:(pe=N.meta)!==null&&pe!==void 0?pe:!0,messages:(Ce=N.messages)!==null&&Ce!==void 0?Ce:!0,inlineRefs:(we=N.inlineRefs)!==null&&we!==void 0?we:!0,schemaId:(ke=N.schemaId)!==null&&ke!==void 0?ke:"$id",addUsedSchema:(he=N.addUsedSchema)!==null&&he!==void 0?he:!0,validateSchema:(ct=N.validateSchema)!==null&&ct!==void 0?ct:!0,validateFormats:(Ee=N.validateFormats)!==null&&Ee!==void 0?Ee:!0,unicodeRegExp:(Sn=N.unicodeRegExp)!==null&&Sn!==void 0?Sn:!0,int32range:(En=N.int32range)!==null&&En!==void 0?En:!0,uriResolver:Ll}}class ${constructor(P={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,P=this.opts={...P,...y(P)};const{es5:I,lines:R}=this.opts.code;this.scope=new a.ValueScope({scope:{},prefixes:h,es5:I,lines:R}),this.logger=V(P.logger);const x=P.validateFormats;P.validateFormats=!1,this.RULES=(0,i.getRules)(),k.call(this,p,P,"NOT SUPPORTED"),k.call(this,m,P,"DEPRECATED","warn"),this._metaOpts=F.call(this),P.formats&&S.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),P.keywords&&O.call(this,P.keywords),typeof P.meta=="object"&&this.addMetaSchema(P.meta),w.call(this),P.validateFormats=x}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:P,meta:I,schemaId:R}=this.opts;let x=d;R==="id"&&(x={...d},x.id=x.$id,delete x.$id),I&&P&&this.addMetaSchema(x,x[R],!1)}defaultMeta(){const{meta:P,schemaId:I}=this.opts;return this.opts.defaultMeta=typeof P=="object"?P[I]||P:void 0}validate(P,I){let R;if(typeof P=="string"){if(R=this.getSchema(P),!R)throw new Error(`no schema with key or ref "${P}"`)}else R=this.compile(P);const x=R(I);return"$async"in R||(this.errors=R.errors),x}compile(P,I){const R=this._addSchema(P,I);return R.validate||this._compileSchemaEnv(R)}compileAsync(P,I){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");const{loadSchema:R}=this.opts;return x.call(this,P,I);async function x(re,j){await E.call(this,re.$schema);const A=this._addSchema(re,j);return A.validate||T.call(this,A)}async function E(re){re&&!this.getSchema(re)&&await x.call(this,{$ref:re},!0)}async function T(re){try{return this._compileSchemaEnv(re)}catch(j){if(!(j instanceof o.default))throw j;return U.call(this,j),await W.call(this,j.missingSchema),T.call(this,re)}}function U({missingSchema:re,missingRef:j}){if(this.refs[re])throw new Error(`AnySchema ${re} is loaded but ${j} cannot be resolved`)}async function W(re){const j=await oe.call(this,re);this.refs[re]||await E.call(this,j.$schema),this.refs[re]||this.addSchema(j,re,I)}async function oe(re){const j=this._loading[re];if(j)return j;try{return await(this._loading[re]=R(re))}finally{delete this._loading[re]}}}addSchema(P,I,R,x=this.opts.validateSchema){if(Array.isArray(P)){for(const T of P)this.addSchema(T,void 0,R,x);return this}let E;if(typeof P=="object"){const{schemaId:T}=this.opts;if(E=P[T],E!==void 0&&typeof E!="string")throw new Error(`schema ${T} must be string`)}return I=(0,c.normalizeId)(I||E),this._checkUnique(I),this.schemas[I]=this._addSchema(P,R,I,x,!0),this}addMetaSchema(P,I,R=this.opts.validateSchema){return this.addSchema(P,I,!0,R),this}validateSchema(P,I){if(typeof P=="boolean")return!0;let R;if(R=P.$schema,R!==void 0&&typeof R!="string")throw new Error("$schema must be a string");if(R=R||this.opts.defaultMeta||this.defaultMeta(),!R)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const x=this.validate(R,P);if(!x&&I){const E="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(E);else throw new Error(E)}return x}getSchema(P){let I;for(;typeof(I=_.call(this,P))=="string";)P=I;if(I===void 0){const{schemaId:R}=this.opts,x=new s.SchemaEnv({schema:{},schemaId:R});if(I=s.resolveSchema.call(this,x,P),!I)return;this.refs[P]=I}return I.validate||this._compileSchemaEnv(I)}removeSchema(P){if(P instanceof RegExp)return this._removeAllSchemas(this.schemas,P),this._removeAllSchemas(this.refs,P),this;switch(typeof P){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const I=_.call(this,P);return typeof I=="object"&&this._cache.delete(I.schema),delete this.schemas[P],delete this.refs[P],this}case"object":{const I=P;this._cache.delete(I);let R=P[this.opts.schemaId];return R&&(R=(0,c.normalizeId)(R),delete this.schemas[R],delete this.refs[R]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(P){for(const I of P)this.addKeyword(I);return this}addKeyword(P,I){let R;if(typeof P=="string")R=P,typeof I=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),I.keyword=R);else if(typeof P=="object"&&I===void 0){if(I=P,R=I.keyword,Array.isArray(R)&&!R.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(G.call(this,R,I),!I)return(0,l.eachItem)(R,E=>se.call(this,E)),this;J.call(this,I);const x={...I,type:(0,u.getJSONTypes)(I.type),schemaType:(0,u.getJSONTypes)(I.schemaType)};return(0,l.eachItem)(R,x.type.length===0?E=>se.call(this,E,x):E=>x.type.forEach(T=>se.call(this,E,x,T))),this}getKeyword(P){const I=this.RULES.all[P];return typeof I=="object"?I.definition:!!I}removeKeyword(P){const{RULES:I}=this;delete I.keywords[P],delete I.all[P];for(const R of I.rules){const x=R.rules.findIndex(E=>E.keyword===P);x>=0&&R.rules.splice(x,1)}return this}addFormat(P,I){return typeof I=="string"&&(I=new RegExp(I)),this.formats[P]=I,this}errorsText(P=this.errors,{separator:I=", ",dataVar:R="data"}={}){return!P||P.length===0?"No errors":P.map(x=>`${R}${x.instancePath} ${x.message}`).reduce((x,E)=>x+I+E)}$dataMetaSchema(P,I){const R=this.RULES.all;P=JSON.parse(JSON.stringify(P));for(const x of I){const E=x.split("/").slice(1);let T=P;for(const U of E)T=T[U];for(const U in R){const W=R[U];if(typeof W!="object")continue;const{$data:oe}=W.definition,re=T[U];oe&&re&&(T[U]=X(re))}}return P}_removeAllSchemas(P,I){for(const R in P){const x=P[R];(!I||I.test(R))&&(typeof x=="string"?delete P[R]:x&&!x.meta&&(this._cache.delete(x.schema),delete P[R]))}}_addSchema(P,I,R,x=this.opts.validateSchema,E=this.opts.addUsedSchema){let T;const{schemaId:U}=this.opts;if(typeof P=="object")T=P[U];else{if(this.opts.jtd)throw new Error("schema must be object");if(typeof P!="boolean")throw new Error("schema must be object or boolean")}let W=this._cache.get(P);if(W!==void 0)return W;R=(0,c.normalizeId)(T||R);const oe=c.getSchemaRefs.call(this,P,R);return W=new s.SchemaEnv({schema:P,schemaId:U,meta:I,baseId:R,localRefs:oe}),this._cache.set(W.schema,W),E&&!R.startsWith("#")&&(R&&this._checkUnique(R),this.refs[R]=W),x&&this.validateSchema(P,!0),W}_checkUnique(P){if(this.schemas[P]||this.refs[P])throw new Error(`schema with key or id "${P}" already exists`)}_compileSchemaEnv(P){if(P.meta?this._compileMetaSchema(P):s.compileSchema.call(this,P),!P.validate)throw new Error("ajv implementation error");return P.validate}_compileMetaSchema(P){const I=this.opts;this.opts=this._metaOpts;try{s.compileSchema.call(this,P)}finally{this.opts=I}}}$.ValidationError=n.default,$.MissingRefError=o.default,e.default=$;function k(N,P,I,R="error"){for(const x in N){const E=x;E in P&&this.logger[R](`${I}: option ${x}. ${N[E]}`)}}function _(N){return N=(0,c.normalizeId)(N),this.schemas[N]||this.refs[N]}function w(){const N=this.opts.schemas;if(N)if(Array.isArray(N))this.addSchema(N);else for(const P in N)this.addSchema(N[P],P)}function S(){for(const N in this.opts.formats){const P=this.opts.formats[N];P&&this.addFormat(N,P)}}function O(N){if(Array.isArray(N)){this.addVocabulary(N);return}this.logger.warn("keywords option as map is deprecated, pass array");for(const P in N){const I=N[P];I.keyword||(I.keyword=P),this.addKeyword(I)}}function F(){const N={...this.opts};for(const P of g)delete N[P];return N}const z={log(){},warn(){},error(){}};function V(N){if(N===!1)return z;if(N===void 0)return console;if(N.log&&N.warn&&N.error)return N;throw new Error("logger must implement log, warn and error methods")}const q=/^[a-z_$][a-z0-9_$:-]*$/i;function G(N,P){const{RULES:I}=this;if((0,l.eachItem)(N,R=>{if(I.keywords[R])throw new Error(`Keyword ${R} is already defined`);if(!q.test(R))throw new Error(`Keyword ${R} has invalid name`)}),!!P&&P.$data&&!("code"in P||"validate"in P))throw new Error('$data keyword must have "code" or "validate" function')}function se(N,P,I){var R;const x=P==null?void 0:P.post;if(I&&x)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:E}=this;let T=x?E.post:E.rules.find(({type:W})=>W===I);if(T||(T={type:I,rules:[]},E.rules.push(T)),E.keywords[N]=!0,!P)return;const U={keyword:N,definition:{...P,type:(0,u.getJSONTypes)(P.type),schemaType:(0,u.getJSONTypes)(P.schemaType)}};P.before?K.call(this,T,U,P.before):T.rules.push(U),E.all[N]=U,(R=P.implements)===null||R===void 0||R.forEach(W=>this.addKeyword(W))}function K(N,P,I){const R=N.rules.findIndex(x=>x.keyword===I);R>=0?N.rules.splice(R,0,P):(N.rules.push(P),this.logger.warn(`rule ${I} is not defined`))}function J(N){let{metaSchema:P}=N;P!==void 0&&(N.$data&&this.opts.$data&&(P=X(P)),N.validateSchema=this.compile(P,!0))}const D={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function X(N){return{anyOf:[N,D]}}}(Tn)),Tn}var er={},tr={},rr={},cs;function jd(){if(cs)return rr;cs=1,Object.defineProperty(rr,"__esModule",{value:!0});const e={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};return rr.default=e,rr}var We={},ls;function Pd(){if(ls)return We;ls=1,Object.defineProperty(We,"__esModule",{value:!0}),We.callRef=We.getValidate=void 0;const e=bn(),t=Ne(),r=te(),n=Ye(),o=Lo(),i=ne(),s={keyword:"$ref",schemaType:"string",code(u){const{gen:l,schema:d,it:b}=u,{baseId:v,schemaEnv:g,validateName:h,opts:p,self:m}=b,{root:f}=g;if((d==="#"||d==="#/")&&v===f.baseId)return $();const y=o.resolveRef.call(m,f,v,d);if(y===void 0)throw new e.default(b.opts.uriResolver,v,d);if(y instanceof o.SchemaEnv)return k(y);return _(y);function $(){if(g===f)return c(u,h,g,g.$async);const w=l.scopeValue("root",{ref:f});return c(u,(0,r._)`${w}.validate`,f,f.$async)}function k(w){const S=a(u,w);c(u,S,w,w.$async)}function _(w){const S=l.scopeValue("schema",p.code.source===!0?{ref:w,code:(0,r.stringify)(w)}:{ref:w}),O=l.name("valid"),F=u.subschema({schema:w,dataTypes:[],schemaPath:r.nil,topSchemaRef:S,errSchemaPath:d},O);u.mergeEvaluated(F),u.ok(O)}}};function a(u,l){const{gen:d}=u;return l.validate?d.scopeValue("validate",{ref:l.validate}):(0,r._)`${d.scopeValue("wrapper",{ref:l})}.validate`}We.getValidate=a;function c(u,l,d,b){const{gen:v,it:g}=u,{allErrors:h,schemaEnv:p,opts:m}=g,f=m.passContext?n.default.this:r.nil;b?y():$();function y(){if(!p.$async)throw new Error("async schema referenced by sync schema");const w=v.let("valid");v.try(()=>{v.code((0,r._)`await ${(0,t.callValidateCode)(u,l,f)}`),_(l),h||v.assign(w,!0)},S=>{v.if((0,r._)`!(${S} instanceof ${g.ValidationError})`,()=>v.throw(S)),k(S),h||v.assign(w,!1)}),u.ok(w)}function $(){u.result((0,t.callValidateCode)(u,l,f),()=>_(l),()=>k(l))}function k(w){const S=(0,r._)`${w}.errors`;v.assign(n.default.vErrors,(0,r._)`${n.default.vErrors} === null ? ${S} : ${n.default.vErrors}.concat(${S})`),v.assign(n.default.errors,(0,r._)`${n.default.vErrors}.length`)}function _(w){var S;if(!g.opts.unevaluated)return;const O=(S=d==null?void 0:d.validate)===null||S===void 0?void 0:S.evaluated;if(g.props!==!0)if(O&&!O.dynamicProps)O.props!==void 0&&(g.props=i.mergeEvaluated.props(v,O.props,g.props));else{const F=v.var("props",(0,r._)`${w}.evaluated.props`);g.props=i.mergeEvaluated.props(v,F,g.props,r.Name)}if(g.items!==!0)if(O&&!O.dynamicItems)O.items!==void 0&&(g.items=i.mergeEvaluated.items(v,O.items,g.items));else{const F=v.var("items",(0,r._)`${w}.evaluated.items`);g.items=i.mergeEvaluated.items(v,F,g.items,r.Name)}}}return We.callRef=c,We.default=s,We}var us;function Od(){if(us)return tr;us=1,Object.defineProperty(tr,"__esModule",{value:!0});const e=jd(),t=Pd(),r=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",e.default,t.default];return tr.default=r,tr}var nr={},or={},fs;function Rd(){if(fs)return or;fs=1,Object.defineProperty(or,"__esModule",{value:!0});const e=te(),t=e.operators,r={maximum:{okStr:"<=",ok:t.LTE,fail:t.GT},minimum:{okStr:">=",ok:t.GTE,fail:t.LT},exclusiveMaximum:{okStr:"<",ok:t.LT,fail:t.GTE},exclusiveMinimum:{okStr:">",ok:t.GT,fail:t.LTE}},n={message:({keyword:i,schemaCode:s})=>(0,e.str)`must be ${r[i].okStr} ${s}`,params:({keyword:i,schemaCode:s})=>(0,e._)`{comparison: ${r[i].okStr}, limit: ${s}}`},o={keyword:Object.keys(r),type:"number",schemaType:"number",$data:!0,error:n,code(i){const{keyword:s,data:a,schemaCode:c}=i;i.fail$data((0,e._)`${a} ${r[s].fail} ${c} || isNaN(${a})`)}};return or.default=o,or}var ir={},ds;function Ad(){if(ds)return ir;ds=1,Object.defineProperty(ir,"__esModule",{value:!0});const e=te(),r={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:n})=>(0,e.str)`must be multiple of ${n}`,params:({schemaCode:n})=>(0,e._)`{multipleOf: ${n}}`},code(n){const{gen:o,data:i,schemaCode:s,it:a}=n,c=a.opts.multipleOfPrecision,u=o.let("res"),l=c?(0,e._)`Math.abs(Math.round(${u}) - ${u}) > 1e-${c}`:(0,e._)`${u} !== parseInt(${u})`;n.fail$data((0,e._)`(${s} === 0 || (${u} = ${i}/${s}, ${l}))`)}};return ir.default=r,ir}var sr={},ar={},ps;function Td(){if(ps)return ar;ps=1,Object.defineProperty(ar,"__esModule",{value:!0});function e(t){const r=t.length;let n=0,o=0,i;for(;o<r;)n++,i=t.charCodeAt(o++),i>=55296&&i<=56319&&o<r&&(i=t.charCodeAt(o),(i&64512)===56320&&o++);return n}return ar.default=e,e.code='require("ajv/dist/runtime/ucs2length").default',ar}var hs;function Nd(){if(hs)return sr;hs=1,Object.defineProperty(sr,"__esModule",{value:!0});const e=te(),t=ne(),r=Td(),o={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message({keyword:i,schemaCode:s}){const a=i==="maxLength"?"more":"fewer";return(0,e.str)`must NOT have ${a} than ${s} characters`},params:({schemaCode:i})=>(0,e._)`{limit: ${i}}`},code(i){const{keyword:s,data:a,schemaCode:c,it:u}=i,l=s==="maxLength"?e.operators.GT:e.operators.LT,d=u.opts.unicode===!1?(0,e._)`${a}.length`:(0,e._)`${(0,t.useFunc)(i.gen,r.default)}(${a})`;i.fail$data((0,e._)`${d} ${l} ${c}`)}};return sr.default=o,sr}var cr={},ms;function Id(){if(ms)return cr;ms=1,Object.defineProperty(cr,"__esModule",{value:!0});const e=Ne(),t=te(),n={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:o})=>(0,t.str)`must match pattern "${o}"`,params:({schemaCode:o})=>(0,t._)`{pattern: ${o}}`},code(o){const{data:i,$data:s,schema:a,schemaCode:c,it:u}=o,l=u.opts.unicodeRegExp?"u":"",d=s?(0,t._)`(new RegExp(${c}, ${l}))`:(0,e.usePattern)(o,a);o.fail$data((0,t._)`!${d}.test(${i})`)}};return cr.default=n,cr}var lr={},gs;function Md(){if(gs)return lr;gs=1,Object.defineProperty(lr,"__esModule",{value:!0});const e=te(),r={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:n,schemaCode:o}){const i=n==="maxProperties"?"more":"fewer";return(0,e.str)`must NOT have ${i} than ${o} properties`},params:({schemaCode:n})=>(0,e._)`{limit: ${n}}`},code(n){const{keyword:o,data:i,schemaCode:s}=n,a=o==="maxProperties"?e.operators.GT:e.operators.LT;n.fail$data((0,e._)`Object.keys(${i}).length ${a} ${s}`)}};return lr.default=r,lr}var ur={},ys;function Fd(){if(ys)return ur;ys=1,Object.defineProperty(ur,"__esModule",{value:!0});const e=Ne(),t=te(),r=ne(),o={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:i}})=>(0,t.str)`must have required property '${i}'`,params:({params:{missingProperty:i}})=>(0,t._)`{missingProperty: ${i}}`},code(i){const{gen:s,schema:a,schemaCode:c,data:u,$data:l,it:d}=i,{opts:b}=d;if(!l&&a.length===0)return;const v=a.length>=b.loopRequired;if(d.allErrors?g():h(),b.strictRequired){const f=i.parentSchema.properties,{definedProperties:y}=i.it;for(const $ of a)if((f==null?void 0:f[$])===void 0&&!y.has($)){const k=d.schemaEnv.baseId+d.errSchemaPath,_=`required property "${$}" is not defined at "${k}" (strictRequired)`;(0,r.checkStrictMode)(d,_,d.opts.strictRequired)}}function g(){if(v||l)i.block$data(t.nil,p);else for(const f of a)(0,e.checkReportMissingProp)(i,f)}function h(){const f=s.let("missing");if(v||l){const y=s.let("valid",!0);i.block$data(y,()=>m(f,y)),i.ok(y)}else s.if((0,e.checkMissingProp)(i,a,f)),(0,e.reportMissingProp)(i,f),s.else()}function p(){s.forOf("prop",c,f=>{i.setParams({missingProperty:f}),s.if((0,e.noPropertyInData)(s,u,f,b.ownProperties),()=>i.error())})}function m(f,y){i.setParams({missingProperty:f}),s.forOf(f,c,()=>{s.assign(y,(0,e.propertyInData)(s,u,f,b.ownProperties)),s.if((0,t.not)(y),()=>{i.error(),s.break()})},t.nil)}}};return ur.default=o,ur}var fr={},bs;function zd(){if(bs)return fr;bs=1,Object.defineProperty(fr,"__esModule",{value:!0});const e=te(),r={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:n,schemaCode:o}){const i=n==="maxItems"?"more":"fewer";return(0,e.str)`must NOT have ${i} than ${o} items`},params:({schemaCode:n})=>(0,e._)`{limit: ${n}}`},code(n){const{keyword:o,data:i,schemaCode:s}=n,a=o==="maxItems"?e.operators.GT:e.operators.LT;n.fail$data((0,e._)`${i}.length ${a} ${s}`)}};return fr.default=r,fr}var dr={},pr={},vs;function Do(){if(vs)return pr;vs=1,Object.defineProperty(pr,"__esModule",{value:!0});const e=jc();return e.code='require("ajv/dist/runtime/equal").default',pr.default=e,pr}var $s;function Ld(){if($s)return dr;$s=1,Object.defineProperty(dr,"__esModule",{value:!0});const e=Zr(),t=te(),r=ne(),n=Do(),i={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:s,j:a}})=>(0,t.str)`must NOT have duplicate items (items ## ${a} and ${s} are identical)`,params:({params:{i:s,j:a}})=>(0,t._)`{i: ${s}, j: ${a}}`},code(s){const{gen:a,data:c,$data:u,schema:l,parentSchema:d,schemaCode:b,it:v}=s;if(!u&&!l)return;const g=a.let("valid"),h=d.items?(0,e.getSchemaTypes)(d.items):[];s.block$data(g,p,(0,t._)`${b} === false`),s.ok(g);function p(){const $=a.let("i",(0,t._)`${c}.length`),k=a.let("j");s.setParams({i:$,j:k}),a.assign(g,!0),a.if((0,t._)`${$} > 1`,()=>(m()?f:y)($,k))}function m(){return h.length>0&&!h.some($=>$==="object"||$==="array")}function f($,k){const _=a.name("item"),w=(0,e.checkDataTypes)(h,_,v.opts.strictNumbers,e.DataType.Wrong),S=a.const("indices",(0,t._)`{}`);a.for((0,t._)`;${$}--;`,()=>{a.let(_,(0,t._)`${c}[${$}]`),a.if(w,(0,t._)`continue`),h.length>1&&a.if((0,t._)`typeof ${_} == "string"`,(0,t._)`${_} += "_"`),a.if((0,t._)`typeof ${S}[${_}] == "number"`,()=>{a.assign(k,(0,t._)`${S}[${_}]`),s.error(),a.assign(g,!1).break()}).code((0,t._)`${S}[${_}] = ${$}`)})}function y($,k){const _=(0,r.useFunc)(a,n.default),w=a.name("outer");a.label(w).for((0,t._)`;${$}--;`,()=>a.for((0,t._)`${k} = ${$}; ${k}--;`,()=>a.if((0,t._)`${_}(${c}[${$}], ${c}[${k}])`,()=>{s.error(),a.assign(g,!1).break(w)})))}}};return dr.default=i,dr}var hr={},ws;function Dd(){if(ws)return hr;ws=1,Object.defineProperty(hr,"__esModule",{value:!0});const e=te(),t=ne(),r=Do(),o={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:i})=>(0,e._)`{allowedValue: ${i}}`},code(i){const{gen:s,data:a,$data:c,schemaCode:u,schema:l}=i;c||l&&typeof l=="object"?i.fail$data((0,e._)`!${(0,t.useFunc)(s,r.default)}(${a}, ${u})`):i.fail((0,e._)`${l} !== ${a}`)}};return hr.default=o,hr}var mr={},ks;function qd(){if(ks)return mr;ks=1,Object.defineProperty(mr,"__esModule",{value:!0});const e=te(),t=ne(),r=Do(),o={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:i})=>(0,e._)`{allowedValues: ${i}}`},code(i){const{gen:s,data:a,$data:c,schema:u,schemaCode:l,it:d}=i;if(!c&&u.length===0)throw new Error("enum must have non-empty array");const b=u.length>=d.opts.loopEnum;let v;const g=()=>v??(v=(0,t.useFunc)(s,r.default));let h;if(b||c)h=s.let("valid"),i.block$data(h,p);else{if(!Array.isArray(u))throw new Error("ajv implementation error");const f=s.const("vSchema",l);h=(0,e.or)(...u.map((y,$)=>m(f,$)))}i.pass(h);function p(){s.assign(h,!1),s.forOf("v",l,f=>s.if((0,e._)`${g()}(${a}, ${f})`,()=>s.assign(h,!0).break()))}function m(f,y){const $=u[y];return typeof $=="object"&&$!==null?(0,e._)`${g()}(${a}, ${f}[${y}])`:(0,e._)`${a} === ${$}`}}};return mr.default=o,mr}var _s;function Vd(){if(_s)return nr;_s=1,Object.defineProperty(nr,"__esModule",{value:!0});const e=Rd(),t=Ad(),r=Nd(),n=Id(),o=Md(),i=Fd(),s=zd(),a=Ld(),c=Dd(),u=qd(),l=[e.default,t.default,r.default,n.default,o.default,i.default,s.default,a.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},c.default,u.default];return nr.default=l,nr}var gr={},lt={},xs;function Pc(){if(xs)return lt;xs=1,Object.defineProperty(lt,"__esModule",{value:!0}),lt.validateAdditionalItems=void 0;const e=te(),t=ne(),n={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:i}})=>(0,e.str)`must NOT have more than ${i} items`,params:({params:{len:i}})=>(0,e._)`{limit: ${i}}`},code(i){const{parentSchema:s,it:a}=i,{items:c}=s;if(!Array.isArray(c)){(0,t.checkStrictMode)(a,'"additionalItems" is ignored when "items" is not an array of schemas');return}o(i,c)}};function o(i,s){const{gen:a,schema:c,data:u,keyword:l,it:d}=i;d.items=!0;const b=a.const("len",(0,e._)`${u}.length`);if(c===!1)i.setParams({len:s.length}),i.pass((0,e._)`${b} <= ${s.length}`);else if(typeof c=="object"&&!(0,t.alwaysValidSchema)(d,c)){const g=a.var("valid",(0,e._)`${b} <= ${s.length}`);a.if((0,e.not)(g),()=>v(g)),i.ok(g)}function v(g){a.forRange("i",s.length,b,h=>{i.subschema({keyword:l,dataProp:h,dataPropType:t.Type.Num},g),d.allErrors||a.if((0,e.not)(g),()=>a.break())})}}return lt.validateAdditionalItems=o,lt.default=n,lt}var yr={},ut={},Ss;function Oc(){if(Ss)return ut;Ss=1,Object.defineProperty(ut,"__esModule",{value:!0}),ut.validateTuple=void 0;const e=te(),t=ne(),r=Ne(),n={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(i){const{schema:s,it:a}=i;if(Array.isArray(s))return o(i,"additionalItems",s);a.items=!0,!(0,t.alwaysValidSchema)(a,s)&&i.ok((0,r.validateArray)(i))}};function o(i,s,a=i.schema){const{gen:c,parentSchema:u,data:l,keyword:d,it:b}=i;h(u),b.opts.unevaluated&&a.length&&b.items!==!0&&(b.items=t.mergeEvaluated.items(c,a.length,b.items));const v=c.name("valid"),g=c.const("len",(0,e._)`${l}.length`);a.forEach((p,m)=>{(0,t.alwaysValidSchema)(b,p)||(c.if((0,e._)`${g} > ${m}`,()=>i.subschema({keyword:d,schemaProp:m,dataProp:m},v)),i.ok(v))});function h(p){const{opts:m,errSchemaPath:f}=b,y=a.length,$=y===p.minItems&&(y===p.maxItems||p[s]===!1);if(m.strictTuples&&!$){const k=`"${d}" is ${y}-tuple, but minItems or maxItems/${s} are not specified or different at path "${f}"`;(0,t.checkStrictMode)(b,k,m.strictTuples)}}}return ut.validateTuple=o,ut.default=n,ut}var Es;function Ud(){if(Es)return yr;Es=1,Object.defineProperty(yr,"__esModule",{value:!0});const e=Oc(),t={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:r=>(0,e.validateTuple)(r,"items")};return yr.default=t,yr}var br={},Cs;function Hd(){if(Cs)return br;Cs=1,Object.defineProperty(br,"__esModule",{value:!0});const e=te(),t=ne(),r=Ne(),n=Pc(),i={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:s}})=>(0,e.str)`must NOT have more than ${s} items`,params:({params:{len:s}})=>(0,e._)`{limit: ${s}}`},code(s){const{schema:a,parentSchema:c,it:u}=s,{prefixItems:l}=c;u.items=!0,!(0,t.alwaysValidSchema)(u,a)&&(l?(0,n.validateAdditionalItems)(s,l):s.ok((0,r.validateArray)(s)))}};return br.default=i,br}var vr={},js;function Wd(){if(js)return vr;js=1,Object.defineProperty(vr,"__esModule",{value:!0});const e=te(),t=ne(),n={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:o,max:i}})=>i===void 0?(0,e.str)`must contain at least ${o} valid item(s)`:(0,e.str)`must contain at least ${o} and no more than ${i} valid item(s)`,params:({params:{min:o,max:i}})=>i===void 0?(0,e._)`{minContains: ${o}}`:(0,e._)`{minContains: ${o}, maxContains: ${i}}`},code(o){const{gen:i,schema:s,parentSchema:a,data:c,it:u}=o;let l,d;const{minContains:b,maxContains:v}=a;u.opts.next?(l=b===void 0?1:b,d=v):l=1;const g=i.const("len",(0,e._)`${c}.length`);if(o.setParams({min:l,max:d}),d===void 0&&l===0){(0,t.checkStrictMode)(u,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(d!==void 0&&l>d){(0,t.checkStrictMode)(u,'"minContains" > "maxContains" is always invalid'),o.fail();return}if((0,t.alwaysValidSchema)(u,s)){let y=(0,e._)`${g} >= ${l}`;d!==void 0&&(y=(0,e._)`${y} && ${g} <= ${d}`),o.pass(y);return}u.items=!0;const h=i.name("valid");d===void 0&&l===1?m(h,()=>i.if(h,()=>i.break())):l===0?(i.let(h,!0),d!==void 0&&i.if((0,e._)`${c}.length > 0`,p)):(i.let(h,!1),p()),o.result(h,()=>o.reset());function p(){const y=i.name("_valid"),$=i.let("count",0);m(y,()=>i.if(y,()=>f($)))}function m(y,$){i.forRange("i",0,g,k=>{o.subschema({keyword:"contains",dataProp:k,dataPropType:t.Type.Num,compositeRule:!0},y),$()})}function f(y){i.code((0,e._)`${y}++`),d===void 0?i.if((0,e._)`${y} >= ${l}`,()=>i.assign(h,!0).break()):(i.if((0,e._)`${y} > ${d}`,()=>i.assign(h,!1).break()),l===1?i.assign(h,!0):i.if((0,e._)`${y} >= ${l}`,()=>i.assign(h,!0)))}}};return vr.default=n,vr}var Un={},Ps;function Kd(){return Ps||(Ps=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.validateSchemaDeps=e.validatePropertyDeps=e.error=void 0;const t=te(),r=ne(),n=Ne();e.error={message:({params:{property:c,depsCount:u,deps:l}})=>{const d=u===1?"property":"properties";return(0,t.str)`must have ${d} ${l} when property ${c} is present`},params:({params:{property:c,depsCount:u,deps:l,missingProperty:d}})=>(0,t._)`{property: ${c},
14
+ missingProperty: ${d},
15
+ depsCount: ${u},
16
+ deps: ${l}}`};const o={keyword:"dependencies",type:"object",schemaType:"object",error:e.error,code(c){const[u,l]=i(c);s(c,u),a(c,l)}};function i({schema:c}){const u={},l={};for(const d in c){if(d==="__proto__")continue;const b=Array.isArray(c[d])?u:l;b[d]=c[d]}return[u,l]}function s(c,u=c.schema){const{gen:l,data:d,it:b}=c;if(Object.keys(u).length===0)return;const v=l.let("missing");for(const g in u){const h=u[g];if(h.length===0)continue;const p=(0,n.propertyInData)(l,d,g,b.opts.ownProperties);c.setParams({property:g,depsCount:h.length,deps:h.join(", ")}),b.allErrors?l.if(p,()=>{for(const m of h)(0,n.checkReportMissingProp)(c,m)}):(l.if((0,t._)`${p} && (${(0,n.checkMissingProp)(c,h,v)})`),(0,n.reportMissingProp)(c,v),l.else())}}e.validatePropertyDeps=s;function a(c,u=c.schema){const{gen:l,data:d,keyword:b,it:v}=c,g=l.name("valid");for(const h in u)(0,r.alwaysValidSchema)(v,u[h])||(l.if((0,n.propertyInData)(l,d,h,v.opts.ownProperties),()=>{const p=c.subschema({keyword:b,schemaProp:h},g);c.mergeValidEvaluated(p,g)},()=>l.var(g,!0)),c.ok(g))}e.validateSchemaDeps=a,e.default=o}(Un)),Un}var $r={},Os;function Bd(){if(Os)return $r;Os=1,Object.defineProperty($r,"__esModule",{value:!0});const e=te(),t=ne(),n={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:o})=>(0,e._)`{propertyName: ${o.propertyName}}`},code(o){const{gen:i,schema:s,data:a,it:c}=o;if((0,t.alwaysValidSchema)(c,s))return;const u=i.name("valid");i.forIn("key",a,l=>{o.setParams({propertyName:l}),o.subschema({keyword:"propertyNames",data:l,dataTypes:["string"],propertyName:l,compositeRule:!0},u),i.if((0,e.not)(u),()=>{o.error(!0),c.allErrors||i.break()})}),o.ok(u)}};return $r.default=n,$r}var wr={},Rs;function Rc(){if(Rs)return wr;Rs=1,Object.defineProperty(wr,"__esModule",{value:!0});const e=Ne(),t=te(),r=Ye(),n=ne(),i={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:s})=>(0,t._)`{additionalProperty: ${s.additionalProperty}}`},code(s){const{gen:a,schema:c,parentSchema:u,data:l,errsCount:d,it:b}=s;if(!d)throw new Error("ajv implementation error");const{allErrors:v,opts:g}=b;if(b.props=!0,g.removeAdditional!=="all"&&(0,n.alwaysValidSchema)(b,c))return;const h=(0,e.allSchemaProperties)(u.properties),p=(0,e.allSchemaProperties)(u.patternProperties);m(),s.ok((0,t._)`${d} === ${r.default.errors}`);function m(){a.forIn("key",l,_=>{!h.length&&!p.length?$(_):a.if(f(_),()=>$(_))})}function f(_){let w;if(h.length>8){const S=(0,n.schemaRefOrVal)(b,u.properties,"properties");w=(0,e.isOwnProperty)(a,S,_)}else h.length?w=(0,t.or)(...h.map(S=>(0,t._)`${_} === ${S}`)):w=t.nil;return p.length&&(w=(0,t.or)(w,...p.map(S=>(0,t._)`${(0,e.usePattern)(s,S)}.test(${_})`))),(0,t.not)(w)}function y(_){a.code((0,t._)`delete ${l}[${_}]`)}function $(_){if(g.removeAdditional==="all"||g.removeAdditional&&c===!1){y(_);return}if(c===!1){s.setParams({additionalProperty:_}),s.error(),v||a.break();return}if(typeof c=="object"&&!(0,n.alwaysValidSchema)(b,c)){const w=a.name("valid");g.removeAdditional==="failing"?(k(_,w,!1),a.if((0,t.not)(w),()=>{s.reset(),y(_)})):(k(_,w),v||a.if((0,t.not)(w),()=>a.break()))}}function k(_,w,S){const O={keyword:"additionalProperties",dataProp:_,dataPropType:n.Type.Str};S===!1&&Object.assign(O,{compositeRule:!0,createErrors:!1,allErrors:!1}),s.subschema(O,w)}}};return wr.default=i,wr}var kr={},As;function Gd(){if(As)return kr;As=1,Object.defineProperty(kr,"__esModule",{value:!0});const e=yn(),t=Ne(),r=ne(),n=Rc(),o={keyword:"properties",type:"object",schemaType:"object",code(i){const{gen:s,schema:a,parentSchema:c,data:u,it:l}=i;l.opts.removeAdditional==="all"&&c.additionalProperties===void 0&&n.default.code(new e.KeywordCxt(l,n.default,"additionalProperties"));const d=(0,t.allSchemaProperties)(a);for(const p of d)l.definedProperties.add(p);l.opts.unevaluated&&d.length&&l.props!==!0&&(l.props=r.mergeEvaluated.props(s,(0,r.toHash)(d),l.props));const b=d.filter(p=>!(0,r.alwaysValidSchema)(l,a[p]));if(b.length===0)return;const v=s.name("valid");for(const p of b)g(p)?h(p):(s.if((0,t.propertyInData)(s,u,p,l.opts.ownProperties)),h(p),l.allErrors||s.else().var(v,!0),s.endIf()),i.it.definedProperties.add(p),i.ok(v);function g(p){return l.opts.useDefaults&&!l.compositeRule&&a[p].default!==void 0}function h(p){i.subschema({keyword:"properties",schemaProp:p,dataProp:p},v)}}};return kr.default=o,kr}var _r={},Ts;function Jd(){if(Ts)return _r;Ts=1,Object.defineProperty(_r,"__esModule",{value:!0});const e=Ne(),t=te(),r=ne(),n=ne(),o={keyword:"patternProperties",type:"object",schemaType:"object",code(i){const{gen:s,schema:a,data:c,parentSchema:u,it:l}=i,{opts:d}=l,b=(0,e.allSchemaProperties)(a),v=b.filter($=>(0,r.alwaysValidSchema)(l,a[$]));if(b.length===0||v.length===b.length&&(!l.opts.unevaluated||l.props===!0))return;const g=d.strictSchema&&!d.allowMatchingProperties&&u.properties,h=s.name("valid");l.props!==!0&&!(l.props instanceof t.Name)&&(l.props=(0,n.evaluatedPropsToName)(s,l.props));const{props:p}=l;m();function m(){for(const $ of b)g&&f($),l.allErrors?y($):(s.var(h,!0),y($),s.if(h))}function f($){for(const k in g)new RegExp($).test(k)&&(0,r.checkStrictMode)(l,`property ${k} matches pattern ${$} (use allowMatchingProperties)`)}function y($){s.forIn("key",c,k=>{s.if((0,t._)`${(0,e.usePattern)(i,$)}.test(${k})`,()=>{const _=v.includes($);_||i.subschema({keyword:"patternProperties",schemaProp:$,dataProp:k,dataPropType:n.Type.Str},h),l.opts.unevaluated&&p!==!0?s.assign((0,t._)`${p}[${k}]`,!0):!_&&!l.allErrors&&s.if((0,t.not)(h),()=>s.break())})})}}};return _r.default=o,_r}var xr={},Ns;function Xd(){if(Ns)return xr;Ns=1,Object.defineProperty(xr,"__esModule",{value:!0});const e=ne(),t={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(r){const{gen:n,schema:o,it:i}=r;if((0,e.alwaysValidSchema)(i,o)){r.fail();return}const s=n.name("valid");r.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},s),r.failResult(s,()=>r.reset(),()=>r.error())},error:{message:"must NOT be valid"}};return xr.default=t,xr}var Sr={},Is;function Yd(){if(Is)return Sr;Is=1,Object.defineProperty(Sr,"__esModule",{value:!0});const t={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:Ne().validateUnion,error:{message:"must match a schema in anyOf"}};return Sr.default=t,Sr}var Er={},Ms;function Qd(){if(Ms)return Er;Ms=1,Object.defineProperty(Er,"__esModule",{value:!0});const e=te(),t=ne(),n={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:o})=>(0,e._)`{passingSchemas: ${o.passing}}`},code(o){const{gen:i,schema:s,parentSchema:a,it:c}=o;if(!Array.isArray(s))throw new Error("ajv implementation error");if(c.opts.discriminator&&a.discriminator)return;const u=s,l=i.let("valid",!1),d=i.let("passing",null),b=i.name("_valid");o.setParams({passing:d}),i.block(v),o.result(l,()=>o.reset(),()=>o.error(!0));function v(){u.forEach((g,h)=>{let p;(0,t.alwaysValidSchema)(c,g)?i.var(b,!0):p=o.subschema({keyword:"oneOf",schemaProp:h,compositeRule:!0},b),h>0&&i.if((0,e._)`${b} && ${l}`).assign(l,!1).assign(d,(0,e._)`[${d}, ${h}]`).else(),i.if(b,()=>{i.assign(l,!0),i.assign(d,h),p&&o.mergeEvaluated(p,e.Name)})})}}};return Er.default=n,Er}var Cr={},Fs;function Zd(){if(Fs)return Cr;Fs=1,Object.defineProperty(Cr,"__esModule",{value:!0});const e=ne(),t={keyword:"allOf",schemaType:"array",code(r){const{gen:n,schema:o,it:i}=r;if(!Array.isArray(o))throw new Error("ajv implementation error");const s=n.name("valid");o.forEach((a,c)=>{if((0,e.alwaysValidSchema)(i,a))return;const u=r.subschema({keyword:"allOf",schemaProp:c},s);r.ok(s),r.mergeEvaluated(u)})}};return Cr.default=t,Cr}var jr={},zs;function ep(){if(zs)return jr;zs=1,Object.defineProperty(jr,"__esModule",{value:!0});const e=te(),t=ne(),n={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:i})=>(0,e.str)`must match "${i.ifClause}" schema`,params:({params:i})=>(0,e._)`{failingKeyword: ${i.ifClause}}`},code(i){const{gen:s,parentSchema:a,it:c}=i;a.then===void 0&&a.else===void 0&&(0,t.checkStrictMode)(c,'"if" without "then" and "else" is ignored');const u=o(c,"then"),l=o(c,"else");if(!u&&!l)return;const d=s.let("valid",!0),b=s.name("_valid");if(v(),i.reset(),u&&l){const h=s.let("ifClause");i.setParams({ifClause:h}),s.if(b,g("then",h),g("else",h))}else u?s.if(b,g("then")):s.if((0,e.not)(b),g("else"));i.pass(d,()=>i.error(!0));function v(){const h=i.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},b);i.mergeEvaluated(h)}function g(h,p){return()=>{const m=i.subschema({keyword:h},b);s.assign(d,b),i.mergeValidEvaluated(m,d),p?s.assign(p,(0,e._)`${h}`):i.setParams({ifClause:h})}}}};function o(i,s){const a=i.schema[s];return a!==void 0&&!(0,t.alwaysValidSchema)(i,a)}return jr.default=n,jr}var Pr={},Ls;function tp(){if(Ls)return Pr;Ls=1,Object.defineProperty(Pr,"__esModule",{value:!0});const e=ne(),t={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:r,parentSchema:n,it:o}){n.if===void 0&&(0,e.checkStrictMode)(o,`"${r}" without "if" is ignored`)}};return Pr.default=t,Pr}var Ds;function rp(){if(Ds)return gr;Ds=1,Object.defineProperty(gr,"__esModule",{value:!0});const e=Pc(),t=Ud(),r=Oc(),n=Hd(),o=Wd(),i=Kd(),s=Bd(),a=Rc(),c=Gd(),u=Jd(),l=Xd(),d=Yd(),b=Qd(),v=Zd(),g=ep(),h=tp();function p(m=!1){const f=[l.default,d.default,b.default,v.default,g.default,h.default,s.default,a.default,i.default,c.default,u.default];return m?f.push(t.default,n.default):f.push(e.default,r.default),f.push(o.default),f}return gr.default=p,gr}var Or={},Rr={},qs;function np(){if(qs)return Rr;qs=1,Object.defineProperty(Rr,"__esModule",{value:!0});const e=te(),r={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:n})=>(0,e.str)`must match format "${n}"`,params:({schemaCode:n})=>(0,e._)`{format: ${n}}`},code(n,o){const{gen:i,data:s,$data:a,schema:c,schemaCode:u,it:l}=n,{opts:d,errSchemaPath:b,schemaEnv:v,self:g}=l;if(!d.validateFormats)return;a?h():p();function h(){const m=i.scopeValue("formats",{ref:g.formats,code:d.code.formats}),f=i.const("fDef",(0,e._)`${m}[${u}]`),y=i.let("fType"),$=i.let("format");i.if((0,e._)`typeof ${f} == "object" && !(${f} instanceof RegExp)`,()=>i.assign(y,(0,e._)`${f}.type || "string"`).assign($,(0,e._)`${f}.validate`),()=>i.assign(y,(0,e._)`"string"`).assign($,f)),n.fail$data((0,e.or)(k(),_()));function k(){return d.strictSchema===!1?e.nil:(0,e._)`${u} && !${$}`}function _(){const w=v.$async?(0,e._)`(${f}.async ? await ${$}(${s}) : ${$}(${s}))`:(0,e._)`${$}(${s})`,S=(0,e._)`(typeof ${$} == "function" ? ${w} : ${$}.test(${s}))`;return(0,e._)`${$} && ${$} !== true && ${y} === ${o} && !${S}`}}function p(){const m=g.formats[c];if(!m){k();return}if(m===!0)return;const[f,y,$]=_(m);f===o&&n.pass(w());function k(){if(d.strictSchema===!1){g.logger.warn(S());return}throw new Error(S());function S(){return`unknown format "${c}" ignored in schema at path "${b}"`}}function _(S){const O=S instanceof RegExp?(0,e.regexpCode)(S):d.code.formats?(0,e._)`${d.code.formats}${(0,e.getProperty)(c)}`:void 0,F=i.scopeValue("formats",{key:c,ref:S,code:O});return typeof S=="object"&&!(S instanceof RegExp)?[S.type||"string",S.validate,(0,e._)`${F}.validate`]:["string",S,F]}function w(){if(typeof m=="object"&&!(m instanceof RegExp)&&m.async){if(!v.$async)throw new Error("async format in sync schema");return(0,e._)`await ${$}(${s})`}return typeof y=="function"?(0,e._)`${$}(${s})`:(0,e._)`${$}.test(${s})`}}}};return Rr.default=r,Rr}var Vs;function op(){if(Vs)return Or;Vs=1,Object.defineProperty(Or,"__esModule",{value:!0});const t=[np().default];return Or.default=t,Or}var et={},Us;function ip(){return Us||(Us=1,Object.defineProperty(et,"__esModule",{value:!0}),et.contentVocabulary=et.metadataVocabulary=void 0,et.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],et.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]),et}var Hs;function sp(){if(Hs)return er;Hs=1,Object.defineProperty(er,"__esModule",{value:!0});const e=Od(),t=Vd(),r=rp(),n=op(),o=ip(),i=[e.default,t.default,(0,r.default)(),n.default,o.metadataVocabulary,o.contentVocabulary];return er.default=i,er}var Ar={},St={},Ws;function ap(){if(Ws)return St;Ws=1,Object.defineProperty(St,"__esModule",{value:!0}),St.DiscrError=void 0;var e;return function(t){t.Tag="tag",t.Mapping="mapping"}(e||(St.DiscrError=e={})),St}var Ks;function cp(){if(Ks)return Ar;Ks=1,Object.defineProperty(Ar,"__esModule",{value:!0});const e=te(),t=ap(),r=Lo(),n=bn(),o=ne(),s={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:a,tagName:c}})=>a===t.DiscrError.Tag?`tag "${c}" must be string`:`value of tag "${c}" must be in oneOf`,params:({params:{discrError:a,tag:c,tagName:u}})=>(0,e._)`{error: ${a}, tag: ${u}, tagValue: ${c}}`},code(a){const{gen:c,data:u,schema:l,parentSchema:d,it:b}=a,{oneOf:v}=d;if(!b.opts.discriminator)throw new Error("discriminator: requires discriminator option");const g=l.propertyName;if(typeof g!="string")throw new Error("discriminator: requires propertyName");if(l.mapping)throw new Error("discriminator: mapping is not supported");if(!v)throw new Error("discriminator: requires oneOf keyword");const h=c.let("valid",!1),p=c.const("tag",(0,e._)`${u}${(0,e.getProperty)(g)}`);c.if((0,e._)`typeof ${p} == "string"`,()=>m(),()=>a.error(!1,{discrError:t.DiscrError.Tag,tag:p,tagName:g})),a.ok(h);function m(){const $=y();c.if(!1);for(const k in $)c.elseIf((0,e._)`${p} === ${k}`),c.assign(h,f($[k]));c.else(),a.error(!1,{discrError:t.DiscrError.Mapping,tag:p,tagName:g}),c.endIf()}function f($){const k=c.name("valid"),_=a.subschema({keyword:"oneOf",schemaProp:$},k);return a.mergeEvaluated(_,e.Name),k}function y(){var $;const k={},_=S(d);let w=!0;for(let z=0;z<v.length;z++){let V=v[z];if(V!=null&&V.$ref&&!(0,o.schemaHasRulesButRef)(V,b.self.RULES)){const G=V.$ref;if(V=r.resolveRef.call(b.self,b.schemaEnv.root,b.baseId,G),V instanceof r.SchemaEnv&&(V=V.schema),V===void 0)throw new n.default(b.opts.uriResolver,b.baseId,G)}const q=($=V==null?void 0:V.properties)===null||$===void 0?void 0:$[g];if(typeof q!="object")throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${g}"`);w=w&&(_||S(V)),O(q,z)}if(!w)throw new Error(`discriminator: "${g}" must be required`);return k;function S({required:z}){return Array.isArray(z)&&z.includes(g)}function O(z,V){if(z.const)F(z.const,V);else if(z.enum)for(const q of z.enum)F(q,V);else throw new Error(`discriminator: "properties/${g}" must have "const" or "enum"`)}function F(z,V){if(typeof z!="string"||z in k)throw new Error(`discriminator: "${g}" values must be unique strings`);k[z]=V}}}};return Ar.default=s,Ar}const lp="http://json-schema.org/draft-07/schema#",up="http://json-schema.org/draft-07/schema#",fp="Core schema meta-schema",dp={schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},pp=["object","boolean"],hp={$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},mp={$schema:lp,$id:up,title:fp,definitions:dp,type:pp,properties:hp,default:!0};var Bs;function gp(){return Bs||(Bs=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv=void 0;const r=Cd(),n=sp(),o=cp(),i=mp,s=["/properties"],a="http://json-schema.org/draft-07/schema";class c extends r.default{_addVocabularies(){super._addVocabularies(),n.default.forEach(g=>this.addVocabulary(g)),this.opts.discriminator&&this.addKeyword(o.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const g=this.opts.$data?this.$dataMetaSchema(i,s):i;this.addMetaSchema(g,a,!1),this.refs["http://json-schema.org/schema"]=a}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(a)?a:void 0)}}t.Ajv=c,e.exports=t=c,e.exports.Ajv=c,Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var u=yn();Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return u.KeywordCxt}});var l=te();Object.defineProperty(t,"_",{enumerable:!0,get:function(){return l._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return l.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return l.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return l.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return l.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return l.CodeGen}});var d=zo();Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return d.default}});var b=bn();Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return b.default}})}(Jt,Jt.exports)),Jt.exports}var yp=gp();const bp=pn(yp);var Tr={exports:{}},Gs;function vp(){return Gs||(Gs=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const r={},n={timestamp:()=>()=>Date.now(),datetime:()=>()=>new Date().toISOString(),date:()=>()=>new Date().toISOString().slice(0,10),time:()=>()=>new Date().toISOString().slice(11),random:()=>()=>Math.random(),randomint:l=>{var d;const b=(d=l==null?void 0:l.max)!==null&&d!==void 0?d:2;return()=>Math.floor(Math.random()*b)},seq:l=>{var d;const b=(d=l==null?void 0:l.name)!==null&&d!==void 0?d:"";return r[b]||(r[b]=0),()=>r[b]++}},o=Object.assign(i,{DEFAULTS:n});function i(){return{keyword:"dynamicDefaults",type:"object",schemaType:["string","object"],modifying:!0,valid:!0,compile(l,d,b){if(!b.opts.useDefaults||b.compositeRule)return()=>!0;const v={};for(const h in l)v[h]=s(l[h]);const g=b.opts.useDefaults==="empty";return h=>{for(const p in l)(h[p]===void 0||g&&(h[p]===null||h[p]===""))&&(h[p]=v[p]());return!0}},metaSchema:{type:"object",additionalProperties:{anyOf:[{type:"string"},{type:"object",additionalProperties:!1,required:["func","args"],properties:{func:{type:"string"},args:{type:"object"}}}]}}}}function s(l){return typeof l=="object"?a(l):c(l)}function a({func:l,args:d}){const b=n[l];return u(l,b),b(d)}function c(l=""){const d=n[l];return u(l,d),d()}function u(l,d){if(!d)throw new Error(`invalid "dynamicDefaults" keyword property value: ${l}`)}t.default=o,e.exports=o}(Tr,Tr.exports)),Tr.exports}var $p=vp();const Ac=pn($p),wp={$id:"urn:jsonschema:credentials",additionalProperties:{properties:{accessKeyId:{default:null,nullable:!0,type:"string"},Bucket:{default:null,nullable:!0,type:"string"},endpoint:{default:null,nullable:!0,type:"string"},region:{default:null,nullable:!0,type:"string"},secretAccessKey:{default:null,nullable:!0,type:"string"}},type:"object"},type:"object"},kp={$id:"urn:jsonschema:data",items:{$ref:"urn:jsonschema:page"},type:"array"},_p={$id:"urn:jsonschema:importmap",additionalProperties:!1,properties:{imports:{additionalProperties:{type:"string"},default:{},type:"object"}},type:"object"},xp={$id:"urn:jsonschema:page",additionalProperties:!1,dynamicDefaults:{id:"uuid"},properties:{changefreq:{default:null,enum:["always","hourly","daily","weekly","monthly","yearly","never",null],nullable:!0,type:"string"},children:{default:[],items:{type:"object"},type:"array"},class:{default:["prose","max-w-none"],description:"Классы",items:{type:"string"},type:"array"},description:{default:null,nullable:!0,type:"string"},enabled:{default:!0,type:"boolean"},flat:{default:!0,type:"boolean"},header:{type:"string"},icon:{type:"string"},id:{type:"string"},images:{default:[],items:{properties:{alt:{type:"string"},url:{default:"",type:"string"}},type:"object"},type:"array"},keywords:{default:[],items:{type:"string"},type:"array"},lastmod:{default:null,nullable:!0,type:"string"},loc:{default:null,nullable:!0,type:"string"},name:{default:null,nullable:!0,type:"string"},priority:{default:null,maximum:1,minimum:0,nullable:!0,type:"number"},type:{default:null,enum:["article","book","profile","website","music.song","music.album","music.playlist","music.radio_station","video.movie","video.episode","video.tv_show","video.other",null],nullable:!0,type:"string"}},type:"object"};Ac.DEFAULTS.uuid=()=>()=>Fo();const Sp={get(){return this.children.filter(({enabled:e})=>e)}},Ep={get(){return this.$siblings.findIndex(({id:e})=>this.id===e)}},Cp={get(){return this.$siblings[this.$index+1]}},jp={get(){return this.$siblings[this.$index-1]}},Pp={get(){return this.siblings.filter(({enabled:e})=>e)}},qo=new bp({code:{esm:!0},coerceTypes:!0,keywords:[Ac()],removeAdditional:!0,schemas:[wp,kp,xp,_p],useDefaults:!0}),Op=e=>{window.console.error(e)},Rp=async e=>(await fetch(e)).text(),Ap=e=>Object.fromEntries(e.map(t=>[t.toLowerCase().replaceAll(" ","_"),t])),Tp={get(){return this.icon&&`i-${this.icon}`}},Js=st({}),en=st([]),Np={get(){const e=this.branch.slice(1);return e.some(({name:t})=>!t)?void 0:e.map(({name:t})=>t).join("/").replaceAll(" ","_")}},Ip={get(){return["",void 0].includes(this.header)?this.name:this.header}},Mp={get(){var e;return(e=this.path)==null?void 0:e.replace(/^\/?/,"/").replace(/\/?$/,"/")}};qo.getSchema("urn:jsonschema:credentials");const Hn=qo.getSchema("urn:jsonschema:data"),Wn=qo.getSchema("urn:jsonschema:importmap"),{leaves:tn,objLeaves:ho}=ld(en);Xe(Js,async e=>{await(Wn==null?void 0:Wn(e))||(Js.imports={})});Xe(tn,async e=>{await(Hn==null?void 0:Hn(e))?e.forEach(t=>{Object.defineProperties(t,{$children:Sp,$index:Ep,$next:Cp,$prev:jp,$siblings:Pp,i:Tp,path:Np,title:Ip,to:Mp})}):(en.length=0,en.push({}))});const Tc=/^(?!.*\[[^:]+:.+\]$)((?:.+:)?!?)(.*)$/;function Fp(e={}){const t=e.prefix??"un-",r=e.prefixedOnly??!1,n=e.trueToNonValued??!1;let o;return{name:"attributify",match(i,{generator:s}){var b,v;const a=Qu(i);if(!a)return;let c=a[1];if(c.startsWith(t))c=c.slice(t.length);else if(r)return;const u=a[2],[,l="",d=u]=u.match(Tc)||[];if(d==="~"||n&&d==="true"||!d)return`${l}${c}`;if(o==null){const g=(v=(b=s==null?void 0:s.config)==null?void 0:b.separators)==null?void 0:v.join("|");g?o=new RegExp(`^(.*\\](?:${g}))(\\[[^\\]]+?\\])$`):o=!1}if(o){const[,g,h]=u.match(o)||[];if(h)return`${g}${l}${c}-${h}`}if(l&&d.match(/^[\d.]+$/)){const g=l.split(/([^:]*:)/g).filter(Boolean),h=g.pop()+d,p=g.join("");return[{matcher:`${l}${c}-${d}`},{matcher:`${p}${c}-${h}`}]}return`${l}${c}-${d}`}}}const zp=/(<\w[\w:.$-]*\s)((?:'[^>']*'|"[^>"]*"|`[^>`]*`|\{[^>}]*\}|[^>]*?)*)/g,Lp=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF-:%]+)(?:=("[^"]*|'[^']*))?/g,Xs=/[\s'"`;>]+/;function Dp(e){return{name:"attributify",extract:({content:t,cursor:r})=>{const n=t.matchAll(zp);let o,i=0;for(const f of n){const[,y,$]=f,k=f.index+y.length;if(r>k&&r<=k+$.length){i=k,o=$;break}}if(!o)return null;const s=o.matchAll(Lp);let a=0,c,u;for(const f of s){const[y,$,k]=f,_=i+f.index;if(r>_&&r<=_+y.length){a=_,c=$,u=k==null?void 0:k.slice(1);break}}if(!c||c==="class"||c==="className"||c===":class")return null;const l=!!(e!=null&&e.prefix)&&c.startsWith(e.prefix);if(e!=null&&e.prefixedOnly&&!l)return null;const d=l?c.slice(e.prefix.length):c;if(u===void 0)return{extracted:d,resolveReplacement(f){const y=l?e.prefix.length:0;return{start:a+y,end:a+c.length,replacement:f}}};const b=a+c.length+2;let v=Xs.exec(u),g=0,h;for(;v;){const[f]=v;if(r>b+g&&r<=b+g+v.index){h=u.slice(g,g+v.index);break}g+=v.index+f.length,v=Xs.exec(u.slice(g))}h===void 0&&(h=u.slice(g));const[,p="",m]=h.match(Tc)||[];return{extracted:`${p}${d}-${m}`,transformSuggestions(f){return f.filter(y=>y.startsWith(`${p}${d}-`)).map(y=>p+y.slice(p.length+d.length+1))},resolveReplacement(f){return{start:g+b,end:g+b+h.length,replacement:p+f.slice(p.length+d.length+1)}}}}}}const qp=["v-bind:",":"],Ys=/[\s'"`;]+/g,Kn=/<[^>\s]*\s((?:'[^']*'|"[^"]*"|`[^`]*`|\{[^}]*\}|=>|[^>]*?)*)/g,Vp=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF:!%.~<-]+)=?(?:"([^"]*)"|'([^']*)'|\{([^}]*)\})?/g,Nc=["placeholder","fill","opacity","stroke-opacity"];function Up(e){const t=(e==null?void 0:e.ignoreAttributes)??Nc,r=(e==null?void 0:e.nonValuedAttribute)??!0,n=(e==null?void 0:e.trueToNonValued)??!1;return{name:"@unocss/preset-attributify/extractor",extract({code:o}){return Array.from(o.matchAll(Kn)).flatMap(i=>Array.from((i[1]||"").matchAll(Vp))).flatMap(([,i,...s])=>{const a=s.filter(Boolean).join("");if(t.includes(i))return[];for(const c of qp)if(i.startsWith(c)){i=i.slice(c.length);break}if(!a){if(po(i)&&r!==!1){const c=[`[${i}=""]`];return n&&c.push(`[${i}="true"]`),c}return[]}return["class","className"].includes(i)?a.split(Ys).filter(po):Kn.test(a)?(Kn.lastIndex=0,this.extract({code:a})):e!=null&&e.prefixedOnly&&e.prefix&&!i.startsWith(e.prefix)?[]:a.split(Ys).filter(c=>!!c&&c!==":").map(c=>`[${i}~="${c}"]`)})}}}const Hp=(e={})=>{e.strict=e.strict??!1,e.prefix=e.prefix??"un-",e.prefixedOnly=e.prefixedOnly??!1,e.nonValuedAttribute=e.nonValuedAttribute??!0,e.ignoreAttributes=e.ignoreAttributes??Nc;const t=[Fp(e)],r=[Up(e)],n=[Dp(e)];return{name:"@unocss/preset-attributify",enforce:"post",variants:t,extractors:r,options:e,autocomplete:{extractors:n},extractorDefault:e.strict?!1:void 0}},Wp=Object.freeze({left:0,top:0,width:16,height:16}),rn=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Ic=Object.freeze({...Wp,...rn}),Kp=Object.freeze({...Ic,body:"",hidden:!1}),Bp=Object.freeze({width:null,height:null}),Mc=Object.freeze({...Bp,...rn});function Gp(e,t){const r={};!e.hFlip!=!t.hFlip&&(r.hFlip=!0),!e.vFlip!=!t.vFlip&&(r.vFlip=!0);const n=((e.rotate||0)+(t.rotate||0))%4;return n&&(r.rotate=n),r}function Qs(e,t){const r=Gp(e,t);for(const n in Kp)n in rn?n in e&&!(n in r)&&(r[n]=rn[n]):n in t?r[n]=t[n]:n in e&&(r[n]=e[n]);return r}function Jp(e,t){const r=e.icons,n=e.aliases||Object.create(null),o=Object.create(null);function i(s){if(r[s])return o[s]=[];if(!(s in o)){o[s]=null;const a=n[s]&&n[s].parent,c=a&&i(a);c&&(o[s]=[a].concat(c))}return o[s]}return(t||Object.keys(r).concat(Object.keys(n))).forEach(i),o}function Zs(e,t,r){const n=e.icons,o=e.aliases||Object.create(null);let i={};function s(a){i=Qs(n[a]||o[a],i)}return s(t),r.forEach(s),Qs(e,i)}function Xp(e,t){if(e.icons[t])return Zs(e,t,[]);const r=Jp(e,[t])[t];return r?Zs(e,t,r):null}const Yp=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Qp=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function nn(e,t,r){if(t===1)return e;if(r=r||100,typeof e=="number")return Math.ceil(e*t*r)/r;if(typeof e!="string")return e;const n=e.split(Yp);if(n===null||!n.length)return e;const o=[];let i=n.shift(),s=Qp.test(i);for(;;){if(s){const a=parseFloat(i);isNaN(a)?o.push(i):o.push(Math.ceil(a*t*r)/r)}else o.push(i);if(i=n.shift(),i===void 0)return o.join("");s=!s}}function Zp(e,t="defs"){let r="";const n=e.indexOf("<"+t);for(;n>=0;){const o=e.indexOf(">",n),i=e.indexOf("</"+t);if(o===-1||i===-1)break;const s=e.indexOf(">",i);if(s===-1)break;r+=e.slice(o+1,i).trim(),e=e.slice(0,n).trim()+e.slice(s+1)}return{defs:r,content:e}}function eh(e,t){return e?"<defs>"+e+"</defs>"+t:t}function th(e,t,r){const n=Zp(e);return eh(n.defs,t+n.content+r)}const Vo=e=>e==="unset"||e==="undefined"||e==="none";function rh(e,t){const r={...Ic,...e},n={...Mc,...t},o={left:r.left,top:r.top,width:r.width,height:r.height};let i=r.body;[r,n].forEach(h=>{const p=[],m=h.hFlip,f=h.vFlip;let y=h.rotate;m?f?y+=2:(p.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),p.push("scale(-1 1)"),o.top=o.left=0):f&&(p.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),p.push("scale(1 -1)"),o.top=o.left=0);let $;switch(y<0&&(y-=Math.floor(y/4)*4),y=y%4,y){case 1:$=o.height/2+o.top,p.unshift("rotate(90 "+$.toString()+" "+$.toString()+")");break;case 2:p.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:$=o.width/2+o.left,p.unshift("rotate(-90 "+$.toString()+" "+$.toString()+")");break}y%2===1&&(o.left!==o.top&&($=o.left,o.left=o.top,o.top=$),o.width!==o.height&&($=o.width,o.width=o.height,o.height=$)),p.length&&(i=th(i,'<g transform="'+p.join(" ")+'">',"</g>"))});const s=n.width,a=n.height,c=o.width,u=o.height;let l,d;s===null?(d=a===null?"1em":a==="auto"?u:a,l=nn(d,c/u)):(l=s==="auto"?c:s,d=a===null?nn(l,u/c):a==="auto"?u:a);const b={},v=(h,p)=>{Vo(p)||(b[h]=p.toString())};v("width",l),v("height",d);const g=[o.left,o.top,c,u];return b.viewBox=g.join(" "),{attributes:b,viewBox:g,body:i}}function nh(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function ea(e){let t=e.startsWith("<svg>")?e.replace("<svg>","<svg >"):e;return!t.includes(" xmlns:xlink=")&&t.includes(" xlink:")&&(t=t.replace("<svg ",'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ')),t.includes(" xmlns=")||(t=t.replace("<svg ",'<svg xmlns="http://www.w3.org/2000/svg" ')),nh(t)}function oh(e){return e.replace(/(['"])\s*\n\s*([^>\\/\s])/g,"$1 $2").replace(/(["';{}><])\s*\n\s*/g,"$1").replace(/\s*\n\s*/g," ").replace(/\s+"/g,'"').replace(/="\s+/g,'="').replace(/(\s)+\/>/g,"/>").trim()}const ih=/\swidth\s*=\s*["']([\w.]+)["']/,sh=/\sheight\s*=\s*["']([\w.]+)["']/,Bn=/<svg\s+/;function ah(e,t,r){const n=e.slice(0,e.indexOf(">")),o=(i,s)=>{const a=s.exec(n),c=a!=null,u=t[i];return!u&&!Vo(u)&&(typeof r=="number"?r>0&&(t[i]=nn((a==null?void 0:a[1])??"1em",r)):a&&(t[i]=a[1])),c};return[o("width",ih),o("height",sh)]}async function Fc(e,t,r,n,o,i){const{scale:s,addXmlNs:a=!1}=n??{},{additionalProps:c={},iconCustomizer:u}=(n==null?void 0:n.customizations)??{},l=await(o==null?void 0:o())??{};await(u==null?void 0:u(t,r,l)),Object.keys(c).forEach(h=>{const p=c[h];p!=null&&(l[h]=p)}),i==null||i(l);const[d,b]=ah(e,l,s);a&&(!e.includes("xmlns=")&&!l.xmlns&&(l.xmlns="http://www.w3.org/2000/svg"),!e.includes("xmlns:xlink=")&&e.includes("xlink:")&&!l["xmlns:xlink"]&&(l["xmlns:xlink"]="http://www.w3.org/1999/xlink"));const v=Object.keys(l).map(h=>h==="width"&&d||h==="height"&&b?null:`${h}="${l[h]}"`).filter(h=>h!=null);if(v.length&&(e=e.replace(Bn,`<svg ${v.join(" ")} `)),n){const{defaultStyle:h,defaultClass:p}=n;p&&!e.includes("class=")&&(e=e.replace(Bn,`<svg class="${p}" `)),h&&!e.includes("style=")&&(e=e.replace(Bn,`<svg style="${h}" `))}const g=n==null?void 0:n.usedProps;return g&&(Object.keys(c).forEach(h=>{const p=l[h];p!=null&&(g[h]=p)}),typeof l.width<"u"&&l.width!==null&&(g.width=l.width),typeof l.height<"u"&&l.height!==null&&(g.height=l.height)),e}var Nr={exports:{}},Gn,ta;function ch(){if(ta)return Gn;ta=1;var e=1e3,t=e*60,r=t*60,n=r*24,o=n*7,i=n*365.25;Gn=function(l,d){d=d||{};var b=typeof l;if(b==="string"&&l.length>0)return s(l);if(b==="number"&&isFinite(l))return d.long?c(l):a(l);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(l))};function s(l){if(l=String(l),!(l.length>100)){var d=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(l);if(d){var b=parseFloat(d[1]),v=(d[2]||"ms").toLowerCase();switch(v){case"years":case"year":case"yrs":case"yr":case"y":return b*i;case"weeks":case"week":case"w":return b*o;case"days":case"day":case"d":return b*n;case"hours":case"hour":case"hrs":case"hr":case"h":return b*r;case"minutes":case"minute":case"mins":case"min":case"m":return b*t;case"seconds":case"second":case"secs":case"sec":case"s":return b*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return b;default:return}}}}function a(l){var d=Math.abs(l);return d>=n?Math.round(l/n)+"d":d>=r?Math.round(l/r)+"h":d>=t?Math.round(l/t)+"m":d>=e?Math.round(l/e)+"s":l+"ms"}function c(l){var d=Math.abs(l);return d>=n?u(l,d,n,"day"):d>=r?u(l,d,r,"hour"):d>=t?u(l,d,t,"minute"):d>=e?u(l,d,e,"second"):l+" ms"}function u(l,d,b,v){var g=d>=b*1.5;return Math.round(l/b)+" "+v+(g?"s":"")}return Gn}var Jn,ra;function lh(){if(ra)return Jn;ra=1;function e(t){n.debug=n,n.default=n,n.coerce=u,n.disable=a,n.enable=i,n.enabled=c,n.humanize=ch(),n.destroy=l,Object.keys(t).forEach(d=>{n[d]=t[d]}),n.names=[],n.skips=[],n.formatters={};function r(d){let b=0;for(let v=0;v<d.length;v++)b=(b<<5)-b+d.charCodeAt(v),b|=0;return n.colors[Math.abs(b)%n.colors.length]}n.selectColor=r;function n(d){let b,v=null,g,h;function p(...m){if(!p.enabled)return;const f=p,y=Number(new Date),$=y-(b||y);f.diff=$,f.prev=b,f.curr=y,b=y,m[0]=n.coerce(m[0]),typeof m[0]!="string"&&m.unshift("%O");let k=0;m[0]=m[0].replace(/%([a-zA-Z%])/g,(w,S)=>{if(w==="%%")return"%";k++;const O=n.formatters[S];if(typeof O=="function"){const F=m[k];w=O.call(f,F),m.splice(k,1),k--}return w}),n.formatArgs.call(f,m),(f.log||n.log).apply(f,m)}return p.namespace=d,p.useColors=n.useColors(),p.color=n.selectColor(d),p.extend=o,p.destroy=n.destroy,Object.defineProperty(p,"enabled",{enumerable:!0,configurable:!1,get:()=>v!==null?v:(g!==n.namespaces&&(g=n.namespaces,h=n.enabled(d)),h),set:m=>{v=m}}),typeof n.init=="function"&&n.init(p),p}function o(d,b){const v=n(this.namespace+(typeof b>"u"?":":b)+d);return v.log=this.log,v}function i(d){n.save(d),n.namespaces=d,n.names=[],n.skips=[];const b=(typeof d=="string"?d:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const v of b)v[0]==="-"?n.skips.push(v.slice(1)):n.names.push(v)}function s(d,b){let v=0,g=0,h=-1,p=0;for(;v<d.length;)if(g<b.length&&(b[g]===d[v]||b[g]==="*"))b[g]==="*"?(h=g,p=v,g++):(v++,g++);else if(h!==-1)g=h+1,p++,v=p;else return!1;for(;g<b.length&&b[g]==="*";)g++;return g===b.length}function a(){const d=[...n.names,...n.skips.map(b=>"-"+b)].join(",");return n.enable(""),d}function c(d){for(const b of n.skips)if(s(d,b))return!1;for(const b of n.names)if(s(d,b))return!0;return!1}function u(d){return d instanceof Error?d.stack||d.message:d}function l(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return n.enable(n.load()),n}return Jn=e,Jn}var na;function uh(){return na||(na=1,function(e,t){var r={};t.formatArgs=o,t.save=i,t.load=s,t.useColors=n,t.storage=a(),t.destroy=(()=>{let u=!1;return()=>{u||(u=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function n(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let u;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(u=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(u[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function o(u){if(u[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+u[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const l="color: "+this.color;u.splice(1,0,l,"color: inherit");let d=0,b=0;u[0].replace(/%[a-zA-Z%]/g,v=>{v!=="%%"&&(d++,v==="%c"&&(b=d))}),u.splice(b,0,l)}t.log=console.debug||console.log||(()=>{});function i(u){try{u?t.storage.setItem("debug",u):t.storage.removeItem("debug")}catch{}}function s(){let u;try{u=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch{}return!u&&typeof process<"u"&&"env"in process&&(u=r.DEBUG),u}function a(){try{return localStorage}catch{}}e.exports=lh()(t);const{formatters:c}=e.exports;c.j=function(u){try{return JSON.stringify(u)}catch(l){return"[UnexpectedJSONParseError]: "+l.message}}}(Nr,Nr.exports)),Nr.exports}var fh=uh();const zc=pn(fh),dh=zc("@iconify-loader:custom");async function oa(e,t,r,n){var i;let o;dh(`${t}:${r}`);try{if(typeof e=="function")o=await e(r);else{const s=e[r];o=typeof s=="function"?await s():s}}catch(s){console.warn(`Failed to load custom icon "${r}" in "${t}":`,s);return}if(o){const s=o.indexOf("<svg");s>0&&(o=o.slice(s));const{transform:a}=(n==null?void 0:n.customizations)??{};return o=typeof a=="function"?await a(o,t,r):o,o.startsWith("<svg")?await Fc(((i=n==null?void 0:n.customizations)==null?void 0:i.trimCustomSvg)===!0?oh(o):o,t,r,n,void 0):(console.warn(`Custom icon "${r}" in "${t}" is not a valid SVG`),o)}}const ph=zc("@iconify-loader:icon");async function Lc(e,t,r,n){let o;const{customize:i}=(n==null?void 0:n.customizations)??{};for(const s of r)if(o=Xp(e,s),o){ph(`${t}:${s}`);let a={...Mc};typeof i=="function"&&(o=Object.assign({},o),a=i(a,o,`${t}:${s}`)??a);const{attributes:{width:c,height:u,...l},body:d}=rh(o,a),b=n==null?void 0:n.scale;return await Fc(`<svg >${d}</svg>`,t,s,n,()=>({...l}),v=>{const g=(h,p)=>{const m=v[h];let f;if(!Vo(m)){if(m)return;typeof b=="number"?b&&(f=nn(p??"1em",b)):f=p}f?v[h]=f:delete v[h]};g("width",c),g("height",u)})}}const Dc=async(e,t,r)=>{var o;const n=(o=r==null?void 0:r.customCollections)==null?void 0:o[e];if(n)if(typeof n=="function"){let i;try{i=await n(t)}catch(s){console.warn(`Failed to load custom icon "${t}" in "${e}":`,s);return}if(i){if(typeof i=="string")return await oa(()=>i,e,t,r);if("icons"in i){const s=[t,t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.replace(/([a-z])(\d+)/g,"$1-$2")];return await Lc(i,e,s,r)}}}else return await oa(n,e,t,r)},hh=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,mh=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,gh=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function yh(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){bh(e);return}return t}function bh(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function vh(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const r=e.trim();if(r.length<=9)switch(r.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!gh.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(hh.test(e)||mh.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,yh)}return JSON.parse(e)}catch(n){if(t.strict)throw n;return e}}const $h=/#/g,wh=/&/g,kh=/\//g,_h=/=/g,Uo=/\+/g,xh=/%5e/gi,Sh=/%60/gi,Eh=/%7c/gi,Ch=/%20/gi;function jh(e){return encodeURI(""+e).replace(Eh,"|")}function mo(e){return jh(typeof e=="string"?e:JSON.stringify(e)).replace(Uo,"%2B").replace(Ch,"+").replace($h,"%23").replace(wh,"%26").replace(Sh,"`").replace(xh,"^").replace(kh,"%2F")}function Xn(e){return mo(e).replace(_h,"%3D")}function qc(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Ph(e){return qc(e.replace(Uo," "))}function Oh(e){return qc(e.replace(Uo," "))}function Rh(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const r of e.split("&")){const n=r.match(/([^=]+)=?(.*)/)||[];if(n.length<2)continue;const o=Ph(n[1]);if(o==="__proto__"||o==="constructor")continue;const i=Oh(n[2]||"");t[o]===void 0?t[o]=i:Array.isArray(t[o])?t[o].push(i):t[o]=[t[o],i]}return t}function Ah(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(r=>`${Xn(e)}=${mo(r)}`).join("&"):`${Xn(e)}=${mo(t)}`:Xn(e)}function Th(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Ah(t,e[t])).filter(Boolean).join("&")}const Nh=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Ih=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Mh=/^([/\\]\s*){2,}[^/\\]/,Fh=/^\.?\//;function Vc(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Nh.test(e):Ih.test(e)||(t.acceptRelative?Mh.test(e):!1)}function zh(e="",t){return e.endsWith("/")}function Lh(e="",t){return(zh(e)?e.slice(0,-1):e)||"/"}function Dh(e="",t){return e.endsWith("/")?e:e+"/"}function qh(e,t){if(Uh(t)||Vc(e))return e;const r=Lh(t);return e.startsWith(r)?e:Wh(r,e)}function Vh(e,t){const r=Kh(e),n={...Rh(r.search),...t};return r.search=Th(n),Bh(r)}function Uh(e){return!e||e==="/"}function Hh(e){return e&&e!=="/"}function Wh(e,...t){let r=e||"";for(const n of t.filter(o=>Hh(o)))if(r){const o=n.replace(Fh,"");r=Dh(r)+o}else r=n;return r}const Uc=Symbol.for("ufo:protocolRelative");function Kh(e="",t){const r=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(r){const[,d,b=""]=r;return{protocol:d.toLowerCase(),pathname:b,href:d+b,auth:"",host:"",search:"",hash:""}}if(!Vc(e,{acceptRelative:!0}))return ia(e);const[,n="",o,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,s="",a=""]=i.match(/([^#/?]*)(.*)?/)||[];n==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:c,search:u,hash:l}=ia(a);return{protocol:n.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:s,pathname:c,search:u,hash:l,[Uc]:!n}}function ia(e=""){const[t="",r="",n=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:r,hash:n}}function Bh(e){const t=e.pathname||"",r=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",n=e.hash||"",o=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[Uc]?(e.protocol||"")+"//":"")+o+i+t+r+n}class Hc extends Error{constructor(t,r){super(t,r),this.name="FetchError",r!=null&&r.cause&&!this.cause&&(this.cause=r.cause)}}function Wc(e){var c,u,l,d,b;const t=((c=e.error)==null?void 0:c.message)||((u=e.error)==null?void 0:u.toString())||"",r=((l=e.request)==null?void 0:l.method)||((d=e.options)==null?void 0:d.method)||"GET",n=((b=e.request)==null?void 0:b.url)||String(e.request)||"/",o=`[${r}] ${JSON.stringify(n)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",s=`${o}: ${i}${t?` ${t}`:""}`,a=new Hc(s,e.error?{cause:e.error}:void 0);for(const v of["request","options","response"])Object.defineProperty(a,v,{get(){return e[v]}});for(const[v,g]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,v,{get(){return e.response&&e.response[g]}});return a}const Gh=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function sa(e="GET"){return Gh.has(e.toUpperCase())}function Jh(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const Xh=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Yh=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Qh(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Yh.test(t)?"json":Xh.has(t)||t.startsWith("text/")?"text":"blob"}function Zh(e,t,r,n){const o=em((t==null?void 0:t.headers)??(e==null?void 0:e.headers),r==null?void 0:r.headers,n);let i;return(r!=null&&r.query||r!=null&&r.params||t!=null&&t.params||t!=null&&t.query)&&(i={...r==null?void 0:r.params,...r==null?void 0:r.query,...t==null?void 0:t.params,...t==null?void 0:t.query}),{...r,...t,query:i,params:i,headers:o}}function em(e,t,r){if(!t)return new r(e);const n=new r(t);if(e)for(const[o,i]of Symbol.iterator in e||Array.isArray(e)?e:new r(e))n.set(o,i);return n}async function Ir(e,t){if(t)if(Array.isArray(t))for(const r of t)await r(e);else await t(e)}const tm=new Set([408,409,425,429,500,502,503,504]),rm=new Set([101,204,205,304]);function Ho(e={}){const{fetch:t=globalThis.fetch,Headers:r=globalThis.Headers,AbortController:n=globalThis.AbortController}=e;async function o(a){const c=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!c){let l;typeof a.options.retry=="number"?l=a.options.retry:l=sa(a.options.method)?0:1;const d=a.response&&a.response.status||500;if(l>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(d):tm.has(d))){const b=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return b>0&&await new Promise(v=>setTimeout(v,b)),i(a.request,{...a.options,retry:l-1})}}const u=Wc(a);throw Error.captureStackTrace&&Error.captureStackTrace(u,i),u}const i=async function(c,u={}){const l={request:c,options:Zh(c,u,e.defaults,r),response:void 0,error:void 0};l.options.method&&(l.options.method=l.options.method.toUpperCase()),l.options.onRequest&&await Ir(l,l.options.onRequest),typeof l.request=="string"&&(l.options.baseURL&&(l.request=qh(l.request,l.options.baseURL)),l.options.query&&(l.request=Vh(l.request,l.options.query),delete l.options.query),"query"in l.options&&delete l.options.query,"params"in l.options&&delete l.options.params),l.options.body&&sa(l.options.method)&&(Jh(l.options.body)?(l.options.body=typeof l.options.body=="string"?l.options.body:JSON.stringify(l.options.body),l.options.headers=new r(l.options.headers||{}),l.options.headers.has("content-type")||l.options.headers.set("content-type","application/json"),l.options.headers.has("accept")||l.options.headers.set("accept","application/json")):("pipeTo"in l.options.body&&typeof l.options.body.pipeTo=="function"||typeof l.options.body.pipe=="function")&&("duplex"in l.options||(l.options.duplex="half")));let d;if(!l.options.signal&&l.options.timeout){const v=new n;d=setTimeout(()=>{const g=new Error("[TimeoutError]: The operation was aborted due to timeout");g.name="TimeoutError",g.code=23,v.abort(g)},l.options.timeout),l.options.signal=v.signal}try{l.response=await t(l.request,l.options)}catch(v){return l.error=v,l.options.onRequestError&&await Ir(l,l.options.onRequestError),await o(l)}finally{d&&clearTimeout(d)}if((l.response.body||l.response._bodyInit)&&!rm.has(l.response.status)&&l.options.method!=="HEAD"){const v=(l.options.parseResponse?"json":l.options.responseType)||Qh(l.response.headers.get("content-type")||"");switch(v){case"json":{const g=await l.response.text(),h=l.options.parseResponse||vh;l.response._data=h(g);break}case"stream":{l.response._data=l.response.body||l.response._bodyInit;break}default:l.response._data=await l.response[v]()}}return l.options.onResponse&&await Ir(l,l.options.onResponse),!l.options.ignoreResponseError&&l.response.status>=400&&l.response.status<600?(l.options.onResponseError&&await Ir(l,l.options.onResponseError),await o(l)):l.response},s=async function(c,u){return(await i(c,u))._data};return s.raw=i,s.native=(...a)=>t(...a),s.create=(a={},c={})=>Ho({...e,...c,defaults:{...e.defaults,...c.defaults,...a}}),s}const on=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),Kc=on.fetch?(...e)=>on.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),Bc=on.Headers,Gc=on.AbortController,Jc=Ho({fetch:Kc,Headers:Bc,AbortController:Gc}),Xc=Jc,go=Object.freeze(Object.defineProperty({__proto__:null,$fetch:Xc,AbortController:Gc,FetchError:Hc,Headers:Bc,createFetch:Ho,createFetchError:Wc,fetch:Kc,ofetch:Jc},Symbol.toStringTag,{value:"Module"}));var aa={};const Yc=["academicons","akar-icons","ant-design","arcticons","aws","basil","bi","bitcoin-icons","bpmn","brandico","bubbles","bx","bxl","bxs","bytesize","carbon","catppuccin","cbi","charm","ci","cib","cif","cil","circle-flags","circum","clarity","codex","codicon","covid","cryptocurrency-color","cryptocurrency","cuida","dashicons","devicon-line","devicon-original","devicon-plain","devicon","dinkie-icons","duo-icons","ei","el","emblemicons","emojione-monotone","emojione-v1","emojione","entypo-social","entypo","eos-icons","ep","et","eva","f7","fa-brands","fa-regular","fa-solid","fa","fa6-brands","fa6-regular","fa6-solid","fad","famicons","fe","feather","file-icons","flag","flagpack","flat-color-icons","flat-ui","flowbite","fluent-color","fluent-emoji-flat","fluent-emoji-high-contrast","fluent-emoji","fluent-mdl2","fluent","fontelico","fontisto","formkit","foundation","fxemoji","gala","game-icons","garden","geo","gg","gis","gravity-ui","gridicons","grommet-icons","guidance","healthicons","heroicons-outline","heroicons-solid","heroicons","hugeicons","humbleicons","ic","icomoon-free","icon-park-outline","icon-park-solid","icon-park-twotone","icon-park","iconamoon","iconoir","icons8","il","ion","iwwa","ix","jam","la","lets-icons","line-md","lineicons","logos","ls","lsicon","lucide-lab","lucide","mage","majesticons","maki","map","marketeq","material-icon-theme","material-symbols-light","material-symbols","mdi-light","mdi","medical-icon","memory","meteocons","meteor-icons","mi","mingcute","mono-icons","mynaui","nimbus","nonicons","noto-v1","noto","nrk","octicon","oi","ooui","openmoji","oui","pajamas","pepicons-pencil","pepicons-pop","pepicons-print","pepicons","ph","picon","pixel","pixelarticons","prime","proicons","ps","qlementine-icons","quill","radix-icons","raphael","ri","rivet-icons","si-glyph","si","simple-icons","simple-line-icons","skill-icons","solar","stash","streamline-block","streamline-color","streamline-cyber-color","streamline-cyber","streamline-emojis","streamline-flex-color","streamline-flex","streamline-freehand-color","streamline-freehand","streamline-guidance","streamline-kameleon-color","streamline-logos","streamline-pixel","streamline-plump-color","streamline-plump","streamline-sharp-color","streamline-sharp","streamline-stickies-color","streamline-ultimate-color","streamline-ultimate","streamline","subway","svg-spinners","system-uicons","tabler","tdesign","teenyicons","token-branded","token","topcoat","twemoji","typcn","uil","uim","uis","uit","uiw","unjs","vaadin","vs","vscode-icons","websymbol","weui","whh","wi","wpf","zmdi","zondicons"],nm=3;function om(e){return(t={})=>{const{scale:r=1,mode:n="auto",prefix:o="i-",warn:i=!1,iconifyCollectionsNames:s,collections:a,extraProperties:c={},customizations:u={},autoInstall:l=!1,collectionsNodeResolvePath:d,layer:b="icons",unit:v,processor:g}=t,h=im(),p={addXmlNs:!0,scale:r,customCollections:a,autoInstall:l,cwd:d,warn:void 0,customizations:{...u,additionalProps:{...c},trimCustomSvg:!0,async iconCustomizer(f,y,$){var k;await((k=u.iconCustomizer)==null?void 0:k.call(u,f,y,$)),v&&($.width||($.width=`${r}${v}`),$.height||($.height=`${r}${v}`))}}};let m;return{name:"@unocss/preset-icons",enforce:"pre",options:t,layers:{icons:-30},api:{encodeSvgForCss:ea,parseIconWithLoader:ca},rules:[[/^([\w:-]+)(?:\?(mask|bg|auto))?$/,async f=>{let[y,$,k=n]=f;m=m||await e(t);const _={},w=await ca($,m,{...p,usedProps:_},s);if(!w){i&&!h.isESLint&&bc(`failed to load icon "${y}"`);return}let S;const O=`url("data:image/svg+xml;utf8,${ea(w.svg)}")`;return k==="auto"&&(k=w.svg.includes("currentColor")?"mask":"bg"),k==="mask"?S={"--un-icon":O,"-webkit-mask":"var(--un-icon) no-repeat",mask:"var(--un-icon) no-repeat","-webkit-mask-size":"100% 100%","mask-size":"100% 100%","background-color":"currentColor",color:"inherit",..._}:S={background:`${O} no-repeat`,"background-size":"100% 100%","background-color":"transparent",..._},g==null||g(S,{...w,icon:w.name,mode:k}),S},{layer:b,prefix:o}]]}}}function Qc(e,t,r=new Map){function n(o){if(Yc.includes(o))return r.has(o)||r.set(o,e(`${t}@iconify-json/${o}/icons.json`)),r.get(o)}return async(o,i,s)=>{let a=await Dc(o,i,s);if(a)return a;const c=await n(o);if(c){const u=[i,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),i.replace(/([a-z])(\d+)/g,"$1-$2")];a=await Lc(c,o,u,s)}return a}}function im(){const e=typeof process<"u"&&process.stdout,t=e&&!!aa.VSCODE_CWD,r=e&&!!aa.ESLINT;return{isNode:e,isVSCode:t,isESLint:r}}async function ca(e,t,r={},n=[]){let o="",i="",s;const a=new Set([...Yc,...n,...Object.keys(r.customCollections||{})]);if(e.includes(":")){if([o,i]=e.split(":"),!a.has(o))return;s=await t(o,i,r)}else{const c=e.split(/-/g);for(let u=nm;u>=1&&(o=c.slice(0,u).join("-"),!(!!a.has(o)&&(i=c.slice(u).join("-"),s=await t(o,i,r),s)));u--);}if(s)return{collection:o,name:i,svg:s}}function sm(e){return Qc(Xc,e)}const am=om(async e=>{const t=e==null?void 0:e.customFetch,r=e==null?void 0:e.cdn;return t&&r?Qc(t,r):r?sm(r):Dc}),yo="__TAGIFY__",cm=/<([\w:-]+)/g;function lm(e){const{prefix:t="",excludedTags:r=["b",/^h\d+$/,"table"]}=e;return{name:"tagify",extract({code:n}){return Array.from(n.matchAll(cm)).filter(({1:o})=>{for(const i of r)if(typeof i=="string"){if(o===i)return!1}else if(i.test(o))return!1;return o.startsWith(t)}).map(([,o])=>`${yo}${o}`)}}}function um(e){const{extraProperties:t}=e,r=`${yo}${e.prefix??""}`;return{name:"tagify",match(n){if(!n.startsWith(r))return;const o=n.slice(r.length),i={matcher:o,selector:s=>s.slice(yo.length+1)};return t&&(typeof t=="function"?i.body=s=>[...s,...Object.entries(t(o)??{})]:i.body=s=>[...s,...Object.entries(t)]),i}}}const fm=(e={})=>{const{defaultExtractor:t=!0}=e,r=[um(e)],n=[lm(e)];return{name:"@unocss/preset-tagify",variants:r,extractors:n,extractorDefault:t?void 0:!1}};var dm=ou();class sn{constructor(t){this.bits=t instanceof sn?t.bits.slice():[]}add(t){this.bits[t>>5]|=1<<(t&31)}has(t){return!!(this.bits[t>>5]&1<<(t&31))}}class Dt{constructor(t,r,n){this.start=t,this.end=r,this.original=n,this.intro="",this.outro="",this.content=n,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(t){this.outro+=t}appendRight(t){this.intro=this.intro+t}clone(){const t=new Dt(this.start,this.end,this.original);return t.intro=this.intro,t.outro=this.outro,t.content=this.content,t.storeName=this.storeName,t.edited=this.edited,t}contains(t){return this.start<t&&t<this.end}eachNext(t){let r=this;for(;r;)t(r),r=r.next}eachPrevious(t){let r=this;for(;r;)t(r),r=r.previous}edit(t,r,n){return this.content=t,n||(this.intro="",this.outro=""),this.storeName=r,this.edited=!0,this}prependLeft(t){this.outro=t+this.outro}prependRight(t){this.intro=t+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(t){const r=t-this.start,n=this.original.slice(0,r),o=this.original.slice(r);this.original=n;const i=new Dt(t,this.end,o);return i.outro=this.outro,this.outro="",this.end=t,this.edited?(i.edit("",!1),this.content=""):this.content=n,i.next=this.next,i.next&&(i.next.previous=i),i.previous=this,this.next=i,i}toString(){return this.intro+this.content+this.outro}trimEnd(t){if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;const r=this.content.replace(t,"");if(r.length)return r!==this.content&&(this.split(this.start+r.length).edit("",void 0,!0),this.edited&&this.edit(r,this.storeName,!0)),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(t,""),this.intro.length)return!0}trimStart(t){if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;const r=this.content.replace(t,"");if(r.length){if(r!==this.content){const n=this.split(this.end-r.length);this.edited&&n.edit(r,this.storeName,!0),this.edit("",void 0,!0)}return!0}else if(this.edit("",void 0,!0),this.outro=this.outro.replace(t,""),this.outro.length)return!0}}function pm(){return typeof globalThis<"u"&&typeof globalThis.btoa=="function"?e=>globalThis.btoa(unescape(encodeURIComponent(e))):typeof Buffer=="function"?e=>Buffer.from(e,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}const hm=pm();class mm{constructor(t){this.version=3,this.file=t.file,this.sources=t.sources,this.sourcesContent=t.sourcesContent,this.names=t.names,this.mappings=dm.encode(t.mappings),typeof t.x_google_ignoreList<"u"&&(this.x_google_ignoreList=t.x_google_ignoreList),typeof t.debugId<"u"&&(this.debugId=t.debugId)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+hm(this.toString())}}function gm(e){const t=e.split(`
17
+ `),r=t.filter(i=>/^\t+/.test(i)),n=t.filter(i=>/^ {2,}/.test(i));if(r.length===0&&n.length===0)return null;if(r.length>=n.length)return" ";const o=n.reduce((i,s)=>{const a=/^ +/.exec(s)[0].length;return Math.min(a,i)},1/0);return new Array(o+1).join(" ")}function ym(e,t){const r=e.split(/[/\\]/),n=t.split(/[/\\]/);for(r.pop();r[0]===n[0];)r.shift(),n.shift();if(r.length){let o=r.length;for(;o--;)r[o]=".."}return r.concat(n).join("/")}const bm=Object.prototype.toString;function vm(e){return bm.call(e)==="[object Object]"}function la(e){const t=e.split(`
18
+ `),r=[];for(let n=0,o=0;n<t.length;n++)r.push(o),o+=t[n].length+1;return function(o){let i=0,s=r.length;for(;i<s;){const u=i+s>>1;o<r[u]?s=u:i=u+1}const a=i-1,c=o-r[a];return{line:a,column:c}}}const $m=/\w/;class wm{constructor(t){this.hires=t,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(t,r,n,o){if(r.length){const i=r.length-1;let s=r.indexOf(`
19
+ `,0),a=-1;for(;s>=0&&i>s;){const u=[this.generatedCodeColumn,t,n.line,n.column];o>=0&&u.push(o),this.rawSegments.push(u),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,a=s,s=r.indexOf(`
20
+ `,s+1)}const c=[this.generatedCodeColumn,t,n.line,n.column];o>=0&&c.push(o),this.rawSegments.push(c),this.advance(r.slice(a+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(r));this.pending=null}addUneditedChunk(t,r,n,o,i){let s=r.start,a=!0,c=!1;for(;s<r.end;){if(n[s]===`
21
+ `)o.line+=1,o.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,a=!0,c=!1;else{if(this.hires||a||i.has(s)){const u=[this.generatedCodeColumn,t,o.line,o.column];this.hires==="boundary"?$m.test(n[s])?c||(this.rawSegments.push(u),c=!0):(this.rawSegments.push(u),c=!1):this.rawSegments.push(u)}o.column+=1,this.generatedCodeColumn+=1,a=!1}s+=1}this.pending=null}advance(t){if(!t)return;const r=t.split(`
22
+ `);if(r.length>1){for(let n=0;n<r.length-1;n++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=r[r.length-1].length}}const Et=`
23
+ `,ft={insertLeft:!1,insertRight:!1,storeName:!1};class Wo{constructor(t,r={}){const n=new Dt(0,t.length,t);Object.defineProperties(this,{original:{writable:!0,value:t},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:n},lastChunk:{writable:!0,value:n},lastSearchedChunk:{writable:!0,value:n},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:r.filename},indentExclusionRanges:{writable:!0,value:r.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new sn},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:r.ignoreList},offset:{writable:!0,value:r.offset||0}}),this.byStart[0]=n,this.byEnd[t.length]=n}addSourcemapLocation(t){this.sourcemapLocations.add(t)}append(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.outro+=t,this}appendLeft(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);const n=this.byEnd[t];return n?n.appendLeft(r):this.intro+=r,this}appendRight(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);const n=this.byStart[t];return n?n.appendRight(r):this.outro+=r,this}clone(){const t=new Wo(this.original,{filename:this.filename,offset:this.offset});let r=this.firstChunk,n=t.firstChunk=t.lastSearchedChunk=r.clone();for(;r;){t.byStart[n.start]=n,t.byEnd[n.end]=n;const o=r.next,i=o&&o.clone();i&&(n.next=i,i.previous=n,n=i),r=o}return t.lastChunk=n,this.indentExclusionRanges&&(t.indentExclusionRanges=this.indentExclusionRanges.slice()),t.sourcemapLocations=new sn(this.sourcemapLocations),t.intro=this.intro,t.outro=this.outro,t}generateDecodedMap(t){t=t||{};const r=0,n=Object.keys(this.storedNames),o=new wm(t.hires),i=la(this.original);return this.intro&&o.advance(this.intro),this.firstChunk.eachNext(s=>{const a=i(s.start);s.intro.length&&o.advance(s.intro),s.edited?o.addEdit(r,s.content,a,s.storeName?n.indexOf(s.original):-1):o.addUneditedChunk(r,s,this.original,a,this.sourcemapLocations),s.outro.length&&o.advance(s.outro)}),{file:t.file?t.file.split(/[/\\]/).pop():void 0,sources:[t.source?ym(t.file||"",t.source):t.file||""],sourcesContent:t.includeContent?[this.original]:void 0,names:n,mappings:o.raw,x_google_ignoreList:this.ignoreList?[r]:void 0}}generateMap(t){return new mm(this.generateDecodedMap(t))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=gm(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?" ":this.indentStr}indent(t,r){const n=/^[^\r\n]/gm;if(vm(t)&&(r=t,t=void 0),t===void 0&&(this._ensureindentStr(),t=this.indentStr||" "),t==="")return this;r=r||{};const o={};r.exclude&&(typeof r.exclude[0]=="number"?[r.exclude]:r.exclude).forEach(l=>{for(let d=l[0];d<l[1];d+=1)o[d]=!0});let i=r.indentStart!==!1;const s=u=>i?`${t}${u}`:(i=!0,u);this.intro=this.intro.replace(n,s);let a=0,c=this.firstChunk;for(;c;){const u=c.end;if(c.edited)o[a]||(c.content=c.content.replace(n,s),c.content.length&&(i=c.content[c.content.length-1]===`
24
+ `));else for(a=c.start;a<u;){if(!o[a]){const l=this.original[a];l===`
25
+ `?i=!0:l!=="\r"&&i&&(i=!1,a===c.start||(this._splitChunk(c,a),c=c.next),c.prependRight(t))}a+=1}a=c.end,c=c.next}return this.outro=this.outro.replace(n,s),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(t,r){return ft.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),ft.insertLeft=!0),this.appendLeft(t,r)}insertRight(t,r){return ft.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),ft.insertRight=!0),this.prependRight(t,r)}move(t,r,n){if(t=t+this.offset,r=r+this.offset,n=n+this.offset,n>=t&&n<=r)throw new Error("Cannot move a selection inside itself");this._split(t),this._split(r),this._split(n);const o=this.byStart[t],i=this.byEnd[r],s=o.previous,a=i.next,c=this.byStart[n];if(!c&&i===this.lastChunk)return this;const u=c?c.previous:this.lastChunk;return s&&(s.next=a),a&&(a.previous=s),u&&(u.next=o),c&&(c.previous=i),o.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=o.previous,this.lastChunk.next=null),o.previous=u,i.next=c||null,u||(this.firstChunk=o),c||(this.lastChunk=i),this}overwrite(t,r,n,o){return o=o||{},this.update(t,r,n,{...o,overwrite:!o.contentOnly})}update(t,r,n,o){if(t=t+this.offset,r=r+this.offset,typeof n!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(r>this.original.length)throw new Error("end is out of bounds");if(t===r)throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");this._split(t),this._split(r),o===!0&&(ft.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),ft.storeName=!0),o={storeName:!0});const i=o!==void 0?o.storeName:!1,s=o!==void 0?o.overwrite:!1;if(i){const u=this.original.slice(t,r);Object.defineProperty(this.storedNames,u,{writable:!0,value:!0,enumerable:!0})}const a=this.byStart[t],c=this.byEnd[r];if(a){let u=a;for(;u!==c;){if(u.next!==this.byStart[u.end])throw new Error("Cannot overwrite across a split point");u=u.next,u.edit("",!1)}a.edit(n,i,!s)}else{const u=new Dt(t,r,"").edit(n,i);c.next=u,u.previous=c}return this}prepend(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.intro=t+this.intro,this}prependLeft(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);const n=this.byEnd[t];return n?n.prependLeft(r):this.intro=r+this.intro,this}prependRight(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);const n=this.byStart[t];return n?n.prependRight(r):this.outro=r+this.outro,this}remove(t,r){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(t===r)return this;if(t<0||r>this.original.length)throw new Error("Character is out of bounds");if(t>r)throw new Error("end must be greater than start");this._split(t),this._split(r);let n=this.byStart[t];for(;n;)n.intro="",n.outro="",n.edit(""),n=r>n.end?this.byStart[n.end]:null;return this}reset(t,r){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(t===r)return this;if(t<0||r>this.original.length)throw new Error("Character is out of bounds");if(t>r)throw new Error("end must be greater than start");this._split(t),this._split(r);let n=this.byStart[t];for(;n;)n.reset(),n=r>n.end?this.byStart[n.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let t=this.lastChunk;do{if(t.outro.length)return t.outro[t.outro.length-1];if(t.content.length)return t.content[t.content.length-1];if(t.intro.length)return t.intro[t.intro.length-1]}while(t=t.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let t=this.outro.lastIndexOf(Et);if(t!==-1)return this.outro.substr(t+1);let r=this.outro,n=this.lastChunk;do{if(n.outro.length>0){if(t=n.outro.lastIndexOf(Et),t!==-1)return n.outro.substr(t+1)+r;r=n.outro+r}if(n.content.length>0){if(t=n.content.lastIndexOf(Et),t!==-1)return n.content.substr(t+1)+r;r=n.content+r}if(n.intro.length>0){if(t=n.intro.lastIndexOf(Et),t!==-1)return n.intro.substr(t+1)+r;r=n.intro+r}}while(n=n.previous);return t=this.intro.lastIndexOf(Et),t!==-1?this.intro.substr(t+1)+r:this.intro+r}slice(t=0,r=this.original.length-this.offset){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}let n="",o=this.firstChunk;for(;o&&(o.start>t||o.end<=t);){if(o.start<r&&o.end>=r)return n;o=o.next}if(o&&o.edited&&o.start!==t)throw new Error(`Cannot use replaced character ${t} as slice start anchor.`);const i=o;for(;o;){o.intro&&(i!==o||o.start===t)&&(n+=o.intro);const s=o.start<r&&o.end>=r;if(s&&o.edited&&o.end!==r)throw new Error(`Cannot use replaced character ${r} as slice end anchor.`);const a=i===o?t-o.start:0,c=s?o.content.length+r-o.end:o.content.length;if(n+=o.content.slice(a,c),o.outro&&(!s||o.end===r)&&(n+=o.outro),s)break;o=o.next}return n}snip(t,r){const n=this.clone();return n.remove(0,t),n.remove(r,n.original.length),n}_split(t){if(this.byStart[t]||this.byEnd[t])return;let r=this.lastSearchedChunk;const n=t>r.end;for(;r;){if(r.contains(t))return this._splitChunk(r,t);r=n?this.byStart[r.end]:this.byEnd[r.start]}}_splitChunk(t,r){if(t.edited&&t.content.length){const o=la(this.original)(r);throw new Error(`Cannot split a chunk that has already been edited (${o.line}:${o.column} – "${t.original}")`)}const n=t.split(r);return this.byEnd[r]=t,this.byStart[r]=n,this.byEnd[n.end]=n,t===this.lastChunk&&(this.lastChunk=n),this.lastSearchedChunk=t,!0}toString(){let t=this.intro,r=this.firstChunk;for(;r;)t+=r.toString(),r=r.next;return t+this.outro}isEmpty(){let t=this.firstChunk;do if(t.intro.length&&t.intro.trim()||t.content.length&&t.content.trim()||t.outro.length&&t.outro.trim())return!1;while(t=t.next);return!0}length(){let t=this.firstChunk,r=0;do r+=t.intro.length+t.content.length+t.outro.length;while(t=t.next);return r}trimLines(){return this.trim("[\\r\\n]")}trim(t){return this.trimStart(t).trimEnd(t)}trimEndAborted(t){const r=new RegExp((t||"\\s")+"+$");if(this.outro=this.outro.replace(r,""),this.outro.length)return!0;let n=this.lastChunk;do{const o=n.end,i=n.trimEnd(r);if(n.end!==o&&(this.lastChunk===n&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return!0;n=n.previous}while(n);return!1}trimEnd(t){return this.trimEndAborted(t),this}trimStartAborted(t){const r=new RegExp("^"+(t||"\\s")+"+");if(this.intro=this.intro.replace(r,""),this.intro.length)return!0;let n=this.firstChunk;do{const o=n.end,i=n.trimStart(r);if(n.end!==o&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return!0;n=n.next}while(n);return!1}trimStart(t){return this.trimStartAborted(t),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(t,r){function n(i,s){return typeof r=="string"?r.replace(/\$(\$|&|\d+)/g,(a,c)=>c==="$"?"$":c==="&"?i[0]:+c<i.length?i[+c]:`$${c}`):r(...i,i.index,s,i.groups)}function o(i,s){let a;const c=[];for(;a=i.exec(s);)c.push(a);return c}if(t.global)o(t,this.original).forEach(s=>{if(s.index!=null){const a=n(s,this.original);a!==s[0]&&this.overwrite(s.index,s.index+s[0].length,a)}});else{const i=this.original.match(t);if(i&&i.index!=null){const s=n(i,this.original);s!==i[0]&&this.overwrite(i.index,i.index+i[0].length,s)}}return this}_replaceString(t,r){const{original:n}=this,o=n.indexOf(t);return o!==-1&&this.overwrite(o,o+t.length,r),this}replace(t,r){return typeof t=="string"?this._replaceString(t,r):this._replaceRegexp(t,r)}_replaceAllString(t,r){const{original:n}=this,o=t.length;for(let i=n.indexOf(t);i!==-1;i=n.indexOf(t,i+o))n.slice(i,i+o)!==r&&this.overwrite(i,i+o,r);return this}replaceAll(t,r){if(typeof t=="string")return this._replaceAllString(t,r);if(!t.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(t,r)}}function Ko(e,t,r){if(e==="")return;const n=e.length;let o=0,i=!1,s=0;for(let a=0;a<n;a++)switch(e[a]){case t:i||(i=!0,s=a),o++;break;case r:if(--o,o<0)return;if(o===0)return[e.slice(s,a+1),e.slice(a+1),e.slice(0,s)];break}}function vn(e,t,r,n){if(e===""||(le(n)&&(n=[n]),n.length===0))return;const o=e.length;let i=0;for(let s=0;s<o;s++)switch(e[s]){case t:i++;break;case r:if(--i<0)return;break;default:for(const a of n){const c=a.length;if(c&&a===e.slice(s,s+c)&&i===0)return s===0||s===o-c?void 0:[e.slice(0,s),e.slice(s+c)]}}return[e,""]}function qt(e,t,r,n="(",o=")"){r=r??10;const i=[];let s=0;for(;e!=="";){if(++s>r)return;const a=vn(e,n,o,t);if(!a)return;const[c,u]=a;i.push(c),e=u}if(i.length>0)return i}const Bo=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],km=["srgb","srgb-linear","display-p3","a98-rgb","prophoto-rgb","rec2020","lab","oklab","xyz","xyz-d50","xyz-d65"],_m=["hsl","hwb","lch","oklch"],xm=["shorter","longer","increasing","decreasing"],Zc=["%alpha","<alpha-value>"],el=new RegExp(Zc.map(e=>Lt(e)).join("|"),"g");function ua(e){return e?km.some(t=>e.includes(t))||_m.some(t=>e.includes(t))||xm.some(t=>e.includes(t)):!1}function pt(e=""){const t=Sm(e);if(t==null||t===!1)return;const{type:r,components:n,alpha:o}=t,i=r.toLowerCase();if(n.length!==0&&!(Bo.includes(i)&&![1,3].includes(n.length)))return{type:i,components:n.map(s=>typeof s=="string"?s.trim():s),alpha:typeof o=="string"?o.trim():o}}function bo(e,t){if(typeof e=="string")return e.replace(el,`${t??1}`);const{components:r}=e;let{alpha:n,type:o}=e;return n=t??n,o=o.toLowerCase(),["hsla","rgba"].includes(o)?`${o}(${r.join(", ")}${n==null?"":`, ${n}`})`:(n=n==null?"":` / ${n}`,Bo.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function Sm(e){if(!e)return;let t=Em(e);if(t!=null||(t=Cm(e),t!=null)||(t=jm(e),t!=null)||(t=Om(e),t!=null)||(t=Rm(e),t!=null))return t}function Em(e){const[,t]=e.match(/^#([\da-f]+)$/i)||[];if(t)switch(t.length){case 3:case 4:{const r=Array.from(t,n=>Number.parseInt(n,16)).map(n=>n<<4|n);return{type:"rgb",components:r.slice(0,3),alpha:t.length===3?void 0:Math.round(r[3]/255*100)/100}}case 6:case 8:{const r=Number.parseInt(t,16);return{type:"rgb",components:t.length===6?[r>>16&255,r>>8&255,r&255]:[r>>24&255,r>>16&255,r>>8&255],alpha:t.length===6?void 0:Math.round((r&255)/255*100)/100}}}}function Cm(e){const t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}function jm(e){const t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;const[,r,n]=t,o=qt(n,",",5);if(o){if([3,4].includes(o.length))return{type:r,components:o.slice(0,3),alpha:o[3]};if(o.length!==1)return!1}}const Pm=new RegExp(`^(${Bo.join("|")})\\((.+)\\)$`,"i");function Om(e){const t=e.match(Pm);if(!t)return;const[,r,n]=t,o=tl(`${r} ${n}`);if(o){const{alpha:i,components:[s,...a]}=o;return{type:s,components:a,alpha:i}}}function Rm(e){const t=e.match(/^color\((.+)\)$/);if(!t)return;const r=tl(t[1]);if(r){const{alpha:n,components:[o,...i]}=r;return{type:o,components:i,alpha:n}}}function tl(e){const t=qt(e," ");if(!t)return;let r=t.length;if(t[r-2]==="/")return{components:t.slice(0,r-2),alpha:t[r-1]};if(t[r-2]!=null&&(t[r-2].endsWith("/")||t[r-1].startsWith("/"))){const i=t.splice(r-2);t.push(i.join(" ")),--r}const n=qt(t[r-1],"/",2);if(!n)return;if(n.length===1||n[n.length-1]==="")return{components:t};const o=n.pop();return t[r-1]=n.join("/"),{components:t,alpha:o}}const Am=/theme\(\s*(['"])?(.*?)\1?\s*\)/g;function Tm(e){return e.includes("theme(")&&e.includes(")")}function Nm(e,t,r=!0){const n=Array.from(e.toString().matchAll(Am));if(!n.length)return e;const o=new Wo(e);for(const i of n){const s=i[2];if(!s)throw new Error("theme() expect exact one argument, but got 0");const a=Im(s,t,r);a&&o.overwrite(i.index,i.index+i[0].length,a)}return o.toString()}function Im(e,t,r=!0){const[n,o]=e.split("/");let s=n.trim().split(".").reduce((a,c)=>a==null?void 0:a[c],t);if(typeof s=="object"&&(s=s.DEFAULT),typeof s=="string"){if(o){const a=pt(s);a&&(s=bo(a,o))}return s}else if(r)throw new Error(`theme of "${e}" did not found`)}function fa(e){var n;const t=((n=e.match(/^-?\d+\.?\d*/))==null?void 0:n[0])||"",r=e.slice(t.length);if(r==="px"){const o=Number.parseFloat(t)-.1;return Number.isNaN(o)?e:`${o}${r}`}return`calc(${e} - 0.1px)`}function Mm(e){const t=function(n){var i;const o=((i=this.__options)==null?void 0:i.sequence)||[];this.__options.sequence=[];for(const s of o){const a=e[s](n);if(a!=null)return a}};function r(n,o){return n.__options||(n.__options={sequence:[]}),n.__options.sequence.push(o),n}for(const n of Object.keys(e))Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get(){return r(this,n)}});return t}const rl="__pseudo_placeholder__",bt=Object.fromEntries([["first-letter","::first-letter"],["first-line","::first-line"],"any-link","link","visited","target",["open","[open]"],"default","checked","indeterminate","placeholder-shown","autofill","optional","required","valid","invalid","user-valid","user-invalid","in-range","out-of-range","read-only","read-write","empty","focus-within","hover","focus","focus-visible","active","enabled","disabled","popover-open","root","empty",["even-of-type",":nth-of-type(even)"],["even",":nth-child(even)"],["odd-of-type",":nth-of-type(odd)"],["odd",":nth-child(odd)"],["nth",`:nth-child(${rl})`],"first-of-type",["first",":first-child"],"last-of-type",["last",":last-child"],"only-child","only-of-type",["backdrop-element","::backdrop"],["placeholder","::placeholder"],["before","::before"],["after","::after"],["file","::file-selector-button"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),nl=Object.keys(bt),vt=Object.fromEntries([["backdrop","::backdrop"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),ol=Object.keys(vt),Fm=["not","is","where","has"],il=Object.fromEntries([["selection",["::selection"," *::selection"]],["marker",["::marker"," *::marker"]]]),vo=Object.entries(bt).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),$o=Object.entries(vt).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),tt=Fm.join("|"),da=Object.keys(il).sort((e,t)=>t.length-e.length).join("|"),zm=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],pa=Object.entries(bt).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),ha=Object.entries(vt).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|");function Lm(e,t,r,n){const{h:o,variantGetBracket:i}=n,s=new RegExp(`^(${Lt(t)}:)(\\S+)${Lt(r)}\\1`);let a,c,u,l;const d=g=>{var k;const h=i(`${e}-`,g,[]);if(!h)return;const[p,m]=h,f=o.bracket(p);if(f==null)return;const y=((k=m.split(a,1))==null?void 0:k[0])??"",$=`${t}${ht(y)}`;return[y,g.slice(g.length-(m.length-y.length-1)),f.includes("&")?f.replace(/&/g,$):`${$}${f}`]},b=g=>{const h=g.match(c)||g.match(u);if(!h)return;const[p,m,f]=h,y=h[3]??"";let $=bt[f]||vt[f]||`:${f}`;return m&&($=`:${m}(${$})`),[y,g.slice(p.length),`${t}${ht(y)}${$}`,f]},v=g=>{const h=g.match(l);if(!h)return;const[p,m,f]=h,y=h[3]??"",$=`:${m}(${f})`;return[y,g.slice(p.length),`${t}${ht(y)}${$}`]};return{name:`pseudo:${e}`,match(g,h){if(a&&c&&u||(a=new RegExp(`(?:${h.generator.config.separators.join("|")})`),c=new RegExp(`^${e}-(?:(?:(${tt})-)?(${vo}))(?:(/[\\w-]+))?(?:${h.generator.config.separators.join("|")})`),u=new RegExp(`^${e}-(?:(?:(${tt})-)?(${$o}))(?:(/[\\w-]+))?(?:${h.generator.config.separators.filter(k=>k!=="-").join("|")})`),l=new RegExp(`^${e}-(?:(${tt})-)?\\[(.+)\\](?:(/[\\w-]+))?(?:${h.generator.config.separators.filter(k=>k!=="-").join("|")})`)),!g.startsWith(e))return;const p=d(g)||b(g)||v(g);if(!p)return;const[m,f,y,$=""]=p;return{matcher:f,handle:(k,_)=>_({...k,prefix:`${y}${r}${k.prefix}`.replace(s,"$1$2:"),sort:nl.indexOf($)??ol.indexOf($)})}},multiPass:!0}}function Dm(e){const{h:t}=e;let r,n,o;return[{name:"pseudo",match(i,s){r&&n||(r=new RegExp(`^(${pa})(?:-(\\d+|\\[\\w+\\]))?(?:${s.generator.config.separators.join("|")})`),n=new RegExp(`^(${ha})(?:${s.generator.config.separators.filter(c=>c!=="-").join("|")})`));const a=i.match(r)||i.match(n);if(a){let c=bt[a[1]]||vt[a[1]]||`:${a[1]}`;if(a[2]){let l;a[2].startsWith("[")&&a[2].endsWith("]")?l=t.bracket(a[2]):l=a[2],l&&(c=c.replace(rl,l))}let u=nl.indexOf(a[1]);return u===-1&&(u=ol.indexOf(a[1])),u===-1&&(u=void 0),{matcher:i.slice(a[0].length),handle:(l,d)=>{const b=c.includes("::")&&!zm.includes(c)?{pseudo:`${l.pseudo}${c}`}:{selector:`${l.selector}${c}`};return d({...l,...b,sort:u,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${pa}|${ha}):`},{name:"pseudo:multi",match(i,s){o||(o=new RegExp(`^(${da})(?:${s.generator.config.separators.join("|")})`));const a=i.match(o);if(a)return il[a[1]].map(u=>({matcher:i.slice(a[0].length),handle:(l,d)=>d({...l,pseudo:`${l.pseudo}${u}`})}))},multiPass:!1,autocomplete:`(${da}):`}]}function qm(e){const{getBracket:t,h:r}=e;let n,o,i;return{match(s,a){n&&o||(n=new RegExp(`^(${tt})-(${vo})(?:${a.generator.config.separators.join("|")})`),o=new RegExp(`^(${tt})-(${$o})(?:${a.generator.config.separators.filter(u=>u!=="-").join("|")})`),i=new RegExp(`^(${tt})-(\\[.+\\])(?:${a.generator.config.separators.filter(u=>u!=="-").join("|")})`));const c=s.match(n)||s.match(o)||s.match(i);if(c){const u=c[1],d=t(c[2],"[","]")?r.bracket(c[2]):bt[c[2]]||vt[c[2]]||`:${c[2]}`;return{matcher:s.slice(c[0].length),selector:b=>`${b}:${u}(${d})`}}},multiPass:!0,autocomplete:`(${tt})-(${vo}|${$o}):`}}function Vm(e,t){const r=!!(e!=null&&e.attributifyPseudo);let n=(e==null?void 0:e.prefix)??"";n=(Array.isArray(n)?n:[n]).filter(Boolean)[0]??"";const o=(i,s)=>Lm(i,r?`[${n}${i}=""]`:`.${n}${i}`,s,t);return[o("group"," "),o("peer","~"),o("parent",">"),o("previous","+"),o("group-aria"," "),o("peer-aria","~"),o("parent-aria",">"),o("previous-aria","+")]}const Um=/(part-\[(.+)\]:)(.+)/;function Hm(){return{match(e){const t=e.match(Um);if(t){const r=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:n=>`${n}::${r}`}}},multiPass:!0}}function He(e,t){let r;return{name:e,match(n,o){r||(r=new RegExp(`^${Lt(e)}(?:${o.generator.config.separators.join("|")})`));const i=n.match(r);if(i){const s=n.slice(i[0].length),a=ae(t).map(c=>({matcher:s,handle:(u,l)=>l({...u,...c(u)})}));return a.length===1?a[0]:a}},autocomplete:`${e}:`}}function _e(e,t){let r;return{name:e,match(n,o){r||(r=new RegExp(`^${Lt(e)}(?:${o.generator.config.separators.join("|")})`));const i=n.match(r);if(i)return{matcher:n.slice(i[0].length),handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}${t}`})}},autocomplete:`${e}:`}}function Ut(e,t,r){if(t.startsWith(`${e}[`)){const[n,o]=Ko(t.slice(e.length),"[","]")??[];if(n&&o){for(const i of r)if(o.startsWith(i))return[n,o.slice(i.length),i];return[n,o,""]}}}function Ie(e,t,r){for(const n of ae(e))if(t.startsWith(n)){const o=Ut(n,t,r);if(o){const[i="",s=o[1]]=Ie("/",o[1],r)??[];return[o[0],s,i]}for(const i of r.filter(s=>s!=="/")){const s=t.indexOf(i,n.length);if(s!==-1){const a=t.indexOf("/",n.length),c=a===-1||s<=a;return[t.slice(n.length,c?s:a),t.slice(s+i.length),c?"":t.slice(a+1,s)]}}}}function ma(e){var t;return{"h1,h2,h3,h4,h5,h6":{color:"var(--un-prose-headings)","font-weight":"600","line-height":1.25},a:{color:"var(--un-prose-links)","text-decoration":"underline","font-weight":"500"},"a code":{color:"var(--un-prose-links)"},"p,ul,ol,pre":{margin:"1em 0","line-height":1.75},blockquote:{margin:"1em 0","padding-left":"1em","font-style":"italic","border-left":".25em solid var(--un-prose-borders)"},h1:{margin:"1rem 0","font-size":"2.25em"},h2:{margin:"1.75em 0 .5em","font-size":"1.75em"},h3:{margin:"1.5em 0 .5em","font-size":"1.375em"},h4:{margin:"1em 0","font-size":"1.125em"},"img,video":{"max-width":"100%"},"figure,picture":{margin:"1em 0"},figcaption:{color:"var(--un-prose-captions)","font-size":".875em"},code:{color:"var(--un-prose-code)","font-size":".875em","font-weight":600,"font-family":(t=e.fontFamily)==null?void 0:t.mono},":not(pre) > code::before,:not(pre) > code::after":{content:'"`"'},pre:{padding:"1.25rem 1.5rem","overflow-x":"auto","border-radius":".375rem"},"pre,code":{"white-space":"pre","word-spacing":"normal","word-break":"normal","word-wrap":"normal","-moz-tab-size":4,"-o-tab-size":4,"tab-size":4,"-webkit-hyphens":"none","-moz-hyphens":"none",hyphens:"none",background:"transparent"},"pre code":{"font-weight":"inherit"},"ol,ul":{"padding-left":"1.25em"},ol:{"list-style-type":"decimal"},'ol[type="A"]':{"list-style-type":"upper-alpha"},'ol[type="a"]':{"list-style-type":"lower-alpha"},'ol[type="A" s]':{"list-style-type":"upper-alpha"},'ol[type="a" s]':{"list-style-type":"lower-alpha"},'ol[type="I"]':{"list-style-type":"upper-roman"},'ol[type="i"]':{"list-style-type":"lower-roman"},'ol[type="I" s]':{"list-style-type":"upper-roman"},'ol[type="i" s]':{"list-style-type":"lower-roman"},'ol[type="1"]':{"list-style-type":"decimal"},ul:{"list-style-type":"disc"},"ol > li::marker,ul > li::marker,summary::marker":{color:"var(--un-prose-lists)"},hr:{margin:"2em 0",border:"1px solid var(--un-prose-hr)"},table:{display:"block",margin:"1em 0","border-collapse":"collapse","overflow-x":"auto"},"tr:nth-child(2n)":{background:"var(--un-prose-bg-soft)"},"td,th":{border:"1px solid var(--un-prose-borders)",padding:".625em 1em"},abbr:{cursor:"help"},kbd:{color:"var(--un-prose-code)",border:"1px solid",padding:".25rem .5rem","font-size":".875em","border-radius":".25rem"},details:{margin:"1em 0",padding:"1.25rem 1.5rem",background:"var(--un-prose-bg-soft)"},summary:{cursor:"pointer","font-weight":"600"}}}const Wm=[["headings","h1","h2","h3","h4","h5","h6","th"],["h1"],["h2"],["h3"],["h4"],["h5"],["h6"],["p"],["a"],["blockquote"],["figure"],["figcaption"],["strong"],["em"],["kbd"],["code"],["pre"],["ol"],["ul"],["li"],["table"],["thead"],["tr"],["th"],["td"],["img"],["video"],["hr"]];function Km(e){for(const[t,...r]of Wm)if(t===e)return r.length>0?r:[t]}function ga(e){let t="";const{escapedSelector:r,selectorName:n,preflights:o,compatibility:i,important:s}=e,a=(i==null?void 0:i.noColonNot)||(i==null?void 0:i.noColonWhere);for(const c in o){const u=o[c],l=`:not(:where(.not-${n},.not-${n} *))`,d=c.split(",").map(b=>{const v=b.match(/:[():\-\w]+$/g);if(v){const g=v[0];return b=b.replace(g,""),r.map(h=>a?`${h} ${b}${g}`:`${h} :where(${b})${l}${g}`).join(",")}return null}).filter(b=>b);d.length?t+=d.join(","):t+=r.map(b=>a?c.split(",").map(v=>`${b} ${v}`).join(","):`${b} :where(${c})${l}`).join(","),t+="{";for(const b in u){const v=u[b];t+=`${b}:${v}${s?" !important":""};`}t+="}"}return t}function Bm(e,t){const{compatibility:r,selectorName:n,important:o=!1}=t,i=typeof(t==null?void 0:t.cssExtend)=="function"?t.cssExtend(e.theme):t==null?void 0:t.cssExtend;let s=Array.from(t.escapedSelectors);return!s[s.length-1].startsWith(".")&&!(r!=null&&r.noColonIs)&&(s=[`:is(${s[s.length-1]},.${t.selectorName})`]),typeof o=="string"&&(s=s.map(a=>r!=null&&r.noColonIs?`${o} ${a}`:`:is(${o}) ${a}`)),ga(i?{escapedSelector:s,selectorName:n,preflights:hn(ma(e.theme),i),compatibility:r,important:o===!0}:{escapedSelector:s,selectorName:n,preflights:ma(e.theme),compatibility:r,important:o===!0})}const Gm=e=>{var a,c;e!=null&&e.className&&console.warn('[unocss:preset-typography] "className" is deprecated. Please use "selectorName" instead.');const t=new Set,r=(e==null?void 0:e.selectorName)||(e==null?void 0:e.className)||"prose",n=new RegExp(`^${r}$`),o=new RegExp(`^${r}-([-\\w]+)$`),i=new RegExp(`^${r}-invert$`),s=((a=e==null?void 0:e.compatibility)==null?void 0:a.noColonNot)||((c=e==null?void 0:e.compatibility)==null?void 0:c.noColonWhere);return{name:"@unocss/preset-typography",enforce:"post",layers:{typography:-20},rules:[[n,(u,{rawSelector:l})=>(t.add(kc(l)),{color:"var(--un-prose-body)","max-width":"65ch"}),{layer:"typography"}],[o,([,u],{theme:l})=>{var h;const d=(h=l.colors)==null?void 0:h[u];if(d==null)return;const b=typeof d=="object"?d:{},v={body:700,headings:900,links:900,lists:400,hr:200,captions:500,code:900,borders:200,"bg-soft":100,"invert-body":200,"invert-headings":100,"invert-links":100,"invert-lists":500,"invert-hr":700,"invert-captions":400,"invert-code":100,"invert-borders":700,"invert-bg-soft":800},g={};for(const p in v){const m=v[p],f=b[m]??d;let y=!1;for(const $ of Zc)if(f.includes($)){y=!0,g[`--un-prose-${p}-opacity`]=1,g[`--un-prose-${p}`]=f.replace($,`var(--un-prose-${p}-opacity)`);break}y||(g[`--un-prose-${p}`]=f)}return g},{layer:"typography"}],[i,()=>({"--un-prose-body":"var(--un-prose-invert-body)","--un-prose-headings":"var(--un-prose-invert-headings)","--un-prose-links":"var(--un-prose-invert-links)","--un-prose-lists":"var(--un-prose-invert-lists)","--un-prose-hr":"var(--un-prose-invert-hr)","--un-prose-captions":"var(--un-prose-invert-captions)","--un-prose-code":"var(--un-prose-invert-code)","--un-prose-borders":"var(--un-prose-invert-borders)","--un-prose-bg-soft":"var(--un-prose-invert-bg-soft)"}),{layer:"typography"}]],variants:[{name:"typography element modifiers",match:u=>{var l;if(u.startsWith(`${r}-`)){const d=new RegExp(`^${r}-(\\w+)[:-].+$`),b=(l=u.match(d))==null?void 0:l[1];if(b){const v=Km(b);if(v!=null&&v.length)return{matcher:u.slice(r.length+b.length+2),selector:g=>{const h=`:not(:where(.not-${r},.not-${r} *))`;return s?v.map(m=>`${g} ${m}`).join(","):`${g} :is(:where(${v})${h})`}}}}}}],preflights:[{layer:"typography",getCSS:u=>{if(t.size>0)return Bm(u,{escapedSelectors:t,...e,selectorName:r})}}]}};function Jm(e){let t,r,n=2166136261;for(t=0,r=e.length;t<r;t++)n^=e.charCodeAt(t),n+=(n<<1)+(n<<4)+(n<<7)+(n<<8)+(n<<24);return`00000${(n>>>0).toString(36)}`.slice(-6)}function Xm(e,t,r,n){for(const o of Array.from(e.matchAll(r)))if(o!=null){const i=o[0],s=`${n}${Jm(i)}`;t.set(s,i),e=e.replace(i,s)}return e}function Ym(e,t){for(const[r,n]of t.entries())e=e.replaceAll(r,n);return e}const Qm=/\/\/#\s*sourceMappingURL=.*\n?/g;function Zm(e){return e.includes("sourceMappingURL=")?e.replace(Qm,""):e}const e0=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,t0=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,r0=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function n0(e){const t=[];for(const o of e.matchAll(t0))o.index!==0&&!/^[\s'"`]/.test(e[o.index-1]??"")||t.push(o[0]);for(const o of e.matchAll(e0))t.push(o[0]);const r=new Map,n="@unocss-skip-arbitrary-brackets";return e=Xm(e,r,/-\[(?!&.+?;)[^\]]*\]/g,n),e&&e.split(gc).forEach(o=>{o.includes(n)&&(o=Ym(o,r)),po(o)&&!r0.test(o)&&t.push(o)}),t}function o0(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:e}){return n0(Zm(e))}}}const i0="@unocss/preset-wind4",wo="$$mini-no-negative",$n={transparent:"transparent",current:"currentColor",inherit:"inherit"},Se={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-inline"],y:["-block"],"":[""],bs:["-block-start"],be:["-block-end"],is:["-inline-start"],ie:["-inline-end"],block:["-block-start","-block-end"],inline:["-inline-start","-inline-end"]},ya={...Se,x:["-inset-inline"],y:["-inset-block"],s:["-inset-inline-start"],start:["-inset-inline-start"],e:["-inset-inline-end"],end:["-inset-inline-end"],bs:["-inset-block-start"],be:["-inset-block-end"],is:["-inset-inline-start"],ie:["-inset-inline-end"],block:["-inset-block-start","-inset-block-end"],inline:["-inset-inline-start","-inset-inline-end"]},Yn={l:["-top-left","-bottom-left"],r:["-top-right","-bottom-right"],t:["-top-left","-top-right"],b:["-bottom-left","-bottom-right"],tl:["-top-left"],lt:["-top-left"],tr:["-top-right"],rt:["-top-right"],bl:["-bottom-left"],lb:["-bottom-left"],br:["-bottom-right"],rb:["-bottom-right"],"":[""],bs:["-start-start","-start-end"],be:["-end-start","-end-end"],s:["-end-start","-start-start"],is:["-end-start","-start-start"],e:["-start-end","-end-end"],ie:["-start-end","-end-end"],ss:["-start-start"],"bs-is":["-start-start"],"is-bs":["-start-start"],se:["-start-end"],"bs-ie":["-start-end"],"ie-bs":["-start-end"],es:["-end-start"],"be-is":["-end-start"],"is-be":["-end-start"],ee:["-end-end"],"be-ie":["-end-end"],"ie-be":["-end-end"]},sl={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},s0=["x","y","z"],ba=["top","top center","top left","top right","bottom","bottom center","bottom left","bottom right","left","left center","left top","left bottom","right","right center","right top","right bottom","center","center top","center bottom","center left","center right","center center"],Ae=Object.assign({},...ba.map(e=>({[e.replace(/ /,"-")]:e})),...ba.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),fe=["inherit","initial","revert","revert-layer","unset"],Go=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,al=/^(var)\s*\((.+)\)(.*)/,Ht=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,a0=/^(-?\d*(?:\.\d+)?)$/,cl=/^(px|[sld]?v[wh])$/i,ll={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},Jo=/^\[(color|image|length|size|position|quoted|string|number|family):/i,c0=/,(?![^()]*\))/g,l0=["color","border-color","background-color","outline-color","text-decoration-color","flex-grow","flex","flex-shrink","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","border","background-position","left","right","top","bottom","object-position","max-height","min-height","max-width","min-width","height","width","border-width","margin","padding","outline-width","outline-offset","font-size","line-height","text-indent","vertical-align","border-spacing","letter-spacing","word-spacing","stroke","filter","backdrop-filter","fill","mask","mask-size","mask-border","clip-path","clip","border-radius"];function Te(e){return+e.toFixed(10)}function u0(e){const t=e.match(Ht);if(!t)return;const[,r,n]=t,o=Number.parseFloat(r);if(n&&!Number.isNaN(o))return`${Te(o)}${n}`}function f0(e){if(e==="auto"||e==="a")return"auto"}function d0(e){if(!e)return;if(cl.test(e))return`${ll[e]}${e}`;const t=e.match(Ht);if(!t)return;const[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${Te(o)}${n}`:`${Te(o/4)}rem`}function p0(e){if(cl.test(e))return`${ll[e]}${e}`;const t=e.match(Ht);if(!t)return;const[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return n?`${Te(o)}${n}`:`${Te(o)}px`}function ul(e){if(!a0.test(e))return;const t=Number.parseFloat(e);if(!Number.isNaN(t))return Te(t)}function h0(e){e.endsWith("%")&&(e=e.slice(0,-1));const t=ul(e);if(t!=null)return`${t}%`}function m0(e){if(!e)return;if(e==="full")return"100%";const[t,r]=e.split("/"),n=Number.parseFloat(t)/Number.parseFloat(r);if(!Number.isNaN(n))return n===0?"0":`${Te(n*100)}%`}function at(e,t){if(e&&e.startsWith("[")&&e.endsWith("]")){let r,n;const o=e.match(Jo);if(!o)r=e.slice(1,-1);else{if(!t)n=o[1];else if(o[1]!==t)return;r=e.slice(o[0].length,-1)}if(!r||r==='=""')return;if(r.startsWith("--")){const[s,a]=r.slice(2).split(",");r=`var(--${ht(s)}${a?`, ${a}`:""})`}let i=0;for(const s of r)if(s==="[")i+=1;else if(s==="]"&&(i-=1,i<0))return;if(i)return;switch(n){case"string":return r.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_");case"quoted":return r.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(["\\])/g,"\\$1").replace(/^(.+)$/,'"$1"')}return r.replace(/(url\(.*?\))/g,s=>s.replace(/_/g,"\\_")).replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(?:calc|clamp|max|min)\((.*)/g,s=>{const a=[];return s.replace(/var\((--.+?)[,)]/g,(c,u)=>(a.push(u),c.replace(u,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>a.shift())})}}function g0(e){return at(e)}function y0(e){return at(e,"color")}function b0(e){return at(e,"length")||at(e,"size")}function v0(e){return at(e,"position")}function $0(e){return at(e,"family")}function w0(e){return at(e,"number")}function k0(e){if(e.startsWith("var("))return e;const t=e.match(/^(?:\$|--)([^\s'"`;{}]+)$/);if(t){const[r,n]=t[1].split(",");return`var(--${ht(r)}${n?`, ${n}`:""})`}}function _0(e){const t=e.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!t)return;const[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0&&!n?"0s":n?`${Te(o)}${n}`:`${Te(o)}ms`}function x0(e){const t=e.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!t)return;const[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${Te(o)}${n}`:`${Te(o)}deg`}function S0(e){if(fe.includes(e))return e}function E0(e){if(e.split(",").every(t=>l0.includes(t)))return e}function C0(e){if(["top","left","right","bottom","center"].includes(e))return e}function j0(e){if(e==="none")return"none"}const P0={__proto__:null,auto:f0,bracket:g0,bracketOfColor:y0,bracketOfFamily:$0,bracketOfLength:b0,bracketOfNumber:w0,bracketOfPosition:v0,cssvar:k0,degree:x0,fraction:m0,global:S0,none:j0,number:ul,numberWithUnit:u0,percent:h0,position:C0,properties:E0,px:p0,rem:d0,time:_0},O0=Mm(P0),C=O0;function Fe(e,t){const r=C.number(e)??t;if(r!=null){let n=Number(r);return String(r).endsWith("%")&&(n=Number(String(r).slice(0,-1))/100),n}}function ce(e){function t(n){const o=n.match(Ht);if(o){const[,i,s]=o,a=Number.parseFloat(i);if(!Number.isNaN(a))return[a,s]}return[void 0,void 0]}function r(n){var s;let o,i;if((s=n.spacing)!=null&&s.DEFAULT){const[a,c]=t(n.spacing.DEFAULT);a!=null&&c!=null&&(o=a,i=c)}return Object.entries(n.spacing??{}).reduce((a,[c,u])=>{const[l,d]=t(u);return l!=null&&d!=null&&d===i?a[c]=l/o:a[c]=u,a},{})}return([n,o,i],{theme:s})=>{if(i!=null&&o!=null){const a=r(s);let c;const u=i.startsWith("-");if(u&&(i=i.slice(1)),c=Fe(i,a[i]),c!=null)return Number.isNaN(c)?(Z("spacing",i),Se[o].map(l=>[`${e}${l}`,u?`calc(var(--spacing-${i} * -1)`:`var(--spacing-${i})`])):(Z("spacing"),Se[o].map(l=>[`${e}${l}`,`calc(var(--spacing) * ${u?"-":""}${c})`]));if(c=C.bracket.cssvar.global.auto.fraction.rem(u?`-${i}`:i),c!=null)return Se[o].map(l=>[`${e}${l}`,c])}}}function wn(e,t){let r;const[n,...o]=qt(e,["/",":"],3)??[];if(n!=null){const g=(n.match(Jo)??[])[1];(g==null||g==="color")&&(r=[n,...o])}if(!r)return;let i,[s,a,c]=r;ua(a)||ua(C.bracket(a??""))?c=a:i=a;const u=s.replace(/([a-z])(\d)/g,"$1-$2").split(/-/g),[l]=u;if(!l)return;let{no:d,keys:b,color:v}=R0(t,u)??{};if(!v){const g=C.bracketOfColor(s),h=g||s;if(C.numberWithUnit(h))return;/^#[\da-f]+$/i.test(h)?v=h:/^hex-[\da-fA-F]+$/.test(h)?v=`#${h.slice(4)}`:s.startsWith("$")&&(v=C.cssvar(s)),v=v||g}return{opacity:i,modifier:c&&C.bracket.cssvar(c)||c,name:l,no:d,color:v??$n[l],alpha:C.bracket.cssvar.percent(i??""),keys:b,get cssColor(){return pt(this.color)}}}function R0(e,t){let r,n,o;const i=an(e,"colors",t);if(typeof i=="object"?"DEFAULT"in i&&(r=i.DEFAULT,n="DEFAULT",o=[...t,n]):typeof i=="string"&&(r=i,o=t,n=t.at(-1)),!!r)return{color:r,no:n,keys:o}}function an(e,t,r){const n=e[t];function o(i,s){if(!(!i||typeof i!="object")){if(s.length===0)return i;for(let a=s.length;a>0;a--){const c=s.slice(0,a).join("-");if(c in i){const u=i[c];return a===s.length?u:o(u,s.slice(a))}}}}return o(n,r)}function fl(e,t,r,n){if(!e)return;const{color:o,keys:i,alpha:s,modifier:a}=e,c=(n==null?void 0:n.generator.config.envMode)==="dev"&&o?` /* ${o} */`:"",u={};if(o){const l=[u];if(Object.values($n).includes(o))u[t]=o;else{const d=`--un-${r}-opacity`,b=i?ue("colors",i):o;let v=a??(i?"in srgb":"in oklab");!v.startsWith("in ")&&!v.startsWith("var(")&&(v=`in ${v}`),u[t]=`color-mix(${v}, ${b} ${s??`var(${d})`}, transparent)${c}`,l.push(B(d,{syntax:"<percentage>",initialValue:"100%"})),i&&(Z("colors",i),a||l.push({[be.parent]:"@supports (color: color-mix(in lab, red, red))",[be.noMerge]:!0,[be.shortcutsNoMerge]:!0,[t]:`color-mix(in oklab, ${b} ${s??`var(${d})`}, transparent)${c}`})),n!=null&&n.theme&&_n(o,n.theme)}return l}}function de(e,t){return([,r],n)=>{const o=wn(r??"",n.theme);if(o)return fl(o,e,t,n)}}function Xo(e,t){const r=[];e=ae(e);for(let n=0;n<e.length;n++){const o=qt(e[n]," ",6);if(!o||o.length<3)return e;let i=!1;const s=o.indexOf("inset");s!==-1&&(o.splice(s,1),i=!0);let a="";const c=o.at(-1);if(pt(o.at(0))){const u=pt(o.shift());u&&(a=`, ${bo(u)}`)}else if(pt(c)){const u=pt(o.pop());u&&(a=`, ${bo(u)}`)}else c&&al.test(c)&&(a=`, ${o.pop()}`);r.push(`${i?"inset ":""}${o.join(" ")} var(${t}${a})`)}return r}function Yo(e,t){var r;return e!=null&&!!((r=wn(e,t))!=null&&r.color)}const va=/[a-z]+/gi,Qn=new WeakMap;function kn({theme:e,generator:t},r="breakpoint"){var i,s;const n=((s=(i=t==null?void 0:t.userConfig)==null?void 0:i.theme)==null?void 0:s[r])||e[r];if(!n)return;if(Qn.has(e))return Qn.get(e);const o=Object.entries(n).sort((a,c)=>Number.parseInt(a[1].replace(va,""))-Number.parseInt(c[1].replace(va,""))).map(([a,c])=>({point:a,size:c}));return Qn.set(e,o),o}function ee(e,t){return fe.map(r=>[`${e}-${r}`,{[t??e]:r}])}function B(e,t={}){const{syntax:r="*",inherits:n=!1,initialValue:o}=t,i={[be.shortcutsNoMerge]:!0,[be.noMerge]:!0,[be.variants]:()=>[{parent:"",layer:"properties",selector:()=>`@property ${e}`}],syntax:JSON.stringify(r),inherits:n?"true":"false"};return o!=null&&(i["initial-value"]=o,N0(e,String(o))),i}function Wt(e){return e!=null&&Go.test(e)}function A0(e){return e[0]==="["&&e.slice(-1)==="]"&&(e=e.slice(1,-1)),Go.test(e)||Ht.test(e)}function T0(e){return e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}function dl(e,t=!1){return t?e.trim():e.trim().replace(/\s+/g," ").replace(/\/\*[\s\S]*?\*\//g,"")}const mt=new Set([]);function Z(e,t="DEFAULT"){const r=`${e}:${ae(t).join("-")}`;mt.has(r)||mt.add(r)}function ue(e,t){return`var(--${e}-${ae(t).join("-")})`}function _n(e,t){var r;if(e.startsWith("var(")){const n=(r=e.match(/var\(--([\w-]+)(?:,.*)?\)/))==null?void 0:r[1];if(n){const[o,...i]=n.split("-"),s=an(t,o,i);typeof s=="string"&&(Z(o,i),_n(s,t))}}}const gt=new Map;function N0(e,t){gt.has(e)||gt.set(e,t)}function I0({important:e}){if(e==null||e===!1)return[];const t=r=>r.startsWith(":is(")&&r.endsWith(")")?r:r.includes("::")?r.replace(/(.*?)((?:\s\*)?::.*)/,":is($1)$2"):`:is(${r})`;return[e===!0?r=>{r.layer!=="properties"&&r.entries.forEach(n=>{n[1]!=null&&!String(n[1]).endsWith("!important")&&(n[1]+=" !important")})}:r=>{r.selector.startsWith(e)||(r.selector=`${e} ${t(r.selector)}`)}]}function M0({variablePrefix:e}){return e!=="un-"?[r=>{r.entries.forEach(n=>{n[0]=n[0].replace(/^--un-/,`--${e}`),typeof n[1]=="string"&&(n[1]=n[1].replace(/var\(--un-/g,`var(--${e}`))})}]:[]}function F0(e){return[I0,M0].flatMap(t=>t(e))}const z0={name:"aria",match(e,t){var n;const r=Ie("aria-",e,t.generator.config.separators);if(r){const[o,i]=r,s=C.bracket(o)??((n=t.theme.aria)==null?void 0:n[o])??"";if(s)return{matcher:i,selector:a=>`${a}[aria-${s}]`}}},multiPass:!0,autocomplete:"aria-$aria"};function Mr(e){return{name:`${e}-aria`,match(t,r){var o;const n=Ie(`${e}-aria-`,t,r.generator.config.separators);if(n){const[i,s]=n,a=C.bracket(i)??((o=r.theme.aria)==null?void 0:o[i])??"";if(a)return{matcher:`${e}-[[aria-${a}]]:${s}`}}}}}const L0=[Mr("group"),Mr("peer"),Mr("parent"),Mr("previous")],$a=/(max|min)-\[([^\]]*)\]:/;function D0(){const e={};return{name:"breakpoints",match(t,r){if($a.test(t)){const o=t.match($a);return{matcher:t.replace(o[0],""),handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media (${o[1]}-width: ${o[2]})`})}}const n=(kn(r)??[]).map(({point:o,size:i},s)=>[o,i,s]);for(const[o,i,s]of n){e[o]||(e[o]=new RegExp(`^((?:([al]t-|[<~]|max-))?${o}(?:${r.generator.config.separators.join("|")}))`));const a=t.match(e[o]);if(!a)continue;const[,c]=a,u=t.slice(c.length);if(u==="container")continue;const l=c.startsWith("lt-")||c.startsWith("<")||c.startsWith("max-"),d=c.startsWith("at-")||c.startsWith("~");let b=3e3;return l?(b-=s+1,{matcher:u,handle:(v,g)=>g({...v,parent:`${v.parent?`${v.parent} $$ `:""}@media (max-width: ${fa(i)})`,parentOrder:b})}):(b+=s+1,d&&s<n.length-1?{matcher:u,handle:(v,g)=>g({...v,parent:`${v.parent?`${v.parent} $$ `:""}@media (min-width: ${i}) and (max-width: ${fa(n[s+1][1])})`,parentOrder:b})}:{matcher:u,handle:(v,g)=>g({...v,parent:`${v.parent?`${v.parent} $$ `:""}@media (min-width: ${i})`,parentOrder:b})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoint:"}}const q0=[He("*",e=>({selector:`${e.selector} > *`}))];function Ct(e,t){return{name:`combinator:${e}`,match(r,n){if(!r.startsWith(e))return;const o=n.generator.config.separators;let i=Ut(`${e}-`,r,o);if(!i){for(const a of o)if(r.startsWith(`${e}${a}`)){i=["",r.slice(e.length+a.length)];break}if(!i)return}let s=C.bracket(i[0])??"";return s===""&&(s="*"),{matcher:i[1],selector:a=>`${a}${t}${s}`}},multiPass:!0}}const V0=[Ct("all"," "),Ct("children",">"),Ct("next","+"),Ct("sibling","+"),Ct("siblings","~")],U0=[He("svg",e=>({selector:`${e.selector} svg`}))],H0={name:"@",match(e,t){var n;if(e.startsWith("@container"))return;const r=Ie("@",e,t.generator.config.separators);if(r){const[o,i,s]=r,a=C.bracket(o);let c;if(a?c=C.numberWithUnit(a):c=((n=t.theme.container)==null?void 0:n[o])??"",c){let u=1e3+Object.keys(t.theme.container??{}).indexOf(o);return s&&(u+=1e3),{matcher:i,handle:(l,d)=>d({...l,parent:`${l.parent?`${l.parent} $$ `:""}@container${s?` ${s} `:" "}(min-width: ${c})`,parentOrder:u})}}}},multiPass:!0};function W0(e={}){if((e==null?void 0:e.dark)==="class"||typeof e.dark=="object"){const{dark:t=".dark",light:r=".light"}=typeof e.dark=="string"?{}:e.dark;return[He("dark",n=>({prefix:`${t} $$ ${n.prefix}`})),He("light",n=>({prefix:`${r} $$ ${n.prefix}`}))]}return[_e("dark","@media (prefers-color-scheme: dark)"),_e("light","@media (prefers-color-scheme: light)")]}const K0=[He(".dark",e=>({prefix:`.dark $$ ${e.prefix}`})),He(".light",e=>({prefix:`.light $$ ${e.prefix}`})),_e("@dark","@media (prefers-color-scheme: dark)"),_e("@light","@media (prefers-color-scheme: light)"),_e("not-dark","@media not (prefers-color-scheme: dark)")],B0={name:"data",match(e,t){var n;const r=Ie("data-",e,t.generator.config.separators);if(r){const[o,i]=r,s=C.bracket(o)??((n=t.theme.data)==null?void 0:n[o])??"";if(s)return{matcher:i,selector:a=>`${a}[data-${s}]`}}},multiPass:!0};function Fr(e){return{name:`${e}-data`,match(t,r){var o;const n=Ie(`${e}-data-`,t,r.generator.config.separators);if(n){const[i,s,a]=n,c=C.bracket(i)??((o=r.theme.data)==null?void 0:o[i])??"";if(c)return{matcher:`${e}-[[data-${c}]]${a?`/${a}`:""}:${s}`}}}}}const G0=[Fr("group"),Fr("peer"),Fr("parent"),Fr("previous")],J0=[He("rtl",e=>({prefix:`[dir="rtl"] $$ ${e.prefix}`})),He("ltr",e=>({prefix:`[dir="ltr"] $$ ${e.prefix}`}))];function X0(){let e;return{name:"important",match(t,r){e||(e=new RegExp(`^(important(?:${r.generator.config.separators.join("|")})|!)`));let n;const o=t.match(e);if(o?n=t.slice(o[0].length):t.endsWith("!")&&(n=t.slice(0,-1)),n)return{matcher:n,body:i=>(i.forEach(s=>{s[1]!=null&&(s[1]+=" !important")}),i)}}}}const Y0=_e("noscript","@media (scripting: none)"),Q0={name:"scripting",match(e,t){const r=Ie(["script-","scripting-"],e,t.generator.config.separators);if(r){const[n,o]=r;if(["none","initial-only","enabled"].includes(n))return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media (scripting: ${n})`})}}},multiPass:!0,autocomplete:["(scripting|script)-(none|initial-only|enabled)"]},Z0=_e("print","@media print"),eg={name:"media",match(e,t){var n;const r=Ie("media-",e,t.generator.config.separators);if(r){const[o,i]=r;let s=C.bracket(o)??"";if(s===""&&(s=((n=t.theme.media)==null?void 0:n[o])??""),s)return{matcher:i,handle:(a,c)=>c({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media ${s}`})}}},multiPass:!0,autocomplete:"media-$media"},tg=[_e("contrast-more","@media (prefers-contrast: more)"),_e("contrast-less","@media (prefers-contrast: less)")],rg=[_e("motion-reduce","@media (prefers-reduced-motion: reduce)"),_e("motion-safe","@media (prefers-reduced-motion: no-preference)")],ng=[_e("landscape","@media (orientation: landscape)"),_e("portrait","@media (orientation: portrait)")],og=[_e("forced-colors","@media (forced-colors: active)")],ig={name:"selector",match(e,t){const r=Ut("selector-",e,t.generator.config.separators);if(r){const[n,o]=r,i=C.bracket(n);if(i)return{matcher:o,selector:()=>i}}}},sg={name:"layer",match(e,t){const r=Ie("layer-",e,t.generator.config.separators);if(r){const[n,o]=r,i=C.bracket(n)??n;if(i)return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@layer ${i}`})}}}},ag={name:"uno-layer",match(e,t){const r=Ie("uno-layer-",e,t.generator.config.separators);if(r){const[n,o]=r,i=C.bracket(n)??n;if(i)return{matcher:o,layer:i}}}},cg={name:"scope",match(e,t){const r=Ut("scope-",e,t.generator.config.separators);if(r){const[n,o]=r,i=C.bracket(n);if(i)return{matcher:o,selector:s=>`${i} $$ ${s}`}}}},lg={name:"variables",match(e,t){if(!e.startsWith("["))return;const[r,n]=Ko(e,"[","]")??[];if(!(r&&n))return;let o;for(const a of t.generator.config.separators)if(n.startsWith(a)){o=n.slice(a.length);break}if(o==null)return;const i=C.bracket(r)??"",s=i.startsWith("@");if(s||i.includes("&"))return{matcher:o,handle(a,c){const u=s?{parent:`${a.parent?`${a.parent} $$ `:""}${i}`}:{selector:i.replace(/&/g,a.selector)};return c({...a,...u})}}},multiPass:!0},ug={name:"theme-variables",match(e,t){if(Tm(e))return{matcher:e,handle(r,n){return n({...r,entries:JSON.parse(Nm(JSON.stringify(r.entries),t.theme))})}}}},fg=[He("@hover",e=>({parent:`${e.parent?`${e.parent} $$ `:""}@media (hover: hover) and (pointer: fine)`,selector:`${e.selector||""}:hover`}))],pl=/^-?[0-9.]+(?:[a-z]+|%)?$/,hl=/-?[0-9.]+(?:[a-z]+|%)?/,dg=[/\b(opacity|color|flex|backdrop-filter|^filter|transform)\b/];function pg(e){const t=e.match(Go)||e.match(al);if(t){const[r,n]=vn(`(${t[2]})${t[3]}`,"(",")"," ")??[];if(r)return`calc(${t[1]}${r} * -1)${n?` ${n}`:""}`}}const hg=/\b(hue-rotate)\s*(\(.*)/;function mg(e){const t=e.match(hg);if(t){const[r,n]=vn(t[2],"(",")"," ")??[];if(r){const o=pl.test(r.slice(1,-1))?r.replace(hl,i=>i.startsWith("-")?i.slice(1):`-${i}`):`(calc(${r} * -1))`;return`${t[1]}${o}${n?` ${n}`:""}`}}}const gg={name:"negative",match(e){if(e.startsWith("-"))return{matcher:e.slice(1),body:t=>{if(t.find(n=>n[0]===wo))return;let r=!1;return t.forEach(n=>{var a;if(ae(n[2]).includes(wo))return;const o=(a=n[1])==null?void 0:a.toString();if(!o||o==="0"||dg.some(c=>c.test(n[0])))return;const i=pg(o);if(i){n[1]=i,r=!0;return}const s=mg(o);if(s){n[1]=s,r=!0;return}pl.test(o)&&(n[1]=o.replace(hl,c=>c.startsWith("-")?c.slice(1):`-${c}`),r=!0)}),r?t:[]}}}},yg=(e,{theme:t})=>{const r=e.match(/^(.*)\b(placeholder-)(.+)$/);if(r){const[,n="",o,i]=r;if(Yo(i,t)||bg(i))return{matcher:`${n}placeholder-$ ${o}${i}`}}};function bg(e){const t=e.match(/^op(?:acity)?-?(.+)$/);return t&&t[1]!=null?C.bracket.percent(t[1])!=null:!1}function vg(){return Dm({h:C})}function $g(){return qm({getBracket:Ko,h:C})}function wg(e={}){return Vm(e,{h:C,variantGetBracket:Ut})}const kg=Hm(),_g={name:"starting",match(e){if(e.startsWith("starting:"))return{matcher:e.slice(9),handle:(t,r)=>r({...t,parent:"@starting-style"})}}},xg={name:"supports",match(e,t){var n;const r=Ie("supports-",e,t.generator.config.separators);if(r){const[o,i]=r;let s=C.bracket(o)??"";if(s===""&&(s=((n=t.theme.supports)==null?void 0:n[o])??""),s)return s.startsWith("(")&&s.endsWith(")")||(s=`(${s})`),{matcher:i,handle:(a,c)=>c({...a,parent:`${a.parent?`${a.parent} $$ `:""}@supports ${s}`})}}},multiPass:!0};function Sg(e){return[z0,B0,sg,ig,ag,gg,_g,X0(),xg,Y0,Q0,Z0,eg,...tg,...rg,...ng,...og,D0(),...V0,...U0,yg,...vg(),$g(),...wg(e),kg,...W0(e),...K0,...J0,cg,...q0,H0,lg,...G0,...L0,ug,...fg].flat()}const ml={black:"#000",white:"#fff",slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},zinc:{50:"oklch(98.5% 0 0)",100:"oklch(96.7% 0.001 286.375)",200:"oklch(92% 0.004 286.32)",300:"oklch(87.1% 0.006 286.286)",400:"oklch(70.5% 0.015 286.067)",500:"oklch(55.2% 0.016 285.938)",600:"oklch(44.2% 0.017 285.786)",700:"oklch(37% 0.013 285.805)",800:"oklch(27.4% 0.006 286.033)",900:"oklch(21% 0.006 285.885)",950:"oklch(14.1% 0.005 285.823)"},neutral:{50:"oklch(98.5% 0 0)",100:"oklch(97% 0 0)",200:"oklch(92.2% 0 0)",300:"oklch(87% 0 0)",400:"oklch(70.8% 0 0)",500:"oklch(55.6% 0 0)",600:"oklch(43.9% 0 0)",700:"oklch(37.1% 0 0)",800:"oklch(26.9% 0 0)",900:"oklch(20.5% 0 0)",950:"oklch(14.5% 0 0)"},stone:{50:"oklch(98.5% 0.001 106.423)",100:"oklch(97% 0.001 106.424)",200:"oklch(92.3% 0.003 48.717)",300:"oklch(86.9% 0.005 56.366)",400:"oklch(70.9% 0.01 56.259)",500:"oklch(55.3% 0.013 58.071)",600:"oklch(44.4% 0.011 73.639)",700:"oklch(37.4% 0.01 67.558)",800:"oklch(26.8% 0.007 34.298)",900:"oklch(21.6% 0.006 56.043)",950:"oklch(14.7% 0.004 49.25)"},red:{50:"oklch(97.1% 0.013 17.38)",100:"oklch(93.6% 0.032 17.717)",200:"oklch(88.5% 0.062 18.334)",300:"oklch(80.8% 0.114 19.571)",400:"oklch(70.4% 0.191 22.216)",500:"oklch(63.7% 0.237 25.331)",600:"oklch(57.7% 0.245 27.325)",700:"oklch(50.5% 0.213 27.518)",800:"oklch(44.4% 0.177 26.899)",900:"oklch(39.6% 0.141 25.723)",950:"oklch(25.8% 0.092 26.042)"},orange:{50:"oklch(98% 0.016 73.684)",100:"oklch(95.4% 0.038 75.164)",200:"oklch(90.1% 0.076 70.697)",300:"oklch(83.7% 0.128 66.29)",400:"oklch(75% 0.183 55.934)",500:"oklch(70.5% 0.213 47.604)",600:"oklch(64.6% 0.222 41.116)",700:"oklch(55.3% 0.195 38.402)",800:"oklch(47% 0.157 37.304)",900:"oklch(40.8% 0.123 38.172)",950:"oklch(26.6% 0.079 36.259)"},amber:{50:"oklch(98.7% 0.022 95.277)",100:"oklch(96.2% 0.059 95.617)",200:"oklch(92.4% 0.12 95.746)",300:"oklch(87.9% 0.169 91.605)",400:"oklch(82.8% 0.189 84.429)",500:"oklch(76.9% 0.188 70.08)",600:"oklch(66.6% 0.179 58.318)",700:"oklch(55.5% 0.163 48.998)",800:"oklch(47.3% 0.137 46.201)",900:"oklch(41.4% 0.112 45.904)",950:"oklch(27.9% 0.077 45.635)"},yellow:{50:"oklch(98.7% 0.026 102.212)",100:"oklch(97.3% 0.071 103.193)",200:"oklch(94.5% 0.129 101.54)",300:"oklch(90.5% 0.182 98.111)",400:"oklch(85.2% 0.199 91.936)",500:"oklch(79.5% 0.184 86.047)",600:"oklch(68.1% 0.162 75.834)",700:"oklch(55.4% 0.135 66.442)",800:"oklch(47.6% 0.114 61.907)",900:"oklch(42.1% 0.095 57.708)",950:"oklch(28.6% 0.066 53.813)"},lime:{50:"oklch(98.6% 0.031 120.757)",100:"oklch(96.7% 0.067 122.328)",200:"oklch(93.8% 0.127 124.321)",300:"oklch(89.7% 0.196 126.665)",400:"oklch(84.1% 0.238 128.85)",500:"oklch(76.8% 0.233 130.85)",600:"oklch(64.8% 0.2 131.684)",700:"oklch(53.2% 0.157 131.589)",800:"oklch(45.3% 0.124 130.933)",900:"oklch(40.5% 0.101 131.063)",950:"oklch(27.4% 0.072 132.109)"},green:{50:"oklch(98.2% 0.018 155.826)",100:"oklch(96.2% 0.044 156.743)",200:"oklch(92.5% 0.084 155.995)",300:"oklch(87.1% 0.15 154.449)",400:"oklch(79.2% 0.209 151.711)",500:"oklch(72.3% 0.219 149.579)",600:"oklch(62.7% 0.194 149.214)",700:"oklch(52.7% 0.154 150.069)",800:"oklch(44.8% 0.119 151.328)",900:"oklch(39.3% 0.095 152.535)",950:"oklch(26.6% 0.065 152.934)"},emerald:{50:"oklch(97.9% 0.021 166.113)",100:"oklch(95% 0.052 163.051)",200:"oklch(90.5% 0.093 164.15)",300:"oklch(84.5% 0.143 164.978)",400:"oklch(76.5% 0.177 163.223)",500:"oklch(69.6% 0.17 162.48)",600:"oklch(59.6% 0.145 163.225)",700:"oklch(50.8% 0.118 165.612)",800:"oklch(43.2% 0.095 166.913)",900:"oklch(37.8% 0.077 168.94)",950:"oklch(26.2% 0.051 172.552)"},teal:{50:"oklch(98.4% 0.014 180.72)",100:"oklch(95.3% 0.051 180.801)",200:"oklch(91% 0.096 180.426)",300:"oklch(85.5% 0.138 181.071)",400:"oklch(77.7% 0.152 181.912)",500:"oklch(70.4% 0.14 182.503)",600:"oklch(60% 0.118 184.704)",700:"oklch(51.1% 0.096 186.391)",800:"oklch(43.7% 0.078 188.216)",900:"oklch(38.6% 0.063 188.416)",950:"oklch(27.7% 0.046 192.524)"},cyan:{50:"oklch(98.4% 0.019 200.873)",100:"oklch(95.6% 0.045 203.388)",200:"oklch(91.7% 0.08 205.041)",300:"oklch(86.5% 0.127 207.078)",400:"oklch(78.9% 0.154 211.53)",500:"oklch(71.5% 0.143 215.221)",600:"oklch(60.9% 0.126 221.723)",700:"oklch(52% 0.105 223.128)",800:"oklch(45% 0.085 224.283)",900:"oklch(39.8% 0.07 227.392)",950:"oklch(30.2% 0.056 229.695)"},sky:{50:"oklch(97.7% 0.013 236.62)",100:"oklch(95.1% 0.026 236.824)",200:"oklch(90.1% 0.058 230.902)",300:"oklch(82.8% 0.111 230.318)",400:"oklch(74.6% 0.16 232.661)",500:"oklch(68.5% 0.169 237.323)",600:"oklch(58.8% 0.158 241.966)",700:"oklch(50% 0.134 242.749)",800:"oklch(44.3% 0.11 240.79)",900:"oklch(39.1% 0.09 240.876)",950:"oklch(29.3% 0.066 243.157)"},blue:{50:"oklch(97% 0.014 254.604)",100:"oklch(93.2% 0.032 255.585)",200:"oklch(88.2% 0.059 254.128)",300:"oklch(80.9% 0.105 251.813)",400:"oklch(70.7% 0.165 254.624)",500:"oklch(62.3% 0.214 259.815)",600:"oklch(54.6% 0.245 262.881)",700:"oklch(48.8% 0.243 264.376)",800:"oklch(42.4% 0.199 265.638)",900:"oklch(37.9% 0.146 265.522)",950:"oklch(28.2% 0.091 267.935)"},indigo:{50:"oklch(96.2% 0.018 272.314)",100:"oklch(93% 0.034 272.788)",200:"oklch(87% 0.065 274.039)",300:"oklch(78.5% 0.115 274.713)",400:"oklch(67.3% 0.182 276.935)",500:"oklch(58.5% 0.233 277.117)",600:"oklch(51.1% 0.262 276.966)",700:"oklch(45.7% 0.24 277.023)",800:"oklch(39.8% 0.195 277.366)",900:"oklch(35.9% 0.144 278.697)",950:"oklch(25.7% 0.09 281.288)"},violet:{50:"oklch(96.9% 0.016 293.756)",100:"oklch(94.3% 0.029 294.588)",200:"oklch(89.4% 0.057 293.283)",300:"oklch(81.1% 0.111 293.571)",400:"oklch(70.2% 0.183 293.541)",500:"oklch(60.6% 0.25 292.717)",600:"oklch(54.1% 0.281 293.009)",700:"oklch(49.1% 0.27 292.581)",800:"oklch(43.2% 0.232 292.759)",900:"oklch(38% 0.189 293.745)",950:"oklch(28.3% 0.141 291.089)"},purple:{50:"oklch(97.7% 0.014 308.299)",100:"oklch(94.6% 0.033 307.174)",200:"oklch(90.2% 0.063 306.703)",300:"oklch(82.7% 0.119 306.383)",400:"oklch(71.4% 0.203 305.504)",500:"oklch(62.7% 0.265 303.9)",600:"oklch(55.8% 0.288 302.321)",700:"oklch(49.6% 0.265 301.924)",800:"oklch(43.8% 0.218 303.724)",900:"oklch(38.1% 0.176 304.987)",950:"oklch(29.1% 0.149 302.717)"},fuchsia:{50:"oklch(97.7% 0.017 320.058)",100:"oklch(95.2% 0.037 318.852)",200:"oklch(90.3% 0.076 319.62)",300:"oklch(83.3% 0.145 321.434)",400:"oklch(74% 0.238 322.16)",500:"oklch(66.7% 0.295 322.15)",600:"oklch(59.1% 0.293 322.896)",700:"oklch(51.8% 0.253 323.949)",800:"oklch(45.2% 0.211 324.591)",900:"oklch(40.1% 0.17 325.612)",950:"oklch(29.3% 0.136 325.661)"},pink:{50:"oklch(97.1% 0.014 343.198)",100:"oklch(94.8% 0.028 342.258)",200:"oklch(89.9% 0.061 343.231)",300:"oklch(82.3% 0.12 346.018)",400:"oklch(71.8% 0.202 349.761)",500:"oklch(65.6% 0.241 354.308)",600:"oklch(59.2% 0.249 0.584)",700:"oklch(52.5% 0.223 3.958)",800:"oklch(45.9% 0.187 3.815)",900:"oklch(40.8% 0.153 2.432)",950:"oklch(28.4% 0.109 3.907)"},rose:{50:"oklch(96.9% 0.015 12.422)",100:"oklch(94.1% 0.03 12.58)",200:"oklch(89.2% 0.058 10.001)",300:"oklch(81% 0.117 11.638)",400:"oklch(71.2% 0.194 13.428)",500:"oklch(64.5% 0.246 16.439)",600:"oklch(58.6% 0.253 17.585)",700:"oklch(51.4% 0.222 16.935)",800:"oklch(45.5% 0.188 13.697)",900:"oklch(41% 0.159 10.272)",950:"oklch(27.1% 0.105 12.094)"},light:{50:"oklch(99.4% 0 0)",100:"oklch(99.11% 0 0)",200:"oklch(98.51% 0 0)",300:"oklch(98.16% 0.0017 247.84)",400:"oklch(97.31% 0 0)",500:"oklch(96.12% 0 0)",600:"oklch(96.32% 0.0034 247.86)",700:"oklch(94.17% 0.0052 247.88)",800:"oklch(91.09% 0.007 247.9)",900:"oklch(90.72% 0.0051 228.82)",950:"oklch(89.23% 0.006 239.83)"},dark:{50:"oklch(40.91% 0 0)",100:"oklch(35.62% 0 0)",200:"oklch(31.71% 0 0)",300:"oklch(29.72% 0 0)",400:"oklch(25.2% 0 0)",500:"oklch(23.93% 0 0)",600:"oklch(22.73% 0.0038 286.09)",700:"oklch(22.21% 0 0)",800:"oklch(20.9% 0 0)",900:"oklch(16.84% 0 0)",950:"oklch(13.44% 0 0)"}};Object.values(ml).forEach(e=>{typeof e!="string"&&e!==void 0&&(e.DEFAULT=e.DEFAULT||e[400])});const Eg={keyframes:{pulse:"{0%, 100% {opacity:1} 50% {opacity:.5}}",bounce:"{0%, 100% {transform:translateY(-25%);animation-timing-function:cubic-bezier(0.8,0,1,1)} 50% {transform:translateY(0);animation-timing-function:cubic-bezier(0,0,0.2,1)}}",spin:"{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}",ping:"{0%{transform:scale(1);opacity:1}75%,100%{transform:scale(2);opacity:0}}","bounce-alt":"{from,20%,53%,80%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);transform:translate3d(0,0,0)}40%,43%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-30px,0)}70%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-15px,0)}90%{transform:translate3d(0,-4px,0)}}",flash:"{from,50%,to{opacity:1}25%,75%{opacity:0}}","pulse-alt":"{from{transform:scale3d(1,1,1)}50%{transform:scale3d(1.05,1.05,1.05)}to{transform:scale3d(1,1,1)}}","rubber-band":"{from{transform:scale3d(1,1,1)}30%{transform:scale3d(1.25,0.75,1)}40%{transform:scale3d(0.75,1.25,1)}50%{transform:scale3d(1.15,0.85,1)}65%{transform:scale3d(0.95,1.05,1)}75%{transform:scale3d(1.05,0.95,1)}to{transform:scale3d(1,1,1)}}","shake-x":"{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}","shake-y":"{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(0,-10px,0)}20%,40%,60%,80%{transform:translate3d(0,10px,0)}}","head-shake":"{0%{transform:translateX(0)}6.5%{transform:translateX(-6px) rotateY(-9deg)}18.5%{transform:translateX(5px) rotateY(7deg)}31.5%{transform:translateX(-3px) rotateY(-5deg)}43.5%{transform:translateX(2px) rotateY(3deg)}50%{transform:translateX(0)}}",swing:"{20%{transform:rotate3d(0,0,1,15deg)}40%{transform:rotate3d(0,0,1,-10deg)}60%{transform:rotate3d(0,0,1,5deg)}80%{transform:rotate3d(0,0,1,-5deg)}to{transform:rotate3d(0,0,1,0deg)}}",tada:"{from{transform:scale3d(1,1,1)}10%,20%{transform:scale3d(0.9,0.9,0.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{transform:scale3d(1,1,1)}}",wobble:"{from{transform:translate3d(0,0,0)}15%{transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{transform:translate3d(0,0,0)}}",jello:"{from,11.1%,to{transform:translate3d(0,0,0)}22.2%{transform:skewX(-12.5deg) skewY(-12.5deg)}33.3%{transform:skewX(6.25deg) skewY(6.25deg)}44.4%{transform:skewX(-3.125deg)skewY(-3.125deg)}55.5%{transform:skewX(1.5625deg) skewY(1.5625deg)}66.6%{transform:skewX(-0.78125deg) skewY(-0.78125deg)}77.7%{transform:skewX(0.390625deg) skewY(0.390625deg)}88.8%{transform:skewX(-0.1953125deg) skewY(-0.1953125deg)}}","heart-beat":"{0%{transform:scale(1)}14%{transform:scale(1.3)}28%{transform:scale(1)}42%{transform:scale(1.3)}70%{transform:scale(1)}}",hinge:"{0%{transform-origin:top left;animation-timing-function:ease-in-out}20%,60%{transform:rotate3d(0,0,1,80deg);transform-origin:top left;animation-timing-function:ease-in-out}40%,80%{transform:rotate3d(0,0,1,60deg);transform-origin:top left;animation-timing-function:ease-in-out}to{transform:translate3d(0,700px,0);opacity:0}}","jack-in-the-box":"{from{opacity:0;transform-origin:center bottom;transform:scale(0.1) rotate(30deg)}50%{transform:rotate(-10deg)}70%{transform:rotate(3deg)}to{transform:scale(1)}}","light-speed-in-left":"{from{opacity:0;transform:translate3d(-100%,0,0) skewX(-30deg)}60%{opacity:1;transform:skewX(20deg)}80%{transform:skewX(-5deg)}to{transform:translate3d(0,0,0)}}","light-speed-in-right":"{from{opacity:0;transform:translate3d(100%,0,0) skewX(-30deg)}60%{opacity:1;transform:skewX(20deg)}80%{transform:skewX(-5deg)}to{transform:translate3d(0,0,0)}}","light-speed-out-left":"{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0) skewX(30deg)}}","light-speed-out-right":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) skewX(30deg)}}",flip:"{from{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);animation-timing-function:ease-out}40%{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);animation-timing-function:ease-out}50%{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);animation-timing-function:ease-in}80%{transform:perspective(400px) scale3d(0.95,0.95,0.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);animation-timing-function:ease-in}to{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);animation-timing-function:ease-in}}","flip-in-x":"{from{transform:perspective(400px) rotate3d(1,0,0,90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(1,0,0,-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(1,0,0,10deg);opacity:1}80%{transform:perspective(400px) rotate3d(1,0,0,-5deg)}to{transform:perspective(400px)}}","flip-in-y":"{from{transform:perspective(400px) rotate3d(0,1,0,90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(0,1,0,-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(0,1,0,10deg);opacity:1}80%{transform:perspective(400px) rotate3d(0,1,0,-5deg)}to{transform:perspective(400px)}}","flip-out-x":"{from{transform:perspective(400px)}30%{transform:perspective(400px) rotate3d(1,0,0,-20deg);opacity:1}to{transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}}","flip-out-y":"{from{transform:perspective(400px)}30%{transform:perspective(400px) rotate3d(0,1,0,-15deg);opacity:1}to{transform:perspective(400px) rotate3d(0,1,0,90deg);opacity:0}}","rotate-in":"{from{transform-origin:center;transform:rotate3d(0,0,1,-200deg);opacity:0}to{transform-origin:center;transform:translate3d(0,0,0);opacity:1}}","rotate-in-down-left":"{from{transform-origin:left bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}to{transform-origin:left bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-in-down-right":"{from{transform-origin:right bottom;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:right bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-in-up-left":"{from{transform-origin:left top;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:left top;transform:translate3d(0,0,0);opacity:1}}","rotate-in-up-right":"{from{transform-origin:right bottom;transform:rotate3d(0,0,1,-90deg);opacity:0}to{transform-origin:right bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-out":"{from{transform-origin:center;opacity:1}to{transform-origin:center;transform:rotate3d(0,0,1,200deg);opacity:0}}","rotate-out-down-left":"{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,45deg);opacity:0}}","rotate-out-down-right":"{from{transform-origin:right bottom;opacity:1}to{transform-origin:right bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}}","rotate-out-up-left":"{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}}","rotate-out-up-right":"{from{transform-origin:right bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,90deg);opacity:0}}","roll-in":"{from{opacity:0;transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;transform:translate3d(0,0,0)}}","roll-out":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}","zoom-in":"{from{opacity:0;transform:scale3d(0.3,0.3,0.3)}50%{opacity:1}}","zoom-in-down":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,-1000px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-left":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(-1000px,0,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(10px,0,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-right":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(1000px,0,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(-10px,0,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-up":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,1000px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-out":"{from{opacity:1}50%{opacity:0;transform:scale3d(0.3,0.3,0.3)}to{opacity:0}}","zoom-out-down":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}to{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-out-left":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(42px,0,0)}to{opacity:0;transform:scale(0.1) translate3d(-2000px,0,0);transform-origin:left center}}","zoom-out-right":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(-42px,0,0)}to{opacity:0;transform:scale(0.1) translate3d(2000px,0,0);transform-origin:right center}}","zoom-out-up":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}to{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,-2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","bounce-in":"{from,20%,40%,60%,80%,to{animation-timing-function:ease-in-out}0%{opacity:0;transform:scale3d(0.3,0.3,0.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(0.9,0.9,0.9)}60%{transform:scale3d(1.03,1.03,1.03);opacity:1}80%{transform:scale3d(0.97,0.97,0.97)}to{opacity:1;transform:scale3d(1,1,1)}}","bounce-in-down":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:translate3d(0,0,0)}}","bounce-in-left":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:translate3d(0,0,0)}}","bounce-in-right":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:translate3d(0,0,0)}}","bounce-in-up":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translate3d(0,0,0)}}","bounce-out":"{20%{transform:scale3d(0.9,0.9,0.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(0.3,0.3,0.3)}}","bounce-out-down":"{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}","bounce-out-left":"{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}","bounce-out-right":"{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}","bounce-out-up":"{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}","slide-in-down":"{from{transform:translate3d(0,-100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-left":"{from{transform:translate3d(-100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-right":"{from{transform:translate3d(100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-up":"{from{transform:translate3d(0,100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-out-down":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,100%,0)}}","slide-out-left":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(-100%,0,0)}}","slide-out-right":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(100%,0,0)}}","slide-out-up":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,-100%,0)}}","fade-in":"{from{opacity:0}to{opacity:1}}","fade-in-down":"{from{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-down-big":"{from{opacity:0;transform:translate3d(0,-2000px,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-left":"{from{opacity:0;transform:translate3d(-100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-left-big":"{from{opacity:0;transform:translate3d(-2000px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-right":"{from{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-right-big":"{from{opacity:0;transform:translate3d(2000px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-up":"{from{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-up-big":"{from{opacity:0;transform:translate3d(0,2000px,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-top-left":"{from{opacity:0;transform:translate3d(-100%,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-top-right":"{from{opacity:0;transform:translate3d(100%,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-bottom-left":"{from{opacity:0;transform:translate3d(-100%,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-bottom-right":"{from{opacity:0;transform:translate3d(100%,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-out":"{from{opacity:1}to{opacity:0}}","fade-out-down":"{from{opacity:1}to{opacity:0;transform:translate3d(0,100%,0)}}","fade-out-down-big":"{from{opacity:1}to{opacity:0;transform:translate3d(0,2000px,0)}}","fade-out-left":"{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0)}}","fade-out-left-big":"{from{opacity:1}to{opacity:0;transform:translate3d(-2000px,0,0)}}","fade-out-right":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0)}}","fade-out-right-big":"{from{opacity:1}to{opacity:0;transform:translate3d(2000px,0,0)}}","fade-out-up":"{from{opacity:1}to{opacity:0;transform:translate3d(0,-100%,0)}}","fade-out-up-big":"{from{opacity:1}to{opacity:0;transform:translate3d(0,-2000px,0)}}","fade-out-top-left":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(-100%,-100%,0)}}","fade-out-top-right":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(100%,-100%,0)}}","fade-out-bottom-left":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(-100%,100%,0)}}","fade-out-bottom-right":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(100%,100%,0)}}","back-in-up":"{0%{opacity:0.7;transform:translateY(1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-down":"{0%{opacity:0.7;transform:translateY(-1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-right":"{0%{opacity:0.7;transform:translateX(2000px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-left":"{0%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}80%{opacity:0.7;transform:translateX(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-out-up":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}","back-out-down":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(700px) scale(0.7)}}","back-out-right":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateX(2000px) scale(0.7)}}","back-out-left":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}"},durations:{pulse:"2s","heart-beat":"1.3s","bounce-in":"0.75s","bounce-out":"0.75s","flip-out-x":"0.75s","flip-out-y":"0.75s",hinge:"2s"},timingFns:{pulse:"cubic-bezier(0.4,0,.6,1)",ping:"cubic-bezier(0,0,.2,1)","head-shake":"ease-in-out","heart-beat":"ease-in-out","pulse-alt":"ease-in-out","light-speed-in-left":"ease-out","light-speed-in-right":"ease-out","light-speed-out-left":"ease-in","light-speed-out-right":"ease-in"},properties:{"bounce-alt":{"transform-origin":"center bottom"},jello:{"transform-origin":"center"},swing:{"transform-origin":"top center"},flip:{"backface-visibility":"visible"},"flip-in-x":{"backface-visibility":"visible !important"},"flip-in-y":{"backface-visibility":"visible !important"},"flip-out-x":{"backface-visibility":"visible !important"},"flip-out-y":{"backface-visibility":"visible !important"},"rotate-in":{"transform-origin":"center"},"rotate-in-down-left":{"transform-origin":"left bottom"},"rotate-in-down-right":{"transform-origin":"right bottom"},"rotate-in-up-left":{"transform-origin":"left bottom"},"rotate-in-up-right":{"transform-origin":"right bottom"},"rotate-out":{"transform-origin":"center"},"rotate-out-down-left":{"transform-origin":"left bottom"},"rotate-out-down-right":{"transform-origin":"right bottom"},"rotate-out-up-left":{"transform-origin":"left bottom"},"rotate-out-up-right":{"transform-origin":"right bottom"},hinge:{"transform-origin":"top left"},"zoom-out-down":{"transform-origin":"center bottom"},"zoom-out-left":{"transform-origin":"left center"},"zoom-out-right":{"transform-origin":"right center"},"zoom-out-up":{"transform-origin":"center bottom"}},counts:{spin:"infinite",ping:"infinite",pulse:"infinite","pulse-alt":"infinite",bounce:"infinite","bounce-alt":"infinite"},category:{pulse:"Attention Seekers",bounce:"Attention Seekers",spin:"Attention Seekers",ping:"Attention Seekers","bounce-alt":"Attention Seekers",flash:"Attention Seekers","pulse-alt":"Attention Seekers","rubber-band":"Attention Seekers","shake-x":"Attention Seekers","shake-y":"Attention Seekers","head-shake":"Attention Seekers",swing:"Attention Seekers",tada:"Attention Seekers",wobble:"Attention Seekers",jello:"Attention Seekers","heart-beat":"Attention Seekers",hinge:"Specials","jack-in-the-box":"Specials","light-speed-in-left":"Lightspeed","light-speed-in-right":"Lightspeed","light-speed-out-left":"Lightspeed","light-speed-out-right":"Lightspeed",flip:"Flippers","flip-in-x":"Flippers","flip-in-y":"Flippers","flip-out-x":"Flippers","flip-out-y":"Flippers","rotate-in":"Rotating Entrances","rotate-in-down-left":"Rotating Entrances","rotate-in-down-right":"Rotating Entrances","rotate-in-up-left":"Rotating Entrances","rotate-in-up-right":"Rotating Entrances","rotate-out":"Rotating Exits","rotate-out-down-left":"Rotating Exits","rotate-out-down-right":"Rotating Exits","rotate-out-up-left":"Rotating Exits","rotate-out-up-right":"Rotating Exits","roll-in":"Specials","roll-out":"Specials","zoom-in":"Zooming Entrances","zoom-in-down":"Zooming Entrances","zoom-in-left":"Zooming Entrances","zoom-in-right":"Zooming Entrances","zoom-in-up":"Zooming Entrances","zoom-out":"Zooming Exits","zoom-out-down":"Zooming Exits","zoom-out-left":"Zooming Exits","zoom-out-right":"Zooming Exits","zoom-out-up":"Zooming Exits","bounce-in":"Bouncing Entrances","bounce-in-down":"Bouncing Entrances","bounce-in-left":"Bouncing Entrances","bounce-in-right":"Bouncing Entrances","bounce-in-up":"Bouncing Entrances","bounce-out":"Bouncing Exits","bounce-out-down":"Bouncing Exits","bounce-out-left":"Bouncing Exits","bounce-out-right":"Bouncing Exits","bounce-out-up":"Bouncing Exits","slide-in-down":"Sliding Entrances","slide-in-left":"Sliding Entrances","slide-in-right":"Sliding Entrances","slide-in-up":"Sliding Entrances","slide-out-down":"Sliding Exits","slide-out-left":"Sliding Exits","slide-out-right":"Sliding Exits","slide-out-up":"Sliding Exits","fade-in":"Fading Entrances","fade-in-down":"Fading Entrances","fade-in-down-big":"Fading Entrances","fade-in-left":"Fading Entrances","fade-in-left-big":"Fading Entrances","fade-in-right":"Fading Entrances","fade-in-right-big":"Fading Entrances","fade-in-up":"Fading Entrances","fade-in-up-big":"Fading Entrances","fade-in-top-left":"Fading Entrances","fade-in-top-right":"Fading Entrances","fade-in-bottom-left":"Fading Entrances","fade-in-bottom-right":"Fading Entrances","fade-out":"Fading Exits","fade-out-down":"Fading Exits","fade-out-down-big":"Fading Exits","fade-out-left":"Fading Exits","fade-out-left-big":"Fading Exits","fade-out-right":"Fading Exits","fade-out-right-big":"Fading Exits","fade-out-up":"Fading Exits","fade-out-up-big":"Fading Exits","fade-out-top-left":"Fading Exits","fade-out-top-right":"Fading Exits","fade-out-bottom-left":"Fading Exits","fade-out-bottom-right":"Fading Exits","back-in-up":"Back Entrances","back-in-down":"Back Entrances","back-in-right":"Back Entrances","back-in-left":"Back Entrances","back-out-up":"Back Exits","back-out-down":"Back Exits","back-out-right":"Back Exits","back-out-left":"Back Exits"}},Cg={busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},jg={DEFAULT:"8px",xs:"4px",sm:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},Pg={sans:["ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto",'"Helvetica Neue"',"Arial",'"Noto Sans"',"sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'].join(","),serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"].join(","),mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"].join(",")},Og={xs:{fontSize:"0.75rem",lineHeight:"1rem"},sm:{fontSize:"0.875rem",lineHeight:"1.25rem"},base:{fontSize:"1rem",lineHeight:"1.5rem"},lg:{fontSize:"1.125rem",lineHeight:"1.75rem"},xl:{fontSize:"1.25rem",lineHeight:"1.75rem"},"2xl":{fontSize:"1.5rem",lineHeight:"2rem"},"3xl":{fontSize:"1.875rem",lineHeight:"2.25rem"},"4xl":{fontSize:"2.25rem",lineHeight:"2.5rem"},"5xl":{fontSize:"3rem",lineHeight:"1"},"6xl":{fontSize:"3.75rem",lineHeight:"1"},"7xl":{fontSize:"4.5rem",lineHeight:"1"},"8xl":{fontSize:"6rem",lineHeight:"1"},"9xl":{fontSize:"8rem",lineHeight:"1"}},Rg={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Ag={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},Tg={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},Ng={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},Ig={portrait:"(orientation: portrait)",landscape:"(orientation: landscape)",os_dark:"(prefers-color-scheme: dark)",os_light:"(prefers-color-scheme: light)",motion_ok:"(prefers-reduced-motion: no-preference)",motion_not_ok:"(prefers-reduced-motion: reduce)",high_contrast:"(prefers-contrast: high)",low_contrast:"(prefers-contrast: low)",opacity_ok:"(prefers-reduced-transparency: no-preference)",opacity_not_ok:"(prefers-reduced-transparency: reduce)",use_data_ok:"(prefers-reduced-data: no-preference)",use_data_not_ok:"(prefers-reduced-data: reduce)",touch:"(hover: none) and (pointer: coarse)",stylus:"(hover: none) and (pointer: fine)",pointer:"(hover) and (pointer: coarse)",mouse:"(hover) and (pointer: fine)",hd_color:"(dynamic-range: high)"},Mg={DEFAULT:"0.25rem",xs:"0.75rem",sm:"0.875rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},Fg={DEFAULT:"0.25rem",none:"0",xs:"0.125rem",sm:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem","4xl":"2rem"},zg={DEFAULT:["0 1px 3px 0 rgb(0 0 0 / 0.1)","0 1px 2px -1px rgb(0 0 0 / 0.1)"],"2xs":"0 1px rgb(0 0 0 / 0.05)",xs:"0 1px 2px 0 rgb(0 0 0 / 0.05)",sm:["0 1px 3px 0 rgb(0 0 0 / 0.1)","0 1px 2px -1px rgb(0 0 0 / 0.1)"],md:["0 4px 6px -1px rgb(0 0 0 / 0.1)","0 2px 4px -2px rgb(0 0 0 / 0.1)"],lg:["0 10px 15px -3px rgb(0 0 0 / 0.1)","0 4px 6px -4px rgb(0 0 0 / 0.1)"],xl:["0 20px 25px -5px rgb(0 0 0 / 0.1)","0 8px 10px -6px rgb(0 0 0 / 0.1)"],"2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",none:"0 0 rgb(0 0 0 / 0)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)"},Lg={"2xs":"inset 0 1px rgb(0 0 0 / 0.05)",xs:"inset 0 1px 1px rgb(0 0 0 / 0.05)",sm:"inset 0 2px 4px rgb(0 0 0 / 0.05)",none:"0 0 rgb(0 0 0 / 0)"},Dg={DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],xs:"0 1px 1px rgb(0 0 0 / 0.05)",sm:"0 1px 2px rgb(0 0 0 / 0.15)",md:"0 3px 3px rgb(0 0 0 / 0.12)",lg:"0 4px 4px rgb(0 0 0 / 0.15)",xl:"0 9px 7px rgb(0 0 0 / 0.1)","2xl":"0 25px 25px rgb(0 0 0 / 0.15)"},qg={none:"0 0 rgb(0 0 0 / 0)","2xs":"0 1px 0 rgb(0 0 0 / 0.15)",xs:"0 1px 1px rgb(0 0 0 / 0.2)",sm:["0 1px 0 rgb(0 0 0 / 0.075)","0 1px 1px rgb(0 0 0 / 0.075)","0 2px 2px rgb(0 0 0 / 0.075)"],md:["0 1px 1px rgb(0 0 0 / 0.1)","0 1px 2px rgb(0 0 0 / 0.1)","0 2px 4px rgb(0 0 0 / 0.1)"],lg:["0 1px 2px rgb(0 0 0 / 0.1)","0 3px 2px rgb(0 0 0 / 0.1)","0 4px 8px rgb(0 0 0 / 0.1)"]},Vg={dramatic:"100px",near:"300px",normal:"500px",midrange:"800px",distant:"1200px"},Ug={transition:{duration:"150ms",timingFunction:"cubic-bezier(0.4, 0, 0.2, 1)"},font:{family:"var(--font-sans)",featureSettings:"var(--font-sans--font-feature-settings)",variationSettings:"var(--font-sans--font-variation-settings)"},monoFont:{family:"var(--font-mono)",featureSettings:"var(--font-mono--font-feature-settings)",variationSettings:"var(--font-mono--font-variation-settings)"}},Hg={"3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},gl={sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem","2xl":"96rem"},Wg={...gl},Kg={grid:"(display: grid)"},Bg={linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)",DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)"},Gg={none:"none",all:"all",colors:["color","background-color","border-color","text-decoration-color","fill","stroke","--un-gradient-from","--un-gradient-via","--un-gradient-to"].join(","),opacity:"opacity",shadow:"box-shadow",transform:["transform","translate","scale","rotate"].join(","),get DEFAULT(){return[this.colors,this.opacity,this.shadow,this.transform,"filter","-webkit-backdrop-filter","backdrop-filter"].join(",")}},Jg={font:Pg,colors:ml,spacing:Mg,breakpoint:gl,verticalBreakpoint:Wg,text:Og,fontWeight:Rg,tracking:Ag,leading:Tg,textStrokeWidth:Ng,radius:Fg,shadow:zg,insetShadow:Lg,dropShadow:Dg,textShadow:qg,ease:Bg,animation:Eg,blur:jg,perspective:Vg,property:Gg,default:Ug,container:Hg,aria:Cg,media:Ig,supports:Kg},Xg=[[/^@container(?:\/(\w+))?(?:-(normal))?$/,([,e,t])=>({"container-type":t??"inline-size","container-name":e})]],Yg=/@media \(min-width: (.+)\)/,Qg=[[/^__container$/,(e,t)=>{var u,l,d,b,v,g,h;const{theme:r,variantHandlers:n}=t,o=(u=r.containers)==null?void 0:u.padding;let i;le(o)?i=o:i=o==null?void 0:o.DEFAULT;const s=(l=r.containers)==null?void 0:l.maxWidth;let a;for(const p of n){const m=(b=(d=p.handle)==null?void 0:d.call(p,{},f=>f))==null?void 0:b.parent;if(le(m)){const f=(v=m.match(Yg))==null?void 0:v[1];if(f){const $=(g=(kn(t)??[]).find(k=>k.size===f))==null?void 0:g.point;s?$&&(a=s==null?void 0:s[$]):a=f,$&&!le(o)&&(i=(o==null?void 0:o[$])??i)}}}const c={"max-width":a};return n.length||(c.width="100%"),(h=r.containers)!=null&&h.center&&(c["margin-left"]="auto",c["margin-right"]="auto"),o&&(c["padding-left"]=i,c["padding-right"]=i),c},{internal:!0}]],Zg=[[/^(?:(\w+)[:-])?container$/,([,e],t)=>{let r=(kn(t)??[]).map(o=>o.point);if(e){if(!r.includes(e))return;r=r.slice(r.indexOf(e))}const n=r.map(o=>`${o}:__container`);return e||n.unshift("__container"),n}]],ey=[...Zg],wa={mid:"middle",base:"baseline",btm:"bottom",baseline:"baseline",top:"top",start:"top",middle:"middle",bottom:"bottom",end:"bottom","text-top":"text-top","text-bottom":"text-bottom",sub:"sub",super:"super",...Object.fromEntries(fe.map(e=>[e,e]))},ty=[[/^(?:vertical|align|v)-(.+)$/,([,e])=>({"vertical-align":wa[e]??C.bracket.cssvar.numberWithUnit(e)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(wa).join("|")})`,"(vertical|align|v)-<percentage>"]}]],ka=["center","left","right","justify","start","end"],ry=[...ka.map(e=>[`text-${e}`,{"text-align":e}]),...[...fe,...ka].map(e=>[`text-align-${e}`,{"text-align":e}])],ny=[[/^(?:animate-)?keyframes-(.+)$/,([,e],{theme:t})=>{var n,o;const r=(o=(n=t.animation)==null?void 0:n.keyframes)==null?void 0:o[e];if(r)return[`@keyframes ${e}${r}`,{animation:e}]},{autocomplete:["animate-keyframes-$animation.keyframes","keyframes-$animation.keyframes"]}],[/^animate-(.+)$/,([,e],{theme:t})=>{var n,o,i,s,a,c,u,l,d,b;const r=(o=(n=t.animation)==null?void 0:n.keyframes)==null?void 0:o[e];if(r){const v=((s=(i=t.animation)==null?void 0:i.durations)==null?void 0:s[e])??"1s",g=((c=(a=t.animation)==null?void 0:a.timingFns)==null?void 0:c[e])??"linear",h=((l=(u=t.animation)==null?void 0:u.counts)==null?void 0:l[e])??1,p=(b=(d=t.animation)==null?void 0:d.properties)==null?void 0:b[e];return[`@keyframes ${e}${r}`,{animation:`${e} ${v} ${g} ${h}`,...p}]}return{animation:C.bracket.cssvar(e)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,e])=>({"animation-name":C.bracket.cssvar(e)??e})],[/^animate-duration-(.+)$/,([,e],{theme:t})=>{var r;return{"animation-duration":((r=t.duration)==null?void 0:r[e||"DEFAULT"])??C.bracket.cssvar.time(e)}},{autocomplete:["animate-duration"]}],[/^animate-delay-(.+)$/,([,e],{theme:t})=>{var r;return{"animation-delay":((r=t.duration)==null?void 0:r[e||"DEFAULT"])??C.bracket.cssvar.time(e)}},{autocomplete:["animate-delay"]}],[/^animate-ease(?:-(.+))?$/,([,e],{theme:t})=>{var r;return{"animation-timing-function":((r=t.ease)==null?void 0:r[e||"DEFAULT"])??C.bracket.cssvar(e)}},{autocomplete:["animate-ease","animate-ease-$ease"]}],[/^animate-(fill-mode-|fill-|mode-)?(.+)$/,([,e,t])=>["none","forwards","backwards","both",e?fe:[]].includes(t)?{"animation-fill-mode":t}:void 0,{autocomplete:["animate-(fill|mode|fill-mode)","animate-(fill|mode|fill-mode)-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)","animate-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(direction-)?(.+)$/,([,e,t])=>["normal","reverse","alternate","alternate-reverse",e?fe:[]].includes(t)?{"animation-direction":t}:void 0,{autocomplete:["animate-direction","animate-direction-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)","animate-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(?:iteration-count-|iteration-|count-)(.+)$/,([,e])=>({"animation-iteration-count":C.bracket.cssvar(e)??e.replace(/-/g,",")}),{autocomplete:["animate-(iteration|count|iteration-count)","animate-(iteration|count|iteration-count)-<num>"]}],[/^animate-(play-state-|play-|state-)?(.+)$/,([,e,t])=>["paused","running",e?fe:[]].includes(t)?{"animation-play-state":t}:void 0,{autocomplete:["animate-(play|state|play-state)","animate-(play|state|play-state)-(paused|running|inherit|initial|revert|revert-layer|unset)","animate-(paused|running|inherit|initial|revert|revert-layer|unset)"]}],["animate-none",{animation:"none"}],...ee("animate","animation")],yl={"gradient-position":B("--un-gradient-position"),"gradient-from":B("--un-gradient-from",{syntax:"<color>",initialValue:"#0000"}),"gradient-via":B("--un-gradient-via",{syntax:"<color>",initialValue:"#0000"}),"gradient-to":B("--un-gradient-to",{syntax:"<color>",initialValue:"#0000"}),"gradient-stops":B("--un-gradient-stops"),"gradient-via-stops":B("--un-gradient-via-stops"),"gradient-from-position":B("--un-gradient-from-position",{syntax:"<length-percentage>",initialValue:"0%"}),"gradient-via-position":B("--un-gradient-via-position",{syntax:"<length-percentage>",initialValue:"50%"}),"gradient-to-position":B("--un-gradient-to-position",{syntax:"<length-percentage>",initialValue:"100%"})};function _a(e){let t="in oklab";if(e)if(e.startsWith("[")&&e.endsWith("]"))t=e.slice(1,-1);else switch(e){case"longer":case"shorter":case"increasing":case"decreasing":t=`in oklch ${e} hue`;break;default:t=`in ${e}`}return t}function oy(){return function*([,e,t],{theme:r}){const n={},o=wn(t,r);if(o){const{color:i,keys:s,alpha:a}=o;if(i){if(Object.values($n).includes(i))n[`--un-gradient-${e}`]=i;else{n[`--un-${e}-opacity`]=a;const c=s?ue("colors",s):i;n[`--un-gradient-${e}`]=`color-mix(in oklab, ${c} var(--un-${e}-opacity), transparent)`,yield B(`--un-${e}-opacity`,{syntax:"<percentage>",initialValue:"100%"})}s&&Z("colors",s),r&&_n(i,r)}}else n[`--un-gradient-${e}`]=C.bracket.cssvar(t);if(n[`--un-gradient-${e}`]){switch(e){case"from":yield{...n,"--un-gradient-stops":"var(--un-gradient-via-stops, var(--un-gradient-position), var(--un-gradient-from) var(--un-gradient-from-position), var(--un-gradient-to) var(--un-gradient-to-position))"};break;case"via":yield{...n,"--un-gradient-via-stops":"var(--un-gradient-position), var(--un-gradient-from) var(--un-gradient-from-position), var(--un-gradient-via) var(--un-gradient-via-position), var(--un-gradient-to) var(--un-gradient-to-position)","--un-gradient-stops":"var(--un-gradient-via-stops)"};break;case"to":yield{...n,"--un-gradient-stops":"var(--un-gradient-via-stops, var(--un-gradient-position), var(--un-gradient-from) var(--un-gradient-from-position), var(--un-gradient-to) var(--un-gradient-to-position))"};break;case"stops":yield{...n};break}for(const i of Object.values(yl))yield i}}}function iy(){return function*([,e,t]){yield{[`--un-gradient-${e}-position`]:`${C.bracket.cssvar.percent(t)}`};for(const r of Object.values(yl))yield r}}const sy=[[/^bg-(linear|radial|conic)-([^/]+)(?:\/(.+))?$/,([,e,t,r])=>{let n;if(C.number(t)!=null?n=`${C.number(t)}deg ${_a(r)};`:n=C.bracket(t),n)return{"--un-gradient-position":n,"background-image":`${e}-gradient(var(--un-gradient-stops))`}},{autocomplete:["bg-(linear|radial|conic)","(from|to|via)-$colors","(from|to|via)-(op|opacity)","(from|to|via)-(op|opacity)-<percent>"]}],[/^(from|via|to|stops)-(.+)$/,oy()],[/^(from|via|to)-op(?:acity)?-?(.+)$/,([,e,t])=>({[`--un-${e}-opacity`]:C.bracket.percent(t)})],[/^(from|via|to)-([\d.]+%)$/,iy()],[/^bg-((?:repeating-)?(?:linear|radial|conic))$/,([,e])=>({"background-image":`${e}-gradient(var(--un-gradient, var(--un-gradient-stops, rgb(255 255 255 / 0))))`}),{autocomplete:["bg-gradient-repeating","bg-gradient-(linear|radial|conic)","bg-gradient-repeating-(linear|radial|conic)"]}],[/^bg-(linear|radial|conic)(?:-to-([rltb]{1,2}))?(?:\/(.+))?$/,([,e,t,r])=>({"--un-gradient-position":`${t in Ae?`to ${Ae[t]} `:" "}${_a(r)}`,"background-image":`${e}-gradient(var(--un-gradient-stops))`}),{autocomplete:`bg-gradient-to-(${Object.keys(Ae).filter(e=>e.length<=2&&Array.from(e).every(t=>"rltb".includes(t))).join("|")})`}],["bg-none",{"background-image":"none"}],["box-decoration-slice",{"box-decoration-break":"slice"}],["box-decoration-clone",{"box-decoration-break":"clone"}],...ee("box-decoration","box-decoration-break"),["bg-auto",{"background-size":"auto"}],["bg-cover",{"background-size":"cover"}],["bg-contain",{"background-size":"contain"}],["bg-fixed",{"background-attachment":"fixed"}],["bg-local",{"background-attachment":"local"}],["bg-scroll",{"background-attachment":"scroll"}],["bg-clip-border",{"-webkit-background-clip":"border-box","background-clip":"border-box"}],["bg-clip-content",{"-webkit-background-clip":"content-box","background-clip":"content-box"}],["bg-clip-padding",{"-webkit-background-clip":"padding-box","background-clip":"padding-box"}],["bg-clip-text",{"-webkit-background-clip":"text","background-clip":"text"}],...fe.map(e=>[`bg-clip-${e}`,{"-webkit-background-clip":e,"background-clip":e}]),[/^bg-([-\w]{3,})$/,([,e])=>({"background-position":Ae[e]})],["bg-repeat",{"background-repeat":"repeat"}],["bg-no-repeat",{"background-repeat":"no-repeat"}],["bg-repeat-x",{"background-repeat":"repeat-x"}],["bg-repeat-y",{"background-repeat":"repeat-y"}],["bg-repeat-round",{"background-repeat":"round"}],["bg-repeat-space",{"background-repeat":"space"}],...ee("bg-repeat","background-repeat"),["bg-origin-border",{"background-origin":"border-box"}],["bg-origin-padding",{"background-origin":"padding-box"}],["bg-origin-content",{"background-origin":"content-box"}],...ee("bg-origin","background-origin")],xa=[[/^outline-(?:width-|size-)?(.+)$/,bl,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,ay,{autocomplete:"outline-$colors"}],[/^outline-op(?:acity)?-?(.+)$/,([,e])=>({"--un-outline-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"outline-(op|opacity)-<percent>"}],[/^outline-offset-(.+)$/,([,e])=>({"outline-offset":C.bracket.cssvar.global.px(e)}),{autocomplete:"outline-(offset)-<num>"}],["outline-offset-none",{"outline-offset":"0"}],["outline",[{"outline-style":"var(--un-outline-style)","outline-width":"1px"},B("--un-outline-style",{initialValue:"solid"})]],["outline-hidden",[{"outline-style":"none"},{[be.parent]:"@media (forced-colors: active)",outline:"2px solid transparent","outline-offset":"2px"}]],["outline-none",{"--un-outline-style":"none","outline-style":"none"}],...["auto","dashed","dotted","double","solid","groove","ridge","inset","outset",...fe].map(e=>[`outline-${e}`,{"--un-outline-style":e,"outline-style":e}])];function*bl([,e]){const t=C.bracket.cssvar.global.px(e);t!=null&&(yield{"outline-style":"var(--un-outline-style)","outline-width":t},yield B("--un-outline-style",{initialValue:"solid"}))}function*ay(e,t){if(Wt(C.bracket(e[1])))yield*bl(e);else{const r=de("outline-color","outline")(e,t);if(r)for(const n of r)yield n}}const cy=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function ly(e){const t=C.bracket(e);return t&&C.properties(t)?t:C.properties.auto.cssvar.global(e)??{contents:"contents",scroll:"scroll-position"}[e]}const Sa=[[/^will-change-(.+)/,([,e])=>({"will-change":ly(e)})]],Zn={disc:"disc",circle:"circle",square:"square",decimal:"decimal","zero-decimal":"decimal-leading-zero",greek:"lower-greek",roman:"lower-roman","upper-roman":"upper-roman",alpha:"lower-alpha","upper-alpha":"upper-alpha",latin:"lower-latin","upper-latin":"upper-latin"},uy=[[/^list-(.+?)(?:-(outside|inside))?$/,([,e,t])=>{const r=Zn[e];if(r)return t?{"list-style-position":t,"list-style-type":r}:{"list-style-type":r}},{autocomplete:[`list-(${Object.keys(Zn).join("|")})`,`list-(${Object.keys(Zn).join("|")})-(outside|inside)`]}],["list-outside",{"list-style-position":"outside"}],["list-inside",{"list-style-position":"inside"}],["list-none",{"list-style-type":"none"}],[/^list-image-(.+)$/,([,e])=>{if(/^\[url\(.+\)\]$/.test(e))return{"list-style-image":C.bracket(e)}}],["list-image-none",{"list-style-image":"none"}],...ee("list","list-style-type")],fy=[[/^accent-(.+)$/,de("accent-color","accent"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,e])=>({"--un-accent-opacity":C.bracket.percent(e)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],dy=[[/^caret-(.+)$/,de("caret-color","caret"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,e])=>({"--un-caret-opacity":C.bracket.percent(e)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],py=[["image-render-auto",{"image-rendering":"auto"}],["image-render-edge",{"image-rendering":"crisp-edges"}],["image-render-pixel",[["-ms-interpolation-mode","nearest-neighbor"],["image-rendering","-webkit-optimize-contrast"],["image-rendering","-moz-crisp-edges"],["image-rendering","-o-pixelated"],["image-rendering","pixelated"]]]],hy=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],...ee("overscroll","overscroll-behavior"),["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],...ee("overscroll-x","overscroll-behavior-x"),["overscroll-y-auto",{"overscroll-behavior-y":"auto"}],["overscroll-y-contain",{"overscroll-behavior-y":"contain"}],["overscroll-y-none",{"overscroll-behavior-y":"none"}],...ee("overscroll-y","overscroll-behavior-y")],my=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...ee("scroll","scroll-behavior")],rt=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...fe],gy=[[/^(?:border|b)()(?:-(.+))?$/,Oe,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,Oe],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,Oe],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,Oe],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,Oe],[/^(?:border|b)-()(?:width|size)-(.+)$/,Oe,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,Oe],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,Oe],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,Oe],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,Oe],[/^(?:border|b)-()(?:color-)?(.+)$/,jt,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,jt],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,jt],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,jt],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,jt],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,Pt,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,Pt],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,Pt],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,Pt],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,Pt],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,Ot,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$radius","(rounded|rd)","(rounded|rd)-$radius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,Ot],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,Ot],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,Ot],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,Ot],[/^(?:border|b)-(?:style-)?()(.+)$/,Rt,{autocomplete:["(border|b)-style",`(border|b)-(${rt.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${rt.join("|")})`,`(border|b)-<directions>-style-(${rt.join("|")})`,`(border|b)-style-(${rt.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,Rt],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,Rt],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,Rt],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,Rt]];function yy(e){return([,t],r)=>{const n=wn(t,r.theme),o=fl(n,`border${e}-color`,`border${e}`,r);if(o){const i=o[0];return n!=null&&n.color&&!Object.values($n).includes(n.color)&&!n.alpha&&e&&e!==""&&(i[`--un-border${e}-opacity`]="var(--un-border-opacity)"),o}}}function Oe([,e="",t="1"]){const r=C.bracket.cssvar.global.px(t);if(e in Se&&r!=null)return Se[e].map(n=>[`border${n}-width`,r])}function jt([,e="",t],r){if(e in Se){if(Wt(C.bracket(t)))return Oe(["",e,t]);if(Yo(t,r.theme)){const n=Se[e].map(o=>yy(o)(["",t],r)).filter(Vr);return[n.map(o=>o[0]).reduce((o,i)=>(Object.assign(o,i),o),{}),...n.flatMap(o=>o.slice(1))]}}}function Pt([,e="",t]){const r=C.bracket.percent.cssvar(t);if(e in Se&&r!=null)return Se[e].map(n=>[`--un-border${n}-opacity`,r])}function Ot([,e="",t="DEFAULT"],{theme:r}){var n;if(e in Yn){if(t==="full")return Yn[e].map(i=>[`border${i}-radius`,"calc(infinity * 1px)"]);const o=((n=r.radius)==null?void 0:n[t])??C.bracket.cssvar.global.fraction.rem(t);if(o!=null){const i=r.radius&&t in r.radius;return i&&Z("radius",t),Yn[e].map(s=>[`border${s}-radius`,i?ue("radius",t):o])}}}function Rt([,e="",t]){if(rt.includes(t)&&e in Se)return[["--un-border-style",t],...Se[e].map(r=>[`border${r}-style`,t])]}const by=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:C.bracket.percent.cssvar(e)})]],vy=/^\[url\(.+\)\]$/,$y=/^\[(?:length|size):.+\]$/,wy=/^\[position:.+\]$/,ky=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,_y=/^\[image:.+\]$/,xy=[[/^bg-(.+)$/,(...e)=>{const t=e[0][1];if(vy.test(t))return{"--un-url":C.bracket(t),"background-image":"var(--un-url)"};if($y.test(t)&&C.bracketOfLength(t)!=null)return{"background-size":C.bracketOfLength(t).split(" ").map(r=>C.fraction.auto.px.cssvar(r)??r).join(" ")};if((A0(t)||wy.test(t))&&C.bracketOfPosition(t)!=null)return{"background-position":C.bracketOfPosition(t).split(" ").map(r=>C.position.fraction.auto.px.cssvar(r)??r).join(" ")};if(ky.test(t)||_y.test(t)){const r=C.bracket(t);if(r)return{"background-image":(r.startsWith("http")?`url(${r})`:C.cssvar(r))??r}}return de("background-color","bg")(...e)},{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],Sy=[[/^(?:color-)?scheme-(.+)$/,([,e])=>({"color-scheme":e.split("-").join(" ")})]],Ey=[[/^columns-(.+)$/,([,e])=>({columns:C.bracket.global.number.auto.numberWithUnit(e)}),{autocomplete:"columns-<num>"}],["break-before-auto",{"break-before":"auto"}],["break-before-avoid",{"break-before":"avoid"}],["break-before-all",{"break-before":"all"}],["break-before-avoid-page",{"break-before":"avoid-page"}],["break-before-page",{"break-before":"page"}],["break-before-left",{"break-before":"left"}],["break-before-right",{"break-before":"right"}],["break-before-column",{"break-before":"column"}],...ee("break-before"),["break-inside-auto",{"break-inside":"auto"}],["break-inside-avoid",{"break-inside":"avoid"}],["break-inside-avoid-page",{"break-inside":"avoid-page"}],["break-inside-avoid-column",{"break-inside":"avoid-column"}],...ee("break-inside"),["break-after-auto",{"break-after":"auto"}],["break-after-avoid",{"break-after":"avoid"}],["break-after-all",{"break-after":"all"}],["break-after-avoid-page",{"break-after":"avoid-page"}],["break-after-page",{"break-after":"page"}],["break-after-left",{"break-after":"left"}],["break-after-right",{"break-after":"right"}],["break-after-column",{"break-after":"column"}],...ee("break-after")],Ea=["solid","double","dotted","dashed","wavy",...fe],Cy=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,e])=>({"text-decoration-line":e}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,vl,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,jy,{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,e])=>({"text-underline-offset":C.auto.bracket.cssvar.global.px(e)}),{autocomplete:"(underline|decoration)-(offset)-<num>"}],...Ea.map(e=>[`underline-${e}`,{"text-decoration-style":e}]),...Ea.map(e=>[`decoration-${e}`,{"text-decoration-style":e}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function vl([,e]){return{"text-decoration-thickness":C.bracket.cssvar.global.px(e)}}function jy(e,t){if(Wt(C.bracket(e[1])))return vl(e);const r=de("text-decoration-color","line")(e,t);if(r){const n=r[0];return n["-webkit-text-decoration-color"]=n["text-decoration-color"],r}}const Py=[[/^pa?()-?(.+)$/,ce("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,ce("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(.+))?$/,ce("padding")],[/^p-?([rltbse])(?:-?(.+))?$/,ce("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(.+))?$/,ce("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(.+))?$/,ce("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],Oy=[[/^ma?()-?(.+)$/,ce("margin")],[/^m-?xy()()$/,ce("margin")],[/^m-?([xy])(?:-?(.+))?$/,ce("margin")],[/^m-?([rltbse])(?:-?(.+))?$/,ce("margin")],[/^m-(block|inline)(?:-(.+))?$/,ce("margin")],[/^m-?([bi][se])(?:-?(.+))?$/,ce("margin")]],Ry=[[/^space-([xy])-(.+)$/,Ay,{autocomplete:["space-(x|y)","space-(x|y)-reverse","space-(x|y)-$spacing"]}],[/^space-([xy])-reverse$/,function*([,e],{symbols:t}){yield{[t.selector]:nt,[`--un-space-${e}-reverse`]:"1"},yield B(`--un-space-${e}-reverse`,{initialValue:0})}]];function nt(e){const t=">:not(:last-child)";return e.includes(t)?e:`${e}${t}`}function*Ay([,e,t],{theme:r,symbols:n}){var s;let o;const i=Fe(t);if(i!=null?(Z("spacing"),o=`calc(var(--spacing) * ${i})`):o=((s=r.spacing)==null?void 0:s[t])??C.bracket.cssvar.auto.fraction.rem(t||"1"),o!=null){const a=Se[e==="x"?"inline":"block"].map((c,u)=>{const l=`margin${c}`,d=` calc(${o} * ${u===0?`var(--un-space-${e}-reverse)`:`calc(1 - var(--un-space-${e}-reverse))`})`;return[l,d]});a&&(yield{[n.selector]:nt,[`--un-space-${e}-reverse`]:"0",...Object.fromEntries(a)},yield B(`--un-space-${e}-reverse`,{initialValue:0}))}}const Ty=[[/^divide-(.+)$/,function*(e,t){const r=de("border-color","divide")(e,t);r&&(yield{[t.symbols.selector]:nt,...r[0]},yield r[1])},{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,function*([,e],{symbols:t}){yield{[t.selector]:nt,"--un-divide-opacity":C.bracket.percent(e)}},{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-<percent>"]}],[/^divide-?([xy])$/,Ca,{autocomplete:["divide-(x|y)","divide-(x|y)-reverse"]}],[/^divide-?([xy])-?(.+)$/,Ca],[/^divide-?([xy])-reverse$/,function*([,e],{symbols:t}){yield{[t.selector]:nt,[`--un-divide-${e}-reverse`]:"1"},yield B(`--un-divide-${e}-reverse`,{initialValue:0})}],[new RegExp(`^divide-(${rt.join("|")})$`),function*([,e],{symbols:t}){yield{[t.selector]:nt,"border-style":e}},{autocomplete:rt.map(e=>`divide-${e}`)}]];function*Ca([,e,t],{symbols:r}){let n=C.bracket.cssvar.px(t||"1");if(n!=null){n==="0"&&(n="0px");const i={x:["-left","-right"],y:["-top","-bottom"]}[e].map(s=>{const a=s.endsWith("left")||s.endsWith("top")?`calc(${n} * var(--un-divide-${e}-reverse))`:`calc(${n} * calc(1 - var(--un-divide-${e}-reverse)))`;return[[`border${s}-width`,a],[`border${s}-style`,"var(--un-border-style)"]]});i&&(yield{[r.selector]:nt,[`--un-divide-${e}-reverse`]:0,...Object.fromEntries(i.flat())},yield B(`--un-divide-${e}-reverse`,{initialValue:0}),yield B("--un-border-style",{initialValue:"solid"}))}}const $l=["blur","brightness","contrast","grayscale","hue-rotate","invert","saturate","sepia","drop-shadow"],ko=$l.map(e=>B(`--un-${e}`)),cn=$l.map(e=>`var(--un-${e},)`).join(" "),wl=["backdrop-blur","backdrop-brightness","backdrop-contrast","backdrop-grayscale","backdrop-hue-rotate","backdrop-invert","backdrop-opacity","backdrop-saturate","backdrop-sepia"],Ny=wl.map(e=>B(`--un-${e}`)),ln=wl.map(e=>`var(--un-${e},)`).join(" ");function eo(e){let t=C.bracket.cssvar(e||"");if(t!=null||(t=e?C.percent(e):"100%",t!=null&&Number.parseFloat(t.slice(0,-1))<=100))return t}function qe(e,t){return([,r,n],{theme:o})=>{const i=t(n,o)??(n==="none"?"0":"");if(i!=="")return r?[{[`--un-${r}${e}`]:`${e}(${i})`,"-webkit-backdrop-filter":ln,"backdrop-filter":ln},...Ny]:[{[`--un-${e}`]:`${e}(${i})`,filter:cn},...ko]}}function Iy([,e],{theme:t}){var n;let r=(n=t.dropShadow)==null?void 0:n[e||"DEFAULT"];if(r!=null)return[{"--un-drop-shadow":`drop-shadow(${Xo(r,"--un-drop-shadow-color").join(") drop-shadow(")})`,filter:cn},...ko];if(r=C.bracket.cssvar(e)??(e==="none"?"":void 0),r!=null)return[{"--un-drop-shadow":r&&`drop-shadow(${r})`,filter:cn},...ko]}const My=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,qe("blur",(e,t)=>{var r;return((r=t.blur)==null?void 0:r[e||"DEFAULT"])||C.bracket.cssvar.px(e)}),{autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur","filter-blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,qe("brightness",e=>C.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,qe("contrast",e=>C.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-(.+))?$/,Iy,{autocomplete:["filter-drop","filter-drop-shadow","filter-drop-shadow-color","drop-shadow","drop-shadow-color","filter-drop-shadow-$dropShadow","drop-shadow-$dropShadow","filter-drop-shadow-color-$colors","drop-shadow-color-$colors","filter-drop-shadow-color-(op|opacity)","drop-shadow-color-(op|opacity)","filter-drop-shadow-color-(op|opacity)-<percent>","drop-shadow-color-(op|opacity)-<percent>"]}],[/^(?:filter-)?drop-shadow-color-(.+)$/,de("--un-drop-shadow-color","drop-shadow")],[/^(?:filter-)?drop-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-drop-shadow-opacity":C.bracket.percent(e)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,qe("grayscale",eo),{autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,qe("hue-rotate",e=>C.bracket.cssvar.degree(e))],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,qe("invert",eo),{autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)?-(.+)$/,qe("opacity",e=>C.bracket.cssvar.percent(e)),{autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,qe("saturate",e=>C.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,qe("sepia",eo),{autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:cn}],["backdrop-filter",{"-webkit-backdrop-filter":ln,"backdrop-filter":ln}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}],...fe.map(e=>[`filter-${e}`,{filter:e}]),...fe.map(e=>[`backdrop-filter-${e}`,{"-webkit-backdrop-filter":e,"backdrop-filter":e}])],Fy=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,e])=>({flex:C.bracket(e)!=null?C.bracket(e).split(" ").map(t=>C.cssvar.fraction(t)??t).join(" "):C.cssvar.fraction(e)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink(?:-(.*))?$/,([,e=""])=>({"flex-shrink":C.bracket.cssvar.number(e)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,e=""])=>({"flex-grow":C.bracket.cssvar.number(e)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,e])=>{const t=Fe(e);return t!=null?(Z("spacing"),{"flex-basis":`calc(var(--spacing) * ${t})`}):{"flex-basis":C.bracket.cssvar.auto.fraction.rem(e)}},{autocomplete:["flex-basis-$spacing","basis-$spacing"]}],["flex-row",{"flex-direction":"row"}],["flex-row-reverse",{"flex-direction":"row-reverse"}],["flex-col",{"flex-direction":"column"}],["flex-col-reverse",{"flex-direction":"column-reverse"}],["flex-wrap",{"flex-wrap":"wrap"}],["flex-wrap-reverse",{"flex-wrap":"wrap-reverse"}],["flex-nowrap",{"flex-wrap":"nowrap"}]],ja={"":"",x:"column-",y:"row-",col:"column-",row:"row-"};function to([,e="",t]){const r=Fe(t);return r!=null?(Z("spacing"),{[`${ja[e]}gap`]:`calc(var(--spacing) * ${r})`}):{[`${ja[e]}gap`]:C.bracket.cssvar.global.rem(t)}}const zy=[[/^(?:flex-|grid-)?gap-?()(.+)$/,to,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,to,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,to,{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function Me(e){return e.replace("col","column")}function Ly(e){switch(e){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return C.bracket.cssvar.auto.rem(e)}const Dy=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t])=>({[`grid-${Me(e)}`]:C.bracket.number.cssvar.auto(t)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t==="full")return{[`grid-${Me(e)}`]:"1/-1"};const r=C.bracket.number.cssvar(t);if(r!=null)return{[`grid-${Me(e)}`]:`span ${r}/span ${r}`}},{autocomplete:"(grid-row|grid-col|row|col)-span-<num>"}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>({[`grid-${Me(e)}-start`]:C.bracket.cssvar(t)??t})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>({[`grid-${Me(e)}-end`]:C.bracket.cssvar(t)??t}),{autocomplete:"(grid-row|grid-col|row|col)-(start|end)-<num>"}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t])=>({[`grid-auto-${Me(e)}`]:Ly(t)}),{autocomplete:"(grid-auto|auto)-(rows|cols)-<num>"}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,e])=>({"grid-auto-flow":C.bracket.cssvar(e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,e])=>({"grid-auto-flow":Me(e).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,e,t])=>({[`grid-template-${Me(e)}`]:C.bracket.cssvar(t)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${Me(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${Me(e)}`]:`repeat(${t},minmax(0,1fr))`}),{autocomplete:"(grid-rows|grid-cols|rows|cols)-<num>"}],[/^grid-area(s)?-(.+)$/,([,e,t])=>e!=null?{"grid-template-areas":C.cssvar(t)??t.split("-").map(r=>`"${C.bracket(r)}"`).join(" ")}:{"grid-area":C.bracket.cssvar(t)}],["grid-rows-none",{"grid-template-rows":"none"}],["grid-cols-none",{"grid-template-columns":"none"}],["grid-rows-subgrid",{"grid-template-rows":"subgrid"}],["grid-cols-subgrid",{"grid-template-columns":"subgrid"}]],zr=["auto","hidden","clip","visible","scroll","overlay",...fe],qy=[[/^(?:overflow|of)-(.+)$/,([,e])=>zr.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-(${zr.join("|")})`,`(overflow|of)-(x|y)-(${zr.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>zr.includes(t)?{[`overflow-${e}`]:t}:void 0]],Vy=[[/^line-clamp-(\d+)$/,([,e])=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":e}),{autocomplete:["line-clamp","line-clamp-(1|2|3|4|5|6|none)"]}],["line-clamp-none",{overflow:"visible",display:"block","-webkit-box-orient":"horizontal","-webkit-line-clamp":"unset"}]],Uy=[[/^\$ placeholder-(.+)$/,de("color","placeholder"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,e])=>({"--un-placeholder-opacity":C.bracket.percent(e)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]],Hy=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e}),{autocomplete:["(position|pos)-<position>","(position|pos)-<globalKeyword>","<position>"]}],[/^(?:position-|pos-)([-\w]+)$/,([,e])=>fe.includes(e)?{position:e}:void 0],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],kl=[["justify-start",{"justify-content":"flex-start"}],["justify-end",{"justify-content":"flex-end"}],["justify-center",{"justify-content":"center"}],["justify-between",{"justify-content":"space-between"}],["justify-around",{"justify-content":"space-around"}],["justify-evenly",{"justify-content":"space-evenly"}],["justify-stretch",{"justify-content":"stretch"}],["justify-left",{"justify-content":"left"}],["justify-right",{"justify-content":"right"}],["justify-center-safe",{"justify-content":"safe center"}],["justify-end-safe",{"justify-content":"safe flex-end"}],["justify-normal",{"justify-content":"normal"}],...ee("justify","justify-content"),["justify-items-start",{"justify-items":"start"}],["justify-items-end",{"justify-items":"end"}],["justify-items-center",{"justify-items":"center"}],["justify-items-stretch",{"justify-items":"stretch"}],["justify-items-center-safe",{"justify-items":"safe center"}],["justify-items-end-safe",{"justify-items":"safe flex-end"}],...ee("justify-items"),["justify-self-auto",{"justify-self":"auto"}],["justify-self-start",{"justify-self":"start"}],["justify-self-end",{"justify-self":"end"}],["justify-self-center",{"justify-self":"center"}],["justify-self-stretch",{"justify-self":"stretch"}],["justify-self-baseline",{"justify-self":"baseline"}],["justify-self-center-safe",{"justify-self":"safe center"}],["justify-self-end-safe",{"justify-self":"safe flex-end"}],...ee("justify-self")],Wy=[[/^order-(.+)$/,([,e])=>({order:C.bracket.cssvar.number(e)})],["order-first",{order:"calc(-infinity)"}],["order-last",{order:"calc(infinity)"}],["order-none",{order:"0"}]],_l=[["content-center",{"align-content":"center"}],["content-start",{"align-content":"flex-start"}],["content-end",{"align-content":"flex-end"}],["content-between",{"align-content":"space-between"}],["content-around",{"align-content":"space-around"}],["content-evenly",{"align-content":"space-evenly"}],["content-baseline",{"align-content":"baseline"}],["content-center-safe",{"align-content":"safe center"}],["content-end-safe",{"align-content":"safe flex-end"}],["content-stretch",{"align-content":"stretch"}],["content-normal",{"align-content":"normal"}],...ee("content","align-content"),["items-start",{"align-items":"flex-start"}],["items-end",{"align-items":"flex-end"}],["items-center",{"align-items":"center"}],["items-baseline",{"align-items":"baseline"}],["items-stretch",{"align-items":"stretch"}],["items-baseline-last",{"align-items":"last baseline"}],["items-center-safe",{"align-items":"safe center"}],["items-end-safe",{"align-items":"safe flex-end"}],...ee("items","align-items"),["self-auto",{"align-self":"auto"}],["self-start",{"align-self":"flex-start"}],["self-end",{"align-self":"flex-end"}],["self-center",{"align-self":"center"}],["self-stretch",{"align-self":"stretch"}],["self-baseline",{"align-self":"baseline"}],["self-baseline-last",{"align-self":"last baseline"}],["self-center-safe",{"align-self":"safe center"}],["self-end-safe",{"align-self":"safe flex-end"}],...ee("self","align-self")],xl=[["place-content-center",{"place-content":"center"}],["place-content-start",{"place-content":"start"}],["place-content-end",{"place-content":"end"}],["place-content-between",{"place-content":"space-between"}],["place-content-around",{"place-content":"space-around"}],["place-content-evenly",{"place-content":"space-evenly"}],["place-content-stretch",{"place-content":"stretch"}],["place-content-baseline",{"place-content":"baseline"}],["place-content-center-safe",{"place-content":"safe center"}],["place-content-end-safe",{"place-content":"safe flex-end"}],...ee("place-content"),["place-items-start",{"place-items":"start"}],["place-items-end",{"place-items":"end"}],["place-items-center",{"place-items":"center"}],["place-items-stretch",{"place-items":"stretch"}],["place-items-baseline",{"place-items":"baseline"}],["place-items-center-safe",{"place-items":"safe center"}],["place-items-end-safe",{"place-items":"safe flex-end"}],...ee("place-items"),["place-self-auto",{"place-self":"auto"}],["place-self-start",{"place-self":"start"}],["place-self-end",{"place-self":"end"}],["place-self-center",{"place-self":"center"}],["place-self-stretch",{"place-self":"stretch"}],["place-self-center-safe",{"place-self":"safe center"}],["place-self-end-safe",{"place-self":"safe flex-end"}],...ee("place-self")],Ky=[...kl,..._l,...xl].flatMap(([e,t])=>[[`flex-${e}`,t],[`grid-${e}`,t]]);function _o(e){const t=Fe(e);return t!=null?(Z("spacing"),`calc(var(--spacing) * ${t})`):C.bracket.cssvar.global.auto.fraction.rem(e)}function At([,e,t]){const r=_o(t);if(r!=null&&e in ya)return ya[e].map(n=>[n.slice(1),r])}const By=[[/^(?:position-|pos-)?inset-(.+)$/,([,e])=>({inset:_o(e)}),{autocomplete:["(position|pos)-inset-<directions>-$spacing","(position|pos)-inset-(block|inline)-$spacing","(position|pos)-inset-(bs|be|is|ie)-$spacing","(position|pos)-(top|left|right|bottom)-$spacing"]}],[/^(?:position-|pos-)?(start|end)-(.+)$/,At],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,At],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,At],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,At],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,At],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t])=>({[e]:_o(t)})]],Gy=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...ee("float"),["clear-left",{clear:"left"}],["clear-right",{clear:"right"}],["clear-both",{clear:"both"}],["clear-start",{clear:"inline-start"}],["clear-end",{clear:"inline-end"}],["clear-none",{clear:"none"}],...ee("clear")],Jy=[[/^(?:position-|pos-)?z([\d.]+)$/,([,e])=>({"z-index":C.number(e)})],[/^(?:position-|pos-)?z-(.+)$/,([,e])=>({"z-index":C.bracket.cssvar.global.auto.number(e)}),{autocomplete:"z-<num>"}]],Xy=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...ee("box","box-sizing")],Yy=[[/^(where|\?)$/,(e,{constructCSS:t,generator:r})=>{if(r.userConfig.envMode==="dev")return`@keyframes __un_qm{0%{box-shadow:inset 4px 4px #ff1e90, inset -4px -4px #ff1e90}100%{box-shadow:inset 8px 8px #3399ff, inset -8px -8px #3399ff}} ${t({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]],xo={shadow:B("--un-shadow",{initialValue:"0 0 #0000"}),shadowColor:B("--un-shadow-color"),insetShadow:B("--un-inset-shadow",{initialValue:"0 0 #0000"}),insetShadowColor:B("--un-inset-shadow-color"),ringColor:B("--un-ring-color"),ringShadow:B("--un-ring-shadow",{initialValue:"0 0 #0000"}),insetRingColor:B("--un-inset-ring-color"),insetRingShadow:B("--un-inset-ring-shadow",{initialValue:"0 0 #0000"}),ringInset:B("--un-ring-inset"),ringOffsetWidth:B("--un-ring-offset-width",{syntax:"<length>",initialValue:"0px"}),ringOffsetColor:B("--un-ring-offset-color"),ringOffsetShadow:B("--un-ring-offset-shadow",{initialValue:"0 0 #0000"})},Qy=[[/^shadow(?:-(.+))?$/,Pa("shadow"),{autocomplete:["shadow-$colors","shadow-$shadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],[/^inset-shadow(?:-(.+))?$/,Pa("insetShadow"),{autocomplete:["inset-shadow-$colors","inset-shadow-$insetShadow"]}],[/^inset-shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-inset-shadow-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}]];function Pa(e){return(t,r)=>{var c;const[,n]=t,{theme:o}=r,i=(c=o[e])==null?void 0:c[n||"DEFAULT"],s=n?C.bracket.cssvar(n):void 0,a=T0(e);return(i!=null||s!=null)&&!Yo(s,o)?[{[`--un-${a}`]:Xo(i||s,`--un-${a}-color`).join(","),"box-shadow":"var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"},...Object.values(xo)]:de(`--un-${a}-color`,a)(t,r)}}const Zy=[[/^ring(?:-(.+))?$/,([,e])=>{const t=C.bracket.px(e||"1");if(t!=null)return[{"--un-ring-shadow":`var(--un-ring-inset,) 0 0 0 calc(${t} + var(--un-ring-offset-width)) var(--un-ring-color, currentColor)`,"box-shadow":"var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"},...Object.values(xo)]}],[/^ring-(.+)$/,de("--un-ring-color","ring"),{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^inset-ring(?:-(.+))?$/,([,e])=>{const t=C.bracket.px(e||"1");if(t!=null)return[{"--un-inset-ring-shadow":`inset 0 0 0 ${t} var(--un-inset-ring-color, currentColor)`,"box-shadow":"var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"},...Object.values(xo)]}],[/^inset-ring-(.+)$/,de("--un-inset-ring-color","inset-ring"),{autocomplete:"inset-ring-$colors"}],[/^inset-ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-inset-ring-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"inset-ring-(op|opacity)-<percent>"}],[/^ring-offset(?:-(?:width-|size-)?(.+))?$/,([,e])=>{const t=C.bracket.cssvar.px(e||"1");if(t!=null)return{"--un-ring-offset-width":t,"--un-ring-offset-shadow":"var(--un-ring-inset,) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)"}},{autocomplete:"ring-offset-$colors"}],[/^ring-offset-(.+)$/,de("--un-ring-offset-color","ring-offset"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]],eb=[...["x","y","both"].map(e=>[`snap-${e}`,[{"scroll-snap-type":`${e} var(--un-scroll-snap-strictness)`},B("--un-scroll-snap-strictness",{initialValue:"proximity"})]]),...["mandatory","proximity"].map(e=>[`snap-${e}`,[{"--un-scroll-snap-strictness":e},B("--un-scroll-snap-strictness",{initialValue:"proximity"})]]),["snap-none",{"scroll-snap-type":"none"}],["snap-start",{"scroll-snap-align":"start"}],["snap-end",{"scroll-snap-align":"end"}],["snap-center",{"scroll-snap-align":"center"}],["snap-align-none",{"scroll-snap-align":"none"}],["snap-normal",{"scroll-snap-stop":"normal"}],["snap-always",{"scroll-snap-stop":"always"}],[/^scroll-ma?()-?(.+)$/,ce("scroll-margin"),{autocomplete:["scroll-(m|p|ma|pa|block|inline)","scroll-(m|p|ma|pa|block|inline)-$spacing","scroll-(m|p|ma|pa|block|inline)-(x|y|r|l|t|b|bs|be|is|ie)","scroll-(m|p|ma|pa|block|inline)-(x|y|r|l|t|b|bs|be|is|ie)-$spacing"]}],[/^scroll-m-?([xy])-?(.+)$/,ce("scroll-margin")],[/^scroll-m-?([rltb])-?(.+)$/,ce("scroll-margin")],[/^scroll-m-(block|inline)-(.+)$/,ce("scroll-margin")],[/^scroll-m-?([bi][se])-?(.+)$/,ce("scroll-margin")],[/^scroll-pa?()-?(.+)$/,ce("scroll-padding")],[/^scroll-p-?([xy])-?(.+)$/,ce("scroll-padding")],[/^scroll-p-?([rltb])-?(.+)$/,ce("scroll-padding")],[/^scroll-p-(block|inline)-(.+)$/,ce("scroll-padding")],[/^scroll-p-?([bi][se])-?(.+)$/,ce("scroll-padding")]],tb={h:"height",w:"width",inline:"inline-size",block:"block-size"};function dt(e,t){return`${e||""}${tb[t]}`}function Lr(e,t,r){var i;let n;const o=["container","spacing"];for(const s of o)if((i=e[s])!=null&&i[r]){Z(s,r),n=ue(s,r);break}if(!n)switch(r){case"fit":case"max":case"min":n=`${r}-content`;break;case"screen":n=t==="w"?"100vw":"100vh";break}return!n&&C.number(r)!=null&&(Z("spacing"),n=`calc(var(--spacing) * ${C.number(r)})`),n??C.bracket.cssvar.global.auto.none.fraction.rem(r)}const rb=[[/^size-(min-|max-)?(.+)$/,([,e,t],{theme:r})=>({[dt(e,"w")]:Lr(r,"w",t),[dt(e,"h")]:Lr(r,"h",t)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,e,t,r],{theme:n})=>({[dt(e,t)]:Lr(n,t,r)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,e,t,r],{theme:n})=>({[dt(e,t)]:Lr(n,t,r)}),{autocomplete:["(w|h)-<num>","(w|h)-(full|screen|fit|max|min)","(max|min)-(w|h)-<num>","(max|min)-(w|h)-(full|screen|fit|max|min)","(block|inline)-<num>","(block|inline)-(full|screen|fit|max|min)","(max|min)-(w|h|block|inline)","(max|min)-(w|h|block|inline)-<num>","(max|min)-(w|h|block|inline)-(full|screen|fit|max|min)"]}],[/^(?:size-)?(min-|max-)?(h)-screen-(.+)$/,([,e,t,r],n)=>({[dt(e,t)]:Oa(n,r,"verticalBreakpoint")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,e,t,r],n)=>({[dt(e,t)]:Oa(n,r)}),{autocomplete:["(w|h)-screen","(min|max)-(w|h)-screen","h-screen-$breakpoint","(min|max)-h-screen-$breakpoint","w-screen-$breakpoint","(min|max)-w-screen-$breakpoint"]}]];function Oa(e,t,r="breakpoint"){var o;const n=kn(e,r);if(n)return(o=n.find(i=>i.point===t))==null?void 0:o.size}function nb(e){if(/^\d+\/\d+$/.test(e))return e;switch(e){case"square":return"1/1";case"video":return"16/9"}return C.bracket.cssvar.global.auto.number(e)}const ob=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":nb(e)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]],ib=["auto","default","none","context-menu","help","pointer","progress","wait","cell","crosshair","text","vertical-text","alias","copy","move","no-drop","not-allowed","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"],ro=["size","layout","paint","style"],sb=[["inline",{display:"inline"}],["block",{display:"block"}],["inline-block",{display:"inline-block"}],["contents",{display:"contents"}],["flow-root",{display:"flow-root"}],["list-item",{display:"list-item"}],["hidden",{display:"none"}],[/^display-(.+)$/,([,e])=>({display:C.bracket.cssvar.global(e)})]],ab=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["collapse",{visibility:"collapse"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...ee("backface","backface-visibility")],cb=[[/^cursor-(.+)$/,([,e])=>({cursor:C.bracket.cssvar.global(e)})],...ib.map(e=>[`cursor-${e}`,{cursor:e}])],lb=[[/^contain-(.*)$/,([,e])=>C.bracket(e)!=null?{contain:C.bracket(e).split(" ").map(t=>C.cssvar.fraction(t)??t).join(" ")}:ro.includes(e)?[{"--un-contain-size":e,contain:ro.map(t=>`var(--un-contain-${t})`).join(" ")},...ro.map(t=>B(`--un-contain-${t}`))]:void 0],["contain-strict",{contain:"strict"}],["contain-content",{contain:"content"}],["contain-none",{contain:"none"}]],ub=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...ee("pointer-events")],fb=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...ee("resize")],db=[["select-auto",{"-webkit-user-select":"auto","user-select":"auto"}],["select-all",{"-webkit-user-select":"all","user-select":"all"}],["select-text",{"-webkit-user-select":"text","user-select":"text"}],["select-none",{"-webkit-user-select":"none","user-select":"none"}],...ee("select","user-select")],pb=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,e])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...fe].includes(e)?{"white-space":e}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],hb=[[/^intrinsic-size-(.+)$/,([,e])=>({"contain-intrinsic-size":C.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"intrinsic-size-<num>"}],["content-visibility-visible",{"content-visibility":"visible"}],["content-visibility-hidden",{"content-visibility":"hidden"}],["content-visibility-auto",{"content-visibility":"auto"}],...ee("content-visibility")],mb=[[/^content-(.+)$/,([,e])=>{if(C.bracket.cssvar(e)!=null)return[{"--un-content":C.bracket.cssvar(e),content:"var(--un-content)"},B("--un-content",{initialValue:'""'})]}],["content-empty",{content:'""'}],["content-none",{content:"none"}]],gb=[["break-normal",{"overflow-wrap":"normal","word-break":"normal"}],["break-words",{"overflow-wrap":"break-word"}],["break-all",{"word-break":"break-all"}],["break-keep",{"word-break":"keep-all"}],["break-anywhere",{"overflow-wrap":"anywhere"}]],yb=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],bb=[["truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-ellipsis",{"text-overflow":"ellipsis"}],["text-clip",{"text-overflow":"clip"}]],vb=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],["uppercase",{"text-transform":"uppercase"}],["lowercase",{"text-transform":"lowercase"}],["capitalize",{"text-transform":"capitalize"}],["normal-case",{"text-transform":"none"}],...ee("case","text-transform")],$b=[["italic",{"font-style":"italic"}],["not-italic",{"font-style":"normal"}],["font-italic",{"font-style":"italic"}],["font-not-italic",{"font-style":"normal"}],["oblique",{"font-style":"oblique"}],["not-oblique",{"font-style":"normal"}],["font-oblique",{"font-style":"oblique"}],["font-not-oblique",{"font-style":"normal"}]],wb=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],kb=[...["manual","auto","none",...fe].map(e=>[`hyphens-${e}`,{"-webkit-hyphens":e,"-ms-hyphens":e,hyphens:e}])],_b=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...ee("write","writing-mode")],xb=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...ee("write-orient","text-orientation")],Sb=[["sr-only",{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)","white-space":"nowrap","border-width":0}],["not-sr-only",{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",clip:"auto","white-space":"normal"}]],Eb=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],Cb=[["object-cover",{"object-fit":"cover"}],["object-contain",{"object-fit":"contain"}],["object-fill",{"object-fit":"fill"}],["object-scale-down",{"object-fit":"scale-down"}],["object-none",{"object-fit":"none"}],[/^object-(.+)$/,([,e])=>{if(Ae[e])return{"object-position":Ae[e]};if(C.bracketOfPosition(e)!=null)return{"object-position":C.bracketOfPosition(e).split(" ").map(t=>C.position.fraction.auto.px.cssvar(t)??t).join(" ")}},{autocomplete:`object-(${Object.keys(Ae).join("|")})`}]],jb=[["bg-blend-multiply",{"background-blend-mode":"multiply"}],["bg-blend-screen",{"background-blend-mode":"screen"}],["bg-blend-overlay",{"background-blend-mode":"overlay"}],["bg-blend-darken",{"background-blend-mode":"darken"}],["bg-blend-lighten",{"background-blend-mode":"lighten"}],["bg-blend-color-dodge",{"background-blend-mode":"color-dodge"}],["bg-blend-color-burn",{"background-blend-mode":"color-burn"}],["bg-blend-hard-light",{"background-blend-mode":"hard-light"}],["bg-blend-soft-light",{"background-blend-mode":"soft-light"}],["bg-blend-difference",{"background-blend-mode":"difference"}],["bg-blend-exclusion",{"background-blend-mode":"exclusion"}],["bg-blend-hue",{"background-blend-mode":"hue"}],["bg-blend-saturation",{"background-blend-mode":"saturation"}],["bg-blend-color",{"background-blend-mode":"color"}],["bg-blend-luminosity",{"background-blend-mode":"luminosity"}],["bg-blend-normal",{"background-blend-mode":"normal"}],...ee("bg-blend","background-blend")],Pb=[["mix-blend-multiply",{"mix-blend-mode":"multiply"}],["mix-blend-screen",{"mix-blend-mode":"screen"}],["mix-blend-overlay",{"mix-blend-mode":"overlay"}],["mix-blend-darken",{"mix-blend-mode":"darken"}],["mix-blend-lighten",{"mix-blend-mode":"lighten"}],["mix-blend-color-dodge",{"mix-blend-mode":"color-dodge"}],["mix-blend-color-burn",{"mix-blend-mode":"color-burn"}],["mix-blend-hard-light",{"mix-blend-mode":"hard-light"}],["mix-blend-soft-light",{"mix-blend-mode":"soft-light"}],["mix-blend-difference",{"mix-blend-mode":"difference"}],["mix-blend-exclusion",{"mix-blend-mode":"exclusion"}],["mix-blend-hue",{"mix-blend-mode":"hue"}],["mix-blend-saturation",{"mix-blend-mode":"saturation"}],["mix-blend-color",{"mix-blend-mode":"color"}],["mix-blend-luminosity",{"mix-blend-mode":"luminosity"}],["mix-blend-plus-lighter",{"mix-blend-mode":"plus-lighter"}],["mix-blend-normal",{"mix-blend-mode":"normal"}],...ee("mix-blend")],Ob=[["min-h-dvh",{"min-height":"100dvh"}],["min-h-svh",{"min-height":"100svh"}],["min-h-lvh",{"min-height":"100lvh"}],["h-dvh",{height:"100dvh"}],["h-svh",{height:"100svh"}],["h-lvh",{height:"100lvh"}],["max-h-dvh",{"max-height":"100dvh"}],["max-h-svh",{"max-height":"100svh"}],["max-h-lvh",{"max-height":"100lvh"}]],Rb=[["forced-color-adjust-auto",{"forced-color-adjust":"auto"}],["forced-color-adjust-none",{"forced-color-adjust":"none"}]],Ab=[["field-sizing-fixed",{"field-sizing":"fixed"}],["field-sizing-content",{"field-sizing":"content"}]],Tb=[[/^fill-(.+)$/,de("fill","fill"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,Sl],[/^stroke-dash-(.+)$/,([,e])=>({"stroke-dasharray":C.bracket.cssvar.number(e)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,e])=>({"stroke-dashoffset":C.bracket.cssvar.px.numberWithUnit(e)})],[/^stroke-(.+)$/,Nb,{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"stroke-(op|opacity)-<percent>"}],["stroke-cap-square",{"stroke-linecap":"square"}],["stroke-cap-round",{"stroke-linecap":"round"}],["stroke-cap-auto",{"stroke-linecap":"butt"}],["stroke-join-arcs",{"stroke-linejoin":"arcs"}],["stroke-join-bevel",{"stroke-linejoin":"bevel"}],["stroke-join-clip",{"stroke-linejoin":"miter-clip"}],["stroke-join-round",{"stroke-linejoin":"round"}],["stroke-join-auto",{"stroke-linejoin":"miter"}],["stroke-none",{stroke:"none"}]];function Sl([,e]){return{"stroke-width":C.bracket.cssvar.fraction.px.number(e)}}function Nb(e,t){return Wt(C.bracket(e[1]))?Sl(e):de("stroke","stroke")(e,t)}const Ib=[["inline-table",{display:"inline-table"}],["table",{display:"table"}],["table-caption",{display:"table-caption"}],["table-cell",{display:"table-cell"}],["table-column",{display:"table-column"}],["table-column-group",{display:"table-column-group"}],["table-footer-group",{display:"table-footer-group"}],["table-header-group",{display:"table-header-group"}],["table-row",{display:"table-row"}],["table-row-group",{display:"table-row-group"}],["border-collapse",{"border-collapse":"collapse"}],["border-separate",{"border-collapse":"separate"}],[/^border-spacing-(.+)$/,function*([,e],{theme:t}){const r=Ra(e,t);if(r!=null){yield{"--un-border-spacing-x":r,"--un-border-spacing-y":r,"border-spacing":"var(--un-border-spacing-x) var(--un-border-spacing-y)"};for(const n of["x","y"])yield B(`--un-border-spacing-${n}`,{syntax:"<length>",initialValue:"0"})}},{autocomplete:["border-spacing","border-spacing-$spacing"]}],[/^border-spacing-([xy])-(.+)$/,function*([,e,t],{theme:r}){const n=Ra(t,r);if(n!=null){yield{[`--un-border-spacing-${e}`]:n,"border-spacing":"var(--un-border-spacing-x) var(--un-border-spacing-y)"};for(const o of["x","y"])yield B(`--un-border-spacing-${o}`,{syntax:"<length>",initialValue:"0"})}},{autocomplete:["border-spacing-(x|y)","border-spacing-(x|y)-$spacing"]}],["caption-top",{"caption-side":"top"}],["caption-bottom",{"caption-side":"bottom"}],["table-auto",{"table-layout":"auto"}],["table-fixed",{"table-layout":"fixed"}],["table-empty-cells-visible",{"empty-cells":"show"}],["table-empty-cells-hidden",{"empty-cells":"hide"}]];function Ra(e,t){var n;let r=(n=t.spacing)==null?void 0:n[e];if(!r){const o=Fe(e);o!=null?(Z("spacing"),r=`calc(var(--spacing) * ${o})`):r=C.bracket.cssvar.global.auto.fraction.rem(e)}return r}const no="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",oo=["pan-x","pan-y","pinch-zoom"].map(e=>B(`--un-${e}`)),Mb=[[/^touch-pan-(x|left|right)$/,function*([,e]){yield{"--un-pan-x":`pan-${e}`,"touch-action":no};for(const t of oo)yield t},{autocomplete:["touch-pan","touch-pan-(x|left|right|y|up|down)"]}],[/^touch-pan-(y|up|down)$/,function*([,e]){yield{"--un-pan-y":`pan-${e}`,"touch-action":no};for(const t of oo)yield t}],[/^touch-pinch-zoom$/,function*(){yield{"--un-pinch-zoom":"pinch-zoom","touch-action":no};for(const e of oo)yield e}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}],...ee("touch","touch-action")],Dr=["translate","rotate","scale"],Qo=["var(--un-rotate-x)","var(--un-rotate-y)","var(--un-rotate-z)","var(--un-skew-x)","var(--un-skew-y)"].join(" "),Zo=Qo,Fb=["translateZ(0)",Qo].join(" "),zb=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":Ae[e]??C.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(Ae).join("|")})`,`origin-(${Object.keys(Ae).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e],{theme:t})=>{var n;let r;if((n=t.perspective)!=null&&n[e]?(Z("perspective",e),r=ue("perspective",e)):r=C.bracket.cssvar.px.numberWithUnit(e),r!=null)return{perspective:r}},{autocomplete:["transform-perspective-<num>","perspective-<num>","perspective-$perspective"]}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{const t=C.bracket.cssvar(e)??(e.length>=3?Ae[e]:void 0);if(t!=null)return{"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,Aa],[/^(?:transform-)?translate-([xyz])-(.+)$/,Aa],[/^(?:transform-)?rotate-()(.+)$/,Na],[/^(?:transform-)?rotate-([xyz])-(.+)$/,Na],[/^(?:transform-)?skew-()(.+)$/,Ia],[/^(?:transform-)?skew-([xy])-(.+)$/,Ia,{autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,Ta],[/^(?:transform-)?scale-([xyz])-(.+)$/,Ta,{autocomplete:[`transform-(${Dr.join("|")})-<percent>`,`transform-(${Dr.join("|")})-(x|y|z)-<percent>`,`(${Dr.join("|")})-<percent>`,`(${Dr.join("|")})-(x|y|z)-<percent>`]}],["transform-3d",{"transform-style":"preserve-3d"}],["transform-flat",{"transform-style":"flat"}],[/^transform-(border|content|fill|stroke|view)$/,([,e])=>({"transform-box":`${e}-box`})],["transform",{transform:Zo}],["transform-cpu",{transform:Qo}],["transform-gpu",{transform:Fb}],["transform-none",{transform:"none"}],...ee("transform")];function Aa([,e,t]){const r=Fe(t)??C.bracket.cssvar.none.fraction.rem(t);if(r!=null)return r==="none"?{translate:"none"}:(Z("spacing"),[[...ei(e,typeof r=="number"?`calc(var(--spacing) * ${r})`:r,"translate"),["translate",`var(--un-translate-x) var(--un-translate-y)${e==="z"?" var(--un-translate-z)":""}`,wo]],...["x","y","z"].map(n=>B(`--un-translate-${n}`,{initialValue:0}))])}function Ta([,e,t]){const r=C.bracket.cssvar.none.fraction.percent(t);if(r!=null)return r==="none"?{scale:"none"}:[[...ei(e,r,"scale"),["scale",`var(--un-scale-x) var(--un-scale-y)${e==="z"?" var(--un-scale-z)":""}`]],...["x","y","z"].map(n=>B(`--un-scale-${n}`,{initialValue:1}))]}function Na([,e="",t]){const r=C.bracket.cssvar.none.degree(t);if(r!=null)return r==="none"?{rotate:"none"}:e?[[...ei(e,r.endsWith("deg")?`rotate${e.toUpperCase()}(${r})`:r,"rotate"),["transform",Zo]],...["x","y","z"].map(n=>B(`--un-rotate-${n}`,{initialValue:`rotate${n.toUpperCase()}(0)`})),...["x","y"].map(n=>B(`--un-skew-${n}`,{initialValue:`skew${n.toUpperCase()}(0)`}))]:{rotate:C.bracket.cssvar.degree(t)}}function Ia([,e,t]){const r=C.bracket.cssvar.degree(t),n=sl[e];if(r!=null&&n)return[[...n.map(o=>[`--un-skew${o}`,r.endsWith("deg")?`skew${o.slice(1).toUpperCase()}(${r})`:r]),["transform",Zo]],...["x","y","z"].map(o=>B(`--un-rotate-${o}`,{initialValue:`rotate${o.toUpperCase()}(0)`})),...["x","y"].map(o=>B(`--un-skew-${o}`,{initialValue:`skew${o.toUpperCase()}(0)`}))]}function ei(e,t,r){const n=t.split(c0);return e||!e&&n.length===1?sl[e].map(o=>[`--un-${r}${o}`,t]):n.map((o,i)=>[`--un-${r}-${s0[i]}`,o])}function Ma(e,t){let r;if(C.cssvar(e)!=null)r=C.cssvar(e);else{e.startsWith("[")&&e.endsWith("]")&&(e=e.slice(1,-1));const n=e.split(",").map(o=>{var i;return((i=t.property)==null?void 0:i[o])??C.properties(o)});n.every(Boolean)&&(r=n.join(","))}return r}const Lb=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,e,t],{theme:r})=>{var o;Z("default",["transition","timingFunction"]),Z("default",["transition","duration"]);const n={"transition-property":(o=r.property)==null?void 0:o.DEFAULT,"transition-timing-function":`var(--un-ease, ${ue("default",["transition","timingFunction"])})`,"transition-duration":`var(--un-duration, ${ue("default",["transition","duration"])})`};if(!e&&!t)return{...n};if(e!=null){const i=Ma(e,r);if(i)return{"--un-duration":t&&C.time(t),...n,"transition-property":i}}else if(t!=null)return{"--un-duration":C.time(t),...n}}],[/^(?:transition-)?duration-(.+)$/,([,e])=>({"--un-duration":C.bracket.cssvar.time(e),"transition-duration":C.bracket.cssvar.time(e)})],[/^(?:transition-)?delay-(.+)$/,([,e])=>({"transition-delay":C.bracket.cssvar.time(e)})],[/^(?:transition-)?ease(?:-(.+))?$/,([,e="DEFAULT"],{theme:t})=>{var n;let r;return(n=t.ease)!=null&&n[e]?(Z("ease",e),r=ue("ease",e)):r=C.bracket.cssvar(e),[{"--un-ease":r,"transition-timing-function":r},B("--un-ease")]},{autocomplete:["transition-ease-(linear|in|out|in-out)","ease-(linear|in|out|in-out)"]}],[/^(?:transition-)?property-(.+)$/,([,e],{theme:t})=>{const r=C.global(e)||Ma(e,t);if(r)return{"transition-property":r}},{autocomplete:[`transition-property-(${[...fe].join("|")})`]}],["transition-none",{transition:"none"}],...ee("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]],Db=[[/^text-(.+)$/,Kb,{autocomplete:"text-$text"}],[/^(?:text|font)-size-(.+)$/,El,{autocomplete:"text-size-$text"}],[/^text-(?:color-)?(.+)$/,Bb,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,de("color","text")],[/^(?:text|color|c)-(.+)$/,([,e])=>fe.includes(e)?{color:e}:void 0,{autocomplete:`(text|color|c)-(${fe.join("|")})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}],[/^fw-?([^-]+)$/,([,e],{theme:t})=>{var n;let r;return(n=t.fontWeight)!=null&&n[e]?(Z("fontWeight",e),r=ue("fontWeight",e)):r=C.bracket.cssvar.global.number(e),{"--un-font-weight":r,"font-weight":r}},{autocomplete:["(font|fw)-(100|200|300|400|500|600|700|800|900)","(font|fw)-$fontWeight"]}],[/^(?:font-)?(?:leading|lh|line-height)-(.+)$/,([,e],{theme:t})=>{var n;let r;if((n=t.leading)!=null&&n[e]?(Z("leading",e),r=ue("leading",e)):Fe(e)?(Z("spacing"),r=`calc(var(--spacing) * ${Fe(e)})`):r=C.bracket.cssvar.global.rem(e),r!=null)return[{"--un-leading":r,"line-height":r},B("--un-leading")]},{autocomplete:"(leading|lh|line-height)-$leading"}],["font-synthesis-weight",{"font-synthesis":"weight"}],["font-synthesis-style",{"font-synthesis":"style"}],["font-synthesis-small-caps",{"font-synthesis":"small-caps"}],["font-synthesis-none",{"font-synthesis":"none"}],[/^font-synthesis-(.+)$/,([,e])=>({"font-synthesis":C.bracket.cssvar.global(e)})],[/^(?:font-)?tracking-(.+)$/,([,e],{theme:t})=>{var n;let r;return(n=t.tracking)!=null&&n[e]?(Z("tracking",e),r=ue("tracking",e)):r=C.bracket.cssvar.global.rem(e),{"--un-tracking":r,"letter-spacing":r}},{autocomplete:"tracking-$tracking"}],[/^(?:font-)?word-spacing-(.+)$/,([,e],{theme:t})=>{var n;const r=(n=t.tracking)!=null&&n[e]?ue("tracking",e):C.bracket.cssvar.global.rem(e);return{"--un-word-spacing":r,"word-spacing":r}},{autocomplete:"word-spacing-$spacing"}],["font-stretch-normal",{"font-stretch":"normal"}],["font-stretch-ultra-condensed",{"font-stretch":"ultra-condensed"}],["font-stretch-extra-condensed",{"font-stretch":"extra-condensed"}],["font-stretch-condensed",{"font-stretch":"condensed"}],["font-stretch-semi-condensed",{"font-stretch":"semi-condensed"}],["font-stretch-semi-expanded",{"font-stretch":"semi-expanded"}],["font-stretch-expanded",{"font-stretch":"expanded"}],["font-stretch-extra-expanded",{"font-stretch":"extra-expanded"}],["font-stretch-ultra-expanded",{"font-stretch":"ultra-expanded"}],[/^font-stretch-(.+)$/,([,e])=>({"font-stretch":C.bracket.cssvar.fraction.global(e)}),{autocomplete:"font-stretch-<percentage>"}],[/^font-(.+)$/,([,e],{theme:t})=>{var n,o;let r;if((n=t.font)!=null&&n[e])return Z("font",e),r=ue("font",e),{"font-family":r};if((o=t.fontWeight)!=null&&o[e])return Z("fontWeight",e),r=ue("fontWeight",e),{"--un-font-weight":r,"font-weight":r};if(r=C.number(e),r!=null)return{"--un-font-weight":r,"font-weight":r};if(r=C.bracketOfFamily(e),r!=null&&C.number(r)==null)return r=C.cssvar(r)??r,{"font-family":r};if(r=C.bracketOfNumber(e),r!=null)return r=C.cssvar.number(r),{"--un-font-weight":r,"font-weight":r};if(r=C.bracket(e),r!=null&&C.number(r)!=null){const i=C.number(r);return{"--un-font-weight":i,"font-weight":i}}if(r=C.bracket.cssvar.global(e),r!=null)return{"font-family":r}},{autocomplete:["font-$font","font-$fontWeight"]}]],qb=[[/^tab(?:-(.+))?$/,([,e])=>{const t=C.bracket.cssvar.global.number(e||"4");if(t!=null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],Vb=[[/^indent-(.+)$/,([,e])=>{let t=Fe(e);if(t!=null)return Z("spacing"),{"text-indent":`calc(var(--spacing) * ${t})`};if(t=C.bracket.cssvar.auto.global.rem(e),t!=null)return{"text-indent":t}}]],Ub=[[/^text-stroke(?:-(.+))?$/,([,e="DEFAULT"],{theme:t})=>{var r,n;return(r=t.textStrokeWidth)!=null&&r[e]&&Z("textStrokeWidth",e),{"-webkit-text-stroke-width":(n=t.textStrokeWidth)!=null&&n[e]?ue("textStrokeWidth",e):C.bracket.cssvar.px(e)}},{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,de("-webkit-text-stroke-color","text-stroke"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],Fa=/op(?:acity)?-/,Hb=[[/^text-shadow(?:-(.+))?$/,(e,t)=>{var i;const[r,n="DEFAULT"]=e,o=(i=t.theme.textShadow)==null?void 0:i[n];return o!=null?{"--un-text-shadow":Xo(o,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:Fa.test(n)?{"--un-text-shadow-opacity":C.bracket.percent.cssvar(n.replace(Fa,""))}:de("--un-text-shadow-color","text-shadow")(e,t)??{"text-shadow":C.bracket.cssvar.global(n)}},{autocomplete:["text-shadow-$textShadow","text-shadow(-color)?-$colors","text-shadow(-color)?-(op|opacity)-<percent>"]}],[/^text-shadow-color-(.+)$/,de("--un-text-shadow-color","text-shadow"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]],Ke=[B("--un-ordinal"),B("--un-slashed-zero"),B("--un-numeric-figure"),B("--un-numeric-spacing"),B("--un-numeric-fraction")],Be={"font-variant-numeric":"var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)"},Wb=[["ordinal",[{"--un-ordinal":"ordinal",...Be},...Ke]],["slashed-zero",[{"--un-slashed-zero":"slashed-zero",...Be},...Ke]],["lining-nums",[{"--un-numeric-figure":"lining-nums",...Be},...Ke]],["oldstyle-nums",[{"--un-numeric-figure":"oldstyle-nums",...Be},...Ke]],["proportional-nums",[{"--un-numeric-spacing":"proportional-nums",...Be},...Ke]],["tabular-nums",[{"--un-numeric-spacing":"tabular-nums",...Be},...Ke]],["diagonal-fractions",[{"--un-numeric-fraction":"diagonal-fractions",...Be},...Ke]],["stacked-fractions",[{"--un-numeric-fraction":"stacked-fractions",...Be},...Ke]],["normal-nums",[{"font-variant-numeric":"normal"}]]];function Kb([,e="base"],{theme:t}){var c,u;const r=Gb(e,"length");if(!r)return;const[n,o]=r,i=(c=t.text)==null?void 0:c[n];let s;if(o&&((u=t.leading)!=null&&u[o]?(Z("leading",o),s=ue("leading",o)):s=C.bracket.cssvar.global.rem(o)),i)return Z("text",[n,"fontSize"]),Z("text",[n,"lineHeight"]),i.letterSpacing&&Z("text",[n,"letterSpacing"]),{"font-size":ue("text",[n,"fontSize"]),"line-height":s??`var(--un-leading, ${ue("text",[n,"lineHeight"])})`,"letter-spacing":i.letterSpacing?ue("text",[n,"letterSpacing"]):void 0};const a=C.bracketOfLength.rem(n);return s&&a?{"font-size":a,"line-height":s}:{"font-size":C.bracketOfLength.rem(e)}}function El([,e],{theme:t}){var r;if(((r=t.text)==null?void 0:r[e])!=null)return Z("text",[e,"fontSize"]),Z("text",[e,"lineHeight"]),{"font-size":ue("text",[e,"fontSize"]),"line-height":`var(--un-leading, ${ue("text",[e,"lineHeight"])})`};{const n=C.bracket.cssvar.global.rem(e);if(n)return{"font-size":n}}}function Bb(e,t){return Wt(C.bracket(e[1]))?El(e,t):de("color","text")(e,t)}function Gb(e,t){const[r,n]=vn(e,"[","]",["/",":"])??[];if(r!=null){const o=(r.match(Jo)??[])[1];if(o==null||o===t)return[r,n]}}const Jb={backface:"backface-visibility",break:"word-break",case:"text-transform",content:"align-content",fw:"font-weight",items:"align-items",justify:"justify-content",select:"user-select",self:"align-self",vertical:"vertical-align",visible:"visibility",whitespace:"white-space",ws:"white-space","bg-blend":"background-blend-mode","bg-clip":"-webkit-background-clip","bg-image":"background-image","bg-origin":"background-origin","bg-position":"background-position","bg-repeat":"background-repeat","bg-size":"background-size","mix-blend":"mix-blend-mode",object:"object-fit","object-position":"object-position",write:"writing-mode","write-orient":"text-orientation"},Xb=[[/^(.+?)-(\$.+)$/,([,e,t])=>{const r=Jb[e];if(r)return{[r]:C.cssvar(t)}}]],Yb=[[/^\[(.*)\]$/,([e,t])=>{if(!t.includes(":"))return;const[r,...n]=t.split(":"),o=n.join(":");if(!Zb(t)&&/^[\w-]+$/.test(r)&&Qb(o)){const i=C.bracket(`[${o}]`);if(i)return{[r]:i}}}]];function Qb(e){let t=0;function r(n){for(;t<e.length;)if(t+=1,e[t]===n)return!0;return!1}for(t=0;t<e.length;t++){const n=e[t];if("\"`'".includes(n)){if(!r(n))return!1}else if(n==="("){if(!r(")"))return!1}else if("[]{}:".includes(n))return!1}return!0}function Zb(e){if(!e.includes("://"))return!1;try{return new URL(e).host!==""}catch{return!1}}const ev=[[/^view-transition-([\w-]+)$/,([,e])=>({"view-transition-name":e})]],tv=[Db,qb,Vb,Ub,Hb,Oy,Py,ry,ty,cy,xa,Sa,uy,fy,dy,py,hy,xa,my,Sa,gy,xy,by,Sy,Qg,Xg,Cy,Fy,zy,Dy,rb,ob,sb,ab,cb,lb,ub,fb,db,pb,hb,mb,gb,yb,bb,vb,$b,wb,Zy,Qy,zb,Lb,Xb,Yb,_l,Xy,Ky,Gy,By,kl,Wy,xl,Hy,Jy,qy,Tb,ny,sy,kb,_b,xb,Rb,Sb,Eb,Cb,jb,Pb,Ob,Ey,My,Vy,Uy,eb,Ib,Mb,Wb,ev,Ry,Ty,Ab,Yy].flat();function rv(){return{getCSS:()=>{if(gt.size>0){const e="@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b))))",t="*, ::before, ::after, ::backdrop",r=Array.from(gt.entries()).map(([n,o])=>`${n}:${o};`).join("");return`${e}{${t}{${r}}}`}},layer:"properties"}}const nv=`
26
+ /*
27
+ 1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
28
+ 2. Remove default margins and padding
29
+ 3. Reset all borders.
30
+ */
31
+
32
+ *,
33
+ ::after,
34
+ ::before,
35
+ ::backdrop,
36
+ ::file-selector-button {
37
+ box-sizing: border-box; /* 1 */
38
+ margin: 0; /* 2 */
39
+ padding: 0; /* 2 */
40
+ border: 0 solid; /* 3 */
41
+ }
42
+
43
+ /*
44
+ 1. Use a consistent sensible line-height in all browsers.
45
+ 2. Prevent adjustments of font size after orientation changes in iOS.
46
+ 3. Use a more readable tab size.
47
+ 4. Use the user's configured \`sans\` font-family by default.
48
+ 5. Use the user's configured \`sans\` font-feature-settings by default.
49
+ 6. Use the user's configured \`sans\` font-variation-settings by default.
50
+ 7. Disable tap highlights on iOS.
51
+ */
52
+
53
+ html,
54
+ :host {
55
+ line-height: 1.5; /* 1 */
56
+ -webkit-text-size-adjust: 100%; /* 2 */
57
+ tab-size: 4; /* 3 */
58
+ font-family: var(
59
+ --default-font-family,
60
+ ui-sans-serif,
61
+ system-ui,
62
+ sans-serif,
63
+ 'Apple Color Emoji',
64
+ 'Segoe UI Emoji',
65
+ 'Segoe UI Symbol',
66
+ 'Noto Color Emoji'
67
+ ); /* 4 */
68
+ font-feature-settings: var(--default-font-featureSettings, normal); /* 5 */
69
+ font-variation-settings: var(--default-font-variationSettings, normal); /* 6 */
70
+ -webkit-tap-highlight-color: transparent; /* 7 */
71
+ }
72
+
73
+ /*
74
+ 1. Add the correct height in Firefox.
75
+ 2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
76
+ 3. Reset the default border style to a 1px solid border.
77
+ */
78
+
79
+ hr {
80
+ height: 0; /* 1 */
81
+ color: inherit; /* 2 */
82
+ border-top-width: 1px; /* 3 */
83
+ }
84
+
85
+ /*
86
+ Add the correct text decoration in Chrome, Edge, and Safari.
87
+ */
88
+
89
+ abbr:where([title]) {
90
+ -webkit-text-decoration: underline dotted;
91
+ text-decoration: underline dotted;
92
+ }
93
+
94
+ /*
95
+ Remove the default font size and weight for headings.
96
+ */
97
+
98
+ h1,
99
+ h2,
100
+ h3,
101
+ h4,
102
+ h5,
103
+ h6 {
104
+ font-size: inherit;
105
+ font-weight: inherit;
106
+ }
107
+
108
+ /*
109
+ Reset links to optimize for opt-in styling instead of opt-out.
110
+ */
111
+
112
+ a {
113
+ color: inherit;
114
+ -webkit-text-decoration: inherit;
115
+ text-decoration: inherit;
116
+ }
117
+
118
+ /*
119
+ Add the correct font weight in Edge and Safari.
120
+ */
121
+
122
+ b,
123
+ strong {
124
+ font-weight: bolder;
125
+ }
126
+
127
+ /*
128
+ 1. Use the user's configured \`mono\` font-family by default.
129
+ 2. Use the user's configured \`mono\` font-feature-settings by default.
130
+ 3. Use the user's configured \`mono\` font-variation-settings by default.
131
+ 4. Correct the odd \`em\` font sizing in all browsers.
132
+ */
133
+
134
+ code,
135
+ kbd,
136
+ samp,
137
+ pre {
138
+ font-family: var(
139
+ --default-monoFont-family,
140
+ ui-monospace,
141
+ SFMono-Regular,
142
+ Menlo,
143
+ Monaco,
144
+ Consolas,
145
+ 'Liberation Mono',
146
+ 'Courier New',
147
+ monospace
148
+ ); /* 1 */
149
+ font-feature-settings: var(--default-monoFont-featureSettings, normal); /* 2 */
150
+ font-variation-settings: var(--default-monoFont-variationSettings, normal); /* 3 */
151
+ font-size: 1em; /* 4 */
152
+ }
153
+
154
+ /*
155
+ Add the correct font size in all browsers.
156
+ */
157
+
158
+ small {
159
+ font-size: 80%;
160
+ }
161
+
162
+ /*
163
+ Prevent \`sub\` and \`sup\` elements from affecting the line height in all browsers.
164
+ */
165
+
166
+ sub,
167
+ sup {
168
+ font-size: 75%;
169
+ line-height: 0;
170
+ position: relative;
171
+ vertical-align: baseline;
172
+ }
173
+
174
+ sub {
175
+ bottom: -0.25em;
176
+ }
177
+
178
+ sup {
179
+ top: -0.5em;
180
+ }
181
+
182
+ /*
183
+ 1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
184
+ 2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
185
+ 3. Remove gaps between table borders by default.
186
+ */
187
+
188
+ table {
189
+ text-indent: 0; /* 1 */
190
+ border-color: inherit; /* 2 */
191
+ border-collapse: collapse; /* 3 */
192
+ }
193
+
194
+ /*
195
+ Use the modern Firefox focus style for all focusable elements.
196
+ */
197
+
198
+ :-moz-focusring {
199
+ outline: auto;
200
+ }
201
+
202
+ /*
203
+ Add the correct vertical alignment in Chrome and Firefox.
204
+ */
205
+
206
+ progress {
207
+ vertical-align: baseline;
208
+ }
209
+
210
+ /*
211
+ Add the correct display in Chrome and Safari.
212
+ */
213
+
214
+ summary {
215
+ display: list-item;
216
+ }
217
+
218
+ /*
219
+ Make lists unstyled by default.
220
+ */
221
+
222
+ ol,
223
+ ul,
224
+ menu {
225
+ list-style: none;
226
+ }
227
+
228
+ /*
229
+ 1. Make replaced elements \`display: block\` by default. (https://github.com/mozdevs/cssremedy/issues/14)
230
+ 2. Add \`vertical-align: middle\` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
231
+ This can trigger a poorly considered lint error in some tools but is included by design.
232
+ */
233
+
234
+ img,
235
+ svg,
236
+ video,
237
+ canvas,
238
+ audio,
239
+ iframe,
240
+ embed,
241
+ object {
242
+ display: block; /* 1 */
243
+ vertical-align: middle; /* 2 */
244
+ }
245
+
246
+ /*
247
+ Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
248
+ */
249
+
250
+ img,
251
+ video {
252
+ max-width: 100%;
253
+ height: auto;
254
+ }
255
+
256
+ /*
257
+ 1. Inherit font styles in all browsers.
258
+ 2. Remove border radius in all browsers.
259
+ 3. Remove background color in all browsers.
260
+ 4. Ensure consistent opacity for disabled states in all browsers.
261
+ */
262
+
263
+ button,
264
+ input,
265
+ select,
266
+ optgroup,
267
+ textarea,
268
+ ::file-selector-button {
269
+ font: inherit; /* 1 */
270
+ font-feature-settings: inherit; /* 1 */
271
+ font-variation-settings: inherit; /* 1 */
272
+ letter-spacing: inherit; /* 1 */
273
+ color: inherit; /* 1 */
274
+ border-radius: 0; /* 2 */
275
+ background-color: transparent; /* 3 */
276
+ opacity: 1; /* 4 */
277
+ }
278
+
279
+ /*
280
+ Restore default font weight.
281
+ */
282
+
283
+ :where(select:is([multiple], [size])) optgroup {
284
+ font-weight: bolder;
285
+ }
286
+
287
+ /*
288
+ Restore indentation.
289
+ */
290
+
291
+ :where(select:is([multiple], [size])) optgroup option {
292
+ padding-inline-start: 20px;
293
+ }
294
+
295
+ /*
296
+ Restore space after button.
297
+ */
298
+
299
+ ::file-selector-button {
300
+ margin-inline-end: 4px;
301
+ }
302
+
303
+ /*
304
+ Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
305
+ */
306
+
307
+ ::placeholder {
308
+ opacity: 1;
309
+ }
310
+
311
+ /*
312
+ Set the default placeholder color to a semi-transparent version of the current text color in browsers that do not
313
+ crash when using \`color-mix(…)\` with \`currentcolor\`. (https://github.com/tailwindlabs/tailwindcss/issues/17194)
314
+ */
315
+
316
+ @supports (not (-webkit-appearance: -apple-pay-button)) /* Not Safari */ or
317
+ (contain-intrinsic-size: 1px) /* Safari 17+ */ {
318
+ ::placeholder {
319
+ color: color-mix(in oklab, currentcolor 50%, transparent);
320
+ }
321
+ }
322
+
323
+ /*
324
+ Prevent resizing textareas horizontally by default.
325
+ */
326
+
327
+ textarea {
328
+ resize: vertical;
329
+ }
330
+
331
+ /*
332
+ Remove the inner padding in Chrome and Safari on macOS.
333
+ */
334
+
335
+ ::-webkit-search-decoration {
336
+ -webkit-appearance: none;
337
+ }
338
+
339
+ /*
340
+ 1. Ensure date/time inputs have the same height when empty in iOS Safari.
341
+ 2. Ensure text alignment can be changed on date/time inputs in iOS Safari.
342
+ */
343
+
344
+ ::-webkit-date-and-time-value {
345
+ min-height: 1lh; /* 1 */
346
+ text-align: inherit; /* 2 */
347
+ }
348
+
349
+ /*
350
+ Prevent height from changing on date/time inputs in macOS Safari when the input is set to \`display: block\`.
351
+ */
352
+
353
+ ::-webkit-datetime-edit {
354
+ display: inline-flex;
355
+ }
356
+
357
+ /*
358
+ Remove excess padding from pseudo-elements in date/time inputs to ensure consistent height across browsers.
359
+ */
360
+
361
+ ::-webkit-datetime-edit-fields-wrapper {
362
+ padding: 0;
363
+ }
364
+
365
+ ::-webkit-datetime-edit,
366
+ ::-webkit-datetime-edit-year-field,
367
+ ::-webkit-datetime-edit-month-field,
368
+ ::-webkit-datetime-edit-day-field,
369
+ ::-webkit-datetime-edit-hour-field,
370
+ ::-webkit-datetime-edit-minute-field,
371
+ ::-webkit-datetime-edit-second-field,
372
+ ::-webkit-datetime-edit-millisecond-field,
373
+ ::-webkit-datetime-edit-meridiem-field {
374
+ padding-block: 0;
375
+ }
376
+
377
+ /*
378
+ Remove the additional \`:invalid\` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
379
+ */
380
+
381
+ :-moz-ui-invalid {
382
+ box-shadow: none;
383
+ }
384
+
385
+ /*
386
+ Correct the inability to style the border radius in iOS Safari.
387
+ */
388
+
389
+ button,
390
+ input:where([type='button'], [type='reset'], [type='submit']),
391
+ ::file-selector-button {
392
+ appearance: button;
393
+ }
394
+
395
+ /*
396
+ Correct the cursor style of increment and decrement buttons in Safari.
397
+ */
398
+
399
+ ::-webkit-inner-spin-button,
400
+ ::-webkit-outer-spin-button {
401
+ height: auto;
402
+ }
403
+
404
+ /*
405
+ Make elements with the HTML hidden attribute stay hidden by default.
406
+ */
407
+
408
+ [hidden]:where(:not([hidden='until-found'])) {
409
+ display: none !important;
410
+ }
411
+ `;function ov(e){var t;if(((t=e.preflights)==null?void 0:t.reset)!==!1)return{getCSS:({generator:r})=>(Z("font","sans"),Z("font","mono"),Z("default",["font","family"]),Z("default",["monoFont","family"]),dl(nv,r.config.envMode==="dev")),layer:"base"}}const iv=["spacing","breakpoint","verticalBreakpoint","shadow","insetShadow","dropShadow","textShadow","animation","property","aria","media","supports"];function sv(e,t){const r=new Map([["--spacing",e.spacing.DEFAULT]]),n=i=>i.replace(el,"1");function o(i,s){for(const a in i)Array.isArray(i[a])?r.set(`--${s}-${a}`,n(i[a].join(","))):typeof i[a]=="object"?o(i[a],`${s}-${a}`):r.set(`--${s}-${a}`,n(i[a]))}for(const i in e)t.includes(i)&&o(e[i],i);return r}function av(e){return{layer:"theme",getCSS(t){const{theme:r,generator:n}=t,o=Re(n.config.safelist.flatMap(u=>typeof u=="function"?u(t):u)),{mode:i,process:s}=e.preflights.theme;if(i===!1)return;if(o.length>0)for(const u of o){const[l,...d]=u.trim().split(":");if(l in r&&d.length<=1){const b=d.length===0?["DEFAULT"]:d[0].split("-"),v=an(r,l,b);typeof v=="string"&&(Z(l,b),_n(v,r))}}let a;const c=u=>{if(s)for(const b of u)for(const v of ae(s))v(b,t);const l=u.map(([b,v])=>b&&v?`${b}: ${v};`:void 0).filter(Boolean);if(l.length===0)return;const d=l.join(`
412
+ `);return dl(`
413
+ :root, :host {
414
+ ${d}
415
+ }`,n.config.envMode==="dev")};if(i==="on-demand"){if(mt.size===0)return;a=Array.from(mt).map(u=>{const[l,d]=u.split(":"),b=an(r,l,d.split("-"));if(typeof b=="string")return[`--${l}${`${l==="spacing"&&d==="DEFAULT"?"":`-${d}`}`}`,b]}).filter(Boolean)}else{const u=Object.keys(r).filter(l=>!iv.includes(l));a=Array.from(sv(r,u))}return c(a)}}}const cv=e=>[ov(e),av(e),rv()].filter(Boolean),lv={position:["relative","absolute","fixed","sticky","static"],globalKeyword:fe},uv=(e={})=>{var r,n,o,i,s,a;e.dark=e.dark??"class",e.attributifyPseudo=e.attributifyPseudo??!1,e.variablePrefix=e.variablePrefix??"un-",e.important=e.important??!1;const t=typeof((r=e.preflights)==null?void 0:r.theme)=="boolean"||typeof((n=e.preflights)==null?void 0:n.theme)=="string"?{mode:e.preflights.theme??"on-demand"}:{mode:((i=(o=e.preflights)==null?void 0:o.theme)==null?void 0:i.mode)??"on-demand",...(s=e.preflights)==null?void 0:s.theme};return e.preflights={reset:((a=e.preflights)==null?void 0:a.reset)??!0,theme:t},{name:i0,rules:tv,shortcuts:ey,theme:Jg,layers:{properties:-200,theme:-150,base:-100},preflights:cv(e),variants:Sg(e),prefix:e.prefix,postprocess:F0(e),extractorDefault:e.arbitraryVariants===!1?void 0:o0(),autocomplete:{shorthands:lv},options:e,configResolved(){mt.clear(),gt.clear()},meta:{themeDeps:mt,propertyDeps:gt}}},za={presets:[uv({preflights:{reset:!0}}),Gm(),am({cdn:"https://cdn.jsdelivr.net/npm/"}),fm(),Hp()]},Cl=/^[a-z0-9]+(-[a-z0-9]+)*$/,Kt=(e,t,r,n="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;n=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const a=o.pop(),c=o.pop(),u={provider:o.length>0?o[0]:n,prefix:c,name:a};return t&&!Wr(u)?null:u}const i=o[0],s=i.split("-");if(s.length>1){const a={provider:n,prefix:s.shift(),name:s.join("-")};return t&&!Wr(a)?null:a}if(r&&n===""){const a={provider:n,prefix:"",name:i};return t&&!Wr(a,r)?null:a}return null},Wr=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1,jl=Object.freeze({left:0,top:0,width:16,height:16}),un=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),$t=Object.freeze({...jl,...un}),So=Object.freeze({...$t,body:"",hidden:!1});function fv(e,t){const r={};!e.hFlip!=!t.hFlip&&(r.hFlip=!0),!e.vFlip!=!t.vFlip&&(r.vFlip=!0);const n=((e.rotate||0)+(t.rotate||0))%4;return n&&(r.rotate=n),r}function La(e,t){const r=fv(e,t);for(const n in So)n in un?n in e&&!(n in r)&&(r[n]=un[n]):n in t?r[n]=t[n]:n in e&&(r[n]=e[n]);return r}function dv(e,t){const r=e.icons,n=e.aliases||Object.create(null),o=Object.create(null);function i(s){if(r[s])return o[s]=[];if(!(s in o)){o[s]=null;const a=n[s]&&n[s].parent,c=a&&i(a);c&&(o[s]=[a].concat(c))}return o[s]}return Object.keys(r).concat(Object.keys(n)).forEach(i),o}function pv(e,t,r){const n=e.icons,o=e.aliases||Object.create(null);let i={};function s(a){i=La(n[a]||o[a],i)}return s(t),r.forEach(s),La(e,i)}function Pl(e,t){const r=[];if(typeof e!="object"||typeof e.icons!="object")return r;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),r.push(o)});const n=dv(e);for(const o in n){const i=n[o];i&&(t(o,pv(e,o,i)),r.push(o))}return r}const hv={provider:"",aliases:{},not_found:{},...jl};function io(e,t){for(const r in t)if(r in e&&typeof e[r]!=typeof t[r])return!1;return!0}function Ol(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!io(e,hv))return null;const r=t.icons;for(const o in r){const i=r[o];if(!o||typeof i.body!="string"||!io(i,So))return null}const n=t.aliases||Object.create(null);for(const o in n){const i=n[o],s=i.parent;if(!o||typeof s!="string"||!r[s]&&!n[s]||!io(i,So))return null}return t}const Da=Object.create(null);function mv(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function yt(e,t){const r=Da[e]||(Da[e]=Object.create(null));return r[t]||(r[t]=mv(e,t))}function Rl(e,t){return Ol(t)?Pl(t,(r,n)=>{n?e.icons[r]=n:e.missing.add(r)}):[]}function gv(e,t,r){try{if(typeof r.body=="string")return e.icons[t]={...r},!0}catch{}return!1}let Vt=!1;function Al(e){return typeof e=="boolean"&&(Vt=e),Vt}function xn(e){const t=typeof e=="string"?Kt(e,!0,Vt):e;if(t){const r=yt(t.provider,t.prefix),n=t.name;return r.icons[n]||(r.missing.has(n)?null:void 0)}}function yv(e,t){const r=Kt(e,!0,Vt);if(!r)return!1;const n=yt(r.provider,r.prefix);return t?gv(n,r.name,t):(n.missing.add(r.name),!0)}function bv(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Vt&&!t&&!e.prefix){let o=!1;return Ol(e)&&(e.prefix="",Pl(e,(i,s)=>{yv(i,s)&&(o=!0)})),o}const r=e.prefix;if(!Wr({prefix:r,name:"a"}))return!1;const n=yt(t,r);return!!Rl(n,e)}function vv(e){return!!xn(e)}function $v(e){const t=xn(e);return t&&{...$t,...t}}const Tl=Object.freeze({width:null,height:null}),Nl=Object.freeze({...Tl,...un}),wv=/(-?[0-9.]*[0-9]+[0-9.]*)/g,kv=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function qa(e,t,r){if(t===1)return e;if(r=r||100,typeof e=="number")return Math.ceil(e*t*r)/r;if(typeof e!="string")return e;const n=e.split(wv);if(n===null||!n.length)return e;const o=[];let i=n.shift(),s=kv.test(i);for(;;){if(s){const a=parseFloat(i);isNaN(a)?o.push(i):o.push(Math.ceil(a*t*r)/r)}else o.push(i);if(i=n.shift(),i===void 0)return o.join("");s=!s}}function _v(e,t="defs"){let r="";const n=e.indexOf("<"+t);for(;n>=0;){const o=e.indexOf(">",n),i=e.indexOf("</"+t);if(o===-1||i===-1)break;const s=e.indexOf(">",i);if(s===-1)break;r+=e.slice(o+1,i).trim(),e=e.slice(0,n).trim()+e.slice(s+1)}return{defs:r,content:e}}function xv(e,t){return e?"<defs>"+e+"</defs>"+t:t}function Sv(e,t,r){const n=_v(e);return xv(n.defs,t+n.content+r)}const Ev=e=>e==="unset"||e==="undefined"||e==="none";function Cv(e,t){const r={...$t,...e},n={...Nl,...t},o={left:r.left,top:r.top,width:r.width,height:r.height};let i=r.body;[r,n].forEach(h=>{const p=[],m=h.hFlip,f=h.vFlip;let y=h.rotate;m?f?y+=2:(p.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),p.push("scale(-1 1)"),o.top=o.left=0):f&&(p.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),p.push("scale(1 -1)"),o.top=o.left=0);let $;switch(y<0&&(y-=Math.floor(y/4)*4),y=y%4,y){case 1:$=o.height/2+o.top,p.unshift("rotate(90 "+$.toString()+" "+$.toString()+")");break;case 2:p.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:$=o.width/2+o.left,p.unshift("rotate(-90 "+$.toString()+" "+$.toString()+")");break}y%2===1&&(o.left!==o.top&&($=o.left,o.left=o.top,o.top=$),o.width!==o.height&&($=o.width,o.width=o.height,o.height=$)),p.length&&(i=Sv(i,'<g transform="'+p.join(" ")+'">',"</g>"))});const s=n.width,a=n.height,c=o.width,u=o.height;let l,d;s===null?(d=a===null?"1em":a==="auto"?u:a,l=qa(d,c/u)):(l=s==="auto"?c:s,d=a===null?qa(l,u/c):a==="auto"?u:a);const b={},v=(h,p)=>{Ev(p)||(b[h]=p.toString())};v("width",l),v("height",d);const g=[o.left,o.top,c,u];return b.viewBox=g.join(" "),{attributes:b,viewBox:g,body:i}}const jv=/\sid="(\S+)"/g,Pv="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Ov=0;function Rv(e,t=Pv){const r=[];let n;for(;n=jv.exec(e);)r.push(n[1]);if(!r.length)return e;const o="suffix"+(Math.random()*16777216|Date.now()).toString(16);return r.forEach(i=>{const s=typeof t=="function"?t(i):t+(Ov++).toString(),a=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+s+o+"$3")}),e=e.replace(new RegExp(o,"g"),""),e}const Eo=Object.create(null);function Av(e,t){Eo[e]=t}function Co(e){return Eo[e]||Eo[""]}function ti(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const ri=Object.create(null),Tt=["https://api.simplesvg.com","https://api.unisvg.com"],Kr=[];for(;Tt.length>0;)Tt.length===1||Math.random()>.5?Kr.push(Tt.shift()):Kr.push(Tt.pop());ri[""]=ti({resources:["https://api.iconify.design"].concat(Kr)});function Tv(e,t){const r=ti(t);return r===null?!1:(ri[e]=r,!0)}function ni(e){return ri[e]}const Nv=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Va=Nv();function Iv(e,t){const r=ni(e);if(!r)return 0;let n;if(!r.maxURL)n=0;else{let o=0;r.resources.forEach(s=>{o=Math.max(o,s.length)});const i=t+".json?icons=";n=r.maxURL-o-r.path.length-i.length}return n}function Mv(e){return e===404}const Fv=(e,t,r)=>{const n=[],o=Iv(e,t),i="icons";let s={type:i,provider:e,prefix:t,icons:[]},a=0;return r.forEach((c,u)=>{a+=c.length+1,a>=o&&u>0&&(n.push(s),s={type:i,provider:e,prefix:t,icons:[]},a=c.length),s.icons.push(c)}),n.push(s),n};function zv(e){if(typeof e=="string"){const t=ni(e);if(t)return t.path}return"/"}const Lv=(e,t,r)=>{if(!Va){r("abort",424);return}let n=zv(t.provider);switch(t.type){case"icons":{const i=t.prefix,a=t.icons.join(","),c=new URLSearchParams({icons:a});n+=i+".json?"+c.toString();break}case"custom":{const i=t.uri;n+=i.slice(0,1)==="/"?i.slice(1):i;break}default:r("abort",400);return}let o=503;Va(e+n).then(i=>{const s=i.status;if(s!==200){setTimeout(()=>{r(Mv(s)?"abort":"next",s)});return}return o=501,i.json()}).then(i=>{if(typeof i!="object"||i===null){setTimeout(()=>{i===404?r("abort",i):r("next",o)});return}setTimeout(()=>{r("success",i)})}).catch(()=>{r("next",o)})},Dv={prepare:Fv,send:Lv};function qv(e){const t={loaded:[],missing:[],pending:[]},r=Object.create(null);e.sort((o,i)=>o.provider!==i.provider?o.provider.localeCompare(i.provider):o.prefix!==i.prefix?o.prefix.localeCompare(i.prefix):o.name.localeCompare(i.name));let n={provider:"",prefix:"",name:""};return e.forEach(o=>{if(n.name===o.name&&n.prefix===o.prefix&&n.provider===o.provider)return;n=o;const i=o.provider,s=o.prefix,a=o.name,c=r[i]||(r[i]=Object.create(null)),u=c[s]||(c[s]=yt(i,s));let l;a in u.icons?l=t.loaded:s===""||u.missing.has(a)?l=t.missing:l=t.pending;const d={provider:i,prefix:s,name:a};l.push(d)}),t}function Il(e,t){e.forEach(r=>{const n=r.loaderCallbacks;n&&(r.loaderCallbacks=n.filter(o=>o.id!==t))})}function Vv(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let r=!1;const n=e.provider,o=e.prefix;t.forEach(i=>{const s=i.icons,a=s.pending.length;s.pending=s.pending.filter(c=>{if(c.prefix!==o)return!0;const u=c.name;if(e.icons[u])s.loaded.push({provider:n,prefix:o,name:u});else if(e.missing.has(u))s.missing.push({provider:n,prefix:o,name:u});else return r=!0,!0;return!1}),s.pending.length!==a&&(r||Il([e],i.id),i.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),i.abort))})}))}let Uv=0;function Hv(e,t,r){const n=Uv++,o=Il.bind(null,r,n);if(!t.pending.length)return o;const i={id:n,icons:t,callback:e,abort:o};return r.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(i)}),o}function Wv(e,t=!0,r=!1){const n=[];return e.forEach(o=>{const i=typeof o=="string"?Kt(o,t,r):o;i&&n.push(i)}),n}var Kv={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Bv(e,t,r,n){const o=e.resources.length,i=e.random?Math.floor(Math.random()*o):e.index;let s;if(e.random){let _=e.resources.slice(0);for(s=[];_.length>1;){const w=Math.floor(Math.random()*_.length);s.push(_[w]),_=_.slice(0,w).concat(_.slice(w+1))}s=s.concat(_)}else s=e.resources.slice(i).concat(e.resources.slice(0,i));const a=Date.now();let c="pending",u=0,l,d=null,b=[],v=[];typeof n=="function"&&v.push(n);function g(){d&&(clearTimeout(d),d=null)}function h(){c==="pending"&&(c="aborted"),g(),b.forEach(_=>{_.status==="pending"&&(_.status="aborted")}),b=[]}function p(_,w){w&&(v=[]),typeof _=="function"&&v.push(_)}function m(){return{startTime:a,payload:t,status:c,queriesSent:u,queriesPending:b.length,subscribe:p,abort:h}}function f(){c="failed",v.forEach(_=>{_(void 0,l)})}function y(){b.forEach(_=>{_.status==="pending"&&(_.status="aborted")}),b=[]}function $(_,w,S){const O=w!=="success";switch(b=b.filter(F=>F!==_),c){case"pending":break;case"failed":if(O||!e.dataAfterTimeout)return;break;default:return}if(w==="abort"){l=S,f();return}if(O){l=S,b.length||(s.length?k():f());return}if(g(),y(),!e.random){const F=e.resources.indexOf(_.resource);F!==-1&&F!==e.index&&(e.index=F)}c="completed",v.forEach(F=>{F(S)})}function k(){if(c!=="pending")return;g();const _=s.shift();if(_===void 0){if(b.length){d=setTimeout(()=>{g(),c==="pending"&&(y(),f())},e.timeout);return}f();return}const w={status:"pending",resource:_,callback:(S,O)=>{$(w,S,O)}};b.push(w),u++,d=setTimeout(k,e.rotate),r(_,t,w.callback)}return setTimeout(k),m}function Ml(e){const t={...Kv,...e};let r=[];function n(){r=r.filter(a=>a().status==="pending")}function o(a,c,u){const l=Bv(t,a,c,(d,b)=>{n(),u&&u(d,b)});return r.push(l),l}function i(a){return r.find(c=>a(c))||null}return{query:o,find:i,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:n}}function Ua(){}const so=Object.create(null);function Gv(e){if(!so[e]){const t=ni(e);if(!t)return;const r=Ml(t),n={config:t,redundancy:r};so[e]=n}return so[e]}function Jv(e,t,r){let n,o;if(typeof e=="string"){const i=Co(e);if(!i)return r(void 0,424),Ua;o=i.send;const s=Gv(e);s&&(n=s.redundancy)}else{const i=ti(e);if(i){n=Ml(i);const s=e.resources?e.resources[0]:"",a=Co(s);a&&(o=a.send)}}return!n||!o?(r(void 0,424),Ua):n.query(t,o,r)().abort}function Ha(){}function Xv(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Vv(e)}))}function Yv(e){const t=[],r=[];return e.forEach(n=>{(n.match(Cl)?t:r).push(n)}),{valid:t,invalid:r}}function Nt(e,t,r){function n(){const o=e.pendingIcons;t.forEach(i=>{o&&o.delete(i),e.icons[i]||e.missing.add(i)})}if(r&&typeof r=="object")try{if(!Rl(e,r).length){n();return}}catch(o){console.error(o)}n(),Xv(e)}function Wa(e,t){e instanceof Promise?e.then(r=>{t(r)}).catch(()=>{t(null)}):t(e)}function Qv(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:r,prefix:n}=e,o=e.iconsToLoad;if(delete e.iconsToLoad,!o||!o.length)return;const i=e.loadIcon;if(e.loadIcons&&(o.length>1||!i)){Wa(e.loadIcons(o,n,r),l=>{Nt(e,o,l)});return}if(i){o.forEach(l=>{const d=i(l,n,r);Wa(d,b=>{const v=b?{prefix:n,icons:{[l]:b}}:null;Nt(e,[l],v)})});return}const{valid:s,invalid:a}=Yv(o);if(a.length&&Nt(e,a,null),!s.length)return;const c=n.match(Cl)?Co(r):null;if(!c){Nt(e,s,null);return}c.prepare(r,n,s).forEach(l=>{Jv(r,l,d=>{Nt(e,l.icons,d)})})}))}const Fl=(e,t)=>{const r=Wv(e,!0,Al()),n=qv(r);if(!n.pending.length){let c=!0;return t&&setTimeout(()=>{c&&t(n.loaded,n.missing,n.pending,Ha)}),()=>{c=!1}}const o=Object.create(null),i=[];let s,a;return n.pending.forEach(c=>{const{provider:u,prefix:l}=c;if(l===a&&u===s)return;s=u,a=l,i.push(yt(u,l));const d=o[u]||(o[u]=Object.create(null));d[l]||(d[l]=[])}),n.pending.forEach(c=>{const{provider:u,prefix:l,name:d}=c,b=yt(u,l),v=b.pendingIcons||(b.pendingIcons=new Set);v.has(d)||(v.add(d),o[u][l].push(d))}),i.forEach(c=>{const u=o[c.provider][c.prefix];u.length&&Qv(c,u)}),t?Hv(t,n,i):Ha},Zv=e=>new Promise((t,r)=>{const n=typeof e=="string"?Kt(e,!0):e;if(!n){r(e);return}Fl([n||e],o=>{if(o.length&&n){const i=xn(n);if(i){t({...$t,...i});return}}r(e)})});function e$(e,t){const r={...e};for(const n in t){const o=t[n],i=typeof o;n in Tl?(o===null||o&&(i==="string"||i==="number"))&&(r[n]=o):i===typeof r[n]&&(r[n]=n==="rotate"?o%4:o)}return r}const t$=/[\s,]+/;function r$(e,t){t.split(t$).forEach(r=>{switch(r.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function n$(e,t=0){const r=e.replace(/^-?[0-9.]*/,"");function n(o){for(;o<0;)o+=4;return o%4}if(r===""){const o=parseInt(e);return isNaN(o)?0:n(o)}else if(r!==e){let o=0;switch(r){case"%":o=25;break;case"deg":o=90}if(o){let i=parseFloat(e.slice(0,e.length-r.length));return isNaN(i)?0:(i=i/o,i%1===0?n(i):0)}}return t}function o$(e,t){let r=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const n in t)r+=" "+n+'="'+t[n]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+r+">"+e+"</svg>"}function i$(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function s$(e){return"data:image/svg+xml,"+i$(e)}function a$(e){return'url("'+s$(e)+'")'}const Ka={...Nl,inline:!1},c$={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},l$={display:"inline-block"},jo={backgroundColor:"currentColor"},zl={backgroundColor:"transparent"},Ba={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Ga={webkitMask:jo,mask:jo,background:zl};for(const e in Ga){const t=Ga[e];for(const r in Ba)t[e+r]=Ba[r]}const Br={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Br[e+"-flip"]=t,Br[e.slice(0,1)+"-flip"]=t,Br[e+"Flip"]=t});function Ja(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Xa=(e,t)=>{const r=e$(Ka,t),n={...c$},o=t.mode||"svg",i={},s=t.style,a=typeof s=="object"&&!(s instanceof Array)?s:{};for(let h in t){const p=t[h];if(p!==void 0)switch(h){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":r[h]=p===!0||p==="true"||p===1;break;case"flip":typeof p=="string"&&r$(r,p);break;case"color":i.color=p;break;case"rotate":typeof p=="string"?r[h]=n$(p):typeof p=="number"&&(r[h]=p);break;case"ariaHidden":case"aria-hidden":p!==!0&&p!=="true"&&delete n["aria-hidden"];break;default:{const m=Br[h];m?(p===!0||p==="true"||p===1)&&(r[m]=!0):Ka[h]===void 0&&(n[h]=p)}}}const c=Cv(e,r),u=c.attributes;if(r.inline&&(i.verticalAlign="-0.125em"),o==="svg"){n.style={...i,...a},Object.assign(n,u);let h=0,p=t.id;return typeof p=="string"&&(p=p.replace(/-/g,"_")),n.innerHTML=Rv(c.body,p?()=>p+"ID"+h++:"iconifyVue"),si("svg",n)}const{body:l,width:d,height:b}=e,v=o==="mask"||(o==="bg"?!1:l.indexOf("currentColor")!==-1),g=o$(l,{...u,width:d+"",height:b+""});return n.style={...i,"--svg":a$(g),width:Ja(u.width),height:Ja(u.height),...l$,...v?jo:zl,...a},si("span",n)};Al(!0);Av("",Dv);if(typeof document<"u"&&typeof window<"u"){const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,r="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(n=>{try{(typeof n!="object"||n===null||n instanceof Array||typeof n.icons!="object"||typeof n.prefix!="string"||!bv(n))&&console.error(r)}catch{console.error(r)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let r in t){const n="IconifyProviders["+r+"] is invalid.";try{const o=t[r];if(typeof o!="object"||!o||o.resources===void 0)continue;Tv(r,o)||console.error(n)}catch{console.error(n)}}}}const u$={...$t,body:""};nc((e,{emit:t})=>{const r=Ge(null);function n(){var u,l;r.value&&((l=(u=r.value).abort)==null||l.call(u),r.value=null)}const o=Ge(!!e.ssr),i=Ge(""),s=Je(null);function a(){const u=e.icon;if(typeof u=="object"&&u!==null&&typeof u.body=="string")return i.value="",{data:u};let l;if(typeof u!="string"||(l=Kt(u,!1,!0))===null)return null;let d=xn(l);if(!d){const g=r.value;return(!g||g.name!==u)&&(d===null?r.value={name:u}:r.value={name:u,abort:Fl([l],c)}),null}n(),i.value!==u&&(i.value=u,Ao(()=>{t("load",u)}));const b=e.customise;if(b){d=Object.assign({},d);const g=b(d.body,l.name,l.prefix,l.provider);typeof g=="string"&&(d.body=g)}const v=["iconify"];return l.prefix!==""&&v.push("iconify--"+l.prefix),l.provider!==""&&v.push("iconify--"+l.provider),{data:d,classes:v}}function c(){var l;const u=a();u?u.data!==((l=s.value)==null?void 0:l.data)&&(s.value=u):s.value=null}return o.value?c():Ro(()=>{o.value=!0,c()}),Xe(()=>e.icon,c),Ql(n),()=>{const u=s.value;if(!u)return Xa(u$,e);let l=e;return u.classes&&(l={...e,class:u.classes.join(" ")}),Xa({...$t,...u.data},l)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]});const f$=nc({__name:"App",setup(e,{expose:t}){t();const r=iu(),n=ye(()=>tn.value.find(({id:c})=>c===r.name)),o=Ge(""),i=Ge(""),s=ye(()=>{var c;return((c=n.value)==null?void 0:c.to)&&`${window.location.origin}${n.value.to==="/"?"":n.value.to}`});Xe(n,async c=>{let u="/favicon.ico";if(c!=null&&c.icon){const l=vv(c.icon)?$v(c.icon):await Zv(c.icon);if(l){const{body:d,height:b,left:v,top:g,width:h}=l;u=`data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="${v.toString()} ${g.toString()} ${h.toString()} ${b.toString()}">${d}</svg>`}}o.value=u}),hc({link:[[o,"icon","icon"],[s,"canonical"]].map(([c,u,l])=>({href:c,key:l,rel:u})),script:[{id:"application/ld+json",innerHTML:i,type:"application/ld+json"}]}),Uu({description:ye(()=>{var c;return(c=n.value)==null?void 0:c.description}),keywords:ye(()=>{var c;return(c=n.value)==null?void 0:c.keywords.join()}),ogDescription:ye(()=>{var c;return(c=n.value)==null?void 0:c.description}),ogImage:ye(()=>{var c;return((c=n.value)==null?void 0:c.images.filter(({url:u})=>u).map(({alt:u="",url:l})=>({alt:u,url:`${window.location.origin}/${l}`})))??[]}),ogTitle:ye(()=>{var c;return(c=n.value)==null?void 0:c.title}),ogType:ye(()=>{var c;return(c=n.value)==null?void 0:c.type}),ogUrl:s,title:ye(()=>{var c;return(c=n.value)==null?void 0:c.title})}),Xe(()=>{var c;return(c=n.value)==null?void 0:c.jsonld},async c=>{i.value=JSON.stringify(await c)||'{"@context":"https://schema.org"}'});const a={route:r,a:n,favicon:o,jsonld:i,ogUrl:s,get pages(){return tn}};return Object.defineProperty(a,"__isScriptSetup",{enumerable:!1,value:!0}),a}}),d$=(e,t)=>{const r=e.__vccOpts||e;for(const[n,o]of t)r[n]=o;return r};function p$(e,t,r,n,o,i){const s=Zl("router-view");return ci(),ai(s,null,{default:eu(({Component:a})=>{var c;return[(ci(),ai(tu(a),{id:(c=n.pages[0])==null?void 0:c.id},null,8,["id"]))]}),_:1})}const h$=d$(f$,[["render",p$],["__file","App.vue"]]);var ao,Ya;function m$(){if(Ya)return ao;Ya=1;function e(s,a){for(;s.length<a;)s="0"+s;return s}function t(s,a){var c,u,l;if(a.length===0)return s;for(c=0,l=a.length;c<l;c++)u=a.charCodeAt(c),s=(s<<5)-s+u,s|=0;return s<0?s*-2:s}function r(s,a,c){return Object.keys(a).sort().reduce(u,s);function u(l,d){return n(l,a[d],d,c)}}function n(s,a,c,u){var l=t(t(t(s,c),o(a)),typeof a);if(a===null)return t(l,"null");if(a===void 0)return t(l,"undefined");if(typeof a=="object"||typeof a=="function"){if(u.indexOf(a)!==-1)return t(l,"[Circular]"+c);u.push(a);var d=r(l,a,u);if(!("valueOf"in a)||typeof a.valueOf!="function")return d;try{return t(d,String(a.valueOf()))}catch(b){return t(d,"[valueOf exception]"+(b.stack||b.message))}}return t(l,a.toString())}function o(s){return Object.prototype.toString.call(s)}function i(s){return e(n(0,s,"",[]).toString(16),8)}return ao=i,ao}var g$=m$();const y$=pn(g$),Gr=async e=>{try{const t=await fetch(e);return t.ok?t:new Response("")}catch{return new Response("")}},It=e=>{e.forEach(t=>{console.log(t)})},b$=async(e,{filename:t},{content:r,module:n,scoped:o=!1,src:i})=>{const{code:s,errors:a}=await fu({filename:t,id:e,modules:!!n,scoped:o,source:i?await(await Gr(i)).text():r});It(a),od(s,o?{id:e}:void 0)},Qa=e=>ot(()=>import(`data:text/javascript;base64,${btoa(Array.from(new TextEncoder().encode(e),t=>String.fromCodePoint(t)).join(""))}`),[],import.meta.url),v$=async e=>{const{descriptor:t,errors:r}=cu(await(await Gr(e)).text(),{filename:e}),n={expressionPlugins:[]},o=["script","scriptSetup"],i=await Promise.all(o.map(async d=>{var g,h;const{lang:b="js",src:v}=t[d]??{};return/[jt]sx$/.test(b)&&((g=n.expressionPlugins)==null||g.push("jsx")),/tsx?$/.test(b)&&((h=n.expressionPlugins)==null||h.push("typescript")),v&&await(await Gr(v)).text()})),s=`data-v-${y$(e)}`,a="preserve",c={},u=t.styles.some(({scoped:d})=>d),{expressionPlugins:l}=n;if(It(r),u&&(c.__scopeId=s),t.script||t.scriptSetup){o.forEach((g,h)=>{const p=t[g];p&&i[h]!==void 0&&(p.content=i[h])});const{bindings:d,content:b,warnings:v=[]}=lu(t,{id:s,inlineTemplate:!1});It(v),d&&(n.bindingMetadata=d),Object.assign(c,(await Qa(l.length?li(b,{jsxRuntime:a,transforms:l}).code:b)).default)}if(t.template){const{code:d,errors:b,tips:v}=uu({ast:t.template.ast,compilerOptions:n,filename:t.filename,id:s,scoped:u,slotted:t.slotted,source:t.template.src?await(await Gr(t.template.src)).text():t.template.content,vapor:t.vapor});It(b),It(v),Object.assign(c,await Qa(l.length?li(d,{jsxRuntime:a,transforms:l}).code:d))}return t.styles.forEach(d=>{b$(s,t,d)}),c};let Po;const{pathname:$$}=new URL(document.baseURI),Za=Ge(!0),fn=new Map,w$=()=>{let e,t;return{promise:new Promise((n,o)=>{e=n,t=o}),reject:t,resolve:e}},it=su({history:au($$),routes:[],scrollBehavior:(e,t,r)=>Po&&Po(e,t,r)}),ec=Ge(!0),tc=ye(()=>{var e;return it.currentRoute.value.path==="/"?(e=ho[it.currentRoute.value.name])==null?void 0:e.$children[0]:ho[it.currentRoute.value.name]}),A$=({id:e=Fo()})=>(fn.set(e,w$()),ru(async()=>v$(`./pages/${e}.vue`))),T$=({id:e}={})=>{var t;e&&((t=fn.get(e))==null||t.resolve(void 0))},k$=({extractAll:e,toggleObserver:t})=>{Po=async({hash:r,name:n})=>{var o,i;if(n){Za.value=!0,t(!1);const[{promise:s}={}]=fn.values();await s,await Promise.all([...fn.values()].map(({promise:c})=>c)),await e(),t(!0);const a=ec.value&&{behavior:"smooth",...r||(i=(o=tc.value)==null?void 0:o.parent)!=null&&i.flat&&tc.value.index?{el:r||`#${String(n)}`}:{left:0,top:0}};return Za.value=!1,ec.value=!0,a}else return!1}};it.beforeEach(({path:e})=>e!==decodeURI(e)?decodeURI(e):void 0);const dn=nu(h$),_$={async get(){if(this.id)try{const e=await fetch(`./pages/${this.id}.jsonld`);return e.ok?await e.json():void 0}catch{return}}};dn.use(Hu());const x$=(async()=>{const e=await fetch("index.json"),[t={}]=await(e.ok?e:new Response("[]")).json();en.push(t),await Ao(),tn.value.forEach(({id:r,loc:n,path:o},i,s)=>{if(Object.defineProperties(s[i],{jsonld:_$}),o!==void 0){const a=n==null?void 0:n.replaceAll(" ","_").replace(/^\/?/,"/").replace(/\/?$/,"/");it.addRoute({...a&&n?{alias:a}:{undefined:void 0},children:[{component:()=>ot(()=>import("./PageView-x-6eI8cU.js"),__vite__mapDeps([0,1,2]),import.meta.url),name:r,path:""}],component:()=>ot(()=>import("./RootView-CZPb8TLr.js"),__vite__mapDeps([3,1,2]),import.meta.url),path:o.replace(/^\/?/,"/").replace(/\/?$/,"/")})}}),dn.provide("pages",ho),it.addRoute({component:()=>ot(()=>import("./NotFoundView-BFf3R-4M.js"),__vite__mapDeps([4,1,2]),import.meta.url),name:"404",path:"/:pathMatch(.*)*"})})();(async()=>{const e=await fetch("fonts.json"),t=Ap(await(e.ok?e:new Response("[]")).json());za.presets.push(Lf({customFetch:Rp,fonts:t})),await Uf({defaults:za,ready:async r=>{const{toggleObserver:n}=r;return k$(r),await x$,dn.use(it),dn.mount("#app"),n(!0),!1},rootElement:()=>document.getElementById("app")??void 0})})().catch(Op);console.info("👊 VueBro","/","runtime ver.:","1.0.0","/","https://github.com/vuebro");export{d$ as _,R$ as a,Za as b,tn as c,Op as d,hc as e,A$ as m,fn as p,T$ as r,ec as s,tc as t,O$ as u,Fo as v};