@unocss/runtime 0.58.2 → 0.58.4

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/runtime",
3
- "version": "0.58.2",
3
+ "version": "0.58.4",
4
4
  "description": "CSS-in-JS Runtime for UnoCSS",
5
5
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -35,9 +35,9 @@
35
35
  "dist"
36
36
  ],
37
37
  "dependencies": {
38
- "@unocss/core": "0.58.2",
39
- "@unocss/preset-attributify": "0.58.2",
40
- "@unocss/preset-uno": "0.58.2"
38
+ "@unocss/core": "0.58.4",
39
+ "@unocss/preset-attributify": "0.58.4",
40
+ "@unocss/preset-uno": "0.58.4"
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 We=Object.create;var le=Object.defineProperty;var Ke=Object.getOwnPropertyDescriptor;var He=Object.getOwnPropertyNames;var Je=Object.getPrototypeOf,Ye=Object.prototype.hasOwnProperty;var H=(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 E=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var Ze=(e,o,t,n)=>{if(o&&typeof o=="object"||typeof o=="function")for(let r of He(o))!Ye.call(e,r)&&r!==t&&le(e,r,{get:()=>o[r],enumerable:!(n=Ke(o,r))||n.enumerable});return e};var M=(e,o,t)=>(t=e!=null?We(Je(e)):{},Ze(o||!e||!e.__esModule?le(t,"default",{value:e,enumerable:!0}):t,e));var Xe,R,J,ue,D=I(()=>{"use strict";Xe=Object.freeze({left:0,top:0,width:16,height:16}),R=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),J=Object.freeze({...Xe,...R}),ue=Object.freeze({...J,body:"",hidden:!1})});var Qe,N,Y=I(()=>{"use strict";D();Qe=Object.freeze({width:null,height:null}),N=Object.freeze({...Qe,...R})});function fe(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 pe=I(()=>{"use strict"});function Z(e,o){let t=fe(e,o);for(let n in ue)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 me=I(()=>{"use strict";D();pe()});function de(e,o){let t=e.icons,n=e.aliases||Object.create(null),r=Object.create(null);function s(u){if(t[u])return r[u]=[];if(!(u in r)){r[u]=null;let f=n[u]&&n[u].parent,m=f&&s(f);m&&(r[u]=[f].concat(m))}return r[u]}return(o||Object.keys(t).concat(Object.keys(n))).forEach(s),r}var ge=I(()=>{"use strict"});function he(e,o,t){let n=e.icons,r=e.aliases||Object.create(null),s={};function u(f){s=Z(n[f]||r[f],s)}return u(o),t.forEach(u),Z(e,s)}function Ce(e,o){if(e.icons[o])return he(e,o,[]);let t=de(e,[o])[o];return t?he(e,o,t):null}var we=I(()=>{"use strict";me();ge()});function X(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(et);if(n===null||!n.length)return e;let r=[],s=n.shift(),u=tt.test(s);for(;;){if(u){let f=parseFloat(s);isNaN(f)?r.push(s):r.push(Math.ceil(f*o*t)/t)}else r.push(s);if(s=n.shift(),s===void 0)return r.join("");u=!u}}var et,tt,xe=I(()=>{"use strict";et=/(-?[0-9.]*[0-9]+[0-9.]*)/g,tt=/^-?[0-9.]*[0-9]+[0-9.]*$/g});function ot(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 u=e.indexOf(">",s);if(u===-1)break;t+=e.slice(r+1,s).trim(),e=e.slice(0,n).trim()+e.slice(u+1)}return{defs:t,content:e}}function rt(e,o){return e?"<defs>"+e+"</defs>"+o:o}function ye(e,o,t){let n=ot(e);return rt(n.defs,o+n.content+t)}var be=I(()=>{"use strict"});function Fe(e,o){let t={...J,...e},n={...N,...o},r={left:t.left,top:t.top,width:t.width,height:t.height},s=t.body;[t,n].forEach(l=>{let c=[],x=l.hFlip,y=l.vFlip,b=l.rotate;x?y?b+=2:(c.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),c.push("scale(-1 1)"),r.top=r.left=0):y&&(c.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),c.push("scale(1 -1)"),r.top=r.left=0);let d;switch(b<0&&(b-=Math.floor(b/4)*4),b=b%4,b){case 1:d=r.height/2+r.top,c.unshift("rotate(90 "+d.toString()+" "+d.toString()+")");break;case 2:c.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:d=r.width/2+r.left,c.unshift("rotate(-90 "+d.toString()+" "+d.toString()+")");break}b%2===1&&(r.left!==r.top&&(d=r.left,r.left=r.top,r.top=d),r.width!==r.height&&(d=r.width,r.width=r.height,r.height=d)),c.length&&(s=ye(s,'<g transform="'+c.join(" ")+'">',"</g>"))});let u=n.width,f=n.height,m=r.width,C=r.height,i,a;u===null?(a=f===null?"1em":f==="auto"?C:f,i=X(a,m/C)):(i=u==="auto"?m:u,a=f===null?X(i,C/m):f==="auto"?C:f);let p={},h=(l,c)=>{P(c)||(p[l]=c.toString())};h("width",i),h("height",a);let w=[r.left,r.top,m,C];return p.viewBox=w.join(" "),{attributes:p,viewBox:w,body:s}}var P,Q=I(()=>{"use strict";D();Y();xe();be();P=e=>e==="unset"||e==="undefined"||e==="none"});function Oe(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,'="').trim()}var Se=I(()=>{"use strict"});function st(e,o,t){let n=e.slice(0,e.indexOf(">")),r=(s,u)=>{let f=u.exec(n),m=f!=null,C=o[s];return!C&&!P(C)&&(typeof t=="number"?t>0&&(o[s]=`${t}em`):f&&(o[s]=f[1])),m};return[r("width",nt),r("height",it)]}async function V(e,o,t,n,r,s){let{scale:u,addXmlNs:f=!1}=n??{},{additionalProps:m={},iconCustomizer:C}=n?.customizations??{},i=await r?.()??{};await C?.(o,t,i),Object.keys(m).forEach(l=>{let c=m[l];c!=null&&(i[l]=c)}),s?.(i);let[a,p]=st(e,i,u);f&&(!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 h=Object.keys(i).map(l=>l==="width"&&a||l==="height"&&p?null:`${l}="${i[l]}"`).filter(l=>l!=null);if(h.length&&(e=e.replace(ee,`<svg ${h.join(" ")} `)),n){let{defaultStyle:l,defaultClass:c}=n;c&&!e.includes("class=")&&(e=e.replace(ee,`<svg class="${c}" `)),l&&!e.includes("style=")&&(e=e.replace(ee,`<svg style="${l}" `))}let w=n?.usedProps;return w&&(Object.keys(m).forEach(l=>{let c=i[l];c!=null&&(w[l]=c)}),typeof i.width<"u"&&i.width!==null&&(w.width=i.width),typeof i.height<"u"&&i.height!==null&&(w.height=i.height)),e}var nt,it,ee,te=I(()=>{"use strict";Q();nt=/\swidth\s*=\s*["'](\w+)["']/,it=/\sheight\s*=\s*["'](\w+)["']/,ee=/<svg\s+/});var je=E((io,Ee)=>{"use strict";var $=1e3,L=$*60,A=L*60,j=A*24,ct=j*7,at=j*365.25;Ee.exports=function(e,o){o=o||{};var t=typeof e;if(t==="string"&&e.length>0)return lt(e);if(t==="number"&&isFinite(e))return o.long?ft(e):ut(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function lt(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*at;case"weeks":case"week":case"w":return t*ct;case"days":case"day":case"d":return t*j;case"hours":case"hour":case"hrs":case"hr":case"h":return t*A;case"minutes":case"minute":case"mins":case"min":case"m":return t*L;case"seconds":case"second":case"secs":case"sec":case"s":return t*$;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return t;default:return}}}}function ut(e){var o=Math.abs(e);return o>=j?Math.round(e/j)+"d":o>=A?Math.round(e/A)+"h":o>=L?Math.round(e/L)+"m":o>=$?Math.round(e/$)+"s":e+"ms"}function ft(e){var o=Math.abs(e);return o>=j?G(e,o,j,"day"):o>=A?G(e,o,A,"hour"):o>=L?G(e,o,L,"minute"):o>=$?G(e,o,$,"second"):e+" ms"}function G(e,o,t,n){var r=o>=t*1.5;return Math.round(e/t)+" "+n+(r?"s":"")}});var oe=E((so,ke)=>{"use strict";function pt(e){t.debug=t,t.default=t,t.coerce=m,t.disable=s,t.enable=r,t.enabled=u,t.humanize=je(),t.destroy=C,Object.keys(e).forEach(i=>{t[i]=e[i]}),t.names=[],t.skips=[],t.formatters={};function o(i){let a=0;for(let p=0;p<i.length;p++)a=(a<<5)-a+i.charCodeAt(p),a|=0;return t.colors[Math.abs(a)%t.colors.length]}t.selectColor=o;function t(i){let a,p=null,h,w;function l(...c){if(!l.enabled)return;let x=l,y=Number(new Date),b=y-(a||y);x.diff=b,x.prev=a,x.curr=y,a=y,c[0]=t.coerce(c[0]),typeof c[0]!="string"&&c.unshift("%O");let d=0;c[0]=c[0].replace(/%([a-zA-Z%])/g,(k,T)=>{if(k==="%%")return"%";d++;let ae=t.formatters[T];if(typeof ae=="function"){let Be=c[d];k=ae.call(x,Be),c.splice(d,1),d--}return k}),t.formatArgs.call(x,c),(x.log||t.log).apply(x,c)}return l.namespace=i,l.useColors=t.useColors(),l.color=t.selectColor(i),l.extend=n,l.destroy=t.destroy,Object.defineProperty(l,"enabled",{enumerable:!0,configurable:!1,get:()=>p!==null?p:(h!==t.namespaces&&(h=t.namespaces,w=t.enabled(i)),w),set:c=>{p=c}}),typeof t.init=="function"&&t.init(l),l}function n(i,a){let p=t(this.namespace+(typeof a>"u"?":":a)+i);return p.log=this.log,p}function r(i){t.save(i),t.namespaces=i,t.names=[],t.skips=[];let a,p=(typeof i=="string"?i:"").split(/[\s,]+/),h=p.length;for(a=0;a<h;a++)p[a]&&(i=p[a].replace(/\*/g,".*?"),i[0]==="-"?t.skips.push(new RegExp("^"+i.slice(1)+"$")):t.names.push(new RegExp("^"+i+"$")))}function s(){let i=[...t.names.map(f),...t.skips.map(f).map(a=>"-"+a)].join(",");return t.enable(""),i}function u(i){if(i[i.length-1]==="*")return!0;let a,p;for(a=0,p=t.skips.length;a<p;a++)if(t.skips[a].test(i))return!1;for(a=0,p=t.names.length;a<p;a++)if(t.names[a].test(i))return!0;return!1}function f(i){return i.toString().substring(2,i.toString().length-2).replace(/\.\*\?$/,"*")}function m(i){return i instanceof Error?i.stack||i.message:i}function C(){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}ke.exports=pt});var Te=E((v,U)=>{"use strict";v.formatArgs=dt;v.save=gt;v.load=ht;v.useColors=mt;v.storage=Ct();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 mt(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1: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&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function dt(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+U.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 gt(e){try{e?v.storage.setItem("debug",e):v.storage.removeItem("debug")}catch{}}function ht(){let e;try{e=v.storage.getItem("debug")}catch{}return!e&&typeof process<"u"&&"env"in process&&(e=process.env.DEBUG),e}function Ct(){try{return localStorage}catch{}}U.exports=oe()(v);var{formatters:wt}=U.exports;wt.j=function(e){try{return JSON.stringify(e)}catch(o){return"[UnexpectedJSONParseError]: "+o.message}}});var $e=E((co,Re)=>{"use strict";Re.exports=(e,o)=>{o=o||process.argv;let t=e.startsWith("-")?"":e.length===1?"-":"--",n=o.indexOf(t+e),r=o.indexOf("--");return n!==-1&&(r===-1?!0:n<r)}});var Ae=E((ao,Le)=>{"use strict";var xt=H("os"),O=$e(),{env:g}=process,S;O("no-color")||O("no-colors")||O("color=false")||O("color=never")?S=0:(O("color")||O("colors")||O("color=true")||O("color=always"))&&(S=1);"FORCE_COLOR"in g&&(g.FORCE_COLOR===!0||g.FORCE_COLOR==="true"?S=1:g.FORCE_COLOR===!1||g.FORCE_COLOR==="false"?S=0:S=g.FORCE_COLOR.length===0?1:Math.min(parseInt(g.FORCE_COLOR,10),3));function yt(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function bt(e){if(S===0)return 0;if(O("color=16m")||O("color=full")||O("color=truecolor"))return 3;if(O("color=256"))return 2;if(e&&!e.isTTY&&S===void 0)return 0;let o=S||0;if(g.TERM==="dumb")return o;if(process.platform==="win32"){let t=xt.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(t[0])>=10&&Number(t[2])>=10586?Number(t[2])>=14931?3:2:1}if("CI"in g)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(t=>t in g)||g.CI_NAME==="codeship"?1:o;if("TEAMCITY_VERSION"in g)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(g.TEAMCITY_VERSION)?1:0;if(g.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in g){let t=parseInt((g.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(g.TERM_PROGRAM){case"iTerm.app":return t>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(g.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(g.TERM)||"COLORTERM"in g?1:o}function re(e){let o=bt(e);return yt(o)}Le.exports={supportsColor:re,stdout:re(process.stdout),stderr:re(process.stderr)}});var ze=E((F,B)=>{"use strict";var Ft=H("tty"),q=H("util");F.init=kt;F.log=St;F.formatArgs=vt;F.save=Et;F.load=jt;F.useColors=It;F.destroy=q.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");F.colors=[6,2,3,4,5,1];try{let e=Ae();e&&(e.stderr||e).level>=2&&(F.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{}F.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 It(){return"colors"in F.inspectOpts?!!F.inspectOpts.colors:Ft.isatty(process.stderr.fd)}function vt(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(`
1
+ "use strict";(()=>{var We=Object.create;var le=Object.defineProperty;var Ke=Object.getOwnPropertyDescriptor;var He=Object.getOwnPropertyNames;var Je=Object.getPrototypeOf,Ye=Object.prototype.hasOwnProperty;var J=(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 j=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var Ze=(e,o,t,n)=>{if(o&&typeof o=="object"||typeof o=="function")for(let r of He(o))!Ye.call(e,r)&&r!==t&&le(e,r,{get:()=>o[r],enumerable:!(n=Ke(o,r))||n.enumerable});return e};var M=(e,o,t)=>(t=e!=null?We(Je(e)):{},Ze(o||!e||!e.__esModule?le(t,"default",{value:e,enumerable:!0}):t,e));var Xe,R,Y,ue,V=I(()=>{"use strict";Xe=Object.freeze({left:0,top:0,width:16,height:16}),R=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Y=Object.freeze({...Xe,...R}),ue=Object.freeze({...Y,body:"",hidden:!1})});var Qe,G,Z=I(()=>{"use strict";V();Qe=Object.freeze({width:null,height:null}),G=Object.freeze({...Qe,...R})});function fe(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 pe=I(()=>{"use strict"});function X(e,o){let t=fe(e,o);for(let n in ue)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 me=I(()=>{"use strict";V();pe()});function de(e,o){let t=e.icons,n=e.aliases||Object.create(null),r=Object.create(null);function i(l){if(t[l])return r[l]=[];if(!(l in r)){r[l]=null;let f=n[l]&&n[l].parent,m=f&&i(f);m&&(r[l]=[f].concat(m))}return r[l]}return(o||Object.keys(t).concat(Object.keys(n))).forEach(i),r}var ge=I(()=>{"use strict"});function he(e,o,t){let n=e.icons,r=e.aliases||Object.create(null),i={};function l(f){i=X(n[f]||r[f],i)}return l(o),t.forEach(l),X(e,i)}function Ce(e,o){if(e.icons[o])return he(e,o,[]);let t=de(e,[o])[o];return t?he(e,o,t):null}var we=I(()=>{"use strict";me();ge()});function Q(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(et);if(n===null||!n.length)return e;let r=[],i=n.shift(),l=tt.test(i);for(;;){if(l){let f=parseFloat(i);isNaN(f)?r.push(i):r.push(Math.ceil(f*o*t)/t)}else r.push(i);if(i=n.shift(),i===void 0)return r.join("");l=!l}}var et,tt,xe=I(()=>{"use strict";et=/(-?[0-9.]*[0-9]+[0-9.]*)/g,tt=/^-?[0-9.]*[0-9]+[0-9.]*$/g});function ot(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 l=e.indexOf(">",i);if(l===-1)break;t+=e.slice(r+1,i).trim(),e=e.slice(0,n).trim()+e.slice(l+1)}return{defs:t,content:e}}function rt(e,o){return e?"<defs>"+e+"</defs>"+o:o}function ye(e,o,t){let n=ot(e);return rt(n.defs,o+n.content+t)}var be=I(()=>{"use strict"});function Fe(e,o){let t={...Y,...e},n={...G,...o},r={left:t.left,top:t.top,width:t.width,height:t.height},i=t.body;[t,n].forEach(u=>{let c=[],d=u.hFlip,y=u.vFlip,F=u.rotate;d?y?F+=2:(c.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),c.push("scale(-1 1)"),r.top=r.left=0):y&&(c.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),c.push("scale(1 -1)"),r.top=r.left=0);let g;switch(F<0&&(F-=Math.floor(F/4)*4),F=F%4,F){case 1:g=r.height/2+r.top,c.unshift("rotate(90 "+g.toString()+" "+g.toString()+")");break;case 2:c.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:g=r.width/2+r.left,c.unshift("rotate(-90 "+g.toString()+" "+g.toString()+")");break}F%2===1&&(r.left!==r.top&&(g=r.left,r.left=r.top,r.top=g),r.width!==r.height&&(g=r.width,r.width=r.height,r.height=g)),c.length&&(i=ye(i,'<g transform="'+c.join(" ")+'">',"</g>"))});let l=n.width,f=n.height,m=r.width,C=r.height,s,a;l===null?(a=f===null?"1em":f==="auto"?C:f,s=Q(a,m/C)):(s=l==="auto"?m:l,a=f===null?Q(s,C/m):f==="auto"?C:f);let p={},x=(u,c)=>{_(c)||(p[u]=c.toString())};x("width",s),x("height",a);let w=[r.left,r.top,m,C];return p.viewBox=w.join(" "),{attributes:p,viewBox:w,body:i}}var _,ee=I(()=>{"use strict";V();Z();xe();be();_=e=>e==="unset"||e==="undefined"||e==="none"});function Se(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 Oe=I(()=>{"use strict"});function it(e,o,t){let n=e.slice(0,e.indexOf(">")),r=(i,l)=>{let f=l.exec(n),m=f!=null,C=o[i];return!C&&!_(C)&&(typeof t=="number"?t>0&&(o[i]=`${t}em`):f&&(o[i]=f[1])),m};return[r("width",nt),r("height",st)]}async function U(e,o,t,n,r,i){let{scale:l,addXmlNs:f=!1}=n??{},{additionalProps:m={},iconCustomizer:C}=n?.customizations??{},s=await r?.()??{};await C?.(o,t,s),Object.keys(m).forEach(u=>{let c=m[u];c!=null&&(s[u]=c)}),i?.(s);let[a,p]=it(e,s,l);f&&(!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 x=Object.keys(s).map(u=>u==="width"&&a||u==="height"&&p?null:`${u}="${s[u]}"`).filter(u=>u!=null);if(x.length&&(e=e.replace(te,`<svg ${x.join(" ")} `)),n){let{defaultStyle:u,defaultClass:c}=n;c&&!e.includes("class=")&&(e=e.replace(te,`<svg class="${c}" `)),u&&!e.includes("style=")&&(e=e.replace(te,`<svg style="${u}" `))}let w=n?.usedProps;return w&&(Object.keys(m).forEach(u=>{let c=s[u];c!=null&&(w[u]=c)}),typeof s.width<"u"&&s.width!==null&&(w.width=s.width),typeof s.height<"u"&&s.height!==null&&(w.height=s.height)),e}var nt,st,te,oe=I(()=>{"use strict";ee();nt=/\swidth\s*=\s*["']([\w.]+)["']/,st=/\sheight\s*=\s*["']([\w.]+)["']/,te=/<svg\s+/});var je=j((io,Ee)=>{"use strict";var $=1e3,L=$*60,A=L*60,k=A*24,ct=k*7,at=k*365.25;Ee.exports=function(e,o){o=o||{};var t=typeof e;if(t==="string"&&e.length>0)return lt(e);if(t==="number"&&isFinite(e))return o.long?ft(e):ut(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function lt(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*at;case"weeks":case"week":case"w":return t*ct;case"days":case"day":case"d":return t*k;case"hours":case"hour":case"hrs":case"hr":case"h":return t*A;case"minutes":case"minute":case"mins":case"min":case"m":return t*L;case"seconds":case"second":case"secs":case"sec":case"s":return t*$;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return t;default:return}}}}function ut(e){var o=Math.abs(e);return o>=k?Math.round(e/k)+"d":o>=A?Math.round(e/A)+"h":o>=L?Math.round(e/L)+"m":o>=$?Math.round(e/$)+"s":e+"ms"}function ft(e){var o=Math.abs(e);return o>=k?q(e,o,k,"day"):o>=A?q(e,o,A,"hour"):o>=L?q(e,o,L,"minute"):o>=$?q(e,o,$,"second"):e+" ms"}function q(e,o,t,n){var r=o>=t*1.5;return Math.round(e/t)+" "+n+(r?"s":"")}});var re=j((co,ke)=>{"use strict";function pt(e){t.debug=t,t.default=t,t.coerce=m,t.disable=i,t.enable=r,t.enabled=l,t.humanize=je(),t.destroy=C,Object.keys(e).forEach(s=>{t[s]=e[s]}),t.names=[],t.skips=[],t.formatters={};function o(s){let a=0;for(let p=0;p<s.length;p++)a=(a<<5)-a+s.charCodeAt(p),a|=0;return t.colors[Math.abs(a)%t.colors.length]}t.selectColor=o;function t(s){let a,p=null,x,w;function u(...c){if(!u.enabled)return;let d=u,y=Number(new Date),F=y-(a||y);d.diff=F,d.prev=a,d.curr=y,a=y,c[0]=t.coerce(c[0]),typeof c[0]!="string"&&c.unshift("%O");let g=0;c[0]=c[0].replace(/%([a-zA-Z%])/g,(T,N)=>{if(T==="%%")return"%";g++;let E=t.formatters[N];if(typeof E=="function"){let Be=c[g];T=E.call(d,Be),c.splice(g,1),g--}return T}),t.formatArgs.call(d,c),(d.log||t.log).apply(d,c)}return u.namespace=s,u.useColors=t.useColors(),u.color=t.selectColor(s),u.extend=n,u.destroy=t.destroy,Object.defineProperty(u,"enabled",{enumerable:!0,configurable:!1,get:()=>p!==null?p:(x!==t.namespaces&&(x=t.namespaces,w=t.enabled(s)),w),set:c=>{p=c}}),typeof t.init=="function"&&t.init(u),u}function n(s,a){let p=t(this.namespace+(typeof a>"u"?":":a)+s);return p.log=this.log,p}function r(s){t.save(s),t.namespaces=s,t.names=[],t.skips=[];let a,p=(typeof s=="string"?s:"").split(/[\s,]+/),x=p.length;for(a=0;a<x;a++)p[a]&&(s=p[a].replace(/\*/g,".*?"),s[0]==="-"?t.skips.push(new RegExp("^"+s.slice(1)+"$")):t.names.push(new RegExp("^"+s+"$")))}function i(){let s=[...t.names.map(f),...t.skips.map(f).map(a=>"-"+a)].join(",");return t.enable(""),s}function l(s){if(s[s.length-1]==="*")return!0;let a,p;for(a=0,p=t.skips.length;a<p;a++)if(t.skips[a].test(s))return!1;for(a=0,p=t.names.length;a<p;a++)if(t.names[a].test(s))return!0;return!1}function f(s){return s.toString().substring(2,s.toString().length-2).replace(/\.\*\?$/,"*")}function m(s){return s instanceof Error?s.stack||s.message:s}function C(){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}ke.exports=pt});var Te=j((v,B)=>{"use strict";v.formatArgs=dt;v.save=gt;v.load=ht;v.useColors=mt;v.storage=Ct();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 mt(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1: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&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function dt(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+B.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 gt(e){try{e?v.storage.setItem("debug",e):v.storage.removeItem("debug")}catch{}}function ht(){let e;try{e=v.storage.getItem("debug")}catch{}return!e&&typeof process<"u"&&"env"in process&&(e=process.env.DEBUG),e}function Ct(){try{return localStorage}catch{}}B.exports=re()(v);var{formatters:wt}=B.exports;wt.j=function(e){try{return JSON.stringify(e)}catch(o){return"[UnexpectedJSONParseError]: "+o.message}}});var $e=j((ao,Re)=>{"use strict";Re.exports=(e,o)=>{o=o||process.argv;let t=e.startsWith("-")?"":e.length===1?"-":"--",n=o.indexOf(t+e),r=o.indexOf("--");return n!==-1&&(r===-1?!0:n<r)}});var Ae=j((lo,Le)=>{"use strict";var xt=J("os"),S=$e(),{env:h}=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 h&&(h.FORCE_COLOR===!0||h.FORCE_COLOR==="true"?O=1:h.FORCE_COLOR===!1||h.FORCE_COLOR==="false"?O=0:O=h.FORCE_COLOR.length===0?1:Math.min(parseInt(h.FORCE_COLOR,10),3));function yt(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function bt(e){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&&!e.isTTY&&O===void 0)return 0;let o=O||0;if(h.TERM==="dumb")return o;if(process.platform==="win32"){let t=xt.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(t[0])>=10&&Number(t[2])>=10586?Number(t[2])>=14931?3:2:1}if("CI"in h)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(t=>t in h)||h.CI_NAME==="codeship"?1:o;if("TEAMCITY_VERSION"in h)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(h.TEAMCITY_VERSION)?1:0;if(h.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in h){let t=parseInt((h.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(h.TERM_PROGRAM){case"iTerm.app":return t>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(h.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(h.TERM)||"COLORTERM"in h?1:o}function ne(e){let o=bt(e);return yt(o)}Le.exports={supportsColor:ne,stdout:ne(process.stdout),stderr:ne(process.stderr)}});var _e=j((b,K)=>{"use strict";var Ft=J("tty"),W=J("util");b.init=kt;b.log=Ot;b.formatArgs=vt;b.save=Et;b.load=jt;b.useColors=It;b.destroy=W.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");b.colors=[6,2,3,4,5,1];try{let e=Ae();e&&(e.stderr||e).level>=2&&(b.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{}b.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 It(){return"colors"in b.inspectOpts?!!b.inspectOpts.colors:Ft.isatty(process.stderr.fd)}function vt(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(`
2
2
  `).join(`
3
- `+s),e.push(r+"m+"+B.exports.humanize(this.diff)+"\x1B[0m")}else e[0]=Ot()+o+" "+e[0]}function Ot(){return F.inspectOpts.hideDate?"":new Date().toISOString()+" "}function St(...e){return process.stderr.write(q.format(...e)+`
4
- `)}function Et(e){e?process.env.DEBUG=e:delete process.env.DEBUG}function jt(){return process.env.DEBUG}function kt(e){e.inspectOpts={};let o=Object.keys(F.inspectOpts);for(let t=0;t<o.length;t++)e.inspectOpts[o[t]]=F.inspectOpts[o[t]]}B.exports=oe()(F);var{formatters:Pe}=B.exports;Pe.o=function(e){return this.inspectOpts.colors=this.useColors,q.inspect(e,this.inspectOpts).split(`
5
- `).map(o=>o.trim()).join(" ")};Pe.O=function(e){return this.inspectOpts.colors=this.useColors,q.inspect(e,this.inspectOpts)}});var z=E((lo,ne)=>{"use strict";typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?ne.exports=Te():ne.exports=ze()});async function ie(e,o,t,n){let r;Tt(`${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:u}=n?.customizations??{};return r=typeof u=="function"?await u(r,o,t):r,r.startsWith("<svg")?await V(n?.customizations?.trimCustomSvg===!0?Oe(r):r,o,t,n,void 0):(console.warn(`Custom icon "${t}" in "${o}" is not a valid SVG`),r)}}var _e,Tt,Me=I(()=>{"use strict";_e=M(z(),1);te();Se();Tt=(0,_e.default)("@iconify-loader:custom")});async function W(e,o,t,n){let r,{customize:s}=n?.customizations??{};for(let u of t)if(r=Ce(e,u),r){Rt(`${o}:${u}`);let f={...N};typeof s=="function"&&(f=s(f));let{attributes:{width:m,height:C,...i},body:a}=Fe(r,f),p=n?.scale;return await V(`<svg >${a}</svg>`,o,u,n,()=>({...i}),h=>{let w=(l,c)=>{let x=h[l],y;if(!P(x)){if(x)return;typeof p=="number"?p&&(y=`${p}em`):y=c}y?h[l]=y:delete h[l]};w("width",m),w("height",C)})}}var De,Rt,se=I(()=>{"use strict";Q();we();te();De=M(z(),1);Y();Rt=(0,De.default)("@iconify-loader:icon")});var bo,_,ce=I(()=>{"use strict";Me();se();bo=M(z(),1),_=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 ie(()=>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 W(r,e,s,t)}}}else return await ie(n,e,o,t)}});function Ie(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function ve(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" ')),Ie(o)}ce();var Io=M(z(),1);var Ne=new Set;function Ve(e){Ne.has(e)||(console.warn("[unocss]",e),Ne.add(e))}ce();se();var Ge=["academicons","akar-icons","ant-design","arcticons","basil","bi","bpmn","brandico","bx","bxl","bxs","bytesize","carbon","charm","ci","cib","cif","cil","circle-flags","circum","clarity","codicon","covid","cryptocurrency-color","cryptocurrency","dashicons","devicon-line","devicon-original","devicon-plain","devicon","ei","el","emblemicons","emojione-monotone","emojione-v1","emojione","entypo-social","entypo","eos-icons","ep","et","eva","fa-brands","fa-regular","fa-solid","fa","fa6-brands","fa6-regular","fa6-solid","fad","fe","feather","file-icons","flag","flagpack","flat-color-icons","flat-ui","fluent-emoji-flat","fluent-emoji-high-contrast","fluent-emoji","fluent-mdl2","fluent","fontelico","fontisto","formkit","foundation","fxemoji","gala","game-icons","geo","gg","gis","gravity-ui","gridicons","grommet-icons","guidance","healthicons","heroicons-outline","heroicons-solid","heroicons","humbleicons","ic","icomoon-free","icon-park-outline","icon-park-solid","icon-park-twotone","icon-park","iconamoon","iconoir","icons8","il","ion","iwwa","jam","la","lets-icons","line-md","logos","ls","lucide","majesticons","maki","map","material-symbols-light","material-symbols","mdi-light","mdi","medical-icon","memory","meteocons","mi","mingcute","mono-icons","mynaui","nimbus","nonicons","noto-v1","noto","octicon","oi","ooui","openmoji","pajamas","pepicons-pencil","pepicons-pop","pepicons-print","pepicons","ph","pixelarticons","prime","ps","quill","radix-icons","raphael","ri","si-glyph","simple-icons","simple-line-icons","skill-icons","solar","streamline-emojis","streamline","subway","svg-spinners","system-uicons","tabler","tdesign","teenyicons","topcoat","twemoji","typcn","uil","uim","uis","uit","uiw","vaadin","vs","vscode-icons","websymbol","whh","wi","wpf","zmdi","zondicons"];var Lt=3;function Ue(e){return(o={})=>{let{scale:t=1,mode:n="auto",prefix:r="i-",warn:s=!1,collections:u,extraProperties:f={},customizations:m={},autoInstall:C=!1,layer:i="icons",unit:a}=o,p={addXmlNs:!0,scale:t,customCollections:u,autoInstall:C,warn:void 0,customizations:{...m,additionalProps:{...f},trimCustomSvg:!0,async iconCustomizer(w,l,c){await m.iconCustomizer?.(w,l,c),a&&(c.width||(c.width=`${t}${a}`),c.height||(c.height=`${t}${a}`))}}},h;return{name:"@unocss/preset-icons",enforce:"pre",options:o,layers:{icons:-30},rules:[[/^([a-z0-9:_-]+)(?:\?(mask|bg|auto))?$/,async([w,l,c=n])=>{let x="",y="",b;h=h||await e(o);let d={};if(l.includes(":"))[x,y]=l.split(":"),b=await h(x,y,{...p,usedProps:d});else{let k=l.split(/-/g);for(let T=Lt;T>=1&&(x=k.slice(0,T).join("-"),y=k.slice(T).join("-"),b=await h(x,y,{...p,usedProps:d}),!b);T--);}if(!b){s&&Ve(`failed to load icon "${w}"`);return}let K=`url("data:image/svg+xml;utf8,${ve(b)}")`;return c==="auto"&&(c=b.includes("currentColor")?"mask":"bg"),c==="mask"?{"--un-icon":K,"-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",...d}:{background:`${K} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...d}},{layer:i,prefix:r}]]}}}function qe(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,s,u)=>{let f=await _(r,s,u);if(f)return f;let m=await n(r);if(m){let C=[s,s.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),s.replace(/([a-z])(\d+)/g,"$1-$2")];f=await W(m,r,C,u)}return f}}window.__unocss_runtime=window.__unocss_runtime??{};window.__unocss_runtime.presets=Object.assign(window.__unocss_runtime?.presets??{},(()=>{let e=Ue(async o=>{let t=o?.customFetch??(r=>fetch(r).then(s=>s.json())),n=o?.cdn;return n?qe(t,n):_});return{presetIcons:o=>e(o)}})());})();
3
+ `+i),e.push(r+"m+"+K.exports.humanize(this.diff)+"\x1B[0m")}else e[0]=St()+o+" "+e[0]}function St(){return b.inspectOpts.hideDate?"":new Date().toISOString()+" "}function Ot(...e){return process.stderr.write(W.format(...e)+`
4
+ `)}function Et(e){e?process.env.DEBUG=e:delete process.env.DEBUG}function jt(){return process.env.DEBUG}function kt(e){e.inspectOpts={};let o=Object.keys(b.inspectOpts);for(let t=0;t<o.length;t++)e.inspectOpts[o[t]]=b.inspectOpts[o[t]]}K.exports=re()(b);var{formatters:Pe}=K.exports;Pe.o=function(e){return this.inspectOpts.colors=this.useColors,W.inspect(e,this.inspectOpts).split(`
5
+ `).map(o=>o.trim()).join(" ")};Pe.O=function(e){return this.inspectOpts.colors=this.useColors,W.inspect(e,this.inspectOpts)}});var z=j((uo,se)=>{"use strict";typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?se.exports=Te():se.exports=_e()});async function ie(e,o,t,n){let r;Tt(`${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:l}=n?.customizations??{};return r=typeof l=="function"?await l(r,o,t):r,r.startsWith("<svg")?await U(n?.customizations?.trimCustomSvg===!0?Se(r):r,o,t,n,void 0):(console.warn(`Custom icon "${t}" in "${o}" is not a valid SVG`),r)}}var ze,Tt,De=I(()=>{"use strict";ze=M(z(),1);oe();Oe();Tt=(0,ze.default)("@iconify-loader:custom")});async function H(e,o,t,n){let r,{customize:i}=n?.customizations??{};for(let l of t)if(r=Ce(e,l),r){Rt(`${o}:${l}`);let f={...G};typeof i=="function"&&(f=i(f));let{attributes:{width:m,height:C,...s},body:a}=Fe(r,f),p=n?.scale;return await U(`<svg >${a}</svg>`,o,l,n,()=>({...s}),x=>{let w=(u,c)=>{let d=x[u],y;if(!_(d)){if(d)return;typeof p=="number"?p&&(y=`${p}em`):y=c}y?x[u]=y:delete x[u]};w("width",m),w("height",C)})}}var Ne,Rt,ce=I(()=>{"use strict";ee();we();oe();Ne=M(z(),1);Z();Rt=(0,Ne.default)("@iconify-loader:icon")});var Fo,D,ae=I(()=>{"use strict";De();ce();Fo=M(z(),1),D=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 ie(()=>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 H(r,e,i,t)}}}else return await ie(n,e,o,t)}});function Ie(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function ve(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" ')),Ie(o)}ae();var vo=M(z(),1);var Me=new Set;function Ve(e){Me.has(e)||(console.warn("[unocss]",e),Me.add(e))}ae();ce();var Ge=["academicons","akar-icons","ant-design","arcticons","basil","bi","bitcoin-icons","bpmn","brandico","bx","bxl","bxs","bytesize","carbon","cbi","charm","ci","cib","cif","cil","circle-flags","circum","clarity","codicon","covid","cryptocurrency-color","cryptocurrency","dashicons","devicon-line","devicon-original","devicon-plain","devicon","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","fe","feather","file-icons","flag","flagpack","flat-color-icons","flat-ui","flowbite","fluent-emoji-flat","fluent-emoji-high-contrast","fluent-emoji","fluent-mdl2","fluent","fontelico","fontisto","formkit","foundation","fxemoji","gala","game-icons","geo","gg","gis","gravity-ui","gridicons","grommet-icons","guidance","healthicons","heroicons-outline","heroicons-solid","heroicons","humbleicons","ic","icomoon-free","icon-park-outline","icon-park-solid","icon-park-twotone","icon-park","iconamoon","iconoir","icons8","il","ion","iwwa","jam","la","lets-icons","line-md","logos","ls","lucide","majesticons","maki","map","material-symbols-light","material-symbols","mdi-light","mdi","medical-icon","memory","meteocons","mi","mingcute","mono-icons","mynaui","nimbus","nonicons","noto-v1","noto","octicon","oi","ooui","openmoji","oui","pajamas","pepicons-pencil","pepicons-pop","pepicons-print","pepicons","ph","pixelarticons","prime","ps","quill","radix-icons","raphael","ri","si-glyph","simple-icons","simple-line-icons","skill-icons","solar","streamline-emojis","streamline","subway","svg-spinners","system-uicons","tabler","tdesign","teenyicons","topcoat","twemoji","typcn","uil","uim","uis","uit","uiw","vaadin","vs","vscode-icons","websymbol","whh","wi","wpf","zmdi","zondicons"];var Lt=3;function Ue(e){return(o={})=>{let{scale:t=1,mode:n="auto",prefix:r="i-",warn:i=!1,collections:l,extraProperties:f={},customizations:m={},autoInstall:C=!1,layer:s="icons",unit:a}=o,p=At(),x={addXmlNs:!0,scale:t,customCollections:l,autoInstall:C,warn:void 0,customizations:{...m,additionalProps:{...f},trimCustomSvg:!0,async iconCustomizer(u,c,d){await m.iconCustomizer?.(u,c,d),a&&(d.width||(d.width=`${t}${a}`),d.height||(d.height=`${t}${a}`))}}},w;return{name:"@unocss/preset-icons",enforce:"pre",options:o,layers:{icons:-30},rules:[[/^([a-z0-9:_-]+)(?:\?(mask|bg|auto))?$/,async([u,c,d=n])=>{let y="",F="",g;w=w||await e(o);let P={};if(c.includes(":"))[y,F]=c.split(":"),g=await w(y,F,{...x,usedProps:P});else{let N=c.split(/-/g);for(let E=Lt;E>=1&&(y=N.slice(0,E).join("-"),F=N.slice(E).join("-"),g=await w(y,F,{...x,usedProps:P}),!g);E--);}if(!g){i&&!p.isESLint&&Ve(`failed to load icon "${u}"`);return}let T=`url("data:image/svg+xml;utf8,${ve(g)}")`;return d==="auto"&&(d=g.includes("currentColor")?"mask":"bg"),d==="mask"?{"--un-icon":T,"-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",...P}:{background:`${T} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...P}},{layer:s,prefix:r}]]}}}function qe(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,l)=>{let f=await D(r,i,l);if(f)return f;let m=await n(r);if(m){let C=[i,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),i.replace(/([a-z])(\d+)/g,"$1-$2")];f=await H(m,r,C,l)}return f}}function At(){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}}window.__unocss_runtime=window.__unocss_runtime??{};window.__unocss_runtime.presets=Object.assign(window.__unocss_runtime?.presets??{},(()=>{let e=Ue(async o=>{let t=o?.customFetch??(r=>fetch(r).then(i=>i.json())),n=o?.cdn;return n?qe(t,n):D});return{presetIcons:o=>e(o)}})());})();