@unocss/runtime 66.0.0 → 66.1.0-beta.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unocss/runtime",
3
3
  "type": "module",
4
- "version": "66.0.0",
4
+ "version": "66.1.0-beta.10",
5
5
  "description": "CSS-in-JS Runtime for UnoCSS",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -35,9 +35,9 @@
35
35
  "dist"
36
36
  ],
37
37
  "dependencies": {
38
- "@unocss/core": "66.0.0",
39
- "@unocss/preset-attributify": "66.0.0",
40
- "@unocss/preset-uno": "66.0.0"
38
+ "@unocss/preset-attributify": "66.1.0-beta.10",
39
+ "@unocss/preset-uno": "66.1.0-beta.10",
40
+ "@unocss/core": "66.1.0-beta.10"
41
41
  },
42
42
  "scripts": {
43
43
  "build": "pnpm run build:node && pnpm run build:cdn && pnpm run build:presets",
@@ -1,5 +1,5 @@
1
- "use strict";(()=>{var He=Object.create;var V=Object.defineProperty;var Je=Object.getOwnPropertyDescriptor;var Ze=Object.getOwnPropertyNames;var Xe=Object.getPrototypeOf,Qe=Object.prototype.hasOwnProperty;var N=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(o,t)=>(typeof require<"u"?require:o)[t]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var I=(e,o)=>()=>(e&&(o=e(e=0)),o);var z=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports),et=(e,o)=>{for(var t in o)V(e,t,{get:o[t],enumerable:!0})},he=(e,o,t,n)=>{if(o&&typeof o=="object"||typeof o=="function")for(let r of Ze(o))!Qe.call(e,r)&&r!==t&&V(e,r,{get:()=>o[r],enumerable:!(n=Je(o,r))||n.enumerable});return e};var j=(e,o,t)=>(t=e!=null?He(Xe(e)):{},he(o||!e||!e.__esModule?V(t,"default",{value:e,enumerable:!0}):t,e)),tt=e=>he(V({},"__esModule",{value:!0}),e);var ot,$,te,Ce,q=I(()=>{"use strict";ot=Object.freeze({left:0,top:0,width:16,height:16}),$=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),te=Object.freeze({...ot,...$}),Ce=Object.freeze({...te,body:"",hidden:!1})});var rt,B,oe=I(()=>{"use strict";q();rt=Object.freeze({width:null,height:null}),B=Object.freeze({...rt,...$})});function we(e,o){let t={};!e.hFlip!=!o.hFlip&&(t.hFlip=!0),!e.vFlip!=!o.vFlip&&(t.vFlip=!0);let n=((e.rotate||0)+(o.rotate||0))%4;return n&&(t.rotate=n),t}var xe=I(()=>{"use strict"});function re(e,o){let t=we(e,o);for(let n in Ce)n in $?n in e&&!(n in t)&&(t[n]=$[n]):n in o?t[n]=o[n]:n in e&&(t[n]=e[n]);return t}var ye=I(()=>{"use strict";q();xe()});function be(e,o){let t=e.icons,n=e.aliases||Object.create(null),r=Object.create(null);function i(c){if(t[c])return r[c]=[];if(!(c in r)){r[c]=null;let u=n[c]&&n[c].parent,d=u&&i(u);d&&(r[c]=[u].concat(d))}return r[c]}return(o||Object.keys(t).concat(Object.keys(n))).forEach(i),r}var Ie=I(()=>{"use strict"});function Fe(e,o,t){let n=e.icons,r=e.aliases||Object.create(null),i={};function c(u){i=re(n[u]||r[u],i)}return c(o),t.forEach(c),re(e,i)}function ve(e,o){if(e.icons[o])return Fe(e,o,[]);let t=be(e,[o])[o];return t?Fe(e,o,t):null}var Se=I(()=>{"use strict";ye();Ie()});function k(e,o,t){if(o===1)return e;if(t=t||100,typeof e=="number")return Math.ceil(e*o*t)/t;if(typeof e!="string")return e;let n=e.split(nt);if(n===null||!n.length)return e;let r=[],i=n.shift(),c=it.test(i);for(;;){if(c){let u=parseFloat(i);isNaN(u)?r.push(i):r.push(Math.ceil(u*o*t)/t)}else r.push(i);if(i=n.shift(),i===void 0)return r.join("");c=!c}}var nt,it,W=I(()=>{"use strict";nt=/(-?[0-9.]*[0-9]+[0-9.]*)/g,it=/^-?[0-9.]*[0-9]+[0-9.]*$/g});function st(e,o="defs"){let t="",n=e.indexOf("<"+o);for(;n>=0;){let r=e.indexOf(">",n),i=e.indexOf("</"+o);if(r===-1||i===-1)break;let c=e.indexOf(">",i);if(c===-1)break;t+=e.slice(r+1,i).trim(),e=e.slice(0,n).trim()+e.slice(c+1)}return{defs:t,content:e}}function ct(e,o){return e?"<defs>"+e+"</defs>"+o:o}function Oe(e,o,t){let n=st(e);return ct(n.defs,o+n.content+t)}var Te=I(()=>{"use strict"});function Ee(e,o){let t={...te,...e},n={...B,...o},r={left:t.left,top:t.top,width:t.width,height:t.height},i=t.body;[t,n].forEach(a=>{let l=[],y=a.hFlip,b=a.vFlip,F=a.rotate;y?b?F+=2:(l.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),l.push("scale(-1 1)"),r.top=r.left=0):b&&(l.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),l.push("scale(1 -1)"),r.top=r.left=0);let h;switch(F<0&&(F-=Math.floor(F/4)*4),F=F%4,F){case 1:h=r.height/2+r.top,l.unshift("rotate(90 "+h.toString()+" "+h.toString()+")");break;case 2:l.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:h=r.width/2+r.left,l.unshift("rotate(-90 "+h.toString()+" "+h.toString()+")");break}F%2===1&&(r.left!==r.top&&(h=r.left,r.left=r.top,r.top=h),r.width!==r.height&&(h=r.width,r.width=r.height,r.height=h)),l.length&&(i=Oe(i,'<g transform="'+l.join(" ")+'">',"</g>"))});let c=n.width,u=n.height,d=r.width,g=r.height,s,f;c===null?(f=u===null?"1em":u==="auto"?g:u,s=k(f,d/g)):(s=c==="auto"?d:c,f=u===null?k(s,g/d):u==="auto"?g:u);let p={},m=(a,l)=>{D(l)||(p[a]=l.toString())};m("width",s),m("height",f);let w=[r.left,r.top,d,g];return p.viewBox=w.join(" "),{attributes:p,viewBox:w,body:i}}var D,ne=I(()=>{"use strict";q();oe();W();Te();D=e=>e==="unset"||e==="undefined"||e==="none"});function ke(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()}var Le=I(()=>{"use strict"});function ut(e,o,t){let n=e.slice(0,e.indexOf(">")),r=(i,c)=>{let u=c.exec(n),d=u!=null,g=o[i];return!g&&!D(g)&&(typeof t=="number"?t>0&&(o[i]=k(u?.[1]??"1em",t)):u&&(o[i]=u[1])),d};return[r("width",at),r("height",lt)]}async function K(e,o,t,n,r,i){let{scale:c,addXmlNs:u=!1}=n??{},{additionalProps:d={},iconCustomizer:g}=n?.customizations??{},s=await r?.()??{};await g?.(o,t,s),Object.keys(d).forEach(a=>{let l=d[a];l!=null&&(s[a]=l)}),i?.(s);let[f,p]=ut(e,s,c);u&&(!e.includes("xmlns=")&&!s.xmlns&&(s.xmlns="http://www.w3.org/2000/svg"),!e.includes("xmlns:xlink=")&&e.includes("xlink:")&&!s["xmlns:xlink"]&&(s["xmlns:xlink"]="http://www.w3.org/1999/xlink"));let m=Object.keys(s).map(a=>a==="width"&&f||a==="height"&&p?null:`${a}="${s[a]}"`).filter(a=>a!=null);if(m.length&&(e=e.replace(se,`<svg ${m.join(" ")} `)),n){let{defaultStyle:a,defaultClass:l}=n;l&&!e.includes("class=")&&(e=e.replace(se,`<svg class="${l}" `)),a&&!e.includes("style=")&&(e=e.replace(se,`<svg style="${a}" `))}let w=n?.usedProps;return w&&(Object.keys(d).forEach(a=>{let l=s[a];l!=null&&(w[a]=l)}),typeof s.width<"u"&&s.width!==null&&(w.width=s.width),typeof s.height<"u"&&s.height!==null&&(w.height=s.height)),e}var at,lt,se,ce=I(()=>{"use strict";ne();W();at=/\swidth\s*=\s*["']([\w.]+)["']/,lt=/\sheight\s*=\s*["']([\w.]+)["']/,se=/<svg\s+/});var Re=z((mo,$e)=>{"use strict";var R=1e3,A=R*60,_=A*60,L=_*24,ft=L*7,pt=L*365.25;$e.exports=function(e,o){o=o||{};var t=typeof e;if(t==="string"&&e.length>0)return mt(e);if(t==="number"&&isFinite(e))return o.long?gt(e):dt(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function mt(e){if(e=String(e),!(e.length>100)){var o=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(o){var t=parseFloat(o[1]),n=(o[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return t*pt;case"weeks":case"week":case"w":return t*ft;case"days":case"day":case"d":return t*L;case"hours":case"hour":case"hrs":case"hr":case"h":return t*_;case"minutes":case"minute":case"mins":case"min":case"m":return t*A;case"seconds":case"second":case"secs":case"sec":case"s":return t*R;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return t;default:return}}}}function dt(e){var o=Math.abs(e);return o>=L?Math.round(e/L)+"d":o>=_?Math.round(e/_)+"h":o>=A?Math.round(e/A)+"m":o>=R?Math.round(e/R)+"s":e+"ms"}function gt(e){var o=Math.abs(e);return o>=L?Y(e,o,L,"day"):o>=_?Y(e,o,_,"hour"):o>=A?Y(e,o,A,"minute"):o>=R?Y(e,o,R,"second"):e+" ms"}function Y(e,o,t,n){var r=o>=t*1.5;return Math.round(e/t)+" "+n+(r?"s":"")}});var ae=z((go,Ae)=>{"use strict";function ht(e){t.debug=t,t.default=t,t.coerce=d,t.disable=c,t.enable=r,t.enabled=u,t.humanize=Re(),t.destroy=g,Object.keys(e).forEach(s=>{t[s]=e[s]}),t.names=[],t.skips=[],t.formatters={};function o(s){let f=0;for(let p=0;p<s.length;p++)f=(f<<5)-f+s.charCodeAt(p),f|=0;return t.colors[Math.abs(f)%t.colors.length]}t.selectColor=o;function t(s){let f,p=null,m,w;function a(...l){if(!a.enabled)return;let y=a,b=Number(new Date),F=b-(f||b);y.diff=F,y.prev=f,y.curr=b,f=b,l[0]=t.coerce(l[0]),typeof l[0]!="string"&&l.unshift("%O");let h=0;l[0]=l[0].replace(/%([a-zA-Z%])/g,(O,T)=>{if(O==="%%")return"%";h++;let E=t.formatters[T];if(typeof E=="function"){let G=l[h];O=E.call(y,G),l.splice(h,1),h--}return O}),t.formatArgs.call(y,l),(y.log||t.log).apply(y,l)}return a.namespace=s,a.useColors=t.useColors(),a.color=t.selectColor(s),a.extend=n,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>p!==null?p:(m!==t.namespaces&&(m=t.namespaces,w=t.enabled(s)),w),set:l=>{p=l}}),typeof t.init=="function"&&t.init(a),a}function n(s,f){let p=t(this.namespace+(typeof f>"u"?":":f)+s);return p.log=this.log,p}function r(s){t.save(s),t.namespaces=s,t.names=[],t.skips=[];let f=(typeof s=="string"?s:"").trim().replace(" ",",").split(",").filter(Boolean);for(let p of f)p[0]==="-"?t.skips.push(p.slice(1)):t.names.push(p)}function i(s,f){let p=0,m=0,w=-1,a=0;for(;p<s.length;)if(m<f.length&&(f[m]===s[p]||f[m]==="*"))f[m]==="*"?(w=m,a=p,m++):(p++,m++);else if(w!==-1)m=w+1,a++,p=a;else return!1;for(;m<f.length&&f[m]==="*";)m++;return m===f.length}function c(){let s=[...t.names,...t.skips.map(f=>"-"+f)].join(",");return t.enable(""),s}function u(s){for(let f of t.skips)if(i(s,f))return!1;for(let f of t.names)if(i(s,f))return!0;return!1}function d(s){return s instanceof Error?s.stack||s.message:s}function g(){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 t.enable(t.load()),t}Ae.exports=ht});var _e=z((v,H)=>{"use strict";v.formatArgs=wt;v.save=xt;v.load=yt;v.useColors=Ct;v.storage=bt();v.destroy=(()=>{let e=!1;return()=>{e||(e=!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`."))}})();v.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 Ct(){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 e;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&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function wt(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+H.exports.humanize(this.diff),!this.useColors)return;let o="color: "+this.color;e.splice(1,0,o,"color: inherit");let t=0,n=0;e[0].replace(/%[a-zA-Z%]/g,r=>{r!=="%%"&&(t++,r==="%c"&&(n=t))}),e.splice(n,0,o)}v.log=console.debug||console.log||(()=>{});function xt(e){try{e?v.storage.setItem("debug",e):v.storage.removeItem("debug")}catch{}}function yt(){let e;try{e=v.storage.getItem("debug")}catch{}return!e&&typeof process<"u"&&"env"in process&&(e=process.env.DEBUG),e}function bt(){try{return localStorage}catch{}}H.exports=ae()(v);var{formatters:It}=H.exports;It.j=function(e){try{return JSON.stringify(e)}catch(o){return"[UnexpectedJSONParseError]: "+o.message}}});var Ne={};et(Ne,{createSupportsColor:()=>ue,default:()=>Tt});function S(e,o=globalThis.Deno?globalThis.Deno.args:Z.default.argv){let t=e.startsWith("-")?"":e.length===1?"-":"--",n=o.indexOf(t+e),r=o.indexOf("--");return n!==-1&&(r===-1||n<r)}function Ft(){if("FORCE_COLOR"in C)return C.FORCE_COLOR==="true"?1:C.FORCE_COLOR==="false"?0:C.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(C.FORCE_COLOR,10),3)}function vt(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function St(e,{streamIsTTY:o,sniffFlags:t=!0}={}){let n=Ft();n!==void 0&&(J=n);let r=t?J:n;if(r===0)return 0;if(t){if(S("color=16m")||S("color=full")||S("color=truecolor"))return 3;if(S("color=256"))return 2}if("TF_BUILD"in C&&"AGENT_NAME"in C)return 1;if(e&&!o&&r===void 0)return 0;let i=r||0;if(C.TERM==="dumb")return i;if(Z.default.platform==="win32"){let c=Pe.default.release().split(".");return Number(c[0])>=10&&Number(c[2])>=10586?Number(c[2])>=14931?3:2:1}if("CI"in C)return"GITHUB_ACTIONS"in C||"GITEA_ACTIONS"in C?3:["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some(c=>c in C)||C.CI_NAME==="codeship"?1:i;if("TEAMCITY_VERSION"in C)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(C.TEAMCITY_VERSION)?1:0;if(C.COLORTERM==="truecolor"||C.TERM==="xterm-kitty")return 3;if("TERM_PROGRAM"in C){let c=Number.parseInt((C.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(C.TERM_PROGRAM){case"iTerm.app":return c>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(C.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(C.TERM)||"COLORTERM"in C?1:i}function ue(e,o={}){let t=St(e,{streamIsTTY:e&&e.isTTY,...o});return vt(t)}var Z,Pe,le,C,J,Ot,Tt,ze=I(()=>{"use strict";Z=j(N("node:process"),1),Pe=j(N("node:os"),1),le=j(N("node:tty"),1);({env:C}=Z.default);S("no-color")||S("no-colors")||S("color=false")||S("color=never")?J=0:(S("color")||S("colors")||S("color=true")||S("color=always"))&&(J=1);Ot={stdout:ue({isTTY:le.default.isatty(1)}),stderr:ue({isTTY:le.default.isatty(2)})},Tt=Ot});var Me=z((x,Q)=>{"use strict";var Et=N("tty"),X=N("util");x.init=_t;x.log=$t;x.formatArgs=kt;x.save=Rt;x.load=At;x.useColors=jt;x.destroy=X.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");x.colors=[6,2,3,4,5,1];try{let e=(ze(),tt(Ne));e&&(e.stderr||e).level>=2&&(x.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}x.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,o)=>{let t=o.substring(6).toLowerCase().replace(/_([a-z])/g,(r,i)=>i.toUpperCase()),n=process.env[o];return/^(yes|on|true|enabled)$/i.test(n)?n=!0:/^(no|off|false|disabled)$/i.test(n)?n=!1:n==="null"?n=null:n=Number(n),e[t]=n,e},{});function jt(){return"colors"in x.inspectOpts?!!x.inspectOpts.colors:Et.isatty(process.stderr.fd)}function kt(e){let{namespace:o,useColors:t}=this;if(t){let n=this.color,r="\x1B[3"+(n<8?n:"8;5;"+n),i=` ${r};1m${o} \x1B[0m`;e[0]=i+e[0].split(`
1
+ "use strict";(()=>{var Je=Object.create;var de=Object.defineProperty;var Ze=Object.getOwnPropertyDescriptor;var Ye=Object.getOwnPropertyNames;var Xe=Object.getPrototypeOf,Qe=Object.prototype.hasOwnProperty;var V=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(o,t)=>(typeof require<"u"?require:o)[t]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var v=(e,o)=>()=>(e&&(o=e(e=0)),o);var T=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var et=(e,o,t,n)=>{if(o&&typeof o=="object"||typeof o=="function")for(let r of Ye(o))!Qe.call(e,r)&&r!==t&&de(e,r,{get:()=>o[r],enumerable:!(n=Ze(o,r))||n.enumerable});return e};var G=(e,o,t)=>(t=e!=null?Je(Xe(e)):{},et(o||!e||!e.__esModule?de(t,"default",{value:e,enumerable:!0}):t,e));var tt,R,Q,ge,q=v(()=>{"use strict";tt=Object.freeze({left:0,top:0,width:16,height:16}),R=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Q=Object.freeze({...tt,...R}),ge=Object.freeze({...Q,body:"",hidden:!1})});var ot,B,ee=v(()=>{"use strict";q();ot=Object.freeze({width:null,height:null}),B=Object.freeze({...ot,...R})});function he(e,o){let t={};!e.hFlip!=!o.hFlip&&(t.hFlip=!0),!e.vFlip!=!o.vFlip&&(t.vFlip=!0);let n=((e.rotate||0)+(o.rotate||0))%4;return n&&(t.rotate=n),t}var Ce=v(()=>{"use strict"});function te(e,o){let t=he(e,o);for(let n in ge)n in R?n in e&&!(n in t)&&(t[n]=R[n]):n in o?t[n]=o[n]:n in e&&(t[n]=e[n]);return t}var we=v(()=>{"use strict";q();Ce()});function xe(e,o){let t=e.icons,n=e.aliases||Object.create(null),r=Object.create(null);function s(c){if(t[c])return r[c]=[];if(!(c in r)){r[c]=null;let u=n[c]&&n[c].parent,d=u&&s(u);d&&(r[c]=[u].concat(d))}return r[c]}return(o||Object.keys(t).concat(Object.keys(n))).forEach(s),r}var ye=v(()=>{"use strict"});function be(e,o,t){let n=e.icons,r=e.aliases||Object.create(null),s={};function c(u){s=te(n[u]||r[u],s)}return c(o),t.forEach(c),te(e,s)}function Ie(e,o){if(e.icons[o])return be(e,o,[]);let t=xe(e,[o])[o];return t?be(e,o,t):null}var ve=v(()=>{"use strict";we();ye()});function L(e,o,t){if(o===1)return e;if(t=t||100,typeof e=="number")return Math.ceil(e*o*t)/t;if(typeof e!="string")return e;let n=e.split(rt);if(n===null||!n.length)return e;let r=[],s=n.shift(),c=nt.test(s);for(;;){if(c){let u=parseFloat(s);isNaN(u)?r.push(s):r.push(Math.ceil(u*o*t)/t)}else r.push(s);if(s=n.shift(),s===void 0)return r.join("");c=!c}}var rt,nt,W=v(()=>{"use strict";rt=/(-?[0-9.]*[0-9]+[0-9.]*)/g,nt=/^-?[0-9.]*[0-9]+[0-9.]*$/g});function st(e,o="defs"){let t="",n=e.indexOf("<"+o);for(;n>=0;){let r=e.indexOf(">",n),s=e.indexOf("</"+o);if(r===-1||s===-1)break;let c=e.indexOf(">",s);if(c===-1)break;t+=e.slice(r+1,s).trim(),e=e.slice(0,n).trim()+e.slice(c+1)}return{defs:t,content:e}}function it(e,o){return e?"<defs>"+e+"</defs>"+o:o}function Fe(e,o,t){let n=st(e);return it(n.defs,o+n.content+t)}var Se=v(()=>{"use strict"});function Oe(e,o){let t={...Q,...e},n={...B,...o},r={left:t.left,top:t.top,width:t.width,height:t.height},s=t.body;[t,n].forEach(a=>{let l=[],y=a.hFlip,b=a.vFlip,I=a.rotate;y?b?I+=2:(l.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),l.push("scale(-1 1)"),r.top=r.left=0):b&&(l.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),l.push("scale(1 -1)"),r.top=r.left=0);let h;switch(I<0&&(I-=Math.floor(I/4)*4),I=I%4,I){case 1:h=r.height/2+r.top,l.unshift("rotate(90 "+h.toString()+" "+h.toString()+")");break;case 2:l.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:h=r.width/2+r.left,l.unshift("rotate(-90 "+h.toString()+" "+h.toString()+")");break}I%2===1&&(r.left!==r.top&&(h=r.left,r.left=r.top,r.top=h),r.width!==r.height&&(h=r.width,r.width=r.height,r.height=h)),l.length&&(s=Fe(s,'<g transform="'+l.join(" ")+'">',"</g>"))});let c=n.width,u=n.height,d=r.width,g=r.height,i,f;c===null?(f=u===null?"1em":u==="auto"?g:u,i=L(f,d/g)):(i=c==="auto"?d:c,f=u===null?L(i,g/d):u==="auto"?g:u);let p={},m=(a,l)=>{N(l)||(p[a]=l.toString())};m("width",i),m("height",f);let C=[r.left,r.top,d,g];return p.viewBox=C.join(" "),{attributes:p,viewBox:C,body:s}}var N,oe=v(()=>{"use strict";q();ee();W();Se();N=e=>e==="unset"||e==="undefined"||e==="none"});function ke(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()}var Ee=v(()=>{"use strict"});function lt(e,o,t){let n=e.slice(0,e.indexOf(">")),r=(s,c)=>{let u=c.exec(n),d=u!=null,g=o[s];return!g&&!N(g)&&(typeof t=="number"?t>0&&(o[s]=L(u?.[1]??"1em",t)):u&&(o[s]=u[1])),d};return[r("width",ct),r("height",at)]}async function K(e,o,t,n,r,s){let{scale:c,addXmlNs:u=!1}=n??{},{additionalProps:d={},iconCustomizer:g}=n?.customizations??{},i=await r?.()??{};await g?.(o,t,i),Object.keys(d).forEach(a=>{let l=d[a];l!=null&&(i[a]=l)}),s?.(i);let[f,p]=lt(e,i,c);u&&(!e.includes("xmlns=")&&!i.xmlns&&(i.xmlns="http://www.w3.org/2000/svg"),!e.includes("xmlns:xlink=")&&e.includes("xlink:")&&!i["xmlns:xlink"]&&(i["xmlns:xlink"]="http://www.w3.org/1999/xlink"));let m=Object.keys(i).map(a=>a==="width"&&f||a==="height"&&p?null:`${a}="${i[a]}"`).filter(a=>a!=null);if(m.length&&(e=e.replace(ne,`<svg ${m.join(" ")} `)),n){let{defaultStyle:a,defaultClass:l}=n;l&&!e.includes("class=")&&(e=e.replace(ne,`<svg class="${l}" `)),a&&!e.includes("style=")&&(e=e.replace(ne,`<svg style="${a}" `))}let C=n?.usedProps;return C&&(Object.keys(d).forEach(a=>{let l=i[a];l!=null&&(C[a]=l)}),typeof i.width<"u"&&i.width!==null&&(C.width=i.width),typeof i.height<"u"&&i.height!==null&&(C.height=i.height)),e}var ct,at,ne,se=v(()=>{"use strict";oe();W();ct=/\swidth\s*=\s*["']([\w.]+)["']/,at=/\sheight\s*=\s*["']([\w.]+)["']/,ne=/<svg\s+/});var Le=T((ao,Te)=>{"use strict";var A=1e3,P=A*60,z=P*60,$=z*24,ut=$*7,ft=$*365.25;Te.exports=function(e,o){o=o||{};var t=typeof e;if(t==="string"&&e.length>0)return pt(e);if(t==="number"&&isFinite(e))return o.long?dt(e):mt(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function pt(e){if(e=String(e),!(e.length>100)){var o=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(o){var t=parseFloat(o[1]),n=(o[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return t*ft;case"weeks":case"week":case"w":return t*ut;case"days":case"day":case"d":return t*$;case"hours":case"hour":case"hrs":case"hr":case"h":return t*z;case"minutes":case"minute":case"mins":case"min":case"m":return t*P;case"seconds":case"second":case"secs":case"sec":case"s":return t*A;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return t;default:return}}}}function mt(e){var o=Math.abs(e);return o>=$?Math.round(e/$)+"d":o>=z?Math.round(e/z)+"h":o>=P?Math.round(e/P)+"m":o>=A?Math.round(e/A)+"s":e+"ms"}function dt(e){var o=Math.abs(e);return o>=$?H(e,o,$,"day"):o>=z?H(e,o,z,"hour"):o>=P?H(e,o,P,"minute"):o>=A?H(e,o,A,"second"):e+" ms"}function H(e,o,t,n){var r=o>=t*1.5;return Math.round(e/t)+" "+n+(r?"s":"")}});var ie=T((lo,$e)=>{"use strict";function gt(e){t.debug=t,t.default=t,t.coerce=d,t.disable=c,t.enable=r,t.enabled=u,t.humanize=Le(),t.destroy=g,Object.keys(e).forEach(i=>{t[i]=e[i]}),t.names=[],t.skips=[],t.formatters={};function o(i){let f=0;for(let p=0;p<i.length;p++)f=(f<<5)-f+i.charCodeAt(p),f|=0;return t.colors[Math.abs(f)%t.colors.length]}t.selectColor=o;function t(i){let f,p=null,m,C;function a(...l){if(!a.enabled)return;let y=a,b=Number(new Date),I=b-(f||b);y.diff=I,y.prev=f,y.curr=b,f=b,l[0]=t.coerce(l[0]),typeof l[0]!="string"&&l.unshift("%O");let h=0;l[0]=l[0].replace(/%([a-zA-Z%])/g,(j,k)=>{if(j==="%%")return"%";h++;let E=t.formatters[k];if(typeof E=="function"){let M=l[h];j=E.call(y,M),l.splice(h,1),h--}return j}),t.formatArgs.call(y,l),(y.log||t.log).apply(y,l)}return a.namespace=i,a.useColors=t.useColors(),a.color=t.selectColor(i),a.extend=n,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>p!==null?p:(m!==t.namespaces&&(m=t.namespaces,C=t.enabled(i)),C),set:l=>{p=l}}),typeof t.init=="function"&&t.init(a),a}function n(i,f){let p=t(this.namespace+(typeof f>"u"?":":f)+i);return p.log=this.log,p}function r(i){t.save(i),t.namespaces=i,t.names=[],t.skips=[];let f=(typeof i=="string"?i:"").trim().replace(" ",",").split(",").filter(Boolean);for(let p of f)p[0]==="-"?t.skips.push(p.slice(1)):t.names.push(p)}function s(i,f){let p=0,m=0,C=-1,a=0;for(;p<i.length;)if(m<f.length&&(f[m]===i[p]||f[m]==="*"))f[m]==="*"?(C=m,a=p,m++):(p++,m++);else if(C!==-1)m=C+1,a++,p=a;else return!1;for(;m<f.length&&f[m]==="*";)m++;return m===f.length}function c(){let i=[...t.names,...t.skips.map(f=>"-"+f)].join(",");return t.enable(""),i}function u(i){for(let f of t.skips)if(s(i,f))return!1;for(let f of t.names)if(s(i,f))return!0;return!1}function d(i){return i instanceof Error?i.stack||i.message:i}function g(){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 t.enable(t.load()),t}$e.exports=gt});var Re=T((F,J)=>{"use strict";F.formatArgs=Ct;F.save=wt;F.load=xt;F.useColors=ht;F.storage=yt();F.destroy=(()=>{let e=!1;return()=>{e||(e=!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`."))}})();F.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 ht(){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 e;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&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function Ct(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+J.exports.humanize(this.diff),!this.useColors)return;let o="color: "+this.color;e.splice(1,0,o,"color: inherit");let t=0,n=0;e[0].replace(/%[a-zA-Z%]/g,r=>{r!=="%%"&&(t++,r==="%c"&&(n=t))}),e.splice(n,0,o)}F.log=console.debug||console.log||(()=>{});function wt(e){try{e?F.storage.setItem("debug",e):F.storage.removeItem("debug")}catch{}}function xt(){let e;try{e=F.storage.getItem("debug")}catch{}return!e&&typeof process<"u"&&"env"in process&&(e=process.env.DEBUG),e}function yt(){try{return localStorage}catch{}}J.exports=ie()(F);var{formatters:bt}=J.exports;bt.j=function(e){try{return JSON.stringify(e)}catch(o){return"[UnexpectedJSONParseError]: "+o.message}}});var Pe=T((uo,Ae)=>{"use strict";Ae.exports=(e,o=process.argv)=>{let t=e.startsWith("-")?"":e.length===1?"-":"--",n=o.indexOf(t+e),r=o.indexOf("--");return n!==-1&&(r===-1||n<r)}});var Ne=T((fo,_e)=>{"use strict";var It=V("os"),ze=V("tty"),S=Pe(),{env:w}=process,O;S("no-color")||S("no-colors")||S("color=false")||S("color=never")?O=0:(S("color")||S("colors")||S("color=true")||S("color=always"))&&(O=1);"FORCE_COLOR"in w&&(w.FORCE_COLOR==="true"?O=1:w.FORCE_COLOR==="false"?O=0:O=w.FORCE_COLOR.length===0?1:Math.min(parseInt(w.FORCE_COLOR,10),3));function ce(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function ae(e,o){if(O===0)return 0;if(S("color=16m")||S("color=full")||S("color=truecolor"))return 3;if(S("color=256"))return 2;if(e&&!o&&O===void 0)return 0;let t=O||0;if(w.TERM==="dumb")return t;if(process.platform==="win32"){let n=It.release().split(".");return Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in w)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(n=>n in w)||w.CI_NAME==="codeship"?1:t;if("TEAMCITY_VERSION"in w)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(w.TEAMCITY_VERSION)?1:0;if(w.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in w){let n=parseInt((w.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(w.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(w.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(w.TERM)||"COLORTERM"in w?1:t}function vt(e){let o=ae(e,e&&e.isTTY);return ce(o)}_e.exports={supportsColor:vt,stdout:ce(ae(!0,ze.isatty(1))),stderr:ce(ae(!0,ze.isatty(2)))}});var Ue=T((x,Y)=>{"use strict";var Ft=V("tty"),Z=V("util");x.init=Lt;x.log=kt;x.formatArgs=Ot;x.save=Et;x.load=Tt;x.useColors=St;x.destroy=Z.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");x.colors=[6,2,3,4,5,1];try{let e=Ne();e&&(e.stderr||e).level>=2&&(x.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}x.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,o)=>{let t=o.substring(6).toLowerCase().replace(/_([a-z])/g,(r,s)=>s.toUpperCase()),n=process.env[o];return/^(yes|on|true|enabled)$/i.test(n)?n=!0:/^(no|off|false|disabled)$/i.test(n)?n=!1:n==="null"?n=null:n=Number(n),e[t]=n,e},{});function St(){return"colors"in x.inspectOpts?!!x.inspectOpts.colors:Ft.isatty(process.stderr.fd)}function Ot(e){let{namespace:o,useColors:t}=this;if(t){let n=this.color,r="\x1B[3"+(n<8?n:"8;5;"+n),s=` ${r};1m${o} \x1B[0m`;e[0]=s+e[0].split(`
2
2
  `).join(`
3
- `+i),e.push(r+"m+"+Q.exports.humanize(this.diff)+"\x1B[0m")}else e[0]=Lt()+o+" "+e[0]}function Lt(){return x.inspectOpts.hideDate?"":new Date().toISOString()+" "}function $t(...e){return process.stderr.write(X.formatWithOptions(x.inspectOpts,...e)+`
4
- `)}function Rt(e){e?process.env.DEBUG=e:delete process.env.DEBUG}function At(){return process.env.DEBUG}function _t(e){e.inspectOpts={};let o=Object.keys(x.inspectOpts);for(let t=0;t<o.length;t++)e.inspectOpts[o[t]]=x.inspectOpts[o[t]]}Q.exports=ae()(x);var{formatters:De}=Q.exports;De.o=function(e){return this.inspectOpts.colors=this.useColors,X.inspect(e,this.inspectOpts).split(`
5
- `).map(o=>o.trim()).join(" ")};De.O=function(e){return this.inspectOpts.colors=this.useColors,X.inspect(e,this.inspectOpts)}});var M=z((ho,fe)=>{"use strict";typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?fe.exports=_e():fe.exports=Me()});async function pe(e,o,t,n){let r;Pt(`${o}:${t}`);try{if(typeof e=="function")r=await e(t);else{let i=e[t];r=typeof i=="function"?await i():i}}catch(i){console.warn(`Failed to load custom icon "${t}" in "${o}":`,i);return}if(r){let i=r.indexOf("<svg");i>0&&(r=r.slice(i));let{transform:c}=n?.customizations??{};return r=typeof c=="function"?await c(r,o,t):r,r.startsWith("<svg")?await K(n?.customizations?.trimCustomSvg===!0?ke(r):r,o,t,n,void 0):(console.warn(`Custom icon "${t}" in "${o}" is not a valid SVG`),r)}}var Ue,Pt,Ge=I(()=>{"use strict";Ue=j(M(),1);ce();Le();Pt=(0,Ue.default)("@iconify-loader:custom")});async function ee(e,o,t,n){let r,{customize:i}=n?.customizations??{};for(let c of t)if(r=ve(e,c),r){Nt(`${o}:${c}`);let u={...B};typeof i=="function"&&(r=Object.assign({},r),u=i(u,r,`${o}:${c}`)??u);let{attributes:{width:d,height:g,...s},body:f}=Ee(r,u),p=n?.scale;return await K(`<svg >${f}</svg>`,o,c,n,()=>({...s}),m=>{let w=(a,l)=>{let y=m[a],b;if(!D(y)){if(y)return;typeof p=="number"?p&&(b=k(l??"1em",p)):b=l}b?m[a]=b:delete m[a]};w("width",d),w("height",g)})}}var Ve,Nt,me=I(()=>{"use strict";ne();Se();W();ce();Ve=j(M(),1);oe();Nt=(0,Ve.default)("@iconify-loader:icon")});var Eo,U,de=I(()=>{"use strict";Ge();me();Eo=j(M(),1),U=async(e,o,t)=>{let n=t?.customCollections?.[e];if(n)if(typeof n=="function"){let r;try{r=await n(o)}catch(i){console.warn(`Failed to load custom icon "${o}" in "${e}":`,i);return}if(r){if(typeof r=="string")return await pe(()=>r,e,o,t);if("icons"in r){let i=[o,o.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),o.replace(/([a-z])(\d+)/g,"$1-$2")];return await ee(r,e,i,t)}}}else return await pe(n,e,o,t)}});function je(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function ie(e){let o=e.startsWith("<svg>")?e.replace("<svg>","<svg >"):e;return!o.includes(" xmlns:xlink=")&&o.includes(" xlink:")&&(o=o.replace("<svg ",'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ')),o.includes(" xmlns=")||(o=o.replace("<svg ",'<svg xmlns="http://www.w3.org/2000/svg" ')),je(o)}de();var ko=j(M(),1);var qe=new Set;function Be(e){qe.has(e)||(console.warn("[unocss]",e),qe.add(e))}de();me();var ge=["academicons","akar-icons","ant-design","arcticons","aws","basil","bi","bitcoin-icons","bpmn","brandico","bubbles","bx","bxl","bxs","bytesize","carbon","catppuccin","cbi","charm","ci","cib","cif","cil","circle-flags","circum","clarity","codex","codicon","covid","cryptocurrency-color","cryptocurrency","cuida","dashicons","devicon-line","devicon-original","devicon-plain","devicon","duo-icons","ei","el","emblemicons","emojione-monotone","emojione-v1","emojione","entypo-social","entypo","eos-icons","ep","et","eva","f7","fa-brands","fa-regular","fa-solid","fa","fa6-brands","fa6-regular","fa6-solid","fad","famicons","fe","feather","file-icons","flag","flagpack","flat-color-icons","flat-ui","flowbite","fluent-color","fluent-emoji-flat","fluent-emoji-high-contrast","fluent-emoji","fluent-mdl2","fluent","fontelico","fontisto","formkit","foundation","fxemoji","gala","game-icons","garden","geo","gg","gis","gravity-ui","gridicons","grommet-icons","guidance","healthicons","heroicons-outline","heroicons-solid","heroicons","hugeicons","humbleicons","ic","icomoon-free","icon-park-outline","icon-park-solid","icon-park-twotone","icon-park","iconamoon","iconoir","icons8","il","ion","iwwa","ix","jam","la","lets-icons","line-md","lineicons","logos","ls","lsicon","lucide-lab","lucide","mage","majesticons","maki","map","marketeq","material-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","pixelarticons","prime","proicons","ps","qlementine-icons","quill","radix-icons","raphael","ri","rivet-icons","si-glyph","si","simple-icons","simple-line-icons","skill-icons","solar","stash","streamline-emojis","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"];var Dt=3;function Ke(e){return(o={})=>{let{scale:t=1,mode:n="auto",prefix:r="i-",warn:i=!1,iconifyCollectionsNames:c,collections:u,extraProperties:d={},customizations:g={},autoInstall:s=!1,collectionsNodeResolvePath:f,layer:p="icons",unit:m,processor:w}=o,a=Mt(),l={addXmlNs:!0,scale:t,customCollections:u,autoInstall:s,cwd:f,warn:void 0,customizations:{...g,additionalProps:{...d},trimCustomSvg:!0,async iconCustomizer(b,F,h){await g.iconCustomizer?.(b,F,h),m&&(h.width||(h.width=`${t}${m}`),h.height||(h.height=`${t}${m}`))}}},y;return{name:"@unocss/preset-icons",enforce:"pre",options:o,layers:{icons:-30},api:{encodeSvgForCss:ie,parseIconWithLoader:We},rules:[[/^([\w:-]+)(?:\?(mask|bg|auto))?$/,async b=>{let[F,h,P=n]=b;y=y||await e(o);let O={},T=await We(h,y,{...l,usedProps:O},c);if(!T){i&&!a.isESLint&&Be(`failed to load icon "${F}"`);return}let E,G=`url("data:image/svg+xml;utf8,${ie(T.svg)}")`;return P==="auto"&&(P=T.svg.includes("currentColor")?"mask":"bg"),P==="mask"?E={"--un-icon":G,"-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",...O}:E={background:`${G} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...O},w?.(E,{...T,icon:T.name,mode:P}),E},{layer:p,prefix:r}]]}}}function Ye(e,o){let t=new Map;function n(r){if(ge.includes(r))return t.has(r)||t.set(r,e(`${o}@iconify-json/${r}/icons.json`)),t.get(r)}return async(r,i,c)=>{let u=await U(r,i,c);if(u)return u;let d=await n(r);if(d){let g=[i,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),i.replace(/([a-z])(\d+)/g,"$1-$2")];u=await ee(d,r,g,c)}return u}}function Mt(){let e=typeof process<"u"&&process.stdout&&!process.versions.deno,o=e&&!!process.env.VSCODE_CWD,t=e&&!!process.env.ESLINT;return{isNode:e,isVSCode:o,isESLint:t}}async function We(e,o,t={},n=[]){let r="",i="",c,u=new Set([...ge,...n,...Object.keys(t.customCollections||{})]);if(e.includes(":")){if([r,i]=e.split(":"),!u.has(r))return;c=await o(r,i,t)}else{let d=e.split(/-/g);for(let g=Dt;g>=1&&(r=d.slice(0,g).join("-"),!(!!u.has(r)&&(i=d.slice(g).join("-"),c=await o(r,i,t),c)));g--);}if(c)return{collection:r,name:i,svg:c}}window.__unocss_runtime=window.__unocss_runtime??{};window.__unocss_runtime.presets=Object.assign(window.__unocss_runtime?.presets??{},(()=>{let e=Ke(async o=>{let t=o?.customFetch??(r=>fetch(r).then(i=>i.json())),n=o?.cdn;return n?Ye(t,n):U});return{presetIcons:o=>e(o)}})());})();
3
+ `+s),e.push(r+"m+"+Y.exports.humanize(this.diff)+"\x1B[0m")}else e[0]=jt()+o+" "+e[0]}function jt(){return x.inspectOpts.hideDate?"":new Date().toISOString()+" "}function kt(...e){return process.stderr.write(Z.formatWithOptions(x.inspectOpts,...e)+`
4
+ `)}function Et(e){e?process.env.DEBUG=e:delete process.env.DEBUG}function Tt(){return process.env.DEBUG}function Lt(e){e.inspectOpts={};let o=Object.keys(x.inspectOpts);for(let t=0;t<o.length;t++)e.inspectOpts[o[t]]=x.inspectOpts[o[t]]}Y.exports=ie()(x);var{formatters:De}=Y.exports;De.o=function(e){return this.inspectOpts.colors=this.useColors,Z.inspect(e,this.inspectOpts).split(`
5
+ `).map(o=>o.trim()).join(" ")};De.O=function(e){return this.inspectOpts.colors=this.useColors,Z.inspect(e,this.inspectOpts)}});var D=T((po,le)=>{"use strict";typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?le.exports=Re():le.exports=Ue()});async function ue(e,o,t,n){let r;$t(`${o}:${t}`);try{if(typeof e=="function")r=await e(t);else{let s=e[t];r=typeof s=="function"?await s():s}}catch(s){console.warn(`Failed to load custom icon "${t}" in "${o}":`,s);return}if(r){let s=r.indexOf("<svg");s>0&&(r=r.slice(s));let{transform:c}=n?.customizations??{};return r=typeof c=="function"?await c(r,o,t):r,r.startsWith("<svg")?await K(n?.customizations?.trimCustomSvg===!0?ke(r):r,o,t,n,void 0):(console.warn(`Custom icon "${t}" in "${o}" is not a valid SVG`),r)}}var Me,$t,Ve=v(()=>{"use strict";Me=G(D(),1);se();Ee();$t=(0,Me.default)("@iconify-loader:custom")});async function X(e,o,t,n){let r,{customize:s}=n?.customizations??{};for(let c of t)if(r=Ie(e,c),r){Rt(`${o}:${c}`);let u={...B};typeof s=="function"&&(r=Object.assign({},r),u=s(u,r,`${o}:${c}`)??u);let{attributes:{width:d,height:g,...i},body:f}=Oe(r,u),p=n?.scale;return await K(`<svg >${f}</svg>`,o,c,n,()=>({...i}),m=>{let C=(a,l)=>{let y=m[a],b;if(!N(y)){if(y)return;typeof p=="number"?p&&(b=L(l??"1em",p)):b=l}b?m[a]=b:delete m[a]};C("width",d),C("height",g)})}}var Ge,Rt,fe=v(()=>{"use strict";oe();ve();W();se();Ge=G(D(),1);ee();Rt=(0,Ge.default)("@iconify-loader:icon")});var So,U,pe=v(()=>{"use strict";Ve();fe();So=G(D(),1),U=async(e,o,t)=>{let n=t?.customCollections?.[e];if(n)if(typeof n=="function"){let r;try{r=await n(o)}catch(s){console.warn(`Failed to load custom icon "${o}" in "${e}":`,s);return}if(r){if(typeof r=="string")return await ue(()=>r,e,o,t);if("icons"in r){let s=[o,o.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),o.replace(/([a-z])(\d+)/g,"$1-$2")];return await X(r,e,s,t)}}}else return await ue(n,e,o,t)}});function je(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function re(e){let o=e.startsWith("<svg>")?e.replace("<svg>","<svg >"):e;return!o.includes(" xmlns:xlink=")&&o.includes(" xlink:")&&(o=o.replace("<svg ",'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ')),o.includes(" xmlns=")||(o=o.replace("<svg ",'<svg xmlns="http://www.w3.org/2000/svg" ')),je(o)}pe();var jo=G(D(),1);var qe=new Set;function Be(e){qe.has(e)||(console.warn("[unocss]",e),qe.add(e))}pe();fe();var me=["academicons","akar-icons","ant-design","arcticons","aws","basil","bi","bitcoin-icons","bpmn","brandico","bubbles","bx","bxl","bxs","bytesize","carbon","catppuccin","cbi","charm","ci","cib","cif","cil","circle-flags","circum","clarity","codex","codicon","covid","cryptocurrency-color","cryptocurrency","cuida","dashicons","devicon-line","devicon-original","devicon-plain","devicon","duo-icons","ei","el","emblemicons","emojione-monotone","emojione-v1","emojione","entypo-social","entypo","eos-icons","ep","et","eva","f7","fa-brands","fa-regular","fa-solid","fa","fa6-brands","fa6-regular","fa6-solid","fad","famicons","fe","feather","file-icons","flag","flagpack","flat-color-icons","flat-ui","flowbite","fluent-color","fluent-emoji-flat","fluent-emoji-high-contrast","fluent-emoji","fluent-mdl2","fluent","fontelico","fontisto","formkit","foundation","fxemoji","gala","game-icons","garden","geo","gg","gis","gravity-ui","gridicons","grommet-icons","guidance","healthicons","heroicons-outline","heroicons-solid","heroicons","hugeicons","humbleicons","ic","icomoon-free","icon-park-outline","icon-park-solid","icon-park-twotone","icon-park","iconamoon","iconoir","icons8","il","ion","iwwa","ix","jam","la","lets-icons","line-md","lineicons","logos","ls","lsicon","lucide-lab","lucide","mage","majesticons","maki","map","marketeq","material-icon-theme","material-symbols-light","material-symbols","mdi-light","mdi","medical-icon","memory","meteocons","meteor-icons","mi","mingcute","mono-icons","mynaui","nimbus","nonicons","noto-v1","noto","nrk","octicon","oi","ooui","openmoji","oui","pajamas","pepicons-pencil","pepicons-pop","pepicons-print","pepicons","ph","pixel","pixelarticons","prime","proicons","ps","qlementine-icons","quill","radix-icons","raphael","ri","rivet-icons","si-glyph","si","simple-icons","simple-line-icons","skill-icons","solar","stash","streamline-emojis","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"];var At=3;function Ke(e){return(o={})=>{let{scale:t=1,mode:n="auto",prefix:r="i-",warn:s=!1,iconifyCollectionsNames:c,collections:u,extraProperties:d={},customizations:g={},autoInstall:i=!1,collectionsNodeResolvePath:f,layer:p="icons",unit:m,processor:C}=o,a=Pt(),l={addXmlNs:!0,scale:t,customCollections:u,autoInstall:i,cwd:f,warn:void 0,customizations:{...g,additionalProps:{...d},trimCustomSvg:!0,async iconCustomizer(b,I,h){await g.iconCustomizer?.(b,I,h),m&&(h.width||(h.width=`${t}${m}`),h.height||(h.height=`${t}${m}`))}}},y;return{name:"@unocss/preset-icons",enforce:"pre",options:o,layers:{icons:-30},api:{encodeSvgForCss:re,parseIconWithLoader:We},rules:[[/^([\w:-]+)(?:\?(mask|bg|auto))?$/,async b=>{let[I,h,_=n]=b;y=y||await e(o);let j={},k=await We(h,y,{...l,usedProps:j},c);if(!k){s&&!a.isESLint&&Be(`failed to load icon "${I}"`);return}let E,M=`url("data:image/svg+xml;utf8,${re(k.svg)}")`;return _==="auto"&&(_=k.svg.includes("currentColor")?"mask":"bg"),_==="mask"?E={"--un-icon":M,"-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",...j}:E={background:`${M} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...j},C?.(E,{...k,icon:k.name,mode:_}),E},{layer:p,prefix:r}]]}}}function He(e,o,t=new Map){function n(r){if(me.includes(r))return t.has(r)||t.set(r,e(`${o}@iconify-json/${r}/icons.json`)),t.get(r)}return async(r,s,c)=>{let u=await U(r,s,c);if(u)return u;let d=await n(r);if(d){let g=[s,s.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),s.replace(/([a-z])(\d+)/g,"$1-$2")];u=await X(d,r,g,c)}return u}}function Pt(){let e=typeof process<"u"&&process.stdout&&!process.versions.deno,o=e&&!!process.env.VSCODE_CWD,t=e&&!!process.env.ESLINT;return{isNode:e,isVSCode:o,isESLint:t}}async function We(e,o,t={},n=[]){let r="",s="",c,u=new Set([...me,...n,...Object.keys(t.customCollections||{})]);if(e.includes(":")){if([r,s]=e.split(":"),!u.has(r))return;c=await o(r,s,t)}else{let d=e.split(/-/g);for(let g=At;g>=1&&(r=d.slice(0,g).join("-"),!(!!u.has(r)&&(s=d.slice(g).join("-"),c=await o(r,s,t),c)));g--);}if(c)return{collection:r,name:s,svg:c}}window.__unocss_runtime=window.__unocss_runtime??{};window.__unocss_runtime.presets=Object.assign(window.__unocss_runtime?.presets??{},(()=>{let e=Ke(async o=>{let t=o?.customFetch??(r=>fetch(r).then(s=>s.json())),n=o?.cdn;return n?He(t,n):U});return{presetIcons:o=>e(o)}})());})();
@@ -1,4 +1,4 @@
1
- "use strict";(()=>{var co=Object.defineProperty;var uo=(e,t)=>{for(var r in t)co(e,r,{get:t[r],enumerable:!0})};var Ce=/[\\:]?[\s'"`;{}]+/g;function k(e=[]){return Array.isArray(e)?e:[e]}function nt(e){return typeof e=="string"}function V(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function _(e){let t=e.length,r=-1,n,o="",i=e.charCodeAt(0);for(;++r<t;){if(n=e.charCodeAt(r),n===0){o+="\uFFFD";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}var po=/[\w\u00A0-\uFFFF%-?]/;function ot(e=""){return po.test(e)}function ho(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 it(e){return e==null?"":ho(e).map(([t,r])=>r!=null&&typeof r!="function"?`${t}:${r};`:void 0).filter(Boolean).join("")}function mo(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 st(e,t,r,n){for(let o of Array.from(e.matchAll(r)))if(o!=null){let i=o[0],s=`${n}${mo(i)}`;t.set(s,i),e=e.replace(i,s)}return e}function at(e,t){for(let[r,n]of t.entries())e=e.replaceAll(r,n);return e}var go=/\/\/#\s*sourceMappingURL=.*\n?/g;function lt(e){return e.includes("sourceMappingURL=")?e.replace(go,""):e}var bo=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,xo=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,yo=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function wo(e){let t=[];for(let o of e.matchAll(xo))o.index!==0&&!/^[\s'"`]/.test(e[o.index-1]??"")||t.push(o[0]);for(let o of e.matchAll(bo))t.push(o[0]);let r=new Map,n="@unocss-skip-arbitrary-brackets";return e=st(e,r,/-\[(?!&.+?;)[^\]]*\]/g,n),e&&e.split(Ce).forEach(o=>{o.includes(n)&&(o=at(o,r)),ot(o)&&!yo.test(o)&&t.push(o)}),t}function ct(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:e}){return wo(lt(e))}}}function ut(e){if(e.preflight)return[{layer:"preflights",getCSS({theme:t,generator:r}){if(t.preflightBase){let n=Object.entries(t.preflightBase);if(e.preflight==="on-demand"){let o=new Set(Array.from(r.activatedRules).map(i=>i[2]?.custom?.preflightKeys).filter(Boolean).flat());n=n.filter(([i])=>o.has(i))}if(n.length>0){let o=it(n);return e.variablePrefix!=="un-"&&(o=o.replace(/--un-/g,`--${e.variablePrefix}`)),k(t.preflightRoot??["*,::before,::after","::backdrop"]).map(s=>`${s}{${o}}`).join("")}}}}]}function N(e,t,r){if(e==="")return;let n=e.length,o=0,i=!1,s=0;for(let l=0;l<n;l++)switch(e[l]){case t:i||(i=!0,s=l),o++;break;case r:if(--o,o<0)return;if(o===0)return[e.slice(s,l+1),e.slice(l+1),e.slice(0,s)];break}}function B(e,t,r,n){if(e===""||(nt(n)&&(n=[n]),n.length===0))return;let o=e.length,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(let l of n){let c=l.length;if(c&&l===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 U(e,t,r){r=r??10;let n=[],o=0;for(;e!=="";){if(++o>r)return;let i=B(e,"(",")",t);if(!i)return;let[s,l]=i;n.push(s),e=l}if(n.length>0)return n}var Re=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],ft=["%alpha","<alpha-value>"],$o=new RegExp(ft.map(e=>V(e)).join("|"));function P(e=""){let t=So(e);if(t==null||t===!1)return;let{type:r,components:n,alpha:o}=t,i=r.toLowerCase();if(n.length!==0&&!(Re.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 Y(e){let t=e.alpha??1;return typeof t=="string"&&ft.includes(t)?1:t}function $(e,t){if(typeof e=="string")return e.replace($o,`${t??1}`);let{components:r}=e,{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}`,Re.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function So(e){if(!e)return;let t=vo(e);if(t!=null||(t=ko(e),t!=null)||(t=Co(e),t!=null)||(t=Eo(e),t!=null)||(t=To(e),t!=null))return t}function vo(e){let[,t]=e.match(/^#([\da-f]+)$/i)||[];if(t)switch(t.length){case 3:case 4:let r=Array.from(t,o=>Number.parseInt(o,16)).map(o=>o<<4|o);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:let n=Number.parseInt(t,16);return{type:"rgb",components:t.length===6?[n>>16&255,n>>8&255,n&255]:[n>>24&255,n>>16&255,n>>8&255],alpha:t.length===6?void 0:Math.round((n&255)/255*100)/100}}}function ko(e){let t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}function Co(e){let t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;let[,r,n]=t,o=U(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}}var Ro=new RegExp(`^(${Re.join("|")})\\((.+)\\)$`,"i");function Eo(e){let t=e.match(Ro);if(!t)return;let[,r,n]=t,o=pt(`${r} ${n}`);if(o){let{alpha:i,components:[s,...l]}=o;return{type:s,components:l,alpha:i}}}function To(e){let t=e.match(/^color\((.+)\)$/);if(!t)return;let r=pt(t[1]);if(r){let{alpha:n,components:[o,...i]}=r;return{type:o,components:i,alpha:n}}}function pt(e){let t=U(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("/"))){let i=t.splice(r-2);t.push(i.join(" ")),--r}let n=U(t[r-1],"/",2);if(!n)return;if(n.length===1||n[n.length-1]==="")return{components:t};let o=n.pop();return t[r-1]=n.join("/"),{components:t,alpha:o}}function ht(e){let t=function(n){let o=this.__options?.sequence||[];this.__options.sequence=[];for(let i of o){let 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(let n of Object.keys(e))Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get(){return r(this,n)}});return t}var dt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bt=new Uint8Array(64),jo=new Uint8Array(128);for(let e=0;e<dt.length;e++){let t=dt.charCodeAt(e);bt[e]=t,jo[t]=e}function X(e,t,r){let n=t-r;n=n<0?-n<<1|1:n<<1;do{let o=n&31;n>>>=5,n>0&&(o|=32),e.write(bt[o])}while(n>0);return t}var mt=1024*16,gt=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(e){return Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}}:{decode(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t}},Ee=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(mt)}write(t){let{buffer:r}=this;r[this.pos++]=t,this.pos===mt&&(this.out+=gt.decode(r),this.pos=0)}flush(){let{buffer:t,out:r,pos:n}=this;return n>0?r+gt.decode(t.subarray(0,n)):r}};function xt(e){let t=new Ee,r=0,n=0,o=0,i=0;for(let s=0;s<e.length;s++){let l=e[s];if(s>0&&t.write(59),l.length===0)continue;let c=0;for(let u=0;u<l.length;u++){let f=l[u];u>0&&t.write(44),c=X(t,f[0],c),f.length!==1&&(r=X(t,f[1],r),n=X(t,f[2],n),o=X(t,f[3],o),f.length!==4&&(i=X(t,f[4],i)))}}return t.flush()}var le=class e{constructor(t){this.bits=t instanceof e?t.bits.slice():[]}add(t){this.bits[t>>5]|=1<<(t&31)}has(t){return!!(this.bits[t>>5]&1<<(t&31))}},ce=class e{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(){let t=new e(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){let r=t-this.start,n=this.original.slice(0,r),o=this.original.slice(r);this.original=n;let i=new e(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;let 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;let r=this.content.replace(t,"");if(r.length){if(r!==this.content){let 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 zo(){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.")}}var Oo=zo(),Te=class{constructor(t){this.version=3,this.file=t.file,this.sources=t.sources,this.sourcesContent=t.sourcesContent,this.names=t.names,this.mappings=xt(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,"+Oo(this.toString())}};function Ao(e){let t=e.split(`
1
+ "use strict";(()=>{var co=Object.defineProperty;var uo=(e,t)=>{for(var r in t)co(e,r,{get:t[r],enumerable:!0})};var Ce=/[\\:]?[\s'"`;{}]+/g;function k(e=[]){return Array.isArray(e)?e:[e]}function nt(e){return typeof e=="string"}function V(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function _(e){let t=e.length,r=-1,n,o="",i=e.charCodeAt(0);for(;++r<t;){if(n=e.charCodeAt(r),n===0){o+="\uFFFD";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}var po=/[\w\u00A0-\uFFFF%-?]/;function ot(e=""){return po.test(e)}function ho(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 it(e){return e==null?"":ho(e).map(([t,r])=>r!=null&&typeof r!="function"?`${t}:${r};`:void 0).filter(Boolean).join("")}function mo(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 st(e,t,r,n){for(let o of Array.from(e.matchAll(r)))if(o!=null){let i=o[0],s=`${n}${mo(i)}`;t.set(s,i),e=e.replace(i,s)}return e}function at(e,t){for(let[r,n]of t.entries())e=e.replaceAll(r,n);return e}var go=/\/\/#\s*sourceMappingURL=.*\n?/g;function lt(e){return e.includes("sourceMappingURL=")?e.replace(go,""):e}var bo=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,xo=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,yo=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function wo(e){let t=[];for(let o of e.matchAll(xo))o.index!==0&&!/^[\s'"`]/.test(e[o.index-1]??"")||t.push(o[0]);for(let o of e.matchAll(bo))t.push(o[0]);let r=new Map,n="@unocss-skip-arbitrary-brackets";return e=st(e,r,/-\[(?!&.+?;)[^\]]*\]/g,n),e&&e.split(Ce).forEach(o=>{o.includes(n)&&(o=at(o,r)),ot(o)&&!yo.test(o)&&t.push(o)}),t}function ct(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:e}){return wo(lt(e))}}}function ut(e){if(e.preflight)return[{layer:"preflights",getCSS({theme:t,generator:r}){if(t.preflightBase){let n=Object.entries(t.preflightBase);if(e.preflight==="on-demand"){let o=new Set(Array.from(r.activatedRules).map(i=>i[2]?.custom?.preflightKeys).filter(Boolean).flat());n=n.filter(([i])=>o.has(i))}if(n.length>0){let o=it(n);return e.variablePrefix!=="un-"&&(o=o.replace(/--un-/g,`--${e.variablePrefix}`)),k(t.preflightRoot??["*,::before,::after","::backdrop"]).map(s=>`${s}{${o}}`).join("")}}}}]}function N(e,t,r){if(e==="")return;let n=e.length,o=0,i=!1,s=0;for(let l=0;l<n;l++)switch(e[l]){case t:i||(i=!0,s=l),o++;break;case r:if(--o,o<0)return;if(o===0)return[e.slice(s,l+1),e.slice(l+1),e.slice(0,s)];break}}function B(e,t,r,n){if(e===""||(nt(n)&&(n=[n]),n.length===0))return;let o=e.length,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(let l of n){let c=l.length;if(c&&l===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 U(e,t,r){r=r??10;let n=[],o=0;for(;e!=="";){if(++o>r)return;let i=B(e,"(",")",t);if(!i)return;let[s,l]=i;n.push(s),e=l}if(n.length>0)return n}var Re=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],ft=["%alpha","<alpha-value>"],$o=new RegExp(ft.map(e=>V(e)).join("|"),"g");function P(e=""){let t=So(e);if(t==null||t===!1)return;let{type:r,components:n,alpha:o}=t,i=r.toLowerCase();if(n.length!==0&&!(Re.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 Y(e){let t=e.alpha??1;return typeof t=="string"&&ft.includes(t)?1:t}function $(e,t){if(typeof e=="string")return e.replace($o,`${t??1}`);let{components:r}=e,{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}`,Re.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function So(e){if(!e)return;let t=vo(e);if(t!=null||(t=ko(e),t!=null)||(t=Co(e),t!=null)||(t=Eo(e),t!=null)||(t=To(e),t!=null))return t}function vo(e){let[,t]=e.match(/^#([\da-f]+)$/i)||[];if(t)switch(t.length){case 3:case 4:let r=Array.from(t,o=>Number.parseInt(o,16)).map(o=>o<<4|o);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:let n=Number.parseInt(t,16);return{type:"rgb",components:t.length===6?[n>>16&255,n>>8&255,n&255]:[n>>24&255,n>>16&255,n>>8&255],alpha:t.length===6?void 0:Math.round((n&255)/255*100)/100}}}function ko(e){let t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}function Co(e){let t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;let[,r,n]=t,o=U(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}}var Ro=new RegExp(`^(${Re.join("|")})\\((.+)\\)$`,"i");function Eo(e){let t=e.match(Ro);if(!t)return;let[,r,n]=t,o=pt(`${r} ${n}`);if(o){let{alpha:i,components:[s,...l]}=o;return{type:s,components:l,alpha:i}}}function To(e){let t=e.match(/^color\((.+)\)$/);if(!t)return;let r=pt(t[1]);if(r){let{alpha:n,components:[o,...i]}=r;return{type:o,components:i,alpha:n}}}function pt(e){let t=U(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("/"))){let i=t.splice(r-2);t.push(i.join(" ")),--r}let n=U(t[r-1],"/",2);if(!n)return;if(n.length===1||n[n.length-1]==="")return{components:t};let o=n.pop();return t[r-1]=n.join("/"),{components:t,alpha:o}}function ht(e){let t=function(n){let o=this.__options?.sequence||[];this.__options.sequence=[];for(let i of o){let 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(let n of Object.keys(e))Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get(){return r(this,n)}});return t}var dt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bt=new Uint8Array(64),jo=new Uint8Array(128);for(let e=0;e<dt.length;e++){let t=dt.charCodeAt(e);bt[e]=t,jo[t]=e}function X(e,t,r){let n=t-r;n=n<0?-n<<1|1:n<<1;do{let o=n&31;n>>>=5,n>0&&(o|=32),e.write(bt[o])}while(n>0);return t}var mt=1024*16,gt=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(e){return Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}}:{decode(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t}},Ee=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(mt)}write(t){let{buffer:r}=this;r[this.pos++]=t,this.pos===mt&&(this.out+=gt.decode(r),this.pos=0)}flush(){let{buffer:t,out:r,pos:n}=this;return n>0?r+gt.decode(t.subarray(0,n)):r}};function xt(e){let t=new Ee,r=0,n=0,o=0,i=0;for(let s=0;s<e.length;s++){let l=e[s];if(s>0&&t.write(59),l.length===0)continue;let c=0;for(let u=0;u<l.length;u++){let f=l[u];u>0&&t.write(44),c=X(t,f[0],c),f.length!==1&&(r=X(t,f[1],r),n=X(t,f[2],n),o=X(t,f[3],o),f.length!==4&&(i=X(t,f[4],i)))}}return t.flush()}var le=class e{constructor(t){this.bits=t instanceof e?t.bits.slice():[]}add(t){this.bits[t>>5]|=1<<(t&31)}has(t){return!!(this.bits[t>>5]&1<<(t&31))}},ce=class e{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(){let t=new e(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){let r=t-this.start,n=this.original.slice(0,r),o=this.original.slice(r);this.original=n;let i=new e(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;let 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;let r=this.content.replace(t,"");if(r.length){if(r!==this.content){let 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 zo(){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.")}}var Oo=zo(),Te=class{constructor(t){this.version=3,this.file=t.file,this.sources=t.sources,this.sourcesContent=t.sourcesContent,this.names=t.names,this.mappings=xt(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,"+Oo(this.toString())}};function Ao(e){let t=e.split(`
2
2
  `),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" ";let o=n.reduce((i,s)=>{let l=/^ +/.exec(s)[0].length;return Math.min(l,i)},1/0);return new Array(o+1).join(" ")}function Vo(e,t){let 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("/")}var Po=Object.prototype.toString;function Lo(e){return Po.call(e)==="[object Object]"}function yt(e){let t=e.split(`
3
3
  `),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;){let u=i+s>>1;o<r[u]?s=u:i=u+1}let l=i-1,c=o-r[l];return{line:l,column:c}}}var Fo=/\w/,je=class{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){let i=r.length-1,s=r.indexOf(`
4
4
  `,0),l=-1;for(;s>=0&&i>s;){let u=[this.generatedCodeColumn,t,n.line,n.column];o>=0&&u.push(o),this.rawSegments.push(u),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,l=s,s=r.indexOf(`
@@ -1 +1 @@
1
- "use strict";(()=>{function T(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function A(e){let o=e.length,n=-1,t,r="",l=e.charCodeAt(0);for(;++n<o;){if(t=e.charCodeAt(n),t===0){r+="\uFFFD";continue}if(t===37){r+="\\%";continue}if(t===44){r+="\\,";continue}if(t>=1&&t<=31||t===127||n===0&&t>=48&&t<=57||n===1&&t>=48&&t<=57&&l===45){r+=`\\${t.toString(16)} `;continue}if(n===0&&o===1&&t===45){r+=`\\${e.charAt(n)}`;continue}if(t>=128||t===45||t===95||t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122){r+=e.charAt(n);continue}r+=`\\${e.charAt(n)}`}return r}var g=A;function y(e){return e&&typeof e=="object"&&!Array.isArray(e)}function S(e,o,n=!1){let t=e,r=o;if(Array.isArray(r))return n&&Array.isArray(r)?[...t,...r]:[...r];let l={...t};return y(t)&&y(r)&&Object.keys(r).forEach(s=>{y(t[s])&&y(r[s])||Array.isArray(t[s])&&Array.isArray(r[s])?l[s]=S(t[s],r[s],n):Object.assign(l,{[s]:r[s]})}),l}var R=/^\[(.+?)(~?=)"(.*)"\]$/;function v(e){return R.test(e)?e.replace(R,(o,n,t,r)=>`[${g(n)}${t}"${g(r)}"]`):`.${g(e)}`}var P=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],C=["%alpha","<alpha-value>"],te=new RegExp(C.map(e=>T(e)).join("|"));var ne=new RegExp(`^(${P.join("|")})\\((.+)\\)$`,"i");function b(e){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":e.fontFamily?.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"}}}var M=[["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 x(e){for(let[o,...n]of M)if(o===e)return n.length>0?n:[o]}function E(e){let o="",{escapedSelector:n,selectorName:t,preflights:r,compatibility:l,important:s}=e,a=l?.noColonNot||l?.noColonWhere;for(let p in r){let u=r[p],f=`:not(:where(.not-${t},.not-${t} *))`,h=p.split(",").map(i=>{let c=i.match(/:[():\-\w]+$/g);if(c){let m=c[0];return i=i.replace(m,""),n.map(d=>a?`${d} ${i}${m}`:`${d} :where(${i})${f}${m}`).join(",")}return null}).filter(i=>i);h.length?o+=h.join(","):o+=n.map(i=>a?p.split(",").map(c=>`${i} ${c}`).join(","):`${i} :where(${p})${f}`).join(","),o+="{";for(let i in u){let c=u[i];o+=`${i}:${c}${s?" !important":""};`}o+="}"}return o}function V(e,o){let{compatibility:n,selectorName:t,important:r=!1}=o,l=typeof o?.cssExtend=="function"?o.cssExtend(e.theme):o?.cssExtend,s=Array.from(o.escapedSelectors);return!s[s.length-1].startsWith(".")&&!n?.noColonIs&&(s=[`:is(${s[s.length-1]},.${o.selectorName})`]),typeof r=="string"&&(s=s.map(a=>n?.noColonIs?`${r} ${a}`:`:is(${r}) ${a}`)),E(l?{escapedSelector:s,selectorName:t,preflights:S(b(e.theme),l),compatibility:n,important:r===!0}:{escapedSelector:s,selectorName:t,preflights:b(e.theme),compatibility:n,important:r===!0})}var U=e=>{e?.className&&console.warn('[unocss:preset-typography] "className" is deprecated. Please use "selectorName" instead.');let o=new Set,n=e?.selectorName||e?.className||"prose",t=new RegExp(`^${n}$`),r=new RegExp(`^${n}-([-\\w]+)$`),l=new RegExp(`^${n}-invert$`),s=e?.compatibility?.noColonNot||e?.compatibility?.noColonWhere;return{name:"@unocss/preset-typography",enforce:"post",layers:{typography:-20},rules:[[t,(a,{rawSelector:p})=>(o.add(v(p)),{color:"var(--un-prose-body)","max-width":"65ch"}),{layer:"typography"}],[r,([,a],{theme:p})=>{let u=p.colors?.[a];if(u==null)return;let f=typeof u=="object"?u:{},h={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},i={};for(let c in h){let m=h[c],d=f[m]??u,$=!1;for(let w of C)if(d.includes(w)){$=!0,i[`--un-prose-${c}-opacity`]=1,i[`--un-prose-${c}`]=d.replace(w,`var(--un-prose-${c}-opacity)`);break}$||(i[`--un-prose-${c}`]=d)}return i},{layer:"typography"}],[l,()=>({"--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(`${n}-`)){let p=new RegExp(`^${n}-(\\w+)[:-].+$`),u=a.match(p)?.[1];if(u){let f=x(u);if(f?.length)return{matcher:a.slice(n.length+u.length+2),selector:h=>{let i=`:not(:where(.not-${n},.not-${n} *))`;return s?f.map(m=>`${h} ${m}`).join(","):`${h} :is(:where(${f})${i})`}}}}}}],preflights:[{layer:"typography",getCSS:a=>{if(o.size>0)return V(a,{escapedSelectors:o,...e,selectorName:n})}}]}},k=U;window.__unocss_runtime=window.__unocss_runtime??{};window.__unocss_runtime.presets=Object.assign(window.__unocss_runtime?.presets??{},{presetTypography:e=>k(e)});})();
1
+ "use strict";(()=>{function T(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function A(e){let o=e.length,n=-1,t,r="",l=e.charCodeAt(0);for(;++n<o;){if(t=e.charCodeAt(n),t===0){r+="\uFFFD";continue}if(t===37){r+="\\%";continue}if(t===44){r+="\\,";continue}if(t>=1&&t<=31||t===127||n===0&&t>=48&&t<=57||n===1&&t>=48&&t<=57&&l===45){r+=`\\${t.toString(16)} `;continue}if(n===0&&o===1&&t===45){r+=`\\${e.charAt(n)}`;continue}if(t>=128||t===45||t===95||t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122){r+=e.charAt(n);continue}r+=`\\${e.charAt(n)}`}return r}var d=A;function y(e){return e&&typeof e=="object"&&!Array.isArray(e)}function S(e,o,n=!1){let t=e,r=o;if(Array.isArray(r))return n&&Array.isArray(r)?[...t,...r]:[...r];let l={...t};return y(t)&&y(r)&&Object.keys(r).forEach(s=>{y(t[s])&&y(r[s])||Array.isArray(t[s])&&Array.isArray(r[s])?l[s]=S(t[s],r[s],n):Object.assign(l,{[s]:r[s]})}),l}var R=/^\[(.+?)(~?=)"(.*)"\]$/;function v(e){return R.test(e)?e.replace(R,(o,n,t,r)=>`[${d(n)}${t}"${d(r)}"]`):`.${d(e)}`}var M=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],C=["%alpha","<alpha-value>"],te=new RegExp(C.map(e=>T(e)).join("|"),"g");var ne=new RegExp(`^(${M.join("|")})\\((.+)\\)$`,"i");function b(e){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":e.fontFamily?.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"}}}var P=[["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 x(e){for(let[o,...n]of P)if(o===e)return n.length>0?n:[o]}function E(e){let o="",{escapedSelector:n,selectorName:t,preflights:r,compatibility:l,important:s}=e,a=l?.noColonNot||l?.noColonWhere;for(let p in r){let u=r[p],f=`:not(:where(.not-${t},.not-${t} *))`,h=p.split(",").map(i=>{let c=i.match(/:[():\-\w]+$/g);if(c){let m=c[0];return i=i.replace(m,""),n.map(g=>a?`${g} ${i}${m}`:`${g} :where(${i})${f}${m}`).join(",")}return null}).filter(i=>i);h.length?o+=h.join(","):o+=n.map(i=>a?p.split(",").map(c=>`${i} ${c}`).join(","):`${i} :where(${p})${f}`).join(","),o+="{";for(let i in u){let c=u[i];o+=`${i}:${c}${s?" !important":""};`}o+="}"}return o}function V(e,o){let{compatibility:n,selectorName:t,important:r=!1}=o,l=typeof o?.cssExtend=="function"?o.cssExtend(e.theme):o?.cssExtend,s=Array.from(o.escapedSelectors);return!s[s.length-1].startsWith(".")&&!n?.noColonIs&&(s=[`:is(${s[s.length-1]},.${o.selectorName})`]),typeof r=="string"&&(s=s.map(a=>n?.noColonIs?`${r} ${a}`:`:is(${r}) ${a}`)),E(l?{escapedSelector:s,selectorName:t,preflights:S(b(e.theme),l),compatibility:n,important:r===!0}:{escapedSelector:s,selectorName:t,preflights:b(e.theme),compatibility:n,important:r===!0})}var U=e=>{e?.className&&console.warn('[unocss:preset-typography] "className" is deprecated. Please use "selectorName" instead.');let o=new Set,n=e?.selectorName||e?.className||"prose",t=new RegExp(`^${n}$`),r=new RegExp(`^${n}-([-\\w]+)$`),l=new RegExp(`^${n}-invert$`),s=e?.compatibility?.noColonNot||e?.compatibility?.noColonWhere;return{name:"@unocss/preset-typography",enforce:"post",layers:{typography:-20},rules:[[t,(a,{rawSelector:p})=>(o.add(v(p)),{color:"var(--un-prose-body)","max-width":"65ch"}),{layer:"typography"}],[r,([,a],{theme:p})=>{let u=p.colors?.[a];if(u==null)return;let f=typeof u=="object"?u:{},h={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},i={};for(let c in h){let m=h[c],g=f[m]??u,$=!1;for(let w of C)if(g.includes(w)){$=!0,i[`--un-prose-${c}-opacity`]=1,i[`--un-prose-${c}`]=g.replace(w,`var(--un-prose-${c}-opacity)`);break}$||(i[`--un-prose-${c}`]=g)}return i},{layer:"typography"}],[l,()=>({"--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(`${n}-`)){let p=new RegExp(`^${n}-(\\w+)[:-].+$`),u=a.match(p)?.[1];if(u){let f=x(u);if(f?.length)return{matcher:a.slice(n.length+u.length+2),selector:h=>{let i=`:not(:where(.not-${n},.not-${n} *))`;return s?f.map(m=>`${h} ${m}`).join(","):`${h} :is(:where(${f})${i})`}}}}}}],preflights:[{layer:"typography",getCSS:a=>{if(o.size>0)return V(a,{escapedSelectors:o,...e,selectorName:n})}}]}},k=U;window.__unocss_runtime=window.__unocss_runtime??{};window.__unocss_runtime.presets=Object.assign(window.__unocss_runtime?.presets??{},{presetTypography:e=>k(e)});})();
@@ -1,4 +1,4 @@
1
- "use strict";(()=>{var Tl=Object.defineProperty;var Ol=(e,t)=>{for(var r in t)Tl(e,r,{get:t[r],enumerable:!0})};var Pr=/[\\:]?[\s'"`;{}]+/g;function j(e=[]){return Array.isArray(e)?e:[e]}function be(e){return typeof e=="string"}function q(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function B(e){let t=e.length,r=-1,n,o="",i=e.charCodeAt(0);for(;++r<t;){if(n=e.charCodeAt(r),n===0){o+="\uFFFD";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}var Pl=/[\w\u00A0-\uFFFF%-?]/;function In(e=""){return Pl.test(e)}function Fl(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 Dn(e){return e==null?"":Fl(e).map(([t,r])=>r!=null&&typeof r!="function"?`${t}:${r};`:void 0).filter(Boolean).join("")}function Vl(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 qn(e,t,r,n){for(let o of Array.from(e.matchAll(r)))if(o!=null){let i=o[0],a=`${n}${Vl(i)}`;t.set(a,i),e=e.replace(i,a)}return e}function Kn(e,t){for(let[r,n]of t.entries())e=e.replaceAll(r,n);return e}var Wl=/\/\/#\s*sourceMappingURL=.*\n?/g;function Gn(e){return e.includes("sourceMappingURL=")?e.replace(Wl,""):e}var _l=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,Ll=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,Ml=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function Bl(e){let t=[];for(let o of e.matchAll(Ll))o.index!==0&&!/^[\s'"`]/.test(e[o.index-1]??"")||t.push(o[0]);for(let o of e.matchAll(_l))t.push(o[0]);let r=new Map,n="@unocss-skip-arbitrary-brackets";return e=qn(e,r,/-\[(?!&.+?;)[^\]]*\]/g,n),e&&e.split(Pr).forEach(o=>{o.includes(n)&&(o=Kn(o,r)),In(o)&&!Ml.test(o)&&t.push(o)}),t}function Hn(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:e}){return Bl(Gn(e))}}}function Xn(e){if(e.preflight)return[{layer:"preflights",getCSS({theme:t,generator:r}){if(t.preflightBase){let n=Object.entries(t.preflightBase);if(e.preflight==="on-demand"){let o=new Set(Array.from(r.activatedRules).map(i=>i[2]?.custom?.preflightKeys).filter(Boolean).flat());n=n.filter(([i])=>o.has(i))}if(n.length>0){let o=Dn(n);return e.variablePrefix!=="un-"&&(o=o.replace(/--un-/g,`--${e.variablePrefix}`)),j(t.preflightRoot??["*,::before,::after","::backdrop"]).map(a=>`${a}{${o}}`).join("")}}}}]}function ee(e,t,r){if(e==="")return;let n=e.length,o=0,i=!1,a=0;for(let s=0;s<n;s++)switch(e[s]){case t:i||(i=!0,a=s),o++;break;case r:if(--o,o<0)return;if(o===0)return[e.slice(a,s+1),e.slice(s+1),e.slice(0,a)];break}}function K(e,t,r,n){if(e===""||(be(n)&&(n=[n]),n.length===0))return;let o=e.length,i=0;for(let a=0;a<o;a++)switch(e[a]){case t:i++;break;case r:if(--i<0)return;break;default:for(let s of n){let l=s.length;if(l&&s===e.slice(a,a+l)&&i===0)return a===0||a===o-l?void 0:[e.slice(0,a),e.slice(a+l)]}}return[e,""]}function ie(e,t,r){r=r??10;let n=[],o=0;for(;e!=="";){if(++o>r)return;let i=K(e,"(",")",t);if(!i)return;let[a,s]=i;n.push(a),e=s}if(n.length>0)return n}var Fr=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],Yn=["%alpha","<alpha-value>"],Ul=new RegExp(Yn.map(e=>q(e)).join("|"));function F(e=""){let t=Nl(e);if(t==null||t===!1)return;let{type:r,components:n,alpha:o}=t,i=r.toLowerCase();if(n.length!==0&&!(Fr.includes(i)&&![1,3].includes(n.length)))return{type:i,components:n.map(a=>typeof a=="string"?a.trim():a),alpha:typeof o=="string"?o.trim():o}}function U(e){let t=e.alpha??1;return typeof t=="string"&&Yn.includes(t)?1:t}function $(e,t){if(typeof e=="string")return e.replace(Ul,`${t??1}`);let{components:r}=e,{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}`,Fr.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function Nl(e){if(!e)return;let t=Il(e);if(t!=null||(t=Dl(e),t!=null)||(t=ql(e),t!=null)||(t=Gl(e),t!=null)||(t=Hl(e),t!=null))return t}function Il(e){let[,t]=e.match(/^#([\da-f]+)$/i)||[];if(t)switch(t.length){case 3:case 4:let r=Array.from(t,o=>Number.parseInt(o,16)).map(o=>o<<4|o);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:let n=Number.parseInt(t,16);return{type:"rgb",components:t.length===6?[n>>16&255,n>>8&255,n&255]:[n>>24&255,n>>16&255,n>>8&255],alpha:t.length===6?void 0:Math.round((n&255)/255*100)/100}}}function Dl(e){let t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}function ql(e){let t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;let[,r,n]=t,o=ie(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}}var Kl=new RegExp(`^(${Fr.join("|")})\\((.+)\\)$`,"i");function Gl(e){let t=e.match(Kl);if(!t)return;let[,r,n]=t,o=Zn(`${r} ${n}`);if(o){let{alpha:i,components:[a,...s]}=o;return{type:a,components:s,alpha:i}}}function Hl(e){let t=e.match(/^color\((.+)\)$/);if(!t)return;let r=Zn(t[1]);if(r){let{alpha:n,components:[o,...i]}=r;return{type:o,components:i,alpha:n}}}function Zn(e){let t=ie(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("/"))){let i=t.splice(r-2);t.push(i.join(" ")),--r}let n=ie(t[r-1],"/",2);if(!n)return;if(n.length===1||n[n.length-1]==="")return{components:t};let o=n.pop();return t[r-1]=n.join("/"),{components:t,alpha:o}}function gt(e){let t=function(n){let o=this.__options?.sequence||[];this.__options.sequence=[];for(let i of o){let a=e[i](n);if(a!=null)return a}};function r(n,o){return n.__options||(n.__options={sequence:[]}),n.__options.sequence.push(o),n}for(let n of Object.keys(e))Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get(){return r(this,n)}});return t}var Jn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",to=new Uint8Array(64),Xl=new Uint8Array(128);for(let e=0;e<Jn.length;e++){let t=Jn.charCodeAt(e);to[e]=t,Xl[t]=e}function Te(e,t,r){let n=t-r;n=n<0?-n<<1|1:n<<1;do{let o=n&31;n>>>=5,n>0&&(o|=32),e.write(to[o])}while(n>0);return t}var Qn=1024*16,eo=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(e){return Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}}:{decode(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t}},Vr=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(Qn)}write(t){let{buffer:r}=this;r[this.pos++]=t,this.pos===Qn&&(this.out+=eo.decode(r),this.pos=0)}flush(){let{buffer:t,out:r,pos:n}=this;return n>0?r+eo.decode(t.subarray(0,n)):r}};function ro(e){let t=new Vr,r=0,n=0,o=0,i=0;for(let a=0;a<e.length;a++){let s=e[a];if(a>0&&t.write(59),s.length===0)continue;let l=0;for(let f=0;f<s.length;f++){let m=s[f];f>0&&t.write(44),l=Te(t,m[0],l),m.length!==1&&(r=Te(t,m[1],r),n=Te(t,m[2],n),o=Te(t,m[3],o),m.length!==4&&(i=Te(t,m[4],i)))}}return t.flush()}var bt=class e{constructor(t){this.bits=t instanceof e?t.bits.slice():[]}add(t){this.bits[t>>5]|=1<<(t&31)}has(t){return!!(this.bits[t>>5]&1<<(t&31))}},xt=class e{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(){let t=new e(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){let r=t-this.start,n=this.original.slice(0,r),o=this.original.slice(r);this.original=n;let i=new e(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;let 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;let r=this.content.replace(t,"");if(r.length){if(r!==this.content){let 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 Yl(){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.")}}var Zl=Yl(),Wr=class{constructor(t){this.version=3,this.file=t.file,this.sources=t.sources,this.sourcesContent=t.sourcesContent,this.names=t.names,this.mappings=ro(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,"+Zl(this.toString())}};function Jl(e){let t=e.split(`
1
+ "use strict";(()=>{var Tl=Object.defineProperty;var Ol=(e,t)=>{for(var r in t)Tl(e,r,{get:t[r],enumerable:!0})};var Pr=/[\\:]?[\s'"`;{}]+/g;function j(e=[]){return Array.isArray(e)?e:[e]}function be(e){return typeof e=="string"}function q(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function B(e){let t=e.length,r=-1,n,o="",i=e.charCodeAt(0);for(;++r<t;){if(n=e.charCodeAt(r),n===0){o+="\uFFFD";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}var Pl=/[\w\u00A0-\uFFFF%-?]/;function In(e=""){return Pl.test(e)}function Fl(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 Dn(e){return e==null?"":Fl(e).map(([t,r])=>r!=null&&typeof r!="function"?`${t}:${r};`:void 0).filter(Boolean).join("")}function Vl(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 qn(e,t,r,n){for(let o of Array.from(e.matchAll(r)))if(o!=null){let i=o[0],a=`${n}${Vl(i)}`;t.set(a,i),e=e.replace(i,a)}return e}function Kn(e,t){for(let[r,n]of t.entries())e=e.replaceAll(r,n);return e}var Wl=/\/\/#\s*sourceMappingURL=.*\n?/g;function Gn(e){return e.includes("sourceMappingURL=")?e.replace(Wl,""):e}var _l=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,Ll=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,Ml=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function Bl(e){let t=[];for(let o of e.matchAll(Ll))o.index!==0&&!/^[\s'"`]/.test(e[o.index-1]??"")||t.push(o[0]);for(let o of e.matchAll(_l))t.push(o[0]);let r=new Map,n="@unocss-skip-arbitrary-brackets";return e=qn(e,r,/-\[(?!&.+?;)[^\]]*\]/g,n),e&&e.split(Pr).forEach(o=>{o.includes(n)&&(o=Kn(o,r)),In(o)&&!Ml.test(o)&&t.push(o)}),t}function Hn(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:e}){return Bl(Gn(e))}}}function Xn(e){if(e.preflight)return[{layer:"preflights",getCSS({theme:t,generator:r}){if(t.preflightBase){let n=Object.entries(t.preflightBase);if(e.preflight==="on-demand"){let o=new Set(Array.from(r.activatedRules).map(i=>i[2]?.custom?.preflightKeys).filter(Boolean).flat());n=n.filter(([i])=>o.has(i))}if(n.length>0){let o=Dn(n);return e.variablePrefix!=="un-"&&(o=o.replace(/--un-/g,`--${e.variablePrefix}`)),j(t.preflightRoot??["*,::before,::after","::backdrop"]).map(a=>`${a}{${o}}`).join("")}}}}]}function ee(e,t,r){if(e==="")return;let n=e.length,o=0,i=!1,a=0;for(let s=0;s<n;s++)switch(e[s]){case t:i||(i=!0,a=s),o++;break;case r:if(--o,o<0)return;if(o===0)return[e.slice(a,s+1),e.slice(s+1),e.slice(0,a)];break}}function K(e,t,r,n){if(e===""||(be(n)&&(n=[n]),n.length===0))return;let o=e.length,i=0;for(let a=0;a<o;a++)switch(e[a]){case t:i++;break;case r:if(--i<0)return;break;default:for(let s of n){let l=s.length;if(l&&s===e.slice(a,a+l)&&i===0)return a===0||a===o-l?void 0:[e.slice(0,a),e.slice(a+l)]}}return[e,""]}function ie(e,t,r){r=r??10;let n=[],o=0;for(;e!=="";){if(++o>r)return;let i=K(e,"(",")",t);if(!i)return;let[a,s]=i;n.push(a),e=s}if(n.length>0)return n}var Fr=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],Yn=["%alpha","<alpha-value>"],Ul=new RegExp(Yn.map(e=>q(e)).join("|"),"g");function F(e=""){let t=Nl(e);if(t==null||t===!1)return;let{type:r,components:n,alpha:o}=t,i=r.toLowerCase();if(n.length!==0&&!(Fr.includes(i)&&![1,3].includes(n.length)))return{type:i,components:n.map(a=>typeof a=="string"?a.trim():a),alpha:typeof o=="string"?o.trim():o}}function U(e){let t=e.alpha??1;return typeof t=="string"&&Yn.includes(t)?1:t}function $(e,t){if(typeof e=="string")return e.replace(Ul,`${t??1}`);let{components:r}=e,{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}`,Fr.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function Nl(e){if(!e)return;let t=Il(e);if(t!=null||(t=Dl(e),t!=null)||(t=ql(e),t!=null)||(t=Gl(e),t!=null)||(t=Hl(e),t!=null))return t}function Il(e){let[,t]=e.match(/^#([\da-f]+)$/i)||[];if(t)switch(t.length){case 3:case 4:let r=Array.from(t,o=>Number.parseInt(o,16)).map(o=>o<<4|o);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:let n=Number.parseInt(t,16);return{type:"rgb",components:t.length===6?[n>>16&255,n>>8&255,n&255]:[n>>24&255,n>>16&255,n>>8&255],alpha:t.length===6?void 0:Math.round((n&255)/255*100)/100}}}function Dl(e){let t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}function ql(e){let t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;let[,r,n]=t,o=ie(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}}var Kl=new RegExp(`^(${Fr.join("|")})\\((.+)\\)$`,"i");function Gl(e){let t=e.match(Kl);if(!t)return;let[,r,n]=t,o=Zn(`${r} ${n}`);if(o){let{alpha:i,components:[a,...s]}=o;return{type:a,components:s,alpha:i}}}function Hl(e){let t=e.match(/^color\((.+)\)$/);if(!t)return;let r=Zn(t[1]);if(r){let{alpha:n,components:[o,...i]}=r;return{type:o,components:i,alpha:n}}}function Zn(e){let t=ie(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("/"))){let i=t.splice(r-2);t.push(i.join(" ")),--r}let n=ie(t[r-1],"/",2);if(!n)return;if(n.length===1||n[n.length-1]==="")return{components:t};let o=n.pop();return t[r-1]=n.join("/"),{components:t,alpha:o}}function gt(e){let t=function(n){let o=this.__options?.sequence||[];this.__options.sequence=[];for(let i of o){let a=e[i](n);if(a!=null)return a}};function r(n,o){return n.__options||(n.__options={sequence:[]}),n.__options.sequence.push(o),n}for(let n of Object.keys(e))Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get(){return r(this,n)}});return t}var Jn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",to=new Uint8Array(64),Xl=new Uint8Array(128);for(let e=0;e<Jn.length;e++){let t=Jn.charCodeAt(e);to[e]=t,Xl[t]=e}function Te(e,t,r){let n=t-r;n=n<0?-n<<1|1:n<<1;do{let o=n&31;n>>>=5,n>0&&(o|=32),e.write(to[o])}while(n>0);return t}var Qn=1024*16,eo=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(e){return Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}}:{decode(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t}},Vr=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(Qn)}write(t){let{buffer:r}=this;r[this.pos++]=t,this.pos===Qn&&(this.out+=eo.decode(r),this.pos=0)}flush(){let{buffer:t,out:r,pos:n}=this;return n>0?r+eo.decode(t.subarray(0,n)):r}};function ro(e){let t=new Vr,r=0,n=0,o=0,i=0;for(let a=0;a<e.length;a++){let s=e[a];if(a>0&&t.write(59),s.length===0)continue;let l=0;for(let f=0;f<s.length;f++){let m=s[f];f>0&&t.write(44),l=Te(t,m[0],l),m.length!==1&&(r=Te(t,m[1],r),n=Te(t,m[2],n),o=Te(t,m[3],o),m.length!==4&&(i=Te(t,m[4],i)))}}return t.flush()}var bt=class e{constructor(t){this.bits=t instanceof e?t.bits.slice():[]}add(t){this.bits[t>>5]|=1<<(t&31)}has(t){return!!(this.bits[t>>5]&1<<(t&31))}},xt=class e{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(){let t=new e(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){let r=t-this.start,n=this.original.slice(0,r),o=this.original.slice(r);this.original=n;let i=new e(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;let 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;let r=this.content.replace(t,"");if(r.length){if(r!==this.content){let 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 Yl(){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.")}}var Zl=Yl(),Wr=class{constructor(t){this.version=3,this.file=t.file,this.sources=t.sources,this.sourcesContent=t.sourcesContent,this.names=t.names,this.mappings=ro(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,"+Zl(this.toString())}};function Jl(e){let t=e.split(`
2
2
  `),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" ";let o=n.reduce((i,a)=>{let s=/^ +/.exec(a)[0].length;return Math.min(s,i)},1/0);return new Array(o+1).join(" ")}function Ql(e,t){let 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("/")}var eu=Object.prototype.toString;function tu(e){return eu.call(e)==="[object Object]"}function no(e){let t=e.split(`
3
3
  `),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,a=r.length;for(;i<a;){let f=i+a>>1;o<r[f]?a=f:i=f+1}let s=i-1,l=o-r[s];return{line:s,column:l}}}var ru=/\w/,_r=class{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){let i=r.length-1,a=r.indexOf(`
4
4
  `,0),s=-1;for(;a>=0&&i>a;){let f=[this.generatedCodeColumn,t,n.line,n.column];o>=0&&f.push(o),this.rawSegments.push(f),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,s=a,a=r.indexOf(`
@@ -1,4 +1,4 @@
1
- "use strict";(()=>{var Tl=Object.defineProperty;var Ol=(e,t)=>{for(var r in t)Tl(e,r,{get:t[r],enumerable:!0})};var Pr=/[\\:]?[\s'"`;{}]+/g;function j(e=[]){return Array.isArray(e)?e:[e]}function be(e){return typeof e=="string"}function q(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function B(e){let t=e.length,r=-1,n,o="",i=e.charCodeAt(0);for(;++r<t;){if(n=e.charCodeAt(r),n===0){o+="\uFFFD";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}var Pl=/[\w\u00A0-\uFFFF%-?]/;function Dn(e=""){return Pl.test(e)}function Fl(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 Un(e){return e==null?"":Fl(e).map(([t,r])=>r!=null&&typeof r!="function"?`${t}:${r};`:void 0).filter(Boolean).join("")}function Vl(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 qn(e,t,r,n){for(let o of Array.from(e.matchAll(r)))if(o!=null){let i=o[0],a=`${n}${Vl(i)}`;t.set(a,i),e=e.replace(i,a)}return e}function Kn(e,t){for(let[r,n]of t.entries())e=e.replaceAll(r,n);return e}var Wl=/\/\/#\s*sourceMappingURL=.*\n?/g;function Gn(e){return e.includes("sourceMappingURL=")?e.replace(Wl,""):e}var _l=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,Ll=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,Ml=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function Bl(e){let t=[];for(let o of e.matchAll(Ll))o.index!==0&&!/^[\s'"`]/.test(e[o.index-1]??"")||t.push(o[0]);for(let o of e.matchAll(_l))t.push(o[0]);let r=new Map,n="@unocss-skip-arbitrary-brackets";return e=qn(e,r,/-\[(?!&.+?;)[^\]]*\]/g,n),e&&e.split(Pr).forEach(o=>{o.includes(n)&&(o=Kn(o,r)),Dn(o)&&!Ml.test(o)&&t.push(o)}),t}function Hn(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:e}){return Bl(Gn(e))}}}function Xn(e){if(e.preflight)return[{layer:"preflights",getCSS({theme:t,generator:r}){if(t.preflightBase){let n=Object.entries(t.preflightBase);if(e.preflight==="on-demand"){let o=new Set(Array.from(r.activatedRules).map(i=>i[2]?.custom?.preflightKeys).filter(Boolean).flat());n=n.filter(([i])=>o.has(i))}if(n.length>0){let o=Un(n);return e.variablePrefix!=="un-"&&(o=o.replace(/--un-/g,`--${e.variablePrefix}`)),j(t.preflightRoot??["*,::before,::after","::backdrop"]).map(a=>`${a}{${o}}`).join("")}}}}]}function ee(e,t,r){if(e==="")return;let n=e.length,o=0,i=!1,a=0;for(let s=0;s<n;s++)switch(e[s]){case t:i||(i=!0,a=s),o++;break;case r:if(--o,o<0)return;if(o===0)return[e.slice(a,s+1),e.slice(s+1),e.slice(0,a)];break}}function K(e,t,r,n){if(e===""||(be(n)&&(n=[n]),n.length===0))return;let o=e.length,i=0;for(let a=0;a<o;a++)switch(e[a]){case t:i++;break;case r:if(--i<0)return;break;default:for(let s of n){let l=s.length;if(l&&s===e.slice(a,a+l)&&i===0)return a===0||a===o-l?void 0:[e.slice(0,a),e.slice(a+l)]}}return[e,""]}function ie(e,t,r){r=r??10;let n=[],o=0;for(;e!=="";){if(++o>r)return;let i=K(e,"(",")",t);if(!i)return;let[a,s]=i;n.push(a),e=s}if(n.length>0)return n}var Fr=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],Yn=["%alpha","<alpha-value>"],Nl=new RegExp(Yn.map(e=>q(e)).join("|"));function F(e=""){let t=Il(e);if(t==null||t===!1)return;let{type:r,components:n,alpha:o}=t,i=r.toLowerCase();if(n.length!==0&&!(Fr.includes(i)&&![1,3].includes(n.length)))return{type:i,components:n.map(a=>typeof a=="string"?a.trim():a),alpha:typeof o=="string"?o.trim():o}}function N(e){let t=e.alpha??1;return typeof t=="string"&&Yn.includes(t)?1:t}function $(e,t){if(typeof e=="string")return e.replace(Nl,`${t??1}`);let{components:r}=e,{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}`,Fr.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function Il(e){if(!e)return;let t=Dl(e);if(t!=null||(t=Ul(e),t!=null)||(t=ql(e),t!=null)||(t=Gl(e),t!=null)||(t=Hl(e),t!=null))return t}function Dl(e){let[,t]=e.match(/^#([\da-f]+)$/i)||[];if(t)switch(t.length){case 3:case 4:let r=Array.from(t,o=>Number.parseInt(o,16)).map(o=>o<<4|o);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:let n=Number.parseInt(t,16);return{type:"rgb",components:t.length===6?[n>>16&255,n>>8&255,n&255]:[n>>24&255,n>>16&255,n>>8&255],alpha:t.length===6?void 0:Math.round((n&255)/255*100)/100}}}function Ul(e){let t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}function ql(e){let t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;let[,r,n]=t,o=ie(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}}var Kl=new RegExp(`^(${Fr.join("|")})\\((.+)\\)$`,"i");function Gl(e){let t=e.match(Kl);if(!t)return;let[,r,n]=t,o=Zn(`${r} ${n}`);if(o){let{alpha:i,components:[a,...s]}=o;return{type:a,components:s,alpha:i}}}function Hl(e){let t=e.match(/^color\((.+)\)$/);if(!t)return;let r=Zn(t[1]);if(r){let{alpha:n,components:[o,...i]}=r;return{type:o,components:i,alpha:n}}}function Zn(e){let t=ie(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("/"))){let i=t.splice(r-2);t.push(i.join(" ")),--r}let n=ie(t[r-1],"/",2);if(!n)return;if(n.length===1||n[n.length-1]==="")return{components:t};let o=n.pop();return t[r-1]=n.join("/"),{components:t,alpha:o}}function gt(e){let t=function(n){let o=this.__options?.sequence||[];this.__options.sequence=[];for(let i of o){let a=e[i](n);if(a!=null)return a}};function r(n,o){return n.__options||(n.__options={sequence:[]}),n.__options.sequence.push(o),n}for(let n of Object.keys(e))Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get(){return r(this,n)}});return t}var Jn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",to=new Uint8Array(64),Xl=new Uint8Array(128);for(let e=0;e<Jn.length;e++){let t=Jn.charCodeAt(e);to[e]=t,Xl[t]=e}function Te(e,t,r){let n=t-r;n=n<0?-n<<1|1:n<<1;do{let o=n&31;n>>>=5,n>0&&(o|=32),e.write(to[o])}while(n>0);return t}var Qn=1024*16,eo=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(e){return Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}}:{decode(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t}},Vr=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(Qn)}write(t){let{buffer:r}=this;r[this.pos++]=t,this.pos===Qn&&(this.out+=eo.decode(r),this.pos=0)}flush(){let{buffer:t,out:r,pos:n}=this;return n>0?r+eo.decode(t.subarray(0,n)):r}};function ro(e){let t=new Vr,r=0,n=0,o=0,i=0;for(let a=0;a<e.length;a++){let s=e[a];if(a>0&&t.write(59),s.length===0)continue;let l=0;for(let f=0;f<s.length;f++){let m=s[f];f>0&&t.write(44),l=Te(t,m[0],l),m.length!==1&&(r=Te(t,m[1],r),n=Te(t,m[2],n),o=Te(t,m[3],o),m.length!==4&&(i=Te(t,m[4],i)))}}return t.flush()}var bt=class e{constructor(t){this.bits=t instanceof e?t.bits.slice():[]}add(t){this.bits[t>>5]|=1<<(t&31)}has(t){return!!(this.bits[t>>5]&1<<(t&31))}},xt=class e{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(){let t=new e(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){let r=t-this.start,n=this.original.slice(0,r),o=this.original.slice(r);this.original=n;let i=new e(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;let 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;let r=this.content.replace(t,"");if(r.length){if(r!==this.content){let 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 Yl(){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.")}}var Zl=Yl(),Wr=class{constructor(t){this.version=3,this.file=t.file,this.sources=t.sources,this.sourcesContent=t.sourcesContent,this.names=t.names,this.mappings=ro(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,"+Zl(this.toString())}};function Jl(e){let t=e.split(`
1
+ "use strict";(()=>{var Tl=Object.defineProperty;var Ol=(e,t)=>{for(var r in t)Tl(e,r,{get:t[r],enumerable:!0})};var Pr=/[\\:]?[\s'"`;{}]+/g;function j(e=[]){return Array.isArray(e)?e:[e]}function be(e){return typeof e=="string"}function q(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function B(e){let t=e.length,r=-1,n,o="",i=e.charCodeAt(0);for(;++r<t;){if(n=e.charCodeAt(r),n===0){o+="\uFFFD";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}var Pl=/[\w\u00A0-\uFFFF%-?]/;function Dn(e=""){return Pl.test(e)}function Fl(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 Un(e){return e==null?"":Fl(e).map(([t,r])=>r!=null&&typeof r!="function"?`${t}:${r};`:void 0).filter(Boolean).join("")}function Vl(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 qn(e,t,r,n){for(let o of Array.from(e.matchAll(r)))if(o!=null){let i=o[0],a=`${n}${Vl(i)}`;t.set(a,i),e=e.replace(i,a)}return e}function Kn(e,t){for(let[r,n]of t.entries())e=e.replaceAll(r,n);return e}var Wl=/\/\/#\s*sourceMappingURL=.*\n?/g;function Gn(e){return e.includes("sourceMappingURL=")?e.replace(Wl,""):e}var _l=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,Ll=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,Ml=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function Bl(e){let t=[];for(let o of e.matchAll(Ll))o.index!==0&&!/^[\s'"`]/.test(e[o.index-1]??"")||t.push(o[0]);for(let o of e.matchAll(_l))t.push(o[0]);let r=new Map,n="@unocss-skip-arbitrary-brackets";return e=qn(e,r,/-\[(?!&.+?;)[^\]]*\]/g,n),e&&e.split(Pr).forEach(o=>{o.includes(n)&&(o=Kn(o,r)),Dn(o)&&!Ml.test(o)&&t.push(o)}),t}function Hn(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:e}){return Bl(Gn(e))}}}function Xn(e){if(e.preflight)return[{layer:"preflights",getCSS({theme:t,generator:r}){if(t.preflightBase){let n=Object.entries(t.preflightBase);if(e.preflight==="on-demand"){let o=new Set(Array.from(r.activatedRules).map(i=>i[2]?.custom?.preflightKeys).filter(Boolean).flat());n=n.filter(([i])=>o.has(i))}if(n.length>0){let o=Un(n);return e.variablePrefix!=="un-"&&(o=o.replace(/--un-/g,`--${e.variablePrefix}`)),j(t.preflightRoot??["*,::before,::after","::backdrop"]).map(a=>`${a}{${o}}`).join("")}}}}]}function ee(e,t,r){if(e==="")return;let n=e.length,o=0,i=!1,a=0;for(let s=0;s<n;s++)switch(e[s]){case t:i||(i=!0,a=s),o++;break;case r:if(--o,o<0)return;if(o===0)return[e.slice(a,s+1),e.slice(s+1),e.slice(0,a)];break}}function K(e,t,r,n){if(e===""||(be(n)&&(n=[n]),n.length===0))return;let o=e.length,i=0;for(let a=0;a<o;a++)switch(e[a]){case t:i++;break;case r:if(--i<0)return;break;default:for(let s of n){let l=s.length;if(l&&s===e.slice(a,a+l)&&i===0)return a===0||a===o-l?void 0:[e.slice(0,a),e.slice(a+l)]}}return[e,""]}function ie(e,t,r){r=r??10;let n=[],o=0;for(;e!=="";){if(++o>r)return;let i=K(e,"(",")",t);if(!i)return;let[a,s]=i;n.push(a),e=s}if(n.length>0)return n}var Fr=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],Yn=["%alpha","<alpha-value>"],Nl=new RegExp(Yn.map(e=>q(e)).join("|"),"g");function F(e=""){let t=Il(e);if(t==null||t===!1)return;let{type:r,components:n,alpha:o}=t,i=r.toLowerCase();if(n.length!==0&&!(Fr.includes(i)&&![1,3].includes(n.length)))return{type:i,components:n.map(a=>typeof a=="string"?a.trim():a),alpha:typeof o=="string"?o.trim():o}}function N(e){let t=e.alpha??1;return typeof t=="string"&&Yn.includes(t)?1:t}function $(e,t){if(typeof e=="string")return e.replace(Nl,`${t??1}`);let{components:r}=e,{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}`,Fr.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function Il(e){if(!e)return;let t=Dl(e);if(t!=null||(t=Ul(e),t!=null)||(t=ql(e),t!=null)||(t=Gl(e),t!=null)||(t=Hl(e),t!=null))return t}function Dl(e){let[,t]=e.match(/^#([\da-f]+)$/i)||[];if(t)switch(t.length){case 3:case 4:let r=Array.from(t,o=>Number.parseInt(o,16)).map(o=>o<<4|o);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:let n=Number.parseInt(t,16);return{type:"rgb",components:t.length===6?[n>>16&255,n>>8&255,n&255]:[n>>24&255,n>>16&255,n>>8&255],alpha:t.length===6?void 0:Math.round((n&255)/255*100)/100}}}function Ul(e){let t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}function ql(e){let t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;let[,r,n]=t,o=ie(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}}var Kl=new RegExp(`^(${Fr.join("|")})\\((.+)\\)$`,"i");function Gl(e){let t=e.match(Kl);if(!t)return;let[,r,n]=t,o=Zn(`${r} ${n}`);if(o){let{alpha:i,components:[a,...s]}=o;return{type:a,components:s,alpha:i}}}function Hl(e){let t=e.match(/^color\((.+)\)$/);if(!t)return;let r=Zn(t[1]);if(r){let{alpha:n,components:[o,...i]}=r;return{type:o,components:i,alpha:n}}}function Zn(e){let t=ie(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("/"))){let i=t.splice(r-2);t.push(i.join(" ")),--r}let n=ie(t[r-1],"/",2);if(!n)return;if(n.length===1||n[n.length-1]==="")return{components:t};let o=n.pop();return t[r-1]=n.join("/"),{components:t,alpha:o}}function gt(e){let t=function(n){let o=this.__options?.sequence||[];this.__options.sequence=[];for(let i of o){let a=e[i](n);if(a!=null)return a}};function r(n,o){return n.__options||(n.__options={sequence:[]}),n.__options.sequence.push(o),n}for(let n of Object.keys(e))Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get(){return r(this,n)}});return t}var Jn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",to=new Uint8Array(64),Xl=new Uint8Array(128);for(let e=0;e<Jn.length;e++){let t=Jn.charCodeAt(e);to[e]=t,Xl[t]=e}function Te(e,t,r){let n=t-r;n=n<0?-n<<1|1:n<<1;do{let o=n&31;n>>>=5,n>0&&(o|=32),e.write(to[o])}while(n>0);return t}var Qn=1024*16,eo=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(e){return Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}}:{decode(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t}},Vr=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(Qn)}write(t){let{buffer:r}=this;r[this.pos++]=t,this.pos===Qn&&(this.out+=eo.decode(r),this.pos=0)}flush(){let{buffer:t,out:r,pos:n}=this;return n>0?r+eo.decode(t.subarray(0,n)):r}};function ro(e){let t=new Vr,r=0,n=0,o=0,i=0;for(let a=0;a<e.length;a++){let s=e[a];if(a>0&&t.write(59),s.length===0)continue;let l=0;for(let f=0;f<s.length;f++){let m=s[f];f>0&&t.write(44),l=Te(t,m[0],l),m.length!==1&&(r=Te(t,m[1],r),n=Te(t,m[2],n),o=Te(t,m[3],o),m.length!==4&&(i=Te(t,m[4],i)))}}return t.flush()}var bt=class e{constructor(t){this.bits=t instanceof e?t.bits.slice():[]}add(t){this.bits[t>>5]|=1<<(t&31)}has(t){return!!(this.bits[t>>5]&1<<(t&31))}},xt=class e{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(){let t=new e(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){let r=t-this.start,n=this.original.slice(0,r),o=this.original.slice(r);this.original=n;let i=new e(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;let 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;let r=this.content.replace(t,"");if(r.length){if(r!==this.content){let 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 Yl(){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.")}}var Zl=Yl(),Wr=class{constructor(t){this.version=3,this.file=t.file,this.sources=t.sources,this.sourcesContent=t.sourcesContent,this.names=t.names,this.mappings=ro(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,"+Zl(this.toString())}};function Jl(e){let t=e.split(`
2
2
  `),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" ";let o=n.reduce((i,a)=>{let s=/^ +/.exec(a)[0].length;return Math.min(s,i)},1/0);return new Array(o+1).join(" ")}function Ql(e,t){let 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("/")}var eu=Object.prototype.toString;function tu(e){return eu.call(e)==="[object Object]"}function no(e){let t=e.split(`
3
3
  `),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,a=r.length;for(;i<a;){let f=i+a>>1;o<r[f]?a=f:i=f+1}let s=i-1,l=o-r[s];return{line:s,column:l}}}var ru=/\w/,_r=class{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){let i=r.length-1,a=r.indexOf(`
4
4
  `,0),s=-1;for(;a>=0&&i>a;){let f=[this.generatedCodeColumn,t,n.line,n.column];o>=0&&f.push(o),this.rawSegments.push(f),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,s=a,a=r.indexOf(`