@live-codes/browser-compilers 0.5.8 → 0.5.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.
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var lightningcss=(()=>{var
|
|
2
|
-
${r.stack}`:a}function T(r){try{let e=c.__wbindgen_add_to_stack_pointer(-16);c.transform(e,_(r));var
|
|
1
|
+
var lightningcss=(()=>{var E=Object.defineProperty;var U=(r,n)=>{for(var u in n)E(r,u,{get:n[u],enumerable:!0})};var D={};U(D,{browserslistToTargets:()=>I,init:()=>M,transform:()=>T,transformStyleAttribute:()=>O});var c,N=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});N.decode();var d=null;function m(){return(d===null||d.buffer!==c.memory.buffer)&&(d=new Uint8Array(c.memory.buffer)),d}function S(r,n){return N.decode(m().subarray(r,r+n))}var s=new Array(32).fill(void 0);s.push(void 0,null,!0,!1);var l=s.length;function _(r){l===s.length&&s.push(s.length+1);let n=l;return l=s[n],s[n]=r,n}function o(r){return s[r]}function F(r){r<36||(s[r]=l,l=r)}function w(r){let n=o(r);return F(r),n}function j(r){return r==null}var y=null;function $(){return(y===null||y.buffer!==c.memory.buffer)&&(y=new Float64Array(c.memory.buffer)),y}var p=null;function b(){return(p===null||p.buffer!==c.memory.buffer)&&(p=new Int32Array(c.memory.buffer)),p}var h=0,v=new TextEncoder("utf-8"),B=typeof v.encodeInto=="function"?function(r,n){return v.encodeInto(r,n)}:function(r,n){let u=v.encode(r);return n.set(u),{read:r.length,written:u.length}};function R(r,n,u){if(u===void 0){let f=v.encode(r),g=n(f.length);return m().subarray(g,g+f.length).set(f),h=f.length,g}let a=r.length,e=n(a),t=m(),i=0;for(;i<a;i++){let f=r.charCodeAt(i);if(f>127)break;t[e+i]=f}if(i!==a){i!==0&&(r=r.slice(i)),e=u(e,a,a=i+r.length*3);let f=m().subarray(e+i,e+a);i+=B(r,f).written}return h=i,e}function x(r){let n=typeof r;if(n=="number"||n=="boolean"||r==null)return`${r}`;if(n=="string")return`"${r}"`;if(n=="symbol"){let e=r.description;return e==null?"Symbol":`Symbol(${e})`}if(n=="function"){let e=r.name;return typeof e=="string"&&e.length>0?`Function(${e})`:"Function"}if(Array.isArray(r)){let e=r.length,t="[";e>0&&(t+=x(r[0]));for(let i=1;i<e;i++)t+=", "+x(r[i]);return t+="]",t}let u=/\[object ([^\]]+)\]/.exec(toString.call(r)),a;if(u.length>1)a=u[1];else return toString.call(r);if(a=="Object")try{return"Object("+JSON.stringify(r)+")"}catch(e){return"Object"}return r instanceof Error?`${r.name}: ${r.message}
|
|
2
|
+
${r.stack}`:a}function T(r){try{let e=c.__wbindgen_add_to_stack_pointer(-16);c.transform(e,_(r));var n=b()[e/4+0],u=b()[e/4+1],a=b()[e/4+2];if(a)throw w(u);return w(n)}finally{c.__wbindgen_add_to_stack_pointer(16)}}function O(r){try{let e=c.__wbindgen_add_to_stack_pointer(-16);c.transformStyleAttribute(e,_(r));var n=b()[e/4+0],u=b()[e/4+1],a=b()[e/4+2];if(a)throw w(u);return w(n)}finally{c.__wbindgen_add_to_stack_pointer(16)}}function A(r,n){try{return r.apply(this,n)}catch(u){c.__wbindgen_exn_store(_(u))}}async function L(r,n){if(typeof Response=="function"&&r instanceof Response){if(typeof WebAssembly.instantiateStreaming=="function")try{return await WebAssembly.instantiateStreaming(r,n)}catch(a){if(r.headers.get("Content-Type")!="application/wasm")console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",a);else throw a}let u=await r.arrayBuffer();return await WebAssembly.instantiate(u,n)}else{let u=await WebAssembly.instantiate(r,n);return u instanceof WebAssembly.Instance?{instance:u,module:r}:u}}async function W(r){typeof r=="undefined"&&(r=new URL("lightningcss_node_bg.wasm",location));let n={};n.wbg={},n.wbg.__wbindgen_string_new=function(e,t){var i=S(e,t);return _(i)},n.wbg.__wbindgen_object_drop_ref=function(e){w(e)},n.wbg.__wbg_set_e543156a3c4d08a8=function(e,t,i){var f=o(e).set(o(t),o(i));return _(f)},n.wbg.__wbindgen_is_string=function(e){var t=typeof o(e)=="string";return t},n.wbg.__wbg_new_55259b13834a484c=function(e,t){var i=new Error(S(e,t));return _(i)},n.wbg.__wbg_set_f1a4ac8f3a605b11=function(e,t,i){o(e)[w(t)]=w(i)},n.wbg.__wbg_get_2d1407dba3452350=function(e,t){var i=o(e)[w(t)];return _(i)},n.wbg.__wbindgen_is_null=function(e){var t=o(e)===null;return t},n.wbg.__wbindgen_is_undefined=function(e){var t=o(e)===void 0;return t},n.wbg.__wbindgen_is_object=function(e){let t=o(e);var i=typeof t=="object"&&t!==null;return i},n.wbg.__wbindgen_number_get=function(e,t){let i=o(t);var f=typeof i=="number"?i:void 0;$()[e/8+1]=j(f)?0:f,b()[e/4+0]=!j(f)},n.wbg.__wbg_isSafeInteger_91192d88df6f12b9=function(e){var t=Number.isSafeInteger(o(e));return t},n.wbg.__wbindgen_boolean_get=function(e){let t=o(e);var i=typeof t=="boolean"?t?1:0:2;return i},n.wbg.__wbindgen_string_get=function(e,t){let i=o(t);var f=typeof i=="string"?i:void 0,g=j(f)?0:R(f,c.__wbindgen_malloc,c.__wbindgen_realloc),k=h;b()[e/4+1]=k,b()[e/4+0]=g},n.wbg.__wbg_new_d3138911a89329b0=function(){var e=new Object;return _(e)},n.wbg.__wbg_isArray_8480ed76e5369634=function(e){var t=Array.isArray(o(e));return t},n.wbg.__wbg_iterator_4b9cedbeda0c0e30=function(){var e=Symbol.iterator;return _(e)},n.wbg.__wbg_values_71935f80778b5113=function(e){var t=o(e).values();return _(t)},n.wbg.__wbg_entries_38f300d4350c7466=function(e){var t=Object.entries(o(e));return _(t)},n.wbg.__wbg_next_dd1a890d37e38d73=function(){return A(function(e){var t=o(e).next();return _(t)},arguments)},n.wbg.__wbg_done_982b1c7ac0cbc69d=function(e){var t=o(e).done;return t},n.wbg.__wbg_value_2def2d1fb38b02cd=function(e){var t=o(e).value;return _(t)},n.wbg.__wbg_get_f45dff51f52d7222=function(e,t){var i=o(e)[t>>>0];return _(i)},n.wbg.__wbindgen_number_new=function(e){var t=e;return _(t)},n.wbg.__wbg_new_16f24b0728c5e67b=function(){var e=new Array;return _(e)},n.wbg.__wbg_push_a72df856079e6930=function(e,t){var i=o(e).push(o(t));return i},n.wbg.__wbg_new_b563cacb0bf27b31=function(){var e=new Map;return _(e)},n.wbg.__wbg_get_8bbb82393651dd9c=function(){return A(function(e,t){var i=Reflect.get(o(e),o(t));return _(i)},arguments)},n.wbg.__wbindgen_is_function=function(e){var t=typeof o(e)=="function";return t},n.wbg.__wbg_call_89558c3e96703ca1=function(){return A(function(e,t){var i=o(e).call(o(t));return _(i)},arguments)},n.wbg.__wbg_next_c7a2a6b012059a5e=function(e){var t=o(e).next;return _(t)},n.wbg.__wbg_has_3850edde6df9191b=function(){return A(function(e,t){var i=Reflect.has(o(e),o(t));return i},arguments)},n.wbg.__wbg_length_30803400a8f15c59=function(e){var t=o(e).length;return t},n.wbg.__wbindgen_memory=function(){var e=c.memory;return _(e)},n.wbg.__wbg_buffer_5e74a88a1424a2e0=function(e){var t=o(e).buffer;return _(t)},n.wbg.__wbg_new_e3b800e570795b3c=function(e){var t=new Uint8Array(o(e));return _(t)},n.wbg.__wbg_set_5b8081e9d002f0df=function(e,t,i){o(e).set(o(t),i>>>0)},n.wbg.__wbg_instanceof_Uint8Array_8a8537f46e056474=function(e){var t=o(e)instanceof Uint8Array;return t},n.wbg.__wbg_instanceof_ArrayBuffer_649f53c967aec9b3=function(e){var t=o(e)instanceof ArrayBuffer;return t},n.wbg.__wbg_newwithbyteoffsetandlength_278ec7532799393a=function(e,t,i){var f=new Uint8Array(o(e),t>>>0,i>>>0);return _(f)},n.wbg.__wbindgen_object_clone_ref=function(e){var t=o(e);return _(t)},n.wbg.__wbindgen_debug_string=function(e,t){var i=x(o(t)),f=R(i,c.__wbindgen_malloc,c.__wbindgen_realloc),g=h;b()[e/4+1]=g,b()[e/4+0]=f},n.wbg.__wbindgen_throw=function(e,t){throw new Error(S(e,t))},(typeof r=="string"||typeof Request=="function"&&r instanceof Request||typeof URL=="function"&&r instanceof URL)&&(r=fetch(r));let{instance:u,module:a}=await L(await r,n);return c=u.exports,W.__wbindgen_wasm_module=a,c}var M=W;var q={and_chr:"chrome",and_ff:"firefox",ie_mob:"ie",op_mob:"opera",and_qq:null,and_uc:null,baidu:null,bb:null,kaios:null,op_mini:null};function I(r){let n={};for(let u of r){let[a,e]=u.split(" ");if(q[a]===null)continue;let t=C(e);t!=null&&(n[a]==null||t<n[a])&&(n[a]=t)}return n}function C(r){let[n,u=0,a=0]=r.split("-")[0].split(".").map(e=>parseInt(e,10));return isNaN(n)||isNaN(u)||isNaN(a)?null:n<<16|u<<8|a}return D;})();
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
var unocss=(()=>{var Mh=Object.create,Nn=Object.defineProperty,Dh=Object.getPrototypeOf,Fh=Object.prototype.hasOwnProperty,Nh=Object.getOwnPropertyNames,Bh=Object.getOwnPropertyDescriptor;var Uh=e=>Nn(e,"__esModule",{value:!0});var bt=(e,t)=>()=>(e&&(t=e(e=0)),t),Lt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),R=(e,t)=>{for(var r in t)Nn(e,r,{get:t[r],enumerable:!0})},Wh=(e,t,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Nh(t))!Fh.call(e,n)&&n!=="default"&&Nn(e,n,{get:()=>t[n],enumerable:!(r=Bh(t,n))||r.enumerable});return e},qh=e=>Wh(Uh(Nn(e!=null?Mh(Dh(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);function _l(){throw new Error("setTimeout has not been defined")}function Ml(){throw new Error("clearTimeout has not been defined")}function Dl(e){if(lt===setTimeout)return setTimeout(e,0);if((lt===_l||!lt)&&setTimeout)return lt=setTimeout,setTimeout(e,0);try{return lt(e,0)}catch(t){try{return lt.call(null,e,0)}catch(r){return lt.call(this,e,0)}}}function Yh(e){if(ct===clearTimeout)return clearTimeout(e);if((ct===Ml||!ct)&&clearTimeout)return ct=clearTimeout,clearTimeout(e);try{return ct(e)}catch(t){try{return ct.call(null,e)}catch(r){return ct.call(this,e)}}}function Hh(){!Rt||!xt||(Rt=!1,xt.length?Xe=xt.concat(Xe):Bn=-1,Xe.length&&Fl())}function Fl(){if(!Rt){var e=Dl(Hh);Rt=!0;for(var t=Xe.length;t;){for(xt=Xe,Xe=[];++Bn<t;)xt&&xt[Bn].run();Bn=-1,t=Xe.length}xt=null,Rt=!1,Yh(e)}}function Vh(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];Xe.push(new Nl(e,t)),Xe.length===1&&!Rt&&Dl(Fl)}function Nl(e,t){this.fun=e,this.array=t}function yt(){}function ud(e){throw new Error("process.binding is not supported")}function pd(){return"/"}function fd(e){throw new Error("process.chdir is not supported")}function hd(){return 0}function md(e){var t=dd.call(It)*.001,r=Math.floor(t),n=Math.floor(t%1*1e9);return e&&(r=r-e[0],n=n-e[1],n<0&&(r--,n+=1e9)),[r,n]}function bd(){var e=new Date,t=e-gd;return t/1e3}var lt,ct,Xe,Rt,xt,Bn,Gh,Kh,Xh,Qh,Zh,Jh,ed,td,rd,nd,od,id,ad,sd,ld,cd,It,dd,gd,b,Bl,p=bt(()=>{lt=_l,ct=Ml;typeof window.setTimeout=="function"&&(lt=setTimeout);typeof window.clearTimeout=="function"&&(ct=clearTimeout);Xe=[],Rt=!1,Bn=-1;Nl.prototype.run=function(){this.fun.apply(null,this.array)};Gh="browser",Kh="browser",Xh=!0,Qh={},Zh=[],Jh="",ed={},td={},rd={};nd=yt,od=yt,id=yt,ad=yt,sd=yt,ld=yt,cd=yt;It=window.performance||{},dd=It.now||It.mozNow||It.msNow||It.oNow||It.webkitNow||function(){return new Date().getTime()};gd=new Date;b={nextTick:Vh,title:Gh,browser:Xh,env:Qh,argv:Zh,version:Jh,versions:ed,on:nd,addListener:od,once:id,off:ad,removeListener:sd,removeAllListeners:ld,emit:cd,binding:ud,cwd:pd,chdir:fd,umask:hd,hrtime:md,platform:Kh,release:td,config:rd,uptime:bd},Bl={"env.NODE_ENV":"production"};Object.keys(Bl).forEach(e=>{let t=e.split("."),r=b;for(let n=0;n<t.length;n++){let o=t[n];n===t.length-1?r[o]=Bl[e]:r=r[o]||(r[o]={})}})});function Ul(){ui=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,r=e.length;t<r;++t)Ue[t]=e[t],Le[e.charCodeAt(t)]=t;Le["-".charCodeAt(0)]=62,Le["_".charCodeAt(0)]=63}function yd(e){ui||Ul();var t,r,n,o,i,a,l=e.length;if(l%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i=e[l-2]==="="?2:e[l-1]==="="?1:0,a=new xd(l*3/4-i),n=i>0?l-4:l;var u=0;for(t=0,r=0;t<n;t+=4,r+=3)o=Le[e.charCodeAt(t)]<<18|Le[e.charCodeAt(t+1)]<<12|Le[e.charCodeAt(t+2)]<<6|Le[e.charCodeAt(t+3)],a[u++]=o>>16&255,a[u++]=o>>8&255,a[u++]=o&255;return i===2?(o=Le[e.charCodeAt(t)]<<2|Le[e.charCodeAt(t+1)]>>4,a[u++]=o&255):i===1&&(o=Le[e.charCodeAt(t)]<<10|Le[e.charCodeAt(t+1)]<<4|Le[e.charCodeAt(t+2)]>>2,a[u++]=o>>8&255,a[u++]=o&255),a}function kd(e){return Ue[e>>18&63]+Ue[e>>12&63]+Ue[e>>6&63]+Ue[e&63]}function wd(e,t,r){for(var n,o=[],i=t;i<r;i+=3)n=(e[i]<<16)+(e[i+1]<<8)+e[i+2],o.push(kd(n));return o.join("")}function Wl(e){ui||Ul();for(var t,r=e.length,n=r%3,o="",i=[],a=16383,l=0,u=r-n;l<u;l+=a)i.push(wd(e,l,l+a>u?u:l+a));return n===1?(t=e[r-1],o+=Ue[t>>2],o+=Ue[t<<4&63],o+="=="):n===2&&(t=(e[r-2]<<8)+e[r-1],o+=Ue[t>>10],o+=Ue[t>>4&63],o+=Ue[t<<2&63],o+="="),i.push(o),i.join("")}function Un(){return d.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Qe(e,t){if(Un()<t)throw new RangeError("Invalid typed array length");return d.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=d.prototype):(e===null&&(e=new d(t)),e.length=t),e}function d(e,t,r){if(!d.TYPED_ARRAY_SUPPORT&&!(this instanceof d))return new d(e,t,r);if(typeof e=="number"){if(typeof t=="string")throw new Error("If encoding is specified then the first argument must be a string");return pi(this,e)}return ql(this,e,t,r)}function ql(e,t,r,n){if(typeof t=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&t instanceof ArrayBuffer?Sd(e,t,r,n):typeof t=="string"?vd(e,t,r):Cd(e,t)}function Yl(e){if(typeof e!="number")throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function $d(e,t,r,n){return Yl(t),t<=0?Qe(e,t):r!==void 0?typeof n=="string"?Qe(e,t).fill(r,n):Qe(e,t).fill(r):Qe(e,t)}function pi(e,t){if(Yl(t),e=Qe(e,t<0?0:fi(t)|0),!d.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function vd(e,t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!d.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=Hl(t,r)|0;e=Qe(e,n);var o=e.write(t,r);return o!==n&&(e=e.slice(0,o)),e}function hi(e,t){var r=t.length<0?0:fi(t.length)|0;e=Qe(e,r);for(var n=0;n<r;n+=1)e[n]=t[n]&255;return e}function Sd(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");return r===void 0&&n===void 0?t=new Uint8Array(t):n===void 0?t=new Uint8Array(t,r):t=new Uint8Array(t,r,n),d.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=d.prototype):e=hi(e,t),e}function Cd(e,t){if(We(t)){var r=fi(t.length)|0;return e=Qe(e,r),e.length===0||t.copy(e,0,0,r),e}if(t){if(typeof ArrayBuffer!="undefined"&&t.buffer instanceof ArrayBuffer||"length"in t)return typeof t.length!="number"||Ed(t.length)?Qe(e,0):hi(e,t);if(t.type==="Buffer"&&Array.isArray(t.data))return hi(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function fi(e){if(e>=Un())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Un().toString(16)+" bytes");return e|0}function We(e){return!!(e!=null&&e._isBuffer)}function Hl(e,t){if(We(e))return e.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;typeof e!="string"&&(e=""+e);var r=e.length;if(r===0)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return Wn(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Vl(e).length;default:if(n)return Wn(e).length;t=(""+t).toLowerCase(),n=!0}}function Rd(e,t,r){var n=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,t>>>=0,r<=t))return"";for(e||(e="utf8");;)switch(e){case"hex":return Pd(this,t,r);case"utf8":case"utf-8":return Gl(this,t,r);case"ascii":return jd(this,t,r);case"latin1":case"binary":return zd(this,t,r);case"base64":return Td(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ld(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function kt(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function Xl(e,t,r,n,o){if(e.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0)if(o)r=0;else return-1;if(typeof t=="string"&&(t=d.from(t,n)),We(t))return t.length===0?-1:Kl(e,t,r,n,o);if(typeof t=="number")return t=t&255,d.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):Kl(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function Kl(e,t,r,n,o){var i=1,a=e.length,l=t.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(e.length<2||t.length<2)return-1;i=2,a/=2,l/=2,r/=2}function u(x,k){return i===1?x[k]:x.readUInt16BE(k*i)}var s;if(o){var c=-1;for(s=r;s<a;s++)if(u(e,s)===u(t,c===-1?0:s-c)){if(c===-1&&(c=s),s-c+1===l)return c*i}else c!==-1&&(s-=s-c),c=-1}else for(r+l>a&&(r=a-l),s=r;s>=0;s--){for(var h=!0,m=0;m<l;m++)if(u(e,s+m)!==u(t,m)){h=!1;break}if(h)return s}return-1}function Id(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n),n>o&&(n=o)):n=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var a=0;a<n;++a){var l=parseInt(t.substr(a*2,2),16);if(isNaN(l))return a;e[r+a]=l}return a}function Od(e,t,r,n){return qn(Wn(t,e.length-r),e,r,n)}function Ql(e,t,r,n){return qn(_d(t),e,r,n)}function Md(e,t,r,n){return Ql(e,t,r,n)}function Dd(e,t,r,n){return qn(Vl(t),e,r,n)}function Nd(e,t,r,n){return qn(Fd(t,e.length-r),e,r,n)}function Td(e,t,r){return t===0&&r===e.length?Wl(e):Wl(e.slice(t,r))}function Gl(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o<r;){var i=e[o],a=null,l=i>239?4:i>223?3:i>191?2:1;if(o+l<=r){var u,s,c,h;switch(l){case 1:i<128&&(a=i);break;case 2:u=e[o+1],(u&192)==128&&(h=(i&31)<<6|u&63,h>127&&(a=h));break;case 3:u=e[o+1],s=e[o+2],(u&192)==128&&(s&192)==128&&(h=(i&15)<<12|(u&63)<<6|s&63,h>2047&&(h<55296||h>57343)&&(a=h));break;case 4:u=e[o+1],s=e[o+2],c=e[o+3],(u&192)==128&&(s&192)==128&&(c&192)==128&&(h=(i&15)<<18|(u&63)<<12|(s&63)<<6|c&63,h>65535&&h<1114112&&(a=h))}}a===null?(a=65533,l=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),o+=l}return Bd(n)}function Bd(e){var t=e.length;if(t<=Zl)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=Zl));return r}function jd(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(e[o]&127);return n}function zd(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}function Pd(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=t;i<r;++i)o+=Ud(e[i]);return o}function Ld(e,t,r){for(var n=e.slice(t,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+n[i+1]*256);return o}function pe(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function Ee(e,t,r,n,o,i){if(!We(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function Hn(e,t,r,n){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-r,2);o<i;++o)e[r+o]=(t&255<<8*(n?o:1-o))>>>(n?o:1-o)*8}function Vn(e,t,r,n){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-r,4);o<i;++o)e[r+o]=t>>>(n?o:3-o)*8&255}function Jl(e,t,r,n,o,i){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function tc(e,t,r,n,o){return o||Jl(e,t,r,4,34028234663852886e22,-34028234663852886e22),ec(e,t,r,n,23,4),r+4}function rc(e,t,r,n,o){return o||Jl(e,t,r,8,17976931348623157e292,-17976931348623157e292),ec(e,t,r,n,52,8),r+8}function Yd(e){if(e=qd(e).replace(Wd,""),e.length<2)return"";for(;e.length%4!=0;)e=e+"=";return e}function qd(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function Ud(e){return e<16?"0"+e.toString(16):e.toString(16)}function Wn(e,t){t=t||Infinity;for(var r,n=e.length,o=null,i=[],a=0;a<n;++a){if(r=e.charCodeAt(a),r>55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}else if(a+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return i}function _d(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function Fd(e,t){for(var r,n,o,i=[],a=0;a<e.length&&!((t-=2)<0);++a)r=e.charCodeAt(a),n=r>>8,o=r%256,i.push(o),i.push(n);return i}function Vl(e){return yd(Yd(e))}function qn(e,t,r,n){for(var o=0;o<n&&!(o+r>=t.length||o>=e.length);++o)t[o+r]=e[o];return o}function Ed(e){return e!==e}function Ad(e){return e!=null&&(!!e._isBuffer||nc(e)||Hd(e))}function nc(e){return!!e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function Hd(e){return typeof e.readFloatLE=="function"&&typeof e.slice=="function"&&nc(e.slice(0,0))}function Yn(e,t,r,n,o){var i,a,l=o*8-n-1,u=(1<<l)-1,s=u>>1,c=-7,h=r?o-1:0,m=r?-1:1,x=e[t+h];for(h+=m,i=x&(1<<-c)-1,x>>=-c,c+=l;c>0;i=i*256+e[t+h],h+=m,c-=8);for(a=i&(1<<-c)-1,i>>=-c,c+=n;c>0;a=a*256+e[t+h],h+=m,c-=8);if(i===0)i=1-s;else{if(i===u)return a?NaN:(x?-1:1)*Infinity;a=a+Math.pow(2,n),i=i-s}return(x?-1:1)*a*Math.pow(2,i-n)}function ec(e,t,r,n,o,i){var a,l,u,s=i*8-o-1,c=(1<<s)-1,h=c>>1,m=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,x=n?0:i-1,k=n?1:-1,S=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===Infinity?(l=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),a+h>=1?t+=m/u:t+=m*Math.pow(2,1-h),t*u>=2&&(a++,u/=2),a+h>=c?(l=0,a=c):a+h>=1?(l=(t*u-1)*Math.pow(2,o),a=a+h):(l=t*Math.pow(2,h-1)*Math.pow(2,o),a=0));o>=8;e[r+x]=l&255,x+=k,l/=256,o-=8);for(a=a<<o|l,s+=o;s>0;e[r+x]=a&255,x+=k,a/=256,s-=8);e[r+x-k]|=S*128}var Ue,Le,xd,ui,Zl,Wd,oc=bt(()=>{p();f();Ue=[],Le=[],xd=typeof Uint8Array!="undefined"?Uint8Array:Array,ui=!1;d.TYPED_ARRAY_SUPPORT=window.TYPED_ARRAY_SUPPORT!==void 0?window.TYPED_ARRAY_SUPPORT:!0;d.poolSize=8192;d._augment=function(e){return e.__proto__=d.prototype,e};d.from=function(e,t,r){return ql(null,e,t,r)};d.kMaxLength=Un();d.TYPED_ARRAY_SUPPORT&&(d.prototype.__proto__=Uint8Array.prototype,d.__proto__=Uint8Array,typeof Symbol!="undefined"&&Symbol.species&&d[Symbol.species]===d);d.alloc=function(e,t,r){return $d(null,e,t,r)};d.allocUnsafe=function(e){return pi(null,e)};d.allocUnsafeSlow=function(e){return pi(null,e)};d.isBuffer=Ad;d.compare=function(t,r){if(!We(t)||!We(r))throw new TypeError("Arguments must be Buffers");if(t===r)return 0;for(var n=t.length,o=r.length,i=0,a=Math.min(n,o);i<a;++i)if(t[i]!==r[i]){n=t[i],o=r[i];break}return n<o?-1:o<n?1:0};d.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};d.concat=function(t,r){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return d.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<t.length;++n)r+=t[n].length;var o=d.allocUnsafe(r),i=0;for(n=0;n<t.length;++n){var a=t[n];if(!We(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(o,i),i+=a.length}return o};d.byteLength=Hl;d.prototype._isBuffer=!0;d.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)kt(this,r,r+1);return this};d.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)kt(this,r,r+3),kt(this,r+1,r+2);return this};d.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)kt(this,r,r+7),kt(this,r+1,r+6),kt(this,r+2,r+5),kt(this,r+3,r+4);return this};d.prototype.toString=function(){var t=this.length|0;return t===0?"":arguments.length===0?Gl(this,0,t):Rd.apply(this,arguments)};d.prototype.equals=function(t){if(!We(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:d.compare(this,t)===0};d.prototype.compare=function(t,r,n,o,i){if(!We(t))throw new TypeError("Argument must be a Buffer");if(r===void 0&&(r=0),n===void 0&&(n=t?t.length:0),o===void 0&&(o=0),i===void 0&&(i=this.length),r<0||n>t.length||o<0||i>this.length)throw new RangeError("out of range index");if(o>=i&&r>=n)return 0;if(o>=i)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,o>>>=0,i>>>=0,this===t)return 0;for(var a=i-o,l=n-r,u=Math.min(a,l),s=this.slice(o,i),c=t.slice(r,n),h=0;h<u;++h)if(s[h]!==c[h]){a=s[h],l=c[h];break}return a<l?-1:l<a?1:0};d.prototype.includes=function(t,r,n){return this.indexOf(t,r,n)!==-1};d.prototype.indexOf=function(t,r,n){return Xl(this,t,r,n,!0)};d.prototype.lastIndexOf=function(t,r,n){return Xl(this,t,r,n,!1)};d.prototype.write=function(t,r,n,o){if(r===void 0)o="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")o=r,n=this.length,r=0;else if(isFinite(r))r=r|0,isFinite(n)?(n=n|0,o===void 0&&(o="utf8")):(o=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i=this.length-r;if((n===void 0||n>i)&&(n=i),t.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");o||(o="utf8");for(var a=!1;;)switch(o){case"hex":return Id(this,t,r,n);case"utf8":case"utf-8":return Od(this,t,r,n);case"ascii":return Ql(this,t,r,n);case"latin1":case"binary":return Md(this,t,r,n);case"base64":return Dd(this,t,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Nd(this,t,r,n);default:if(a)throw new TypeError("Unknown encoding: "+o);o=(""+o).toLowerCase(),a=!0}};d.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};Zl=4096;d.prototype.slice=function(t,r){var n=this.length;t=~~t,r=r===void 0?n:~~r,t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<t&&(r=t);var o;if(d.TYPED_ARRAY_SUPPORT)o=this.subarray(t,r),o.__proto__=d.prototype;else{var i=r-t;o=new d(i,void 0);for(var a=0;a<i;++a)o[a]=this[a+t]}return o};d.prototype.readUIntLE=function(t,r,n){t=t|0,r=r|0,n||pe(t,r,this.length);for(var o=this[t],i=1,a=0;++a<r&&(i*=256);)o+=this[t+a]*i;return o};d.prototype.readUIntBE=function(t,r,n){t=t|0,r=r|0,n||pe(t,r,this.length);for(var o=this[t+--r],i=1;r>0&&(i*=256);)o+=this[t+--r]*i;return o};d.prototype.readUInt8=function(t,r){return r||pe(t,1,this.length),this[t]};d.prototype.readUInt16LE=function(t,r){return r||pe(t,2,this.length),this[t]|this[t+1]<<8};d.prototype.readUInt16BE=function(t,r){return r||pe(t,2,this.length),this[t]<<8|this[t+1]};d.prototype.readUInt32LE=function(t,r){return r||pe(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};d.prototype.readUInt32BE=function(t,r){return r||pe(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};d.prototype.readIntLE=function(t,r,n){t=t|0,r=r|0,n||pe(t,r,this.length);for(var o=this[t],i=1,a=0;++a<r&&(i*=256);)o+=this[t+a]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*r)),o};d.prototype.readIntBE=function(t,r,n){t=t|0,r=r|0,n||pe(t,r,this.length);for(var o=r,i=1,a=this[t+--o];o>0&&(i*=256);)a+=this[t+--o]*i;return i*=128,a>=i&&(a-=Math.pow(2,8*r)),a};d.prototype.readInt8=function(t,r){return r||pe(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};d.prototype.readInt16LE=function(t,r){r||pe(t,2,this.length);var n=this[t]|this[t+1]<<8;return n&32768?n|4294901760:n};d.prototype.readInt16BE=function(t,r){r||pe(t,2,this.length);var n=this[t+1]|this[t]<<8;return n&32768?n|4294901760:n};d.prototype.readInt32LE=function(t,r){return r||pe(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};d.prototype.readInt32BE=function(t,r){return r||pe(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};d.prototype.readFloatLE=function(t,r){return r||pe(t,4,this.length),Yn(this,t,!0,23,4)};d.prototype.readFloatBE=function(t,r){return r||pe(t,4,this.length),Yn(this,t,!1,23,4)};d.prototype.readDoubleLE=function(t,r){return r||pe(t,8,this.length),Yn(this,t,!0,52,8)};d.prototype.readDoubleBE=function(t,r){return r||pe(t,8,this.length),Yn(this,t,!1,52,8)};d.prototype.writeUIntLE=function(t,r,n,o){if(t=+t,r=r|0,n=n|0,!o){var i=Math.pow(2,8*n)-1;Ee(this,t,r,n,i,0)}var a=1,l=0;for(this[r]=t&255;++l<n&&(a*=256);)this[r+l]=t/a&255;return r+n};d.prototype.writeUIntBE=function(t,r,n,o){if(t=+t,r=r|0,n=n|0,!o){var i=Math.pow(2,8*n)-1;Ee(this,t,r,n,i,0)}var a=n-1,l=1;for(this[r+a]=t&255;--a>=0&&(l*=256);)this[r+a]=t/l&255;return r+n};d.prototype.writeUInt8=function(t,r,n){return t=+t,r=r|0,n||Ee(this,t,r,1,255,0),d.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[r]=t&255,r+1};d.prototype.writeUInt16LE=function(t,r,n){return t=+t,r=r|0,n||Ee(this,t,r,2,65535,0),d.TYPED_ARRAY_SUPPORT?(this[r]=t&255,this[r+1]=t>>>8):Hn(this,t,r,!0),r+2};d.prototype.writeUInt16BE=function(t,r,n){return t=+t,r=r|0,n||Ee(this,t,r,2,65535,0),d.TYPED_ARRAY_SUPPORT?(this[r]=t>>>8,this[r+1]=t&255):Hn(this,t,r,!1),r+2};d.prototype.writeUInt32LE=function(t,r,n){return t=+t,r=r|0,n||Ee(this,t,r,4,4294967295,0),d.TYPED_ARRAY_SUPPORT?(this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=t&255):Vn(this,t,r,!0),r+4};d.prototype.writeUInt32BE=function(t,r,n){return t=+t,r=r|0,n||Ee(this,t,r,4,4294967295,0),d.TYPED_ARRAY_SUPPORT?(this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255):Vn(this,t,r,!1),r+4};d.prototype.writeIntLE=function(t,r,n,o){if(t=+t,r=r|0,!o){var i=Math.pow(2,8*n-1);Ee(this,t,r,n,i-1,-i)}var a=0,l=1,u=0;for(this[r]=t&255;++a<n&&(l*=256);)t<0&&u===0&&this[r+a-1]!==0&&(u=1),this[r+a]=(t/l>>0)-u&255;return r+n};d.prototype.writeIntBE=function(t,r,n,o){if(t=+t,r=r|0,!o){var i=Math.pow(2,8*n-1);Ee(this,t,r,n,i-1,-i)}var a=n-1,l=1,u=0;for(this[r+a]=t&255;--a>=0&&(l*=256);)t<0&&u===0&&this[r+a+1]!==0&&(u=1),this[r+a]=(t/l>>0)-u&255;return r+n};d.prototype.writeInt8=function(t,r,n){return t=+t,r=r|0,n||Ee(this,t,r,1,127,-128),d.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[r]=t&255,r+1};d.prototype.writeInt16LE=function(t,r,n){return t=+t,r=r|0,n||Ee(this,t,r,2,32767,-32768),d.TYPED_ARRAY_SUPPORT?(this[r]=t&255,this[r+1]=t>>>8):Hn(this,t,r,!0),r+2};d.prototype.writeInt16BE=function(t,r,n){return t=+t,r=r|0,n||Ee(this,t,r,2,32767,-32768),d.TYPED_ARRAY_SUPPORT?(this[r]=t>>>8,this[r+1]=t&255):Hn(this,t,r,!1),r+2};d.prototype.writeInt32LE=function(t,r,n){return t=+t,r=r|0,n||Ee(this,t,r,4,2147483647,-2147483648),d.TYPED_ARRAY_SUPPORT?(this[r]=t&255,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24):Vn(this,t,r,!0),r+4};d.prototype.writeInt32BE=function(t,r,n){return t=+t,r=r|0,n||Ee(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),d.TYPED_ARRAY_SUPPORT?(this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255):Vn(this,t,r,!1),r+4};d.prototype.writeFloatLE=function(t,r,n){return tc(this,t,r,!0,n)};d.prototype.writeFloatBE=function(t,r,n){return tc(this,t,r,!1,n)};d.prototype.writeDoubleLE=function(t,r,n){return rc(this,t,r,!0,n)};d.prototype.writeDoubleBE=function(t,r,n){return rc(this,t,r,!1,n)};d.prototype.copy=function(t,r,n,o){if(n||(n=0),!o&&o!==0&&(o=this.length),r>=t.length&&(r=t.length),r||(r=0),o>0&&o<n&&(o=n),o===n||t.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(o<0)throw new RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length),t.length-r<o-n&&(o=t.length-r+n);var i=o-n,a;if(this===t&&n<r&&r<o)for(a=i-1;a>=0;--a)t[a+r]=this[a+n];else if(i<1e3||!d.TYPED_ARRAY_SUPPORT)for(a=0;a<i;++a)t[a+r]=this[a+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+i),r);return i};d.prototype.fill=function(t,r,n,o){if(typeof t=="string"){if(typeof r=="string"?(o=r,r=0,n=this.length):typeof n=="string"&&(o=n,n=this.length),t.length===1){var i=t.charCodeAt(0);i<256&&(t=i)}if(o!==void 0&&typeof o!="string")throw new TypeError("encoding must be a string");if(typeof o=="string"&&!d.isEncoding(o))throw new TypeError("Unknown encoding: "+o)}else typeof t=="number"&&(t=t&255);if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,t||(t=0);var a;if(typeof t=="number")for(a=r;a<n;++a)this[a]=t;else{var l=We(t)?t:Wn(new d(t,o).toString()),u=l.length;for(a=0;a<n-r;++a)this[a+r]=l[a%u]}return this};Wd=/[^+\/0-9A-Za-z-_]/g});var f=bt(()=>{oc()});function c0(e,t){if(!(e==="__proto__"||e==="constructor"))return t}function Mu(e){if(typeof e!="string")return e;let t=e.toLowerCase();if(t==="true")return!0;if(t==="false")return!1;if(t==="null")return null;if(t==="nan")return NaN;if(t==="infinity")return Infinity;if(t!=="undefined"){if(!l0.test(e))return e;try{return a0.test(e)||s0.test(e)?JSON.parse(e,c0):JSON.parse(e)}catch(r){return e}}}var a0,s0,l0,Ki=bt(()=>{p();f();a0=/"(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])"\s*:/,s0=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,l0=/^["{[]|^-?[0-9][0-9.]{0,14}$/});function w0(e){return encodeURI(""+e).replace(x0,"|").replace(h0,"[").replace(d0,"]")}function Xi(e){return w0(e).replace(Du,"%2B").replace(k0,"+").replace(u0,"%23").replace(p0,"%26").replace(g0,"`").replace(b0,"{").replace(y0,"}").replace(m0,"^")}function Qi(e){return Xi(e).replace(f0,"%3D")}function Fu(e=""){try{return decodeURIComponent(""+e)}catch(t){return""+e}}function v0(e){return Fu(e.replace(Du," "))}function S0(e=""){let t={};e[0]==="?"&&(e=e.substr(1));for(let r of e.split("&")){let n=r.match(/([^=]+)=?(.*)/)||[];if(n.length<2)continue;let o=Fu(n[1]);if(o==="__proto__"||o==="constructor")continue;let i=v0(n[2]||"");t[o]?Array.isArray(t[o])?t[o].push(i):t[o]=[t[o],i]:t[o]=i}return t}function C0(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(r=>`${Qi(e)}=${Xi(r)}`).join("&"):`${Qi(e)}=${Xi(t)}`:Qi(e)}function $0(e){return Object.keys(e).map(t=>C0(t,e[t])).join("&")}function T0(e,t=!1){return E0.test(e)||t&&A0.test(e)}function Zi(e="",t=!1){return t?j0.test(e):e.endsWith("/")}function z0(e="",t=!1){if(!t)return(Zi(e)?e.slice(0,-1):e)||"/";if(!Zi(e,!0))return e||"/";let[r,...n]=e.split("?");return(r.slice(0,-1)||"/")+(n.length?`?${n.join("?")}`:"")}function P0(e="",t=!1){if(!t)return e.endsWith("/")?e:e+"/";if(Zi(e,!0))return e||"/";let[r,...n]=e.split("?");return r+"/"+(n.length?`?${n.join("?")}`:"")}function L0(e=""){return e.startsWith("/")}function R0(e=""){return(L0(e)?e.substr(1):e)||"/"}function Nu(e,t){if(I0(t))return e;let r=z0(t);return e.startsWith(r)?e:O0(r,e)}function Uu(e,t){let r=Bu(e),n={...S0(r.search),...t};return r.search=$0(n),_0(r)}function I0(e){return!e||e==="/"}function M0(e){return e&&e!=="/"}function O0(e,...t){let r=e||"";for(let n of t.filter(M0))r=r?P0(r)+R0(n):n;return r}function Bu(e="",t){if(!T0(e,!0))return t?Bu(t+e):Wu(e);let[r="",n,o=""]=(e.replace(/\\/g,"/").match(/([^:/]+:)?\/\/([^/@]+@)?(.*)/)||[]).splice(1),[i="",a=""]=(o.match(/([^/?#]*)(.*)?/)||[]).splice(1),{pathname:l,search:u,hash:s}=Wu(a);return{protocol:r,auth:n?n.substr(0,n.length-1):"",host:i,pathname:l,search:u,hash:s}}function Wu(e=""){let[t="",r="",n=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:r,hash:n}}function _0(e){let t=e.pathname+(e.search?(e.search.startsWith("?")?"":"?")+e.search:"")+e.hash;return e.protocol?e.protocol+"//"+(e.auth?e.auth+"@":"")+e.host+t:t}var tS,u0,p0,f0,Du,h0,d0,m0,g0,b0,x0,y0,k0,E0,A0,j0,qu=bt(()=>{p();f();tS=String.fromCharCode,u0=/#/g,p0=/&/g,f0=/=/g,Du=/\+/g,h0=/%5B/gi,d0=/%5D/gi,m0=/%5E/gi,g0=/%60/gi,b0=/%7B/gi,x0=/%7C/gi,y0=/%7D/gi,k0=/%20/gi;E0=/^\w+:(\/\/)?/,A0=/^\/\/[^/]+/;j0=/\/$|\/\?/});function Ji(e,t,r){let n="";e&&r&&(n=`${r.status} ${r.statusText} (${e.toString()})`),t&&(n=`${t.message} (${n})`);let o=new Eo(n);return Object.defineProperty(o,"request",{get(){return e}}),Object.defineProperty(o,"response",{get(){return r}}),Object.defineProperty(o,"data",{get(){return r&&r._data}}),o}function Yu(e="GET"){return D0.has(e.toUpperCase())}function F0(e){if(e===void 0)return!1;let t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}function U0(e=""){if(!e)return"json";let t=e.split(";").shift();return B0.test(t)?"json":N0.has(t)||t.startsWith("text/")?"text":"blob"}function bn(e){let{fetch:t,Headers:r}=e;function n(a){if(a.options.retry!==!1){let u=typeof a.options.retry=="number"?a.options.retry:Yu(a.options.method)?0:1,s=a.response&&a.response.status||500;if(u>0&&W0.has(s))return o(a.request,{...a.options,retry:u-1})}let l=Ji(a.request,a.error,a.response);throw Error.captureStackTrace&&Error.captureStackTrace(l,o),l}let o=async function(l,u={}){let s={request:l,options:{...e.defaults,...u},response:void 0,error:void 0};s.options.onRequest&&await s.options.onRequest(s),typeof s.request=="string"&&(s.options.baseURL&&(s.request=Nu(s.request,s.options.baseURL)),s.options.params&&(s.request=Uu(s.request,s.options.params)),s.options.body&&Yu(s.options.method)&&F0(s.options.body)&&(s.options.body=typeof s.options.body=="string"?s.options.body:JSON.stringify(s.options.body),s.options.headers=new r(s.options.headers),s.options.headers.has("content-type")||s.options.headers.set("content-type","application/json"),s.options.headers.has("accept")||s.options.headers.set("accept","application/json"))),s.response=await t(s.request,s.options).catch(async h=>(s.error=h,s.options.onRequestError&&await s.options.onRequestError(s),n(s)));let c=(s.options.parseResponse?"json":s.options.responseType)||U0(s.response.headers.get("content-type")||"");if(c==="json"){let h=await s.response.text(),m=s.options.parseResponse||Mu;s.response._data=m(h)}else s.response._data=await s.response[c]();return s.options.onResponse&&await s.options.onResponse(s),s.response.ok||s.options.onResponseError&&await s.options.onResponseError(s),s.response.ok?s.response:n(s)},i=function(l,u){return o(l,u).then(s=>s._data)};return i.raw=o,i.create=(a={})=>bn({...e,defaults:{...e.defaults,...a}}),i}var Eo,D0,N0,B0,W0,ea=bt(()=>{p();f();Ki();qu();Eo=class extends Error{constructor(){super(...arguments);this.name="FetchError"}};D0=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));N0=new Set(["image/svg","application/xml","application/xhtml","application/html"]),B0=/^application\/(?:[\w!#$%&*`\-.^~]*\+)?json(;.+)?$/i;W0=new Set([408,409,425,429,500,502,503,504])});var Hu={};R(Hu,{$fetch:()=>ta,FetchError:()=>Eo,Headers:()=>Ku,createFetch:()=>bn,createFetchError:()=>Ji,fetch:()=>Gu});var Vu,Gu,Ku,ta,ra=bt(()=>{p();f();ea();ea();Ki();Vu=function(){if(typeof globalThis!="undefined")return globalThis;if(typeof self!="undefined")return self;if(typeof window!="undefined"||typeof window!="undefined")return window;throw new Error("unable to locate global object")}(),Gu=Vu.fetch||(()=>Promise.reject(new Error("[ohmyfetch] global.fetch is not supported!"))),Ku=Vu.Headers,ta=bn({fetch:Gu,Headers:Ku})});var Sp=Lt(da=>{p();f();var vp="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");da.encode=function(e){if(0<=e&&e<vp.length)return vp[e];throw new TypeError("Must be between 0 and 63: "+e)};da.decode=function(e){var t=65,r=90,n=97,o=122,i=48,a=57,l=43,u=47,s=26,c=52;return t<=e&&e<=r?e-t:n<=e&&e<=o?e-n+s:i<=e&&e<=a?e-i+c:e==l?62:e==u?63:-1}});var Tp=Lt(ma=>{p();f();var Cp=Sp(),ga=5,$p=1<<ga,Ep=$p-1,Ap=$p;function Sb(e){return e<0?(-e<<1)+1:(e<<1)+0}function Cb(e){var t=(e&1)==1,r=e>>1;return t?-r:r}ma.encode=function(t){var r="",n,o=Sb(t);do n=o&Ep,o>>>=ga,o>0&&(n|=Ap),r+=Cp.encode(n);while(o>0);return r};ma.decode=function(t,r,n){var o=t.length,i=0,a=0,l,u;do{if(r>=o)throw new Error("Expected more digits in base 64 VLQ value.");if(u=Cp.decode(t.charCodeAt(r++)),u===-1)throw new Error("Invalid base64 digit: "+t.charAt(r-1));l=!!(u&Ap),u&=Ep,i=i+(u<<a),a+=ga}while(l);n.value=Cb(i),n.rest=r}});var Mo=Lt(me=>{p();f();function $b(e,t,r){if(t in e)return e[t];if(arguments.length===3)return r;throw new Error('"'+t+'" is a required argument.')}me.getArg=$b;var jp=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,Eb=/^data:.+\,.+$/;function Cn(e){var t=e.match(jp);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}me.urlParse=Cn;function Gt(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}me.urlGenerate=Gt;var Ab=32;function Tb(e){var t=[];return function(r){for(var n=0;n<t.length;n++)if(t[n].input===r){var o=t[0];return t[0]=t[n],t[n]=o,t[0].result}var i=e(r);return t.unshift({input:r,result:i}),t.length>Ab&&t.pop(),i}}var ba=Tb(function(t){var r=t,n=Cn(t);if(n){if(!n.path)return t;r=n.path}for(var o=me.isAbsolute(r),i=[],a=0,l=0;;)if(a=l,l=r.indexOf("/",a),l===-1){i.push(r.slice(a));break}else for(i.push(r.slice(a,l));l<r.length&&r[l]==="/";)l++;for(var u,s=0,l=i.length-1;l>=0;l--)u=i[l],u==="."?i.splice(l,1):u===".."?s++:s>0&&(u===""?(i.splice(l+1,s),s=0):(i.splice(l,2),s--));return r=i.join("/"),r===""&&(r=o?"/":"."),n?(n.path=r,Gt(n)):r});me.normalize=ba;function zp(e,t){e===""&&(e="."),t===""&&(t=".");var r=Cn(t),n=Cn(e);if(n&&(e=n.path||"/"),r&&!r.scheme)return n&&(r.scheme=n.scheme),Gt(r);if(r||t.match(Eb))return t;if(n&&!n.host&&!n.path)return n.host=t,Gt(n);var o=t.charAt(0)==="/"?t:ba(e.replace(/\/+$/,"")+"/"+t);return n?(n.path=o,Gt(n)):o}me.join=zp;me.isAbsolute=function(e){return e.charAt(0)==="/"||jp.test(e)};function jb(e,t){e===""&&(e="."),e=e.replace(/\/$/,"");for(var r=0;t.indexOf(e+"/")!==0;){var n=e.lastIndexOf("/");if(n<0||(e=e.slice(0,n),e.match(/^([^\/]+:\/)?\/*$/)))return t;++r}return Array(r+1).join("../")+t.substr(e.length+1)}me.relative=jb;var Pp=function(){var e=Object.create(null);return!("__proto__"in e)}();function Lp(e){return e}function zb(e){return Rp(e)?"$"+e:e}me.toSetString=Pp?Lp:zb;function Pb(e){return Rp(e)?e.slice(1):e}me.fromSetString=Pp?Lp:Pb;function Rp(e){if(!e)return!1;var t=e.length;if(t<9||e.charCodeAt(t-1)!==95||e.charCodeAt(t-2)!==95||e.charCodeAt(t-3)!==111||e.charCodeAt(t-4)!==116||e.charCodeAt(t-5)!==111||e.charCodeAt(t-6)!==114||e.charCodeAt(t-7)!==112||e.charCodeAt(t-8)!==95||e.charCodeAt(t-9)!==95)return!1;for(var r=t-10;r>=0;r--)if(e.charCodeAt(r)!==36)return!1;return!0}function Lb(e,t,r){var n=ot(e.source,t.source);return n!==0||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0||r)||(n=e.generatedColumn-t.generatedColumn,n!==0)||(n=e.generatedLine-t.generatedLine,n!==0)?n:ot(e.name,t.name)}me.compareByOriginalPositions=Lb;function Rb(e,t,r){var n;return n=e.originalLine-t.originalLine,n!==0||(n=e.originalColumn-t.originalColumn,n!==0||r)||(n=e.generatedColumn-t.generatedColumn,n!==0)||(n=e.generatedLine-t.generatedLine,n!==0)?n:ot(e.name,t.name)}me.compareByOriginalPositionsNoSource=Rb;function Ib(e,t,r){var n=e.generatedLine-t.generatedLine;return n!==0||(n=e.generatedColumn-t.generatedColumn,n!==0||r)||(n=ot(e.source,t.source),n!==0)||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0)?n:ot(e.name,t.name)}me.compareByGeneratedPositionsDeflated=Ib;function Ob(e,t,r){var n=e.generatedColumn-t.generatedColumn;return n!==0||r||(n=ot(e.source,t.source),n!==0)||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0)?n:ot(e.name,t.name)}me.compareByGeneratedPositionsDeflatedNoLine=Ob;function ot(e,t){return e===t?0:e===null?1:t===null?-1:e>t?1:-1}function _b(e,t){var r=e.generatedLine-t.generatedLine;return r!==0||(r=e.generatedColumn-t.generatedColumn,r!==0)||(r=ot(e.source,t.source),r!==0)||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0)?r:ot(e.name,t.name)}me.compareByGeneratedPositionsInflated=_b;function Mb(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))}me.parseSourceMapInput=Mb;function Db(e,t,r){if(t=t||"",e&&(e[e.length-1]!=="/"&&t[0]!=="/"&&(e+="/"),t=e+t),r){var n=Cn(r);if(!n)throw new Error("sourceMapURL could not be parsed");if(n.path){var o=n.path.lastIndexOf("/");o>=0&&(n.path=n.path.substring(0,o+1))}t=zp(Gt(n),t)}return ba(t)}me.computeSourceURL=Db});var Op=Lt(Ip=>{p();f();var xa=Mo(),ya=Object.prototype.hasOwnProperty,At=typeof Map!="undefined";function it(){this._array=[],this._set=At?new Map:Object.create(null)}it.fromArray=function(t,r){for(var n=new it,o=0,i=t.length;o<i;o++)n.add(t[o],r);return n};it.prototype.size=function(){return At?this._set.size:Object.getOwnPropertyNames(this._set).length};it.prototype.add=function(t,r){var n=At?t:xa.toSetString(t),o=At?this.has(t):ya.call(this._set,n),i=this._array.length;(!o||r)&&this._array.push(t),o||(At?this._set.set(t,i):this._set[n]=i)};it.prototype.has=function(t){if(At)return this._set.has(t);var r=xa.toSetString(t);return ya.call(this._set,r)};it.prototype.indexOf=function(t){if(At){var r=this._set.get(t);if(r>=0)return r}else{var n=xa.toSetString(t);if(ya.call(this._set,n))return this._set[n]}throw new Error('"'+t+'" is not in the set.')};it.prototype.at=function(t){if(t>=0&&t<this._array.length)return this._array[t];throw new Error("No element indexed by "+t)};it.prototype.toArray=function(){return this._array.slice()};Ip.ArraySet=it});var Dp=Lt(_p=>{p();f();var Mp=Mo();function Fb(e,t){var r=e.generatedLine,n=t.generatedLine,o=e.generatedColumn,i=t.generatedColumn;return n>r||n==r&&i>=o||Mp.compareByGeneratedPositionsInflated(e,t)<=0}function Do(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}Do.prototype.unsortedForEach=function(t,r){this._array.forEach(t,r)};Do.prototype.add=function(t){Fb(this._last,t)?(this._last=t,this._array.push(t)):(this._sorted=!1,this._array.push(t))};Do.prototype.toArray=function(){return this._sorted||(this._array.sort(Mp.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};_p.MappingList=Do});var Np=Lt(Fp=>{p();f();var $n=Tp(),le=Mo(),Fo=Op().ArraySet,Nb=Dp().MappingList;function Oe(e){e||(e={}),this._file=le.getArg(e,"file",null),this._sourceRoot=le.getArg(e,"sourceRoot",null),this._skipValidation=le.getArg(e,"skipValidation",!1),this._sources=new Fo,this._names=new Fo,this._mappings=new Nb,this._sourcesContents=null}Oe.prototype._version=3;Oe.fromSourceMap=function(t){var r=t.sourceRoot,n=new Oe({file:t.file,sourceRoot:r});return t.eachMapping(function(o){var i={generated:{line:o.generatedLine,column:o.generatedColumn}};o.source!=null&&(i.source=o.source,r!=null&&(i.source=le.relative(r,i.source)),i.original={line:o.originalLine,column:o.originalColumn},o.name!=null&&(i.name=o.name)),n.addMapping(i)}),t.sources.forEach(function(o){var i=o;r!==null&&(i=le.relative(r,o)),n._sources.has(i)||n._sources.add(i);var a=t.sourceContentFor(o);a!=null&&n.setSourceContent(o,a)}),n};Oe.prototype.addMapping=function(t){var r=le.getArg(t,"generated"),n=le.getArg(t,"original",null),o=le.getArg(t,"source",null),i=le.getArg(t,"name",null);this._skipValidation||this._validateMapping(r,n,o,i),o!=null&&(o=String(o),this._sources.has(o)||this._sources.add(o)),i!=null&&(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:o,name:i})};Oe.prototype.setSourceContent=function(t,r){var n=t;this._sourceRoot!=null&&(n=le.relative(this._sourceRoot,n)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[le.toSetString(n)]=r):this._sourcesContents&&(delete this._sourcesContents[le.toSetString(n)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};Oe.prototype.applySourceMap=function(t,r,n){var o=r;if(r==null){if(t.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);o=t.file}var i=this._sourceRoot;i!=null&&(o=le.relative(i,o));var a=new Fo,l=new Fo;this._mappings.unsortedForEach(function(u){if(u.source===o&&u.originalLine!=null){var s=t.originalPositionFor({line:u.originalLine,column:u.originalColumn});s.source!=null&&(u.source=s.source,n!=null&&(u.source=le.join(n,u.source)),i!=null&&(u.source=le.relative(i,u.source)),u.originalLine=s.line,u.originalColumn=s.column,s.name!=null&&(u.name=s.name))}var c=u.source;c!=null&&!a.has(c)&&a.add(c);var h=u.name;h!=null&&!l.has(h)&&l.add(h)},this),this._sources=a,this._names=l,t.sources.forEach(function(u){var s=t.sourceContentFor(u);s!=null&&(n!=null&&(u=le.join(n,u)),i!=null&&(u=le.relative(i,u)),this.setSourceContent(u,s))},this)};Oe.prototype._validateMapping=function(t,r,n,o){if(r&&typeof r.line!="number"&&typeof r.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(t&&"line"in t&&"column"in t&&t.line>0&&t.column>=0&&!r&&!n&&!o)){if(t&&"line"in t&&"column"in t&&r&&"line"in r&&"column"in r&&t.line>0&&t.column>=0&&r.line>0&&r.column>=0&&n)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:t,source:n,original:r,name:o}))}};Oe.prototype._serializeMappings=function(){for(var t=0,r=1,n=0,o=0,i=0,a=0,l="",u,s,c,h,m=this._mappings.toArray(),x=0,k=m.length;x<k;x++){if(s=m[x],u="",s.generatedLine!==r)for(t=0;s.generatedLine!==r;)u+=";",r++;else if(x>0){if(!le.compareByGeneratedPositionsInflated(s,m[x-1]))continue;u+=","}u+=$n.encode(s.generatedColumn-t),t=s.generatedColumn,s.source!=null&&(h=this._sources.indexOf(s.source),u+=$n.encode(h-a),a=h,u+=$n.encode(s.originalLine-1-o),o=s.originalLine-1,u+=$n.encode(s.originalColumn-n),n=s.originalColumn,s.name!=null&&(c=this._names.indexOf(s.name),u+=$n.encode(c-i),i=c)),l+=u}return l};Oe.prototype._generateSourcesContent=function(t,r){return t.map(function(n){if(!this._sourcesContents)return null;r!=null&&(n=le.relative(r,n));var o=le.toSetString(n);return Object.prototype.hasOwnProperty.call(this._sourcesContents,o)?this._sourcesContents[o]:null},this)};Oe.prototype.toJSON=function(){var t={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(t.file=this._file),this._sourceRoot!=null&&(t.sourceRoot=this._sourceRoot),this._sourcesContents&&(t.sourcesContent=this._generateSourcesContent(t.sources,t.sourceRoot)),t};Oe.prototype.toString=function(){return JSON.stringify(this.toJSON())};Fp.SourceMapGenerator=Oe});var X1={};R(X1,{BetterMap:()=>hc,CONTROL_SHORTCUT_NO_MERGE:()=>mi,TwoKeyMap:()=>xi,UnoGenerator:()=>Si,attributifyRE:()=>cc,clearIdenticalEntries:()=>ac,clone:()=>sr,createGenerator:()=>rm,createValueHandler:()=>ki,cssIdRE:()=>di,defineConfig:()=>Q1,e:()=>Kn,entriesToCss:()=>_t,escapeRegExp:()=>Me,escapeSelector:()=>Gn,expandVariantGroup:()=>ut,extractorSplit:()=>Mt,extractorSvelte:()=>Gd,hasScopePlaceholder:()=>yc,isAttributifySelector:()=>gi,isObject:()=>ir,isRawUtil:()=>bi,isStaticRule:()=>sc,isStaticShortcut:()=>lc,isString:()=>ve,isValidSelector:()=>lr,mergeDeep:()=>ar,movePseudoElementsEnd:()=>xc,noop:()=>fc,normalizeCSSEntries:()=>Ot,normalizeCSSValues:()=>ic,normalizeVariant:()=>pc,notNull:()=>Xn,presetAttributify:()=>Ou,presetIcons:()=>rp,presetMini:()=>wu,presetTagify:()=>_u,presetTypography:()=>lp,presetUno:()=>zu,presetWebFonts:()=>ip,presetWind:()=>$u,regexClassGroup:()=>yi,regexScopePlaceholder:()=>cr,toArray:()=>ge,toEscapedSelector:()=>Zn,transformerAttributifyJsx:()=>_h,transformerCompileClass:()=>Oh,transformerDirectives:()=>Ph,transformerVariantGroup:()=>Ih,uniq:()=>or,validateFilterRE:()=>uc,warnOnce:()=>Qn,withLayer:()=>Vd});p();f();p();f();function Me(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Gn(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===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 Kn=Gn;function ge(e=[]){return Array.isArray(e)?e:[e]}function or(e){return Array.from(new Set(e))}function ve(e){return typeof e=="string"}function Ot(e){return ve(e)?e:(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function ic(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>Ot(t)):[e]:[Ot(e)]}function ac(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 _t(e){return e==null?"":ac(e).map(([t,r])=>r!=null?`${t}:${r};`:void 0).filter(Boolean).join("")}function ir(e){return e&&typeof e=="object"&&!Array.isArray(e)}function ar(e,t){let r=e,n=t;if(Array.isArray(r))return[...n];let o={...r};return ir(r)&&ir(n)&&Object.keys(n).forEach(i=>{ir(r[i])&&ir(n[i])||Array.isArray(r[i])&&Array.isArray(n[i])?o[i]=ar(r[i],n[i]):Object.assign(o,{[i]:n[i]})}),o}function sr(e){let t,r,n;if(Array.isArray(e)){for(r=Array(t=e.length);t--;)r[t]=(n=e[t])&&typeof n=="object"?sr(n):n;return r}if(Object.prototype.toString.call(e)==="[object Object]"){r={};for(t in e)t==="__proto__"?Object.defineProperty(r,t,{value:sr(e[t]),configurable:!0,enumerable:!0,writable:!0}):r[t]=(n=e[t])&&typeof n=="object"?sr(n):n;return r}return e}function sc(e){return ve(e[0])}function lc(e){return ve(e[0])}var cc=/^\[(.+?)~?="(.*)"\]$/,di=/\.(css|postcss|sass|scss|less|stylus|styl)($|\?)/,uc=/[\w\u00A0-\uFFFF-_:%-?]/,mi="$$shortcut-no-merge";function gi(e){return e.match(cc)}function lr(e=""){return uc.test(e)}function pc(e){return typeof e=="function"?{match:e}:e}function bi(e){return e.length===3}function Xn(e){return e!=null}function fc(){}var xi=class{constructor(){this._map=new Map}get(t,r){let n=this._map.get(t);if(n)return n.get(r)}getFallback(t,r,n){let o=this._map.get(t);return o||(o=new Map,this._map.set(t,o)),o.has(r)||o.set(r,n),o.get(r)}set(t,r,n){let o=this._map.get(t);return o||(o=new Map,this._map.set(t,o)),o.set(r,n),this}has(t,r){return this._map.get(t)?.has(r)}delete(t,r){return this._map.get(t)?.delete(r)||!1}deleteTop(t){return this._map.delete(t)}map(t){return Array.from(this._map.entries()).flatMap(([r,n])=>Array.from(n.entries()).map(([o,i])=>t(i,r,o)))}},hc=class extends Map{map(t){let r=[];return this.forEach((n,o)=>{r.push(t(n,o))}),r}};function Vd(e,t){return t.forEach(r=>{r[2]?r[2].layer=e:r[2]={layer:e}}),t}var yi=/((?:[!\w+:_/-]|\[&?>?:?.*\])+?)([:-])\(((?:[~!\w\s:/\\,%#.$-]|\[.*?\])*?)\)/gm;function ut(e,t=["-",":"],r=5){yi.lastIndex=0;let n=!1,o=e.toString();do{let i=o;o=o.replace(yi,(a,l,u,s)=>t.includes(u)?s.split(/\s/g).filter(Boolean).map(c=>c==="~"?l:c.replace(/^(!?)(.*)/,`$1${l}${u}$2`)).join(" "):a),n=o!==i,r-=1}while(n&&r);return typeof e=="string"?o:e.length()?e.overwrite(0,e.length(),o):e}var dc=new Set;function Qn(e){dc.has(e)||(console.warn("[unocss]",e),dc.add(e))}function ki(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,get(){return r(this,n)}});return t}var mc=e=>[...new Set(e.split(/\\?[\s'"`;={}]+/g))].filter(lr),Mt={name:"split",order:0,extract({code:e}){return mc(e)}},Gd={name:"svelte",order:0,extract({code:e,id:t}){let r=mc(e);return t&&t.endsWith(".svelte")&&(r=r.map(n=>n.startsWith("class:")?n.slice(6):n)),new Set(r)}};function Kd(){return{events:{},emit(e,...t){(this.events[e]||[]).forEach(r=>r(...t))},on(e,t){return(this.events[e]=this.events[e]||[]).push(t),()=>this.events[e]=(this.events[e]||[]).filter(r=>r!==t)}}}var wi="default",vi="preflights",Xd="shortcuts",Qd={[vi]:-100,[Xd]:-10,[wi]:0};function gc(e){return ge(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}function Zd(e){let t=e.shortcuts?gc(e.shortcuts):void 0;if(e.shortcuts=t,e.prefix||e.layer){let r=n=>{n[2]||(n[2]={});let o=n[2];o.prefix==null&&e.prefix&&(o.prefix=e.prefix),o.layer==null&&e.layer&&(o.prefix=e.layer)};t?.forEach(r),e.rules?.forEach(r)}return e}function bc(e={},t={}){let r=Object.assign({},t,e),n=(r.presets||[]).flatMap(ge).map(Zd),o=[...n.filter(k=>k.enforce==="pre"),...n.filter(k=>!k.enforce),...n.filter(k=>k.enforce==="post")],i=Object.assign(Qd,...n.map(k=>k.layers),e.layers);function a(k){return or([...o.flatMap(S=>ge(S[k]||[])),...ge(r[k]||[])])}let l=a("extractors");l.length||l.push(Mt),l.sort((k,S)=>(k.order||0)-(S.order||0));let u=a("rules"),s={},c=u.length,h=u.map((k,S)=>{if(sc(k)){let C=k[2]?.prefix||"";s[C+k[0]]=[S,k[1],k[2],k];return}return[S,...k]}).filter(Boolean).reverse(),m=sr([...o.map(k=>k.theme||{}),r.theme||{}].reduce((k,S)=>ar(k,S),{}));a("extendTheme").forEach(k=>k(m));let x={templates:or(o.map(k=>ge(k.autocomplete?.templates)).flat()),extractors:o.map(k=>ge(k.autocomplete?.extractors)).flat().sort((k,S)=>(k.order||0)-(S.order||0))};return{mergeSelectors:!0,warn:!0,blocklist:[],sortLayers:k=>k,...r,presets:o,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:i,theme:m,rulesSize:c,rulesDynamic:h,rulesStaticMap:s,preprocess:a("preprocess"),postprocess:a("postprocess"),preflights:a("preflights"),autocomplete:x,variants:a("variants").map(pc),shortcuts:gc(a("shortcuts")),extractors:l,safelist:a("safelist")}}var Jd="0.45.21",Si=class{constructor(t={},r={}){this.userConfig=t,this.defaults=r,this.version=Jd,this._cache=new Map,this.blocked=new Set,this.parentOrders=new Map,this.events=Kd(),this.config=bc(t,r),this.events.emit("config",this.config)}setConfig(t,r){!t||(r&&(this.defaults=r),this.userConfig=t,this.blocked.clear(),this.parentOrders.clear(),this._cache.clear(),this.config=bc(t,this.defaults),this.events.emit("config",this.config))}async applyExtractors(t,r,n=new Set){let o={get original(){return t},code:t,id:r};for(let i of this.config.extractors){let a=await i.extract(o);if(a)for(let l of a)n.add(l)}return n}makeContext(t,r){let n={rawSelector:t,currentSelector:r[1],theme:this.config.theme,generator:this,variantHandlers:r[2],constructCSS:(...o)=>this.constructCustomCSS(n,...o),variantMatch:r};return n}async parseToken(t,r){if(this.blocked.has(t))return;let n=`${t}${r?` ${r}`:""}`;if(this._cache.has(n))return this._cache.get(n);let o=t;for(let u of this.config.preprocess)o=u(t);if(this.isBlocked(o)){this.blocked.add(t),this._cache.set(n,null);return}let i=this.matchVariants(t,o);if(!i||this.isBlocked(i[1])){this.blocked.add(t),this._cache.set(n,null);return}let a=this.makeContext(t,[r||i[0],i[1],i[2],i[3]]);this.config.details&&(a.variants=[...i[3]]);let l=this.expandShortcut(a.currentSelector,a);if(l){let u=await this.stringifyShortcuts(a.variantMatch,a,l[0],l[1]);if(u?.length)return this._cache.set(n,u),u}else{let u=(await this.parseUtil(a.variantMatch,a))?.map(s=>this.stringifyUtil(s,a)).filter(Xn);if(u?.length)return this._cache.set(n,u),u}this._cache.set(n,null)}async generate(t,r={}){let{id:n,scope:o,preflights:i=!0,safelist:a=!0,minify:l=!1}=r,u=ve(t)?await this.applyExtractors(t,n):Array.isArray(t)?new Set(t):t;a&&this.config.safelist.forEach(E=>u.add(E));let s=l?"":`
|
|
2
|
+
`,c=new Set([wi]),h=new Set,m=new Map,x={},k=Array.from(u).map(async E=>{if(h.has(E))return;let z=await this.parseToken(E);if(z!=null){h.add(E);for(let D of z){let T=D[3]||"",L=D[4]?.layer;m.has(T)||m.set(T,[]),m.get(T).push(D),L&&c.add(L)}}}),S=(async()=>{if(!i)return;let E={generator:this,theme:this.config.theme},z=new Set([]);this.config.preflights.forEach(({layer:D=vi})=>{c.add(D),z.add(D)}),x=Object.fromEntries(await Promise.all(Array.from(z).map(async D=>{let L=(await Promise.all(this.config.preflights.filter(X=>(X.layer||vi)===D).map(async X=>await X.getCSS(E)))).filter(Boolean).join(s);return[D,L]})))})();await Promise.all([...k,S]);let C=this.config.sortLayers(Array.from(c).sort((E,z)=>(this.config.layers[E]??0)-(this.config.layers[z]??0)||E.localeCompare(z))),$={},v=E=>{if($[E])return $[E];let z=Array.from(m).sort((T,L)=>(this.parentOrders.get(T[0])??0)-(this.parentOrders.get(L[0])??0)||T[0]?.localeCompare(L[0]||"")||0).map(([T,L])=>{let X=L.length,je=L.filter(Y=>(Y[4]?.layer||wi)===E).sort((Y,ue)=>Y[0]-ue[0]||(Y[4]?.sort||0)-(ue[4]?.sort||0)||Y[1]?.localeCompare(ue[1]||"")||Y[2]?.localeCompare(ue[2]||"")||0).map(([,Y,ue,,Ne,,st])=>[[[(Y&&em(Y,o))??"",Ne?.sort??0]],ue,!!(st??Ne?.noMerge)]);if(!je.length)return;let we=je.reverse().map(([Y,ue,Ne],st)=>{if(!Ne&&this.config.mergeSelectors)for(let Pe=st+1;Pe<X;Pe++){let Be=je[Pe];if(Be&&!Be[2]&&(Y&&Be[0]||Y==null&&Be[0]==null)&&Be[1]===ue)return Y&&Be[0]&&Be[0].push(...Y),null}let Pt=Y?or(Y.sort((Pe,Be)=>Pe[1]-Be[1]||Pe[0]?.localeCompare(Be[0]||"")||0).map(Pe=>Pe[0]).filter(Boolean)):[];return Pt.length?`${Pt.join(`,${s}`)}{${ue}}`:ue}).filter(Boolean).reverse().join(s);if(!T)return we;let se=T.split(" $$ ");return`${se.join("{")}{${s}${we}${s}}${se.map(Y=>"").join("}")}`}).filter(Boolean).join(s);i&&(z=[x[E],z].filter(Boolean).join(s));let D=l?"":`/* layer: ${E} */${s}`;return $[E]=z?D+z:""},j=(E=C,z)=>E.filter(D=>!z?.includes(D)).map(D=>v(D)||"").filter(Boolean).join(s);return{get css(){return j()},layers:C,matched:h,getLayers:j,getLayer:v}}matchVariants(t,r){let n=new Set,o=[],i=r||t,a=!1,l={rawSelector:t,theme:this.config.theme,generator:this};for(;;){a=!1;for(let u of this.config.variants){if(!u.multiPass&&n.has(u))continue;let s=u.match(i,l);if(!!s){ve(s)&&(s={matcher:s}),i=s.matcher,o.unshift(s),n.add(u),a=!0;break}}if(!a)break;if(o.length>500)throw new Error(`Too many variants applied to "${t}"`)}return[t,i,o,n]}applyVariants(t,r=t[4],n=t[1]){let i=[...r].sort((s,c)=>(s.order||0)-(c.order||0)).reverse().reduce((s,c)=>h=>{let m=c.body?.(h.entries)||h.entries,x=Array.isArray(c.parent)?c.parent:[c.parent,void 0];return(c.handle??tm)({...h,entries:m,selector:c.selector?.(h.selector,m)||h.selector,parent:x[0]||h.parent,parentOrder:x[1]||h.parentOrder,layer:c.layer||h.layer,sort:c.sort||h.sort},s)},s=>s)({prefix:"",selector:Zn(n),pseudo:"",entries:t[2]}),{parent:a,parentOrder:l}=i;a!=null&&l!=null&&this.parentOrders.set(a,l);let u={selector:xc([i.prefix,i.selector,i.pseudo].join("")),entries:i.entries,parent:a,layer:i.layer,sort:i.sort,noMerge:i.noMerge};for(let s of this.config.postprocess)s(u);return u}constructCustomCSS(t,r,n){let o=Ot(r);if(ve(o))return o;let{selector:i,entries:a,parent:l}=this.applyVariants([0,n||t.rawSelector,o,void 0,t.variantHandlers]),u=`${i}{${_t(a)}}`;return l?`${l}{${u}}`:u}async parseUtil(t,r,n=!1){let[o,i,a]=ve(t)?this.matchVariants(t):t;this.config.details&&(r.rules=r.rules??[]);let l=this.config.rulesStaticMap[i];if(l&&l[1]&&(n||!l[2]?.internal)){this.config.details&&r.rules.push(l[3]);let s=l[0],c=Ot(l[1]),h=l[2];return ve(c)?[[s,c,h]]:[[s,o,c,h,a]]}r.variantHandlers=a;let{rulesDynamic:u}=this.config;for(let[s,c,h,m]of u){if(m?.internal&&!n)continue;let x=i;if(m?.prefix){if(!i.startsWith(m.prefix))continue;x=i.slice(m.prefix.length)}let k=x.match(c);if(!k)continue;let S=await h(k,r);if(!S)continue;this.config.details&&r.rules.push([c,h,m]);let C=ic(S).filter($=>$.length);if(C.length)return C.map($=>ve($)?[s,$,m]:[s,o,$,m,a])}}stringifyUtil(t,r){if(!t)return;if(bi(t))return[t[0],void 0,t[1],void 0,t[2],this.config.details?r:void 0,void 0];let{selector:n,entries:o,parent:i,layer:a,sort:l,noMerge:u}=this.applyVariants(t),s=_t(o);if(!s)return;let{layer:c,sort:h,...m}=t[3]??{},x={...m,layer:a??c,sort:l??h};return[t[0],n,s,i,x,this.config.details?r:void 0,u]}expandShortcut(t,r,n=5){if(n===0)return;let o=this.config.details?l=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(l)}:fc,i,a;for(let l of this.config.shortcuts){let u=l[2]?.prefix?t.slice(l[2].prefix.length):t;if(lc(l)){if(l[0]===u){i=i||l[2],a=l[1],o(l);break}}else{let s=u.match(l[0]);if(s&&(a=l[1](s,r)),a){i=i||l[2],o(l);break}}}if(ve(a)&&(a=ut(a).split(/\s+/g)),!a){let[l,u]=ve(t)?this.matchVariants(t):t;if(l!==u){let s=this.expandShortcut(u,r,n-1);s&&(a=s[0].map(c=>ve(c)?l.replace(u,c):c))}}if(!!a)return[a.flatMap(l=>(ve(l)?this.expandShortcut(l,r,n-1)?.[0]:void 0)||[l]).filter(Boolean),i]}async stringifyShortcuts(t,r,n,o={layer:this.config.shortcutsLayer}){let i=new xi,a=(await Promise.all(or(n).map(async c=>{let h=ve(c)?await this.parseUtil(c,r,!0):[[Infinity,"{inline}",Ot(c),void 0,[]]];return h||Qn(`unmatched utility "${c}" in shortcut "${t[1]}"`),h||[]}))).flat(1).filter(Boolean).sort((c,h)=>c[0]-h[0]),[l,,u]=t,s=[];for(let c of a){if(bi(c)){s.push([c[0],void 0,c[1],void 0,c[2],r,void 0]);continue}let{selector:h,entries:m,parent:x,sort:k,noMerge:S}=this.applyVariants(c,[...c[4],...u],l);i.getFallback(h,x,[[],c[0]])[0].push([m,!!(S??c[3]?.noMerge),k??0])}return s.concat(i.map(([c,h],m,x)=>{let k=(C,$,v)=>{let j=Math.max(...v.map(z=>z[1])),E=v.map(z=>z[0]);return(C?[E.flat(1)]:E).map(z=>{let D=_t(z);if(D)return[h,m,D,x,{...o,noMerge:$,sort:j},r,void 0]})};return[[c.filter(([,C])=>C).map(([C,,$])=>[C,$]),!0],[c.filter(([,C])=>!C).map(([C,,$])=>[C,$]),!1]].map(([C,$])=>[...k(!1,$,C.filter(([v])=>v.some(j=>j[0]===mi))),...k(!0,$,C.filter(([v])=>v.every(j=>j[0]!==mi)))])}).flat(2).filter(Boolean))}isBlocked(t){return!t||this.config.blocklist.some(r=>ve(r)?r===t:r.test(t))}};function rm(e,t){return new Si(e,t)}var cr=/ \$\$ /,yc=e=>e.match(cr);function em(e,t){return yc(e)?e.replace(cr,t?` ${t} `:" "):t?`${t} ${e}`:e}function xc(e){let t=e.match(/::[\w-]+(\([\w-]+\))?/g);if(t){for(let r of t)e=e.replace(r,"");e+=t.join("")}return e}var kc=/^\[(.+?)(~?=)"(.*)"\]$/;function Zn(e){return kc.test(e)?e.replace(kc,(t,r,n,o)=>`[${Kn(r)}${n}"${Kn(o)}"]`):`.${Kn(e)}`}function tm(e,t){return t(e)}p();f();p();f();p();f();p();f();p();f();var Ce={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-left","-right"],y:["-top","-bottom"],"":[""],bs:["-block-start"],be:["-block-end"],is:["-inline-start"],ie:["-inline-end"],block:["-block-start","-block-end"],inline:["-inline-start","-inline-end"]},Jn={...Ce,s:["-inset-inline-start"],e:["-inset-inline-end"],bs:["-inset-block-start"],be:["-inset-block-end"],is:["-inset-inline-start"],ie:["-inset-inline-end"],block:["-inset-block-start","-inset-block-end"],inline:["-inset-inline-start","-inset-inline-end"]},eo={l:["-top-left","-bottom-left"],r:["-top-right","-bottom-right"],t:["-top-left","-top-right"],b:["-bottom-left","-bottom-right"],tl:["-top-left"],lt:["-top-left"],tr:["-top-right"],rt:["-top-right"],bl:["-bottom-left"],lb:["-bottom-left"],br:["-bottom-right"],rb:["-bottom-right"],"":[""],bs:["-start-start","-start-end"],be:["-end-start","-end-end"],is:["-end-start","-start-start"],ie:["-start-end","-end-end"],"bs-is":["-start-start"],"is-bs":["-start-start"],"bs-ie":["-start-end"],"ie-bs":["-start-end"],"be-is":["-end-start"],"is-be":["-end-start"],"be-ie":["-end-end"],"ie-be":["-end-end"]},to={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},wc=["top","top center","top left","top right","bottom","bottom center","bottom left","bottom right","left","left center","left top","left bottom","right","right center","right top","right bottom","center","center top","center bottom","center left","center right","center center"],fe=Object.assign({},...wc.map(e=>({[e.replace(/ /,"-")]:e})),...wc.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),ne=["inherit","initial","revert","revert-layer","unset"],ur=/^(-?[0-9.]+)(px|pt|pc|rem|em|%|vh|vw|in|cm|mm|ex|ch|vmin|vmax|cqw|cqh|cqi|cqb|cqmin|cqmax|rpx)?$/i,nm=/^(-?[0-9.]+)$/i,vc=/^(px)$/i,om=["color","border-color","background-color","flex-grow","flex","flex-shrink","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","background-position","left","right","top","bottom","object-position","max-height","min-height","max-width","min-width","height","width","border-width","margin","padding","outline-width","outline-offset","font-size","line-height","text-indent","vertical-align","border-spacing","letter-spacing","word-spacing","stroke","filter","backdrop-filter","fill","mask","mask-size","mask-border","clip-path","clip","border-radius"];function Re(e){return e.toFixed(10).replace(/\.0+$/,"").replace(/(\.\d+?)0+$/,"$1")}function im(e){let t=e.match(ur);if(!t)return;let[,r,n]=t,o=parseFloat(r);if(n&&!Number.isNaN(o))return`${Re(o)}${n}`}function am(e){if(e==="auto"||e==="a")return"auto"}function sm(e){if(e.match(vc))return`1${e}`;let t=e.match(ur);if(!t)return;let[,r,n]=t,o=parseFloat(r);if(!Number.isNaN(o))return n?`${Re(o)}${n}`:`${Re(o/4)}rem`}function lm(e){if(e.match(vc))return`1${e}`;let t=e.match(ur);if(!t)return;let[,r,n]=t,o=parseFloat(r);if(!Number.isNaN(o))return n?`${Re(o)}${n}`:`${Re(o)}px`}function cm(e){if(!nm.test(e))return;let t=parseFloat(e);if(!Number.isNaN(t))return Re(t)}function um(e){e.endsWith("%")&&(e=e.slice(0,-1));let t=parseFloat(e);if(!Number.isNaN(t))return`${Re(t/100)}`}function pm(e){if(e==="full")return"100%";let[t,r]=e.split("/"),n=parseFloat(t)/parseFloat(r);if(!Number.isNaN(n))return`${Re(n*100)}%`}var fm=/^\[(color|length|position):/i;function ro(e,t){if(e&&e.startsWith("[")&&e.endsWith("]")){let r,n=e.match(fm);if(n?t&&n[1]===t&&(r=e.slice(n[0].length,-1)):r=e.slice(1,-1),!r)return;let o=0;for(let i of r)if(i==="[")o+=1;else if(i==="]"&&(o-=1,o<0))return;return o?void 0:r.replace(/(url\(.*?\))/g,i=>i.replace(/_/g,"\\_")).replace(/([^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(?:calc|clamp|max|min)\((.*)/g,i=>i.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "))}}function hm(e){return ro(e)}function dm(e){return ro(e,"color")}function mm(e){return ro(e,"length")}function gm(e){return ro(e,"position")}function bm(e){if(e.match(/^\$\S/))return`var(--${Gn(e.slice(1))})`}function xm(e){let t=e.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!t)return;let[,r,n]=t,o=parseFloat(r);if(!Number.isNaN(o))return n?`${Re(o)}${n}`:`${Re(o)}ms`}function ym(e){let t=e.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!t)return;let[,r,n]=t,o=parseFloat(r);if(!Number.isNaN(o))return n?`${Re(o)}${n}`:`${Re(o)}deg`}function km(e){if(ne.includes(e))return e}function wm(e){if(e.split(",").every(t=>om.includes(t)))return e}function vm(e){if(["top","left","right","bottom","center"].includes(e))return e}var Sc={__proto__:null,numberWithUnit:im,auto:am,rem:sm,px:lm,number:cm,percent:um,fraction:pm,bracket:hm,bracketOfColor:dm,bracketOfLength:mm,bracketOfPosition:gm,cssvar:bm,time:xm,degree:ym,global:km,properties:wm,position:vm},y=ki(Sc);var Ci="$$mini-no-negative";function Q(e){return([t,r,n],{theme:o})=>{let i=o.spacing?.[n||"DEFAULT"]??y.bracket.cssvar.global.auto.fraction.rem(n);if(i!=null)return Ce[r].map(a=>[`${e}${a}`,i])}}function $i(e,t){let r=e.colors,n=-1;for(let o of t){if(n+=1,r&&typeof r!="string"){let i=t.slice(n).join("-").replace(/(-[a-z])/g,a=>a.slice(1).toUpperCase());if(r[i])return r[i];if(r[o]){r=r[o];continue}}return}return r}function wt(e,t){let r=e.split(/(?:\/|:)/),n,o;r[0]==="[color"?(n=r.slice(0,2).join(":"),o=r[2]):[n,o]=r;let i=n.replace(/([a-z])([0-9])/g,"$1-$2").split(/-/g),[a]=i;if(!a)return;let l,u=y.bracketOfColor(n),s=u||n;s.match(/^#[\da-fA-F]+/g)?l=s:s.match(/^hex-[\da-fA-F]+/g)?l=`#${s.slice(4)}`:n.startsWith("$")&&(l=y.cssvar(n)),l=l||u;let c="DEFAULT";if(!l){let h,[m]=i.slice(-1);m.match(/^\d+$/)?(c=m,h=$i(t,i.slice(0,-1)),!h||typeof h=="string"?l=void 0:l=h[c]):(h=$i(t,i),!h&&i.length<=2&&([,c=c]=i,h=$i(t,[a])),typeof h=="string"?l=h:c&&h&&(l=h[c]))}return{opacity:o,name:a,no:c,color:l,cssColor:Dt(l),alpha:y.bracket.cssvar.percent(o??"")}}function oe(e,t,r){return([,n],{theme:o})=>{let i=wt(n,o);if(!i)return;let{alpha:a,color:l,cssColor:u}=i,s={};if(u?a!=null?s[e]=be(u,a):(s[`--un-${t}-opacity`]=vt(u),s[e]=be(u,`var(--un-${t}-opacity)`)):l&&(s[e]=be(l,a)),r?.(s)!==!1)return s}}function Ft(e,t){let r=[];e=ge(e);for(let n=0;n<e.length;n++){let o=pr(e[n]," ",6);if(!o||o.length<3)return e;let i=Dt(o.pop());if(i==null)return e;r.push(`${o.join(" ")} var(${t}, ${be(i)})`)}return r}function fr(e,t){return e!=null&&!!wt(e,t)?.color}function St({theme:e,generator:t}){let r;return t.userConfig&&t.userConfig.theme&&(r=t.userConfig.theme.breakpoints),r||(r=e.breakpoints),r}function Ei({theme:e,generator:t}){let r;return t.userConfig&&t.userConfig.theme&&(r=t.userConfig.theme.verticalBreakpoints),r||(r=e.verticalBreakpoints),r}function M(e,t){return ne.map(r=>[`${e}-${r}`,{[t??e]:r}])}function no(e,t,r,n){if(e==="")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;case n:if(i===0)return a===0||a===o-1?void 0:[e.slice(0,a),e.slice(a+1)]}return[e,""]}function pr(e,t,r){if(t.length!==1)return;r=r??10;let n=[],o=0;for(;e!=="";){if(++o>r)return;let i=no(e,"(",")",t);if(!i)return;let[a,l]=i;n.push(a),e=l}if(n.length>0)return n}var Ai=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],Cc=["%alpha","<alpha-value>"],Sm=new RegExp(Cc.map(e=>Me(e)).join("|"));function Dt(e=""){let t=Cm(e);if(t==null||t===!1)return;let{type:r,components:n,alpha:o}=t,i=r.toLowerCase();if(n.length!==0&&!(["rgba","hsla"].includes(i)&&o==null)&&!(Ai.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 vt(e){let t=e.alpha??1;return typeof t=="string"&&Cc.includes(t)?1:t}function be(e,t){if(typeof e=="string")return e.replace(Sm,`${t??1}`);let{components:r}=e,{alpha:n,type:o}=e;return n=t??n,o=o.toLowerCase(),["hsla","hsl","rgba","rgb"].includes(o)?`${o.replace("a","")}a(${r.join(",")}${n==null?"":`,${n}`})`:(n=n==null?"":` / ${n}`,Ai.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function Cm(e){if(!e)return;let t=$m(e);if(t!=null||(t=Em(e),t!=null)||(t=Am(e),t!=null)||(t=Tm(e),t!=null)||(t=jm(e),t!=null))return t}function $m(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 Em(e){let t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}function Am(e){let t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;let[,r,n]=t,o=pr(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 zm=new RegExp(`^(${Ai.join("|")})\\((.+)\\)$`,"i");function Tm(e){let t=e.match(zm);if(!t)return;let[,r,n]=t,o=$c(`${r} ${n}`);if(o){let{alpha:i,components:[a,...l]}=o;return{type:a,components:l,alpha:i}}}function jm(e){let t=e.match(/^color\((.+)\)$/);if(!t)return;let r=$c(t[1]);if(r){let{alpha:n,components:[o,...i]}=r;return{type:o,components:i,alpha:n}}}function $c(e){let t=pr(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=pr(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}}var Ec={mid:"middle",base:"baseline",btm:"bottom",baseline:"baseline",top:"top",start:"top",middle:"middle",bottom:"bottom",end:"bottom","text-top":"text-top","text-bottom":"text-bottom",sub:"sub",super:"super",...Object.fromEntries(ne.map(e=>[e,e]))},hr=[[/^(?:vertical|align|v)-([-\w]+)$/,([,e])=>({"vertical-align":Ec[e]}),{autocomplete:`(vertical|align|v)-(${Object.keys(Ec).join("|")})`}]],dr=["center","left","right","justify","start","end",...ne].map(e=>[`text-${e}`,{"text-align":e}]),mr=[[/^outline-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>({"outline-width":t.lineWidth?.[e]??y.bracket.cssvar.global.px(e)}),{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,oe("outline-color","outline-color"),{autocomplete:"outline-$colors"}],[/^outline-offset-(.+)$/,([,e],{theme:t})=>({"outline-offset":t.lineWidth?.[e]??y.bracket.cssvar.global.px(e)}),{autocomplete:"outline-(offset)-<num>"}],["outline",{"outline-style":"solid"}],...["auto","dashed","dotted","double","hidden","solid","groove","ridge","inset","outset",...ne].map(e=>[`outline-${e}`,{"outline-style":e}]),["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]],gr=[["appearance-none",{appearance:"none","-webkit-appearance":"none"}]],Pm=e=>y.properties.auto.global(e)??{contents:"contents",scroll:"scroll-position"}[e],br=[[/^will-change-(.+)/,([,e])=>({"will-change":Pm(e)})]],pt=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...ne],vr=[[/^(?:border|b)()(?:-(.+))?$/,xr,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,xr],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,xr],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,xr],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,xr],[/^(?:border|b)-()(?:width|size)-(.+)$/,Nt,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,Nt],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,Nt],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,Nt],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,Nt],[/^(?:border|b)-()(?:color-)?(.+)$/,yr,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,yr],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,yr],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,yr],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,yr],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,kr,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,kr],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,kr],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,kr],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,kr],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,wr,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-<num>","(rounded|rd)","(rounded|rd)-<num>"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltb])(?:-(.+))?$/,wr],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,wr],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se])(?:-(.+))?$/,wr],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,wr],[/^(?:border|b)-(?:style-)?()(.+)$/,Ze,{autocomplete:["(border|b)-style",`(border|b)-(${pt.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${pt.join("|")})`,`(border|b)-<directions>-style-(${pt.join("|")})`,`(border|b)-style-(${pt.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,Ze],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,Ze],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,Ze],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,Ze]],Lm=e=>([,t],r)=>{let n=wt(t,r);if(!n)return;let{alpha:o,color:i,cssColor:a}=n;if(a)return o!=null?{[`border${e}-color`]:be(a,o)}:e===""?{"--un-border-opacity":vt(a),"border-color":be(a,"var(--un-border-opacity)")}:{"--un-border-opacity":vt(a),[`--un-border${e}-opacity`]:"var(--un-border-opacity)",[`border${e}-color`]:be(a,`var(--un-border${e}-opacity)`)};if(i)return{[`border${e}-color`]:be(i,o)}};function xr(e,t){let r=Nt(e,t),n=Ze(["",e[1],"solid"]);if(r&&n)return[...r,...n]}function Nt([,e="",t],{theme:r}){let n=r.lineWidth?.[t||"DEFAULT"]??y.bracket.cssvar.global.px(t||"1");if(e in Ce&&n!=null)return Ce[e].map(o=>[`border${o}-width`,n])}function yr([,e="",t],{theme:r}){if(e in Ce&&fr(t,r))return Object.assign({},...Ce[e].map(n=>Lm(n)(["",t],r)))}function kr([,e="",t]){let r=y.bracket.percent(t);if(e in Ce&&r!=null)return Ce[e].map(n=>[`--un-border${n}-opacity`,r])}function wr([,e="",t],{theme:r}){let n=r.borderRadius?.[t||"DEFAULT"]||y.bracket.cssvar.global.fraction.rem(t||"1");if(e in eo&&n!=null)return eo[e].map(o=>[`border${o}-radius`,n])}function Ze([,e="",t]){if(pt.includes(t)&&e in Ce)return Ce[e].map(r=>[`border${r}-style`,t])}var oo={all:"all",colors:["color","background-color","border-color","text-decoration-color","fill","stroke"].join(","),none:"none",opacity:"opacity",shadow:"box-shadow",transform:"transform"},Ac=e=>y.properties(e)??oo[e],Sr=[[/^transition(?:-([a-z-]+(?:,[a-z-]+)*))?(?:-(\d+))?$/,([,e,t],{theme:r})=>{let n=e!=null?Ac(e):[oo.colors,"opacity","box-shadow","transform","filter","backdrop-filter"].join(",");if(n){let o=r.duration?.[t||"DEFAULT"]??y.time(t||"150");return{"transition-property":n,"transition-timing-function":"cubic-bezier(0.4, 0, 0.2, 1)","transition-duration":o}}},{autocomplete:`transition-(${Object.keys(oo).join("|")})`}],[/^(?:transition-)?duration-(.+)$/,([,e],{theme:t})=>({"transition-duration":t.duration?.[e||"DEFAULT"]??y.bracket.cssvar.time(e)}),{autocomplete:["transition-duration-$duration","duration-$duration"]}],[/^(?:transition-)?delay-(.+)$/,([,e],{theme:t})=>({"transition-delay":t.duration?.[e||"DEFAULT"]??y.bracket.cssvar.time(e)}),{autocomplete:["transition-delay-$duration","delay-$duration"]}],[/^(?:transition-)?ease(?:-(.+))?$/,([,e],{theme:t})=>({"transition-timing-function":t.easing?.[e||"DEFAULT"]??y.bracket.cssvar(e)}),{autocomplete:["transition-ease-(linear|in|out|in-out|DEFAULT)","ease-(linear|in|out|in-out|DEFAULT)"]}],[/^(?:transition-)?property-(.+)$/,([,e])=>({"transition-property":y.bracket.global(e)||Ac(e)}),{autocomplete:[`transition-property-(${[...ne,...Object.keys(oo)].join("|")})`]}],["transition-none",{transition:"none"}],...M("transition")],Tc={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Cr=[[/^font-(.+)$/,([,e],{theme:t})=>({"font-family":t.fontFamily?.[e]||y.bracket.cssvar.global(e)}),{autocomplete:"font-$fontFamily"}],[/^text-(.+)$/,([,e="base"],{theme:t})=>{let r=ge(t.fontSize?.[e]);if(r?.[0]){let[n,o="1"]=r;return{"font-size":n,"line-height":o}}return{"font-size":y.bracketOfLength.rem(e)}},{autocomplete:"text-$fontSize"}],[/^text-size-(.+)$/,([,e],{theme:t})=>{let n=ge(t.fontSize?.[e])?.[0]??y.bracket.cssvar.global.rem(e);if(n!=null)return{"font-size":n}},{autocomplete:"text-size-$fontSize"}],[/^(?:font|fw)-?([^-]+)$/,([,e])=>({"font-weight":Tc[e]||y.global.number(e)}),{autocomplete:`(font|fw)-(100|200|300|400|500|600|700|800|900|${Object.keys(Tc).join("|")})`}],[/^(?:font-)?(?:leading|lh)-(.+)$/,([,e],{theme:t})=>({"line-height":t.lineHeight?.[e]||y.bracket.cssvar.global.rem(e)}),{autocomplete:"(leading|lh)-$lineHeight"}],["font-synthesis-weight",{"font-synthesis":"weight"}],["font-synthesis-style",{"font-synthesis":"style"}],["font-synthesis-small-caps",{"font-synthesis":"small-caps"}],["font-synthesis-none",{"font-synthesis":"none"}],[/^font-synthesis-(.+)$/,([,e])=>({"font-synthesis":y.bracket.cssvar.global(e)})],[/^(?:font-)?tracking-(.+)$/,([,e],{theme:t})=>({"letter-spacing":t.letterSpacing?.[e]||y.bracket.cssvar.global.rem(e)}),{autocomplete:"tracking-$letterSpacing"}],[/^(?:font-)?word-spacing-(.+)$/,([,e],{theme:t})=>({"word-spacing":t.wordSpacing?.[e]||y.bracket.cssvar.global.rem(e)}),{autocomplete:"word-spacing-$wordSpacing"}]],$r=[[/^tab(?:-(.+))?$/,([,e])=>{let t=y.bracket.cssvar.global.number(e||"4");if(t!=null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],Er=[[/^indent(?:-(.+))?$/,([,e],{theme:t})=>({"text-indent":t.textIndent?.[e||"DEFAULT"]||y.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"indent-$textIndent"}]],Ar=[[/^text-stroke(?:-(.+))?$/,([,e],{theme:t})=>({"-webkit-text-stroke-width":t.textStrokeWidth?.[e||"DEFAULT"]||y.bracket.cssvar.px(e)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,oe("-webkit-text-stroke-color","text-stroke"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":y.bracket.percent(e)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],Tr=[[/^text-shadow(?:-(.+))?$/,([,e],{theme:t})=>{let r=t.textShadow?.[e||"DEFAULT"];return r!=null?{"--un-text-shadow":Ft(r,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:{"text-shadow":y.bracket.cssvar.global(e)}},{autocomplete:"text-shadow-$textShadow"}],[/^text-shadow-color-(.+)$/,oe("--un-text-shadow-color","text-shadow"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":y.bracket.percent(e)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]],io=["auto","hidden","clip","visible","scroll","overlay",...ne],jr=[[/^(?:overflow|of)-(.+)$/,([,e])=>io.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-(${io.join("|")})`,`(overflow|of)-(x|y)-(${io.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>io.includes(t)?{[`overflow-${e}`]:t}:void 0]],zr=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e})],[/^(?:position-|pos-)([-\w]+)$/,([,e])=>ne.includes(e)?{position:e}:void 0],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],Pr=[["justify-start",{"justify-content":"flex-start"}],["justify-end",{"justify-content":"flex-end"}],["justify-center",{"justify-content":"center"}],["justify-between",{"justify-content":"space-between"}],["justify-around",{"justify-content":"space-around"}],["justify-evenly",{"justify-content":"space-evenly"}],...M("justify","justify-content"),["justify-items-start",{"justify-items":"start"}],["justify-items-end",{"justify-items":"end"}],["justify-items-center",{"justify-items":"center"}],["justify-items-stretch",{"justify-items":"stretch"}],...M("justify-items"),["justify-self-auto",{"justify-self":"auto"}],["justify-self-start",{"justify-self":"start"}],["justify-self-end",{"justify-self":"end"}],["justify-self-center",{"justify-self":"center"}],["justify-self-stretch",{"justify-self":"stretch"}],...M("justify-self")],Lr=[[/^order-(.+)$/,([,e])=>({order:y.bracket.cssvar.number(e)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],Rr=[["content-center",{"align-content":"center"}],["content-start",{"align-content":"flex-start"}],["content-end",{"align-content":"flex-end"}],["content-between",{"align-content":"space-between"}],["content-around",{"align-content":"space-around"}],["content-evenly",{"align-content":"space-evenly"}],...M("content","align-content"),["items-start",{"align-items":"flex-start"}],["items-end",{"align-items":"flex-end"}],["items-center",{"align-items":"center"}],["items-baseline",{"align-items":"baseline"}],["items-stretch",{"align-items":"stretch"}],...M("items","align-items"),["self-auto",{"align-self":"auto"}],["self-start",{"align-self":"flex-start"}],["self-end",{"align-self":"flex-end"}],["self-center",{"align-self":"center"}],["self-stretch",{"align-self":"stretch"}],["self-baseline",{"align-self":"baseline"}],...M("self","align-self")],Ir=[["place-content-center",{"place-content":"center"}],["place-content-start",{"place-content":"start"}],["place-content-end",{"place-content":"end"}],["place-content-between",{"place-content":"space-between"}],["place-content-around",{"place-content":"space-around"}],["place-content-evenly",{"place-content":"space-evenly"}],["place-content-stretch",{"place-content":"stretch"}],...M("place-content"),["place-items-start",{"place-items":"start"}],["place-items-end",{"place-items":"end"}],["place-items-center",{"place-items":"center"}],["place-items-stretch",{"place-items":"stretch"}],...M("place-items"),["place-self-auto",{"place-self":"auto"}],["place-self-start",{"place-self":"start"}],["place-self-end",{"place-self":"end"}],["place-self-center",{"place-self":"center"}],["place-self-stretch",{"place-self":"stretch"}],...M("place-self")];function Ti(e,{theme:t}){return t.spacing?.[e]??y.bracket.cssvar.global.auto.fraction.rem(e)}function ao([,e,t],r){let n=Ti(t,r);if(n!=null&&e in Jn)return Jn[e].map(o=>[o.slice(1),n])}var Or=[[/^(?:position-|pos-)?inset-(.+)$/,([,e],t)=>({inset:Ti(e,t)}),{autocomplete:["(position|pos)-inset-<directions>-$spacing","(position|pos)-inset-(block|inline)-$spacing","(position|pos)-inset-(bs|be|is|ie)-$spacing","(position|pos)-(top|left|right|bottom)-$spacing"]}],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,ao],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,ao],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,ao],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,ao],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t],r)=>({[e]:Ti(t,r)})]],_r=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-none",{float:"none"}],...M("float"),["clear-left",{clear:"left"}],["clear-right",{clear:"right"}],["clear-both",{clear:"both"}],["clear-none",{clear:"none"}],...M("clear")],Mr=[[/^z([\d.]+)$/,([,e])=>({"z-index":y.number(e)})],[/^z-(.+)$/,([,e])=>({"z-index":y.bracket.cssvar.global.auto.number(e)}),{autocomplete:"z-<num>"}]],Dr=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...M("box","box-sizing")],Rm=["auto","default","none","context-menu","help","pointer","progress","wait","cell","crosshair","text","vertical-text","alias","copy","move","no-drop","not-allowed","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out"],U=" ",Fr=[["inline",{display:"inline"}],["block",{display:"block"}],["inline-block",{display:"inline-block"}],["contents",{display:"contents"}],["flow-root",{display:"flow-root"}],["list-item",{display:"list-item"}],["hidden",{display:"none"}],[/^display-(.+)$/,([,e])=>({display:y.bracket.cssvar.global(e)||e})]],Nr=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...M("backface","backface-visibility")],Br=[[/^cursor-(.+)$/,([,e])=>({cursor:y.bracket.cssvar.global(e)})],...Rm.map(e=>[`cursor-${e}`,{cursor:e}])],Ur=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...M("pointer-events")],Wr=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...M("resize")],qr=[["select-auto",{"user-select":"auto"}],["select-all",{"user-select":"all"}],["select-text",{"user-select":"text"}],["select-none",{"user-select":"none"}],...M("select","user-select")],Yr=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,e])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...ne].includes(e)?{"white-space":e}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],Hr=[[/^intrinsic-size-(.+)$/,([,e])=>({"contain-intrinsic-size":y.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"intrinsic-size-<num>"}],["content-visibility-visible",{"content-visibility":"visible"}],["content-visibility-hidden",{"content-visibility":"hidden"}],["content-visibility-auto",{"content-visibility":"auto"}],...M("content-visibility")],Vr=[[/^content-\[(.+)\]$/,([,e])=>({content:`"${e}"`})],[/^content-(\$.+)]$/,([,e])=>({content:y.cssvar(e)})],["content-empty",{content:'""'}],["content-none",{content:'""'}]],Gr=[["break-normal",{"overflow-wrap":"normal","word-break":"normal"}],["break-words",{"overflow-wrap":"break-word"}],["break-all",{"word-break":"break-all"}]],Kr=[["truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-ellipsis",{"text-overflow":"ellipsis"}],["text-clip",{"text-overflow":"clip"}]],Xr=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],...M("case","text-transform")],Qr=[["italic",{"font-style":"italic"}],["not-italic",{"font-style":"normal"}],["font-italic",{"font-style":"italic"}],["font-not-italic",{"font-style":"normal"}],["oblique",{"font-style":"oblique"}],["not-oblique",{"font-style":"normal"}],["font-oblique",{"font-style":"oblique"}],["font-not-oblique",{"font-style":"normal"}]],Zr=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto","font-smoothing":"auto"}]],Jr={"--un-ring-inset":U,"--un-ring-offset-width":"0px","--un-ring-offset-color":"#fff","--un-ring-width":"0px","--un-ring-color":"rgba(147,197,253,0.5)","--un-shadow":"0 0 rgba(0,0,0,0)"},en=[[/^ring(?:-(.+))?$/,([,e],{theme:t})=>{let r=t.ringWidth?.[e||"DEFAULT"]??y.px(e||"1");if(r)return{"--un-ring-width":r,"--un-ring-offset-shadow":"var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)","--un-ring-shadow":"var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color)","box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}},{autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,([,e],{theme:t})=>({"--un-ring-width":t.lineWidth?.[e]??y.bracket.cssvar.px(e)}),{autocomplete:"ring-(width|size)-$lineWidth"}],["ring-offset",{"--un-ring-offset-width":"1px"}],[/^ring-offset-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>({"--un-ring-offset-width":t.lineWidth?.[e]??y.bracket.cssvar.px(e)}),{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,oe("--un-ring-color","ring"),{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":y.bracket.percent(e)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,oe("--un-ring-offset-color","ring-offset"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":y.bracket.percent(e)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]],tn={"--un-ring-offset-shadow":"0 0 rgba(0,0,0,0)","--un-ring-shadow":"0 0 rgba(0,0,0,0)","--un-shadow-inset":U,"--un-shadow":"0 0 rgba(0,0,0,0)"},rn=[[/^shadow(?:-(.+))?$/,(e,t)=>{let[,r]=e,{theme:n}=t,o=n.boxShadow?.[r||"DEFAULT"]||y.bracket.cssvar(r);return o?{"--un-shadow":Ft(o,"--un-shadow-color").join(","),"box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}:oe("--un-shadow-color","shadow")(e,t)},{autocomplete:["shadow-$colors","shadow-$boxShadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":y.bracket.percent(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],["shadow-inset",{"--un-shadow-inset":"inset"}]],jc=["translate","rotate","scale"],Ct=["translateX(var(--un-translate-x))","translateY(var(--un-translate-y))","translateZ(var(--un-translate-z))","rotate(var(--un-rotate))","rotateX(var(--un-rotate-x))","rotateY(var(--un-rotate-y))","rotateZ(var(--un-rotate-z))","skewX(var(--un-skew-x))","skewY(var(--un-skew-y))","scaleX(var(--un-scale-x))","scaleY(var(--un-scale-y))","scaleZ(var(--un-scale-z))"].join(" "),Im=["translate3d(var(--un-translate-x), var(--un-translate-y), var(--un-translate-z))","rotate(var(--un-rotate))","rotateX(var(--un-rotate-x))","rotateY(var(--un-rotate-y))","rotateZ(var(--un-rotate-z))","skewX(var(--un-skew-x))","skewY(var(--un-skew-y))","scaleX(var(--un-scale-x))","scaleY(var(--un-scale-y))","scaleZ(var(--un-scale-z))"].join(" "),nn={"--un-rotate":0,"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-scale-x":1,"--un-scale-y":1,"--un-scale-z":1,"--un-skew-x":0,"--un-skew-y":0,"--un-translate-x":0,"--un-translate-y":0,"--un-translate-z":0},on=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":fe[e]??y.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(fe).join("|")})`,`origin-(${Object.keys(fe).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e])=>{let t=y.bracket.cssvar.px.numberWithUnit(e);if(t!=null)return{"-webkit-perspective":t,perspective:t}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{let t=y.bracket.cssvar(e)??(e.length>=3?fe[e]:void 0);if(t!=null)return{"-webkit-perspective-origin":t,"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,zc],[/^(?:transform-)?translate-([xyz])-(.+)$/,zc],[/^(?:transform-)?rotate-()(.+)$/,Lc],[/^(?:transform-)?rotate-([xyz])-(.+)$/,Lc],[/^(?:transform-)?skew-([xy])-(.+)$/,Om,{autocomplete:["transform-skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,Pc],[/^(?:transform-)?scale-([xyz])-(.+)$/,Pc,{autocomplete:[`transform-(${jc.join("|")})-<percent>`,`transform-(${jc.join("|")})-(x|y|z)-<percent>`]}],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:Ct}],["transform-cpu",{transform:Ct}],["transform-gpu",{transform:Im}],["transform-none",{transform:"none"}],...M("transform")];function zc([,e,t],{theme:r}){let n=r.spacing?.[t]??y.bracket.cssvar.fraction.rem(t);if(n!=null)return[...to[e].map(o=>[`--un-translate${o}`,n]),["transform",Ct]]}function Pc([,e,t]){let r=y.bracket.cssvar.fraction.percent(t);if(r!=null)return[...to[e].map(n=>[`--un-scale${n}`,r]),["transform",Ct]]}function Lc([,e="",t]){let r=y.bracket.cssvar.degree(t);if(r!=null)return e?{"--un-rotate":0,[`--un-rotate-${e}`]:r,transform:Ct}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:Ct}}function Om([,e,t]){let r=y.bracket.cssvar.degree(t);if(r!=null)return{[`--un-skew-${e}`]:r,transform:Ct}}var Rc=["solid","double","dotted","dashed","wavy",...ne],an=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,e])=>({"text-decoration-line":e}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,([,e],{theme:t})=>({"text-decoration-thickness":t.lineWidth?.[e]??y.bracket.cssvar.global.px(e)}),{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,(e,t)=>{let r=oe("text-decoration-color","line")(e,t);if(r)return{"-webkit-text-decoration-color":r["text-decoration-color"],...r}},{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":y.bracket.percent(e)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,e],{theme:t})=>({"text-underline-offset":t.lineWidth?.[e]??y.auto.bracket.cssvar.global.px(e)}),{autocomplete:"(underline|decoration)-(offset)-<num>"}],...Rc.map(e=>[`underline-${e}`,{"text-decoration-style":e}]),...Rc.map(e=>[`decoration-${e}`,{"text-decoration-style":e}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];p();f();var so=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:y.bracket.percent.cssvar(e)})]],lo=[[/^(?:color|c)-(.+)$/,oe("color","text"),{autocomplete:"(text|color|c)-$colors"}],[/^text-(.+)$/,oe("color","text",e=>!e.color?.toString().match(ur)),{autocomplete:"(text|color|c)-$colors"}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":y.bracket.percent(e)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}]],co=[[/^bg-(.+)$/,oe("background-color","bg"),{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":y.bracket.percent(e)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],uo=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,e])=>({flex:y.bracket(e)!=null?y.bracket(e).split(" ").map(t=>y.cssvar.fraction(t)??t).join(" "):y.cssvar.fraction(e)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink(?:-(.*))?$/,([,e=""])=>({"flex-shrink":y.bracket.cssvar.number(e)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,e=""])=>({"flex-grow":y.bracket.cssvar.number(e)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,e],{theme:t})=>({"flex-basis":t.spacing?.[e]??y.bracket.cssvar.auto.fraction.rem(e)}),{autocomplete:["flex-basis-$spacing","basis-$spacing"]}],["flex-row",{"flex-direction":"row"}],["flex-row-reverse",{"flex-direction":"row-reverse"}],["flex-col",{"flex-direction":"column"}],["flex-col-reverse",{"flex-direction":"column-reverse"}],["flex-wrap",{"flex-wrap":"wrap"}],["flex-wrap-reverse",{"flex-wrap":"wrap-reverse"}],["flex-nowrap",{"flex-wrap":"nowrap"}]],Ic={"":"",x:"column-",y:"row-"},Oc=([,e="",t],{theme:r})=>{let n=r.spacing?.[t]??y.bracket.cssvar.global.rem(t);if(n!=null)return{[`grid-${Ic[e]}gap`]:n,[`${Ic[e]}gap`]:n}},po=[[/^(?:flex-|grid-)?gap-?()(.+)$/,Oc,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,Oc,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}]],qe=e=>e.replace("col","column"),ji=e=>e[0]==="r"?"Row":"Column",_m=(e,t,r)=>{let n=t[`gridAuto${ji(e)}`]?.[r];if(n!=null)return n;switch(r){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return y.bracket.cssvar.auto.rem(r)},fo=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t],{theme:r})=>({[`grid-${qe(e)}`]:r[`grid${ji(e)}`]?.[t]??y.bracket.cssvar.auto(t)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t==="full")return{[`grid-${qe(e)}`]:"1/-1"};let r=y.bracket.number(t);if(r!=null)return{[`grid-${qe(e)}`]:`span ${r}/span ${r}`}},{autocomplete:["grid-(row|col)-span-<num>","(row|col)-span-<num>"]}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>({[`grid-${qe(e)}-start`]:y.bracket.cssvar(t)??t})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>({[`grid-${qe(e)}-end`]:y.bracket.cssvar(t)??t}),{autocomplete:["grid-(row|col)-(start|end)-<num>"]}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-auto-${qe(e)}`]:_m(e,r,t)}),{autocomplete:["grid-auto-(rows|cols)-<num>"]}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,e])=>({"grid-auto-flow":y.bracket.cssvar(e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,e])=>({"grid-auto-flow":qe(e).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^grid-(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-template-${qe(e)}`]:r[`gridTemplate${ji(e)}`]?.[t]??y.bracket.cssvar(t)})],[/^grid-(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${qe(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^grid-(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${qe(e)}`]:`repeat(${t},minmax(0,1fr))`}),{autocomplete:["grid-(rows|cols)-<num>","grid-(rows|cols)-none"]}],["grid-rows-none",{"grid-template-rows":"none"}],["grid-cols-none",{"grid-template-columns":"none"}]],Mm={h:"height",w:"width",inline:"inline-size",block:"block-size"};function sn(e,t){return`${e||""}${Mm[t]}`}function _c(e,t,r,n){let o=sn(e,t).replace(/-(\w)/g,(a,l)=>l.toUpperCase()),i=r[o]?.[n];if(i!=null)return i;switch(n){case"fit":case"max":case"min":return`${n}-content`}return y.bracket.cssvar.global.auto.fraction.rem(n)}var ho=[[/^(min-|max-)?([wh])-?(.+)$/,([,e,t,r],{theme:n})=>({[sn(e,t)]:_c(e,t,n,r)})],[/^(min-|max-)?(block|inline)-(.+)$/,([,e,t,r],{theme:n})=>({[sn(e,t)]:_c(e,t,n,r)}),{autocomplete:["(w|h)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(max|min)-(w|h|block|inline)","(max|min)-(w|h|block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize"]}],[/^(min-|max-)?(h)-screen-(.+)$/,([,e,t,r],n)=>({[sn(e,t)]:Ei(n)?.[r]})],[/^(min-|max-)?(w)-screen-(.+)$/,([,e,t,r],n)=>({[sn(e,t)]:St(n)?.[r]}),{autocomplete:["(w|h)-screen","(min|max)-(w|h)-screen","h-screen-$verticalBreakpoints","(min|max)-h-screen-$verticalBreakpoints","w-screen-$breakpoints","(min|max)-w-screen-$breakpoints"]}]];function Dm(e){if(/^\d+\/\d+$/.test(e))return e;switch(e){case"square":return"1/1";case"video":return"16/9"}return y.bracket.cssvar.global.auto.number(e)}var mo=[[/^aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":Dm(e)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]],go=[[/^pa?()-?(-?.+)$/,Q("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,Q("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(-?.+))?$/,Q("padding")],[/^p-?([rltbse])(?:-?(-?.+))?$/,Q("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(-?.+))?$/,Q("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(-?.+))?$/,Q("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],bo=[[/^ma?()-?(-?.+)$/,Q("margin")],[/^m-?xy()()$/,Q("margin")],[/^m-?([xy])(?:-?(-?.+))?$/,Q("margin")],[/^m-?([rltbse])(?:-?(-?.+))?$/,Q("margin")],[/^m-(block|inline)(?:-(-?.+))?$/,Q("margin")],[/^m-?([bi][se])(?:-?(-?.+))?$/,Q("margin")]],Fm={backface:"backface-visibility",break:"word-break",case:"text-transform",content:"align-content",fw:"font-weight",items:"align-items",justify:"justify-content",select:"user-select",self:"align-self",vertical:"vertical-align",visible:"visibility",whitespace:"white-space",ws:"white-space"},xo=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=Fm[e];if(r)return{[r]:y.cssvar(t)}}]],yo=[[/^\[([\w_-]+):([^'"]+)\]$/,([,e,t])=>({[e]:y.bracket(`[${t}]`)})]],ko=[[/^(where|\?)$/,(e,{constructCSS:t,generator:r})=>{if(r.userConfig.envMode==="dev")return`@keyframes __un_qm{0%{box-shadow:inset 4px 4px #ff1e90, inset -4px -4px #ff1e90}100%{box-shadow:inset 8px 8px #3399ff, inset -8px -8px #3399ff}}
|
|
3
|
+
${t({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]],wo=[[/^fill-(.+)$/,oe("fill","fill"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":y.bracket.percent(e)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>({"stroke-width":t.lineWidth?.[e]??y.bracket.cssvar.fraction.px.number(e)}),{autocomplete:["stroke-width-$lineWidth","stroke-size-$lineWidth"]}],[/^stroke-dash-(.+)$/,([,e])=>({"stroke-dasharray":y.bracket.cssvar.number(e)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,e],{theme:t})=>({"stroke-dashoffset":t.lineWidth?.[e]??y.bracket.cssvar.px.numberWithUnit(e)}),{autocomplete:"stroke-offset-$lineWidth"}],[/^stroke-(.+)$/,oe("stroke","stroke"),{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":y.bracket.percent(e)}),{autocomplete:"stroke-(op|opacity)-<percent>"}],["stroke-cap-square",{"stroke-linecap":"square"}],["stroke-cap-round",{"stroke-linecap":"round"}],["stroke-cap-auto",{"stroke-linecap":"butt"}],["stroke-join-arcs",{"stroke-linejoin":"arcs"}],["stroke-join-bevel",{"stroke-linejoin":"bevel"}],["stroke-join-clip",{"stroke-linejoin":"miter-clip"}],["stroke-join-round",{"stroke-linejoin":"round"}],["stroke-join-auto",{"stroke-linejoin":"miter"}],["stroke-none",{stroke:"none"}]],zi=[xo,yo,go,bo,Fr,so,co,wo,vr,Hr,Vr,Cr,$r,Er,Kr,an,Ar,Tr,Xr,dr,lo,Qr,Zr,rn,en,uo,fo,po,zr,ho,mo,Br,Nr,Ur,Wr,hr,qr,Yr,Gr,jr,mr,gr,Lr,Pr,Rr,Ir,Or,_r,Mr,Dr,Sr,on,br,ko].flat(1);p();f();var Pi={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827"},slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917"},light:{50:"#fdfdfd",100:"#fcfcfc",200:"#fafafa",300:"#f8f9fa",400:"#f6f6f6",500:"#f2f2f2",600:"#f1f3f5",700:"#e9ecef",800:"#dee2e6",900:"#dde1e3"},dark:{50:"#4a4a4a",100:"#3c3c3c",200:"#323232",300:"#2d2d2d",400:"#222222",500:"#1f1f1f",600:"#1c1c1e",700:"#1b1b1b",800:"#181818",900:"#0f0f0f"},get lightblue(){return this.sky},get lightBlue(){return this.sky},get warmgray(){return this.stone},get warmGray(){return this.stone},get truegray(){return this.neutral},get trueGray(){return this.neutral},get coolgray(){return this.gray},get coolGray(){return this.gray},get bluegray(){return this.slate},get blueGray(){return this.slate}};Object.values(Pi).forEach(e=>{typeof e!="string"&&(e.DEFAULT=e.DEFAULT||e[400],Object.keys(e).forEach(t=>{let r=+t/100;r===Math.round(r)&&(e[r]=e[t])}))});p();f();var Mc={sans:["ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto",'"Helvetica Neue"',"Arial",'"Noto Sans"',"sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'].join(","),serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"].join(","),mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"].join(",")},Dc={xs:["0.75rem","1rem"],sm:["0.875rem","1.25rem"],base:["1rem","1.5rem"],lg:["1.125rem","1.75rem"],xl:["1.25rem","1.75rem"],"2xl":["1.5rem","2rem"],"3xl":["1.875rem","2.25rem"],"4xl":["2.25rem","2.5rem"],"5xl":["3rem","1"],"6xl":["3.75rem","1"],"7xl":["4.5rem","1"],"8xl":["6rem","1"],"9xl":["8rem","1"]},Fc={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},Nc={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},Bc={DEFAULT:["0 0 1px rgba(0,0,0,0.2)","0 0 1px rgba(1,0,5,0.1)"],none:"0 0 rgba(0,0,0,0)",sm:"1px 1px 3px rgba(36,37,47,0.25)",md:["0 1px 2px rgba(30,29,39,0.19)","1px 2px 4px rgba(54,64,147,0.18)"],lg:["3px 3px 6px rgba(0,0,0,0.26)","0 0 5px rgba(15,3,86,0.22)"],xl:["1px 1px 3px rgba(0,0,0,0.29)","2px 4px 7px rgba(73,64,125,0.35)"]},Uc={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},Li={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},Wc=Li,Ri={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},qc={...Ri},Yc={DEFAULT:"1px",none:"0px"},Hc={DEFAULT:"1rem",none:"0rem",xs:"0.75rem",sm:"0.875rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},Vc={DEFAULT:"150ms",none:"0ms",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},Gc={DEFAULT:"0.25rem",none:"0rem",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},Kc={DEFAULT:["var(--un-shadow-inset) 0 1px 3px 0 rgba(0,0,0,0.1)","var(--un-shadow-inset) 0 1px 2px -1px rgba(0,0,0,0.1)"],none:"0 0 rgba(0,0,0,0)",sm:"var(--un-shadow-inset) 0 1px 2px 0 rgba(0,0,0,0.05)",md:["var(--un-shadow-inset) 0 4px 6px -1px rgba(0,0,0,0.1)","var(--un-shadow-inset) 0 2px 4px -2px rgba(0,0,0,0.1)"],lg:["var(--un-shadow-inset) 0 10px 15px -3px rgba(0,0,0,0.1)","var(--un-shadow-inset) 0 4px 6px -4px rgba(0,0,0,0.1)"],xl:["var(--un-shadow-inset) 0 20px 25px -5px rgba(0,0,0,0.1)","var(--un-shadow-inset) 0 8px 10px -6px rgba(0,0,0,0.1)"],"2xl":"var(--un-shadow-inset) 0 25px 50px -12px rgba(0,0,0,0.25)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.05)"},Xc={DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},Qc={DEFAULT:"1px",none:"0px"},Zc={DEFAULT:"8px","0":"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},Jc={DEFAULT:["0 1px 2px rgba(0,0,0,0.1)","0 1px 1px rgba(0,0,0,0.06)"],sm:"0 1px 1px rgba(0,0,0,0.05)",md:["0 4px 3px rgba(0,0,0,0.07)","0 2px 2px rgba(0,0,0,0.06)"],lg:["0 10px 8px rgba(0,0,0,0.04)","0 4px 3px rgba(0,0,0,0.1)"],xl:["0 20px 13px rgba(0,0,0,0.03)","0 8px 5px rgba(0,0,0,0.08)"],"2xl":"0 25px 25px rgba(0,0,0,0.15)",none:"0 0 rgba(0,0,0,0)"},ln={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},Ii={auto:"auto",...ln,screen:"100vw"},cn={none:"none",...ln,screen:"100vw"},Oi={auto:"auto",...ln,screen:"100vh"},un={none:"none",...ln,screen:"100vh"},eu={...nn,...tn,...Jr},pn={width:Ii,height:Oi,maxWidth:cn,maxHeight:un,minWidth:cn,minHeight:un,inlineSize:Ii,blockSize:Oi,maxInlineSize:cn,maxBlockSize:un,minInlineSize:cn,minBlockSize:un,colors:Pi,fontFamily:Mc,fontSize:Dc,breakpoints:Ri,verticalBreakpoints:qc,borderRadius:Gc,lineHeight:Uc,letterSpacing:Li,wordSpacing:Wc,boxShadow:Kc,textIndent:Fc,textShadow:Bc,textStrokeWidth:Nc,blur:Zc,dropShadow:Jc,easing:Xc,lineWidth:Yc,spacing:Hc,duration:Vc,ringWidth:Qc,preflightBase:eu};p();f();p();f();var Ye=(e,t)=>{let r=new RegExp(`^${Me(e)}[:-]`);return{name:e,match:n=>{let o=n.match(r);if(o)return{matcher:n.slice(o[0].length),handle:(i,a)=>a({...i,...t(i)})}},autocomplete:`${e}:`}},Ae=(e,t)=>{let r=new RegExp(`^${Me(e)}[:-]`);return{name:e,match:n=>{let o=n.match(r);if(o)return{matcher:n.slice(o[0].length),handle:(i,a)=>a({...i,parent:`${i.parent?`${i.parent} $$ `:""}${t}`})}},autocomplete:`${e}:`}};var _i={},Mi=e=>{let t=e.match(/^-?[0-9]+\.?[0-9]*/)?.[0]||"",r=e.slice(t.length),n=parseFloat(t)-.1;return Number.isNaN(n)?e:`${n}${r}`},tu={name:"breakpoints",match(e,t){let r=Object.entries(St(t)??{}).map(([n,o],i)=>[n,o,i]);for(let[n,o,i]of r){_i[n]||(_i[n]=new RegExp(`^((?:[al]t-)?${n}[:-])`));let a=e.match(_i[n]);if(!a)continue;let[,l]=a,u=e.slice(l.length);if(u==="container")continue;let s=l.startsWith("lt-"),c=l.startsWith("at-"),h=1e3;return s?(h-=i+1,{matcher:u,handle:(m,x)=>x({...m,parent:`${m.parent?`${m.parent} $$ `:""}@media (max-width: ${Mi(o)})`,parentOrder:h})}):(h+=i+1,c&&i<r.length-1?{matcher:u,handle:(m,x)=>x({...m,parent:`${m.parent?`${m.parent} $$ `:""}@media (min-width: ${o}) and (max-width: ${Mi(r[i+1][1])})`,parentOrder:h})}:{matcher:u,handle:(m,x)=>x({...m,parent:`${m.parent?`${m.parent} $$ `:""}@media (min-width: ${o})`,parentOrder:h})})}},multiPass:!0,autocomplete:"(at-|lt-|)$breakpoints:"},Je=(e,t,r)=>{let n=e?new RegExp(`^${t}(?:-\\[(.+?)\\])[:-]`):new RegExp(`^${t}(?:-\\[(.+?)\\])?[:-]`);return{name:`combinator:${t}`,match:o=>{let i=o.match(n);if(i)return{matcher:o.slice(i[0].length),selector:a=>r.replace("&&-s",a).replace("&&-c",i[1]??"*")}},multiPass:!0}},ru=[Je(!1,"all","&&-s &&-c"),Je(!1,"children","&&-s>&&-c"),Je(!1,"next","&&-s+&&-c"),Je(!1,"sibling","&&-s+&&-c"),Je(!1,"siblings","&&-s~&&-c"),Je(!0,"group","&&-c &&-s"),Je(!0,"parent","&&-c>&&-s"),Je(!0,"previous","&&-c+&&-s"),Je(!0,"peer","&&-c~&&-s")],nu=Ae("print","@media print"),ou={name:"media",match(e,{theme:t}){let r=e.match(/^media-([_\d\w]+)[:-]/);if(r){let n=t.media?.[r[1]]??`(--${r[1]})`;return{matcher:e.slice(r[0].length),handle:(o,i)=>i({...o,parent:`${o.parent?`${o.parent} $$ `:""}@media ${n}`})}}},multiPass:!0},iu=(e={})=>{if(e?.dark==="class"||typeof e.dark=="object"){let{dark:t=".dark",light:r=".light"}=typeof e.dark=="string"?{}:e.dark;return[Ye("dark",n=>({prefix:`${t} $$ ${n.prefix}`})),Ye("light",n=>({prefix:`${r} $$ ${n.prefix}`}))]}return[Ae("dark","@media (prefers-color-scheme: dark)"),Ae("light","@media (prefers-color-scheme: light)")]},au=[Ye("rtl",e=>({prefix:`[dir="rtl"] $$ ${e.prefix}`})),Ye("ltr",e=>({prefix:`[dir="ltr"] $$ ${e.prefix}`}))],su={name:"selector",match(e){let t=e.match(/^selector-\[(.+?)\][:-]/);if(t)return{matcher:e.slice(t[0].length),selector:()=>t[1]}}},lu={name:"layer",match(e){let t=e.match(/^layer-([_\d\w]+)[:-]/);if(t)return{matcher:e.slice(t[0].length),handle:(r,n)=>n({...r,parent:`${r.parent?`${r.parent} $$ `:""}@layer ${t[1]}`})}}},cu={name:"uno-layer",match(e){let t=e.match(/^uno-layer-([_\d\w]+)[:-]/);if(t)return{matcher:e.slice(t[0].length),layer:t[1]}}},uu={name:"scope",match(e){let t=e.match(/^scope-([_\d\w]+)[:-]/);if(t)return{matcher:e.slice(t[0].length),selector:r=>`.${t[1]} $$ ${r}`}}},pu={name:"variables",match(e){if(!e.startsWith("["))return;let[t,r]=no(e,"[","]",":")??[];if(!(t&&r&&r!==""))return;let n=y.bracket(t)??"";if(!!(n.startsWith("@")||n.includes("&")))return{matcher:r,handle(o,i){let a=n.startsWith("@")?{parent:`${o.parent?`${o.parent} $$ `:""}${n}`}:{selector:n.replace(/&/g,o.selector)};return i({...o,...a})}}},multiPass:!0},fu=/[0-9.]+(?:[a-z]+|%)?/,Nm=[/opacity|color|flex/],hu={name:"negative",match(e){if(!!e.startsWith("-"))return{matcher:e.slice(1),body:t=>{if(t.find(n=>n[0]===Ci))return;let r=!1;return t.forEach(n=>{let o=n[1]?.toString();!o||o==="0"||Nm.some(i=>n[0].match(i))||fu.test(o)&&(n[1]=o.replace(fu,i=>`-${i}`),r=!0)}),r?t:[]}}}},du={name:"important",match(e){let t,r=e.match(/^(important[:-]|!)/);if(r?t=e.slice(r[0].length):e.endsWith("!")&&(t=e.slice(0,-1)),t)return{matcher:t,body:n=>(n.forEach(o=>{o[1]&&(o[1]+=" !important")}),n)}}},fn=Object.fromEntries([["first-letter","::first-letter"],["first-line","::first-line"],"any-link","link","visited","target",["open","[open]"],"hover","active","focus-visible","focus-within","focus","autofill","enabled","disabled","read-only","read-write","placeholder-shown","default","checked","indeterminate","valid","invalid","in-range","out-of-range","required","optional","root","empty",["even-of-type",":nth-of-type(even)"],["even",":nth-child(even)"],["odd-of-type",":nth-of-type(odd)"],["odd",":nth-child(odd)"],"first-of-type",["first",":first-child"],"last-of-type",["last",":last-child"],"only-child","only-of-type",["placeholder","::placeholder"],["before","::before"],["after","::after"],["selection","::selection"],["marker","::marker"],["file","::file-selector-button"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),hn=Object.fromEntries([["backdrop","::backdrop"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),Bm=["not","is","where","has"],Di=Object.entries(fn).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).join("|"),Fi=Object.entries(hn).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).join("|"),dn=Bm.join("|"),mu=e=>{if(e==="active")return 1},vo=(e,t,r)=>{let n=new RegExp(`^(${Me(t)}:)(\\S+)${Me(r)}\\1`),o=new RegExp(`^${e}-((?:(${dn})-)?(${Di}))[:-]`),i=new RegExp(`^${e}-((?:(${dn})-)?(${Fi}))[:]`);return{name:`pseudo:${e}`,match(a){let l=a.match(o)||a.match(i);if(l){let u=fn[l[3]]||hn[l[3]]||`:${l[3]}`;return l[2]&&(u=`:${l[2]}(${u})`),{matcher:a.slice(l[0].length),handle:(s,c)=>c({...s,prefix:`${t}${u}${r}${s.prefix}`.replace(n,"$1$2:"),sort:mu(l[3])})}}},multiPass:!0}},gu=Object.entries(fn).map(([e])=>e).join("|"),Um=Object.entries(hn).map(([e])=>e).join("|"),Wm=new RegExp(`^(${gu})[:-]`),qm=new RegExp(`^(${Um})[:]`),bu={name:"pseudo",match:e=>{let t=e.match(Wm)||e.match(qm);if(t){let r=fn[t[1]]||hn[t[1]]||`:${t[1]}`;return{matcher:e.slice(t[0].length),handle:(n,o)=>{let i=r.startsWith("::")?{pseudo:`${n.pseudo}${r}`}:{selector:`${n.selector}${r}`};return o({...n,...i,sort:mu(t[1])})}}}},multiPass:!0,autocomplete:`(${gu}):`},Ym=new RegExp(`^(${dn})-(${Di})[:-]`),Hm=new RegExp(`^(${dn})-(${Fi})[:]`),xu={match:e=>{let t=e.match(Ym)||e.match(Hm);if(t){let r=t[1],n=fn[t[2]]||hn[t[2]]||`:${t[2]}`;return{matcher:e.slice(t[0].length),selector:o=>`${o}:${r}(${n})`}}},multiPass:!0,autocomplete:`(${dn})-(${Di}|${Fi}):`},yu=(e={})=>{let t=!!e?.attributifyPseudo;return[vo("group",t?'[group=""]':".group"," "),vo("peer",t?'[peer=""]':".peer","~"),vo("parent",t?'[parent=""]':".parent",">"),vo("previous",t?'[previous=""]':".previous","+")]},Vm=/(part-\[(.+)]:)(.+)/,ku={match:e=>{let t=e.match(Vm);if(t){let r=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:n=>`${n}::${r}`}}},multiPass:!0},mn=e=>[pu,lu,su,cu,hu,du,nu,ou,tu,...ru,bu,xu,...yu(e),ku,...iu(e),...au,uu];var gn=[{layer:"preflights",getCSS(e){if(e.theme.preflightBase){let t=_t(Object.entries(e.theme.preflightBase));return`*,::before,::after{${t}}::backdrop{${t}}`}}}],wu=(e={})=>(e.dark=e.dark??"class",e.attributifyPseudo=e.attributifyPseudo??!1,{name:"@unocss/preset-mini",theme:pn,rules:zi,variants:mn(e),options:e,postprocess:e.variablePrefix&&e.variablePrefix!=="un-"?Gm(e.variablePrefix):void 0,preflights:gn,prefix:e.prefix});function Gm(e){return t=>{t.entries.forEach(r=>{r[0]=r[0].replace(/^--un-/,`--${e}`),typeof r[1]=="string"&&(r[1]=r[1].replace(/var\(--un-/g,`var(--${e}`))})}}p();f();p();f();p();f();p();f();var Km=[[/^(?:animate-)?keyframes-(.+)$/,([,e],{theme:t})=>{let r=t.animation?.keyframes?.[e];if(r)return[`@keyframes ${e}${r}`,{animation:e}]},{autocomplete:["animate-keyframes-$animation.keyframes","keyframes-$animation.keyframes"]}],[/^animate-(.+)$/,([,e],{theme:t})=>{let r=t.animation?.keyframes?.[e];if(r){let n=t.animation?.durations?.[e]??"1s",o=t.animation?.timingFns?.[e]??"linear",i=t.animation?.counts?.[e]??1,a=t.animation?.properties?.[e];return[`@keyframes ${e}${r}`,{animation:`${e} ${n} ${o} ${i}`,...a}]}return{animation:y.bracket.cssvar(e)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,e])=>({"animation-name":y.bracket.cssvar(e)??e})],[/^animate-duration-(.+)$/,([,e],{theme:t})=>({"animation-duration":t.duration?.[e||"DEFAULT"]??y.bracket.cssvar.time(e)}),{autocomplete:["animate-duration","animate-duration-$duration"]}],[/^animate-delay-(.+)$/,([,e],{theme:t})=>({"animation-delay":t.duration?.[e||"DEFAULT"]??y.bracket.cssvar.time(e)}),{autocomplete:["animate-delay","animate-delay-$duration"]}],[/^animate-ease(?:-(.+))?$/,([,e],{theme:t})=>({"animation-timing-function":t.easing?.[e||"DEFAULT"]??y.bracket.cssvar(e)}),{autocomplete:"animate-delay-$easing"}],[/^animate-(fill-mode-|fill-|mode-)?(.+)$/,([,e,t])=>["none","forwards","backwards","both",e?ne:[]].includes(t)?{"animation-fill-mode":t}:void 0,{autocomplete:["animate-(fill|mode|fill-mode)","animate-(fill|mode|fill-mode)-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)","animate-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(direction-)?(.+)$/,([,e,t])=>["normal","reverse","alternate","alternate-reverse",e?ne:[]].includes(t)?{"animation-direction":t}:void 0,{autocomplete:["animate-direction","animate-direction-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)","animate-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(?:iteration-|count-|iteration-count-)(.+)$/,([,e])=>({"animation-iteration-count":y.bracket.cssvar(e)??e.replace(/\-/g,",")}),{autocomplete:["animate-(iteration|count|iteration-count)","animate-(iteration|count|iteration-count)-<num>"]}],[/^animate-(play-state-|play-|state-)?(.+)$/,([,e,t])=>["paused","running",e?ne:[]].includes(t)?{"animation-play-state":t}:void 0,{autocomplete:["animate-(play|state|play-state)","animate-(play|state|play-state)-(paused|running|inherit|initial|revert|revert-layer|unset)","animate-(paused|running|inherit|initial|revert|revert-layer|unset)"]}],["animate-none",{animation:"none"}],...M("animate","animation")],vu=e=>e?be(e,0):"rgba(255,255,255,0)",Xm=(e,t,r,n)=>t?n!=null?be(t,n):be(t,`var(--un-${e}-opacity, ${vt(t)})`):be(r,n),Ni=e=>([,t],{theme:r})=>{let n=wt(t,r);if(!n)return;let{alpha:o,color:i,cssColor:a}=n;if(!i)return;let l=Xm(e,a,i,o);switch(e){case"from":return{"--un-gradient-from":l,"--un-gradient-to":vu(a),"--un-gradient-stops":"var(--un-gradient-from), var(--un-gradient-to)"};case"via":return{"--un-gradient-to":vu(a),"--un-gradient-stops":`var(--un-gradient-from), ${l}, var(--un-gradient-to)`};case"to":return{"--un-gradient-to":l}}},Qm=/^\[url\(.+\)\]$/,Zm=/^\[length:.+\]$/,Jm=/^\[position:.+\]$/,eg=[[/^bg-(.+)$/,([,e])=>{if(Qm.test(e))return{"--un-url":y.bracket(e),"background-image":"var(--un-url)"};if(Zm.test(e)&&y.bracketOfLength(e)!=null)return{"background-size":y.bracketOfLength(e).split(" ").map(t=>y.fraction.auto.px.cssvar(t)).join(" ")};if(Jm.test(e)&&y.bracketOfPosition(e)!=null)return{"background-position":y.bracketOfPosition(e).split(" ").map(t=>y.position.fraction.auto.px.cssvar(t)).join(" ")}}],[/^bg-gradient-(.+)$/,([,e])=>({"--un-gradient":y.bracket(e)}),{autocomplete:["bg-gradient","bg-gradient-(from|to|via)","bg-gradient-(from|to|via)-$colors","bg-gradient-(from|to|via)-(op|opacity)","bg-gradient-(from|to|via)-(op|opacity)-<percent>"]}],[/^(?:bg-gradient-)?stops-(\[.+\])$/,([,e])=>({"--un-gradient-stops":y.bracket(e)})],[/^(?:bg-gradient-)?from-(.+)$/,Ni("from")],[/^(?:bg-gradient-)?via-(.+)$/,Ni("via")],[/^(?:bg-gradient-)?to-(.+)$/,Ni("to")],[/^(?:bg-gradient-)?from-op(?:acity)?-?(.+)$/,([,e])=>({"--un-from-opacity":y.bracket.percent(e)})],[/^(?:bg-gradient-)?via-op(?:acity)?-?(.+)$/,([,e])=>({"--un-via-opacity":y.bracket.percent(e)})],[/^(?:bg-gradient-)?to-op(?:acity)?-?(.+)$/,([,e])=>({"--un-to-opacity":y.bracket.percent(e)})],[/^bg-gradient-((?:repeating-)?(?:linear|radial|conic))$/,([,e])=>({"background-image":`${e}-gradient(var(--un-gradient, var(--un-gradient-stops, rgba(255, 255, 255, 0))))`}),{autocomplete:["bg-gradient-repeating","bg-gradient-(linear|radial|conic)","bg-gradient-repeating-(linear|radial|conic)"]}],[/^bg-gradient-to-([rltb]{1,2})$/,([,e])=>{if(e in fe)return{"--un-gradient-shape":`to ${fe[e]}`,"--un-gradient":"var(--un-gradient-shape), var(--un-gradient-stops)","background-image":"linear-gradient(var(--un-gradient))"}},{autocomplete:`bg-gradient-to-(${Object.keys(fe).filter(e=>e.length<=2&&Array.from(e).every(t=>"rltb".includes(t))).join("|")})`}],[/^(?:bg-gradient-)?shape-(.+)$/,([,e])=>{let t=e in fe?`to ${fe[e]}`:y.bracket(e);if(t!=null)return{"--un-gradient-shape":t,"--un-gradient":"var(--un-gradient-shape), var(--un-gradient-stops)"}},{autocomplete:["bg-gradient-shape",`bg-gradient-shape-(${Object.keys(fe).join("|")})`,`shape-(${Object.keys(fe).join("|")})`]}],["bg-none",{"background-image":"none"}],["box-decoration-slice",{"box-decoration-break":"slice"}],["box-decoration-clone",{"box-decoration-break":"clone"}],...M("box-decoration","box-decoration-break"),["bg-auto",{"background-size":"auto"}],["bg-cover",{"background-size":"cover"}],["bg-contain",{"background-size":"contain"}],["bg-fixed",{"background-attachment":"fixed"}],["bg-local",{"background-attachment":"local"}],["bg-scroll",{"background-attachment":"scroll"}],["bg-clip-border",{"-webkit-background-clip":"border-box","background-clip":"border-box"}],["bg-clip-content",{"-webkit-background-clip":"content-box","background-clip":"content-box"}],["bg-clip-padding",{"-webkit-background-clip":"padding-box","background-clip":"padding-box"}],["bg-clip-text",{"-webkit-background-clip":"text","background-clip":"text"}],...ne.map(e=>[`bg-clip-${e}`,{"-webkit-background-clip":e,"background-clip":e}]),[/^bg-([-\w]{3,})$/,([,e])=>({"background-position":fe[e]})],["bg-repeat",{"background-repeat":"repeat"}],["bg-no-repeat",{"background-repeat":"no-repeat"}],["bg-repeat-x",{"background-repeat":"repeat-x"}],["bg-repeat-y",{"background-repeat":"repeat-y"}],["bg-repeat-round",{"background-repeat":"round"}],["bg-repeat-space",{"background-repeat":"space"}],...M("bg-repeat","background-repeat"),["bg-origin-border",{"background-origin":"border-box"}],["bg-origin-padding",{"background-origin":"padding-box"}],["bg-origin-content",{"background-origin":"content-box"}],...M("bg-origin","background-origin")],Bi={disc:"disc",circle:"circle",square:"square",decimal:"decimal","zero-decimal":"decimal-leading-zero",greek:"lower-greek",roman:"lower-roman","upper-roman":"upper-roman",alpha:"lower-alpha","upper-alpha":"upper-alpha",latin:"lower-latin","upper-latin":"upper-latin"},tg=[[/^list-(.+?)(?:-(outside|inside))?$/,([,e,t])=>{let r=Bi[e];if(r)return t?{"list-style-position":t,"list-style-type":r}:{"list-style-type":r}},{autocomplete:[`list-(${Object.keys(Bi).join("|")})`,`list-(${Object.keys(Bi).join("|")})-(outside|inside)`]}],["list-outside",{"list-style-position":"outside"}],["list-inside",{"list-style-position":"inside"}],["list-none",{"list-style-type":"none"}],...M("list","list-style-type")],rg=[[/^accent-(.+)$/,oe("accent-color","accent"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,e])=>({"--un-accent-opacity":y.bracket.percent(e)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],ng=[[/^caret-(.+)$/,oe("caret-color","caret"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,e])=>({"--un-caret-opacity":y.bracket.percent(e)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],og=[["image-render-auto",{"image-rendering":"auto"}],["image-render-edge",{"image-rendering":"crisp-edges"}],["image-render-pixel",[["-ms-interpolation-mode","nearest-neighbor"],["image-rendering","-webkit-optimize-contrast"],["image-rendering","-moz-crisp-edges"],["image-rendering","-o-pixelated"],["image-rendering","pixelated"]]]],ig=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],...M("overscroll","overscroll-behavior"),["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],...M("overscroll-x","overscroll-behavior-x"),["overscroll-y-auto",{"overscroll-behavior-y":"auto"}],["overscroll-y-contain",{"overscroll-behavior-y":"contain"}],["overscroll-y-none",{"overscroll-behavior-y":"none"}],...M("overscroll-y","overscroll-behavior-y")],ag=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...M("scroll","scroll-behavior")],sg=[[/^columns-(.+)$/,([,e])=>({columns:y.bracket.global.number.auto.numberWithUnit(e)}),{autocomplete:"columns-<num>"}],["break-before-auto",{"break-before":"auto"}],["break-before-avoid",{"break-before":"avoid"}],["break-before-all",{"break-before":"all"}],["break-before-avoid-page",{"break-before":"avoid-page"}],["break-before-page",{"break-before":"page"}],["break-before-left",{"break-before":"left"}],["break-before-right",{"break-before":"right"}],["break-before-column",{"break-before":"column"}],...M("break-before"),["break-inside-auto",{"break-inside":"auto"}],["break-inside-avoid",{"break-inside":"avoid"}],["break-inside-avoid-page",{"break-inside":"avoid-page"}],["break-inside-avoid-column",{"break-inside":"avoid-column"}],...M("break-inside"),["break-after-auto",{"break-after":"auto"}],["break-after-avoid",{"break-after":"avoid"}],["break-after-all",{"break-after":"all"}],["break-after-avoid-page",{"break-after":"avoid-page"}],["break-after-page",{"break-after":"page"}],["break-after-left",{"break-after":"left"}],["break-after-right",{"break-after":"right"}],["break-after-column",{"break-after":"column"}],...M("break-after")],lg=/@media \(min-width: (.+)\)/,cg=[[/^__container$/,(e,{theme:t,variantHandlers:r})=>{let n="100%";for(let o of r){let i=o.handle?.({},a=>a)?.parent;if(typeof i=="string"){let a=i.match(lg)?.[1];a&&(n=a)}}return t.container?.center?{"max-width":n,"margin-left":"auto","margin-right":"auto"}:{"max-width":n}},{internal:!0}]],ug=[[/^(?:(\w+)[:-])?container$/,([,e],t)=>{let r=Object.keys(St(t)??{});if(e){if(!r.includes(e))return;r=r.slice(r.indexOf(e))}let n=r.map(o=>`${o}:__container`);return e||n.unshift("__container"),n}]],pg={"--un-blur":U,"--un-brightness":U,"--un-contrast":U,"--un-drop-shadow":U,"--un-grayscale":U,"--un-hue-rotate":U,"--un-invert":U,"--un-saturate":U,"--un-sepia":U},So="var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)",fg={"--un-backdrop-blur":U,"--un-backdrop-brightness":U,"--un-backdrop-contrast":U,"--un-backdrop-grayscale":U,"--un-backdrop-hue-rotate":U,"--un-backdrop-invert":U,"--un-backdrop-opacity":U,"--un-backdrop-saturate":U,"--un-backdrop-sepia":U},Co="var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)",Ui=e=>{let t=y.bracket.cssvar(e||"");if(t!=null||(t=e?y.percent(e):"1",t!=null&&parseFloat(t)<=1))return t},et=(e,t)=>([,r,n],{theme:o})=>{let i=t(n,o)??(n==="none"?"0":"");if(i!=="")return r?{[`--un-${r}${e}`]:`${e}(${i})`,"-webkit-backdrop-filter":Co,"backdrop-filter":Co}:{[`--un-${e}`]:`${e}(${i})`,filter:So}},hg=([,e],{theme:t})=>{let r=t.dropShadow?.[e||"DEFAULT"];if(r!=null)return{"--un-drop-shadow":`drop-shadow(${Ft(r,"--un-drop-shadow-color").join(") drop-shadow(")})`,filter:So};if(r=y.bracket.cssvar(e),r!=null)return{"--un-drop-shadow":`drop-shadow(${r})`,filter:So}},dg=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,et("blur",(e,t)=>t.blur?.[e||"DEFAULT"]||y.bracket.cssvar.px(e)),{autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,et("brightness",e=>y.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,et("contrast",e=>y.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-(.+))?$/,hg,{autocomplete:["filter-drop","filter-drop-shadow","filter-drop-shadow-color","drop-shadow","drop-shadow-color","filter-drop-shadow-$dropShadow","drop-shadow-$dropShadow","filter-drop-shadow-color-$colors","drop-shadow-color-$colors","filter-drop-shadow-color-(op|opacity)","drop-shadow-color-(op|opacity)","filter-drop-shadow-color-(op|opacity)-<percent>","drop-shadow-color-(op|opacity)-<percent>"]}],[/^(?:filter-)?drop-shadow-color-(.+)$/,oe("--un-drop-shadow-color","drop-shadow")],[/^(?:filter-)?drop-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-drop-shadow-opacity":y.bracket.percent(e)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,et("grayscale",Ui),{autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,et("hue-rotate",e=>y.bracket.cssvar.degree(e))],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,et("invert",Ui),{autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)-(.+)$/,et("opacity",e=>y.bracket.cssvar.percent(e)),{autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,et("saturate",e=>y.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,et("sepia",Ui),{autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:So}],["backdrop-filter",{"-webkit-backdrop-filter":Co,"backdrop-filter":Co}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}],...ne.map(e=>[`filter-${e}`,{filter:e}]),...ne.map(e=>[`backdrop-filter-${e}`,{"-webkit-backdrop-filter":e,"backdrop-filter":e}])],mg=[[/^space-?([xy])-?(-?.+)$/,Su,{autocomplete:["space-(x|y|block|inline)","space-(x|y|block|inline)-reverse","space-(x|y|block|inline)-$spacing"]}],[/^space-?([xy])-reverse$/,([,e])=>({[`--un-space-${e}-reverse`]:1})],[/^space-(block|inline)-(-?.+)$/,Su],[/^space-(block|inline)-reverse$/,([,e])=>({[`--un-space-${e}-reverse`]:1})]];function Su([,e,t],{theme:r}){let n=r.spacing?.[t||"DEFAULT"]??y.bracket.cssvar.auto.fraction.rem(t||"1");if(n!=null){let o=Ce[e].map(i=>{let a=`margin${i}`,l=i.endsWith("right")||i.endsWith("bottom")?`calc(${n} * var(--un-space-${e}-reverse))`:`calc(${n} * calc(1 - var(--un-space-${e}-reverse)))`;return[a,l]});if(o)return[[`--un-space-${e}-reverse`,0],...o]}}var gg=[["uppercase",{"text-transform":"uppercase"}],["lowercase",{"text-transform":"lowercase"}],["capitalize",{"text-transform":"capitalize"}],["normal-case",{"text-transform":"none"}]],bg=[...["manual","auto","none",...ne].map(e=>[`hyphens-${e}`,{"-webkit-hyphens":e,"-ms-hyphens":e,hyphens:e}])],xg=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...M("write","writing-mode")],yg=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...M("write-orient","text-orientation")],kg=[["sr-only",{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)","white-space":"nowrap","border-width":0}],["not-sr-only",{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",clip:"auto","white-space":"normal"}]],wg=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],vg=[["object-cover",{"object-fit":"cover"}],["object-contain",{"object-fit":"contain"}],["object-fill",{"object-fit":"fill"}],["object-scale-down",{"object-fit":"scale-down"}],["object-none",{"object-fit":"none"}],[/^object-(.+)$/,([,e])=>{if(fe[e])return{"object-position":fe[e]};if(y.bracketOfPosition(e)!=null)return{"object-position":y.bracketOfPosition(e).split(" ").map(t=>y.position.fraction.auto.px.cssvar(t)).join(" ")}},{autocomplete:`object-(${Object.keys(fe).join("|")})`}]],Sg=[["bg-blend-multiply",{"background-blend-mode":"multiply"}],["bg-blend-screen",{"background-blend-mode":"screen"}],["bg-blend-overlay",{"background-blend-mode":"overlay"}],["bg-blend-darken",{"background-blend-mode":"darken"}],["bg-blend-lighten",{"background-blend-mode":"lighten"}],["bg-blend-color-dodge",{"background-blend-mode":"color-dodge"}],["bg-blend-color-burn",{"background-blend-mode":"color-burn"}],["bg-blend-hard-light",{"background-blend-mode":"hard-light"}],["bg-blend-soft-light",{"background-blend-mode":"soft-light"}],["bg-blend-difference",{"background-blend-mode":"difference"}],["bg-blend-exclusion",{"background-blend-mode":"exclusion"}],["bg-blend-hue",{"background-blend-mode":"hue"}],["bg-blend-saturation",{"background-blend-mode":"saturation"}],["bg-blend-color",{"background-blend-mode":"color"}],["bg-blend-luminosity",{"background-blend-mode":"luminosity"}],["bg-blend-normal",{"background-blend-mode":"normal"}],...M("bg-blend","background-blend")],Cg=[["mix-blend-multiply",{"mix-blend-mode":"multiply"}],["mix-blend-screen",{"mix-blend-mode":"screen"}],["mix-blend-overlay",{"mix-blend-mode":"overlay"}],["mix-blend-darken",{"mix-blend-mode":"darken"}],["mix-blend-lighten",{"mix-blend-mode":"lighten"}],["mix-blend-color-dodge",{"mix-blend-mode":"color-dodge"}],["mix-blend-color-burn",{"mix-blend-mode":"color-burn"}],["mix-blend-hard-light",{"mix-blend-mode":"hard-light"}],["mix-blend-soft-light",{"mix-blend-mode":"soft-light"}],["mix-blend-difference",{"mix-blend-mode":"difference"}],["mix-blend-exclusion",{"mix-blend-mode":"exclusion"}],["mix-blend-hue",{"mix-blend-mode":"hue"}],["mix-blend-saturation",{"mix-blend-mode":"saturation"}],["mix-blend-color",{"mix-blend-mode":"color"}],["mix-blend-luminosity",{"mix-blend-mode":"luminosity"}],["mix-blend-plus-lighter",{"mix-blend-mode":"plus-lighter"}],["mix-blend-normal",{"mix-blend-mode":"normal"}],...M("mix-blend")],$g={"--un-border-spacing-x":0,"--un-border-spacing-y":0},Cu="var(--un-border-spacing-x) var(--un-border-spacing-y)",Eg=[["inline-table",{display:"inline-table"}],["table",{display:"table"}],["table-caption",{display:"table-caption"}],["table-cell",{display:"table-cell"}],["table-column",{display:"table-column"}],["table-column-group",{display:"table-column-group"}],["table-footer-group",{display:"table-footer-group"}],["table-header-group",{display:"table-header-group"}],["table-row",{display:"table-row"}],["table-row-group",{display:"table-row-group"}],["border-collapse",{"border-collapse":"collapse"}],["border-separate",{"border-collapse":"separate"}],[/^border-spacing-(.+)$/,([,e],{theme:t})=>{let r=t.spacing?.[e]??y.bracket.cssvar.global.auto.fraction.rem(e);if(r!=null)return{"--un-border-spacing-x":r,"--un-border-spacing-y":r,"border-spacing":Cu}},{autocomplete:["border-spacing","border-spacing-$spacing"]}],[/^border-spacing-([xy])-(.+)$/,([,e,t],{theme:r})=>{let n=r.spacing?.[t]??y.bracket.cssvar.global.auto.fraction.rem(t);if(n!=null)return{[`--un-border-spacing-${e}`]:n,"border-spacing":Cu}},{autocomplete:["border-spacing-(x|y)","border-spacing-(x|y)-$spacing"]}],["caption-top",{"caption-side":"top"}],["caption-bottom",{"caption-side":"bottom"}],["table-auto",{"table-layout":"auto"}],["table-fixed",{"table-layout":"fixed"}],["table-empty-cells-visible",{"empty-cells":"show"}],["table-empty-cells-hidden",{"empty-cells":"hide"}]],Ag={"bg-blend":"background-blend-mode","bg-clip":"-webkit-background-clip","bg-gradient":"linear-gradient","bg-image":"background-image","bg-origin":"background-origin","bg-position":"background-position","bg-repeat":"background-repeat","bg-size":"background-size","mix-blend":"mix-blend-mode",object:"object-fit","object-position":"object-position",write:"writing-mode","write-orient":"text-orientation"},Tg=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=Ag[e];if(r)return{[r]:y.cssvar(t)}}]],jg=[[/^divide-?([xy])$/,$o,{autocomplete:["divide-(x|y|block|inline)","divide-(x|y|block|inline)-reverse","divide-(x|y|block|inline)-$lineWidth"]}],[/^divide-?([xy])-?(-?.+)$/,$o],[/^divide-?([xy])-reverse$/,([,e])=>({[`--un-divide-${e}-reverse`]:1})],[/^divide-(block|inline)$/,$o],[/^divide-(block|inline)-(-?.+)$/,$o],[/^divide-(block|inline)-reverse$/,([,e])=>({[`--un-divide-${e}-reverse`]:1})],[/^divide-(.+)$/,oe("border-color","divide"),{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,([,e])=>({"--un-divide-opacity":y.bracket.percent(e)}),{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-<percent>"]}],...pt.map(e=>[`divide-${e}`,{"border-style":e}])];function $o([,e,t],{theme:r}){let n=r.lineWidth?.[t||"DEFAULT"]??y.bracket.cssvar.px(t||"1");if(n!=null){let o=Ce[e].map(a=>{let l=`border${a}-width`,u=a.endsWith("right")||a.endsWith("bottom")?`calc(${n} * var(--un-divide-${e}-reverse))`:`calc(${n} * calc(1 - var(--un-divide-${e}-reverse)))`;return[l,u]}),i=Ze(["",e,"solid"]);if(o&&i)return[[`--un-divide-${e}-reverse`,0],...o,...i]}}var zg=[[/^line-clamp-(\d+)$/,([,e])=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":e,"line-clamp":e}),{autocomplete:["line-clamp","line-clamp-<num>"]}],...["none",...ne].map(e=>[`line-clamp-${e}`,{"-webkit-line-clamp":e,"line-clamp":e}])],Pg={"--un-ordinal":U,"--un-slashed-zero":U,"--un-numeric-figure":U,"--un-numeric-spacing":U,"--un-numeric-fraction":U},ft=e=>({...e,"font-variant-numeric":"var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)"}),Lg=[[/^ordinal$/,()=>ft({"--un-ordinal":"ordinal"}),{autocomplete:"ordinal"}],[/^slashed-zero$/,()=>ft({"--un-slashed-zero":"slashed-zero"}),{autocomplete:"slashed-zero"}],[/^lining-nums$/,()=>ft({"--un-numeric-figure":"lining-nums"}),{autocomplete:"lining-nums"}],[/^oldstyle-nums$/,()=>ft({"--un-numeric-figure":"oldstyle-nums"}),{autocomplete:"oldstyle-nums"}],[/^proportional-nums$/,()=>ft({"--un-numeric-spacing":"proportional-nums"}),{autocomplete:"proportional-nums"}],[/^tabular-nums$/,()=>ft({"--un-numeric-spacing":"tabular-nums"}),{autocomplete:"tabular-nums"}],[/^diagonal-fractions$/,()=>ft({"--un-numeric-fraction":"diagonal-fractions"}),{autocomplete:"diagonal-fractions"}],[/^stacked-fractions$/,()=>ft({"--un-numeric-fraction":"stacked-fractions"}),{autocomplete:"stacked-fractions"}],["normal-nums",{"font-variant-numeric":"normal"}]],Rg={"--un-pan-x":U,"--un-pan-y":U,"--un-pinch-zoom":U},Wi="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",Ig=[[/^touch-pan-(x|left|right)$/,([,e])=>({"--un-pan-x":`pan-${e}`,"touch-action":Wi}),{autocomplete:["touch-pan","touch-pan-(x|left|right|y|up|down)"]}],[/^touch-pan-(y|up|down)$/,([,e])=>({"--un-pan-y":`pan-${e}`,"touch-action":Wi})],["touch-pinch-zoom",{"--un-pinch-zoom":"pinch-zoom","touch-action":Wi}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}],...M("touch","touch-action")],Og={"--un-scroll-snap-strictness":"proximity"},_g=[[/^snap-(x|y)$/,([,e])=>({"scroll-snap-type":`${e} var(--un-scroll-snap-strictness)`}),{autocomplete:"snap-(x|y|both)"}],[/^snap-both$/,()=>({"scroll-snap-type":"both var(--un-scroll-snap-strictness)"})],["snap-mandatory",{"--un-scroll-snap-strictness":"mandatory"}],["snap-proximity",{"--un-scroll-snap-strictness":"proximity"}],["snap-none",{"scroll-snap-type":"none"}],["snap-start",{"scroll-snap-align":"start"}],["snap-end",{"scroll-snap-align":"end"}],["snap-center",{"scroll-snap-align":"center"}],["snap-align-none",{"scroll-snap-align":"none"}],["snap-normal",{"scroll-snap-stop":"normal"}],["snap-always",{"scroll-snap-stop":"always"}],[/^scroll-ma?()-?(-?.+)$/,Q("scroll-margin"),{autocomplete:["scroll-(m|p|ma|pa|block|inline)","scroll-(m|p|ma|pa|block|inline)-$spacing","scroll-(m|p|ma|pa|block|inline)-(x|y|r|l|t|b|bs|be|is|ie)","scroll-(m|p|ma|pa|block|inline)-(x|y|r|l|t|b|bs|be|is|ie)-$spacing"]}],[/^scroll-m-?([xy])-?(-?.+)$/,Q("scroll-margin")],[/^scroll-m-?([rltb])-?(-?.+)$/,Q("scroll-margin")],[/^scroll-m-(block|inline)-(-?.+)$/,Q("scroll-margin")],[/^scroll-m-?([bi][se])-?(-?.+)$/,Q("scroll-margin")],[/^scroll-pa?()-?(-?.+)$/,Q("scroll-padding")],[/^scroll-p-?([xy])-?(-?.+)$/,Q("scroll-padding")],[/^scroll-p-?([rltb])-?(-?.+)$/,Q("scroll-padding")],[/^scroll-p-(block|inline)-(-?.+)$/,Q("scroll-padding")],[/^scroll-p-?([bi][se])-?(-?.+)$/,Q("scroll-padding")]],Mg=[[/^\$ placeholder-(.+)$/,oe("color","placeholder"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,e])=>({"--un-placeholder-opacity":y.bracket.percent(e)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]],qi=[xo,Tg,yo,cg,kg,Ur,Nr,zr,Or,zg,wg,Mr,Lr,fo,_r,bo,Dr,Fr,mo,ho,uo,Eg,on,Km,Br,Ig,qr,Wr,_g,tg,gr,sg,Ir,Rr,Pr,po,mg,jg,jr,ig,ag,Kr,Yr,Gr,vr,co,eg,wo,vg,go,dr,Er,hr,Cr,Xr,gg,Qr,Lg,lo,an,Zr,$r,Ar,Tr,bg,xg,yg,ng,rg,so,Sg,Cg,rn,mr,en,og,dg,Sr,br,Hr,Vr,Mg,ko].flat(1),Yi=[...ug],Hi={...pn,animation:{keyframes:{pulse:"{0%, 100% {opacity:1} 50% {opacity:.5}}",bounce:"{0%, 100% {transform:translateY(-25%);animation-timing-function:cubic-bezier(0.8,0,1,1)} 50% {transform:translateY(0);animation-timing-function:cubic-bezier(0,0,0.2,1)}}",spin:"{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}",ping:"{0%{transform:scale(1);opacity:1}75%,100%{transform:scale(2);opacity:0}}","bounce-alt":"{from,20%,53%,80%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);transform:translate3d(0,0,0)}40%,43%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-30px,0)}70%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-15px,0)}90%{transform:translate3d(0,-4px,0)}}",flash:"{from,50%,to{opacity:1}25%,75%{opacity:0}}","pulse-alt":"{from{transform:scale3d(1,1,1)}50%{transform:scale3d(1.05,1.05,1.05)}to{transform:scale3d(1,1,1)}}","rubber-band":"{from{transform:scale3d(1,1,1)}30%{transform:scale3d(1.25,0.75,1)}40%{transform:scale3d(0.75,1.25,1)}50%{transform:scale3d(1.15,0.85,1)}65%{transform:scale3d(0.95,1.05,1)}75%{transform:scale3d(1.05,0.95,1)}to{transform:scale3d(1,1,1)}}","shake-x":"{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}","shake-y":"{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(0,-10px,0)}20%,40%,60%,80%{transform:translate3d(0,10px,0)}}","head-shake":"{0%{transform:translateX(0)}6.5%{transform:translateX(-6px) rotateY(-9deg)}18.5%{transform:translateX(5px) rotateY(7deg)}31.5%{transform:translateX(-3px) rotateY(-5deg)}43.5%{transform:translateX(2px) rotateY(3deg)}50%{transform:translateX(0)}}",swing:"{20%{transform:rotate3d(0,0,1,15deg)}40%{transform:rotate3d(0,0,1,-10deg)}60%{transform:rotate3d(0,0,1,5deg)}80%{transform:rotate3d(0,0,1,-5deg)}to{transform:rotate3d(0,0,1,0deg)}}",tada:"{from{transform:scale3d(1,1,1)}10%,20%{transform:scale3d(0.9,0.9,0.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{transform:scale3d(1,1,1)}}",wobble:"{from{transform:translate3d(0,0,0)}15%{transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{transform:translate3d(0,0,0)}}",jello:"{from,11.1% to{transform:translate3d(0,0,0)}22.2%{transform:skewX(-12.5deg) skewY(-12.5deg)}33.3%{transform:skewX(6.25deg) skewY(6.25deg)}44.4%{transform:skewX(-3.125deg)skewY(-3.125deg)}55.5%{transform:skewX(1.5625deg) skewY(1.5625deg)}66.6%{transform:skewX(-0.78125deg) skewY(-0.78125deg)}77.7%{transform:skewX(0.390625deg) skewY(0.390625deg)}88.8%{transform:skewX(-0.1953125deg) skewY(-0.1953125deg)}}","heart-beat":"{0%{transform:scale(1)}14%{transform:scale(1.3)}28%{transform:scale(1)}42%{transform:scale(1.3)}70%{transform:scale(1)}}",hinge:"{0%{transform-origin:top left;animation-timing-function:ease-in-out}20%,60%{transform:rotate3d(0,0,1,80deg);transform-origin:top left;animation-timing-function:ease-in-out}40%,80%{transform:rotate3d(0,0,1,60deg);transform-origin:top left;animation-timing-function:ease-in-out}to{transform:translate3d(0,700px,0);opacity:0}}","jack-in-the-box":"{from{opacity:0;transform-origin:center bottom;transform:scale(0.1) rotate(30deg)}50%{transform:rotate(-10deg)}70%{transform:rotate(3deg)}to{transform:scale(1)}}","light-speed-in-left":"{from{opacity:0;transform:translate3d(-100%,0,0) skewX(-30deg)}60%{opacity:1;transform:skewX(20deg)}80%{transform:skewX(-5deg)}to{transform:translate3d(0,0,0)}}","light-speed-in-right":"{from{opacity:0;transform:translate3d(100%,0,0) skewX(-30deg)}60%{opacity:1;transform:skewX(20deg)}80%{transform:skewX(-5deg)}to{transform:translate3d(0,0,0)}}","light-speed-out-left":"{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0) skewX(30deg)}}","light-speed-out-right":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) skewX(30deg)}}",flip:"{from{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);animation-timing-function:ease-out}40%{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);animation-timing-function:ease-out}50%{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);animation-timing-function:ease-in}80%{transform:perspective(400px) scale3d(0.95,0.95,0.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);animation-timing-function:ease-in}to{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);animation-timing-function:ease-in}}","flip-in-x":"{from{transform:perspective(400px) rotate3d(1,0,0,90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(1,0,0,-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(1,0,0,10deg);opacity:1}80%{transform:perspective(400px) rotate3d(1,0,0,-5deg)}to{transform:perspective(400px)}}","flip-in-y":"{from{transform:perspective(400px) rotate3d(0,1,0,90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(0,1,0,-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(0,1,0,10deg);opacity:1}80%{transform:perspective(400px) rotate3d(0,1,0,-5deg)}to{transform:perspective(400px)}}","flip-out-x":"{from{transform:perspective(400px)}30%{transform:perspective(400px) rotate3d(1,0,0,-20deg);opacity:1}to{transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}}","flip-out-y":"{from{transform:perspective(400px)}30%{transform:perspective(400px) rotate3d(0,1,0,-15deg);opacity:1}to{transform:perspective(400px) rotate3d(0,1,0,90deg);opacity:0}}","rotate-in":"{from{transform-origin:center;transform:rotate3d(0,0,1,-200deg);opacity:0}to{transform-origin:center;transform:translate3d(0,0,0);opacity:1}}","rotate-in-down-left":"{from{transform-origin:left bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}to{transform-origin:left bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-in-down-right":"{from{transform-origin:right bottom;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:right bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-in-up-left":"{from{transform-origin:left top;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:left top;transform:translate3d(0,0,0);opacity:1}}","rotate-in-up-right":"{from{transform-origin:right bottom;transform:rotate3d(0,0,1,-90deg);opacity:0}to{transform-origin:right bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-out":"{from{transform-origin:center;opacity:1}to{transform-origin:center;transform:rotate3d(0,0,1,200deg);opacity:0}}","rotate-out-down-left":"{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,45deg);opacity:0}}","rotate-out-down-right":"{from{transform-origin:right bottom;opacity:1}to{transform-origin:right bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}}","rotate-out-up-left":"{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}}","rotate-out-up-right":"{from{transform-origin:right bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,90deg);opacity:0}}","roll-in":"{from{opacity:0;transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;transform:translate3d(0,0,0)}}","roll-out":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}","zoom-in":"{from{opacity:0;transform:scale3d(0.3,0.3,0.3)}50%{opacity:1}}","zoom-in-down":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,-1000px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-left":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(-1000px,0,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(10px,0,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-right":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(1000px,0,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(-10px,0,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-up":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,1000px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-out":"{from{opacity:1}50%{opacity:0;transform:scale3d(0.3,0.3,0.3)}to{opacity:0}}","zoom-out-down":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}to{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-out-left":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(42px,0,0)}to{opacity:0;transform:scale(0.1) translate3d(-2000px,0,0);transform-origin:left center}}","zoom-out-right":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(-42px,0,0)}to{opacity:0;transform:scale(0.1) translate3d(2000px,0,0);transform-origin:right center}}","zoom-out-up":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}to{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,-2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","bounce-in":"{from,20%,40%,60%,80%,to{animation-timing-function:ease-in-out}0%{opacity:0;transform:scale3d(0.3,0.3,0.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(0.9,0.9,0.9)}60%{transform:scale3d(1.03,1.03,1.03);opacity:1}80%{transform:scale3d(0.97,0.97,0.97)}to{opacity:1;transform:scale3d(1,1,1)}}","bounce-in-down":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:translate3d(0,0,0)}}","bounce-in-left":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:translate3d(0,0,0)}}","bounce-in-right":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:translate3d(0,0,0)}}","bounce-in-up":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translate3d(0,0,0)}}","bounce-out":"{20%{transform:scale3d(0.9,0.9,0.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(0.3,0.3,0.3)}}","bounce-out-down":"{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}","bounce-out-left":"{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}","bounce-out-right":"{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}","bounce-out-up":"{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}","slide-in-down":"{from{transform:translate3d(0,-100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-left":"{from{transform:translate3d(-100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-right":"{from{transform:translate3d(100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-up":"{from{transform:translate3d(0,100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-out-down":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,100%,0)}}","slide-out-left":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(-100%,0,0)}}","slide-out-right":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(100%,0,0)}}","slide-out-up":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,-100%,0)}}","fade-in":"{from{opacity:0}to{opacity:1}}","fade-in-down":"{from{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-down-big":"{from{opacity:0;transform:translate3d(0,-2000px,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-left":"{from{opacity:0;transform:translate3d(-100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-left-big":"{from{opacity:0;transform:translate3d(-2000px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-right":"{from{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-right-big":"{from{opacity:0;transform:translate3d(2000px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-up":"{from{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-up-big":"{from{opacity:0;transform:translate3d(0,2000px,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-top-left":"{from{opacity:0;transform:translate3d(-100%,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-top-right":"{from{opacity:0;transform:translate3d(100%,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-bottom-left":"{from{opacity:0;transform:translate3d(-100%,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-bottom-right":"{from{opacity:0;transform:translate3d(100%,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-out":"{from{opacity:1}to{opacity:0}}","fade-out-down":"{from{opacity:1}to{opacity:0;transform:translate3d(0,100%,0)}}","fade-out-down-big":"{from{opacity:1}to{opacity:0;transform:translate3d(0,2000px,0)}}","fade-out-left":"{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0)}}","fade-out-left-big":"{from{opacity:1}to{opacity:0;transform:translate3d(-2000px,0,0)}}","fade-out-right":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0)}}","fade-out-right-big":"{from{opacity:1}to{opacity:0;transform:translate3d(2000px,0,0)}}","fade-out-up":"{from{opacity:1}to{opacity:0;transform:translate3d(0,-100%,0)}}","fade-out-up-big":"{from{opacity:1}to{opacity:0;transform:translate3d(0,-2000px,0)}}","fade-out-top-left":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(-100%,-100%,0)}}","fade-out-top-right":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(100%,-100%,0)}}","fade-out-bottom-left":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(-100%,100%,0)}}","fade-out-bottom-right":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(100%,100%,0)}}","back-in-up":"{0%{opacity:0.7;transform:translateY(1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-down":"{0%{opacity:0.7;transform:translateY(-1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-right":"{0%{opacity:0.7;transform:translateX(2000px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-left":"{0%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}80%{opacity:0.7;transform:translateX(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-out-up":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}","back-out-down":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(700px) scale(0.7)}}","back-out-right":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateX(2000px) scale(0.7)}}","back-out-left":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}"},durations:{pulse:"2s","heart-beat":"1.3s","bounce-in":"0.75s","bounce-out":"0.75s","flip-out-x":"0.75s","flip-out-y":"0.75s",hinge:"2s"},timingFns:{pulse:"cubic-bezier(0.4,0,.6,1)",ping:"cubic-bezier(0,0,.2,1)","head-shake":"ease-in-out","heart-beat":"ease-in-out","pulse-alt":"ease-in-out","light-speed-in-left":"ease-out","light-speed-in-right":"ease-out","light-speed-out-left":"ease-in","light-speed-out-right":"ease-in"},properties:{"bounce-alt":{"transform-origin":"center bottom"},jello:{"transform-origin":"center"},swing:{"transform-origin":"top center"},flip:{"backface-visibility":"visible"},"flip-in-x":{"backface-visibility":"visible !important"},"flip-in-y":{"backface-visibility":"visible !important"},"flip-out-x":{"backface-visibility":"visible !important"},"flip-out-y":{"backface-visibility":"visible !important"},"rotate-in":{"transform-origin":"center"},"rotate-in-down-left":{"transform-origin":"left bottom"},"rotate-in-down-right":{"transform-origin":"right bottom"},"rotate-in-up-left":{"transform-origin":"left bottom"},"rotate-in-up-right":{"transform-origin":"right bottom"},"rotate-out":{"transform-origin":"center"},"rotate-out-down-left":{"transform-origin":"left bottom"},"rotate-out-down-right":{"transform-origin":"right bottom"},"rotate-out-up-left":{"transform-origin":"left bottom"},"rotate-out-up-right":{"transform-origin":"right bottom"},hinge:{"transform-origin":"top left"},"zoom-out-down":{"transform-origin":"center bottom"},"zoom-out-left":{"transform-origin":"left center"},"zoom-out-right":{"transform-origin":"right center"},"zoom-out-up":{"transform-origin":"center bottom"}},counts:{spin:"infinite",ping:"infinite",pulse:"infinite","pulse-alt":"infinite",bounce:"infinite","bounce-alt":"infinite"}},media:{portrait:"(orientation: portrait)",landscape:"(orientation: landscape)",os_dark:"(prefers-color-scheme: dark)",os_light:"(prefers-color-scheme: light)",motion_ok:"(prefers-reduced-motion: no-preference)",motion_not_ok:"(prefers-reduced-motion: reduce)",high_contrast:"(prefers-contrast: high)",low_contrast:"(prefers-contrast: low)",opacity_ok:"(prefers-reduced-transparency: no-preference)",opacity_not_ok:"(prefers-reduced-transparency: reduce)",useData_ok:"(prefers-reduced-data: no-preference)",useData_not_ok:"(prefers-reduced-data: reduce)",touch:"(hover: none) and (pointer: coarse)",stylus:"(hover: none) and (pointer: fine)",pointer:"(hover) and (pointer: coarse)",mouse:"(hover) and (pointer: fine)",hd_color:"(dynamic-range: high)"},preflightBase:{...nn,...Rg,...Og,...Pg,...$g,...tn,...Jr,...pg,...fg}},Dg=[Ye("svg",e=>({selector:`${e.selector} svg`}))],Fg=[Ye(".dark",e=>({prefix:`.dark $$ ${e.prefix}`})),Ye(".light",e=>({prefix:`.light $$ ${e.prefix}`})),Ae("@dark","@media (prefers-color-scheme: dark)"),Ae("@light","@media (prefers-color-scheme: light)")],Ng=[Ae("contrast-more","@media (prefers-contrast: more)"),Ae("contrast-less","@media (prefers-contrast: less)")],Bg=[Ae("motion-reduce","@media (prefers-reduced-motion: reduce)"),Ae("motion-safe","@media (prefers-reduced-motion: no-preference)")],Ug=[Ae("landscape","@media (orientation: landscape)"),Ae("portrait","@media (orientation: portrait)")],Wg=e=>{if(/^space-?([xy])-?(-?.+)$/.test(e)||e.startsWith("divide-"))return{matcher:e,selector:t=>`${t}>:not([hidden])~:not([hidden])`}},Yg=(e,{theme:t})=>{let r=e.match(/^(.*)\b(placeholder-)(.+)$/);if(r){let[,n="",o,i]=r;if(fr(i,t)||qg(i))return{matcher:`${n}placeholder-$ ${o}${i}`}}};function qg(e){let t=e.match(/^op(?:acity)?-?(.+)$/);return t&&t[1]!=null?y.bracket.percent(t[1])!=null:!1}var Vi=e=>[Yg,Wg,...mn(e),...Ng,...Ug,...Bg,...Dg,...Fg],$u=(e={})=>(e.dark=e.dark??"class",e.attributifyPseudo=e.attributifyPseudo??!1,{name:"@unocss/preset-wind",theme:Hi,rules:qi,shortcuts:Yi,variants:Vi(e),options:e,preflights:gn,prefix:e.prefix});var Eu=(e,t,r)=>`calc(${t} + (${e} - ${t}) * ${r} / 100)`,Au=(e,t,r)=>{let n=[e,t],o=[];for(let a=0;a<2;++a){let l=typeof n[a]=="string"?Dt(n[a]):n[a];if(!l||!["rgb","rgba"].includes(l.type))return;o.push(l)}let i=[];for(let a=0;a<3;++a)i.push(Eu(o[0].components[a],o[1].components[a],r));return{type:"rgb",components:i,alpha:Eu(o[0].alpha??1,o[1].alpha??1,r)}},Tu=(e,t)=>Au("#fff",e,t),ju=(e,t)=>Au("#000",e,t),Hg=(e,t)=>{let r=parseFloat(`${t}`);if(!Number.isNaN(r))return r>0?ju(e,t):Tu(e,-r)},Vg={tint:Tu,shade:ju,shift:Hg},Gg=e=>{let t=e.match(/^mix-(tint|shade|shift)-(-?\d{1,3})[-:]/);if(t)return{matcher:e.slice(t[0].length),body:r=>(r.forEach(n=>{if(n[1]){let o=Dt(`${n[1]}`);if(o){let i=Vg[t[1]](o,t[2]);i&&(n[1]=be(i))}}}),r)}},zu=(e={})=>(e.dark=e.dark??"class",e.attributifyPseudo=e.attributifyPseudo??!1,{name:"@unocss/preset-uno",theme:Hi,rules:qi,shortcuts:Yi,variants:[...Vi(e),Gg],options:e,preflights:gn,prefix:e.prefix});p();f();var Pu=/^(?!\[(?:[^:]+):(?:.+)\]$)((?:.+:)?!?)?(.*)$/,Kg=(e={})=>{let t=e.prefix??"un-",r=e.prefixedOnly??!1,n=e.trueToNonValued??!1;return{name:"attributify",match(o){let i=gi(o);if(!i)return;let a=i[1];if(a.startsWith(t))a=a.slice(t.length);else if(r)return;let l=i[2],[,u="",s=l]=l.match(Pu)||[];return s==="~"||n&&s==="true"||!s?`${u}${a}`:`${u}${a}-${s}`}}},Xg=/(<\w[\w:\.$-]*\s)((?:'[^>]*?'|"[^>]*?"|`[^>]*?`|\{[^>]*?\}|[^>]*?)*)/g,Qg=/([?]|(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-]+)(?:=("[^"]*|'[^']*))?/g,Lu=/[\s'"`;>]+/,Zg={name:"attributify",extract:({content:e,cursor:t})=>{let r=e.matchAll(Xg),n,o=0;for(let S of r){let[,C,$]=S,v=S.index+C.length;if(t>v&&t<=v+$.length){o=v,n=$;break}}if(!n)return null;let i=n.matchAll(Qg),a=0,l,u;for(let S of i){let[C,$,v]=S,j=o+S.index;if(t>j&&t<=j+C.length){a=j,l=$,u=v?.slice(1);break}}if(!l||l==="class"||l==="className"||l===":class")return null;if(u===void 0)return{extracted:l,resolveReplacement(S){return{start:a,end:a+l.length,replacement:S}}};let s=a+l.length+2,c=Lu.exec(u),h=0,m;for(;c;){let[S]=c;if(t>s+h&&t<=s+h+c.index){m=u.slice(h,h+c.index);break}h+=c.index+S.length,c=Lu.exec(u.slice(h))}m===void 0&&(m=u.slice(h));let[,x="",k]=m.match(Pu)||[];return{extracted:`${x}${l}-${k}`,transformSuggestions(S){return S.filter(C=>C.startsWith(`${x}${l}-`)).map(C=>x+C.slice(x.length+l.length+1))},resolveReplacement(S){return{start:h+s,end:h+s+m.length,replacement:x+S.slice(x.length+l.length+1)}}}}},Jg=["v-bind:",":"],Ru=/[\s'"`;]+/g,e0=/<\w(?=.*>)[\w:\.$-]*\s((?:['"`\{].*?['"`\}]|.*?)*?)>/gs,t0=/([?]|(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:!%-]+)(?:={?(["'])([^\2]*?)\2}?)?/g,Iu=["placeholder"],r0=e=>{let t=e?.ignoreAttributes??Iu,r=e?.nonValuedAttribute??!0,n=e?.trueToNonValued??!1;return{name:"attributify",extract({code:o}){let i=Array.from(o.matchAll(e0)).flatMap(a=>Array.from((a[1]||"").matchAll(t0))).flatMap(([,a,l,u])=>{if(t.includes(a))return[];for(let s of Jg)if(a.startsWith(s)){a=a.slice(s.length);break}if(!u){if(lr(a)&&r!==!1){let s=[`[${a}=""]`];return n&&s.push(`[${a}="true"]`),s}return[]}return["class","className"].includes(a)?u.split(Ru).filter(lr):u.split(Ru).filter(Boolean).map(s=>`[${a}~="${s}"]`)});return new Set(i)}}},Ou=(e={})=>{e.strict=e.strict??!1,e.prefix=e.prefix??"un-",e.prefixedOnly=e.prefixedOnly??!1,e.nonValuedAttribute=e.nonValuedAttribute??!0,e.ignoreAttributes=e.ignoreAttributes??Iu;let t=[Kg(e)],r=[r0(e)],n=[Zg];return e.strict||r.unshift(Mt),{name:"@unocss/preset-attributify",variants:t,extractors:r,options:e,autocomplete:{extractors:n}}};p();f();var Gi="__TAGIFY__",n0=/<([\w\d-:]+)/g,o0=e=>{let{prefix:t="",excludedTags:r=["b",/^h\d+$/,"table"]}=e;return{name:"tagify",extract({code:n}){return new Set(Array.from(n.matchAll(n0)).filter(({1:o})=>{for(let i of r)if(typeof i=="string"){if(o===i)return!1}else if(i.test(o))return!1;return o.startsWith(t)}).map(([,o])=>`${Gi}${o}`))}}},i0=e=>{let{extraProperties:t}=e,r=`${Gi}${e.prefix??""}`;return{name:"tagify",match(n){if(!n.startsWith(r))return;let o=n.slice(r.length),i={matcher:o,selector:a=>a.slice(Gi.length+1)};return t&&(typeof t=="function"?i.body=a=>[...a,...Object.entries(t(o)??{})]:i.body=a=>[...a,...Object.entries(t)]),i}}};function _u(e={}){let{defaultExtractor:t=!0}=e,r=[i0(e)],n=[o0(e)];return t&&n.push(Mt),{name:"@unocss/preset-tagify",variants:r,extractors:n}}p();f();p();f();ra();var Xu=Object.freeze({inline:!1,width:null,height:null,hAlign:"center",vAlign:"middle",slice:!1,hFlip:!1,vFlip:!1,rotate:0}),q0=Object.keys(Xu);q0.filter(e=>e!=="width"&&e!=="height");var Bt=Object.freeze({left:0,top:0,width:16,height:16,rotate:0,vFlip:!1,hFlip:!1});function Y0(e){return{...Bt,...e}}function H0(e,t){let r={...e};for(let n in Bt){let o=n;if(t[o]!==void 0){let i=t[o];if(r[o]===void 0){r[o]=i;continue}switch(o){case"rotate":r[o]=(r[o]+i)%4;break;case"hFlip":case"vFlip":r[o]=i!==r[o];break;default:r[o]=i}}}return r}function V0(e,t,r=!1){function n(i,a){if(e.icons[i]!==void 0)return Object.assign({},e.icons[i]);if(a>5)return null;let l=e.aliases;if(l&&l[i]!==void 0){let s=l[i],c=n(s.parent,a+1);return c&&H0(c,s)}let u=e.chars;return!a&&u&&u[i]!==void 0?n(u[i],a+1):null}let o=n(t,0);if(o)for(let i in Bt)o[i]===void 0&&e[i]!==void 0&&(o[i]=e[i]);return o&&r?Y0(o):o}for(let e in Bt)Bt[e];Object.keys(Bt).concat(["provider"]);var G0=/(-?[0-9.]*[0-9]+[0-9.]*)/g,K0=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function na(e,t,r){if(t===1)return e;if(r=r===void 0?100:r,typeof e=="number")return Math.ceil(e*t*r)/r;if(typeof e!="string")return e;let n=e.split(G0);if(n===null||!n.length)return e;let o=[],i=n.shift(),a=K0.test(i);for(;;){if(a){let l=parseFloat(i);isNaN(l)?o.push(i):o.push(Math.ceil(l*t*r)/r)}else o.push(i);if(i=n.shift(),i===void 0)return o.join("");a=!a}}function X0(e){let t="";switch(e.hAlign){case"left":t+="xMin";break;case"right":t+="xMax";break;default:t+="xMid"}switch(e.vAlign){case"top":t+="YMin";break;case"bottom":t+="YMax";break;default:t+="YMid"}return t+=e.slice?" slice":" meet",t}function Q0(e,t){let r={left:e.left,top:e.top,width:e.width,height:e.height},n=e.body;[e,t].forEach(l=>{let u=[],s=l.hFlip,c=l.vFlip,h=l.rotate;s?c?h+=2:(u.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),u.push("scale(-1 1)"),r.top=r.left=0):c&&(u.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),u.push("scale(1 -1)"),r.top=r.left=0);let m;switch(h<0&&(h-=Math.floor(h/4)*4),h=h%4,h){case 1:m=r.height/2+r.top,u.unshift("rotate(90 "+m.toString()+" "+m.toString()+")");break;case 2:u.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:m=r.width/2+r.left,u.unshift("rotate(-90 "+m.toString()+" "+m.toString()+")");break}h%2==1&&((r.left!==0||r.top!==0)&&(m=r.left,r.left=r.top,r.top=m),r.width!==r.height&&(m=r.width,r.width=r.height,r.height=m)),u.length&&(n='<g transform="'+u.join(" ")+'">'+n+"</g>")});let o,i;t.width===null&&t.height===null?(i="1em",o=na(i,r.width/r.height)):t.width!==null&&t.height!==null?(o=t.width,i=t.height):t.height!==null?(i=t.height,o=na(i,r.width/r.height)):(o=t.width,i=na(o,r.height/r.width)),o==="auto"&&(o=r.width),i==="auto"&&(i=r.height),o=typeof o=="string"?o:o.toString()+"",i=typeof i=="string"?i:i.toString()+"";let a={attributes:{width:o,height:i,preserveAspectRatio:X0(t),viewBox:r.left.toString()+" "+r.top.toString()+" "+r.width.toString()+" "+r.height.toString()},body:n};return t.inline&&(a.inline=!0),a}""+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);function Z0(e){return e.replace(/(["';{}><])\s*\n\s*/g,"$1").replace(/\s*\n\s*/g," ").replace(/\s+"/g,'"').replace(/="\s+/g,'="').trim()}function g(e,t){let r="rgb",n=t[0],o=t.length;o>1&&t[1],o>2&&t[2],o>3&&t[3]}g("silver",[192]);g("gray",[128]);g("white",[255]);g("maroon",[128,0,0]);g("red",[255,0,0]);g("purple",[128,0]);g("fuchsia",[255,0]);g("green",[0,128]);g("lime",[0,255]);g("olive",[128,128,0]);g("yellow",[255,255,0]);g("navy",[0,0,128]);g("blue",[0,0,255]);g("teal",[0,128,128]);g("aqua",[0,255,255]);g("aliceblue",[240,248,255]);g("antiquewhite",[250,235,215]);g("aqua",[0,255,255]);g("aquamarine",[127,255,212]);g("azure",[240,255,255]);g("beige",[245,245,220]);g("bisque",[255,228,196]);g("black",[0]);g("blanchedalmond",[255,235,205]);g("blue",[0,0,255]);g("blueviolet",[138,43,226]);g("brown",[165,42,42]);g("burlywood",[222,184,135]);g("cadetblue",[95,158,160]);g("chartreuse",[127,255,0]);g("chocolate",[210,105,30]);g("coral",[255,127,80]);g("cornflowerblue",[100,149,237]);g("cornsilk",[255,248,220]);g("crimson",[220,20,60]);g("cyan",[0,255,255]);g("darkblue",[0,0,139]);g("darkcyan",[0,139,139]);g("darkgoldenrod",[184,134,11]);g("darkgray",[169]);g("darkgreen",[0,100]);g("darkgrey",[169]);g("darkkhaki",[189,183,107]);g("darkmagenta",[139,0]);g("darkolivegreen",[85,107,47]);g("darkorange",[255,140,0]);g("darkorchid",[153,50,204]);g("darkred",[139,0,0]);g("darksalmon",[233,150,122]);g("darkseagreen",[143,188]);g("darkslateblue",[72,61,139]);g("darkslategray",[47,79,79]);g("darkslategrey",[47,79,79]);g("darkturquoise",[0,206,209]);g("darkviolet",[148,0,211]);g("deeppink",[255,20,147]);g("deepskyblue",[0,191,255]);g("dimgray",[105]);g("dimgrey",[105]);g("dodgerblue",[30,144,255]);g("firebrick",[178,34,34]);g("floralwhite",[255,250,240]);g("forestgreen",[34,139]);g("fuchsia",[255,0]);g("gainsboro",[220]);g("ghostwhite",[248,248,255]);g("gold",[255,215,0]);g("goldenrod",[218,165,32]);g("gray",[128]);g("green",[0,128]);g("greenyellow",[173,255,47]);g("grey",[128]);g("honeydew",[240,255]);g("hotpink",[255,105,180]);g("indianred",[205,92,92]);g("indigo",[75,0,130]);g("ivory",[255,255,240]);g("khaki",[240,230,140]);g("lavender",[230,230,250]);g("lavenderblush",[255,240,245]);g("lawngreen",[124,252,0]);g("lemonchiffon",[255,250,205]);g("lightblue",[173,216,230]);g("lightcoral",[240,128,128]);g("lightcyan",[224,255,255]);g("lightgoldenrodyellow",[250,250,210]);g("lightgray",[211]);g("lightgreen",[144,238]);g("lightgrey",[211]);g("lightpink",[255,182,193]);g("lightsalmon",[255,160,122]);g("lightseagreen",[32,178,170]);g("lightskyblue",[135,206,250]);g("lightslategray",[119,136,153]);g("lightslategrey",[119,136,153]);g("lightsteelblue",[176,196,222]);g("lightyellow",[255,255,224]);g("lime",[0,255]);g("limegreen",[50,205]);g("linen",[250,240,230]);g("magenta",[255,0]);g("maroon",[128,0,0]);g("mediumaquamarine",[102,205,170]);g("mediumblue",[0,0,205]);g("mediumorchid",[186,85,211]);g("mediumpurple",[147,112,219]);g("mediumseagreen",[60,179,113]);g("mediumslateblue",[123,104,238]);g("mediumspringgreen",[0,250,154]);g("mediumturquoise",[72,209,204]);g("mediumvioletred",[199,21,133]);g("midnightblue",[25,25,112]);g("mintcream",[245,255,250]);g("mistyrose",[255,228,225]);g("moccasin",[255,228,181]);g("navajowhite",[255,222,173]);g("navy",[0,0,128]);g("oldlace",[253,245,230]);g("olive",[128,128,0]);g("olivedrab",[107,142,35]);g("orange",[255,165,0]);g("orangered",[255,69,0]);g("orchid",[218,112,214]);g("palegoldenrod",[238,232,170]);g("palegreen",[152,251]);g("paleturquoise",[175,238,238]);g("palevioletred",[219,112,147]);g("papayawhip",[255,239,213]);g("peachpuff",[255,218,185]);g("peru",[205,133,63]);g("pink",[255,192,203]);g("plum",[221,160]);g("powderblue",[176,224,230]);g("purple",[128,0]);g("rebeccapurple",[102,51,153]);g("red",[255,0,0]);g("rosybrown",[188,143,143]);g("royalblue",[65,105,225]);g("saddlebrown",[139,69,19]);g("salmon",[250,128,114]);g("sandybrown",[244,164,96]);g("seagreen",[46,139,87]);g("seashell",[255,245,238]);g("sienna",[160,82,45]);g("silver",[192]);g("skyblue",[135,206,235]);g("slateblue",[106,90,205]);g("slategray",[112,128,144]);g("slategrey",[112,128,144]);g("snow",[255,250,250]);g("springgreen",[0,255,127]);g("steelblue",[70,130,180]);g("tan",[210,180,140]);g("teal",[0,128,128]);g("thistle",[216,191]);g("tomato",[255,99,71]);g("turquoise",[64,224,208]);g("violet",[238,130]);g("wheat",[245,222,179]);g("white",[255]);g("whitesmoke",[245]);g("yellow",[255,255,0]);g("yellowgreen",[154,205,50]);var J0=/width\s*=\s*["'](\w+)["']/,eb=/height\s*=\s*["'](\w+)["']/;function tb(e,t,r){let n=e.slice(0,e.indexOf(">")),o=J0.exec(n),i=o!=null;(typeof t.width=="undefined"||t.width===null)&&(typeof r=="number"?t.width=`${r}em`:o&&(t.width=o[1])),o=eb.exec(n);let a=o!=null;return(typeof t.height=="undefined"||t.height===null)&&(typeof r=="number"?t.height=`${r}em`:o&&(t.height=o[1])),[i,a]}async function Qu(e,t,r,n,o,i){let{scale:a,addXmlNs:l=!1}=n??{},{additionalProps:u={},iconCustomizer:s}=n?.customizations??{},c=await o?.()??{};await s?.(t,r,c),Object.keys(u).forEach(S=>{let C=u[S];C!=null&&(c[S]=C)}),i?.(c);let[h,m]=tb(e,c,a);l&&(!e.includes(" xmlns=")&&!c.xmlns&&(c.xmlns="http://www.w3.org/2000/svg"),!e.includes(" xmlns:xlink=")&&e.includes("xlink:")&&!c["xmlns:xlink"]&&(c["xmlns:xlink"]="http://www.w3.org/1999/xlink"));let x=Object.keys(c).map(S=>S==="width"&&h||S==="height"&&m?null:`${S}="${c[S]}"`).filter(S=>S!=null);if(x.length&&(e=e.replace("<svg ",`<svg ${x.join(" ")} `)),n){let{defaultStyle:S,defaultClass:C}=n;C&&!e.includes(" class=")&&(e=e.replace("<svg ",`<svg class="${C}" `)),S&&!e.includes(" style=")&&(e=e.replace("<svg ",`<svg style="${S}" `))}let k=n?.usedProps;return k&&(Object.keys(u).forEach(S=>{let C=c[S];C!=null&&(k[S]=C)}),typeof c.width!="undefined"&&c.width!==null&&(k.width=c.width),typeof c.height!="undefined"&&c.height!==null&&(k.height=c.height)),e}async function Zu(e,t,r,n){let o;if(typeof e=="function")o=await e(r);else{let i=e[r];o=typeof i=="function"?await i():i}if(o){let i=o.indexOf("<svg");i>0&&(o=o.slice(i));let{transform:a}=n?.customizations??{};return o=typeof a=="function"?await a(o,t,r):o,o.startsWith("<svg")?await Qu(n?.customizations?.trimCustomSvg===!0?Z0(o):o,t,r,n,void 0):(console.warn(`Custom icon "${r}" in "${t}" is not a valid SVG`),o)}}async function Ju(e,t,r,n){let o,{customize:i}=n?.customizations??{};for(let a of r)if(o=V0(e,a,!0),o){let l={...Xu};typeof i=="function"&&(l=i(l));let{attributes:{width:u,height:s,...c},body:h}=Q0(o,l),m=n?.scale;return await Qu(`<svg >${h}</svg>`,t,a,n,()=>({...c}),x=>{(typeof x.width=="undefined"||x.width===null)&&(typeof m=="number"?x.width=`${m}em`:x.width=u),(typeof x.height=="undefined"||x.height===null)&&(typeof m=="number"?x.height=`${m}em`:x.height=s)})}}var oa=async(e,t,r)=>{let n=r?.customCollections?.[e];if(n)if(typeof n=="function"){let o=await n(t);if(o){if(typeof o=="string")return await Zu(()=>o,e,t,r);if("icons"in o){let i=[t,t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.replace(/([a-z])(\d+)/g,"$1-$2")];return await Ju(o,e,i,r)}}}else return await Zu(n,e,t,r)},rb=["material-symbols","ic","mdi","ph","ri","carbon","bi","tabler","ion","uil","teenyicons","clarity","iconoir","majesticons","zondicons","ant-design","bx","bxs","gg","cil","lucide","pixelarticons","system-uicons","ci","akar-icons","typcn","radix-icons","ep","mdi-light","fe","eos-icons","line-md","charm","prime","heroicons-outline","heroicons-solid","uiw","uim","uit","uis","maki","gridicons","mi","quill","gala","fluent","icon-park-outline","icon-park","vscode-icons","jam","codicon","pepicons","bytesize","ei","fa6-solid","fa6-regular","octicon","ooui","nimbus","openmoji","twemoji","noto","noto-v1","emojione","emojione-monotone","emojione-v1","fxemoji","bxl","logos","simple-icons","cib","fa6-brands","arcticons","file-icons","brandico","entypo-social","cryptocurrency","flag","circle-flags","flagpack","cif","gis","map","geo","fad","academicons","wi","healthicons","medical-icon","la","eva","dashicons","flat-color-icons","entypo","foundation","raphael","icons8","iwwa","fa-solid","fa-regular","fa-brands","fa","fontisto","icomoon-free","ps","subway","oi","wpf","simple-line-icons","et","el","vaadin","grommet-icons","whh","si-glyph","zmdi","ls","bpmn","flat-ui","vs","topcoat","il","websymbol","fontelico","feather","mono-icons"];function ep(e){let t=new Map;function r(n){if(!!rb.includes(n))return t.has(n)||t.set(n,ta(`${e}@iconify-json/${n}/icons.json`)),t.get(n)}return async(n,o,i)=>{let a=await oa(n,o,i);if(a)return a;let l=await r(n);if(l){let u=[o,o.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),o.replace(/([a-z])(\d+)/g,"$1-$2")];a=await Ju(l,n,u,i)}return a}}p();f();function nb(e){let t=e.startsWith("<svg>")?e.replace("<svg>","<svg >"):e;return!t.includes(" xmlns:xlink=")&&t.includes(" xlink:")&&(t=t.replace("<svg ",'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ')),t.includes(" xmlns=")||(t=t.replace("<svg ",'<svg xmlns="http://www.w3.org/2000/svg" ')),t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/{/g,"%7B").replace(/}/g,"%7D").replace(/</g,"%3C").replace(/>/g,"%3E")}var ob=3;function tp(e){return function(r={}){let{scale:n=1,mode:o="auto",prefix:i="i-",warn:a=!1,collections:l,extraProperties:u={},customizations:s={},autoInstall:c=!1,layer:h="icons",unit:m}=r,x={addXmlNs:!0,scale:n,customCollections:l,autoInstall:c,warn:void 0,customizations:{...s,additionalProps:{...u},trimCustomSvg:!0,async iconCustomizer(S,C,$){await s.iconCustomizer?.(S,C,$),m&&($.width||($.width=`${n}${m}`),$.height||($.height=`${n}${m}`))}}},k;return{name:"@unocss/preset-icons",enforce:"pre",options:r,layers:{icons:-30},rules:[[/^([a-z0-9:-]+)(?:\?(mask|bg|auto))?$/,async([S,C,$=o])=>{let v="",j="",E;k=k||await e(r);let z={};if(C.includes(":"))[v,j]=C.split(":"),E=await k(v,j,{...x,usedProps:z});else{let T=C.split(/-/g);for(let L=ob;L>=1&&(v=T.slice(0,L).join("-"),j=T.slice(L).join("-"),E=await k(v,j,{...x,usedProps:z}),!E);L--);}if(!E){a&&Qn(`failed to load icon "${S}"`);return}let D=`url("data:image/svg+xml;utf8,${nb(E)}")`;return $==="auto"&&($=E.includes("currentColor")?"mask":"bg"),$==="mask"?{"--un-icon":D,mask:"var(--un-icon) no-repeat","mask-size":"100% 100%","-webkit-mask":"var(--un-icon) no-repeat","-webkit-mask-size":"100% 100%","background-color":"currentColor",...z}:{background:`${D} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...z}},{layer:h,prefix:i}]]}}}var rp=tp(async e=>{let{cdn:t}=e;return t?ep(t):oa});p();f();var ib=np("google","https://fonts.googleapis.com");function np(e,t){return{name:e,getImportUrl(r){let n=r.filter(o=>o.provider===e).map(o=>{let i=o.name.replace(/\s+/g,"+");return o.weights?.length&&(i+=o.italic?`:ital,wght@${o.weights.flatMap(a=>[`0,${a}`,`1,${a}`]).sort().join(";")}`:`:wght@${o.weights.sort().join(";")}`),`family=${i}`}).join("&");return`${t}/css2?${n}&display=swap`},getFontName(r){return`"${r.name}"`}}}var ab=np("bunny","https://fonts.bunny.net"),sb={name:"none",getPreflight(){return""},getFontName(e){return e.name}};function lb(e,t){if(typeof e!="string")return e.provider=e.provider??t,e;let[r,n=""]=e.split(":");return{name:r,weights:n.split(/[,;]\s*/).filter(Boolean),provider:t}}var op={google:ib,bunny:ab,none:sb},ip=(e={})=>{let{provider:t="google",extendTheme:r=!0,inlineImports:n=!0,themeKey:o="fontFamily"}=e,i=Object.fromEntries(Object.entries(e.fonts||{}).map(([c,h])=>[c,ge(h).map(m=>lb(m,t))])),a=Object.values(i).flatMap(c=>c),l={};async function u(c){if(n){if(!l[c]){let{$fetch:h}=await Promise.resolve().then(()=>(ra(),Hu));l[c]=h(c,{headers:{},retry:3}).catch(m=>{if(console.error("Failed to fetch web fonts"),console.error(m),typeof b!="undefined"&&b.env.CI)throw m})}return await l[c]}else return`@import url('${c}')`}let s={name:"@unocss/preset-web-fonts",preflights:[{async getCSS(){let c=new Set(a.map(m=>m.provider||t)),h=[];for(let m of c){let x=a.filter(S=>S.provider===m),k=op[m];if(k.getImportUrl){let S=k.getImportUrl(x);S&&h.push(await u(S))}h.push(k.getPreflight?.(x))}return h.filter(Boolean).join(`
|
|
4
|
+
`)}}]};return r&&(s.extendTheme=c=>{c[o]||(c[o]={});let h=Object.fromEntries(Object.entries(i).map(([m,x])=>[m,x.map(k=>op[k.provider||t].getFontName(k))]));for(let m of Object.keys(h))typeof c[o][m]=="string"?c[o][m]=h[m].map(x=>`${x},`).join("")+c[o][m]:c[o][m]=h[m].join(",")}),s};p();f();var ap={"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":"var(--un-prose-font-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"}};function sp(e,t,r){let n="";for(let o in r){let i=r[o],a=`:not(:where(.not-${t},.not-${t} *))`,l=o.split(",").map(u=>{let s=u.match(/::?(?:[\(\)\:\-\d\w]+)$/g);if(s){let c=s[0];return u=u.replace(c,""),`${e} :where(${u})${a}${c}`}return null}).filter(u=>u);l.length?n+=l.join(","):n+=`${e} :where(${o})${a}`,n+="{";for(let u in i){let s=i[u];n+=`${u}:${s};`}n+="}"}return n}function cb(e,t,r){return e.startsWith(".")||(e=`:is(${e},.${t})`),r?sp(e,t,ar(ap,r)):sp(e,t,ap)}function lp(e){e?.className&&console.warn('[unocss:preset-typography] "className" is deprecated. Use "selectorName" instead.');let t=!1,r="",n=e?.selectorName||e?.className||"prose",o=new RegExp(`^${n}$`),i=new RegExp(`^${n}-([-\\w]+)$`),a=new RegExp(`^${n}-invert$`),l=e?.cssExtend;return{name:"@unocss/preset-typography",enforce:"post",layers:{typography:-20},rules:[[o,(u,{rawSelector:s})=>(t=!0,r=Zn(s),{color:"var(--un-prose-body)","max-width":"65ch"}),{layer:"typography"}],[i,([,u],{theme:s})=>{let c=s.colors?.[u];if(c==null)return;let h=typeof c=="object"?c:{};return{"--un-prose-body":h[700]??c,"--un-prose-headings":h[900]??c,"--un-prose-links":h[900]??c,"--un-prose-lists":h[400]??c,"--un-prose-hr":h[200]??c,"--un-prose-captions":h[500]??c,"--un-prose-code":h[900]??c,"--un-prose-borders":h[200]??c,"--un-prose-bg-soft":h[100]??c,"--un-prose-invert-body":h[200]??c,"--un-prose-invert-headings":h[100]??c,"--un-prose-invert-links":h[100]??c,"--un-prose-invert-lists":h[500]??c,"--un-prose-invert-hr":h[700]??c,"--un-prose-invert-captions":h[400]??c,"--un-prose-invert-code":h[100]??c,"--un-prose-invert-borders":h[700]??c,"--un-prose-invert-bg-soft":h[800]??c,"--un-prose-font-mono":s.fontFamily?.mono}},{layer:"typography"}],[a,()=>({"--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"}]],preflights:[{layer:"typography",getCSS:()=>t?cb(r,n,l):void 0}]}}p();f();p();f();p();f();p();f();p();f();p();f();var Ao=0,w=1,I=2,Z=3,N=4,he=5,Ut=6,te=7,xe=8,P=9,A=10,W=11,O=12,_=13,tt=14,ce=15,J=16,ie=17,ye=18,ae=19,ke=20,q=21,F=22,ee=23,de=24,V=25;p();f();var ub=0;function re(e){return e>=48&&e<=57}function Te(e){return re(e)||e>=65&&e<=70||e>=97&&e<=102}function To(e){return e>=65&&e<=90}function pb(e){return e>=97&&e<=122}function fb(e){return To(e)||pb(e)}function hb(e){return e>=128}function jo(e){return fb(e)||hb(e)||e===95}function xn(e){return jo(e)||re(e)||e===45}function db(e){return e>=0&&e<=8||e===11||e>=14&&e<=31||e===127}function yn(e){return e===10||e===13||e===12}function He(e){return yn(e)||e===32||e===9}function $e(e,t){return!(e!==92||yn(t)||t===ub)}function Wt(e,t,r){return e===45?jo(t)||t===45||$e(t,r):jo(e)?!0:e===92?$e(e,t):!1}function zo(e,t,r){return e===43||e===45?re(t)?2:t===46&&re(r)?3:0:e===46?re(t)?2:0:re(e)?1:0}function Po(e){return e===65279||e===65534?1:0}var ia=new Array(128),mb=128,kn=130,aa=131,Lo=132,sa=133;for(let e=0;e<ia.length;e++)ia[e]=He(e)&&kn||re(e)&&aa||jo(e)&&Lo||db(e)&&sa||e||mb;function Ro(e){return e<128?ia[e]:Lo}p();f();function qt(e,t){return t<e.length?e.charCodeAt(t):0}function Io(e,t,r){return r===13&&qt(e,t+1)===10?2:1}function rt(e,t,r){let n=e.charCodeAt(t);return To(n)&&(n=n|32),n===r}function nt(e,t,r,n){if(r-t!==n.length||t<0||r>e.length)return!1;for(let o=t;o<r;o++){let i=n.charCodeAt(o-t),a=e.charCodeAt(o);if(To(a)&&(a=a|32),a!==i)return!1}return!0}function up(e,t){for(;t>=0&&He(e.charCodeAt(t));t--);return t+1}function wn(e,t){for(;t<e.length&&He(e.charCodeAt(t));t++);return t}function la(e,t){for(;t<e.length&&re(e.charCodeAt(t));t++);return t}function Ve(e,t){if(t+=2,Te(qt(e,t-1))){for(let n=Math.min(e.length,t+5);t<n&&Te(qt(e,t));t++);let r=qt(e,t);He(r)&&(t+=Io(e,t,r))}return t}function vn(e,t){for(;t<e.length;t++){let r=e.charCodeAt(t);if(!xn(r)){if($e(r,qt(e,t+1))){t=Ve(e,t)-1;continue}break}}return t}function $t(e,t){let r=e.charCodeAt(t);if((r===43||r===45)&&(r=e.charCodeAt(t+=1)),re(r)&&(t=la(e,t+1),r=e.charCodeAt(t)),r===46&&re(e.charCodeAt(t+1))&&(t+=2,t=la(e,t)),rt(e,t,101)){let n=0;r=e.charCodeAt(t+1),(r===45||r===43)&&(n=1,r=e.charCodeAt(t+2)),re(r)&&(t=la(e,t+1+n+1))}return t}function Oo(e,t){for(;t<e.length;t++){let r=e.charCodeAt(t);if(r===41){t++;break}$e(r,qt(e,t+1))&&(t=Ve(e,t))}return t}function Sn(e){if(e.length===1&&!Te(e.charCodeAt(0)))return e[0];let t=parseInt(e,16);return(t===0||t>=55296&&t<=57343||t>1114111)&&(t=65533),String.fromCodePoint(t)}p();f();var Yt=["EOF-token","ident-token","function-token","at-keyword-token","hash-token","string-token","bad-string-token","url-token","bad-url-token","delim-token","number-token","percentage-token","dimension-token","whitespace-token","CDO-token","CDC-token","colon-token","semicolon-token","comma-token","[-token","]-token","(-token",")-token","{-token","}-token"];p();f();p();f();var gb=16*1024;function Ht(e=null,t){return e===null||e.length<t?new Uint32Array(Math.max(t+1024,gb)):e}var pp=10,bb=12,fp=13;function hp(e){let t=e.source,r=t.length,n=t.length>0?Po(t.charCodeAt(0)):0,o=Ht(e.lines,r),i=Ht(e.columns,r),a=e.startLine,l=e.startColumn;for(let u=n;u<r;u++){let s=t.charCodeAt(u);o[u]=a,i[u]=l++,(s===pp||s===fp||s===bb)&&(s===fp&&u+1<r&&t.charCodeAt(u+1)===pp&&(u++,o[u]=a,i[u]=l),a++,l=1)}o[r]=a,i[r]=l,e.lines=o,e.columns=i,e.computed=!0}var ca=class{constructor(){this.lines=null,this.columns=null,this.computed=!1}setSource(t,r=0,n=1,o=1){this.source=t,this.startOffset=r,this.startLine=n,this.startColumn=o,this.computed=!1}getLocation(t,r){return this.computed||hp(this),{source:r,offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]}}getLocationRange(t,r,n){return this.computed||hp(this),{source:n,start:{offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]},end:{offset:this.startOffset+r,line:this.lines[r],column:this.columns[r]}}}};p();f();var Ie=16777215,ht=24,xb=new Map([[I,F],[q,F],[ae,ke],[ee,de]]),_o=class{constructor(t,r){this.setSource(t,r)}reset(){this.eof=!1,this.tokenIndex=-1,this.tokenType=0,this.tokenStart=this.firstCharOffset,this.tokenEnd=this.firstCharOffset}setSource(t="",r=()=>{}){t=String(t||"");let n=t.length,o=Ht(this.offsetAndType,t.length+1),i=Ht(this.balance,t.length+1),a=0,l=0,u=0,s=-1;for(this.offsetAndType=null,this.balance=null,r(t,(c,h,m)=>{switch(c){default:i[a]=n;break;case l:{let x=u&Ie;for(u=i[x],l=u>>ht,i[a]=x,i[x++]=a;x<a;x++)i[x]===n&&(i[x]=a);break}case q:case I:case ae:case ee:i[a]=u,l=xb.get(c),u=l<<ht|a;break}o[a++]=c<<ht|m,s===-1&&(s=h)}),o[a]=Ao<<ht|n,i[a]=n,i[n]=n;u!==0;){let c=u&Ie;u=i[c],i[c]=n}this.source=t,this.firstCharOffset=s===-1?0:s,this.tokenCount=a,this.offsetAndType=o,this.balance=i,this.reset(),this.next()}lookupType(t){return t+=this.tokenIndex,t<this.tokenCount?this.offsetAndType[t]>>ht:Ao}lookupOffset(t){return t+=this.tokenIndex,t<this.tokenCount?this.offsetAndType[t-1]&Ie:this.source.length}lookupValue(t,r){return t+=this.tokenIndex,t<this.tokenCount?nt(this.source,this.offsetAndType[t-1]&Ie,this.offsetAndType[t]&Ie,r):!1}getTokenStart(t){return t===this.tokenIndex?this.tokenStart:t>0?t<this.tokenCount?this.offsetAndType[t-1]&Ie:this.offsetAndType[this.tokenCount]&Ie:this.firstCharOffset}substrToCursor(t){return this.source.substring(t,this.tokenStart)}isBalanceEdge(t){return this.balance[this.tokenIndex]<t}isDelim(t,r){return r?this.lookupType(r)===P&&this.source.charCodeAt(this.lookupOffset(r))===t:this.tokenType===P&&this.source.charCodeAt(this.tokenStart)===t}skip(t){let r=this.tokenIndex+t;r<this.tokenCount?(this.tokenIndex=r,this.tokenStart=this.offsetAndType[r-1]&Ie,r=this.offsetAndType[r],this.tokenType=r>>ht,this.tokenEnd=r&Ie):(this.tokenIndex=this.tokenCount,this.next())}next(){let t=this.tokenIndex+1;t<this.tokenCount?(this.tokenIndex=t,this.tokenStart=this.tokenEnd,t=this.offsetAndType[t],this.tokenType=t>>ht,this.tokenEnd=t&Ie):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=Ao,this.tokenStart=this.tokenEnd=this.source.length)}skipSC(){for(;this.tokenType===_||this.tokenType===V;)this.next()}skipUntilBalanced(t,r){let n=t,o,i;e:for(;n<this.tokenCount;n++){if(o=this.balance[n],o<t)break e;switch(i=n>0?this.offsetAndType[n-1]&Ie:this.firstCharOffset,r(this.source.charCodeAt(i))){case 1:break e;case 2:n++;break e;default:this.balance[o]===n&&(n=o)}}this.skip(n-this.tokenIndex)}forEachToken(t){for(let r=0,n=this.firstCharOffset;r<this.tokenCount;r++){let o=n,i=this.offsetAndType[r],a=i&Ie,l=i>>ht;n=a,t(l,o,a,r)}}dump(){let t=new Array(this.tokenCount);return this.forEachToken((r,n,o,i)=>{t[i]={idx:i,type:Yt[r],chunk:this.source.substring(n,o),balance:this.balance[i]}}),t}};function dt(e,t){function r(h){return h<l?e.charCodeAt(h):0}function n(){if(s=$t(e,s),Wt(r(s),r(s+1),r(s+2))){c=O,s=vn(e,s);return}if(r(s)===37){c=W,s++;return}c=A}function o(){let h=s;if(s=vn(e,s),nt(e,h,s,"url")&&r(s)===40){if(s=wn(e,s+1),r(s)===34||r(s)===39){c=I,s=h+4;return}a();return}if(r(s)===40){c=I,s++;return}c=w}function i(h){for(h||(h=r(s++)),c=he;s<e.length;s++){let m=e.charCodeAt(s);switch(Ro(m)){case h:s++;return;case kn:if(yn(m)){s+=Io(e,s,m),c=Ut;return}break;case 92:if(s===e.length-1)break;let x=r(s+1);yn(x)?s+=Io(e,s+1,x):$e(m,x)&&(s=Ve(e,s)-1);break}}}function a(){for(c=te,s=wn(e,s);s<e.length;s++){let h=e.charCodeAt(s);switch(Ro(h)){case 41:s++;return;case kn:if(s=wn(e,s),r(s)===41||s>=e.length){s<e.length&&s++;return}s=Oo(e,s),c=xe;return;case 34:case 39:case 40:case sa:s=Oo(e,s),c=xe;return;case 92:if($e(h,r(s+1))){s=Ve(e,s)-1;break}s=Oo(e,s),c=xe;return}}}e=String(e||"");let l=e.length,u=Po(r(0)),s=u,c;for(;s<l;){let h=e.charCodeAt(s);switch(Ro(h)){case kn:c=_,s=wn(e,s+1);break;case 34:i();break;case 35:xn(r(s+1))||$e(r(s+1),r(s+2))?(c=N,s=vn(e,s+1)):(c=P,s++);break;case 39:i();break;case 40:c=q,s++;break;case 41:c=F,s++;break;case 43:zo(h,r(s+1),r(s+2))?n():(c=P,s++);break;case 44:c=ye,s++;break;case 45:zo(h,r(s+1),r(s+2))?n():r(s+1)===45&&r(s+2)===62?(c=ce,s=s+3):Wt(h,r(s+1),r(s+2))?o():(c=P,s++);break;case 46:zo(h,r(s+1),r(s+2))?n():(c=P,s++);break;case 47:r(s+1)===42?(c=V,s=e.indexOf("*/",s+2),s=s===-1?e.length:s+2):(c=P,s++);break;case 58:c=J,s++;break;case 59:c=ie,s++;break;case 60:r(s+1)===33&&r(s+2)===45&&r(s+3)===45?(c=tt,s=s+4):(c=P,s++);break;case 64:Wt(r(s+1),r(s+2),r(s+3))?(c=Z,s=vn(e,s+1)):(c=P,s++);break;case 91:c=ae,s++;break;case 92:$e(h,r(s+1))?o():(c=P,s++);break;case 93:c=ke,s++;break;case 123:c=ee,s++;break;case 125:c=de,s++;break;case aa:n();break;case Lo:o();break;default:c=P,s++}t(c,u,u=s)}}p();f();p();f();var Vt=null,G=class{static createItem(t){return{prev:null,next:null,data:t}}constructor(){this.head=null,this.tail=null,this.cursor=null}createItem(t){return G.createItem(t)}allocateCursor(t,r){let n;return Vt!==null?(n=Vt,Vt=Vt.cursor,n.prev=t,n.next=r,n.cursor=this.cursor):n={prev:t,next:r,cursor:this.cursor},this.cursor=n,n}releaseCursor(){let{cursor:t}=this;this.cursor=t.cursor,t.prev=null,t.next=null,t.cursor=Vt,Vt=t}updateCursors(t,r,n,o){let{cursor:i}=this;for(;i!==null;)i.prev===t&&(i.prev=r),i.next===n&&(i.next=o),i=i.cursor}*[Symbol.iterator](){for(let t=this.head;t!==null;t=t.next)yield t.data}get size(){let t=0;for(let r=this.head;r!==null;r=r.next)t++;return t}get isEmpty(){return this.head===null}get first(){return this.head&&this.head.data}get last(){return this.tail&&this.tail.data}fromArray(t){let r=null;this.head=null;for(let n of t){let o=G.createItem(n);r!==null?r.next=o:this.head=o,o.prev=r,r=o}return this.tail=r,this}toArray(){return[...this]}toJSON(){return[...this]}forEach(t,r=this){let n=this.allocateCursor(null,this.head);for(;n.next!==null;){let o=n.next;n.next=o.next,t.call(r,o.data,o,this)}this.releaseCursor()}forEachRight(t,r=this){let n=this.allocateCursor(this.tail,null);for(;n.prev!==null;){let o=n.prev;n.prev=o.prev,t.call(r,o.data,o,this)}this.releaseCursor()}reduce(t,r,n=this){let o=this.allocateCursor(null,this.head),i=r,a;for(;o.next!==null;)a=o.next,o.next=a.next,i=t.call(n,i,a.data,a,this);return this.releaseCursor(),i}reduceRight(t,r,n=this){let o=this.allocateCursor(this.tail,null),i=r,a;for(;o.prev!==null;)a=o.prev,o.prev=a.prev,i=t.call(n,i,a.data,a,this);return this.releaseCursor(),i}some(t,r=this){for(let n=this.head;n!==null;n=n.next)if(t.call(r,n.data,n,this))return!0;return!1}map(t,r=this){let n=new G;for(let o=this.head;o!==null;o=o.next)n.appendData(t.call(r,o.data,o,this));return n}filter(t,r=this){let n=new G;for(let o=this.head;o!==null;o=o.next)t.call(r,o.data,o,this)&&n.appendData(o.data);return n}nextUntil(t,r,n=this){if(t===null)return;let o=this.allocateCursor(null,t);for(;o.next!==null;){let i=o.next;if(o.next=i.next,r.call(n,i.data,i,this))break}this.releaseCursor()}prevUntil(t,r,n=this){if(t===null)return;let o=this.allocateCursor(t,null);for(;o.prev!==null;){let i=o.prev;if(o.prev=i.prev,r.call(n,i.data,i,this))break}this.releaseCursor()}clear(){this.head=null,this.tail=null}copy(){let t=new G;for(let r of this)t.appendData(r);return t}prepend(t){return this.updateCursors(null,t,this.head,t),this.head!==null?(this.head.prev=t,t.next=this.head):this.tail=t,this.head=t,this}prependData(t){return this.prepend(G.createItem(t))}append(t){return this.insert(t)}appendData(t){return this.insert(G.createItem(t))}insert(t,r=null){if(r!==null)if(this.updateCursors(r.prev,t,r,t),r.prev===null){if(this.head!==r)throw new Error("before doesn't belong to list");this.head=t,r.prev=t,t.next=r,this.updateCursors(null,t)}else r.prev.next=t,t.prev=r.prev,r.prev=t,t.next=r;else this.updateCursors(this.tail,t,null,t),this.tail!==null?(this.tail.next=t,t.prev=this.tail):this.head=t,this.tail=t;return this}insertData(t,r){return this.insert(G.createItem(t),r)}remove(t){if(this.updateCursors(t,t.prev,t,t.next),t.prev!==null)t.prev.next=t.next;else{if(this.head!==t)throw new Error("item doesn't belong to list");this.head=t.next}if(t.next!==null)t.next.prev=t.prev;else{if(this.tail!==t)throw new Error("item doesn't belong to list");this.tail=t.prev}return t.prev=null,t.next=null,t}push(t){this.insert(G.createItem(t))}pop(){return this.tail!==null?this.remove(this.tail):null}unshift(t){this.prepend(G.createItem(t))}shift(){return this.head!==null?this.remove(this.head):null}prependList(t){return this.insertList(t,this.head)}appendList(t){return this.insertList(t)}insertList(t,r){return t.head===null?this:(r!=null?(this.updateCursors(r.prev,t.tail,r,t.head),r.prev!==null?(r.prev.next=t.head,t.head.prev=r.prev):this.head=t.head,r.prev=t.tail,t.tail.next=r):(this.updateCursors(this.tail,t.tail,null,t.head),this.tail!==null?(this.tail.next=t.head,t.head.prev=this.tail):this.head=t.head,this.tail=t.tail),t.head=null,t.tail=null,this)}replace(t,r){"head"in r?this.insertList(r,t):this.insert(r,t),this.remove(t)}};p();f();p();f();function Et(e,t){let r=Object.create(SyntaxError.prototype),n=new Error;return Object.assign(r,{name:e,message:t,get stack(){return(n.stack||"").replace(/^(.+\n){1,3}/,`${e}: ${t}
|
|
5
|
+
`)}})}var ua=100,dp=60,mp=" ";function gp({source:e,line:t,column:r},n){function o(c,h){return i.slice(c,h).map((m,x)=>String(c+x+1).padStart(u)+" |"+m).join(`
|
|
6
|
+
`)}let i=e.split(/\r\n?|\n|\f/),a=Math.max(1,t-n)-1,l=Math.min(t+n,i.length+1),u=Math.max(4,String(l).length)+1,s=0;r+=(mp.length-1)*(i[t-1].substr(0,r-1).match(/\t/g)||[]).length,r>ua&&(s=r-dp+3,r=dp-2);for(let c=a;c<=l;c++)c>=0&&c<i.length&&(i[c]=i[c].replace(/\t/g,mp),i[c]=(s>0&&i[c].length>s?"\u2026":"")+i[c].substr(s,ua-2)+(i[c].length>s+ua-1?"\u2026":""));return[o(a,t),new Array(r+u+2).join("-")+"^",o(t,l)].filter(Boolean).join(`
|
|
7
|
+
`)}function pa(e,t,r,n,o){return Object.assign(Et("SyntaxError",e),{source:t,offset:r,line:n,column:o,sourceFragment(a){return gp({source:t,line:n,column:o},isNaN(a)?0:a)},get formattedMessage(){return`Parse error: ${e}
|
|
8
|
+
`+gp({source:t,line:n,column:o},2)}})}p();f();function bp(e){let t=this.createList(),r=!1,n={recognizer:e};for(;!this.eof;){switch(this.tokenType){case V:this.next();continue;case _:r=!0,this.next();continue}let o=e.getNode.call(this,n);if(o===void 0)break;r&&(e.onWhiteSpace&&e.onWhiteSpace.call(this,o,t,n),r=!1),t.push(o)}return r&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,n),t}var xp=()=>{},yb=33,kb=35,fa=59,yp=123,kp=0;function wb(e){return function(){return this[e]()}}function ha(e){let t=Object.create(null);for(let r in e){let n=e[r],o=n.parse||n;o&&(t[r]=o)}return t}function vb(e){let t={context:Object.create(null),scope:Object.assign(Object.create(null),e.scope),atrule:ha(e.atrule),pseudo:ha(e.pseudo),node:ha(e.node)};for(let r in e.parseContext)switch(typeof e.parseContext[r]){case"function":t.context[r]=e.parseContext[r];break;case"string":t.context[r]=wb(e.parseContext[r]);break}return{config:t,...t,...t.node}}function wp(e){let t="",r="<unknown>",n=!1,o=xp,i=!1,a=new ca,l=Object.assign(new _o,vb(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:bp,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket(s){return s===yp?1:0},consumeUntilLeftCurlyBracketOrSemicolon(s){return s===yp||s===fa?1:0},consumeUntilExclamationMarkOrSemicolon(s){return s===yb||s===fa?1:0},consumeUntilSemicolonIncluded(s){return s===fa?2:0},createList(){return new G},createSingleNodeList(s){return new G().appendData(s)},getFirstListNode(s){return s&&s.first},getLastListNode(s){return s&&s.last},parseWithFallback(s,c){let h=this.tokenIndex;try{return s.call(this)}catch(m){if(i)throw m;let x=c.call(this,h);return i=!0,o(m,x),i=!1,x}},lookupNonWSType(s){let c;do if(c=this.lookupType(s++),c!==_)return c;while(c!==kp);return kp},charCodeAt(s){return s>=0&&s<t.length?t.charCodeAt(s):0},substring(s,c){return t.substring(s,c)},substrToCursor(s){return this.source.substring(s,this.tokenStart)},cmpChar(s,c){return rt(t,s,c)},cmpStr(s,c,h){return nt(t,s,c,h)},consume(s){let c=this.tokenStart;return this.eat(s),this.substrToCursor(c)},consumeFunctionName(){let s=t.substring(this.tokenStart,this.tokenEnd-1);return this.eat(I),s},consumeNumber(s){let c=t.substring(this.tokenStart,$t(t,this.tokenStart));return this.eat(s),c},eat(s){if(this.tokenType!==s){let c=Yt[s].slice(0,-6).replace(/-/g," ").replace(/^./,x=>x.toUpperCase()),h=`${/[[\](){}]/.test(c)?`"${c}"`:c} is expected`,m=this.tokenStart;switch(s){case w:this.tokenType===I||this.tokenType===te?(m=this.tokenEnd-1,h="Identifier is expected but function found"):h="Identifier is expected";break;case N:this.isDelim(kb)&&(this.next(),m++,h="Name is expected");break;case W:this.tokenType===A&&(m=this.tokenEnd,h="Percent sign is expected");break}this.error(h,m)}this.next()},eatIdent(s){(this.tokenType!==w||this.lookupValue(0,s)===!1)&&this.error(`Identifier "${s}" is expected`),this.next()},eatDelim(s){this.isDelim(s)||this.error(`Delim "${String.fromCharCode(s)}" is expected`),this.next()},getLocation(s,c){return n?a.getLocationRange(s,c,r):null},getLocationFromList(s){if(n){let c=this.getFirstListNode(s),h=this.getLastListNode(s);return a.getLocationRange(c!==null?c.loc.start.offset-a.startOffset:this.tokenStart,h!==null?h.loc.end.offset-a.startOffset:this.tokenStart,r)}return null},error(s,c){let h=typeof c!="undefined"&&c<t.length?a.getLocation(c):this.eof?a.getLocation(up(t,t.length-1)):a.getLocation(this.tokenStart);throw new pa(s||"Unexpected input",t,h.offset,h.line,h.column)}});return Object.assign(function(s,c){t=s,c=c||{},l.setSource(t,dt),a.setSource(t,c.offset,c.line,c.column),r=c.filename||"<unknown>",n=Boolean(c.positions),o=typeof c.onParseError=="function"?c.onParseError:xp,i=!1,l.parseAtrulePrelude="parseAtrulePrelude"in c?Boolean(c.parseAtrulePrelude):!0,l.parseRulePrelude="parseRulePrelude"in c?Boolean(c.parseRulePrelude):!0,l.parseValue="parseValue"in c?Boolean(c.parseValue):!0,l.parseCustomProperty="parseCustomProperty"in c?Boolean(c.parseCustomProperty):!1;let{context:h="default",onComment:m}=c;if(!(h in l.context))throw new Error("Unknown context `"+h+"`");typeof m=="function"&&l.forEachToken((k,S,C)=>{if(k===V){let $=l.getLocation(S,C),v=nt(t,C-2,C,"*/")?t.slice(S+2,C-2):t.slice(S+2,C);m(v,$)}});let x=l.context[h].call(l,c);return l.eof||l.error(),x},{SyntaxError:pa,config:l.config})}p();f();p();f();var Bp=qh(Np()),Up=new Set(["Atrule","Selector","Declaration"]);function Wp(e){let t=new Bp.SourceMapGenerator,r={line:1,column:0},n={line:0,column:0},o={line:1,column:0},i={generated:o},a=1,l=0,u=!1,s=e.node;e.node=function(m){if(m.loc&&m.loc.start&&Up.has(m.type)){let x=m.loc.start.line,k=m.loc.start.column-1;(n.line!==x||n.column!==k)&&(n.line=x,n.column=k,r.line=a,r.column=l,u&&(u=!1,(r.line!==o.line||r.column!==o.column)&&t.addMapping(i)),u=!0,t.addMapping({source:m.loc.source,original:n,generated:r}))}s.call(this,m),u&&Up.has(m.type)&&(o.line=a,o.column=l)};let c=e.emit;e.emit=function(m,x,k){for(let S=0;S<m.length;S++)m.charCodeAt(S)===10?(a++,l=0):l++;c(m,x,k)};let h=e.result;return e.result=function(){return u&&t.addMapping(i),{css:h(),map:t}},e}var No={};R(No,{safe:()=>Hp,spec:()=>qb});p();f();var Bb=43,Ub=45,ka=(e,t)=>{if(e===P&&(e=t),typeof e=="string"){let r=e.charCodeAt(0);return r>127?32768:r<<8}return e},qp=[[w,w],[w,I],[w,te],[w,xe],[w,"-"],[w,A],[w,W],[w,O],[w,ce],[w,q],[Z,w],[Z,I],[Z,te],[Z,xe],[Z,"-"],[Z,A],[Z,W],[Z,O],[Z,ce],[N,w],[N,I],[N,te],[N,xe],[N,"-"],[N,A],[N,W],[N,O],[N,ce],[O,w],[O,I],[O,te],[O,xe],[O,"-"],[O,A],[O,W],[O,O],[O,ce],["#",w],["#",I],["#",te],["#",xe],["#","-"],["#",A],["#",W],["#",O],["#",ce],["-",w],["-",I],["-",te],["-",xe],["-","-"],["-",A],["-",W],["-",O],["-",ce],[A,w],[A,I],[A,te],[A,xe],[A,A],[A,W],[A,O],[A,"%"],[A,ce],["@",w],["@",I],["@",te],["@",xe],["@","-"],["@",ce],[".",A],[".",W],[".",O],["+",A],["+",W],["+",O],["/","*"]],Wb=qp.concat([[w,N],[O,N],[N,N],[Z,q],[Z,he],[Z,J],[W,W],[W,O],[W,I],[W,"-"],[F,w],[F,I],[F,W],[F,O],[F,N],[F,"-"]]);function Yp(e){let t=new Set(e.map(([r,n])=>ka(r)<<16|ka(n)));return function(r,n,o){let i=ka(n,o),a=o.charCodeAt(0);return(a===Ub&&n!==w&&n!==I&&n!==ce||a===Bb?t.has(r<<16|a<<8):t.has(r<<16|i))&&this.emit(" ",_,!0),i}}var qb=Yp(qp),Hp=Yp(Wb);var Yb=92;function Hb(e,t){if(typeof t=="function"){let r=null;e.children.forEach(n=>{r!==null&&t.call(this,r),this.node(n),r=n});return}e.children.forEach(this.node,this)}function Vb(e){dt(e,(t,r,n)=>{this.token(t,e.slice(r,n))})}function Vp(e){let t=new Map;for(let r in e.node){let n=e.node[r];typeof(n.generate||n)=="function"&&t.set(r,n.generate||n)}return function(r,n){let o="",i=0,a={node(u){if(t.has(u.type))t.get(u.type).call(l,u);else throw new Error("Unknown node type: "+u.type)},tokenBefore:Hp,token(u,s){i=this.tokenBefore(i,u,s),this.emit(s,u,!1),u===P&&s.charCodeAt(0)===Yb&&this.emit(`
|
|
9
|
+
`,_,!0)},emit(u){o+=u},result(){return o}};n&&(typeof n.decorator=="function"&&(a=n.decorator(a)),n.sourceMap&&(a=Wp(a)),n.mode in No&&(a.tokenBefore=No[n.mode]));let l={node:u=>a.node(u),children:Hb,token:(u,s)=>a.token(u,s),tokenize:Vb};return a.node(r),a.result()}}p();f();function Gp(e){return{fromPlainObject(t){return e(t,{enter(r){r.children&&!(r.children instanceof G)&&(r.children=new G().fromArray(r.children))}}),t},toPlainObject(t){return e(t,{leave(r){r.children&&r.children instanceof G&&(r.children=r.children.toArray())}}),t}}}p();f();var{hasOwnProperty:wa}=Object.prototype,En=function(){};function Kp(e){return typeof e=="function"?e:En}function Xp(e,t){return function(r,n,o){r.type===t&&e.call(this,r,n,o)}}function Gb(e,t){let r=t.structure,n=[];for(let o in r){if(wa.call(r,o)===!1)continue;let i=r[o],a={name:o,type:!1,nullable:!1};Array.isArray(i)||(i=[i]);for(let l of i)l===null?a.nullable=!0:typeof l=="string"?a.type="node":Array.isArray(l)&&(a.type="list");a.type&&n.push(a)}return n.length?{context:t.walkContext,fields:n}:null}function Kb(e){let t={};for(let r in e.node)if(wa.call(e.node,r)){let n=e.node[r];if(!n.structure)throw new Error("Missed `structure` field in `"+r+"` node type definition");t[r]=Gb(r,n)}return t}function Qp(e,t){let r=e.fields.slice(),n=e.context,o=typeof n=="string";return t&&r.reverse(),function(i,a,l,u){let s;o&&(s=a[n],a[n]=i);for(let c of r){let h=i[c.name];if(!c.nullable||h){if(c.type==="list"){if(t?h.reduceRight(u,!1):h.reduce(u,!1))return!0}else if(l(h))return!0}}o&&(a[n]=s)}}function Zp({StyleSheet:e,Atrule:t,Rule:r,Block:n,DeclarationList:o}){return{Atrule:{StyleSheet:e,Atrule:t,Rule:r,Block:n},Rule:{StyleSheet:e,Atrule:t,Rule:r,Block:n},Declaration:{StyleSheet:e,Atrule:t,Rule:r,Block:n,DeclarationList:o}}}function Jp(e){let t=Kb(e),r={},n={},o=Symbol("break-walk"),i=Symbol("skip-node");for(let s in t)wa.call(t,s)&&t[s]!==null&&(r[s]=Qp(t[s],!1),n[s]=Qp(t[s],!0));let a=Zp(r),l=Zp(n),u=function(s,c){function h($,v,j){let E=m.call(C,$,v,j);return E===o?!0:E===i?!1:!!(k.hasOwnProperty($.type)&&k[$.type]($,C,h,S)||x.call(C,$,v,j)===o)}let m=En,x=En,k=r,S=($,v,j,E)=>$||h(v,j,E),C={break:o,skip:i,root:s,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if(typeof c=="function")m=c;else if(c&&(m=Kp(c.enter),x=Kp(c.leave),c.reverse&&(k=n),c.visit)){if(a.hasOwnProperty(c.visit))k=c.reverse?l[c.visit]:a[c.visit];else if(!t.hasOwnProperty(c.visit))throw new Error("Bad value `"+c.visit+"` for `visit` option (should be: "+Object.keys(t).sort().join(", ")+")");m=Xp(m,c.visit),x=Xp(x,c.visit)}if(m===En&&x===En)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");h(s)};return u.break=o,u.skip=i,u.find=function(s,c){let h=null;return u(s,function(m,x,k){if(c.call(this,m,x,k))return h=m,o}),h},u.findLast=function(s,c){let h=null;return u(s,{reverse:!0,enter(m,x,k){if(c.call(this,m,x,k))return h=m,o}}),h},u.findAll=function(s,c){let h=[];return u(s,function(m,x,k){c.call(this,m,x,k)&&h.push(m)}),h},u}p();f();p();f();p();f();function Xb(e){return e}function Qb(e){let{min:t,max:r,comma:n}=e;return t===0&&r===0?n?"#?":"*":t===0&&r===1?"?":t===1&&r===0?n?"#":"+":t===1&&r===1?"":(n?"#":"")+(t===r?"{"+t+"}":"{"+t+","+(r!==0?r:"")+"}")}function Zb(e){switch(e.type){case"Range":return" ["+(e.min===null?"-\u221E":e.min)+","+(e.max===null?"\u221E":e.max)+"]";default:throw new Error("Unknown node type `"+e.type+"`")}}function Jb(e,t,r,n){let o=e.combinator===" "||n?e.combinator:" "+e.combinator+" ",i=e.terms.map(a=>va(a,t,r,n)).join(o);return e.explicit||r?(n||i[0]===","?"[":"[ ")+i+(n?"]":" ]"):i}function va(e,t,r,n){let o;switch(e.type){case"Group":o=Jb(e,t,r,n)+(e.disallowEmpty?"!":"");break;case"Multiplier":return va(e.term,t,r,n)+t(Qb(e),e);case"Type":o="<"+e.name+(e.opts?t(Zb(e.opts),e.opts):"")+">";break;case"Property":o="<'"+e.name+"'>";break;case"Keyword":o=e.name;break;case"AtKeyword":o="@"+e.name;break;case"Function":o=e.name+"(";break;case"String":case"Token":o=e.value;break;case"Comma":o=",";break;default:throw new Error("Unknown node type `"+e.type+"`")}return t(o,e)}function Kt(e,t){let r=Xb,n=!1,o=!1;return typeof t=="function"?r=t:t&&(n=Boolean(t.forceBraces),o=Boolean(t.compact),typeof t.decorate=="function"&&(r=t.decorate)),va(e,r,n,o)}var ef={offset:0,line:1,column:1};function ex(e,t){let r=e.tokens,n=e.longestMatch,o=n<r.length&&r[n].node||null,i=o!==t?o:null,a=0,l=0,u=0,s="",c,h;for(let m=0;m<r.length;m++){let x=r[m].value;m===n&&(l=x.length,a=s.length),i!==null&&r[m].node===i&&(m<=n?u++:u=0),s+=x}return n===r.length||u>1?(c=Bo(i||t,"end")||An(ef,s),h=An(c)):(c=Bo(i,"start")||An(Bo(t,"start")||ef,s.slice(0,a)),h=Bo(i,"end")||An(c,s.substr(a,l))),{css:s,mismatchOffset:a,mismatchLength:l,start:c,end:h}}function Bo(e,t){let r=e&&e.loc&&e.loc[t];return r?"line"in r?An(r):r:null}function An({offset:e,line:t,column:r},n){let o={offset:e,line:t,column:r};if(n){let i=n.split(/\n|\r\n?|\f/);o.offset+=n.length,o.line+=i.length-1,o.column=i.length===1?o.column+n.length:i.pop().length+1}return o}var Xt=function(e,t){let r=Et("SyntaxReferenceError",e+(t?" `"+t+"`":""));return r.reference=t,r},tf=function(e,t,r,n){let o=Et("SyntaxMatchError",e),{css:i,mismatchOffset:a,mismatchLength:l,start:u,end:s}=ex(n,r);return o.rawMessage=e,o.syntax=t?Kt(t):"<generic>",o.css=i,o.mismatchOffset=a,o.mismatchLength=l,o.message=e+`
|
|
10
|
+
syntax: `+o.syntax+`
|
|
11
|
+
value: `+(i||"<empty string>")+`
|
|
12
|
+
--------`+new Array(o.mismatchOffset+1).join("-")+"^",Object.assign(o,u),o.loc={source:r&&r.loc&&r.loc.source||"<unknown>",start:u,end:s},o};p();f();var Uo=new Map,Qt=new Map,Wo=45,qo=tx,Sa=rx;function Yo(e,t){return t=t||0,e.length-t>=2&&e.charCodeAt(t)===Wo&&e.charCodeAt(t+1)===Wo}function rf(e,t){if(t=t||0,e.length-t>=3&&e.charCodeAt(t)===Wo&&e.charCodeAt(t+1)!==Wo){let r=e.indexOf("-",t+2);if(r!==-1)return e.substring(t,r+1)}return""}function tx(e){if(Uo.has(e))return Uo.get(e);let t=e.toLowerCase(),r=Uo.get(t);if(r===void 0){let n=Yo(t,0),o=n?"":rf(t,0);r=Object.freeze({basename:t.substr(o.length),name:t,prefix:o,vendor:o,custom:n})}return Uo.set(e,r),r}function rx(e){if(Qt.has(e))return Qt.get(e);let t=e,r=e[0];r==="/"?r=e[1]==="/"?"//":"/":r!=="_"&&r!=="*"&&r!=="$"&&r!=="#"&&r!=="+"&&r!=="&"&&(r="");let n=Yo(t,r.length);if(!n&&(t=t.toLowerCase(),Qt.has(t))){let l=Qt.get(t);return Qt.set(e,l),l}let o=n?"":rf(t,r.length),i=t.substr(0,r.length+o.length),a=Object.freeze({basename:t.substr(i.length),name:t.substr(r.length),hack:r,vendor:o,prefix:i,custom:n});return Qt.set(e,a),a}p();f();var Ho=["initial","inherit","unset","revert","revert-layer"];p();f();p();f();var Tn=43,Ge=45,Ca=110,Zt=!0,nx=!1;function $a(e,t){return e!==null&&e.type===P&&e.value.charCodeAt(0)===t}function jn(e,t,r){for(;e!==null&&(e.type===_||e.type===V);)e=r(++t);return t}function mt(e,t,r,n){if(!e)return 0;let o=e.value.charCodeAt(t);if(o===Tn||o===Ge){if(r)return 0;t++}for(;t<e.value.length;t++)if(!re(e.value.charCodeAt(t)))return 0;return n+1}function Ea(e,t,r){let n=!1,o=jn(e,t,r);if(e=r(o),e===null)return t;if(e.type!==A)if($a(e,Tn)||$a(e,Ge)){if(n=!0,o=jn(r(++o),o,r),e=r(o),e===null||e.type!==A)return 0}else return t;if(!n){let i=e.value.charCodeAt(0);if(i!==Tn&&i!==Ge)return 0}return mt(e,n?0:1,n,o)}function Aa(e,t){let r=0;if(!e)return 0;if(e.type===A)return mt(e,0,nx,r);if(e.type===w&&e.value.charCodeAt(0)===Ge){if(!rt(e.value,1,Ca))return 0;switch(e.value.length){case 2:return Ea(t(++r),r,t);case 3:return e.value.charCodeAt(2)!==Ge?0:(r=jn(t(++r),r,t),e=t(r),mt(e,0,Zt,r));default:return e.value.charCodeAt(2)!==Ge?0:mt(e,3,Zt,r)}}else if(e.type===w||$a(e,Tn)&&t(r+1).type===w){if(e.type!==w&&(e=t(++r)),e===null||!rt(e.value,0,Ca))return 0;switch(e.value.length){case 1:return Ea(t(++r),r,t);case 2:return e.value.charCodeAt(1)!==Ge?0:(r=jn(t(++r),r,t),e=t(r),mt(e,0,Zt,r));default:return e.value.charCodeAt(1)!==Ge?0:mt(e,2,Zt,r)}}else if(e.type===O){let n=e.value.charCodeAt(0),o=n===Tn||n===Ge?1:0,i=o;for(;i<e.value.length&&re(e.value.charCodeAt(i));i++);return i===o||!rt(e.value,i,Ca)?0:i+1===e.value.length?Ea(t(++r),r,t):e.value.charCodeAt(i+1)!==Ge?0:i+2===e.value.length?(r=jn(t(++r),r,t),e=t(r),mt(e,0,Zt,r)):mt(e,i+2,Zt,r)}return 0}p();f();var ox=43,nf=45,of=63,ix=117;function Ta(e,t){return e!==null&&e.type===P&&e.value.charCodeAt(0)===t}function ax(e,t){return e.value.charCodeAt(0)===t}function zn(e,t,r){let n=0;for(let o=t;o<e.value.length;o++){let i=e.value.charCodeAt(o);if(i===nf&&r&&n!==0)return zn(e,t+n+1,!1),6;if(!Te(i)||++n>6)return 0}return n}function Vo(e,t,r){if(!e)return 0;for(;Ta(r(t),of);){if(++e>6)return 0;t++}return t}function ja(e,t){let r=0;if(e===null||e.type!==w||!rt(e.value,0,ix)||(e=t(++r),e===null))return 0;if(Ta(e,ox))return e=t(++r),e===null?0:e.type===w?Vo(zn(e,0,!0),++r,t):Ta(e,of)?Vo(1,++r,t):0;if(e.type===A){let n=zn(e,1,!0);return n===0?0:(e=t(++r),e===null?r:e.type===O||e.type===A?!ax(e,nf)||!zn(e,1,!1)?0:r+1:Vo(n,r,t))}return e.type===O?Vo(zn(e,1,!0),++r,t):0}var sx=["calc(","-moz-calc(","-webkit-calc("],za=new Map([[I,F],[q,F],[ae,ke],[ee,de]]),lx=["cm","mm","q","in","pt","pc","px","em","rem","ex","rex","cap","rcap","ch","rch","ic","ric","lh","rlh","vw","svw","lvw","dvw","vh","svh","lvh","dvh","vi","svi","lvi","dvi","vb","svb","lvb","dvb","vmin","svmin","lvmin","dvmin","vmax","svmax","lvmax","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"],cx=["deg","grad","rad","turn"],ux=["s","ms"],px=["hz","khz"],fx=["dpi","dpcm","dppx","x"],hx=["fr"],dx=["db"],mx=["st"];function De(e,t){return t<e.length?e.charCodeAt(t):0}function af(e,t){return nt(e,0,e.length,t)}function sf(e,t){for(let r=0;r<t.length;r++)if(af(e,t[r]))return!0;return!1}function lf(e,t){return t!==e.length-2?!1:De(e,t)===92&&re(De(e,t+1))}function Go(e,t,r){if(e&&e.type==="Range"){let n=Number(r!==void 0&&r!==t.length?t.substr(0,r):t);if(isNaN(n)||e.min!==null&&n<e.min&&typeof e.min!="string"||e.max!==null&&n>e.max&&typeof e.max!="string")return!0}return!1}function gx(e,t){let r=0,n=[],o=0;e:do{switch(e.type){case de:case F:case ke:if(e.type!==r)break e;if(r=n.pop(),n.length===0){o++;break e}break;case I:case q:case ae:case ee:n.push(r),r=za.get(e.type);break}o++}while(e=t(o));return o}function _e(e){return function(t,r,n){return t===null?0:t.type===I&&sf(t.value,sx)?gx(t,r):e(t,r,n)}}function K(e){return function(t){return t===null||t.type!==e?0:1}}function bx(e){if(e===null||e.type!==w)return 0;let t=e.value.toLowerCase();return sf(t,Ho)||af(t,"default")?0:1}function xx(e){return e===null||e.type!==w||De(e.value,0)!==45||De(e.value,1)!==45?0:1}function yx(e){if(e===null||e.type!==N)return 0;let t=e.value.length;if(t!==4&&t!==5&&t!==7&&t!==9)return 0;for(let r=1;r<t;r++)if(!Te(De(e.value,r)))return 0;return 1}function kx(e){return e===null||e.type!==N||!Wt(De(e.value,1),De(e.value,2),De(e.value,3))?0:1}function wx(e,t){if(!e)return 0;let r=0,n=[],o=0;e:do{switch(e.type){case Ut:case xe:break e;case de:case F:case ke:if(e.type!==r)break e;r=n.pop();break;case ie:if(r===0)break e;break;case P:if(r===0&&e.value==="!")break e;break;case I:case q:case ae:case ee:n.push(r),r=za.get(e.type);break}o++}while(e=t(o));return o}function vx(e,t){if(!e)return 0;let r=0,n=[],o=0;e:do{switch(e.type){case Ut:case xe:break e;case de:case F:case ke:if(e.type!==r)break e;r=n.pop();break;case I:case q:case ae:case ee:n.push(r),r=za.get(e.type);break}o++}while(e=t(o));return o}function at(e){return e&&(e=new Set(e)),function(t,r,n){if(t===null||t.type!==O)return 0;let o=$t(t.value,0);if(e!==null){let i=t.value.indexOf("\\",o),a=i===-1||!lf(t.value,i)?t.value.substr(o):t.value.substring(o,i);if(e.has(a.toLowerCase())===!1)return 0}return Go(n,t.value,o)?0:1}}function Sx(e,t,r){return e===null||e.type!==W||Go(r,e.value,e.value.length-1)?0:1}function cf(e){return typeof e!="function"&&(e=function(){return 0}),function(t,r,n){return t!==null&&t.type===A&&Number(t.value)===0?1:e(t,r,n)}}function Cx(e,t,r){if(e===null)return 0;let n=$t(e.value,0);return!(n===e.value.length)&&!lf(e.value,n)||Go(r,e.value,n)?0:1}function $x(e,t,r){if(e===null||e.type!==A)return 0;let n=De(e.value,0)===43||De(e.value,0)===45?1:0;for(;n<e.value.length;n++)if(!re(De(e.value,n)))return 0;return Go(r,e.value,n)?0:1}var Pa={"ident-token":K(w),"function-token":K(I),"at-keyword-token":K(Z),"hash-token":K(N),"string-token":K(he),"bad-string-token":K(Ut),"url-token":K(te),"bad-url-token":K(xe),"delim-token":K(P),"number-token":K(A),"percentage-token":K(W),"dimension-token":K(O),"whitespace-token":K(_),"CDO-token":K(tt),"CDC-token":K(ce),"colon-token":K(J),"semicolon-token":K(ie),"comma-token":K(ye),"[-token":K(ae),"]-token":K(ke),"(-token":K(q),")-token":K(F),"{-token":K(ee),"}-token":K(de),string:K(he),ident:K(w),"custom-ident":bx,"custom-property-name":xx,"hex-color":yx,"id-selector":kx,"an-plus-b":Aa,urange:ja,"declaration-value":wx,"any-value":vx,dimension:_e(at(null)),angle:_e(at(cx)),decibel:_e(at(dx)),frequency:_e(at(px)),flex:_e(at(hx)),length:_e(cf(at(lx))),resolution:_e(at(fx)),semitones:_e(at(mx)),time:_e(at(ux)),percentage:_e(Sx),zero:cf(),number:_e(Cx),integer:_e($x)};p();f();p();f();function La(e,t,r){return Object.assign(Et("SyntaxError",e),{input:t,offset:r,rawMessage:e,message:e+`
|
|
13
|
+
`+t+`
|
|
14
|
+
--`+new Array((r||t.length)+1).join("-")+"^"})}p();f();p();f();var Ex=9,Ax=10,Tx=12,jx=13,zx=32,Ra=class{constructor(t){this.str=t,this.pos=0}charCodeAt(t){return t<this.str.length?this.str.charCodeAt(t):0}charCode(){return this.charCodeAt(this.pos)}nextCharCode(){return this.charCodeAt(this.pos+1)}nextNonWsCode(t){return this.charCodeAt(this.findWsEnd(t))}findWsEnd(t){for(;t<this.str.length;t++){let r=this.str.charCodeAt(t);if(r!==jx&&r!==Ax&&r!==Tx&&r!==zx&&r!==Ex)break}return t}substringToPos(t){return this.str.substring(this.pos,this.pos=t)}eat(t){this.charCode()!==t&&this.error("Expect `"+String.fromCharCode(t)+"`"),this.pos++}peek(){return this.pos<this.str.length?this.str.charAt(this.pos++):""}error(t){throw new La(t,this.str,this.pos)}};var Px=9,Lx=10,Rx=12,Ix=13,Ox=32,uf=33,Ia=35,pf=38,Ko=39,ff=40,_x=41,hf=42,Oa=43,_a=44,df=45,Ma=60,mf=62,Da=63,Mx=64,Xo=91,Fa=93,Qo=123,gf=124,bf=125,xf=8734,Pn=new Uint8Array(128).map((e,t)=>/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0),yf={" ":1,"&&":2,"||":3,"|":4};function Zo(e){return e.substringToPos(e.findWsEnd(e.pos))}function Jt(e){let t=e.pos;for(;t<e.str.length;t++){let r=e.str.charCodeAt(t);if(r>=128||Pn[r]===0)break}return e.pos===t&&e.error("Expect a keyword"),e.substringToPos(t)}function Jo(e){let t=e.pos;for(;t<e.str.length;t++){let r=e.str.charCodeAt(t);if(r<48||r>57)break}return e.pos===t&&e.error("Expect a number"),e.substringToPos(t)}function Dx(e){let t=e.str.indexOf("'",e.pos+1);return t===-1&&(e.pos=e.str.length,e.error("Expect an apostrophe")),e.substringToPos(t+1)}function kf(e){let t=null,r=null;return e.eat(Qo),t=Jo(e),e.charCode()===_a?(e.pos++,e.charCode()!==bf&&(r=Jo(e))):r=t,e.eat(bf),{min:Number(t),max:r?Number(r):0}}function Fx(e){let t=null,r=!1;switch(e.charCode()){case hf:e.pos++,t={min:0,max:0};break;case Oa:e.pos++,t={min:1,max:0};break;case Da:e.pos++,t={min:0,max:1};break;case Ia:e.pos++,r=!0,e.charCode()===Qo?t=kf(e):e.charCode()===Da?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case Qo:t=kf(e);break;default:return null}return{type:"Multiplier",comma:r,min:t.min,max:t.max,term:null}}function er(e,t){let r=Fx(e);return r!==null?(r.term=t,e.charCode()===Ia&&e.charCodeAt(e.pos-1)===Oa?er(e,r):r):t}function Na(e){let t=e.peek();return t===""?null:{type:"Token",value:t}}function Nx(e){let t;return e.eat(Ma),e.eat(Ko),t=Jt(e),e.eat(Ko),e.eat(mf),er(e,{type:"Property",name:t})}function Bx(e){let t=null,r=null,n=1;return e.eat(Xo),e.charCode()===df&&(e.peek(),n=-1),n==-1&&e.charCode()===xf?e.peek():(t=n*Number(Jo(e)),Pn[e.charCode()]!==0&&(t+=Jt(e))),Zo(e),e.eat(_a),Zo(e),e.charCode()===xf?e.peek():(n=1,e.charCode()===df&&(e.peek(),n=-1),r=n*Number(Jo(e)),Pn[e.charCode()]!==0&&(r+=Jt(e))),e.eat(Fa),{type:"Range",min:t,max:r}}function Ux(e){let t,r=null;return e.eat(Ma),t=Jt(e),e.charCode()===ff&&e.nextCharCode()===_x&&(e.pos+=2,t+="()"),e.charCodeAt(e.findWsEnd(e.pos))===Xo&&(Zo(e),r=Bx(e)),e.eat(mf),er(e,{type:"Type",name:t,opts:r})}function Wx(e){let t=Jt(e);return e.charCode()===ff?(e.pos++,{type:"Function",name:t}):er(e,{type:"Keyword",name:t})}function qx(e,t){function r(o,i){return{type:"Group",terms:o,combinator:i,disallowEmpty:!1,explicit:!1}}let n;for(t=Object.keys(t).sort((o,i)=>yf[o]-yf[i]);t.length>0;){n=t.shift();let o=0,i=0;for(;o<e.length;o++){let a=e[o];a.type==="Combinator"&&(a.value===n?(i===-1&&(i=o-1),e.splice(o,1),o--):(i!==-1&&o-i>1&&(e.splice(i,o-i,r(e.slice(i,o),n)),o=i+1),i=-1))}i!==-1&&t.length&&e.splice(i,o-i,r(e.slice(i,o),n))}return n}function wf(e){let t=[],r={},n,o=null,i=e.pos;for(;n=Yx(e);)n.type!=="Spaces"&&(n.type==="Combinator"?((o===null||o.type==="Combinator")&&(e.pos=i,e.error("Unexpected combinator")),r[n.value]=!0):o!==null&&o.type!=="Combinator"&&(r[" "]=!0,t.push({type:"Combinator",value:" "})),t.push(n),o=n,i=e.pos);return o!==null&&o.type==="Combinator"&&(e.pos-=i,e.error("Unexpected combinator")),{type:"Group",terms:t,combinator:qx(t,r)||" ",disallowEmpty:!1,explicit:!1}}function Hx(e){let t;return e.eat(Xo),t=wf(e),e.eat(Fa),t.explicit=!0,e.charCode()===uf&&(e.pos++,t.disallowEmpty=!0),t}function Yx(e){let t=e.charCode();if(t<128&&Pn[t]===1)return Wx(e);switch(t){case Fa:break;case Xo:return er(e,Hx(e));case Ma:return e.nextCharCode()===Ko?Nx(e):Ux(e);case gf:return{type:"Combinator",value:e.substringToPos(e.pos+(e.nextCharCode()===gf?2:1))};case pf:return e.pos++,e.eat(pf),{type:"Combinator",value:"&&"};case _a:return e.pos++,{type:"Comma"};case Ko:return er(e,{type:"String",value:Dx(e)});case Ox:case Px:case Lx:case Ix:case Rx:return{type:"Spaces",value:Zo(e)};case Mx:return t=e.nextCharCode(),t<128&&Pn[t]===1?(e.pos++,{type:"AtKeyword",name:Jt(e)}):Na(e);case hf:case Oa:case Da:case Ia:case uf:break;case Qo:if(t=e.nextCharCode(),t<48||t>57)return Na(e);break;default:return Na(e)}}function Ln(e){let t=new Ra(e),r=wf(t);return t.pos!==e.length&&t.error("Unexpected input"),r.terms.length===1&&r.terms[0].type==="Group"?r.terms[0]:r}p();f();var Rn=function(){};function vf(e){return typeof e=="function"?e:Rn}function Ba(e,t,r){function n(a){switch(o.call(r,a),a.type){case"Group":a.terms.forEach(n);break;case"Multiplier":n(a.term);break;case"Type":case"Property":case"Keyword":case"AtKeyword":case"Function":case"String":case"Token":case"Comma":break;default:throw new Error("Unknown type: "+a.type)}i.call(r,a)}let o=Rn,i=Rn;if(typeof t=="function"?o=t:t&&(o=vf(t.enter),i=vf(t.leave)),o===Rn&&i===Rn)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");n(e,r)}p();f();var Gx={decorator(e){let t=[],r=null;return{...e,node(n){let o=r;r=n,e.node.call(this,n),r=o},emit(n,o,i){t.push({type:o,value:n,node:i?null:r})},result(){return t}}}};function Kx(e){let t=[];return dt(e,(r,n,o)=>t.push({type:r,value:e.slice(n,o),node:null})),t}function Sf(e,t){return typeof e=="string"?Kx(e):t.generate(e,Gx)}p();f();var B={type:"Match"},H={type:"Mismatch"},ei={type:"DisallowEmpty"},Xx=40,Qx=41;function Se(e,t,r){return t===B&&r===H||e===B&&t===B&&r===B?e:(e.type==="If"&&e.else===H&&t===B&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:r})}function Cf(e){return e.length>2&&e.charCodeAt(e.length-2)===Xx&&e.charCodeAt(e.length-1)===Qx}function $f(e){return e.type==="Keyword"||e.type==="AtKeyword"||e.type==="Function"||e.type==="Type"&&Cf(e.name)}function Ua(e,t,r){switch(e){case" ":{let n=B;for(let o=t.length-1;o>=0;o--){let i=t[o];n=Se(i,n,H)}return n}case"|":{let n=H,o=null;for(let i=t.length-1;i>=0;i--){let a=t[i];if($f(a)&&(o===null&&i>0&&$f(t[i-1])&&(o=Object.create(null),n=Se({type:"Enum",map:o},B,n)),o!==null)){let l=(Cf(a.name)?a.name.slice(0,-1):a.name).toLowerCase();if(!(l in o)){o[l]=a;continue}}o=null,n=Se(a,B,n)}return n}case"&&":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};let n=H;for(let o=t.length-1;o>=0;o--){let i=t[o],a;t.length>1?a=Ua(e,t.filter(function(l){return l!==i}),!1):a=B,n=Se(i,a,n)}return n}case"||":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};let n=r?B:H;for(let o=t.length-1;o>=0;o--){let i=t[o],a;t.length>1?a=Ua(e,t.filter(function(l){return l!==i}),!0):a=B,n=Se(i,a,n)}return n}}}function Zx(e){let t=B,r=Wa(e.term);if(e.max===0)r=Se(r,ei,H),t=Se(r,null,H),t.then=Se(B,B,t),e.comma&&(t.then.else=Se({type:"Comma",syntax:e},t,H));else for(let n=e.min||1;n<=e.max;n++)e.comma&&t!==B&&(t=Se({type:"Comma",syntax:e},t,H)),t=Se(r,Se(B,B,t),H);if(e.min===0)t=Se(B,B,t);else for(let n=0;n<e.min-1;n++)e.comma&&t!==B&&(t=Se({type:"Comma",syntax:e},t,H)),t=Se(r,t,H);return t}function Wa(e){if(typeof e=="function")return{type:"Generic",fn:e};switch(e.type){case"Group":{let t=Ua(e.combinator,e.terms.map(Wa),!1);return e.disallowEmpty&&(t=Se(t,ei,H)),t}case"Multiplier":return Zx(e);case"Type":case"Property":return{type:e.type,name:e.name,syntax:e};case"Keyword":return{type:e.type,name:e.name.toLowerCase(),syntax:e};case"AtKeyword":return{type:e.type,name:"@"+e.name.toLowerCase(),syntax:e};case"Function":return{type:e.type,name:e.name.toLowerCase()+"(",syntax:e};case"String":return e.value.length===3?{type:"Token",value:e.value.charAt(1),syntax:e}:{type:e.type,value:e.value.substr(1,e.value.length-2).replace(/\\'/g,"'"),syntax:e};case"Token":return{type:e.type,value:e.value,syntax:e};case"Comma":return{type:e.type,syntax:e};default:throw new Error("Unknown node type:",e.type)}}function ti(e,t){return typeof e=="string"&&(e=Ln(e)),{type:"MatchGraph",match:Wa(e),syntax:t||null,source:e}}p();f();var{hasOwnProperty:Ef}=Object.prototype,Jx=0,ey=1,qa=2,Af=3,Tf="Match",ty="Mismatch",ry="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",jf=15e3,ny=0;function oy(e){let t=null,r=null,n=e;for(;n!==null;)r=n.prev,n.prev=t,t=n,n=r;return t}function Ya(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let n=t.charCodeAt(r),o=e.charCodeAt(r);if(o>=65&&o<=90&&(o=o|32),o!==n)return!1}return!0}function iy(e){return e.type!==P?!1:e.value!=="?"}function zf(e){return e===null?!0:e.type===ye||e.type===I||e.type===q||e.type===ae||e.type===ee||iy(e)}function Pf(e){return e===null?!0:e.type===F||e.type===ke||e.type===de||e.type===P&&e.value==="/"}function ay(e,t,r){function n(){do v++,$=v<e.length?e[v]:null;while($!==null&&($.type===_||$.type===V))}function o(z){let D=v+z;return D<e.length?e[D]:null}function i(z,D){return{nextState:z,matchStack:E,syntaxStack:h,thenStack:m,tokenIndex:v,prev:D}}function a(z){m={nextState:z,matchStack:E,syntaxStack:h,prev:m}}function l(z){x=i(z,x)}function u(){E={type:ey,syntax:t.syntax,token:$,prev:E},n(),k=null,v>j&&(j=v)}function s(){h={syntax:t.syntax,opts:t.syntax.opts||h!==null&&h.opts||null,prev:h},E={type:qa,syntax:t.syntax,token:E.token,prev:E}}function c(){E.type===qa?E=E.prev:E={type:Af,syntax:h.syntax,token:E.token,prev:E},h=h.prev}let h=null,m=null,x=null,k=null,S=0,C=null,$=null,v=-1,j=0,E={type:Jx,syntax:null,token:null,prev:null};for(n();C===null&&++S<jf;)switch(t.type){case"Match":if(m===null){if($!==null&&(v!==e.length-1||$.value!=="\\0"&&$.value!=="\\9")){t=H;break}C=Tf;break}if(t=m.nextState,t===ei)if(m.matchStack===E){t=H;break}else t=B;for(;m.syntaxStack!==h;)c();m=m.prev;break;case"Mismatch":if(k!==null&&k!==!1)(x===null||v>x.tokenIndex)&&(x=k,k=!1);else if(x===null){C=ty;break}t=x.nextState,m=x.thenStack,h=x.syntaxStack,E=x.matchStack,v=x.tokenIndex,$=v<e.length?e[v]:null,x=x.prev;break;case"MatchGraph":t=t.match;break;case"If":t.else!==H&&l(t.else),t.then!==B&&a(t.then),t=t.match;break;case"MatchOnce":t={type:"MatchOnceBuffer",syntax:t,index:0,mask:0};break;case"MatchOnceBuffer":{let T=t.syntax.terms;if(t.index===T.length){if(t.mask===0||t.syntax.all){t=H;break}t=B;break}if(t.mask===(1<<T.length)-1){t=B;break}for(;t.index<T.length;t.index++){let L=1<<t.index;if((t.mask&L)==0){l(t),a({type:"AddMatchOnce",syntax:t.syntax,mask:t.mask|L}),t=T[t.index++];break}}break}case"AddMatchOnce":t={type:"MatchOnceBuffer",syntax:t.syntax,index:0,mask:t.mask};break;case"Enum":if($!==null){let T=$.value.toLowerCase();if(T.indexOf("\\")!==-1&&(T=T.replace(/\\[09].*$/,"")),Ef.call(t.map,T)){t=t.map[T];break}}t=H;break;case"Generic":{let T=h!==null?h.opts:null,L=v+Math.floor(t.fn($,o,T));if(!isNaN(L)&&L>v){for(;v<L;)u();t=B}else t=H;break}case"Type":case"Property":{let T=t.type==="Type"?"types":"properties",L=Ef.call(r,T)?r[T][t.name]:null;if(!L||!L.match)throw new Error("Bad syntax reference: "+(t.type==="Type"?"<"+t.name+">":"<'"+t.name+"'>"));if(k!==!1&&$!==null&&t.type==="Type"&&(t.name==="custom-ident"&&$.type===w||t.name==="length"&&$.value==="0")){k===null&&(k=i(t,x)),t=H;break}s(),t=L.match;break}case"Keyword":{let T=t.name;if($!==null){let L=$.value;if(L.indexOf("\\")!==-1&&(L=L.replace(/\\[09].*$/,"")),Ya(L,T)){u(),t=B;break}}t=H;break}case"AtKeyword":case"Function":if($!==null&&Ya($.value,t.name)){u(),t=B;break}t=H;break;case"Token":if($!==null&&$.value===t.value){u(),t=B;break}t=H;break;case"Comma":$!==null&&$.type===ye?zf(E.token)?t=H:(u(),t=Pf($)?H:B):t=zf(E.token)||Pf($)?B:H;break;case"String":let z="",D=v;for(;D<e.length&&z.length<t.value.length;D++)z+=e[D].value;if(Ya(z,t.value)){for(;v<D;)u();t=B}else t=H;break;default:throw new Error("Unknown node type: "+t.type)}switch(ny+=S,C){case null:console.warn("[csstree-match] BREAK after "+jf+" iterations"),C=ry,E=null;break;case Tf:for(;h!==null;)c();break;default:E=null}return{tokens:e,reason:C,iterations:S,match:E,longestMatch:j}}function Ha(e,t,r){let n=ay(e,t,r||{});if(n.match===null)return n;let o=n.match,i=n.match={syntax:t.syntax||null,match:[]},a=[i];for(o=oy(o).prev;o!==null;){switch(o.type){case qa:i.match.push(i={syntax:o.syntax,match:[]}),a.push(i);break;case Af:a.pop(),i=a[a.length-1];break;default:i.match.push({syntax:o.syntax||null,token:o.token.value,node:o.token.node})}o=o.prev}return n}var Va={};R(Va,{getTrace:()=>Lf,isKeyword:()=>cy,isProperty:()=>ly,isType:()=>sy});p();f();function Lf(e){function t(o){return o===null?!1:o.type==="Type"||o.type==="Property"||o.type==="Keyword"}function r(o){if(Array.isArray(o.match)){for(let i=0;i<o.match.length;i++)if(r(o.match[i]))return t(o.syntax)&&n.unshift(o.syntax),!0}else if(o.node===e)return n=t(o.syntax)?[o.syntax]:[],!0;return!1}let n=null;return this.matched!==null&&r(this.matched),n}function sy(e,t){return Ga(this,e,r=>r.type==="Type"&&r.name===t)}function ly(e,t){return Ga(this,e,r=>r.type==="Property"&&r.name===t)}function cy(e){return Ga(this,e,t=>t.type==="Keyword")}function Ga(e,t,r){let n=Lf.call(e,t);return n===null?!1:n.some(r)}p();f();function Rf(e){return"node"in e?e.node:Rf(e.match[0])}function If(e){return"node"in e?e.node:If(e.match[e.match.length-1])}function Ka(e,t,r,n,o){function i(l){if(l.syntax!==null&&l.syntax.type===n&&l.syntax.name===o){let u=Rf(l),s=If(l);e.syntax.walk(t,function(c,h,m){if(c===u){let x=new G;do{if(x.appendData(h.data),h.data===s)break;h=h.next}while(h!==null);a.push({parent:m,nodes:x})}})}Array.isArray(l.match)&&l.match.forEach(i)}let a=[];return r.matched!==null&&i(r.matched),a}p();f();var{hasOwnProperty:In}=Object.prototype;function Xa(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&e>=0}function Of(e){return Boolean(e)&&Xa(e.offset)&&Xa(e.line)&&Xa(e.column)}function uy(e,t){return function(n,o){if(!n||n.constructor!==Object)return o(n,"Type of node should be an Object");for(let i in n){let a=!0;if(In.call(n,i)!==!1){if(i==="type")n.type!==e&&o(n,"Wrong node type `"+n.type+"`, expected `"+e+"`");else if(i==="loc"){if(n.loc===null)continue;if(n.loc&&n.loc.constructor===Object)if(typeof n.loc.source!="string")i+=".source";else if(!Of(n.loc.start))i+=".start";else if(!Of(n.loc.end))i+=".end";else continue;a=!1}else if(t.hasOwnProperty(i)){a=!1;for(let l=0;!a&&l<t[i].length;l++){let u=t[i][l];switch(u){case String:a=typeof n[i]=="string";break;case Boolean:a=typeof n[i]=="boolean";break;case null:a=n[i]===null;break;default:typeof u=="string"?a=n[i]&&n[i].type===u:Array.isArray(u)&&(a=n[i]instanceof G)}}}else o(n,"Unknown field `"+i+"` for "+e+" node type");a||o(n,"Bad value for `"+e+"."+i+"`")}}for(let i in t)In.call(t,i)&&In.call(n,i)===!1&&o(n,"Field `"+e+"."+i+"` is missed")}}function py(e,t){let r=t.structure,n={type:String,loc:!0},o={type:'"'+e+'"'};for(let i in r){if(In.call(r,i)===!1)continue;let a=[],l=n[i]=Array.isArray(r[i])?r[i].slice():[r[i]];for(let u=0;u<l.length;u++){let s=l[u];if(s===String||s===Boolean)a.push(s.name);else if(s===null)a.push("null");else if(typeof s=="string")a.push("<"+s+">");else if(Array.isArray(s))a.push("List");else throw new Error("Wrong value `"+s+"` in `"+e+"."+i+"` structure definition")}o[i]=a.join(" | ")}return{docs:o,check:uy(e,n)}}function _f(e){let t={};if(e.node){for(let r in e.node)if(In.call(e.node,r)){let n=e.node[r];if(n.structure)t[r]=py(r,n);else throw new Error("Missed `structure` field in `"+r+"` node type definition")}}return t}var fy=ti(Ho.join(" | "));function Qa(e,t,r){let n={};for(let o in e)e[o].syntax&&(n[o]=r?e[o].syntax:Kt(e[o].syntax,{compact:t}));return n}function hy(e,t,r){let n={};for(let[o,i]of Object.entries(e))n[o]={prelude:i.prelude&&(r?i.prelude.syntax:Kt(i.prelude.syntax,{compact:t})),descriptors:i.descriptors&&Qa(i.descriptors,t,r)};return n}function dy(e){for(let t=0;t<e.length;t++)if(e[t].value.toLowerCase()==="var(")return!0;return!1}function Fe(e,t,r){return{matched:e,iterations:r,error:t,...Va}}function tr(e,t,r,n){let o=Sf(r,e.syntax),i;return dy(o)?Fe(null,new Error("Matching for a tree with var() is not supported")):(n&&(i=Ha(o,e.cssWideKeywordsSyntax,e)),(!n||!i.match)&&(i=Ha(o,t.match,e),!i.match)?Fe(null,new tf(i.reason,t.syntax,r,i),i.iterations):Fe(i.match,null,i.iterations))}var On=class{constructor(t,r,n){if(this.cssWideKeywordsSyntax=fy,this.syntax=r,this.generic=!1,this.atrules=Object.create(null),this.properties=Object.create(null),this.types=Object.create(null),this.structure=n||_f(t),t){if(t.types)for(let o in t.types)this.addType_(o,t.types[o]);if(t.generic){this.generic=!0;for(let o in Pa)this.addType_(o,Pa[o])}if(t.atrules)for(let o in t.atrules)this.addAtrule_(o,t.atrules[o]);if(t.properties)for(let o in t.properties)this.addProperty_(o,t.properties[o])}}checkStructure(t){function r(i,a){o.push({node:i,message:a})}let n=this.structure,o=[];return this.syntax.walk(t,function(i){n.hasOwnProperty(i.type)?n[i.type].check(i,r):r(i,"Unknown node type `"+i.type+"`")}),o.length?o:!1}createDescriptor(t,r,n,o=null){let i={type:r,name:n},a={type:r,name:n,parent:o,serializable:typeof t=="string"||t&&typeof t.type=="string",syntax:null,match:null};return typeof t=="function"?a.match=ti(t,i):(typeof t=="string"?Object.defineProperty(a,"syntax",{get(){return Object.defineProperty(a,"syntax",{value:Ln(t)}),a.syntax}}):a.syntax=t,Object.defineProperty(a,"match",{get(){return Object.defineProperty(a,"match",{value:ti(a.syntax,i)}),a.match}})),a}addAtrule_(t,r){!r||(this.atrules[t]={type:"Atrule",name:t,prelude:r.prelude?this.createDescriptor(r.prelude,"AtrulePrelude",t):null,descriptors:r.descriptors?Object.keys(r.descriptors).reduce((n,o)=>(n[o]=this.createDescriptor(r.descriptors[o],"AtruleDescriptor",o,t),n),Object.create(null)):null})}addProperty_(t,r){!r||(this.properties[t]=this.createDescriptor(r,"Property",t))}addType_(t,r){!r||(this.types[t]=this.createDescriptor(r,"Type",t))}checkAtruleName(t){if(!this.getAtrule(t))return new Xt("Unknown at-rule","@"+t)}checkAtrulePrelude(t,r){let n=this.checkAtruleName(t);if(n)return n;let o=this.getAtrule(t);if(!o.prelude&&r)return new SyntaxError("At-rule `@"+t+"` should not contain a prelude");if(o.prelude&&!r&&!tr(this,o.prelude,"",!1).matched)return new SyntaxError("At-rule `@"+t+"` should contain a prelude")}checkAtruleDescriptorName(t,r){let n=this.checkAtruleName(t);if(n)return n;let o=this.getAtrule(t),i=qo(r);if(!o.descriptors)return new SyntaxError("At-rule `@"+t+"` has no known descriptors");if(!o.descriptors[i.name]&&!o.descriptors[i.basename])return new Xt("Unknown at-rule descriptor",r)}checkPropertyName(t){if(!this.getProperty(t))return new Xt("Unknown property",t)}matchAtrulePrelude(t,r){let n=this.checkAtrulePrelude(t,r);if(n)return Fe(null,n);let o=this.getAtrule(t);return o.prelude?tr(this,o.prelude,r||"",!1):Fe(null,null)}matchAtruleDescriptor(t,r,n){let o=this.checkAtruleDescriptorName(t,r);if(o)return Fe(null,o);let i=this.getAtrule(t),a=qo(r);return tr(this,i.descriptors[a.name]||i.descriptors[a.basename],n,!1)}matchDeclaration(t){return t.type!=="Declaration"?Fe(null,new Error("Not a Declaration node")):this.matchProperty(t.property,t.value)}matchProperty(t,r){if(Sa(t).custom)return Fe(null,new Error("Lexer matching doesn't applicable for custom properties"));let n=this.checkPropertyName(t);return n?Fe(null,n):tr(this,this.getProperty(t),r,!0)}matchType(t,r){let n=this.getType(t);return n?tr(this,n,r,!1):Fe(null,new Xt("Unknown type",t))}match(t,r){return typeof t!="string"&&(!t||!t.type)?Fe(null,new Xt("Bad syntax")):((typeof t=="string"||!t.match)&&(t=this.createDescriptor(t,"Type","anonymous")),tr(this,t,r,!1))}findValueFragments(t,r,n,o){return Ka(this,r,this.matchProperty(t,r),n,o)}findDeclarationValueFragments(t,r,n){return Ka(this,t.value,this.matchDeclaration(t),r,n)}findAllFragments(t,r,n){let o=[];return this.syntax.walk(t,{visit:"Declaration",enter:i=>{o.push.apply(o,this.findDeclarationValueFragments(i,r,n))}}),o}getAtrule(t,r=!0){let n=qo(t);return(n.vendor&&r?this.atrules[n.name]||this.atrules[n.basename]:this.atrules[n.name])||null}getAtrulePrelude(t,r=!0){let n=this.getAtrule(t,r);return n&&n.prelude||null}getAtruleDescriptor(t,r){return this.atrules.hasOwnProperty(t)&&this.atrules.declarators&&this.atrules[t].declarators[r]||null}getProperty(t,r=!0){let n=Sa(t);return(n.vendor&&r?this.properties[n.name]||this.properties[n.basename]:this.properties[n.name])||null}getType(t){return hasOwnProperty.call(this.types,t)?this.types[t]:null}validate(){function t(o,i,a,l){if(a.has(i))return a.get(i);a.set(i,!1),l.syntax!==null&&Ba(l.syntax,function(u){if(u.type!=="Type"&&u.type!=="Property")return;let s=u.type==="Type"?o.types:o.properties,c=u.type==="Type"?r:n;(!hasOwnProperty.call(s,u.name)||t(o,u.name,c,s[u.name]))&&a.set(i,!0)},this)}let r=new Map,n=new Map;for(let o in this.types)t(this,o,r,this.types[o]);for(let o in this.properties)t(this,o,n,this.properties[o]);return r=[...r.keys()].filter(o=>r.get(o)),n=[...n.keys()].filter(o=>n.get(o)),r.length||n.length?{types:r,properties:n}:null}dump(t,r){return{generic:this.generic,types:Qa(this.types,!r,t),properties:Qa(this.properties,!r,t),atrules:hy(this.atrules,!r,t)}}toString(){return JSON.stringify(this.dump())}};p();f();var{hasOwnProperty:rr}=Object.prototype,gy={generic:!0,types:Za,atrules:{prelude:Df,descriptors:Df},properties:Za,parseContext:my,scope:Mf,atrule:["parse"],pseudo:["parse"],node:["name","structure","parse","generate","walkContext"]};function ri(e){return e&&e.constructor===Object}function Ff(e){return ri(e)?{...e}:e}function my(e,t){return Object.assign(e,t)}function Mf(e,t){for(let r in t)rr.call(t,r)&&(ri(e[r])?Mf(e[r],t[r]):e[r]=Ff(t[r]));return e}function Nf(e,t){return typeof t=="string"&&/^\s*\|/.test(t)?typeof e=="string"?e+t:t.replace(/^\s*\|\s*/,""):t||null}function Za(e,t){if(typeof t=="string")return Nf(e,t);let r={...e};for(let n in t)rr.call(t,n)&&(r[n]=Nf(rr.call(e,n)?e[n]:void 0,t[n]));return r}function Df(e,t){let r=Za(e,t);return!ri(r)||Object.keys(r).length?r:null}function _n(e,t,r){for(let n in r)if(rr.call(r,n)!==!1){if(r[n]===!0)rr.call(t,n)&&(e[n]=Ff(t[n]));else if(r[n]){if(typeof r[n]=="function"){let o=r[n];e[n]=o({},e[n]),e[n]=o(e[n]||{},t[n])}else if(ri(r[n])){let o={};for(let i in e[n])o[i]=_n({},e[n][i],r[n]);for(let i in t[n])o[i]=_n(o[i]||{},t[n][i],r[n]);e[n]=o}else if(Array.isArray(r[n])){let o={},i=r[n].reduce(function(a,l){return a[l]=!0,a},{});for(let[a,l]of Object.entries(e[n]||{}))o[a]={},l&&_n(o[a],l,i);for(let a in t[n])rr.call(t[n],a)&&(o[a]||(o[a]={}),t[n]&&t[n][a]&&_n(o[a],t[n][a],i));e[n]=o}}}return e}var ni=(e,t)=>_n(e,t,gy);function Bf(e){let t=wp(e),r=Jp(e),n=Vp(e),{fromPlainObject:o,toPlainObject:i}=Gp(r),a={lexer:null,createLexer:l=>new On(l,a,a.lexer.structure),tokenize:dt,parse:t,generate:n,walk:r,find:r.find,findLast:r.findLast,findAll:r.findAll,fromPlainObject:o,toPlainObject:i,fork(l){let u=ni({},e);return Bf(typeof l=="function"?l(u,Object.assign):ni(u,l))}};return a.lexer=new On({generic:!0,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},a),a}var Ja=e=>Bf(ni({},e));p();f();p();f();var Uf={generic:!0,types:{"absolute-size":"xx-small|x-small|small|medium|large|x-large|xx-large|xxx-large","alpha-value":"<number>|<percentage>","angle-percentage":"<angle>|<percentage>","angular-color-hint":"<angle-percentage>","angular-color-stop":"<color>&&<color-stop-angle>?","angular-color-stop-list":"[<angular-color-stop> [, <angular-color-hint>]?]# , <angular-color-stop>","animateable-feature":"scroll-position|contents|<custom-ident>",attachment:"scroll|fixed|local","attr()":"attr( <attr-name> <type-or-unit>? [, <attr-fallback>]? )","attr-matcher":"['~'|'|'|'^'|'$'|'*']? '='","attr-modifier":"i|s","attribute-selector":"'[' <wq-name> ']'|'[' <wq-name> <attr-matcher> [<string-token>|<ident-token>] <attr-modifier>? ']'","auto-repeat":"repeat( [auto-fill|auto-fit] , [<line-names>? <fixed-size>]+ <line-names>? )","auto-track-list":"[<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>? <auto-repeat> [<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>?","baseline-position":"[first|last]? baseline","basic-shape":"<inset()>|<circle()>|<ellipse()>|<polygon()>|<path()>","bg-image":"none|<image>","bg-layer":"<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<box>||<box>","bg-position":"[[left|center|right|top|bottom|<length-percentage>]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]|[center|[left|right] <length-percentage>?]&&[center|[top|bottom] <length-percentage>?]]","bg-size":"[<length-percentage>|auto]{1,2}|cover|contain","blur()":"blur( <length> )","blend-mode":"normal|multiply|screen|overlay|darken|lighten|color-dodge|color-burn|hard-light|soft-light|difference|exclusion|hue|saturation|color|luminosity",box:"border-box|padding-box|content-box","brightness()":"brightness( <number-percentage> )","calc()":"calc( <calc-sum> )","calc-sum":"<calc-product> [['+'|'-'] <calc-product>]*","calc-product":"<calc-value> ['*' <calc-value>|'/' <number>]*","calc-value":"<number>|<dimension>|<percentage>|( <calc-sum> )","cf-final-image":"<image>|<color>","cf-mixing-image":"<percentage>?&&<image>","circle()":"circle( [<shape-radius>]? [at <position>]? )","clamp()":"clamp( <calc-sum>#{3} )","class-selector":"'.' <ident-token>","clip-source":"<url>",color:"<rgb()>|<rgba()>|<hsl()>|<hsla()>|<hwb()>|<lab()>|<lch()>|<hex-color>|<named-color>|currentcolor|<deprecated-system-color>","color-stop":"<color-stop-length>|<color-stop-angle>","color-stop-angle":"<angle-percentage>{1,2}","color-stop-length":"<length-percentage>{1,2}","color-stop-list":"[<linear-color-stop> [, <linear-color-hint>]?]# , <linear-color-stop>",combinator:"'>'|'+'|'~'|['||']","common-lig-values":"[common-ligatures|no-common-ligatures]","compat-auto":"searchfield|textarea|push-button|slider-horizontal|checkbox|radio|square-button|menulist|listbox|meter|progress-bar|button","composite-style":"clear|copy|source-over|source-in|source-out|source-atop|destination-over|destination-in|destination-out|destination-atop|xor","compositing-operator":"add|subtract|intersect|exclude","compound-selector":"[<type-selector>? <subclass-selector>* [<pseudo-element-selector> <pseudo-class-selector>*]*]!","compound-selector-list":"<compound-selector>#","complex-selector":"<compound-selector> [<combinator>? <compound-selector>]*","complex-selector-list":"<complex-selector>#","conic-gradient()":"conic-gradient( [from <angle>]? [at <position>]? , <angular-color-stop-list> )","contextual-alt-values":"[contextual|no-contextual]","content-distribution":"space-between|space-around|space-evenly|stretch","content-list":"[<string>|contents|<image>|<counter>|<quote>|<target>|<leader()>|<attr()>]+","content-position":"center|start|end|flex-start|flex-end","content-replacement":"<image>","contrast()":"contrast( [<number-percentage>] )",counter:"<counter()>|<counters()>","counter()":"counter( <counter-name> , <counter-style>? )","counter-name":"<custom-ident>","counter-style":"<counter-style-name>|symbols( )","counter-style-name":"<custom-ident>","counters()":"counters( <counter-name> , <string> , <counter-style>? )","cross-fade()":"cross-fade( <cf-mixing-image> , <cf-final-image>? )","cubic-bezier-timing-function":"ease|ease-in|ease-out|ease-in-out|cubic-bezier( <number [0,1]> , <number> , <number [0,1]> , <number> )","deprecated-system-color":"ActiveBorder|ActiveCaption|AppWorkspace|Background|ButtonFace|ButtonHighlight|ButtonShadow|ButtonText|CaptionText|GrayText|Highlight|HighlightText|InactiveBorder|InactiveCaption|InactiveCaptionText|InfoBackground|InfoText|Menu|MenuText|Scrollbar|ThreeDDarkShadow|ThreeDFace|ThreeDHighlight|ThreeDLightShadow|ThreeDShadow|Window|WindowFrame|WindowText","discretionary-lig-values":"[discretionary-ligatures|no-discretionary-ligatures]","display-box":"contents|none","display-inside":"flow|flow-root|table|flex|grid|ruby","display-internal":"table-row-group|table-header-group|table-footer-group|table-row|table-cell|table-column-group|table-column|table-caption|ruby-base|ruby-text|ruby-base-container|ruby-text-container","display-legacy":"inline-block|inline-list-item|inline-table|inline-flex|inline-grid","display-listitem":"<display-outside>?&&[flow|flow-root]?&&list-item","display-outside":"block|inline|run-in","drop-shadow()":"drop-shadow( <length>{2,3} <color>? )","east-asian-variant-values":"[jis78|jis83|jis90|jis04|simplified|traditional]","east-asian-width-values":"[full-width|proportional-width]","element()":"element( <custom-ident> , [first|start|last|first-except]? )|element( <id-selector> )","ellipse()":"ellipse( [<shape-radius>{2}]? [at <position>]? )","ending-shape":"circle|ellipse","env()":"env( <custom-ident> , <declaration-value>? )","explicit-track-list":"[<line-names>? <track-size>]+ <line-names>?","family-name":"<string>|<custom-ident>+","feature-tag-value":"<string> [<integer>|on|off]?","feature-type":"@stylistic|@historical-forms|@styleset|@character-variant|@swash|@ornaments|@annotation","feature-value-block":"<feature-type> '{' <feature-value-declaration-list> '}'","feature-value-block-list":"<feature-value-block>+","feature-value-declaration":"<custom-ident> : <integer>+ ;","feature-value-declaration-list":"<feature-value-declaration>","feature-value-name":"<custom-ident>","fill-rule":"nonzero|evenodd","filter-function":"<blur()>|<brightness()>|<contrast()>|<drop-shadow()>|<grayscale()>|<hue-rotate()>|<invert()>|<opacity()>|<saturate()>|<sepia()>","filter-function-list":"[<filter-function>|<url>]+","final-bg-layer":"<'background-color'>||<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<box>||<box>","fit-content()":"fit-content( [<length>|<percentage>] )","fixed-breadth":"<length-percentage>","fixed-repeat":"repeat( [<integer [1,\u221E]>] , [<line-names>? <fixed-size>]+ <line-names>? )","fixed-size":"<fixed-breadth>|minmax( <fixed-breadth> , <track-breadth> )|minmax( <inflexible-breadth> , <fixed-breadth> )","font-stretch-absolute":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded|<percentage>","font-variant-css21":"[normal|small-caps]","font-weight-absolute":"normal|bold|<number [1,1000]>","frequency-percentage":"<frequency>|<percentage>","general-enclosed":"[<function-token> <any-value> )]|( <ident> <any-value> )","generic-family":"serif|sans-serif|cursive|fantasy|monospace|-apple-system","generic-name":"serif|sans-serif|cursive|fantasy|monospace","geometry-box":"<shape-box>|fill-box|stroke-box|view-box",gradient:"<linear-gradient()>|<repeating-linear-gradient()>|<radial-gradient()>|<repeating-radial-gradient()>|<conic-gradient()>|<repeating-conic-gradient()>|<-legacy-gradient>","grayscale()":"grayscale( <number-percentage> )","grid-line":"auto|<custom-ident>|[<integer>&&<custom-ident>?]|[span&&[<integer>||<custom-ident>]]","historical-lig-values":"[historical-ligatures|no-historical-ligatures]","hsl()":"hsl( <hue> <percentage> <percentage> [/ <alpha-value>]? )|hsl( <hue> , <percentage> , <percentage> , <alpha-value>? )","hsla()":"hsla( <hue> <percentage> <percentage> [/ <alpha-value>]? )|hsla( <hue> , <percentage> , <percentage> , <alpha-value>? )",hue:"<number>|<angle>","hue-rotate()":"hue-rotate( <angle> )","hwb()":"hwb( [<hue>|none] [<percentage>|none] [<percentage>|none] [/ [<alpha-value>|none]]? )",image:"<url>|<image()>|<image-set()>|<element()>|<paint()>|<cross-fade()>|<gradient>","image()":"image( <image-tags>? [<image-src>? , <color>?]! )","image-set()":"image-set( <image-set-option># )","image-set-option":"[<image>|<string>] [<resolution>||type( <string> )]","image-src":"<url>|<string>","image-tags":"ltr|rtl","inflexible-breadth":"<length>|<percentage>|min-content|max-content|auto","inset()":"inset( <length-percentage>{1,4} [round <'border-radius'>]? )","invert()":"invert( <number-percentage> )","keyframes-name":"<custom-ident>|<string>","keyframe-block":"<keyframe-selector># { <declaration-list> }","keyframe-block-list":"<keyframe-block>+","keyframe-selector":"from|to|<percentage>","layer()":"layer( <layer-name> )","layer-name":"<ident> ['.' <ident>]*","leader()":"leader( <leader-type> )","leader-type":"dotted|solid|space|<string>","length-percentage":"<length>|<percentage>","line-names":"'[' <custom-ident>* ']'","line-name-list":"[<line-names>|<name-repeat>]+","line-style":"none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset","line-width":"<length>|thin|medium|thick","linear-color-hint":"<length-percentage>","linear-color-stop":"<color> <color-stop-length>?","linear-gradient()":"linear-gradient( [<angle>|to <side-or-corner>]? , <color-stop-list> )","mask-layer":"<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||<geometry-box>||[<geometry-box>|no-clip]||<compositing-operator>||<masking-mode>","mask-position":"[<length-percentage>|left|center|right] [<length-percentage>|top|center|bottom]?","mask-reference":"none|<image>|<mask-source>","mask-source":"<url>","masking-mode":"alpha|luminance|match-source","matrix()":"matrix( <number>#{6} )","matrix3d()":"matrix3d( <number>#{16} )","max()":"max( <calc-sum># )","media-and":"<media-in-parens> [and <media-in-parens>]+","media-condition":"<media-not>|<media-and>|<media-or>|<media-in-parens>","media-condition-without-or":"<media-not>|<media-and>|<media-in-parens>","media-feature":"( [<mf-plain>|<mf-boolean>|<mf-range>] )","media-in-parens":"( <media-condition> )|<media-feature>|<general-enclosed>","media-not":"not <media-in-parens>","media-or":"<media-in-parens> [or <media-in-parens>]+","media-query":"<media-condition>|[not|only]? <media-type> [and <media-condition-without-or>]?","media-query-list":"<media-query>#","media-type":"<ident>","mf-boolean":"<mf-name>","mf-name":"<ident>","mf-plain":"<mf-name> : <mf-value>","mf-range":"<mf-name> ['<'|'>']? '='? <mf-value>|<mf-value> ['<'|'>']? '='? <mf-name>|<mf-value> '<' '='? <mf-name> '<' '='? <mf-value>|<mf-value> '>' '='? <mf-name> '>' '='? <mf-value>","mf-value":"<number>|<dimension>|<ident>|<ratio>","min()":"min( <calc-sum># )","minmax()":"minmax( [<length>|<percentage>|min-content|max-content|auto] , [<length>|<percentage>|<flex>|min-content|max-content|auto] )","name-repeat":"repeat( [<integer [1,\u221E]>|auto-fill] , <line-names>+ )","named-color":"transparent|aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|<-non-standard-color>","namespace-prefix":"<ident>","ns-prefix":"[<ident-token>|'*']? '|'","number-percentage":"<number>|<percentage>","numeric-figure-values":"[lining-nums|oldstyle-nums]","numeric-fraction-values":"[diagonal-fractions|stacked-fractions]","numeric-spacing-values":"[proportional-nums|tabular-nums]",nth:"<an-plus-b>|even|odd","opacity()":"opacity( [<number-percentage>] )","overflow-position":"unsafe|safe","outline-radius":"<length>|<percentage>","page-body":"<declaration>? [; <page-body>]?|<page-margin-box> <page-body>","page-margin-box":"<page-margin-box-type> '{' <declaration-list> '}'","page-margin-box-type":"@top-left-corner|@top-left|@top-center|@top-right|@top-right-corner|@bottom-left-corner|@bottom-left|@bottom-center|@bottom-right|@bottom-right-corner|@left-top|@left-middle|@left-bottom|@right-top|@right-middle|@right-bottom","page-selector-list":"[<page-selector>#]?","page-selector":"<pseudo-page>+|<ident> <pseudo-page>*","page-size":"A5|A4|A3|B5|B4|JIS-B5|JIS-B4|letter|legal|ledger","path()":"path( [<fill-rule> ,]? <string> )","paint()":"paint( <ident> , <declaration-value>? )","perspective()":"perspective( <length> )","polygon()":"polygon( <fill-rule>? , [<length-percentage> <length-percentage>]# )",position:"[[left|center|right]||[top|center|bottom]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]?|[[left|right] <length-percentage>]&&[[top|bottom] <length-percentage>]]","pseudo-class-selector":"':' <ident-token>|':' <function-token> <any-value> ')'","pseudo-element-selector":"':' <pseudo-class-selector>","pseudo-page":": [left|right|first|blank]",quote:"open-quote|close-quote|no-open-quote|no-close-quote","radial-gradient()":"radial-gradient( [<ending-shape>||<size>]? [at <position>]? , <color-stop-list> )","relative-selector":"<combinator>? <complex-selector>","relative-selector-list":"<relative-selector>#","relative-size":"larger|smaller","repeat-style":"repeat-x|repeat-y|[repeat|space|round|no-repeat]{1,2}","repeating-conic-gradient()":"repeating-conic-gradient( [from <angle>]? [at <position>]? , <angular-color-stop-list> )","repeating-linear-gradient()":"repeating-linear-gradient( [<angle>|to <side-or-corner>]? , <color-stop-list> )","repeating-radial-gradient()":"repeating-radial-gradient( [<ending-shape>||<size>]? [at <position>]? , <color-stop-list> )","rgb()":"rgb( <percentage>{3} [/ <alpha-value>]? )|rgb( <number>{3} [/ <alpha-value>]? )|rgb( <percentage>#{3} , <alpha-value>? )|rgb( <number>#{3} , <alpha-value>? )","rgba()":"rgba( <percentage>{3} [/ <alpha-value>]? )|rgba( <number>{3} [/ <alpha-value>]? )|rgba( <percentage>#{3} , <alpha-value>? )|rgba( <number>#{3} , <alpha-value>? )","rotate()":"rotate( [<angle>|<zero>] )","rotate3d()":"rotate3d( <number> , <number> , <number> , [<angle>|<zero>] )","rotateX()":"rotateX( [<angle>|<zero>] )","rotateY()":"rotateY( [<angle>|<zero>] )","rotateZ()":"rotateZ( [<angle>|<zero>] )","saturate()":"saturate( <number-percentage> )","scale()":"scale( <number> , <number>? )","scale3d()":"scale3d( <number> , <number> , <number> )","scaleX()":"scaleX( <number> )","scaleY()":"scaleY( <number> )","scaleZ()":"scaleZ( <number> )","self-position":"center|start|end|self-start|self-end|flex-start|flex-end","shape-radius":"<length-percentage>|closest-side|farthest-side","skew()":"skew( [<angle>|<zero>] , [<angle>|<zero>]? )","skewX()":"skewX( [<angle>|<zero>] )","skewY()":"skewY( [<angle>|<zero>] )","sepia()":"sepia( <number-percentage> )",shadow:"inset?&&<length>{2,4}&&<color>?","shadow-t":"[<length>{2,3}&&<color>?]",shape:"rect( <top> , <right> , <bottom> , <left> )|rect( <top> <right> <bottom> <left> )","shape-box":"<box>|margin-box","side-or-corner":"[left|right]||[top|bottom]","single-animation":"<time>||<easing-function>||<time>||<single-animation-iteration-count>||<single-animation-direction>||<single-animation-fill-mode>||<single-animation-play-state>||[none|<keyframes-name>]","single-animation-direction":"normal|reverse|alternate|alternate-reverse","single-animation-fill-mode":"none|forwards|backwards|both","single-animation-iteration-count":"infinite|<number>","single-animation-play-state":"running|paused","single-animation-timeline":"auto|none|<timeline-name>","single-transition":"[none|<single-transition-property>]||<time>||<easing-function>||<time>","single-transition-property":"all|<custom-ident>",size:"closest-side|farthest-side|closest-corner|farthest-corner|<length>|<length-percentage>{2}","step-position":"jump-start|jump-end|jump-none|jump-both|start|end","step-timing-function":"step-start|step-end|steps( <integer> [, <step-position>]? )","subclass-selector":"<id-selector>|<class-selector>|<attribute-selector>|<pseudo-class-selector>","supports-condition":"not <supports-in-parens>|<supports-in-parens> [and <supports-in-parens>]*|<supports-in-parens> [or <supports-in-parens>]*","supports-in-parens":"( <supports-condition> )|<supports-feature>|<general-enclosed>","supports-feature":"<supports-decl>|<supports-selector-fn>","supports-decl":"( <declaration> )","supports-selector-fn":"selector( <complex-selector> )",symbol:"<string>|<image>|<custom-ident>",target:"<target-counter()>|<target-counters()>|<target-text()>","target-counter()":"target-counter( [<string>|<url>] , <custom-ident> , <counter-style>? )","target-counters()":"target-counters( [<string>|<url>] , <custom-ident> , <string> , <counter-style>? )","target-text()":"target-text( [<string>|<url>] , [content|before|after|first-letter]? )","time-percentage":"<time>|<percentage>","timeline-name":"<custom-ident>|<string>","easing-function":"linear|<cubic-bezier-timing-function>|<step-timing-function>","track-breadth":"<length-percentage>|<flex>|min-content|max-content|auto","track-list":"[<line-names>? [<track-size>|<track-repeat>]]+ <line-names>?","track-repeat":"repeat( [<integer [1,\u221E]>] , [<line-names>? <track-size>]+ <line-names>? )","track-size":"<track-breadth>|minmax( <inflexible-breadth> , <track-breadth> )|fit-content( [<length>|<percentage>] )","transform-function":"<matrix()>|<translate()>|<translateX()>|<translateY()>|<scale()>|<scaleX()>|<scaleY()>|<rotate()>|<skew()>|<skewX()>|<skewY()>|<matrix3d()>|<translate3d()>|<translateZ()>|<scale3d()>|<scaleZ()>|<rotate3d()>|<rotateX()>|<rotateY()>|<rotateZ()>|<perspective()>","transform-list":"<transform-function>+","translate()":"translate( <length-percentage> , <length-percentage>? )","translate3d()":"translate3d( <length-percentage> , <length-percentage> , <length> )","translateX()":"translateX( <length-percentage> )","translateY()":"translateY( <length-percentage> )","translateZ()":"translateZ( <length> )","type-or-unit":"string|color|url|integer|number|length|angle|time|frequency|cap|ch|em|ex|ic|lh|rlh|rem|vb|vi|vw|vh|vmin|vmax|mm|Q|cm|in|pt|pc|px|deg|grad|rad|turn|ms|s|Hz|kHz|%","type-selector":"<wq-name>|<ns-prefix>? '*'","var()":"var( <custom-property-name> , <declaration-value>? )","viewport-length":"auto|<length-percentage>","visual-box":"content-box|padding-box|border-box","wq-name":"<ns-prefix>? <ident-token>","-legacy-gradient":"<-webkit-gradient()>|<-legacy-linear-gradient>|<-legacy-repeating-linear-gradient>|<-legacy-radial-gradient>|<-legacy-repeating-radial-gradient>","-legacy-linear-gradient":"-moz-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-repeating-linear-gradient":"-moz-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-linear-gradient-arguments":"[<angle>|<side-or-corner>]? , <color-stop-list>","-legacy-radial-gradient":"-moz-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-repeating-radial-gradient":"-moz-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-radial-gradient-arguments":"[<position> ,]? [[[<-legacy-radial-gradient-shape>||<-legacy-radial-gradient-size>]|[<length>|<percentage>]{2}] ,]? <color-stop-list>","-legacy-radial-gradient-size":"closest-side|closest-corner|farthest-side|farthest-corner|contain|cover","-legacy-radial-gradient-shape":"circle|ellipse","-non-standard-font":"-apple-system-body|-apple-system-headline|-apple-system-subheadline|-apple-system-caption1|-apple-system-caption2|-apple-system-footnote|-apple-system-short-body|-apple-system-short-headline|-apple-system-short-subheadline|-apple-system-short-caption1|-apple-system-short-footnote|-apple-system-tall-body","-non-standard-color":"-moz-ButtonDefault|-moz-ButtonHoverFace|-moz-ButtonHoverText|-moz-CellHighlight|-moz-CellHighlightText|-moz-Combobox|-moz-ComboboxText|-moz-Dialog|-moz-DialogText|-moz-dragtargetzone|-moz-EvenTreeRow|-moz-Field|-moz-FieldText|-moz-html-CellHighlight|-moz-html-CellHighlightText|-moz-mac-accentdarkestshadow|-moz-mac-accentdarkshadow|-moz-mac-accentface|-moz-mac-accentlightesthighlight|-moz-mac-accentlightshadow|-moz-mac-accentregularhighlight|-moz-mac-accentregularshadow|-moz-mac-chrome-active|-moz-mac-chrome-inactive|-moz-mac-focusring|-moz-mac-menuselect|-moz-mac-menushadow|-moz-mac-menutextselect|-moz-MenuHover|-moz-MenuHoverText|-moz-MenuBarText|-moz-MenuBarHoverText|-moz-nativehyperlinktext|-moz-OddTreeRow|-moz-win-communicationstext|-moz-win-mediatext|-moz-activehyperlinktext|-moz-default-background-color|-moz-default-color|-moz-hyperlinktext|-moz-visitedhyperlinktext|-webkit-activelink|-webkit-focus-ring-color|-webkit-link|-webkit-text","-non-standard-image-rendering":"optimize-contrast|-moz-crisp-edges|-o-crisp-edges|-webkit-optimize-contrast","-non-standard-overflow":"-moz-scrollbars-none|-moz-scrollbars-horizontal|-moz-scrollbars-vertical|-moz-hidden-unscrollable","-non-standard-width":"fill-available|min-intrinsic|intrinsic|-moz-available|-moz-fit-content|-moz-min-content|-moz-max-content|-webkit-min-content|-webkit-max-content","-webkit-gradient()":"-webkit-gradient( <-webkit-gradient-type> , <-webkit-gradient-point> [, <-webkit-gradient-point>|, <-webkit-gradient-radius> , <-webkit-gradient-point>] [, <-webkit-gradient-radius>]? [, <-webkit-gradient-color-stop>]* )","-webkit-gradient-color-stop":"from( <color> )|color-stop( [<number-zero-one>|<percentage>] , <color> )|to( <color> )","-webkit-gradient-point":"[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]","-webkit-gradient-radius":"<length>|<percentage>","-webkit-gradient-type":"linear|radial","-webkit-mask-box-repeat":"repeat|stretch|round","-webkit-mask-clip-style":"border|border-box|padding|padding-box|content|content-box|text","-ms-filter-function-list":"<-ms-filter-function>+","-ms-filter-function":"<-ms-filter-function-progid>|<-ms-filter-function-legacy>","-ms-filter-function-progid":"'progid:' [<ident-token> '.']* [<ident-token>|<function-token> <any-value>? )]","-ms-filter-function-legacy":"<ident-token>|<function-token> <any-value>? )","-ms-filter":"<string>",age:"child|young|old","attr-name":"<wq-name>","attr-fallback":"<any-value>","bg-clip":"<box>|border|text","border-radius":"<length-percentage>{1,2}",bottom:"<length>|auto","generic-voice":"[<age>? <gender> <integer>?]",gender:"male|female|neutral","lab()":"lab( [<percentage>|<number>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","lch()":"lch( [<percentage>|<number>|none] [<percentage>|<number>|none] [<hue>|none] [/ [<alpha-value>|none]]? )",left:"<length>|auto","mask-image":"<mask-reference>#",paint:"none|<color>|<url> [none|<color>]?|context-fill|context-stroke",ratio:"<number [0,\u221E]> [/ <number [0,\u221E]>]?","reversed-counter-name":"reversed( <counter-name> )",right:"<length>|auto","svg-length":"<percentage>|<length>|<number>","svg-writing-mode":"lr-tb|rl-tb|tb-rl|lr|rl|tb",top:"<length>|auto","track-group":"'(' [<string>* <track-minmax> <string>*]+ ')' ['[' <positive-integer> ']']?|<track-minmax>","track-list-v0":"[<string>* <track-group> <string>*]+|none","track-minmax":"minmax( <track-breadth> , <track-breadth> )|auto|<track-breadth>|fit-content",x:"<number>",y:"<number>",declaration:"<ident-token> : <declaration-value>? ['!' important]?","declaration-list":"[<declaration>? ';']* <declaration>?",url:"url( <string> <url-modifier>* )|<url-token>","url-modifier":"<ident>|<function-token> <any-value> )","number-zero-one":"<number [0,1]>","number-one-or-greater":"<number [1,\u221E]>","positive-integer":"<integer [0,\u221E]>","-non-standard-display":"-ms-inline-flexbox|-ms-grid|-ms-inline-grid|-webkit-flex|-webkit-inline-flex|-webkit-box|-webkit-inline-box|-moz-inline-stack|-moz-box|-moz-inline-box"},properties:{"--*":"<declaration-value>","-ms-accelerator":"false|true","-ms-block-progression":"tb|rl|bt|lr","-ms-content-zoom-chaining":"none|chained","-ms-content-zooming":"none|zoom","-ms-content-zoom-limit":"<'-ms-content-zoom-limit-min'> <'-ms-content-zoom-limit-max'>","-ms-content-zoom-limit-max":"<percentage>","-ms-content-zoom-limit-min":"<percentage>","-ms-content-zoom-snap":"<'-ms-content-zoom-snap-type'>||<'-ms-content-zoom-snap-points'>","-ms-content-zoom-snap-points":"snapInterval( <percentage> , <percentage> )|snapList( <percentage># )","-ms-content-zoom-snap-type":"none|proximity|mandatory","-ms-filter":"<string>","-ms-flow-from":"[none|<custom-ident>]#","-ms-flow-into":"[none|<custom-ident>]#","-ms-grid-columns":"none|<track-list>|<auto-track-list>","-ms-grid-rows":"none|<track-list>|<auto-track-list>","-ms-high-contrast-adjust":"auto|none","-ms-hyphenate-limit-chars":"auto|<integer>{1,3}","-ms-hyphenate-limit-lines":"no-limit|<integer>","-ms-hyphenate-limit-zone":"<percentage>|<length>","-ms-ime-align":"auto|after","-ms-overflow-style":"auto|none|scrollbar|-ms-autohiding-scrollbar","-ms-scrollbar-3dlight-color":"<color>","-ms-scrollbar-arrow-color":"<color>","-ms-scrollbar-base-color":"<color>","-ms-scrollbar-darkshadow-color":"<color>","-ms-scrollbar-face-color":"<color>","-ms-scrollbar-highlight-color":"<color>","-ms-scrollbar-shadow-color":"<color>","-ms-scrollbar-track-color":"<color>","-ms-scroll-chaining":"chained|none","-ms-scroll-limit":"<'-ms-scroll-limit-x-min'> <'-ms-scroll-limit-y-min'> <'-ms-scroll-limit-x-max'> <'-ms-scroll-limit-y-max'>","-ms-scroll-limit-x-max":"auto|<length>","-ms-scroll-limit-x-min":"<length>","-ms-scroll-limit-y-max":"auto|<length>","-ms-scroll-limit-y-min":"<length>","-ms-scroll-rails":"none|railed","-ms-scroll-snap-points-x":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-points-y":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-type":"none|proximity|mandatory","-ms-scroll-snap-x":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-x'>","-ms-scroll-snap-y":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-y'>","-ms-scroll-translation":"none|vertical-to-horizontal","-ms-text-autospace":"none|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space","-ms-touch-select":"grippers|none","-ms-user-select":"none|element|text","-ms-wrap-flow":"auto|both|start|end|maximum|clear","-ms-wrap-margin":"<length>","-ms-wrap-through":"wrap|none","-moz-appearance":"none|button|button-arrow-down|button-arrow-next|button-arrow-previous|button-arrow-up|button-bevel|button-focus|caret|checkbox|checkbox-container|checkbox-label|checkmenuitem|dualbutton|groupbox|listbox|listitem|menuarrow|menubar|menucheckbox|menuimage|menuitem|menuitemtext|menulist|menulist-button|menulist-text|menulist-textfield|menupopup|menuradio|menuseparator|meterbar|meterchunk|progressbar|progressbar-vertical|progresschunk|progresschunk-vertical|radio|radio-container|radio-label|radiomenuitem|range|range-thumb|resizer|resizerpanel|scale-horizontal|scalethumbend|scalethumb-horizontal|scalethumbstart|scalethumbtick|scalethumb-vertical|scale-vertical|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|separator|sheet|spinner|spinner-downbutton|spinner-textfield|spinner-upbutton|splitter|statusbar|statusbarpanel|tab|tabpanel|tabpanels|tab-scroll-arrow-back|tab-scroll-arrow-forward|textfield|textfield-multiline|toolbar|toolbarbutton|toolbarbutton-dropdown|toolbargripper|toolbox|tooltip|treeheader|treeheadercell|treeheadersortarrow|treeitem|treeline|treetwisty|treetwistyopen|treeview|-moz-mac-unified-toolbar|-moz-win-borderless-glass|-moz-win-browsertabbar-toolbox|-moz-win-communicationstext|-moz-win-communications-toolbox|-moz-win-exclude-glass|-moz-win-glass|-moz-win-mediatext|-moz-win-media-toolbox|-moz-window-button-box|-moz-window-button-box-maximized|-moz-window-button-close|-moz-window-button-maximize|-moz-window-button-minimize|-moz-window-button-restore|-moz-window-frame-bottom|-moz-window-frame-left|-moz-window-frame-right|-moz-window-titlebar|-moz-window-titlebar-maximized","-moz-binding":"<url>|none","-moz-border-bottom-colors":"<color>+|none","-moz-border-left-colors":"<color>+|none","-moz-border-right-colors":"<color>+|none","-moz-border-top-colors":"<color>+|none","-moz-context-properties":"none|[fill|fill-opacity|stroke|stroke-opacity]#","-moz-float-edge":"border-box|content-box|margin-box|padding-box","-moz-force-broken-image-icon":"0|1","-moz-image-region":"<shape>|auto","-moz-orient":"inline|block|horizontal|vertical","-moz-outline-radius":"<outline-radius>{1,4} [/ <outline-radius>{1,4}]?","-moz-outline-radius-bottomleft":"<outline-radius>","-moz-outline-radius-bottomright":"<outline-radius>","-moz-outline-radius-topleft":"<outline-radius>","-moz-outline-radius-topright":"<outline-radius>","-moz-stack-sizing":"ignore|stretch-to-fit","-moz-text-blink":"none|blink","-moz-user-focus":"ignore|normal|select-after|select-before|select-menu|select-same|select-all|none","-moz-user-input":"auto|none|enabled|disabled","-moz-user-modify":"read-only|read-write|write-only","-moz-window-dragging":"drag|no-drag","-moz-window-shadow":"default|menu|tooltip|sheet|none","-webkit-appearance":"none|button|button-bevel|caps-lock-indicator|caret|checkbox|default-button|inner-spin-button|listbox|listitem|media-controls-background|media-controls-fullscreen-background|media-current-time-display|media-enter-fullscreen-button|media-exit-fullscreen-button|media-fullscreen-button|media-mute-button|media-overlay-play-button|media-play-button|media-seek-back-button|media-seek-forward-button|media-slider|media-sliderthumb|media-time-remaining-display|media-toggle-closed-captions-button|media-volume-slider|media-volume-slider-container|media-volume-sliderthumb|menulist|menulist-button|menulist-text|menulist-textfield|meter|progress-bar|progress-bar-value|push-button|radio|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbargripper-horizontal|scrollbargripper-vertical|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|searchfield-cancel-button|searchfield-decoration|searchfield-results-button|searchfield-results-decoration|slider-horizontal|slider-vertical|sliderthumb-horizontal|sliderthumb-vertical|square-button|textarea|textfield|-apple-pay-button","-webkit-border-before":"<'border-width'>||<'border-style'>||<color>","-webkit-border-before-color":"<color>","-webkit-border-before-style":"<'border-style'>","-webkit-border-before-width":"<'border-width'>","-webkit-box-reflect":"[above|below|right|left]? <length>? <image>?","-webkit-line-clamp":"none|<integer>","-webkit-mask":"[<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||[<box>|border|padding|content|text]||[<box>|border|padding|content]]#","-webkit-mask-attachment":"<attachment>#","-webkit-mask-clip":"[<box>|border|padding|content|text]#","-webkit-mask-composite":"<composite-style>#","-webkit-mask-image":"<mask-reference>#","-webkit-mask-origin":"[<box>|border|padding|content]#","-webkit-mask-position":"<position>#","-webkit-mask-position-x":"[<length-percentage>|left|center|right]#","-webkit-mask-position-y":"[<length-percentage>|top|center|bottom]#","-webkit-mask-repeat":"<repeat-style>#","-webkit-mask-repeat-x":"repeat|no-repeat|space|round","-webkit-mask-repeat-y":"repeat|no-repeat|space|round","-webkit-mask-size":"<bg-size>#","-webkit-overflow-scrolling":"auto|touch","-webkit-tap-highlight-color":"<color>","-webkit-text-fill-color":"<color>","-webkit-text-stroke":"<length>||<color>","-webkit-text-stroke-color":"<color>","-webkit-text-stroke-width":"<length>","-webkit-touch-callout":"default|none","-webkit-user-modify":"read-only|read-write|read-write-plaintext-only","accent-color":"auto|<color>","align-content":"normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>","align-items":"normal|stretch|<baseline-position>|[<overflow-position>? <self-position>]","align-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? <self-position>","align-tracks":"[normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>]#",all:"initial|inherit|unset|revert|revert-layer",animation:"<single-animation>#","animation-delay":"<time>#","animation-direction":"<single-animation-direction>#","animation-duration":"<time>#","animation-fill-mode":"<single-animation-fill-mode>#","animation-iteration-count":"<single-animation-iteration-count>#","animation-name":"[none|<keyframes-name>]#","animation-play-state":"<single-animation-play-state>#","animation-timing-function":"<easing-function>#","animation-timeline":"<single-animation-timeline>#",appearance:"none|auto|textfield|menulist-button|<compat-auto>","aspect-ratio":"auto|<ratio>",azimuth:"<angle>|[[left-side|far-left|left|center-left|center|center-right|right|far-right|right-side]||behind]|leftwards|rightwards","backdrop-filter":"none|<filter-function-list>","backface-visibility":"visible|hidden",background:"[<bg-layer> ,]* <final-bg-layer>","background-attachment":"<attachment>#","background-blend-mode":"<blend-mode>#","background-clip":"<bg-clip>#","background-color":"<color>","background-image":"<bg-image>#","background-origin":"<box>#","background-position":"<bg-position>#","background-position-x":"[center|[[left|right|x-start|x-end]? <length-percentage>?]!]#","background-position-y":"[center|[[top|bottom|y-start|y-end]? <length-percentage>?]!]#","background-repeat":"<repeat-style>#","background-size":"<bg-size>#","block-overflow":"clip|ellipsis|<string>","block-size":"<'width'>",border:"<line-width>||<line-style>||<color>","border-block":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-color":"<'border-top-color'>{1,2}","border-block-style":"<'border-top-style'>","border-block-width":"<'border-top-width'>","border-block-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-end-color":"<'border-top-color'>","border-block-end-style":"<'border-top-style'>","border-block-end-width":"<'border-top-width'>","border-block-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-start-color":"<'border-top-color'>","border-block-start-style":"<'border-top-style'>","border-block-start-width":"<'border-top-width'>","border-bottom":"<line-width>||<line-style>||<color>","border-bottom-color":"<'border-top-color'>","border-bottom-left-radius":"<length-percentage>{1,2}","border-bottom-right-radius":"<length-percentage>{1,2}","border-bottom-style":"<line-style>","border-bottom-width":"<line-width>","border-collapse":"collapse|separate","border-color":"<color>{1,4}","border-end-end-radius":"<length-percentage>{1,2}","border-end-start-radius":"<length-percentage>{1,2}","border-image":"<'border-image-source'>||<'border-image-slice'> [/ <'border-image-width'>|/ <'border-image-width'>? / <'border-image-outset'>]?||<'border-image-repeat'>","border-image-outset":"[<length>|<number>]{1,4}","border-image-repeat":"[stretch|repeat|round|space]{1,2}","border-image-slice":"<number-percentage>{1,4}&&fill?","border-image-source":"none|<image>","border-image-width":"[<length-percentage>|<number>|auto]{1,4}","border-inline":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-color":"<'border-top-color'>{1,2}","border-inline-style":"<'border-top-style'>","border-inline-width":"<'border-top-width'>","border-inline-end-color":"<'border-top-color'>","border-inline-end-style":"<'border-top-style'>","border-inline-end-width":"<'border-top-width'>","border-inline-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-start-color":"<'border-top-color'>","border-inline-start-style":"<'border-top-style'>","border-inline-start-width":"<'border-top-width'>","border-left":"<line-width>||<line-style>||<color>","border-left-color":"<color>","border-left-style":"<line-style>","border-left-width":"<line-width>","border-radius":"<length-percentage>{1,4} [/ <length-percentage>{1,4}]?","border-right":"<line-width>||<line-style>||<color>","border-right-color":"<color>","border-right-style":"<line-style>","border-right-width":"<line-width>","border-spacing":"<length> <length>?","border-start-end-radius":"<length-percentage>{1,2}","border-start-start-radius":"<length-percentage>{1,2}","border-style":"<line-style>{1,4}","border-top":"<line-width>||<line-style>||<color>","border-top-color":"<color>","border-top-left-radius":"<length-percentage>{1,2}","border-top-right-radius":"<length-percentage>{1,2}","border-top-style":"<line-style>","border-top-width":"<line-width>","border-width":"<line-width>{1,4}",bottom:"<length>|<percentage>|auto","box-align":"start|center|end|baseline|stretch","box-decoration-break":"slice|clone","box-direction":"normal|reverse|inherit","box-flex":"<number>","box-flex-group":"<integer>","box-lines":"single|multiple","box-ordinal-group":"<integer>","box-orient":"horizontal|vertical|inline-axis|block-axis|inherit","box-pack":"start|center|end|justify","box-shadow":"none|<shadow>#","box-sizing":"content-box|border-box","break-after":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-before":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-inside":"auto|avoid|avoid-page|avoid-column|avoid-region","caption-side":"top|bottom|block-start|block-end|inline-start|inline-end","caret-color":"auto|<color>",clear:"none|left|right|both|inline-start|inline-end",clip:"<shape>|auto","clip-path":"<clip-source>|[<basic-shape>||<geometry-box>]|none",color:"<color>","print-color-adjust":"economy|exact","color-scheme":"normal|[light|dark|<custom-ident>]+&&only?","column-count":"<integer>|auto","column-fill":"auto|balance|balance-all","column-gap":"normal|<length-percentage>","column-rule":"<'column-rule-width'>||<'column-rule-style'>||<'column-rule-color'>","column-rule-color":"<color>","column-rule-style":"<'border-style'>","column-rule-width":"<'border-width'>","column-span":"none|all","column-width":"<length>|auto",columns:"<'column-width'>||<'column-count'>",contain:"none|strict|content|[size||layout||style||paint]",content:"normal|none|[<content-replacement>|<content-list>] [/ [<string>|<counter>]+]?","content-visibility":"visible|auto|hidden","counter-increment":"[<counter-name> <integer>?]+|none","counter-reset":"[<counter-name> <integer>?|<reversed-counter-name> <integer>?]+|none","counter-set":"[<counter-name> <integer>?]+|none",cursor:"[[<url> [<x> <y>]? ,]* [auto|default|none|context-menu|help|pointer|progress|wait|cell|crosshair|text|vertical-text|alias|copy|move|no-drop|not-allowed|e-resize|n-resize|ne-resize|nw-resize|s-resize|se-resize|sw-resize|w-resize|ew-resize|ns-resize|nesw-resize|nwse-resize|col-resize|row-resize|all-scroll|zoom-in|zoom-out|grab|grabbing|hand|-webkit-grab|-webkit-grabbing|-webkit-zoom-in|-webkit-zoom-out|-moz-grab|-moz-grabbing|-moz-zoom-in|-moz-zoom-out]]",direction:"ltr|rtl",display:"[<display-outside>||<display-inside>]|<display-listitem>|<display-internal>|<display-box>|<display-legacy>|<-non-standard-display>","empty-cells":"show|hide",filter:"none|<filter-function-list>|<-ms-filter-function-list>",flex:"none|[<'flex-grow'> <'flex-shrink'>?||<'flex-basis'>]","flex-basis":"content|<'width'>","flex-direction":"row|row-reverse|column|column-reverse","flex-flow":"<'flex-direction'>||<'flex-wrap'>","flex-grow":"<number>","flex-shrink":"<number>","flex-wrap":"nowrap|wrap|wrap-reverse",float:"left|right|none|inline-start|inline-end",font:"[[<'font-style'>||<font-variant-css21>||<'font-weight'>||<'font-stretch'>]? <'font-size'> [/ <'line-height'>]? <'font-family'>]|caption|icon|menu|message-box|small-caption|status-bar","font-family":"[<family-name>|<generic-family>]#","font-feature-settings":"normal|<feature-tag-value>#","font-kerning":"auto|normal|none","font-language-override":"normal|<string>","font-optical-sizing":"auto|none","font-variation-settings":"normal|[<string> <number>]#","font-size":"<absolute-size>|<relative-size>|<length-percentage>","font-size-adjust":"none|[ex-height|cap-height|ch-width|ic-width|ic-height]? [from-font|<number>]","font-smooth":"auto|never|always|<absolute-size>|<length>","font-stretch":"<font-stretch-absolute>","font-style":"normal|italic|oblique <angle>?","font-synthesis":"none|[weight||style||small-caps]","font-variant":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>||stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )||[small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps]||<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero||<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-alternates":"normal|[stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )]","font-variant-caps":"normal|small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps","font-variant-east-asian":"normal|[<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-ligatures":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>]","font-variant-numeric":"normal|[<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero]","font-variant-position":"normal|sub|super","font-weight":"<font-weight-absolute>|bolder|lighter","forced-color-adjust":"auto|none",gap:"<'row-gap'> <'column-gap'>?",grid:"<'grid-template'>|<'grid-template-rows'> / [auto-flow&&dense?] <'grid-auto-columns'>?|[auto-flow&&dense?] <'grid-auto-rows'>? / <'grid-template-columns'>","grid-area":"<grid-line> [/ <grid-line>]{0,3}","grid-auto-columns":"<track-size>+","grid-auto-flow":"[row|column]||dense","grid-auto-rows":"<track-size>+","grid-column":"<grid-line> [/ <grid-line>]?","grid-column-end":"<grid-line>","grid-column-gap":"<length-percentage>","grid-column-start":"<grid-line>","grid-gap":"<'grid-row-gap'> <'grid-column-gap'>?","grid-row":"<grid-line> [/ <grid-line>]?","grid-row-end":"<grid-line>","grid-row-gap":"<length-percentage>","grid-row-start":"<grid-line>","grid-template":"none|[<'grid-template-rows'> / <'grid-template-columns'>]|[<line-names>? <string> <track-size>? <line-names>?]+ [/ <explicit-track-list>]?","grid-template-areas":"none|<string>+","grid-template-columns":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","grid-template-rows":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","hanging-punctuation":"none|[first||[force-end|allow-end]||last]",height:"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )","hyphenate-character":"auto|<string>",hyphens:"none|manual|auto","image-orientation":"from-image|<angle>|[<angle>? flip]","image-rendering":"auto|crisp-edges|pixelated|optimizeSpeed|optimizeQuality|<-non-standard-image-rendering>","image-resolution":"[from-image||<resolution>]&&snap?","ime-mode":"auto|normal|active|inactive|disabled","initial-letter":"normal|[<number> <integer>?]","initial-letter-align":"[auto|alphabetic|hanging|ideographic]","inline-size":"<'width'>","input-security":"auto|none",inset:"<'top'>{1,4}","inset-block":"<'top'>{1,2}","inset-block-end":"<'top'>","inset-block-start":"<'top'>","inset-inline":"<'top'>{1,2}","inset-inline-end":"<'top'>","inset-inline-start":"<'top'>",isolation:"auto|isolate","justify-content":"normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]","justify-items":"normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]|legacy|legacy&&[left|right|center]","justify-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]","justify-tracks":"[normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]]#",left:"<length>|<percentage>|auto","letter-spacing":"normal|<length-percentage>","line-break":"auto|loose|normal|strict|anywhere","line-clamp":"none|<integer>","line-height":"normal|<number>|<length>|<percentage>","line-height-step":"<length>","list-style":"<'list-style-type'>||<'list-style-position'>||<'list-style-image'>","list-style-image":"<image>|none","list-style-position":"inside|outside","list-style-type":"<counter-style>|<string>|none",margin:"[<length>|<percentage>|auto]{1,4}","margin-block":"<'margin-left'>{1,2}","margin-block-end":"<'margin-left'>","margin-block-start":"<'margin-left'>","margin-bottom":"<length>|<percentage>|auto","margin-inline":"<'margin-left'>{1,2}","margin-inline-end":"<'margin-left'>","margin-inline-start":"<'margin-left'>","margin-left":"<length>|<percentage>|auto","margin-right":"<length>|<percentage>|auto","margin-top":"<length>|<percentage>|auto","margin-trim":"none|in-flow|all",mask:"<mask-layer>#","mask-border":"<'mask-border-source'>||<'mask-border-slice'> [/ <'mask-border-width'>? [/ <'mask-border-outset'>]?]?||<'mask-border-repeat'>||<'mask-border-mode'>","mask-border-mode":"luminance|alpha","mask-border-outset":"[<length>|<number>]{1,4}","mask-border-repeat":"[stretch|repeat|round|space]{1,2}","mask-border-slice":"<number-percentage>{1,4} fill?","mask-border-source":"none|<image>","mask-border-width":"[<length-percentage>|<number>|auto]{1,4}","mask-clip":"[<geometry-box>|no-clip]#","mask-composite":"<compositing-operator>#","mask-image":"<mask-reference>#","mask-mode":"<masking-mode>#","mask-origin":"<geometry-box>#","mask-position":"<position>#","mask-repeat":"<repeat-style>#","mask-size":"<bg-size>#","mask-type":"luminance|alpha","masonry-auto-flow":"[pack|next]||[definite-first|ordered]","math-style":"normal|compact","max-block-size":"<'max-width'>","max-height":"none|<length-percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )","max-inline-size":"<'max-width'>","max-lines":"none|<integer>","max-width":"none|<length-percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|<-non-standard-width>","min-block-size":"<'min-width'>","min-height":"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )","min-inline-size":"<'min-width'>","min-width":"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|<-non-standard-width>","mix-blend-mode":"<blend-mode>|plus-lighter","object-fit":"fill|contain|cover|none|scale-down","object-position":"<position>",offset:"[<'offset-position'>? [<'offset-path'> [<'offset-distance'>||<'offset-rotate'>]?]?]! [/ <'offset-anchor'>]?","offset-anchor":"auto|<position>","offset-distance":"<length-percentage>","offset-path":"none|ray( [<angle>&&<size>&&contain?] )|<path()>|<url>|[<basic-shape>||<geometry-box>]","offset-position":"auto|<position>","offset-rotate":"[auto|reverse]||<angle>",opacity:"<alpha-value>",order:"<integer>",orphans:"<integer>",outline:"[<'outline-color'>||<'outline-style'>||<'outline-width'>]","outline-color":"<color>|invert","outline-offset":"<length>","outline-style":"auto|<'border-style'>","outline-width":"<line-width>",overflow:"[visible|hidden|clip|scroll|auto]{1,2}|<-non-standard-overflow>","overflow-anchor":"auto|none","overflow-block":"visible|hidden|clip|scroll|auto","overflow-clip-box":"padding-box|content-box","overflow-clip-margin":"<visual-box>||<length [0,\u221E]>","overflow-inline":"visible|hidden|clip|scroll|auto","overflow-wrap":"normal|break-word|anywhere","overflow-x":"visible|hidden|clip|scroll|auto","overflow-y":"visible|hidden|clip|scroll|auto","overscroll-behavior":"[contain|none|auto]{1,2}","overscroll-behavior-block":"contain|none|auto","overscroll-behavior-inline":"contain|none|auto","overscroll-behavior-x":"contain|none|auto","overscroll-behavior-y":"contain|none|auto",padding:"[<length>|<percentage>]{1,4}","padding-block":"<'padding-left'>{1,2}","padding-block-end":"<'padding-left'>","padding-block-start":"<'padding-left'>","padding-bottom":"<length>|<percentage>","padding-inline":"<'padding-left'>{1,2}","padding-inline-end":"<'padding-left'>","padding-inline-start":"<'padding-left'>","padding-left":"<length>|<percentage>","padding-right":"<length>|<percentage>","padding-top":"<length>|<percentage>","page-break-after":"auto|always|avoid|left|right|recto|verso","page-break-before":"auto|always|avoid|left|right|recto|verso","page-break-inside":"auto|avoid","paint-order":"normal|[fill||stroke||markers]",perspective:"none|<length>","perspective-origin":"<position>","place-content":"<'align-content'> <'justify-content'>?","place-items":"<'align-items'> <'justify-items'>?","place-self":"<'align-self'> <'justify-self'>?","pointer-events":"auto|none|visiblePainted|visibleFill|visibleStroke|visible|painted|fill|stroke|all|inherit",position:"static|relative|absolute|sticky|fixed|-webkit-sticky",quotes:"none|auto|[<string> <string>]+",resize:"none|both|horizontal|vertical|block|inline",right:"<length>|<percentage>|auto",rotate:"none|<angle>|[x|y|z|<number>{3}]&&<angle>","row-gap":"normal|<length-percentage>","ruby-align":"start|center|space-between|space-around","ruby-merge":"separate|collapse|auto","ruby-position":"[alternate||[over|under]]|inter-character",scale:"none|<number>{1,3}","scrollbar-color":"auto|<color>{2}","scrollbar-gutter":"auto|stable&&both-edges?","scrollbar-width":"auto|thin|none","scroll-behavior":"auto|smooth","scroll-margin":"<length>{1,4}","scroll-margin-block":"<length>{1,2}","scroll-margin-block-start":"<length>","scroll-margin-block-end":"<length>","scroll-margin-bottom":"<length>","scroll-margin-inline":"<length>{1,2}","scroll-margin-inline-start":"<length>","scroll-margin-inline-end":"<length>","scroll-margin-left":"<length>","scroll-margin-right":"<length>","scroll-margin-top":"<length>","scroll-padding":"[auto|<length-percentage>]{1,4}","scroll-padding-block":"[auto|<length-percentage>]{1,2}","scroll-padding-block-start":"auto|<length-percentage>","scroll-padding-block-end":"auto|<length-percentage>","scroll-padding-bottom":"auto|<length-percentage>","scroll-padding-inline":"[auto|<length-percentage>]{1,2}","scroll-padding-inline-start":"auto|<length-percentage>","scroll-padding-inline-end":"auto|<length-percentage>","scroll-padding-left":"auto|<length-percentage>","scroll-padding-right":"auto|<length-percentage>","scroll-padding-top":"auto|<length-percentage>","scroll-snap-align":"[none|start|end|center]{1,2}","scroll-snap-coordinate":"none|<position>#","scroll-snap-destination":"<position>","scroll-snap-points-x":"none|repeat( <length-percentage> )","scroll-snap-points-y":"none|repeat( <length-percentage> )","scroll-snap-stop":"normal|always","scroll-snap-type":"none|[x|y|block|inline|both] [mandatory|proximity]?","scroll-snap-type-x":"none|mandatory|proximity","scroll-snap-type-y":"none|mandatory|proximity","shape-image-threshold":"<alpha-value>","shape-margin":"<length-percentage>","shape-outside":"none|[<shape-box>||<basic-shape>]|<image>","tab-size":"<integer>|<length>","table-layout":"auto|fixed","text-align":"start|end|left|right|center|justify|match-parent","text-align-last":"auto|start|end|left|right|center|justify","text-combine-upright":"none|all|[digits <integer>?]","text-decoration":"<'text-decoration-line'>||<'text-decoration-style'>||<'text-decoration-color'>||<'text-decoration-thickness'>","text-decoration-color":"<color>","text-decoration-line":"none|[underline||overline||line-through||blink]|spelling-error|grammar-error","text-decoration-skip":"none|[objects||[spaces|[leading-spaces||trailing-spaces]]||edges||box-decoration]","text-decoration-skip-ink":"auto|all|none","text-decoration-style":"solid|double|dotted|dashed|wavy","text-decoration-thickness":"auto|from-font|<length>|<percentage>","text-emphasis":"<'text-emphasis-style'>||<'text-emphasis-color'>","text-emphasis-color":"<color>","text-emphasis-position":"[over|under]&&[right|left]","text-emphasis-style":"none|[[filled|open]||[dot|circle|double-circle|triangle|sesame]]|<string>","text-indent":"<length-percentage>&&hanging?&&each-line?","text-justify":"auto|inter-character|inter-word|none","text-orientation":"mixed|upright|sideways","text-overflow":"[clip|ellipsis|<string>]{1,2}","text-rendering":"auto|optimizeSpeed|optimizeLegibility|geometricPrecision","text-shadow":"none|<shadow-t>#","text-size-adjust":"none|auto|<percentage>","text-transform":"none|capitalize|uppercase|lowercase|full-width|full-size-kana","text-underline-offset":"auto|<length>|<percentage>","text-underline-position":"auto|from-font|[under||[left|right]]",top:"<length>|<percentage>|auto","touch-action":"auto|none|[[pan-x|pan-left|pan-right]||[pan-y|pan-up|pan-down]||pinch-zoom]|manipulation",transform:"none|<transform-list>","transform-box":"content-box|border-box|fill-box|stroke-box|view-box","transform-origin":"[<length-percentage>|left|center|right|top|bottom]|[[<length-percentage>|left|center|right]&&[<length-percentage>|top|center|bottom]] <length>?","transform-style":"flat|preserve-3d",transition:"<single-transition>#","transition-delay":"<time>#","transition-duration":"<time>#","transition-property":"none|<single-transition-property>#","transition-timing-function":"<easing-function>#",translate:"none|<length-percentage> [<length-percentage> <length>?]?","unicode-bidi":"normal|embed|isolate|bidi-override|isolate-override|plaintext|-moz-isolate|-moz-isolate-override|-moz-plaintext|-webkit-isolate|-webkit-isolate-override|-webkit-plaintext","user-select":"auto|text|none|contain|all","vertical-align":"baseline|sub|super|text-top|text-bottom|middle|top|bottom|<percentage>|<length>",visibility:"visible|hidden|collapse","white-space":"normal|pre|nowrap|pre-wrap|pre-line|break-spaces",widows:"<integer>",width:"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|fill|stretch|intrinsic|-moz-max-content|-webkit-max-content|-moz-fit-content|-webkit-fit-content","will-change":"auto|<animateable-feature>#","word-break":"normal|break-all|keep-all|break-word","word-spacing":"normal|<length>","word-wrap":"normal|break-word","writing-mode":"horizontal-tb|vertical-rl|vertical-lr|sideways-rl|sideways-lr|<svg-writing-mode>","z-index":"auto|<integer>",zoom:"normal|reset|<number>|<percentage>","-moz-background-clip":"padding|border","-moz-border-radius-bottomleft":"<'border-bottom-left-radius'>","-moz-border-radius-bottomright":"<'border-bottom-right-radius'>","-moz-border-radius-topleft":"<'border-top-left-radius'>","-moz-border-radius-topright":"<'border-bottom-right-radius'>","-moz-control-character-visibility":"visible|hidden","-moz-osx-font-smoothing":"auto|grayscale","-moz-user-select":"none|text|all|-moz-none","-ms-flex-align":"start|end|center|baseline|stretch","-ms-flex-item-align":"auto|start|end|center|baseline|stretch","-ms-flex-line-pack":"start|end|center|justify|distribute|stretch","-ms-flex-negative":"<'flex-shrink'>","-ms-flex-pack":"start|end|center|justify|distribute","-ms-flex-order":"<integer>","-ms-flex-positive":"<'flex-grow'>","-ms-flex-preferred-size":"<'flex-basis'>","-ms-interpolation-mode":"nearest-neighbor|bicubic","-ms-grid-column-align":"start|end|center|stretch","-ms-grid-row-align":"start|end|center|stretch","-ms-hyphenate-limit-last":"none|always|column|page|spread","-webkit-background-clip":"[<box>|border|padding|content|text]#","-webkit-column-break-after":"always|auto|avoid","-webkit-column-break-before":"always|auto|avoid","-webkit-column-break-inside":"always|auto|avoid","-webkit-font-smoothing":"auto|none|antialiased|subpixel-antialiased","-webkit-mask-box-image":"[<url>|<gradient>|none] [<length-percentage>{4} <-webkit-mask-box-repeat>{2}]?","-webkit-print-color-adjust":"economy|exact","-webkit-text-security":"none|circle|disc|square","-webkit-user-drag":"none|element|auto","-webkit-user-select":"auto|none|text|all","alignment-baseline":"auto|baseline|before-edge|text-before-edge|middle|central|after-edge|text-after-edge|ideographic|alphabetic|hanging|mathematical","baseline-shift":"baseline|sub|super|<svg-length>",behavior:"<url>+","clip-rule":"nonzero|evenodd",cue:"<'cue-before'> <'cue-after'>?","cue-after":"<url> <decibel>?|none","cue-before":"<url> <decibel>?|none","dominant-baseline":"auto|use-script|no-change|reset-size|ideographic|alphabetic|hanging|mathematical|central|middle|text-after-edge|text-before-edge",fill:"<paint>","fill-opacity":"<number-zero-one>","fill-rule":"nonzero|evenodd","glyph-orientation-horizontal":"<angle>","glyph-orientation-vertical":"<angle>",kerning:"auto|<svg-length>",marker:"none|<url>","marker-end":"none|<url>","marker-mid":"none|<url>","marker-start":"none|<url>",pause:"<'pause-before'> <'pause-after'>?","pause-after":"<time>|none|x-weak|weak|medium|strong|x-strong","pause-before":"<time>|none|x-weak|weak|medium|strong|x-strong",rest:"<'rest-before'> <'rest-after'>?","rest-after":"<time>|none|x-weak|weak|medium|strong|x-strong","rest-before":"<time>|none|x-weak|weak|medium|strong|x-strong","shape-rendering":"auto|optimizeSpeed|crispEdges|geometricPrecision",src:"[<url> [format( <string># )]?|local( <family-name> )]#",speak:"auto|none|normal","speak-as":"normal|spell-out||digits||[literal-punctuation|no-punctuation]",stroke:"<paint>","stroke-dasharray":"none|[<svg-length>+]#","stroke-dashoffset":"<svg-length>","stroke-linecap":"butt|round|square","stroke-linejoin":"miter|round|bevel","stroke-miterlimit":"<number-one-or-greater>","stroke-opacity":"<number-zero-one>","stroke-width":"<svg-length>","text-anchor":"start|middle|end","unicode-range":"<urange>#","voice-balance":"<number>|left|center|right|leftwards|rightwards","voice-duration":"auto|<time>","voice-family":"[[<family-name>|<generic-voice>] ,]* [<family-name>|<generic-voice>]|preserve","voice-pitch":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-range":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-rate":"[normal|x-slow|slow|medium|fast|x-fast]||<percentage>","voice-stress":"normal|strong|moderate|none|reduced","voice-volume":"silent|[[x-soft|soft|medium|loud|x-loud]||<decibel>]"},atrules:{charset:{prelude:"<string>",descriptors:null},"counter-style":{prelude:"<counter-style-name>",descriptors:{"additive-symbols":"[<integer>&&<symbol>]#",fallback:"<counter-style-name>",negative:"<symbol> <symbol>?",pad:"<integer>&&<symbol>",prefix:"<symbol>",range:"[[<integer>|infinite]{2}]#|auto","speak-as":"auto|bullets|numbers|words|spell-out|<counter-style-name>",suffix:"<symbol>",symbols:"<symbol>+",system:"cyclic|numeric|alphabetic|symbolic|additive|[fixed <integer>?]|[extends <counter-style-name>]"}},document:{prelude:"[<url>|url-prefix( <string> )|domain( <string> )|media-document( <string> )|regexp( <string> )]#",descriptors:null},"font-face":{prelude:null,descriptors:{"ascent-override":"normal|<percentage>","descent-override":"normal|<percentage>","font-display":"[auto|block|swap|fallback|optional]","font-family":"<family-name>","font-feature-settings":"normal|<feature-tag-value>#","font-variation-settings":"normal|[<string> <number>]#","font-stretch":"<font-stretch-absolute>{1,2}","font-style":"normal|italic|oblique <angle>{0,2}","font-weight":"<font-weight-absolute>{1,2}","font-variant":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>||stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )||[small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps]||<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero||<east-asian-variant-values>||<east-asian-width-values>||ruby]","line-gap-override":"normal|<percentage>","size-adjust":"<percentage>",src:"[<url> [format( <string># )]?|local( <family-name> )]#","unicode-range":"<urange>#"}},"font-feature-values":{prelude:"<family-name>#",descriptors:null},import:{prelude:"[<string>|<url>] [layer|layer( <layer-name> )]? [supports( [<supports-condition>|<declaration>] )]? <media-query-list>?",descriptors:null},keyframes:{prelude:"<keyframes-name>",descriptors:null},layer:{prelude:"[<layer-name>#|<layer-name>?]",descriptors:null},media:{prelude:"<media-query-list>",descriptors:null},namespace:{prelude:"<namespace-prefix>? [<string>|<url>]",descriptors:null},page:{prelude:"<page-selector-list>",descriptors:{bleed:"auto|<length>",marks:"none|[crop||cross]",size:"<length>{1,2}|auto|[<page-size>||[portrait|landscape]]"}},property:{prelude:"<custom-property-name>",descriptors:{syntax:"<string>",inherits:"true|false","initial-value":"<string>"}},"scroll-timeline":{prelude:"<timeline-name>",descriptors:null},supports:{prelude:"<supports-condition>",descriptors:null},viewport:{prelude:null,descriptors:{height:"<viewport-length>{1,2}","max-height":"<viewport-length>","max-width":"<viewport-length>","max-zoom":"auto|<number>|<percentage>","min-height":"<viewport-length>","min-width":"<viewport-length>","min-zoom":"auto|<number>|<percentage>",orientation:"auto|portrait|landscape","user-zoom":"zoom|fixed","viewport-fit":"auto|contain|cover",width:"<viewport-length>{1,2}",zoom:"auto|<number>|<percentage>"}}}};var Dn={};R(Dn,{AnPlusB:()=>es,Atrule:()=>ns,AtrulePrelude:()=>is,AttributeSelector:()=>ss,Block:()=>us,Brackets:()=>fs,CDC:()=>ds,CDO:()=>gs,ClassSelector:()=>xs,Combinator:()=>ks,Comment:()=>vs,Declaration:()=>Cs,DeclarationList:()=>Es,Dimension:()=>Ts,Function:()=>zs,Hash:()=>Ls,IdSelector:()=>_s,Identifier:()=>Is,MediaFeature:()=>Ds,MediaQuery:()=>Ns,MediaQueryList:()=>Us,Nth:()=>qs,Number:()=>Hs,Operator:()=>Gs,Parentheses:()=>Xs,Percentage:()=>Zs,PseudoClassSelector:()=>el,PseudoElementSelector:()=>rl,Ratio:()=>ol,Raw:()=>al,Rule:()=>ll,Selector:()=>ul,SelectorList:()=>fl,String:()=>ml,StyleSheet:()=>bl,TypeSelector:()=>yl,UnicodeRange:()=>vl,Url:()=>El,Value:()=>Tl,WhiteSpace:()=>zl});p();f();var es={};R(es,{generate:()=>ky,name:()=>xy,parse:()=>rs,structure:()=>yy});p();f();var Ke=43,ze=45,oi=110,Tt=!0,by=!1;function ii(e,t){let r=this.tokenStart+e,n=this.charCodeAt(r);for((n===Ke||n===ze)&&(t&&this.error("Number sign is not allowed"),r++);r<this.tokenEnd;r++)re(this.charCodeAt(r))||this.error("Integer is expected",r)}function nr(e){return ii.call(this,0,e)}function gt(e,t){if(!this.cmpChar(this.tokenStart+e,t)){let r="";switch(t){case oi:r="N is expected";break;case ze:r="HyphenMinus is expected";break}this.error(r,this.tokenStart+e)}}function ts(){let e=0,t=0,r=this.tokenType;for(;r===_||r===V;)r=this.lookupType(++e);if(r!==A)if(this.isDelim(Ke,e)||this.isDelim(ze,e)){t=this.isDelim(Ke,e)?Ke:ze;do r=this.lookupType(++e);while(r===_||r===V);r!==A&&(this.skip(e),nr.call(this,Tt))}else return null;return e>0&&this.skip(e),t===0&&(r=this.charCodeAt(this.tokenStart),r!==Ke&&r!==ze&&this.error("Number sign is expected")),nr.call(this,t!==0),t===ze?"-"+this.consume(A):this.consume(A)}var xy="AnPlusB",yy={a:[String,null],b:[String,null]};function rs(){let e=this.tokenStart,t=null,r=null;if(this.tokenType===A)nr.call(this,by),r=this.consume(A);else if(this.tokenType===w&&this.cmpChar(this.tokenStart,ze))switch(t="-1",gt.call(this,1,oi),this.tokenEnd-this.tokenStart){case 2:this.next(),r=ts.call(this);break;case 3:gt.call(this,2,ze),this.next(),this.skipSC(),nr.call(this,Tt),r="-"+this.consume(A);break;default:gt.call(this,2,ze),ii.call(this,3,Tt),this.next(),r=this.substrToCursor(e+2)}else if(this.tokenType===w||this.isDelim(Ke)&&this.lookupType(1)===w){let n=0;switch(t="1",this.isDelim(Ke)&&(n=1,this.next()),gt.call(this,0,oi),this.tokenEnd-this.tokenStart){case 1:this.next(),r=ts.call(this);break;case 2:gt.call(this,1,ze),this.next(),this.skipSC(),nr.call(this,Tt),r="-"+this.consume(A);break;default:gt.call(this,1,ze),ii.call(this,2,Tt),this.next(),r=this.substrToCursor(e+n+1)}}else if(this.tokenType===O){let n=this.charCodeAt(this.tokenStart),o=n===Ke||n===ze,i=this.tokenStart+o;for(;i<this.tokenEnd&&re(this.charCodeAt(i));i++);i===this.tokenStart+o&&this.error("Integer is expected",this.tokenStart+o),gt.call(this,i-this.tokenStart,oi),t=this.substring(e,i),i+1===this.tokenEnd?(this.next(),r=ts.call(this)):(gt.call(this,i-this.tokenStart+1,ze),i+2===this.tokenEnd?(this.next(),this.skipSC(),nr.call(this,Tt),r="-"+this.consume(A)):(ii.call(this,i-this.tokenStart+2,Tt),this.next(),r=this.substrToCursor(i+1)))}else this.error();return t!==null&&t.charCodeAt(0)===Ke&&(t=t.substr(1)),r!==null&&r.charCodeAt(0)===Ke&&(r=r.substr(1)),{type:"AnPlusB",loc:this.getLocation(e,this.tokenStart),a:t,b:r}}function ky(e){if(e.a){let t=e.a==="+1"&&"n"||e.a==="1"&&"n"||e.a==="-1"&&"-n"||e.a+"n";if(e.b){let r=e.b[0]==="-"||e.b[0]==="+"?e.b:"+"+e.b;this.tokenize(t+r)}else this.tokenize(t)}else this.tokenize(e.b)}var ns={};R(ns,{generate:()=>$y,name:()=>vy,parse:()=>os,structure:()=>Cy,walkContext:()=>Sy});p();f();function Wf(e){return this.Raw(e,this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function wy(){for(let e=1,t;t=this.lookupType(e);e++){if(t===de)return!0;if(t===ee||t===Z)return!1}return!1}var vy="Atrule",Sy="atrule",Cy={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]};function os(){let e=this.tokenStart,t,r,n=null,o=null;switch(this.eat(Z),t=this.substrToCursor(e+1),r=t.toLowerCase(),this.skipSC(),this.eof===!1&&this.tokenType!==ee&&this.tokenType!==ie&&(this.parseAtrulePrelude?n=this.parseWithFallback(this.AtrulePrelude.bind(this,t),Wf):n=Wf.call(this,this.tokenIndex),this.skipSC()),this.tokenType){case ie:this.next();break;case ee:hasOwnProperty.call(this.atrule,r)&&typeof this.atrule[r].block=="function"?o=this.atrule[r].block.call(this):o=this.Block(wy.call(this));break}return{type:"Atrule",loc:this.getLocation(e,this.tokenStart),name:t,prelude:n,block:o}}function $y(e){this.token(Z,"@"+e.name),e.prelude!==null&&this.node(e.prelude),e.block?this.node(e.block):this.token(ie,";")}var is={};R(is,{generate:()=>jy,name:()=>Ey,parse:()=>as,structure:()=>Ty,walkContext:()=>Ay});p();f();var Ey="AtrulePrelude",Ay="atrulePrelude",Ty={children:[[]]};function as(e){let t=null;return e!==null&&(e=e.toLowerCase()),this.skipSC(),hasOwnProperty.call(this.atrule,e)&&typeof this.atrule[e].prelude=="function"?t=this.atrule[e].prelude.call(this):t=this.readSequence(this.scope.AtrulePrelude),this.skipSC(),this.eof!==!0&&this.tokenType!==ee&&this.tokenType!==ie&&this.error("Semicolon or block is expected"),{type:"AtrulePrelude",loc:this.getLocationFromList(t),children:t}}function jy(e){this.children(e)}var ss={};R(ss,{generate:()=>My,name:()=>Oy,parse:()=>cs,structure:()=>_y});p();f();var zy=36,qf=42,ai=61,Py=94,ls=124,Ly=126;function Ry(){this.eof&&this.error("Unexpected end of input");let e=this.tokenStart,t=!1;return this.isDelim(qf)?(t=!0,this.next()):this.isDelim(ls)||this.eat(w),this.isDelim(ls)?this.charCodeAt(this.tokenStart+1)!==ai?(this.next(),this.eat(w)):t&&this.error("Identifier is expected",this.tokenEnd):t&&this.error("Vertical line is expected"),{type:"Identifier",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function Iy(){let e=this.tokenStart,t=this.charCodeAt(e);return t!==ai&&t!==Ly&&t!==Py&&t!==zy&&t!==qf&&t!==ls&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.next(),t!==ai&&(this.isDelim(ai)||this.error("Equal sign is expected"),this.next()),this.substrToCursor(e)}var Oy="AttributeSelector",_y={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]};function cs(){let e=this.tokenStart,t,r=null,n=null,o=null;return this.eat(ae),this.skipSC(),t=Ry.call(this),this.skipSC(),this.tokenType!==ke&&(this.tokenType!==w&&(r=Iy.call(this),this.skipSC(),n=this.tokenType===he?this.String():this.Identifier(),this.skipSC()),this.tokenType===w&&(o=this.consume(w),this.skipSC())),this.eat(ke),{type:"AttributeSelector",loc:this.getLocation(e,this.tokenStart),name:t,matcher:r,value:n,flags:o}}function My(e){this.token(P,"["),this.node(e.name),e.matcher!==null&&(this.tokenize(e.matcher),this.node(e.value)),e.flags!==null&&this.token(w,e.flags),this.token(P,"]")}var us={};R(us,{generate:()=>Wy,name:()=>Ny,parse:()=>ps,structure:()=>Uy,walkContext:()=>By});p();f();function Yf(e){return this.Raw(e,null,!0)}function Dy(){return this.parseWithFallback(this.Rule,Yf)}function Hf(e){return this.Raw(e,this.consumeUntilSemicolonIncluded,!0)}function Fy(){if(this.tokenType===ie)return Hf.call(this,this.tokenIndex);let e=this.parseWithFallback(this.Declaration,Hf);return this.tokenType===ie&&this.next(),e}var Ny="Block",By="block",Uy={children:[["Atrule","Rule","Declaration"]]};function ps(e){let t=e?Fy:Dy,r=this.tokenStart,n=this.createList();this.eat(ee);e:for(;!this.eof;)switch(this.tokenType){case de:break e;case _:case V:this.next();break;case Z:n.push(this.parseWithFallback(this.Atrule,Yf));break;default:n.push(t.call(this))}return this.eof||this.eat(de),{type:"Block",loc:this.getLocation(r,this.tokenStart),children:n}}function Wy(e){this.token(ee,"{"),this.children(e,t=>{t.type==="Declaration"&&this.token(ie,";")}),this.token(de,"}")}var fs={};R(fs,{generate:()=>Hy,name:()=>qy,parse:()=>hs,structure:()=>Yy});p();f();var qy="Brackets",Yy={children:[[]]};function hs(e,t){let r=this.tokenStart,n=null;return this.eat(ae),n=e.call(this,t),this.eof||this.eat(ke),{type:"Brackets",loc:this.getLocation(r,this.tokenStart),children:n}}function Hy(e){this.token(P,"["),this.children(e),this.token(P,"]")}var ds={};R(ds,{generate:()=>Ky,name:()=>Vy,parse:()=>ms,structure:()=>Gy});p();f();var Vy="CDC",Gy=[];function ms(){let e=this.tokenStart;return this.eat(ce),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}}function Ky(){this.token(ce,"-->")}var gs={};R(gs,{generate:()=>Zy,name:()=>Xy,parse:()=>bs,structure:()=>Qy});p();f();var Xy="CDO",Qy=[];function bs(){let e=this.tokenStart;return this.eat(tt),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}}function Zy(){this.token(tt,"<!--")}var xs={};R(xs,{generate:()=>rk,name:()=>ek,parse:()=>ys,structure:()=>tk});p();f();var Jy=46,ek="ClassSelector",tk={name:String};function ys(){return this.eatDelim(Jy),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(w)}}function rk(e){this.token(P,"."),this.token(w,e.name)}var ks={};R(ks,{generate:()=>lk,name:()=>ak,parse:()=>ws,structure:()=>sk});p();f();var nk=43,Vf=47,ok=62,ik=126,ak="Combinator",sk={name:String};function ws(){let e=this.tokenStart,t;switch(this.tokenType){case _:t=" ";break;case P:switch(this.charCodeAt(this.tokenStart)){case ok:case nk:case ik:this.next();break;case Vf:this.next(),this.eatIdent("deep"),this.eatDelim(Vf);break;default:this.error("Combinator is expected")}t=this.substrToCursor(e);break}return{type:"Combinator",loc:this.getLocation(e,this.tokenStart),name:t}}function lk(e){this.tokenize(e.name)}var vs={};R(vs,{generate:()=>hk,name:()=>pk,parse:()=>Ss,structure:()=>fk});p();f();var ck=42,uk=47,pk="Comment",fk={value:String};function Ss(){let e=this.tokenStart,t=this.tokenEnd;return this.eat(V),t-e+2>=2&&this.charCodeAt(t-2)===ck&&this.charCodeAt(t-1)===uk&&(t-=2),{type:"Comment",loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}function hk(e){this.token(V,"/*"+e.value+"*/")}var Cs={};R(Cs,{generate:()=>Ak,name:()=>vk,parse:()=>$s,structure:()=>Ck,walkContext:()=>Sk});p();f();var Gf=33,dk=35,mk=36,gk=38,bk=42,xk=43,Kf=47;function yk(e){return this.Raw(e,this.consumeUntilExclamationMarkOrSemicolon,!0)}function kk(e){return this.Raw(e,this.consumeUntilExclamationMarkOrSemicolon,!1)}function wk(){let e=this.tokenIndex,t=this.Value();return t.type!=="Raw"&&this.eof===!1&&this.tokenType!==ie&&this.isDelim(Gf)===!1&&this.isBalanceEdge(e)===!1&&this.error(),t}var vk="Declaration",Sk="declaration",Ck={important:[Boolean,String],property:String,value:["Value","Raw"]};function $s(){let e=this.tokenStart,t=this.tokenIndex,r=$k.call(this),n=Yo(r),o=n?this.parseCustomProperty:this.parseValue,i=n?kk:yk,a=!1,l;this.skipSC(),this.eat(J);let u=this.tokenIndex;if(n||this.skipSC(),o?l=this.parseWithFallback(wk,i):l=i.call(this,this.tokenIndex),n&&l.type==="Value"&&l.children.isEmpty){for(let s=u-this.tokenIndex;s<=0;s++)if(this.lookupType(s)===_){l.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}return this.isDelim(Gf)&&(a=Ek.call(this),this.skipSC()),this.eof===!1&&this.tokenType!==ie&&this.isBalanceEdge(t)===!1&&this.error(),{type:"Declaration",loc:this.getLocation(e,this.tokenStart),important:a,property:r,value:l}}function Ak(e){this.token(w,e.property),this.token(J,":"),this.node(e.value),e.important&&(this.token(P,"!"),this.token(w,e.important===!0?"important":e.important))}function $k(){let e=this.tokenStart;if(this.tokenType===P)switch(this.charCodeAt(this.tokenStart)){case bk:case mk:case xk:case dk:case gk:this.next();break;case Kf:this.next(),this.isDelim(Kf)&&this.next();break}return this.tokenType===N?this.eat(N):this.eat(w),this.substrToCursor(e)}function Ek(){this.eat(P),this.skipSC();let e=this.consume(w);return e==="important"?!0:e}var Es={};R(Es,{generate:()=>Pk,name:()=>jk,parse:()=>As,structure:()=>zk});p();f();function Tk(e){return this.Raw(e,this.consumeUntilSemicolonIncluded,!0)}var jk="DeclarationList",zk={children:[["Declaration"]]};function As(){let e=this.createList();e:for(;!this.eof;)switch(this.tokenType){case _:case V:case ie:this.next();break;default:e.push(this.parseWithFallback(this.Declaration,Tk))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}}function Pk(e){this.children(e,t=>{t.type==="Declaration"&&this.token(ie,";")})}var Ts={};R(Ts,{generate:()=>Ik,name:()=>Lk,parse:()=>js,structure:()=>Rk});p();f();var Lk="Dimension",Rk={value:String,unit:String};function js(){let e=this.tokenStart,t=this.consumeNumber(O);return{type:"Dimension",loc:this.getLocation(e,this.tokenStart),value:t,unit:this.substring(e+t.length,this.tokenStart)}}function Ik(e){this.token(O,e.value+e.unit)}var zs={};R(zs,{generate:()=>Dk,name:()=>Ok,parse:()=>Ps,structure:()=>Mk,walkContext:()=>_k});p();f();var Ok="Function",_k="function",Mk={name:String,children:[[]]};function Ps(e,t){let r=this.tokenStart,n=this.consumeFunctionName(),o=n.toLowerCase(),i;return i=t.hasOwnProperty(o)?t[o].call(this,t):e.call(this,t),this.eof||this.eat(F),{type:"Function",loc:this.getLocation(r,this.tokenStart),name:n,children:i}}function Dk(e){this.token(I,e.name+"("),this.children(e),this.token(F,")")}var Ls={};R(Ls,{generate:()=>Uk,name:()=>Nk,parse:()=>Rs,structure:()=>Bk,xxx:()=>Fk});p();f();var Fk="XXX",Nk="Hash",Bk={value:String};function Rs(){let e=this.tokenStart;return this.eat(N),{type:"Hash",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}function Uk(e){this.token(N,"#"+e.value)}var Is={};R(Is,{generate:()=>Yk,name:()=>Wk,parse:()=>Os,structure:()=>qk});p();f();var Wk="Identifier",qk={name:String};function Os(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(w)}}function Yk(e){this.token(w,e.name)}var _s={};R(_s,{generate:()=>Gk,name:()=>Hk,parse:()=>Ms,structure:()=>Vk});p();f();var Hk="IdSelector",Vk={name:String};function Ms(){let e=this.tokenStart;return this.eat(N),{type:"IdSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}function Gk(e){this.token(P,"#"+e.name)}var Ds={};R(Ds,{generate:()=>Qk,name:()=>Kk,parse:()=>Fs,structure:()=>Xk});p();f();var Kk="MediaFeature",Xk={name:String,value:["Identifier","Number","Dimension","Ratio",null]};function Fs(){let e=this.tokenStart,t,r=null;if(this.eat(q),this.skipSC(),t=this.consume(w),this.skipSC(),this.tokenType!==F){switch(this.eat(J),this.skipSC(),this.tokenType){case A:this.lookupNonWSType(1)===P?r=this.Ratio():r=this.Number();break;case O:r=this.Dimension();break;case w:r=this.Identifier();break;default:this.error("Number, dimension, ratio or identifier is expected")}this.skipSC()}return this.eat(F),{type:"MediaFeature",loc:this.getLocation(e,this.tokenStart),name:t,value:r}}function Qk(e){this.token(q,"("),this.token(w,e.name),e.value!==null&&(this.token(J,":"),this.node(e.value)),this.token(F,")")}var Ns={};R(Ns,{generate:()=>ew,name:()=>Zk,parse:()=>Bs,structure:()=>Jk});p();f();var Zk="MediaQuery",Jk={children:[["Identifier","MediaFeature","WhiteSpace"]]};function Bs(){let e=this.createList(),t=null;this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case V:case _:this.next();continue;case w:t=this.Identifier();break;case q:t=this.MediaFeature();break;default:break e}e.push(t)}return t===null&&this.error("Identifier or parenthesis is expected"),{type:"MediaQuery",loc:this.getLocationFromList(e),children:e}}function ew(e){this.children(e)}var Us={};R(Us,{generate:()=>nw,name:()=>tw,parse:()=>Ws,structure:()=>rw});p();f();var tw="MediaQueryList",rw={children:[["MediaQuery"]]};function Ws(){let e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.MediaQuery()),this.tokenType===ye);)this.next();return{type:"MediaQueryList",loc:this.getLocationFromList(e),children:e}}function nw(e){this.children(e,()=>this.token(ye,","))}var qs={};R(qs,{generate:()=>aw,name:()=>ow,parse:()=>Ys,structure:()=>iw});p();f();var ow="Nth",iw={nth:["AnPlusB","Identifier"],selector:["SelectorList",null]};function Ys(){this.skipSC();let e=this.tokenStart,t=e,r=null,n;return this.lookupValue(0,"odd")||this.lookupValue(0,"even")?n=this.Identifier():n=this.AnPlusB(),t=this.tokenStart,this.skipSC(),this.lookupValue(0,"of")&&(this.next(),r=this.SelectorList(),t=this.tokenStart),{type:"Nth",loc:this.getLocation(e,t),nth:n,selector:r}}function aw(e){this.node(e.nth),e.selector!==null&&(this.token(w,"of"),this.node(e.selector))}var Hs={};R(Hs,{generate:()=>cw,name:()=>sw,parse:()=>Vs,structure:()=>lw});p();f();var sw="Number",lw={value:String};function Vs(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(A)}}function cw(e){this.token(A,e.value)}var Gs={};R(Gs,{generate:()=>fw,name:()=>uw,parse:()=>Ks,structure:()=>pw});p();f();var uw="Operator",pw={value:String};function Ks(){let e=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function fw(e){this.tokenize(e.value)}var Xs={};R(Xs,{generate:()=>mw,name:()=>hw,parse:()=>Qs,structure:()=>dw});p();f();var hw="Parentheses",dw={children:[[]]};function Qs(e,t){let r=this.tokenStart,n=null;return this.eat(q),n=e.call(this,t),this.eof||this.eat(F),{type:"Parentheses",loc:this.getLocation(r,this.tokenStart),children:n}}function mw(e){this.token(q,"("),this.children(e),this.token(F,")")}var Zs={};R(Zs,{generate:()=>xw,name:()=>gw,parse:()=>Js,structure:()=>bw});p();f();var gw="Percentage",bw={value:String};function Js(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(W)}}function xw(e){this.token(W,e.value+"%")}var el={};R(el,{generate:()=>vw,name:()=>yw,parse:()=>tl,structure:()=>ww,walkContext:()=>kw});p();f();var yw="PseudoClassSelector",kw="function",ww={name:String,children:[["Raw"],null]};function tl(){let e=this.tokenStart,t=null,r,n;return this.eat(J),this.tokenType===I?(r=this.consumeFunctionName(),n=r.toLowerCase(),hasOwnProperty.call(this.pseudo,n)?(this.skipSC(),t=this.pseudo[n].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(this.tokenIndex,null,!1))),this.eat(F)):r=this.consume(w),{type:"PseudoClassSelector",loc:this.getLocation(e,this.tokenStart),name:r,children:t}}function vw(e){this.token(J,":"),e.children===null?this.token(w,e.name):(this.token(I,e.name+"("),this.children(e),this.token(F,")"))}var rl={};R(rl,{generate:()=>Ew,name:()=>Sw,parse:()=>nl,structure:()=>$w,walkContext:()=>Cw});p();f();var Sw="PseudoElementSelector",Cw="function",$w={name:String,children:[["Raw"],null]};function nl(){let e=this.tokenStart,t=null,r,n;return this.eat(J),this.eat(J),this.tokenType===I?(r=this.consumeFunctionName(),n=r.toLowerCase(),hasOwnProperty.call(this.pseudo,n)?(this.skipSC(),t=this.pseudo[n].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(this.tokenIndex,null,!1))),this.eat(F)):r=this.consume(w),{type:"PseudoElementSelector",loc:this.getLocation(e,this.tokenStart),name:r,children:t}}function Ew(e){this.token(J,":"),this.token(J,":"),e.children===null?this.token(w,e.name):(this.token(I,e.name+"("),this.children(e),this.token(F,")"))}var ol={};R(ol,{generate:()=>Pw,name:()=>jw,parse:()=>il,structure:()=>zw});p();f();var Aw=47,Tw=46;function Xf(){this.skipSC();let e=this.consume(A);for(let t=0;t<e.length;t++){let r=e.charCodeAt(t);!re(r)&&r!==Tw&&this.error("Unsigned number is expected",this.tokenStart-e.length+t)}return Number(e)===0&&this.error("Zero number is not allowed",this.tokenStart-e.length),e}var jw="Ratio",zw={left:String,right:String};function il(){let e=this.tokenStart,t=Xf.call(this),r;return this.skipSC(),this.eatDelim(Aw),r=Xf.call(this),{type:"Ratio",loc:this.getLocation(e,this.tokenStart),left:t,right:r}}function Pw(e){this.token(A,e.left),this.token(P,"/"),this.token(A,e.right)}var al={};R(al,{generate:()=>Ow,name:()=>Rw,parse:()=>sl,structure:()=>Iw});p();f();function Lw(){return this.tokenIndex>0&&this.lookupType(-1)===_?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}var Rw="Raw",Iw={value:String};function sl(e,t,r){let n=this.getTokenStart(e),o;return this.skipUntilBalanced(e,t||this.consumeUntilBalanceEnd),r&&this.tokenStart>n?o=Lw.call(this):o=this.tokenStart,{type:"Raw",loc:this.getLocation(n,o),value:this.substring(n,o)}}function Ow(e){this.tokenize(e.value)}var ll={};R(ll,{generate:()=>Nw,name:()=>Mw,parse:()=>cl,structure:()=>Fw,walkContext:()=>Dw});p();f();function Qf(e){return this.Raw(e,this.consumeUntilLeftCurlyBracket,!0)}function _w(){let e=this.SelectorList();return e.type!=="Raw"&&this.eof===!1&&this.tokenType!==ee&&this.error(),e}var Mw="Rule",Dw="rule",Fw={prelude:["SelectorList","Raw"],block:["Block"]};function cl(){let e=this.tokenIndex,t=this.tokenStart,r,n;return this.parseRulePrelude?r=this.parseWithFallback(_w,Qf):r=Qf.call(this,e),n=this.Block(!0),{type:"Rule",loc:this.getLocation(t,this.tokenStart),prelude:r,block:n}}function Nw(e){this.node(e.prelude),this.node(e.block)}var ul={};R(ul,{generate:()=>Ww,name:()=>Bw,parse:()=>pl,structure:()=>Uw});p();f();var Bw="Selector",Uw={children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator","WhiteSpace"]]};function pl(){let e=this.readSequence(this.scope.Selector);return this.getFirstListNode(e)===null&&this.error("Selector is expected"),{type:"Selector",loc:this.getLocationFromList(e),children:e}}function Ww(e){this.children(e)}var fl={};R(fl,{generate:()=>Vw,name:()=>qw,parse:()=>hl,structure:()=>Hw,walkContext:()=>Yw});p();f();var qw="SelectorList",Yw="selector",Hw={children:[["Selector","Raw"]]};function hl(){let e=this.createList();for(;!this.eof;){if(e.push(this.Selector()),this.tokenType===ye){this.next();continue}break}return{type:"SelectorList",loc:this.getLocationFromList(e),children:e}}function Vw(e){this.children(e,()=>this.token(ye,","))}var ml={};R(ml,{generate:()=>Qw,name:()=>Kw,parse:()=>gl,structure:()=>Xw});p();f();p();f();var dl=92,Zf=34,Jf=39;function si(e){let t=e.length,r=e.charCodeAt(0),n=r===Zf||r===Jf?1:0,o=n===1&&t>1&&e.charCodeAt(t-1)===r?t-2:t-1,i="";for(let a=n;a<=o;a++){let l=e.charCodeAt(a);if(l===dl){if(a===o){a!==t-1&&(i=e.substr(a+1));break}if(l=e.charCodeAt(++a),$e(dl,l)){let u=a-1,s=Ve(e,u);a=s-1,i+=Sn(e.substring(u+1,s))}else l===13&&e.charCodeAt(a+1)===10&&a++}else i+=e[a]}return i}function eh(e,t){let r=t?"'":'"',n=t?Jf:Zf,o="",i=!1;for(let a=0;a<e.length;a++){let l=e.charCodeAt(a);if(l===0){o+="\uFFFD";continue}if(l<=31||l===127){o+="\\"+l.toString(16),i=!0;continue}l===n||l===dl?(o+="\\"+e.charAt(a),i=!1):(i&&(Te(l)||He(l))&&(o+=" "),o+=e.charAt(a),i=!1)}return r+o+r}var Kw="String",Xw={value:String};function gl(){return{type:"String",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:si(this.consume(he))}}function Qw(e){this.token(he,eh(e.value))}var bl={};R(bl,{generate:()=>r1,name:()=>Jw,parse:()=>xl,structure:()=>t1,walkContext:()=>e1});p();f();var Zw=33;function th(e){return this.Raw(e,null,!1)}var Jw="StyleSheet",e1="stylesheet",t1={children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]};function xl(){let e=this.tokenStart,t=this.createList(),r;e:for(;!this.eof;){switch(this.tokenType){case _:this.next();continue;case V:if(this.charCodeAt(this.tokenStart+2)!==Zw){this.next();continue}r=this.Comment();break;case tt:r=this.CDO();break;case ce:r=this.CDC();break;case Z:r=this.parseWithFallback(this.Atrule,th);break;default:r=this.parseWithFallback(this.Rule,th)}t.push(r)}return{type:"StyleSheet",loc:this.getLocation(e,this.tokenStart),children:t}}function r1(e){this.children(e)}var yl={};R(yl,{generate:()=>a1,name:()=>o1,parse:()=>wl,structure:()=>i1});p();f();var n1=42,rh=124;function kl(){this.tokenType!==w&&this.isDelim(n1)===!1&&this.error("Identifier or asterisk is expected"),this.next()}var o1="TypeSelector",i1={name:String};function wl(){let e=this.tokenStart;return this.isDelim(rh)?(this.next(),kl.call(this)):(kl.call(this),this.isDelim(rh)&&(this.next(),kl.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function a1(e){this.tokenize(e.name)}var vl={};R(vl,{generate:()=>p1,name:()=>c1,parse:()=>Cl,structure:()=>u1});p();f();var nh=43,oh=45,Sl=63;function Mn(e,t){let r=0;for(let n=this.tokenStart+e;n<this.tokenEnd;n++){let o=this.charCodeAt(n);if(o===oh&&t&&r!==0)return Mn.call(this,e+r+1,!1),-1;Te(o)||this.error(t&&r!==0?"Hyphen minus"+(r<6?" or hex digit":"")+" is expected":r<6?"Hex digit is expected":"Unexpected input",n),++r>6&&this.error("Too many hex digits",n)}return this.next(),r}function li(e){let t=0;for(;this.isDelim(Sl);)++t>e&&this.error("Too many question marks"),this.next()}function s1(e){this.charCodeAt(this.tokenStart)!==e&&this.error((e===nh?"Plus sign":"Hyphen minus")+" is expected")}function l1(){let e=0;switch(this.tokenType){case A:if(e=Mn.call(this,1,!0),this.isDelim(Sl)){li.call(this,6-e);break}if(this.tokenType===O||this.tokenType===A){s1.call(this,oh),Mn.call(this,1,!1);break}break;case O:e=Mn.call(this,1,!0),e>0&&li.call(this,6-e);break;default:if(this.eatDelim(nh),this.tokenType===w){e=Mn.call(this,0,!0),e>0&&li.call(this,6-e);break}if(this.isDelim(Sl)){this.next(),li.call(this,5);break}this.error("Hex digit or question mark is expected")}}var c1="UnicodeRange",u1={value:String};function Cl(){let e=this.tokenStart;return this.eatIdent("u"),l1.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function p1(e){this.tokenize(e.value)}var El={};R(El,{generate:()=>y1,name:()=>b1,parse:()=>Al,structure:()=>x1});p();f();p();f();var h1=32,$l=92,d1=34,m1=39,g1=40,ih=41;function ah(e){let t=e.length,r=4,n=e.charCodeAt(t-1)===ih?t-2:t-1,o="";for(;r<n&&He(e.charCodeAt(r));)r++;for(;r<n&&He(e.charCodeAt(n));)n--;for(let i=r;i<=n;i++){let a=e.charCodeAt(i);if(a===$l){if(i===n){i!==t-1&&(o=e.substr(i+1));break}if(a=e.charCodeAt(++i),$e($l,a)){let l=i-1,u=Ve(e,l);i=u-1,o+=Sn(e.substring(l+1,u))}else a===13&&e.charCodeAt(i+1)===10&&i++}else o+=e[i]}return o}function sh(e){let t="",r=!1;for(let n=0;n<e.length;n++){let o=e.charCodeAt(n);if(o===0){t+="\uFFFD";continue}if(o<=31||o===127){t+="\\"+o.toString(16),r=!0;continue}o===h1||o===$l||o===d1||o===m1||o===g1||o===ih?(t+="\\"+e.charAt(n),r=!1):(r&&Te(o)&&(t+=" "),t+=e.charAt(n),r=!1)}return"url("+t+")"}var b1="Url",x1={value:String};function Al(){let e=this.tokenStart,t;switch(this.tokenType){case te:t=ah(this.consume(te));break;case I:this.cmpStr(this.tokenStart,this.tokenEnd,"url(")||this.error("Function name must be `url`"),this.eat(I),this.skipSC(),t=si(this.consume(he)),this.skipSC(),this.eof||this.eat(F);break;default:this.error("Url or Function is expected")}return{type:"Url",loc:this.getLocation(e,this.tokenStart),value:t}}function y1(e){this.token(te,sh(e.value))}var Tl={};R(Tl,{generate:()=>v1,name:()=>k1,parse:()=>jl,structure:()=>w1});p();f();var k1="Value",w1={children:[[]]};function jl(){let e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.tokenStart),children:t}}function v1(e){this.children(e)}var zl={};R(zl,{generate:()=>E1,name:()=>C1,parse:()=>Pl,structure:()=>$1});p();f();var S1=Object.freeze({type:"WhiteSpace",loc:null,value:" "}),C1="WhiteSpace",$1={value:String};function Pl(){return this.eat(_),S1}function E1(e){this.token(_,e.value)}var lh={generic:!0,...Uf,node:Dn};p();f();var Ll={};R(Ll,{AtrulePrelude:()=>uh,Selector:()=>fh,Value:()=>gh});p();f();p();f();p();f();var A1=35,T1=42,ch=43,j1=45,z1=47,P1=117;function Fn(e){switch(this.tokenType){case N:return this.Hash();case ye:return this.Operator();case q:return this.Parentheses(this.readSequence,e.recognizer);case ae:return this.Brackets(this.readSequence,e.recognizer);case he:return this.String();case O:return this.Dimension();case W:return this.Percentage();case A:return this.Number();case I:return this.cmpStr(this.tokenStart,this.tokenEnd,"url(")?this.Url():this.Function(this.readSequence,e.recognizer);case te:return this.Url();case w:return this.cmpChar(this.tokenStart,P1)&&this.cmpChar(this.tokenStart+1,ch)?this.UnicodeRange():this.Identifier();case P:{let t=this.charCodeAt(this.tokenStart);if(t===z1||t===T1||t===ch||t===j1)return this.Operator();t===A1&&this.error("Hex or identifier is expected",this.tokenStart+1);break}}}var uh={getNode:Fn};p();f();var L1=35,R1=42,I1=43,O1=47,ph=46,_1=62,M1=124,D1=126;function F1(e,t){t.last!==null&&t.last.type!=="Combinator"&&e!==null&&e.type!=="Combinator"&&t.push({type:"Combinator",loc:null,name:" "})}function N1(){switch(this.tokenType){case ae:return this.AttributeSelector();case N:return this.IdSelector();case J:return this.lookupType(1)===J?this.PseudoElementSelector():this.PseudoClassSelector();case w:return this.TypeSelector();case A:case W:return this.Percentage();case O:this.charCodeAt(this.tokenStart)===ph&&this.error("Identifier is expected",this.tokenStart+1);break;case P:{switch(this.charCodeAt(this.tokenStart)){case I1:case _1:case D1:case O1:return this.Combinator();case ph:return this.ClassSelector();case R1:case M1:return this.TypeSelector();case L1:return this.IdSelector()}break}}}var fh={onWhiteSpace:F1,getNode:N1};p();f();p();f();function hh(){return this.createSingleNodeList(this.Raw(this.tokenIndex,null,!1))}p();f();function dh(){let e=this.createList();if(this.skipSC(),e.push(this.Identifier()),this.skipSC(),this.tokenType===ye){e.push(this.Operator());let t=this.tokenIndex,r=this.parseCustomProperty?this.Value(null):this.Raw(this.tokenIndex,this.consumeUntilExclamationMarkOrSemicolon,!1);if(r.type==="Value"&&r.children.isEmpty){for(let n=t-this.tokenIndex;n<=0;n++)if(this.lookupType(n)===_){r.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}e.push(r)}return e}function mh(e){return e!==null&&e.type==="Operator"&&(e.value[e.value.length-1]==="-"||e.value[e.value.length-1]==="+")}var gh={getNode:Fn,onWhiteSpace(e,t){mh(e)&&(e.value=" "+e.value),mh(t.last)&&(t.last.value+=" ")},expression:hh,var:dh};p();f();p();f();var bh={parse:{prelude:null,block(){return this.Block(!0)}}};p();f();var xh={parse:{prelude(){let e=this.createList();switch(this.skipSC(),this.tokenType){case he:e.push(this.String());break;case te:case I:e.push(this.Url());break;default:this.error("String or url() is expected")}return(this.lookupNonWSType(0)===w||this.lookupNonWSType(0)===q)&&e.push(this.MediaQueryList()),e},block:null}};p();f();var yh={parse:{prelude(){return this.createSingleNodeList(this.MediaQueryList())},block(){return this.Block(!1)}}};p();f();var kh={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}};p();f();function B1(){return this.createSingleNodeList(this.Raw(this.tokenIndex,null,!1))}function U1(){return this.skipSC(),this.tokenType===w&&this.lookupNonWSType(1)===J?this.createSingleNodeList(this.Declaration()):wh.call(this)}function wh(){let e=this.createList(),t;this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case V:case _:this.next();continue;case I:t=this.Function(B1,this.scope.AtrulePrelude);break;case w:t=this.Identifier();break;case q:t=this.Parentheses(U1,this.scope.AtrulePrelude);break;default:break e}e.push(t)}return e}var vh={parse:{prelude(){let e=wh.call(this);return this.getFirstListNode(e)===null&&this.error("Condition is expected"),e},block(){return this.Block(!1)}}};var Sh={"font-face":bh,import:xh,media:yh,page:kh,supports:vh};p();f();var jt={parse(){return this.createSingleNodeList(this.SelectorList())}},W1={parse(){return this.createSingleNodeList(this.Selector())}},Ch={parse(){return this.createSingleNodeList(this.Identifier())}},ci={parse(){return this.createSingleNodeList(this.Nth())}},$h={dir:Ch,has:jt,lang:Ch,matches:jt,is:jt,"-moz-any":jt,"-webkit-any":jt,where:jt,not:jt,"nth-child":ci,"nth-last-child":ci,"nth-last-of-type":ci,"nth-of-type":ci,slotted:W1};var Rl={};R(Rl,{AnPlusB:()=>rs,Atrule:()=>os,AtrulePrelude:()=>as,AttributeSelector:()=>cs,Block:()=>ps,Brackets:()=>hs,CDC:()=>ms,CDO:()=>bs,ClassSelector:()=>ys,Combinator:()=>ws,Comment:()=>Ss,Declaration:()=>$s,DeclarationList:()=>As,Dimension:()=>js,Function:()=>Ps,Hash:()=>Rs,IdSelector:()=>Ms,Identifier:()=>Os,MediaFeature:()=>Fs,MediaQuery:()=>Bs,MediaQueryList:()=>Ws,Nth:()=>Ys,Number:()=>Vs,Operator:()=>Ks,Parentheses:()=>Qs,Percentage:()=>Js,PseudoClassSelector:()=>tl,PseudoElementSelector:()=>nl,Ratio:()=>il,Raw:()=>sl,Rule:()=>cl,Selector:()=>pl,SelectorList:()=>hl,String:()=>gl,StyleSheet:()=>xl,TypeSelector:()=>wl,UnicodeRange:()=>Cl,Url:()=>Al,Value:()=>jl,WhiteSpace:()=>Pl});p();f();var Eh={parseContext:{default:"StyleSheet",stylesheet:"StyleSheet",atrule:"Atrule",atrulePrelude(e){return this.AtrulePrelude(e.atrule?String(e.atrule):null)},mediaQueryList:"MediaQueryList",mediaQuery:"MediaQuery",rule:"Rule",selectorList:"SelectorList",selector:"Selector",block(){return this.Block(!0)},declarationList:"DeclarationList",declaration:"Declaration",value:"Value"},scope:Ll,atrule:Sh,pseudo:$h,node:Rl};p();f();var Ah={node:Dn};var Th=Ja({...lh,...Eh,...Ah});p();f();p();f();function zt(e){let t={};for(let r in e){let n=e[r];n&&(Array.isArray(n)||n instanceof G?n=n.map(zt):n.constructor===Object&&(n=zt(n))),t[r]=n}return t}p();f();var{tokenize:H5,parse:Il,generate:Ol,lexer:V5,createLexer:G5,walk:jh,find:K5,findLast:X5,findAll:Q5,toPlainObject:Z5,fromPlainObject:J5,fork:e3}=Th;function Ph(e={}){return{name:"css-directive",enforce:e?.enforce,idFilter:t=>!!t.match(di),transform:(t,r,n)=>zh(t,n.uno,e,r)}}var Lh=/theme\((.*?)\)/g,Y1=/(@screen) (.+) /g;async function zh(e,t,r,n,o,i){let{varStyle:a="--at-",throwOnMissing:l=!0}=r,u=e.original.includes("@apply")||a!==!1&&e.original.includes(a),s=e.original.includes("@screen"),c=e.original.match(Lh);if(!u&&!c&&!s)return;let h=Il(o||e.original,{parseAtrulePrelude:!1,positions:!0,filename:n});if(h.type!=="StyleSheet")return;let m=v=>i?v+i:v,x=async(v,j)=>{let E;if(j.type==="Atrule"&&j.name==="apply"&&j.prelude&&j.prelude.type==="Raw"?E=j.prelude.value.trim():a!==!1&&j.type==="Declaration"&&j.property===`${a}apply`&&j.value.type==="Raw"&&(E=j.value.value.trim(),E.match(/^(['"]).*\1$/)&&(E=E.slice(1,-1))),!E)return;let z=ut(E).split(/\s+/g).map(T=>T.trim().replace(/\\/,"")),D=(await Promise.all(z.map(T=>t.parseToken(T,"-")))).filter(Xn).flat().sort((T,L)=>T[0]-L[0]).sort((T,L)=>(T[3]?t.parentOrders.get(T[3])??0:0)-(L[3]?t.parentOrders.get(L[3])??0:0)).reduce((T,L)=>{let X=T.find(je=>je[1]===L[1]&&je[3]===L[3]);return X?X[2]+=L[2]:T.push([...L]),T},[]);if(!!D.length){for(let T of D){let[,L,X,je]=T,we=L?.replace(cr," ")||L;if(je||we&&we!==".\\-"){let se=Ol(v.prelude);if(we&&we!==".\\-"){let ue=Il(we,{context:"selector"}),Ne=zt(v.prelude);Ne.children.forEach(st=>{let Pt=zt(ue);Pt.children.forEach(Pe=>{Pe.type==="ClassSelector"&&Pe.name==="\\-"&&Object.assign(Pe,zt(st))}),Object.assign(st,Pt)}),se=Ol(Ne)}let Y=`${se}{${X}}`;je&&(Y=`${je}{${Y}}`),e.appendLeft(m(v.loc.end.offset),Y)}else e.appendRight(m(j.loc.end.offset),X)}e.remove(m(j.loc.start.offset),m(j.loc.end.offset))}},k=v=>{let j=v.value,E=j.loc.start.offset,z=e.original.slice(E,j.loc.end.offset),D=Array.from(z.matchAll(Lh));if(!!D.length)for(let T of D){let L=T[1].trim();if(!L)throw new Error("theme() expect exact one argument, but got 0");let X=t.config.theme;if(L.slice(1,-1).split(".").every(we=>{if(X[we]!=null)X=X[we];else if(X[+we]!=null)X=X[+we];else return!1;return!0}),typeof X=="string")e.overwrite(E+T.index,E+T.index+T[0].length,X);else if(l)throw new Error(`theme of "${L.slice(1,-1)}" did not found`)}},S=v=>{let j="",E;if(v.name==="screen"&&v.prelude?.type==="Raw"&&(j=v.prelude.value.trim()),!j)return;let z=j.match(/^(?:(lt|at)-)?(\w+)$/);z&&(E=z[1],j=z[2]);let T=Object.entries((()=>{let se;return t.userConfig&&t.userConfig.theme&&(se=t.userConfig.theme.breakpoints),se||(se=t.config.theme.breakpoints),se})()??{}).map(([se,Y],ue)=>[se,Y,ue]),L=(se,Y)=>{let[,ue,Ne]=T.find(st=>st[0]===se);if(Y){if(Y==="lt")return`@media (max-width: ${Rh(ue)})`;if(Y==="at")return`@media (min-width: ${ue})${T[Ne+1]?` and (max-width: ${Rh(T[Ne+1][1])})`:""}`;throw new Error(`breakpoint variant not supported: ${Y}`)}return`@media (min-width: ${ue})`};if(!T.find(se=>se[0]===j))throw new Error(`breakpoint ${j} not found`);let X=v.loc.start.offset,je=e.original.slice(X,v.loc.end.offset),we=Array.from(je.matchAll(Y1));if(!!we.length)for(let se of we)e.overwrite(X+se.index,X+se.index+se[0].length,`${L(j,E)} `)},C=[],$=async(v,j,E)=>{s&&v.type==="Atrule"&&S(v),c&&v.type==="Declaration"&&k(v),u&&v.type==="Rule"&&await Promise.all(v.block.children.map(async(z,D)=>{if(z.type==="Raw")return zh(e,t,r,n,z.value,m(z.loc.start.offset));await x(v,z)}).toArray())};jh(h,(...v)=>C.push($(...v))),await Promise.all(C)}function Rh(e){let t=e.match(/^-?[0-9]+\.?[0-9]*/)?.[0]||"",r=e.slice(t.length),n=parseFloat(t)-.1;return Number.isNaN(n)?e:`${n}${r}`}p();f();function Ih(e={}){return{name:"variant-group",enforce:"pre",transform(t){ut(t,e.separators)}}}p();f();function Oh(e={}){let{trigger:t=":uno:",classPrefix:r="uno-",hashFn:n=H1,keepUnknown:o=!0}=e,i=new RegExp(`(["'\`])${Me(t)}\\s([^\\1]*?)\\1`,"g");return{name:"compile-class",enforce:"pre",async transform(a,l,{uno:u,tokens:s}){let c=[...a.original.matchAll(i)];if(!!c.length)for(let h of c){let m=ut(h[2].trim()),x=h.index,k=[];if(o){let S=await Promise.all(m.split(/\s+/).filter(Boolean).map(async v=>[v,!!await u.parseToken(v)])),C=S.filter(([,v])=>v).map(([v])=>v),$=S.filter(([,v])=>!v).map(([v])=>v);k.push(...$),m=C.join(" ")}if(m){m=m.split(/\s+/).sort().join(" ");let S=n(m),C=`${r}${S}`;k.unshift(C),e.layer?u.config.shortcuts.push([C,m,{layer:e.layer}]):u.config.shortcuts.push([C,m]),s.add(C)}a.overwrite(x+1,x+h[0].length-1,k.join(" "))}}}}function H1(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)}p();f();function V1(e,t){let r=ge(e||[]),n=ge(t||[]);return o=>n.some(i=>o.match(i))?!1:r.some(i=>o.match(i))}var G1=/<!--[\s\S]*?-->|<(\/?)([a-zA-Z][-.:0-9_a-zA-Z]*)((?:\s+[^>]*?(?:(?:'[^']*')|(?:"[^"]*"))?)*)\s*(\/?)>/gs,K1=/([a-zA-Z()#][\[?a-zA-Z0-9-_:()#%\]?]*)(?:\s*=\s*((?:'[^']*')|(?:"[^"]*")|\S+))?/g;function _h(e={}){let{blocklist:t=[]}=e,r=o=>{for(let i of t)if(i instanceof RegExp){if(i.test(o))return!0}else if(o===i)return!0;return!1},n=V1(e.include||[/\.[jt]sx$/,/\.mdx$/],e.exclude||[]);return{name:"transformer-jsx",enforce:"pre",idFilter:n,async transform(o,i,{uno:a}){let l=[];for(let u of Array.from(o.original.matchAll(G1)))for(let s of u[3].matchAll(K1)){let c=s[0].replace(/\:/i,"-");c.includes("=")||r(c)||l.push(a.parseToken(c).then(h=>{if(h){let m=u[2],x=(u.index||0)+(s.index||0)+m.length+1,k=x+c.length;o.overwrite(x,k,`${c}=""`)}}))}await Promise.all(l)}}}function Q1(e){return e}return X1;})();
|
|
15
|
+
/*!
|
|
16
|
+
* The buffer module from node.js, for the browser.
|
|
17
|
+
*
|
|
18
|
+
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
|
|
19
|
+
* @license MIT
|
|
20
|
+
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-codes/browser-compilers",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.10",
|
|
4
4
|
"description": "Compilers that run in the browser, for use in livecodes.io",
|
|
5
5
|
"author": "Hatem Hosny",
|
|
6
6
|
"license": "MIT",
|
|
@@ -31,6 +31,19 @@
|
|
|
31
31
|
"@testing-library/dom": "8.12.0",
|
|
32
32
|
"@testing-library/jest-dom": "5.16.3",
|
|
33
33
|
"@testing-library/react": "12.1.4",
|
|
34
|
+
"@unocss/core": "0.45.21",
|
|
35
|
+
"@unocss/preset-attributify": "0.45.21",
|
|
36
|
+
"@unocss/preset-icons": "0.45.21",
|
|
37
|
+
"@unocss/preset-mini": "0.45.21",
|
|
38
|
+
"@unocss/preset-tagify": "0.45.21",
|
|
39
|
+
"@unocss/preset-typography": "0.45.21",
|
|
40
|
+
"@unocss/preset-uno": "0.45.21",
|
|
41
|
+
"@unocss/preset-web-fonts": "0.45.21",
|
|
42
|
+
"@unocss/preset-wind": "0.45.21",
|
|
43
|
+
"@unocss/transformer-attributify-jsx": "0.45.21",
|
|
44
|
+
"@unocss/transformer-compile-class": "0.45.21",
|
|
45
|
+
"@unocss/transformer-directives": "0.45.21",
|
|
46
|
+
"@unocss/transformer-variant-group": "0.45.21",
|
|
34
47
|
"@webassemblyjs/wast-refmt": "1.11.1",
|
|
35
48
|
"babel-preset-solid": "1.3.5",
|
|
36
49
|
"dts-bundle": "0.7.3",
|
package/scripts/vendors.js
CHANGED
|
@@ -309,3 +309,12 @@ esbuild.build({
|
|
|
309
309
|
globalName: 'lightningcss',
|
|
310
310
|
define: { 'import.meta.url': 'location' },
|
|
311
311
|
});
|
|
312
|
+
|
|
313
|
+
// unocss
|
|
314
|
+
esbuild.build({
|
|
315
|
+
...baseOptions,
|
|
316
|
+
entryPoints: ['vendor_modules/imports/unocss.js'],
|
|
317
|
+
outfile: 'dist/unocss/unocss.js',
|
|
318
|
+
globalName: 'unocss',
|
|
319
|
+
plugins: nodePolyfills,
|
|
320
|
+
});
|
package/vendor-licenses.md
CHANGED
|
@@ -20,6 +20,8 @@ JSCPP: [MIT License](https://github.com/felixhao28/JSCPP/blob/befbd6b48666007151
|
|
|
20
20
|
|
|
21
21
|
Less: [Apache License 2.0](https://github.com/less/less.js/blob/870f9b2d8136bfbcdc9e1293bb0def51b54f9276/LICENSE)
|
|
22
22
|
|
|
23
|
+
Lightning CSS: [Mozilla Public License 2.0](https://github.com/parcel-bundler/lightningcss/blob/3c9db12b684f34ea015a287f2a23b728ee5ade85/LICENSE)
|
|
24
|
+
|
|
23
25
|
LiveScript: [MIT License](https://github.com/gkz/LiveScript/blob/bd9faa4d484b6abb110473f96c28bf8686e7b7a0/LICENSE)
|
|
24
26
|
|
|
25
27
|
lua-fmt: [MIT License](https://github.com/trixnz/lua-fmt/blob/3cbb57c38b12b849711286dda4f43b62e09f806d/LICENSE)
|
|
@@ -60,6 +62,8 @@ svgbob-wasm: [Apache License 2.0](https://github.com/agoose77/svgbob-wasm/blob/4
|
|
|
60
62
|
|
|
61
63
|
turbopascal: [BSD 2-Clause License](https://github.com/MikeRalphson/turbopascal/blob/cfcc5ee6d93f32664bb6127aa751c68841ca5c1d/LICENSE)
|
|
62
64
|
|
|
65
|
+
UnoCSS: [MIT License](https://github.com/unocss/unocss/blob/f375524d9bca3f2f8b445b322ec0fc3eb124ec3c/LICENSE)
|
|
66
|
+
|
|
63
67
|
wacl: [BSD 3-Clause License](https://github.com/ecky-l/wacl/blob/9daacabb0102a9986f33263261350edfeebdd83b/LICENSE)
|
|
64
68
|
|
|
65
69
|
wasm-refmt: [MIT License](https://github.com/xtuc/webassemblyjs/blob/45f733aa96476d74c8ac57598e13406a48a6fdc8/LICENSE)
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import init, { transform, browserslistToTargets } from 'lightningcss-wasm';
|
|
1
|
+
import init, { transform, transformStyleAttribute, browserslistToTargets } from 'lightningcss-wasm';
|
|
2
2
|
|
|
3
|
-
export { init, transform, browserslistToTargets };
|
|
3
|
+
export { init, transform, transformStyleAttribute, browserslistToTargets };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// from https://cdn.jsdelivr.net/npm/unocss@0.45.21/dist/index.mjs
|
|
2
|
+
|
|
3
|
+
export * from '@unocss/core';
|
|
4
|
+
export { default as presetUno } from '@unocss/preset-uno';
|
|
5
|
+
export { default as presetAttributify } from '@unocss/preset-attributify';
|
|
6
|
+
export { default as presetTagify } from '@unocss/preset-tagify';
|
|
7
|
+
// @ts-ignore
|
|
8
|
+
export { default as presetIcons } from '@unocss/preset-icons/browser';
|
|
9
|
+
export { default as presetWebFonts } from '@unocss/preset-web-fonts';
|
|
10
|
+
export { default as presetTypography } from '@unocss/preset-typography';
|
|
11
|
+
export { default as presetMini } from '@unocss/preset-mini';
|
|
12
|
+
export { default as presetWind } from '@unocss/preset-wind';
|
|
13
|
+
export { default as transformerDirectives } from '@unocss/transformer-directives';
|
|
14
|
+
export { default as transformerVariantGroup } from '@unocss/transformer-variant-group';
|
|
15
|
+
export { default as transformerCompileClass } from '@unocss/transformer-compile-class';
|
|
16
|
+
export { default as transformerAttributifyJsx } from '@unocss/transformer-attributify-jsx';
|
|
17
|
+
|
|
18
|
+
function defineConfig(config) {
|
|
19
|
+
return config;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export { defineConfig };
|