Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@master/css

Package Overview
Dependencies
Maintainers
2
Versions
429
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@master/css - npm Package Compare versions

Comparing version 2.0.0-beta.195 to 2.0.0-beta.196

1

dist/config/functions.d.ts
import type { ConfigFunction } from './';
declare const functions: {
$: {
colored: boolean;
transform(value: any): {

@@ -5,0 +6,0 @@ type: string;

2

dist/index.browser.bundle.js

@@ -1,1 +0,1 @@

(()=>{function se(t){let e=typeof Buffer<"u"?Buffer:null;return!!(e&&t instanceof e||t instanceof Date||t instanceof RegExp)}function ae(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 ne(t){let e=[];return t.forEach(function(r,n){typeof r=="object"&&r!==null?Array.isArray(r)?e[n]=ne(r):se(r)?e[n]=ae(r):e[n]=H({},r):e[n]=r}),e}function re(t,e){return e==="__proto__"?void 0:t[e]}function H(...t){let e={},r,n;return t.forEach(function(d){typeof d!="object"||d===null||Array.isArray(d)||Object.keys(d).forEach(function(a){if(n=re(e,a),r=re(d,a),r!==e)if(typeof r!="object"||r===null){e[a]=r;return}else if(Array.isArray(r)){e[a]=ne(r);return}else if(se(r)){e[a]=ae(r);return}else if(typeof n!="object"||n===null||Array.isArray(n)){e[a]=H({},r);return}else{e[a]=H(n,r);return}})}),e}var q={"(":")","'":"'",'"':'"',"{":"}"};function Z(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),r=e.length,n=-1,d="",a,l=e.charCodeAt(0);if(r==1&&l==45)return"\\"+e;for(;++n<r;){if(a=e.charCodeAt(n),a==0){d+="\uFFFD";continue}if(a>=1&&a<=31||a==127||n==0&&a>=48&&a<=57||n==1&&a>=48&&a<=57&&l==45){d+="\\"+a.toString(16)+" ";continue}if(a>=128||a==45||a==95||a>=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122){d+=e.charAt(n);continue}d+="\\"+e.charAt(n)}return d}var ge=/^(media|supports|page|font-face|keyframes|counter-style|font-feature-values|property|layer)(?=\||{|\(|$)/,te=class{constructor(e,r={},n){this.className=e;this.options=r;this.css=n;let{layer:d,unit:a,colored:l,resolvedPropName:p,analyze:s,transform:f,declare:o,create:h,order:m,id:g}=r;this.order=m,this.layer=d,r.unit||(r.unit=""),r.separators||(r.separators=[","]);let{scope:y,important:v,themeDriver:u}=n.config,{selectors:i,mediaQueries:c,stylesBy:b,animations:R}=n,x=b[e];h&&h.call(this,e),this.declarations=r.declarations;let w,N;if(this.colored=l,d===-401)w=e.slice(g.length-1);else{let j;if(s)[j,N]=s.call(this,e);else{let k=e.indexOf(":");this.prefix=e.slice(0,k+1),j=e.slice(k+1)}this.valueComponents=[],w=j.slice(this.parseValue(this.valueComponents,0,j,a))}w[0]==="!"&&(this.important=!0,w=w.slice(1)),this.stateToken=w;let V=(j,k)=>{let P=(O,M,E,T)=>{for(let[$,F]of M)if($.test(O)){for(let Y of F)P(O.replace($,Y),M,E,!0);return}T&&E.push(O)},I=O=>{let M=O.split(/(\\'(?:.*?)[^\\]\\')(?=[*_>~+,)])|(\[[^=]+='(?:.*?)[^\\]'\])/).map((F,Y)=>Y%3?F:F.replace(/(^|[^_])_(?!_)/g,"$1 ")).join(""),E=[],T="",$=0;for(let F=0;F<M.length;F++){let Y=M[F];if(Y==="\\"){T+=Y+M[++F];continue}!$&&Y===","?(E.push(T),T=""):(T+=Y,$&&Y===")"?$--:Y==="("&&$++)}return T&&E.push(T),E},D=[];""in i?P(j,i[""],D,!0):D.push(j);let z={};for(let[O,M]of Object.entries(i)){if(!O)continue;let E=[];for(let T of D)P(T,M,E,!1);E.length&&(z[O]=E)}let U=(O,M)=>{let E=M.reduce((T,$)=>(T.push(...I($)),T),[]);O in k?k[O].push(...E):k[O]=E},_=Object.keys(z);if(_.length)for(let O of _)U(O,z[O]);else U("",D)};N?(this.vendorPrefixSelectors={},V(N,this.vendorPrefixSelectors)):this.vendorPrefixSelectors={"":[""]};let C=w.split("@"),S=C[0];if(S){this.vendorSuffixSelectors={},V(S,this.vendorSuffixSelectors);for(let j of Object.values(this.vendorSuffixSelectors))for(let k of j){this.hasWhere!==!1&&(this.hasWhere=k.includes(":where("));let P=[":disabled",":active",":focus",":hover"];for(let I=0;I<P.length;I++)if(k.includes(P[I])){(this.priority===-1||this.priority>I)&&(this.priority=I);break}}}else this.vendorSuffixSelectors={"":[""]};let G={},W=Object.prototype.hasOwnProperty.call(this.vendorPrefixSelectors,""),A=Object.prototype.hasOwnProperty.call(this.vendorSuffixSelectors,"");if(W)G[""]=A?[""]:Object.keys(this.vendorSuffixSelectors);else if(A)for(let j in this.vendorPrefixSelectors)G[j]=[""];else for(let j in this.vendorPrefixSelectors){let k=G[j]=[];if(Object.prototype.hasOwnProperty.call(this.vendorSuffixSelectors,j))k.push(j);else for(let P in this.vendorSuffixSelectors)k.push(P)}for(let j=1;j<C.length;j++){let k=C[j];if(k)if(k==="rtl"||k==="ltr")this.direction=k;else{let P,I,D=ge.exec(k);if(D)P=D[1],I=k.slice(P.length);else{this.media={token:k,features:{}};let z=[],U=O=>{if(O==="all"||O==="print"||O==="screen"||O==="speech")this.media.type=O;else if(O==="\u{1F5A8}")this.media.type="print";else if(O==="landscape"||O==="portrait")z.push("(orientation:"+O+")");else if(O==="motion"||O==="reduced-motion")z.push("(prefers-reduced-motion:"+(O==="motion"?"no-preference":"reduce")+")");else{let M=c[O];if(M&&typeof M=="string")z.push(M);else{let E="",T="",$=0;O.startsWith("<=")?(T="<=",E="max-width"):O.startsWith(">=")||M?(T=">=",E="min-width"):O.startsWith(">")?(T=">",E="min-width",$=.02):O.startsWith("<")&&(T="<",E="max-width",$=-.02);let F=T?O.replace(T,""):O,Y=c[F];switch(E){case"max-width":case"min-width":let X={};typeof Y=="number"?X={type:"number",value:Y+$,unit:"px"}:(X=this.parseValueComponent(F,"px"),X.type==="number"&&X.unit==="px"&&(X.value+=$)),this.media.features[E]=X,X.type==="number"?z.push("("+E+":"+(X.value+X.unit)+")"):z.push("("+E+":"+X.value+")");break}}}},_=k.includes("&");if(_){let O=k.split("&");for(let M of O)U(M)}else U(k);if(this.media.type&&(I=this.media.type),z.length&&(I=z.join(" and ")),I)P="media";else if(!_){this.theme=k;continue}}I&&(this.at[P]=(P in this.at?this.at[P]+" and ":"")+I.replace(/\|/g," "))}}let L;if(this.valueComponents)if(L=this.transformValueComponents(this.valueComponents,a,[]),f&&(L=f.call(this,L,this.css.config)),o){let j,k;this.declarations=o.call(this,k?j:L,k||"")}else p&&(this.declarations={[p]:L});let ie=[];for(let j in this.declarations){let k=D=>{if(R&&(D.startsWith("animation")||D.startsWith("animation-name"))){let z=D.split(":")[1].split("!important")[0].split(" ").filter(U=>U in this.css.animations&&(!this.animationNames||!this.animationNames.includes(U)));z.length&&(this.animationNames||(this.animationNames=[]),this.animationNames.push(...z))}ie.push(D+((this.important||v)&&!D.endsWith("!important")?"!important":""))},P=j+":",I=this.declarations[j];if(typeof I=="object")for(let D of I)k(P+D.toString());else k(P+I.toString())}if(ie.length)for(let j in G)for(let k of G[j]){let P="";this.direction&&(P+="[dir="+this.direction+"] ");let I=this.vendorPrefixSelectors[j],D=this.vendorSuffixSelectors[k],z=I.map(O=>O+P),U=O=>z.map(M=>(this.theme&&u!=="media"?u==="host"?`:host(.${this.theme}) `:`.${this.theme} `:"")+(y?y+" ":"")+M).reduce((M,E)=>(M.push(D.reduce((T,$)=>(T.push(E+"."+Z(O)+$),T),[]).join(",")),M),[]).join(","),_=U(e)+(x?x.reduce((O,M)=>O+","+U(M),""):"")+"{"+ie.join(";")+"}";for(let O of Object.keys(this.at).sort((M,E)=>E==="supports"?-1:1))_="@"+O+(O.includes(" ")?"":" ")+this.at[O]+"{"+_+"}";this.theme&&u==="media"&&(_=`@media(prefers-color-scheme:${this.theme}){`+_+"}"),this.natives.push({text:_})}}at={};priority=-1;natives=[];order=0;layer=0;stateToken;declarations;colored=!1;animationNames;variableNames;transformValueComponents=(e,r,n)=>{let{functions:d}=this.css.config,a="";for(let l of e)switch(l.type){case"function":let p=d&&d[l.name];if(p?.transform){let f=p.transform.call(this,this.transformValueComponents(l.childrens,p.unit??r,n),n);a+=typeof f=="string"?f:this.transformValueComponents(f,p?.unit??r,n)}else a+=l.name+l.symbol+this.transformValueComponents(l.childrens,p?.unit??r,n)+q[l.symbol];break;case"variable":let s=this.css.variables[l.name];if(s){let f=(o,h)=>{if(s.themes)if(this.theme){let m=s.themes[this.theme]??s;m?.value&&o(m)}else this.variableNames||(this.variableNames=[]),this.variableNames.includes(l.name)||this.variableNames.push(l.name),h();else o(s)};switch(s.type){case"string":f(h=>{let m=[];this.parseValue(m,0,h.value,r,void 0,void 0,[...n,l.name]),a+=this.transformValueComponents(m,r,[...n,l.name])},()=>{a+=`var(--${l.name})`});break;case"number":f(h=>{let m=this.parseValueComponent(h.value,r);a+=m.value+(m.unit??"")},()=>{a+=r?`calc(var(--${l.name}) / 16 * 1rem)`:`var(--${l.name})`});break;case"color":let o=l.alpha?"/"+l.alpha:"";f(h=>{a+=`${h.space}(${h.value}${o})`},()=>{a+=`${s.space}(var(--${l.name})${o})`});break}}else a+="var(--"+l.name+")";break;case"separator":a+=(l.prefix||"")+l.value+(l.suffix||"");break;case"number":a+=l.value+l.unit;break;default:a+=l.value;break}return a};get text(){return this.natives.map(e=>e.text).join("")}parseValue=(e,r,n,d,a,l=void 0,p=[])=>{let s=l===void 0,f=!s&&(l.endsWith("$")||l.endsWith("var")),h=(v=>v==="'"||v==='"')(a),m=[","];this.options.separators.length&&m.push(...this.options.separators);let g="",y=()=>{if(g){let v=!1;if(!f){let u=(i,c)=>{let b=Object.prototype.hasOwnProperty.call(this.options.resolvedVariables,i)?this.options.resolvedVariables[i]:Object.prototype.hasOwnProperty.call(this.css.variables,i)?this.css.variables[i]:void 0;if(b){let R=b.name??i;p.includes(R)||(v=!0,e.push({type:"variable",name:R,alpha:c}))}};if(u(g),!v&&this.colored){let[i,c]=g.split("/");u(i,c)}}v||e.push(this.parseValueComponent(g,d)),g=""}};for(;r<n.length;r++){let v=n[r];if(v===a){if(h){let u=0;for(let i=g.length-1;g[i]==="\\";i--)u++;if(u%2){g+=v;continue}else y()}else y();return r}else if(!h&&v in q){let u=g,i={type:"function",name:u,symbol:v,childrens:[]};e.push(i),g="";let c=v==="("&&this.css.config.functions?.[u];!this.colored&&c?.colored&&(this.colored=!0),r=this.parseValue(i.childrens,++r,n,c?.unit??d,q[v],u||l||"")}else if((v==="|"||v===" ")&&a!=="}"&&(!h||l==="path"))y(),e.push({type:"separator",value:" "});else{if(!h){if(v===".")if(isNaN(+n[r+1])){if(s)break}else n[r-1]==="-"&&(g+="0");else if(m.includes(v)){y(),e.push({type:"separator",value:v,prefix:v===","?"":" ",suffix:v===","?"":" "});continue}else if(s&&(v==="#"&&(g||e.length&&e[e.length-1].type!=="separator")||["!","*",">","+","~",":","[","@","_"].includes(v)))break}g+=v}}return y(),r};resolveValue(e,r){return Number.isNaN(+e)?e:e/(r==="rem"||r==="em"?this.css.config.rootSize:1)+r}parseValueComponent(e,r=this.options.unit){let n=r??this.options.unit,d="",a;if(typeof e=="number")return n&&!d?((n==="rem"||n==="em")&&(a=e/this.css.config.rootSize),d=n||""):a=e,{value:a,unit:d,type:"number"};if(n){if(/^\d+\/\d+/.test(e)){let[p,s]=e.split("/");return{value:+p/+s*100,unit:"%",type:"number"}}let l=e.match(/^([+-.]?\d+(\.?\d+)?)(%|cm|mm|q|in|pt|pc|px|em|rem|ex|rex|cap|rcap|ch|rch|ic|ric|lh|rlh|vw|svw|lvw|dvw|vh|svh|lvh|dvh|vi|svi|lvi|dvi|vb|svb|lvb|dvb|vmin|svmin|lvmin|dvmin|vmax|svmax|lvmax|dvmax|cqw|cqh|cqi|cqb|cqmin|cqmax|deg|grad|rad|turn|s|ms|hz|khz|dpi|dpcm|dppx|x|fr|db|st)?$/);if(l)return a=+l[1],d=l[3]||"",d||((n==="rem"||n==="em")&&(a=a/this.css.config.rootSize),d=n||""),{value:a,unit:d,type:"number"}}return{value:e,type:"string"}}};var ye={"4xs":360,"3xs":480,"2xs":600,xs:768,sm:834,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560},oe=ye;var be={"::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(",":only":":only-child"},le=be;var ve={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"},fit:{width:"fit-content",height:"fit-content"}},ce=ve;var Re={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"}}},ue=Re;function Q(t){t.startsWith("#")&&(t=t.slice(1));let e,r,n,d;return t.length===3||t.length===4?(e=parseInt(t[0]+t[0],16),r=parseInt(t[1]+t[1],16),n=parseInt(t[2]+t[2],16),d=t.length===4?Math.round(parseInt(t[3]+t[3],16)/255*100)/100:1):(t.length===6||t.length===8)&&(e=parseInt(t.slice(0,2),16),r=parseInt(t.slice(2,4),16),n=parseInt(t.slice(4,6),16),d=t.length===8?Math.round(parseInt(t.slice(6,8),16)/255*100)/100:1),[e,r,n,d]}function de(t,e,r){return((1<<24)+(t<<16)+(e<<8)+r).toString(16).slice(1)}function B(t){typeof t=="string"&&(t={"":t});let e=""in t,r=!1;for(let n in t)if(n&&+n>=100){r=!0;break}if(!r&&(!e||Object.keys(t).length>1)){let n=0,d="0"in t?Q(t[0]):[0,0,0],a,l,p=[],s=()=>{let f=a-n,o=l.map((h,m)=>(h-d[m])/f);for(let h of p){let m=h-n,g=d.map((y,v)=>Math.round(y+o[v]*m));t[h]="#"+de.call(this,...g)}};for(let f=1;f<100;f++)f in t?(p.length?(a=f,l=Q(t[f]),s(),p.length=0,d=l):d=Q(t[f]),n=f):p.push(f);p.length&&(a=100,l="100"in t?Q(t[100]):[255,255,255],s())}return e||(t[""]=t[r?"500":"50"]),t}var xe={fontFamily:{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"]},fontWeight:{thin:100,extralight:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,heavy:900},section:{"4xs":360,"3xs":480,"2xs":600,xs:768,sm:834,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560},flexBasis:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content"},flexDirection:{col:"column","col-reverse":"column-reverse"},width:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content"},height:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content"},minWidth:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content"},boxSizing:{content:"content-box",border:"border-box"},maxHeight:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content"},position:{abs:"absolute",rel:"relative"},transformBox:{content:"content-box",border:"border-box",padding:"padding-box",fill:"fill-box",stroke:"stroke-box",view:"view-box"},animationDirection:{alt:"alternate","alt-reverse":"alternate-reverse"},backgroundClip:{content:"content-box",border:"border-box",padding:"padding-box"},backgroundOrigin:{content:"content-box",border:"border-box",padding:"padding-box"},gridAutoColumns:{min:"min-content",max:"max-content"},gridAutoRows:{min:"min-content",max:"max-content"},gridTemplateColumns:{min:"min-content",max:"max-content"},gridTemplateRows:{min:"min-content",max:"max-content"},order:{first:-999999,last:999999},shapeOutside:{content:"content-box",border:"border-box",padding:"padding-box",margin:"margin-box"},clipPath:{content:"content-box",border:"border-box",padding:"padding-box",margin:"margin-box",fill:"fill-box",stroke:"stroke-box",view:"view-box",black:"#000000"},black:"#000000",white:"#ffffff",current:"currentColor",slate:B({5:"#141e2b",10:"#19212d",20:"#262f3e",30:"#323e52",40:"#41516b",50:"#616a84",55:"#6c7693",60:"#959db3",70:"#a3abbf",80:"#d7dae3",95:"#f6f7f8"}),gray:B({5:"#1e1d1f",10:"#212022",20:"#2f2e30",30:"#3e3d40",40:"#504f52",50:"#6b6a6d",55:"#777679",60:"#9e9da0",70:"#abaaae",80:"#dad9db",95:"#f5f4f7"}),brown:B({5:"#271b15",10:"#2b1e18",20:"#3c2b22",30:"#50382c",40:"#694839",50:"#8d604b",55:"#9d6b53",60:"#b79788",70:"#c1a598",80:"#efd5c9",95:"#faf2ef"}),orange:B({5:"#2e1907",10:"#331b07",20:"#47260b",30:"#5d320e",40:"#7a4111",50:"#a15717",55:"#b4611a",60:"#e38739",70:"#e79855",80:"#f7d4b5",95:"#fcf1e7"}),gold:B({5:"#281b00",10:"#2d1e01",20:"#3f2a00",30:"#543800",40:"#6d4900",50:"#906000",55:"#9c6d00",60:"#d09100",70:"#dca000",80:"#fbd67f",95:"#fff3d8"}),yellow:B({5:"#251d00",10:"#282000",20:"#3a2e01",30:"#4b3b00",40:"#624e00",50:"#806700",55:"#8e7200",60:"#be9900",70:"#d0a700",80:"#edda8f",95:"#fff5ca"}),grass:B({5:"#162106",10:"#182406",20:"#223308",30:"#2c4408",40:"#3a570b",50:"#4e750e",60:"#74ae15",70:"#7dbc17",80:"#bfe87c",95:"#ebfad4"}),green:B({5:"#042311",10:"#032611",20:"#023717",30:"#03481f",40:"#025d26",50:"#067b34",55:"#07883a",60:"#09b64d",70:"#0ac553",80:"#80f1a4",95:"#e0fae8"}),beryl:B({5:"#002319",10:"#00271c",20:"#003626",30:"#004732",40:"#005c41",50:"#007954",55:"#00875e",60:"#00b37c",70:"#00c387",80:"#72f0c5",95:"#d6fcef"}),teal:B({5:"#012220",10:"#012624",20:"#003532",30:"#004541",40:"#005a54",50:"#00776f",55:"#00857c",60:"#00b1a5",70:"#00bfb2",80:"#6aeee5",95:"#d4fcf8"}),cyan:B({5:"#00222b",10:"#00252e",20:"#013340",30:"#004457",40:"#00576f",50:"#007391",55:"#0080a1",60:"#00abd7",70:"#00b9e9",80:"#97e6fa",95:"#dff8ff"}),sky:B({5:"#031f34",10:"#032339",20:"#04314e",30:"#044169",40:"#065386",50:"#086eb3",55:"#097ac5",60:"#29a4f5",70:"#4db3f7",80:"#b3e0ff",95:"#eaf6fe"}),blue:B({5:"#07194a",10:"#081c53",20:"#0a2773",30:"#0e3496",40:"#1146b6",50:"#175fe9",55:"#2671ea",60:"#6b9ef1",70:"#81acf3",80:"#c6dbfe",95:"#edf4fe"}),indigo:B({5:"#1f1645",10:"#20174f",20:"#2b1f74",30:"#37289d",40:"#463fb1",50:"#5a5bd5",55:"#6464f1",60:"#9393f5",70:"#a1a5ee",80:"#d5d7fe",95:"#f1f2ff"}),violet:B({5:"#2b0a4e",10:"#2e0b57",20:"#3d1179",30:"#4e169f",40:"#5f2eba",50:"#7949e5",55:"#8755f5",60:"#ac8af8",70:"#b89bf9",80:"#e1d4fe",95:"#f5f1ff"}),purple:B({5:"#2e0c47",10:"#330c4e",20:"#460f6c",30:"#5b1390",40:"#7421b1",50:"#9832e4",55:"#a348e7",60:"#c184ef",70:"#ca96f1",80:"#ead1fe",95:"#f9f0ff"}),fuchsia:B({5:"#39092a",10:"#400932",20:"#560d4a",30:"#6f1165",40:"#8c158a",50:"#b61cbb",55:"#ca1fce",60:"#e66ee9",70:"#ea86ed",80:"#facbfb",95:"#feefff"}),pink:B({5:"#3d0722",10:"#430725",20:"#5d0933",30:"#790d44",40:"#9a1058",50:"#ca1473",55:"#e11681",60:"#f170b4",70:"#f388c0",80:"#fdcde6",95:"#fff0f8"}),crimson:B({5:"#430213",10:"#470314",20:"#62041c",30:"#800524",40:"#9f1036",50:"#ce1a4b",55:"#e8144c",60:"#f37596",70:"#f58ba7",80:"#fdceda",95:"#fff1f4"}),red:B({5:"#450001",10:"#490102",20:"#640304",30:"#800506",40:"#a11012",50:"#d11a1e",55:"#ed0a0e",60:"#f97476",70:"#fa8b8d",80:"#fdcfcf",95:"#fff1f1"})},fe=xe;var K=["hidden","dotted","dashed","solid","double","groove","ridge","inset","outset"],Oe={group:{match:/^(?:.+?[*_>~+])?\{.+?\}/,layer:-1,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={},r=s=>{let f=s.indexOf(":");f!==-1&&(e[s.slice(0,f)]=s.slice(f+1))},n=s=>{let f=o=>{let h=o.slice(Z(s.className).length).match(/\{(.*)\}/)[1].split(";");for(let m of h)r(m)};for(let o of s.natives)f(o.text);if(s.animationNames){this.animationNames||(this.animationNames=[]);for(let o of s.animationNames)this.animationNames.includes(o)||this.animationNames.push(o)}if(s.variableNames){this.variableNames||(this.variableNames=[]);for(let o of s.variableNames)this.variableNames.includes(o)||this.variableNames.push(o)}},d=[],a="",l=()=>{a&&(d.push(a.replace(/ /g,"|")),a="")},p=1;(function s(f){for(;p<t.length;p++){let o=t[p];if(!f){if(o===";"){l();continue}if(o==="}")break}if(a+=o,f===o){if(f==="'"||f==='"'){let h=0;for(let m=a.length-2;a[m]==="\\";m--)h++;if(h%2)continue}break}else o in q&&f!=="'"&&f!=='"'&&(p++,s(q[o]))}})(void 0),l();for(let s of d){let f=this.css.create(s);if(f.length)for(let o of f)n(o);else r(s)}return e}},variable:{match:/^\$[\w-]+:./,colored:!0,layer:-1,declare(t){return{["--"+this.prefix.slice(1,-1)]:t}}},fontSize:{match:["f(?:ont)?"],numeric:!0,unit:"rem",layer:-101},fontWeight:{match:["f(?:ont)?",["bolder"]],layer:-101},fontFamily:{match:["f(?:ont)?"],layer:-101},fontSmoothing:{match:["f(?:ont)?",["antialiased","subpixel-antialiased"]],layer:-101,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"]],layer:-101,unit:"deg"},fontVariantNumeric:{match:["f(?:ont)?",["ordinal","slashed-zero","lining-nums","oldstyle-nums","proportional-nums","tabular-nums","diagonal-fractions","stacked-fractions"]],layer:-101},fontVariant:{layer:-301},fontFeatureSettings:{match:/^font-feature:./,layer:-101},font:{match:/^f:./,layer:-301,variableGroups:["fontFamily","fontVariant","fontWeight","fontSize","fontStyle","lineHeight"]},color:{match:/^(?:color|fg|foreground):./,layer:-101,colored:!0},marginLeft:{match:/^ml:./,layer:-101,unit:"rem",variableGroups:["spacing"]},marginRight:{match:/^mr:./,layer:-101,unit:"rem",variableGroups:["spacing"]},marginTop:{match:/^mt:./,layer:-101,unit:"rem",variableGroups:["spacing"]},marginBottom:{match:/^mb:./,layer:-101,unit:"rem",variableGroups:["spacing"]},marginX:{match:/^(?:mx|margin-x):./,unit:"rem",layer:-201,declare(t,e){return{"margin-left":t+e,"margin-right":t+e}},variableGroups:["spacing"]},marginY:{match:/^(?:my|margin-y):./,unit:"rem",layer:-201,declare(t,e){return{"margin-top":t+e,"margin-bottom":t+e}},variableGroups:["spacing"]},margin:{match:/^m:./,unit:"rem",layer:-301,variableGroups:["spacing"]},marginInlineStart:{match:/^mis:./,layer:-101,unit:"rem",variableGroups:["spacing"]},marginInlineEnd:{match:/^mie:./,layer:-101,unit:"rem",variableGroups:["spacing"]},marginInline:{match:/^mi:./,unit:"rem",layer:-301,variableGroups:["spacing"]},paddingLeft:{match:/^pl:./,layer:-101,unit:"rem",variableGroups:["spacing"]},paddingRight:{match:/^pr:./,layer:-101,unit:"rem",variableGroups:["spacing"]},paddingTop:{match:/^pt:./,layer:-101,unit:"rem",variableGroups:["spacing"]},paddingBottom:{match:/^pb:./,layer:-101,unit:"rem",variableGroups:["spacing"]},paddingX:{match:/^(?:px|padding-x):./,unit:"rem",layer:-201,declare(t,e){return{"padding-left":t+e,"padding-right":t+e}},variableGroups:["spacing"]},paddingY:{match:/^(?:py|padding-y):./,unit:"rem",layer:-201,declare(t,e){return{"padding-top":t+e,"padding-bottom":t+e}},variableGroups:["spacing"]},padding:{match:/^p:./,unit:"rem",layer:-301,variableGroups:["spacing"]},paddingInlineStart:{match:/^pis:./,layer:-101,unit:"rem",variableGroups:["spacing"]},paddingInlineEnd:{match:/^pie:./,layer:-101,unit:"rem",variableGroups:["spacing"]},paddingInline:{match:/^pi:./,unit:"rem",layer:-301,variableGroups:["spacing"]},flexBasis:{variableGroups:["section"],unit:"rem",layer:-101},flexWrap:{match:["flex",["wrap","nowrap","wrap-reverse"]],layer:-101},flexGrow:{layer:-101},flexShrink:{layer:-101},flexDirection:{match:["flex",["row","row-reverse","column","column-reverse"]],layer:-101},flex:{layer:-301},display:{match:/^d:./,layer:-101},width:{match:/^w:./,unit:"rem",layer:-101,variableGroups:["section"]},height:{match:/^h:./,unit:"rem",layer:-101,variableGroups:["section"]},minWidth:{match:/^min-w:./,unit:"rem",layer:-101,variableGroups:["section"]},minHeight:{match:/^min-h:./,unit:"rem",layer:-101,variableGroups:["section"]},box:{match:/^(?:(?:max|min|clamp|calc)\(.+\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\(.+\)|[0-9]+[a-z]*?)/,layer:-201,unit:"rem",separators:["x"],analyze(t){return[t]},declare(t){let[e,r]=t.split(" x ");return{width:e,height:r}}},minBox:{match:/^min:./,layer:-201,unit:"rem",separators:["x"],analyze(t){return[t.slice(4)]},declare(t){let[e,r]=t.split(" x ");return{"min-width":e,"min-height":r}}},maxBox:{match:/^max:./,layer:-201,unit:"rem",separators:["x"],analyze(t){return[t.slice(4)]},declare(t){let[e,r]=t.split(" x ");return{"max-width":e,"max-height":r}}},boxSizing:{match:/^box:./,layer:-101},boxDecorationBreak:{match:["section",["slice","clone"]],layer:-101,declare(t,e){return{"box-decoration-break":t+e,"-webkit-box-decoration-break":t+e}}},contain:{layer:-101},content:{layer:-101},counterIncrement:{layer:-101},counterReset:{layer:-101},letterSpacing:{match:/^ls:./,layer:-101,unit:"em"},lineHeight:{match:/^lh:./,layer:-101},objectFit:{match:["(?:object|obj)",["contain","cover","fill","scale-down"]],layer:-101},objectPosition:{match:["(?:object|obj)",["top","bottom","right","left","center"]],layer:-101},textAlign:{match:["t(?:ext)?",["justify","center","left","right","start","end"]],layer:-101},textDecorationColor:{match:["text-decoration"],layer:-101,colored:!0},textDecorationStyle:{match:["t(?:ext)?",["solid","double","dotted","dashed","wavy"]],layer:-101},textDecorationThickness:{match:["text-decoration",["from-font"]],numeric:!0,layer:-101,unit:"em"},textDecorationLine:{match:["t(?:ext)?",["none","underline","overline","line-through"]],layer:-101},textDecoration:{match:["t(?:ext)?",["underline","overline","line-through"]],unit:"rem",colored:!0,layer:-301},textUnderlineOffset:{unit:"rem",layer:-101,variableGroups:["spacing"]},textOverflow:{match:["t(?:ext)?",["ellipsis","clip"]],layer:-101},textOrientation:{match:["t(?:ext)?",["mixed","upright","sideways-right","sideways","use-glyph-orientation"]],layer:-101},textTransform:{match:["t(?:ext)?",["uppercase","lowercase","capitalize"]],layer:-101},textRendering:{match:["t(?:ext)?",["optimizeSpeed","optimizeLegibility","geometricPrecision"]],layer:-101},textIndent:{unit:"rem",layer:-101},verticalAlign:{match:/^(?:v|vertical):./,layer:-101},columns:{match:/^(?:columns|cols):./,layer:-301},whiteSpace:{layer:-101},top:{layer:-101,unit:"rem",variableGroups:["spacing"]},bottom:{layer:-101,unit:"rem",variableGroups:["spacing"]},left:{layer:-101,unit:"rem",variableGroups:["spacing"]},right:{layer:-101,unit:"rem",variableGroups:["spacing"]},inset:{unit:"rem",layer:-301,variableGroups:["spacing"]},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",layer:-101,variableGroups:["section"]},maxWidth:{match:/^max-w:./,unit:"rem",layer:-101,variableGroups:["section"]},opacity:{layer:-101},visibility:{layer:-101},clear:{layer:-101},float:{layer:-101},isolation:{layer:-101},overflowX:{layer:-101,declare(t,e){return t==="overlay"?{"overflow-x":["auto",t]}:{"overflow-x":t}}},overflowY:{layer:-101,declare(t,e){return t==="overlay"?{"overflow-y":["auto",t]}:{"overflow-y":t}}},overflow:{layer:-301,declare(t,e){return t==="overlay"?{overflow:["auto",t]}:{overflow:t}}},overscrollBehaviorX:{layer:-101},overscrollBehaviorY:{layer:-101},overscrollBehavior:{layer:-301},zIndex:{match:/^z:./,layer:-101},position:{layer:-101},cursor:{layer:-101},pointerEvents:{layer:-101},resize:{layer:-101},touchAction:{layer:-101},wordBreak:{layer:-101},wordSpacing:{layer:-101,unit:"em"},userDrag:{layer:-101,declare(t,e){return{"user-drag":t+e,"-webkit-user-drag":t+e}}},userSelect:{layer:-101,declare(t,e){return{"user-select":t+e,"-webkit-user-select":t+e}}},textShadow:{unit:"rem",layer:-101,colored:!0},textSize:{match:["t(?:ext)?"],numeric:!0,unit:"rem",declare(t,e){return{"font-size":t+e,"line-height":e==="em"?t+.875+e:`calc(${t}${e} + ${.875}em)`}}},textFillColor:{match:["(?:text-fill|text|t)"],layer:-101,colored:!0,declare(t,e){return{"-webkit-text-fill-color":t+e}}},textStrokeWidth:{match:["text-stroke",["thin","medium","thick"]],numeric:!0,unit:"rem",layer:-101,declare(t,e){return{"-webkit-text-stroke-width":t+e}}},textStrokeColor:{match:["text-stroke"],layer:-101,colored:!0,declare(t,e){return{"-webkit-text-stroke-color":t+e}}},textStroke:{unit:"rem",layer:-101,declare(t,e){return{"-webkit-text-stroke":t+e}}},boxShadow:{match:/^s(?:hadow)?:./,unit:"rem",layer:-101,colored:!0},tableLayout:{layer:-101},transformBox:{match:["transform"],layer:-101},transformStyle:{match:["transform",["flat","preserve-3d"]],layer:-101},transformOrigin:{match:["transform",["top","bottom","right","left","center"]],numeric:!0,unit:"px",layer:-101},transform:{match:/^(?:translate|scale|skew|rotate|perspective|matrix)(?:3d|[XYZ])?\(/,layer:-101,analyze(t){return[t.startsWith("transform")?t.slice(10):t]},variableGroups:["spacing"]},transitionProperty:{match:/^~property:./,layer:-101},transitionTimingFunction:{match:/^~easing:./,layer:-101},transitionDuration:{match:/^~duration:./,layer:-101,unit:"ms"},transitionDelay:{match:/^~delay:./,layer:-101,unit:"ms"},transition:{match:/^~[^!*>+~:[@_]+\|/,analyze(t){if(t.startsWith("~"))return[t.slice(1)];{let e=t.indexOf(":");return this.prefix=t.slice(0,e+1),[t.slice(e+1)]}},layer:-301},animationDelay:{match:/^@delay:./,layer:-101,unit:"ms"},animationDirection:{match:/^@direction:./,layer:-101},animationDuration:{match:/^@duration:./,layer:-101,unit:"ms"},animationFillMode:{match:/^@fill:./,layer:-101},animationIterationCount:{match:/^@iteration:./,layer:-101},animationName:{match:/^@name:./,layer:-101},animationPlayState:{match:/^@play:./,layer:-101},animationTimingFunction:{match:/^@easing:./,layer:-101},animation:{match:/^@[^!*>+~:[@_]+\|/,layer:-301,analyze(t){if(t.startsWith("@"))return[t.slice(1)];{let e=t.indexOf(":");return this.prefix=t.slice(0,e+1),[t.slice(e+1)]}}},borderCollapse:{match:["b(?:order)?",["collapse","separate"]],layer:-101},borderSpacing:{unit:"rem",layer:-101},borderTopColor:{match:["b(?:t|order-top(?:-color)?)"],layer:-101,colored:!0},borderBottomColor:{match:["b(?:b|order-bottom(?:-color)?)"],layer:-101,colored:!0},borderLeftColor:{match:["b(?:l|order-left(?:-color)?)"],layer:-101,colored:!0},borderRightColor:{match:["b(?:r|order-right(?:-color)?)"],layer:-101,colored:!0},borderXColor:{match:["b(?:x|order-x(?:-color)?)"],layer:-201,colored:!0,declare(t,e){return{"border-left-color":t+e,"border-right-color":t+e}}},borderYColor:{match:["b(?:y|order-y(?:-color)?)"],layer:-201,colored:!0,declare(t,e){return{"border-top-color":t+e,"border-bottom-color":t+e}}},borderColor:{match:["b(?:order)?(?:-color)?"],layer:-301,colored:!0},borderTopLeftRadius:{match:/^r(?:tl|lt):./,unit:"rem",layer:-101},borderTopRightRadius:{match:/^r(?:tr|rt):./,unit:"rem",layer:-101},borderBottomLeftRadius:{match:/^r(?:bl|lb):./,unit:"rem",layer:-101},borderBottomRightRadius:{match:/^r(?:br|rb):./,unit:"rem",layer:-101},borderTopRadius:{match:/^rt:./,unit:"rem",layer:-201,declare(t,e){return{"border-top-left-radius":t+e,"border-top-right-radius":t+e}}},borderBottomRadius:{match:/^rb:./,unit:"rem",layer:-201,declare(t,e){return{"border-bottom-left-radius":t+e,"border-bottom-right-radius":t+e}}},borderLeftRadius:{match:/^rl:./,unit:"rem",layer:-201,declare(t,e){return{"border-top-left-radius":t+e,"border-bottom-left-radius":t+e}}},borderRightRadius:{match:/^rr:./,unit:"rem",layer:-201,declare(t,e){return{"border-top-right-radius":t+e,"border-bottom-right-radius":t+e}}},borderRadius:{match:/^r:./,unit:"rem",layer:-301},borderTopStyle:{match:["b(?:t|order-top(?:-style)?)",K],layer:-101},borderBottomStyle:{match:["b(?:b|order-bottom(?:-style)?)",K],layer:-101},borderLeftStyle:{match:["b(?:l|order-left(?:-style)?)",K],layer:-101},borderRightStyle:{match:["b(?:r|order-right(?:-style)?)",K],layer:-101},borderXStyle:{match:["b(?:x|order-x(?:-style)?)",K],layer:-201,declare(t,e){return{"border-left-style":t+e,"border-right-style":t+e}}},borderYStyle:{match:["b(?:y|order-y(?:-style)?)",K],layer:-201,declare(t,e){return{"border-top-style":t+e,"border-bottom-style":t+e}}},borderStyle:{match:["b(?:order)?(?:-style)?",K],layer:-301},borderTopWidth:{match:["b(?:t|order-top(?:-width)?)"],numeric:!0,unit:"rem",layer:-101},borderBottomWidth:{match:["b(?:b|order-bottom(?:-width)?)"],numeric:!0,unit:"rem",layer:-101},borderLeftWidth:{match:["b(?:l|order-left(?:-width)?)"],numeric:!0,unit:"rem",layer:-101},borderRightWidth:{match:["b(?:r|order-right(?:-width)?)"],numeric:!0,unit:"rem",layer:-101},borderXWidth:{match:["b(?:x|order-x(?:-width)?)"],numeric:!0,unit:"rem",layer:-201,declare(t,e){return{"border-left-width":t+e,"border-right-width":t+e}}},borderYWidth:{match:["b(?:y|order-y(?:-width)?)"],numeric:!0,unit:"rem",layer:-201,declare(t,e){return{"border-top-width":t+e,"border-bottom-width":t+e}}},borderWidth:{match:["b(?:order)?(?:-width)?"],numeric:!0,unit:"rem",layer:-301},borderImageOutset:{unit:"rem",layer:-101},borderImageRepeat:{match:["border-image",["stretch","repeat","round","space"]],layer:-101},borderImageSlice:{layer:-101},borderImageSource:{match:["border-image",["url","linear-gradient","radial-gradient","repeating-linear-gradient","repeating-radial-gradient","conic-gradient"]],layer:-101},borderImageWidth:{match:["border-image",["auto"]],numeric:!0,unit:"rem",layer:-101},borderImage:{layer:-301},borderTop:{match:/^bt:./,layer:-301,unit:"rem",colored:!0},borderBottom:{match:/^bb:./,layer:-301,unit:"rem",colored:!0},borderLeft:{match:/^bl:./,layer:-301,unit:"rem",colored:!0},borderRight:{match:/^br:./,layer:-301,unit:"rem",colored:!0},borderX:{match:/^(?:bx|border-x):./,unit:"rem",colored:!0,layer:-201,declare(t){return{"border-left":t,"border-right":t}}},borderY:{match:/^(?:by|border-y):./,unit:"rem",colored:!0,layer:-201,declare(t){return{"border-top":t,"border-bottom":t}}},border:{match:/^b:./,unit:"rem",colored:!0,layer:-301},backgroundAttachment:{match:["(?:bg|background)",["fixed","local","scroll"]],layer:-101},backgroundBlendMode:{layer:-101},backgroundColor:{match:["(?:bg|background)"],layer:-101,colored:!0},backgroundClip:{match:["(?:bg|background)",["text"]],layer:-101,declare(t,e){return{"-webkit-background-clip":t+e,"background-clip":t+e}}},backgroundOrigin:{match:["(?:bg|background)"],layer:-101},backgroundPosition:{match:["(?:bg|background)",["top","bottom","right","left","center"]],layer:-101,unit:"px"},backgroundRepeat:{match:["(?:bg|background)",["space","round","repeat","no-repeat","repeat-x","repeat-y"]],layer:-101},backgroundSize:{match:["(?:bg|background)",["auto","cover","contain"]],numeric:!0,unit:"rem",layer:-101},backgroundImage:{match:["(?:bg|background)",["(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)"]],layer:-101},background:{match:/^bg:./,colored:!0,layer:-301},gradient:{match:/^gradient\(/,layer:-101,colored:!0,declare(t){return{"background-image":"linear-"+t}}},mixBlendMode:{match:/^blend:./,layer:-101},backdropFilter:{match:/^bd:./,layer:-101,colored:!0,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)\(/,layer:-101,colored:!0},fill:{match:/^fill:./,layer:-101,colored:!0},strokeDasharray:{layer:-101},strokeDashoffset:{layer:-101,variableGroups:["spacing"]},strokeWidth:{match:["stroke(?:-width)?"],numeric:!0,layer:-101},stroke:{match:["stroke"],layer:-101,colored:!0},x:{layer:-101,variableGroups:["spacing"]},y:{layer:-101,variableGroups:["spacing"]},cx:{layer:-101,variableGroups:["spacing"]},cy:{layer:-101,variableGroups:["spacing"]},rx:{layer:-101},ry:{layer:-101},gridColumnStart:{match:/^grid-col-start:./,layer:-101},gridColumnEnd:{match:/^grid-col-end:./,layer:-101},gridColumn:{match:/^grid-col(?:umn)?(?:-span)?:./,layer:-301,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))"}},layer:-1},gridRowStart:{layer:-101},gridRowEnd:{layer:-101},gridRow:{match:/^grid-row-span:./,layer:-301,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))"}},layer:-1},gridAutoColumns:{match:/^grid-auto-cols:./,layer:-101},gridAutoFlow:{match:/^grid-flow:./,layer:-101},gridAutoRows:{layer:-101},gridTemplateAreas:{layer:-101},gridTemplateColumns:{match:/^grid-template-cols:./,layer:-101,unit:"rem"},gridTemplateRows:{layer:-101,unit:"rem"},gridTemplate:{layer:-301},gridArea:{layer:-301},grid:{layer:-301},columnGap:{match:/^gap-x:./,unit:"rem",layer:-101,variableGroups:["spacing"]},rowGap:{match:/^gap-y:./,unit:"rem",layer:-101,variableGroups:["spacing"]},gap:{unit:"rem",layer:-301,variableGroups:["spacing"]},order:{match:/^o:./,layer:-101},breakInside:{layer:-101},breakBefore:{layer:-101},breakAfter:{layer:-101},aspectRatio:{match:/^aspect:./,layer:-101},columnSpan:{match:/^col-span:./,layer:-101},alignContent:{match:/^ac:./,layer:-101},alignItems:{match:/^ai:./,layer:-101},alignSelf:{match:/^as:/,layer:-101},justifyContent:{match:/^jc:./,layer:-101},justifyItems:{match:/^ji:./,layer:-101},justifySelf:{match:/^js:./,layer:-101},placeContent:{layer:-301},placeItems:{layer:-301},placeSelf:{layer:-301},listStylePosition:{match:["list-style",["inside","outside"]],layer:-101},listStyleType:{match:["list-style",["disc","decimal"]],layer:-101},listStyleImage:{match:["list-style",["(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)"]],layer:-101},listStyle:{layer:-301},outlineColor:{match:["outline"],layer:-101,colored:!0},outlineOffset:{unit:"rem",layer:-101,variableGroups:["spacing"]},outlineStyle:{match:["outline",["dotted","dashed","solid","double","groove","ridge","inset","outset"]],layer:-101},outlineWidth:{match:["outline",["medium","thick","thin"]],numeric:!0,unit:"rem",layer:-101},outline:{unit:"rem",layer:-301,colored:!0,variableGroups:["outlineWidth","outlineStyle","outlineOffset","outlineColor"]},accentColor:{match:/^accent:./,layer:-101,colored:!0},appearance:{layer:-101},caretColor:{match:/^caret:./,layer:-101,colored:!0},scrollBehavior:{layer:-101},scrollMarginLeft:{match:/^scroll-ml:./,layer:-101,unit:"rem",variableGroups:["spacing"]},scrollMarginRight:{match:/^scroll-mr:./,layer:-101,unit:"rem",variableGroups:["spacing"]},scrollMarginTop:{match:/^scroll-mt:./,layer:-101,unit:"rem",variableGroups:["spacing"]},scrollMarginBottom:{match:/^scroll-mb:./,layer:-101,unit:"rem",variableGroups:["spacing"]},scrollMarginX:{match:/^(?:scroll-margin-x|scroll-mx):./,unit:"rem",layer:-201,declare(t,e){return{"scroll-margin-left":t+e,"scroll-margin-right":t+e}},variableGroups:["spacing"]},scrollMarginY:{match:/^(?:scroll-margin-y|scroll-my):./,unit:"rem",layer:-201,declare(t,e){return{"scroll-margin-top":t+e,"scroll-margin-bottom":t+e}},variableGroups:["spacing"]},scrollMargin:{match:/^scroll-m:./,unit:"rem",layer:-301,variableGroups:["spacing"]},scrollPaddingLeft:{match:/^scroll-pl:./,layer:-101,unit:"rem",variableGroups:["spacing"]},scrollPaddingRight:{match:/^scroll-pr:./,layer:-101,unit:"rem",variableGroups:["spacing"]},scrollPaddingTop:{match:/^scroll-pt:./,layer:-101,unit:"rem",variableGroups:["spacing"]},scrollPaddingBottom:{match:/^scroll-pb:./,layer:-101,unit:"rem",variableGroups:["spacing"]},scrollPaddingX:{match:/^(?:scroll-padding-x|scroll-px):./,unit:"rem",layer:-201,declare(t,e){return{"scroll-padding-left":t+e,"scroll-padding-right":t+e}},variableGroups:["spacing"]},scrollPaddingY:{match:/^(?:scroll-padding-y|scroll-py):./,unit:"rem",layer:-201,declare(t,e){return{"scroll-padding-top":t+e,"scroll-padding-bottom":t+e}},variableGroups:["spacing"]},scrollPadding:{match:/^scroll-p:./,unit:"rem",layer:-301,variableGroups:["spacing"]},scrollSnapAlign:{match:["scroll-snap",["start","end","center"]],layer:-101},scrollSnapStop:{match:["scroll-snap",["normal","always"]],layer:-101},scrollSnapType:{match:["scroll-snap",["x","y","block","inline","both"]],layer:-101},willChange:{layer:-101},writingMode:{match:/^writing:./,layer:-101},direction:{layer:-101},shapeOutside:{match:["shape",["(?:inset|circle|ellipse|polygon|url|linear-gradient)\\(.*\\)"]],layer:-101},shapeMargin:{match:["shape"],numeric:!0,unit:"rem",layer:-101,variableGroups:["spacing"]},shapeImageThreshold:{layer:-101},clipPath:{match:/^clip:./,layer:-101},quotes:{layer:-101},maskImage:{layer:-101,declare(t,e){return{"mask-image":t+e,"-webkit-mask-image":t+e}}}},he=Oe;var Se={$:{transform(t){return[{type:"variable",name:t}]}},calc:{transform(t,e){let r=[],n=this.css.config.functions,d=0,a=(l,p,s)=>{let f=!1,o="",h=(m,g="",y="")=>{o&&(!f&&!s?l.push(this.parseValueComponent(o,n.calc.unit)):l.push({type:"string",value:o}),o=""),m&&(g&&t[d-1]===" "&&(g=""),y&&t[d+1]===" "&&(y=""),p?l.push({type:"separator",value:m}):l.push({type:"separator",value:m,prefix:g,suffix:y})),f=!1};for(;d<t.length;d++){let m=t[d];if(m==="("){let g=/^([+-])/.exec(o);g&&l.push({type:"string",value:g[1]});let y=g?o.slice(1):o,v={type:"function",name:y,symbol:m,childrens:[]};l.push(v),o="",d++;let u=v.name==="$"||v.name==="var";a(v.childrens,y!==""&&y!=="calc"&&(u||Object.prototype.hasOwnProperty.call(n,y)),f||u)}else if(m===")"){h("");break}else if(m===",")h(m,""," ");else if(m===" ")h(m);else{let g=t[d-1];switch(m){case"+":!o&&g!==")"?o+=m:h(m," "," ");break;case"-":!o&&g!==")"?o+=m:h(m," "," ");break;case"*":h(m," "," ");break;case"/":h(m," "," "),f=!0;break;default:o+=m;break}}}h("")};return a(r,!1,!1),"calc("+this.transformValueComponents(r,n.calc.unit??this.options.unit,e)+")"}},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:""},color:{unit:"",colored:!0},"color-contrast":{unit:"",colored:!0},"color-mix":{unit:"",colored:!0},hwb:{unit:""},lab:{unit:""},lch:{unit:""},oklab:{unit:""},oklch:{unit:""},clamp:{unit:""},repeat:{unit:""},"linear-gradient":{colored:!0},"radial-gradient":{colored:!0},"conic-gradient":{colored:!0},"repeating-linear-gradient":{colored:!0},"repeating-radial-gradient":{colored:!0},"repeating-conic-gradient":{colored:!0}},pe=Se;var J={mediaQueries:oe,selectors:le,semantics:ce,rules:he,functions:pe,animations:ue,variables:fe,scope:"",rootSize:16,override:!1,important:!1,themeDriver:"class"};var me=[",",".","#","[","!","*",">","+","~",":","@"];var ee=class{constructor(e=J){this.customConfig=e;e?.override?this.config=this.getExtendedConfig(this.config):this.config=this.getExtendedConfig(J,e),this.resolve(),globalThis.masterCSSs.push(this)}static config=J;static refresh=e=>{for(let r of globalThis.masterCSSs)r.refresh(e)};rules=[];ruleBy={};classesUsage={};observing=!1;config;semanticRuleOptions=[];ruleOptions=[];observer;resolve(){this.styles={},this.stylesBy={},this.selectors={},this.variables={},this.mediaQueries={},this.animations={},this.ruleOptions.length=0,this.semanticRuleOptions.length=0,this.hasVariablesRule=!1,this.hasKeyframesRule=!1;let e={current:void 0,currentColor:void 0,transparent:void 0},{styles:r,selectors:n,variables:d,semantics:a,mediaQueries:l,rules:p,animations:s}=this.config;function f(i){return i.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}function o(i,c,b="",R={}){let x=C=>C?(b?b+"-":"")+C:b,w=Object.entries(i),N=[],V=[];for(let C of w){let S=C[1];(typeof S=="object"&&!Array.isArray(S)?N:V).push(C)}for(let[C,S]of N)o(S,c,x(C),R);if(c&&b)V.length&&(R[b]=V.reduce((C,[S,G])=>(C[S]=G,C),{}));else for(let[C,S]of V)R[x(C)]=S;return R}if(n)for(let[i,c]of Object.entries(o(n,!1))){let b=new RegExp(f(i)+"(?![a-z-])");for(let R of Array.isArray(c)?c:[c]){let x=R.match(/^::-[a-z]+-/m)?.[0]??"",w=this.selectors[x];w||(w=this.selectors[x]=[]);let N=w.find(([V])=>V===b);N||(N=[b,[]],w.push(N)),N[1].push(R)}}if(d){let i={};for(let c in d){let b=(R,x,w=void 0)=>{if(!R)return;let N=(C,S,G=void 0,W=void 0)=>{if(S===void 0)return;if(S.type==="color"){if(W){let L=S.value.indexOf("/");S={...S,value:L===-1?S.value+" / "+(W.startsWith("0.")?W.slice(1):W):S.value.slice(0,L+2)+(+S.value.slice(L+2)*+W).toString().slice(1)}}e[C]=void 0}let A=G??w;if(A!==void 0)if(Object.prototype.hasOwnProperty.call(this.variables,C)){let L=this.variables[C];A?(L.themes||(L.themes={}),L.themes[A]=S):(L.value=S.value,L.space=S.space)}else A?this.variables[C]={type:S.type,space:S.space,themes:{[A]:S}}:this.variables[C]=S;else this.variables[C]=S},V=typeof R;if(V==="object")if(Array.isArray(R))N(x,{type:"string",value:R.join(",")});else{let C=Object.keys(R);for(let S of C)S===""||S.startsWith("@")?b(R[S],x,S||C.some(G=>G.startsWith("@"))?S.slice(1):void 0):b(R[S],x+"-"+S)}else if(V==="number")N(x,{type:"number",value:R}),N("-"+x,{type:"number",value:R*-1});else if(V==="string"){let C=/^\$\((.*?)\)(?: ?\/ ?(.+?))?$/.exec(R);if(C)Object.prototype.hasOwnProperty.call(i,x)||(i[x]={}),i[x][w]=()=>{delete i[x][w];let[S,G]=C[1].split("@");if(S){if(Object.prototype.hasOwnProperty.call(i,S))for(let A of Object.keys(i[S]))i[S][A]?.();let W=this.variables[S];if(W)if(G===void 0&&W.themes){N(x,{type:W.type,value:W.value,space:W.space},"",C[2]);for(let A in W.themes)N(x,W.themes[A],A,C[2])}else{let A=G!==void 0?W.themes?.[G]:W;A&&N(x,{type:A.type,value:A.value,space:A.space},void 0,C[2])}}};else{let S=/^#([A-Fa-f0-9]{3,4}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{8})$/.exec(R);if(S){let[G,W,A,L]=Q(S[1]);N(x,{type:"color",value:`${G} ${W} ${A}${L===1?"":" / "+L}`,space:"rgb"})}else{let G=/^rgb\( *([0-9]{1,3})(?: *, *| +)([0-9]{1,3})(?: *, *| +)([0-9]{1,3}) *(?:(?:,|\/) *(.*?) *)?\)$/.exec(R);if(G)N(x,{type:"color",value:G[1]+" "+G[2]+" "+G[3]+(G[4]?" / "+(G[4].startsWith("0.")?G[4].slice(1):G[4]):""),space:"rgb"});else{let W=/^hsl\((.*?)\)$/.exec(R);W?N(x,{type:"color",value:W[1],space:"hsl"}):N(x,{type:"string",value:R})}}}}};b(d[c],c)}for(let c of Object.keys(i))for(let b of Object.keys(i[c]))i[c][b]?.()}if(l&&(this.mediaQueries=o(l,!1)),s)for(let i in s){let c=this.animations[i]={},b=s[i];for(let R in b){let x=c[R]={},w=b[R];for(let N in w)x[N]=w[N]}}let h=r?o(r,!1):{},m=Object.keys(h),g=i=>{if(Object.prototype.hasOwnProperty.call(this.styles,i))return;let c=this.styles[i]=[],b=h[i];if(!b)return;let R=b.replace(/(?:\n(?:\s*))+/g," ").trim().split(" ");for(let x of R){let w=N=>{if(Object.prototype.hasOwnProperty.call(this.stylesBy,N)){let V=this.stylesBy[N];V.includes(i)||V.push(i)}else this.stylesBy[N]=[i];c.includes(N)||c.push(N)};if(m.includes(x)){g(x);for(let N of this.styles[x])w(N)}else w(x)}};for(let i of m)g(i);a&&Object.entries(a).sort((i,c)=>i[0].localeCompare(c[0])).forEach(([i,c],b)=>{this.semanticRuleOptions.push({id:"."+i,resolvedMatch:new RegExp("^"+f(i)+"(?=!|\\*|>|\\+|~|:|\\[|@|_|\\.|$)","m"),order:b,declarations:c,layer:-401})});let y=Object.entries(p).sort((i,c)=>i[1].layer!==c[1].layer?(c[1].layer||0)-(i[1].layer||0):c[0].localeCompare(i[0])),v=y.length,u=Object.keys(e);y.forEach(([i,c],b)=>{this.ruleOptions.push(c),c.order=this.semanticRuleOptions.length+v-1-b;let R=c.match;c.id=i,(c.layer===-100||c.layer===-300||c.layer===-101||c.layer===-301)&&(c.resolvedPropName=i.replace(/(?!^)[A-Z]/g,w=>"-"+w).toLowerCase()),c.resolvedVariables={};let x=w=>{Object.assign(c.resolvedVariables,Object.keys(this.variables).filter(N=>N.startsWith(w+"-")||N.startsWith("-"+w+"-")).reduce((N,V)=>(N[V.slice(w.length+(w.startsWith("-")?0:1))]={...this.variables[V],name:V},N),{}))};if(c.variableGroups)for(let w of c.variableGroups)x(w);if(x(i),R)if(Array.isArray(R)){let[w,N=[]]=R,V=[];N.length&&V.push(`(?:${N.join("|")})(?![a-zA-Z0-9-])`),Object.keys(c.resolvedVariables).length&&V.push(`(?:${Object.keys(c.resolvedVariables).join("|")})(?![a-zA-Z0-9-])`),c.colored&&V.push("#","(?:color|color-contrast|color-mix|hwb|lab|lch|oklab|oklch|rgb|rgba|hsl|hsla)\\(.*\\)",`(?:${u.join("|")})(?![a-zA-Z0-9-])`),c.numeric&&V.push("[\\d\\.]","(?:max|min|calc|clamp)\\(.*\\)"),c.resolvedMatch=new RegExp(`^${w}:(?:${V.join("|")})[^|]*?(?:@|$)`)}else c.resolvedMatch=R})}observe(e,r={subtree:!0,childList:!0}){if(this.root===e)return this;this.root=e;let n=e===document;n&&(globalThis.masterCSS=this),this.host=n?document.documentElement:this.root.host;let d=n?document.head:e,a=n?document.styleSheets:e.styleSheets;for(let p of a){let{ownerNode:s}=p;if(s&&s.id==="master"){this.style=s;break}}if(this.style)for(let p=0;p<this.style.sheet.cssRules.length;p++){let s=this.style.sheet.cssRules[p];if(s instanceof CSSStyleRule&&s.style[0].startsWith("--")&&!s.selectorText.startsWith(".\\$")||s.constructor.name==="CSSKeyframesRule")continue;let f=h=>{if(h.selectorText){let g=h.selectorText.split(", ")[0].split(" ");for(let y=0;y<g.length;y++){let v=g[y];if(v[0]==="."){let u=v.slice(1),i="";for(let c=0;c<u.length;c++){let b=u[c],R=u[c+1];if(b==="\\"){if(c++,R!=="\\"){i+=R;continue}}else if(me.includes(b))break;i+=b}if(!Object.prototype.hasOwnProperty.call(this.ruleBy,i)&&!Object.prototype.hasOwnProperty.call(this.styles,i)){let c=this.create(i)[0];if(c)return c}}}}else if(h.cssRules)for(let m=0;m<h.cssRules.length;m++){let g=f(h.cssRules[m]);if(g)return g}},o=f(s);if(o){this.rules.push(o),this.ruleBy[o.className]=o;for(let h=0;h<o.natives.length;h++)o.natives[h].cssRule=this.style.sheet.cssRules[p+h];p+=o.natives.length-1,this.handleRuleWithVariableNames(o),this.handleRuleWithAnimationNames(o),o.options.insert?.call(o)}}else this.style=document.createElement("style"),this.style.id="master",d.append(this.style);let l=p=>{p.forEach(s=>{Object.prototype.hasOwnProperty.call(this.classesUsage,s)?this.classesUsage[s]++:(this.classesUsage[s]=1,this.insert(s))})};return l(this.host.classList),r.subtree&&this.host.querySelectorAll("[class]").forEach(p=>l(p.classList)),this.observer=new MutationObserver(p=>{let s={},f=[],o=[],h=[],m=(u,i)=>{i?u.classList.forEach(y):u.classList.forEach(g);let c=u.children;for(let b=0;b<c.length;b++){let R=c[b];R.classList&&(o.push(R),m(R,i))}},g=u=>{Object.prototype.hasOwnProperty.call(s,u)?s[u]++:s[u]=1},y=u=>{Object.prototype.hasOwnProperty.call(s,u)?s[u]--:Object.prototype.hasOwnProperty.call(this.classesUsage,u)&&(s[u]=-1)},v=(u,i)=>{for(let c=0;c<u.length;c++){let b=u[c];b.classList&&!o.includes(b)&&!h.includes(b)&&(b.isConnected!==i?(o.push(b),m(b,i)):h.push(b))}};for(let u=0;u<p.length;u++){let i=p[u],{addedNodes:c,removedNodes:b,type:R,target:x}=i;if(R==="attributes"){if(f.find(w=>w.target===x))continue;f.push(i)}else v(c,!1),(!x.isConnected||!o.includes(x))&&v(b,!0)}if(!(!f.length&&!Object.keys(s).length)){for(let{oldValue:u,target:i}of f){let c=o.includes(i),b=i.classList,R=u?u.split(" "):[];if(c){if(i.isConnected)continue;for(let x of R)b.contains(x)||y(x)}else if(i.isConnected){b.forEach(x=>{R.includes(x)||g(x)});for(let x of R)b.contains(x)||y(x)}}for(let u in s){let i=s[u],c=(this.classesUsage[u]||0)+i;c===0?(delete this.classesUsage[u],this.delete(u)):(Object.prototype.hasOwnProperty.call(this.classesUsage,u)||this.insert(u),this.classesUsage[u]=c)}}}),this.observer.observe(e,{...r,attributes:!0,attributeOldValue:!0,attributeFilter:["class"]}),this.host.style.display=null,this.observing=!0,this}disconnect(){this.observer&&(this.observer.disconnect(),this.observer=null),this.observing=!1,this.ruleBy={},this.classesUsage={},this.rules.length=0;let e=this.style?.sheet;if(e?.cssRules)for(let r=e.cssRules.length-1;r>=0;r--)e.deleteRule(r);this.style?.remove(),this.style=null,this.root=null}match(e){for(let r of this.ruleOptions)if(r.resolvedMatch&&r.resolvedMatch.test(e)||(r.layer===-100||r.layer===-300||r.layer===-101||r.layer===-301)&&e.startsWith(r.resolvedPropName+":"))return r;for(let r of this.semanticRuleOptions)if(r.resolvedMatch.test(e))return r}create(e){let r=n=>{if(Object.prototype.hasOwnProperty.call(this.ruleBy,n))return this.ruleBy[n];let d=this.match(n);if(d)return new te(n,d,this)};return(Object.prototype.hasOwnProperty.call(this.styles,e)?this.styles[e].map(n=>r(n)):[r(e)]).filter(n=>n&&n.text)}refresh(e=this.customConfig){if(e?.override?this.config=this.getExtendedConfig(e):this.config=this.getExtendedConfig(J,e),this.resolve(),!this.style)return;let r=document.createElement("style");r.id="master",this.style.replaceWith(r),this.style=r,this.rules.length=0,this.ruleBy={};for(let n in this.classesUsage)this.insert(n)}destroy(){this.disconnect(),globalThis.masterCSSs.splice(globalThis.masterCSSs.indexOf(this),1)}delete(e){let r=this.style?.sheet,n=d=>{let a=this.ruleBy[d];if(!(!a||Object.prototype.hasOwnProperty.call(this.stylesBy,d)&&this.stylesBy[d].some(l=>Object.prototype.hasOwnProperty.call(this.classesUsage,l)))){if(r&&a.natives.length){let l=a.natives[0];for(let p=0;p<r.cssRules.length;p++)if(r.cssRules[p]===l.cssRule){for(let f=0;f<a.natives.length;f++)r.deleteRule(p);break}}if(this.rules.splice(this.rules.indexOf(a),1),delete this.ruleBy[d],a.variableNames){let l=this.rules[0];for(let p of a.variableNames){let s=this.variables[p];if(!--s.usage){let f=l.natives.indexOf(s.natives[0]);for(let o=0;o<s.natives.length;o++)this.style.sheet.deleteRule(f),l.natives.splice(f,1);s.natives=void 0}}l.natives.length||(this.rules.splice(0,1),this.hasVariablesRule=!1)}if(a.animationNames){let l=this.hasVariablesRule?1:0,p=this.hasVariablesRule?this.rules[0].natives.length:0,s=this.rules[l];for(let f of a.animationNames){let o=this.animations[f];if(!--o.usage){let h=s.natives.indexOf(o.native);this.style.sheet.deleteRule(p+h),s.natives.splice(h,1),o.native=void 0}}s.natives.length||(this.rules.splice(l,1),this.hasKeyframesRule=!1)}a.options.delete?.call(a,d)}};if(Object.prototype.hasOwnProperty.call(this.styles,e)){for(let d of this.styles[e])Object.prototype.hasOwnProperty.call(this.classesUsage,d)||n(d);delete this.ruleBy[e]}else n(e)}insert(e){let r=this.create(e);return r.length?(this.insertRules(r),!0):!1}insertRules(e){for(let r of e){if(this.ruleBy[r.className])continue;let n,d=this.rules.length-1,{media:a,order:l,priority:p,hasWhere:s,className:f}=r,o=(g,y,v)=>{let u=g;for(;u<=d;u++){let i=this.rules[u];if(y?.(i))return v?-1:u-1;if(v?.(i))return u}return v?-1:u-1},h,m;if(a){let g=this.rules.findIndex(y=>y.media);if(g===-1)n=d+1;else{let{"max-width":y,"min-width":v}=a.features;if(y||v){let u=this.rules.findIndex(i=>i.media?.features["max-width"]||i.media?.features["min-width"]);if(u===-1)n=d+1;else if(y&&v){if(p===-1?(h=o(u,i=>i.priority!==-1,i=>i.media.features["max-width"]&&i.media.features["min-width"]),m=o(u,i=>i.priority!==-1)):(h=o(u,void 0,i=>i.media.features["max-width"]&&i.media.features["min-width"]&&i.priority!==-1),m=d),h!==-1){let i=y.value-v.value,c=m,b=h;for(h=void 0;c>=b;c--){let{"max-width":R,"min-width":x}=this.rules[c].media.features,w=R.value-x.value;if(w<i)m=c-1;else if(w===i)h=c;else break}}if(h!==-1){let i=y.value-v.value;for(let c=m;c>=h;c--){let{"max-width":b,"min-width":R}=this.rules[c].media.features,x=b.value-R.value;if(x<i)m=c-1;else if(x>i){h=c+1;break}}}}else if(v){if(p===-1?(h=o(u,i=>i.media.features["max-width"]&&i.media.features["min-width"]||i.priority!==-1,i=>!i.media.features["max-width"]&&i.media.features["min-width"]),m=o(u,i=>i.media.features["max-width"]&&i.media.features["min-width"]||i.priority!==-1)):(h=o(u,i=>i.media.features["max-width"]&&i.media.features["min-width"]&&i.priority!==-1,i=>!i.media.features["max-width"]&&i.media.features["min-width"]&&i.priority!==-1),m=o(u,i=>i.media.features["max-width"]&&i.media.features["min-width"]&&i.priority!==-1)),h!==-1)for(let i=m;i>=h;i--){let c=this.rules[i].media.features["min-width"].value;if(c>v.value)m=i-1;else if(c<v.value){h=i+1;break}}}else if(p===-1?(h=o(u,i=>i.media.features["min-width"]||i.priority!==-1,i=>i.media.features["max-width"]),m=o(u,i=>i.media.features["min-width"]||i.priority!==-1)):(h=o(u,i=>i.media.features["min-width"]&&i.priority!==-1,i=>i.media.features["max-width"]&&i.priority!==-1),m=o(u,i=>i.media.features["min-width"]&&i.priority!==-1)),h!==-1)for(let i=m;i>=h;i--){let c=this.rules[i].media.features["max-width"].value;if(c<y.value)m=i-1;else if(c>y.value){h=i+1;break}}}else p===-1?(h=g,m=o(g,u=>u.media?.features["max-width"]||u.media?.features["min-width"]||u.priority!==-1)):(h=o(g,u=>u.media?.features["max-width"]||u.media?.features["min-width"],u=>u.priority!==-1),m=o(g,u=>u.media?.features["max-width"]||u.media?.features["min-width"]))}}else{let g=this.hasVariablesRule?this.hasKeyframesRule?2:1:this.hasKeyframesRule?1:0;p===-1?(h=g,m=o(g,y=>y.media||y.priority!==-1)):(h=o(g,y=>y.media,y=>y.priority!==-1),m=o(g,y=>y.media))}if(n===void 0)if(h===-1)n=m+1;else{if(p===-1)for(let g=h;g<=m;g++){let y=this.rules[g];if(!(!s&&y.hasWhere)&&(s&&!y.hasWhere||y.order>=l)){n=g;break}}else for(let g=h;g<=m;g++){let y=this.rules[g];if(!(!s&&y.hasWhere)){if(s&&!y.hasWhere){n=g;break}if(y.priority<p){n=g;break}else if(y.priority===p){if(y.order>=l){n=g;break}}else n=g+1}}n===void 0&&(n=m+1)}if(this.rules.splice(n,0,r),this.ruleBy[f]=r,this.style){let g=this.style.sheet,y=0,v=u=>{let i=this.rules[u];if(i){if(!i.natives.length)return v(u-1);let c=i.natives[i.natives.length-1].cssRule;for(let b=0;b<g.cssRules.length;b++)if(g.cssRules[b]===c){y=b+1;break}}};v(n-1);for(let u=0;u<r.natives.length;)try{let i=r.natives[u];g.insertRule(i.text,y),i.cssRule=g.cssRules[y++],u++}catch(i){console.error(i),r.natives.splice(u,1)}}this.handleRuleWithVariableNames(r),this.handleRuleWithAnimationNames(r),r.options.insert?.call(r)}}get text(){return this.rules.map(e=>e.text).join("")}getExtendedConfig(...e){let r=a=>{let l=H({},a),p=s=>{for(let f in s){let o=s[f];typeof o=="object"&&!Array.isArray(o)?p(o):f&&!f.startsWith("@")&&(s[f]={"":o})}};return l.styles?p(l.styles):l.styles={},l.mediaQueries?p(l.mediaQueries):l.mediaQueries={},l.variables?p(l.variables):l.variables={},l},n=[];for(let a of e)(function l(p){if(p.extends?.length)for(let s of p.extends)l("config"in s?s.config:s);n.push(r(p))})(a);let d=n[0];for(let a=1;a<n.length;a++){let l=n[a];d=H(d,l),Object.prototype.hasOwnProperty.call(l,"animations")&&Object.assign(d.animations,l.animations)}return d}handleRuleWithAnimationNames(e){if(e.animationNames){let r=this.style?.sheet;for(let n of e.animationNames){let d=this.animations[n];if(d.usage)d.usage++;else{let a={text:`@keyframes ${n}{`+Object.entries(d).filter(([s])=>s!=="usage"&&s!=="native").map(([s,f])=>`${s}{${Object.entries(f).map(([o,h])=>o+":"+h).join(";")}}`).join("")+"}"},l=this.hasVariablesRule?1:0,p;if(this.hasKeyframesRule?(p=this.rules[l]).natives.push(a):(this.rules.splice(l,0,p={natives:[a],get text(){return this.natives.map(s=>s.text).join("")}}),this.hasKeyframesRule=!0),r){let s;for(let f=0;f<r.cssRules.length;f++){let o=r.cssRules[f];if(o.constructor.name!=="CSSKeyframesRule")break;if(o.name===n){s=o;break}}if(s)a.cssRule=s;else{let f=(this.hasVariablesRule?this.rules[0].natives.length:0)+p.natives.length;r.insertRule(a.text,f),a.cssRule=r.cssRules[f]}}d.usage=1,d.native=a}}}}handleRuleWithVariableNames(e){if(e.variableNames){let r=this.style?.sheet;for(let n of e.variableNames){let d=this.variables[n];if(d.usage)d.usage++;else{let a=[],l=(s,f)=>{f.value&&a.push({text:`${s?this.config.themeDriver==="media"?`@media(prefers-color-scheme:${s})`:this.config.themeDriver==="host"?`:host(.${s})`:`.${s}`:":root"}{--${n}:${f.value}}`})};if(l("",d),d.themes)for(let s in d.themes)l(s,d.themes[s]);let p=0;if(this.hasVariablesRule?(p=this.rules[0].natives.length,this.rules[0].natives.push(...a)):(this.rules.splice(0,0,{natives:[...a],get text(){return this.natives.map(s=>s.text).join("")}}),this.hasVariablesRule=!0),r)for(let s=0;s<a.length;s++){let f=a[s],o=p+s;r.insertRule(f.text,o),f.cssRule=r.cssRules[o]}d.usage=1,d.natives=a}}}}};globalThis.MasterCSS=ee,globalThis.masterCSSs||(globalThis.masterCSSs=[]);window.masterCSS=new ee(window.masterCSSConfig).observe(document);})();
(()=>{function se(t){let e=typeof Buffer<"u"?Buffer:null;return!!(e&&t instanceof e||t instanceof Date||t instanceof RegExp)}function ae(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 ne(t){let e=[];return t.forEach(function(r,s){typeof r=="object"&&r!==null?Array.isArray(r)?e[s]=ne(r):se(r)?e[s]=ae(r):e[s]=H({},r):e[s]=r}),e}function re(t,e){return e==="__proto__"?void 0:t[e]}function H(...t){let e={},r,s;return t.forEach(function(m){typeof m!="object"||m===null||Array.isArray(m)||Object.keys(m).forEach(function(a){if(s=re(e,a),r=re(m,a),r!==e)if(typeof r!="object"||r===null){e[a]=r;return}else if(Array.isArray(r)){e[a]=ne(r);return}else if(se(r)){e[a]=ae(r);return}else if(typeof s!="object"||s===null||Array.isArray(s)){e[a]=H({},r);return}else{e[a]=H(s,r);return}})}),e}var q={"(":")","'":"'",'"':'"',"{":"}"};function Z(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),r=e.length,s=-1,m="",a,o=e.charCodeAt(0);if(r==1&&o==45)return"\\"+e;for(;++s<r;){if(a=e.charCodeAt(s),a==0){m+="\uFFFD";continue}if(a>=1&&a<=31||a==127||s==0&&a>=48&&a<=57||s==1&&a>=48&&a<=57&&o==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(s);continue}m+="\\"+e.charAt(s)}return m}var ge=/^(media|supports|page|font-face|keyframes|counter-style|font-feature-values|property|layer)(?=\||{|\(|$)/,te=class{constructor(e,r={},s){this.className=e;this.options=r;this.css=s;let{layer:m,unit:a,colored:o,resolvedPropName:p,analyze:c,transform:f,declare:l,create:n,order:u,id:g}=r;this.order=u,this.layer=m,r.unit||(r.unit=""),r.separators||(r.separators=[","]);let{scope:y,important:v,themeDriver:h}=s.config,{selectors:i,mediaQueries:d,stylesBy:b,animations:x}=s,R=b[e];n&&n.call(this,e),this.declarations=r.declarations;let w,N;if(this.colored=o,m===-401)w=e.slice(g.length-1);else{let j;if(c)[j,N]=c.call(this,e);else{let k=e.indexOf(":");this.prefix=e.slice(0,k+1),j=e.slice(k+1)}this.valueComponents=[],w=j.slice(this.parseValue(this.valueComponents,0,j,a))}w[0]==="!"&&(this.important=!0,w=w.slice(1)),this.stateToken=w;let V=(j,k)=>{let P=(S,T,G,E)=>{for(let[z,F]of T)if(z.test(S)){for(let Y of F)P(S.replace(z,Y),T,G,!0);return}E&&G.push(S)},I=S=>{let T=S.split(/(\\'(?:.*?)[^\\]\\')(?=[*_>~+,)])|(\[[^=]+='(?:.*?)[^\\]'\])/).map((F,Y)=>Y%3?F:F.replace(/(^|[^_])_(?!_)/g,"$1 ")).join(""),G=[],E="",z=0;for(let F=0;F<T.length;F++){let Y=T[F];if(Y==="\\"){E+=Y+T[++F];continue}!z&&Y===","?(G.push(E),E=""):(E+=Y,z&&Y===")"?z--:Y==="("&&z++)}return E&&G.push(E),G},D=[];""in i?P(j,i[""],D,!0):D.push(j);let $={};for(let[S,T]of Object.entries(i)){if(!S)continue;let G=[];for(let E of D)P(E,T,G,!1);G.length&&($[S]=G)}let U=(S,T)=>{let G=T.reduce((E,z)=>(E.push(...I(z)),E),[]);S in k?k[S].push(...G):k[S]=G},_=Object.keys($);if(_.length)for(let S of _)U(S,$[S]);else U("",D)};N?(this.vendorPrefixSelectors={},V(N,this.vendorPrefixSelectors)):this.vendorPrefixSelectors={"":[""]};let C=w.split("@"),O=C[0];if(O){this.vendorSuffixSelectors={},V(O,this.vendorSuffixSelectors);for(let j of Object.values(this.vendorSuffixSelectors))for(let k of j){this.hasWhere!==!1&&(this.hasWhere=k.includes(":where("));let P=[":disabled",":active",":focus",":hover"];for(let I=0;I<P.length;I++)if(k.includes(P[I])){(this.priority===-1||this.priority>I)&&(this.priority=I);break}}}else this.vendorSuffixSelectors={"":[""]};let W={},M=Object.prototype.hasOwnProperty.call(this.vendorPrefixSelectors,""),A=Object.prototype.hasOwnProperty.call(this.vendorSuffixSelectors,"");if(M)W[""]=A?[""]:Object.keys(this.vendorSuffixSelectors);else if(A)for(let j in this.vendorPrefixSelectors)W[j]=[""];else for(let j in this.vendorPrefixSelectors){let k=W[j]=[];if(Object.prototype.hasOwnProperty.call(this.vendorSuffixSelectors,j))k.push(j);else for(let P in this.vendorSuffixSelectors)k.push(P)}for(let j=1;j<C.length;j++){let k=C[j];if(k)if(k==="rtl"||k==="ltr")this.direction=k;else{let P,I,D=ge.exec(k);if(D)P=D[1],I=k.slice(P.length);else{this.media={token:k,features:{}};let $=[],U=S=>{if(S==="all"||S==="print"||S==="screen"||S==="speech")this.media.type=S;else if(S==="\u{1F5A8}")this.media.type="print";else if(S==="landscape"||S==="portrait")$.push("(orientation:"+S+")");else if(S==="motion"||S==="reduced-motion")$.push("(prefers-reduced-motion:"+(S==="motion"?"no-preference":"reduce")+")");else{let T=d[S];if(T&&typeof T=="string")$.push(T);else{let G="",E="",z=0;S.startsWith("<=")?(E="<=",G="max-width"):S.startsWith(">=")||T?(E=">=",G="min-width"):S.startsWith(">")?(E=">",G="min-width",z=.02):S.startsWith("<")&&(E="<",G="max-width",z=-.02);let F=E?S.replace(E,""):S,Y=d[F];switch(G){case"max-width":case"min-width":let X={};typeof Y=="number"?X={type:"number",value:Y+z,unit:"px"}:(X=this.parseValueComponent(F,"px"),X.type==="number"&&X.unit==="px"&&(X.value+=z)),this.media.features[G]=X,X.type==="number"?$.push("("+G+":"+(X.value+X.unit)+")"):$.push("("+G+":"+X.value+")");break}}}},_=k.includes("&");if(_){let S=k.split("&");for(let T of S)U(T)}else U(k);if(this.media.type&&(I=this.media.type),$.length&&(I=$.join(" and ")),I)P="media";else if(!_){this.theme=k;continue}}I&&(this.at[P]=(P in this.at?this.at[P]+" and ":"")+I.replace(/\|/g," "))}}let L;if(this.valueComponents)if(L=this.transformValueComponents(this.valueComponents,a,[]),f&&(L=f.call(this,L,this.css.config)),l){let j,k;this.declarations=l.call(this,k?j:L,k||"")}else p&&(this.declarations={[p]:L});let ie=[];for(let j in this.declarations){let k=D=>{if(x&&(D.startsWith("animation")||D.startsWith("animation-name"))){let $=D.split(":")[1].split("!important")[0].split(" ").filter(U=>U in this.css.animations&&(!this.animationNames||!this.animationNames.includes(U)));$.length&&(this.animationNames||(this.animationNames=[]),this.animationNames.push(...$))}ie.push(D+((this.important||v)&&!D.endsWith("!important")?"!important":""))},P=j+":",I=this.declarations[j];if(typeof I=="object")for(let D of I)k(P+D.toString());else k(P+I.toString())}if(ie.length)for(let j in W)for(let k of W[j]){let P="";this.direction&&(P+="[dir="+this.direction+"] ");let I=this.vendorPrefixSelectors[j],D=this.vendorSuffixSelectors[k],$=I.map(S=>S+P),U=S=>$.map(T=>(this.theme&&h!=="media"?h==="host"?`:host(.${this.theme}) `:`.${this.theme} `:"")+(y?y+" ":"")+T).reduce((T,G)=>(T.push(D.reduce((E,z)=>(E.push(G+"."+Z(S)+z),E),[]).join(",")),T),[]).join(","),_=U(e)+(R?R.reduce((S,T)=>S+","+U(T),""):"")+"{"+ie.join(";")+"}";for(let S of Object.keys(this.at).sort((T,G)=>G==="supports"?-1:1))_="@"+S+(S.includes(" ")?"":" ")+this.at[S]+"{"+_+"}";this.theme&&h==="media"&&(_=`@media(prefers-color-scheme:${this.theme}){`+_+"}"),this.natives.push({text:_})}}at={};priority=-1;natives=[];order=0;layer=0;stateToken;declarations;colored=!1;animationNames;variableNames;transformValueComponents=(e,r,s)=>{let{functions:m}=this.css.config,a="";for(let o of e)switch(o.type){case"function":let p=m&&m[o.name];if(p?.transform){let f=p.transform.call(this,this.transformValueComponents(o.childrens,p.unit??r,s),s);a+=typeof f=="string"?f:this.transformValueComponents(f,p?.unit??r,s)}else a+=o.name+o.symbol+this.transformValueComponents(o.childrens,p?.unit??r,s)+q[o.symbol];break;case"variable":let c=this.css.variables[o.name];if(c){let f=(l,n)=>{if(c.themes)if(this.theme){let u=c.themes[this.theme]??c;u?.value&&l(u)}else this.variableNames||(this.variableNames=[]),this.variableNames.includes(o.name)||this.variableNames.push(o.name),n();else l(c)};switch(c.type){case"string":f(n=>{let u=[];this.parseValue(u,0,n.value,r,void 0,void 0,[...s,o.name]),a+=this.transformValueComponents(u,r,[...s,o.name])},()=>{a+=`var(--${o.name})`});break;case"number":f(n=>{let u=this.parseValueComponent(n.value,r);a+=u.value+(u.unit??"")},()=>{a+=r?`calc(var(--${o.name}) / 16 * 1rem)`:`var(--${o.name})`});break;case"color":let l=o.alpha?"/"+o.alpha:"";f(n=>{a+=`${n.space}(${n.value}${l})`},()=>{a+=`${c.space}(var(--${o.name})${l})`});break}}else a+="var(--"+o.name+")";break;case"separator":a+=(o.prefix||"")+o.value+(o.suffix||"");break;case"number":a+=o.value+o.unit;break;default:a+=o.value;break}return a};get text(){return this.natives.map(e=>e.text).join("")}parseValue=(e,r,s,m,a,o=void 0,p=[])=>{let c=o===void 0,f=!c&&(o.endsWith("$")||o.endsWith("var")),n=(v=>v==="'"||v==='"')(a),u=[","];this.options.separators.length&&u.push(...this.options.separators);let g="",y=()=>{if(g){let v=!1;if(!f){let h=(i,d)=>{let b=Object.prototype.hasOwnProperty.call(this.options.resolvedVariables,i)?this.options.resolvedVariables[i]:Object.prototype.hasOwnProperty.call(this.css.variables,i)?this.css.variables[i]:void 0;if(b){let x=b.name??i;p.includes(x)||(v=!0,e.push({type:"variable",name:x,alpha:d}))}};if(h(g),!v&&this.colored){let[i,d]=g.split("/");h(i,d)}}v||e.push(this.parseValueComponent(g,m)),g=""}};for(;r<s.length;r++){let v=s[r];if(v===a){if(n){let h=0;for(let i=g.length-1;g[i]==="\\";i--)h++;if(h%2){g+=v;continue}else y()}else y();return r}else if(!n&&v in q){let h=g,i={type:"function",name:h,symbol:v,childrens:[]};e.push(i),g="";let d=v==="("&&this.css.config.functions?.[h];!this.colored&&d?.colored&&(this.colored=!0),r=this.parseValue(i.childrens,++r,s,d?.unit??m,q[v],h||o||"")}else if((v==="|"||v===" ")&&a!=="}"&&(!n||o==="path"))y(),e.push({type:"separator",value:" "});else{if(!n){if(v===".")if(isNaN(+s[r+1])){if(c)break}else s[r-1]==="-"&&(g+="0");else if(u.includes(v)){y(),e.push({type:"separator",value:v,prefix:v===","?"":" ",suffix:v===","?"":" "});continue}else if(c&&(v==="#"&&(g||e.length&&e[e.length-1].type!=="separator")||["!","*",">","+","~",":","[","@","_"].includes(v)))break}g+=v}}return y(),r};resolveValue(e,r){return Number.isNaN(+e)?e:e/(r==="rem"||r==="em"?this.css.config.rootSize:1)+r}parseValueComponent(e,r=this.options.unit){let s=r??this.options.unit,m="",a;if(typeof e=="number")return s&&!m?((s==="rem"||s==="em")&&(a=e/this.css.config.rootSize),m=s||""):a=e,{value:a,unit:m,type:"number"};if(s){if(/^\d+\/\d+/.test(e)){let[p,c]=e.split("/");return{value:+p/+c*100,unit:"%",type:"number"}}let o=e.match(/^([+-.]?\d+(\.?\d+)?)(%|cm|mm|q|in|pt|pc|px|em|rem|ex|rex|cap|rcap|ch|rch|ic|ric|lh|rlh|vw|svw|lvw|dvw|vh|svh|lvh|dvh|vi|svi|lvi|dvi|vb|svb|lvb|dvb|vmin|svmin|lvmin|dvmin|vmax|svmax|lvmax|dvmax|cqw|cqh|cqi|cqb|cqmin|cqmax|deg|grad|rad|turn|s|ms|hz|khz|dpi|dpcm|dppx|x|fr|db|st)?$/);if(o)return a=+o[1],m=o[3]||"",m||((s==="rem"||s==="em")&&(a=a/this.css.config.rootSize),m=s||""),{value:a,unit:m,type:"number"}}return{value:e,type:"string"}}};var ye={"4xs":360,"3xs":480,"2xs":600,xs:768,sm:834,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560},oe=ye;var be={"::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(",":only":":only-child"},le=be;var ve={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"},fit:{width:"fit-content",height:"fit-content"}},ce=ve;var Re={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"}}},ue=Re;function K(t){t.startsWith("#")&&(t=t.slice(1));let e,r,s,m;return t.length===3||t.length===4?(e=parseInt(t[0]+t[0],16),r=parseInt(t[1]+t[1],16),s=parseInt(t[2]+t[2],16),m=t.length===4?Math.round(parseInt(t[3]+t[3],16)/255*100)/100:1):(t.length===6||t.length===8)&&(e=parseInt(t.slice(0,2),16),r=parseInt(t.slice(2,4),16),s=parseInt(t.slice(4,6),16),m=t.length===8?Math.round(parseInt(t.slice(6,8),16)/255*100)/100:1),[e,r,s,m]}function de(t,e,r){return((1<<24)+(t<<16)+(e<<8)+r).toString(16).slice(1)}function B(t){typeof t=="string"&&(t={"":t});let e=""in t,r=!1;for(let s in t)if(s&&+s>=100){r=!0;break}if(!r&&(!e||Object.keys(t).length>1)){let s=0,m="0"in t?K(t[0]):[0,0,0],a,o,p=[],c=()=>{let f=a-s,l=o.map((n,u)=>(n-m[u])/f);for(let n of p){let u=n-s,g=m.map((y,v)=>Math.round(y+l[v]*u));t[n]="#"+de.call(this,...g)}};for(let f=1;f<100;f++)f in t?(p.length?(a=f,o=K(t[f]),c(),p.length=0,m=o):m=K(t[f]),s=f):p.push(f);p.length&&(a=100,o="100"in t?K(t[100]):[255,255,255],c())}return e||(t[""]=t[r?"500":"50"]),t}var xe={fontFamily:{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"]},fontWeight:{thin:100,extralight:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,heavy:900},section:{"4xs":360,"3xs":480,"2xs":600,xs:768,sm:834,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560},flexBasis:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content"},flexDirection:{col:"column","col-reverse":"column-reverse"},width:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content"},height:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content"},minWidth:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content"},boxSizing:{content:"content-box",border:"border-box"},maxHeight:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content"},position:{abs:"absolute",rel:"relative"},transformBox:{content:"content-box",border:"border-box",padding:"padding-box",fill:"fill-box",stroke:"stroke-box",view:"view-box"},animationDirection:{alt:"alternate","alt-reverse":"alternate-reverse"},backgroundClip:{content:"content-box",border:"border-box",padding:"padding-box"},backgroundOrigin:{content:"content-box",border:"border-box",padding:"padding-box"},gridAutoColumns:{min:"min-content",max:"max-content"},gridAutoRows:{min:"min-content",max:"max-content"},gridTemplateColumns:{min:"min-content",max:"max-content"},gridTemplateRows:{min:"min-content",max:"max-content"},order:{first:-999999,last:999999},shapeOutside:{content:"content-box",border:"border-box",padding:"padding-box",margin:"margin-box"},clipPath:{content:"content-box",border:"border-box",padding:"padding-box",margin:"margin-box",fill:"fill-box",stroke:"stroke-box",view:"view-box",black:"#000000"},black:"#000000",white:"#ffffff",current:"currentColor",slate:B({5:"#141e2b",10:"#19212d",20:"#262f3e",30:"#323e52",40:"#41516b",50:"#616a84",55:"#6c7693",60:"#959db3",70:"#a3abbf",80:"#d7dae3",95:"#f6f7f8"}),gray:B({5:"#1e1d1f",10:"#212022",20:"#2f2e30",30:"#3e3d40",40:"#504f52",50:"#6b6a6d",55:"#777679",60:"#9e9da0",70:"#abaaae",80:"#dad9db",95:"#f5f4f7"}),brown:B({5:"#271b15",10:"#2b1e18",20:"#3c2b22",30:"#50382c",40:"#694839",50:"#8d604b",55:"#9d6b53",60:"#b79788",70:"#c1a598",80:"#efd5c9",95:"#faf2ef"}),orange:B({5:"#2e1907",10:"#331b07",20:"#47260b",30:"#5d320e",40:"#7a4111",50:"#a15717",55:"#b4611a",60:"#e38739",70:"#e79855",80:"#f7d4b5",95:"#fcf1e7"}),gold:B({5:"#281b00",10:"#2d1e01",20:"#3f2a00",30:"#543800",40:"#6d4900",50:"#906000",55:"#9c6d00",60:"#d09100",70:"#dca000",80:"#fbd67f",95:"#fff3d8"}),yellow:B({5:"#251d00",10:"#282000",20:"#3a2e01",30:"#4b3b00",40:"#624e00",50:"#806700",55:"#8e7200",60:"#be9900",70:"#d0a700",80:"#edda8f",95:"#fff5ca"}),grass:B({5:"#162106",10:"#182406",20:"#223308",30:"#2c4408",40:"#3a570b",50:"#4e750e",60:"#74ae15",70:"#7dbc17",80:"#bfe87c",95:"#ebfad4"}),green:B({5:"#042311",10:"#032611",20:"#023717",30:"#03481f",40:"#025d26",50:"#067b34",55:"#07883a",60:"#09b64d",70:"#0ac553",80:"#80f1a4",95:"#e0fae8"}),beryl:B({5:"#002319",10:"#00271c",20:"#003626",30:"#004732",40:"#005c41",50:"#007954",55:"#00875e",60:"#00b37c",70:"#00c387",80:"#72f0c5",95:"#d6fcef"}),teal:B({5:"#012220",10:"#012624",20:"#003532",30:"#004541",40:"#005a54",50:"#00776f",55:"#00857c",60:"#00b1a5",70:"#00bfb2",80:"#6aeee5",95:"#d4fcf8"}),cyan:B({5:"#00222b",10:"#00252e",20:"#013340",30:"#004457",40:"#00576f",50:"#007391",55:"#0080a1",60:"#00abd7",70:"#00b9e9",80:"#97e6fa",95:"#dff8ff"}),sky:B({5:"#031f34",10:"#032339",20:"#04314e",30:"#044169",40:"#065386",50:"#086eb3",55:"#097ac5",60:"#29a4f5",70:"#4db3f7",80:"#b3e0ff",95:"#eaf6fe"}),blue:B({5:"#07194a",10:"#081c53",20:"#0a2773",30:"#0e3496",40:"#1146b6",50:"#175fe9",55:"#2671ea",60:"#6b9ef1",70:"#81acf3",80:"#c6dbfe",95:"#edf4fe"}),indigo:B({5:"#1f1645",10:"#20174f",20:"#2b1f74",30:"#37289d",40:"#463fb1",50:"#5a5bd5",55:"#6464f1",60:"#9393f5",70:"#a1a5ee",80:"#d5d7fe",95:"#f1f2ff"}),violet:B({5:"#2b0a4e",10:"#2e0b57",20:"#3d1179",30:"#4e169f",40:"#5f2eba",50:"#7949e5",55:"#8755f5",60:"#ac8af8",70:"#b89bf9",80:"#e1d4fe",95:"#f5f1ff"}),purple:B({5:"#2e0c47",10:"#330c4e",20:"#460f6c",30:"#5b1390",40:"#7421b1",50:"#9832e4",55:"#a348e7",60:"#c184ef",70:"#ca96f1",80:"#ead1fe",95:"#f9f0ff"}),fuchsia:B({5:"#39092a",10:"#400932",20:"#560d4a",30:"#6f1165",40:"#8c158a",50:"#b61cbb",55:"#ca1fce",60:"#e66ee9",70:"#ea86ed",80:"#facbfb",95:"#feefff"}),pink:B({5:"#3d0722",10:"#430725",20:"#5d0933",30:"#790d44",40:"#9a1058",50:"#ca1473",55:"#e11681",60:"#f170b4",70:"#f388c0",80:"#fdcde6",95:"#fff0f8"}),crimson:B({5:"#430213",10:"#470314",20:"#62041c",30:"#800524",40:"#9f1036",50:"#ce1a4b",55:"#e8144c",60:"#f37596",70:"#f58ba7",80:"#fdceda",95:"#fff1f4"}),red:B({5:"#450001",10:"#490102",20:"#640304",30:"#800506",40:"#a11012",50:"#d11a1e",55:"#ed0a0e",60:"#f97476",70:"#fa8b8d",80:"#fdcfcf",95:"#fff1f1"})},fe=xe;var Q=["hidden","dotted","dashed","solid","double","groove","ridge","inset","outset"],Se={group:{match:/^(?:.+?[*_>~+])?\{.+?\}/,layer:-1,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={},r=c=>{let f=c.indexOf(":");f!==-1&&(e[c.slice(0,f)]=c.slice(f+1))},s=c=>{let f=l=>{let n=l.slice(Z(c.className).length).match(/\{(.*)\}/)[1].split(";");for(let u of n)r(u)};for(let l of c.natives)f(l.text);if(c.animationNames){this.animationNames||(this.animationNames=[]);for(let l of c.animationNames)this.animationNames.includes(l)||this.animationNames.push(l)}if(c.variableNames){this.variableNames||(this.variableNames=[]);for(let l of c.variableNames)this.variableNames.includes(l)||this.variableNames.push(l)}},m=[],a="",o=()=>{a&&(m.push(a.replace(/ /g,"|")),a="")},p=1;(function c(f){for(;p<t.length;p++){let l=t[p];if(!f){if(l===";"){o();continue}if(l==="}")break}if(a+=l,f===l){if(f==="'"||f==='"'){let n=0;for(let u=a.length-2;a[u]==="\\";u--)n++;if(n%2)continue}break}else l in q&&f!=="'"&&f!=='"'&&(p++,c(q[l]))}})(void 0),o();for(let c of m){let f=this.css.create(c);if(f.length)for(let l of f)s(l);else r(c)}return e}},variable:{match:/^\$[\w-]+:/,colored:!0,layer:-1,declare(t){return{["--"+this.prefix.slice(1,-1)]:t}}},fontSize:{match:["f(?:ont)?"],numeric:!0,unit:"rem",layer:-101},fontWeight:{match:["f(?:ont)?",["bolder"]],layer:-101},fontFamily:{match:["f(?:ont)?"],layer:-101},fontSmoothing:{match:["f(?:ont)?",["antialiased","subpixel-antialiased"]],layer:-101,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"]],layer:-101,unit:"deg"},fontVariantNumeric:{match:["f(?:ont)?",["ordinal","slashed-zero","lining-nums","oldstyle-nums","proportional-nums","tabular-nums","diagonal-fractions","stacked-fractions"]],layer:-101},fontVariant:{layer:-301},fontFeatureSettings:{match:/^font-feature:/,layer:-101},font:{match:/^f:/,layer:-301,variableGroups:["fontFamily","fontVariant","fontWeight","fontSize","fontStyle","lineHeight"]},color:{match:/^(?:color|fg|foreground):/,layer:-101,colored:!0},marginLeft:{match:/^ml:/,layer:-101,unit:"rem",variableGroups:["spacing"]},marginRight:{match:/^mr:/,layer:-101,unit:"rem",variableGroups:["spacing"]},marginTop:{match:/^mt:/,layer:-101,unit:"rem",variableGroups:["spacing"]},marginBottom:{match:/^mb:/,layer:-101,unit:"rem",variableGroups:["spacing"]},marginX:{match:/^(?:mx|margin-x):/,unit:"rem",layer:-201,declare(t,e){return{"margin-left":t+e,"margin-right":t+e}},variableGroups:["spacing"]},marginY:{match:/^(?:my|margin-y):/,unit:"rem",layer:-201,declare(t,e){return{"margin-top":t+e,"margin-bottom":t+e}},variableGroups:["spacing"]},margin:{match:/^m:/,unit:"rem",layer:-301,variableGroups:["spacing"]},marginInlineStart:{match:/^mis:/,layer:-101,unit:"rem",variableGroups:["spacing"]},marginInlineEnd:{match:/^mie:/,layer:-101,unit:"rem",variableGroups:["spacing"]},marginInline:{match:/^mi:/,unit:"rem",layer:-301,variableGroups:["spacing"]},paddingLeft:{match:/^pl:/,layer:-101,unit:"rem",variableGroups:["spacing"]},paddingRight:{match:/^pr:/,layer:-101,unit:"rem",variableGroups:["spacing"]},paddingTop:{match:/^pt:/,layer:-101,unit:"rem",variableGroups:["spacing"]},paddingBottom:{match:/^pb:/,layer:-101,unit:"rem",variableGroups:["spacing"]},paddingX:{match:/^(?:px|padding-x):/,unit:"rem",layer:-201,declare(t,e){return{"padding-left":t+e,"padding-right":t+e}},variableGroups:["spacing"]},paddingY:{match:/^(?:py|padding-y):/,unit:"rem",layer:-201,declare(t,e){return{"padding-top":t+e,"padding-bottom":t+e}},variableGroups:["spacing"]},padding:{match:/^p:/,unit:"rem",layer:-301,variableGroups:["spacing"]},paddingInlineStart:{match:/^pis:/,layer:-101,unit:"rem",variableGroups:["spacing"]},paddingInlineEnd:{match:/^pie:/,layer:-101,unit:"rem",variableGroups:["spacing"]},paddingInline:{match:/^pi:/,unit:"rem",layer:-301,variableGroups:["spacing"]},flexBasis:{variableGroups:["section"],unit:"rem",layer:-101},flexWrap:{match:["flex",["wrap","nowrap","wrap-reverse"]],layer:-101},flexGrow:{layer:-101},flexShrink:{layer:-101},flexDirection:{match:["flex",["row","row-reverse","column","column-reverse"]],layer:-101},flex:{layer:-301},display:{match:/^d:/,layer:-101},width:{match:/^w:/,unit:"rem",layer:-101,variableGroups:["section"]},height:{match:/^h:/,unit:"rem",layer:-101,variableGroups:["section"]},minWidth:{match:/^min-w:/,unit:"rem",layer:-101,variableGroups:["section"]},minHeight:{match:/^min-h:/,unit:"rem",layer:-101,variableGroups:["section"]},box:{match:/^(?:(?:max|min|clamp|calc)\(.+\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\(.+\)|[0-9]+[a-z]*?)/,layer:-201,unit:"rem",separators:["x"],analyze(t){return[t]},declare(t){let[e,r]=t.split(" x ");return{width:e,height:r}}},minBox:{match:/^min:/,layer:-201,unit:"rem",separators:["x"],analyze(t){return[t.slice(4)]},declare(t){let[e,r]=t.split(" x ");return{"min-width":e,"min-height":r}}},maxBox:{match:/^max:/,layer:-201,unit:"rem",separators:["x"],analyze(t){return[t.slice(4)]},declare(t){let[e,r]=t.split(" x ");return{"max-width":e,"max-height":r}}},boxSizing:{match:/^box:/,layer:-101},boxDecorationBreak:{match:["section",["slice","clone"]],layer:-101,declare(t,e){return{"box-decoration-break":t+e,"-webkit-box-decoration-break":t+e}}},contain:{layer:-101},content:{layer:-101},counterIncrement:{layer:-101},counterReset:{layer:-101},letterSpacing:{match:/^ls:/,layer:-101,unit:"em"},lineHeight:{match:/^lh:/,layer:-101},objectFit:{match:["(?:object|obj)",["contain","cover","fill","scale-down"]],layer:-101},objectPosition:{match:["(?:object|obj)",["top","bottom","right","left","center"]],layer:-101},textAlign:{match:["t(?:ext)?",["justify","center","left","right","start","end"]],layer:-101},textDecorationColor:{match:["text-decoration"],layer:-101,colored:!0},textDecorationStyle:{match:["t(?:ext)?",["solid","double","dotted","dashed","wavy"]],layer:-101},textDecorationThickness:{match:["text-decoration",["from-font"]],numeric:!0,layer:-101,unit:"em"},textDecorationLine:{match:["t(?:ext)?",["none","underline","overline","line-through"]],layer:-101},textDecoration:{match:["t(?:ext)?",["underline","overline","line-through"]],unit:"rem",colored:!0,layer:-301},textUnderlineOffset:{unit:"rem",layer:-101,variableGroups:["spacing"]},textOverflow:{match:["t(?:ext)?",["ellipsis","clip"]],layer:-101},textOrientation:{match:["t(?:ext)?",["mixed","upright","sideways-right","sideways","use-glyph-orientation"]],layer:-101},textTransform:{match:["t(?:ext)?",["uppercase","lowercase","capitalize"]],layer:-101},textRendering:{match:["t(?:ext)?",["optimizeSpeed","optimizeLegibility","geometricPrecision"]],layer:-101},textIndent:{unit:"rem",layer:-101},verticalAlign:{match:/^(?:v|vertical):/,layer:-101},columns:{match:/^(?:columns|cols):/,layer:-301},whiteSpace:{layer:-101},top:{layer:-101,unit:"rem",variableGroups:["spacing"]},bottom:{layer:-101,unit:"rem",variableGroups:["spacing"]},left:{layer:-101,unit:"rem",variableGroups:["spacing"]},right:{layer:-101,unit:"rem",variableGroups:["spacing"]},inset:{unit:"rem",layer:-301,variableGroups:["spacing"]},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",layer:-101,variableGroups:["section"]},maxWidth:{match:/^max-w:/,unit:"rem",layer:-101,variableGroups:["section"]},opacity:{layer:-101},visibility:{layer:-101},clear:{layer:-101},float:{layer:-101},isolation:{layer:-101},overflowX:{layer:-101,declare(t,e){return t==="overlay"?{"overflow-x":["auto",t]}:{"overflow-x":t}}},overflowY:{layer:-101,declare(t,e){return t==="overlay"?{"overflow-y":["auto",t]}:{"overflow-y":t}}},overflow:{layer:-301,declare(t,e){return t==="overlay"?{overflow:["auto",t]}:{overflow:t}}},overscrollBehaviorX:{layer:-101},overscrollBehaviorY:{layer:-101},overscrollBehavior:{layer:-301},zIndex:{match:/^z:/,layer:-101},position:{layer:-101},cursor:{layer:-101},pointerEvents:{layer:-101},resize:{layer:-101},touchAction:{layer:-101},wordBreak:{layer:-101},wordSpacing:{layer:-101,unit:"em"},userDrag:{layer:-101,declare(t,e){return{"user-drag":t+e,"-webkit-user-drag":t+e}}},userSelect:{layer:-101,declare(t,e){return{"user-select":t+e,"-webkit-user-select":t+e}}},textShadow:{unit:"rem",layer:-101,colored:!0},textSize:{match:["t(?:ext)?"],numeric:!0,unit:"rem",declare(t,e){return{"font-size":t+e,"line-height":e==="em"?t+.875+e:`calc(${t}${e} + ${.875}em)`}}},textFillColor:{match:["(?:text-fill|text|t)"],layer:-101,colored:!0,declare(t,e){return{"-webkit-text-fill-color":t+e}}},textStrokeWidth:{match:["text-stroke",["thin","medium","thick"]],numeric:!0,unit:"rem",layer:-101,declare(t,e){return{"-webkit-text-stroke-width":t+e}}},textStrokeColor:{match:["text-stroke"],layer:-101,colored:!0,declare(t,e){return{"-webkit-text-stroke-color":t+e}}},textStroke:{unit:"rem",layer:-101,declare(t,e){return{"-webkit-text-stroke":t+e}}},boxShadow:{match:/^s(?:hadow)?:/,unit:"rem",layer:-101,colored:!0},tableLayout:{layer:-101},transformBox:{match:["transform"],layer:-101},transformStyle:{match:["transform",["flat","preserve-3d"]],layer:-101},transformOrigin:{match:["transform",["top","bottom","right","left","center"]],numeric:!0,unit:"px",layer:-101},transform:{match:/^(?:translate|scale|skew|rotate|perspective|matrix)(?:3d|[XYZ])?\(/,layer:-101,analyze(t){return[t.startsWith("transform")?t.slice(10):t]},variableGroups:["spacing"]},transitionProperty:{match:/^~property:/,layer:-101},transitionTimingFunction:{match:/^~easing:/,layer:-101},transitionDuration:{match:/^~duration:/,layer:-101,unit:"ms"},transitionDelay:{match:/^~delay:/,layer:-101,unit:"ms"},transition:{match:/^~[^!*>+~:[@_]+\|/,analyze(t){if(t.startsWith("~"))return[t.slice(1)];{let e=t.indexOf(":");return this.prefix=t.slice(0,e+1),[t.slice(e+1)]}},layer:-301},animationDelay:{match:/^@delay:/,layer:-101,unit:"ms"},animationDirection:{match:/^@direction:/,layer:-101},animationDuration:{match:/^@duration:/,layer:-101,unit:"ms"},animationFillMode:{match:/^@fill:/,layer:-101},animationIterationCount:{match:/^@iteration:/,layer:-101},animationName:{match:/^@name:/,layer:-101},animationPlayState:{match:/^@play:/,layer:-101},animationTimingFunction:{match:/^@easing:/,layer:-101},animation:{match:/^@[^!*>+~:[@_]+\|/,layer:-301,analyze(t){if(t.startsWith("@"))return[t.slice(1)];{let e=t.indexOf(":");return this.prefix=t.slice(0,e+1),[t.slice(e+1)]}}},borderCollapse:{match:["b(?:order)?",["collapse","separate"]],layer:-101},borderSpacing:{unit:"rem",layer:-101},borderTopColor:{match:["b(?:t|order-top(?:-color)?)"],layer:-101,colored:!0},borderBottomColor:{match:["b(?:b|order-bottom(?:-color)?)"],layer:-101,colored:!0},borderLeftColor:{match:["b(?:l|order-left(?:-color)?)"],layer:-101,colored:!0},borderRightColor:{match:["b(?:r|order-right(?:-color)?)"],layer:-101,colored:!0},borderXColor:{match:["b(?:x|order-x(?:-color)?)"],layer:-201,colored:!0,declare(t,e){return{"border-left-color":t+e,"border-right-color":t+e}}},borderYColor:{match:["b(?:y|order-y(?:-color)?)"],layer:-201,colored:!0,declare(t,e){return{"border-top-color":t+e,"border-bottom-color":t+e}}},borderColor:{match:["b(?:order)?(?:-color)?"],layer:-301,colored:!0},borderTopLeftRadius:{match:/^r(?:tl|lt):/,unit:"rem",layer:-101},borderTopRightRadius:{match:/^r(?:tr|rt):/,unit:"rem",layer:-101},borderBottomLeftRadius:{match:/^r(?:bl|lb):/,unit:"rem",layer:-101},borderBottomRightRadius:{match:/^r(?:br|rb):/,unit:"rem",layer:-101},borderTopRadius:{match:/^rt:/,unit:"rem",layer:-201,declare(t,e){return{"border-top-left-radius":t+e,"border-top-right-radius":t+e}}},borderBottomRadius:{match:/^rb:/,unit:"rem",layer:-201,declare(t,e){return{"border-bottom-left-radius":t+e,"border-bottom-right-radius":t+e}}},borderLeftRadius:{match:/^rl:/,unit:"rem",layer:-201,declare(t,e){return{"border-top-left-radius":t+e,"border-bottom-left-radius":t+e}}},borderRightRadius:{match:/^rr:/,unit:"rem",layer:-201,declare(t,e){return{"border-top-right-radius":t+e,"border-bottom-right-radius":t+e}}},borderRadius:{match:/^r:/,unit:"rem",layer:-301},borderTopStyle:{match:["b(?:t|order-top(?:-style)?)",Q],layer:-101},borderBottomStyle:{match:["b(?:b|order-bottom(?:-style)?)",Q],layer:-101},borderLeftStyle:{match:["b(?:l|order-left(?:-style)?)",Q],layer:-101},borderRightStyle:{match:["b(?:r|order-right(?:-style)?)",Q],layer:-101},borderXStyle:{match:["b(?:x|order-x(?:-style)?)",Q],layer:-201,declare(t,e){return{"border-left-style":t+e,"border-right-style":t+e}}},borderYStyle:{match:["b(?:y|order-y(?:-style)?)",Q],layer:-201,declare(t,e){return{"border-top-style":t+e,"border-bottom-style":t+e}}},borderStyle:{match:["b(?:order)?(?:-style)?",Q],layer:-301},borderTopWidth:{match:["b(?:t|order-top(?:-width)?)"],numeric:!0,unit:"rem",layer:-101},borderBottomWidth:{match:["b(?:b|order-bottom(?:-width)?)"],numeric:!0,unit:"rem",layer:-101},borderLeftWidth:{match:["b(?:l|order-left(?:-width)?)"],numeric:!0,unit:"rem",layer:-101},borderRightWidth:{match:["b(?:r|order-right(?:-width)?)"],numeric:!0,unit:"rem",layer:-101},borderXWidth:{match:["b(?:x|order-x(?:-width)?)"],numeric:!0,unit:"rem",layer:-201,declare(t,e){return{"border-left-width":t+e,"border-right-width":t+e}}},borderYWidth:{match:["b(?:y|order-y(?:-width)?)"],numeric:!0,unit:"rem",layer:-201,declare(t,e){return{"border-top-width":t+e,"border-bottom-width":t+e}}},borderWidth:{match:["b(?:order)?(?:-width)?"],numeric:!0,unit:"rem",layer:-301},borderImageOutset:{unit:"rem",layer:-101},borderImageRepeat:{match:["border-image",["stretch","repeat","round","space"]],layer:-101},borderImageSlice:{layer:-101},borderImageSource:{match:["border-image",["url","linear-gradient","radial-gradient","repeating-linear-gradient","repeating-radial-gradient","conic-gradient"]],layer:-101},borderImageWidth:{match:["border-image",["auto"]],numeric:!0,unit:"rem",layer:-101},borderImage:{layer:-301},borderTop:{match:/^bt:/,layer:-301,unit:"rem",colored:!0},borderBottom:{match:/^bb:/,layer:-301,unit:"rem",colored:!0},borderLeft:{match:/^bl:/,layer:-301,unit:"rem",colored:!0},borderRight:{match:/^br:/,layer:-301,unit:"rem",colored:!0},borderX:{match:/^(?:bx|border-x):/,unit:"rem",colored:!0,layer:-201,declare(t){return{"border-left":t,"border-right":t}}},borderY:{match:/^(?:by|border-y):/,unit:"rem",colored:!0,layer:-201,declare(t){return{"border-top":t,"border-bottom":t}}},border:{match:/^b:/,unit:"rem",colored:!0,layer:-301},backgroundAttachment:{match:["(?:bg|background)",["fixed","local","scroll"]],layer:-101},backgroundBlendMode:{layer:-101},backgroundColor:{match:["(?:bg|background)"],layer:-101,colored:!0},backgroundClip:{match:["(?:bg|background)",["text"]],layer:-101,declare(t,e){return{"-webkit-background-clip":t+e,"background-clip":t+e}}},backgroundOrigin:{match:["(?:bg|background)"],layer:-101},backgroundPosition:{match:["(?:bg|background)",["top","bottom","right","left","center"]],layer:-101,unit:"px"},backgroundRepeat:{match:["(?:bg|background)",["space","round","repeat","no-repeat","repeat-x","repeat-y"]],layer:-101},backgroundSize:{match:["(?:bg|background)",["auto","cover","contain"]],numeric:!0,unit:"rem",layer:-101},backgroundImage:{match:["(?:bg|background)",["(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)"]],layer:-101},background:{match:/^bg:/,colored:!0,layer:-301},gradient:{match:/^gradient\(/,layer:-101,colored:!0,declare(t){return{"background-image":"linear-"+t}}},mixBlendMode:{match:/^blend:/,layer:-101},backdropFilter:{match:/^bd:/,layer:-101,colored:!0,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)\(/,layer:-101,colored:!0},fill:{match:/^fill:/,layer:-101,colored:!0},strokeDasharray:{layer:-101},strokeDashoffset:{layer:-101,variableGroups:["spacing"]},strokeWidth:{match:["stroke(?:-width)?"],numeric:!0,layer:-101},stroke:{match:["stroke"],layer:-101,colored:!0},x:{layer:-101,variableGroups:["spacing"]},y:{layer:-101,variableGroups:["spacing"]},cx:{layer:-101,variableGroups:["spacing"]},cy:{layer:-101,variableGroups:["spacing"]},rx:{layer:-101},ry:{layer:-101},gridColumnStart:{match:/^grid-col-start:/,layer:-101},gridColumnEnd:{match:/^grid-col-end:/,layer:-101},gridColumn:{match:/^grid-col(?:umn)?(?:-span)?:/,layer:-301,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))"}},layer:-1},gridRowStart:{layer:-101},gridRowEnd:{layer:-101},gridRow:{match:/^grid-row-span:/,layer:-301,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))"}},layer:-1},gridAutoColumns:{match:/^grid-auto-cols:/,layer:-101},gridAutoFlow:{match:/^grid-flow:/,layer:-101},gridAutoRows:{layer:-101},gridTemplateAreas:{layer:-101},gridTemplateColumns:{match:/^grid-template-cols:/,layer:-101,unit:"rem"},gridTemplateRows:{layer:-101,unit:"rem"},gridTemplate:{layer:-301},gridArea:{layer:-301},grid:{layer:-301},columnGap:{match:/^gap-x:/,unit:"rem",layer:-101,variableGroups:["spacing"]},rowGap:{match:/^gap-y:/,unit:"rem",layer:-101,variableGroups:["spacing"]},gap:{unit:"rem",layer:-301,variableGroups:["spacing"]},order:{match:/^o:/,layer:-101},breakInside:{layer:-101},breakBefore:{layer:-101},breakAfter:{layer:-101},aspectRatio:{match:/^aspect:/,layer:-101},columnSpan:{match:/^col-span:/,layer:-101},alignContent:{match:/^ac:/,layer:-101},alignItems:{match:/^ai:/,layer:-101},alignSelf:{match:/^as:/,layer:-101},justifyContent:{match:/^jc:/,layer:-101},justifyItems:{match:/^ji:/,layer:-101},justifySelf:{match:/^js:/,layer:-101},placeContent:{layer:-301},placeItems:{layer:-301},placeSelf:{layer:-301},listStylePosition:{match:["list-style",["inside","outside"]],layer:-101},listStyleType:{match:["list-style",["disc","decimal"]],layer:-101},listStyleImage:{match:["list-style",["(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)"]],layer:-101},listStyle:{layer:-301},outlineColor:{match:["outline"],layer:-101,colored:!0},outlineOffset:{unit:"rem",layer:-101,variableGroups:["spacing"]},outlineStyle:{match:["outline",["dotted","dashed","solid","double","groove","ridge","inset","outset"]],layer:-101},outlineWidth:{match:["outline",["medium","thick","thin"]],numeric:!0,unit:"rem",layer:-101},outline:{unit:"rem",layer:-301,colored:!0,variableGroups:["outlineWidth","outlineStyle","outlineOffset","outlineColor"]},accentColor:{match:/^accent:/,layer:-101,colored:!0},appearance:{layer:-101},caretColor:{match:/^caret:/,layer:-101,colored:!0},scrollBehavior:{layer:-101},scrollMarginLeft:{match:/^scroll-ml:/,layer:-101,unit:"rem",variableGroups:["spacing"]},scrollMarginRight:{match:/^scroll-mr:/,layer:-101,unit:"rem",variableGroups:["spacing"]},scrollMarginTop:{match:/^scroll-mt:/,layer:-101,unit:"rem",variableGroups:["spacing"]},scrollMarginBottom:{match:/^scroll-mb:/,layer:-101,unit:"rem",variableGroups:["spacing"]},scrollMarginX:{match:/^(?:scroll-margin-x|scroll-mx):/,unit:"rem",layer:-201,declare(t,e){return{"scroll-margin-left":t+e,"scroll-margin-right":t+e}},variableGroups:["spacing"]},scrollMarginY:{match:/^(?:scroll-margin-y|scroll-my):/,unit:"rem",layer:-201,declare(t,e){return{"scroll-margin-top":t+e,"scroll-margin-bottom":t+e}},variableGroups:["spacing"]},scrollMargin:{match:/^scroll-m:/,unit:"rem",layer:-301,variableGroups:["spacing"]},scrollPaddingLeft:{match:/^scroll-pl:/,layer:-101,unit:"rem",variableGroups:["spacing"]},scrollPaddingRight:{match:/^scroll-pr:/,layer:-101,unit:"rem",variableGroups:["spacing"]},scrollPaddingTop:{match:/^scroll-pt:/,layer:-101,unit:"rem",variableGroups:["spacing"]},scrollPaddingBottom:{match:/^scroll-pb:/,layer:-101,unit:"rem",variableGroups:["spacing"]},scrollPaddingX:{match:/^(?:scroll-padding-x|scroll-px):/,unit:"rem",layer:-201,declare(t,e){return{"scroll-padding-left":t+e,"scroll-padding-right":t+e}},variableGroups:["spacing"]},scrollPaddingY:{match:/^(?:scroll-padding-y|scroll-py):/,unit:"rem",layer:-201,declare(t,e){return{"scroll-padding-top":t+e,"scroll-padding-bottom":t+e}},variableGroups:["spacing"]},scrollPadding:{match:/^scroll-p:/,unit:"rem",layer:-301,variableGroups:["spacing"]},scrollSnapAlign:{match:["scroll-snap",["start","end","center"]],layer:-101},scrollSnapStop:{match:["scroll-snap",["normal","always"]],layer:-101},scrollSnapType:{match:["scroll-snap",["x","y","block","inline","both"]],layer:-101},willChange:{layer:-101},writingMode:{match:/^writing:/,layer:-101},direction:{layer:-101},shapeOutside:{match:["shape",["(?:inset|circle|ellipse|polygon|url|linear-gradient)\\(.*\\)"]],layer:-101},shapeMargin:{match:["shape"],numeric:!0,unit:"rem",layer:-101,variableGroups:["spacing"]},shapeImageThreshold:{layer:-101},clipPath:{match:/^clip:/,layer:-101},quotes:{layer:-101},maskImage:{layer:-101,declare(t,e){return{"mask-image":t+e,"-webkit-mask-image":t+e}}}},he=Se;var Oe={$:{colored:!0,transform(t){return[{type:"variable",name:t}]}},calc:{transform(t,e){let r=[],s=this.css.config.functions,m=0,a=(o,p,c)=>{let f=!1,l="",n=(u,g="",y="")=>{l&&(!f&&!c?o.push(this.parseValueComponent(l,s.calc.unit)):o.push({type:"string",value:l}),l=""),u&&(g&&t[m-1]===" "&&(g=""),y&&t[m+1]===" "&&(y=""),p?o.push({type:"separator",value:u}):o.push({type:"separator",value:u,prefix:g,suffix:y})),f=!1};for(;m<t.length;m++){let u=t[m];if(u==="("){let g=/^([+-])/.exec(l);g&&o.push({type:"string",value:g[1]});let y=g?l.slice(1):l,v={type:"function",name:y,symbol:u,childrens:[]};o.push(v),l="",m++;let h=v.name==="$"||v.name==="var";a(v.childrens,y!==""&&y!=="calc"&&(h||Object.prototype.hasOwnProperty.call(s,y)),f||h)}else if(u===")"){n("");break}else if(u===",")n(u,""," ");else if(u===" ")n(u);else{let g=t[m-1];switch(u){case"+":!l&&g!==")"?l+=u:n(u," "," ");break;case"-":!l&&g!==")"?l+=u:n(u," "," ");break;case"*":n(u," "," ");break;case"/":n(u," "," "),f=!0;break;default:l+=u;break}}}n("")};return a(r,!1,!1),"calc("+this.transformValueComponents(r,s.calc.unit??this.options.unit,e)+")"}},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:""},color:{unit:"",colored:!0},"color-contrast":{unit:"",colored:!0},"color-mix":{unit:"",colored:!0},hwb:{unit:""},lab:{unit:""},lch:{unit:""},oklab:{unit:""},oklch:{unit:""},clamp:{unit:""},repeat:{unit:""},"linear-gradient":{colored:!0},"radial-gradient":{colored:!0},"conic-gradient":{colored:!0},"repeating-linear-gradient":{colored:!0},"repeating-radial-gradient":{colored:!0},"repeating-conic-gradient":{colored:!0}},me=Oe;var J={mediaQueries:oe,selectors:le,semantics:ce,rules:he,functions:me,animations:ue,variables:fe,scope:"",rootSize:16,override:!1,important:!1,themeDriver:"class"};var pe=[",",".","#","[","!","*",">","+","~",":","@"];var ee=class{constructor(e=J){this.customConfig=e;e?.override?this.config=this.getExtendedConfig(this.config):this.config=this.getExtendedConfig(J,e),this.resolve(),globalThis.masterCSSs.push(this)}static config=J;static refresh=e=>{for(let r of globalThis.masterCSSs)r.refresh(e)};rules=[];ruleBy={};classesUsage={};observing=!1;config;semanticRuleOptions=[];ruleOptions=[];observer;resolve(){this.styles={},this.stylesBy={},this.selectors={},this.variables={},this.mediaQueries={},this.animations={},this.ruleOptions.length=0,this.semanticRuleOptions.length=0,this.hasVariablesRule=!1,this.hasKeyframesRule=!1;let e={current:void 0,currentColor:void 0,transparent:void 0},{styles:r,selectors:s,variables:m,semantics:a,mediaQueries:o,rules:p,animations:c}=this.config;function f(i){return i.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}function l(i,d,b="",x={}){let R=C=>C?(b?b+"-":"")+C:b,w=Object.entries(i),N=[],V=[];for(let C of w){let O=C[1];(typeof O=="object"&&!Array.isArray(O)?N:V).push(C)}for(let[C,O]of N)l(O,d,R(C),x);if(d&&b)V.length&&(x[b]=V.reduce((C,[O,W])=>(C[O]=W,C),{}));else for(let[C,O]of V)x[R(C)]=O;return x}if(s)for(let[i,d]of Object.entries(l(s,!1))){let b=new RegExp(f(i)+"(?![a-z-])");for(let x of Array.isArray(d)?d:[d]){let R=x.match(/^::-[a-z]+-/m)?.[0]??"",w=this.selectors[R];w||(w=this.selectors[R]=[]);let N=w.find(([V])=>V===b);N||(N=[b,[]],w.push(N)),N[1].push(x)}}if(m){let i={};for(let d in m){let b=(x,R,w=void 0)=>{if(!x)return;let N=(C,O,W=void 0,M=void 0)=>{if(O===void 0)return;if(O.type==="color"){if(M){let L=O.value.indexOf("/");O={...O,value:L===-1?O.value+" / "+(M.startsWith("0.")?M.slice(1):M):O.value.slice(0,L+2)+(+O.value.slice(L+2)*+M).toString().slice(1)}}e[C]=void 0}let A=W??w;if(A!==void 0)if(Object.prototype.hasOwnProperty.call(this.variables,C)){let L=this.variables[C];A?(L.themes||(L.themes={}),L.themes[A]=O):(L.value=O.value,L.space=O.space)}else A?this.variables[C]={type:O.type,space:O.space,themes:{[A]:O}}:this.variables[C]=O;else this.variables[C]=O},V=typeof x;if(V==="object")if(Array.isArray(x))N(R,{type:"string",value:x.join(",")});else{let C=Object.keys(x);for(let O of C)O===""||O.startsWith("@")?b(x[O],R,O||C.some(W=>W.startsWith("@"))?O.slice(1):void 0):b(x[O],R+"-"+O)}else if(V==="number")N(R,{type:"number",value:x}),N("-"+R,{type:"number",value:x*-1});else if(V==="string"){let C=/^\$\((.*?)\)(?: ?\/ ?(.+?))?$/.exec(x);if(C)Object.prototype.hasOwnProperty.call(i,R)||(i[R]={}),i[R][w]=()=>{delete i[R][w];let[O,W]=C[1].split("@");if(O){if(Object.prototype.hasOwnProperty.call(i,O))for(let A of Object.keys(i[O]))i[O][A]?.();let M=this.variables[O];if(M)if(W===void 0&&M.themes){N(R,{type:M.type,value:M.value,space:M.space},"",C[2]);for(let A in M.themes)N(R,M.themes[A],A,C[2])}else{let A=W!==void 0?M.themes?.[W]:M;A&&N(R,{type:A.type,value:A.value,space:A.space},void 0,C[2])}}};else{let O=/^#([A-Fa-f0-9]{3,4}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{8})$/.exec(x);if(O){let[W,M,A,L]=K(O[1]);N(R,{type:"color",value:`${W} ${M} ${A}${L===1?"":" / "+L}`,space:"rgb"})}else{let W=/^rgb\( *([0-9]{1,3})(?: *, *| +)([0-9]{1,3})(?: *, *| +)([0-9]{1,3}) *(?:(?:,|\/) *(.*?) *)?\)$/.exec(x);if(W)N(R,{type:"color",value:W[1]+" "+W[2]+" "+W[3]+(W[4]?" / "+(W[4].startsWith("0.")?W[4].slice(1):W[4]):""),space:"rgb"});else{let M=/^hsl\((.*?)\)$/.exec(x);M?N(R,{type:"color",value:M[1],space:"hsl"}):N(R,{type:"string",value:x})}}}}};b(m[d],d)}for(let d of Object.keys(i))for(let b of Object.keys(i[d]))i[d][b]?.()}if(o&&(this.mediaQueries=l(o,!1)),c)for(let i in c){let d=this.animations[i]={},b=c[i];for(let x in b){let R=d[x]={},w=b[x];for(let N in w)R[N]=w[N]}}let n=r?l(r,!1):{},u=Object.keys(n),g=i=>{if(Object.prototype.hasOwnProperty.call(this.styles,i))return;let d=this.styles[i]=[],b=n[i];if(!b)return;let x=b.replace(/(?:\n(?:\s*))+/g," ").trim().split(" ");for(let R of x){let w=N=>{if(Object.prototype.hasOwnProperty.call(this.stylesBy,N)){let V=this.stylesBy[N];V.includes(i)||V.push(i)}else this.stylesBy[N]=[i];d.includes(N)||d.push(N)};if(u.includes(R)){g(R);for(let N of this.styles[R])w(N)}else w(R)}};for(let i of u)g(i);a&&Object.entries(a).sort((i,d)=>i[0].localeCompare(d[0])).forEach(([i,d],b)=>{this.semanticRuleOptions.push({id:"."+i,resolvedMatch:new RegExp("^"+f(i)+"(?=!|\\*|>|\\+|~|:|\\[|@|_|\\.|$)","m"),order:b,declarations:d,layer:-401})});let y=Object.entries(p).sort((i,d)=>i[1].layer!==d[1].layer?(d[1].layer||0)-(i[1].layer||0):d[0].localeCompare(i[0])),v=y.length,h=Object.keys(e);y.forEach(([i,d],b)=>{this.ruleOptions.push(d),d.order=this.semanticRuleOptions.length+v-1-b;let x=d.match;d.id=i,(d.layer===-100||d.layer===-300||d.layer===-101||d.layer===-301)&&(d.resolvedPropName=i.replace(/(?!^)[A-Z]/g,w=>"-"+w).toLowerCase()),d.resolvedVariables={};let R=w=>{Object.assign(d.resolvedVariables,Object.keys(this.variables).filter(N=>N.startsWith(w+"-")||N.startsWith("-"+w+"-")).reduce((N,V)=>(N[V.slice(w.length+(w.startsWith("-")?0:1))]={...this.variables[V],name:V},N),{}))};if(d.variableGroups)for(let w of d.variableGroups)R(w);if(R(i),x)if(Array.isArray(x)){let[w,N=[]]=x,V=[];N.length&&V.push(`(?:${N.join("|")})(?![a-zA-Z0-9-])`),Object.keys(d.resolvedVariables).length&&V.push(`(?:${Object.keys(d.resolvedVariables).join("|")})(?![a-zA-Z0-9-])`),d.colored&&V.push("#","(?:color|color-contrast|color-mix|hwb|lab|lch|oklab|oklch|rgb|rgba|hsl|hsla)\\(.*\\)",`(?:${h.join("|")})(?![a-zA-Z0-9-])`),d.numeric&&V.push("[\\d\\.]","(?:max|min|calc|clamp)\\(.*\\)"),d.resolvedMatch=new RegExp(`^${w}:(?:${V.join("|")})[^|]*?(?:@|$)`)}else d.resolvedMatch=x})}observe(e,r={subtree:!0,childList:!0}){if(this.root===e)return this;e||(e=document),this.root=e;let s=e===document;s&&(globalThis.masterCSS=this),this.host=s?document.documentElement:this.root.host;let m=s?document.head:e,a=s?document.styleSheets:e.styleSheets;for(let p of a){let{ownerNode:c}=p;if(c&&c.id==="master"){this.style=c;break}}if(this.style)for(let p=0;p<this.style.sheet.cssRules.length;p++){let c=this.style.sheet.cssRules[p],f=c.constructor.name;if(f==="CSSStyleRule"&&c.style.length===1&&c.style[0].startsWith("--")&&!c.selectorText.startsWith(".\\$")||f==="CSSKeyframesRule")continue;let l=u=>{if(u.selectorText){let y=u.selectorText.split(", ")[0].split(" ");for(let v=0;v<y.length;v++){let h=y[v];if(h[0]==="."){let i=h.slice(1),d="";for(let b=0;b<i.length;b++){let x=i[b],R=i[b+1];if(x==="\\"){if(b++,R!=="\\"){d+=R;continue}}else if(pe.includes(x))break;d+=x}if(!Object.prototype.hasOwnProperty.call(this.ruleBy,d)&&!Object.prototype.hasOwnProperty.call(this.styles,d)){let b=this.create(d)[0];if(b)return b}}}}else if(u.cssRules)for(let g=0;g<u.cssRules.length;g++){let y=l(u.cssRules[g]);if(y)return y}},n=l(c);if(n){this.rules.push(n),this.ruleBy[n.className]=n;for(let u=0;u<n.natives.length;u++)n.natives[u].cssRule=this.style.sheet.cssRules[p+u];p+=n.natives.length-1,this.handleRuleWithVariableNames(n,!0),this.handleRuleWithAnimationNames(n,!0),n.options.insert?.call(n)}}else this.style=document.createElement("style"),this.style.id="master",m.append(this.style);let o=p=>{p.forEach(c=>{Object.prototype.hasOwnProperty.call(this.classesUsage,c)?this.classesUsage[c]++:(this.classesUsage[c]=1,this.insert(c))})};return o(this.host.classList),r.subtree&&this.host.querySelectorAll("[class]").forEach(p=>o(p.classList)),this.observer=new MutationObserver(p=>{let c={},f=[],l=[],n=[],u=(h,i)=>{i?h.classList.forEach(y):h.classList.forEach(g);let d=h.children;for(let b=0;b<d.length;b++){let x=d[b];x.classList&&(l.push(x),u(x,i))}},g=h=>{Object.prototype.hasOwnProperty.call(c,h)?c[h]++:c[h]=1},y=h=>{Object.prototype.hasOwnProperty.call(c,h)?c[h]--:Object.prototype.hasOwnProperty.call(this.classesUsage,h)&&(c[h]=-1)},v=(h,i)=>{for(let d=0;d<h.length;d++){let b=h[d];b.classList&&!l.includes(b)&&!n.includes(b)&&(b.isConnected!==i?(l.push(b),u(b,i)):n.push(b))}};for(let h=0;h<p.length;h++){let i=p[h],{addedNodes:d,removedNodes:b,type:x,target:R}=i;if(x==="attributes"){if(f.find(w=>w.target===R))continue;f.push(i)}else v(d,!1),(!R.isConnected||!l.includes(R))&&v(b,!0)}if(!(!f.length&&!Object.keys(c).length)){for(let{oldValue:h,target:i}of f){let d=l.includes(i),b=i.classList,x=h?h.split(" "):[];if(d){if(i.isConnected)continue;for(let R of x)b.contains(R)||y(R)}else if(i.isConnected){b.forEach(R=>{x.includes(R)||g(R)});for(let R of x)b.contains(R)||y(R)}}for(let h in c){let i=c[h],d=(this.classesUsage[h]||0)+i;d===0?(delete this.classesUsage[h],this.delete(h)):(Object.prototype.hasOwnProperty.call(this.classesUsage,h)||this.insert(h),this.classesUsage[h]=d)}}}),this.observer.observe(e,{...r,attributes:!0,attributeOldValue:!0,attributeFilter:["class"]}),this.host.style.display=null,this.observing=!0,this}disconnect(){this.observer&&(this.observer.disconnect(),this.observer=null),this.observing=!1,this.ruleBy={},this.classesUsage={},this.rules.length=0,this.hasKeyframesRule=!1,this.hasVariablesRule=!1;for(let r in this.animations){let s=this.animations[r];s.usage=void 0,s.native=void 0}for(let r in this.variables){let s=this.variables[r];s.usage=void 0,s.natives=void 0}let e=this.style?.sheet;if(e?.cssRules)for(let r=e.cssRules.length-1;r>=0;r--)e.deleteRule(r);this.style?.remove(),this.style=null,this.root=null}match(e){for(let r of this.ruleOptions)if(r.resolvedMatch&&r.resolvedMatch.test(e)||(r.layer===-100||r.layer===-300||r.layer===-101||r.layer===-301)&&e.startsWith(r.resolvedPropName+":"))return r;for(let r of this.semanticRuleOptions)if(r.resolvedMatch.test(e))return r}create(e){let r=s=>{if(Object.prototype.hasOwnProperty.call(this.ruleBy,s))return this.ruleBy[s];let m=this.match(s);if(m)return new te(s,m,this)};return(Object.prototype.hasOwnProperty.call(this.styles,e)?this.styles[e].map(s=>r(s)):[r(e)]).filter(s=>s&&s.text)}refresh(e=this.customConfig){if(e?.override?this.config=this.getExtendedConfig(e):this.config=this.getExtendedConfig(J,e),this.resolve(),!this.style)return;let r=document.createElement("style");r.id="master",this.style.replaceWith(r),this.style=r,this.rules.length=0,this.ruleBy={};for(let s in this.classesUsage)this.insert(s)}destroy(){this.disconnect(),globalThis.masterCSSs.splice(globalThis.masterCSSs.indexOf(this),1)}delete(e){let r=this.style?.sheet,s=m=>{let a=this.ruleBy[m];if(!(!a||Object.prototype.hasOwnProperty.call(this.stylesBy,m)&&this.stylesBy[m].some(o=>Object.prototype.hasOwnProperty.call(this.classesUsage,o)))){if(r&&a.natives.length){let o=a.natives[0];for(let p=0;p<r.cssRules.length;p++)if(r.cssRules[p]===o.cssRule){for(let f=0;f<a.natives.length;f++)r.deleteRule(p);break}}if(this.rules.splice(this.rules.indexOf(a),1),delete this.ruleBy[m],a.variableNames){let o=this.rules[0];for(let p of a.variableNames){let c=this.variables[p];if(!--c.usage){for(let f=0;f<c.natives.length;f++){let l=c.natives[f];for(let n=0;n<this.style.sheet.cssRules.length;n++)if(this.style.sheet.cssRules[n]===l.cssRule){this.style.sheet.deleteRule(n);break}o.natives.splice(o.natives.indexOf(l),1)}c.natives=void 0}}o.natives.length||(this.rules.splice(0,1),this.hasVariablesRule=!1)}if(a.animationNames){let o=this.hasVariablesRule?1:0,p=this.hasVariablesRule?this.rules[0].natives.length:0,c=this.rules[o];for(let f of a.animationNames){let l=this.animations[f];if(!--l.usage){let n=c.natives.indexOf(l.native);this.style.sheet.deleteRule(p+n),c.natives.splice(n,1),l.native=void 0}}c.natives.length||(this.rules.splice(o,1),this.hasKeyframesRule=!1)}a.options.delete?.call(a,m)}};if(Object.prototype.hasOwnProperty.call(this.styles,e)){for(let m of this.styles[e])Object.prototype.hasOwnProperty.call(this.classesUsage,m)||s(m);delete this.ruleBy[e]}else s(e)}insert(e){let r=this.create(e);return r.length?(this.insertRules(r),!0):!1}insertRules(e){for(let r of e){if(this.ruleBy[r.className])continue;let s,m=this.rules.length-1,{media:a,order:o,priority:p,hasWhere:c,className:f}=r,l=(g,y,v)=>{let h=g;for(;h<=m;h++){let i=this.rules[h];if(y?.(i))return v?-1:h-1;if(v?.(i))return h}return v?-1:h-1},n,u;if(a){let g=this.rules.findIndex(y=>y.media);if(g===-1)s=m+1;else{let{"max-width":y,"min-width":v}=a.features;if(y||v){let h=this.rules.findIndex(i=>i.media?.features["max-width"]||i.media?.features["min-width"]);if(h===-1)s=m+1;else if(y&&v){if(p===-1?(n=l(h,i=>i.priority!==-1,i=>i.media.features["max-width"]&&i.media.features["min-width"]),u=l(h,i=>i.priority!==-1)):(n=l(h,void 0,i=>i.media.features["max-width"]&&i.media.features["min-width"]&&i.priority!==-1),u=m),n!==-1){let i=y.value-v.value,d=u,b=n;for(n=void 0;d>=b;d--){let{"max-width":x,"min-width":R}=this.rules[d].media.features,w=x.value-R.value;if(w<i)u=d-1;else if(w===i)n=d;else break}}if(n!==-1){let i=y.value-v.value;for(let d=u;d>=n;d--){let{"max-width":b,"min-width":x}=this.rules[d].media.features,R=b.value-x.value;if(R<i)u=d-1;else if(R>i){n=d+1;break}}}}else if(v){if(p===-1?(n=l(h,i=>i.media.features["max-width"]&&i.media.features["min-width"]||i.priority!==-1,i=>!i.media.features["max-width"]&&i.media.features["min-width"]),u=l(h,i=>i.media.features["max-width"]&&i.media.features["min-width"]||i.priority!==-1)):(n=l(h,i=>i.media.features["max-width"]&&i.media.features["min-width"]&&i.priority!==-1,i=>!i.media.features["max-width"]&&i.media.features["min-width"]&&i.priority!==-1),u=l(h,i=>i.media.features["max-width"]&&i.media.features["min-width"]&&i.priority!==-1)),n!==-1)for(let i=u;i>=n;i--){let d=this.rules[i].media.features["min-width"].value;if(d>v.value)u=i-1;else if(d<v.value){n=i+1;break}}}else if(p===-1?(n=l(h,i=>i.media.features["min-width"]||i.priority!==-1,i=>i.media.features["max-width"]),u=l(h,i=>i.media.features["min-width"]||i.priority!==-1)):(n=l(h,i=>i.media.features["min-width"]&&i.priority!==-1,i=>i.media.features["max-width"]&&i.priority!==-1),u=l(h,i=>i.media.features["min-width"]&&i.priority!==-1)),n!==-1)for(let i=u;i>=n;i--){let d=this.rules[i].media.features["max-width"].value;if(d<y.value)u=i-1;else if(d>y.value){n=i+1;break}}}else p===-1?(n=g,u=l(g,h=>h.media?.features["max-width"]||h.media?.features["min-width"]||h.priority!==-1)):(n=l(g,h=>h.media?.features["max-width"]||h.media?.features["min-width"],h=>h.priority!==-1),u=l(g,h=>h.media?.features["max-width"]||h.media?.features["min-width"]))}}else{let g=this.hasVariablesRule?this.hasKeyframesRule?2:1:this.hasKeyframesRule?1:0;p===-1?(n=g,u=l(g,y=>y.media||y.priority!==-1)):(n=l(g,y=>y.media,y=>y.priority!==-1),u=l(g,y=>y.media))}if(s===void 0)if(n===-1)s=u+1;else{if(p===-1)for(let g=n;g<=u;g++){let y=this.rules[g];if(!(!c&&y.hasWhere)&&(c&&!y.hasWhere||y.order>=o)){s=g;break}}else for(let g=n;g<=u;g++){let y=this.rules[g];if(!(!c&&y.hasWhere)){if(c&&!y.hasWhere){s=g;break}if(y.priority<p){s=g;break}else if(y.priority===p){if(y.order>=o){s=g;break}}else s=g+1}}s===void 0&&(s=u+1)}if(this.rules.splice(s,0,r),this.ruleBy[f]=r,this.style){let g=this.style.sheet,y=0,v=h=>{let i=this.rules[h];if(i){if(!i.natives.length)return v(h-1);let d=i.natives[i.natives.length-1].cssRule;for(let b=0;b<g.cssRules.length;b++)if(g.cssRules[b]===d){y=b+1;break}}};v(s-1);for(let h=0;h<r.natives.length;)try{let i=r.natives[h];g.insertRule(i.text,y),i.cssRule=g.cssRules[y++],h++}catch(i){console.error(i),r.natives.splice(h,1)}}this.handleRuleWithVariableNames(r),this.handleRuleWithAnimationNames(r),r.options.insert?.call(r)}}get text(){return this.rules.map(e=>e.text).join("")}getExtendedConfig(...e){let r=a=>{let o=H({},a),p=c=>{for(let f in c){let l=c[f];typeof l=="object"&&!Array.isArray(l)?p(l):f&&!f.startsWith("@")&&(c[f]={"":l})}};return o.styles?p(o.styles):o.styles={},o.mediaQueries?p(o.mediaQueries):o.mediaQueries={},o.variables?p(o.variables):o.variables={},o},s=[];for(let a of e)(function o(p){if(p.extends?.length)for(let c of p.extends)o("config"in c?c.config:c);s.push(r(p))})(a);let m=s[0];for(let a=1;a<s.length;a++){let o=s[a];m=H(m,o),Object.prototype.hasOwnProperty.call(o,"animations")&&Object.assign(m.animations,o.animations)}return m}handleRuleWithAnimationNames(e,r=!1){if(e.animationNames){let s=this.style?.sheet;for(let m of e.animationNames){let a=this.animations[m];if(a.usage)a.usage++;else{let o={text:`@keyframes ${m}{`+Object.entries(a).filter(([f])=>f!=="usage"&&f!=="native").map(([f,l])=>`${f}{${Object.entries(l).map(([n,u])=>n+":"+u).join(";")}}`).join("")+"}"},p=this.hasVariablesRule?1:0,c;if(this.hasKeyframesRule?(c=this.rules[p]).natives.push(o):(this.rules.splice(p,0,c={natives:[o],get text(){return this.natives.map(f=>f.text).join("")}}),this.hasKeyframesRule=!0),s){let f;if(r)for(let l=0;l<s.cssRules.length;l++){let n=s.cssRules[l];if(!(n.constructor.name==="CSSStyleRule"&&n.style.length===1&&n.style[0].startsWith("--")&&!n.selectorText.startsWith(".\\$"))){if(n.constructor.name!=="CSSKeyframesRule")break;if(n.name===m){f=n;break}}}if(f)o.cssRule=f;else{let l=(this.hasVariablesRule?this.rules[0].natives.length:0)+c.natives.length;s.insertRule(o.text,l),o.cssRule=s.cssRules[l]}}a.usage=1,a.native=o}}}}handleRuleWithVariableNames(e,r=!1){if(e.variableNames){let s=this.style?.sheet;for(let m of e.variableNames){let a=this.variables[m];if(a.usage)a.usage++;else{let o=[],p=(f,l)=>{l.value&&o.push({text:`${f?this.config.themeDriver==="media"?`@media(prefers-color-scheme:${f})`:this.config.themeDriver==="host"?`:host(.${f})`:`.${f}`:":root"}{--${m}:${l.value}}`})};if(p("",a),a.themes)for(let f in a.themes)p(f,a.themes[f]);let c=0;if(this.hasVariablesRule?(c=this.rules[0].natives.length,this.rules[0].natives.push(...o)):(this.rules.splice(0,0,{natives:[...o],get text(){return this.natives.map(f=>f.text).join("")}}),this.hasVariablesRule=!0),s){let f=o[0],l;if(r)for(let n=0;n<s.cssRules.length;n++){let u=s.cssRules[n];if(u.constructor.name!=="CSSStyleRule"||u.style.length!==1||!u.style[0].startsWith("--")||u.selectorText.startsWith(".\\$"))break;if(f.text.startsWith(u.selectorText+"{")&&u.style[0].startsWith("--"+m)){l=n;break}}for(let n=0;n<o.length;n++){let u=o[n];if(l!==void 0)u.cssRule=s.cssRules[l+n];else{let g=c+n;s.insertRule(u.text,g),u.cssRule=s.cssRules[g]}}}a.usage=1,a.natives=o}}}}};globalThis.MasterCSS=ee,globalThis.masterCSSs||(globalThis.masterCSSs=[]);window.masterCSS=new ee(window.masterCSSConfig).observe(document);})();

@@ -1,1 +0,1 @@

{"name":"@master/css","scripts":{"build":"techor pack --external @master/css-renderer @master/css-extractor","dev":"pnpm run build --watch --no-declare","test":"jest","type-check":"tsc --noEmit","lint":"eslint src"},"license":"MIT","description":"A markup-driven CSS language with enhanced syntax","author":"Aoyue Design LLC.","funding":"https://css.master.co/docs/donate","homepage":"https://css.master.co","bugs":{"url":"https://github.com/master-co/css/issues"},"repository":{"type":"git","url":"https://github.com/master-co/css.git","directory":"packages/css"},"keywords":["style","styles","html","variants","virtual","virtual-css","utility","css","ui","lightweight","class","webpack","plugin","integration","vite","parcel","build-tools","mastercss"],"sideEffects":false,"main":"./dist/index.bundle.js","jsnext:main":"./dist/index.bundle.mjs","esnext":"./dist/index.bundle.mjs","module":"./dist/index.bundle.mjs","browser":"./dist/index.browser.bundle.js","types":"./dist/index.d.ts","exports":{".":{"browser":{"import":"./dist/index.bundle.mjs","types":"./dist/index.browser.d.ts"},"require":"./dist/index.bundle.js","import":"./dist/index.bundle.mjs","types":"./dist/index.d.ts"}},"files":["dist"],"bin":{"mcss":"./dist/bin/index.bundle.js","mastercss":"./dist/bin/index.bundle.js"},"publishConfig":{"access":"public"},"dependencies":{"@master/normal.css":"^2.0.0-beta.195","@techor/fs":"^2.5.4","@techor/log":"^2.5.4","commander":"^11.0.0"},"devDependencies":{"@techor/extend":"^2.5.4","@techor/pack":"^2.5.4","css-shared":"^2.0.0-beta.195","csstype":"^3.1.2","puppeteer":"^21.0.1","vite":"^4.2.1"},"version":"2.0.0-beta.195"}
{"name":"@master/css","scripts":{"build":"techor pack --external @master/css-renderer @master/css-extractor","dev":"pnpm run build --watch --no-declare","test":"jest","type-check":"tsc --noEmit","lint":"eslint src"},"license":"MIT","description":"A markup-driven CSS language with enhanced syntax","author":"Aoyue Design LLC.","funding":"https://css.master.co/docs/donate","homepage":"https://css.master.co","bugs":{"url":"https://github.com/master-co/css/issues"},"repository":{"type":"git","url":"https://github.com/master-co/css.git","directory":"packages/css"},"keywords":["style","styles","html","variants","virtual","virtual-css","utility","css","ui","lightweight","class","webpack","plugin","integration","vite","parcel","build-tools","mastercss"],"sideEffects":false,"main":"./dist/index.bundle.js","jsnext:main":"./dist/index.bundle.mjs","esnext":"./dist/index.bundle.mjs","module":"./dist/index.bundle.mjs","browser":"./dist/index.browser.bundle.js","types":"./dist/index.d.ts","exports":{".":{"browser":{"import":"./dist/index.bundle.mjs","types":"./dist/index.browser.d.ts"},"require":"./dist/index.bundle.js","import":"./dist/index.bundle.mjs","types":"./dist/index.d.ts"}},"files":["dist"],"bin":{"mcss":"./dist/bin/index.bundle.js","mastercss":"./dist/bin/index.bundle.js"},"publishConfig":{"access":"public"},"dependencies":{"@master/normal.css":"^2.0.0-beta.196","@techor/fs":"^2.5.4","@techor/log":"^2.5.4","commander":"^11.0.0"},"devDependencies":{"@techor/extend":"^2.5.4","@techor/pack":"^2.5.4","css-shared":"^2.0.0-beta.196","csstype":"^3.1.2","puppeteer":"^21.0.1","vite":"^4.2.1"},"version":"2.0.0-beta.196"}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc