@vuebro/runtime 1.1.21 → 1.1.23

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.
@@ -1,423 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./PageView-CryrqQPf.js","./sucrase-a4rcyG3M.js","./compiler-sfc-Dp0sf6I-.js","./RootView-DO3NNhaB.js","./NotFoundView-7QQP4Hvb.js"])))=>i.map(i=>d[i]);
2
- import{toValue as be,isRef as Ft,hasInjectionContext as _l,inject as xl,ref as Ge,watchEffect as Sl,getCurrentInstance as Ro,onBeforeUnmount as El,onDeactivated as Cl,onActivated as jl,reactive as We,unref as Ka,getCurrentScope as Pl,onScopeDispose as Ol,onMounted as Ao,nextTick as To,watch as Re,computed as pe,shallowRef as Je,readonly as Rl,isReactive as Al,defineComponent as Ga,onUnmounted as Tl,h as ei,resolveComponent as Ml,createBlock as ti,openBlock as ri,withCtx as Nl,resolveDynamicComponent as Il,defineAsyncComponent as zl,createApp as Fl}from"vue";import{g as dn,e as Ll,t as ni}from"./sucrase-a4rcyG3M.js";import{useRoute as Dl,createRouter as ql,createWebHistory as Vl}from"vue-router";import{p as Ul,c as Wl,a as Hl,b as Bl}from"./compiler-sfc-Dp0sf6I-.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 Kl="modulepreload",Gl=function(e,t){return new URL(e,t).href},oi={},pt=function(t,r,n){let o=Promise.resolve();if(r&&r.length>0){let l=function(u){return Promise.all(u.map(d=>Promise.resolve(d).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};const s=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),c=a?.nonce||a?.getAttribute("nonce");o=l(r.map(u=>{if(u=Gl(u,n),u in oi)return;oi[u]=!0;const d=u.endsWith(".css"),y=d?'[rel="stylesheet"]':"";if(!!n)for(let h=s.length-1;h>=0;h--){const p=s[h];if(p.href===u&&(!d||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${y}`))return;const v=document.createElement("link");if(v.rel=d?"stylesheet":Kl,d||(v.as="script"),v.crossOrigin="",v.href=u,c&&v.setAttribute("nonce",c),document.head.appendChild(v),d)return new Promise((h,p)=>{v.addEventListener("load",h),v.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${u}`)))})}))}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 ao(e,t={},r){for(const n in e){const o=e[n],i=r?`${r}:${n}`:n;typeof o=="object"&&o!==null?ao(o,t,i):typeof o=="function"&&(t[i]=o)}return t}const Jl={run:e=>e()},Xl=()=>Jl,Ja=typeof console.createTask<"u"?console.createTask:Xl;function Yl(e,t){const r=t.shift(),n=Ja(r);return e.reduce((o,i)=>o.then(()=>n.run(()=>i(...t))),Promise.resolve())}function Zl(e,t){const r=t.shift(),n=Ja(r);return Promise.all(e.map(o=>n.run(()=>o(...t))))}function On(e,t){for(const r of[...e])r(t)}class Ql{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=ao(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=ao(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(Yl,t,...r)}callHookParallel(t,...r){return r.unshift(t),this.callHookWith(Zl,t,...r)}callHookWith(t,r,...n){const o=this._before||this._after?{name:r,args:n,context:{}}:void 0;this._before&&On(this._before,o);const i=t(r in this._hooks?[...this._hooks[r]]:[],n);return i instanceof Promise?i.finally(()=>{this._after&&o&&On(this._after,o)}):(this._after&&o&&On(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 eu(){return new Ql}const tu=new Set(["link","style","script","noscript"]),ru=new Set(["title","titleTemplate","script","style","noscript"]),ii=new Set(["base","meta","link","style","script","noscript"]),nu=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),ou=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),iu=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),su=new Set(["templateParams","htmlAttrs","bodyAttrs"]),Mo=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),au=["name","property","http-equiv"],cu=new Set(["viewport","description","keywords","robots"]);function Xa(e){const t=e.split(":");return t.length?Mo.has(t[1]):!1}function co(e){const{props:t,tag:r}=e;if(ou.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 au)if(t[n]!==void 0){const o=t[n],i=o.includes(":"),s=cu.has(o),c=!(i||s)&&e.key?`:key:${e.key}`:"";return`${r}:${o}${c}`}}if(e.key)return`${r}:key:${e.key}`;if(t.id)return`${r}:id:${t.id}`;if(ru.has(r)){const n=e.textContent||e.innerHTML;if(n)return`${r}:content:${n}`}}function si(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 Xr(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=>Xr(i,t));if(o?.constructor===Object){const i={};for(const s of Object.keys(o))i[s]=Xr(o[s],t,s);return i}return o}function lu(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 Ya(e,t){return e.props=e.props||{},t?e.tag==="templateParams"?(e.props=t,e):(Object.entries(t).forEach(([r,n])=>{if(n===null){e.props[r]=null;return}if(r==="class"||r==="style"){e.props[r]=lu(r,n);return}if(iu.has(r)){if(["textContent","innerHTML"].includes(r)&&typeof n=="object"){let s=t.type;if(t.type||(s="application/json"),!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):e}function uu(e,t){const r=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},n=Ya({tag:e,props:{}},r);return n.key&&tu.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 fu(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=Xr(e,r),Object.entries(e||{}).forEach(([o,i])=>{if(i!==void 0)for(const s of Array.isArray(i)?i:[i])n.push(uu(o,s))}),n.flat()}const ai=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,ci={base:-10,title:10},du={critical:-8,high:-1,low:2},li={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}},pu=/@import/,_t=e=>e===""||e===!0;function hu(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let r=100;const n=du[t.tagPriority]||0,o=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:li;if(t.tag in ci)r=ci[t.tag];else if(t.tag==="meta"){const i=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;i&&(r=li.meta[i])}else t.tag==="link"&&t.props.rel?r=o.link[t.props.rel]:t.tag==="script"?_t(t.props.async)?r=o.script.async:t.props.src&&!_t(t.props.defer)&&!_t(t.props.async)&&t.props.type!=="module"&&!t.props.type?.endsWith("json")?r=o.script.sync:_t(t.props.defer)&&t.props.src&&!_t(t.props.async)&&(r=o.script.defer):t.tag==="style"&&(r=t.innerHTML&&pu.test(t.innerHTML)?o.style.imported:o.style.sync);return(r||100)+n}function ui(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 mu(e={}){const t=eu();t.addHooks(e.hooks||{});const r=!e.document,n=new Map,o=new Map,i=new Set,s={_entryCount:1,plugins:o,dirty:!1,resolvedOptions:e,hooks:t,ssr:r,entries:n,headEntries(){return[...n.values()]},use:a=>ui(s,a),push(a,c){const l={...c||{}};delete l.head;const u=l._index??s._entryCount++,d={_i:u,input:a,options:l},y={_poll(m=!1){s.dirty=!0,!m&&i.add(u),t.callHook("entries:updated",s)},dispose(){n.delete(u)&&s.invalidate()},patch(m){(!l.mode||l.mode==="server"&&r||l.mode==="client"&&!r)&&(d.input=m,n.set(u,d),y._poll())}};return y.patch(a),y},async resolveTags(){const a={tagMap:new Map,tags:[],entries:[...s.entries.values()]};for(await t.callHook("entries:resolve",a);i.size;){const y=i.values().next().value;i.delete(y);const m=n.get(y);if(m){const v={tags:fu(m.input,e.propResolvers||[]).map(h=>Object.assign(h,m.options)),entry:m};await t.callHook("entries:normalize",v),m._tags=v.tags.map((h,p)=>(h._w=hu(s,h),h._p=(m._i<<10)+p,h._d=co(h),h))}}let c=!1;a.entries.flatMap(y=>(y._tags||[]).map(m=>({...m,props:{...m.props}}))).sort(ai).reduce((y,m)=>{const v=String(m._d||m._p);if(!y.has(v))return y.set(v,m);const h=y.get(v);if((m?.tagDuplicateStrategy||(su.has(m.tag)?"merge":null)||(m.key&&m.key===h.key?"merge":null))==="merge"){const b={...h.props};Object.entries(m.props).forEach(([f,g])=>b[f]=f==="style"?new Map([...h.props.style||new Map,...g]):f==="class"?new Set([...h.props.class||new Set,...g]):g),y.set(v,{...m,props:b})}else m._p>>10===h._p>>10&&m.tag==="meta"&&Xa(v)?(y.set(v,Object.assign([...Array.isArray(h)?h:[h],m],m)),c=!0):(m._w===h._w?m._p>h._p:m?._w<h?._w)&&y.set(v,m);return y},a.tagMap);const l=a.tagMap.get("title"),u=a.tagMap.get("titleTemplate");if(s._title=l?.textContent,u){const y=u?.textContent;if(s._titleTemplate=y,y){let m=typeof y=="function"?y(l?.textContent):y;typeof m=="string"&&!s.plugins.has("template-params")&&(m=m.replace("%s",l?.textContent||"")),l?m===null?a.tagMap.delete("title"):a.tagMap.set("title",{...l,textContent:m}):(u.tag="title",u.textContent=m)}}a.tags=Array.from(a.tagMap.values()),c&&(a.tags=a.tags.flat().sort(ai)),await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a);const d=[];for(const y of a.tags){const{innerHTML:m,tag:v,props:h}=y;if(nu.has(v)&&!(Object.keys(h).length===0&&!y.innerHTML&&!y.textContent)&&!(v==="meta"&&!h.content&&!h["http-equiv"]&&!h.charset)){if(v==="script"&&m){if(h.type?.endsWith("json")){const p=typeof m=="string"?m:JSON.stringify(m);y.innerHTML=p.replace(/</g,"\\u003C")}else typeof m=="string"&&(y.innerHTML=m.replace(new RegExp(`</${v}`,"g"),`<\\/${v}`));y._d=co(y)}d.push(y)}}return d},invalidate(){for(const a of n.values())i.add(a._i);s.dirty=!0,t.callHook("entries:updated",s)}};return(e?.plugins||[]).forEach(a=>ui(s,a)),s.hooks.callHook("init",s),e.init?.forEach(a=>a&&s.push(a)),s}async function Za(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=>{const i=new Map,s=new Promise(m=>{e.resolveTags().then(v=>{m(v.map(h=>{const p=i.get(h._d)||0,b={tag:h,id:(p?`${h._d}:${p}`:h._d)||si(h),shouldRender:!0};return h._d&&Xa(h._d)&&i.set(h._d,p+1),b}))})});let a=e._dom;if(!a){a={title:r.title,elMap:new Map().set("htmlAttrs",r.documentElement).set("bodyAttrs",r.body)};for(const m of["body","head"]){const v=r[m]?.children;for(const h of v){const p=h.tagName.toLowerCase();if(!ii.has(p))continue;const b=Ya({tag:p,props:{}},{innerHTML:h.innerHTML,...h.getAttributeNames().reduce((f,g)=>(f[g]=h.getAttribute(g),f),{})||{}});if(b.key=h.getAttribute("data-hid")||void 0,b._d=co(b)||si(b),a.elMap.has(b._d)){let f=1,g=b._d;for(;a.elMap.has(g);)g=`${b._d}:${f++}`;a.elMap.set(g,h)}else a.elMap.set(b._d,h)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function c(m,v,h){const p=`${m}:${v}`;a.sideEffects[p]=h,delete a.pendingSideEffects[p]}function l({id:m,$el:v,tag:h}){const p=h.tag.endsWith("Attrs");a.elMap.set(m,v),p||(h.textContent&&h.textContent!==v.textContent&&(v.textContent=h.textContent),h.innerHTML&&h.innerHTML!==v.innerHTML&&(v.innerHTML=h.innerHTML),c(m,"el",()=>{v?.remove(),a.elMap.delete(m)}));for(const b in h.props){if(!Object.prototype.hasOwnProperty.call(h.props,b))continue;const f=h.props[b];if(b.startsWith("on")&&typeof f=="function"){const $=v?.dataset;if($&&$[`${b}fired`]){const w=b.slice(0,-5);f.call(v,new Event(w.substring(2)))}v.getAttribute(`data-${b}`)!==""&&((h.tag==="bodyAttrs"?r.defaultView:v).addEventListener(b.substring(2),f.bind(v)),v.setAttribute(`data-${b}`,""));continue}const g=`attr:${b}`;if(b==="class"){if(!f)continue;for(const $ of f)p&&c(m,`${g}:${$}`,()=>v.classList.remove($)),!v.classList.contains($)&&v.classList.add($)}else if(b==="style"){if(!f)continue;for(const[$,w]of f)c(m,`${g}:${$}`,()=>{v.style.removeProperty($)}),v.style.setProperty($,w)}else f!==!1&&f!==null&&(v.getAttribute(b)!==f&&v.setAttribute(b,f===!0?"":String(f)),p&&c(m,g,()=>v.removeAttribute(b)))}}const u=[],d={bodyClose:void 0,bodyOpen:void 0,head:void 0},y=await s;for(const m of y){const{tag:v,shouldRender:h,id:p}=m;if(h){if(v.tag==="title"){r.title=v.textContent,c("title","",()=>r.title=a.title);continue}m.$el=m.$el||a.elMap.get(p),m.$el?l(m):ii.has(v.tag)&&u.push(m)}}for(const m of u){const v=m.tag.tagPosition||"head";m.$el=r.createElement(m.tag.tag),l(m),d[v]=d[v]||r.createDocumentFragment(),d[v].appendChild(m.$el)}for(const m of y)await e.hooks.callHook("dom:renderTag",m,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 m in a.pendingSideEffects)a.pendingSideEffects[m]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:y}),o()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function gu(e={}){const t=e.domOptions?.render||Za;e.document=e.document||(typeof window<"u"?document:void 0);const r=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return mu({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[r?JSON.parse(r):!1,...e.init||[]]})}function bu(e,t){let r=0;return()=>{const n=++r;t(()=>{r===n&&e()})}}const Dt={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"])},yu={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"},Qa={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:Dt.META.has(t.slice(0,r))||Dt.OG.has(t.slice(0,r))?e.replace(/([A-Z])/g,":$1").toLowerCase():t}function ec(e){return Object.fromEntries(Object.entries(e).filter(([t,r])=>String(r)!=="false"&&t))}function lo(e){return Array.isArray(e)?e.map(lo):!e||typeof e!="object"?e:Object.fromEntries(Object.entries(e).map(([t,r])=>[Ve(t),lo(r)]))}function tc(e,t={}){const{entrySeparator:r="",keyValueSeparator:n="",wrapValue:o,resolve:i}=t;return Object.entries(e).map(([s,a])=>{if(i){const l=i({key:s,value:a});if(l!==void 0)return l}const c=typeof a=="object"?tc(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 fi(e,t){const r=ec(t),n=Ve(e),o=rc(n);if(!Mo.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 Yr(i||{}).sort((s,a)=>(s[o]?.length||0)-(a[o]?.length||0))}function rc(e){if(Qa[e]?.metaKey==="http-equiv"||Dt.HTTP_EQUIV.has(e))return"http-equiv";const t=Ve(e),r=t.indexOf(":");return r===-1?"name":Dt.OG.has(t.slice(0,r))?"property":"name"}function vu(e){return yu[e]||Ve(e)}function $u(e,t){return t==="refresh"?`${e.seconds};url=${e.url}`:tc(lo(e),{keyValueSeparator:"=",entrySeparator:", ",resolve:({value:r,key:n})=>r===null?"":typeof r=="boolean"?n:void 0,...Qa[t]?.unpack})}function Yr(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[l,u]of Object.entries(s)){const d=`${o}${l==="url"?"":`:${l}`}`,y=Yr({[d]:u});(l==="url"?a:c).push(...y)}t.push(...a,...c)}else t.push(...typeof s=="string"?Yr({[o]:s}):fi(o,s));continue}if(typeof i=="object"&&i)if(Dt.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[l,u]of Object.entries(i))l!=="url"&&l!=="secureUrl"&&t.push({[c]:`${s}:${a}:${l}`,content:u})}else Mo.has(Ve(o))?t.push(...fi(o,i)):r[o]=ec(i);else r[o]=i}const n=Object.entries(r).map(([o,i])=>{if(o==="charset")return{charset:i===null?"_null":i};const s=rc(o),a=vu(o),c=i===null?"_null":typeof i=="object"?$u(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 wu={key:"flatMeta",hooks:{"entries:normalize":e=>{const t=[];e.tags=e.tags.map(r=>r.tag!=="_flatMeta"?r:(t.push(Yr(r.props).map(n=>({...r,tag:"meta",props:n}))),!1)).filter(Boolean).concat(...t)}}},ku=(e,t)=>Ft(t)?be(t):t,nc="usehead";function _u(e){return{install(r){r.config.globalProperties.$unhead=e,r.config.globalProperties.$head=e,r.provide(nc,e)}}.install}function oc(){if(_l()){const e=xl(nc);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 ic(e,t={}){const r=t.head||oc();return r.ssr?r.push(e||{},t):xu(r,e,t)}function xu(e,t,r={}){const n=Ge(!1);let o;return Sl(()=>{const s=n.value?{}:Xr(t,ku);o?o.patch(s):o=e.push(s,r)}),Ro()&&(El(()=>{o.dispose()}),Cl(()=>{n.value=!0}),jl(()=>{n.value=!1})),o}function Su(e={},t={}){(t.head||oc()).use(wu);const{title:n,titleTemplate:o,...i}=e;return ic({title:n,titleTemplate:o,_flatMeta:i},t)}function Eu(e={}){const t=gu({domOptions:{render:bu(()=>Za(t),r=>setTimeout(r,0))},...e});return t.install=_u(t),t}const qr="default",uo="preflights",Cu="shortcuts",sc="imports",ju={[sc]:-200,[uo]:-100,[Cu]:-10,[qr]:0},ac=/[\\:]?[\s'"`;{}]+/g;function Pu(e){return e.split(ac)}const Ou={name:"@unocss/core/extractor-split",order:0,extract({code:e}){return Pu(e)}};function ce(e=[]){return Array.isArray(e)?e:[e]}function ze(e){return Array.from(new Set(e))}function di(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 cc extends Set{_map=new Map;constructor(t){if(super(),t)for(const r of t)this.add(r)}add(t){return this._map.set(t,(this._map.get(t)??0)+1),super.add(t)}delete(t){return this._map.has(t)?(this._map.delete(t),super.delete(t)):!1}clear(){this._map.clear(),super.clear()}getCount(t){return this._map.get(t)??0}setCount(t,r){return this._map.set(t,r),super.add(t)}}function Rn(e){return e instanceof cc}function qt(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 An=ht;function Ru(){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 Au=/^\[(.+?)~?="(.*)"\]$/,Tu=/[\w\u00A0-\uFFFF%-?]/;function Mu(e){return e.match(Au)}function fo(e=""){return Tu.test(e)}function Nu(e){return typeof e=="function"?{match:e}:e}function pi(e){return e.length===3}function Vr(e){return e!=null}function Iu(){}class zu{_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){return this._map.get(t)?.has(r)}delete(t,r){return this._map.get(t)?.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 Fu 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 Zr(e){return le(e)?e:(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function Lu(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>Zr(t)):[e]:[Zr(e)]}function Du(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 Tn(e){return e==null?"":Du(e).map(([t,r])=>r!=null&&typeof r!="function"?`${t}:${r};`:void 0).filter(Boolean).join("")}function Xt(e){return e&&typeof e=="object"&&!Array.isArray(e)}function pn(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 Xt(n)&&Xt(o)&&Object.keys(o).forEach(s=>{Xt(n[s])&&Xt(o[s])||Array.isArray(n[s])&&Array.isArray(o[s])?i[s]=pn(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 qu(e){return le(e[0])}function Vu(e){return le(e[0])}const Yt={};function Uu(e=["-",":"]){const t=e.join("|");return Yt[t]||(Yt[t]=new RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${t})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,"gm")),Yt[t].lastIndex=0,Yt[t]}function Wu(e,t=["-",":"],r=5){const n=Uu(t);let o,i=e.toString();const s=new Set,a=new Map;do o=!1,i=i.replace(n,(l,u,d,y,m)=>{if(!t.includes(d))return l;o=!0,s.add(u+d);const v=m+u.length+d.length+1,h={length:l.length,items:[]};a.set(m,h);for(const p of[...y.matchAll(/\S+/g)]){const b=v+p.index;let f=a.get(b)?.items;f?a.delete(b):f=[{offset:b,length:p[0].length,className:p[0]}];for(const g of f)g.className=g.className==="~"?u:g.className.replace(/^(!?)(.*)/,`$1${u}${d}$2`),h.items.push(g)}return"$".repeat(l.length)}),r-=1;while(o&&r);let c;if(typeof e=="string"){c="";let l=0;for(const[u,d]of a)c+=e.slice(l,u),c+=d.items.map(y=>y.className).join(" "),l=u+d.length;c+=e.slice(l)}else{c=e;for(const[l,u]of a)c.overwrite(l,l+u.length,u.items.map(d=>d.className).join(" "))}return{prefixes:Array.from(s),hasChanged:o,groupsByOffset:a,get expanded(){return c.toString()}}}function Hu(e,t=["-",":"],r=5){const n=Wu(e,t,r);return typeof e=="string"?n.expanded:e}const hi=new Set;function lc(e){hi.has(e)||(console.warn("[unocss]",e),hi.add(e))}function uc(e){return ce(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}const mi="_uno_resolved";async function Bu(e){let t=typeof e=="function"?await e():await e;if(mi in t)return t;t={...t},Object.defineProperty(t,mi,{value:!0,enumerable:!1});const r=t.shortcuts?uc(t.shortcuts):void 0;if(t.shortcuts=r,t.prefix||t.layer){const n=o=>{o[2]||(o[2]={});const i=o[2];i.prefix==null&&t.prefix&&(i.prefix=ce(t.prefix)),i.layer==null&&t.layer&&(i.layer=t.layer)};r?.forEach(n),t.rules?.forEach(n)}return t}async function fc(e){const t=await Bu(e);if(!t.presets)return[t];const r=(await Promise.all((t.presets||[]).flatMap(ce).flatMap(fc))).flat();return[t,...r]}function Ku(e){if(e.length===0)return{};const t=[],r=[];let n=!1;const o=[],i=[];for(const a of e){if(a.pipeline===!1){n=!0;break}else a.pipeline?.include&&t.push(a.pipeline.include),a.pipeline?.exclude&&r.push(a.pipeline.exclude);a.filesystem&&o.push(a.filesystem),a.inline&&i.push(a.inline)}const s={pipeline:n?!1:{include:ze(bi(...t)),exclude:ze(bi(...r))}};return o.length&&(s.filesystem=ze(o.flat())),i.length&&(s.inline=ze(i.flat())),s}async function gi(e={},t={}){const r=Object.assign({},t,e),n=di((await Promise.all((r.presets||[]).flatMap(ce).flatMap(fc))).flat(),(w,k)=>w.name===k.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({},ju,...i.map(w=>w.layers));function c(w){return ze(i.flatMap(k=>ce(k[w]||[])))}const l=c("extractors");let u=s.find(w=>w.extractorDefault!==void 0)?.extractorDefault;u===void 0&&(u=Ou),u&&!l.includes(u)&&l.unshift(u),l.sort((w,k)=>(w.order||0)-(k.order||0));const d=c("rules"),y={},m=d.length,v=d.filter(w=>qu(w)?(ce(w[2]?.prefix||"").forEach(_=>{y[_+w[0]]=w}),!1):!0).reverse(),h={templates:ze(i.flatMap(w=>ce(w.autocomplete?.templates))),extractors:i.flatMap(w=>ce(w.autocomplete?.extractors)).sort((w,k)=>(w.order||0)-(k.order||0)),shorthands:Ju(i.map(w=>w.autocomplete?.shorthands||{}))};let p=c("separators");p.length||(p=[":","-"]);const b=c("content"),f=Ku(b),g={mergeSelectors:!0,warn:!0,sortLayers:w=>w,...r,blocklist:c("blocklist"),presets:o,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:a,theme:Gu(i.map(w=>w.theme)),rules:d,rulesSize:m,rulesDynamic:v,rulesStaticMap:y,preprocess:c("preprocess"),postprocess:c("postprocess"),preflights:c("preflights"),autocomplete:h,variants:c("variants").map(Nu).sort((w,k)=>(w.order||0)-(k.order||0)),shortcuts:uc(c("shortcuts")).reverse(),extractors:l,safelist:c("safelist"),separators:p,details:r.details??r.envMode==="dev",content:f,transformers:di(c("transformers"),(w,k)=>w.name===k.name)},$=c("extendTheme");for(const w of $)g.theme=w(g.theme,g)||g.theme;for(const w of i)w?.configResolved?.(g);return g}function Gu(e){return e.map(t=>t?Ur(t):{}).reduce((t,r)=>pn(t,r),{})}function Ju(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 bi(...e){return e.flatMap(Xu)}function Xu(e){return Array.isArray(e)?e:e?[e]:[]}const Yu="66.4.2",ye={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={}){this.userConfig=t,this.defaults=r}version=Yu;events=Ru();config=void 0;cache=new Map;blocked=new Set;parentOrders=new Map;activatedRules=new Set;static async create(t={},r={}){const n=new No(t,r);return n.config=await gi(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 gi(t,this.defaults),this.events.emit("config",this.config))}async applyExtractors(t,r,n=new Set){const o={original:t,code:t,id:r,extracted:n,envMode:this.config.envMode};for(const i of this.config.extractors){const s=await i.extract?.(o);if(s)if(Rn(s)&&Rn(n))for(const a of s)n.setCount(a,n.getCount(a)+s.getCount(a));else for(const a of s)n.add(a)}return n}makeContext(t,r){const n={rawSelector:t,currentSelector:r[1],theme:this.config.theme,generator:this,symbols:ye,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);const o=this.config.preprocess.reduce((c,l)=>l(c)??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=>{const l=this.makeContext(t,[r||c[0],c[1],c[2],c[3]]);this.config.details&&(l.variants=[...c[3]]);const u=await this.expandShortcut(l.currentSelector,l);return u?await this.stringifyShortcuts(l.variantMatch,l,u[0],u[1]):(await this.parseUtil(l.variantMatch,l))?.map(y=>this.stringifyUtil(y,l)).filter(Vr)},a=(await Promise.all(i.map(c=>s(c)))).flat().filter(c=>!!c);if(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,l=le(t)?await this.applyExtractors(t,n,c?new cc:new Set):Array.isArray(t)?new Set(t):t;if(s){const _={generator:this,theme:this.config.theme};this.config.safelist.flatMap(S=>typeof S=="function"?S(_):S).forEach(S=>{const P=S.trim();P&&!l.has(P)&&l.add(P)})}const u=a?"":`
3
- `,d=new Set([qr]),y=c?new Map:new Set,m=new Map;let v={};const h=Array.from(l).map(async _=>{if(y.has(_))return;const S=await this.parseToken(_);if(S!=null){y instanceof Map?y.set(_,{data:S,count:Rn(l)?l.getCount(_):-1}):y.add(_);for(const P of S){const I=P[3]||"",L=P[4]?.layer;m.has(I)||m.set(I,[]),m.get(I).push(P),L&&d.add(L)}}});await Promise.all(h),await(async()=>{if(!i)return;const _={generator:this,theme:this.config.theme},S=new Set([]);this.config.preflights.forEach(({layer:P=uo})=>{d.add(P),S.add(P)}),v=Object.fromEntries(await Promise.all(Array.from(S).map(async P=>{const L=(await Promise.all(this.config.preflights.filter(V=>(V.layer||uo)===P).map(async V=>await V.getCSS(_)))).filter(Boolean).join(u);return[P,L]})))})();const p=this.config.sortLayers(Array.from(d).sort((_,S)=>(this.config.layers[_]??0)-(this.config.layers[S]??0)||_.localeCompare(S))),b={},f=this.config.outputToCssLayers,g=_=>{let S=_;return typeof f=="object"&&(S=f.cssLayerName?.(_)),S===null?null:S??_},$=(_=qr)=>{if(b[_])return b[_];let S=Array.from(m).sort((L,V)=>(this.parentOrders.get(L[0])??0)-(this.parentOrders.get(V[0])??0)||L[0]?.localeCompare(V[0]||"")||0).map(([L,V])=>{const z=V.length,q=V.filter(G=>(G[4]?.layer||qr)===_).sort((G,se)=>G[0]-se[0]||(G[4]?.sort||0)-(se[4]?.sort||0)||G[5]?.currentSelector?.localeCompare(se[5]?.currentSelector??"")||G[1]?.localeCompare(se[1]||"")||G[2]?.localeCompare(se[2]||"")||0).map(([,G,se,,F,,O])=>[[[(G&&ef(G,o))??"",F?.sort??0]],se,!!(O??F?.noMerge)]);if(!q.length)return;const K=q.reverse().map(([G,se,F],O)=>{if(!F&&this.config.mergeSelectors)for(let R=O+1;R<z;R++){const x=q[R];if(x&&!x[2]&&(G&&x[0]||G==null&&x[0]==null)&&x[1]===se)return G&&x[0]&&x[0].push(...G),null}const N=G?ze(G.sort((R,x)=>R[1]-x[1]||R[0]?.localeCompare(x[0]||"")||0).map(R=>R[0]).filter(Boolean)):[];return N.length?`${N.join(`,${u}`)}{${se}}`:se}).filter(Boolean),J=Array.from(new Set(K)).reverse().join(u);if(!L)return J;const ie=L.split(" $$ ");return`${ie.join("{")}{${u}${J}${u}${"}".repeat(ie.length)}`}).filter(Boolean).join(u);i&&(S=[v[_],S].filter(Boolean).join(u));let P;f&&S&&(P=g(_),P!==null&&(S=`@layer ${P}{${u}${S}${u}}`));const I=a?"":`/* layer: ${_}${P&&P!==_?`, alias: ${P}`:""} */${u}`;return b[_]=S?I+S:""},w=(_=p,S)=>{const P=_.filter(I=>!S?.includes(I));return[f&&P.length>0?`@layer ${P.map(g).filter(Vr).join(", ")};`:void 0,...P.map(I=>$(I)||"")].filter(Boolean).join(u)};return{get css(){return w()},layers:p,matched:y,getLayers:w,getLayer:$,setLayer:async(_,S)=>{const P=await S($(_));return b[_]=P,P}}}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 l=i[1];for(const u of this.config.variants){if(!u.multiPass&&c.has(u))continue;let d=await u.match(l,n);if(d){if(le(d)){if(d===l)continue;d={matcher:d}}if(Array.isArray(d)){if(!d.length)continue;if(d.length===1)d=d[0];else{if(u.multiPass)throw new Error("multiPass can not be used together with array return variants");const y=d.map(m=>{const v=m.matcher??l,h=[m,...a],p=new Set(c);return p.add(u),[i[0],v,h,p]});return(await Promise.all(y.map(m=>o(m)))).flat()}}i[1]=d.matcher??l,a.unshift(d),c.add(u),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((l,u)=>(l.order||0)-(u.order||0)).reduceRight((l,u)=>d=>{const y=u.body?.(d.entries)||d.entries,m=Array.isArray(u.parent)?u.parent:[u.parent,void 0],v=u.selector?.(d.selector,y);return(u.handle??tf)({...d,entries:y,selector:v||d.selector,parent:m[0]||d.parent,parentOrder:m[1]||d.parentOrder,layer:u.layer||d.layer,sort:u.sort||d.sort},l)},l=>l)({prefix:"",selector:pc(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 l of this.config.postprocess)l(c);return c}constructCustomCSS(t,r,n){const o=Zr(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}{${Tn(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,l,u])=>{this.config.details&&(r.rules=r.rules??[]);const d={...r,variantHandlers:u},y=this.config.rulesStaticMap[l];if(y&&y[1]&&(n||!y[2]?.internal))return this.resolveCSSResult(c,y[1],y,d);for(const m of this.config.rulesDynamic){const[v,h,p]=m;if(p?.internal&&!n)continue;let b=l;if(p?.prefix){const w=ce(p.prefix);if(o){const k=ce(o);if(!w.some(_=>k.includes(_)))continue}else{const k=w.find(_=>l.startsWith(_));if(k==null)continue;b=l.slice(k.length)}}const f=b.match(v);if(!f)continue;let g=await h(f,d);if(!g)continue;if(typeof g!="string")if(Symbol.asyncIterator in g){const w=[];for await(const k of g)k&&w.push(k);g=w}else Symbol.iterator in g&&!Array.isArray(g)&&(g=Array.from(g).filter(Vr));const $=this.resolveCSSResult(c,g,m,d);if($)return $}},a=(await Promise.all(i.map(c=>s(c)))).flat().filter(c=>!!c);if(a.length)return a}resolveCSSResult=(t,r,n,o)=>{const i=Lu(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 l=o.variantHandlers,u=a;for(const d of c)d[0]===ye.variants?typeof d[1]=="function"?l=d[1](l)||l:l=[...ce(d[1]),...l]:d[0]===ye.parent?l=[{parent:d[1]},...l]:d[0]===ye.selector?l=[{selector:d[1]},...l]:d[0]===ye.layer?l=[{layer:d[1]},...l]:d[0]===ye.sort?u={...u,sort:d[1]}:d[0]===ye.noMerge&&(u={...u,noMerge:d[1]});return[s,t,c,u,l]})}};stringifyUtil(t,r){if(!t)return;if(pi(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),l=Tn(o);if(!l)return;const{layer:u,sort:d,...y}=t[3]??{},m={...y,layer:s??u,sort:a??d};return[t[0],n,l,i,m,this.config.details?r:void 0,c]}async expandShortcut(t,r,n=5){if(n===0)return;const o=this.config.details?l=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(l)}:Iu;let i,s,a,c;for(const l of this.config.shortcuts){let u=t;if(l[2]?.prefix){const y=ce(l[2].prefix).find(m=>t.startsWith(m));if(y==null)continue;u=t.slice(y.length)}if(Vu(l)){if(l[0]===u){i=i||l[2],s=l[1],o(l);break}}else{const d=u.match(l[0]);if(d&&(s=l[1](d,r)),s){i=i||l[2],o(l);break}}}if(s&&(a=ze(ce(s).filter(le).map(l=>Hu(l.trim()).split(/\s+/g)).flat()),c=ce(s).filter(l=>!le(l)).map(l=>({handles:[],value:l}))),!s){const l=le(t)?await this.matchVariants(t):[t];for(const u of l){const[d,y,m]=u;if(d!==y){const v=await this.expandShortcut(y,r,n-1);v&&(a=v[0].filter(le).map(h=>d.replace(y,h)),c=v[0].filter(h=>!le(h)).map(h=>({handles:[...h.handles,...m],value:h.value})))}}}if(!(!a?.length&&!c?.length))return[[await Promise.all(ce(a).map(async l=>(await this.expandShortcut(l,r,n-1))?.[0]||[l])),c].flat(2).filter(l=>!!l),i]}async stringifyShortcuts(t,r,n,o={layer:this.config.shortcutsLayer}){const i=new Fu,s=(await Promise.all(ze(n).map(async u=>{const d=le(u)?await this.parseUtil(u,r,!0,o.prefix):[[Number.POSITIVE_INFINITY,"{inline}",Zr(u.value),void 0,u.handles]];return!d&&this.config.warn&&lc(`unmatched utility "${u}" in shortcut "${t[1]}"`),d||[]}))).flat(1).filter(Boolean).sort((u,d)=>u[0]-d[0]),[a,,c]=t,l=[];for(const u of s){if(pi(u)){l.push([u[0],void 0,u[1],void 0,u[2],r,void 0]);continue}const{selector:d,entries:y,parent:m,sort:v,noMerge:h,layer:p}=this.applyVariants(u,[...u[4],...c],a);i.getFallback(p??o.layer,new zu).getFallback(d,m,[[],u[0]])[0].push([y,!!(h??u[3]?.noMerge),v??0])}return l.concat(i.flatMap((u,d)=>u.map(([y,m],v,h)=>{const p=(f,g,$)=>{const w=Math.max(...$.map(_=>_[1])),k=$.map(_=>_[0]);return(f?[k.flat(1)]:k).map(_=>{const S=Tn(_);if(S)return[m,v,S,h,{...o,noMerge:g,sort:w,layer:d},r,void 0]})};return[[y.filter(([,f])=>f).map(([f,,g])=>[f,g]),!0],[y.filter(([,f])=>!f).map(([f,,g])=>[f,g]),!1]].map(([f,g])=>[...p(!1,g,f.filter(([$])=>$.some(w=>w[0]===ye.shortcutsNoMerge))),...p(!0,g,f.filter(([$])=>$.every(w=>w[0]!==ye.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 Zu(e,t){return await No.create(e,t)}const dc=/\s\$\$\s+/g;function Qu(e){return dc.test(e)}function ef(e,t){return Qu(e)?e.replace(dc,t?` ${t} `:" "):t?`${t} ${e}`:e}const yi=/^\[(.+?)(~?=)"(.*)"\]$/;function pc(e){return yi.test(e)?e.replace(yi,(t,r,n,o)=>`[${An(r)}${n}"${An(o)}"]`):`.${An(e)}`}function tf(e,t){return t(e)}var rf={};function nf(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?.length)return`${c}${a?":i":""}`;let l=s.map(d=>d.toString());return!l.some(d=>d.endsWith("i"))&&a&&(l=l.map(d=>d+="i")),`${c}:${l.join(",")}`});return`${t}/css?family=${n.join("|")}&display=swap`}}}const of=nf("bunny","https://fonts.bunny.net");function sf(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=>{let s=i.name.replace(/\s+/g,"+");return i.weights?.length&&(s+=i.italic?`:ital,wght@${n(i.weights.map(a=>[`0,${a}`,`1,${a}`]))}`:`:wght@${i.weights.join(";")}`),`family=${s}`}).join("&");return`${t}/css2?${o}&display=swap`}}}const af=sf("coollabs","https://api.fonts.coollabs.io"),cf=lf("fontshare","https://api.fontshare.com");function lf(e,t){return{name:e,getImportUrl(r){const n=r.map(o=>{let i=o.name.replace(/\s+/g,"-").toLocaleLowerCase();return o.weights?.length?i+=`@${o.weights.flatMap(s=>o.italic?Number(s)+1:s).sort().join()}`:i+=`@${o.italic?2:1}`,`f[]=${i}`}).join("&");return`${t}/v2/css?${n}&display=swap`}}}function uf(e,t){const r=new Map,n=new Map;return{name:e,async getPreflight(o,i){return(await Promise.all(o.map(async a=>{const c=[],l=a.name.toLowerCase().replace(/\s+/g,"-");let u=r.get(l);if(!u){const b=`https://api.fontsource.org/v1/fonts/${l}`;try{u=await i(b),r.set(l,u)}catch{throw new Error(`Failed to fetch font: ${a.name}`)}}const{weights:d,unicodeRange:y,variants:m,family:v}=u,h=u.subsets.filter(b=>a.subsets?a.subsets.includes(b):!0),p=a.italic?"italic":"normal";if(u.variable&&!a.preferStatic){let b=n.get(l);const f=`https://api.fontsource.org/v1/variable/${l}`;try{b=await i(f),n.set(l,b)}catch{throw new Error(`Failed to fetch font variable: ${a.name}`)}const g=pn(b.axes,a.variable??{});for(const $ of h)if(y[$]){const w=`${t}/fontsource/fonts/${u.id}:vf@latest/${$}-wght-${p}.woff2`,k={family:v,display:"swap",style:p,weight:400,src:[{url:w,format:"woff2-variations"}],variable:{wght:g.wght??void 0,wdth:g.wdth??void 0,slnt:g.slnt??void 0},unicodeRange:y[$],comment:`${u.id}-${$}-wght-normal`};c.push(Mn(k))}else Object.entries(y).filter(([w])=>!u.subsets.includes(w)).forEach(([w,k])=>{const _=`${t}/fontsource/fonts/${u.id}:vf@latest/${w.slice(1,-1)}-wght-${p}.woff2`,S={family:v,display:"swap",style:p,weight:400,src:[{url:_,format:"woff2-variations"}],variable:{wght:g.wght??void 0,wdth:g.wdth??void 0,slnt:g.slnt??void 0},unicodeRange:k,comment:`${u.id}-${w}-wght-normal`};c.push(Mn(S))})}else{const b=a.weights&&a.weights.length>0?a.weights:d;for(const f of h)for(const g of b){const $=m[g][p][f].url,w={family:v,display:"swap",style:p,weight:Number(g),src:[{url:$.woff2,format:"woff2"}],unicodeRange:y[f],comment:`${u.id}-${f}-${g}-${p}`};c.push(Mn(w))}}return c}))).flat().join(`
4
-
5
- `)}}}const ff=uf("fontsource","https://cdn.jsdelivr.net");function Mn(e){const{family:t,style:r,display:n,weight:o,variable:i,src:s,unicodeRange:a,comment:c,spacer:l=`
6
- `}=e,{wght:u,wdth:d,slnt:y}=i??{};let m="@font-face {";return m+=`${l}font-family: '${t}';`,m+=`${l}font-style: ${y?`oblique ${Number(y.max)*-1}deg ${Number(y.min)*-1}deg`:r};`,m+=`${l}font-display: ${n};`,m+=`${l}font-weight: ${u?df(u):o};`,d&&(m+=`${l}font-stretch: ${d.min}% ${d.max}%;`),m+=`${l}src: ${s.map(({url:v,format:h})=>`url(${v}) format('${h}')`).join(", ")};`,a&&(m+=`${l}unicode-range: ${a};`),c&&(m=`/* ${c} */
7
- ${m}`),`${m}
8
- }`}function df(e){return e?e.min===e.max?`${e.min}`:`${e.min} ${e.max}`:"400"}function pf(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=>{let s=i.name.replace(/\s+/g,"+");return i.weights?.length&&(s+=i.italic?`:ital,wght@${n(i.weights.map(a=>[`0,${a}`,`1,${a}`]))}`:`:wght@${i.weights.join(";")}`),`family=${s}`}).join("&");return`${t}/css2?${o}&display=swap`}}}const hf=pf("google","https://fonts.googleapis.com"),mf={name:"none",getPreflight(){return""},getFontName(e){return e.name}},gf={google:hf,bunny:of,fontshare:cf,fontsource:ff,coollabs:af,none:mf};function vi(e){return typeof e=="string"?gf[e]:e}function bf(e,t){if(typeof e!="string")return e.provider=vi(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:vi(t)}}function yf(e){return(t={})=>{const{provider:r="google",extendTheme:n=!0,inlineImports:o=!0,customFetch:i=e,timeouts:s={}}=t,a="fonts",c=o?a:sc,l=ce(t.processors||[]),u=Object.fromEntries(Object.entries(t.fonts||{}).map(([f,g])=>[f,ce(g).map($=>bf($,r))])),d=Object.values(u).flatMap(f=>f),y={};async function m(f){if(s===!1)return i(f);const{warning:g=1e3,failure:$=2e3}=s;let w=!1;const k=setTimeout(()=>{console.warn(`[unocss] Fetching web fonts: ${f}`),w=!0},g);return await Promise.race([i(f),new Promise((_,S)=>{setTimeout(()=>S(new Error("[unocss] Fetch web fonts timeout.")),$)})]).then(_=>(w&&console.info("[unocss] Web fonts fetched."),_)).finally(()=>clearTimeout(k))}async function v(f){return o?(y[f]||(y[f]=m(f).catch(g=>{if(console.error(`[unocss] Failed to fetch web fonts: ${f}`),console.error(g),typeof process<"u"&&rf.CI)throw g})),await y[f]):`@import url('${f}');`}const h=Array.from(new Set(d.map(f=>f.provider)));async function p(f,g){const $=[];for(const k of g){const _=f.filter(S=>S.provider.name===k.name);if(k.getImportUrl){const S=k.getImportUrl(_);S&&$.push(await v(S))}$.push(await k.getPreflight?.(_,m))}return $.filter(Boolean).join(`
9
- `)}const b={name:"@unocss/preset-web-fonts",preflights:[{async getCSS(){let f;for(const g of l){const $=await g.getCSS?.(d,h,p);if($){f=$;break}}f||(f=await p(d,h));for(const g of l)f=await g.transformCSS?.(f)||f;return f},layer:c}],layers:{[a]:-200}};return n&&(b.extendTheme=(f,g)=>{const $=g.presets.some(_=>_.name==="@unocss/preset-wind4"),w=t.themeKey??($?"font":"fontFamily");f[w]||(f[w]={});const k=Object.fromEntries(Object.entries(u).map(([_,S])=>[_,S.map(P=>P.provider.getFontName?.(P)??`"${P.name}"`)]));for(const _ of Object.keys(k))typeof f[w][_]=="string"?f[w][_]=k[_].map(S=>`${S},`).join("")+f[w][_]:f[w][_]=k[_].join(",")}),b}}const vf="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",$f=async e=>(await pt(async()=>{const{$fetch:t}=await import("./index-BYrZTLvo.js");return{$fetch:t}},[],import.meta.url)).$fetch(e,{headers:{"User-Agent":vf},retry:3}),wf=yf($f);function kf(e){return e.replace(/-(\w)/g,(t,r)=>r?r.toUpperCase():"")}function $i(e){return e.charAt(0).toUpperCase()+e.slice(1)}function wi(e){return e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var ki=["Webkit","Moz","ms"];function _f(e){const t={};function r(n){const o=t[n];if(o)return o;let i=kf(n);if(i!=="filter"&&i in e)return t[n]=wi(i);i=$i(i);for(let s=0;s<ki.length;s++){const a=`${ki[s]}${i}`;if(a in e)return t[n]=wi($i(a))}return n}return({entries:n})=>n.forEach(o=>{o[0].startsWith("--")||(o[0]=r(o[0]))})}function xf(e){return e.replace(/&amp;/g,"&").replace(/&gt;/g,">").replace(/&lt;/g,"<")}async function Sf(e={}){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=ce(s.postprocess)).unshift(_f(r.createElement("div").style)),i.configResolved?.(o,s);const c=await Zu(o,s),l=z=>i.inject?i.inject(z):n().prepend(z),u=()=>i.rootElement?i.rootElement():r.body,d=new Map;let y=!0;const m=new Set;let v,h,p=[];const b=()=>new Promise(z=>{p.push(z),h!=null&&clearTimeout(h),h=setTimeout(()=>$().then(()=>{const q=p;p=[],q.forEach(K=>K())}),0)});function f(z,q=!1){if(z.nodeType!==1)return;const K=z;K.hasAttribute(a)&&K.removeAttribute(a),q&&K.querySelectorAll(`[${a}]`).forEach(J=>{J.removeAttribute(a)})}function g(z,q){let K=d.get(z);if(!K)if(K=r.createElement("style"),K.setAttribute("data-unocss-runtime-layer",z),d.set(z,K),q==null)l(K);else{const J=g(q),ie=J.parentNode;ie?ie.insertBefore(K,J.nextSibling):l(K)}return K}async function $(){const z=[...m],q=await c.generate(z);return q.layers.reduce((J,ie)=>(g(ie,J).innerHTML=q.getLayer(ie)??"",ie),void 0),z.filter(J=>!q.matched.has(J)).forEach(J=>m.delete(J)),{...q,getStyleElement:J=>d.get(J),getStyleElements:()=>d}}async function w(z){const q=m.size;await c.applyExtractors(z,void 0,m),q!==m.size&&await b()}async function k(z=u()){const q=z&&z.outerHTML;q&&(await w(`${q} ${xf(q)}`),f(n()),f(z,!0))}const _=new MutationObserver(z=>{y||z.forEach(async q=>{if(q.target.nodeType!==1)return;const K=q.target;for(const J of d)if(K===J[1])return;if(q.type==="childList")q.addedNodes.forEach(async J=>{if(J.nodeType!==1)return;const ie=J;v&&!v(ie)||(await w(ie.outerHTML),f(ie))});else{if(v&&!v(K))return;if(q.attributeName!==a){const J=Array.from(K.attributes).map(G=>G.value?`${G.name}="${G.value}"`:G.name).join(" "),ie=`<${K.tagName.toLowerCase()} ${J}>`;await w(ie)}f(K)}})});let S=!1;function P(){if(S)return;const z=i.observer?.target?i.observer.target():u();z&&(_.observe(z,{childList:!0,subtree:!0,attributes:!0,attributeFilter:i.observer?.attributeFilter}),S=!0)}function I(){i.bypassDefined&&Ef(c.blocked),k(),P()}function L(){r.readyState==="loading"?t.addEventListener("DOMContentLoaded",I):I()}const V=t.__unocss_runtime=t.__unocss_runtime={version:c.version,uno:c,async extract(z){le(z)||(z.forEach(q=>m.add(q)),z=""),await w(z)},extractAll:k,inspect(z){v=z},toggleObserver(z){z===void 0?y=!y:y=!!z,!S&&!y&&L()},update:$,presets:t.__unocss_runtime?.presets??{}};i.ready?.(V)!==!1&&(y=!1,L())}function Ef(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=>o.selectorText?.split(/,/g)||[]).forEach(o=>{o&&(o=o.trim(),o.startsWith(".")&&(o=o.slice(1)),e.add(o))})}catch{continue}}return e}function hn(e){return Pl()?(Ol(e),!0):!1}function _i(e){if(!Ft(e))return We(e);const t=new Proxy({},{get(r,n,o){return Ka(Reflect.get(e.value,n,o))},set(r,n,o){return Ft(e.value[n])&&!Ft(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 We(t)}const hc=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const mc=e=>e!=null,Cf=Object.prototype.toString,jf=e=>Cf.call(e)==="[object Object]",Ue=()=>{};function gc(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 Pf(e,t={}){let r,n,o=Ue;const i=c=>{clearTimeout(c),o(),o=Ue};let s;return c=>{const l=be(e),u=be(t.maxWait);return r&&i(r),l<=0||u!==void 0&&u<=0?(n&&(i(n),n=void 0),Promise.resolve(c())):new Promise((d,y)=>{o=t.rejectOnCancel?y:d,s=c,u&&!n&&(n=setTimeout(()=>{r&&i(r),n=void 0,d(s())},u)),r=setTimeout(()=>{n&&i(n),n=void 0,d(c())},l)})}}function Of(...e){let t=0,r,n=!0,o=Ue,i,s,a,c,l;!Ft(e[0])&&typeof e[0]=="object"?{delay:s,trailing:a=!0,leading:c=!0,rejectOnCancel:l=!1}=e[0]:[s,a=!0,c=!0,l=!1]=e;const u=()=>{r&&(clearTimeout(r),r=void 0,o(),o=Ue)};return y=>{const m=be(s),v=Date.now()-t,h=()=>i=y();return u(),m<=0?(t=Date.now(),h()):(v>m&&(c||!n)?(t=Date.now(),h()):a&&(i=new Promise((p,b)=>{o=l?b:p,r=setTimeout(()=>{t=Date.now(),n=!0,p(h()),u()},Math.max(0,m-v))})),!c&&!r&&(r=setTimeout(()=>n=!0,m)),n=!1,i)}}function Lt(e){return Array.isArray(e)?e:[e]}function Rf(e){return Ro()}function Af(e,t=200,r={}){return gc(Pf(t,r),e)}function Tf(e,t=200,r=!1,n=!0,o=!1){return gc(Of(t,r,n,o),e)}function bc(e,t=!0,r){Rf()?Ao(e,r):t?e():To(e)}function Mf(e,t,r){return Re(e,t,{...r,immediate:!0})}const mn=hc?window:void 0,Nf=hc?window.document:void 0;function mt(e){var t;const r=be(e);return(t=r?.$el)!=null?t:r}function xi(...e){const t=[],r=()=>{t.forEach(a=>a()),t.length=0},n=(a,c,l,u)=>(a.addEventListener(c,l,u),()=>a.removeEventListener(c,l,u)),o=pe(()=>{const a=Lt(be(e[0])).filter(c=>c!=null);return a.every(c=>typeof c!="string")?a:void 0}),i=Mf(()=>{var a,c;return[(c=(a=o.value)==null?void 0:a.map(l=>mt(l)))!=null?c:[mn].filter(l=>l!=null),Lt(be(o.value?e[1]:e[0])),Lt(Ka(o.value?e[2]:e[1])),be(o.value?e[3]:e[2])]},([a,c,l,u])=>{if(r(),!a?.length||!c?.length||!l?.length)return;const d=jf(u)?{...u}:u;t.push(...a.flatMap(y=>c.flatMap(m=>l.map(v=>n(y,m,v,d)))))},{flush:"post"}),s=()=>{i(),r()};return hn(r),s}function If(){const e=Je(!1),t=Ro();return t&&Ao(()=>{e.value=!0},t),e}function yc(e){const t=If();return pe(()=>(t.value,!!e()))}function zf(e,t,r={}){const{window:n=mn,...o}=r;let i;const s=yc(()=>n&&"MutationObserver"in n),a=()=>{i&&(i.disconnect(),i=void 0)},c=pe(()=>{const y=be(e),m=Lt(y).map(mt).filter(mc);return new Set(m)}),l=Re(c,y=>{a(),s.value&&y.size&&(i=new MutationObserver(t),y.forEach(m=>i.observe(m,o)))},{immediate:!0,flush:"post"}),u=()=>i?.takeRecords(),d=()=>{l(),a()};return hn(d),{isSupported:s,stop:d,takeRecords:u}}function Cv(e,t,r={}){const{root:n,rootMargin:o="0px",threshold:i=0,window:s=mn,immediate:a=!0}=r,c=yc(()=>s&&"IntersectionObserver"in s),l=pe(()=>{const v=be(e);return Lt(v).map(mt).filter(mc)});let u=Ue;const d=Je(a),y=c.value?Re(()=>[l.value,mt(n),d.value],([v,h])=>{if(u(),!d.value||!v.length)return;const p=new IntersectionObserver(t,{root:mt(h),rootMargin:o,threshold:i});v.forEach(b=>b&&p.observe(b)),u=()=>{p.disconnect(),u=Ue}},{immediate:a,flush:"post"}):Ue,m=()=>{u(),y(),d.value=!1};return hn(m),{isSupported:c,isActive:d,pause(){u(),d.value=!1},resume(){d.value=!0},stop:m}}const Si=1;function jv(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},observe:a={mutation:!1},eventListenerOptions:c={capture:!1,passive:!0},behavior:l="auto",window:u=mn,onError:d=P=>{console.error(P)}}=t,y=typeof a=="boolean"?{mutation:a}:a,m=Je(0),v=Je(0),h=pe({get(){return m.value},set(P){b(P,void 0)}}),p=pe({get(){return v.value},set(P){b(void 0,P)}});function b(P,I){var L,V,z,q;if(!u)return;const K=be(e);if(!K)return;(z=K instanceof Document?u.document.body:K)==null||z.scrollTo({top:(L=be(I))!=null?L:p.value,left:(V=be(P))!=null?V:h.value,behavior:be(l)});const J=((q=K?.document)==null?void 0:q.documentElement)||K?.documentElement||K;h!=null&&(m.value=J.scrollLeft),p!=null&&(v.value=J.scrollTop)}const f=Je(!1),g=We({left:!0,right:!1,top:!0,bottom:!1}),$=We({left:!1,right:!1,top:!1,bottom:!1}),w=P=>{f.value&&(f.value=!1,$.left=!1,$.right=!1,$.top=!1,$.bottom=!1,o(P))},k=Af(w,r+n),_=P=>{var I;if(!u)return;const L=((I=P?.document)==null?void 0:I.documentElement)||P?.documentElement||mt(P),{display:V,flexDirection:z,direction:q}=getComputedStyle(L),K=q==="rtl"?-1:1,J=L.scrollLeft;$.left=J<m.value,$.right=J>m.value;const ie=Math.abs(J*K)<=(s.left||0),G=Math.abs(J*K)+L.clientWidth>=L.scrollWidth-(s.right||0)-Si;V==="flex"&&z==="row-reverse"?(g.left=G,g.right=ie):(g.left=ie,g.right=G),m.value=J;let se=L.scrollTop;P===u.document&&!se&&(se=u.document.body.scrollTop),$.top=se<v.value,$.bottom=se>v.value;const F=Math.abs(se)<=(s.top||0),O=Math.abs(se)+L.clientHeight>=L.scrollHeight-(s.bottom||0)-Si;V==="flex"&&z==="column-reverse"?(g.top=O,g.bottom=F):(g.top=F,g.bottom=O),v.value=se},S=P=>{var I;if(!u)return;const L=(I=P.target.documentElement)!=null?I:P.target;_(L),f.value=!0,k(P),i(P)};return xi(e,"scroll",r?Tf(S,r,!0,!1):S,c),bc(()=>{try{const P=be(e);if(!P)return;_(P)}catch(P){d(P)}}),y?.mutation&&e!=null&&e!==u&&e!==document&&zf(e,()=>{const P=be(e);P&&_(P)},{attributes:!0,childList:!0,subtree:!0}),xi(e,"scrollend",w,c),{x:h,y:p,isScrolling:f,arrivedState:g,directions:$,measure(){const P=be(e);u&&P&&_(P)}}}let Ff=0;function Lf(e,t={}){const r=Je(!1),{document:n=Nf,immediate:o=!0,manual:i=!1,id:s=`vueuse_styletag_${++Ff}`}=t,a=Je(e);let c=()=>{};const l=()=>{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=Re(a,y=>{d.textContent=y},{immediate:!0}),r.value=!0)},u=()=>{!n||!r.value||(c(),n.head.removeChild(n.getElementById(s)),r.value=!1)};return o&&!i&&bc(l),i||hn(u),{id:s,css:a,unload:u,load:l,isLoaded:Rl(r)}}const Df=(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 l={[t]:{get(){const m=[this];for(;m[0]?.[s];)m.unshift(m[0][s]);return m}},[o]:{get(){return this[c].findIndex(m=>this[n]===m[n])}},[i]:{get(){return this[c][this[o]+1]}},[a]:{get(){return this[c][this[o]-1]}}},u=(m,v={})=>m.value.flatMap(h=>(Object.defineProperties(h,{...l,[s]:v,[c]:m}),[h,...u({configurable:!0,value:h[r]??[]},{configurable:!0,value:h})])),d=pe(()=>u({value:Al(e)?e:We(e)})),y=_i(pe(()=>Object.fromEntries(d.value.map(m=>[m[n],m]))));return{add:m=>{const v=y[m];if(v){const h=v[r],p=URL.createObjectURL(new Blob),b=p.split("/").pop()??crypto.randomUUID(),f=v[o],g=v[c];switch(URL.revokeObjectURL(p),!0){case!!v[s]:g.splice(f+1,0,{[n]:b});break;case!!h:h.unshift({[n]:b});break;default:g.splice(f+1,0,{[n]:b});break}return b}},arrLeaves:_i(d),down:m=>{const v=y[m];if(v){const h=v[o],p=h+1,b=v[c];h<b.length-1&&b[h]&&b[p]&&([b[h],b[p]]=[b[p],b[h]])}},leaves:d,left:m=>{const v=y[m];if(v){const h=v[s];if(h?.[s]){const p=h[r]??[];return h[c].splice(h[o]+1,0,...p.splice(v[o],1)),h[n]}}},objLeaves:y,remove:m=>{const v=y[m];if(v){const h=v[s];if(h){const[p]=d.value,b=v[i],f=v[a],g=b?.[n]??f?.[n]??h[n]??p?.[n];return v[c].splice(v[o],1),g}}},right:m=>{const v=y[m];if(v){const h=v[a];if(h){const p=h[r]??[],b=h[n],f=v[c];return h[r]=[...p,...f.splice(v[o],1)],b}}},up:m=>{const v=y[m];if(v){const h=v[o],p=h-1,b=v[c];h&&b[h]&&b[p]&&([b[p],b[h]]=[b[h],b[p]])}}}};var Zt={exports:{}},Nn={},Fe={},Ze={},In={},zn={},Fn={},Ei;function Qr(){return Ei||(Ei=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((g,$)=>`${g}${$}`,"")}get names(){var f;return(f=this._names)!==null&&f!==void 0?f:this._names=this._items.reduce((g,$)=>($ instanceof r&&(g[$.str]=(g[$.str]||0)+1),g),{})}}e._Code=n,e.nil=new n("");function o(b,...f){const g=[b[0]];let $=0;for(;$<f.length;)a(g,f[$]),g.push(b[++$]);return new n(g)}e._=o;const i=new n("+");function s(b,...f){const g=[m(b[0])];let $=0;for(;$<f.length;)g.push(i),a(g,f[$]),g.push(i,m(b[++$]));return c(g),new n(g)}e.str=s;function a(b,f){f instanceof n?b.push(...f._items):f instanceof r?b.push(f):b.push(d(f))}e.addCodeArg=a;function c(b){let f=1;for(;f<b.length-1;){if(b[f]===i){const g=l(b[f-1],b[f+1]);if(g!==void 0){b.splice(f-1,3,g);continue}b[f++]="+"}f++}}function l(b,f){if(f==='""')return b;if(b==='""')return f;if(typeof b=="string")return f instanceof r||b[b.length-1]!=='"'?void 0:typeof f!="string"?`${b.slice(0,-1)}${f}"`:f[0]==='"'?b.slice(0,-1)+f.slice(1):void 0;if(typeof f=="string"&&f[0]==='"'&&!(b instanceof r))return`"${b}${f.slice(1)}`}function u(b,f){return f.emptyStr()?b:b.emptyStr()?f:s`${b}${f}`}e.strConcat=u;function d(b){return typeof b=="number"||typeof b=="boolean"||b===null?b:m(Array.isArray(b)?b.join(","):b)}function y(b){return new n(m(b))}e.stringify=y;function m(b){return JSON.stringify(b).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}e.safeStringify=m;function v(b){return typeof b=="string"&&e.IDENTIFIER.test(b)?new n(`.${b}`):o`[${b}]`}e.getProperty=v;function h(b){if(typeof b=="string"&&e.IDENTIFIER.test(b))return new n(`${b}`);throw new Error(`CodeGen: invalid export name: ${b}, use explicit $id name mapping`)}e.getEsmExportName=h;function p(b){return new n(b.toString())}e.regexpCode=p})(Fn)),Fn}var Ln={},Ci;function ji(){return Ci||(Ci=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(l){super(`CodeGen: "code" for ${l} not defined`),this.value=l.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:l,parent:u}={}){this._names={},this._prefixes=l,this._parent=u}toName(l){return l instanceof t.Name?l:this.name(l)}name(l){return new t.Name(this._newName(l))}_newName(l){const u=this._names[l]||this._nameGroup(l);return`${l}${u.index++}`}_nameGroup(l){var u,d;if(!((d=(u=this._parent)===null||u===void 0?void 0:u._prefixes)===null||d===void 0)&&d.has(l)||this._prefixes&&!this._prefixes.has(l))throw new Error(`CodeGen: prefix "${l}" is not allowed in this scope`);return this._names[l]={prefix:l,index:0}}}e.Scope=o;class i extends t.Name{constructor(l,u){super(u),this.prefix=l}setValue(l,{property:u,itemIndex:d}){this.value=l,this.scopePath=(0,t._)`.${new t.Name(u)}[${d}]`}}e.ValueScopeName=i;const s=(0,t._)`\n`;class a extends o{constructor(l){super(l),this._values={},this._scope=l.scope,this.opts={...l,_n:l.lines?s:t.nil}}get(){return this._scope}name(l){return new i(l,this._newName(l))}value(l,u){var d;if(u.ref===void 0)throw new Error("CodeGen: ref must be passed in value");const y=this.toName(l),{prefix:m}=y,v=(d=u.key)!==null&&d!==void 0?d:u.ref;let h=this._values[m];if(h){const f=h.get(v);if(f)return f}else h=this._values[m]=new Map;h.set(v,y);const p=this._scope[m]||(this._scope[m]=[]),b=p.length;return p[b]=u.ref,y.setValue(u,{property:m,itemIndex:b}),y}getValue(l,u){const d=this._values[l];if(d)return d.get(u)}scopeRefs(l,u=this._values){return this._reduceValues(u,d=>{if(d.scopePath===void 0)throw new Error(`CodeGen: name "${d}" has no value`);return(0,t._)`${l}${d.scopePath}`})}scopeCode(l=this._values,u,d){return this._reduceValues(l,y=>{if(y.value===void 0)throw new Error(`CodeGen: name "${y}" has no value`);return y.value.code},u,d)}_reduceValues(l,u,d={},y){let m=t.nil;for(const v in l){const h=l[v];if(!h)continue;const p=d[v]=d[v]||new Map;h.forEach(b=>{if(p.has(b))return;p.set(b,n.Started);let f=u(b);if(f){const g=this.opts.es5?e.varKinds.var:e.varKinds.const;m=(0,t._)`${m}${g} ${b} = ${f};${this.opts._n}`}else if(f=y?.(b))m=(0,t._)`${m}${f}${this.opts._n}`;else throw new r(b);p.set(b,n.Completed)})}return m}}e.ValueScope=a})(Ln)),Ln}var Pi;function ee(){return Pi||(Pi=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=ji();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=ji();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,W=this.rhs===void 0?"":` = ${this.rhs}`;return`${T} ${this.name}${W};`+E}optimizeNames(x,E){if(x[this.name.str])return this.rhs&&(this.rhs=q(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=q(this.rhs,x,E),this}get names(){const x=this.lhs instanceof t.Name?{}:{...this.lhs.names};return z(x,this.rhs)}}class c extends a{constructor(x,E,T,W){super(x,T,W),this.op=E}render({_n:x}){return`${this.lhs} ${this.op}= ${this.rhs};`+x}}class l extends i{constructor(x){super(),this.label=x,this.names={}}render({_n:x}){return`${this.label}:`+x}}class u 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 y 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=q(this.code,x,E),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}}class m 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 W=T.length;for(;W--;){const B=T[W];B.optimizeNames(x,E)||(K(x,B.names),T.splice(W,1))}return T.length>0?this:void 0}get names(){return this.nodes.reduce((x,E)=>V(x,E.names),{})}}class v extends m{render(x){return"{"+x._n+super.render(x)+"}"+x._n}}class h extends m{}class p extends v{}p.kind="else";class b extends v{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 b?E:E.nodes:this.nodes.length?this:new b(J(x),E instanceof b?[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=q(this.condition,x,E),this}get names(){const x=super.names;return z(x,this.condition),this.else&&V(x,this.else.names),x}}b.kind="if";class f extends v{}f.kind="for";class g 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=q(this.iteration,x,E),this}get names(){return V(super.names,this.iteration.names)}}class $ extends f{constructor(x,E,T,W){super(),this.varKind=x,this.name=E,this.from=T,this.to=W}render(x){const E=x.es5?r.varKinds.var:this.varKind,{name:T,from:W,to:B}=this;return`for(${E} ${T}=${W}; ${T}<${B}; ${T}++)`+super.render(x)}get names(){const x=z(super.names,this.from);return z(x,this.to)}}class w extends f{constructor(x,E,T,W){super(),this.loop=x,this.varKind=E,this.name=T,this.iterable=W}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=q(this.iterable,x,E),this}get names(){return V(super.names,this.iterable.names)}}class k extends v{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)}}k.kind="func";class _ extends m{render(x){return"return "+super.render(x)}}_.kind="return";class S extends v{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,W;return super.optimizeNames(x,E),(T=this.catch)===null||T===void 0||T.optimizeNames(x,E),(W=this.finally)===null||W===void 0||W.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 P extends v{constructor(x){super(),this.error=x}render(x){return`catch(${this.error})`+super.render(x)}}P.kind="catch";class I extends v{render(x){return"finally"+super.render(x)}}I.kind="finally";class L{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,W){const B=this._scope.toName(E);return T!==void 0&&W&&(this._constants[B.str]=T),this._leafNode(new s(x,B,T)),B}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 y(x)),this}object(...x){const E=["{"];for(const[T,W]of x)E.length>1&&E.push(","),E.push(T),(T!==W||this.opts.es5)&&(E.push(":"),(0,t.addCodeArg)(E,W));return E.push("}"),new t._Code(E)}if(x,E,T){if(this._blockNode(new b(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 b(x))}else(){return this._elseNode(new p)}endIf(){return this._endBlockNode(b,p)}_for(x,E){return this._blockNode(x),E&&this.code(E).endFor(),this}for(x,E){return this._for(new g(x),E)}forRange(x,E,T,W,B=this.opts.es5?r.varKinds.var:r.varKinds.let){const ne=this._scope.toName(x);return this._for(new $(B,ne,E,T),()=>W(ne))}forOf(x,E,T,W=r.varKinds.const){const B=this._scope.toName(x);if(this.opts.es5){const ne=E instanceof t.Name?E:this.var("_arr",E);return this.forRange("_i",0,(0,t._)`${ne}.length`,te=>{this.var(B,(0,t._)`${ne}[${te}]`),T(B)})}return this._for(new w("of",W,B,E),()=>T(B))}forIn(x,E,T,W=this.opts.es5?r.varKinds.var:r.varKinds.const){if(this.opts.ownProperties)return this.forOf(x,(0,t._)`Object.keys(${E})`,T);const B=this._scope.toName(x);return this._for(new w("in",W,B,E),()=>T(B))}endFor(){return this._endBlockNode(f)}label(x){return this._leafNode(new l(x))}break(x){return this._leafNode(new u(x))}return(x){const E=new _;if(this._blockNode(E),this.code(x),E.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(_)}try(x,E,T){if(!E&&!T)throw new Error('CodeGen: "try" without "catch" and "finally"');const W=new S;if(this._blockNode(W),this.code(x),E){const B=this.name("e");this._currNode=W.catch=new P(B),E(B)}return T&&(this._currNode=W.finally=new I,this.code(T)),this._endBlockNode(P,I)}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,W){return this._blockNode(new k(x,E,T)),W&&this.code(W).endFunc(),this}endFunc(){return this._endBlockNode(k)}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 b))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=L;function V(R,x){for(const E in x)R[E]=(R[E]||0)+(x[E]||0);return R}function z(R,x){return x instanceof t._CodeOrName?V(R,x.names):R}function q(R,x,E){if(R instanceof t.Name)return T(R);if(!W(R))return R;return new t._Code(R._items.reduce((B,ne)=>(ne instanceof t.Name&&(ne=T(ne)),ne instanceof t._Code?B.push(...ne._items):B.push(ne),B),[]));function T(B){const ne=E[B.str];return ne===void 0||x[B.str]!==1?B:(delete x[B.str],ne)}function W(B){return B instanceof t._Code&&B._items.some(ne=>ne instanceof t.Name&&x[ne.str]===1&&E[ne.str]!==void 0)}}function K(R,x){for(const E in x)R[E]=(R[E]||0)-(x[E]||0)}function J(R){return typeof R=="boolean"||typeof R=="number"||R===null?!R:(0,t._)`!${N(R)}`}e.not=J;const ie=O(e.operators.AND);function G(...R){return R.reduce(ie)}e.and=G;const se=O(e.operators.OR);function F(...R){return R.reduce(se)}e.or=F;function O(R){return(x,E)=>x===t.nil?E:E===t.nil?x:(0,t._)`${N(x)} ${R} ${N(E)}`}function N(R){return R instanceof t.Name?R:(0,t._)`(${R})`}})(zn)),zn}var X={},Oi;function re(){if(Oi)return X;Oi=1,Object.defineProperty(X,"__esModule",{value:!0}),X.checkStrictMode=X.getErrorPath=X.Type=X.useFunc=X.setEvaluated=X.evaluatedPropsToName=X.mergeEvaluated=X.eachItem=X.unescapeJsonPointer=X.escapeJsonPointer=X.escapeFragment=X.unescapeFragment=X.schemaRefOrVal=X.schemaHasRulesButRef=X.schemaHasRules=X.checkUnknownRules=X.alwaysValidSchema=X.toHash=void 0;const e=ee(),t=Qr();function r(w){const k={};for(const _ of w)k[_]=!0;return k}X.toHash=r;function n(w,k){return typeof k=="boolean"?k:Object.keys(k).length===0?!0:(o(w,k),!i(k,w.self.RULES.all))}X.alwaysValidSchema=n;function o(w,k=w.schema){const{opts:_,self:S}=w;if(!_.strictSchema||typeof k=="boolean")return;const P=S.RULES.keywords;for(const I in k)P[I]||$(w,`unknown keyword: "${I}"`)}X.checkUnknownRules=o;function i(w,k){if(typeof w=="boolean")return!w;for(const _ in w)if(k[_])return!0;return!1}X.schemaHasRules=i;function s(w,k){if(typeof w=="boolean")return!w;for(const _ in w)if(_!=="$ref"&&k.all[_])return!0;return!1}X.schemaHasRulesButRef=s;function a({topSchemaRef:w,schemaPath:k},_,S,P){if(!P){if(typeof _=="number"||typeof _=="boolean")return _;if(typeof _=="string")return(0,e._)`${_}`}return(0,e._)`${w}${k}${(0,e.getProperty)(S)}`}X.schemaRefOrVal=a;function c(w){return d(decodeURIComponent(w))}X.unescapeFragment=c;function l(w){return encodeURIComponent(u(w))}X.escapeFragment=l;function u(w){return typeof w=="number"?`${w}`:w.replace(/~/g,"~0").replace(/\//g,"~1")}X.escapeJsonPointer=u;function d(w){return w.replace(/~1/g,"/").replace(/~0/g,"~")}X.unescapeJsonPointer=d;function y(w,k){if(Array.isArray(w))for(const _ of w)k(_);else k(w)}X.eachItem=y;function m({mergeNames:w,mergeToName:k,mergeValues:_,resultToName:S}){return(P,I,L,V)=>{const z=L===void 0?I:L instanceof e.Name?(I instanceof e.Name?w(P,I,L):k(P,I,L),L):I instanceof e.Name?(k(P,L,I),I):_(I,L);return V===e.Name&&!(z instanceof e.Name)?S(P,z):z}}X.mergeEvaluated={props:m({mergeNames:(w,k,_)=>w.if((0,e._)`${_} !== true && ${k} !== undefined`,()=>{w.if((0,e._)`${k} === true`,()=>w.assign(_,!0),()=>w.assign(_,(0,e._)`${_} || {}`).code((0,e._)`Object.assign(${_}, ${k})`))}),mergeToName:(w,k,_)=>w.if((0,e._)`${_} !== true`,()=>{k===!0?w.assign(_,!0):(w.assign(_,(0,e._)`${_} || {}`),h(w,_,k))}),mergeValues:(w,k)=>w===!0?!0:{...w,...k},resultToName:v}),items:m({mergeNames:(w,k,_)=>w.if((0,e._)`${_} !== true && ${k} !== undefined`,()=>w.assign(_,(0,e._)`${k} === true ? true : ${_} > ${k} ? ${_} : ${k}`)),mergeToName:(w,k,_)=>w.if((0,e._)`${_} !== true`,()=>w.assign(_,k===!0?!0:(0,e._)`${_} > ${k} ? ${_} : ${k}`)),mergeValues:(w,k)=>w===!0?!0:Math.max(w,k),resultToName:(w,k)=>w.var("items",k)})};function v(w,k){if(k===!0)return w.var("props",!0);const _=w.var("props",(0,e._)`{}`);return k!==void 0&&h(w,_,k),_}X.evaluatedPropsToName=v;function h(w,k,_){Object.keys(_).forEach(S=>w.assign((0,e._)`${k}${(0,e.getProperty)(S)}`,!0))}X.setEvaluated=h;const p={};function b(w,k){return w.scopeValue("func",{ref:k,code:p[k.code]||(p[k.code]=new t._Code(k.code))})}X.useFunc=b;var f;(function(w){w[w.Num=0]="Num",w[w.Str=1]="Str"})(f||(X.Type=f={}));function g(w,k,_){if(w instanceof e.Name){const S=k===f.Num;return _?S?(0,e._)`"[" + ${w} + "]"`:(0,e._)`"['" + ${w} + "']"`:S?(0,e._)`"/" + ${w}`:(0,e._)`"/" + ${w}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return _?(0,e.getProperty)(w).toString():"/"+u(w)}X.getErrorPath=g;function $(w,k,_=w.opts.strictSchema){if(_){if(k=`strict mode: ${k}`,_===!0)throw new Error(k);w.self.logger.warn(k)}}return X.checkStrictMode=$,X}var Qt={},Ri;function Ye(){if(Ri)return Qt;Ri=1,Object.defineProperty(Qt,"__esModule",{value:!0});const e=ee(),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 Qt.default=t,Qt}var Ai;function gn(){return Ai||(Ai=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=ee(),r=re(),n=Ye();e.keywordError={message:({keyword:p})=>(0,t.str)`must pass "${p}" keyword validation`},e.keyword$DataError={message:({keyword:p,schemaType:b})=>b?(0,t.str)`"${p}" keyword must be ${b} ($data)`:(0,t.str)`"${p}" keyword is invalid ($data)`};function o(p,b=e.keywordError,f,g){const{it:$}=p,{gen:w,compositeRule:k,allErrors:_}=$,S=d(p,b,f);g??(k||_)?c(w,S):l($,(0,t._)`[${S}]`)}e.reportError=o;function i(p,b=e.keywordError,f){const{it:g}=p,{gen:$,compositeRule:w,allErrors:k}=g,_=d(p,b,f);c($,_),w||k||l(g,n.default.vErrors)}e.reportExtraError=i;function s(p,b){p.assign(n.default.errors,b),p.if((0,t._)`${n.default.vErrors} !== null`,()=>p.if(b,()=>p.assign((0,t._)`${n.default.vErrors}.length`,b),()=>p.assign(n.default.vErrors,null)))}e.resetErrorsCount=s;function a({gen:p,keyword:b,schemaValue:f,data:g,errsCount:$,it:w}){if($===void 0)throw new Error("ajv implementation error");const k=p.name("err");p.forRange("i",$,n.default.errors,_=>{p.const(k,(0,t._)`${n.default.vErrors}[${_}]`),p.if((0,t._)`${k}.instancePath === undefined`,()=>p.assign((0,t._)`${k}.instancePath`,(0,t.strConcat)(n.default.instancePath,w.errorPath))),p.assign((0,t._)`${k}.schemaPath`,(0,t.str)`${w.errSchemaPath}/${b}`),w.opts.verbose&&(p.assign((0,t._)`${k}.schema`,f),p.assign((0,t._)`${k}.data`,g))})}e.extendErrors=a;function c(p,b){const f=p.const("err",b);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 l(p,b){const{gen:f,validateName:g,schemaEnv:$}=p;$.$async?f.throw((0,t._)`new ${p.ValidationError}(${b})`):(f.assign((0,t._)`${g}.errors`,b),f.return(!1))}const u={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,b,f){const{createErrors:g}=p.it;return g===!1?(0,t._)`{}`:y(p,b,f)}function y(p,b,f={}){const{gen:g,it:$}=p,w=[m($,f),v(p,f)];return h(p,b,w),g.object(...w)}function m({errorPath:p},{instancePath:b}){const f=b?(0,t.str)`${p}${(0,r.getErrorPath)(b,r.Type.Str)}`:p;return[n.default.instancePath,(0,t.strConcat)(n.default.instancePath,f)]}function v({keyword:p,it:{errSchemaPath:b}},{schemaPath:f,parentSchema:g}){let $=g?b:(0,t.str)`${b}/${p}`;return f&&($=(0,t.str)`${$}${(0,r.getErrorPath)(f,r.Type.Str)}`),[u.schemaPath,$]}function h(p,{params:b,message:f},g){const{keyword:$,data:w,schemaValue:k,it:_}=p,{opts:S,propertyName:P,topSchemaRef:I,schemaPath:L}=_;g.push([u.keyword,$],[u.params,typeof b=="function"?b(p):b||(0,t._)`{}`]),S.messages&&g.push([u.message,typeof f=="function"?f(p):f]),S.verbose&&g.push([u.schema,k],[u.parentSchema,(0,t._)`${I}${L}`],[n.default.data,w]),P&&g.push([u.propertyName,P])}})(In)),In}var Ti;function qf(){if(Ti)return Ze;Ti=1,Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.boolOrEmptySchema=Ze.topBoolOrEmptySchema=void 0;const e=gn(),t=ee(),r=Ye(),n={message:"boolean schema is false"};function o(a){const{gen:c,schema:l,validateName:u}=a;l===!1?s(a,!1):typeof l=="object"&&l.$async===!0?c.return(r.default.data):(c.assign((0,t._)`${u}.errors`,null),c.return(!0))}Ze.topBoolOrEmptySchema=o;function i(a,c){const{gen:l,schema:u}=a;u===!1?(l.var(c,!1),s(a)):l.var(c,!0)}Ze.boolOrEmptySchema=i;function s(a,c){const{gen:l,data:u}=a,d={gen:l,keyword:"false schema",data:u,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:a};(0,e.reportError)(d,n,void 0,c)}return Ze}var ge={},Qe={},Mi;function vc(){if(Mi)return Qe;Mi=1,Object.defineProperty(Qe,"__esModule",{value:!0}),Qe.getRules=Qe.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)}Qe.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 Qe.getRules=n,Qe}var Le={},Ni;function $c(){if(Ni)return Le;Ni=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 Ii;function en(){if(Ii)return ge;Ii=1,Object.defineProperty(ge,"__esModule",{value:!0}),ge.reportTypeError=ge.checkDataTypes=ge.checkDataType=ge.coerceAndCheckDataType=ge.getJSONTypes=ge.getSchemaTypes=ge.DataType=void 0;const e=vc(),t=$c(),r=gn(),n=ee(),o=re();var i;(function(f){f[f.Correct=0]="Correct",f[f.Wrong=1]="Wrong"})(i||(ge.DataType=i={}));function s(f){const g=a(f.type);if(g.includes("null")){if(f.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!g.length&&f.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');f.nullable===!0&&g.push("null")}return g}ge.getSchemaTypes=s;function a(f){const g=Array.isArray(f)?f:f?[f]:[];if(g.every(e.isJSONType))return g;throw new Error("type must be JSONType or JSONType[]: "+g.join(","))}ge.getJSONTypes=a;function c(f,g){const{gen:$,data:w,opts:k}=f,_=u(g,k.coerceTypes),S=g.length>0&&!(_.length===0&&g.length===1&&(0,t.schemaHasRulesForType)(f,g[0]));if(S){const P=v(g,w,k.strictNumbers,i.Wrong);$.if(P,()=>{_.length?d(f,g,_):p(f)})}return S}ge.coerceAndCheckDataType=c;const l=new Set(["string","number","integer","boolean","null"]);function u(f,g){return g?f.filter($=>l.has($)||g==="array"&&$==="array"):[]}function d(f,g,$){const{gen:w,data:k,opts:_}=f,S=w.let("dataType",(0,n._)`typeof ${k}`),P=w.let("coerced",(0,n._)`undefined`);_.coerceTypes==="array"&&w.if((0,n._)`${S} == 'object' && Array.isArray(${k}) && ${k}.length == 1`,()=>w.assign(k,(0,n._)`${k}[0]`).assign(S,(0,n._)`typeof ${k}`).if(v(g,k,_.strictNumbers),()=>w.assign(P,k))),w.if((0,n._)`${P} !== undefined`);for(const L of $)(l.has(L)||L==="array"&&_.coerceTypes==="array")&&I(L);w.else(),p(f),w.endIf(),w.if((0,n._)`${P} !== undefined`,()=>{w.assign(k,P),y(f,P)});function I(L){switch(L){case"string":w.elseIf((0,n._)`${S} == "number" || ${S} == "boolean"`).assign(P,(0,n._)`"" + ${k}`).elseIf((0,n._)`${k} === null`).assign(P,(0,n._)`""`);return;case"number":w.elseIf((0,n._)`${S} == "boolean" || ${k} === null
11
- || (${S} == "string" && ${k} && ${k} == +${k})`).assign(P,(0,n._)`+${k}`);return;case"integer":w.elseIf((0,n._)`${S} === "boolean" || ${k} === null
12
- || (${S} === "string" && ${k} && ${k} == +${k} && !(${k} % 1))`).assign(P,(0,n._)`+${k}`);return;case"boolean":w.elseIf((0,n._)`${k} === "false" || ${k} === 0 || ${k} === null`).assign(P,!1).elseIf((0,n._)`${k} === "true" || ${k} === 1`).assign(P,!0);return;case"null":w.elseIf((0,n._)`${k} === "" || ${k} === 0 || ${k} === false`),w.assign(P,null);return;case"array":w.elseIf((0,n._)`${S} === "string" || ${S} === "number"
13
- || ${S} === "boolean" || ${k} === null`).assign(P,(0,n._)`[${k}]`)}}}function y({gen:f,parentData:g,parentDataProperty:$},w){f.if((0,n._)`${g} !== undefined`,()=>f.assign((0,n._)`${g}[${$}]`,w))}function m(f,g,$,w=i.Correct){const k=w===i.Correct?n.operators.EQ:n.operators.NEQ;let _;switch(f){case"null":return(0,n._)`${g} ${k} null`;case"array":_=(0,n._)`Array.isArray(${g})`;break;case"object":_=(0,n._)`${g} && typeof ${g} == "object" && !Array.isArray(${g})`;break;case"integer":_=S((0,n._)`!(${g} % 1) && !isNaN(${g})`);break;case"number":_=S();break;default:return(0,n._)`typeof ${g} ${k} ${f}`}return w===i.Correct?_:(0,n.not)(_);function S(P=n.nil){return(0,n.and)((0,n._)`typeof ${g} == "number"`,P,$?(0,n._)`isFinite(${g})`:n.nil)}}ge.checkDataType=m;function v(f,g,$,w){if(f.length===1)return m(f[0],g,$,w);let k;const _=(0,o.toHash)(f);if(_.array&&_.object){const S=(0,n._)`typeof ${g} != "object"`;k=_.null?S:(0,n._)`!${g} || ${S}`,delete _.null,delete _.array,delete _.object}else k=n.nil;_.number&&delete _.integer;for(const S in _)k=(0,n.and)(k,m(S,g,$,w));return k}ge.checkDataTypes=v;const h={message:({schema:f})=>`must be ${f}`,params:({schema:f,schemaValue:g})=>typeof f=="string"?(0,n._)`{type: ${f}}`:(0,n._)`{type: ${g}}`};function p(f){const g=b(f);(0,r.reportError)(g,h)}ge.reportTypeError=p;function b(f){const{gen:g,data:$,schema:w}=f,k=(0,o.schemaRefOrVal)(f,w,"type");return{gen:g,keyword:"type",data:$,schema:w.type,schemaCode:k,schemaValue:k,parentSchema:w,params:{},it:f}}return ge}var xt={},zi;function Vf(){if(zi)return xt;zi=1,Object.defineProperty(xt,"__esModule",{value:!0}),xt.assignDefaults=void 0;const e=ee(),t=re();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,l)=>n(o,l,c.default))}xt.assignDefaults=r;function n(o,i,s){const{gen:a,compositeRule:c,data:l,opts:u}=o;if(s===void 0)return;const d=(0,e._)`${l}${(0,e.getProperty)(i)}`;if(c){(0,t.checkStrictMode)(o,`default is ignored for: ${d}`);return}let y=(0,e._)`${d} === undefined`;u.useDefaults==="empty"&&(y=(0,e._)`${y} || ${d} === null || ${d} === ""`),a.if(y,(0,e._)`${d} = ${(0,e.stringify)(s)}`)}return xt}var Pe={},oe={},Fi;function Ne(){if(Fi)return oe;Fi=1,Object.defineProperty(oe,"__esModule",{value:!0}),oe.validateUnion=oe.validateArray=oe.usePattern=oe.callValidateCode=oe.schemaProperties=oe.allSchemaProperties=oe.noPropertyInData=oe.propertyInData=oe.isOwnProperty=oe.hasPropFunc=oe.reportMissingProp=oe.checkMissingProp=oe.checkReportMissingProp=void 0;const e=ee(),t=re(),r=Ye(),n=re();function o(f,g){const{gen:$,data:w,it:k}=f;$.if(u($,w,g,k.opts.ownProperties),()=>{f.setParams({missingProperty:(0,e._)`${g}`},!0),f.error()})}oe.checkReportMissingProp=o;function i({gen:f,data:g,it:{opts:$}},w,k){return(0,e.or)(...w.map(_=>(0,e.and)(u(f,g,_,$.ownProperties),(0,e._)`${k} = ${_}`)))}oe.checkMissingProp=i;function s(f,g){f.setParams({missingProperty:g},!0),f.error()}oe.reportMissingProp=s;function a(f){return f.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,e._)`Object.prototype.hasOwnProperty`})}oe.hasPropFunc=a;function c(f,g,$){return(0,e._)`${a(f)}.call(${g}, ${$})`}oe.isOwnProperty=c;function l(f,g,$,w){const k=(0,e._)`${g}${(0,e.getProperty)($)} !== undefined`;return w?(0,e._)`${k} && ${c(f,g,$)}`:k}oe.propertyInData=l;function u(f,g,$,w){const k=(0,e._)`${g}${(0,e.getProperty)($)} === undefined`;return w?(0,e.or)(k,(0,e.not)(c(f,g,$))):k}oe.noPropertyInData=u;function d(f){return f?Object.keys(f).filter(g=>g!=="__proto__"):[]}oe.allSchemaProperties=d;function y(f,g){return d(g).filter($=>!(0,t.alwaysValidSchema)(f,g[$]))}oe.schemaProperties=y;function m({schemaCode:f,data:g,it:{gen:$,topSchemaRef:w,schemaPath:k,errorPath:_},it:S},P,I,L){const V=L?(0,e._)`${f}, ${g}, ${w}${k}`:g,z=[[r.default.instancePath,(0,e.strConcat)(r.default.instancePath,_)],[r.default.parentData,S.parentData],[r.default.parentDataProperty,S.parentDataProperty],[r.default.rootData,r.default.rootData]];S.opts.dynamicRef&&z.push([r.default.dynamicAnchors,r.default.dynamicAnchors]);const q=(0,e._)`${V}, ${$.object(...z)}`;return I!==e.nil?(0,e._)`${P}.call(${I}, ${q})`:(0,e._)`${P}(${q})`}oe.callValidateCode=m;const v=(0,e._)`new RegExp`;function h({gen:f,it:{opts:g}},$){const w=g.unicodeRegExp?"u":"",{regExp:k}=g.code,_=k($,w);return f.scopeValue("pattern",{key:_.toString(),ref:_,code:(0,e._)`${k.code==="new RegExp"?v:(0,n.useFunc)(f,k)}(${$}, ${w})`})}oe.usePattern=h;function p(f){const{gen:g,data:$,keyword:w,it:k}=f,_=g.name("valid");if(k.allErrors){const P=g.let("valid",!0);return S(()=>g.assign(P,!1)),P}return g.var(_,!0),S(()=>g.break()),_;function S(P){const I=g.const("len",(0,e._)`${$}.length`);g.forRange("i",0,I,L=>{f.subschema({keyword:w,dataProp:L,dataPropType:t.Type.Num},_),g.if((0,e.not)(_),P)})}}oe.validateArray=p;function b(f){const{gen:g,schema:$,keyword:w,it:k}=f;if(!Array.isArray($))throw new Error("ajv implementation error");if($.some(I=>(0,t.alwaysValidSchema)(k,I))&&!k.opts.unevaluated)return;const S=g.let("valid",!1),P=g.name("_valid");g.block(()=>$.forEach((I,L)=>{const V=f.subschema({keyword:w,schemaProp:L,compositeRule:!0},P);g.assign(S,(0,e._)`${S} || ${P}`),f.mergeValidEvaluated(V,P)||g.if((0,e.not)(S))})),f.result(S,()=>f.reset(),()=>f.error(!0))}return oe.validateUnion=b,oe}var Li;function Uf(){if(Li)return Pe;Li=1,Object.defineProperty(Pe,"__esModule",{value:!0}),Pe.validateKeywordUsage=Pe.validSchemaType=Pe.funcKeywordCode=Pe.macroKeywordCode=void 0;const e=ee(),t=Ye(),r=Ne(),n=gn();function o(y,m){const{gen:v,keyword:h,schema:p,parentSchema:b,it:f}=y,g=m.macro.call(f.self,p,b,f),$=l(v,h,g);f.opts.validateSchema!==!1&&f.self.validateSchema(g,!0);const w=v.name("valid");y.subschema({schema:g,schemaPath:e.nil,errSchemaPath:`${f.errSchemaPath}/${h}`,topSchemaRef:$,compositeRule:!0},w),y.pass(w,()=>y.error(!0))}Pe.macroKeywordCode=o;function i(y,m){var v;const{gen:h,keyword:p,schema:b,parentSchema:f,$data:g,it:$}=y;c($,m);const w=!g&&m.compile?m.compile.call($.self,b,f,$):m.validate,k=l(h,p,w),_=h.let("valid");y.block$data(_,S),y.ok((v=m.valid)!==null&&v!==void 0?v:_);function S(){if(m.errors===!1)L(),m.modifying&&s(y),V(()=>y.error());else{const z=m.async?P():I();m.modifying&&s(y),V(()=>a(y,z))}}function P(){const z=h.let("ruleErrs",null);return h.try(()=>L((0,e._)`await `),q=>h.assign(_,!1).if((0,e._)`${q} instanceof ${$.ValidationError}`,()=>h.assign(z,(0,e._)`${q}.errors`),()=>h.throw(q))),z}function I(){const z=(0,e._)`${k}.errors`;return h.assign(z,null),L(e.nil),z}function L(z=m.async?(0,e._)`await `:e.nil){const q=$.opts.passContext?t.default.this:t.default.self,K=!("compile"in m&&!g||m.schema===!1);h.assign(_,(0,e._)`${z}${(0,r.callValidateCode)(y,k,q,K)}`,m.modifying)}function V(z){var q;h.if((0,e.not)((q=m.valid)!==null&&q!==void 0?q:_),z)}}Pe.funcKeywordCode=i;function s(y){const{gen:m,data:v,it:h}=y;m.if(h.parentData,()=>m.assign(v,(0,e._)`${h.parentData}[${h.parentDataProperty}]`))}function a(y,m){const{gen:v}=y;v.if((0,e._)`Array.isArray(${m})`,()=>{v.assign(t.default.vErrors,(0,e._)`${t.default.vErrors} === null ? ${m} : ${t.default.vErrors}.concat(${m})`).assign(t.default.errors,(0,e._)`${t.default.vErrors}.length`),(0,n.extendErrors)(y)},()=>y.error())}function c({schemaEnv:y},m){if(m.async&&!y.$async)throw new Error("async keyword in sync schema")}function l(y,m,v){if(v===void 0)throw new Error(`keyword "${m}" failed to compile`);return y.scopeValue("keyword",typeof v=="function"?{ref:v}:{ref:v,code:(0,e.stringify)(v)})}function u(y,m,v=!1){return!m.length||m.some(h=>h==="array"?Array.isArray(y):h==="object"?y&&typeof y=="object"&&!Array.isArray(y):typeof y==h||v&&typeof y>"u")}Pe.validSchemaType=u;function d({schema:y,opts:m,self:v,errSchemaPath:h},p,b){if(Array.isArray(p.keyword)?!p.keyword.includes(b):p.keyword!==b)throw new Error("ajv implementation error");const f=p.dependencies;if(f?.some(g=>!Object.prototype.hasOwnProperty.call(y,g)))throw new Error(`parent schema must have dependencies of ${b}: ${f.join(",")}`);if(p.validateSchema&&!p.validateSchema(y[b])){const $=`keyword "${b}" value is invalid at path "${h}": `+v.errorsText(p.validateSchema.errors);if(m.validateSchema==="log")v.logger.error($);else throw new Error($)}}return Pe.validateKeywordUsage=d,Pe}var De={},Di;function Wf(){if(Di)return De;Di=1,Object.defineProperty(De,"__esModule",{value:!0}),De.extendSubschemaMode=De.extendSubschemaData=De.getSubschema=void 0;const e=ee(),t=re();function r(i,{keyword:s,schemaProp:a,schema:c,schemaPath:l,errSchemaPath:u,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 y=i.schema[s];return a===void 0?{schema:y,schemaPath:(0,e._)`${i.schemaPath}${(0,e.getProperty)(s)}`,errSchemaPath:`${i.errSchemaPath}/${s}`}:{schema:y[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(l===void 0||u===void 0||d===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:c,schemaPath:l,topSchemaRef:d,errSchemaPath:u}}throw new Error('either "keyword" or "schema" must be passed')}De.getSubschema=r;function n(i,s,{dataProp:a,dataPropType:c,data:l,dataTypes:u,propertyName:d}){if(l!==void 0&&a!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:y}=s;if(a!==void 0){const{errorPath:v,dataPathArr:h,opts:p}=s,b=y.let("data",(0,e._)`${s.data}${(0,e.getProperty)(a)}`,!0);m(b),i.errorPath=(0,e.str)`${v}${(0,t.getErrorPath)(a,c,p.jsPropertySyntax)}`,i.parentDataProperty=(0,e._)`${a}`,i.dataPathArr=[...h,i.parentDataProperty]}if(l!==void 0){const v=l instanceof e.Name?l:y.let("data",l,!0);m(v),d!==void 0&&(i.propertyName=d)}u&&(i.dataTypes=u);function m(v){i.data=v,i.dataLevel=s.dataLevel+1,i.dataTypes=[],s.definedProperties=new Set,i.parentData=s.data,i.dataNames=[...s.dataNames,v]}}De.extendSubschemaData=n;function o(i,{jtdDiscriminator:s,jtdMetadata:a,compositeRule:c,createErrors:l,allErrors:u}){c!==void 0&&(i.compositeRule=c),l!==void 0&&(i.createErrors=l),u!==void 0&&(i.allErrors=u),i.jtdDiscriminator=s,i.jtdMetadata=a}return De.extendSubschemaMode=o,De}var ve={},Dn,qi;function wc(){return qi||(qi=1,Dn=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}),Dn}var qn={exports:{}},Vi;function Hf(){if(Vi)return qn.exports;Vi=1;var e=qn.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,l,u,d,y){if(s&&typeof s=="object"&&!Array.isArray(s)){o(s,a,c,l,u,d,y);for(var m in s){var v=s[m];if(Array.isArray(v)){if(m in e.arrayKeywords)for(var h=0;h<v.length;h++)t(n,o,i,v[h],a+"/"+m+"/"+h,c,a,m,s,h)}else if(m in e.propsKeywords){if(v&&typeof v=="object")for(var p in v)t(n,o,i,v[p],a+"/"+m+"/"+r(p),c,a,m,s,p)}else(m in e.keywords||n.allKeys&&!(m in e.skipKeywords))&&t(n,o,i,v,a+"/"+m,c,a,m,s)}i(s,a,c,l,u,d,y)}}function r(n){return n.replace(/~/g,"~0").replace(/\//g,"~1")}return qn.exports}var Ui;function bn(){if(Ui)return ve;Ui=1,Object.defineProperty(ve,"__esModule",{value:!0}),ve.getSchemaRefs=ve.resolveUrl=ve.normalizeId=ve._getFullPath=ve.getFullPath=ve.inlineRef=void 0;const e=re(),t=wc(),r=Hf(),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 b=h[p];if(Array.isArray(b)&&b.some(s)||typeof b=="object"&&s(b))return!0}return!1}function a(h){let p=0;for(const b in h){if(b==="$ref")return 1/0;if(p++,!n.has(b)&&(typeof h[b]=="object"&&(0,e.eachItem)(h[b],f=>p+=a(f)),p===1/0))return 1/0}return p}function c(h,p="",b){b!==!1&&(p=d(p));const f=h.parse(p);return l(h,f)}ve.getFullPath=c;function l(h,p){return h.serialize(p).split("#")[0]+"#"}ve._getFullPath=l;const u=/#\/?$/;function d(h){return h?h.replace(u,""):""}ve.normalizeId=d;function y(h,p,b){return b=d(b),h.resolve(p,b)}ve.resolveUrl=y;const m=/^[a-z_][-a-z0-9._]*$/i;function v(h,p){if(typeof h=="boolean")return{};const{schemaId:b,uriResolver:f}=this.opts,g=d(h[b]||p),$={"":g},w=c(f,g,!1),k={},_=new Set;return r(h,{allKeys:!0},(I,L,V,z)=>{if(z===void 0)return;const q=w+L;let K=$[z];typeof I[b]=="string"&&(K=J.call(this,I[b])),ie.call(this,I.$anchor),ie.call(this,I.$dynamicAnchor),$[L]=K;function J(G){const se=this.opts.uriResolver.resolve;if(G=d(K?se(K,G):G),_.has(G))throw P(G);_.add(G);let F=this.refs[G];return typeof F=="string"&&(F=this.refs[F]),typeof F=="object"?S(I,F.schema,G):G!==d(q)&&(G[0]==="#"?(S(I,k[G],G),k[G]=I):this.refs[G]=q),G}function ie(G){if(typeof G=="string"){if(!m.test(G))throw new Error(`invalid anchor "${G}"`);J.call(this,`#${G}`)}}}),k;function S(I,L,V){if(L!==void 0&&!t(I,L))throw P(V)}function P(I){return new Error(`reference "${I}" resolves to more than one schema`)}}return ve.getSchemaRefs=v,ve}var Wi;function yn(){if(Wi)return Fe;Wi=1,Object.defineProperty(Fe,"__esModule",{value:!0}),Fe.getData=Fe.KeywordCxt=Fe.validateFunctionCode=void 0;const e=qf(),t=en(),r=$c(),n=en(),o=Vf(),i=Uf(),s=Wf(),a=ee(),c=Ye(),l=bn(),u=re(),d=gn();function y(j){if(w(j)&&(_(j),$(j))){p(j);return}m(j,()=>(0,e.topBoolOrEmptySchema)(j))}Fe.validateFunctionCode=y;function m({gen:j,validateName:A,schema:M,schemaEnv:D,opts:H},Y){H.code.es5?j.func(A,(0,a._)`${c.default.data}, ${c.default.valCxt}`,D.$async,()=>{j.code((0,a._)`"use strict"; ${f(M,H)}`),h(j,H),j.code(Y)}):j.func(A,(0,a._)`${c.default.data}, ${v(H)}`,D.$async,()=>j.code(f(M,H)).code(Y))}function v(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:D}=j;m(j,()=>{M.$comment&&A.$comment&&z(j),I(j),D.let(c.default.vErrors,null),D.let(c.default.errors,0),M.unevaluated&&b(j),S(j),q(j)})}function b(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 g(j,A){if(w(j)&&(_(j),$(j))){k(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 w(j){return typeof j.schema!="boolean"}function k(j,A){const{schema:M,gen:D,opts:H}=j;H.$comment&&M.$comment&&z(j),L(j),V(j);const Y=D.const("_errs",c.default.errors);S(j,Y),D.var(A,(0,a._)`${Y} === ${c.default.errors}`)}function _(j){(0,u.checkUnknownRules)(j),P(j)}function S(j,A){if(j.opts.jtd)return J(j,[],!1,A);const M=(0,t.getSchemaTypes)(j.schema),D=(0,t.coerceAndCheckDataType)(j,M);J(j,M,!D,A)}function P(j){const{schema:A,errSchemaPath:M,opts:D,self:H}=j;A.$ref&&D.ignoreKeywordsWithRef&&(0,u.schemaHasRulesButRef)(A,H.RULES)&&H.logger.warn(`$ref: keywords ignored in schema at path "${M}"`)}function I(j){const{schema:A,opts:M}=j;A.default!==void 0&&M.useDefaults&&M.strictSchema&&(0,u.checkStrictMode)(j,"default is ignored in the schema root")}function L(j){const A=j.schema[j.opts.schemaId];A&&(j.baseId=(0,l.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 z({gen:j,schemaEnv:A,schema:M,errSchemaPath:D,opts:H}){const Y=M.$comment;if(H.$comment===!0)j.code((0,a._)`${c.default.self}.logger.log(${Y})`);else if(typeof H.$comment=="function"){const he=(0,a.str)`${D}/$comment`,je=j.scopeValue("root",{ref:A.root});j.code((0,a._)`${c.default.self}.opts.$comment(${Y}, ${he}, ${je}.schema)`)}}function q(j){const{gen:A,schemaEnv:M,validateName:D,ValidationError:H,opts:Y}=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._)`${D}.errors`,c.default.vErrors),Y.unevaluated&&K(j),A.return((0,a._)`${c.default.errors} === 0`))}function K({gen:j,evaluated:A,props:M,items:D}){M instanceof a.Name&&j.assign((0,a._)`${A}.props`,M),D instanceof a.Name&&j.assign((0,a._)`${A}.items`,D)}function J(j,A,M,D){const{gen:H,schema:Y,data:he,allErrors:je,opts:$e,self:we}=j,{RULES:me}=we;if(Y.$ref&&($e.ignoreKeywordsWithRef||!(0,u.schemaHasRulesButRef)(Y,me))){H.block(()=>W(j,"$ref",me.all.$ref.definition));return}$e.jtd||G(j,A),H.block(()=>{for(const Se of me.rules)it(Se);it(me.post)});function it(Se){(0,r.shouldUseGroup)(Y,Se)&&(Se.type?(H.if((0,n.checkDataType)(Se.type,he,$e.strictNumbers)),ie(j,Se),A.length===1&&A[0]===Se.type&&M&&(H.else(),(0,n.reportTypeError)(j)),H.endIf()):ie(j,Se),je||H.if((0,a._)`${c.default.errors} === ${D||0}`))}}function ie(j,A){const{gen:M,schema:D,opts:{useDefaults:H}}=j;H&&(0,o.assignDefaults)(j,A.type),M.block(()=>{for(const Y of A.rules)(0,r.shouldUseRule)(D,Y)&&W(j,Y.keyword,Y.definition,A.type)})}function G(j,A){j.schemaEnv.meta||!j.opts.strictTypes||(se(j,A),j.opts.allowUnionTypes||F(j,A),O(j,j.dataTypes))}function se(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 F(j,A){A.length>1&&!(A.length===2&&A.includes("null"))&&E(j,"use allowUnionTypes to allow union type keyword")}function O(j,A){const M=j.self.RULES.all;for(const D in M){const H=M[D];if(typeof H=="object"&&(0,r.shouldUseRule)(j.schema,H)){const{type:Y}=H.definition;Y.length&&!Y.some(he=>N(A,he))&&E(j,`missing type "${Y.join(",")}" for keyword "${D}"`)}}}function N(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 D of j.dataTypes)R(A,D)?M.push(D):A.includes("integer")&&D==="number"&&M.push("integer");j.dataTypes=M}function E(j,A){const M=j.schemaEnv.baseId+j.errSchemaPath;A+=` at "${M}" (strictTypes)`,(0,u.checkStrictMode)(j,A,j.opts.strictTypes)}class T{constructor(A,M,D){if((0,i.validateKeywordUsage)(A,M,D),this.gen=A.gen,this.allErrors=A.allErrors,this.keyword=D,this.data=A.data,this.schema=A.schema[D],this.$data=M.$data&&A.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,u.schemaRefOrVal)(A,this.schema,D,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",te(this.$data,A));else if(this.schemaCode=this.schemaValue,!(0,i.validSchemaType)(this.schema,M.schemaType,M.allowUndefined))throw new Error(`${D} 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,D){this.failResult((0,a.not)(A),M,D)}failResult(A,M,D){this.gen.if(A),D?D():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,D){if(M){this.setParams(M),this._error(A,D),this.setParams({});return}this._error(A,D)}_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,D=a.nil){this.gen.block(()=>{this.check$data(A,D),M()})}check$data(A=a.nil,M=a.nil){if(!this.$data)return;const{gen:D,schemaCode:H,schemaType:Y,def:he}=this;D.if((0,a.or)((0,a._)`${H} === undefined`,M)),A!==a.nil&&D.assign(A,!0),(Y.length||he.validateSchema)&&(D.elseIf(this.invalid$data()),this.$dataError(),A!==a.nil&&D.assign(A,!1)),D.else()}invalid$data(){const{gen:A,schemaCode:M,schemaType:D,def:H,it:Y}=this;return(0,a.or)(he(),je());function he(){if(D.length){if(!(M instanceof a.Name))throw new Error("ajv implementation error");const $e=Array.isArray(D)?D:[D];return(0,a._)`${(0,n.checkDataTypes)($e,M,Y.opts.strictNumbers,n.DataType.Wrong)}`}return a.nil}function je(){if(H.validateSchema){const $e=A.scopeValue("validate$data",{ref:H.validateSchema});return(0,a._)`!${$e}(${M})`}return a.nil}}subschema(A,M){const D=(0,s.getSubschema)(this.it,A);(0,s.extendSubschemaData)(D,this.it,A),(0,s.extendSubschemaMode)(D,A);const H={...this.it,...D,items:void 0,props:void 0};return g(H,M),H}mergeEvaluated(A,M){const{it:D,gen:H}=this;D.opts.unevaluated&&(D.props!==!0&&A.props!==void 0&&(D.props=u.mergeEvaluated.props(H,A.props,D.props,M)),D.items!==!0&&A.items!==void 0&&(D.items=u.mergeEvaluated.items(H,A.items,D.items,M)))}mergeValidEvaluated(A,M){const{it:D,gen:H}=this;if(D.opts.unevaluated&&(D.props!==!0||D.items!==!0))return H.if(M,()=>this.mergeEvaluated(A,a.Name)),!0}}Fe.KeywordCxt=T;function W(j,A,M,D){const H=new T(j,M,A);"code"in M?M.code(H,D):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 B=/^\/(?:[^~]|~0|~1)*$/,ne=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function te(j,{dataLevel:A,dataNames:M,dataPathArr:D}){let H,Y;if(j==="")return c.default.rootData;if(j[0]==="/"){if(!B.test(j))throw new Error(`Invalid JSON-pointer: ${j}`);H=j,Y=c.default.rootData}else{const we=ne.exec(j);if(!we)throw new Error(`Invalid JSON-pointer: ${j}`);const me=+we[1];if(H=we[2],H==="#"){if(me>=A)throw new Error($e("property/index",me));return D[A-me]}if(me>A)throw new Error($e("data",me));if(Y=M[A-me],!H)return Y}let he=Y;const je=H.split("/");for(const we of je)we&&(Y=(0,a._)`${Y}${(0,a.getProperty)((0,u.unescapeJsonPointer)(we))}`,he=(0,a._)`${he} && ${Y}`);return he;function $e(we,me){return`Cannot access ${we} ${me} levels up, current level is ${A}`}}return Fe.getData=te,Fe}var er={},Hi;function Io(){if(Hi)return er;Hi=1,Object.defineProperty(er,"__esModule",{value:!0});class e extends Error{constructor(r){super("validation failed"),this.errors=r,this.ajv=this.validation=!0}}return er.default=e,er}var tr={},Bi;function vn(){if(Bi)return tr;Bi=1,Object.defineProperty(tr,"__esModule",{value:!0});const e=bn();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 tr.default=t,tr}var xe={},Ki;function zo(){if(Ki)return xe;Ki=1,Object.defineProperty(xe,"__esModule",{value:!0}),xe.resolveSchema=xe.getCompilingSchema=xe.resolveRef=xe.compileSchema=xe.SchemaEnv=void 0;const e=ee(),t=Io(),r=Ye(),n=bn(),o=re(),i=yn();class s{constructor(b){var f;this.refs={},this.dynamicAnchors={};let g;typeof b.schema=="object"&&(g=b.schema),this.schema=b.schema,this.schemaId=b.schemaId,this.root=b.root||this,this.baseId=(f=b.baseId)!==null&&f!==void 0?f:(0,n.normalizeId)(g?.[b.schemaId||"$id"]),this.schemaPath=b.schemaPath,this.localRefs=b.localRefs,this.meta=b.meta,this.$async=g?.$async,this.refs={}}}xe.SchemaEnv=s;function a(p){const b=u.call(this,p);if(b)return b;const f=(0,n.getFullPath)(this.opts.uriResolver,p.root.baseId),{es5:g,lines:$}=this.opts.code,{ownProperties:w}=this.opts,k=new e.CodeGen(this.scope,{es5:g,lines:$,ownProperties:w});let _;p.$async&&(_=k.scopeValue("Error",{ref:t.default,code:(0,e._)`require("ajv/dist/runtime/validation_error").default`}));const S=k.scopeName("validate");p.validateName=S;const P={gen:k,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:k.scopeValue("schema",this.opts.code.source===!0?{ref:p.schema,code:(0,e.stringify)(p.schema)}:{ref:p.schema}),validateName:S,ValidationError:_,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 I;try{this._compilations.add(p),(0,i.validateFunctionCode)(P),k.optimize(this.opts.code.optimize);const L=k.toString();I=`${k.scopeRefs(r.default.scope)}return ${L}`,this.opts.code.process&&(I=this.opts.code.process(I,p));const z=new Function(`${r.default.self}`,`${r.default.scope}`,I)(this,this.scope.get());if(this.scope.value(S,{ref:z}),z.errors=null,z.schema=p.schema,z.schemaEnv=p,p.$async&&(z.$async=!0),this.opts.code.source===!0&&(z.source={validateName:S,validateCode:L,scopeValues:k._values}),this.opts.unevaluated){const{props:q,items:K}=P;z.evaluated={props:q instanceof e.Name?void 0:q,items:K instanceof e.Name?void 0:K,dynamicProps:q instanceof e.Name,dynamicItems:K instanceof e.Name},z.source&&(z.source.evaluated=(0,e.stringify)(z.evaluated))}return p.validate=z,p}catch(L){throw delete p.validate,delete p.validateName,I&&this.logger.error("Error compiling schema, function code:",I),L}finally{this._compilations.delete(p)}}xe.compileSchema=a;function c(p,b,f){var g;f=(0,n.resolveUrl)(this.opts.uriResolver,b,f);const $=p.refs[f];if($)return $;let w=y.call(this,p,f);if(w===void 0){const k=(g=p.localRefs)===null||g===void 0?void 0:g[f],{schemaId:_}=this.opts;k&&(w=new s({schema:k,schemaId:_,root:p,baseId:b}))}if(w!==void 0)return p.refs[f]=l.call(this,w)}xe.resolveRef=c;function l(p){return(0,n.inlineRef)(p.schema,this.opts.inlineRefs)?p.schema:p.validate?p:a.call(this,p)}function u(p){for(const b of this._compilations)if(d(b,p))return b}xe.getCompilingSchema=u;function d(p,b){return p.schema===b.schema&&p.root===b.root&&p.baseId===b.baseId}function y(p,b){let f;for(;typeof(f=this.refs[b])=="string";)b=f;return f||this.schemas[b]||m.call(this,p,b)}function m(p,b){const f=this.opts.uriResolver.parse(b),g=(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&&g===$)return h.call(this,f,p);const w=(0,n.normalizeId)(g),k=this.refs[w]||this.schemas[w];if(typeof k=="string"){const _=m.call(this,p,k);return typeof _?.schema!="object"?void 0:h.call(this,f,_)}if(typeof k?.schema=="object"){if(k.validate||a.call(this,k),w===(0,n.normalizeId)(b)){const{schema:_}=k,{schemaId:S}=this.opts,P=_[S];return P&&($=(0,n.resolveUrl)(this.opts.uriResolver,$,P)),new s({schema:_,schemaId:S,root:p,baseId:$})}return h.call(this,f,k)}}xe.resolveSchema=m;const v=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function h(p,{baseId:b,schema:f,root:g}){var $;if((($=p.fragment)===null||$===void 0?void 0:$[0])!=="/")return;for(const _ of p.fragment.slice(1).split("/")){if(typeof f=="boolean")return;const S=f[(0,o.unescapeFragment)(_)];if(S===void 0)return;f=S;const P=typeof f=="object"&&f[this.opts.schemaId];!v.has(_)&&P&&(b=(0,n.resolveUrl)(this.opts.uriResolver,b,P))}let w;if(typeof f!="boolean"&&f.$ref&&!(0,o.schemaHasRulesButRef)(f,this.RULES)){const _=(0,n.resolveUrl)(this.opts.uriResolver,b,f.$ref);w=m.call(this,g,_)}const{schemaId:k}=this.opts;if(w=w||new s({schema:f,schemaId:k,root:g,baseId:b}),w.schema!==w.root.schema)return w}return xe}const Bf="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",Kf="Meta-schema for $data reference (JSON AnySchema extension proposal)",Gf="object",Jf=["$data"],Xf={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},Yf=!1,Zf={$id:Bf,description:Kf,type:Gf,required:Jf,properties:Xf,additionalProperties:Yf};var rr={},St={exports:{}},Vn,Gi;function Qf(){return Gi||(Gi=1,Vn={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}}),Vn}var Un,Ji;function ed(){if(Ji)return Un;Ji=1;const{HEX:e}=Qf(),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)||[],[b]=p;return b?{host:s(b,"."),isIPV4:!0}:{host:h,isIPV4:!1}}function n(h,p=!1){let b="",f=!0;for(const g of h){if(e[g]===void 0)return;g!=="0"&&f===!0&&(f=!1),f||(b+=g)}return p&&b.length===0&&(b="0"),b}function o(h){let p=0;const b={error:!1,address:"",zone:""},f=[],g=[];let $=!1,w=!1,k=!1;function _(){if(g.length){if($===!1){const S=n(g);if(S!==void 0)f.push(S);else return b.error=!0,!1}g.length=0}return!0}for(let S=0;S<h.length;S++){const P=h[S];if(!(P==="["||P==="]"))if(P===":"){if(w===!0&&(k=!0),!_())break;if(p++,f.push(":"),p>7){b.error=!0;break}S-1>=0&&h[S-1]===":"&&(w=!0);continue}else if(P==="%"){if(!_())break;$=!0}else{g.push(P);continue}}return g.length&&($?b.zone=g.join(""):k?f.push(g.join("")):f.push(n(g))),b.address=f.join(""),b}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 b=p.address,f=p.address;return p.zone&&(b+="%"+p.zone,f+="%25"+p.zone),{host:b,escapedHost:f,isIPV6:!0}}}function s(h,p){let b="",f=!0;const g=h.length;for(let $=0;$<g;$++){const w=h[$];w==="0"&&f?($+1<=g&&h[$+1]===p||$+1===g)&&(b+=w,f=!1):(w===p?f=!0:f=!1,b+=w)}return b}function a(h,p){let b=0;for(let f=0;f<h.length;f++)h[f]===p&&b++;return b}const c=/^\.\.?\//u,l=/^\/\.(?:\/|$)/u,u=/^\/\.\.(?:\/|$)/u,d=/^\/?(?:.|\n)*?(?=\/|$)/u;function y(h){const p=[];for(;h.length;)if(h.match(c))h=h.replace(c,"");else if(h.match(l))h=h.replace(l,"/");else if(h.match(u))h=h.replace(u,"/"),p.pop();else if(h==="."||h==="..")h="";else{const b=h.match(d);if(b){const f=b[0];h=h.slice(f.length),p.push(f)}else throw new Error("Unexpected dot segment condition")}return p.join("")}function m(h,p){const b=p!==!0?escape:unescape;return h.scheme!==void 0&&(h.scheme=b(h.scheme)),h.userinfo!==void 0&&(h.userinfo=b(h.userinfo)),h.host!==void 0&&(h.host=b(h.host)),h.path!==void 0&&(h.path=b(h.path)),h.query!==void 0&&(h.query=b(h.query)),h.fragment!==void 0&&(h.fragment=b(h.fragment)),h}function v(h){const p=[];if(h.userinfo!==void 0&&(p.push(h.userinfo),p.push("@")),h.host!==void 0){let b=unescape(h.host);const f=r(b);if(f.isIPV4)b=f.host;else{const g=i(f.host);g.isIPV6===!0?b=`[${g.escapedHost}]`:b=h.host}p.push(b)}return(typeof h.port=="number"||typeof h.port=="string")&&(p.push(":"),p.push(String(h.port))),p.length?p.join(""):void 0}return Un={recomposeAuthority:v,normalizeComponentEncoding:m,removeDotSegments:y,normalizeIPv4:r,normalizeIPv6:i,stringArrayToHexStripped:n},Un}var Wn,Xi;function td(){if(Xi)return Wn;Xi=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 g=String(f.scheme).toLowerCase()==="https";return(f.port===(g?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[g,$]=f.resourceName.split("?");f.path=g&&g!=="/"?g:void 0,f.query=$,f.resourceName=void 0}return f.fragment=void 0,f}function a(f,g){if(!f.path)return f.error="URN can not be parsed",f;const $=f.path.match(t);if($){const w=g.scheme||f.scheme||"urn";f.nid=$[1].toLowerCase(),f.nss=$[2];const k=`${w}:${g.nid||f.nid}`,_=b[k];f.path=void 0,_&&(f=_.parse(f,g))}else f.error=f.error||"URN can not be parsed.";return f}function c(f,g){const $=g.scheme||f.scheme||"urn",w=f.nid.toLowerCase(),k=`${$}:${g.nid||w}`,_=b[k];_&&(f=_.serialize(f,g));const S=f,P=f.nss;return S.path=`${w||g.nid}:${P}`,g.skipEscape=!0,S}function l(f,g){const $=f;return $.uuid=$.nss,$.nss=void 0,!g.tolerant&&(!$.uuid||!e.test($.uuid))&&($.error=$.error||"UUID is not valid."),$}function u(f){const g=f;return g.nss=(f.uuid||"").toLowerCase(),g}const d={scheme:"http",domainHost:!0,parse:n,serialize:o},y={scheme:"https",domainHost:d.domainHost,parse:n,serialize:o},m={scheme:"ws",domainHost:!0,parse:i,serialize:s},v={scheme:"wss",domainHost:m.domainHost,parse:m.parse,serialize:m.serialize},b={http:d,https:y,ws:m,wss:v,urn:{scheme:"urn",parse:a,serialize:c,skipNormalize:!0},"urn:uuid":{scheme:"urn:uuid",parse:l,serialize:u,skipNormalize:!0}};return Wn=b,Wn}var Yi;function rd(){if(Yi)return St.exports;Yi=1;const{normalizeIPv6:e,normalizeIPv4:t,removeDotSegments:r,recomposeAuthority:n,normalizeComponentEncoding:o}=ed(),i=td();function s(p,b){return typeof p=="string"?p=u(v(p,b),b):typeof p=="object"&&(p=v(u(p,b),b)),p}function a(p,b,f){const g=Object.assign({scheme:"null"},f),$=c(v(p,g),v(b,g),g,!0);return u($,{...g,skipEscape:!0})}function c(p,b,f,g){const $={};return g||(p=v(u(p,f),f),b=v(u(b,f),f)),f=f||{},!f.tolerant&&b.scheme?($.scheme=b.scheme,$.userinfo=b.userinfo,$.host=b.host,$.port=b.port,$.path=r(b.path||""),$.query=b.query):(b.userinfo!==void 0||b.host!==void 0||b.port!==void 0?($.userinfo=b.userinfo,$.host=b.host,$.port=b.port,$.path=r(b.path||""),$.query=b.query):(b.path?(b.path.charAt(0)==="/"?$.path=r(b.path):((p.userinfo!==void 0||p.host!==void 0||p.port!==void 0)&&!p.path?$.path="/"+b.path:p.path?$.path=p.path.slice(0,p.path.lastIndexOf("/")+1)+b.path:$.path=b.path,$.path=r($.path)),$.query=b.query):($.path=p.path,b.query!==void 0?$.query=b.query:$.query=p.query),$.userinfo=p.userinfo,$.host=p.host,$.port=p.port),$.scheme=p.scheme),$.fragment=b.fragment,$}function l(p,b,f){return typeof p=="string"?(p=unescape(p),p=u(o(v(p,f),!0),{...f,skipEscape:!0})):typeof p=="object"&&(p=u(o(p,!0),{...f,skipEscape:!0})),typeof b=="string"?(b=unescape(b),b=u(o(v(b,f),!0),{...f,skipEscape:!0})):typeof b=="object"&&(b=u(o(b,!0),{...f,skipEscape:!0})),p.toLowerCase()===b.toLowerCase()}function u(p,b){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:""},g=Object.assign({},b),$=[],w=i[(g.scheme||f.scheme||"").toLowerCase()];w&&w.serialize&&w.serialize(f,g),f.path!==void 0&&(g.skipEscape?f.path=unescape(f.path):(f.path=escape(f.path),f.scheme!==void 0&&(f.path=f.path.split("%3A").join(":")))),g.reference!=="suffix"&&f.scheme&&$.push(f.scheme,":");const k=n(f);if(k!==void 0&&(g.reference!=="suffix"&&$.push("//"),$.push(k),f.path&&f.path.charAt(0)!=="/"&&$.push("/")),f.path!==void 0){let _=f.path;!g.absolutePath&&(!w||!w.absolutePath)&&(_=r(_)),k===void 0&&(_=_.replace(/^\/\//u,"/%2F")),$.push(_)}return f.query!==void 0&&$.push("?",f.query),f.fragment!==void 0&&$.push("#",f.fragment),$.join("")}const d=Array.from({length:127},(p,b)=>/[^!"$&'()*+,\-.;=_`a-z{}~]/u.test(String.fromCharCode(b)));function y(p){let b=0;for(let f=0,g=p.length;f<g;++f)if(b=p.charCodeAt(f),b>126||d[b])return!0;return!1}const m=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function v(p,b){const f=Object.assign({},b),g={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0},$=p.indexOf("%")!==-1;let w=!1;f.reference==="suffix"&&(p=(f.scheme?f.scheme+":":"")+"//"+p);const k=p.match(m);if(k){if(g.scheme=k[1],g.userinfo=k[3],g.host=k[4],g.port=parseInt(k[5],10),g.path=k[6]||"",g.query=k[7],g.fragment=k[8],isNaN(g.port)&&(g.port=k[5]),g.host){const S=t(g.host);if(S.isIPV4===!1){const P=e(S.host);g.host=P.host.toLowerCase(),w=P.isIPV6}else g.host=S.host,w=!0}g.scheme===void 0&&g.userinfo===void 0&&g.host===void 0&&g.port===void 0&&g.query===void 0&&!g.path?g.reference="same-document":g.scheme===void 0?g.reference="relative":g.fragment===void 0?g.reference="absolute":g.reference="uri",f.reference&&f.reference!=="suffix"&&f.reference!==g.reference&&(g.error=g.error||"URI is not a "+f.reference+" reference.");const _=i[(f.scheme||g.scheme||"").toLowerCase()];if(!f.unicodeSupport&&(!_||!_.unicodeSupport)&&g.host&&(f.domainHost||_&&_.domainHost)&&w===!1&&y(g.host))try{g.host=URL.domainToASCII(g.host.toLowerCase())}catch(S){g.error=g.error||"Host's domain name can not be converted to ASCII: "+S}(!_||_&&!_.skipNormalize)&&($&&g.scheme!==void 0&&(g.scheme=unescape(g.scheme)),$&&g.host!==void 0&&(g.host=unescape(g.host)),g.path&&(g.path=escape(unescape(g.path))),g.fragment&&(g.fragment=encodeURI(decodeURIComponent(g.fragment)))),_&&_.parse&&_.parse(g,f)}else g.error=g.error||"URI can not be parsed.";return g}const h={SCHEMES:i,normalize:s,resolve:a,resolveComponents:c,equal:l,serialize:u,parse:v};return St.exports=h,St.exports.default=h,St.exports.fastUri=h,St.exports}var Zi;function nd(){if(Zi)return rr;Zi=1,Object.defineProperty(rr,"__esModule",{value:!0});const e=rd();return e.code='require("ajv/dist/runtime/uri").default',rr.default=e,rr}var Qi;function od(){return Qi||(Qi=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=ee();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=Io(),o=vn(),i=vc(),s=zo(),a=ee(),c=bn(),l=en(),u=re(),d=Zf,y=nd(),m=(F,O)=>new RegExp(F,O);m.code="new RegExp";const v=["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."},b={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},f=200;function g(F){var O,N,R,x,E,T,W,B,ne,te,j,A,M,D,H,Y,he,je,$e,we,me,it,Se,Cn,jn;const kt=F.strict,Pn=(O=F.code)===null||O===void 0?void 0:O.optimize,Zo=Pn===!0||Pn===void 0?1:Pn||0,Qo=(R=(N=F.code)===null||N===void 0?void 0:N.regExp)!==null&&R!==void 0?R:m,kl=(x=F.uriResolver)!==null&&x!==void 0?x:y.default;return{strictSchema:(T=(E=F.strictSchema)!==null&&E!==void 0?E:kt)!==null&&T!==void 0?T:!0,strictNumbers:(B=(W=F.strictNumbers)!==null&&W!==void 0?W:kt)!==null&&B!==void 0?B:!0,strictTypes:(te=(ne=F.strictTypes)!==null&&ne!==void 0?ne:kt)!==null&&te!==void 0?te:"log",strictTuples:(A=(j=F.strictTuples)!==null&&j!==void 0?j:kt)!==null&&A!==void 0?A:"log",strictRequired:(D=(M=F.strictRequired)!==null&&M!==void 0?M:kt)!==null&&D!==void 0?D:!1,code:F.code?{...F.code,optimize:Zo,regExp:Qo}:{optimize:Zo,regExp:Qo},loopRequired:(H=F.loopRequired)!==null&&H!==void 0?H:f,loopEnum:(Y=F.loopEnum)!==null&&Y!==void 0?Y:f,meta:(he=F.meta)!==null&&he!==void 0?he:!0,messages:(je=F.messages)!==null&&je!==void 0?je:!0,inlineRefs:($e=F.inlineRefs)!==null&&$e!==void 0?$e:!0,schemaId:(we=F.schemaId)!==null&&we!==void 0?we:"$id",addUsedSchema:(me=F.addUsedSchema)!==null&&me!==void 0?me:!0,validateSchema:(it=F.validateSchema)!==null&&it!==void 0?it:!0,validateFormats:(Se=F.validateFormats)!==null&&Se!==void 0?Se:!0,unicodeRegExp:(Cn=F.unicodeRegExp)!==null&&Cn!==void 0?Cn:!0,int32range:(jn=F.int32range)!==null&&jn!==void 0?jn:!0,uriResolver:kl}}class ${constructor(O={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,O=this.opts={...O,...g(O)};const{es5:N,lines:R}=this.opts.code;this.scope=new a.ValueScope({scope:{},prefixes:h,es5:N,lines:R}),this.logger=V(O.logger);const x=O.validateFormats;O.validateFormats=!1,this.RULES=(0,i.getRules)(),w.call(this,p,O,"NOT SUPPORTED"),w.call(this,b,O,"DEPRECATED","warn"),this._metaOpts=I.call(this),O.formats&&S.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),O.keywords&&P.call(this,O.keywords),typeof O.meta=="object"&&this.addMetaSchema(O.meta),_.call(this),O.validateFormats=x}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:O,meta:N,schemaId:R}=this.opts;let x=d;R==="id"&&(x={...d},x.id=x.$id,delete x.$id),N&&O&&this.addMetaSchema(x,x[R],!1)}defaultMeta(){const{meta:O,schemaId:N}=this.opts;return this.opts.defaultMeta=typeof O=="object"?O[N]||O:void 0}validate(O,N){let R;if(typeof O=="string"){if(R=this.getSchema(O),!R)throw new Error(`no schema with key or ref "${O}"`)}else R=this.compile(O);const x=R(N);return"$async"in R||(this.errors=R.errors),x}compile(O,N){const R=this._addSchema(O,N);return R.validate||this._compileSchemaEnv(R)}compileAsync(O,N){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");const{loadSchema:R}=this.opts;return x.call(this,O,N);async function x(te,j){await E.call(this,te.$schema);const A=this._addSchema(te,j);return A.validate||T.call(this,A)}async function E(te){te&&!this.getSchema(te)&&await x.call(this,{$ref:te},!0)}async function T(te){try{return this._compileSchemaEnv(te)}catch(j){if(!(j instanceof o.default))throw j;return W.call(this,j),await B.call(this,j.missingSchema),T.call(this,te)}}function W({missingSchema:te,missingRef:j}){if(this.refs[te])throw new Error(`AnySchema ${te} is loaded but ${j} cannot be resolved`)}async function B(te){const j=await ne.call(this,te);this.refs[te]||await E.call(this,j.$schema),this.refs[te]||this.addSchema(j,te,N)}async function ne(te){const j=this._loading[te];if(j)return j;try{return await(this._loading[te]=R(te))}finally{delete this._loading[te]}}}addSchema(O,N,R,x=this.opts.validateSchema){if(Array.isArray(O)){for(const T of O)this.addSchema(T,void 0,R,x);return this}let E;if(typeof O=="object"){const{schemaId:T}=this.opts;if(E=O[T],E!==void 0&&typeof E!="string")throw new Error(`schema ${T} must be string`)}return N=(0,c.normalizeId)(N||E),this._checkUnique(N),this.schemas[N]=this._addSchema(O,R,N,x,!0),this}addMetaSchema(O,N,R=this.opts.validateSchema){return this.addSchema(O,N,!0,R),this}validateSchema(O,N){if(typeof O=="boolean")return!0;let R;if(R=O.$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,O);if(!x&&N){const E="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(E);else throw new Error(E)}return x}getSchema(O){let N;for(;typeof(N=k.call(this,O))=="string";)O=N;if(N===void 0){const{schemaId:R}=this.opts,x=new s.SchemaEnv({schema:{},schemaId:R});if(N=s.resolveSchema.call(this,x,O),!N)return;this.refs[O]=N}return N.validate||this._compileSchemaEnv(N)}removeSchema(O){if(O instanceof RegExp)return this._removeAllSchemas(this.schemas,O),this._removeAllSchemas(this.refs,O),this;switch(typeof O){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const N=k.call(this,O);return typeof N=="object"&&this._cache.delete(N.schema),delete this.schemas[O],delete this.refs[O],this}case"object":{const N=O;this._cache.delete(N);let R=O[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(O){for(const N of O)this.addKeyword(N);return this}addKeyword(O,N){let R;if(typeof O=="string")R=O,typeof N=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),N.keyword=R);else if(typeof O=="object"&&N===void 0){if(N=O,R=N.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(q.call(this,R,N),!N)return(0,u.eachItem)(R,E=>K.call(this,E)),this;ie.call(this,N);const x={...N,type:(0,l.getJSONTypes)(N.type),schemaType:(0,l.getJSONTypes)(N.schemaType)};return(0,u.eachItem)(R,x.type.length===0?E=>K.call(this,E,x):E=>x.type.forEach(T=>K.call(this,E,x,T))),this}getKeyword(O){const N=this.RULES.all[O];return typeof N=="object"?N.definition:!!N}removeKeyword(O){const{RULES:N}=this;delete N.keywords[O],delete N.all[O];for(const R of N.rules){const x=R.rules.findIndex(E=>E.keyword===O);x>=0&&R.rules.splice(x,1)}return this}addFormat(O,N){return typeof N=="string"&&(N=new RegExp(N)),this.formats[O]=N,this}errorsText(O=this.errors,{separator:N=", ",dataVar:R="data"}={}){return!O||O.length===0?"No errors":O.map(x=>`${R}${x.instancePath} ${x.message}`).reduce((x,E)=>x+N+E)}$dataMetaSchema(O,N){const R=this.RULES.all;O=JSON.parse(JSON.stringify(O));for(const x of N){const E=x.split("/").slice(1);let T=O;for(const W of E)T=T[W];for(const W in R){const B=R[W];if(typeof B!="object")continue;const{$data:ne}=B.definition,te=T[W];ne&&te&&(T[W]=se(te))}}return O}_removeAllSchemas(O,N){for(const R in O){const x=O[R];(!N||N.test(R))&&(typeof x=="string"?delete O[R]:x&&!x.meta&&(this._cache.delete(x.schema),delete O[R]))}}_addSchema(O,N,R,x=this.opts.validateSchema,E=this.opts.addUsedSchema){let T;const{schemaId:W}=this.opts;if(typeof O=="object")T=O[W];else{if(this.opts.jtd)throw new Error("schema must be object");if(typeof O!="boolean")throw new Error("schema must be object or boolean")}let B=this._cache.get(O);if(B!==void 0)return B;R=(0,c.normalizeId)(T||R);const ne=c.getSchemaRefs.call(this,O,R);return B=new s.SchemaEnv({schema:O,schemaId:W,meta:N,baseId:R,localRefs:ne}),this._cache.set(B.schema,B),E&&!R.startsWith("#")&&(R&&this._checkUnique(R),this.refs[R]=B),x&&this.validateSchema(O,!0),B}_checkUnique(O){if(this.schemas[O]||this.refs[O])throw new Error(`schema with key or id "${O}" already exists`)}_compileSchemaEnv(O){if(O.meta?this._compileMetaSchema(O):s.compileSchema.call(this,O),!O.validate)throw new Error("ajv implementation error");return O.validate}_compileMetaSchema(O){const N=this.opts;this.opts=this._metaOpts;try{s.compileSchema.call(this,O)}finally{this.opts=N}}}$.ValidationError=n.default,$.MissingRefError=o.default,e.default=$;function w(F,O,N,R="error"){for(const x in F){const E=x;E in O&&this.logger[R](`${N}: option ${x}. ${F[E]}`)}}function k(F){return F=(0,c.normalizeId)(F),this.schemas[F]||this.refs[F]}function _(){const F=this.opts.schemas;if(F)if(Array.isArray(F))this.addSchema(F);else for(const O in F)this.addSchema(F[O],O)}function S(){for(const F in this.opts.formats){const O=this.opts.formats[F];O&&this.addFormat(F,O)}}function P(F){if(Array.isArray(F)){this.addVocabulary(F);return}this.logger.warn("keywords option as map is deprecated, pass array");for(const O in F){const N=F[O];N.keyword||(N.keyword=O),this.addKeyword(N)}}function I(){const F={...this.opts};for(const O of v)delete F[O];return F}const L={log(){},warn(){},error(){}};function V(F){if(F===!1)return L;if(F===void 0)return console;if(F.log&&F.warn&&F.error)return F;throw new Error("logger must implement log, warn and error methods")}const z=/^[a-z_$][a-z0-9_$:-]*$/i;function q(F,O){const{RULES:N}=this;if((0,u.eachItem)(F,R=>{if(N.keywords[R])throw new Error(`Keyword ${R} is already defined`);if(!z.test(R))throw new Error(`Keyword ${R} has invalid name`)}),!!O&&O.$data&&!("code"in O||"validate"in O))throw new Error('$data keyword must have "code" or "validate" function')}function K(F,O,N){var R;const x=O?.post;if(N&&x)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:E}=this;let T=x?E.post:E.rules.find(({type:B})=>B===N);if(T||(T={type:N,rules:[]},E.rules.push(T)),E.keywords[F]=!0,!O)return;const W={keyword:F,definition:{...O,type:(0,l.getJSONTypes)(O.type),schemaType:(0,l.getJSONTypes)(O.schemaType)}};O.before?J.call(this,T,W,O.before):T.rules.push(W),E.all[F]=W,(R=O.implements)===null||R===void 0||R.forEach(B=>this.addKeyword(B))}function J(F,O,N){const R=F.rules.findIndex(x=>x.keyword===N);R>=0?F.rules.splice(R,0,O):(F.rules.push(O),this.logger.warn(`rule ${N} is not defined`))}function ie(F){let{metaSchema:O}=F;O!==void 0&&(F.$data&&this.opts.$data&&(O=se(O)),F.validateSchema=this.compile(O,!0))}const G={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function se(F){return{anyOf:[F,G]}}})(Nn)),Nn}var nr={},or={},ir={},es;function id(){if(es)return ir;es=1,Object.defineProperty(ir,"__esModule",{value:!0});const e={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};return ir.default=e,ir}var He={},ts;function sd(){if(ts)return He;ts=1,Object.defineProperty(He,"__esModule",{value:!0}),He.callRef=He.getValidate=void 0;const e=vn(),t=Ne(),r=ee(),n=Ye(),o=zo(),i=re(),s={keyword:"$ref",schemaType:"string",code(l){const{gen:u,schema:d,it:y}=l,{baseId:m,schemaEnv:v,validateName:h,opts:p,self:b}=y,{root:f}=v;if((d==="#"||d==="#/")&&m===f.baseId)return $();const g=o.resolveRef.call(b,f,m,d);if(g===void 0)throw new e.default(y.opts.uriResolver,m,d);if(g instanceof o.SchemaEnv)return w(g);return k(g);function $(){if(v===f)return c(l,h,v,v.$async);const _=u.scopeValue("root",{ref:f});return c(l,(0,r._)`${_}.validate`,f,f.$async)}function w(_){const S=a(l,_);c(l,S,_,_.$async)}function k(_){const S=u.scopeValue("schema",p.code.source===!0?{ref:_,code:(0,r.stringify)(_)}:{ref:_}),P=u.name("valid"),I=l.subschema({schema:_,dataTypes:[],schemaPath:r.nil,topSchemaRef:S,errSchemaPath:d},P);l.mergeEvaluated(I),l.ok(P)}}};function a(l,u){const{gen:d}=l;return u.validate?d.scopeValue("validate",{ref:u.validate}):(0,r._)`${d.scopeValue("wrapper",{ref:u})}.validate`}He.getValidate=a;function c(l,u,d,y){const{gen:m,it:v}=l,{allErrors:h,schemaEnv:p,opts:b}=v,f=b.passContext?n.default.this:r.nil;y?g():$();function g(){if(!p.$async)throw new Error("async schema referenced by sync schema");const _=m.let("valid");m.try(()=>{m.code((0,r._)`await ${(0,t.callValidateCode)(l,u,f)}`),k(u),h||m.assign(_,!0)},S=>{m.if((0,r._)`!(${S} instanceof ${v.ValidationError})`,()=>m.throw(S)),w(S),h||m.assign(_,!1)}),l.ok(_)}function $(){l.result((0,t.callValidateCode)(l,u,f),()=>k(u),()=>w(u))}function w(_){const S=(0,r._)`${_}.errors`;m.assign(n.default.vErrors,(0,r._)`${n.default.vErrors} === null ? ${S} : ${n.default.vErrors}.concat(${S})`),m.assign(n.default.errors,(0,r._)`${n.default.vErrors}.length`)}function k(_){var S;if(!v.opts.unevaluated)return;const P=(S=d?.validate)===null||S===void 0?void 0:S.evaluated;if(v.props!==!0)if(P&&!P.dynamicProps)P.props!==void 0&&(v.props=i.mergeEvaluated.props(m,P.props,v.props));else{const I=m.var("props",(0,r._)`${_}.evaluated.props`);v.props=i.mergeEvaluated.props(m,I,v.props,r.Name)}if(v.items!==!0)if(P&&!P.dynamicItems)P.items!==void 0&&(v.items=i.mergeEvaluated.items(m,P.items,v.items));else{const I=m.var("items",(0,r._)`${_}.evaluated.items`);v.items=i.mergeEvaluated.items(m,I,v.items,r.Name)}}}return He.callRef=c,He.default=s,He}var rs;function ad(){if(rs)return or;rs=1,Object.defineProperty(or,"__esModule",{value:!0});const e=id(),t=sd(),r=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",e.default,t.default];return or.default=r,or}var sr={},ar={},ns;function cd(){if(ns)return ar;ns=1,Object.defineProperty(ar,"__esModule",{value:!0});const e=ee(),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 ar.default=o,ar}var cr={},os;function ld(){if(os)return cr;os=1,Object.defineProperty(cr,"__esModule",{value:!0});const e=ee(),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,l=o.let("res"),u=c?(0,e._)`Math.abs(Math.round(${l}) - ${l}) > 1e-${c}`:(0,e._)`${l} !== parseInt(${l})`;n.fail$data((0,e._)`(${s} === 0 || (${l} = ${i}/${s}, ${u}))`)}};return cr.default=r,cr}var lr={},ur={},is;function ud(){if(is)return ur;is=1,Object.defineProperty(ur,"__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 ur.default=e,e.code='require("ajv/dist/runtime/ucs2length").default',ur}var ss;function fd(){if(ss)return lr;ss=1,Object.defineProperty(lr,"__esModule",{value:!0});const e=ee(),t=re(),r=ud(),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:l}=i,u=s==="maxLength"?e.operators.GT:e.operators.LT,d=l.opts.unicode===!1?(0,e._)`${a}.length`:(0,e._)`${(0,t.useFunc)(i.gen,r.default)}(${a})`;i.fail$data((0,e._)`${d} ${u} ${c}`)}};return lr.default=o,lr}var fr={},as;function dd(){if(as)return fr;as=1,Object.defineProperty(fr,"__esModule",{value:!0});const e=Ne(),t=ee(),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:l}=o,u=l.opts.unicodeRegExp?"u":"",d=s?(0,t._)`(new RegExp(${c}, ${u}))`:(0,e.usePattern)(o,a);o.fail$data((0,t._)`!${d}.test(${i})`)}};return fr.default=n,fr}var dr={},cs;function pd(){if(cs)return dr;cs=1,Object.defineProperty(dr,"__esModule",{value:!0});const e=ee(),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 dr.default=r,dr}var pr={},ls;function hd(){if(ls)return pr;ls=1,Object.defineProperty(pr,"__esModule",{value:!0});const e=Ne(),t=ee(),r=re(),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:l,$data:u,it:d}=i,{opts:y}=d;if(!u&&a.length===0)return;const m=a.length>=y.loopRequired;if(d.allErrors?v():h(),y.strictRequired){const f=i.parentSchema.properties,{definedProperties:g}=i.it;for(const $ of a)if(f?.[$]===void 0&&!g.has($)){const w=d.schemaEnv.baseId+d.errSchemaPath,k=`required property "${$}" is not defined at "${w}" (strictRequired)`;(0,r.checkStrictMode)(d,k,d.opts.strictRequired)}}function v(){if(m||u)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(m||u){const g=s.let("valid",!0);i.block$data(g,()=>b(f,g)),i.ok(g)}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,l,f,y.ownProperties),()=>i.error())})}function b(f,g){i.setParams({missingProperty:f}),s.forOf(f,c,()=>{s.assign(g,(0,e.propertyInData)(s,l,f,y.ownProperties)),s.if((0,t.not)(g),()=>{i.error(),s.break()})},t.nil)}}};return pr.default=o,pr}var hr={},us;function md(){if(us)return hr;us=1,Object.defineProperty(hr,"__esModule",{value:!0});const e=ee(),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 hr.default=r,hr}var mr={},gr={},fs;function Fo(){if(fs)return gr;fs=1,Object.defineProperty(gr,"__esModule",{value:!0});const e=wc();return e.code='require("ajv/dist/runtime/equal").default',gr.default=e,gr}var ds;function gd(){if(ds)return mr;ds=1,Object.defineProperty(mr,"__esModule",{value:!0});const e=en(),t=ee(),r=re(),n=Fo(),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:l,schema:u,parentSchema:d,schemaCode:y,it:m}=s;if(!l&&!u)return;const v=a.let("valid"),h=d.items?(0,e.getSchemaTypes)(d.items):[];s.block$data(v,p,(0,t._)`${y} === false`),s.ok(v);function p(){const $=a.let("i",(0,t._)`${c}.length`),w=a.let("j");s.setParams({i:$,j:w}),a.assign(v,!0),a.if((0,t._)`${$} > 1`,()=>(b()?f:g)($,w))}function b(){return h.length>0&&!h.some($=>$==="object"||$==="array")}function f($,w){const k=a.name("item"),_=(0,e.checkDataTypes)(h,k,m.opts.strictNumbers,e.DataType.Wrong),S=a.const("indices",(0,t._)`{}`);a.for((0,t._)`;${$}--;`,()=>{a.let(k,(0,t._)`${c}[${$}]`),a.if(_,(0,t._)`continue`),h.length>1&&a.if((0,t._)`typeof ${k} == "string"`,(0,t._)`${k} += "_"`),a.if((0,t._)`typeof ${S}[${k}] == "number"`,()=>{a.assign(w,(0,t._)`${S}[${k}]`),s.error(),a.assign(v,!1).break()}).code((0,t._)`${S}[${k}] = ${$}`)})}function g($,w){const k=(0,r.useFunc)(a,n.default),_=a.name("outer");a.label(_).for((0,t._)`;${$}--;`,()=>a.for((0,t._)`${w} = ${$}; ${w}--;`,()=>a.if((0,t._)`${k}(${c}[${$}], ${c}[${w}])`,()=>{s.error(),a.assign(v,!1).break(_)})))}}};return mr.default=i,mr}var br={},ps;function bd(){if(ps)return br;ps=1,Object.defineProperty(br,"__esModule",{value:!0});const e=ee(),t=re(),r=Fo(),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:l,schema:u}=i;c||u&&typeof u=="object"?i.fail$data((0,e._)`!${(0,t.useFunc)(s,r.default)}(${a}, ${l})`):i.fail((0,e._)`${u} !== ${a}`)}};return br.default=o,br}var yr={},hs;function yd(){if(hs)return yr;hs=1,Object.defineProperty(yr,"__esModule",{value:!0});const e=ee(),t=re(),r=Fo(),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:l,schemaCode:u,it:d}=i;if(!c&&l.length===0)throw new Error("enum must have non-empty array");const y=l.length>=d.opts.loopEnum;let m;const v=()=>m??(m=(0,t.useFunc)(s,r.default));let h;if(y||c)h=s.let("valid"),i.block$data(h,p);else{if(!Array.isArray(l))throw new Error("ajv implementation error");const f=s.const("vSchema",u);h=(0,e.or)(...l.map((g,$)=>b(f,$)))}i.pass(h);function p(){s.assign(h,!1),s.forOf("v",u,f=>s.if((0,e._)`${v()}(${a}, ${f})`,()=>s.assign(h,!0).break()))}function b(f,g){const $=l[g];return typeof $=="object"&&$!==null?(0,e._)`${v()}(${a}, ${f}[${g}])`:(0,e._)`${a} === ${$}`}}};return yr.default=o,yr}var ms;function vd(){if(ms)return sr;ms=1,Object.defineProperty(sr,"__esModule",{value:!0});const e=cd(),t=ld(),r=fd(),n=dd(),o=pd(),i=hd(),s=md(),a=gd(),c=bd(),l=yd(),u=[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,l.default];return sr.default=u,sr}var vr={},st={},gs;function kc(){if(gs)return st;gs=1,Object.defineProperty(st,"__esModule",{value:!0}),st.validateAdditionalItems=void 0;const e=ee(),t=re(),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:l,keyword:u,it:d}=i;d.items=!0;const y=a.const("len",(0,e._)`${l}.length`);if(c===!1)i.setParams({len:s.length}),i.pass((0,e._)`${y} <= ${s.length}`);else if(typeof c=="object"&&!(0,t.alwaysValidSchema)(d,c)){const v=a.var("valid",(0,e._)`${y} <= ${s.length}`);a.if((0,e.not)(v),()=>m(v)),i.ok(v)}function m(v){a.forRange("i",s.length,y,h=>{i.subschema({keyword:u,dataProp:h,dataPropType:t.Type.Num},v),d.allErrors||a.if((0,e.not)(v),()=>a.break())})}}return st.validateAdditionalItems=o,st.default=n,st}var $r={},at={},bs;function _c(){if(bs)return at;bs=1,Object.defineProperty(at,"__esModule",{value:!0}),at.validateTuple=void 0;const e=ee(),t=re(),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:l,data:u,keyword:d,it:y}=i;h(l),y.opts.unevaluated&&a.length&&y.items!==!0&&(y.items=t.mergeEvaluated.items(c,a.length,y.items));const m=c.name("valid"),v=c.const("len",(0,e._)`${u}.length`);a.forEach((p,b)=>{(0,t.alwaysValidSchema)(y,p)||(c.if((0,e._)`${v} > ${b}`,()=>i.subschema({keyword:d,schemaProp:b,dataProp:b},m)),i.ok(m))});function h(p){const{opts:b,errSchemaPath:f}=y,g=a.length,$=g===p.minItems&&(g===p.maxItems||p[s]===!1);if(b.strictTuples&&!$){const w=`"${d}" is ${g}-tuple, but minItems or maxItems/${s} are not specified or different at path "${f}"`;(0,t.checkStrictMode)(y,w,b.strictTuples)}}}return at.validateTuple=o,at.default=n,at}var ys;function $d(){if(ys)return $r;ys=1,Object.defineProperty($r,"__esModule",{value:!0});const e=_c(),t={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:r=>(0,e.validateTuple)(r,"items")};return $r.default=t,$r}var wr={},vs;function wd(){if(vs)return wr;vs=1,Object.defineProperty(wr,"__esModule",{value:!0});const e=ee(),t=re(),r=Ne(),n=kc(),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:l}=s,{prefixItems:u}=c;l.items=!0,!(0,t.alwaysValidSchema)(l,a)&&(u?(0,n.validateAdditionalItems)(s,u):s.ok((0,r.validateArray)(s)))}};return wr.default=i,wr}var kr={},$s;function kd(){if($s)return kr;$s=1,Object.defineProperty(kr,"__esModule",{value:!0});const e=ee(),t=re(),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:l}=o;let u,d;const{minContains:y,maxContains:m}=a;l.opts.next?(u=y===void 0?1:y,d=m):u=1;const v=i.const("len",(0,e._)`${c}.length`);if(o.setParams({min:u,max:d}),d===void 0&&u===0){(0,t.checkStrictMode)(l,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(d!==void 0&&u>d){(0,t.checkStrictMode)(l,'"minContains" > "maxContains" is always invalid'),o.fail();return}if((0,t.alwaysValidSchema)(l,s)){let g=(0,e._)`${v} >= ${u}`;d!==void 0&&(g=(0,e._)`${g} && ${v} <= ${d}`),o.pass(g);return}l.items=!0;const h=i.name("valid");d===void 0&&u===1?b(h,()=>i.if(h,()=>i.break())):u===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 g=i.name("_valid"),$=i.let("count",0);b(g,()=>i.if(g,()=>f($)))}function b(g,$){i.forRange("i",0,v,w=>{o.subschema({keyword:"contains",dataProp:w,dataPropType:t.Type.Num,compositeRule:!0},g),$()})}function f(g){i.code((0,e._)`${g}++`),d===void 0?i.if((0,e._)`${g} >= ${u}`,()=>i.assign(h,!0).break()):(i.if((0,e._)`${g} > ${d}`,()=>i.assign(h,!1).break()),u===1?i.assign(h,!0):i.if((0,e._)`${g} >= ${u}`,()=>i.assign(h,!0)))}}};return kr.default=n,kr}var Hn={},ws;function _d(){return ws||(ws=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.validateSchemaDeps=e.validatePropertyDeps=e.error=void 0;const t=ee(),r=re(),n=Ne();e.error={message:({params:{property:c,depsCount:l,deps:u}})=>{const d=l===1?"property":"properties";return(0,t.str)`must have ${d} ${u} when property ${c} is present`},params:({params:{property:c,depsCount:l,deps:u,missingProperty:d}})=>(0,t._)`{property: ${c},
14
- missingProperty: ${d},
15
- depsCount: ${l},
16
- deps: ${u}}`};const o={keyword:"dependencies",type:"object",schemaType:"object",error:e.error,code(c){const[l,u]=i(c);s(c,l),a(c,u)}};function i({schema:c}){const l={},u={};for(const d in c){if(d==="__proto__")continue;const y=Array.isArray(c[d])?l:u;y[d]=c[d]}return[l,u]}function s(c,l=c.schema){const{gen:u,data:d,it:y}=c;if(Object.keys(l).length===0)return;const m=u.let("missing");for(const v in l){const h=l[v];if(h.length===0)continue;const p=(0,n.propertyInData)(u,d,v,y.opts.ownProperties);c.setParams({property:v,depsCount:h.length,deps:h.join(", ")}),y.allErrors?u.if(p,()=>{for(const b of h)(0,n.checkReportMissingProp)(c,b)}):(u.if((0,t._)`${p} && (${(0,n.checkMissingProp)(c,h,m)})`),(0,n.reportMissingProp)(c,m),u.else())}}e.validatePropertyDeps=s;function a(c,l=c.schema){const{gen:u,data:d,keyword:y,it:m}=c,v=u.name("valid");for(const h in l)(0,r.alwaysValidSchema)(m,l[h])||(u.if((0,n.propertyInData)(u,d,h,m.opts.ownProperties),()=>{const p=c.subschema({keyword:y,schemaProp:h},v);c.mergeValidEvaluated(p,v)},()=>u.var(v,!0)),c.ok(v))}e.validateSchemaDeps=a,e.default=o})(Hn)),Hn}var _r={},ks;function xd(){if(ks)return _r;ks=1,Object.defineProperty(_r,"__esModule",{value:!0});const e=ee(),t=re(),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 l=i.name("valid");i.forIn("key",a,u=>{o.setParams({propertyName:u}),o.subschema({keyword:"propertyNames",data:u,dataTypes:["string"],propertyName:u,compositeRule:!0},l),i.if((0,e.not)(l),()=>{o.error(!0),c.allErrors||i.break()})}),o.ok(l)}};return _r.default=n,_r}var xr={},_s;function xc(){if(_s)return xr;_s=1,Object.defineProperty(xr,"__esModule",{value:!0});const e=Ne(),t=ee(),r=Ye(),n=re(),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:l,data:u,errsCount:d,it:y}=s;if(!d)throw new Error("ajv implementation error");const{allErrors:m,opts:v}=y;if(y.props=!0,v.removeAdditional!=="all"&&(0,n.alwaysValidSchema)(y,c))return;const h=(0,e.allSchemaProperties)(l.properties),p=(0,e.allSchemaProperties)(l.patternProperties);b(),s.ok((0,t._)`${d} === ${r.default.errors}`);function b(){a.forIn("key",u,k=>{!h.length&&!p.length?$(k):a.if(f(k),()=>$(k))})}function f(k){let _;if(h.length>8){const S=(0,n.schemaRefOrVal)(y,l.properties,"properties");_=(0,e.isOwnProperty)(a,S,k)}else h.length?_=(0,t.or)(...h.map(S=>(0,t._)`${k} === ${S}`)):_=t.nil;return p.length&&(_=(0,t.or)(_,...p.map(S=>(0,t._)`${(0,e.usePattern)(s,S)}.test(${k})`))),(0,t.not)(_)}function g(k){a.code((0,t._)`delete ${u}[${k}]`)}function $(k){if(v.removeAdditional==="all"||v.removeAdditional&&c===!1){g(k);return}if(c===!1){s.setParams({additionalProperty:k}),s.error(),m||a.break();return}if(typeof c=="object"&&!(0,n.alwaysValidSchema)(y,c)){const _=a.name("valid");v.removeAdditional==="failing"?(w(k,_,!1),a.if((0,t.not)(_),()=>{s.reset(),g(k)})):(w(k,_),m||a.if((0,t.not)(_),()=>a.break()))}}function w(k,_,S){const P={keyword:"additionalProperties",dataProp:k,dataPropType:n.Type.Str};S===!1&&Object.assign(P,{compositeRule:!0,createErrors:!1,allErrors:!1}),s.subschema(P,_)}}};return xr.default=i,xr}var Sr={},xs;function Sd(){if(xs)return Sr;xs=1,Object.defineProperty(Sr,"__esModule",{value:!0});const e=yn(),t=Ne(),r=re(),n=xc(),o={keyword:"properties",type:"object",schemaType:"object",code(i){const{gen:s,schema:a,parentSchema:c,data:l,it:u}=i;u.opts.removeAdditional==="all"&&c.additionalProperties===void 0&&n.default.code(new e.KeywordCxt(u,n.default,"additionalProperties"));const d=(0,t.allSchemaProperties)(a);for(const p of d)u.definedProperties.add(p);u.opts.unevaluated&&d.length&&u.props!==!0&&(u.props=r.mergeEvaluated.props(s,(0,r.toHash)(d),u.props));const y=d.filter(p=>!(0,r.alwaysValidSchema)(u,a[p]));if(y.length===0)return;const m=s.name("valid");for(const p of y)v(p)?h(p):(s.if((0,t.propertyInData)(s,l,p,u.opts.ownProperties)),h(p),u.allErrors||s.else().var(m,!0),s.endIf()),i.it.definedProperties.add(p),i.ok(m);function v(p){return u.opts.useDefaults&&!u.compositeRule&&a[p].default!==void 0}function h(p){i.subschema({keyword:"properties",schemaProp:p,dataProp:p},m)}}};return Sr.default=o,Sr}var Er={},Ss;function Ed(){if(Ss)return Er;Ss=1,Object.defineProperty(Er,"__esModule",{value:!0});const e=Ne(),t=ee(),r=re(),n=re(),o={keyword:"patternProperties",type:"object",schemaType:"object",code(i){const{gen:s,schema:a,data:c,parentSchema:l,it:u}=i,{opts:d}=u,y=(0,e.allSchemaProperties)(a),m=y.filter($=>(0,r.alwaysValidSchema)(u,a[$]));if(y.length===0||m.length===y.length&&(!u.opts.unevaluated||u.props===!0))return;const v=d.strictSchema&&!d.allowMatchingProperties&&l.properties,h=s.name("valid");u.props!==!0&&!(u.props instanceof t.Name)&&(u.props=(0,n.evaluatedPropsToName)(s,u.props));const{props:p}=u;b();function b(){for(const $ of y)v&&f($),u.allErrors?g($):(s.var(h,!0),g($),s.if(h))}function f($){for(const w in v)new RegExp($).test(w)&&(0,r.checkStrictMode)(u,`property ${w} matches pattern ${$} (use allowMatchingProperties)`)}function g($){s.forIn("key",c,w=>{s.if((0,t._)`${(0,e.usePattern)(i,$)}.test(${w})`,()=>{const k=m.includes($);k||i.subschema({keyword:"patternProperties",schemaProp:$,dataProp:w,dataPropType:n.Type.Str},h),u.opts.unevaluated&&p!==!0?s.assign((0,t._)`${p}[${w}]`,!0):!k&&!u.allErrors&&s.if((0,t.not)(h),()=>s.break())})})}}};return Er.default=o,Er}var Cr={},Es;function Cd(){if(Es)return Cr;Es=1,Object.defineProperty(Cr,"__esModule",{value:!0});const e=re(),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 Cr.default=t,Cr}var jr={},Cs;function jd(){if(Cs)return jr;Cs=1,Object.defineProperty(jr,"__esModule",{value:!0});const t={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:Ne().validateUnion,error:{message:"must match a schema in anyOf"}};return jr.default=t,jr}var Pr={},js;function Pd(){if(js)return Pr;js=1,Object.defineProperty(Pr,"__esModule",{value:!0});const e=ee(),t=re(),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 l=s,u=i.let("valid",!1),d=i.let("passing",null),y=i.name("_valid");o.setParams({passing:d}),i.block(m),o.result(u,()=>o.reset(),()=>o.error(!0));function m(){l.forEach((v,h)=>{let p;(0,t.alwaysValidSchema)(c,v)?i.var(y,!0):p=o.subschema({keyword:"oneOf",schemaProp:h,compositeRule:!0},y),h>0&&i.if((0,e._)`${y} && ${u}`).assign(u,!1).assign(d,(0,e._)`[${d}, ${h}]`).else(),i.if(y,()=>{i.assign(u,!0),i.assign(d,h),p&&o.mergeEvaluated(p,e.Name)})})}}};return Pr.default=n,Pr}var Or={},Ps;function Od(){if(Ps)return Or;Ps=1,Object.defineProperty(Or,"__esModule",{value:!0});const e=re(),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 l=r.subschema({keyword:"allOf",schemaProp:c},s);r.ok(s),r.mergeEvaluated(l)})}};return Or.default=t,Or}var Rr={},Os;function Rd(){if(Os)return Rr;Os=1,Object.defineProperty(Rr,"__esModule",{value:!0});const e=ee(),t=re(),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 l=o(c,"then"),u=o(c,"else");if(!l&&!u)return;const d=s.let("valid",!0),y=s.name("_valid");if(m(),i.reset(),l&&u){const h=s.let("ifClause");i.setParams({ifClause:h}),s.if(y,v("then",h),v("else",h))}else l?s.if(y,v("then")):s.if((0,e.not)(y),v("else"));i.pass(d,()=>i.error(!0));function m(){const h=i.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},y);i.mergeEvaluated(h)}function v(h,p){return()=>{const b=i.subschema({keyword:h},y);s.assign(d,y),i.mergeValidEvaluated(b,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 Rr.default=n,Rr}var Ar={},Rs;function Ad(){if(Rs)return Ar;Rs=1,Object.defineProperty(Ar,"__esModule",{value:!0});const e=re(),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 Ar.default=t,Ar}var As;function Td(){if(As)return vr;As=1,Object.defineProperty(vr,"__esModule",{value:!0});const e=kc(),t=$d(),r=_c(),n=wd(),o=kd(),i=_d(),s=xd(),a=xc(),c=Sd(),l=Ed(),u=Cd(),d=jd(),y=Pd(),m=Od(),v=Rd(),h=Ad();function p(b=!1){const f=[u.default,d.default,y.default,m.default,v.default,h.default,s.default,a.default,i.default,c.default,l.default];return b?f.push(t.default,n.default):f.push(e.default,r.default),f.push(o.default),f}return vr.default=p,vr}var Tr={},Mr={},Ts;function Md(){if(Ts)return Mr;Ts=1,Object.defineProperty(Mr,"__esModule",{value:!0});const e=ee(),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:l,it:u}=n,{opts:d,errSchemaPath:y,schemaEnv:m,self:v}=u;if(!d.validateFormats)return;a?h():p();function h(){const b=i.scopeValue("formats",{ref:v.formats,code:d.code.formats}),f=i.const("fDef",(0,e._)`${b}[${l}]`),g=i.let("fType"),$=i.let("format");i.if((0,e._)`typeof ${f} == "object" && !(${f} instanceof RegExp)`,()=>i.assign(g,(0,e._)`${f}.type || "string"`).assign($,(0,e._)`${f}.validate`),()=>i.assign(g,(0,e._)`"string"`).assign($,f)),n.fail$data((0,e.or)(w(),k()));function w(){return d.strictSchema===!1?e.nil:(0,e._)`${l} && !${$}`}function k(){const _=m.$async?(0,e._)`(${f}.async ? await ${$}(${s}) : ${$}(${s}))`:(0,e._)`${$}(${s})`,S=(0,e._)`(typeof ${$} == "function" ? ${_} : ${$}.test(${s}))`;return(0,e._)`${$} && ${$} !== true && ${g} === ${o} && !${S}`}}function p(){const b=v.formats[c];if(!b){w();return}if(b===!0)return;const[f,g,$]=k(b);f===o&&n.pass(_());function w(){if(d.strictSchema===!1){v.logger.warn(S());return}throw new Error(S());function S(){return`unknown format "${c}" ignored in schema at path "${y}"`}}function k(S){const P=S instanceof RegExp?(0,e.regexpCode)(S):d.code.formats?(0,e._)`${d.code.formats}${(0,e.getProperty)(c)}`:void 0,I=i.scopeValue("formats",{key:c,ref:S,code:P});return typeof S=="object"&&!(S instanceof RegExp)?[S.type||"string",S.validate,(0,e._)`${I}.validate`]:["string",S,I]}function _(){if(typeof b=="object"&&!(b instanceof RegExp)&&b.async){if(!m.$async)throw new Error("async format in sync schema");return(0,e._)`await ${$}(${s})`}return typeof g=="function"?(0,e._)`${$}(${s})`:(0,e._)`${$}.test(${s})`}}}};return Mr.default=r,Mr}var Ms;function Nd(){if(Ms)return Tr;Ms=1,Object.defineProperty(Tr,"__esModule",{value:!0});const t=[Md().default];return Tr.default=t,Tr}var et={},Ns;function Id(){return Ns||(Ns=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 Is;function zd(){if(Is)return nr;Is=1,Object.defineProperty(nr,"__esModule",{value:!0});const e=ad(),t=vd(),r=Td(),n=Nd(),o=Id(),i=[e.default,t.default,(0,r.default)(),n.default,o.metadataVocabulary,o.contentVocabulary];return nr.default=i,nr}var Nr={},Et={},zs;function Fd(){if(zs)return Et;zs=1,Object.defineProperty(Et,"__esModule",{value:!0}),Et.DiscrError=void 0;var e;return(function(t){t.Tag="tag",t.Mapping="mapping"})(e||(Et.DiscrError=e={})),Et}var Fs;function Ld(){if(Fs)return Nr;Fs=1,Object.defineProperty(Nr,"__esModule",{value:!0});const e=ee(),t=Fd(),r=zo(),n=vn(),o=re(),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:l}})=>(0,e._)`{error: ${a}, tag: ${l}, tagValue: ${c}}`},code(a){const{gen:c,data:l,schema:u,parentSchema:d,it:y}=a,{oneOf:m}=d;if(!y.opts.discriminator)throw new Error("discriminator: requires discriminator option");const v=u.propertyName;if(typeof v!="string")throw new Error("discriminator: requires propertyName");if(u.mapping)throw new Error("discriminator: mapping is not supported");if(!m)throw new Error("discriminator: requires oneOf keyword");const h=c.let("valid",!1),p=c.const("tag",(0,e._)`${l}${(0,e.getProperty)(v)}`);c.if((0,e._)`typeof ${p} == "string"`,()=>b(),()=>a.error(!1,{discrError:t.DiscrError.Tag,tag:p,tagName:v})),a.ok(h);function b(){const $=g();c.if(!1);for(const w in $)c.elseIf((0,e._)`${p} === ${w}`),c.assign(h,f($[w]));c.else(),a.error(!1,{discrError:t.DiscrError.Mapping,tag:p,tagName:v}),c.endIf()}function f($){const w=c.name("valid"),k=a.subschema({keyword:"oneOf",schemaProp:$},w);return a.mergeEvaluated(k,e.Name),w}function g(){var $;const w={},k=S(d);let _=!0;for(let L=0;L<m.length;L++){let V=m[L];if(V?.$ref&&!(0,o.schemaHasRulesButRef)(V,y.self.RULES)){const q=V.$ref;if(V=r.resolveRef.call(y.self,y.schemaEnv.root,y.baseId,q),V instanceof r.SchemaEnv&&(V=V.schema),V===void 0)throw new n.default(y.opts.uriResolver,y.baseId,q)}const z=($=V?.properties)===null||$===void 0?void 0:$[v];if(typeof z!="object")throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${v}"`);_=_&&(k||S(V)),P(z,L)}if(!_)throw new Error(`discriminator: "${v}" must be required`);return w;function S({required:L}){return Array.isArray(L)&&L.includes(v)}function P(L,V){if(L.const)I(L.const,V);else if(L.enum)for(const z of L.enum)I(z,V);else throw new Error(`discriminator: "properties/${v}" must have "const" or "enum"`)}function I(L,V){if(typeof L!="string"||L in w)throw new Error(`discriminator: "${v}" values must be unique strings`);w[L]=V}}}};return Nr.default=s,Nr}const Dd="http://json-schema.org/draft-07/schema#",qd="http://json-schema.org/draft-07/schema#",Vd="Core schema meta-schema",Ud={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:[]}},Wd=["object","boolean"],Hd={$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:"#"}},Bd={$schema:Dd,$id:qd,title:Vd,definitions:Ud,type:Wd,properties:Hd,default:!0};var Ls;function Kd(){return Ls||(Ls=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=od(),n=zd(),o=Ld(),i=Bd,s=["/properties"],a="http://json-schema.org/draft-07/schema";class c extends r.default{_addVocabularies(){super._addVocabularies(),n.default.forEach(v=>this.addVocabulary(v)),this.opts.discriminator&&this.addKeyword(o.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const v=this.opts.$data?this.$dataMetaSchema(i,s):i;this.addMetaSchema(v,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 l=yn();Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return l.KeywordCxt}});var u=ee();Object.defineProperty(t,"_",{enumerable:!0,get:function(){return u._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return u.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return u.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return u.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return u.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return u.CodeGen}});var d=Io();Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return d.default}});var y=vn();Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return y.default}})})(Zt,Zt.exports)),Zt.exports}var Gd=Kd();const Jd=dn(Gd);var Ir={exports:{}},Ds;function Xd(){return Ds||(Ds=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:u=>{var d;const y=(d=u?.max)!==null&&d!==void 0?d:2;return()=>Math.floor(Math.random()*y)},seq:u=>{var d;const y=(d=u?.name)!==null&&d!==void 0?d:"";return r[y]||(r[y]=0),()=>r[y]++}},o=Object.assign(i,{DEFAULTS:n});function i(){return{keyword:"dynamicDefaults",type:"object",schemaType:["string","object"],modifying:!0,valid:!0,compile(u,d,y){if(!y.opts.useDefaults||y.compositeRule)return()=>!0;const m={};for(const h in u)m[h]=s(u[h]);const v=y.opts.useDefaults==="empty";return h=>{for(const p in u)(h[p]===void 0||v&&(h[p]===null||h[p]===""))&&(h[p]=m[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(u){return typeof u=="object"?a(u):c(u)}function a({func:u,args:d}){const y=n[u];return l(u,y),y(d)}function c(u=""){const d=n[u];return l(u,d),d()}function l(u,d){if(!d)throw new Error(`invalid "dynamicDefaults" keyword property value: ${u}`)}t.default=o,e.exports=o})(Ir,Ir.exports)),Ir.exports}var Yd=Xd();const Sc=dn(Yd),Zd={$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"},Qd={$id:"urn:jsonschema:data",items:{$ref:"urn:jsonschema:page"},type:"array"},ep={$id:"urn:jsonschema:feed",additionalProperties:!1,properties:{feed_url:{type:"string"},home_page_url:{type:"string"},items:{default:[],items:{additionalProperties:!1,dynamicDefaults:{date_published:"datetime",id:"uuid"},properties:{attachments:{default:[],items:{additionalProperties:!1,properties:{mime_type:{default:"",type:"string"},url:{default:"",type:"string"}},type:"object"},type:"array"},content_html:{default:"",type:"string"},date_published:{type:"string"},id:{type:"string"},title:{default:"",type:"string"},url:{type:"string"}},type:"object"},type:"array"},title:{default:"",type:"string"},version:{default:"https://jsonfeed.org/version/1",enum:["https://jsonfeed.org/version/1","https://jsonfeed.org/version/1.1"],type:"string"}},type:"object"},tp={$id:"urn:jsonschema:fonts",items:{type:"string"},type:"array"},rp={$id:"urn:jsonschema:importmap",additionalProperties:!1,properties:{imports:{additionalProperties:{type:"string"},default:{},description:"The Imports field",type:"object"},scopes:{additionalProperties:{additionalProperties:{type:"string"},type:"object"},description:"The Scopes field",type:"object"}},title:"JSON schema for Import Maps files",type:"object"},np={$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"},Ec=()=>{const e=URL.createObjectURL(new Blob),t=e.split("/").pop()??crypto.randomUUID();return URL.revokeObjectURL(e),t};Sc.DEFAULTS.uuid=()=>Ec;const op={get(){return this.children.filter(({enabled:e})=>e)}},ip={get(){return this.$siblings.findIndex(({id:e})=>this.id===e)}},sp={get(){return this.$siblings[this.$index+1]}},ap={get(){return this.$siblings[this.$index-1]}},cp={get(){return this.siblings.filter(({enabled:e})=>e)}},Bt=new Jd({code:{esm:!0},coerceTypes:!0,keywords:[Sc()],removeAdditional:!0,schemas:[Zd,Qd,np,rp,ep,tp],useDefaults:!0}),lp=e=>{window.console.error(e)},up=async e=>(await fetch(e)).text(),fp=We({}),po=We([]),dp=e=>Object.fromEntries(e.map(t=>[t.toLowerCase().replaceAll(" ","_"),t])),pp={get(){return this.icon&&`i-${this.icon}`}},hp=We({}),tn=We([]),mp={get(){const e=this.branch.slice(1);return e.some(({name:t})=>!t)?void 0:e.map(({name:t})=>t).join("/").replaceAll(" ","_")}},gp={get(){return["",void 0].includes(this.header)?this.name??"":this.header}},bp={get(){return this.path?.replace(/^\/?/,"/").replace(/\/?$/,"/")}};Bt.getSchema("urn:jsonschema:credentials");const yp=Bt.getSchema("urn:jsonschema:data"),vp=Bt.getSchema("urn:jsonschema:feed"),$p=Bt.getSchema("urn:jsonschema:fonts"),wp=Bt.getSchema("urn:jsonschema:importmap"),{leaves:rn,objLeaves:ho}=Df(tn);Re(fp,async e=>{await vp?.(e)});Re(po,async e=>{await $p?.(e)});Re(hp,async e=>{await wp?.(e)});Re(rn,async e=>{await yp?.(e)?e.forEach(t=>{Object.defineProperties(t,{$children:op,$index:ip,$next:sp,$prev:ap,$siblings:cp,i:pp,path:mp,title:gp,to:bp})}):(tn.length=0,tn.push({}))});const Cc=/^(?!.*\[[^:]+:.+\]$)((?:.+:)?!?)(.*)$/;function kp(e={}){const t=e.prefix??"un-",r=e.prefixedOnly??!1,n=e.trueToNonValued??!1;let o;return{name:"attributify",match(i,{generator:s}){const a=Mu(i);if(!a)return;let c=a[1];if(c.startsWith(t))c=c.slice(t.length);else if(r)return;const l=a[2],[,u="",d=l]=l.match(Cc)||[];if(d==="~"||n&&d==="true"||!d)return`${u}${c}`;if(o==null){const y=s?.config?.separators?.join("|");y?o=new RegExp(`^(.*\\](?:${y}))(\\[[^\\]]+?\\])$`):o=!1}if(o){const[,y,m]=l.match(o)||[];if(m)return`${y}${u}${c}-${m}`}if(u&&d.match(/^[\d.]+$/)){const y=u.split(/([^:]*:)/g).filter(Boolean),m=y.pop()+d,v=y.join("");return[{matcher:`${u}${c}-${d}`},{matcher:`${v}${c}-${m}`}]}return`${u}${c}-${d}`}}}const _p=/(<\w[\w:.$-]*\s)((?:'[^>']*'|"[^>"]*"|`[^>`]*`|\{[^>}]*\}|[^>]*?)*)/g,xp=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF-:%]+)(?:=("[^"]*|'[^']*))?/g,qs=/[\s'"`;>]+/;function Sp(e){return{name:"attributify",extract:({content:t,cursor:r})=>{const n=t.matchAll(_p);let o,i=0;for(const f of n){const[,g,$]=f,w=f.index+g.length;if(r>w&&r<=w+$.length){i=w,o=$;break}}if(!o)return null;const s=o.matchAll(xp);let a=0,c,l;for(const f of s){const[g,$,w]=f,k=i+f.index;if(r>k&&r<=k+g.length){a=k,c=$,l=w?.slice(1);break}}if(!c||c==="class"||c==="className"||c===":class")return null;const u=!!e?.prefix&&c.startsWith(e.prefix);if(e?.prefixedOnly&&!u)return null;const d=u?c.slice(e.prefix.length):c;if(l===void 0)return{extracted:d,resolveReplacement(f){const g=u?e.prefix.length:0;return{start:a+g,end:a+c.length,replacement:f}}};const y=a+c.length+2;let m=qs.exec(l),v=0,h;for(;m;){const[f]=m;if(r>y+v&&r<=y+v+m.index){h=l.slice(v,v+m.index);break}v+=m.index+f.length,m=qs.exec(l.slice(v))}h===void 0&&(h=l.slice(v));const[,p="",b]=h.match(Cc)||[];return{extracted:`${p}${d}-${b}`,transformSuggestions(f){return f.filter(g=>g.startsWith(`${p}${d}-`)).map(g=>p+g.slice(p.length+d.length+1))},resolveReplacement(f){return{start:v+y,end:v+y+h.length,replacement:p+f.slice(p.length+d.length+1)}}}}}}const Ep=["v-bind:",":"],Vs=/[\s'"`;]+/g,Bn=/<[^>\s]*\s((?:'[^']*'|"[^"]*"|`[^`]*`|\{[^}]*\}|=>|[^>]*?)*)/g,Cp=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF:!%.~<-]+)=?(?:"([^"]*)"|'([^']*)'|\{([^}]*)\})?/g,jc=["placeholder","fill","opacity","stroke-opacity"];function jp(e){const t=e?.ignoreAttributes??jc,r=e?.nonValuedAttribute??!0,n=e?.trueToNonValued??!1;return{name:"@unocss/preset-attributify/extractor",extract({code:o}){return Array.from(o.matchAll(Bn)).flatMap(i=>Array.from((i[1]||"").matchAll(Cp))).flatMap(([,i,...s])=>{const a=s.filter(Boolean).join("");if(t.includes(i))return[];for(const c of Ep)if(i.startsWith(c)){i=i.slice(c.length);break}if(!a){if(fo(i)&&r!==!1){const c=[`[${i}=""]`];return n&&c.push(`[${i}="true"]`),c}return[]}return["class","className"].includes(i)?a.split(Vs).filter(fo):Bn.test(a)?(Bn.lastIndex=0,this.extract({code:a})):e?.prefixedOnly&&e.prefix&&!i.startsWith(e.prefix)?[]:a.split(Vs).filter(c=>!!c&&c!==":").map(c=>`[${i}~="${c}"]`)})}}}const Pp=(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??jc;const t=[kp(e)],r=[jp(e)],n=[Sp(e)];return{name:"@unocss/preset-attributify",enforce:"post",variants:t,extractors:r,options:e,autocomplete:{extractors:n},extractorDefault:e.strict?!1:void 0}},Op=Object.freeze({left:0,top:0,width:16,height:16}),nn=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Pc=Object.freeze({...Op,...nn}),Rp=Object.freeze({...Pc,body:"",hidden:!1}),Ap=Object.freeze({width:null,height:null}),Oc=Object.freeze({...Ap,...nn});function Tp(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 Us(e,t){const r=Tp(e,t);for(const n in Rp)n in nn?n in e&&!(n in r)&&(r[n]=nn[n]):n in t?r[n]=t[n]:n in e&&(r[n]=e[n]);return r}function Mp(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 Ws(e,t,r){const n=e.icons,o=e.aliases||Object.create(null);let i={};function s(a){i=Us(n[a]||o[a],i)}return s(t),r.forEach(s),Us(e,i)}function Np(e,t){if(e.icons[t])return Ws(e,t,[]);const r=Mp(e,[t])[t];return r?Ws(e,t,r):null}const Ip=/(-?[0-9.]*[0-9]+[0-9.]*)/g,zp=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function on(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(Ip);if(n===null||!n.length)return e;const o=[];let i=n.shift(),s=zp.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 Fp(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 Lp(e,t){return e?"<defs>"+e+"</defs>"+t:t}function Dp(e,t,r){const n=Fp(e);return Lp(n.defs,t+n.content+r)}const Lo=e=>e==="unset"||e==="undefined"||e==="none";function qp(e,t){const r={...Pc,...e},n={...Oc,...t},o={left:r.left,top:r.top,width:r.width,height:r.height};let i=r.body;[r,n].forEach(h=>{const p=[],b=h.hFlip,f=h.vFlip;let g=h.rotate;b?f?g+=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(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){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}g%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=Dp(i,'<g transform="'+p.join(" ")+'">',"</g>"))});const s=n.width,a=n.height,c=o.width,l=o.height;let u,d;s===null?(d=a===null?"1em":a==="auto"?l:a,u=on(d,c/l)):(u=s==="auto"?c:s,d=a===null?on(u,l/c):a==="auto"?l:a);const y={},m=(h,p)=>{Lo(p)||(y[h]=p.toString())};m("width",u),m("height",d);const v=[o.left,o.top,c,l];return y.viewBox=v.join(" "),{attributes:y,viewBox:v,body:i}}function Vp(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Hs(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" ')),Vp(t)}function Up(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 Wp=/\swidth\s*=\s*["']([\w.]+)["']/,Hp=/\sheight\s*=\s*["']([\w.]+)["']/,Kn=/<svg\s+/;function Bp(e,t,r){const n=e.slice(0,e.indexOf(">")),o=(i,s)=>{const a=s.exec(n),c=a!=null,l=t[i];return!l&&!Lo(l)&&(typeof r=="number"?r>0&&(t[i]=on(a?.[1]??"1em",r)):a&&(t[i]=a[1])),c};return[o("width",Wp),o("height",Hp)]}async function Rc(e,t,r,n,o,i){const{scale:s,addXmlNs:a=!1}=n??{},{additionalProps:c={},iconCustomizer:l}=n?.customizations??{},u=await o?.()??{};await l?.(t,r,u),Object.keys(c).forEach(h=>{const p=c[h];p!=null&&(u[h]=p)}),i?.(u);const[d,y]=Bp(e,u,s);a&&(!e.includes("xmlns=")&&!u.xmlns&&(u.xmlns="http://www.w3.org/2000/svg"),!e.includes("xmlns:xlink=")&&e.includes("xlink:")&&!u["xmlns:xlink"]&&(u["xmlns:xlink"]="http://www.w3.org/1999/xlink"));const m=Object.keys(u).map(h=>h==="width"&&d||h==="height"&&y?null:`${h}="${u[h]}"`).filter(h=>h!=null);if(m.length&&(e=e.replace(Kn,`<svg ${m.join(" ")} `)),n){const{defaultStyle:h,defaultClass:p}=n;p&&!e.includes("class=")&&(e=e.replace(Kn,`<svg class="${p}" `)),h&&!e.includes("style=")&&(e=e.replace(Kn,`<svg style="${h}" `))}const v=n?.usedProps;return v&&(Object.keys(c).forEach(h=>{const p=u[h];p!=null&&(v[h]=p)}),typeof u.width<"u"&&u.width!==null&&(v.width=u.width),typeof u.height<"u"&&u.height!==null&&(v.height=u.height)),e}var zr={exports:{}},Gn,Bs;function Kp(){if(Bs)return Gn;Bs=1;var e=1e3,t=e*60,r=t*60,n=r*24,o=n*7,i=n*365.25;Gn=function(u,d){d=d||{};var y=typeof u;if(y==="string"&&u.length>0)return s(u);if(y==="number"&&isFinite(u))return d.long?c(u):a(u);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(u))};function s(u){if(u=String(u),!(u.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(u);if(d){var y=parseFloat(d[1]),m=(d[2]||"ms").toLowerCase();switch(m){case"years":case"year":case"yrs":case"yr":case"y":return y*i;case"weeks":case"week":case"w":return y*o;case"days":case"day":case"d":return y*n;case"hours":case"hour":case"hrs":case"hr":case"h":return y*r;case"minutes":case"minute":case"mins":case"min":case"m":return y*t;case"seconds":case"second":case"secs":case"sec":case"s":return y*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return y;default:return}}}}function a(u){var d=Math.abs(u);return d>=n?Math.round(u/n)+"d":d>=r?Math.round(u/r)+"h":d>=t?Math.round(u/t)+"m":d>=e?Math.round(u/e)+"s":u+"ms"}function c(u){var d=Math.abs(u);return d>=n?l(u,d,n,"day"):d>=r?l(u,d,r,"hour"):d>=t?l(u,d,t,"minute"):d>=e?l(u,d,e,"second"):u+" ms"}function l(u,d,y,m){var v=d>=y*1.5;return Math.round(u/y)+" "+m+(v?"s":"")}return Gn}var Jn,Ks;function Gp(){if(Ks)return Jn;Ks=1;function e(t){n.debug=n,n.default=n,n.coerce=l,n.disable=a,n.enable=i,n.enabled=c,n.humanize=Kp(),n.destroy=u,Object.keys(t).forEach(d=>{n[d]=t[d]}),n.names=[],n.skips=[],n.formatters={};function r(d){let y=0;for(let m=0;m<d.length;m++)y=(y<<5)-y+d.charCodeAt(m),y|=0;return n.colors[Math.abs(y)%n.colors.length]}n.selectColor=r;function n(d){let y,m=null,v,h;function p(...b){if(!p.enabled)return;const f=p,g=Number(new Date),$=g-(y||g);f.diff=$,f.prev=y,f.curr=g,y=g,b[0]=n.coerce(b[0]),typeof b[0]!="string"&&b.unshift("%O");let w=0;b[0]=b[0].replace(/%([a-zA-Z%])/g,(_,S)=>{if(_==="%%")return"%";w++;const P=n.formatters[S];if(typeof P=="function"){const I=b[w];_=P.call(f,I),b.splice(w,1),w--}return _}),n.formatArgs.call(f,b),(f.log||n.log).apply(f,b)}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:()=>m!==null?m:(v!==n.namespaces&&(v=n.namespaces,h=n.enabled(d)),h),set:b=>{m=b}}),typeof n.init=="function"&&n.init(p),p}function o(d,y){const m=n(this.namespace+(typeof y>"u"?":":y)+d);return m.log=this.log,m}function i(d){n.save(d),n.namespaces=d,n.names=[],n.skips=[];const y=(typeof d=="string"?d:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const m of y)m[0]==="-"?n.skips.push(m.slice(1)):n.names.push(m)}function s(d,y){let m=0,v=0,h=-1,p=0;for(;m<d.length;)if(v<y.length&&(y[v]===d[m]||y[v]==="*"))y[v]==="*"?(h=v,p=m,v++):(m++,v++);else if(h!==-1)v=h+1,p++,m=p;else return!1;for(;v<y.length&&y[v]==="*";)v++;return v===y.length}function a(){const d=[...n.names,...n.skips.map(y=>"-"+y)].join(",");return n.enable(""),d}function c(d){for(const y of n.skips)if(s(d,y))return!1;for(const y of n.names)if(s(d,y))return!0;return!1}function l(d){return d instanceof Error?d.stack||d.message:d}function u(){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 Gs;function Jp(){return Gs||(Gs=1,(function(e,t){var r={};t.formatArgs=o,t.save=i,t.load=s,t.useColors=n,t.storage=a(),t.destroy=(()=>{let l=!1;return()=>{l||(l=!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 l;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&&(l=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(l[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function o(l){if(l[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+l[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const u="color: "+this.color;l.splice(1,0,u,"color: inherit");let d=0,y=0;l[0].replace(/%[a-zA-Z%]/g,m=>{m!=="%%"&&(d++,m==="%c"&&(y=d))}),l.splice(y,0,u)}t.log=console.debug||console.log||(()=>{});function i(l){try{l?t.storage.setItem("debug",l):t.storage.removeItem("debug")}catch{}}function s(){let l;try{l=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch{}return!l&&typeof process<"u"&&"env"in process&&(l=r.DEBUG),l}function a(){try{return localStorage}catch{}}e.exports=Gp()(t);const{formatters:c}=e.exports;c.j=function(l){try{return JSON.stringify(l)}catch(u){return"[UnexpectedJSONParseError]: "+u.message}}})(zr,zr.exports)),zr.exports}var Xp=Jp();const Ac=dn(Xp),Yp=Ac("@iconify-loader:custom");async function Js(e,t,r,n){let o;Yp(`${t}:${r}`);try{if(typeof e=="function")o=await e(r);else{const i=e[r];o=typeof i=="function"?await i():i}}catch(i){console.warn(`Failed to load custom icon "${r}" in "${t}":`,i);return}if(o){const i=o.indexOf("<svg");i>0&&(o=o.slice(i));const{transform:s}=n?.customizations??{};return o=typeof s=="function"?await s(o,t,r):o,o.startsWith("<svg")?await Rc(n?.customizations?.trimCustomSvg===!0?Up(o):o,t,r,n,void 0):(console.warn(`Custom icon "${r}" in "${t}" is not a valid SVG`),o)}}const Zp=Ac("@iconify-loader:icon");async function Tc(e,t,r,n){let o;const{customize:i}=n?.customizations??{};for(const s of r)if(o=Np(e,s),o){Zp(`${t}:${s}`);let a={...Oc};typeof i=="function"&&(o=Object.assign({},o),a=i(a,o,`${t}:${s}`)??a);const{attributes:{width:c,height:l,...u},body:d}=qp(o,a),y=n?.scale;return await Rc(`<svg >${d}</svg>`,t,s,n,()=>({...u}),m=>{const v=(h,p)=>{const b=m[h];let f;if(!Lo(b)){if(b)return;typeof y=="number"?y&&(f=on(p??"1em",y)):f=p}f?m[h]=f:delete m[h]};v("width",c),v("height",l)})}}const Mc=async(e,t,r)=>{const n=r?.customCollections?.[e];if(n)if(typeof n=="function"){let o;try{o=await n(t)}catch(i){console.warn(`Failed to load custom icon "${t}" in "${e}":`,i);return}if(o){if(typeof o=="string")return await Js(()=>o,e,t,r);if("icons"in o){const i=[t,t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.replace(/([a-z])(\d+)/g,"$1-$2")];return await Tc(o,e,i,r)}}}else return await Js(n,e,t,r)};var Xs={};function Qp(){const e=typeof process<"u"&&process.stdout,t=e&&!!Xs.VSCODE_CWD,r=e&&!!Xs.ESLINT;return{isNode:e,isVSCode:t,isESLint:r}}const Nc=["academicons","akar-icons","ant-design","arcticons","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","fa7-brands","fa7-regular","fa7-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","sidekickicons","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"],eh=3;function th(e){return(t={})=>{const{scale:r=1,mode:n="auto",prefix:o="i-",warn:i=!1,iconifyCollectionsNames:s,collections:a,extraProperties:c={},customizations:l={},autoInstall:u=!1,collectionsNodeResolvePath:d,layer:y="icons",unit:m,processor:v}=t,h=Qp(),p={addXmlNs:!0,scale:r,customCollections:a,autoInstall:u,cwd:d,warn:void 0,customizations:{...l,additionalProps:{...c},trimCustomSvg:!0,async iconCustomizer(f,g,$){await l.iconCustomizer?.(f,g,$),m&&($.width||($.width=`${r}${m}`),$.height||($.height=`${r}${m}`))}}};let b;return{name:"@unocss/preset-icons",enforce:"pre",options:t,layers:{icons:-30},api:{encodeSvgForCss:Hs,parseIconWithLoader:Ys},rules:[[/^([\w:-]+)(?:\?(mask|bg|auto))?$/,async f=>{let[g,$,w=n]=f;b=b||await e(t);const k={},_=await Ys($,b,{...p,usedProps:k},s);if(!_){i&&!h.isESLint&&lc(`failed to load icon "${g}"`);return}let S;const P=`url("data:image/svg+xml;utf8,${Hs(_.svg)}")`;return w==="auto"&&(w=_.svg.includes("currentColor")?"mask":"bg"),w==="mask"?S={"--un-icon":P,"-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",...k}:S={background:`${P} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...k},v?.(S,{..._,icon:_.name,mode:w}),S},{layer:y,prefix:o}]]}}}function Ic(e,t,r=new Map){function n(o){if(Nc.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 Mc(o,i,s);if(a)return a;const c=await n(o);if(c){const l=[i,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),i.replace(/([a-z])(\d+)/g,"$1-$2")];a=await Tc(c,o,l,s)}return a}}async function Ys(e,t,r={},n=[]){let o="",i="",s;const a=new Set([...Nc,...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 l=eh;l>=1&&(o=c.slice(0,l).join("-"),!(!!a.has(o)&&(i=c.slice(l).join("-"),s=await t(o,i,r),s)));l--);}if(s)return{collection:o,name:i,svg:s}}async function rh(e){const{$fetch:t}=await pt(async()=>{const{$fetch:r}=await import("./index-BYrZTLvo.js");return{$fetch:r}},[],import.meta.url);return Ic(t,e)}const nh=th(async e=>{const t=e?.customFetch,r=e?.cdn;return t&&r?Ic(t,r):r?await rh(r):Mc}),mo="__TAGIFY__",oh=/<([\w:-]+)/g;function ih(e){const{prefix:t="",excludedTags:r=["b",/^h\d+$/,"table"]}=e;return{name:"tagify",extract({code:n}){return Array.from(n.matchAll(oh)).filter(({1:o})=>{for(const i of r)if(typeof i=="string"){if(o===i)return!1}else if(i.lastIndex=0,i.test(o))return!1;return o.startsWith(t)}).map(([,o])=>`${mo}${o}`)}}}function sh(e){const{extraProperties:t}=e,r=`${mo}${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(mo.length+1)};return t&&(typeof t=="function"?i.body=s=>[...s,...Object.entries(t(o)??{})]:i.body=s=>[...s,...Object.entries(t)]),i}}}const ah=(e={})=>{const{defaultExtractor:t=!0}=e,r=[sh(e)],n=[ih(e)];return{name:"@unocss/preset-tagify",variants:r,extractors:n,extractorDefault:t?void 0:!1}};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 Vt{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 Vt(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 Vt(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 ch(){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 lh=ch();class uh{constructor(t){this.version=3,this.file=t.file,this.sources=t.sources,this.sourcesContent=t.sourcesContent,this.names=t.names,this.mappings=Ll(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,"+lh(this.toString())}}function fh(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 dh(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 ph=Object.prototype.toString;function hh(e){return ph.call(e)==="[object Object]"}function Zs(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 l=i+s>>1;o<r[l]?s=l:i=l+1}const a=i-1,c=o-r[a];return{line:a,column:c}}}const mh=/\w/;class gh{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 l=[this.generatedCodeColumn,t,n.line,n.column];o>=0&&l.push(o),this.rawSegments.push(l),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 l=[this.generatedCodeColumn,t,o.line,o.column];this.hires==="boundary"?mh.test(n[s])?c||(this.rawSegments.push(l),c=!0):(this.rawSegments.push(l),c=!1):this.rawSegments.push(l)}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 Ct=`
23
- `,ct={insertLeft:!1,insertRight:!1,storeName:!1};class Do{constructor(t,r={}){const n=new Vt(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 Do(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 gh(t.hires),i=Zs(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?dh(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 uh(this.generateDecodedMap(t))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=fh(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(hh(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(u=>{for(let d=u[0];d<u[1];d+=1)o[d]=!0});let i=r.indentStart!==!1;const s=l=>i?`${t}${l}`:(i=!0,l);this.intro=this.intro.replace(n,s);let a=0,c=this.firstChunk;for(;c;){const l=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<l;){if(!o[a]){const u=this.original[a];u===`
25
- `?i=!0:u!=="\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 ct.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),ct.insertLeft=!0),this.appendLeft(t,r)}insertRight(t,r){return ct.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),ct.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 l=c?c.previous:this.lastChunk;return s&&(s.next=a),a&&(a.previous=s),l&&(l.next=o),c&&(c.previous=i),o.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=o.previous,this.lastChunk.next=null),o.previous=l,i.next=c||null,l||(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&&(ct.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),ct.storeName=!0),o={storeName:!0});const i=o!==void 0?o.storeName:!1,s=o!==void 0?o.overwrite:!1;if(i){const l=this.original.slice(t,r);Object.defineProperty(this.storedNames,l,{writable:!0,value:!0,enumerable:!0})}const a=this.byStart[t],c=this.byEnd[r];if(a){let l=a;for(;l!==c;){if(l.next!==this.byStart[l.end])throw new Error("Cannot overwrite across a split point");l=l.next,l.edit("",!1)}a.edit(n,i,!s)}else{const l=new Vt(t,r,"").edit(n,i);c.next=l,l.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(Ct);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(Ct),t!==-1)return n.outro.substr(t+1)+r;r=n.outro+r}if(n.content.length>0){if(t=n.content.lastIndexOf(Ct),t!==-1)return n.content.substr(t+1)+r;r=n.content+r}if(n.intro.length>0){if(t=n.intro.lastIndexOf(Ct),t!==-1)return n.intro.substr(t+1)+r;r=n.intro+r}}while(n=n.previous);return t=this.intro.lastIndexOf(Ct),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=Zs(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 qo(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 $n(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 Ut(e,t,r,n="(",o=")"){r=r??10;const i=[];let s=0;for(;e!=="";){if(++s>r)return;const a=$n(e,n,o,t);if(!a)return;const[c,l]=a;i.push(c),e=l}if(i.length>0)return i}const Vo=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],bh=["srgb","srgb-linear","display-p3","a98-rgb","prophoto-rgb","rec2020","lab","oklab","xyz","xyz-d50","xyz-d65"],yh=["hsl","hwb","lch","oklch"],vh=["shorter","longer","increasing","decreasing"],zc=["%alpha","<alpha-value>"],Fc=new RegExp(zc.map(e=>qt(e)).join("|"),"g");function Qs(e){return e?bh.some(t=>e.includes(t))||yh.some(t=>e.includes(t))||vh.some(t=>e.includes(t)):!1}function dt(e=""){const t=$h(e);if(t==null||t===!1)return;const{type:r,components:n,alpha:o}=t,i=r.toLowerCase();if(n.length!==0&&!(Vo.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 go(e,t){if(typeof e=="string")return e.replace(Fc,`${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}`,Vo.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function $h(e){if(!e)return;let t=wh(e);if(t!=null||(t=kh(e),t!=null)||(t=_h(e),t!=null)||(t=Sh(e),t!=null)||(t=Eh(e),t!=null))return t}function wh(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 kh(e){const t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}function _h(e){const t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;const[,r,n]=t,o=Ut(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 xh=new RegExp(`^(${Vo.join("|")})\\((.+)\\)$`,"i");function Sh(e){const t=e.match(xh);if(!t)return;const[,r,n]=t,o=Lc(`${r} ${n}`);if(o){const{alpha:i,components:[s,...a]}=o;return{type:s,components:a,alpha:i}}}function Eh(e){const t=e.match(/^color\((.+)\)$/);if(!t)return;const r=Lc(t[1]);if(r){const{alpha:n,components:[o,...i]}=r;return{type:o,components:i,alpha:n}}}function Lc(e){const t=Ut(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=Ut(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 Ch=/theme\(\s*(['"])?(.*?)\1?\s*\)/g;function jh(e){return e.includes("theme(")&&e.includes(")")}function Ph(e,t,r=!0){const n=Array.from(e.toString().matchAll(Ch));if(!n.length)return e;const o=new Do(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=Oh(s,t,r);a&&o.overwrite(i.index,i.index+i[0].length,a)}return o.toString()}function Oh(e,t,r=!0){const[n,o]=e.split("/");let s=n.trim().split(".").reduce((a,c)=>a?.[c],t);if(typeof s=="object"&&(s=s.DEFAULT),typeof s=="string"){if(o){const a=dt(s);a&&(s=go(a,o))}return s}else if(r)throw new Error(`theme of "${e}" did not found`)}function ea(e){const t=e.match(/^-?\d+\.?\d*/)?.[0]||"",r=e.slice(t.length);if(r==="px"){const n=Number.parseFloat(t)-.1;return Number.isNaN(n)?e:`${n}${r}`}return`calc(${e} - 0.1px)`}function Rh(e){const t=function(n){const o=this.__options?.sequence||[];this.__options.sequence=[];for(const i of o){const s=e[i](n);if(s!=null)return s}};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 It="__pseudo_placeholder__",vt=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(${It})`],["nth-last",`:nth-last-child(${It})`],["nth-last-of-type",`:nth-last-of-type(${It})`],["nth-of-type",`:nth-of-type(${It})`],"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}`])),Dc=Object.keys(vt),$t=Object.fromEntries([["backdrop","::backdrop"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),qc=Object.keys($t),Ah=["not","is","where","has"],Vc=Object.fromEntries([["selection",["::selection"," *::selection"]],["marker",["::marker"," *::marker"]]]),bo=Object.entries(vt).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),yo=Object.entries($t).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),tt=Ah.join("|"),ta=Object.keys(Vc).sort((e,t)=>t.length-e.length).join("|"),Th=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],ra=Object.entries(vt).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),na=Object.entries($t).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|");function Mh(e,t,r,n){const{h:o,variantGetBracket:i}=n,s=new RegExp(`^(${qt(t)}:)(\\S+)${qt(r)}\\1`);let a,c,l,u;const d=v=>{const h=i(`${e}-`,v,[]);if(!h)return;const[p,b]=h,f=o.bracket(p);if(f==null)return;const g=b.split(a,1)?.[0]??"",$=`${t}${ht(g)}`;return[g,v.slice(v.length-(b.length-g.length-1)),f.includes("&")?f.replace(/&/g,$):`${$}${f}`]},y=v=>{const h=v.match(c)||v.match(l);if(!h)return;const[p,b,f]=h,g=h[3]??"";let $=vt[f]||$t[f]||`:${f}`;return b&&($=`:${b}(${$})`),[g,v.slice(p.length),`${t}${ht(g)}${$}`,f]},m=v=>{const h=v.match(u);if(!h)return;const[p,b,f]=h,g=h[3]??"",$=`:${b}(${f})`;return[g,v.slice(p.length),`${t}${ht(g)}${$}`]};return{name:`pseudo:${e}`,match(v,h){if(a&&c&&l||(a=new RegExp(`(?:${h.generator.config.separators.join("|")})`),c=new RegExp(`^${e}-(?:(?:(${tt})-)?(${bo}))(?:(/[\\w-]+))?(?:${h.generator.config.separators.join("|")})`),l=new RegExp(`^${e}-(?:(?:(${tt})-)?(${yo}))(?:(/[\\w-]+))?(?:${h.generator.config.separators.filter(w=>w!=="-").join("|")})`),u=new RegExp(`^${e}-(?:(${tt})-)?\\[(.+)\\](?:(/[\\w-]+))?(?:${h.generator.config.separators.filter(w=>w!=="-").join("|")})`)),!v.startsWith(e))return;const p=d(v)||y(v)||m(v);if(!p)return;const[b,f,g,$=""]=p;return{matcher:f,handle:(w,k)=>k({...w,prefix:`${g}${r}${w.prefix}`.replace(s,"$1$2:"),sort:Dc.indexOf($)??qc.indexOf($)})}},multiPass:!0}}function Nh(e){const{h:t}=e;let r,n,o;return[{name:"pseudo",match(i,s){r&&n||(r=new RegExp(`^(${ra})(?:-(\\d+|\\[(\\w|[+-.])+\\]))?(?:${s.generator.config.separators.join("|")})`),n=new RegExp(`^(${na})(?:${s.generator.config.separators.filter(c=>c!=="-").join("|")})`));const a=i.match(r)||i.match(n);if(a){let c=vt[a[1]]||$t[a[1]]||`:${a[1]}`;if(a[2]){let u;a[2].startsWith("[")&&a[2].endsWith("]")?u=t.bracket(a[2]):u=a[2],u&&(c=c.replace(It,u))}let l=Dc.indexOf(a[1]);return l===-1&&(l=qc.indexOf(a[1])),l===-1&&(l=void 0),{matcher:i.slice(a[0].length),handle:(u,d)=>{const y=c.includes("::")&&!Th.includes(c)?{pseudo:`${u.pseudo}${c}`}:{selector:`${u.selector}${c}`};return d({...u,...y,sort:l,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${ra}|${na}):`},{name:"pseudo:multi",match(i,s){o||(o=new RegExp(`^(${ta})(?:${s.generator.config.separators.join("|")})`));const a=i.match(o);if(a)return Vc[a[1]].map(l=>({matcher:i.slice(a[0].length),handle:(u,d)=>d({...u,pseudo:`${u.pseudo}${l}`})}))},multiPass:!1,autocomplete:`(${ta}):`}]}function Ih(e){const{getBracket:t,h:r}=e;let n,o,i;return{match(s,a){n&&o||(n=new RegExp(`^(${tt})-(${bo})(?:${a.generator.config.separators.join("|")})`),o=new RegExp(`^(${tt})-(${yo})(?:${a.generator.config.separators.filter(l=>l!=="-").join("|")})`),i=new RegExp(`^(${tt})-(\\[.+\\])(?:${a.generator.config.separators.filter(l=>l!=="-").join("|")})`));const c=s.match(n)||s.match(o)||s.match(i);if(c){const l=c[1],d=t(c[2],"[","]")?r.bracket(c[2]):vt[c[2]]||$t[c[2]]||`:${c[2]}`;return{matcher:s.slice(c[0].length),selector:y=>`${y}:${l}(${d})`}}},multiPass:!0,autocomplete:`(${tt})-(${bo}|${yo}):`}}function zh(e,t){const r=!!e?.attributifyPseudo;let n=e?.prefix??"";n=(Array.isArray(n)?n:[n]).filter(Boolean)[0]??"";const o=(i,s)=>Mh(i,r?`[${n}${i}=""]`:`.${n}${i}`,s,t);return[o("group"," "),o("peer","~"),o("parent",">"),o("previous","+")]}const Fh=/(part-\[(.+)\]:)(.+)/;function Lh(){return{match(e){const t=e.match(Fh);if(t){const r=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:n=>`${n}::${r}`}}},multiPass:!0}}function Ae(e,t,r={}){let n;return{name:e,match(o,i){n||(n=new RegExp(`^${qt(e)}(?:${i.generator.config.separators.join("|")})`));const s=o.match(n);if(s){const a=o.slice(s[0].length),c=ce(t).map(l=>({matcher:a,handle:(u,d)=>d({...u,...l(u)}),...r}));return c.length===1?c[0]:c}},autocomplete:`${e}:`}}function _e(e,t){let r;return{name:e,match(n,o){r||(r=new RegExp(`^${qt(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 Kt(e,t,r){if(t.startsWith(`${e}[`)){const[n,o]=qo(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 Ce(e,t,r){for(const n of ce(e))if(t.startsWith(n)){const o=Kt(n,t,r);if(o){const[i="",s=o[1]]=Ce("/",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 oa(e){const{theme:t,generator:r}=e,o=r.config.presets.some(i=>i.name==="@unocss/preset-wind4")?"font":"fontFamily";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[o]?.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 Dh=[["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 qh(e){for(const[t,...r]of Dh)if(t===e)return r.length>0?r:[t]}function ia(e){let t="";const{escapedSelector:r,selectorName:n,preflights:o,compatibility:i,important:s}=e,a=i?.noColonNot||i?.noColonWhere;for(const c in o){const l=o[c],u=`:not(:where(.not-${n},.not-${n} *))`,d=c.split(",").map(y=>{const m=y.match(/:[():\-\w]+$/g);if(m){const v=m[0];return y=y.replace(v,""),r.map(h=>a?`${h} ${y}${v}`:`${h} :where(${y})${u}${v}`).join(",")}return null}).filter(y=>y);d.length?t+=d.join(","):t+=r.map(y=>a?c.split(",").map(m=>`${y} ${m}`).join(","):`${y} :where(${c})${u}`).join(","),t+="{";for(const y in l){const m=l[y];t+=`${y}:${m}${s?" !important":""};`}t+="}"}return t}function Vh(e,t){const{compatibility:r,selectorName:n,important:o=!1}=t,i=typeof t?.cssExtend=="function"?t.cssExtend(e.theme):t?.cssExtend;let s=Array.from(t.escapedSelectors);return!s[s.length-1].startsWith(".")&&!r?.noColonIs&&(s=[`:is(${s[s.length-1]},.${t.selectorName})`]),typeof o=="string"&&(s=s.map(a=>r?.noColonIs?`${o} ${a}`:`:is(${o}) ${a}`)),ia(i?{escapedSelector:s,selectorName:n,preflights:pn(oa(e),i),compatibility:r,important:o===!0}:{escapedSelector:s,selectorName:n,preflights:oa(e),compatibility:r,important:o===!0})}const Uh=e=>{e?.className&&console.warn('[unocss:preset-typography] "className" is deprecated. Please use "selectorName" instead.');const t=new Set,r=e?.selectorName||e?.className||"prose",n=new RegExp(`^${r}$`),o=new RegExp(`^${r}-([-\\w]+)$`),i=new RegExp(`^${r}-invert$`),s=e?.compatibility?.noColonNot||e?.compatibility?.noColonWhere;return{name:"@unocss/preset-typography",enforce:"post",layers:{typography:-20},rules:[[n,(a,{rawSelector:c})=>(t.add(pc(c)),{color:"var(--un-prose-body)","max-width":"65ch"}),{layer:"typography"}],[o,([,a],{theme:c})=>{const l=c.colors?.[a];if(l==null)return;const u=typeof l=="object"?l:{},d={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},y={};for(const m in d){const v=d[m],h=u[v]??l;let p=!1;for(const b of zc)if(h.includes(b)){p=!0,y[`--un-prose-${m}-opacity`]=1,y[`--un-prose-${m}`]=h.replace(b,`var(--un-prose-${m}-opacity)`);break}p||(y[`--un-prose-${m}`]=h)}return y},{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:a=>{if(a.startsWith(`${r}-`)){const c=new RegExp(`^${r}-(\\w+)[:-].+$`),l=a.match(c)?.[1];if(l){const u=qh(l);if(u?.length)return{matcher:a.slice(r.length+l.length+2),selector:d=>{const y=`:not(:where(.not-${r},.not-${r} *))`;return s?u.map(v=>`${d} ${v}`).join(","):`${d} :is(:where(${u})${y})`}}}}}}],preflights:[{layer:"typography",getCSS:a=>{if(t.size>0)return Vh(a,{escapedSelectors:t,...e,selectorName:r})}}]}};function Wh(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 Hh(e,t,r,n){for(const o of Array.from(e.matchAll(r)))if(o!=null){const i=o[0],s=`${n}${Wh(i)}`;t.set(s,i),e=e.replace(i,s)}return e}function Bh(e,t){for(const[r,n]of t.entries())e=e.replaceAll(r,n);return e}const Kh=/\/\/#\s*sourceMappingURL=.*\n?/g;function Gh(e){return e.includes("sourceMappingURL=")?e.replace(Kh,""):e}const Jh=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,Xh=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,Yh=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function Zh(e){const t=[];for(const o of e.matchAll(Xh))o.index!==0&&!/^[\s'"`]/.test(e[o.index-1]??"")||t.push(o[0]);for(const o of e.matchAll(Jh))t.push(o[0]);const r=new Map,n="@unocss-skip-arbitrary-brackets";return e=Hh(e,r,/-\[(?!&.+?;)[^\]]*\]/g,n),e&&e.split(ac).forEach(o=>{o.includes(n)&&(o=Bh(o,r)),fo(o)&&!Yh.test(o)&&t.push(o)}),t}function Qh(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:e}){return Zh(Gh(e))}}}const em="@unocss/preset-wind4",vo="$$mini-no-negative",wn={transparent:"transparent",current:"currentColor",inherit:"inherit"},Te={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"]},sa={...Te,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"]},Wr={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"]},Uc={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},tm=["x","y","z"],aa=["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"],ke=Object.assign({},...aa.map(e=>({[e.replace(/ /,"-")]:e})),...aa.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),fe=["inherit","initial","revert","revert-layer","unset"],Uo=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,Wc=/^(var)\s*\((.+)\)(.*)/,kn=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,rm=/^(-?\d*(?:\.\d+)?)$/,Hc=/^(px|[sld]?v[wh])$/i,Bc={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},Wo=/^\[(color|image|length|size|position|quoted|string|number|family):/i,nm=/,(?![^()]*\))/g,om=["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 Me(e){return+e.toFixed(10)}function im(e){const t=e.match(kn);if(!t)return;const[,r,n]=t,o=Number.parseFloat(r);if(n&&!Number.isNaN(o))return`${Me(o)}${n}`}function sm(e){if(e==="auto"||e==="a")return"auto"}function am(e){if(!e)return;if(Hc.test(e))return`${Bc[e]}${e}`;const t=e.match(kn);if(!t)return;const[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${Me(o)}${n}`:`${Me(o/4)}rem`}function cm(e){if(Hc.test(e))return`${Bc[e]}${e}`;const t=e.match(kn);if(!t)return;const[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return n?`${Me(o)}${n}`:`${Me(o)}px`}function Kc(e){if(!rm.test(e))return;const t=Number.parseFloat(e);if(!Number.isNaN(t))return Me(t)}function lm(e){e.endsWith("%")&&(e=e.slice(0,-1));const t=Kc(e);if(t!=null)return`${t}%`}function um(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":`${Me(n*100)}%`}function ot(e,t){if(e&&e.startsWith("[")&&e.endsWith("]")){let r,n;const o=e.match(Wo);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,l)=>(a.push(l),c.replace(l,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>a.shift())})}}function fm(e){return ot(e)}function dm(e){return ot(e,"color")}function pm(e){return ot(e,"length")||ot(e,"size")}function hm(e){return ot(e,"position")}function mm(e){return ot(e,"family")}function gm(e){return ot(e,"number")}function bm(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 ym(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?`${Me(o)}${n}`:`${Me(o)}ms`}function vm(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?`${Me(o)}${n}`:`${Me(o)}deg`}function $m(e){if(fe.includes(e))return e}function wm(e){if(e.split(",").every(t=>om.includes(t)))return e}function km(e){if(["top","left","right","bottom","center"].includes(e))return e}function _m(e){if(e==="none")return"none"}const xm={__proto__:null,auto:sm,bracket:fm,bracketOfColor:dm,bracketOfFamily:mm,bracketOfLength:pm,bracketOfNumber:gm,bracketOfPosition:hm,cssvar:bm,degree:vm,fraction:um,global:$m,none:_m,number:Kc,numberWithUnit:im,percent:lm,position:km,properties:wm,px:cm,rem:am,time:ym},Sm=Rh(xm),C=Sm;function Ee(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 ae(e,t=Te,r=(n,o)=>`${n}${o}`){return([n,o,i],{theme:s})=>{if(i!=null&&o!=null){let a;const c=i.startsWith("-");if(c&&(i=i.slice(1)),a=Ee(i),a!=null&&!Number.isNaN(a))return Z("spacing"),t[o].map(l=>[r(e,l),`calc(var(--spacing) * ${c?"-":""}${a})`]);if(s.spacing&&i in s.spacing)return Z("spacing",i),t[o].map(l=>[r(e,l),c?`calc(var(--spacing-${i}) * -1)`:`var(--spacing-${i})`]);if(a=C.bracket.cssvar.global.auto.fraction.rem(c?`-${i}`:i),a!=null)return t[o].map(l=>[r(e,l),a])}}}function _n(e,t){let r;const[n,...o]=Ut(e,["/",":"],3)??[];if(n!=null){const h=(n.match(Wo)??[])[1];(h==null||h==="color")&&(r=[n,...o])}if(!r)return;let i,[s,a,c]=r;Qs(a)||Qs(C.bracket(a??""))?c=a:i=a;const l=s.replace(/([a-z])(\d)(?![-_a-z])/g,"$1-$2").split(/-/g),[u]=l;if(!u)return;let d=ca(t,l);if(!d&&l.length>=2){const h=l.at(-1),p=l.at(-2);if(/^\d+$/.test(h)){const b=l.slice(0,-2).concat([`${p}${h}`]);d=ca(t,b)}}let{no:y,keys:m,color:v}=d??{};if(!v){const h=C.bracketOfColor(s),p=h||s;if(C.numberWithUnit(p))return;/^#[\da-f]+$/i.test(p)?v=p:/^hex-[\da-fA-F]+$/.test(p)?v=`#${p.slice(4)}`:s.startsWith("$")&&(v=C.cssvar(s)),v=v||h}return{opacity:i,modifier:c&&C.bracket.cssvar(c)||c,name:u,no:y,color:v??wn[u],alpha:C.bracket.cssvar.percent(i??""),keys:m,get cssColor(){return dt(this.color)}}}function ca(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 l=i[c];return a===s.length?l:o(l,s.slice(a))}}}}return o(n,r)}function Gc(e,t,r,n){if(!e)return;const{color:o,keys:i,alpha:s,modifier:a}=e,c=n?.generator.config.envMode==="dev"&&o?` /* ${o} */`:"",l={};if(o){const u=[l];if(Object.values(wn).includes(o))l[t]=o;else{const d=`--un-${r}-opacity`,y=i?ue("colors",i):o;let m=a??(i?"in srgb":"in oklab");!m.startsWith("in ")&&!m.startsWith("var(")&&(m=`in ${m}`),l[t]=`color-mix(${m}, ${y} ${s??`var(${d})`}, transparent)${c}`,u.push(U(d,{syntax:"<percentage>",initialValue:"100%"})),i&&(Z("colors",i),a||u.push({[ye.parent]:"@supports (color: color-mix(in lab, red, red))",[ye.noMerge]:!0,[ye.shortcutsNoMerge]:!0,[t]:`color-mix(in oklab, ${y} ${s??`var(${d})`}, transparent)${c}`})),n?.theme&&Sn(o,n.theme)}return u}}function de(e,t){return([,r],n)=>{const o=_n(r??"",n.theme);if(o)return Gc(o,e,t,n)}}function Ho(e,t){const r=[];e=ce(e);for(let n=0;n<e.length;n++){const o=Ut(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(dt(o.at(0))){const l=dt(o.shift());l&&(a=`, ${go(l)}`)}else if(dt(c)){const l=dt(o.pop());l&&(a=`, ${go(l)}`)}else c&&Wc.test(c)&&(a=`, ${o.pop()}`);r.push(`${i?"inset ":""}${o.join(" ")} var(${t}${a})`)}return r}function Wt(e,t){return e!=null&&!!_n(e,t)?.color}const la=/[a-z]+/gi,Xn=new WeakMap;function xn({theme:e,generator:t},r="breakpoint"){const n=t?.userConfig?.theme?.[r]||e[r];if(!n)return;if(Xn.has(e))return Xn.get(e);const o=Object.entries(n).sort((i,s)=>Number.parseInt(i[1].replace(la,""))-Number.parseInt(s[1].replace(la,""))).map(([i,s])=>({point:i,size:s}));return Xn.set(e,o),o}function Q(e,t){return fe.map(r=>[`${e}-${r}`,{[t??e]:r}])}function U(e,t={}){const{syntax:r="*",inherits:n=!1,initialValue:o}=t,i={[ye.shortcutsNoMerge]:!0,[ye.noMerge]:!0,[ye.variants]:()=>[{parent:"",layer:"properties",selector:()=>`@property ${e}`}],syntax:JSON.stringify(r),inherits:n?"true":"false"};return o!=null&&(i["initial-value"]=o),Cm(e,o?String(o):"initial"),i}function Gt(e){return e!=null&&Uo.test(e)}function Em(e){return e[0]==="["&&e.slice(-1)==="]"&&(e=e.slice(1,-1)),Uo.test(e)||kn.test(e)}function $o(e){return e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}function Jc(e,t=!1){return t?e.trim():e.trim().replace(/\s+/g," ").replace(/\/\*[\s\S]*?\*\//g,"")}const gt=new Set([]);function Z(e,t="DEFAULT"){const r=`${e}:${ce(t).join("-")}`;gt.has(r)||gt.add(r)}function ue(e,t){return`var(--${e}-${ce(t).join("-")})`}function Sn(e,t){if(e.startsWith("var(")){const r=e.match(/var\(--([\w-]+)(?:,.*)?\)/)?.[1];if(r){const[n,...o]=r.split("-"),i=an(t,n,o);typeof i=="string"&&(Z(n,o),Sn(i,t))}}}const bt=new Map;function Cm(e,t){bt.has(e)||bt.set(e,t)}function jm({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[r=>{r.layer!=="properties"&&(e===!0?r.entries.forEach(n=>{n[1]!=null&&!String(n[1]).endsWith("!important")&&(n[1]+=" !important")}):r.selector.startsWith(e)||(r.selector=`${e} ${t(r.selector)}`))}]}function Pm({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 Om(e){return[jm,Pm].flatMap(t=>t(e))}const Rm={name:"aria",match(e,t){const r=Ce("aria-",e,t.generator.config.separators);if(r){const[n,o]=r,i=C.bracket(n)??t.theme.aria?.[n]??"";if(i)return{matcher:o,selector:s=>`${s}[aria-${i}]`}}},multiPass:!0,autocomplete:"aria-$aria"};function lt(e){return{name:`${e}-aria`,match(t,r){const n=Ce(`${e}-aria-`,t,r.generator.config.separators);if(n){const[o,i,s]=n,a=C.bracket(o)??r.theme.aria?.[o]??"";if(a){const c={group:`&:is(:where(.group${s?`\\/${s}`:""})[aria-${a}] *)`,peer:`&:is(:where(.peer${s?`\\/${s}`:""})[aria-${a}] ~ *)`,previous:`:where(*[aria-${a}] + &)`,parent:`:where(*[aria-${a}] > &)`,has:`&:has(*[aria-${a}])`,in:`:where(*[aria-${a}]) &`};return{matcher:i,handle:(l,u)=>u({...l,parent:`${l.parent?`${l.parent} $$ `:""}${l.selector}`,selector:c[e]})}}}},multiPass:!0}}const Am=[lt("group"),lt("peer"),lt("parent"),lt("previous"),lt("has"),lt("in")],ua=/(max|min)-\[([^\]]*)\]:/;function Tm(){const e={};return{name:"breakpoints",match(t,r){if(ua.test(t)){const o=t.match(ua);return{matcher:t.replace(o[0],""),handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media (${o[1]}-width: ${o[2]})`})}}const n=(xn(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,l=t.slice(c.length);if(l==="container")continue;const u=c.startsWith("lt-")||c.startsWith("<")||c.startsWith("max-"),d=c.startsWith("at-")||c.startsWith("~");let y=3e3;return u?(y-=s+1,{matcher:l,handle:(m,v)=>v({...m,parent:`${m.parent?`${m.parent} $$ `:""}@media (max-width: ${ea(i)})`,parentOrder:y})}):(y+=s+1,d&&s<n.length-1?{matcher:l,handle:(m,v)=>v({...m,parent:`${m.parent?`${m.parent} $$ `:""}@media (min-width: ${i}) and (max-width: ${ea(n[s+1][1])})`,parentOrder:y})}:{matcher:l,handle:(m,v)=>v({...m,parent:`${m.parent?`${m.parent} $$ `:""}@media (min-width: ${i})`,parentOrder:y})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoint:"}}const Mm=[Ae("*",e=>({selector:`${e.selector} > *`}),{order:-1}),Ae("**",e=>({selector:`${e.selector} *`}),{order:-1})];function jt(e,t){return{name:`combinator:${e}`,match(r,n){if(!r.startsWith(e))return;const o=n.generator.config.separators;let i=Kt(`${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 Nm=[jt("all"," "),jt("children",">"),jt("next","+"),jt("sibling","+"),jt("siblings","~")],Im=[Ae("svg",e=>({selector:`${e.selector} svg`}))],zm={name:"@",match(e,t){if(e.startsWith("@container"))return;const r=Ce("@",e,t.generator.config.separators);if(r){const[n,o,i]=r,s=C.bracket(n);let a;if(s?a=C.numberWithUnit(s):a=t.theme.container?.[n]??"",a){let c=1e3+Object.keys(t.theme.container??{}).indexOf(n);return i&&(c+=1e3),{matcher:o,handle:(l,u)=>u({...l,parent:`${l.parent?`${l.parent} $$ `:""}@container${i?` ${i} `:" "}(min-width: ${a})`,parentOrder:c})}}}},multiPass:!0};function Fm(e={}){if(e?.dark==="class"||typeof e.dark=="object"){const{dark:t=".dark",light:r=".light"}=typeof e.dark=="string"?{}:e.dark;return[Ae("dark",n=>({prefix:`${t} $$ ${n.prefix}`})),Ae("light",n=>({prefix:`${r} $$ ${n.prefix}`}))]}return[_e("dark","@media (prefers-color-scheme: dark)"),_e("light","@media (prefers-color-scheme: light)")]}const Lm=[Ae(".dark",e=>({prefix:`.dark $$ ${e.prefix}`})),Ae(".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)")],Dm={name:"data",match(e,t){const r=Ce("data-",e,t.generator.config.separators);if(r){const[n,o]=r,i=C.bracket(n)??t.theme.data?.[n]??"";if(i)return{matcher:o,selector:s=>`${s}[data-${i}]`}}},multiPass:!0};function ut(e){return{name:`${e}-data`,match(t,r){const n=Ce(`${e}-data-`,t,r.generator.config.separators);if(n){const[o,i,s]=n,a=C.bracket(o)??r.theme.data?.[o]??"";if(a){const c={group:`&:is(:where(.group${s?`\\/${s}`:""})[data-${a}] *)`,peer:`&:is(:where(.peer${s?`\\/${s}`:""})[data-${a}] ~ *)`,previous:`:where(*[data-${a}] + &)`,parent:`:where(*[data-${a}] > &)`,has:`&:has(*[data-${a}])`,in:`:where(*[data-${a}]) &`};return{matcher:i,handle:(l,u)=>u({...l,parent:`${l.parent?`${l.parent} $$ `:""}${l.selector}`,selector:c[e]})}}}},multiPass:!0}}const qm=[ut("group"),ut("peer"),ut("parent"),ut("previous"),ut("has"),ut("in")],Vm=[Ae("rtl",e=>({prefix:`[dir="rtl"] $$ ${e.prefix}`})),Ae("ltr",e=>({prefix:`[dir="ltr"] $$ ${e.prefix}`}))];function Um(){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 Wm=Ae("inert",e=>({parent:`${e.parent?`${e.parent} $$ `:""}${e.selector}`,selector:"&:is([inert],[inert] *)"})),Hm=_e("noscript","@media (scripting: none)"),Bm={name:"scripting",match(e,t){const r=Ce(["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)"]},Km=_e("print","@media print"),Gm={name:"media",match(e,t){const r=Ce("media-",e,t.generator.config.separators);if(r){const[n,o]=r;let i=C.bracket(n)??"";if(i===""&&(i=t.theme.media?.[n]??""),i)return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media ${i}`})}}},multiPass:!0,autocomplete:"media-$media"},Jm=[_e("contrast-more","@media (prefers-contrast: more)"),_e("contrast-less","@media (prefers-contrast: less)")],Xm=[_e("motion-reduce","@media (prefers-reduced-motion: reduce)"),_e("motion-safe","@media (prefers-reduced-motion: no-preference)")],Ym=[_e("landscape","@media (orientation: landscape)"),_e("portrait","@media (orientation: portrait)")],Zm=[_e("forced-colors","@media (forced-colors: active)")],Qm={name:"selector",match(e,t){const r=Kt("selector-",e,t.generator.config.separators);if(r){const[n,o]=r,i=C.bracket(n);if(i)return{matcher:o,selector:()=>i}}}},e0={name:"layer",match(e,t){const r=Ce("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}`})}}}},t0={name:"uno-layer",match(e,t){const r=Ce("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}}}},r0={name:"scope",match(e,t){const r=Kt("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}`}}}},n0={name:"variables",match(e,t){if(!e.startsWith("["))return;const[r,n]=qo(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 l=s?{parent:`${a.parent?`${a.parent} $$ `:""}${i}`}:{selector:i.replace(/&/g,a.selector)};return c({...a,...l})}}},multiPass:!0},o0={name:"theme-variables",match(e,t){if(jh(e))return{matcher:e,handle(r,n){return n({...r,entries:JSON.parse(Ph(JSON.stringify(r.entries),t.theme))})}}}},i0=[Ae("@hover",e=>({parent:`${e.parent?`${e.parent} $$ `:""}@media (hover: hover) and (pointer: fine)`,selector:`${e.selector||""}:hover`}))],s0={name:"implicit-group",match(e,t){const r=Ce("in-",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} $$ `:""}${s.selector}`,selector:`:where(*:is(${i})) &`})}}}},Xc=/^-?[0-9.]+(?:[a-z]+|%)?$/,Yc=/-?[0-9.]+(?:[a-z]+|%)?/,a0=[/\b(opacity|color|flex|backdrop-filter|^filter|transform|mask-image)\b/];function c0(e){const t=e.match(Uo)||e.match(Wc);if(t){const[r,n]=$n(`(${t[2]})${t[3]}`,"(",")"," ")??[];if(r)return`calc(${t[1]}${r} * -1)${n?` ${n}`:""}`}}const l0=/\b(hue-rotate)\s*(\(.*)/;function u0(e){const t=e.match(l0);if(t){const[r,n]=$n(t[2],"(",")"," ")??[];if(r){const o=Xc.test(r.slice(1,-1))?r.replace(Yc,i=>i.startsWith("-")?i.slice(1):`-${i}`):`(calc(${r} * -1))`;return`${t[1]}${o}${n?` ${n}`:""}`}}}const f0={name:"negative",match(e){if(e.startsWith("-"))return{matcher:e.slice(1),body:t=>{if(t.find(n=>n[0]===vo))return;let r=!1;return t.forEach(n=>{if(ce(n[2]).includes(vo))return;const o=n[1]?.toString();if(!o||o==="0"||a0.some(a=>a.test(n[0])))return;const i=c0(o);if(i){n[1]=i,r=!0;return}const s=u0(o);if(s){n[1]=s,r=!0;return}Xc.test(o)&&(n[1]=o.replace(Yc,a=>a.startsWith("-")?a.slice(1):`-${a}`),r=!0)}),r?t:[]}}}},d0=(e,{theme:t})=>{const r=e.match(/^(.*)\b(placeholder-)(.+)$/);if(r){const[,n="",o,i]=r;if(Wt(i,t)||p0(i))return{matcher:`${n}placeholder-$ ${o}${i}`}}};function p0(e){const t=e.match(/^op(?:acity)?-?(.+)$/);return t&&t[1]!=null?C.bracket.percent(t[1])!=null:!1}function h0(){return Nh({h:C})}function m0(){return Ih({getBracket:qo,h:C})}function g0(e={}){return zh(e,{h:C,variantGetBracket:Kt})}const b0=Lh(),y0={name:"starting",match(e){if(e.startsWith("starting:"))return{matcher:e.slice(9),handle:(t,r)=>r({...t,parent:"@starting-style"})}}},v0={name:"supports",match(e,t){const r=Ce("supports-",e,t.generator.config.separators);if(r){const[n,o]=r;let i=C.bracket(n)??"";if(i===""&&(i=t.theme.supports?.[n]??""),i)return i.startsWith("(")&&i.endsWith(")")||(i=`(${i})`),{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@supports ${i}`})}}},multiPass:!0};function $0(e){return[Rm,Dm,e0,Qm,t0,f0,y0,Um(),v0,Hm,Bm,Km,Gm,...Jm,...Xm,...Ym,...Zm,Tm(),...Nm,...Im,d0,...h0(),m0(),...g0(e),b0,...Fm(e),...Lm,...Vm,r0,...Mm,Wm,zm,n0,...qm,...Am,o0,...i0,s0].flat()}const Zc={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(Zc).forEach(e=>{typeof e!="string"&&e!==void 0&&(e.DEFAULT=e.DEFAULT||e[400])});const w0={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"}},k0={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"'},_0={DEFAULT:"8px",xs:"4px",sm:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},x0={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(",")},S0={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"}},E0={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},C0={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},j0={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},P0={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},O0={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)"},R0={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"},A0={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"},T0={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)"},M0={"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)"},N0={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)"},I0={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)"]},z0={dramatic:"100px",near:"300px",normal:"500px",midrange:"800px",distant:"1200px"},F0={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)"}},L0={"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"},Qc={sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem","2xl":"96rem"},D0={...Qc},q0={grid:"(display: grid)"},V0={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)"},U0={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(",")}},W0={font:x0,colors:Zc,spacing:R0,breakpoint:Qc,verticalBreakpoint:D0,text:S0,fontWeight:E0,tracking:C0,leading:j0,textStrokeWidth:P0,radius:A0,shadow:T0,insetShadow:M0,dropShadow:N0,textShadow:I0,ease:V0,animation:w0,blur:_0,perspective:z0,property:U0,default:F0,container:L0,aria:k0,media:O0,supports:q0},H0=[[/^@container(?:\/(\w+))?(?:-(normal))?$/,([,e,t])=>({"container-type":t??"inline-size","container-name":e})]],B0=/@media \(min-width: (.+)\)/,K0=[[/^__container$/,(e,t)=>{const{theme:r,variantHandlers:n}=t,o=r.containers?.padding;let i;le(o)?i=o:i=o?.DEFAULT;const s=r.containers?.maxWidth;let a;for(const l of n){const u=l.handle?.({},d=>d)?.parent;if(le(u)){const d=u.match(B0)?.[1];if(d){const m=(xn(t)??[]).find(v=>v.size===d)?.point;s?m&&(a=s?.[m]):a=d,m&&!le(o)&&(i=o?.[m]??i)}}}const c={"max-width":a};return n.length||(c.width="100%"),r.containers?.center&&(c["margin-left"]="auto",c["margin-right"]="auto"),o&&(c["padding-left"]=i,c["padding-right"]=i),c},{internal:!0}]],G0=[[/^(?:(\w+)[:-])?container$/,([,e],t)=>{let r=(xn(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}]],J0=[...G0],fa={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]))},X0=[[/^(?:vertical|align|v)-(.+)$/,([,e])=>({"vertical-align":fa[e]??C.bracket.cssvar.numberWithUnit(e)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(fa).join("|")})`,"(vertical|align|v)-<percentage>"]}]],da=["center","left","right","justify","start","end"],Y0=[...da.map(e=>[`text-${e}`,{"text-align":e}]),...[...fe,...da].map(e=>[`text-align-${e}`,{"text-align":e}])],Z0=[[/^(?:animate-)?keyframes-(.+)$/,([,e],{theme:t})=>{const r=t.animation?.keyframes?.[e];if(r)return[`@keyframes ${e}${r}`,{animation:e}]},{autocomplete:["animate-keyframes-$animation.keyframes","keyframes-$animation.keyframes"]}],[/^animate-(.+)$/,([,e],{theme:t})=>{const r=t.animation?.keyframes?.[e];if(r){const n=t.animation?.durations?.[e]??"1s",o=t.animation?.timingFns?.[e]??"linear",i=t.animation?.counts?.[e]??1,s=t.animation?.properties?.[e];return[`@keyframes ${e}${r}`,{animation:`${e} ${n} ${o} ${i}`,...s}]}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})=>({"animation-duration":t.duration?.[e||"DEFAULT"]??C.bracket.cssvar.time(e)}),{autocomplete:["animate-duration"]}],[/^animate-delay-(.+)$/,([,e],{theme:t})=>({"animation-delay":t.duration?.[e||"DEFAULT"]??C.bracket.cssvar.time(e)}),{autocomplete:["animate-delay"]}],[/^animate-ease(?:-(.+))?$/,([,e],{theme:t})=>({"animation-timing-function":t.ease?.[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"}],...Q("animate","animation")],el={"gradient-position":U("--un-gradient-position"),"gradient-from":U("--un-gradient-from",{syntax:"<color>",initialValue:"#0000"}),"gradient-via":U("--un-gradient-via",{syntax:"<color>",initialValue:"#0000"}),"gradient-to":U("--un-gradient-to",{syntax:"<color>",initialValue:"#0000"}),"gradient-stops":U("--un-gradient-stops"),"gradient-via-stops":U("--un-gradient-via-stops"),"gradient-from-position":U("--un-gradient-from-position",{syntax:"<length-percentage>",initialValue:"0%"}),"gradient-via-position":U("--un-gradient-via-position",{syntax:"<length-percentage>",initialValue:"50%"}),"gradient-to-position":U("--un-gradient-to-position",{syntax:"<length-percentage>",initialValue:"100%"})};function pa(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 Q0(){return function*([,e,t],{theme:r}){const n={},o=_n(t,r);if(o){const{color:i,keys:s,alpha:a}=o;if(i){if(Object.values(wn).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 U(`--un-${e}-opacity`,{syntax:"<percentage>",initialValue:"100%"})}s&&Z("colors",s),r&&Sn(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(el))yield i}}}function eg(){return function*([,e,t]){yield{[`--un-gradient-${e}-position`]:`${C.bracket.cssvar.percent(t)}`};for(const r of Object.values(el))yield r}}const tg=[[/^bg-(linear|radial|conic)-([^/]+)(?:\/(.+))?$/,([,e,t,r])=>{let n;if(C.number(t)!=null?n=`from ${C.number(t)}deg ${pa(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)-(.+)$/,Q0()],[/^(from|via|to)-op(?:acity)?-?(.+)$/,([,e,t])=>({[`--un-${e}-opacity`]:C.bracket.percent(t)})],[/^(from|via|to)-([\d.]+%)$/,eg()],[/^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-(gradient|linear|radial|conic)(?:-to-([rltb]{1,2}))?(?:\/(.+))?$/,([,e,t,r])=>({"--un-gradient-position":`${t in ke?`to ${ke[t]} `:" "}${pa(r)}`,"background-image":`${e==="gradient"?"linear":e}-gradient(var(--un-gradient-stops))`}),{autocomplete:["gradient","linear","radial","conic"].map(e=>`bg-${e}-to-(${Object.keys(ke).filter(t=>t.length<=2&&Array.from(t).every(r=>"rltb".includes(r))).join("|")})`)}],["bg-none",{"background-image":"none"}],["box-decoration-slice",{"box-decoration-break":"slice"}],["box-decoration-clone",{"box-decoration-break":"clone"}],...Q("box-decoration","box-decoration-break"),["bg-auto",{"background-size":"auto"}],["bg-cover",{"background-size":"cover"}],["bg-contain",{"background-size":"contain"}],[/^bg-size-(.+)$/,([,e])=>({"background-size":C.bracket.cssvar(e)})],["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":ke[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"}],...Q("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"}],...Q("bg-origin","background-origin")],ha=[[/^outline-(?:width-|size-)?(.+)$/,tl,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,rg,{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"},U("--un-outline-style",{initialValue:"solid"})]],["outline-hidden",[{"outline-style":"none"},{[ye.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*tl([,e]){const t=C.bracket.cssvar.global.px(e);t!=null&&(yield{"outline-style":"var(--un-outline-style)","outline-width":t},yield U("--un-outline-style",{initialValue:"solid"}))}function*rg(e,t){if(Gt(C.bracket(e[1])))yield*tl(e);else{const r=de("outline-color","outline")(e,t);if(r)for(const n of r)yield n}}const ng=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function og(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 ma=[[/^will-change-(.+)/,([,e])=>({"will-change":og(e)})]],Yn={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"},ig=[[/^list-(.+?)(?:-(outside|inside))?$/,([,e,t])=>{const r=Yn[e];if(r)return t?{"list-style-position":t,"list-style-type":r}:{"list-style-type":r}},{autocomplete:[`list-(${Object.keys(Yn).join("|")})`,`list-(${Object.keys(Yn).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"}],...Q("list","list-style-type")],sg=[[/^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>"]}]],ag=[[/^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>"]}]],cg=[["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"]]]],lg=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],...Q("overscroll","overscroll-behavior"),["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],...Q("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"}],...Q("overscroll-y","overscroll-behavior-y")],ug=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...Q("scroll","scroll-behavior")],rt=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...fe],fg=[[/^(?: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-)?(.+)$/,Pt,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,Pt],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,Pt],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,Pt],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,Pt],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,Ot,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,Ot],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,Ot],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,Ot],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,Ot],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,Rt,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$radius","(rounded|rd)","(rounded|rd)-$radius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,Rt],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,Rt],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,Rt],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,Rt],[/^(?:border|b)-(?:style-)?()(.+)$/,At,{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-)?(.+)$/,At],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,At],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,At],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,At]];function dg(e){return([,t],r)=>{const n=_n(t,r.theme),o=Gc(n,`border${e}-color`,`border${e}`,r);if(o){const i=o[0];return n?.color&&!Object.values(wn).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 Te&&r!=null)return Te[e].map(n=>[`border${n}-width`,r])}function Pt([,e="",t],r){if(e in Te){if(Gt(C.bracket(t)))return Oe(["",e,t]);if(Wt(t,r.theme)){const n=Te[e].map(o=>dg(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 Ot([,e="",t]){const r=C.bracket.percent.cssvar(t);if(e in Te&&r!=null)return Te[e].map(n=>[`--un-border${n}-opacity`,r])}function Rt([,e="",t="DEFAULT"],{theme:r}){if(e in Wr){if(t==="full")return Wr[e].map(o=>[`border${o}-radius`,"calc(infinity * 1px)"]);const n=r.radius?.[t]??C.bracket.cssvar.global.fraction.rem(t);if(n!=null){const o=r.radius&&t in r.radius;return o&&Z("radius",t),Wr[e].map(i=>[`border${i}-radius`,o?ue("radius",t):n])}}}function At([,e="",t]){if(rt.includes(t)&&e in Te)return[["--un-border-style",t],...Te[e].map(r=>[`border${r}-style`,t])]}const pg=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:C.bracket.percent.cssvar(e)})]],hg=/^\[url\(.+\)\]$/,mg=/^\[(?:length|size):.+\]$/,gg=/^\[position:.+\]$/,bg=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,yg=/^\[image:.+\]$/,vg=[[/^bg-(.+)$/,(...e)=>{const t=e[0][1];if(hg.test(t))return{"--un-url":C.bracket(t),"background-image":"var(--un-url)"};if(mg.test(t)&&C.bracketOfLength(t)!=null)return{"background-size":C.bracketOfLength(t).split(" ").map(r=>C.fraction.auto.px.cssvar(r)??r).join(" ")};if((Em(t)||gg.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(bg.test(t)||yg.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>"}]],$g=[[/^(?:color-)?scheme-(.+)$/,([,e])=>({"color-scheme":e.split("-").join(" ")})]],wg=[[/^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"}],...Q("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"}],...Q("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"}],...Q("break-after")],ga=["solid","double","dotted","dashed","wavy",...fe],kg=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,e])=>({"text-decoration-line":e}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,rl,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,_g,{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>"}],...ga.map(e=>[`underline-${e}`,{"text-decoration-style":e}]),...ga.map(e=>[`decoration-${e}`,{"text-decoration-style":e}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function rl([,e]){return{"text-decoration-thickness":C.bracket.cssvar.global.px(e)}}function _g(e,t){if(Gt(C.bracket(e[1])))return rl(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 xg=[[/^pa?()-?(.+)$/,ae("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,ae("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(.+))?$/,ae("padding")],[/^p-?([rltbse])(?:-?(.+))?$/,ae("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(.+))?$/,ae("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(.+))?$/,ae("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],Sg=[[/^ma?()-?(.+)$/,ae("margin")],[/^m-?xy()()$/,ae("margin")],[/^m-?([xy])(?:-?(.+))?$/,ae("margin")],[/^m-?([rltbse])(?:-?(.+))?$/,ae("margin")],[/^m-(block|inline)(?:-(.+))?$/,ae("margin")],[/^m-?([bi][se])(?:-?(.+))?$/,ae("margin")]],Eg=[[/^space-([xy])-(.+)$/,Cg,{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 U(`--un-space-${e}-reverse`,{initialValue:0})}]];function nt(e){const t=">:not(:last-child)";return e.includes(t)?e:`${e}${t}`}function*Cg([,e,t],{theme:r,symbols:n}){let o;const i=Ee(t);if(i!=null?(Z("spacing"),o=`calc(var(--spacing) * ${i})`):o=r.spacing?.[t]??C.bracket.cssvar.auto.fraction.rem(t||"1"),o!=null){const s=Te[e==="x"?"inline":"block"].map((a,c)=>{const l=`margin${a}`,u=` calc(${o} * ${c===0?`var(--un-space-${e}-reverse)`:`calc(1 - var(--un-space-${e}-reverse))`})`;return[l,u]});s&&(yield{[n.selector]:nt,[`--un-space-${e}-reverse`]:"0",...Object.fromEntries(s)},yield U(`--un-space-${e}-reverse`,{initialValue:0}))}}const jg=[[/^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])$/,ba,{autocomplete:["divide-(x|y)","divide-(x|y)-reverse"]}],[/^divide-?([xy])-?(.+)$/,ba],[/^divide-?([xy])-reverse$/,function*([,e],{symbols:t}){yield{[t.selector]:nt,[`--un-divide-${e}-reverse`]:"1"},yield U(`--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*ba([,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 U(`--un-divide-${e}-reverse`,{initialValue:0}),yield U("--un-border-style",{initialValue:"solid"}))}}const nl=["blur","brightness","contrast","grayscale","hue-rotate","invert","saturate","sepia","drop-shadow"],wo=nl.map(e=>U(`--un-${e}`)),cn=nl.map(e=>`var(--un-${e},)`).join(" "),ol=["backdrop-blur","backdrop-brightness","backdrop-contrast","backdrop-grayscale","backdrop-hue-rotate","backdrop-invert","backdrop-opacity","backdrop-saturate","backdrop-sepia"],Pg=ol.map(e=>U(`--un-${e}`)),ln=ol.map(e=>`var(--un-${e},)`).join(" ");function Zn(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},...Pg]:[{[`--un-${e}`]:`${e}(${i})`,filter:cn},...wo]}}function Og([,e],{theme:t}){let r=t.dropShadow?.[e||"DEFAULT"];if(r!=null)return[{"--un-drop-shadow":`drop-shadow(${Ho(r,"--un-drop-shadow-color").join(") drop-shadow(")})`,filter:cn},...wo];if(r=C.bracket.cssvar(e)??(e==="none"?"":void 0),r!=null)return[{"--un-drop-shadow":r&&`drop-shadow(${r})`,filter:cn},...wo]}const Rg=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,qe("blur",(e,t)=>t.blur?.[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(?:-(.+))?$/,Og,{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",Zn),{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",Zn),{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",Zn),{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}])],Ag=[["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=Ee(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"}]],Qn={"":[""],x:["column-"],y:["row-"],col:["column-"],row:["row-"]},Tg=[[/^(?:flex-|grid-)?gap-?()(.+)$/,ae("gap",Qn,(e,t)=>`${t}${e}`),{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,ae("gap",Qn,(e,t)=>`${t}${e}`),{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,ae("gap",Qn,(e,t)=>`${t}${e}`),{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function Ie(e){return e.replace("col","column")}function Mg(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 Ng=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t])=>({[`grid-${Ie(e)}`]:C.bracket.number.cssvar.auto(t)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t==="full")return{[`grid-${Ie(e)}`]:"1/-1"};const r=C.bracket.number.cssvar(t);if(r!=null)return{[`grid-${Ie(e)}`]:`span ${r}/span ${r}`}},{autocomplete:"(grid-row|grid-col|row|col)-span-<num>"}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>({[`grid-${Ie(e)}-start`]:C.bracket.cssvar(t)??t})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>({[`grid-${Ie(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-${Ie(e)}`]:Mg(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":Ie(e).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,e,t])=>({[`grid-template-${Ie(e)}`]:C.bracket.cssvar(t)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${Ie(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${Ie(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"}]],Fr=["auto","hidden","clip","visible","scroll","overlay",...fe],Ig=[[/^(?:overflow|of)-(.+)$/,([,e])=>Fr.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-(${Fr.join("|")})`,`(overflow|of)-(x|y)-(${Fr.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>Fr.includes(t)?{[`overflow-${e}`]:t}:void 0]],zg=[[/^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"}]],ko={t:["top"],b:["bottom"],l:["left"],r:["right"],x:["left","right"],y:["top","bottom"]},ya="linear-gradient(#fff, #fff)",Fg={"mask-image":"var(--un-mask-linear), var(--un-mask-radial), var(--un-mask-conic)","mask-composite":"intersect"};function va([,e=""]){if(e in Wr)return{"mask-position":e.split("").flatMap(n=>ko[n]).join(" ")};const t=C.bracket.cssvar.global.position(e);if(t!==null)return{"mask-position":t}}function eo([e,t="",r,n],o){const i={...Fg},s=[];if(s.push(...["linear","radial","conic"].map(a=>U(`--un-mask-${a}`,{initialValue:ya}))),t in ko){i["--un-mask-linear"]="var(--un-mask-left), var(--un-mask-right), var(--un-mask-bottom), var(--un-mask-top)";for(const a of ko[t]){if(i[`--un-mask-${a}`]=`linear-gradient(to ${a}, var(--un-mask-${a}-from-color) var(--un-mask-${a}-from-position), var(--un-mask-${a}-to-color) var(--un-mask-${a}-to-position))`,Ee(n)!=null?(Z("spacing"),i[`--un-mask-${a}-${r}-position`]=`calc(var(--spacing) * ${C.bracket.cssvar.fraction.number(n)})`):i[`--un-mask-${a}-${r}-position`]=C.bracket.cssvar.fraction.rem(n),Wt(n,o.theme)){const c=de(`--un-mask-${a}-${r}-color`,$o("colors"))([e,n],o);if(c){const[l,...u]=c;Object.assign(i,l),s.push(...u)}}s.push(...["from","to"].flatMap(c=>[U(`--un-mask-${a}-${c}-position`,{syntax:"<length-percentage>",initialValue:c==="from"?"0%":"100%"}),U(`--un-mask-${a}-${c}-color`,{syntax:"<color>",initialValue:c==="from"?"black":"transparent"})]))}s.push(...["top","right","bottom","left"].map(a=>U(`--un-mask-${a}`,{initialValue:ya})))}else{if(r==null)t==="radial"?(i["--un-mask-radial"]="radial-gradient(var(--un-mask-radial-stops, var(--un-mask-radial-size)))",i["--un-mask-radial-size"]=C.bracket.cssvar.rem(n)):(i[`--un-mask-${t}`]=`${t}-gradient(var(--un-mask-${t}-stops, var(--un-mask-${t}-position)))`,i[`--un-mask-${t}-position`]=Ee(n)?`calc(1deg * ${C.bracket.cssvar.number(n)})`:C.bracket.cssvar.fraction(n));else{const a={linear:"",radial:"var(--un-mask-radial-shape) var(--un-mask-radial-size) at ",conic:"from "};if(i[`--un-mask-${t}-stops`]=`${a[t]}var(--un-mask-${t}-position), var(--un-mask-${t}-from-color) var(--un-mask-${t}-from-position), var(--un-mask-${t}-to-color) var(--un-mask-${t}-to-position)`,i[`--un-mask-${t}`]=`${t}-gradient(var(--un-mask-${t}-stops))`,Wt(n,o.theme)){const c=de(`--un-mask-${t}-${r}-color`,$o("colors"))([e,n],o);if(c){const[l,...u]=c;Object.assign(i,l),s.push(...u)}}else Ee(n)!=null?(Z("spacing"),i[`--un-mask-${t}-${r}-position`]=`calc(var(--spacing) * ${C.bracket.cssvar.fraction.number(n)})`):i[`--un-mask-${t}-${r}-position`]=C.bracket.cssvar.fraction.rem(n)}t==="radial"&&s.push(U("--un-mask-radial-shape",{initialValue:"ellipse"}),U("--un-mask-radial-size",{initialValue:"farthest-corner"})),s.push(...["from","to"].flatMap(a=>[U(`--un-mask-${t}-position`,{initialValue:t==="radial"?"center":"0deg"}),U(`--un-mask-${t}-${a}-position`,{syntax:"<length-percentage>",initialValue:a==="from"?"0%":"100%"}),U(`--un-mask-${t}-${a}-color`,{syntax:"<color>",initialValue:a==="from"?"black":"transparent"})]))}return[i,...s]}function Lg([,e=""]){const t=C.bracket.cssvar.global.fraction.rem(e);if(t!==null)return{"mask-size":t}}const Dg=[["mask-clip-border",{"mask-clip":"border-box"}],["mask-clip-padding",{"mask-clip":"padding-box"}],["mask-clip-content",{"mask-clip":"content-box"}],["mask-clip-fill",{"mask-clip":"fill-box"}],["mask-clip-stroke",{"mask-clip":"stroke-box"}],["mask-clip-view",{"mask-clip":"view-box"}],["mask-no-clip",{"mask-clip":"no-clip"}],["mask-add",{"mask-composite":"add"}],["mask-subtract",{"mask-composite":"subtract"}],["mask-intersect",{"mask-composite":"intersect"}],["mask-exclude",{"mask-composite":"exclude"}],[/^mask-(.+)$/,([,e])=>({"mask-image":C.bracket.cssvar(e)})],[/^mask-(linear|radial|conic|[xytblr])-(from|to)()(?:-(.+))?$/,eo,{autocomplete:["mask-(linear|radial|conic)-(from|to)-$colors","mask-(linear|radial|conic)-(from|to)-<percentage>","mask-(linear|radial|conic)-(from|to)","mask-(linear|radial|conic)-<percent>","mask-(x|y|t|b|l|r)-(from|to)-$colors","mask-(x|y|t|b|l|r)-(from|to)-<percentage>","mask-(x|y|t|b|l|r)-(from|to)","mask-(x|y|t|b|l|r)-<percent>"]}],[/^mask-(linear|radial|conic)-(from|to)?-?(.*)$/,eo],[/^mask-([trblxy])-(from|to)-(.*)$/,eo],["mask-none",{"mask-image":"none"}],["mask-radial-circle",{"--un-mask-radial-shape":"circle"}],["mask-radial-ellipse",{"--un-mask-radial-shape":"ellipse"}],["mask-radial-closest-side",{"--un-mask-radial-size":"closest-side"}],["mask-radial-closest-corner",{"--un-mask-radial-size":"closest-corner"}],["mask-radial-farthest-side",{"--un-mask-radial-size":"farthest-side"}],["mask-radial-farthest-corner",{"--un-mask-radial-size":"farthest-corner"}],[/^mask-radial-at-([-\w]{3,})$/,([,e])=>({"--un-mask-radial-position":ke[e]}),{autocomplete:[`mask-radial-at-(${Object.keys(ke).filter(e=>e.length>2).join("|")})`]}],["mask-alpha",{"mask-mode":"alpha"}],["mask-luminance",{"mask-mode":"luminance"}],["mask-match",{"mask-mode":"match-source"}],["mask-origin-border",{"mask-origin":"border-box"}],["mask-origin-padding",{"mask-origin":"padding-box"}],["mask-origin-content",{"mask-origin":"content-box"}],["mask-origin-fill",{"mask-origin":"fill-box"}],["mask-origin-stroke",{"mask-origin":"stroke-box"}],["mask-origin-view",{"mask-origin":"view-box"}],[/^mask-([rltb]{1,2})$/,va],[/^mask-([-\w]{3,})$/,([,e])=>({"mask-position":ke[e]})],[/^mask-(?:position-|pos-)(.+)$/,va],["mask-repeat",{"mask-repeat":"repeat"}],["mask-no-repeat",{"mask-repeat":"no-repeat"}],["mask-repeat-x",{"mask-repeat":"repeat-x"}],["mask-repeat-y",{"mask-repeat":"repeat-y"}],["mask-repeat-space",{"mask-repeat":"space"}],["mask-repeat-round",{"mask-repeat":"round"}],["mask-auto",{"mask-size":"auto"}],["mask-cover",{"mask-size":"cover"}],["mask-contain",{"mask-size":"contain"}],[/^mask-size-(.+)$/,Lg],["mask-type-luminance",{"mask-type":"luminance"}],["mask-type-alpha",{"mask-type":"alpha"}]],qg=[[/^\$ 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>"]}]],Vg=[[/^(?: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})]],il=[["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"}],...Q("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"}],...Q("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"}],...Q("justify-self")],Ug=[[/^order-(.+)$/,([,e])=>({order:C.bracket.cssvar.number(e)})],["order-first",{order:"calc(-infinity)"}],["order-last",{order:"calc(infinity)"}],["order-none",{order:"0"}]],sl=[["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"}],...Q("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"}],...Q("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"}],...Q("self","align-self")],al=[["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"}],...Q("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"}],...Q("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"}],...Q("place-self")],Wg=[...il,...sl,...al].flatMap(([e,t])=>[[`flex-${e}`,t],[`grid-${e}`,t]]);function _o(e){const t=Ee(e);return t!=null?(Z("spacing"),`calc(var(--spacing) * ${t})`):C.bracket.cssvar.global.auto.fraction.rem(e)}function Tt([,e,t]){const r=_o(t);if(r!=null&&e in sa)return sa[e].map(n=>[n.slice(1),r])}const Hg=[[/^(?: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)-(.+)$/,Tt],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,Tt],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,Tt],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,Tt],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,Tt],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t])=>({[e]:_o(t)})]],Bg=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...Q("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"}],...Q("clear")],Kg=[[/^(?: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>"}]],Gg=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...Q("box","box-sizing")],Jg=[[/^(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:U("--un-shadow",{initialValue:"0 0 #0000"}),shadowColor:U("--un-shadow-color"),insetShadow:U("--un-inset-shadow",{initialValue:"0 0 #0000"}),insetShadowColor:U("--un-inset-shadow-color"),ringColor:U("--un-ring-color"),ringShadow:U("--un-ring-shadow",{initialValue:"0 0 #0000"}),insetRingColor:U("--un-inset-ring-color"),insetRingShadow:U("--un-inset-ring-shadow",{initialValue:"0 0 #0000"}),ringInset:U("--un-ring-inset"),ringOffsetWidth:U("--un-ring-offset-width",{syntax:"<length>",initialValue:"0px"}),ringOffsetColor:U("--un-ring-offset-color"),ringOffsetShadow:U("--un-ring-offset-shadow",{initialValue:"0 0 #0000"})},Xg=[[/^shadow(?:-(.+))?$/,$a("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(?:-(.+))?$/,$a("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 $a(e){return(t,r)=>{const[,n]=t,{theme:o}=r,i=o[e]?.[n||"DEFAULT"],s=n?C.bracket.cssvar(n):void 0,a=$o(e);return(i!=null||s!=null)&&!Wt(s,o)?[{[`--un-${a}`]:Ho(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 Yg=[[/^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"}]],Zg=[...["x","y","both"].map(e=>[`snap-${e}`,[{"scroll-snap-type":`${e} var(--un-scroll-snap-strictness)`},U("--un-scroll-snap-strictness",{initialValue:"proximity"})]]),...["mandatory","proximity"].map(e=>[`snap-${e}`,[{"--un-scroll-snap-strictness":e},U("--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?()-?(.+)$/,ae("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])-?(.+)$/,ae("scroll-margin")],[/^scroll-m-?([rltb])-?(.+)$/,ae("scroll-margin")],[/^scroll-m-(block|inline)-(.+)$/,ae("scroll-margin")],[/^scroll-m-?([bi][se])-?(.+)$/,ae("scroll-margin")],[/^scroll-pa?()-?(.+)$/,ae("scroll-padding")],[/^scroll-p-?([xy])-?(.+)$/,ae("scroll-padding")],[/^scroll-p-?([rltb])-?(.+)$/,ae("scroll-padding")],[/^scroll-p-(block|inline)-(.+)$/,ae("scroll-padding")],[/^scroll-p-?([bi][se])-?(.+)$/,ae("scroll-padding")]],Qg={h:"height",w:"width",inline:"inline-size",block:"block-size"};function ft(e,t){return`${e||""}${Qg[t]}`}function Lr(e,t,r){let n;const o=["container","spacing"];for(const i of o)if(e[i]?.[r]){Z(i,r),n=ue(i,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 eb=[[/^size-(min-|max-)?(.+)$/,([,e,t],{theme:r})=>({[ft(e,"w")]:Lr(r,"w",t),[ft(e,"h")]:Lr(r,"h",t)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,e,t,r],{theme:n})=>({[ft(e,t)]:Lr(n,t,r)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,e,t,r],{theme:n})=>({[ft(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)=>({[ft(e,t)]:wa(n,r,"verticalBreakpoint")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,e,t,r],n)=>({[ft(e,t)]:wa(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 wa(e,t,r="breakpoint"){const n=xn(e,r);if(n)return n.find(o=>o.point===t)?.size}function tb(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 rb=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":tb(e)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]],nb=["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"],to=["size","layout","paint","style"],ob=[["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)})]],ib=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["collapse",{visibility:"collapse"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...Q("backface","backface-visibility")],sb=[[/^cursor-(.+)$/,([,e])=>({cursor:C.bracket.cssvar.global(e)})],...nb.map(e=>[`cursor-${e}`,{cursor:e}])],ab=[[/^contain-(.*)$/,([,e])=>C.bracket(e)!=null?{contain:C.bracket(e).split(" ").map(t=>C.cssvar.fraction(t)??t).join(" ")}:to.includes(e)?[{"--un-contain-size":e,contain:to.map(t=>`var(--un-contain-${t})`).join(" ")},...to.map(t=>U(`--un-contain-${t}`))]:void 0],["contain-strict",{contain:"strict"}],["contain-content",{contain:"content"}],["contain-none",{contain:"none"}]],cb=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...Q("pointer-events")],lb=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...Q("resize")],ub=[["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"}],...Q("select","user-select")],fb=[[/^(?: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)"}]],db=[[/^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"}],...Q("content-visibility")],pb=[[/^content-(.+)$/,([,e])=>{if(C.bracket.cssvar(e)!=null)return[{"--un-content":C.bracket.cssvar(e),content:"var(--un-content)"},U("--un-content",{initialValue:'""'})]}],["content-empty",{content:'""'}],["content-none",{content:"none"}]],hb=[["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"}],["wrap-break-word",{"overflow-wrap":"break-word"}],["wrap-anywhere",{"overflow-wrap":"anywhere"}],["wrap-normal",{"overflow-wrap":"normal"}]],mb=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],gb=[["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"}]],bb=[["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"}],...Q("case","text-transform")],yb=[["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"}]],vb=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],$b=[...["manual","auto","none",...fe].map(e=>[`hyphens-${e}`,{"-webkit-hyphens":e,"-ms-hyphens":e,hyphens:e}])],wb=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...Q("write","writing-mode")],kb=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...Q("write-orient","text-orientation")],_b=[["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"}]],xb=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],Sb=[["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(ke[e])return{"object-position":ke[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(ke).join("|")})`}]],Eb=[["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"}],...Q("bg-blend","background-blend")],Cb=[["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"}],...Q("mix-blend")],jb=[["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"}]],Pb=[["forced-color-adjust-auto",{"forced-color-adjust":"auto"}],["forced-color-adjust-none",{"forced-color-adjust":"none"}]],Ob=[["field-sizing-fixed",{"field-sizing":"fixed"}],["field-sizing-content",{"field-sizing":"content"}]],Rb=[[/^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-)?(.+)$/,cl],[/^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-(.+)$/,Ab,{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 cl([,e]){return{"stroke-width":C.bracket.cssvar.fraction.px.number(e)}}function Ab(e,t){return Gt(C.bracket(e[1]))?cl(e):de("stroke","stroke")(e,t)}const Tb=[["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=ka(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 U(`--un-border-spacing-${n}`,{syntax:"<length>",initialValue:"0"})}},{autocomplete:["border-spacing","border-spacing-$spacing"]}],[/^border-spacing-([xy])-(.+)$/,function*([,e,t],{theme:r}){const n=ka(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 U(`--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 ka(e,t){let r=t.spacing?.[e];if(!r){const n=Ee(e);n!=null?(Z("spacing"),r=`calc(var(--spacing) * ${n})`):r=C.bracket.cssvar.global.auto.fraction.rem(e)}return r}const ro="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",no=["pan-x","pan-y","pinch-zoom"].map(e=>U(`--un-${e}`)),Mb=[[/^touch-pan-(x|left|right)$/,function*([,e]){yield{"--un-pan-x":`pan-${e}`,"touch-action":ro};for(const t of no)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":ro};for(const t of no)yield t}],[/^touch-pinch-zoom$/,function*(){yield{"--un-pinch-zoom":"pinch-zoom","touch-action":ro};for(const e of no)yield e}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}],...Q("touch","touch-action")],Dr=["translate","rotate","scale"],Bo=["var(--un-rotate-x)","var(--un-rotate-y)","var(--un-rotate-z)","var(--un-skew-x)","var(--un-skew-y)"].join(" "),Ko=Bo,Nb=["translateZ(0)",Bo].join(" "),Ib=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":ke[e]??C.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(ke).join("|")})`,`origin-(${Object.keys(ke).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e],{theme:t})=>{let r;if(t.perspective?.[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?ke[e]:void 0);if(t!=null)return{"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,_a],[/^(?:transform-)?translate-([xyz])-(.+)$/,_a],[/^(?:transform-)?rotate-()(.+)$/,Sa],[/^(?:transform-)?rotate-([xyz])-(.+)$/,Sa],[/^(?:transform-)?skew-()(.+)$/,Ea],[/^(?:transform-)?skew-([xy])-(.+)$/,Ea,{autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,xa],[/^(?:transform-)?scale-([xyz])-(.+)$/,xa,{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:Ko}],["transform-cpu",{transform:Bo}],["transform-gpu",{transform:Nb}],["transform-none",{transform:"none"}],...Q("transform")];function _a([,e,t]){const r=Ee(t)??C.bracket.cssvar.none.fraction.rem(t);if(r!=null)return r==="none"?{translate:"none"}:(Z("spacing"),[[...Go(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)":""}`,vo]],...["x","y","z"].map(n=>U(`--un-translate-${n}`,{initialValue:0}))])}function xa([,e,t]){const r=C.bracket.cssvar.none.fraction.percent(t);if(r!=null)return r==="none"?{scale:"none"}:[[...Go(e,r,"scale"),["scale",`var(--un-scale-x) var(--un-scale-y)${e==="z"?" var(--un-scale-z)":""}`]],...["x","y","z"].map(n=>U(`--un-scale-${n}`,{initialValue:1}))]}function Sa([,e="",t]){const r=C.bracket.cssvar.none.degree(t);if(r!=null)return r==="none"?{rotate:"none"}:e?[[...Go(e,r.endsWith("deg")?`rotate${e.toUpperCase()}(${r})`:r,"rotate"),["transform",Ko]],...["x","y","z"].map(n=>U(`--un-rotate-${n}`,{initialValue:`rotate${n.toUpperCase()}(0)`})),...["x","y"].map(n=>U(`--un-skew-${n}`,{initialValue:`skew${n.toUpperCase()}(0)`}))]:{rotate:C.bracket.cssvar.degree(t)}}function Ea([,e,t]){const r=C.bracket.cssvar.degree(t),n=Uc[e];if(r!=null&&n)return[[...n.map(o=>[`--un-skew${o}`,r.endsWith("deg")?`skew${o.slice(1).toUpperCase()}(${r})`:r]),["transform",Ko]],...["x","y","z"].map(o=>U(`--un-rotate-${o}`,{initialValue:`rotate${o.toUpperCase()}(0)`})),...["x","y"].map(o=>U(`--un-skew-${o}`,{initialValue:`skew${o.toUpperCase()}(0)`}))]}function Go(e,t,r){const n=t.split(nm);return e||!e&&n.length===1?Uc[e].map(o=>[`--un-${r}${o}`,t]):n.map((o,i)=>[`--un-${r}-${tm[i]}`,o])}function Ca(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=>t.property?.[o]??C.properties(o));n.every(Boolean)&&(r=n.join(","))}return r}const zb=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,e,t],{theme:r})=>{Z("default",["transition","timingFunction"]),Z("default",["transition","duration"]);const n={"transition-property":r.property?.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 o=Ca(e,r);if(o)return{"--un-duration":t&&C.time(t),...n,"transition-property":o}}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})=>{let r;return t.ease?.[e]?(Z("ease",e),r=ue("ease",e)):r=C.bracket.cssvar(e),[{"--un-ease":r,"transition-timing-function":r},U("--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)||Ca(e,t);if(r)return{"transition-property":r}},{autocomplete:[`transition-property-(${[...fe].join("|")})`]}],["transition-none",{transition:"none"}],...Q("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]],Fb=[[/^text-(.+)$/,Wb,{autocomplete:"text-$text"}],[/^(?:text|font)-size-(.+)$/,ll,{autocomplete:"text-size-$text"}],[/^text-(?:color-)?(.+)$/,Hb,{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})=>{let r;return t.fontWeight?.[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})=>{let r;if(t.leading?.[e]?(Z("leading",e),r=ue("leading",e)):Ee(e)?(Z("spacing"),r=`calc(var(--spacing) * ${Ee(e)})`):r=C.bracket.cssvar.global.rem(e),r!=null)return[{"--un-leading":r,"line-height":r},U("--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})=>{let r;return t.tracking?.[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})=>{const r=t.tracking?.[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})=>{let r;if(t.font?.[e])return Z("font",e),r=ue("font",e),{"font-family":r};if(t.fontWeight?.[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 n=C.number(r);return{"--un-font-weight":n,"font-weight":n}}if(r=C.bracket.cssvar.global(e),r!=null)return{"font-family":r}},{autocomplete:["font-$font","font-$fontWeight"]}]],Lb=[[/^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}}]],Db=[[/^indent-(.+)$/,([,e])=>{let t=Ee(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}}]],qb=[[/^text-stroke(?:-(.+))?$/,([,e="DEFAULT"],{theme:t})=>(t.textStrokeWidth?.[e]&&Z("textStrokeWidth",e),{"-webkit-text-stroke-width":t.textStrokeWidth?.[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>"}]],ja=/op(?:acity)?-/,Vb=[[/^text-shadow(?:-(.+))?$/,(e,t)=>{const[r,n="DEFAULT"]=e,o=t.theme.textShadow?.[n];return o!=null?{"--un-text-shadow":Ho(o,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:ja.test(n)?{"--un-text-shadow-opacity":C.bracket.percent.cssvar(n.replace(ja,""))}: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>"}]],Be=[U("--un-ordinal"),U("--un-slashed-zero"),U("--un-numeric-figure"),U("--un-numeric-spacing"),U("--un-numeric-fraction")],Ke={"font-variant-numeric":"var(--un-ordinal,) var(--un-slashed-zero,) var(--un-numeric-figure,) var(--un-numeric-spacing,) var(--un-numeric-fraction,)"},Ub=[["ordinal",[{"--un-ordinal":"ordinal",...Ke},...Be]],["slashed-zero",[{"--un-slashed-zero":"slashed-zero",...Ke},...Be]],["lining-nums",[{"--un-numeric-figure":"lining-nums",...Ke},...Be]],["oldstyle-nums",[{"--un-numeric-figure":"oldstyle-nums",...Ke},...Be]],["proportional-nums",[{"--un-numeric-spacing":"proportional-nums",...Ke},...Be]],["tabular-nums",[{"--un-numeric-spacing":"tabular-nums",...Ke},...Be]],["diagonal-fractions",[{"--un-numeric-fraction":"diagonal-fractions",...Ke},...Be]],["stacked-fractions",[{"--un-numeric-fraction":"stacked-fractions",...Ke},...Be]],["normal-nums",[{"font-variant-numeric":"normal"}]]];function Wb([,e="base"],{theme:t}){const r=Bb(e,"length");if(!r)return;const[n,o]=r,i=t.text?.[n];let s;if(o&&(t.leading?.[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 ll([,e],{theme:t}){if(t.text?.[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 r=C.bracket.cssvar.global.rem(e);if(r)return{"font-size":r}}}function Hb(e,t){return Gt(C.bracket(e[1]))?ll(e,t):de("color","text")(e,t)}function Bb(e,t){const[r,n]=$n(e,"[","]",["/",":"])??[];if(r!=null){const o=(r.match(Wo)??[])[1];if(o==null||o===t)return[r,n]}}const Kb={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"},Gb=[[/^(.+?)-(\$.+)$/,([,e,t])=>{const r=Kb[e];if(r)return{[r]:C.cssvar(t)}}]],Jb=[[/^\[(.*)\]$/,([e,t])=>{if(!t.includes(":"))return;const[r,...n]=t.split(":"),o=n.join(":");if(!Yb(t)&&/^[\w-]+$/.test(r)&&Xb(o)){const i=C.bracket(`[${o}]`);if(i)return{[r]:i}}}]];function Xb(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 Yb(e){if(!e.includes("://"))return!1;try{return new URL(e).host!==""}catch{return!1}}const Zb=[[/^view-transition-([\w-]+)$/,([,e])=>({"view-transition-name":e})]],Qb=[Fb,Lb,Db,qb,Vb,Sg,xg,Y0,X0,ng,ha,ma,ig,sg,ag,cg,lg,ha,ug,ma,fg,vg,pg,$g,K0,H0,kg,Ag,Tg,Ng,eb,rb,ob,ib,sb,ab,cb,lb,ub,fb,db,pb,hb,mb,gb,bb,yb,vb,Yg,Xg,Ib,zb,Gb,Jb,sl,Gg,Wg,Bg,Hg,il,Ug,al,Vg,Kg,Ig,Rb,Z0,tg,$b,wb,kb,Pb,_b,xb,Sb,Eb,Cb,jb,Dg,wg,Rg,zg,qg,Zg,Tb,Mb,Ub,Zb,Eg,jg,Ob,Jg].flat();function ey(){return{getCSS:()=>{if(bt.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(bt.entries()).map(([n,o])=>`${n}:${o};`).join("");return`${e}{${t}{${r}}}`}},layer:"properties"}}const ty=`
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
- Center dropdown marker shown on inputs with paired \`<datalist>\`s in Chrome. (https://github.com/tailwindlabs/tailwindcss/issues/18499)
379
- */
380
-
381
- ::-webkit-calendar-picker-indicator {
382
- line-height: 1;
383
- }
384
-
385
- /*
386
- Remove the additional \`:invalid\` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
387
- */
388
-
389
- :-moz-ui-invalid {
390
- box-shadow: none;
391
- }
392
-
393
- /*
394
- Correct the inability to style the border radius in iOS Safari.
395
- */
396
-
397
- button,
398
- input:where([type='button'], [type='reset'], [type='submit']),
399
- ::file-selector-button {
400
- appearance: button;
401
- }
402
-
403
- /*
404
- Correct the cursor style of increment and decrement buttons in Safari.
405
- */
406
-
407
- ::-webkit-inner-spin-button,
408
- ::-webkit-outer-spin-button {
409
- height: auto;
410
- }
411
-
412
- /*
413
- Make elements with the HTML hidden attribute stay hidden by default.
414
- */
415
-
416
- [hidden]:where(:not([hidden='until-found'])) {
417
- display: none !important;
418
- }
419
- `;function ry(e){if(e.preflights?.reset!==!1)return{getCSS:({generator:t})=>(Z("font","sans"),Z("font","mono"),Z("default",["font","family"]),Z("default",["monoFont","family"]),Jc(ty,t.config.envMode==="dev")),layer:"base"}}const ny=["spacing","breakpoint","verticalBreakpoint","shadow","insetShadow","dropShadow","textShadow","animation","property","aria","media","supports"];function oy(e,t){const r=new Map([["--spacing",e.spacing.DEFAULT]]),n=i=>i.replace(Fc,"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 iy(e){return{layer:"theme",getCSS(t){const{theme:r,generator:n}=t,o=ze(n.config.safelist.flatMap(l=>typeof l=="function"?l(t):l)),{mode:i,process:s}=e.preflights.theme;if(i===!1)return;if(o.length>0)for(const l of o){const[u,...d]=l.trim().split(":");if(u in r&&d.length<=1){const y=d.length===0?["DEFAULT"]:d[0].split("-"),m=an(r,u,y);typeof m=="string"&&(Z(u,y),Sn(m,r))}}let a;const c=l=>{if(s)for(const y of l)for(const m of ce(s))m(y,t);const u=l.map(([y,m])=>y&&m?`${y}: ${m};`:void 0).filter(Boolean);if(u.length===0)return;const d=u.join(`
420
- `);return Jc(`
421
- :root, :host {
422
- ${d}
423
- }`,n.config.envMode==="dev")};if(i==="on-demand"){if(gt.size===0)return;a=Array.from(gt).map(l=>{const[u,d]=l.split(":"),y=an(r,u,d.split("-"));if(typeof y=="string")return[`--${u}${`${u==="spacing"&&d==="DEFAULT"?"":`-${d}`}`}`,y]}).filter(Boolean)}else{const l=Object.keys(r).filter(u=>!ny.includes(u));a=Array.from(oy(r,l))}return c(a)}}}const sy=e=>[ry(e),iy(e),ey()].filter(Boolean),ay={position:["relative","absolute","fixed","sticky","static"],globalKeyword:fe},cy=(e={})=>{e.dark=e.dark??"class",e.attributifyPseudo=e.attributifyPseudo??!1,e.variablePrefix=e.variablePrefix??"un-",e.important=e.important??!1;const t=typeof e.preflights?.theme=="boolean"||typeof e.preflights?.theme=="string"?{mode:e.preflights.theme??"on-demand"}:{mode:e.preflights?.theme?.mode??"on-demand",...e.preflights?.theme};return e.preflights={reset:e.preflights?.reset??!0,theme:t},{name:em,rules:Qb,shortcuts:J0,theme:W0,layers:{properties:-200,theme:-150,base:-100},preflights:sy(e),variants:$0(e),prefix:e.prefix,postprocess:Om(e),extractorDefault:e.arbitraryVariants===!1?void 0:Qh(),autocomplete:{shorthands:ay},options:e,configResolved(){gt.clear(),bt.clear()},meta:{themeDeps:gt,propertyDeps:bt}}},Pa={presets:[cy({preflights:{reset:!0}}),Uh(),nh({cdn:"https://cdn.jsdelivr.net/npm/"}),ah(),Pp()]},ul=/^[a-z0-9]+(-[a-z0-9]+)*$/,Jt=(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(),l={provider:o.length>0?o[0]:n,prefix:c,name:a};return t&&!Hr(l)?null:l}const i=o[0],s=i.split("-");if(s.length>1){const a={provider:n,prefix:s.shift(),name:s.join("-")};return t&&!Hr(a)?null:a}if(r&&n===""){const a={provider:n,prefix:"",name:i};return t&&!Hr(a,r)?null:a}return null},Hr=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1,fl=Object.freeze({left:0,top:0,width:16,height:16}),un=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),wt=Object.freeze({...fl,...un}),So=Object.freeze({...wt,body:"",hidden:!1});function ly(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 Oa(e,t){const r=ly(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 uy(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 fy(e,t,r){const n=e.icons,o=e.aliases||Object.create(null);let i={};function s(a){i=Oa(n[a]||o[a],i)}return s(t),r.forEach(s),Oa(e,i)}function dl(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=uy(e);for(const o in n){const i=n[o];i&&(t(o,fy(e,o,i)),r.push(o))}return r}const dy={provider:"",aliases:{},not_found:{},...fl};function oo(e,t){for(const r in t)if(r in e&&typeof e[r]!=typeof t[r])return!1;return!0}function pl(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!oo(e,dy))return null;const r=t.icons;for(const o in r){const i=r[o];if(!o||typeof i.body!="string"||!oo(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]||!oo(i,So))return null}return t}const Ra=Object.create(null);function py(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function yt(e,t){const r=Ra[e]||(Ra[e]=Object.create(null));return r[t]||(r[t]=py(e,t))}function hl(e,t){return pl(t)?dl(t,(r,n)=>{n?e.icons[r]=n:e.missing.add(r)}):[]}function hy(e,t,r){try{if(typeof r.body=="string")return e.icons[t]={...r},!0}catch{}return!1}let Ht=!1;function ml(e){return typeof e=="boolean"&&(Ht=e),Ht}function En(e){const t=typeof e=="string"?Jt(e,!0,Ht):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 my(e,t){const r=Jt(e,!0,Ht);if(!r)return!1;const n=yt(r.provider,r.prefix);return t?hy(n,r.name,t):(n.missing.add(r.name),!0)}function gy(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Ht&&!t&&!e.prefix){let o=!1;return pl(e)&&(e.prefix="",dl(e,(i,s)=>{my(i,s)&&(o=!0)})),o}const r=e.prefix;if(!Hr({prefix:r,name:"a"}))return!1;const n=yt(t,r);return!!hl(n,e)}function by(e){return!!En(e)}function yy(e){const t=En(e);return t&&{...wt,...t}}const gl=Object.freeze({width:null,height:null}),bl=Object.freeze({...gl,...un}),vy=/(-?[0-9.]*[0-9]+[0-9.]*)/g,$y=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Aa(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(vy);if(n===null||!n.length)return e;const o=[];let i=n.shift(),s=$y.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 wy(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 ky(e,t){return e?"<defs>"+e+"</defs>"+t:t}function _y(e,t,r){const n=wy(e);return ky(n.defs,t+n.content+r)}const xy=e=>e==="unset"||e==="undefined"||e==="none";function Sy(e,t){const r={...wt,...e},n={...bl,...t},o={left:r.left,top:r.top,width:r.width,height:r.height};let i=r.body;[r,n].forEach(h=>{const p=[],b=h.hFlip,f=h.vFlip;let g=h.rotate;b?f?g+=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(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){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}g%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=_y(i,'<g transform="'+p.join(" ")+'">',"</g>"))});const s=n.width,a=n.height,c=o.width,l=o.height;let u,d;s===null?(d=a===null?"1em":a==="auto"?l:a,u=Aa(d,c/l)):(u=s==="auto"?c:s,d=a===null?Aa(u,l/c):a==="auto"?l:a);const y={},m=(h,p)=>{xy(p)||(y[h]=p.toString())};m("width",u),m("height",d);const v=[o.left,o.top,c,l];return y.viewBox=v.join(" "),{attributes:y,viewBox:v,body:i}}const Ey=/\sid="(\S+)"/g,Cy="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let jy=0;function Py(e,t=Cy){const r=[];let n;for(;n=Ey.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+(jy++).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 Oy(e,t){Eo[e]=t}function Co(e){return Eo[e]||Eo[""]}function Jo(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 Xo=Object.create(null),Mt=["https://api.simplesvg.com","https://api.unisvg.com"],Br=[];for(;Mt.length>0;)Mt.length===1||Math.random()>.5?Br.push(Mt.shift()):Br.push(Mt.pop());Xo[""]=Jo({resources:["https://api.iconify.design"].concat(Br)});function Ry(e,t){const r=Jo(t);return r===null?!1:(Xo[e]=r,!0)}function Yo(e){return Xo[e]}const Ay=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Ta=Ay();function Ty(e,t){const r=Yo(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 My(e){return e===404}const Ny=(e,t,r)=>{const n=[],o=Ty(e,t),i="icons";let s={type:i,provider:e,prefix:t,icons:[]},a=0;return r.forEach((c,l)=>{a+=c.length+1,a>=o&&l>0&&(n.push(s),s={type:i,provider:e,prefix:t,icons:[]},a=c.length),s.icons.push(c)}),n.push(s),n};function Iy(e){if(typeof e=="string"){const t=Yo(e);if(t)return t.path}return"/"}const zy=(e,t,r)=>{if(!Ta){r("abort",424);return}let n=Iy(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;Ta(e+n).then(i=>{const s=i.status;if(s!==200){setTimeout(()=>{r(My(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)})},Fy={prepare:Ny,send:zy};function Ly(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)),l=c[s]||(c[s]=yt(i,s));let u;a in l.icons?u=t.loaded:s===""||l.missing.has(a)?u=t.missing:u=t.pending;const d={provider:i,prefix:s,name:a};u.push(d)}),t}function yl(e,t){e.forEach(r=>{const n=r.loaderCallbacks;n&&(r.loaderCallbacks=n.filter(o=>o.id!==t))})}function Dy(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 l=c.name;if(e.icons[l])s.loaded.push({provider:n,prefix:o,name:l});else if(e.missing.has(l))s.missing.push({provider:n,prefix:o,name:l});else return r=!0,!0;return!1}),s.pending.length!==a&&(r||yl([e],i.id),i.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),i.abort))})}))}let qy=0;function Vy(e,t,r){const n=qy++,o=yl.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 Uy(e,t=!0,r=!1){const n=[];return e.forEach(o=>{const i=typeof o=="string"?Jt(o,t,r):o;i&&n.push(i)}),n}var Wy={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Hy(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 k=e.resources.slice(0);for(s=[];k.length>1;){const _=Math.floor(Math.random()*k.length);s.push(k[_]),k=k.slice(0,_).concat(k.slice(_+1))}s=s.concat(k)}else s=e.resources.slice(i).concat(e.resources.slice(0,i));const a=Date.now();let c="pending",l=0,u,d=null,y=[],m=[];typeof n=="function"&&m.push(n);function v(){d&&(clearTimeout(d),d=null)}function h(){c==="pending"&&(c="aborted"),v(),y.forEach(k=>{k.status==="pending"&&(k.status="aborted")}),y=[]}function p(k,_){_&&(m=[]),typeof k=="function"&&m.push(k)}function b(){return{startTime:a,payload:t,status:c,queriesSent:l,queriesPending:y.length,subscribe:p,abort:h}}function f(){c="failed",m.forEach(k=>{k(void 0,u)})}function g(){y.forEach(k=>{k.status==="pending"&&(k.status="aborted")}),y=[]}function $(k,_,S){const P=_!=="success";switch(y=y.filter(I=>I!==k),c){case"pending":break;case"failed":if(P||!e.dataAfterTimeout)return;break;default:return}if(_==="abort"){u=S,f();return}if(P){u=S,y.length||(s.length?w():f());return}if(v(),g(),!e.random){const I=e.resources.indexOf(k.resource);I!==-1&&I!==e.index&&(e.index=I)}c="completed",m.forEach(I=>{I(S)})}function w(){if(c!=="pending")return;v();const k=s.shift();if(k===void 0){if(y.length){d=setTimeout(()=>{v(),c==="pending"&&(g(),f())},e.timeout);return}f();return}const _={status:"pending",resource:k,callback:(S,P)=>{$(_,S,P)}};y.push(_),l++,d=setTimeout(w,e.rotate),r(k,t,_.callback)}return setTimeout(w),b}function vl(e){const t={...Wy,...e};let r=[];function n(){r=r.filter(a=>a().status==="pending")}function o(a,c,l){const u=Hy(t,a,c,(d,y)=>{n(),l&&l(d,y)});return r.push(u),u}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 Ma(){}const io=Object.create(null);function By(e){if(!io[e]){const t=Yo(e);if(!t)return;const r=vl(t),n={config:t,redundancy:r};io[e]=n}return io[e]}function Ky(e,t,r){let n,o;if(typeof e=="string"){const i=Co(e);if(!i)return r(void 0,424),Ma;o=i.send;const s=By(e);s&&(n=s.redundancy)}else{const i=Jo(e);if(i){n=vl(i);const s=e.resources?e.resources[0]:"",a=Co(s);a&&(o=a.send)}}return!n||!o?(r(void 0,424),Ma):n.query(t,o,r)().abort}function Na(){}function Gy(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Dy(e)}))}function Jy(e){const t=[],r=[];return e.forEach(n=>{(n.match(ul)?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(!hl(e,r).length){n();return}}catch(o){console.error(o)}n(),Gy(e)}function Ia(e,t){e instanceof Promise?e.then(r=>{t(r)}).catch(()=>{t(null)}):t(e)}function Xy(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)){Ia(e.loadIcons(o,n,r),u=>{Nt(e,o,u)});return}if(i){o.forEach(u=>{const d=i(u,n,r);Ia(d,y=>{const m=y?{prefix:n,icons:{[u]:y}}:null;Nt(e,[u],m)})});return}const{valid:s,invalid:a}=Jy(o);if(a.length&&Nt(e,a,null),!s.length)return;const c=n.match(ul)?Co(r):null;if(!c){Nt(e,s,null);return}c.prepare(r,n,s).forEach(u=>{Ky(r,u,d=>{Nt(e,u.icons,d)})})}))}const $l=(e,t)=>{const r=Uy(e,!0,ml()),n=Ly(r);if(!n.pending.length){let c=!0;return t&&setTimeout(()=>{c&&t(n.loaded,n.missing,n.pending,Na)}),()=>{c=!1}}const o=Object.create(null),i=[];let s,a;return n.pending.forEach(c=>{const{provider:l,prefix:u}=c;if(u===a&&l===s)return;s=l,a=u,i.push(yt(l,u));const d=o[l]||(o[l]=Object.create(null));d[u]||(d[u]=[])}),n.pending.forEach(c=>{const{provider:l,prefix:u,name:d}=c,y=yt(l,u),m=y.pendingIcons||(y.pendingIcons=new Set);m.has(d)||(m.add(d),o[l][u].push(d))}),i.forEach(c=>{const l=o[c.provider][c.prefix];l.length&&Xy(c,l)}),t?Vy(t,n,i):Na},Yy=e=>new Promise((t,r)=>{const n=typeof e=="string"?Jt(e,!0):e;if(!n){r(e);return}$l([n||e],o=>{if(o.length&&n){const i=En(n);if(i){t({...wt,...i});return}}r(e)})});function Zy(e,t){const r={...e};for(const n in t){const o=t[n],i=typeof o;n in gl?(o===null||o&&(i==="string"||i==="number"))&&(r[n]=o):i===typeof r[n]&&(r[n]=n==="rotate"?o%4:o)}return r}const Qy=/[\s,]+/;function ev(e,t){t.split(Qy).forEach(r=>{switch(r.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function tv(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 rv(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 nv(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function ov(e){return"data:image/svg+xml,"+nv(e)}function iv(e){return'url("'+ov(e)+'")'}const za={...bl,inline:!1},sv={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},av={display:"inline-block"},jo={backgroundColor:"currentColor"},wl={backgroundColor:"transparent"},Fa={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},La={webkitMask:jo,mask:jo,background:wl};for(const e in La){const t=La[e];for(const r in Fa)t[e+r]=Fa[r]}const Kr={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Kr[e+"-flip"]=t,Kr[e.slice(0,1)+"-flip"]=t,Kr[e+"Flip"]=t});function Da(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const qa=(e,t)=>{const r=Zy(za,t),n={...sv},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"&&ev(r,p);break;case"color":i.color=p;break;case"rotate":typeof p=="string"?r[h]=tv(p):typeof p=="number"&&(r[h]=p);break;case"ariaHidden":case"aria-hidden":p!==!0&&p!=="true"&&delete n["aria-hidden"];break;default:{const b=Kr[h];b?(p===!0||p==="true"||p===1)&&(r[b]=!0):za[h]===void 0&&(n[h]=p)}}}const c=Sy(e,r),l=c.attributes;if(r.inline&&(i.verticalAlign="-0.125em"),o==="svg"){n.style={...i,...a},Object.assign(n,l);let h=0,p=t.id;return typeof p=="string"&&(p=p.replace(/-/g,"_")),n.innerHTML=Py(c.body,p?()=>p+"ID"+h++:"iconifyVue"),ei("svg",n)}const{body:u,width:d,height:y}=e,m=o==="mask"||(o==="bg"?!1:u.indexOf("currentColor")!==-1),v=rv(u,{...l,width:d+"",height:y+""});return n.style={...i,"--svg":iv(v),width:Da(l.width),height:Da(l.height),...av,...m?jo:wl,...a},ei("span",n)};ml(!0);Oy("",Fy);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"||!gy(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;Ry(r,o)||console.error(n)}catch{console.error(n)}}}}const cv={...wt,body:""};Ga((e,{emit:t})=>{const r=Ge(null);function n(){r.value&&(r.value.abort?.(),r.value=null)}const o=Ge(!!e.ssr),i=Ge(""),s=Je(null);function a(){const l=e.icon;if(typeof l=="object"&&l!==null&&typeof l.body=="string")return i.value="",{data:l};let u;if(typeof l!="string"||(u=Jt(l,!1,!0))===null)return null;let d=En(u);if(!d){const v=r.value;return(!v||v.name!==l)&&(d===null?r.value={name:l}:r.value={name:l,abort:$l([u],c)}),null}n(),i.value!==l&&(i.value=l,To(()=>{t("load",l)}));const y=e.customise;if(y){d=Object.assign({},d);const v=y(d.body,u.name,u.prefix,u.provider);typeof v=="string"&&(d.body=v)}const m=["iconify"];return u.prefix!==""&&m.push("iconify--"+u.prefix),u.provider!==""&&m.push("iconify--"+u.provider),{data:d,classes:m}}function c(){const l=a();l?l.data!==s.value?.data&&(s.value=l):s.value=null}return o.value?c():Ao(()=>{o.value=!0,c()}),Re(()=>e.icon,c),Tl(n),()=>{const l=s.value;if(!l)return qa(cv,e);let u=e;return l.classes&&(u={...e,class:l.classes.join(" ")}),qa({...wt,...l.data},u)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]});const lv=Ga({__name:"App",setup(e,{expose:t}){t();const r=Dl(),n=pe(()=>rn.value.find(({id:c})=>c===r.name)),o=Ge(""),i=Ge(""),s=pe(()=>n.value?.to&&`${window.location.origin}${n.value.to==="/"?"":n.value.to}`);Re(n,async c=>{let l="/favicon.ico";if(c?.icon){const u=by(c.icon)?yy(c.icon):await Yy(c.icon);if(u){const{body:d,height:y,left:m,top:v,width:h}=u;l=`data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="${m.toString()} ${v.toString()} ${h.toString()} ${y.toString()}">${d}</svg>`}}o.value=l}),ic({link:[[o,"icon","icon"],[s,"canonical"]].map(([c,l,u])=>({href:c,key:u,rel:l})),script:[{id:"application/ld+json",innerHTML:i,type:"application/ld+json"}]}),Su({description:pe(()=>n.value?.description),keywords:pe(()=>n.value?.keywords.join()),ogDescription:pe(()=>n.value?.description),ogImage:pe(()=>n.value?.images.filter(({url:c})=>c).map(({alt:c="",url:l})=>({alt:c,url:`${window.location.origin}/${l}`}))??[]),ogTitle:pe(()=>n.value?.title),ogType:pe(()=>n.value?.type),ogUrl:s,title:pe(()=>n.value?.title)}),Re(()=>n.value?.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 rn}};return Object.defineProperty(a,"__isScriptSetup",{enumerable:!1,value:!0}),a}}),uv=(e,t)=>{const r=e.__vccOpts||e;for(const[n,o]of t)r[n]=o;return r};function fv(e,t,r,n,o,i){const s=Ml("router-view");return ri(),ti(s,null,{default:Nl(({Component:a})=>[(ri(),ti(Il(a),{id:n.pages[0]?.id},null,8,["id"]))]),_:1})}const dv=uv(lv,[["render",fv],["__file","App.vue"]]);var so,Va;function pv(){if(Va)return so;Va=1;function e(s,a){for(;s.length<a;)s="0"+s;return s}function t(s,a){var c,l,u;if(a.length===0)return s;for(c=0,u=a.length;c<u;c++)l=a.charCodeAt(c),s=(s<<5)-s+l,s|=0;return s<0?s*-2:s}function r(s,a,c){return Object.keys(a).sort().reduce(l,s);function l(u,d){return n(u,a[d],d,c)}}function n(s,a,c,l){var u=t(t(t(s,c),o(a)),typeof a);if(a===null)return t(u,"null");if(a===void 0)return t(u,"undefined");if(typeof a=="object"||typeof a=="function"){if(l.indexOf(a)!==-1)return t(u,"[Circular]"+c);l.push(a);var d=r(u,a,l);if(!("valueOf"in a)||typeof a.valueOf!="function")return d;try{return t(d,String(a.valueOf()))}catch(y){return t(d,"[valueOf exception]"+(y.stack||y.message))}}return t(u,a.toString())}function o(s){return Object.prototype.toString.call(s)}function i(s){return e(n(0,s,"",[]).toString(16),8)}return so=i,so}var hv=pv();const mv=dn(hv),Po="<template></template>",Gr=async e=>{try{const t=await fetch(e);return t.ok?t:new Response(Po)}catch{return new Response(Po)}},zt=e=>{e.forEach(t=>{console.log(t)})},gv=async(e,{filename:t},{content:r,module:n,scoped:o=!1,src:i})=>{const{code:s,errors:a}=await Bl({filename:t,id:e,modules:!!n,scoped:o,source:i?await(await Gr(i)).text():r});zt(a),Lf(s,o?{id:e}:void 0)},Ua=e=>pt(()=>import(`data:text/javascript;base64,${btoa(Array.from(new TextEncoder().encode(e),t=>String.fromCodePoint(t)).join(""))}`),[],import.meta.url),bv=async e=>{const{descriptor:t,errors:r}=Ul(await(await Gr(e)).text()||Po,{filename:e}),n={expressionPlugins:[]},o=["script","scriptSetup"],i=await Promise.all(o.map(async d=>{const{lang:y="js",src:m}=t[d]??{};return/[jt]sx$/.test(y)&&n.expressionPlugins?.push("jsx"),/tsx?$/.test(y)&&n.expressionPlugins?.push("typescript"),m&&await(await Gr(m)).text()})),s=`data-v-${mv(e)}`,a="preserve",c={},l=t.styles.some(({scoped:d})=>d),{expressionPlugins:u}=n;if(zt(r),l&&(c.__scopeId=s),t.script||t.scriptSetup){o.forEach((v,h)=>{const p=t[v];p&&i[h]!==void 0&&(p.content=i[h])});const{bindings:d,content:y,warnings:m=[]}=Wl(t,{id:s});zt(m),d&&(n.bindingMetadata=d),Object.assign(c,(await Ua(u.length?ni(y,{jsxRuntime:a,transforms:u}).code:y)).default)}if(t.template){const{code:d,errors:y,tips:m}=Hl({ast:t.template.ast,compilerOptions:n,filename:t.filename,id:s,scoped:l,slotted:t.slotted,source:t.template.src?await(await Gr(t.template.src)).text():t.template.content,vapor:t.vapor});zt(y),zt(m),Object.assign(c,await Ua(u.length?ni(d,{jsxRuntime:a,transforms:u}).code:d))}return t.styles.forEach(d=>{gv(s,t,d)}),c};let Oo;const{pathname:yv}=new URL(document.baseURI),Wa=Ge(!0),fn=new Map,vv=()=>{let e,t;return{promise:new Promise((n,o)=>{e=n,t=o}),reject:t,resolve:e}},Xe=ql({history:Vl(yv),routes:[],scrollBehavior:(e,t,r)=>Oo&&Oo(e,t,r)}),Ha=Ge(!0),Ba=pe(()=>Xe.currentRoute.value.path==="/"?ho[Xe.currentRoute.value.name]?.$children[0]:ho[Xe.currentRoute.value.name]),Pv=({id:e=Ec()})=>(fn.set(e,vv()),zl(async()=>bv(`./pages/${e}.vue`))),Ov=({id:e}={})=>{e&&fn.get(e)?.resolve(void 0)},$v=({extractAll:e,toggleObserver:t})=>{Oo=async({hash:r,name:n})=>{if(n){Wa.value=!0,t(!1);const[{promise:o}={}]=fn.values();await o,await Promise.all([...fn.values()].map(({promise:s})=>s)),await e(),t(!0);const i=Ha.value&&{behavior:"smooth",...r||Ba.value?.parent?.flat&&Ba.value.index?{el:r||`#${String(n)}`}:{left:0,top:0}};return Wa.value=!1,Ha.value=!0,i}else return!1}};Xe.beforeEach(({path:e})=>e!==decodeURI(e)?decodeURI(e):void 0);const Jr=Fl(dv),wv={async get(){if(this.id)try{const e=await fetch(`./pages/${this.id}.jsonld`);return e.ok?await e.json():void 0}catch{return}}};Jr.use(Eu());const kv=(async()=>{const e=await fetch("index.json"),[t={}]=await(e.ok?e:new Response("[]")).json();tn.push(t),await To(),rn.value.forEach(({id:r,loc:n,path:o},i,s)=>{if(Object.defineProperties(s[i],{jsonld:wv}),o!==void 0){const a=n?.replaceAll(" ","_").replace(/^\/?/,"/").replace(/\/?$/,"/");Xe.addRoute({...a&&n?{alias:a}:{undefined:void 0},children:[{component:()=>pt(()=>import("./PageView-CryrqQPf.js"),__vite__mapDeps([0,1,2]),import.meta.url),name:r,path:""}],component:()=>pt(()=>import("./RootView-DO3NNhaB.js"),__vite__mapDeps([3,1,2]),import.meta.url),path:o.replace(/^\/?/,"/").replace(/\/?$/,"/")})}}),Xe.addRoute({component:()=>pt(()=>import("./NotFoundView-7QQP4Hvb.js"),__vite__mapDeps([4,1,2]),import.meta.url),name:"404",path:"/:pathMatch(.*)*"})})();(async()=>{const e=await fetch("fonts.json");po.push(...await(e.ok?e:new Response("[]")).json()),Pa.presets.push(wf({customFetch:up,fonts:dp(po)})),await Sf({defaults:Pa,ready:async t=>{const{toggleObserver:r}=t;return $v(t),await kv,Jr.provide("pages",ho),Jr.use(Xe),await Xe.isReady(),Jr.mount("#app"),r(!0),!1},rootElement:()=>document.getElementById("app")??void 0})})().catch(lp);console.info("👊 VueBro / https://github.com/vuebro / runtime ver.:","1.1.21");export{uv as _,Cv as a,jv as b,Wa as c,rn as d,lp as e,ic as f,Pv as m,fn as p,Ov as r,Ha as s,Ba as t,Ec as u};