@unocss/runtime 0.59.4 → 0.60.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unocss/runtime",
3
3
  "type": "module",
4
- "version": "0.59.4",
4
+ "version": "0.60.0",
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": "0.59.4",
39
- "@unocss/preset-uno": "0.59.4",
40
- "@unocss/preset-attributify": "0.59.4"
38
+ "@unocss/core": "0.60.0",
39
+ "@unocss/preset-attributify": "0.60.0",
40
+ "@unocss/preset-uno": "0.60.0"
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 fe=Object.defineProperty;var Je=Object.getOwnPropertyDescriptor;var Ze=Object.getOwnPropertyNames;var Ye=Object.getPrototypeOf,Xe=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 F=(e,o)=>()=>(e&&(o=e(e=0)),o);var k=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var Qe=(e,o,t,n)=>{if(o&&typeof o=="object"||typeof o=="function")for(let r of Ze(o))!Xe.call(e,r)&&r!==t&&fe(e,r,{get:()=>o[r],enumerable:!(n=Je(o,r))||n.enumerable});return e};var U=(e,o,t)=>(t=e!=null?He(Ye(e)):{},Qe(o||!e||!e.__esModule?fe(t,"default",{value:e,enumerable:!0}):t,e));var et,R,Y,pe,G=F(()=>{"use strict";et=Object.freeze({left:0,top:0,width:16,height:16}),R=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Y=Object.freeze({...et,...R}),pe=Object.freeze({...Y,body:"",hidden:!1})});var tt,q,X=F(()=>{"use strict";G();tt=Object.freeze({width:null,height:null}),q=Object.freeze({...tt,...R})});function me(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 de=F(()=>{"use strict"});function Q(e,o){let t=me(e,o);for(let n in pe)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 ge=F(()=>{"use strict";G();de()});function he(e,o){let t=e.icons,n=e.aliases||Object.create(null),r=Object.create(null);function s(l){if(t[l])return r[l]=[];if(!(l in r)){r[l]=null;let f=n[l]&&n[l].parent,m=f&&s(f);m&&(r[l]=[f].concat(m))}return r[l]}return(o||Object.keys(t).concat(Object.keys(n))).forEach(s),r}var Ce=F(()=>{"use strict"});function we(e,o,t){let n=e.icons,r=e.aliases||Object.create(null),s={};function l(f){s=Q(n[f]||r[f],s)}return l(o),t.forEach(l),Q(e,s)}function xe(e,o){if(e.icons[o])return we(e,o,[]);let t=he(e,[o])[o];return t?we(e,o,t):null}var ye=F(()=>{"use strict";ge();Ce()});function ee(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(ot);if(n===null||!n.length)return e;let r=[],s=n.shift(),l=rt.test(s);for(;;){if(l){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("");l=!l}}var ot,rt,be=F(()=>{"use strict";ot=/(-?[0-9.]*[0-9]+[0-9.]*)/g,rt=/^-?[0-9.]*[0-9]+[0-9.]*$/g});function nt(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 l=e.indexOf(">",s);if(l===-1)break;t+=e.slice(r+1,s).trim(),e=e.slice(0,n).trim()+e.slice(l+1)}return{defs:t,content:e}}function it(e,o){return e?"<defs>"+e+"</defs>"+o:o}function Ie(e,o,t){let n=nt(e);return it(n.defs,o+n.content+t)}var Fe=F(()=>{"use strict"});function ve(e,o){let t={...Y,...e},n={...q,...o},r={left:t.left,top:t.top,width:t.width,height:t.height},s=t.body;[t,n].forEach(a=>{let c=[],C=a.hFlip,d=a.vFlip,I=a.rotate;C?d?I+=2:(c.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),c.push("scale(-1 1)"),r.top=r.left=0):d&&(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(I<0&&(I-=Math.floor(I/4)*4),I=I%4,I){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}I%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&&(s=Ie(s,'<g transform="'+c.join(" ")+'">',"</g>"))});let l=n.width,f=n.height,m=r.width,h=r.height,i,u;l===null?(u=f===null?"1em":f==="auto"?h:f,i=ee(u,m/h)):(i=l==="auto"?m:l,u=f===null?ee(i,h/m):f==="auto"?h:f);let p={},y=(a,c)=>{_(c)||(p[a]=c.toString())};y("width",i),y("height",u);let b=[r.left,r.top,m,h];return p.viewBox=b.join(" "),{attributes:p,viewBox:b,body:s}}var _,te=F(()=>{"use strict";G();X();be();Fe();_=e=>e==="unset"||e==="undefined"||e==="none"});function Ee(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 je=F(()=>{"use strict"});function at(e,o,t){let n=e.slice(0,e.indexOf(">")),r=(s,l)=>{let f=l.exec(n),m=f!=null,h=o[s];return!h&&!_(h)&&(typeof t=="number"?t>0&&(o[s]=`${t}em`):f&&(o[s]=f[1])),m};return[r("width",st),r("height",ct)]}async function B(e,o,t,n,r,s){let{scale:l,addXmlNs:f=!1}=n??{},{additionalProps:m={},iconCustomizer:h}=n?.customizations??{},i=await r?.()??{};await h?.(o,t,i),Object.keys(m).forEach(a=>{let c=m[a];c!=null&&(i[a]=c)}),s?.(i);let[u,p]=at(e,i,l);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 y=Object.keys(i).map(a=>a==="width"&&u||a==="height"&&p?null:`${a}="${i[a]}"`).filter(a=>a!=null);if(y.length&&(e=e.replace(oe,`<svg ${y.join(" ")} `)),n){let{defaultStyle:a,defaultClass:c}=n;c&&!e.includes("class=")&&(e=e.replace(oe,`<svg class="${c}" `)),a&&!e.includes("style=")&&(e=e.replace(oe,`<svg style="${a}" `))}let b=n?.usedProps;return b&&(Object.keys(m).forEach(a=>{let c=i[a];c!=null&&(b[a]=c)}),typeof i.width<"u"&&i.width!==null&&(b.width=i.width),typeof i.height<"u"&&i.height!==null&&(b.height=i.height)),e}var st,ct,oe,re=F(()=>{"use strict";te();st=/\swidth\s*=\s*["']([\w.]+)["']/,ct=/\sheight\s*=\s*["']([\w.]+)["']/,oe=/<svg\s+/});var Te=k((co,ke)=>{"use strict";var L=1e3,A=L*60,P=A*60,T=P*24,lt=T*7,ut=T*365.25;ke.exports=function(e,o){o=o||{};var t=typeof e;if(t==="string"&&e.length>0)return ft(e);if(t==="number"&&isFinite(e))return o.long?mt(e):pt(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function ft(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*ut;case"weeks":case"week":case"w":return t*lt;case"days":case"day":case"d":return t*T;case"hours":case"hour":case"hrs":case"hr":case"h":return t*P;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*L;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return t;default:return}}}}function pt(e){var o=Math.abs(e);return o>=T?Math.round(e/T)+"d":o>=P?Math.round(e/P)+"h":o>=A?Math.round(e/A)+"m":o>=L?Math.round(e/L)+"s":e+"ms"}function mt(e){var o=Math.abs(e);return o>=T?W(e,o,T,"day"):o>=P?W(e,o,P,"hour"):o>=A?W(e,o,A,"minute"):o>=L?W(e,o,L,"second"):e+" ms"}function W(e,o,t,n){var r=o>=t*1.5;return Math.round(e/t)+" "+n+(r?"s":"")}});var ne=k((ao,$e)=>{"use strict";function dt(e){t.debug=t,t.default=t,t.coerce=m,t.disable=s,t.enable=r,t.enabled=l,t.humanize=Te(),t.destroy=h,Object.keys(e).forEach(i=>{t[i]=e[i]}),t.names=[],t.skips=[],t.formatters={};function o(i){let u=0;for(let p=0;p<i.length;p++)u=(u<<5)-u+i.charCodeAt(p),u|=0;return t.colors[Math.abs(u)%t.colors.length]}t.selectColor=o;function t(i){let u,p=null,y,b;function a(...c){if(!a.enabled)return;let C=a,d=Number(new Date),I=d-(u||d);C.diff=I,C.prev=u,C.curr=d,u=d,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,(O,M)=>{if(O==="%%")return"%";g++;let z=t.formatters[M];if(typeof z=="function"){let $=c[g];O=z.call(C,$),c.splice(g,1),g--}return O}),t.formatArgs.call(C,c),(C.log||t.log).apply(C,c)}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:(y!==t.namespaces&&(y=t.namespaces,b=t.enabled(i)),b),set:c=>{p=c}}),typeof t.init=="function"&&t.init(a),a}function n(i,u){let p=t(this.namespace+(typeof u>"u"?":":u)+i);return p.log=this.log,p}function r(i){t.save(i),t.namespaces=i,t.names=[],t.skips=[];let u,p=(typeof i=="string"?i:"").split(/[\s,]+/),y=p.length;for(u=0;u<y;u++)p[u]&&(i=p[u].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(u=>"-"+u)].join(",");return t.enable(""),i}function l(i){if(i[i.length-1]==="*")return!0;let u,p;for(u=0,p=t.skips.length;u<p;u++)if(t.skips[u].test(i))return!1;for(u=0,p=t.names.length;u<p;u++)if(t.names[u].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 h(){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=dt});var Re=k((v,K)=>{"use strict";v.formatArgs=ht;v.save=Ct;v.load=wt;v.useColors=gt;v.storage=xt();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 gt(){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 ht(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+K.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 Ct(e){try{e?v.storage.setItem("debug",e):v.storage.removeItem("debug")}catch{}}function wt(){let e;try{e=v.storage.getItem("debug")}catch{}return!e&&typeof process<"u"&&"env"in process&&(e=process.env.DEBUG),e}function xt(){try{return localStorage}catch{}}K.exports=ne()(v);var{formatters:yt}=K.exports;yt.j=function(e){try{return JSON.stringify(e)}catch(o){return"[UnexpectedJSONParseError]: "+o.message}}});var Ae=k((lo,Le)=>{"use strict";Le.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 _e=k((uo,ze)=>{"use strict";var bt=V("os"),Pe=V("tty"),S=Ae(),{env:w}=process,E;S("no-color")||S("no-colors")||S("color=false")||S("color=never")?E=0:(S("color")||S("colors")||S("color=true")||S("color=always"))&&(E=1);"FORCE_COLOR"in w&&(w.FORCE_COLOR==="true"?E=1:w.FORCE_COLOR==="false"?E=0:E=w.FORCE_COLOR.length===0?1:Math.min(parseInt(w.FORCE_COLOR,10),3));function ie(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function se(e,o){if(E===0)return 0;if(S("color=16m")||S("color=full")||S("color=truecolor"))return 3;if(S("color=256"))return 2;if(e&&!o&&E===void 0)return 0;let t=E||0;if(w.TERM==="dumb")return t;if(process.platform==="win32"){let n=bt.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 It(e){let o=se(e,e&&e.isTTY);return ie(o)}ze.exports={supportsColor:It,stdout:ie(se(!0,Pe.isatty(1))),stderr:ie(se(!0,Pe.isatty(2)))}});var De=k((x,J)=>{"use strict";var Ft=V("tty"),H=V("util");x.init=Tt;x.log=Et;x.formatArgs=St;x.save=jt;x.load=kt;x.useColors=vt;x.destroy=H.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=_e();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 vt(){return"colors"in x.inspectOpts?!!x.inspectOpts.colors:Ft.isatty(process.stderr.fd)}function St(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 Ye=Object.create;var de=Object.defineProperty;var Xe=Object.getOwnPropertyDescriptor;var Qe=Object.getOwnPropertyNames;var et=Object.getPrototypeOf,tt=Object.prototype.hasOwnProperty;var U=(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 F=(e,o)=>()=>(e&&(o=e(e=0)),o);var T=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var ot=(e,o,t,n)=>{if(o&&typeof o=="object"||typeof o=="function")for(let r of Qe(o))!tt.call(e,r)&&r!==t&&de(e,r,{get:()=>o[r],enumerable:!(n=Xe(o,r))||n.enumerable});return e};var G=(e,o,t)=>(t=e!=null?Ye(et(e)):{},ot(o||!e||!e.__esModule?de(t,"default",{value:e,enumerable:!0}):t,e));var rt,A,X,ge,q=F(()=>{"use strict";rt=Object.freeze({left:0,top:0,width:16,height:16}),A=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),X=Object.freeze({...rt,...A}),ge=Object.freeze({...X,body:"",hidden:!1})});var nt,B,Q=F(()=>{"use strict";q();nt=Object.freeze({width:null,height:null}),B=Object.freeze({...nt,...A})});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=F(()=>{"use strict"});function ee(e,o){let t=he(e,o);for(let n in ge)n in A?n in e&&!(n in t)&&(t[n]=A[n]):n in o?t[n]=o[n]:n in e&&(t[n]=e[n]);return t}var we=F(()=>{"use strict";q();Ce()});function xe(e,o){let t=e.icons,n=e.aliases||Object.create(null),r=Object.create(null);function s(a){if(t[a])return r[a]=[];if(!(a in r)){r[a]=null;let f=n[a]&&n[a].parent,m=f&&s(f);m&&(r[a]=[f].concat(m))}return r[a]}return(o||Object.keys(t).concat(Object.keys(n))).forEach(s),r}var ye=F(()=>{"use strict"});function be(e,o,t){let n=e.icons,r=e.aliases||Object.create(null),s={};function a(f){s=ee(n[f]||r[f],s)}return a(o),t.forEach(a),ee(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 Fe=F(()=>{"use strict";we();ye()});function te(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(it);if(n===null||!n.length)return e;let r=[],s=n.shift(),a=st.test(s);for(;;){if(a){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("");a=!a}}var it,st,ve=F(()=>{"use strict";it=/(-?[0-9.]*[0-9]+[0-9.]*)/g,st=/^-?[0-9.]*[0-9]+[0-9.]*$/g});function ct(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 a=e.indexOf(">",s);if(a===-1)break;t+=e.slice(r+1,s).trim(),e=e.slice(0,n).trim()+e.slice(a+1)}return{defs:t,content:e}}function at(e,o){return e?"<defs>"+e+"</defs>"+o:o}function Se(e,o,t){let n=ct(e);return at(n.defs,o+n.content+t)}var Oe=F(()=>{"use strict"});function Ee(e,o){let t={...X,...e},n={...B,...o},r={left:t.left,top:t.top,width:t.width,height:t.height},s=t.body;[t,n].forEach(u=>{let c=[],y=u.hFlip,b=u.vFlip,d=u.rotate;y?b?d+=2:(c.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),c.push("scale(-1 1)"),r.top=r.left=0):b&&(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(d<0&&(d-=Math.floor(d/4)*4),d=d%4,d){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}d%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&&(s=Se(s,'<g transform="'+c.join(" ")+'">',"</g>"))});let a=n.width,f=n.height,m=r.width,h=r.height,i,l;a===null?(l=f===null?"1em":f==="auto"?h:f,i=te(l,m/h)):(i=a==="auto"?m:a,l=f===null?te(i,h/m):f==="auto"?h:f);let p={},x=(u,c)=>{N(c)||(p[u]=c.toString())};x("width",i),x("height",l);let I=[r.left,r.top,m,h];return p.viewBox=I.join(" "),{attributes:p,viewBox:I,body:s}}var N,oe=F(()=>{"use strict";q();Q();ve();Oe();N=e=>e==="unset"||e==="undefined"||e==="none"});function Te(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 $e=F(()=>{"use strict"});function ft(e,o,t){let n=e.slice(0,e.indexOf(">")),r=(s,a)=>{let f=a.exec(n),m=f!=null,h=o[s];return!h&&!N(h)&&(typeof t=="number"?t>0&&(o[s]=`${t}em`):f&&(o[s]=f[1])),m};return[r("width",lt),r("height",ut)]}async function W(e,o,t,n,r,s){let{scale:a,addXmlNs:f=!1}=n??{},{additionalProps:m={},iconCustomizer:h}=n?.customizations??{},i=await r?.()??{};await h?.(o,t,i),Object.keys(m).forEach(u=>{let c=m[u];c!=null&&(i[u]=c)}),s?.(i);let[l,p]=ft(e,i,a);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 x=Object.keys(i).map(u=>u==="width"&&l||u==="height"&&p?null:`${u}="${i[u]}"`).filter(u=>u!=null);if(x.length&&(e=e.replace(re,`<svg ${x.join(" ")} `)),n){let{defaultStyle:u,defaultClass:c}=n;c&&!e.includes("class=")&&(e=e.replace(re,`<svg class="${c}" `)),u&&!e.includes("style=")&&(e=e.replace(re,`<svg style="${u}" `))}let I=n?.usedProps;return I&&(Object.keys(m).forEach(u=>{let c=i[u];c!=null&&(I[u]=c)}),typeof i.width<"u"&&i.width!==null&&(I.width=i.width),typeof i.height<"u"&&i.height!==null&&(I.height=i.height)),e}var lt,ut,re,ne=F(()=>{"use strict";oe();lt=/\swidth\s*=\s*["']([\w.]+)["']/,ut=/\sheight\s*=\s*["']([\w.]+)["']/,re=/<svg\s+/});var Le=T((uo,Re)=>{"use strict";var P=1e3,_=P*60,z=_*60,$=z*24,pt=$*7,mt=$*365.25;Re.exports=function(e,o){o=o||{};var t=typeof e;if(t==="string"&&e.length>0)return dt(e);if(t==="number"&&isFinite(e))return o.long?ht(e):gt(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function dt(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*mt;case"weeks":case"week":case"w":return t*pt;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*_;case"seconds":case"second":case"secs":case"sec":case"s":return t*P;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return t;default:return}}}}function gt(e){var o=Math.abs(e);return o>=$?Math.round(e/$)+"d":o>=z?Math.round(e/z)+"h":o>=_?Math.round(e/_)+"m":o>=P?Math.round(e/P)+"s":e+"ms"}function ht(e){var o=Math.abs(e);return o>=$?K(e,o,$,"day"):o>=z?K(e,o,z,"hour"):o>=_?K(e,o,_,"minute"):o>=P?K(e,o,P,"second"):e+" ms"}function K(e,o,t,n){var r=o>=t*1.5;return Math.round(e/t)+" "+n+(r?"s":"")}});var ie=T((fo,Ae)=>{"use strict";function Ct(e){t.debug=t,t.default=t,t.coerce=m,t.disable=s,t.enable=r,t.enabled=a,t.humanize=Le(),t.destroy=h,Object.keys(e).forEach(i=>{t[i]=e[i]}),t.names=[],t.skips=[],t.formatters={};function o(i){let l=0;for(let p=0;p<i.length;p++)l=(l<<5)-l+i.charCodeAt(p),l|=0;return t.colors[Math.abs(l)%t.colors.length]}t.selectColor=o;function t(i){let l,p=null,x,I;function u(...c){if(!u.enabled)return;let y=u,b=Number(new Date),d=b-(l||b);y.diff=d,y.prev=l,y.curr=b,l=b,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,(O,E)=>{if(O==="%%")return"%";g++;let k=t.formatters[E];if(typeof k=="function"){let L=c[g];O=k.call(y,L),c.splice(g,1),g--}return O}),t.formatArgs.call(y,c),(y.log||t.log).apply(y,c)}return u.namespace=i,u.useColors=t.useColors(),u.color=t.selectColor(i),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,I=t.enabled(i)),I),set:c=>{p=c}}),typeof t.init=="function"&&t.init(u),u}function n(i,l){let p=t(this.namespace+(typeof l>"u"?":":l)+i);return p.log=this.log,p}function r(i){t.save(i),t.namespaces=i,t.names=[],t.skips=[];let l,p=(typeof i=="string"?i:"").split(/[\s,]+/),x=p.length;for(l=0;l<x;l++)p[l]&&(i=p[l].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(l=>"-"+l)].join(",");return t.enable(""),i}function a(i){if(i[i.length-1]==="*")return!0;let l,p;for(l=0,p=t.skips.length;l<p;l++)if(t.skips[l].test(i))return!1;for(l=0,p=t.names.length;l<p;l++)if(t.names[l].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 h(){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=Ct});var Pe=T((v,H)=>{"use strict";v.formatArgs=xt;v.save=yt;v.load=bt;v.useColors=wt;v.storage=It();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 wt(){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 xt(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 yt(e){try{e?v.storage.setItem("debug",e):v.storage.removeItem("debug")}catch{}}function bt(){let e;try{e=v.storage.getItem("debug")}catch{}return!e&&typeof process<"u"&&"env"in process&&(e=process.env.DEBUG),e}function It(){try{return localStorage}catch{}}H.exports=ie()(v);var{formatters:Ft}=H.exports;Ft.j=function(e){try{return JSON.stringify(e)}catch(o){return"[UnexpectedJSONParseError]: "+o.message}}});var ze=T((po,_e)=>{"use strict";_e.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 Me=T((mo,De)=>{"use strict";var vt=U("os"),Ne=U("tty"),S=ze(),{env:C}=process,j;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);"FORCE_COLOR"in C&&(C.FORCE_COLOR==="true"?j=1:C.FORCE_COLOR==="false"?j=0:j=C.FORCE_COLOR.length===0?1:Math.min(parseInt(C.FORCE_COLOR,10),3));function se(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function ce(e,o){if(j===0)return 0;if(S("color=16m")||S("color=full")||S("color=truecolor"))return 3;if(S("color=256"))return 2;if(e&&!o&&j===void 0)return 0;let t=j||0;if(C.TERM==="dumb")return t;if(process.platform==="win32"){let n=vt.release().split(".");return Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in C)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(n=>n in C)||C.CI_NAME==="codeship"?1:t;if("TEAMCITY_VERSION"in C)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(C.TEAMCITY_VERSION)?1:0;if(C.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in C){let n=parseInt((C.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(C.TERM_PROGRAM){case"iTerm.app":return n>=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:t}function St(e){let o=ce(e,e&&e.isTTY);return se(o)}De.exports={supportsColor:St,stdout:se(ce(!0,Ne.isatty(1))),stderr:se(ce(!0,Ne.isatty(2)))}});var Ue=T((w,Z)=>{"use strict";var Ot=U("tty"),J=U("util");w.init=Lt;w.log=Tt;w.formatArgs=jt;w.save=$t;w.load=Rt;w.useColors=Et;w.destroy=J.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");w.colors=[6,2,3,4,5,1];try{let e=Me();e&&(e.stderr||e).level>=2&&(w.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{}w.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 Et(){return"colors"in w.inspectOpts?!!w.inspectOpts.colors:Ot.isatty(process.stderr.fd)}function jt(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
- `+s),e.push(r+"m+"+J.exports.humanize(this.diff)+"\x1B[0m")}else e[0]=Ot()+o+" "+e[0]}function Ot(){return x.inspectOpts.hideDate?"":new Date().toISOString()+" "}function Et(...e){return process.stderr.write(H.format(...e)+`
4
- `)}function jt(e){e?process.env.DEBUG=e:delete process.env.DEBUG}function kt(){return process.env.DEBUG}function Tt(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]]}J.exports=ne()(x);var{formatters:Ne}=J.exports;Ne.o=function(e){return this.inspectOpts.colors=this.useColors,H.inspect(e,this.inspectOpts).split(`
5
- `).map(o=>o.trim()).join(" ")};Ne.O=function(e){return this.inspectOpts.colors=this.useColors,H.inspect(e,this.inspectOpts)}});var N=k((fo,ce)=>{"use strict";typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?ce.exports=Re():ce.exports=De()});async function ae(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:l}=n?.customizations??{};return r=typeof l=="function"?await l(r,o,t):r,r.startsWith("<svg")?await B(n?.customizations?.trimCustomSvg===!0?Ee(r):r,o,t,n,void 0):(console.warn(`Custom icon "${t}" in "${o}" is not a valid SVG`),r)}}var Me,$t,Ve=F(()=>{"use strict";Me=U(N(),1);re();je();$t=(0,Me.default)("@iconify-loader:custom")});async function Z(e,o,t,n){let r,{customize:s}=n?.customizations??{};for(let l of t)if(r=xe(e,l),r){Rt(`${o}:${l}`);let f={...q};typeof s=="function"&&(f=s(f));let{attributes:{width:m,height:h,...i},body:u}=ve(r,f),p=n?.scale;return await B(`<svg >${u}</svg>`,o,l,n,()=>({...i}),y=>{let b=(a,c)=>{let C=y[a],d;if(!_(C)){if(C)return;typeof p=="number"?p&&(d=`${p}em`):d=c}d?y[a]=d:delete y[a]};b("width",m),b("height",h)})}}var Ue,Rt,le=F(()=>{"use strict";te();ye();re();Ue=U(N(),1);X();Rt=(0,Ue.default)("@iconify-loader:icon")});var Fo,D,ue=F(()=>{"use strict";Ve();le();Fo=U(N(),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(s){console.warn(`Failed to load custom icon "${o}" in "${e}":`,s);return}if(r){if(typeof r=="string")return await ae(()=>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 Z(r,e,s,t)}}}else return await ae(n,e,o,t)}});function Se(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Oe(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" ')),Se(o)}ue();var So=U(N(),1);var Ge=new Set;function qe(e){Ge.has(e)||(console.warn("[unocss]",e),Ge.add(e))}ue();le();var Be=["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","mage","majesticons","maki","map","marketeq","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","token-branded","token","topcoat","twemoji","typcn","uil","uim","uis","uit","uiw","unjs","vaadin","vs","vscode-icons","websymbol","whh","wi","wpf","zmdi","zondicons"];var At=3;function We(e){return(o={})=>{let{scale:t=1,mode:n="auto",prefix:r="i-",warn:s=!1,collections:l,extraProperties:f={},customizations:m={},autoInstall:h=!1,collectionsNodeResolvePath:i,layer:u="icons",unit:p}=o,y=Pt(),b={addXmlNs:!0,scale:t,customCollections:l,autoInstall:h,cwd:i,warn:void 0,customizations:{...m,additionalProps:{...f},trimCustomSvg:!0,async iconCustomizer(c,C,d){await m.iconCustomizer?.(c,C,d),p&&(d.width||(d.width=`${t}${p}`),d.height||(d.height=`${t}${p}`))}}},a;return{name:"@unocss/preset-icons",enforce:"pre",options:o,layers:{icons:-30},rules:[[/^([a-z0-9:_-]+)(?:\?(mask|bg|auto))?$/,async([c,C,d=n])=>{let I="",g="",j;a=a||await e(o);let O={};if(C.includes(":"))[I,g]=C.split(":"),j=await a(I,g,{...b,usedProps:O});else{let z=C.split(/-/g);for(let $=At;$>=1&&(I=z.slice(0,$).join("-"),g=z.slice($).join("-"),j=await a(I,g,{...b,usedProps:O}),!j);$--);}if(!j){s&&!y.isESLint&&qe(`failed to load icon "${c}"`);return}let M=`url("data:image/svg+xml;utf8,${Oe(j)}")`;return d==="auto"&&(d=j.includes("currentColor")?"mask":"bg"),d==="mask"?{"--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",...O}:{background:`${M} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...O}},{layer:u,prefix:r}]]}}}function Ke(e,o){let t=new Map;function n(r){if(Be.includes(r))return t.has(r)||t.set(r,e(`${o}@iconify-json/${r}/icons.json`)),t.get(r)}return async(r,s,l)=>{let f=await D(r,s,l);if(f)return f;let m=await n(r);if(m){let h=[s,s.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),s.replace(/([a-z])(\d+)/g,"$1-$2")];f=await Z(m,r,h,l)}return f}}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}}window.__unocss_runtime=window.__unocss_runtime??{};window.__unocss_runtime.presets=Object.assign(window.__unocss_runtime?.presets??{},(()=>{let e=We(async o=>{let t=o?.customFetch??(r=>fetch(r).then(s=>s.json())),n=o?.cdn;return n?Ke(t,n):D});return{presetIcons:o=>e(o)}})());})();
3
+ `+s),e.push(r+"m+"+Z.exports.humanize(this.diff)+"\x1B[0m")}else e[0]=kt()+o+" "+e[0]}function kt(){return w.inspectOpts.hideDate?"":new Date().toISOString()+" "}function Tt(...e){return process.stderr.write(J.format(...e)+`
4
+ `)}function $t(e){e?process.env.DEBUG=e:delete process.env.DEBUG}function Rt(){return process.env.DEBUG}function Lt(e){e.inspectOpts={};let o=Object.keys(w.inspectOpts);for(let t=0;t<o.length;t++)e.inspectOpts[o[t]]=w.inspectOpts[o[t]]}Z.exports=ie()(w);var{formatters:Ve}=Z.exports;Ve.o=function(e){return this.inspectOpts.colors=this.useColors,J.inspect(e,this.inspectOpts).split(`
5
+ `).map(o=>o.trim()).join(" ")};Ve.O=function(e){return this.inspectOpts.colors=this.useColors,J.inspect(e,this.inspectOpts)}});var D=T((go,ae)=>{"use strict";typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?ae.exports=Pe():ae.exports=Ue()});async function le(e,o,t,n){let r;At(`${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:a}=n?.customizations??{};return r=typeof a=="function"?await a(r,o,t):r,r.startsWith("<svg")?await W(n?.customizations?.trimCustomSvg===!0?Te(r):r,o,t,n,void 0):(console.warn(`Custom icon "${t}" in "${o}" is not a valid SVG`),r)}}var Ge,At,qe=F(()=>{"use strict";Ge=G(D(),1);ne();$e();At=(0,Ge.default)("@iconify-loader:custom")});async function Y(e,o,t,n){let r,{customize:s}=n?.customizations??{};for(let a of t)if(r=Ie(e,a),r){Pt(`${o}:${a}`);let f={...B};typeof s=="function"&&(f=s(f));let{attributes:{width:m,height:h,...i},body:l}=Ee(r,f),p=n?.scale;return await W(`<svg >${l}</svg>`,o,a,n,()=>({...i}),x=>{let I=(u,c)=>{let y=x[u],b;if(!N(y)){if(y)return;typeof p=="number"?p&&(b=`${p}em`):b=c}b?x[u]=b:delete x[u]};I("width",m),I("height",h)})}}var Be,Pt,ue=F(()=>{"use strict";oe();Fe();ne();Be=G(D(),1);Q();Pt=(0,Be.default)("@iconify-loader:icon")});var Oo,M,fe=F(()=>{"use strict";qe();ue();Oo=G(D(),1),M=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 le(()=>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 Y(r,e,s,t)}}}else return await le(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 ke(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)}fe();var jo=G(D(),1);var We=new Set;function Ke(e){We.has(e)||(console.warn("[unocss]",e),We.add(e))}fe();ue();var He=["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","mage","majesticons","maki","map","marketeq","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","token-branded","token","topcoat","twemoji","typcn","uil","uim","uis","uit","uiw","unjs","vaadin","vs","vscode-icons","websymbol","whh","wi","wpf","zmdi","zondicons"];var zt=3;function Je(e){return(o={})=>{let{scale:t=1,mode:n="auto",prefix:r="i-",warn:s=!1,collections:a,extraProperties:f={},customizations:m={},autoInstall:h=!1,collectionsNodeResolvePath:i,layer:l="icons",unit:p,processor:x}=o,I=Nt(),u={addXmlNs:!0,scale:t,customCollections:a,autoInstall:h,cwd:i,warn:void 0,customizations:{...m,additionalProps:{...f},trimCustomSvg:!0,async iconCustomizer(y,b,d){await m.iconCustomizer?.(y,b,d),p&&(d.width||(d.width=`${t}${p}`),d.height||(d.height=`${t}${p}`))}}},c;return{name:"@unocss/preset-icons",enforce:"pre",options:o,layers:{icons:-30},rules:[[/^([a-z0-9:_-]+)(?:\?(mask|bg|auto))?$/,async y=>{let[b,d,g=n]=y,R="",O="",E;c=c||await e(o);let k={};if(d.includes(":"))[R,O]=d.split(":"),E=await c(R,O,{...u,usedProps:k});else{let me=d.split(/-/g);for(let V=zt;V>=1&&(R=me.slice(0,V).join("-"),O=me.slice(V).join("-"),E=await c(R,O,{...u,usedProps:k}),!E);V--);}if(!E){s&&!I.isESLint&&Ke(`failed to load icon "${b}"`);return}let L,pe=`url("data:image/svg+xml;utf8,${ke(E)}")`;return g==="auto"&&(g=E.includes("currentColor")?"mask":"bg"),g==="mask"?L={"--un-icon":pe,"-webkit-mask":"var(--un-icon) no-repeat",mask:"var(--un-icon) no-repeat","-webkit-mask-size":"100% 100%","mask-size":"100% 100%","background-color":"currentColor",color:"inherit",...k}:L={background:`${pe} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...k},x?.(L,{collection:R,icon:O,svg:E,mode:g}),L},{layer:l,prefix:r}]]}}}function Ze(e,o){let t=new Map;function n(r){if(He.includes(r))return t.has(r)||t.set(r,e(`${o}@iconify-json/${r}/icons.json`)),t.get(r)}return async(r,s,a)=>{let f=await M(r,s,a);if(f)return f;let m=await n(r);if(m){let h=[s,s.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),s.replace(/([a-z])(\d+)/g,"$1-$2")];f=await Y(m,r,h,a)}return f}}function Nt(){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=Je(async o=>{let t=o?.customFetch??(r=>fetch(r).then(s=>s.json())),n=o?.cdn;return n?Ze(t,n):M});return{presetIcons:o=>e(o)}})());})();