@master/css 2.0.0-beta.154 → 2.0.0-beta.156
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/bin/index.js +1 -1
- package/dist/cjs/constants/index.js +1 -1
- package/dist/cjs/rule.js +1 -1
- package/dist/constants/index.d.ts +0 -1
- package/dist/esm/bin/index.mjs +1 -1
- package/dist/esm/constants/index.mjs +1 -1
- package/dist/esm/rule.mjs +1 -1
- package/dist/index.browser.js +1 -1
- package/dist/index.js +2 -18
- package/dist/index.mjs +2 -18
- package/package.json +1 -1
- package/dist/cjs/constants/config-ts-text.js +0 -17
- package/dist/constants/config-ts-text.d.ts +0 -1
- package/dist/esm/constants/config-ts-text.mjs +0 -17
package/dist/cjs/bin/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
var
|
|
2
|
+
var E=Object.create;var C=Object.defineProperty;var I=Object.getOwnPropertyDescriptor;var P=Object.getOwnPropertyNames;var x=Object.getPrototypeOf,M=Object.prototype.hasOwnProperty;var b=(t,o,i,e)=>{if(o&&typeof o=="object"||typeof o=="function")for(let s of P(o))!M.call(t,s)&&s!==i&&C(t,s,{get:()=>o[s],enumerable:!(e=I(o,s))||e.enumerable});return t};var m=(t,o,i)=>(i=t!=null?E(x(t)):{},b(o||!t||!t.__esModule?C(i,"default",{value:t,enumerable:!0}):i,t));var f=require("commander"),k=m(require("path")),S=m(require("chokidar")),a=m(require("fs")),u=require("../constants"),c=m(require("@techor/log")),y=require("@techor/fs"),F=m(require("fast-glob")),O=require("../methods/render-into-html"),v=require("../methods/render-from-html"),_=m(require("techor"));f.program.command("init").description("Initialize definition files for Master CSS").option("-c, --compiler","Comes with a `./master.css-compiler.*` for compiler options").option("-o, --override","Override existing definition file").option("-f, --format <esm,cjs,ts>","With ES Module / CommonJS / TypeScript").action(async function(t){let{format:o}=t;if(!o)if(a.default.existsSync("tsconfig.json"))o="ts";else{let{type:e}=(0,y.readFileAsJSON)("./package.json")||{};o=e==="module"?"esm":"cjs"}let i=(e,s)=>{let n=a.default.existsSync(k.default.join(process.cwd(),e));n?n&&t.override?(a.default.writeFileSync(e,s),c.default.ok`**${e}** file is overridden`):c.default.x`**${e}** file already exists`:(a.default.writeFileSync(e,s),c.default.ok`**${e}** file is created`)};switch(o){case"esm":i("master.css.mjs",u.CONFIG_ESM_TEXT);break;case"ts":i("master.css.ts",u.CONFIG_ESM_TEXT);break;default:i("master.css.js",u.CONFIG_TEXT)}if(t.compiler){let{OPTIONS_TEXT:e,OPTIONS_ESM_TEXT:s,OPTIONS_TS_TEXT:n}=await import("@master/css-compiler");switch(o){case"esm":i("master.css-compiler.mjs",s);break;case"ts":i("master.css-compiler.ts",n);break;default:i("master.css-compiler.js",e)}}});f.program.command("build",{isDefault:!0}).option("-w, --watch","Watch file changed and generate CSS rules.").option("-o, --output <path>","Specify your master CSS file output path","master.css").action(async function({watch:t,output:o}){let{MasterCSSCompiler:i}=await import("@master/css-compiler"),e=await new i().compile(),s=async r=>await e.insert(r,a.default.readFileSync(r,{encoding:"utf-8"})),n=()=>a.default.writeFileSync(o,e.css.text);if(t){let r=[],p=async()=>{let{include:l,exclude:j,sources:T}=e.options;l?.length&&w(S.default.watch(l,{ignored:j,ignoreInitial:!0})),T?.length&&w(S.default.watch(T,{ignoreInitial:!0})),n(),console.log(""),c.default`[sources] ${e.sources}`,c.default.tree(e.options)},d=async l=>{await s(l),n()},w=l=>{r.push(l.on("add",d).on("change",d))},h=async()=>{await Promise.all(r.map(l=>l.close())),r.length=0,await e.refresh(),await p()},g=[];e.resolvedConfigPath&&g.push(e.resolvedConfigPath),e.resolvedOptionsPath&&g.push(e.resolvedOptionsPath),g.length&&S.default.watch(g,{ignoreInitial:!0}).on("add",h).on("change",h).on("unlink",h),await p(),console.log(""),c.default.t`Start watching source changes`}else n(),console.log(""),c.default`[sources] ${e.sources}`,c.default.tree(e.options)});f.program.command("render").description("Manual to generate CSS rules").argument("<file path>","file path").option("-c --config").action(async function(t,o){let i=F.default.sync(t);if(i.length){let s=new _.default({config:o.config}).readConfig();await Promise.all(i.map(async n=>{let r=!1,p=a.default.readFileSync(n,{encoding:"utf-8"}),d=p.replace(/(<style id="master">).*?(<\/style>)/,(w,h,g)=>(r=!0,h+(0,v.renderFromHTML)(p,s)+g));r||(d=(0,O.renderIntoHTML)(p,s)),p!==d&&a.default.writeFileSync(n,d)}))}});var{version:X,name:$,description:W}=(0,y.readFileAsJSON)("../../../package.json",{cwd:__dirname})||{};f.program.name($);f.program.description(W);f.program.version(X);f.program.parse();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var a=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var t=(f,e,p,x)=>{if(e&&typeof e=="object"||typeof e=="function")for(let m of c(e))!d.call(f,m)&&m!==p&&a(f,m,{get:()=>e[m],enumerable:!(x=b(e,m))||x.enumerable});return f},r=(f,e,p)=>(t(f,e,"default"),p&&t(p,e,"default"));var g=f=>t(a({},"__esModule",{value:!0}),f);var o={};module.exports=g(o);r(o,require("./config-text"),module.exports);r(o,require("./config-esm-text"),module.exports);r(o,require("./
|
|
1
|
+
var a=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var t=(f,e,p,x)=>{if(e&&typeof e=="object"||typeof e=="function")for(let m of c(e))!d.call(f,m)&&m!==p&&a(f,m,{get:()=>e[m],enumerable:!(x=b(e,m))||x.enumerable});return f},r=(f,e,p)=>(t(f,e,"default"),p&&t(p,e,"default"));var g=f=>t(a({},"__esModule",{value:!0}),f);var o={};module.exports=g(o);r(o,require("./config-text"),module.exports);r(o,require("./config-esm-text"),module.exports);r(o,require("./selector-symbols"),module.exports);r(o,require("./start-symbol"),module.exports);0&&(module.exports={...require("./config-text"),...require("./config-esm-text"),...require("./selector-symbols"),...require("./start-symbol")});
|
package/dist/cjs/rule.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var Q=Object.defineProperty;var he=Object.getOwnPropertyDescriptor;var de=Object.getOwnPropertyNames;var pe=Object.prototype.hasOwnProperty;var me=(u,i)=>{for(var r in i)Q(u,r,{get:i[r],enumerable:!0})},xe=(u,i,r,S)=>{if(i&&typeof i=="object"||typeof i=="function")for(let v of de(i))!pe.call(u,v)&&v!==r&&Q(u,v,{get:()=>i[v],enumerable:!(S=he(i,v))||S.enumerable});return u};var ye=u=>xe(Q({},"__esModule",{value:!0}),u);var ve={};me(ve,{Rule:()=>F});module.exports=ye(ve);var q=require("./constants/start-symbol"),ce=require("./utils/css-escape");function oe(u){let i=typeof Buffer<"u"?Buffer:null;return!!(i&&u instanceof i||u instanceof Date||u instanceof RegExp)}function le(u){if(typeof Buffer<"u"&&Buffer&&u instanceof Buffer){let i=Buffer.alloc(u.length);return u.copy(i),i}else{if(u instanceof Date)return new Date(u.getTime());if(u instanceof RegExp)return new RegExp(u);throw new Error("Unexpected situation")}}function fe(u){let i=[];return u.forEach(function(r,S){typeof r=="object"&&r!==null?Array.isArray(r)?i[S]=fe(r):oe(r)?i[S]=le(r):i[S]=
|
|
1
|
+
var Q=Object.defineProperty;var he=Object.getOwnPropertyDescriptor;var de=Object.getOwnPropertyNames;var pe=Object.prototype.hasOwnProperty;var me=(u,i)=>{for(var r in i)Q(u,r,{get:i[r],enumerable:!0})},xe=(u,i,r,S)=>{if(i&&typeof i=="object"||typeof i=="function")for(let v of de(i))!pe.call(u,v)&&v!==r&&Q(u,v,{get:()=>i[v],enumerable:!(S=he(i,v))||S.enumerable});return u};var ye=u=>xe(Q({},"__esModule",{value:!0}),u);var ve={};me(ve,{Rule:()=>F});module.exports=ye(ve);var q=require("./constants/start-symbol"),ce=require("./utils/css-escape");function oe(u){let i=typeof Buffer<"u"?Buffer:null;return!!(i&&u instanceof i||u instanceof Date||u instanceof RegExp)}function le(u){if(typeof Buffer<"u"&&Buffer&&u instanceof Buffer){let i=Buffer.alloc(u.length);return u.copy(i),i}else{if(u instanceof Date)return new Date(u.getTime());if(u instanceof RegExp)return new RegExp(u);throw new Error("Unexpected situation")}}function fe(u){let i=[];return u.forEach(function(r,S){typeof r=="object"&&r!==null?Array.isArray(r)?i[S]=fe(r):oe(r)?i[S]=le(r):i[S]=N({},r):i[S]=r}),i}function re(u,i){return i==="__proto__"?void 0:u[i]}function N(...u){let i={},r,S;return u.forEach(function(v){typeof v!="object"||v===null||Array.isArray(v)||Object.keys(v).forEach(function(k){if(S=re(i,k),r=re(v,k),r!==i)if(typeof r!="object"||r===null){i[k]=r;return}else if(Array.isArray(r)){i[k]=fe(r);return}else if(oe(r)){i[k]=le(r);return}else if(typeof S!="object"||S===null||Array.isArray(S)){i[k]=N({},r);return}else{i[k]=N(S,r);return}})}),i}var Se={unit:"",order:0,separators:[","]},F=class{constructor(i,r={},S){this.className=i;this.meta=r;this.css=S;this.config=N(Se,r.config);let{unit:v,order:k,colored:C,native:D,analyze:Y,transform:Z,declare:H,create:J}=this.config,{scope:K,important:ae,functions:ue,themeDriver:P}=S.config,{themeNames:X,colorNames:G,colorThemesMap:ee,selectors:W,breakpoints:te,mediaQueries:_,themeAffectedClassesBy:ge,globalValues:z}=S,ie=ge[i];J&&J.call(this,i);let B,ne,I,A,w;if(r.origin==="semantics"){let[d,c]=r.value;A=i.slice(d.length),B=c}else{let d;if(Y)[d,I]=Y.call(this,i);else if(r.origin==="match"){let l=i.indexOf(":");this.prefix=i.slice(0,l+1),d=i.slice(l+1)}else r.origin==="symbol"&&(this.symbol=i[0],d=i.slice(1));w=[];let c=this,a=this.values,m=[","];this.config.separators.length&&m.push(...this.config.separators);let n="",t=0;(function l(e,f,o,s=void 0,g=[],b=[],h){let T=s===void 0,x,E=p=>p==="'"||p==='"',V=()=>x=n.length,M=()=>{if(n){let p=n,y=T?p:n.slice(x);if(n="",j="",a&&y in a&&!g.includes(y)){let R=t;t=0,l(a[y].toString(),f,void 0,s,[...g,y],b,h),t=R,T||(n=n.slice(0,x)+n)}else if(z&&y in z&&!b.includes(y)){let R=t;t=0,l(z[y].toString(),f,void 0,s,g,[...b,y],h),t=R,T||(n=n.slice(0,x)+n)}else if(T){let R=!h&&c.analyzeUnitValue(y,f);w.push({value:R?.value??y,unit:R?.unit})}else{let R=!h&&c.analyzeUnitValue(y,f);n=R?p.slice(0,x)+R.value+R.unit:p}V()}},O=E(o);V();let j="";for(;t<e.length;t++){let p=e[t];if(p===o){if(O){n+=p;let y=0;for(let R=n.length-2;n[R]==="\\";R--)y++;if(y%2)continue}else M(),n+=p;return}else if(!O&&p in q.START_SYMBOLS){let y=p==="("&&j&&ue?.[j];y?.name&&(n=n.slice(0,n.length-j.length)+y.name,j=y.name),n+=p,t++;let R=q.START_SYMBOLS[p];l(e,y?.unit??f,R,j||s||"",g,b,h||!!y?.transform),y?.transform&&(n=n.slice(0,x+j.length+1)+y.transform.call(c,n.slice(x+j.length+1,-1))+n.slice(-1)),T&&(E(R)?(w.push(n),n=""):M()),j=""}else if((p==="|"||p===" ")&&o!=="}"&&(!O||s==="path"))M(),T||(n+=" ",x++);else{if(!O){if(p==="."){if(isNaN(+e[t+1]))break;e[t-1]==="-"&&(n+="0")}else if(m.includes(p)){M(),T?w.push(p):(n+=p,x++);continue}else if(T&&(p==="#"&&(n||w.length&&e[t-1]!=="|"&&w[t-1]!==" ")||["!","*",">","+","~",":","[","@","_"].includes(p)))break;j+=p}n+=p}}s===void 0&&M()})(d,v),A=d.slice(t)}this.order=typeof k=="function"?k.call(this,this.prefix):k,A[0]==="!"&&(this.important=!0,A=A.slice(1));let se=d=>{let c=d.split(/(\\'(?:.*?)[^\\]\\')(?=[*_>~+,)])|(\[[^=]+='(?:.*?)[^\\]'\])/).map((t,l)=>l%3?t:t.replace(/_/g," ")).join(""),a=[],m="",n=0;for(let t=0;t<c.length;t++){let l=c[t];if(l==="\\"){m+=l+c[++t];continue}!n&&l===","?(a.push(m),m=""):(m+=l,n&&l===")"?n--:l==="("&&n++)}return m&&a.push(m),a};this.prefixSelectors=I?se(I):[""];let U=A.split("@"),$=U[0];if($){this.vendorSuffixSelectors={};let d=(t,l,e,f)=>{for(let[o,s]of l)if(o.test(t)){for(let g of s)d(t.replace(o,g),l,e,!0);return}f&&e.push(t)},c=[];""in W?d($,W[""],c,!0):c.push($);let a={};for(let[t,l]of Object.entries(W)){if(!t)continue;let e=[];for(let f of c)d(f,l,e,!1);e.length&&(a[t]=e)}let m=(t,l)=>{let e=l.reduce((f,o)=>(f.push(...se(o)),f),[]);t in this.vendorSuffixSelectors?this.vendorSuffixSelectors[t].push(...e):this.vendorSuffixSelectors[t]=e},n=Object.keys(a);if(n.length)for(let t of n)m(t,a[t]);else m("",c);for(let t of Object.values(this.vendorSuffixSelectors))for(let l of t){this.hasWhere!==!1&&(this.hasWhere=l.includes(":where("));let e=[":disabled",":active",":focus",":hover"];for(let f=0;f<e.length;f++)if(l.includes(e[f])){(this.priority===-1||this.priority>f)&&(this.priority=f);break}}}else this.vendorSuffixSelectors={"":[""]};for(let d=1;d<U.length;d++){let c=U[d];if(c)if(X.includes(c))this.theme=c;else if(c==="rtl"||c==="ltr")this.direction=c;else{let a,m,n=c.indexOf("(");if(n!==-1)a=c.slice(0,n).replace(/\|/g," "),m=c.slice(n);else{let t=c.indexOf("|");t!==-1&&(a=c.slice(0,t),m=c.slice(t))}if(!a){a="media";let t=[];this.media={token:c,features:{}};let l=c.split("&");for(let e of l)if(e==="all"||e==="print"||e==="screen"||e==="speech")this.media.type=e;else if(e==="\u{1F5A8}")this.media.type="print";else if(e==="landscape"||e==="portrait")t.push("(orientation:"+e+")");else if(e==="motion"||e==="reduced-motion")t.push("(prefers-reduced-motion:"+(e==="motion"?"no-preference":"reduce")+")");else if(_&&e in _)t.push(_[e]);else{let f={token:e},o="",s="",g=0;e.startsWith("<=")?(s="<=",o="max-width"):e.startsWith(">=")||te[e]?(s=">=",o="min-width"):e.startsWith(">")?(s=">",o="min-width",g=.02):e.startsWith("<")&&(s="<",o="max-width",g=-.02);let b=s?e.replace(s,""):e,h=te[b];switch(o){case"max-width":case"min-width":h?Object.assign(f,this.analyzeUnitValue(h.toString(),"px")):Object.assign(f,this.analyzeUnitValue(b,"px")),f.unit==="px"&&(f.value+=g),this.media.features[o]=f,t.push("("+o+":"+(f.value+f.unit)+")");break}}m="",this.media.type&&(m=this.media.type),t.length&&(m+=(m?" and ":"")+t.join(" and "))}m&&(this.at[a]=(a in this.at?this.at[a]+" and ":"")+m.replace(/\|/g," "))}}let L=(d,c)=>{let a,m=(l,e,f)=>{let o="";this.direction&&(o+="[dir="+this.direction+"] ");let s=this.prefixSelectors.map(h=>h+o),g=(h,T)=>s.map(x=>(h&&P!=="media"?P==="host"?`:host(.${h}) `:`.${h} `:"")+(K?K+" ":"")+x).reduce((x,E)=>(x.push(f.reduce((V,M)=>(V.push(E+"."+(0,ce.cssEscape)(T)+M),V),[]).join(",")),x),[]).join(","),b=g(e,i)+(ie?Object.entries(ie).filter(([h])=>this.theme||!C||!e||!h||h===e).map(([h,T])=>T.reduce((x,E)=>x+","+g(this.theme??((C||ne)&&e||h),E),"")).join(""):"")+"{"+l+"}";for(let h of Object.keys(this.at).sort((T,x)=>x==="supports"?-1:1))b="@"+h+(h.includes(" ")?"":" ")+this.at[h]+"{"+b+"}";return e&&P==="media"&&(b=`@media(prefers-color-scheme:${e}){`+b+"}"),b},n=[];if(w){let l=[this.theme??d,""],e,f=!1;for(let o of w)if(typeof o=="string")n.push(o);else{let s=o.value;if(o.unit)s+=o.unit;else if(C&&ee&&G){let g=!1;s=s.replace(new RegExp(`(^|,| |\\()((?:${G.join("|")})(?:-(?:[0-9A-Za-z-]+))?)(?:\\/(\\.?[0-9]+%?))?(?=(\\)|\\}|,| |$))`,"gm"),(b,h,T,x)=>{let E=ee[T];if(E){let V,M;for(let O of l)if(V=E[O]){M=O;break}if(V){g=!c||M===d,e||(e=g);let O=V;if(x){let j=x.endsWith("%")?parseFloat(x)/100:+x;j=isNaN(j)?1:Math.min(Math.max(j,0),1),O+=Math.round(j*255).toString(16).toUpperCase().padStart(2,"0")}return h+O}else f=!0}return b})}n.push(s)}if(c&&(f||(e===void 0?d:!e)))return;if(a=n.reduce((o,s,g)=>o+s+(s===","||w[g+1]===","||g===w.length-1?"":" "),""),Z&&(a=Z.call(this,a,this.css.config)),C&&a==="current"&&(a="currentColor"),H){let o,s;if(w.length===1){let g=w[0];typeof g=="object"&&(o=g.value,s=g.unit)}B=H.call(this,s?o:a,s||"")}else B={[D]:a}}let t={};for(let l in B){let e=(s,g)=>{let b=g+((this.important||ae)&&!g.endsWith("!important")?"!important":"");s in t?t[s].push(b):t[s]=[b]},f=l+":",o=B[l];if(typeof o=="object")if(Array.isArray(o))for(let s of o)e(d,f+s.toString());else{ne=!0;for(let s in o)e(s,f+o[s])}else e(d,f+o.toString())}for(let l of Object.values(this.vendorSuffixSelectors))for(let e in t)this.natives.push({text:m(t[e].join(";"),e,l),theme:e})};if(this.theme)L(this.theme,!1);else if(C)for(let d of X)L(d,!0);else L("",!1)}at={};priority=-1;natives=[];keyframeNames;config;get values(){return this.css.values[this.config.id]}get text(){return this.natives.map(i=>i.text).join("")}resolveValue(i,r){return Number.isNaN(+i)?i:i/(r==="rem"||r==="em"?this.css.config.rootSize:1)+r}analyzeUnitValue(i,r){let S=r??this.config.unit;if(S){let v="",k=i.match(/^([+-.]?\d+(\.?\d+)?)(.*)?/);if(k)if(i.includes("/")){let[C,D]=i.split("/");return{value:+C/+D*100+"%",unit:v}}else{let C=+k[1];return v=k[3]||"",v||((S==="rem"||S==="em")&&(C=C/this.css.config.rootSize),v=S||""),{value:C,unit:v}}}}};0&&(module.exports={Rule});
|
package/dist/esm/bin/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{program as f}from"commander";import
|
|
2
|
+
import{program as f}from"commander";import C from"path";import u from"chokidar";import a from"fs";import{CONFIG_ESM_TEXT as w,CONFIG_TEXT as k}from"../constants/index.mjs";import c from"@techor/log";import{readFileAsJSON as y}from"@techor/fs";import F from"fast-glob";import{renderIntoHTML as O}from"../methods/render-into-html.mjs";import{renderFromHTML as v}from"../methods/render-from-html.mjs";import _ from"techor";f.command("init").description("Initialize definition files for Master CSS").option("-c, --compiler","Comes with a `./master.css-compiler.*` for compiler options").option("-o, --override","Override existing definition file").option("-f, --format <esm,cjs,ts>","With ES Module / CommonJS / TypeScript").action(async function(l){let{format:i}=l;if(!i)if(a.existsSync("tsconfig.json"))i="ts";else{let{type:e}=y("./package.json")||{};i=e==="module"?"esm":"cjs"}let t=(e,s)=>{let o=a.existsSync(C.join(process.cwd(),e));o?o&&l.override?(a.writeFileSync(e,s),c.ok`**${e}** file is overridden`):c.x`**${e}** file already exists`:(a.writeFileSync(e,s),c.ok`**${e}** file is created`)};switch(i){case"esm":t("master.css.mjs",w);break;case"ts":t("master.css.ts",w);break;default:t("master.css.js",k)}if(l.compiler){let{OPTIONS_TEXT:e,OPTIONS_ESM_TEXT:s,OPTIONS_TS_TEXT:o}=await import("@master/css-compiler");switch(i){case"esm":t("master.css-compiler.mjs",s);break;case"ts":t("master.css-compiler.ts",o);break;default:t("master.css-compiler.js",e)}}});f.command("build",{isDefault:!0}).option("-w, --watch","Watch file changed and generate CSS rules.").option("-o, --output <path>","Specify your master CSS file output path","master.css").action(async function({watch:l,output:i}){let{MasterCSSCompiler:t}=await import("@master/css-compiler"),e=await new t().compile(),s=async n=>await e.insert(n,a.readFileSync(n,{encoding:"utf-8"})),o=()=>a.writeFileSync(i,e.css.text);if(l){let n=[],m=async()=>{let{include:r,exclude:T,sources:S}=e.options;r?.length&&h(u.watch(r,{ignored:T,ignoreInitial:!0})),S?.length&&h(u.watch(S,{ignoreInitial:!0})),o(),console.log(""),c`[sources] ${e.sources}`,c.tree(e.options)},p=async r=>{await s(r),o()},h=r=>{n.push(r.on("add",p).on("change",p))},g=async()=>{await Promise.all(n.map(r=>r.close())),n.length=0,await e.refresh(),await m()},d=[];e.resolvedConfigPath&&d.push(e.resolvedConfigPath),e.resolvedOptionsPath&&d.push(e.resolvedOptionsPath),d.length&&u.watch(d,{ignoreInitial:!0}).on("add",g).on("change",g).on("unlink",g),await m(),console.log(""),c.t`Start watching source changes`}else o(),console.log(""),c`[sources] ${e.sources}`,c.tree(e.options)});f.command("render").description("Manual to generate CSS rules").argument("<file path>","file path").option("-c --config").action(async function(l,i){let t=F.sync(l);if(t.length){let s=new _({config:i.config}).readConfig();await Promise.all(t.map(async o=>{let n=!1,m=a.readFileSync(o,{encoding:"utf-8"}),p=m.replace(/(<style id="master">).*?(<\/style>)/,(h,g,d)=>(n=!0,g+v(m,s)+d));n||(p=O(m,s)),m!==p&&a.writeFileSync(o,p)}))}});var{version:j,name:E,description:I}=y("../../../package.json",{cwd:__dirname})||{};f.name(E);f.description(I);f.version(j);f.parse();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export*from"./config-text.mjs";export*from"./config-esm-text.mjs";export*from"./
|
|
1
|
+
export*from"./config-text.mjs";export*from"./config-esm-text.mjs";export*from"./selector-symbols.mjs";export*from"./start-symbol.mjs";
|
package/dist/esm/rule.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{START_SYMBOLS as oe}from"./constants/start-symbol.mjs";import{cssEscape as ue}from"./utils/css-escape.mjs";function ne(y){let n=typeof Buffer<"u"?Buffer:null;return!!(n&&y instanceof n||y instanceof Date||y instanceof RegExp)}function se(y){if(typeof Buffer<"u"&&Buffer&&y instanceof Buffer){let n=Buffer.alloc(y.length);return y.copy(n),n}else{if(y instanceof Date)return new Date(y.getTime());if(y instanceof RegExp)return new RegExp(y);throw new Error("Unexpected situation")}}function re(y){let n=[];return y.forEach(function(f,S){typeof f=="object"&&f!==null?Array.isArray(f)?n[S]=re(f):ne(f)?n[S]=se(f):n[S]=
|
|
1
|
+
import{START_SYMBOLS as oe}from"./constants/start-symbol.mjs";import{cssEscape as ue}from"./utils/css-escape.mjs";function ne(y){let n=typeof Buffer<"u"?Buffer:null;return!!(n&&y instanceof n||y instanceof Date||y instanceof RegExp)}function se(y){if(typeof Buffer<"u"&&Buffer&&y instanceof Buffer){let n=Buffer.alloc(y.length);return y.copy(n),n}else{if(y instanceof Date)return new Date(y.getTime());if(y instanceof RegExp)return new RegExp(y);throw new Error("Unexpected situation")}}function re(y){let n=[];return y.forEach(function(f,S){typeof f=="object"&&f!==null?Array.isArray(f)?n[S]=re(f):ne(f)?n[S]=se(f):n[S]=N({},f):n[S]=f}),n}function ie(y,n){return n==="__proto__"?void 0:y[n]}function N(...y){let n={},f,S;return y.forEach(function(j){typeof j!="object"||j===null||Array.isArray(j)||Object.keys(j).forEach(function(R){if(S=ie(n,R),f=ie(j,R),f!==n)if(typeof f!="object"||f===null){n[R]=f;return}else if(Array.isArray(f)){n[R]=re(f);return}else if(ne(f)){n[R]=se(f);return}else if(typeof S!="object"||S===null||Array.isArray(S)){n[R]=N({},f);return}else{n[R]=N(S,f);return}})}),n}var ge={unit:"",order:0,separators:[","]},le=class{constructor(n,f={},S){this.className=n;this.meta=f;this.css=S;this.config=N(ge,f.config);let{unit:j,order:R,colored:C,native:D,analyze:Q,transform:q,declare:F,create:Y}=this.config,{scope:Z,important:fe,functions:ce,themeDriver:P}=S.config,{themeNames:H,colorNames:J,colorThemesMap:K,selectors:W,breakpoints:X,mediaQueries:_,themeAffectedClassesBy:ae,globalValues:z}=S,G=ae[n];Y&&Y.call(this,n);let B,ee,I,A,w;if(f.origin==="semantics"){let[h,c]=f.value;A=n.slice(h.length),B=c}else{let h;if(Q)[h,I]=Q.call(this,n);else if(f.origin==="match"){let o=n.indexOf(":");this.prefix=n.slice(0,o+1),h=n.slice(o+1)}else f.origin==="symbol"&&(this.symbol=n[0],h=n.slice(1));w=[];let c=this,a=this.values,p=[","];this.config.separators.length&&p.push(...this.config.separators);let i="",t=0;(function o(e,l,r,s=void 0,u=[],v=[],g){let k=s===void 0,m,E=d=>d==="'"||d==='"',V=()=>m=i.length,M=()=>{if(i){let d=i,x=k?d:i.slice(m);if(i="",T="",a&&x in a&&!u.includes(x)){let b=t;t=0,o(a[x].toString(),l,void 0,s,[...u,x],v,g),t=b,k||(i=i.slice(0,m)+i)}else if(z&&x in z&&!v.includes(x)){let b=t;t=0,o(z[x].toString(),l,void 0,s,u,[...v,x],g),t=b,k||(i=i.slice(0,m)+i)}else if(k){let b=!g&&c.analyzeUnitValue(x,l);w.push({value:b?.value??x,unit:b?.unit})}else{let b=!g&&c.analyzeUnitValue(x,l);i=b?d.slice(0,m)+b.value+b.unit:d}V()}},O=E(r);V();let T="";for(;t<e.length;t++){let d=e[t];if(d===r){if(O){i+=d;let x=0;for(let b=i.length-2;i[b]==="\\";b--)x++;if(x%2)continue}else M(),i+=d;return}else if(!O&&d in oe){let x=d==="("&&T&&ce?.[T];x?.name&&(i=i.slice(0,i.length-T.length)+x.name,T=x.name),i+=d,t++;let b=oe[d];o(e,x?.unit??l,b,T||s||"",u,v,g||!!x?.transform),x?.transform&&(i=i.slice(0,m+T.length+1)+x.transform.call(c,i.slice(m+T.length+1,-1))+i.slice(-1)),k&&(E(b)?(w.push(i),i=""):M()),T=""}else if((d==="|"||d===" ")&&r!=="}"&&(!O||s==="path"))M(),k||(i+=" ",m++);else{if(!O){if(d==="."){if(isNaN(+e[t+1]))break;e[t-1]==="-"&&(i+="0")}else if(p.includes(d)){M(),k?w.push(d):(i+=d,m++);continue}else if(k&&(d==="#"&&(i||w.length&&e[t-1]!=="|"&&w[t-1]!==" ")||["!","*",">","+","~",":","[","@","_"].includes(d)))break;T+=d}i+=d}}s===void 0&&M()})(h,j),A=h.slice(t)}this.order=typeof R=="function"?R.call(this,this.prefix):R,A[0]==="!"&&(this.important=!0,A=A.slice(1));let te=h=>{let c=h.split(/(\\'(?:.*?)[^\\]\\')(?=[*_>~+,)])|(\[[^=]+='(?:.*?)[^\\]'\])/).map((t,o)=>o%3?t:t.replace(/_/g," ")).join(""),a=[],p="",i=0;for(let t=0;t<c.length;t++){let o=c[t];if(o==="\\"){p+=o+c[++t];continue}!i&&o===","?(a.push(p),p=""):(p+=o,i&&o===")"?i--:o==="("&&i++)}return p&&a.push(p),a};this.prefixSelectors=I?te(I):[""];let U=A.split("@"),$=U[0];if($){this.vendorSuffixSelectors={};let h=(t,o,e,l)=>{for(let[r,s]of o)if(r.test(t)){for(let u of s)h(t.replace(r,u),o,e,!0);return}l&&e.push(t)},c=[];""in W?h($,W[""],c,!0):c.push($);let a={};for(let[t,o]of Object.entries(W)){if(!t)continue;let e=[];for(let l of c)h(l,o,e,!1);e.length&&(a[t]=e)}let p=(t,o)=>{let e=o.reduce((l,r)=>(l.push(...te(r)),l),[]);t in this.vendorSuffixSelectors?this.vendorSuffixSelectors[t].push(...e):this.vendorSuffixSelectors[t]=e},i=Object.keys(a);if(i.length)for(let t of i)p(t,a[t]);else p("",c);for(let t of Object.values(this.vendorSuffixSelectors))for(let o of t){this.hasWhere!==!1&&(this.hasWhere=o.includes(":where("));let e=[":disabled",":active",":focus",":hover"];for(let l=0;l<e.length;l++)if(o.includes(e[l])){(this.priority===-1||this.priority>l)&&(this.priority=l);break}}}else this.vendorSuffixSelectors={"":[""]};for(let h=1;h<U.length;h++){let c=U[h];if(c)if(H.includes(c))this.theme=c;else if(c==="rtl"||c==="ltr")this.direction=c;else{let a,p,i=c.indexOf("(");if(i!==-1)a=c.slice(0,i).replace(/\|/g," "),p=c.slice(i);else{let t=c.indexOf("|");t!==-1&&(a=c.slice(0,t),p=c.slice(t))}if(!a){a="media";let t=[];this.media={token:c,features:{}};let o=c.split("&");for(let e of o)if(e==="all"||e==="print"||e==="screen"||e==="speech")this.media.type=e;else if(e==="\u{1F5A8}")this.media.type="print";else if(e==="landscape"||e==="portrait")t.push("(orientation:"+e+")");else if(e==="motion"||e==="reduced-motion")t.push("(prefers-reduced-motion:"+(e==="motion"?"no-preference":"reduce")+")");else if(_&&e in _)t.push(_[e]);else{let l={token:e},r="",s="",u=0;e.startsWith("<=")?(s="<=",r="max-width"):e.startsWith(">=")||X[e]?(s=">=",r="min-width"):e.startsWith(">")?(s=">",r="min-width",u=.02):e.startsWith("<")&&(s="<",r="max-width",u=-.02);let v=s?e.replace(s,""):e,g=X[v];switch(r){case"max-width":case"min-width":g?Object.assign(l,this.analyzeUnitValue(g.toString(),"px")):Object.assign(l,this.analyzeUnitValue(v,"px")),l.unit==="px"&&(l.value+=u),this.media.features[r]=l,t.push("("+r+":"+(l.value+l.unit)+")");break}}p="",this.media.type&&(p=this.media.type),t.length&&(p+=(p?" and ":"")+t.join(" and "))}p&&(this.at[a]=(a in this.at?this.at[a]+" and ":"")+p.replace(/\|/g," "))}}let L=(h,c)=>{let a,p=(o,e,l)=>{let r="";this.direction&&(r+="[dir="+this.direction+"] ");let s=this.prefixSelectors.map(g=>g+r),u=(g,k)=>s.map(m=>(g&&P!=="media"?P==="host"?`:host(.${g}) `:`.${g} `:"")+(Z?Z+" ":"")+m).reduce((m,E)=>(m.push(l.reduce((V,M)=>(V.push(E+"."+ue(k)+M),V),[]).join(",")),m),[]).join(","),v=u(e,n)+(G?Object.entries(G).filter(([g])=>this.theme||!C||!e||!g||g===e).map(([g,k])=>k.reduce((m,E)=>m+","+u(this.theme??((C||ee)&&e||g),E),"")).join(""):"")+"{"+o+"}";for(let g of Object.keys(this.at).sort((k,m)=>m==="supports"?-1:1))v="@"+g+(g.includes(" ")?"":" ")+this.at[g]+"{"+v+"}";return e&&P==="media"&&(v=`@media(prefers-color-scheme:${e}){`+v+"}"),v},i=[];if(w){let o=[this.theme??h,""],e,l=!1;for(let r of w)if(typeof r=="string")i.push(r);else{let s=r.value;if(r.unit)s+=r.unit;else if(C&&K&&J){let u=!1;s=s.replace(new RegExp(`(^|,| |\\()((?:${J.join("|")})(?:-(?:[0-9A-Za-z-]+))?)(?:\\/(\\.?[0-9]+%?))?(?=(\\)|\\}|,| |$))`,"gm"),(v,g,k,m)=>{let E=K[k];if(E){let V,M;for(let O of o)if(V=E[O]){M=O;break}if(V){u=!c||M===h,e||(e=u);let O=V;if(m){let T=m.endsWith("%")?parseFloat(m)/100:+m;T=isNaN(T)?1:Math.min(Math.max(T,0),1),O+=Math.round(T*255).toString(16).toUpperCase().padStart(2,"0")}return g+O}else l=!0}return v})}i.push(s)}if(c&&(l||(e===void 0?h:!e)))return;if(a=i.reduce((r,s,u)=>r+s+(s===","||w[u+1]===","||u===w.length-1?"":" "),""),q&&(a=q.call(this,a,this.css.config)),C&&a==="current"&&(a="currentColor"),F){let r,s;if(w.length===1){let u=w[0];typeof u=="object"&&(r=u.value,s=u.unit)}B=F.call(this,s?r:a,s||"")}else B={[D]:a}}let t={};for(let o in B){let e=(s,u)=>{let v=u+((this.important||fe)&&!u.endsWith("!important")?"!important":"");s in t?t[s].push(v):t[s]=[v]},l=o+":",r=B[o];if(typeof r=="object")if(Array.isArray(r))for(let s of r)e(h,l+s.toString());else{ee=!0;for(let s in r)e(s,l+r[s])}else e(h,l+r.toString())}for(let o of Object.values(this.vendorSuffixSelectors))for(let e in t)this.natives.push({text:p(t[e].join(";"),e,o),theme:e})};if(this.theme)L(this.theme,!1);else if(C)for(let h of H)L(h,!0);else L("",!1)}at={};priority=-1;natives=[];keyframeNames;config;get values(){return this.css.values[this.config.id]}get text(){return this.natives.map(n=>n.text).join("")}resolveValue(n,f){return Number.isNaN(+n)?n:n/(f==="rem"||f==="em"?this.css.config.rootSize:1)+f}analyzeUnitValue(n,f){let S=f??this.config.unit;if(S){let j="",R=n.match(/^([+-.]?\d+(\.?\d+)?)(.*)?/);if(R)if(n.includes("/")){let[C,D]=n.split("/");return{value:+C/+D*100+"%",unit:j}}else{let C=+R[1];return j=R[3]||"",j||((S==="rem"||S==="em")&&(C=C/this.css.config.rootSize),j=S||""),{value:C,unit:j}}}}};export{le as Rule};
|
package/dist/index.browser.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var Ee=Object.defineProperty;var We=(t,e,i)=>e in t?Ee(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i;var oe=(t,e,i)=>(We(t,typeof e!="symbol"?e+"":e,i),i);function xe(t){let e=typeof Buffer<"u"?Buffer:null;return!!(e&&t instanceof e||t instanceof Date||t instanceof RegExp)}function ye(t){if(typeof Buffer<"u"&&Buffer&&t instanceof Buffer){let e=Buffer.alloc(t.length);return t.copy(e),e}else{if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp)return new RegExp(t);throw new Error("Unexpected situation")}}function ke(t){let e=[];return t.forEach(function(i,o){typeof i=="object"&&i!==null?Array.isArray(i)?e[o]=ke(i):xe(i)?e[o]=ye(i):e[o]=re({},i):e[o]=i}),e}function ve(t,e){return e==="__proto__"?void 0:t[e]}function re(...t){let e={},i,o;return t.forEach(function(m){typeof m!="object"||m===null||Array.isArray(m)||Object.keys(m).forEach(function(a){if(o=ve(e,a),i=ve(m,a),i!==e)if(typeof i!="object"||i===null){e[a]=i;return}else if(Array.isArray(i)){e[a]=ke(i);return}else if(xe(i)){e[a]=ye(i);return}else if(typeof o!="object"||o===null||Array.isArray(o)){e[a]=re({},i);return}else{e[a]=re(o,i);return}})}),e}var ie={"(":")","'":"'",'"':'"',"{":"}"};function le(t){if(typeof CSS<"u")return CSS.escape(t);if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");let e=String(t),i=e.length,o=-1,m="",a,k=e.charCodeAt(0);if(i==1&&k==45)return"\\"+e;for(;++o<i;){if(a=e.charCodeAt(o),a==0){m+="\uFFFD";continue}if(a>=1&&a<=31||a==127||o==0&&a>=48&&a<=57||o==1&&a>=48&&a<=57&&k==45){m+="\\"+a.toString(16)+" ";continue}if(a>=128||a==45||a==95||a>=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122){m+=e.charAt(o);continue}m+="\\"+e.charAt(o)}return m}var ze={unit:"",order:0,separators:[","]},ce=class{constructor(e,i={},o){this.className=e;this.meta=i;this.css=o;this.config=re(ze,i.config);let{unit:m,order:a,colored:k,native:h,analyze:y,transform:f,declare:v,create:s}=this.config,{scope:c,important:u,functions:b,themeDriver:S}=o.config,{themeNames:g,colorNames:l,colorThemesMap:r,selectors:n,breakpoints:d,mediaQueries:w,themeAffectedClassesBy:R,globalValues:T}=o,A=R[e];s&&s.call(this,e);let I,X,L,_,Z;if(i.origin==="semantics"){let[z,O]=i.value;_=e.slice(z.length),I=O}else{let z;if(y)[z,L]=y.call(this,e);else if(i.origin==="match"){let M=e.indexOf(":");this.prefix=e.slice(0,M+1),z=e.slice(M+1)}else i.origin==="symbol"&&(this.symbol=e[0],z=e.slice(1));Z=[];let O=this,E=this.values,F=[","];this.config.separators.length&&F.push(...this.config.separators);let C="",x=0;(function M(p,j,B,$=void 0,W=[],H=[],D){let Q=$===void 0,P,J=N=>N==="'"||N==='"',ee=()=>P=C.length,K=()=>{if(C){let N=C,Y=Q?N:C.slice(P);if(C="",q="",E&&Y in E&&!W.includes(Y)){let U=x;x=0,M(E[Y].toString(),j,void 0,$,[...W,Y],H,D),x=U,Q||(C=C.slice(0,P)+C)}else if(T&&Y in T&&!H.includes(Y)){let U=x;x=0,M(T[Y].toString(),j,void 0,$,W,[...H,Y],D),x=U,Q||(C=C.slice(0,P)+C)}else if(Q){let U=!D&&O.analyzeUnitValue(Y,j);Z.push({value:U?.value??Y,unit:U?.unit})}else{let U=!D&&O.analyzeUnitValue(Y,j);C=U?N.slice(0,P)+U.value+U.unit:N}ee()}},G=J(B);ee();let q="";for(;x<p.length;x++){let N=p[x];if(N===B){if(G){C+=N;let Y=0;for(let U=C.length-2;C[U]==="\\";U--)Y++;if(Y%2)continue}else K(),C+=N;return}else if(!G&&N in ie){let Y=N==="("&&q&&b?.[q];Y?.name&&(C=C.slice(0,C.length-q.length)+Y.name,q=Y.name),C+=N,x++;let U=ie[N];M(p,Y?.unit??j,U,q||$||"",W,H,D||!!Y?.transform),Y?.transform&&(C=C.slice(0,P+q.length+1)+Y.transform.call(O,C.slice(P+q.length+1,-1))+C.slice(-1)),Q&&(J(U)?(Z.push(C),C=""):K()),q=""}else if((N==="|"||N===" ")&&B!=="}"&&(!G||$==="path"))K(),Q||(C+=" ",P++);else{if(!G){if(N==="."){if(isNaN(+p[x+1]))break;p[x-1]==="-"&&(C+="0")}else if(F.includes(N)){K(),Q?Z.push(N):(C+=N,P++);continue}else if(Q&&(N==="#"&&(C||Z.length&&p[x-1]!=="|"&&Z[x-1]!==" ")||["!","*",">","+","~",":","[","@","_"].includes(N)))break;q+=N}C+=N}}$===void 0&&K()})(z,m),_=z.slice(x)}this.order=typeof a=="function"?a.call(this,this.prefix):a,_[0]==="!"&&(this.important=!0,_=_.slice(1));let be=z=>{let O=z.split(/(\\'(?:.*?)[^\\]\\')(?=[*_>~+,)])|(\[[^=]+='(?:.*?)[^\\]'\])/).map((x,M)=>M%3?x:x.replace(/_/g," ")).join(""),E=[],F="",C=0;for(let x=0;x<O.length;x++){let M=O[x];if(M==="\\"){F+=M+O[++x];continue}!C&&M===","?(E.push(F),F=""):(F+=M,C&&M===")"?C--:M==="("&&C++)}return F&&E.push(F),E};this.prefixSelectors=L?be(L):[""];let de=_.split("@"),fe=de[0];if(fe){this.vendorSuffixSelectors={};let z=(x,M,p,j)=>{for(let[B,$]of M)if(B.test(x)){for(let W of $)z(x.replace(B,W),M,p,!0);return}j&&p.push(x)},O=[];""in n?z(fe,n[""],O,!0):O.push(fe);let E={};for(let[x,M]of Object.entries(n)){if(!x)continue;let p=[];for(let j of O)z(j,M,p,!1);p.length&&(E[x]=p)}let F=(x,M)=>{let p=M.reduce((j,B)=>(j.push(...be(B)),j),[]);x in this.vendorSuffixSelectors?this.vendorSuffixSelectors[x].push(...p):this.vendorSuffixSelectors[x]=p},C=Object.keys(E);if(C.length)for(let x of C)F(x,E[x]);else F("",O);for(let x of Object.values(this.vendorSuffixSelectors))for(let M of x){this.hasWhere!==!1&&(this.hasWhere=M.includes(":where("));let p=[":disabled",":active",":focus",":hover"];for(let j=0;j<p.length;j++)if(M.includes(p[j])){(this.priority===-1||this.priority>j)&&(this.priority=j);break}}}else this.vendorSuffixSelectors={"":[""]};for(let z=1;z<de.length;z++){let O=de[z];if(O)if(g.includes(O))this.theme=O;else if(O==="rtl"||O==="ltr")this.direction=O;else{let E,F,C=O.indexOf("(");if(C!==-1)E=O.slice(0,C),F=O.slice(C);else{let x=O.indexOf("_");x!==-1&&(E=O.slice(0,x),F=O.slice(x))}if(!E){E="media";let x=[];this.media={token:O,features:{}};let M=O.split("&");for(let p of M)if(p==="all"||p==="print"||p==="screen"||p==="speech")this.media.type=p;else if(p==="\u{1F5A8}")this.media.type="print";else if(p==="landscape"||p==="portrait")x.push("(orientation:"+p+")");else if(p==="motion"||p==="reduced-motion")x.push("(prefers-reduced-motion:"+(p==="motion"?"no-preference":"reduce")+")");else if(w&&p in w)x.push(w[p]);else{let j={token:p},B="",$="",W=0;p.startsWith("<=")?($="<=",B="max-width"):p.startsWith(">=")||d[p]?($=">=",B="min-width"):p.startsWith(">")?($=">",B="min-width",W=.02):p.startsWith("<")&&($="<",B="max-width",W=-.02);let H=$?p.replace($,""):p,D=d[H];switch(B){case"max-width":case"min-width":D?Object.assign(j,this.analyzeUnitValue(D.toString(),"px")):Object.assign(j,this.analyzeUnitValue(H,"px")),j.unit==="px"&&(j.value+=W),this.media.features[B]=j,x.push("("+B+":"+(j.value+j.unit)+")");break}}F="",this.media.type&&(F=this.media.type),x.length&&(F+=(F?" and ":"")+x.join(" and "))}F&&(this.at[E]=(E in this.at?this.at[E]+" and ":"")+F.replace(/[_|]/g," "))}}let me=(z,O)=>{let E,F=(M,p,j)=>{let B="";this.direction&&(B+="[dir="+this.direction+"] ");let $=this.prefixSelectors.map(D=>D+B),W=(D,Q)=>$.map(P=>(D&&S!=="media"?S==="host"?`:host(.${D}) `:`.${D} `:"")+(c?c+" ":"")+P).reduce((P,J)=>(P.push(j.reduce((ee,K)=>(ee.push(J+"."+le(Q)+K),ee),[]).join(",")),P),[]).join(","),H=W(p,e)+(A?Object.entries(A).filter(([D])=>this.theme||!k||!p||!D||D===p).map(([D,Q])=>Q.reduce((P,J)=>P+","+W(this.theme??((k||X)&&p||D),J),"")).join(""):"")+"{"+M+"}";for(let D of Object.keys(this.at).sort((Q,P)=>P==="supports"?-1:1))H="@"+D+" "+this.at[D]+"{"+H+"}";return p&&S==="media"&&(H=`@media(prefers-color-scheme:${p}){`+H+"}"),H},C=[];if(Z){let M=[this.theme??z,""],p,j=!1;for(let B of Z)if(typeof B=="string")C.push(B);else{let $=B.value;if(B.unit)$+=B.unit;else if(k&&r&&l){let W=!1;$=$.replace(new RegExp(`(^|,| |\\()((?:${l.join("|")})(?:-(?:[0-9A-Za-z-]+))?)(?:\\/(\\.?[0-9]+%?))?(?=(\\)|\\}|,| |$))`,"gm"),(H,D,Q,P)=>{let J=r[Q];if(J){let ee,K;for(let G of M)if(ee=J[G]){K=G;break}if(ee){W=!O||K===z,p||(p=W);let G=ee;if(P){let q=P.endsWith("%")?parseFloat(P)/100:+P;q=isNaN(q)?1:Math.min(Math.max(q,0),1),G+=Math.round(q*255).toString(16).toUpperCase().padStart(2,"0")}return D+G}else j=!0}return H})}C.push($)}if(O&&(j||(p===void 0?z:!p)))return;if(E=C.reduce((B,$,W)=>B+$+($===","||Z[W+1]===","||W===Z.length-1?"":" "),""),f&&(E=f.call(this,E,this.css.config)),k&&E==="current"&&(E="currentColor"),v){let B,$;if(Z.length===1){let W=Z[0];typeof W=="object"&&(B=W.value,$=W.unit)}I=v.call(this,$?B:E,$||"")}else I={[h]:E}}let x={};for(let M in I){let p=($,W)=>{let H=W+((this.important||u)&&!W.endsWith("!important")?"!important":"");$ in x?x[$].push(H):x[$]=[H]},j=M+":",B=I[M];if(typeof B=="object")if(Array.isArray(B))for(let $ of B)p(z,j+$.toString());else{X=!0;for(let $ in B)p($,j+B[$])}else p(z,j+B.toString())}for(let M of Object.values(this.vendorSuffixSelectors))for(let p in x)this.natives.push({text:F(x[p].join(";"),p,M),theme:p})};if(this.theme)me(this.theme,!1);else if(k)for(let z of g)me(z,!0);else me("",!1)}at={};priority=-1;natives=[];keyframeNames;config;get values(){return this.css.values[this.config.id]}get text(){return this.natives.map(e=>e.text).join("")}resolveValue(e,i){return Number.isNaN(+e)?e:e/(i==="rem"||i==="em"?this.css.config.rootSize:1)+i}analyzeUnitValue(e,i){let o=i??this.config.unit;if(o){let m="",a=e.match(/^([+-.]?\d+(\.?\d+)?)(.*)?/);if(a)if(e.includes("/")){let[k,h]=e.split("/");return{value:+k/+h*100+"%",unit:m}}else{let k=+a[1];return m=a[3]||"",m||((o==="rem"||o==="em")&&(k=k/this.css.config.rootSize),m=o||""),{value:k,unit:m}}}}};var we={"3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560};function se(t){t.startsWith("#")&&(t=t.slice(1));let e=t.match(/.{1,2}/g);return[parseInt(e[0],16),parseInt(e[1],16),parseInt(e[2],16)]}function ue(t,e,i){return((1<<24)+(t<<16)+(e<<8)+i).toString(16).slice(1)}function V(t){typeof t=="string"&&(t={"":t});let e=""in t,i=!1;for(let o in t)if(o&&+o>=100){i=!0;break}if(!i&&(!e||Object.keys(t).length>1)){let o=0,m="0"in t?se(t[0]):[0,0,0],a,k,h=[],y=()=>{let f=a-o,v=k.map((s,c)=>(s-m[c])/f);for(let s of h){let c=s-o,u=m.map((b,S)=>Math.round(b+v[S]*c));t[s]="#"+ue.call(this,...u)}};for(let f=1;f<100;f++)f in t?(h.length?(a=f,k=se(t[f]),y(),h.length=0,m=k):m=se(t[f]),o=f):h.push(f);h.length&&(a=100,k="100"in t?se(t[100]):[255,255,255],y())}return e||(t[""]=t[i?"500":"50"]),t}var Se={black:"#000000",white:"#ffffff",slate:V({5:"#141e2b",10:"#19212d",20:"#262f3e",30:"#323e52",40:"#41516b",50:"#616a84",55:"#6c7693",60:"#959db3",70:"#a3abbf",80:"#d7dae3",95:"#f6f7f8"}),gray:V({5:"#1e1d1f",10:"#212022",20:"#2f2e30",30:"#3e3d40",40:"#504f52",50:"#6b6a6d",55:"#777679",60:"#9e9da0",70:"#abaaae",80:"#dad9db",95:"#f5f4f7"}),brown:V({5:"#271b15",10:"#2b1e18",20:"#3c2b22",30:"#50382c",40:"#694839",50:"#8d604b",55:"#9d6b53",60:"#b79788",70:"#c1a598",80:"#efd5c9",95:"#faf2ef"}),orange:V({5:"#2e1907",10:"#331b07",20:"#47260b",30:"#5d320e",40:"#7a4111",50:"#a15717",55:"#b4611a",60:"#e38739",70:"#e79855",80:"#f7d4b5",95:"#fcf1e7"}),gold:V({5:"#281b00",10:"#2d1e01",20:"#3f2a00",30:"#543800",40:"#6d4900",50:"#906000",55:"#9c6d00",60:"#d09100",70:"#dca000",80:"#fbd67f",95:"#fff3d8"}),yellow:V({5:"#251d00",10:"#282000",20:"#3a2e01",30:"#4b3b00",40:"#624e00",50:"#806700",55:"#8e7200",60:"#be9900",70:"#d0a700",80:"#edda8f",95:"#fff5ca"}),grass:V({5:"#162106",10:"#182406",20:"#223308",30:"#2c4408",40:"#3a570b",50:"#4e750e",60:"#74ae15",70:"#7dbc17",80:"#bfe87c",95:"#ebfad4"}),green:V({5:"#042311",10:"#032611",20:"#023717",30:"#03481f",40:"#025d26",50:"#067b34",55:"#07883a",60:"#09b64d",70:"#0ac553",80:"#80f1a4",95:"#e0fae8"}),beryl:V({5:"#002319",10:"#00271c",20:"#003626",30:"#004732",40:"#005c41",50:"#007954",55:"#00875e",60:"#00b37c",70:"#00c387",80:"#72f0c5",95:"#d6fcef"}),teal:V({5:"#012220",10:"#012624",20:"#003532",30:"#004541",40:"#005a54",50:"#00776f",55:"#00857c",60:"#00b1a5",70:"#00bfb2",80:"#6aeee5",95:"#d4fcf8"}),cyan:V({5:"#00222b",10:"#00252e",20:"#013340",30:"#004457",40:"#00576f",50:"#007391",55:"#0080a1",60:"#00abd7",70:"#00b9e9",80:"#97e6fa",95:"#dff8ff"}),sky:V({5:"#031f34",10:"#032339",20:"#04314e",30:"#044169",40:"#065386",50:"#086eb3",55:"#097ac5",60:"#29a4f5",70:"#4db3f7",80:"#b3e0ff",95:"#eaf6fe"}),blue:V({5:"#07194a",10:"#081c53",20:"#0a2773",30:"#0e3496",40:"#1146b6",50:"#175fe9",55:"#2671ea",60:"#6b9ef1",70:"#81acf3",80:"#c6dbfe",95:"#edf4fe"}),indigo:V({5:"#1f1645",10:"#20174f",20:"#2b1f74",30:"#37289d",40:"#463fb1",50:"#5a5bd5",55:"#6464f1",60:"#9393f5",70:"#a1a5ee",80:"#d5d7fe",95:"#f1f2ff"}),violet:V({5:"#2b0a4e",10:"#2e0b57",20:"#3d1179",30:"#4e169f",40:"#5f2eba",50:"#7949e5",55:"#8755f5",60:"#ac8af8",70:"#b89bf9",80:"#e1d4fe",95:"#f5f1ff"}),purple:V({5:"#2e0c47",10:"#330c4e",20:"#460f6c",30:"#5b1390",40:"#7421b1",50:"#9832e4",55:"#a348e7",60:"#c184ef",70:"#ca96f1",80:"#ead1fe",95:"#f9f0ff"}),fuchsia:V({5:"#39092a",10:"#400932",20:"#560d4a",30:"#6f1165",40:"#8c158a",50:"#b61cbb",55:"#ca1fce",60:"#e66ee9",70:"#ea86ed",80:"#facbfb",95:"#feefff"}),pink:V({5:"#3d0722",10:"#430725",20:"#5d0933",30:"#790d44",40:"#9a1058",50:"#ca1473",55:"#e11681",60:"#f170b4",70:"#f388c0",80:"#fdcde6",95:"#fff0f8"}),crimson:V({5:"#430213",10:"#470314",20:"#62041c",30:"#800524",40:"#9f1036",50:"#ce1a4b",55:"#e8144c",60:"#f37596",70:"#f58ba7",80:"#fdceda",95:"#fff1f4"}),red:V({5:"#450001",10:"#490102",20:"#640304",30:"#800506",40:"#a11012",50:"#d11a1e",55:"#ed0a0e",60:"#f97476",70:"#fa8b8d",80:"#fdcfcf",95:"#fff1f1"})};var Ce="";var Re={"::scrollbar":"::-webkit-scrollbar","::scrollbar-button":"::-webkit-scrollbar-button","::scrollbar-thumb":"::-webkit-scrollbar-thumb","::scrollbar-track":"::-webkit-scrollbar-track","::scrollbar-track-piece":"::-webkit-scrollbar-track-piece","::scrollbar-corner":"::-webkit-scrollbar-corner","::slider-thumb":["::-webkit-slider-thumb","::-moz-range-thumb"],"::slider-runnable-track":["::-webkit-slider-runnable-track","::-moz-range-track"],"::meter":"::-webkit-meter","::resizer":"::-webkit-resizer","::progress":"::-webkit-progress",":first":":first-child",":last":":last-child",":even":":nth-child(2n)",":odd":":nth-child(odd)",":nth(":":nth-child("};var $e={square:{"aspect-ratio":"1/1"},video:{"aspect-ratio":"16/9"},rounded:{"border-radius":"1e9em"},round:{"border-radius":"50%"},hidden:{display:"none"},hide:{display:"none"},block:{display:"block"},table:{display:"table"},flex:{display:"flex"},grid:{display:"grid"},contents:{display:"contents"},inline:{display:"inline"},"inline-block":{display:"inline-block"},"inline-flex":{display:"inline-flex"},"inline-grid":{display:"inline-grid"},"inline-table":{display:"inline-table"},"table-cell":{display:"table-cell"},"table-caption":{display:"table-caption"},"flow-root":{display:"flow-root"},"list-item":{display:"list-item"},"table-row":{display:"table-row"},"table-column":{display:"table-column"},"table-row-group":{display:"table-row-group"},"table-column-group":{display:"table-column-group"},"table-header-group":{display:"table-header-group"},"table-footer-group":{display:"table-footer-group"},italic:{"font-style":"italic"},oblique:{"font-style":"oblique"},isolate:{isolation:"isolate"},overflowed:{overflow:"visible"},untouchable:{"pointer-events":"none"},static:{position:"static"},fixed:{position:"fixed"},abs:{position:"absolute"},rel:{position:"relative"},sticky:{position:"sticky"},uppercase:{"text-transform":"uppercase"},lowercase:{"text-transform":"lowercase"},capitalize:{"text-transform":"capitalize"},visible:{visibility:"visible"},invisible:{visibility:"hidden"},vw:{width:"100vw"},vh:{height:"100vh"},"max-vw":{"max-width":"100vw"},"max-vh":{"max-height":"100vh"},"min-vw":{"min-width":"100vw"},"min-vh":{"min-height":"100vh"},"center-content":{"justify-content":"center","align-items":"center"},"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"},full:{width:"100%",height:"100%"},center:{left:0,right:0,"margin-left":"auto","margin-right":"auto"},middle:{top:0,bottom:0,"margin-top":"auto","margin-bottom":"auto"},"break-spaces":{"white-space":"break-spaces"},"break-word":{"overflow-wrap":"break-word",overflow:"hidden"},"gradient-text":{"-webkit-text-fill-color":"transparent","-webkit-background-clip":"text","background-clip":"text"}};var Te=["dark","light"];var De={group:{match:"^(?:.+?[*_>~+])?\\{.+?\\}",analyze(t){let e=0;for(;e<t.length&&!(t[e]==="{"&&t[e-1]!=="\\");e++);return[t.slice(e),t.slice(0,e)]},declare(t){let e={},i=(f,v)=>{let s=v.indexOf(":");if(s!==-1){f in e||(e[f]={});let c=e[f],u=v.slice(0,s);u in c||(c[u]=v.slice(s+1))}},o=f=>{let v=(s,c)=>{let u=c.slice(le(f.className).length).match(/\{(.*)\}/)[1].split(";");for(let b of u)i(s,b)};if(this.theme){let s=f.natives.find(c=>c.theme===this.theme)??f.natives.find(c=>!c.theme);s&&v(this.theme,s.text)}else for(let s of f.natives)v(s.theme,s.text);if(f.keyframeNames){this.keyframeNames||(this.keyframeNames=[]);for(let s of f.keyframeNames)this.keyframeNames.includes(s)||this.keyframeNames.push(s)}},m=[],a="",k=()=>{a&&(m.push(a.replace(/ /g,"|")),a="")},h=1;(function f(v){for(;h<t.length;h++){let s=t[h];if(!v){if(s===";"){k();continue}if(s==="}")break}if(a+=s,v===s){if(v==="'"||v==='"'){let c=0;for(let u=a.length-2;a[u]==="\\";u--)c++;if(c%2)continue}break}else s in ie&&v!=="'"&&v!=='"'&&(h++,f(ie[s]))}})(void 0),k();for(let f of m){let v=this.css.create(f);if(Array.isArray(v))for(let s of v)o(s);else v?o(v):i(this.theme??"",f)}let y={};for(let f in e)for(let[v,s]of Object.entries(e[f]))v in y?y[v][f]=s:y[v]={[f]:s};return y},delete(){return he.call(this)},insert(){return ge.call(this)}},variable:{match:"^\\$[^ (){}A-Z]+:[^ ]",declare(t){return{["--"+this.prefix.slice(1,-1)]:t}}},fontSize:{match:"^f(?:ont)?:(?:[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},fontWeight:{match:"^f(?:ont)?:(?:bolder|$values)(?!\\|)",native:!0,values:{thin:100,extralight:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,heavy:900}},fontFamily:{match:"^f(?:ont)?:(?:$values)(?!\\|)",native:!0,values:{mono:"ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",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",serif:"ui-serif,Georgia,Cambria,Times New Roman,Times,serif"}},fontSmoothing:{match:"^f(?:ont)?:(?:antialiased|subpixel-antialiased|$values)(?!\\|)",declare(t){switch(t){case"subpixel-antialiased":return{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"};case"antialiased":return{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}}}},fontStyle:{match:"^f(?:ont)?:(?:normal|italic|oblique|$values)(?!\\|)",native:!0,unit:"deg"},fontVariantNumeric:{match:"^f(?:ont)?:(?:ordinal|slashed-zero|lining-nums|oldstyle-nums|proportional-nums|tabular-nums|diagonal-fractions|stacked-fractions|$values)(?!\\|)",native:!0},fontFeatureSettings:{match:"^font-feature:.",native:!0},font:{match:"^f:.",native:!0,order:-1},color:{match:"^(?:color|fg|foreground):.",native:!0,colored:!0,values:{current:"currentColor"}},marginLeft:{match:"^ml:.",native:!0,unit:"rem"},marginRight:{match:"^mr:.",native:!0,unit:"rem"},marginTop:{match:"^mt:.",native:!0,unit:"rem"},marginBottom:{match:"^mb:.",native:!0,unit:"rem"},marginX:{match:"^(?:mx|margin-x):.",unit:"rem",order:-.5,declare(t,e){return{"margin-left":t+e,"margin-right":t+e}}},marginY:{match:"^(?:my|margin-y):.",unit:"rem",order:-.5,declare(t,e){return{"margin-top":t+e,"margin-bottom":t+e}}},margin:{match:"^m:.",native:!0,unit:"rem",order:-1},paddingLeft:{match:"^pl:.",native:!0,unit:"rem"},paddingRight:{match:"^pr:.",native:!0,unit:"rem"},paddingTop:{match:"^pt:.",native:!0,unit:"rem"},paddingBottom:{match:"^pb:.",native:!0,unit:"rem"},paddingX:{match:"^(?:px|padding-x):.",unit:"rem",order:-.5,declare(t,e){return{"padding-left":t+e,"padding-right":t+e}}},paddingY:{match:"^(?:py|padding-y):.",unit:"rem",order:-.5,declare(t,e){return{"padding-top":t+e,"padding-bottom":t+e}}},padding:{match:"^p:.",native:!0,unit:"rem",order:-1},flexBasis:{values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560},unit:"rem",native:!0},flexWrap:{match:"^flex:(?:wrap(?:-reverse)?|nowrap|$values)(?!\\|)",native:!0},flexGrow:{native:!0},flexShrink:{native:!0},flexDirection:{match:"^flex:(?:(?:row|column)(?:-reverse)?|$values)(?!\\|)",native:!0,values:{col:"column","col-reverse":"column-reverse"}},flex:{native:!0,order:-1},display:{match:"^d:.",native:!0},width:{match:"^w:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},height:{match:"^h:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},minWidth:{match:"^min-w:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},minHeight:{match:"^min-h:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},box:{match:"^(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)",unit:"rem",separators:["x"],analyze(t){return[t]},declare(t){let[e,i]=t.split(" x ");return{width:e,height:i}}},minBox:{match:"^min:(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)",unit:"rem",separators:["x"],analyze(t){return[t.slice(4)]},declare(t){let[e,i]=t.split(" x ");return{"min-width":e,"min-height":i}}},maxBox:{match:"^max:(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)",unit:"rem",separators:["x"],analyze(t){return[t.slice(4)]},declare(t){let[e,i]=t.split(" x ");return{"max-width":e,"max-height":i}}},contain:{native:!0},content:{native:!0},counterIncrement:{native:!0},counterReset:{native:!0},letterSpacing:{match:"^ls:.",native:!0,unit:"em"},lineHeight:{match:"^lh:.",native:!0},objectFit:{match:"^(?:object|obj):(?:contain|cover|fill|scale-down|$values)",native:!0},objectPosition:{match:"^(?:object|obj):(?:top|bottom|right|left|center|$values)",native:!0},textAlign:{match:"^t(?:ext)?:(?:justify|center|left|right|start|end|$values)(?!\\|)",native:!0},textDecorationColor:{match:"^text-decoration:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},textDecorationStyle:{match:"^t(?:ext)?:(?:solid|double|dotted|dashed|wavy|$values)(?!\\|)",native:!0},textDecorationThickness:{match:"^text-decoration:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|from-font|$values)[^|]*$",native:!0,unit:"em"},textDecorationLine:{match:"^t(?:ext)?:(?:none|underline|overline|line-through|$values)(?!\\|)",native:!0},textDecoration:{match:"^t(?:ext)?:(?:underline|line-through|overline)",unit:"rem",native:!0,colored:!0,values:{current:"currentColor"},order:-1},textUnderlineOffset:{unit:"rem",native:!0},textOverflow:{match:"^(?:text-(?:overflow|ovf):.|t(?:ext)?:(?:ellipsis|clip|$values)(?!\\|))",native:!0},textOrientation:{match:"^t(?:ext)?:(?:mixed|upright|sideways-right|sideways|use-glyph-orientation|$values)(?!\\|)",native:!0},textTransform:{match:"^t(?:ext)?:(?:uppercase|lowercase|capitalize|$values)(?!\\|)",native:!0},textRendering:{match:"^t(?:ext)?:(?:optimizeSpeed|optimizeLegibility|geometricPrecision|$values)(?!\\|)",native:!0},textIndent:{unit:"rem",native:!0},verticalAlign:{match:"^(?:v|vertical):.",native:!0},columns:{match:"^(?:columns|cols):.",native:!0,order:-1},whiteSpace:{native:!0},top:{native:!0,unit:"rem"},bottom:{native:!0,unit:"rem"},left:{native:!0,unit:"rem"},right:{native:!0,unit:"rem"},inset:{native:!0,unit:"rem",order:-1},lines:{match:"^lines:.",declare(t,e){return{overflow:"hidden",display:"-webkit-box","overflow-wrap":"break-word","text-overflow":"ellipsis","-webkit-box-orient":"vertical","-webkit-line-clamp":t+e}}},maxHeight:{match:"^max-h:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},maxWidth:{match:"^max-w:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},boxSizing:{match:"^box:(?:$values)(?!\\|)",native:!0,values:{content:"content-box",border:"border-box"}},opacity:{native:!0},visibility:{native:!0},clear:{native:!0},float:{native:!0},isolation:{native:!0},overflowX:{native:!0,declare(t,e){return t==="overlay"?{"overflow-x":["auto",t]}:{"overflow-x":t}}},overflowY:{native:!0,declare(t,e){return t==="overlay"?{"overflow-y":["auto",t]}:{"overflow-y":t}}},overflow:{native:!0,order:-1,declare(t,e){return t==="overlay"?{overflow:["auto",t]}:{overflow:t}}},overscrollBehaviorX:{native:!0},overscrollBehaviorY:{native:!0},overscrollBehavior:{native:!0,order:-1},zIndex:{match:"^z:.",native:!0},position:{native:!0,values:{abs:"absolute",rel:"relative"}},cursor:{native:!0},pointerEvents:{native:!0},resize:{native:!0},touchAction:{native:!0},wordBreak:{native:!0},wordSpacing:{native:!0,unit:"em"},userDrag:{native:!0,declare(t,e){return{"user-drag":t+e,"-webkit-user-drag":t+e}}},userSelect:{native:!0,declare(t,e){return{"user-select":t+e,"-webkit-user-select":t+e}}},textShadow:{unit:"rem",native:!0,colored:!0,values:{current:"currentColor"}},textSize:{match:"^t(?:ext)?:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",declare(t,e){return{"font-size":t+e,"line-height":e==="em"?t+.875+e:`calc(${t}${e} + ${.875}em)`}}},textFillColor:{native:!0,match:"^(?:text-fill|text|t):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",colored:!0,values:{current:"currentColor"},declare(t,e){return{"-webkit-text-fill-color":t+e}}},textStrokeWidth:{match:"^text-stroke(:(thin|medium|thick|\\.?[0-9]+|$values)(?!\\|)|-width:.)",unit:"rem",declare(t,e){return{"-webkit-text-stroke-width":t+e}}},textStrokeColor:{match:"^text-stroke:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"},declare(t,e){return{"-webkit-text-stroke-color":t+e}}},textStroke:{unit:"rem",native:!0,declare(t,e){return{"-webkit-text-stroke":t+e}}},boxShadow:{match:"^s(?:hadow)?:.",unit:"rem",native:!0,colored:!0,values:{current:"currentColor"}},tableLayout:{native:!0},transformBox:{match:"^transform:(?:$values)(?!\\|)",native:!0,values:{content:"content-box",border:"border-box",padding:"padding-box",fill:"fill-box",stroke:"stroke-box",view:"view-box"}},transformStyle:{match:"^transform:(?:flat|preserve-3d|$values)(?!\\|)",native:!0},transformOrigin:{match:"^transform:(?:top|bottom|right|left|center|[0-9]|$values)",native:!0,unit:"px"},transform:{match:"^(?:translate|scale|skew|rotate|perspective|matrix)(?:3d|[XYZ])?\\(",native:!0},transitionProperty:{match:"^~property:.",native:!0},transitionTimingFunction:{match:"^~easing:.",native:!0},transitionDuration:{match:"^~duration:.",native:!0,unit:"ms"},transitionDelay:{match:"^~delay:.",native:!0,unit:"ms"},transition:{symbol:"~",native:!0,order:-1},animationDelay:{match:"^@delay:.",native:!0,unit:"ms"},animationDirection:{match:"^@direction:.",native:!0},animationDuration:{match:"^@duration:.",native:!0,unit:"ms"},animationFillMode:{match:"^@fill-mode:.",native:!0},animationIterationCount:{match:"^@iteration-count:.",native:!0},animationName:{match:"^@name:.",native:!0,create(t){return Be.call(this,t)},delete(){return he.call(this)},insert(){return ge.call(this)}},animationPlayState:{match:"^@play-state:.",native:!0},animationTimingFunction:{match:"^@easing:.",native:!0},animation:{symbol:"@",native:!0,order:-1,create(t){return Be.call(this,t)},delete(){return he.call(this)},insert(){return ge.call(this)}},borderCollapse:{match:"^b(?:order)?:(?:collapse|separate|$values)(?!\\|)",native:!0},borderSpacing:{unit:"rem",native:!0},borderTopColor:{match:"^b(?:t|order-top(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},borderBottomColor:{match:"^b(?:b|order-bottom(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},borderLeftColor:{match:"^b(?:l|order-left(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},borderRightColor:{match:"^b(?:r|order-right(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},borderXColor:{match:"^b(?:x|order-x(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",order:-.5,colored:!0,values:{current:"currentColor"},declare(t,e){return{"border-left-color":t+e,"border-right-color":t+e}}},borderYColor:{match:"^b(?:y|order-y(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",order:-.5,colored:!0,values:{current:"currentColor"},declare(t,e){return{"border-top-color":t+e,"border-bottom-color":t+e}}},borderColor:{match:"^b(?:order)?(?:-color)?:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,order:-1,colored:!0,values:{current:"currentColor"}},borderTopLeftRadius:{match:"^r(?:tl|lt):.",unit:"rem",native:!0},borderTopRightRadius:{match:"^r(?:tr|rt):.",unit:"rem",native:!0},borderBottomLeftRadius:{match:"^r(?:bl|lb):.",unit:"rem",native:!0},borderBottomRightRadius:{match:"^r(?:br|rb):.",unit:"rem",native:!0},borderTopRadius:{match:"^rt:.",unit:"rem",order:-.5,declare(t,e){return{"border-top-left-radius":t+e,"border-top-right-radius":t+e}}},borderBottomRadius:{match:"^rb:.",unit:"rem",order:-.5,declare(t,e){return{"border-bottom-left-radius":t+e,"border-bottom-right-radius":t+e}}},borderLeftRadius:{match:"^rl:.",unit:"rem",order:-.5,declare(t,e){return{"border-top-left-radius":t+e,"border-bottom-left-radius":t+e}}},borderRightRadius:{match:"^rr:.",unit:"rem",order:-.5,declare(t,e){return{"border-top-right-radius":t+e,"border-bottom-right-radius":t+e}}},borderRadius:{match:"^r:.",unit:"rem",native:!0,order:-1},borderTopStyle:{match:"^b(?:t|order-top(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0},borderBottomStyle:{match:"^b(?:b|order-bottom(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0},borderLeftStyle:{match:"^b(?:l|order-left(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0},borderRightStyle:{match:"^b(?:r|order-right(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0},borderXStyle:{match:"^b(?:x|order-x(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",order:-.5,declare(t,e){return{"border-left-style":t+e,"border-right-style":t+e}}},borderYStyle:{match:"^b(?:y|order-y(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",order:-.5,declare(t,e){return{"border-top-style":t+e,"border-bottom-style":t+e}}},borderStyle:{match:"^b(?:order)?(?:-style)?:(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0,order:-1},borderTopWidth:{match:"^b(?:t|order-top(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},borderBottomWidth:{match:"^b(?:b|order-bottom(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},borderLeftWidth:{match:"^b(?:l|order-left(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},borderRightWidth:{match:"^b(?:r|order-right(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},borderXWidth:{match:"^b(?:x|order-x(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",order:-.5,declare(t,e){return{"border-left-width":t+e,"border-right-width":t+e}}},borderYWidth:{match:"^b(?:y|order-y(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",order:-.5,declare(t,e){return{"border-top-width":t+e,"border-bottom-width":t+e}}},borderWidth:{match:"^b(?:order)?(?:-width)?:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0,order:-1},borderImageOutset:{unit:"rem",native:!0},borderImageRepeat:{match:"^border-image:(?:stretch|repeat|round|space|$values)(?!\\|)",native:!0},borderImageSlice:{native:!0},borderImageSource:{match:"^border-image:(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)(?!\\|)",native:!0},borderImageWidth:{match:"^border-image:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},borderImage:{native:!0,order:-1},borderTop:{match:"^bt:.",native:!0,unit:"rem",colored:!0,values:{current:"currentColor"}},borderBottom:{match:"^bb:.",native:!0,unit:"rem",colored:!0,values:{current:"currentColor"}},borderLeft:{match:"^bl:.",native:!0,unit:"rem",colored:!0,values:{current:"currentColor"}},borderRight:{match:"^br:.",native:!0,unit:"rem",colored:!0,values:{current:"currentColor"}},borderX:{match:"^(?:bx|border-x):.",unit:"rem",colored:!0,order:-.5,values:{current:"currentColor"},declare(t){return{"border-left":t,"border-right":t}}},borderY:{match:"^(?:by|border-y):.",unit:"rem",colored:!0,order:-.5,values:{current:"currentColor"},declare(t){return{"border-top":t,"border-bottom":t}}},border:{match:"^b:.",native:!0,unit:"rem",colored:!0,values:{current:"currentColor"},order:-2},backgroundAttachment:{match:"^(?:bg|background):(?:fixed|local|scroll|$values)(?!\\|)",native:!0},backgroundBlendMode:{native:!0},backgroundColor:{match:"^(?:bg|background):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},backgroundClip:{match:"^(?:bg|background):(?:text|$values)(?!\\|)",native:!0,declare(t,e){return{"-webkit-background-clip":t+e,"background-clip":t+e}},values:{content:"content-box",border:"border-box",padding:"padding-box"}},backgroundOrigin:{match:"^(?:bg|background):(?:$values)(?!\\|)",native:!0,values:{content:"content-box",border:"border-box",padding:"padding-box"}},backgroundPosition:{match:"^(?:bg|background):(?:top|bottom|right|left|center|$values)(?!\\|)",native:!0,unit:"px"},backgroundRepeat:{match:"^(?:bg|background):(?:space|round|repeat|no-repeat|repeat-x|repeat-y|$values)(?![|a-zA-Z])",native:!0},backgroundSize:{match:"^(?:bg|background):(?:\\.?\\[0-9]+|auto|cover|contain|$values)(?!\\|)",unit:"rem",native:!0},backgroundImage:{match:"^(?:(?:bg|background):(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)|gradient\\(.*\\))(?!\\|)",native:!0,colored:!0,values:{current:"currentColor"},analyze(t){if(t.startsWith("gradient"))return["linear-"+t];let e=t.indexOf(":");return this.prefix=t.slice(0,e+1),[t.slice(e+1)]}},background:{match:"^bg:.",native:!0,colored:!0,values:{current:"currentColor"},order:-1},mixBlendMode:{match:"^blend:.",native:!0},backdropFilter:{match:"^bd:.",native:!0,colored:!0,values:{current:"currentColor"},declare(t,e){return{"backdrop-filter":t+e,"-webkit-backdrop-filter":t+e}}},filter:{match:"^(?:blur|brightness|contrast|drop-shadow|grayscale|hue-rotate|invert|opacity|saturate|sepia)\\(",native:!0,colored:!0,values:{current:"currentColor"}},fill:{match:"^fill:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},strokeDasharray:{native:!0},strokeDashoffset:{native:!0},strokeWidth:{match:"^stroke:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",native:!0},stroke:{native:!0,colored:!0,values:{current:"currentColor"}},x:{native:!0},y:{native:!0},cx:{native:!0},cy:{native:!0},rx:{native:!0},ry:{native:!0},gridColumnStart:{match:"^grid-col-start:.",native:!0},gridColumnEnd:{match:"^grid-col-end:.",native:!0},gridColumn:{match:"^grid-col(?:umn)?(?:-span)?:.",native:!0,order:-1,transform(t){return this.prefix.slice(-5,-1)==="span"&&t!=="auto"?"span "+t+"/span "+t:t}},gridColumns:{match:"^grid-cols:.",declare(t,e){return{display:"grid","grid-template-columns":"repeat("+t+e+",minmax(0,1fr))"}}},gridRowStart:{native:!0},gridRowEnd:{native:!0},gridRow:{match:"^grid-row-span:.",native:!0,order:-1,transform(t){return this.prefix.slice(-5,-1)==="span"&&t!=="auto"?"span "+t+"/span "+t:t}},gridRows:{match:"^grid-rows:.",declare(t,e){return{display:"grid","grid-auto-flow":"column","grid-template-rows":"repeat("+t+e+",minmax(0,1fr))"}}},gridAutoColumns:{match:"^grid-auto-cols:.",native:!0,values:{min:"min-content",max:"max-content"}},gridAutoFlow:{match:"^grid-flow:.",native:!0},gridAutoRows:{values:{min:"min-content",max:"max-content"},native:!0},gridTemplateAreas:{native:!0},gridTemplateColumns:{match:"^grid-template-cols:.",native:!0,unit:"rem",values:{min:"min-content",max:"max-content"}},gridTemplateRows:{native:!0,unit:"rem",values:{min:"min-content",max:"max-content"}},gridTemplate:{native:!0,order:-1},gridArea:{native:!0,order:-1},grid:{native:!0,order:-1},columnGap:{match:"^gap-x:.",unit:"rem",native:!0},rowGap:{match:"^gap-y:.",unit:"rem",native:!0},gap:{unit:"rem",native:!0,order:-1},order:{match:"^o:.",native:!0,values:{first:-999999,last:999999}},breakInside:{native:!0},breakBefore:{native:!0},breakAfter:{native:!0},boxDecorationBreak:{match:"^box:(?:slice|clone|$values)(?!\\|)",native:!0,declare(t,e){return{"box-decoration-break":t+e,"-webkit-box-decoration-break":t+e}}},aspectRatio:{match:"^aspect:.",native:!0},columnSpan:{match:"^col-span:.",native:!0},alignContent:{match:"^ac:.",native:!0},alignItems:{match:"^ai:.",native:!0},alignSelf:{match:"^as:",native:!0},justifyContent:{match:"^jc:.",native:!0},justifyItems:{match:"^ji:.",native:!0},justifySelf:{match:"^js:.",native:!0},placeContent:{native:!0,order:-1},placeItems:{native:!0,order:-1},placeSelf:{native:!0,order:-1},listStylePosition:{match:"^list-style:(?:inside|outside|$values)(?!\\|)",native:!0},listStyleType:{match:"^list-style:(?:disc|decimal|$values)(?!\\|)",native:!0},listStyleImage:{match:"^list-style:(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)(?!\\|)",native:!0},listStyle:{native:!0,order:-1},outlineColor:{match:"^outline:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},outlineOffset:{unit:"rem",native:!0},outlineStyle:{match:"^outline:(?:none|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0},outlineWidth:{match:"^outline:(?:\\.?[0-9]|medium|thick|thin|(max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},outline:{native:!0,unit:"rem",order:-1,colored:!0,values:{current:"currentColor"}},accentColor:{match:"^accent:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},appearance:{native:!0},caretColor:{match:"^caret:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},scrollBehavior:{native:!0},scrollMarginLeft:{match:"^sml:.",native:!0,unit:"rem"},scrollMarginRight:{match:"^smr:.",native:!0,unit:"rem"},scrollMarginTop:{match:"^smt:.",native:!0,unit:"rem"},scrollMarginBottom:{match:"^smb:.",native:!0,unit:"rem"},scrollMarginX:{match:"^(?:smx|scroll-margin-x):.",unit:"rem",order:-.5,declare(t,e){return{"scroll-margin-left":t+e,"scroll-margin-right":t+e}}},scrollMarginY:{match:"^(?:smy|scroll-margin-y):.",unit:"rem",order:-.5,declare(t,e){return{"scroll-margin-top":t+e,"scroll-margin-bottom":t+e}}},scrollMargin:{match:"^sm:.",native:!0,unit:"rem",order:-1},scrollPaddingLeft:{match:"^spl:.",native:!0,unit:"rem"},scrollPaddingRight:{match:"^spr:.",native:!0,unit:"rem"},scrollPaddingTop:{match:"^spt:.",native:!0,unit:"rem"},scrollPaddingBottom:{match:"^spb:.",native:!0,unit:"rem"},scrollPaddingX:{match:"^(?:spx|scroll-padding-x):.",unit:"rem",order:-.5,declare(t,e){return{"scroll-padding-left":t+e,"scroll-padding-right":t+e}}},scrollPaddingY:{match:"^(?:spy|scroll-padding-y):.",unit:"rem",order:-.5,declare(t,e){return{"scroll-padding-top":t+e,"scroll-padding-bottom":t+e}}},scrollPadding:{match:"^sp:.",native:!0,unit:"rem",order:-1},scrollSnapAlign:{match:"^scroll-snap:(?:start|end|center|$values)",native:!0},scrollSnapStop:{match:"^scroll-snap:(?:normal|always|$values)(?!\\|)",native:!0},scrollSnapType:{match:"^scroll-snap:(?:(?:[xy]|block|inline|both)(?:\\|(?:proximity|mandatory))?|$values)(?!\\|)",native:!0},willChange:{native:!0},writingMode:{match:"^writing:.",native:!0},direction:{native:!0},shapeOutside:{match:"^shape:(?:(?:inset|circle|ellipse|polygon|url|linear-gradient)\\(.*\\)|$values)(?!\\|)",native:!0,values:{content:"content-box",border:"border-box",padding:"padding-box",margin:"margin-box"}},shapeMargin:{match:"^shape:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},shapeImageThreshold:{native:!0},clipPath:{match:"^clip:.",native:!0,values:{content:"content-box",border:"border-box",padding:"padding-box",margin:"margin-box",fill:"fill-box",stroke:"stroke-box",view:"view-box"}},quotes:{native:!0},maskImage:{native:!0,declare(t,e){return{"mask-image":t+e,"-webkit-mask-image":t+e}}}},Me=De;function Be(t){if(!this.css.config.keyframes)return;let e=(this.meta.origin==="symbol"?t.slice(this.meta.config.symbol.length):t.slice(t.indexOf(":")+1)).split("|").filter(i=>i in this.css.config.keyframes);e?.length&&(this.keyframeNames=e)}function he(){if(this.keyframeNames?.length){let t=this.css.rules[0];for(let e of this.keyframeNames){let i=this.css.keyframes[e];if(!--i.count){let o=t.natives.indexOf(i.native);this.css.style.sheet.deleteRule(o),t.natives.splice(o,1),delete this.css.keyframes[e]}}t.natives.length||this.css.rules.splice(0,1)}}function ge(){if(this.keyframeNames){let{config:t,keyframes:e,style:i,rules:o}=this.css,m=i?.sheet;for(let a of this.keyframeNames)if(a in e)e[a].count++;else{let k={text:`@keyframes ${a}{`+Object.entries(t.keyframes[a]).map(([y,f])=>`${y}{${Object.entries(f).map(([v,s])=>v+":"+s).join(";")}}`).join("")+"}",theme:""},h;if(Object.keys(e).length?(h=o[0]).natives.push(k):o.splice(0,0,h={natives:[k],get text(){return this.natives.map(y=>y.text).join("")}}),m){let y;for(let f=0;f<m.cssRules.length;f++){let v=m.cssRules[f];if(v.constructor.name!=="CSSKeyframesRule")break;if(v.name===a){y=v;break}}if(y)k.cssRule=y;else{let f=h.natives.length-1;m.insertRule(k.text,f),k.cssRule=m.cssRules[f]}}e[a]={native:k,count:1}}}}var je={fade:{"0%":{opacity:0},to:{opacity:1}},flash:{"0%,50%,to":{opacity:1},"25%,75%":{opacity:0}},float:{"0%":{transform:"none"},"50%":{transform:"translateY(-1.25rem)"},to:{transform:"none"}},heart:{"0%":{transform:"scale(1)"},"14%":{transform:"scale(1.3)"},"28%":{transform:"scale(1)"},"42%":{transform:"scale(1.3)"},"70%":{transform:"scale(1)"}},jump:{"0%,to":{transform:"translateY(-25%)","animation-timing-function":"cubic-bezier(.8,0,1,1)"},"50%":{transform:"translateY(0)","animation-timing-function":"cubic-bezier(0,0,.2,1)"}},ping:{"75%,to":{transform:"scale(2)",opacity:0}},pulse:{"0%":{transform:"none"},"50%":{transform:"scale(1.05)"},to:{transform:"none"}},rotate:{"0%":{transform:"rotate(-360deg)"},to:{transform:"none"}},shake:{"0%":{transform:"none"},"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:"none"}},zoom:{"0%":{transform:"scale(0)"},to:{transform:"none"}}};var Oe={$:{name:"var",transform(t){return"--"+t}},calc:{transform(t){let e=this.values,i=this.css.globalValues,o=this.css.config.functions,m=this,a=0,k="",h="";return function y(f,v){let s=!1,c=(u,b=!1,S=!1)=>{if(u!=="("&&(e&&h in e?h=e[h].toString():i&&h in i&&(h=i[h].toString())),h&&!s&&!v){let g=m.analyzeUnitValue(h,o.calc.unit);g&&(h=g.value+g.unit)}k+=h+(b&&t[a-1]!==" "?" ":"")+u+(S&&t[a+1]!==" "?" ":""),h="",s=!1};for(;a<t.length;a++){let u=t[a];if(u==="("){let b=h,S=s,g=k.length;if(c(u),a++,y(b,S||v),b!=="calc"){let l=o[b];if(l){let r=k.slice(g+2,k.length-1);k=k.slice(0,g-b.length+1)+(l.name??b)+"("+(l.transform?.(r)??r)+")"}}}else if(u===")"){c(u);break}else if(u===",")c(u,!1,!0);else if(u===" ")c(u);else{let b=t[a-1];switch(u){case"+":!h&&b!==")"?h+=u:c(u,!0,!0);break;case"-":f==="var"||!h&&b!==")"?h+=u:c(u,!0,!0);break;case"*":c(u,!0,!0);break;case"/":c(u,!0,!0),s=!0;break;default:h+=u;break}}}a>=t.length-1&&c("")}("",!1),k}},translate:{unit:"rem"},translateX:{unit:"rem"},translateY:{unit:"rem"},translateZ:{unit:"rem"},translate3d:{unit:"rem"},skew:{unit:"deg"},skewX:{unit:"deg"},skewY:{unit:"deg"},skewZ:{unit:"deg"},skew3d:{unit:"deg"},rotate:{unit:"deg"},rotateX:{unit:"deg"},rotateY:{unit:"deg"},rotateZ:{unit:"deg"},rotate3d:{unit:"deg"},blur:{unit:"rem"},"drop-shadow":{unit:"rem"},"hue-rotate":{unit:"deg"},rgb:{unit:""},rgba:{unit:""},hsl:{unit:""},hsla:{unit:""},repeat:{unit:""}};var Ae="class";var ae={breakpoints:we,colors:Se,rootSize:16,scope:Ce,selectors:Re,semantics:$e,themes:Te,rules:Me,override:!1,observe:!0,important:!1,functions:Oe,keyframes:je,themeDriver:Ae};var Ie=[",",".","#","[","!","*",">","+","~",":","@"];var pe=typeof window<"u",Le=()=>{let t=document.createElement("style");return t.id="master",t},ne=class{constructor(e=ae){this.config=e;e?.override||(this.config=re(ae,e),"keyframes"in e&&Object.assign(this.config.keyframes,e.keyframes)),this.cache(),pe&&this.config.observe&&this.observe(document),ne.instances.push(this)}rules=[];ruleBy={};countBy={};observing=!1;observer;cache(){this.semantics=[],this.classes={},this.colorThemesMap={},this.themeAffectedClassesBy={},this.classesBy={},this.colorNames=[],this.themeNames=[""],this.selectors={},this.values={},this.globalValues={},this.breakpoints={},this.mediaQueries={},this.matches={},this.keyframes={};let{semantics:e,classes:i,selectors:o,themes:m,colors:a,values:k,breakpoints:h,mediaQueries:y,rules:f}=this.config;function v(n){return n.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}function s(n,d,w="",R={}){let T=L=>L?(w?w+"-":"")+L:w,A=Object.entries(n),I=[],X=[];for(let L of A){let _=L[1];(typeof _=="object"&&!Array.isArray(_)?I:X).push(L)}for(let[L,_]of I)s(_,d,T(L),R);if(d&&w)X.length&&(R[w]=X.reduce((L,[_,Z])=>(L[_]=Z,L),{}));else for(let[L,_]of X)R[T(L)]=_;return R}function c(n){for(let[d,w]of Object.entries(n))/^[0-9]+x$/.test(d)&&typeof w=="number"&&(n["-"+d]=w*-1);return n}if(e)for(let[n,d]of Object.entries(s(e,!0)))this.semantics.push([new RegExp("^"+v(n)+"(?=!|\\*|>|\\+|~|:|\\[|@|_|\\.|$)","m"),[n,d]]);if(o)for(let[n,d]of Object.entries(s(o,!1))){let w=new RegExp(v(n)+"(?![a-z-])");for(let R of Array.isArray(d)?d:[d]){let T=R.match(/^::-[a-z]+-/m)?.[0]??"",A=this.selectors[T];A||(A=this.selectors[T]=[]);let I=A.find(([X])=>X===w);I||(I=[w,[]],A.push(I)),I[1].push(R)}}k&&(this.globalValues=c(s(k,!1))),h&&(this.breakpoints=s(h,!1)),y&&(this.mediaQueries=s(y,!1));let u=i?s(i,!1):{},b=m&&!Array.isArray(m)?Object.entries(m).filter(([,{classes:n}])=>n).reduce((n,[d,{classes:w}])=>(n[d]=s(w,!1),n),{}):{},S=[...Object.keys(u),...Object.entries(b).flatMap(([n,d])=>Object.keys(d))],g=n=>{if(n in this.classes)return;let d=this.classes[n]=[],w=(R,T)=>{if(!T)return;let A=Array.isArray(T)?T:T.replace(/(?:\n(?:\s*))+/g," ").trim().split(" ");for(let I of A){let X=L=>{L in this.themeAffectedClassesBy?R in this.themeAffectedClassesBy[L]?this.themeAffectedClassesBy[L][R].push(n):this.themeAffectedClassesBy[L][R]=[n]:this.themeAffectedClassesBy[L]={[R]:[n]},d.includes(L)||d.push(L)};if(S.includes(I)){g(I);for(let L of this.classes[I])X(L)}else X(I)}};w("",u?.[n]);for(let[R,T]of Object.entries(b))w(R,T?.[n])};for(let n of S)g(n);for(let n in this.themeAffectedClassesBy){let d=this.classesBy[n]=[];for(let w of Object.values(this.themeAffectedClassesBy[n]))for(let R of w)d.includes(R)||d.push(R)}let l=(n,d)=>{if(!d)return;let w=s(d,!0);for(let[R,T]of Object.entries(w)){let A=typeof T=="string"?{"":T}:T;for(let[I,X]of Object.entries(A)){let L=R+(I?"-"+I:"");L in this.colorThemesMap?this.colorThemesMap[L][n]=X:this.colorThemesMap[L]={[n]:X}}}for(let R in d)this.colorNames.includes(R)||this.colorNames.push(R)};if(l("",a),m)if(Array.isArray(m))this.themeNames.push(...m);else for(let n in m){let d=m[n];l(n,d.colors),this.themeNames.push(n)}let r=n=>{for(let[d,w]of Object.entries(this.colorThemesMap))for(let[R,T]of Object.entries(w))T.startsWith("#")||n(d,w,R,T)};if(r((n,d,w,R)=>{let T=/^rgba?\( *([0-9]{1,3}) *(?: |,) *([0-9]{1,3}) *(?: |,) *([0-9]{1,3}) *(?:(?:\/|,) *0?(\.[0-9]))?\)$/.exec(R);if(T){let A="#"+ue(+T[1],+T[2],+T[3]);T[4]&&(A+=Math.round(255*+T[4]).toString(16)),d[w]=A}}),r((n,d,w,R)=>{let[T,A]=R.split("/"),I=this.colorThemesMap[T];if(I){let X=(w?I[w]:void 0)??I[""];d[w]=A?X.slice(0,7)+Math.round(255*+A).toString(16):X}else console.warn(`\`${R}\` doesn't exist in the extended config \`.colors\``),delete d[w],Object.keys(d).length||delete this.colorThemesMap[n]}),f)for(let n in f){let d=f[n],{native:w,values:R,colored:T}=d,A=d.match;if(d.id=n,d.native=w===!0?n.replace(/(?!^)[A-Z]/g,I=>"-"+I).toLowerCase():void 0,R&&(this.values[n]=c(s(R,!1))),A){let I=Object.keys(this.values[n]??{});A.includes("$values")&&(A=I.length?A.replace(/\$values/,I.join("|")):A.replace(/(?:\|)?\$values/,"")),T&&A.includes("$colors")&&(A=this.colorNames.length?A.replace(/\$colors/,"(?:"+this.colorNames.join("|")+")(?![0-9A-Za-z])"):A.replace(/(?:\|)?\$colors/,"")),this.matches[n]=new RegExp(A)}}}observe(e,i={subtree:!0,childList:!0}){if(this.root!==e){if(pe&&e){this.root=e;let o=e===document;o&&(ne.root=this),this.host=o?document.documentElement:this.root.host;let m=o?document.head:e,a=o?document.styleSheets:e.styleSheets;for(let h of a){let{ownerNode:y}=h;if(y&&y.id==="master"){this.style=y;break}}if(this.style)for(let h=0;h<this.style.sheet.cssRules.length;h++){let y=this.style.sheet.cssRules[h];if(y.constructor.name==="CSSKeyframesRule")continue;let f=s=>{if(s.selectorText){let u=s.selectorText.split(", ")[0].split(" ");for(let b=0;b<u.length;b++){let S=u[b];if(S[0]==="."){let g=S.slice(1),l="";for(let r=0;r<g.length;r++){let n=g[r],d=g[r+1];if(n==="\\"){if(r++,d!=="\\"){l+=d;continue}}else if(Ie.includes(n))break;l+=n}if(!(l in this.ruleBy)&&!(l in this.classes)){let r=this.create(l)[0];if(r)return r}}}}else if(s.cssRules)for(let c=0;c<s.cssRules.length;c++){let u=f(s.cssRules[c]);if(u)return u}},v=f(y);if(v){this.rules.push(v),this.ruleBy[v.className]=v;for(let s=0;s<v.natives.length;s++)v.natives[s].cssRule=this.style.sheet.cssRules[h+s];h+=v.natives.length-1,v.config.insert?.call(v)}}else this.style=Le(),m.append(this.style);let k=h=>{h.forEach(y=>{y in this.countBy?this.countBy[y]++:(this.countBy[y]=1,this.insert(y))})};k(this.host.classList),i.subtree&&this.host.querySelectorAll("[class]").forEach(h=>k(h.classList)),this.observer=new MutationObserver(h=>{let y={},f=[],v=[],s=[],c=(g,l)=>{l?g.classList.forEach(b):g.classList.forEach(u);let r=g.children;for(let n=0;n<r.length;n++){let d=r[n];d.classList&&(v.push(d),c(d,l))}},u=g=>{g in y?y[g]++:y[g]=1},b=g=>{g in y?y[g]--:g in this.countBy&&(y[g]=-1)},S=(g,l)=>{for(let r=0;r<g.length;r++){let n=g[r];n.classList&&!v.includes(n)&&!s.includes(n)&&(n.isConnected!==l?(v.push(n),c(n,l)):s.push(n))}};for(let g=0;g<h.length;g++){let l=h[g],{addedNodes:r,removedNodes:n,type:d,target:w}=l;if(d==="attributes"){if(f.find(R=>R.target===w))continue;f.push(l)}else S(r,!1),(!w.isConnected||!v.includes(w))&&S(n,!0)}if(!(!f.length&&!Object.keys(y).length)){for(let{oldValue:g,target:l}of f){let r=v.includes(l),n=l.classList,d=g?g.split(" "):[];if(r){if(l.isConnected)continue;for(let w of d)n.contains(w)||b(w)}else if(l.isConnected){n.forEach(w=>{d.includes(w)||u(w)});for(let w of d)n.contains(w)||b(w)}}for(let g in y){let l=y[g],r=(this.countBy[g]||0)+l;r===0?(delete this.countBy[g],this.delete(g)):(g in this.countBy||this.insert(g),this.countBy[g]=r)}}}),this.observer.observe(e,{...i,attributes:!0,attributeOldValue:!0,attributeFilter:["class"]}),this.host.style.display=null,this.observing=!0}return this}}disconnect(){this.observer&&(this.observer.disconnect(),this.observer=null),this.observing=!1,this.ruleBy={},this.countBy={},this.rules.length=0;let e=this.style?.sheet;if(e?.cssRules)for(let i=e.cssRules.length-1;i>=0;i--)e.deleteRule(i);this.style?.remove(),this.style=null,this.root=null}match(e){for(let i in this.config.rules){let o=this.config.rules[i],m=this.matches[i],{symbol:a,native:k}=o;if(m&&m.test(e))return{origin:"match",config:o};if(a&&e.startsWith(a))return{origin:"symbol",config:o};if(k&&e.startsWith(k+":"))return{origin:"match",config:o}}for(let i of this.semantics)if(e.match(i[0]))return{origin:"semantics",value:i[1]}}create(e){let i=o=>{if(o in this.ruleBy)return this.ruleBy[o];let m=this.match(o);if(m)return new ce(o,m,this)};return(e in this.classes?this.classes[e].map(o=>i(o)):[i(e)]).filter(o=>o&&o.text)}refresh(e){if(e?.override?this.config=e:this.config=re(ae,e),this.cache(),!this.style)return;let i=Le();this.style.replaceWith(i),this.style=i,this.rules.length=0,this.ruleBy={};for(let o in this.countBy)this.insert(o)}destroy(){let e=ne.instances;this.disconnect(),e.splice(e.indexOf(this),1)}delete(e){let i=this.style?.sheet,o=m=>{let a=this.ruleBy[m];if(!(!a||m in this.classesBy&&this.classesBy[m].some(k=>k in this.countBy))){if(i&&a.natives.length){let k=a.natives[0];for(let h=0;h<i.cssRules.length;h++)if(i.cssRules[h]===k.cssRule){for(let f=0;f<a.natives.length;f++)i.deleteRule(h);break}}this.rules.splice(this.rules.indexOf(a),1),delete this.ruleBy[m],a.config.delete&&a.config.delete.call(a,m)}};if(e in this.classes){for(let m of this.classes[e])m in this.countBy||o(m);delete this.ruleBy[e]}else o(e)}insert(e){let i=this.create(e);return i.length?(this.insertRules(i),!0):!1}insertRules(e){for(let i of e){if(this.ruleBy[i.className])continue;let o,m=Object.keys(this.keyframes).length,a=this.rules.length-1,{media:k,order:h,priority:y,hasWhere:f,className:v}=i,s=(b,S,g)=>{let l=b;for(;l<=a;l++){let r=this.rules[l];if(S?.(r))return g?-1:l-1;if(g?.(r))return l}return g?-1:l-1},c,u;if(k){let b=this.rules.findIndex(S=>S.media);if(b===-1)o=a+1;else{let{"max-width":S,"min-width":g}=k.features;if(S||g){let l=this.rules.findIndex(r=>r.media?.features["max-width"]||r.media?.features["min-width"]);if(l===-1)o=a+1;else if(S&&g){if(y===-1?(c=s(l,r=>r.priority!==-1,r=>r.media.features["max-width"]&&r.media.features["min-width"]),u=s(l,r=>r.priority!==-1)):(c=s(l,void 0,r=>r.media.features["max-width"]&&r.media.features["min-width"]&&r.priority!==-1),u=a),c!==-1){let r=S.value-g.value,n=u,d=c;for(c=void 0;n>=d;n--){let{"max-width":w,"min-width":R}=this.rules[n].media.features,T=w.value-R.value;if(T<r)u=n-1;else if(T===r)c=n;else break}}if(c!==-1){let r=S.value-g.value;for(let n=u;n>=c;n--){let{"max-width":d,"min-width":w}=this.rules[n].media.features,R=d.value-w.value;if(R<r)u=n-1;else if(R>r){c=n+1;break}}}}else if(g){if(y===-1?(c=s(l,r=>r.media.features["max-width"]&&r.media.features["min-width"]||r.priority!==-1,r=>!r.media.features["max-width"]&&r.media.features["min-width"]),u=s(l,r=>r.media.features["max-width"]&&r.media.features["min-width"]||r.priority!==-1)):(c=s(l,r=>r.media.features["max-width"]&&r.media.features["min-width"]&&r.priority!==-1,r=>!r.media.features["max-width"]&&r.media.features["min-width"]&&r.priority!==-1),u=s(l,r=>r.media.features["max-width"]&&r.media.features["min-width"]&&r.priority!==-1)),c!==-1)for(let r=u;r>=c;r--){let n=this.rules[r].media.features["min-width"].value;if(n>g.value)u=r-1;else if(n<g.value){c=r+1;break}}}else if(y===-1?(c=s(l,r=>r.media.features["min-width"]||r.priority!==-1,r=>r.media.features["max-width"]),u=s(l,r=>r.media.features["min-width"]||r.priority!==-1)):(c=s(l,r=>r.media.features["min-width"]&&r.priority!==-1,r=>r.media.features["max-width"]&&r.priority!==-1),u=s(l,r=>r.media.features["min-width"]&&r.priority!==-1)),c!==-1)for(let r=u;r>=c;r--){let n=this.rules[r].media.features["max-width"].value;if(n<S.value)u=r-1;else if(n>S.value){c=r+1;break}}}else y===-1?(c=b,u=s(b,l=>l.media?.features["max-width"]||l.media?.features["min-width"]||l.priority!==-1)):(c=s(b,l=>l.media?.features["max-width"]||l.media?.features["min-width"],l=>l.priority!==-1),u=s(b,l=>l.media?.features["max-width"]||l.media?.features["min-width"]))}}else{let b=m?1:0;y===-1?(c=b,u=s(b,S=>S.media||S.priority!==-1)):(c=s(b,S=>S.media,S=>S.priority!==-1),u=s(b,S=>S.media))}if(o===void 0)if(c===-1)o=u+1;else{if(y===-1)for(let b=c;b<=u;b++){let S=this.rules[b];if(!(!f&&S.hasWhere)&&(f&&!S.hasWhere||S.order>=h)){o=b;break}}else for(let b=c;b<=u;b++){let S=this.rules[b];if(!(!f&&S.hasWhere)){if(f&&!S.hasWhere){o=b;break}if(S.priority<y){o=b;break}else if(S.priority===y){if(S.order>=h){o=b;break}}else o=b+1}}o===void 0&&(o=u+1)}if(this.rules.splice(o,0,i),this.ruleBy[v]=i,this.style){let b=this.style.sheet,S=0,g=l=>{let r=this.rules[l];if(r){if(!r.natives.length)return g(l-1);let n=r.natives[r.natives.length-1].cssRule;for(let d=0;d<b.cssRules.length;d++)if(b.cssRules[d]===n){S=d+1;break}}};g(o-1);for(let l=0;l<i.natives.length;)try{let r=i.natives[l];b.insertRule(r.text,S),r.cssRule=b.cssRules[S++],l++}catch(r){console.error(r),i.natives.splice(l,1)}}i.config.insert?.call(i)}}get text(){return this.rules.map(e=>e.text).join("")}},te=ne;oe(te,"root"),oe(te,"config",ae),oe(te,"instances",[]),oe(te,"refresh",e=>{for(let i of ne.instances)i.refresh(e)});pe&&(window.MasterCSS=te);new te(window.masterCSSConfig);})();
|
|
1
|
+
(()=>{var Ee=Object.defineProperty;var We=(t,e,i)=>e in t?Ee(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i;var oe=(t,e,i)=>(We(t,typeof e!="symbol"?e+"":e,i),i);function xe(t){let e=typeof Buffer<"u"?Buffer:null;return!!(e&&t instanceof e||t instanceof Date||t instanceof RegExp)}function ye(t){if(typeof Buffer<"u"&&Buffer&&t instanceof Buffer){let e=Buffer.alloc(t.length);return t.copy(e),e}else{if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp)return new RegExp(t);throw new Error("Unexpected situation")}}function ke(t){let e=[];return t.forEach(function(i,o){typeof i=="object"&&i!==null?Array.isArray(i)?e[o]=ke(i):xe(i)?e[o]=ye(i):e[o]=re({},i):e[o]=i}),e}function ve(t,e){return e==="__proto__"?void 0:t[e]}function re(...t){let e={},i,o;return t.forEach(function(m){typeof m!="object"||m===null||Array.isArray(m)||Object.keys(m).forEach(function(a){if(o=ve(e,a),i=ve(m,a),i!==e)if(typeof i!="object"||i===null){e[a]=i;return}else if(Array.isArray(i)){e[a]=ke(i);return}else if(xe(i)){e[a]=ye(i);return}else if(typeof o!="object"||o===null||Array.isArray(o)){e[a]=re({},i);return}else{e[a]=re(o,i);return}})}),e}var ie={"(":")","'":"'",'"':'"',"{":"}"};function le(t){if(typeof CSS<"u")return CSS.escape(t);if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");let e=String(t),i=e.length,o=-1,m="",a,k=e.charCodeAt(0);if(i==1&&k==45)return"\\"+e;for(;++o<i;){if(a=e.charCodeAt(o),a==0){m+="\uFFFD";continue}if(a>=1&&a<=31||a==127||o==0&&a>=48&&a<=57||o==1&&a>=48&&a<=57&&k==45){m+="\\"+a.toString(16)+" ";continue}if(a>=128||a==45||a==95||a>=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122){m+=e.charAt(o);continue}m+="\\"+e.charAt(o)}return m}var ze={unit:"",order:0,separators:[","]},ce=class{constructor(e,i={},o){this.className=e;this.meta=i;this.css=o;this.config=re(ze,i.config);let{unit:m,order:a,colored:k,native:h,analyze:y,transform:f,declare:v,create:s}=this.config,{scope:c,important:u,functions:b,themeDriver:S}=o.config,{themeNames:g,colorNames:l,colorThemesMap:r,selectors:n,breakpoints:d,mediaQueries:w,themeAffectedClassesBy:R,globalValues:T}=o,A=R[e];s&&s.call(this,e);let I,X,L,Q,Z;if(i.origin==="semantics"){let[D,O]=i.value;Q=e.slice(D.length),I=O}else{let D;if(y)[D,L]=y.call(this,e);else if(i.origin==="match"){let M=e.indexOf(":");this.prefix=e.slice(0,M+1),D=e.slice(M+1)}else i.origin==="symbol"&&(this.symbol=e[0],D=e.slice(1));Z=[];let O=this,E=this.values,F=[","];this.config.separators.length&&F.push(...this.config.separators);let C="",x=0;(function M(p,j,B,$=void 0,W=[],H=[],z){let _=$===void 0,P,J=N=>N==="'"||N==='"',ee=()=>P=C.length,K=()=>{if(C){let N=C,Y=_?N:C.slice(P);if(C="",q="",E&&Y in E&&!W.includes(Y)){let U=x;x=0,M(E[Y].toString(),j,void 0,$,[...W,Y],H,z),x=U,_||(C=C.slice(0,P)+C)}else if(T&&Y in T&&!H.includes(Y)){let U=x;x=0,M(T[Y].toString(),j,void 0,$,W,[...H,Y],z),x=U,_||(C=C.slice(0,P)+C)}else if(_){let U=!z&&O.analyzeUnitValue(Y,j);Z.push({value:U?.value??Y,unit:U?.unit})}else{let U=!z&&O.analyzeUnitValue(Y,j);C=U?N.slice(0,P)+U.value+U.unit:N}ee()}},G=J(B);ee();let q="";for(;x<p.length;x++){let N=p[x];if(N===B){if(G){C+=N;let Y=0;for(let U=C.length-2;C[U]==="\\";U--)Y++;if(Y%2)continue}else K(),C+=N;return}else if(!G&&N in ie){let Y=N==="("&&q&&b?.[q];Y?.name&&(C=C.slice(0,C.length-q.length)+Y.name,q=Y.name),C+=N,x++;let U=ie[N];M(p,Y?.unit??j,U,q||$||"",W,H,z||!!Y?.transform),Y?.transform&&(C=C.slice(0,P+q.length+1)+Y.transform.call(O,C.slice(P+q.length+1,-1))+C.slice(-1)),_&&(J(U)?(Z.push(C),C=""):K()),q=""}else if((N==="|"||N===" ")&&B!=="}"&&(!G||$==="path"))K(),_||(C+=" ",P++);else{if(!G){if(N==="."){if(isNaN(+p[x+1]))break;p[x-1]==="-"&&(C+="0")}else if(F.includes(N)){K(),_?Z.push(N):(C+=N,P++);continue}else if(_&&(N==="#"&&(C||Z.length&&p[x-1]!=="|"&&Z[x-1]!==" ")||["!","*",">","+","~",":","[","@","_"].includes(N)))break;q+=N}C+=N}}$===void 0&&K()})(D,m),Q=D.slice(x)}this.order=typeof a=="function"?a.call(this,this.prefix):a,Q[0]==="!"&&(this.important=!0,Q=Q.slice(1));let be=D=>{let O=D.split(/(\\'(?:.*?)[^\\]\\')(?=[*_>~+,)])|(\[[^=]+='(?:.*?)[^\\]'\])/).map((x,M)=>M%3?x:x.replace(/_/g," ")).join(""),E=[],F="",C=0;for(let x=0;x<O.length;x++){let M=O[x];if(M==="\\"){F+=M+O[++x];continue}!C&&M===","?(E.push(F),F=""):(F+=M,C&&M===")"?C--:M==="("&&C++)}return F&&E.push(F),E};this.prefixSelectors=L?be(L):[""];let de=Q.split("@"),fe=de[0];if(fe){this.vendorSuffixSelectors={};let D=(x,M,p,j)=>{for(let[B,$]of M)if(B.test(x)){for(let W of $)D(x.replace(B,W),M,p,!0);return}j&&p.push(x)},O=[];""in n?D(fe,n[""],O,!0):O.push(fe);let E={};for(let[x,M]of Object.entries(n)){if(!x)continue;let p=[];for(let j of O)D(j,M,p,!1);p.length&&(E[x]=p)}let F=(x,M)=>{let p=M.reduce((j,B)=>(j.push(...be(B)),j),[]);x in this.vendorSuffixSelectors?this.vendorSuffixSelectors[x].push(...p):this.vendorSuffixSelectors[x]=p},C=Object.keys(E);if(C.length)for(let x of C)F(x,E[x]);else F("",O);for(let x of Object.values(this.vendorSuffixSelectors))for(let M of x){this.hasWhere!==!1&&(this.hasWhere=M.includes(":where("));let p=[":disabled",":active",":focus",":hover"];for(let j=0;j<p.length;j++)if(M.includes(p[j])){(this.priority===-1||this.priority>j)&&(this.priority=j);break}}}else this.vendorSuffixSelectors={"":[""]};for(let D=1;D<de.length;D++){let O=de[D];if(O)if(g.includes(O))this.theme=O;else if(O==="rtl"||O==="ltr")this.direction=O;else{let E,F,C=O.indexOf("(");if(C!==-1)E=O.slice(0,C).replace(/\|/g," "),F=O.slice(C);else{let x=O.indexOf("|");x!==-1&&(E=O.slice(0,x),F=O.slice(x))}if(!E){E="media";let x=[];this.media={token:O,features:{}};let M=O.split("&");for(let p of M)if(p==="all"||p==="print"||p==="screen"||p==="speech")this.media.type=p;else if(p==="\u{1F5A8}")this.media.type="print";else if(p==="landscape"||p==="portrait")x.push("(orientation:"+p+")");else if(p==="motion"||p==="reduced-motion")x.push("(prefers-reduced-motion:"+(p==="motion"?"no-preference":"reduce")+")");else if(w&&p in w)x.push(w[p]);else{let j={token:p},B="",$="",W=0;p.startsWith("<=")?($="<=",B="max-width"):p.startsWith(">=")||d[p]?($=">=",B="min-width"):p.startsWith(">")?($=">",B="min-width",W=.02):p.startsWith("<")&&($="<",B="max-width",W=-.02);let H=$?p.replace($,""):p,z=d[H];switch(B){case"max-width":case"min-width":z?Object.assign(j,this.analyzeUnitValue(z.toString(),"px")):Object.assign(j,this.analyzeUnitValue(H,"px")),j.unit==="px"&&(j.value+=W),this.media.features[B]=j,x.push("("+B+":"+(j.value+j.unit)+")");break}}F="",this.media.type&&(F=this.media.type),x.length&&(F+=(F?" and ":"")+x.join(" and "))}F&&(this.at[E]=(E in this.at?this.at[E]+" and ":"")+F.replace(/\|/g," "))}}let me=(D,O)=>{let E,F=(M,p,j)=>{let B="";this.direction&&(B+="[dir="+this.direction+"] ");let $=this.prefixSelectors.map(z=>z+B),W=(z,_)=>$.map(P=>(z&&S!=="media"?S==="host"?`:host(.${z}) `:`.${z} `:"")+(c?c+" ":"")+P).reduce((P,J)=>(P.push(j.reduce((ee,K)=>(ee.push(J+"."+le(_)+K),ee),[]).join(",")),P),[]).join(","),H=W(p,e)+(A?Object.entries(A).filter(([z])=>this.theme||!k||!p||!z||z===p).map(([z,_])=>_.reduce((P,J)=>P+","+W(this.theme??((k||X)&&p||z),J),"")).join(""):"")+"{"+M+"}";for(let z of Object.keys(this.at).sort((_,P)=>P==="supports"?-1:1))H="@"+z+(z.includes(" ")?"":" ")+this.at[z]+"{"+H+"}";return p&&S==="media"&&(H=`@media(prefers-color-scheme:${p}){`+H+"}"),H},C=[];if(Z){let M=[this.theme??D,""],p,j=!1;for(let B of Z)if(typeof B=="string")C.push(B);else{let $=B.value;if(B.unit)$+=B.unit;else if(k&&r&&l){let W=!1;$=$.replace(new RegExp(`(^|,| |\\()((?:${l.join("|")})(?:-(?:[0-9A-Za-z-]+))?)(?:\\/(\\.?[0-9]+%?))?(?=(\\)|\\}|,| |$))`,"gm"),(H,z,_,P)=>{let J=r[_];if(J){let ee,K;for(let G of M)if(ee=J[G]){K=G;break}if(ee){W=!O||K===D,p||(p=W);let G=ee;if(P){let q=P.endsWith("%")?parseFloat(P)/100:+P;q=isNaN(q)?1:Math.min(Math.max(q,0),1),G+=Math.round(q*255).toString(16).toUpperCase().padStart(2,"0")}return z+G}else j=!0}return H})}C.push($)}if(O&&(j||(p===void 0?D:!p)))return;if(E=C.reduce((B,$,W)=>B+$+($===","||Z[W+1]===","||W===Z.length-1?"":" "),""),f&&(E=f.call(this,E,this.css.config)),k&&E==="current"&&(E="currentColor"),v){let B,$;if(Z.length===1){let W=Z[0];typeof W=="object"&&(B=W.value,$=W.unit)}I=v.call(this,$?B:E,$||"")}else I={[h]:E}}let x={};for(let M in I){let p=($,W)=>{let H=W+((this.important||u)&&!W.endsWith("!important")?"!important":"");$ in x?x[$].push(H):x[$]=[H]},j=M+":",B=I[M];if(typeof B=="object")if(Array.isArray(B))for(let $ of B)p(D,j+$.toString());else{X=!0;for(let $ in B)p($,j+B[$])}else p(D,j+B.toString())}for(let M of Object.values(this.vendorSuffixSelectors))for(let p in x)this.natives.push({text:F(x[p].join(";"),p,M),theme:p})};if(this.theme)me(this.theme,!1);else if(k)for(let D of g)me(D,!0);else me("",!1)}at={};priority=-1;natives=[];keyframeNames;config;get values(){return this.css.values[this.config.id]}get text(){return this.natives.map(e=>e.text).join("")}resolveValue(e,i){return Number.isNaN(+e)?e:e/(i==="rem"||i==="em"?this.css.config.rootSize:1)+i}analyzeUnitValue(e,i){let o=i??this.config.unit;if(o){let m="",a=e.match(/^([+-.]?\d+(\.?\d+)?)(.*)?/);if(a)if(e.includes("/")){let[k,h]=e.split("/");return{value:+k/+h*100+"%",unit:m}}else{let k=+a[1];return m=a[3]||"",m||((o==="rem"||o==="em")&&(k=k/this.css.config.rootSize),m=o||""),{value:k,unit:m}}}}};var we={"3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560};function se(t){t.startsWith("#")&&(t=t.slice(1));let e=t.match(/.{1,2}/g);return[parseInt(e[0],16),parseInt(e[1],16),parseInt(e[2],16)]}function ue(t,e,i){return((1<<24)+(t<<16)+(e<<8)+i).toString(16).slice(1)}function V(t){typeof t=="string"&&(t={"":t});let e=""in t,i=!1;for(let o in t)if(o&&+o>=100){i=!0;break}if(!i&&(!e||Object.keys(t).length>1)){let o=0,m="0"in t?se(t[0]):[0,0,0],a,k,h=[],y=()=>{let f=a-o,v=k.map((s,c)=>(s-m[c])/f);for(let s of h){let c=s-o,u=m.map((b,S)=>Math.round(b+v[S]*c));t[s]="#"+ue.call(this,...u)}};for(let f=1;f<100;f++)f in t?(h.length?(a=f,k=se(t[f]),y(),h.length=0,m=k):m=se(t[f]),o=f):h.push(f);h.length&&(a=100,k="100"in t?se(t[100]):[255,255,255],y())}return e||(t[""]=t[i?"500":"50"]),t}var Se={black:"#000000",white:"#ffffff",slate:V({5:"#141e2b",10:"#19212d",20:"#262f3e",30:"#323e52",40:"#41516b",50:"#616a84",55:"#6c7693",60:"#959db3",70:"#a3abbf",80:"#d7dae3",95:"#f6f7f8"}),gray:V({5:"#1e1d1f",10:"#212022",20:"#2f2e30",30:"#3e3d40",40:"#504f52",50:"#6b6a6d",55:"#777679",60:"#9e9da0",70:"#abaaae",80:"#dad9db",95:"#f5f4f7"}),brown:V({5:"#271b15",10:"#2b1e18",20:"#3c2b22",30:"#50382c",40:"#694839",50:"#8d604b",55:"#9d6b53",60:"#b79788",70:"#c1a598",80:"#efd5c9",95:"#faf2ef"}),orange:V({5:"#2e1907",10:"#331b07",20:"#47260b",30:"#5d320e",40:"#7a4111",50:"#a15717",55:"#b4611a",60:"#e38739",70:"#e79855",80:"#f7d4b5",95:"#fcf1e7"}),gold:V({5:"#281b00",10:"#2d1e01",20:"#3f2a00",30:"#543800",40:"#6d4900",50:"#906000",55:"#9c6d00",60:"#d09100",70:"#dca000",80:"#fbd67f",95:"#fff3d8"}),yellow:V({5:"#251d00",10:"#282000",20:"#3a2e01",30:"#4b3b00",40:"#624e00",50:"#806700",55:"#8e7200",60:"#be9900",70:"#d0a700",80:"#edda8f",95:"#fff5ca"}),grass:V({5:"#162106",10:"#182406",20:"#223308",30:"#2c4408",40:"#3a570b",50:"#4e750e",60:"#74ae15",70:"#7dbc17",80:"#bfe87c",95:"#ebfad4"}),green:V({5:"#042311",10:"#032611",20:"#023717",30:"#03481f",40:"#025d26",50:"#067b34",55:"#07883a",60:"#09b64d",70:"#0ac553",80:"#80f1a4",95:"#e0fae8"}),beryl:V({5:"#002319",10:"#00271c",20:"#003626",30:"#004732",40:"#005c41",50:"#007954",55:"#00875e",60:"#00b37c",70:"#00c387",80:"#72f0c5",95:"#d6fcef"}),teal:V({5:"#012220",10:"#012624",20:"#003532",30:"#004541",40:"#005a54",50:"#00776f",55:"#00857c",60:"#00b1a5",70:"#00bfb2",80:"#6aeee5",95:"#d4fcf8"}),cyan:V({5:"#00222b",10:"#00252e",20:"#013340",30:"#004457",40:"#00576f",50:"#007391",55:"#0080a1",60:"#00abd7",70:"#00b9e9",80:"#97e6fa",95:"#dff8ff"}),sky:V({5:"#031f34",10:"#032339",20:"#04314e",30:"#044169",40:"#065386",50:"#086eb3",55:"#097ac5",60:"#29a4f5",70:"#4db3f7",80:"#b3e0ff",95:"#eaf6fe"}),blue:V({5:"#07194a",10:"#081c53",20:"#0a2773",30:"#0e3496",40:"#1146b6",50:"#175fe9",55:"#2671ea",60:"#6b9ef1",70:"#81acf3",80:"#c6dbfe",95:"#edf4fe"}),indigo:V({5:"#1f1645",10:"#20174f",20:"#2b1f74",30:"#37289d",40:"#463fb1",50:"#5a5bd5",55:"#6464f1",60:"#9393f5",70:"#a1a5ee",80:"#d5d7fe",95:"#f1f2ff"}),violet:V({5:"#2b0a4e",10:"#2e0b57",20:"#3d1179",30:"#4e169f",40:"#5f2eba",50:"#7949e5",55:"#8755f5",60:"#ac8af8",70:"#b89bf9",80:"#e1d4fe",95:"#f5f1ff"}),purple:V({5:"#2e0c47",10:"#330c4e",20:"#460f6c",30:"#5b1390",40:"#7421b1",50:"#9832e4",55:"#a348e7",60:"#c184ef",70:"#ca96f1",80:"#ead1fe",95:"#f9f0ff"}),fuchsia:V({5:"#39092a",10:"#400932",20:"#560d4a",30:"#6f1165",40:"#8c158a",50:"#b61cbb",55:"#ca1fce",60:"#e66ee9",70:"#ea86ed",80:"#facbfb",95:"#feefff"}),pink:V({5:"#3d0722",10:"#430725",20:"#5d0933",30:"#790d44",40:"#9a1058",50:"#ca1473",55:"#e11681",60:"#f170b4",70:"#f388c0",80:"#fdcde6",95:"#fff0f8"}),crimson:V({5:"#430213",10:"#470314",20:"#62041c",30:"#800524",40:"#9f1036",50:"#ce1a4b",55:"#e8144c",60:"#f37596",70:"#f58ba7",80:"#fdceda",95:"#fff1f4"}),red:V({5:"#450001",10:"#490102",20:"#640304",30:"#800506",40:"#a11012",50:"#d11a1e",55:"#ed0a0e",60:"#f97476",70:"#fa8b8d",80:"#fdcfcf",95:"#fff1f1"})};var Ce="";var Re={"::scrollbar":"::-webkit-scrollbar","::scrollbar-button":"::-webkit-scrollbar-button","::scrollbar-thumb":"::-webkit-scrollbar-thumb","::scrollbar-track":"::-webkit-scrollbar-track","::scrollbar-track-piece":"::-webkit-scrollbar-track-piece","::scrollbar-corner":"::-webkit-scrollbar-corner","::slider-thumb":["::-webkit-slider-thumb","::-moz-range-thumb"],"::slider-runnable-track":["::-webkit-slider-runnable-track","::-moz-range-track"],"::meter":"::-webkit-meter","::resizer":"::-webkit-resizer","::progress":"::-webkit-progress",":first":":first-child",":last":":last-child",":even":":nth-child(2n)",":odd":":nth-child(odd)",":nth(":":nth-child("};var $e={square:{"aspect-ratio":"1/1"},video:{"aspect-ratio":"16/9"},rounded:{"border-radius":"1e9em"},round:{"border-radius":"50%"},hidden:{display:"none"},hide:{display:"none"},block:{display:"block"},table:{display:"table"},flex:{display:"flex"},grid:{display:"grid"},contents:{display:"contents"},inline:{display:"inline"},"inline-block":{display:"inline-block"},"inline-flex":{display:"inline-flex"},"inline-grid":{display:"inline-grid"},"inline-table":{display:"inline-table"},"table-cell":{display:"table-cell"},"table-caption":{display:"table-caption"},"flow-root":{display:"flow-root"},"list-item":{display:"list-item"},"table-row":{display:"table-row"},"table-column":{display:"table-column"},"table-row-group":{display:"table-row-group"},"table-column-group":{display:"table-column-group"},"table-header-group":{display:"table-header-group"},"table-footer-group":{display:"table-footer-group"},italic:{"font-style":"italic"},oblique:{"font-style":"oblique"},isolate:{isolation:"isolate"},overflowed:{overflow:"visible"},untouchable:{"pointer-events":"none"},static:{position:"static"},fixed:{position:"fixed"},abs:{position:"absolute"},rel:{position:"relative"},sticky:{position:"sticky"},uppercase:{"text-transform":"uppercase"},lowercase:{"text-transform":"lowercase"},capitalize:{"text-transform":"capitalize"},visible:{visibility:"visible"},invisible:{visibility:"hidden"},vw:{width:"100vw"},vh:{height:"100vh"},"max-vw":{"max-width":"100vw"},"max-vh":{"max-height":"100vh"},"min-vw":{"min-width":"100vw"},"min-vh":{"min-height":"100vh"},"center-content":{"justify-content":"center","align-items":"center"},"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"},full:{width:"100%",height:"100%"},center:{left:0,right:0,"margin-left":"auto","margin-right":"auto"},middle:{top:0,bottom:0,"margin-top":"auto","margin-bottom":"auto"},"break-spaces":{"white-space":"break-spaces"},"break-word":{"overflow-wrap":"break-word",overflow:"hidden"},"gradient-text":{"-webkit-text-fill-color":"transparent","-webkit-background-clip":"text","background-clip":"text"}};var Te=["dark","light"];var De={group:{match:"^(?:.+?[*_>~+])?\\{.+?\\}",analyze(t){let e=0;for(;e<t.length&&!(t[e]==="{"&&t[e-1]!=="\\");e++);return[t.slice(e),t.slice(0,e)]},declare(t){let e={},i=(f,v)=>{let s=v.indexOf(":");if(s!==-1){f in e||(e[f]={});let c=e[f],u=v.slice(0,s);u in c||(c[u]=v.slice(s+1))}},o=f=>{let v=(s,c)=>{let u=c.slice(le(f.className).length).match(/\{(.*)\}/)[1].split(";");for(let b of u)i(s,b)};if(this.theme){let s=f.natives.find(c=>c.theme===this.theme)??f.natives.find(c=>!c.theme);s&&v(this.theme,s.text)}else for(let s of f.natives)v(s.theme,s.text);if(f.keyframeNames){this.keyframeNames||(this.keyframeNames=[]);for(let s of f.keyframeNames)this.keyframeNames.includes(s)||this.keyframeNames.push(s)}},m=[],a="",k=()=>{a&&(m.push(a.replace(/ /g,"|")),a="")},h=1;(function f(v){for(;h<t.length;h++){let s=t[h];if(!v){if(s===";"){k();continue}if(s==="}")break}if(a+=s,v===s){if(v==="'"||v==='"'){let c=0;for(let u=a.length-2;a[u]==="\\";u--)c++;if(c%2)continue}break}else s in ie&&v!=="'"&&v!=='"'&&(h++,f(ie[s]))}})(void 0),k();for(let f of m){let v=this.css.create(f);if(Array.isArray(v))for(let s of v)o(s);else v?o(v):i(this.theme??"",f)}let y={};for(let f in e)for(let[v,s]of Object.entries(e[f]))v in y?y[v][f]=s:y[v]={[f]:s};return y},delete(){return he.call(this)},insert(){return ge.call(this)}},variable:{match:"^\\$[^ (){}A-Z]+:[^ ]",declare(t){return{["--"+this.prefix.slice(1,-1)]:t}}},fontSize:{match:"^f(?:ont)?:(?:[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},fontWeight:{match:"^f(?:ont)?:(?:bolder|$values)(?!\\|)",native:!0,values:{thin:100,extralight:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,heavy:900}},fontFamily:{match:"^f(?:ont)?:(?:$values)(?!\\|)",native:!0,values:{mono:"ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",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",serif:"ui-serif,Georgia,Cambria,Times New Roman,Times,serif"}},fontSmoothing:{match:"^f(?:ont)?:(?:antialiased|subpixel-antialiased|$values)(?!\\|)",declare(t){switch(t){case"subpixel-antialiased":return{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"};case"antialiased":return{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}}}},fontStyle:{match:"^f(?:ont)?:(?:normal|italic|oblique|$values)(?!\\|)",native:!0,unit:"deg"},fontVariantNumeric:{match:"^f(?:ont)?:(?:ordinal|slashed-zero|lining-nums|oldstyle-nums|proportional-nums|tabular-nums|diagonal-fractions|stacked-fractions|$values)(?!\\|)",native:!0},fontFeatureSettings:{match:"^font-feature:.",native:!0},font:{match:"^f:.",native:!0,order:-1},color:{match:"^(?:color|fg|foreground):.",native:!0,colored:!0,values:{current:"currentColor"}},marginLeft:{match:"^ml:.",native:!0,unit:"rem"},marginRight:{match:"^mr:.",native:!0,unit:"rem"},marginTop:{match:"^mt:.",native:!0,unit:"rem"},marginBottom:{match:"^mb:.",native:!0,unit:"rem"},marginX:{match:"^(?:mx|margin-x):.",unit:"rem",order:-.5,declare(t,e){return{"margin-left":t+e,"margin-right":t+e}}},marginY:{match:"^(?:my|margin-y):.",unit:"rem",order:-.5,declare(t,e){return{"margin-top":t+e,"margin-bottom":t+e}}},margin:{match:"^m:.",native:!0,unit:"rem",order:-1},paddingLeft:{match:"^pl:.",native:!0,unit:"rem"},paddingRight:{match:"^pr:.",native:!0,unit:"rem"},paddingTop:{match:"^pt:.",native:!0,unit:"rem"},paddingBottom:{match:"^pb:.",native:!0,unit:"rem"},paddingX:{match:"^(?:px|padding-x):.",unit:"rem",order:-.5,declare(t,e){return{"padding-left":t+e,"padding-right":t+e}}},paddingY:{match:"^(?:py|padding-y):.",unit:"rem",order:-.5,declare(t,e){return{"padding-top":t+e,"padding-bottom":t+e}}},padding:{match:"^p:.",native:!0,unit:"rem",order:-1},flexBasis:{values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560},unit:"rem",native:!0},flexWrap:{match:"^flex:(?:wrap(?:-reverse)?|nowrap|$values)(?!\\|)",native:!0},flexGrow:{native:!0},flexShrink:{native:!0},flexDirection:{match:"^flex:(?:(?:row|column)(?:-reverse)?|$values)(?!\\|)",native:!0,values:{col:"column","col-reverse":"column-reverse"}},flex:{native:!0,order:-1},display:{match:"^d:.",native:!0},width:{match:"^w:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},height:{match:"^h:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},minWidth:{match:"^min-w:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},minHeight:{match:"^min-h:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},box:{match:"^(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)",unit:"rem",separators:["x"],analyze(t){return[t]},declare(t){let[e,i]=t.split(" x ");return{width:e,height:i}}},minBox:{match:"^min:(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)",unit:"rem",separators:["x"],analyze(t){return[t.slice(4)]},declare(t){let[e,i]=t.split(" x ");return{"min-width":e,"min-height":i}}},maxBox:{match:"^max:(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)",unit:"rem",separators:["x"],analyze(t){return[t.slice(4)]},declare(t){let[e,i]=t.split(" x ");return{"max-width":e,"max-height":i}}},contain:{native:!0},content:{native:!0},counterIncrement:{native:!0},counterReset:{native:!0},letterSpacing:{match:"^ls:.",native:!0,unit:"em"},lineHeight:{match:"^lh:.",native:!0},objectFit:{match:"^(?:object|obj):(?:contain|cover|fill|scale-down|$values)",native:!0},objectPosition:{match:"^(?:object|obj):(?:top|bottom|right|left|center|$values)",native:!0},textAlign:{match:"^t(?:ext)?:(?:justify|center|left|right|start|end|$values)(?!\\|)",native:!0},textDecorationColor:{match:"^text-decoration:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},textDecorationStyle:{match:"^t(?:ext)?:(?:solid|double|dotted|dashed|wavy|$values)(?!\\|)",native:!0},textDecorationThickness:{match:"^text-decoration:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|from-font|$values)[^|]*$",native:!0,unit:"em"},textDecorationLine:{match:"^t(?:ext)?:(?:none|underline|overline|line-through|$values)(?!\\|)",native:!0},textDecoration:{match:"^t(?:ext)?:(?:underline|line-through|overline)",unit:"rem",native:!0,colored:!0,values:{current:"currentColor"},order:-1},textUnderlineOffset:{unit:"rem",native:!0},textOverflow:{match:"^(?:text-(?:overflow|ovf):.|t(?:ext)?:(?:ellipsis|clip|$values)(?!\\|))",native:!0},textOrientation:{match:"^t(?:ext)?:(?:mixed|upright|sideways-right|sideways|use-glyph-orientation|$values)(?!\\|)",native:!0},textTransform:{match:"^t(?:ext)?:(?:uppercase|lowercase|capitalize|$values)(?!\\|)",native:!0},textRendering:{match:"^t(?:ext)?:(?:optimizeSpeed|optimizeLegibility|geometricPrecision|$values)(?!\\|)",native:!0},textIndent:{unit:"rem",native:!0},verticalAlign:{match:"^(?:v|vertical):.",native:!0},columns:{match:"^(?:columns|cols):.",native:!0,order:-1},whiteSpace:{native:!0},top:{native:!0,unit:"rem"},bottom:{native:!0,unit:"rem"},left:{native:!0,unit:"rem"},right:{native:!0,unit:"rem"},inset:{native:!0,unit:"rem",order:-1},lines:{match:"^lines:.",declare(t,e){return{overflow:"hidden",display:"-webkit-box","overflow-wrap":"break-word","text-overflow":"ellipsis","-webkit-box-orient":"vertical","-webkit-line-clamp":t+e}}},maxHeight:{match:"^max-h:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},maxWidth:{match:"^max-w:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},boxSizing:{match:"^box:(?:$values)(?!\\|)",native:!0,values:{content:"content-box",border:"border-box"}},opacity:{native:!0},visibility:{native:!0},clear:{native:!0},float:{native:!0},isolation:{native:!0},overflowX:{native:!0,declare(t,e){return t==="overlay"?{"overflow-x":["auto",t]}:{"overflow-x":t}}},overflowY:{native:!0,declare(t,e){return t==="overlay"?{"overflow-y":["auto",t]}:{"overflow-y":t}}},overflow:{native:!0,order:-1,declare(t,e){return t==="overlay"?{overflow:["auto",t]}:{overflow:t}}},overscrollBehaviorX:{native:!0},overscrollBehaviorY:{native:!0},overscrollBehavior:{native:!0,order:-1},zIndex:{match:"^z:.",native:!0},position:{native:!0,values:{abs:"absolute",rel:"relative"}},cursor:{native:!0},pointerEvents:{native:!0},resize:{native:!0},touchAction:{native:!0},wordBreak:{native:!0},wordSpacing:{native:!0,unit:"em"},userDrag:{native:!0,declare(t,e){return{"user-drag":t+e,"-webkit-user-drag":t+e}}},userSelect:{native:!0,declare(t,e){return{"user-select":t+e,"-webkit-user-select":t+e}}},textShadow:{unit:"rem",native:!0,colored:!0,values:{current:"currentColor"}},textSize:{match:"^t(?:ext)?:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",declare(t,e){return{"font-size":t+e,"line-height":e==="em"?t+.875+e:`calc(${t}${e} + ${.875}em)`}}},textFillColor:{native:!0,match:"^(?:text-fill|text|t):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",colored:!0,values:{current:"currentColor"},declare(t,e){return{"-webkit-text-fill-color":t+e}}},textStrokeWidth:{match:"^text-stroke(:(thin|medium|thick|\\.?[0-9]+|$values)(?!\\|)|-width:.)",unit:"rem",declare(t,e){return{"-webkit-text-stroke-width":t+e}}},textStrokeColor:{match:"^text-stroke:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"},declare(t,e){return{"-webkit-text-stroke-color":t+e}}},textStroke:{unit:"rem",native:!0,declare(t,e){return{"-webkit-text-stroke":t+e}}},boxShadow:{match:"^s(?:hadow)?:.",unit:"rem",native:!0,colored:!0,values:{current:"currentColor"}},tableLayout:{native:!0},transformBox:{match:"^transform:(?:$values)(?!\\|)",native:!0,values:{content:"content-box",border:"border-box",padding:"padding-box",fill:"fill-box",stroke:"stroke-box",view:"view-box"}},transformStyle:{match:"^transform:(?:flat|preserve-3d|$values)(?!\\|)",native:!0},transformOrigin:{match:"^transform:(?:top|bottom|right|left|center|[0-9]|$values)",native:!0,unit:"px"},transform:{match:"^(?:translate|scale|skew|rotate|perspective|matrix)(?:3d|[XYZ])?\\(",native:!0},transitionProperty:{match:"^~property:.",native:!0},transitionTimingFunction:{match:"^~easing:.",native:!0},transitionDuration:{match:"^~duration:.",native:!0,unit:"ms"},transitionDelay:{match:"^~delay:.",native:!0,unit:"ms"},transition:{symbol:"~",native:!0,order:-1},animationDelay:{match:"^@delay:.",native:!0,unit:"ms"},animationDirection:{match:"^@direction:.",native:!0},animationDuration:{match:"^@duration:.",native:!0,unit:"ms"},animationFillMode:{match:"^@fill-mode:.",native:!0},animationIterationCount:{match:"^@iteration-count:.",native:!0},animationName:{match:"^@name:.",native:!0,create(t){return Be.call(this,t)},delete(){return he.call(this)},insert(){return ge.call(this)}},animationPlayState:{match:"^@play-state:.",native:!0},animationTimingFunction:{match:"^@easing:.",native:!0},animation:{symbol:"@",native:!0,order:-1,create(t){return Be.call(this,t)},delete(){return he.call(this)},insert(){return ge.call(this)}},borderCollapse:{match:"^b(?:order)?:(?:collapse|separate|$values)(?!\\|)",native:!0},borderSpacing:{unit:"rem",native:!0},borderTopColor:{match:"^b(?:t|order-top(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},borderBottomColor:{match:"^b(?:b|order-bottom(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},borderLeftColor:{match:"^b(?:l|order-left(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},borderRightColor:{match:"^b(?:r|order-right(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},borderXColor:{match:"^b(?:x|order-x(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",order:-.5,colored:!0,values:{current:"currentColor"},declare(t,e){return{"border-left-color":t+e,"border-right-color":t+e}}},borderYColor:{match:"^b(?:y|order-y(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",order:-.5,colored:!0,values:{current:"currentColor"},declare(t,e){return{"border-top-color":t+e,"border-bottom-color":t+e}}},borderColor:{match:"^b(?:order)?(?:-color)?:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,order:-1,colored:!0,values:{current:"currentColor"}},borderTopLeftRadius:{match:"^r(?:tl|lt):.",unit:"rem",native:!0},borderTopRightRadius:{match:"^r(?:tr|rt):.",unit:"rem",native:!0},borderBottomLeftRadius:{match:"^r(?:bl|lb):.",unit:"rem",native:!0},borderBottomRightRadius:{match:"^r(?:br|rb):.",unit:"rem",native:!0},borderTopRadius:{match:"^rt:.",unit:"rem",order:-.5,declare(t,e){return{"border-top-left-radius":t+e,"border-top-right-radius":t+e}}},borderBottomRadius:{match:"^rb:.",unit:"rem",order:-.5,declare(t,e){return{"border-bottom-left-radius":t+e,"border-bottom-right-radius":t+e}}},borderLeftRadius:{match:"^rl:.",unit:"rem",order:-.5,declare(t,e){return{"border-top-left-radius":t+e,"border-bottom-left-radius":t+e}}},borderRightRadius:{match:"^rr:.",unit:"rem",order:-.5,declare(t,e){return{"border-top-right-radius":t+e,"border-bottom-right-radius":t+e}}},borderRadius:{match:"^r:.",unit:"rem",native:!0,order:-1},borderTopStyle:{match:"^b(?:t|order-top(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0},borderBottomStyle:{match:"^b(?:b|order-bottom(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0},borderLeftStyle:{match:"^b(?:l|order-left(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0},borderRightStyle:{match:"^b(?:r|order-right(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0},borderXStyle:{match:"^b(?:x|order-x(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",order:-.5,declare(t,e){return{"border-left-style":t+e,"border-right-style":t+e}}},borderYStyle:{match:"^b(?:y|order-y(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",order:-.5,declare(t,e){return{"border-top-style":t+e,"border-bottom-style":t+e}}},borderStyle:{match:"^b(?:order)?(?:-style)?:(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0,order:-1},borderTopWidth:{match:"^b(?:t|order-top(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},borderBottomWidth:{match:"^b(?:b|order-bottom(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},borderLeftWidth:{match:"^b(?:l|order-left(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},borderRightWidth:{match:"^b(?:r|order-right(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},borderXWidth:{match:"^b(?:x|order-x(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",order:-.5,declare(t,e){return{"border-left-width":t+e,"border-right-width":t+e}}},borderYWidth:{match:"^b(?:y|order-y(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",order:-.5,declare(t,e){return{"border-top-width":t+e,"border-bottom-width":t+e}}},borderWidth:{match:"^b(?:order)?(?:-width)?:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0,order:-1},borderImageOutset:{unit:"rem",native:!0},borderImageRepeat:{match:"^border-image:(?:stretch|repeat|round|space|$values)(?!\\|)",native:!0},borderImageSlice:{native:!0},borderImageSource:{match:"^border-image:(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)(?!\\|)",native:!0},borderImageWidth:{match:"^border-image:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},borderImage:{native:!0,order:-1},borderTop:{match:"^bt:.",native:!0,unit:"rem",colored:!0,values:{current:"currentColor"}},borderBottom:{match:"^bb:.",native:!0,unit:"rem",colored:!0,values:{current:"currentColor"}},borderLeft:{match:"^bl:.",native:!0,unit:"rem",colored:!0,values:{current:"currentColor"}},borderRight:{match:"^br:.",native:!0,unit:"rem",colored:!0,values:{current:"currentColor"}},borderX:{match:"^(?:bx|border-x):.",unit:"rem",colored:!0,order:-.5,values:{current:"currentColor"},declare(t){return{"border-left":t,"border-right":t}}},borderY:{match:"^(?:by|border-y):.",unit:"rem",colored:!0,order:-.5,values:{current:"currentColor"},declare(t){return{"border-top":t,"border-bottom":t}}},border:{match:"^b:.",native:!0,unit:"rem",colored:!0,values:{current:"currentColor"},order:-2},backgroundAttachment:{match:"^(?:bg|background):(?:fixed|local|scroll|$values)(?!\\|)",native:!0},backgroundBlendMode:{native:!0},backgroundColor:{match:"^(?:bg|background):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},backgroundClip:{match:"^(?:bg|background):(?:text|$values)(?!\\|)",native:!0,declare(t,e){return{"-webkit-background-clip":t+e,"background-clip":t+e}},values:{content:"content-box",border:"border-box",padding:"padding-box"}},backgroundOrigin:{match:"^(?:bg|background):(?:$values)(?!\\|)",native:!0,values:{content:"content-box",border:"border-box",padding:"padding-box"}},backgroundPosition:{match:"^(?:bg|background):(?:top|bottom|right|left|center|$values)(?!\\|)",native:!0,unit:"px"},backgroundRepeat:{match:"^(?:bg|background):(?:space|round|repeat|no-repeat|repeat-x|repeat-y|$values)(?![|a-zA-Z])",native:!0},backgroundSize:{match:"^(?:bg|background):(?:\\.?\\[0-9]+|auto|cover|contain|$values)(?!\\|)",unit:"rem",native:!0},backgroundImage:{match:"^(?:(?:bg|background):(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)|gradient\\(.*\\))(?!\\|)",native:!0,colored:!0,values:{current:"currentColor"},analyze(t){if(t.startsWith("gradient"))return["linear-"+t];let e=t.indexOf(":");return this.prefix=t.slice(0,e+1),[t.slice(e+1)]}},background:{match:"^bg:.",native:!0,colored:!0,values:{current:"currentColor"},order:-1},mixBlendMode:{match:"^blend:.",native:!0},backdropFilter:{match:"^bd:.",native:!0,colored:!0,values:{current:"currentColor"},declare(t,e){return{"backdrop-filter":t+e,"-webkit-backdrop-filter":t+e}}},filter:{match:"^(?:blur|brightness|contrast|drop-shadow|grayscale|hue-rotate|invert|opacity|saturate|sepia)\\(",native:!0,colored:!0,values:{current:"currentColor"}},fill:{match:"^fill:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},strokeDasharray:{native:!0},strokeDashoffset:{native:!0},strokeWidth:{match:"^stroke:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",native:!0},stroke:{native:!0,colored:!0,values:{current:"currentColor"}},x:{native:!0},y:{native:!0},cx:{native:!0},cy:{native:!0},rx:{native:!0},ry:{native:!0},gridColumnStart:{match:"^grid-col-start:.",native:!0},gridColumnEnd:{match:"^grid-col-end:.",native:!0},gridColumn:{match:"^grid-col(?:umn)?(?:-span)?:.",native:!0,order:-1,transform(t){return this.prefix.slice(-5,-1)==="span"&&t!=="auto"?"span "+t+"/span "+t:t}},gridColumns:{match:"^grid-cols:.",declare(t,e){return{display:"grid","grid-template-columns":"repeat("+t+e+",minmax(0,1fr))"}}},gridRowStart:{native:!0},gridRowEnd:{native:!0},gridRow:{match:"^grid-row-span:.",native:!0,order:-1,transform(t){return this.prefix.slice(-5,-1)==="span"&&t!=="auto"?"span "+t+"/span "+t:t}},gridRows:{match:"^grid-rows:.",declare(t,e){return{display:"grid","grid-auto-flow":"column","grid-template-rows":"repeat("+t+e+",minmax(0,1fr))"}}},gridAutoColumns:{match:"^grid-auto-cols:.",native:!0,values:{min:"min-content",max:"max-content"}},gridAutoFlow:{match:"^grid-flow:.",native:!0},gridAutoRows:{values:{min:"min-content",max:"max-content"},native:!0},gridTemplateAreas:{native:!0},gridTemplateColumns:{match:"^grid-template-cols:.",native:!0,unit:"rem",values:{min:"min-content",max:"max-content"}},gridTemplateRows:{native:!0,unit:"rem",values:{min:"min-content",max:"max-content"}},gridTemplate:{native:!0,order:-1},gridArea:{native:!0,order:-1},grid:{native:!0,order:-1},columnGap:{match:"^gap-x:.",unit:"rem",native:!0},rowGap:{match:"^gap-y:.",unit:"rem",native:!0},gap:{unit:"rem",native:!0,order:-1},order:{match:"^o:.",native:!0,values:{first:-999999,last:999999}},breakInside:{native:!0},breakBefore:{native:!0},breakAfter:{native:!0},boxDecorationBreak:{match:"^box:(?:slice|clone|$values)(?!\\|)",native:!0,declare(t,e){return{"box-decoration-break":t+e,"-webkit-box-decoration-break":t+e}}},aspectRatio:{match:"^aspect:.",native:!0},columnSpan:{match:"^col-span:.",native:!0},alignContent:{match:"^ac:.",native:!0},alignItems:{match:"^ai:.",native:!0},alignSelf:{match:"^as:",native:!0},justifyContent:{match:"^jc:.",native:!0},justifyItems:{match:"^ji:.",native:!0},justifySelf:{match:"^js:.",native:!0},placeContent:{native:!0,order:-1},placeItems:{native:!0,order:-1},placeSelf:{native:!0,order:-1},listStylePosition:{match:"^list-style:(?:inside|outside|$values)(?!\\|)",native:!0},listStyleType:{match:"^list-style:(?:disc|decimal|$values)(?!\\|)",native:!0},listStyleImage:{match:"^list-style:(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)(?!\\|)",native:!0},listStyle:{native:!0,order:-1},outlineColor:{match:"^outline:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},outlineOffset:{unit:"rem",native:!0},outlineStyle:{match:"^outline:(?:none|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0},outlineWidth:{match:"^outline:(?:\\.?[0-9]|medium|thick|thin|(max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},outline:{native:!0,unit:"rem",order:-1,colored:!0,values:{current:"currentColor"}},accentColor:{match:"^accent:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},appearance:{native:!0},caretColor:{match:"^caret:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},scrollBehavior:{native:!0},scrollMarginLeft:{match:"^sml:.",native:!0,unit:"rem"},scrollMarginRight:{match:"^smr:.",native:!0,unit:"rem"},scrollMarginTop:{match:"^smt:.",native:!0,unit:"rem"},scrollMarginBottom:{match:"^smb:.",native:!0,unit:"rem"},scrollMarginX:{match:"^(?:smx|scroll-margin-x):.",unit:"rem",order:-.5,declare(t,e){return{"scroll-margin-left":t+e,"scroll-margin-right":t+e}}},scrollMarginY:{match:"^(?:smy|scroll-margin-y):.",unit:"rem",order:-.5,declare(t,e){return{"scroll-margin-top":t+e,"scroll-margin-bottom":t+e}}},scrollMargin:{match:"^sm:.",native:!0,unit:"rem",order:-1},scrollPaddingLeft:{match:"^spl:.",native:!0,unit:"rem"},scrollPaddingRight:{match:"^spr:.",native:!0,unit:"rem"},scrollPaddingTop:{match:"^spt:.",native:!0,unit:"rem"},scrollPaddingBottom:{match:"^spb:.",native:!0,unit:"rem"},scrollPaddingX:{match:"^(?:spx|scroll-padding-x):.",unit:"rem",order:-.5,declare(t,e){return{"scroll-padding-left":t+e,"scroll-padding-right":t+e}}},scrollPaddingY:{match:"^(?:spy|scroll-padding-y):.",unit:"rem",order:-.5,declare(t,e){return{"scroll-padding-top":t+e,"scroll-padding-bottom":t+e}}},scrollPadding:{match:"^sp:.",native:!0,unit:"rem",order:-1},scrollSnapAlign:{match:"^scroll-snap:(?:start|end|center|$values)",native:!0},scrollSnapStop:{match:"^scroll-snap:(?:normal|always|$values)(?!\\|)",native:!0},scrollSnapType:{match:"^scroll-snap:(?:(?:[xy]|block|inline|both)(?:\\|(?:proximity|mandatory))?|$values)(?!\\|)",native:!0},willChange:{native:!0},writingMode:{match:"^writing:.",native:!0},direction:{native:!0},shapeOutside:{match:"^shape:(?:(?:inset|circle|ellipse|polygon|url|linear-gradient)\\(.*\\)|$values)(?!\\|)",native:!0,values:{content:"content-box",border:"border-box",padding:"padding-box",margin:"margin-box"}},shapeMargin:{match:"^shape:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},shapeImageThreshold:{native:!0},clipPath:{match:"^clip:.",native:!0,values:{content:"content-box",border:"border-box",padding:"padding-box",margin:"margin-box",fill:"fill-box",stroke:"stroke-box",view:"view-box"}},quotes:{native:!0},maskImage:{native:!0,declare(t,e){return{"mask-image":t+e,"-webkit-mask-image":t+e}}}},Me=De;function Be(t){if(!this.css.config.keyframes)return;let e=(this.meta.origin==="symbol"?t.slice(this.meta.config.symbol.length):t.slice(t.indexOf(":")+1)).split("|").filter(i=>i in this.css.config.keyframes);e?.length&&(this.keyframeNames=e)}function he(){if(this.keyframeNames?.length){let t=this.css.rules[0];for(let e of this.keyframeNames){let i=this.css.keyframes[e];if(!--i.count){let o=t.natives.indexOf(i.native);this.css.style.sheet.deleteRule(o),t.natives.splice(o,1),delete this.css.keyframes[e]}}t.natives.length||this.css.rules.splice(0,1)}}function ge(){if(this.keyframeNames){let{config:t,keyframes:e,style:i,rules:o}=this.css,m=i?.sheet;for(let a of this.keyframeNames)if(a in e)e[a].count++;else{let k={text:`@keyframes ${a}{`+Object.entries(t.keyframes[a]).map(([y,f])=>`${y}{${Object.entries(f).map(([v,s])=>v+":"+s).join(";")}}`).join("")+"}",theme:""},h;if(Object.keys(e).length?(h=o[0]).natives.push(k):o.splice(0,0,h={natives:[k],get text(){return this.natives.map(y=>y.text).join("")}}),m){let y;for(let f=0;f<m.cssRules.length;f++){let v=m.cssRules[f];if(v.constructor.name!=="CSSKeyframesRule")break;if(v.name===a){y=v;break}}if(y)k.cssRule=y;else{let f=h.natives.length-1;m.insertRule(k.text,f),k.cssRule=m.cssRules[f]}}e[a]={native:k,count:1}}}}var je={fade:{"0%":{opacity:0},to:{opacity:1}},flash:{"0%,50%,to":{opacity:1},"25%,75%":{opacity:0}},float:{"0%":{transform:"none"},"50%":{transform:"translateY(-1.25rem)"},to:{transform:"none"}},heart:{"0%":{transform:"scale(1)"},"14%":{transform:"scale(1.3)"},"28%":{transform:"scale(1)"},"42%":{transform:"scale(1.3)"},"70%":{transform:"scale(1)"}},jump:{"0%,to":{transform:"translateY(-25%)","animation-timing-function":"cubic-bezier(.8,0,1,1)"},"50%":{transform:"translateY(0)","animation-timing-function":"cubic-bezier(0,0,.2,1)"}},ping:{"75%,to":{transform:"scale(2)",opacity:0}},pulse:{"0%":{transform:"none"},"50%":{transform:"scale(1.05)"},to:{transform:"none"}},rotate:{"0%":{transform:"rotate(-360deg)"},to:{transform:"none"}},shake:{"0%":{transform:"none"},"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:"none"}},zoom:{"0%":{transform:"scale(0)"},to:{transform:"none"}}};var Oe={$:{name:"var",transform(t){return"--"+t}},calc:{transform(t){let e=this.values,i=this.css.globalValues,o=this.css.config.functions,m=this,a=0,k="",h="";return function y(f,v){let s=!1,c=(u,b=!1,S=!1)=>{if(u!=="("&&(e&&h in e?h=e[h].toString():i&&h in i&&(h=i[h].toString())),h&&!s&&!v){let g=m.analyzeUnitValue(h,o.calc.unit);g&&(h=g.value+g.unit)}k+=h+(b&&t[a-1]!==" "?" ":"")+u+(S&&t[a+1]!==" "?" ":""),h="",s=!1};for(;a<t.length;a++){let u=t[a];if(u==="("){let b=h,S=s,g=k.length;if(c(u),a++,y(b,S||v),b!=="calc"){let l=o[b];if(l){let r=k.slice(g+2,k.length-1);k=k.slice(0,g-b.length+1)+(l.name??b)+"("+(l.transform?.(r)??r)+")"}}}else if(u===")"){c(u);break}else if(u===",")c(u,!1,!0);else if(u===" ")c(u);else{let b=t[a-1];switch(u){case"+":!h&&b!==")"?h+=u:c(u,!0,!0);break;case"-":f==="var"||!h&&b!==")"?h+=u:c(u,!0,!0);break;case"*":c(u,!0,!0);break;case"/":c(u,!0,!0),s=!0;break;default:h+=u;break}}}a>=t.length-1&&c("")}("",!1),k}},translate:{unit:"rem"},translateX:{unit:"rem"},translateY:{unit:"rem"},translateZ:{unit:"rem"},translate3d:{unit:"rem"},skew:{unit:"deg"},skewX:{unit:"deg"},skewY:{unit:"deg"},skewZ:{unit:"deg"},skew3d:{unit:"deg"},rotate:{unit:"deg"},rotateX:{unit:"deg"},rotateY:{unit:"deg"},rotateZ:{unit:"deg"},rotate3d:{unit:"deg"},blur:{unit:"rem"},"drop-shadow":{unit:"rem"},"hue-rotate":{unit:"deg"},rgb:{unit:""},rgba:{unit:""},hsl:{unit:""},hsla:{unit:""},repeat:{unit:""}};var Ae="class";var ae={breakpoints:we,colors:Se,rootSize:16,scope:Ce,selectors:Re,semantics:$e,themes:Te,rules:Me,override:!1,observe:!0,important:!1,functions:Oe,keyframes:je,themeDriver:Ae};var Ie=[",",".","#","[","!","*",">","+","~",":","@"];var pe=typeof window<"u",Le=()=>{let t=document.createElement("style");return t.id="master",t},ne=class{constructor(e=ae){this.config=e;e?.override||(this.config=re(ae,e),"keyframes"in e&&Object.assign(this.config.keyframes,e.keyframes)),this.cache(),pe&&this.config.observe&&this.observe(document),ne.instances.push(this)}rules=[];ruleBy={};countBy={};observing=!1;observer;cache(){this.semantics=[],this.classes={},this.colorThemesMap={},this.themeAffectedClassesBy={},this.classesBy={},this.colorNames=[],this.themeNames=[""],this.selectors={},this.values={},this.globalValues={},this.breakpoints={},this.mediaQueries={},this.matches={},this.keyframes={};let{semantics:e,classes:i,selectors:o,themes:m,colors:a,values:k,breakpoints:h,mediaQueries:y,rules:f}=this.config;function v(n){return n.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}function s(n,d,w="",R={}){let T=L=>L?(w?w+"-":"")+L:w,A=Object.entries(n),I=[],X=[];for(let L of A){let Q=L[1];(typeof Q=="object"&&!Array.isArray(Q)?I:X).push(L)}for(let[L,Q]of I)s(Q,d,T(L),R);if(d&&w)X.length&&(R[w]=X.reduce((L,[Q,Z])=>(L[Q]=Z,L),{}));else for(let[L,Q]of X)R[T(L)]=Q;return R}function c(n){for(let[d,w]of Object.entries(n))/^[0-9]+x$/.test(d)&&typeof w=="number"&&(n["-"+d]=w*-1);return n}if(e)for(let[n,d]of Object.entries(s(e,!0)))this.semantics.push([new RegExp("^"+v(n)+"(?=!|\\*|>|\\+|~|:|\\[|@|_|\\.|$)","m"),[n,d]]);if(o)for(let[n,d]of Object.entries(s(o,!1))){let w=new RegExp(v(n)+"(?![a-z-])");for(let R of Array.isArray(d)?d:[d]){let T=R.match(/^::-[a-z]+-/m)?.[0]??"",A=this.selectors[T];A||(A=this.selectors[T]=[]);let I=A.find(([X])=>X===w);I||(I=[w,[]],A.push(I)),I[1].push(R)}}k&&(this.globalValues=c(s(k,!1))),h&&(this.breakpoints=s(h,!1)),y&&(this.mediaQueries=s(y,!1));let u=i?s(i,!1):{},b=m&&!Array.isArray(m)?Object.entries(m).filter(([,{classes:n}])=>n).reduce((n,[d,{classes:w}])=>(n[d]=s(w,!1),n),{}):{},S=[...Object.keys(u),...Object.entries(b).flatMap(([n,d])=>Object.keys(d))],g=n=>{if(n in this.classes)return;let d=this.classes[n]=[],w=(R,T)=>{if(!T)return;let A=Array.isArray(T)?T:T.replace(/(?:\n(?:\s*))+/g," ").trim().split(" ");for(let I of A){let X=L=>{L in this.themeAffectedClassesBy?R in this.themeAffectedClassesBy[L]?this.themeAffectedClassesBy[L][R].push(n):this.themeAffectedClassesBy[L][R]=[n]:this.themeAffectedClassesBy[L]={[R]:[n]},d.includes(L)||d.push(L)};if(S.includes(I)){g(I);for(let L of this.classes[I])X(L)}else X(I)}};w("",u?.[n]);for(let[R,T]of Object.entries(b))w(R,T?.[n])};for(let n of S)g(n);for(let n in this.themeAffectedClassesBy){let d=this.classesBy[n]=[];for(let w of Object.values(this.themeAffectedClassesBy[n]))for(let R of w)d.includes(R)||d.push(R)}let l=(n,d)=>{if(!d)return;let w=s(d,!0);for(let[R,T]of Object.entries(w)){let A=typeof T=="string"?{"":T}:T;for(let[I,X]of Object.entries(A)){let L=R+(I?"-"+I:"");L in this.colorThemesMap?this.colorThemesMap[L][n]=X:this.colorThemesMap[L]={[n]:X}}}for(let R in d)this.colorNames.includes(R)||this.colorNames.push(R)};if(l("",a),m)if(Array.isArray(m))this.themeNames.push(...m);else for(let n in m){let d=m[n];l(n,d.colors),this.themeNames.push(n)}let r=n=>{for(let[d,w]of Object.entries(this.colorThemesMap))for(let[R,T]of Object.entries(w))T.startsWith("#")||n(d,w,R,T)};if(r((n,d,w,R)=>{let T=/^rgba?\( *([0-9]{1,3}) *(?: |,) *([0-9]{1,3}) *(?: |,) *([0-9]{1,3}) *(?:(?:\/|,) *0?(\.[0-9]))?\)$/.exec(R);if(T){let A="#"+ue(+T[1],+T[2],+T[3]);T[4]&&(A+=Math.round(255*+T[4]).toString(16)),d[w]=A}}),r((n,d,w,R)=>{let[T,A]=R.split("/"),I=this.colorThemesMap[T];if(I){let X=(w?I[w]:void 0)??I[""];d[w]=A?X.slice(0,7)+Math.round(255*+A).toString(16):X}else console.warn(`\`${R}\` doesn't exist in the extended config \`.colors\``),delete d[w],Object.keys(d).length||delete this.colorThemesMap[n]}),f)for(let n in f){let d=f[n],{native:w,values:R,colored:T}=d,A=d.match;if(d.id=n,d.native=w===!0?n.replace(/(?!^)[A-Z]/g,I=>"-"+I).toLowerCase():void 0,R&&(this.values[n]=c(s(R,!1))),A){let I=Object.keys(this.values[n]??{});A.includes("$values")&&(A=I.length?A.replace(/\$values/,I.join("|")):A.replace(/(?:\|)?\$values/,"")),T&&A.includes("$colors")&&(A=this.colorNames.length?A.replace(/\$colors/,"(?:"+this.colorNames.join("|")+")(?![0-9A-Za-z])"):A.replace(/(?:\|)?\$colors/,"")),this.matches[n]=new RegExp(A)}}}observe(e,i={subtree:!0,childList:!0}){if(this.root!==e){if(pe&&e){this.root=e;let o=e===document;o&&(ne.root=this),this.host=o?document.documentElement:this.root.host;let m=o?document.head:e,a=o?document.styleSheets:e.styleSheets;for(let h of a){let{ownerNode:y}=h;if(y&&y.id==="master"){this.style=y;break}}if(this.style)for(let h=0;h<this.style.sheet.cssRules.length;h++){let y=this.style.sheet.cssRules[h];if(y.constructor.name==="CSSKeyframesRule")continue;let f=s=>{if(s.selectorText){let u=s.selectorText.split(", ")[0].split(" ");for(let b=0;b<u.length;b++){let S=u[b];if(S[0]==="."){let g=S.slice(1),l="";for(let r=0;r<g.length;r++){let n=g[r],d=g[r+1];if(n==="\\"){if(r++,d!=="\\"){l+=d;continue}}else if(Ie.includes(n))break;l+=n}if(!(l in this.ruleBy)&&!(l in this.classes)){let r=this.create(l)[0];if(r)return r}}}}else if(s.cssRules)for(let c=0;c<s.cssRules.length;c++){let u=f(s.cssRules[c]);if(u)return u}},v=f(y);if(v){this.rules.push(v),this.ruleBy[v.className]=v;for(let s=0;s<v.natives.length;s++)v.natives[s].cssRule=this.style.sheet.cssRules[h+s];h+=v.natives.length-1,v.config.insert?.call(v)}}else this.style=Le(),m.append(this.style);let k=h=>{h.forEach(y=>{y in this.countBy?this.countBy[y]++:(this.countBy[y]=1,this.insert(y))})};k(this.host.classList),i.subtree&&this.host.querySelectorAll("[class]").forEach(h=>k(h.classList)),this.observer=new MutationObserver(h=>{let y={},f=[],v=[],s=[],c=(g,l)=>{l?g.classList.forEach(b):g.classList.forEach(u);let r=g.children;for(let n=0;n<r.length;n++){let d=r[n];d.classList&&(v.push(d),c(d,l))}},u=g=>{g in y?y[g]++:y[g]=1},b=g=>{g in y?y[g]--:g in this.countBy&&(y[g]=-1)},S=(g,l)=>{for(let r=0;r<g.length;r++){let n=g[r];n.classList&&!v.includes(n)&&!s.includes(n)&&(n.isConnected!==l?(v.push(n),c(n,l)):s.push(n))}};for(let g=0;g<h.length;g++){let l=h[g],{addedNodes:r,removedNodes:n,type:d,target:w}=l;if(d==="attributes"){if(f.find(R=>R.target===w))continue;f.push(l)}else S(r,!1),(!w.isConnected||!v.includes(w))&&S(n,!0)}if(!(!f.length&&!Object.keys(y).length)){for(let{oldValue:g,target:l}of f){let r=v.includes(l),n=l.classList,d=g?g.split(" "):[];if(r){if(l.isConnected)continue;for(let w of d)n.contains(w)||b(w)}else if(l.isConnected){n.forEach(w=>{d.includes(w)||u(w)});for(let w of d)n.contains(w)||b(w)}}for(let g in y){let l=y[g],r=(this.countBy[g]||0)+l;r===0?(delete this.countBy[g],this.delete(g)):(g in this.countBy||this.insert(g),this.countBy[g]=r)}}}),this.observer.observe(e,{...i,attributes:!0,attributeOldValue:!0,attributeFilter:["class"]}),this.host.style.display=null,this.observing=!0}return this}}disconnect(){this.observer&&(this.observer.disconnect(),this.observer=null),this.observing=!1,this.ruleBy={},this.countBy={},this.rules.length=0;let e=this.style?.sheet;if(e?.cssRules)for(let i=e.cssRules.length-1;i>=0;i--)e.deleteRule(i);this.style?.remove(),this.style=null,this.root=null}match(e){for(let i in this.config.rules){let o=this.config.rules[i],m=this.matches[i],{symbol:a,native:k}=o;if(m&&m.test(e))return{origin:"match",config:o};if(a&&e.startsWith(a))return{origin:"symbol",config:o};if(k&&e.startsWith(k+":"))return{origin:"match",config:o}}for(let i of this.semantics)if(e.match(i[0]))return{origin:"semantics",value:i[1]}}create(e){let i=o=>{if(o in this.ruleBy)return this.ruleBy[o];let m=this.match(o);if(m)return new ce(o,m,this)};return(e in this.classes?this.classes[e].map(o=>i(o)):[i(e)]).filter(o=>o&&o.text)}refresh(e){if(e?.override?this.config=e:this.config=re(ae,e),this.cache(),!this.style)return;let i=Le();this.style.replaceWith(i),this.style=i,this.rules.length=0,this.ruleBy={};for(let o in this.countBy)this.insert(o)}destroy(){let e=ne.instances;this.disconnect(),e.splice(e.indexOf(this),1)}delete(e){let i=this.style?.sheet,o=m=>{let a=this.ruleBy[m];if(!(!a||m in this.classesBy&&this.classesBy[m].some(k=>k in this.countBy))){if(i&&a.natives.length){let k=a.natives[0];for(let h=0;h<i.cssRules.length;h++)if(i.cssRules[h]===k.cssRule){for(let f=0;f<a.natives.length;f++)i.deleteRule(h);break}}this.rules.splice(this.rules.indexOf(a),1),delete this.ruleBy[m],a.config.delete&&a.config.delete.call(a,m)}};if(e in this.classes){for(let m of this.classes[e])m in this.countBy||o(m);delete this.ruleBy[e]}else o(e)}insert(e){let i=this.create(e);return i.length?(this.insertRules(i),!0):!1}insertRules(e){for(let i of e){if(this.ruleBy[i.className])continue;let o,m=Object.keys(this.keyframes).length,a=this.rules.length-1,{media:k,order:h,priority:y,hasWhere:f,className:v}=i,s=(b,S,g)=>{let l=b;for(;l<=a;l++){let r=this.rules[l];if(S?.(r))return g?-1:l-1;if(g?.(r))return l}return g?-1:l-1},c,u;if(k){let b=this.rules.findIndex(S=>S.media);if(b===-1)o=a+1;else{let{"max-width":S,"min-width":g}=k.features;if(S||g){let l=this.rules.findIndex(r=>r.media?.features["max-width"]||r.media?.features["min-width"]);if(l===-1)o=a+1;else if(S&&g){if(y===-1?(c=s(l,r=>r.priority!==-1,r=>r.media.features["max-width"]&&r.media.features["min-width"]),u=s(l,r=>r.priority!==-1)):(c=s(l,void 0,r=>r.media.features["max-width"]&&r.media.features["min-width"]&&r.priority!==-1),u=a),c!==-1){let r=S.value-g.value,n=u,d=c;for(c=void 0;n>=d;n--){let{"max-width":w,"min-width":R}=this.rules[n].media.features,T=w.value-R.value;if(T<r)u=n-1;else if(T===r)c=n;else break}}if(c!==-1){let r=S.value-g.value;for(let n=u;n>=c;n--){let{"max-width":d,"min-width":w}=this.rules[n].media.features,R=d.value-w.value;if(R<r)u=n-1;else if(R>r){c=n+1;break}}}}else if(g){if(y===-1?(c=s(l,r=>r.media.features["max-width"]&&r.media.features["min-width"]||r.priority!==-1,r=>!r.media.features["max-width"]&&r.media.features["min-width"]),u=s(l,r=>r.media.features["max-width"]&&r.media.features["min-width"]||r.priority!==-1)):(c=s(l,r=>r.media.features["max-width"]&&r.media.features["min-width"]&&r.priority!==-1,r=>!r.media.features["max-width"]&&r.media.features["min-width"]&&r.priority!==-1),u=s(l,r=>r.media.features["max-width"]&&r.media.features["min-width"]&&r.priority!==-1)),c!==-1)for(let r=u;r>=c;r--){let n=this.rules[r].media.features["min-width"].value;if(n>g.value)u=r-1;else if(n<g.value){c=r+1;break}}}else if(y===-1?(c=s(l,r=>r.media.features["min-width"]||r.priority!==-1,r=>r.media.features["max-width"]),u=s(l,r=>r.media.features["min-width"]||r.priority!==-1)):(c=s(l,r=>r.media.features["min-width"]&&r.priority!==-1,r=>r.media.features["max-width"]&&r.priority!==-1),u=s(l,r=>r.media.features["min-width"]&&r.priority!==-1)),c!==-1)for(let r=u;r>=c;r--){let n=this.rules[r].media.features["max-width"].value;if(n<S.value)u=r-1;else if(n>S.value){c=r+1;break}}}else y===-1?(c=b,u=s(b,l=>l.media?.features["max-width"]||l.media?.features["min-width"]||l.priority!==-1)):(c=s(b,l=>l.media?.features["max-width"]||l.media?.features["min-width"],l=>l.priority!==-1),u=s(b,l=>l.media?.features["max-width"]||l.media?.features["min-width"]))}}else{let b=m?1:0;y===-1?(c=b,u=s(b,S=>S.media||S.priority!==-1)):(c=s(b,S=>S.media,S=>S.priority!==-1),u=s(b,S=>S.media))}if(o===void 0)if(c===-1)o=u+1;else{if(y===-1)for(let b=c;b<=u;b++){let S=this.rules[b];if(!(!f&&S.hasWhere)&&(f&&!S.hasWhere||S.order>=h)){o=b;break}}else for(let b=c;b<=u;b++){let S=this.rules[b];if(!(!f&&S.hasWhere)){if(f&&!S.hasWhere){o=b;break}if(S.priority<y){o=b;break}else if(S.priority===y){if(S.order>=h){o=b;break}}else o=b+1}}o===void 0&&(o=u+1)}if(this.rules.splice(o,0,i),this.ruleBy[v]=i,this.style){let b=this.style.sheet,S=0,g=l=>{let r=this.rules[l];if(r){if(!r.natives.length)return g(l-1);let n=r.natives[r.natives.length-1].cssRule;for(let d=0;d<b.cssRules.length;d++)if(b.cssRules[d]===n){S=d+1;break}}};g(o-1);for(let l=0;l<i.natives.length;)try{let r=i.natives[l];b.insertRule(r.text,S),r.cssRule=b.cssRules[S++],l++}catch(r){console.error(r),i.natives.splice(l,1)}}i.config.insert?.call(i)}}get text(){return this.rules.map(e=>e.text).join("")}},te=ne;oe(te,"root"),oe(te,"config",ae),oe(te,"instances",[]),oe(te,"refresh",e=>{for(let i of ne.instances)i.refresh(e)});pe&&(window.MasterCSS=te);new te(window.masterCSSConfig);})();
|