@master/css-runtime 2.0.0-rc.22 → 2.0.0-rc.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/global.min.js +1 -1
- package/dist/index.cjs +8 -5
- package/dist/index.mjs +8 -5
- package/package.json +1 -1
package/dist/global.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){var e,t={},r={},a={"::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"},i={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"}},l={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"}}},s={"4xs":360,"3xs":480,"2xs":600,xs:768,sm:834,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560};let o={full:"100%",fit:"fit-content",max:"max-content",min:"min-content","font-family":{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"]},screen:s,"font-weight":{thin:100,extralight:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,heavy:900},"flex-direction":{col:"column","col-reverse":"column-reverse"},"box-sizing":{content:"content-box",border:"border-box"},position:{abs:"absolute",rel:"relative"},"transform-box":{content:"content-box",border:"border-box",padding:"padding-box",fill:"fill-box",stroke:"stroke-box",view:"view-box"},"animation-direction":{alt:"alternate","alt-reverse":"alternate-reverse"},"background-clip":{content:"content-box",border:"border-box",padding:"padding-box"},"background-origin":{content:"content-box",border:"border-box",padding:"padding-box"},order:{first:-999999,last:999999},"shape-outside":{content:"content-box",border:"border-box",padding:"padding-box",margin:"margin-box"},"clip-path":{content:"content-box",border:"border-box",padding:"padding-box",margin:"margin-box",fill:"fill-box",stroke:"stroke-box",view:"view-box"},current:"currentColor",text:{invert:{"@light":"#ffffff","@dark":"#000000"},strong:{"@light":"$(slate-95)","@dark":"$(gray-10)"},neutral:{"@light":"$(slate-70)","@dark":"$(gray-30)"},lightest:{"@light":"$(slate-30)","@dark":"$(gray-60)"},lighter:{"@light":"$(slate-40)","@dark":"$(gray-50)"},light:{"@light":"$(slate-50)","@dark":"$(gray-40)"},gray:{"@light":"$(gray-60)","@dark":"$(gray-30)"},slate:{"@light":"$(slate-60)","@dark":"$(slate-30)"},brown:{"@light":"$(brown-60)","@dark":"$(brown-30)"},orange:{"@light":"$(orange-60)","@dark":"$(orange-30)"},amber:{"@light":"$(amber-60)","@dark":"$(amber-40)"},yellow:{"@light":"$(yellow-60)","@dark":"$(yellow-40)"},lime:{"@light":"$(lime-70)","@dark":"$(lime-40)"},green:{"@light":"$(green-70)","@dark":"$(green-40)"},beryl:{"@light":"$(beryl-70)","@dark":"$(beryl-40)"},teal:{"@light":"$(teal-70)","@dark":"$(teal-40)"},cyan:{"@light":"$(cyan-70)","@dark":"$(cyan-40)"},sky:{"@light":"$(sky-70)","@dark":"$(sky-30)"},blue:{"@light":"$(blue-60)","@dark":"$(blue-30)"},indigo:{"@light":"$(indigo-60)","@dark":"$(indigo-30)"},violet:{"@light":"$(violet-60)","@dark":"$(violet-30)"},purple:{"@light":"$(purple-60)","@dark":"$(purple-30)"},fuchsia:{"@light":"$(fuchsia-60)","@dark":"$(fuchsia-30)"},pink:{"@light":"$(pink-60)","@dark":"$(pink-30)"},crimson:{"@light":"$(crimson-60)","@dark":"$(crimson-30)"},red:{"@light":"$(red-60)","@dark":"$(red-30)"}},base:{"@light":"$(white)","@dark":"$(gray-95)"},canvas:{"@light":"$(slate-5)","@dark":"$(gray-90)"},surface:{"@light":"$(white)","@dark":"$(gray-80)"},invert:{"@light":"#000000","@dark":"#ffffff"},white:"#ffffff",black:"#000000",frame:{"@light":"$(slate-60)","@dark":"$(gray-30)"},gray:{5:"#f6f5f7",10:"#efeef0",20:"#cdccce",30:"#a2a1a3",40:"#89888a",50:"#737274",60:"#585759",70:"#444345",80:"#323133",90:"#29282a",95:"#222123","@light":"$(gray-30)","@dark":"$(gray-40)"},slate:{5:"#f8f9fb",10:"#eff2f9",20:"#c8d0e3",30:"#9fabc6",40:"#7c8cab",50:"#5f7395",60:"#455572",70:"#37455d",80:"#283348",90:"#1d273a",95:"#182030","@light":"$(slate-30)","@dark":"$(slate-40)"},brown:{5:"#fff6f0",10:"#feefe3",20:"#f3bea4",30:"#e7976e",40:"#da7c4d",50:"#cc6633",60:"#b65325",70:"#9d4119",80:"#833111",90:"#692007",95:"#431304","@light":"$(brown-40)","@dark":"$(brown-50)"},orange:{5:"#fff5ea",10:"#fff5df",20:"#ffcb9e",30:"#ff9b47",40:"#ff8528",50:"#ff6c0a",60:"#e05200",70:"#bc3e00",80:"#992d00",90:"#701d00",95:"#471100","@light":"$(orange-40)","@dark":"$(orange-50)"},amber:{5:"#fff9eb",10:"#fff4db",20:"#ffe099",30:"#ffc133",40:"#ffb10a",50:"#f99e00",60:"#e57e00",70:"#c15d00",80:"#a34900",90:"#753200",95:"#4c1f00","@light":"$(amber-40)","@dark":"$(amber-50)"},yellow:{5:"#fffae5",10:"#fffed1",20:"#ffe993",30:"#ffd233",40:"#ffc300",50:"#efaf00",60:"#d69200",70:"#b77400",80:"#9e5c00",90:"#753c00",95:"#4c2600","@light":"$(yellow-40)","@dark":"$(yellow-50)"},lime:{5:"#f5ffe5",10:"#f5ffd6",20:"#d1fb8d",30:"#acec46",40:"#91d91a",50:"#77c012",60:"#61a60c",70:"#4c8d07",80:"#367604",90:"#256000",95:"#1b3d00","@light":"$(lime-40)","@dark":"$(lime-50)"},green:{5:"#e7fdea",10:"#dbfee4",20:"#a5f7b8",30:"#35ed66",40:"#00d655",50:"#00c147",60:"#00ad3f",70:"#008e34",80:"#007a2c",90:"#006023",95:"#003d16","@light":"$(green-40)","@dark":"$(green-50)"},beryl:{5:"#e0fef2",10:"#d2fff7",20:"#6cffd4",30:"#0fefa4",40:"#04e09e",50:"#04cb8f",60:"#00b277",70:"#009360",80:"#007f50",90:"#00663e",95:"#003d24","@light":"$(beryl-40)","@dark":"$(beryl-50)"},teal:{5:"#dbfefd",10:"#cfffff",20:"#7ffff6",30:"#00f4e4",40:"#00e4d4",50:"#00ccc8",60:"#00aeb7",70:"#0092a3",80:"#00798e",90:"#005d75",95:"#003747","@light":"$(teal-40)","@dark":"$(teal-50)"},cyan:{5:"#e0ffff",10:"#d1ffff",20:"#7ff6ff",30:"#1ee1ff",40:"#00ccf9",50:"#00b3ea",60:"#0099d6",70:"#007dbc",80:"#0067a8",90:"#005089",95:"#003156","@light":"$(cyan-40)","@dark":"$(cyan-50)"},sky:{5:"#e5f5ff",10:"#d9f8ff",20:"#a3deff",30:"#6bc6ff",40:"#34b2fd",50:"#059fff",60:"#008df9",70:"#0073e0",80:"#005cc6",90:"#0041a3",95:"#002566","@light":"$(sky-60)","@dark":"$(sky-50)"},blue:{5:"#e5f3fe",10:"#dbf2fe",20:"#add7ff",30:"#70b0ff",40:"#4c93fd",50:"#3a7cff",60:"#2563fd",70:"#1b53ec",80:"#1947d1",90:"#1735a2",95:"#102069","@light":"$(blue-60)","@dark":"$(blue-50)"},indigo:{5:"#f0f1fe",10:"#e9ecfe",20:"#c8cdfe",30:"#939eff",40:"#7e81fe",50:"#7068ff",60:"#5b4cfd",70:"#4e39ed",80:"#4732d2",90:"#3623a3",95:"#26176c","@light":"$(indigo-60)","@dark":"$(indigo-50)"},violet:{5:"#f2efff",10:"#efe8ff",20:"#d7c5ff",30:"#b198fe",40:"#9a70ff",50:"#8e56fe",60:"#812fff",70:"#7407f2",80:"#6405d1",90:"#4f05a3",95:"#35036e","@light":"$(violet-60)","@dark":"$(violet-50)"},purple:{5:"#f6f0ff",10:"#f6e8fe",20:"#e2bffe",30:"#c492fd",40:"#b266ff",50:"#a849fe",60:"#9514ff",70:"#8200e5",80:"#7100c1",90:"#58008e",95:"#3e0060","@light":"$(purple-60)","@dark":"$(purple-50)"},fuchsia:{5:"#faf0ff",10:"#fde8fe",20:"#f0baff",30:"#dd89fe",40:"#d760fe",50:"#cf33ff",60:"#b700e5",70:"#a200c6",80:"#8700a3",90:"#660175",95:"#480051","@light":"$(fuchsia-60)","@dark":"$(fuchsia-50)"},pink:{5:"#fef1f9",10:"#fee9f8",20:"#ffb8df",30:"#f986c1",40:"#fa65b2",50:"#f747a2",60:"#ef2188",70:"#d61673",80:"#b80c5c",90:"#8f0543",95:"#64032f","@light":"$(pink-60)","@dark":"$(pink-50)"},crimson:{5:"#ffeff2",10:"#ffe8ec",20:"#ffbac7",30:"#ff849d",40:"#ff6684",50:"#fc4065",60:"#ed2a51",70:"#d7173e",80:"#bb1536",90:"#8f132c",95:"#620e1f","@light":"$(crimson-60)","@dark":"$(crimson-50)"},red:{5:"#ffefef",10:"#fee8e8",20:"#ffbcbc",30:"#ff8787",40:"#fd5f5f",50:"#f73f3f",60:"#e52e2e",70:"#d01b1b",80:"#b81919",90:"#921515",95:"#650f0f","@light":"$(red-60)","@dark":"$(red-50)"}};var n={},c=function(e){let t;if("undefined"!=typeof CSS)return CSS.escape(e);if(0==arguments.length)throw TypeError("`CSS.escape` requires an argument.");let r=String(e),a=r.length,i=-1,l="",s=r.charCodeAt(0);if(1==a&&45==s)return"\\"+r;for(;++i<a;){if(0==(t=r.charCodeAt(i))){l+="�";continue}if(t>=1&&t<=31||127==t||0==i&&t>=48&&t<=57||1==i&&t>=48&&t<=57&&45==s){l+="\\"+t.toString(16)+" ";continue}if(t>=128||45==t||95==t||t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122){l+=r.charAt(i);continue}l+="\\"+r.charAt(i)}return l},h={};h.START_SYMBOLS={"(":")","'":"'",'"':'"',"{":"}"};var d={};d.Layer=void 0,(e=d.Layer||(d.Layer={}))[e.Semantic=-8]="Semantic",e[e.CoreNativeShorthand=-7]="CoreNativeShorthand",e[e.NativeShorthand=-6]="NativeShorthand",e[e.CoreShorthand=-5]="CoreShorthand",e[e.Shorthand=-4]="Shorthand",e[e.CoreNative=-3]="CoreNative",e[e.Native=-2]="Native",e[e.Core=-1]="Core",e[e.Normal=0]="Normal",Object.defineProperty(n,"__esModule",{value:!0});let f=["none","auto","hidden","dotted","dashed","solid","double","groove","ridge","inset","outset"],m=function(e){return e.length<2||e.find(e=>"string"===e.type&&f.includes(e.value)||"variable"===e.type&&f.includes(e.variable?.value))||e.push({type:"separator",value:" "},{type:"string",value:"solid"}),e},u={group:{match:/^(?:.+?[*_>~+])?\{.+?\}/,layer:d.Layer.Core,analyze(e){let t=0;for(;t<e.length&&("{"!==e[t]||"\\"===e[t-1]);t++);return[e.slice(t),e.slice(0,t)]},declare(e){let t={},r=e=>{let r=e.indexOf(":");-1!==r&&(t[e.slice(0,r)]=e.slice(r+1))},a=e=>{let t=t=>{let a=t.slice(c(e.className).length).match(/\{(.*)\}/)?.[1].split(";");if(a)for(let e of a)r(e)};for(let r of e.natives)t(r.text);if(e.animationNames)for(let t of(this.animationNames||(this.animationNames=[]),e.animationNames))this.animationNames.includes(t)||this.animationNames.push(t);if(e.variableNames)for(let t of(this.variableNames||(this.variableNames=[]),e.variableNames))this.variableNames.includes(t)||this.variableNames.push(t)},i=[],l="",s=()=>{l&&(i.push(l.replace(/ /g,"|")),l="")},o=1;for(let t of(!function t(r){for(;o<e.length;o++){let a=e[o];if(!r){if(";"===a){s();continue}if("}"===a)break}if(l+=a,r===a){if("'"===r||'"'===r){let e=0;for(let t=l.length-2;"\\"===l[t];t--)e++;if(e%2)continue}break}a in h.START_SYMBOLS&&"'"!==r&&'"'!==r&&(o++,t(h.START_SYMBOLS[a]))}}(""),s(),i)){let e=this.css.generate(t);if(e.length)for(let t of e)a(t);else r(t)}return t}},variable:{match:/^\$[\w-]+:/,colored:!0,layer:d.Layer.Core,declare(e){return{["--"+this.prefix.slice(1,-1)]:e}}},"font-size":{match:["f(?:ont)?"],numeric:!0,unit:"rem",layer:d.Layer.CoreNative},"font-weight":{match:["f(?:ont)?",["bolder"]],layer:d.Layer.CoreNative},"font-family":{match:["f(?:ont)?"],layer:d.Layer.CoreNative},"font-smoothing":{match:["f(?:ont)?",["antialiased","subpixel-antialiased"]],layer:d.Layer.CoreNative,declare(e){switch(e){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"}}}},"font-style":{match:["f(?:ont)?",["normal","italic","oblique"]],layer:d.Layer.CoreNative,unit:"deg"},"font-variant-numeric":{match:["f(?:ont)?",["ordinal","slashed-zero","lining-nums","oldstyle-nums","proportional-nums","tabular-nums","diagonal-fractions","stacked-fractions"]],layer:d.Layer.CoreNative},"font-variant":{layer:d.Layer.CoreNativeShorthand},"font-feature-settings":{match:/^font-feature:/,layer:d.Layer.CoreNative},font:{match:/^f:/,layer:d.Layer.CoreNativeShorthand,variables:["font-family","font-variant","font-weight","font-size","font-style","line-height"]},color:{match:/^(?:color|fg):/,layer:d.Layer.CoreNative,colored:!0,variables:["text"]},"margin-left":{match:/^ml:/,layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},"margin-right":{match:/^mr:/,layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},"margin-top":{match:/^mt:/,layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},"margin-bottom":{match:/^mb:/,layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},"margin-x":{match:/^(?:mx|margin-x):/,unit:"rem",layer:d.Layer.CoreShorthand,declare:e=>({"margin-left":e,"margin-right":e}),variables:["spacing"]},"margin-y":{match:/^(?:my|margin-y):/,unit:"rem",layer:d.Layer.CoreShorthand,declare:e=>({"margin-top":e,"margin-bottom":e}),variables:["spacing"]},margin:{match:/^m:/,unit:"rem",layer:d.Layer.CoreNativeShorthand,variables:["spacing"]},"margin-inline-start":{match:/^mis:/,layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},"margin-inline-end":{match:/^mie:/,layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},"margin-inline":{match:/^mi:/,unit:"rem",layer:d.Layer.CoreNativeShorthand,variables:["spacing"]},"padding-left":{match:/^pl:/,layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},"padding-right":{match:/^pr:/,layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},"padding-top":{match:/^pt:/,layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},"padding-bottom":{match:/^pb:/,layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},"padding-x":{match:/^(?:px|padding-x):/,unit:"rem",layer:d.Layer.CoreShorthand,declare:e=>({"padding-left":e,"padding-right":e}),variables:["spacing"]},"padding-y":{match:/^(?:py|padding-y):/,unit:"rem",layer:d.Layer.CoreShorthand,declare:e=>({"padding-top":e,"padding-bottom":e}),variables:["spacing"]},padding:{match:/^p:/,unit:"rem",layer:d.Layer.CoreNativeShorthand,variables:["spacing"]},"padding-inline-start":{match:/^pis:/,layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},"padding-inline-end":{match:/^pie:/,layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},"padding-inline":{match:/^pi:/,unit:"rem",layer:d.Layer.CoreNativeShorthand,variables:["spacing"]},"flex-basis":{unit:"rem",layer:d.Layer.CoreNative},"flex-wrap":{match:["flex",["wrap","nowrap","wrap-reverse"]],layer:d.Layer.CoreNative},"flex-grow":{layer:d.Layer.CoreNative},"flex-shrink":{layer:d.Layer.CoreNative},"flex-direction":{match:["flex",["row","row-reverse","column","column-reverse"]],layer:d.Layer.CoreNative},flex:{layer:d.Layer.CoreNativeShorthand},display:{match:/^d:/,layer:d.Layer.CoreNative},width:{match:/^w:/,unit:"rem",layer:d.Layer.CoreNative},height:{match:/^h:/,unit:"rem",layer:d.Layer.CoreNative},"min-width":{match:/^min-w:/,unit:"rem",layer:d.Layer.CoreNative},"min-height":{match:/^min-h:/,unit:"rem",layer:d.Layer.CoreNative},size:{match:/^size:/,layer:d.Layer.CoreShorthand,unit:"rem",declare(e,t){let r=t.length;return{width:t[0].text,height:1===r?t[0].text:t[2].text}}},"min-size":{match:/^min:/,layer:d.Layer.CoreShorthand,unit:"rem",declare(e,t){let r=t.length;return{"min-width":t[0].text,"min-height":1===r?t[0].text:t[2].text}}},"max-size":{match:/^max:/,layer:d.Layer.CoreShorthand,unit:"rem",declare(e,t){let r=t.length;return{"max-width":t[0].text,"max-height":1===r?t[0].text:t[2].text}}},"box-sizing":{match:/^box:/,layer:d.Layer.CoreNative},"box-decoration-break":{match:["box-decoration",["slice","clone"]],layer:d.Layer.CoreNative,declare:e=>({"box-decoration-break":e,"-webkit-box-decoration-break":e})},contain:{layer:d.Layer.CoreNative},content:{layer:d.Layer.CoreNative},"counter-increment":{layer:d.Layer.CoreNative},"counter-reset":{layer:d.Layer.CoreNative},"letter-spacing":{match:/^ls:/,layer:d.Layer.CoreNative,unit:"em"},"line-height":{match:/^lh:/,layer:d.Layer.CoreNative},"object-fit":{match:["(?:object|obj)",["contain","cover","fill","scale-down"]],layer:d.Layer.CoreNative},"object-position":{match:["(?:object|obj)",["top","bottom","right","left","center"]],layer:d.Layer.CoreNative},"text-align":{match:["t(?:ext)?",["justify","center","left","right","start","end"]],layer:d.Layer.CoreNative},"text-decoration-color":{match:["text-decoration"],layer:d.Layer.CoreNative,colored:!0,variables:["text"]},"text-decoration-style":{match:["t(?:ext)?",["solid","double","dotted","dashed","wavy"]],layer:d.Layer.CoreNative},"text-decoration-thickness":{match:["text-decoration",["from-font"]],numeric:!0,layer:d.Layer.CoreNative,unit:"em"},"text-decoration-line":{match:["t(?:ext)?",["none","underline","overline","line-through"]],layer:d.Layer.CoreNative},"text-decoration":{match:["t(?:ext)?",["underline","overline","line-through"]],unit:"rem",colored:!0,layer:d.Layer.CoreNativeShorthand,variables:["text"]},"text-underline-offset":{unit:"rem",layer:d.Layer.CoreNative,variables:["spacing"]},"text-overflow":{match:["t(?:ext)?",["ellipsis","clip"]],layer:d.Layer.CoreNative},"text-orientation":{match:["t(?:ext)?",["mixed","upright","sideways-right","sideways","use-glyph-orientation"]],layer:d.Layer.CoreNative},"text-transform":{match:["t(?:ext)?",["uppercase","lowercase","capitalize"]],layer:d.Layer.CoreNative},"text-rendering":{match:["t(?:ext)?",["optimizeSpeed","optimizeLegibility","geometricPrecision"]],layer:d.Layer.CoreNative},"text-indent":{unit:"rem",layer:d.Layer.CoreNative},"vertical-align":{match:/^(?:v|vertical):/,layer:d.Layer.CoreNative},columns:{match:/^(?:columns|cols):/,layer:d.Layer.CoreNativeShorthand},"white-space":{layer:d.Layer.CoreNative},top:{layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},bottom:{layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},left:{layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},right:{layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},inset:{unit:"rem",layer:d.Layer.CoreNativeShorthand,variables:["spacing"]},lines:{match:/^lines:/,declare:e=>({overflow:"hidden",display:"-webkit-box","overflow-wrap":"break-word","text-overflow":"ellipsis","-webkit-box-orient":"vertical","-webkit-line-clamp":e})},"max-height":{match:/^max-h:/,unit:"rem",layer:d.Layer.CoreNative},"max-width":{match:/^max-w:/,unit:"rem",layer:d.Layer.CoreNative},opacity:{layer:d.Layer.CoreNative},visibility:{layer:d.Layer.CoreNative},clear:{layer:d.Layer.CoreNative},float:{layer:d.Layer.CoreNative},isolation:{layer:d.Layer.CoreNative},"overflow-x":{layer:d.Layer.CoreNative,declare:e=>"overlay"===e?{"overflow-x":["auto",e]}:{"overflow-x":e}},"overflow-y":{layer:d.Layer.CoreNative,declare:e=>"overlay"===e?{"overflow-y":["auto",e]}:{"overflow-y":e}},overflow:{layer:d.Layer.CoreNativeShorthand,declare:e=>"overlay"===e?{overflow:["auto",e]}:{overflow:e}},"overscroll-behavior-x":{layer:d.Layer.CoreNative},"overscroll-behavior-y":{layer:d.Layer.CoreNative},"overscroll-behavior":{layer:d.Layer.CoreNativeShorthand},"z-index":{match:/^z:/,layer:d.Layer.CoreNative},position:{layer:d.Layer.CoreNative},cursor:{layer:d.Layer.CoreNative},"pointer-events":{layer:d.Layer.CoreNative},resize:{layer:d.Layer.CoreNative},"touch-action":{layer:d.Layer.CoreNative},"word-break":{layer:d.Layer.CoreNative},"word-spacing":{layer:d.Layer.CoreNative,unit:"em"},"user-drag":{layer:d.Layer.CoreNative,declare:e=>({"user-drag":e,"-webkit-user-drag":e})},"user-select":{layer:d.Layer.CoreNative,declare:e=>({"user-select":e,"-webkit-user-select":e})},"text-shadow":{unit:"rem",layer:d.Layer.CoreNative,colored:!0},"text-size":{match:["t(?:ext)?"],numeric:!0,unit:"rem",declare:e=>({"font-size":e,"line-height":`calc(${e} + 0.875em)`})},"text-fill-color":{match:["(?:text-fill|text|t)"],layer:d.Layer.CoreNative,colored:!0,variables:["text"],declare:e=>({"-webkit-text-fill-color":e})},"text-stroke-width":{match:["text-stroke",["thin","medium","thick"]],numeric:!0,unit:"rem",layer:d.Layer.CoreNative,declare:e=>({"-webkit-text-stroke-width":e})},"text-stroke-color":{match:["text-stroke"],layer:d.Layer.CoreNative,colored:!0,variables:["text"],declare:e=>({"-webkit-text-stroke-color":e})},"text-stroke":{unit:"rem",layer:d.Layer.CoreNative,declare:e=>({"-webkit-text-stroke":e})},"box-shadow":{match:/^s(?:hadow)?:/,unit:"rem",layer:d.Layer.CoreNative,colored:!0},"table-layout":{layer:d.Layer.CoreNative},"transform-box":{match:["transform"],layer:d.Layer.CoreNative},"transform-style":{match:["transform",["flat","preserve-3d"]],layer:d.Layer.CoreNative},"transform-origin":{match:["transform",["top","bottom","right","left","center"]],numeric:!0,unit:"px",layer:d.Layer.CoreNative},transform:{match:/^(?:translate|scale|skew|rotate|perspective|matrix)(?:3d|[XYZ])?\(/,layer:d.Layer.CoreNative,analyze:e=>[e.startsWith("transform")?e.slice(10):e],variables:["spacing"]},"transition-property":{match:/^~property:/,layer:d.Layer.CoreNative},"transition-timing-function":{match:/^~easing:/,layer:d.Layer.CoreNative},"transition-duration":{match:/^~duration:/,layer:d.Layer.CoreNative,unit:"ms"},"transition-delay":{match:/^~delay:/,layer:d.Layer.CoreNative,unit:"ms"},transition:{match:/^~[^!*>+~:[@_]+\|/,analyze(e){if(e.startsWith("~"))return[e.slice(1)];{let t=e.indexOf(":");return this.prefix=e.slice(0,t+1),[e.slice(t+1)]}},layer:d.Layer.CoreNativeShorthand},"animation-delay":{match:/^@delay:/,layer:d.Layer.CoreNative,unit:"ms"},"animation-direction":{match:/^@direction:/,layer:d.Layer.CoreNative},"animation-duration":{match:/^@duration:/,layer:d.Layer.CoreNative,unit:"ms"},"animation-fill-mode":{match:/^@fill:/,layer:d.Layer.CoreNative},"animation-iteration-count":{match:/^@iteration:/,layer:d.Layer.CoreNative},"animation-name":{match:/^@name:/,layer:d.Layer.CoreNative},"animation-play-state":{match:/^@play:/,layer:d.Layer.CoreNative},"animation-timing-function":{match:/^@easing:/,layer:d.Layer.CoreNative},animation:{match:/^@[^!*>+~:[@_]+\|/,layer:d.Layer.CoreNativeShorthand,analyze(e){if(e.startsWith("@"))return[e.slice(1)];{let t=e.indexOf(":");return this.prefix=e.slice(0,t+1),[e.slice(t+1)]}}},"border-collapse":{match:["b(?:order)?",["collapse","separate"]],layer:d.Layer.CoreNative},"border-spacing":{unit:"rem",layer:d.Layer.CoreNative},"border-top-color":{match:["b(?:t|order-top(?:-color)?)"],layer:d.Layer.CoreNative,colored:!0},"border-bottom-color":{match:["b(?:b|order-bottom(?:-color)?)"],layer:d.Layer.CoreNative,colored:!0},"border-left-color":{match:["b(?:l|order-left(?:-color)?)"],layer:d.Layer.CoreNative,colored:!0},"border-right-color":{match:["b(?:r|order-right(?:-color)?)"],layer:d.Layer.CoreNative,colored:!0},"border-x-color":{match:["b(?:x|order-x(?:-color)?)"],layer:d.Layer.CoreShorthand,colored:!0,declare:e=>({"border-left-color":e,"border-right-color":e})},"border-y-color":{match:["b(?:y|order-y(?:-color)?)"],layer:d.Layer.CoreShorthand,colored:!0,declare:e=>({"border-top-color":e,"border-bottom-color":e})},"border-color":{match:["b(?:order)?(?:-color)?"],layer:d.Layer.CoreNativeShorthand,colored:!0},"border-top-left-radius":{match:/^r(?:tl|lt):/,unit:"rem",layer:d.Layer.CoreNative},"border-top-right-radius":{match:/^r(?:tr|rt):/,unit:"rem",layer:d.Layer.CoreNative},"border-bottom-left-radius":{match:/^r(?:bl|lb):/,unit:"rem",layer:d.Layer.CoreNative},"border-bottom-right-radius":{match:/^r(?:br|rb):/,unit:"rem",layer:d.Layer.CoreNative},"border-top-radius":{match:/^rt:/,unit:"rem",layer:d.Layer.CoreShorthand,declare:e=>({"border-top-left-radius":e,"border-top-right-radius":e})},"border-bottom-radius":{match:/^rb:/,unit:"rem",layer:d.Layer.CoreShorthand,declare:e=>({"border-bottom-left-radius":e,"border-bottom-right-radius":e})},"border-left-radius":{match:/^rl:/,unit:"rem",layer:d.Layer.CoreShorthand,declare:e=>({"border-top-left-radius":e,"border-bottom-left-radius":e})},"border-right-radius":{match:/^rr:/,unit:"rem",layer:d.Layer.CoreShorthand,declare:e=>({"border-top-right-radius":e,"border-bottom-right-radius":e})},"border-radius":{match:/^r:/,unit:"rem",layer:d.Layer.CoreNativeShorthand},"border-top-style":{match:["b(?:t|order-top(?:-style)?)",f],layer:d.Layer.CoreNative},"border-bottom-style":{match:["b(?:b|order-bottom(?:-style)?)",f],layer:d.Layer.CoreNative},"border-left-style":{match:["b(?:l|order-left(?:-style)?)",f],layer:d.Layer.CoreNative},"border-right-style":{match:["b(?:r|order-right(?:-style)?)",f],layer:d.Layer.CoreNative},"border-x-style":{match:["b(?:x|order-x(?:-style)?)",f],layer:d.Layer.CoreShorthand,declare:e=>({"border-left-style":e,"border-right-style":e})},"border-y-style":{match:["b(?:y|order-y(?:-style)?)",f],layer:d.Layer.CoreShorthand,declare:e=>({"border-top-style":e,"border-bottom-style":e})},"border-style":{match:["b(?:order)?(?:-style)?",f],layer:d.Layer.CoreNativeShorthand},"border-top-width":{match:["b(?:t|order-top(?:-width)?)"],numeric:!0,unit:"rem",layer:d.Layer.CoreNative},"border-bottom-width":{match:["b(?:b|order-bottom(?:-width)?)"],numeric:!0,unit:"rem",layer:d.Layer.CoreNative},"border-left-width":{match:["b(?:l|order-left(?:-width)?)"],numeric:!0,unit:"rem",layer:d.Layer.CoreNative},"border-right-width":{match:["b(?:r|order-right(?:-width)?)"],numeric:!0,unit:"rem",layer:d.Layer.CoreNative},"border-x-width":{match:["b(?:x|order-x(?:-width)?)"],numeric:!0,unit:"rem",layer:d.Layer.CoreShorthand,declare:e=>({"border-left-width":e,"border-right-width":e})},"border-y-width":{match:["b(?:y|order-y(?:-width)?)"],numeric:!0,unit:"rem",layer:d.Layer.CoreShorthand,declare:e=>({"border-top-width":e,"border-bottom-width":e})},"border-width":{match:["b(?:order)?(?:-width)?"],numeric:!0,unit:"rem",layer:d.Layer.CoreNativeShorthand},"border-image-outset":{unit:"rem",layer:d.Layer.CoreNative},"border-image-repeat":{match:["border-image",["stretch","repeat","round","space"]],layer:d.Layer.CoreNative},"border-image-slice":{layer:d.Layer.CoreNative},"border-image-source":{match:["border-image",["url","linear-gradient","radial-gradient","repeating-linear-gradient","repeating-radial-gradient","conic-gradient"]],layer:d.Layer.CoreNative},"border-image-width":{match:["border-image",["auto"]],numeric:!0,unit:"rem",layer:d.Layer.CoreNative},"border-image":{layer:d.Layer.CoreNativeShorthand},"border-top":{match:/^bt:/,layer:d.Layer.CoreNativeShorthand,unit:"rem",colored:!0,transformValueComponents:m},"border-bottom":{match:/^bb:/,layer:d.Layer.CoreNativeShorthand,unit:"rem",colored:!0,transformValueComponents:m},"border-left":{match:/^bl:/,layer:d.Layer.CoreNativeShorthand,unit:"rem",colored:!0,transformValueComponents:m},"border-right":{match:/^br:/,layer:d.Layer.CoreNativeShorthand,unit:"rem",colored:!0,transformValueComponents:m},"border-x":{match:/^(?:bx|border-x):/,unit:"rem",colored:!0,layer:d.Layer.CoreShorthand,transformValueComponents:m,declare:e=>({"border-left":e,"border-right":e})},"border-y":{match:/^(?:by|border-y):/,unit:"rem",colored:!0,layer:d.Layer.CoreShorthand,transformValueComponents:m,declare:e=>({"border-top":e,"border-bottom":e})},border:{match:/^b:/,unit:"rem",colored:!0,layer:d.Layer.CoreNativeShorthand,transformValueComponents:m},"background-attachment":{match:["(?:bg|background)",["fixed","local","scroll"]],layer:d.Layer.CoreNative},"background-blend-mode":{layer:d.Layer.CoreNative},"background-color":{match:["(?:bg|background)"],layer:d.Layer.CoreNative,colored:!0},"background-clip":{match:["(?:bg|background)",["text"]],layer:d.Layer.CoreNative,declare:e=>({"-webkit-background-clip":e,"background-clip":e})},"background-origin":{match:["(?:bg|background)"],layer:d.Layer.CoreNative},"background-position":{match:["(?:bg|background)",["top","bottom","right","left","center"]],layer:d.Layer.CoreNative,unit:"px"},"background-repeat":{match:["(?:bg|background)",["space","round","repeat","no-repeat","repeat-x","repeat-y"]],layer:d.Layer.CoreNative},"background-size":{match:["(?:bg|background)",["auto","cover","contain"]],numeric:!0,unit:"rem",layer:d.Layer.CoreNative},"background-image":{match:["(?:bg|background)",["(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)"]],layer:d.Layer.CoreNative},background:{match:/^bg:/,colored:!0,layer:d.Layer.CoreNativeShorthand},gradient:{match:/^gradient\(/,layer:d.Layer.CoreNative,colored:!0,declare:e=>({"background-image":"linear-"+e})},"mix-blend-mode":{match:/^blend:/,layer:d.Layer.CoreNative},"backdrop-filter":{match:/^bd:/,layer:d.Layer.CoreNative,colored:!0,declare:e=>({"backdrop-filter":e,"-webkit-backdrop-filter":e})},filter:{match:/^(?:blur|brightness|contrast|drop-shadow|grayscale|hue-rotate|invert|opacity|saturate|sepia)\(/,layer:d.Layer.CoreNative,colored:!0},fill:{match:/^fill:/,layer:d.Layer.CoreNative,colored:!0},"stroke-dasharray":{layer:d.Layer.CoreNative},"stroke-dashoffset":{layer:d.Layer.CoreNative,variables:["spacing"]},"stroke-width":{match:["stroke(?:-width)?"],numeric:!0,layer:d.Layer.CoreNative},stroke:{match:["stroke"],layer:d.Layer.CoreNative,colored:!0},x:{layer:d.Layer.CoreNative,variables:["spacing"]},y:{layer:d.Layer.CoreNative,variables:["spacing"]},cx:{layer:d.Layer.CoreNative,variables:["spacing"]},cy:{layer:d.Layer.CoreNative,variables:["spacing"]},rx:{layer:d.Layer.CoreNative},ry:{layer:d.Layer.CoreNative},"grid-column-start":{match:/^grid-col(?:umn)?-start:/,layer:d.Layer.CoreNative},"grid-column-end":{match:/^grid-col(?:umn)?-end:/,layer:d.Layer.CoreNative},"grid-column":{match:/^grid-col(?:umn)?(?:-span)?:/,layer:d.Layer.CoreNativeShorthand,transformValue(e){return"span"===this.prefix.slice(-5,-1)&&"auto"!==e?"span "+e+"/span "+e:e}},"grid-columns":{match:/^grid-col(?:umn)?s:/,declare:e=>({display:"grid","grid-template-columns":"repeat("+e+",minmax(0,1fr))"}),layer:d.Layer.Core},"grid-row-start":{layer:d.Layer.CoreNative},"grid-row-end":{layer:d.Layer.CoreNative},"grid-row":{match:/^grid-row-span:/,layer:d.Layer.CoreNativeShorthand,transformValue(e){return"span"===this.prefix.slice(-5,-1)&&"auto"!==e?"span "+e+"/span "+e:e}},"grid-rows":{match:/^grid-rows:/,declare:e=>({display:"grid","grid-auto-flow":"column","grid-template-rows":"repeat("+e+",minmax(0,1fr))"}),layer:d.Layer.Core},"grid-auto-columns":{match:/^grid-auto-cols:/,layer:d.Layer.CoreNative},"grid-auto-flow":{match:/^grid-flow:/,layer:d.Layer.CoreNative},"grid-auto-rows":{layer:d.Layer.CoreNative},"grid-template-areas":{layer:d.Layer.CoreNative},"grid-template-columns":{match:/^grid-template-cols:/,layer:d.Layer.CoreNative,unit:"rem"},"grid-template-rows":{layer:d.Layer.CoreNative,unit:"rem"},"grid-template":{layer:d.Layer.CoreNativeShorthand},"grid-area":{layer:d.Layer.CoreNativeShorthand},grid:{layer:d.Layer.CoreNativeShorthand},"column-gap":{match:/^gap-x:/,unit:"rem",layer:d.Layer.CoreNative,variables:["spacing"]},"row-gap":{match:/^gap-y:/,unit:"rem",layer:d.Layer.CoreNative,variables:["spacing"]},gap:{unit:"rem",layer:d.Layer.CoreNativeShorthand,variables:["spacing"]},order:{match:/^o:/,layer:d.Layer.CoreNative},"break-inside":{layer:d.Layer.CoreNative},"break-before":{layer:d.Layer.CoreNative},"break-after":{layer:d.Layer.CoreNative},"aspect-ratio":{match:/^aspect:/,layer:d.Layer.CoreNative},"column-span":{match:/^col-span:/,layer:d.Layer.CoreNative},"align-content":{match:/^ac:/,layer:d.Layer.CoreNative},"align-items":{match:/^ai:/,layer:d.Layer.CoreNative},"align-self":{match:/^as:/,layer:d.Layer.CoreNative},"justify-content":{match:/^jc:/,layer:d.Layer.CoreNative},"justify-items":{match:/^ji:/,layer:d.Layer.CoreNative},"justify-self":{match:/^js:/,layer:d.Layer.CoreNative},"place-content":{layer:d.Layer.CoreNativeShorthand},"place-items":{layer:d.Layer.CoreNativeShorthand},"place-self":{layer:d.Layer.CoreNativeShorthand},"list-style-position":{match:["list-style",["inside","outside"]],layer:d.Layer.CoreNative},"list-style-type":{match:["list-style",["disc","decimal"]],layer:d.Layer.CoreNative},"list-style-image":{match:["list-style",["(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)"]],layer:d.Layer.CoreNative},"list-style":{layer:d.Layer.CoreNativeShorthand},"outline-color":{match:["outline"],layer:d.Layer.CoreNative,colored:!0},"outline-offset":{unit:"rem",layer:d.Layer.CoreNative,variables:["spacing"]},"outline-style":{match:["outline",f],layer:d.Layer.CoreNative},"outline-width":{match:["outline",["medium","thick","thin"]],numeric:!0,unit:"rem",layer:d.Layer.CoreNative},outline:{unit:"rem",layer:d.Layer.CoreNativeShorthand,colored:!0,variables:["outline-width","outline-style","outline-offset","outline-color"],transformValueComponents:m},"accent-color":{match:/^accent:/,layer:d.Layer.CoreNative,colored:!0},appearance:{layer:d.Layer.CoreNative},"caret-color":{match:/^caret:/,layer:d.Layer.CoreNative,colored:!0,variables:["text"]},"scroll-behavior":{layer:d.Layer.CoreNative},"scroll-margin-left":{match:/^scroll-ml:/,layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},"scroll-margin-right":{match:/^scroll-mr:/,layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},"scroll-margin-top":{match:/^scroll-mt:/,layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},"scroll-margin-bottom":{match:/^scroll-mb:/,layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},"scroll-margin-x":{match:/^(?:scroll-margin-x|scroll-mx):/,unit:"rem",layer:d.Layer.CoreShorthand,declare:e=>({"scroll-margin-left":e,"scroll-margin-right":e}),variables:["spacing"]},"scroll-margin-y":{match:/^(?:scroll-margin-y|scroll-my):/,unit:"rem",layer:d.Layer.CoreShorthand,declare:e=>({"scroll-margin-top":e,"scroll-margin-bottom":e}),variables:["spacing"]},"scroll-margin":{match:/^scroll-m:/,unit:"rem",layer:d.Layer.CoreNativeShorthand,variables:["spacing"]},"scroll-padding-left":{match:/^scroll-pl:/,layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},"scroll-padding-right":{match:/^scroll-pr:/,layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},"scroll-padding-top":{match:/^scroll-pt:/,layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},"scroll-padding-bottom":{match:/^scroll-pb:/,layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},"scroll-padding-x":{match:/^(?:scroll-padding-x|scroll-px):/,unit:"rem",layer:d.Layer.CoreShorthand,declare:e=>({"scroll-padding-left":e,"scroll-padding-right":e}),variables:["spacing"]},"scroll-padding-y":{match:/^(?:scroll-padding-y|scroll-py):/,unit:"rem",layer:d.Layer.CoreShorthand,declare:e=>({"scroll-padding-top":e,"scroll-padding-bottom":e}),variables:["spacing"]},"scroll-padding":{match:/^scroll-p:/,unit:"rem",layer:d.Layer.CoreNativeShorthand,variables:["spacing"]},"scroll-snap-align":{match:["scroll-snap",["start","end","center"]],layer:d.Layer.CoreNative},"scroll-snap-stop":{match:["scroll-snap",["normal","always"]],layer:d.Layer.CoreNative},"scroll-snap-type":{match:["scroll-snap",["x","y","block","inline","both"]],layer:d.Layer.CoreNative},"will-change":{layer:d.Layer.CoreNative},"writing-mode":{match:/^writing:/,layer:d.Layer.CoreNative},direction:{layer:d.Layer.CoreNative},"shape-outside":{match:["shape",["(?:inset|circle|ellipse|polygon|url|linear-gradient)\\(.*\\)"]],layer:d.Layer.CoreNative},"shape-margin":{match:["shape"],numeric:!0,unit:"rem",layer:d.Layer.CoreNative,variables:["spacing"]},"shape-image-threshold":{layer:d.Layer.CoreNative},"clip-path":{match:/^clip:/,layer:d.Layer.CoreNative},quotes:{layer:d.Layer.CoreNative},"mask-image":{layer:d.Layer.CoreNative,declare:e=>({"mask-image":e,"-webkit-mask-image":e})}};n.BORDER_STYLES=f,n.autofillSolidToValueComponent=m,n.default=u;var y={};y.BASE_UNIT_REGEX=/^([+-]?(?:\d+(?:\.?\d+)?|\.\d+))x$/m;let p={$:{colored:!0,transform(e){let t,r;let a=e.indexOf(",");return -1!==a?(t=e.slice(0,a),r=e.slice(a+1)):t=e,[{type:"variable",name:t,fallback:r}]}},calc:{transform(e,t){let r=[],a=0,i=(t,l,s,o,n)=>{let c;let h=r!==t,d=[],f=!1,m=!1,u=!1,b=!1,v="",g=(r,i="",o="")=>{if(!1===c&&" "!==r&&this.definition.unit&&(c=void 0,b||C()),v){if(!n){let e=y.BASE_UNIT_REGEX.exec(v);e&&(v=(+e[1]*(this.css.config.baseUnit??1)).toString())}if(f||s)t.push({type:"string",value:v});else{let e=this.parseValueComponent(v);if(!m&&isNaN(+v)&&"number"===e.type&&(m=!0),b)isNaN(+v)?"number"===e.type?(t.push(e),u=!0):t.push(e):t.push({type:"number",value:+v});else if(h){let e={type:"string",value:v};d.push(e),t.push(e)}else t.push(e)}v=""}r&&(("+"===r||"-"===r)&&N(),i&&" "===e[a-1]&&(i=""),o&&" "===e[a+1]&&(o=""),l?t.push({type:"separator",value:r,text:r}):t.push({type:"separator",value:r,text:i+r+o})),f=!1},C=()=>{("rem"===this.definition.unit||"em"===this.definition.unit)&&t.push({type:"separator",value:"/",text:" / "},{type:"number",value:this.css.config.rootSize}),t.push({type:"separator",value:"*",text:" * "},{type:"number",value:1,unit:this.definition.unit})},N=()=>{!b||u||o||h&&!m||C(),b=!1,u=!1};for(;a<e.length;a++){let r=e[a];if("("===r){let e=/^([+-])/.exec(v);e&&t.push({type:"string",value:e[1]});let l=e?v.slice(1):v,s={type:"function",name:l,symbol:r,children:[],bypassTransform:"calc"===l};t.push(s),v="",a++;let o="$"===l||"var"===l;if(!(c=i(s.children,""!==l&&"calc"!==l&&(o||Object.prototype.hasOwnProperty.call(p,l)),f||o||b&&u,b,o)||"var"===l)&&"$"===l){let e=this.css.variables[s.children[0].value]?.type;c=!e||"string"===e}c&&(m=!0,u=!0)}else if(")"===r){if(g(""),m)for(let e of d)Object.assign(e,this.parseValueComponent(e.value));return m}else if(","===r)g(r,""," ");else if(" "===r)g(r);else{let t=e[a-1];switch(r){case"+":case"-":v||")"===t?g(r," "," "):v+=r;break;case"*":this.definition.unit&&(b=!0),g(r," "," ");break;case"/":this.definition.unit&&(b=!0),g(r," "," "),f=!0;break;default:v+=r}}}g(""),N()};return i(r,!1,!1,!1,!1),"calc("+this.resolveValue(r,p.calc.unit??this.definition.unit,t,!0)+")"}},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}},b={mediaQueries:s,selectors:a,semantics:i,rules:n.default,functions:p,animations:l,variables:o,scope:"",rootSize:16,baseUnit:4,override:!1,important:!1,themeDriver:"class"};r.selectors=a,r.semantics=i,r.animations=l,r.variables=o,r.rules=n.default,r.functions=p,r.mediaQueries=s,r.config=b;var v={};let g=/^(media|supports|page|font-face|keyframes|counter-style|font-feature-values|property|layer|container)(?=\||{|\(|$)/;function C(e){let t="undefined"!=typeof Buffer?Buffer:null;return!!t&&e instanceof t||e instanceof Date||e instanceof RegExp}function N(e){if(("undefined"!=typeof Buffer?Buffer:null)&&e instanceof Buffer){let t=Buffer.alloc(e.length);return e.copy(t),t}if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp)return new RegExp(e);throw Error("Unexpected situation")}function x(e,t){return"__proto__"===t?void 0:e[t]}function L(...e){let t,r;let a={};return e.forEach(function(e){"object"!=typeof e||null===e||Array.isArray(e)||Object.keys(e).forEach(function(i){if(r=x(a,i),(t=x(e,i))!==a){if("object"!=typeof t||null===t){a[i]=t;return}if(Array.isArray(t)){a[i]=function e(t){let r=[];return t.forEach(function(t,a){"object"==typeof t&&null!==t?Array.isArray(t)?r[a]=e(t):C(t)?r[a]=N(t):r[a]=L({},t):r[a]=t}),r}(t);return}if(C(t)){a[i]=N(t);return}if("object"!=typeof r||null===r||Array.isArray(r)){a[i]=L({},t);return}else{a[i]=L(r,t);return}}})}),a}v.Rule=class{className;css;at;priority;natives;order;layer;stateToken;declarations;animationNames;variableNames;constructor(e,t,r){let a,i,l;this.className=e,this.css=r,this.at={},this.priority=-1,this.natives=[],this.order=0,this.layer=0,this.resolveValue=(e,t,r,a)=>{let{functions:i}=this.css.config,l="";for(let s of e)switch(s.type){case"function":let e=i&&i[s.name];if(e?.transform&&!s.bypassTransform){let i=e.transform.call(this,this.resolveValue(s.children,e.unit??t,r,a||"calc"===s.name),r);l+=s.text="string"==typeof i?i:this.resolveValue(i,e?.unit??t,r,a)}else l+=s.text=s.name+s.symbol+this.resolveValue(s.children,e?.unit??t,r,a)+h.START_SYMBOLS[s.symbol];break;case"variable":let o=this.css.variables[s.name];if(o){let e=(e,t)=>{if(o.themes){if(this.theme){let t=o.themes[this.theme]??o;t?.value&&e(t)}else this.variableNames||(this.variableNames=[]),this.variableNames.includes(s.name)||this.variableNames.push(s.name),t()}else e(o)};switch(o.type){case"string":e(e=>{let i=[];this.parseValue(i,0,e.value,t,"",void 0,a,[...r,s.name]),l+=s.text=this.resolveValue(i,t,[...r,s.name],a)},()=>{l+=s.text=`var(--${s.name})`});break;case"number":e(e=>{if(a)l+=s.text=e.value;else{let r=this.parseValueComponent(e.value,t);l+=s.text=r.value+(r.unit??"")}},()=>{l+=s.text=t?`calc(var(--${s.name}) / 16 * 1rem)`:`var(--${s.name})`});break;case"color":let i=s.alpha?"/"+s.alpha:"";e(e=>{l+=s.text=`${e.space}(${e.value}${i})`},()=>{l+=s.text=`${o.space}(var(--${s.name})${i})`})}}else l+=s.text=`var(--${s.name}${s.fallback?","+s.fallback:""})`;break;case"separator":l+=s.text?s.text:s.text=s.value;break;case"number":l+=s.text=s.value+(s.unit||"");break;default:l+=s.text=s.value}return l},this.parseValue=(e,t,r,a,i,l,s=!1,o=[])=>{let n=void 0===l,c=!n&&(l.endsWith("$")||l.endsWith("var")),d="'"===i||'"'===i,f=[","];this.definition.separators?.length&&f.push(...this.definition.separators);let m="",u=()=>{if(m){let t=!1;if(!c||e.length){let r=(r,a)=>{let i=Object.prototype.hasOwnProperty.call(this.variables,r)?this.variables[r]:Object.prototype.hasOwnProperty.call(this.css.variables,r)?this.css.variables[r]:void 0;if(i){let l=i.name??r;if(!o.includes(l)){t=!0;let r={type:"variable",name:l,variable:this.css.variables[l]};a&&(r.alpha=a),e.push(r)}}};if(r(m),!t&&this.colored){let[e,t]=m.split("/");r(e,t)}}if(!t){if(!c){let e=y.BASE_UNIT_REGEX.exec(m);e&&(m=String(+e[1]*(this.css.config.baseUnit??1)))}s?e.push({type:"string",value:m}):e.push(this.parseValueComponent(m,a))}m=""}};for(;t<r.length;t++){let o=r[t];if(o===i){if(d){let e=0;for(let t=m.length-1;"\\"===m[t];t--)e++;if(e%2){m+=o;continue}u()}else u();return t}if(!d&&o in h.START_SYMBOLS){let i=m,n={type:"function",name:i,symbol:o,children:[]};e.push(n),m="";let c="("===o?this.css.config.functions?.[i]:void 0;!this.colored&&c?.colored&&(this.colored=!0),t=this.parseValue(n.children,++t,r,c?.unit??a,h.START_SYMBOLS[o],i||l||"",s||"calc"===i)}else if("|"!==o&&" "!==o||"}"===i||d&&"path"!==l){if(!d){if("."===o){if(isNaN(+r[t+1])){if(n)break}else"-"===r[t-1]&&(m+="0")}else if(f.includes(o)){u(),e.push({type:"separator",value:o,text:(","===o?"":" ")+o+(","===o?"":" ")});continue}else if(n&&("#"===o&&(m||e.length&&"separator"!==e[e.length-1].type)||["!","*",">","+","~",":","[","@","_"].includes(o)))break}m+=o}else u(),e.push({type:"separator",value:" "})}return u(),t},Object.assign(this,t);let{id:s,definition:o}=t,{analyze:n,transformValue:f,declare:m,transformValueComponents:u,create:p,layer:b,unit:v,colored:C}=o;this.layer=b,this.colored=!!C,o.unit||(o.unit=""),o.separators||(o.separators=[","]);let{scope:N,important:x,themeDriver:L}=r.config,{selectors:w,mediaQueries:k,stylesBy:S,animations:$}=r,R=S[e];if(p&&p.call(this,e),this.declarations=o.declarations,b===d.Layer.Semantic)a=e.slice(s.length-1);else{let t;if(n)[t,i]=n.call(this,e);else{let r=e.indexOf(":");this.prefix=e.slice(0,r+1),t=e.slice(r+1)}this.valueComponents=[],a=t.slice(this.parseValue(this.valueComponents,0,t,v,"",void 0,!1,"animation"===s||"animation-name"===s?Object.keys(this.css.animations):[]))}"!"===a[0]&&(this.important=!0,a=a.slice(1)),this.stateToken=a;let O=(e,t)=>{let r=(e,t,a,i)=>{for(let[i,l]of t)if(i.test(e)){for(let s of l)r(e.replace(i,s),t,a,!0);return}i&&a.push(e)},a=e=>{let t=e.split(/(\\'(?:.*?)[^\\]\\')(?=[*_>~+,)])|(\[[^=]+='(?:.*?)[^\\]'\])/).map((e,t)=>t%3?e:e.replace(/(^|[^_])_(?!_)/g,"$1 ")).join(""),r=[],a="",i=0;for(let e=0;e<t.length;e++){let l=t[e];if("\\"===l){a+=l+t[++e];continue}i||","!==l?(a+=l,i&&")"===l?i--:"("===l&&i++):(r.push(a),a="")}return a&&r.push(a),r},i=[];""in w?r(e,w[""],i,!0):i.push(e);let l={};for(let[e,t]of Object.entries(w)){if(!e)continue;let a=[];for(let e of i)r(e,t,a,!1);a.length&&(l[e]=a)}let s=(e,r)=>{let i=r.reduce((e,t)=>(e.push(...a(t)),e),[]);e in t?t[e].push(...i):t[e]=i},o=Object.keys(l);if(o.length)for(let e of o)s(e,l[e]);else s("",i)};i?(this.vendorPrefixSelectors={},O(i,this.vendorPrefixSelectors)):this.vendorPrefixSelectors={"":[""]};let j=a.split("@"),P=j[0];if(P)for(let e of(this.vendorSuffixSelectors={},O(P,this.vendorSuffixSelectors),Object.values(this.vendorSuffixSelectors)))for(let t of e){!1!==this.hasWhere&&(this.hasWhere=t.includes(":where("));let e=[":disabled",":active",":focus",":hover"];for(let r=0;r<e.length;r++)if(t.includes(e[r])){(-1===this.priority||this.priority>r)&&(this.priority=r);break}}else this.vendorSuffixSelectors={"":[""]};let A={},z=Object.prototype.hasOwnProperty.call(this.vendorPrefixSelectors,""),V=Object.prototype.hasOwnProperty.call(this.vendorSuffixSelectors,"");if(z)A[""]=V?[""]:Object.keys(this.vendorSuffixSelectors);else if(V)for(let e in this.vendorPrefixSelectors)A[e]=[""];else for(let e in this.vendorPrefixSelectors){let t=A[e]=[];if(Object.prototype.hasOwnProperty.call(this.vendorSuffixSelectors,e))t.push(e);else for(let e in this.vendorSuffixSelectors)t.push(e)}for(let e=1;e<j.length;e++){let t=j[e];if(t){if("rtl"===t||"ltr"===t)this.direction=t;else{let e,r="",a=g.exec(t);if(a)r=a[1],e=t.slice(r.length);else{this.media={token:t,features:{}};let a=[],i=e=>{if("all"===e||"print"===e||"screen"===e||"speech"===e)this.media.type=e;else if(e.startsWith("")){if("landscape"===e||"portrait"===e)a.push("(orientation:"+e+")");else if("motion"===e||"reduced-motion"===e)a.push("(prefers-reduced-motion:"+("motion"===e?"no-preference":"reduce")+")");else{let t=k[e];if(t&&"string"==typeof t)a.push(t);else{let r="",i="",l=0;e.startsWith("<=")?(i="<=",r="max-width"):e.startsWith(">=")||t?(i=">=",r="min-width"):e.startsWith(">")?(i=">",r="min-width",l=.02):e.startsWith("<")&&(i="<",r="max-width",l=-.02);let s=i?e.replace(i,""):e,o=k[s];switch(r){case"max-width":case"min-width":let n={};"number"==typeof o?n={type:"number",value:o+l,unit:"px"}:"number"===(n=this.parseValueComponent(s,"px")).type&&"px"===n.unit&&(n.value+=l),this.media.features[r]=n,"number"===n.type?a.push("("+r+":"+(n.value+n.unit)+")"):a.push("("+r+":"+n.value+")")}}}}},l=t.includes("&");if(l)for(let e of t.split("&"))i(e);else i(t);if(this.media.type&&(e=this.media.type),a.length&&(e=a.join(" and ")),e)r="media";else if(!l){this.theme=t;continue}}e&&(this.at[r]=(r in this.at?this.at[r]+" and ":"")+e.replace(/\|/g," "))}}}this.valueComponents&&(u&&(this.valueComponents=u.call(this,this.valueComponents)),l=this.resolveValue(this.valueComponents,v,[],!1),f&&(l=f.call(this,l)),m?this.declarations=m.call(this,l,this.valueComponents):s&&(this.declarations={[s]:l}));let T=[];for(let e in this.declarations){let t=e=>{if($&&(e.startsWith("animation")||e.startsWith("animation-name"))){let t=e.split(":")[1].split("!important")[0].split(" ").filter(e=>e in this.css.animations&&(!this.animationNames||!this.animationNames.includes(e)));t.length&&(this.animationNames||(this.animationNames=[]),this.animationNames=t)}T.push(e+((this.important||x)&&!e.endsWith("!important")?"!important":""))},r=e+":",a=this.declarations[e];if(Array.isArray(a))for(let e of a)t(r+String(e));else t(r+String(a))}if(T.length)for(let t in A)for(let r of A[t]){let a="";this.direction&&(a+="[dir="+this.direction+"] ");let i=this.vendorPrefixSelectors[t],l=this.vendorSuffixSelectors[r],s=i.map(e=>e+a),o=e=>s.map(e=>(this.theme&&"media"!==L?"host"===L?`:host(.${this.theme}) `:`.${this.theme} `:"")+(N?N+" ":"")+e).reduce((t,r)=>(t.push(l.reduce((t,a)=>(t.push(r+"."+c(e)+a),t),[]).join(",")),t),[]).join(","),n=o(e)+(R?R.reduce((e,t)=>e+","+o(t),""):"")+"{"+T.join(";")+"}";for(let e of Object.keys(this.at).sort((e,t)=>"supports"===t?-1:1))n="@"+e+(e.includes(" ")?"":" ")+this.at[e]+"{"+n+"}";this.theme&&"media"===L&&(n=`@media(prefers-color-scheme:${this.theme}){`+n+"}"),this.natives.push({text:n})}}resolveValue;get text(){return this.natives.map(e=>e.text).join("")}parseValue;parseValueComponent(e,t=this.definition.unit){let r;let a=t??this.definition.unit,i="";if("number"==typeof e)return a&&!i?(("rem"===a||"em"===a)&&(r=e/(this.css.config.rootSize||1)),i=a||""):r=e,{value:r,unit:i,type:"number"};if(a){if(/^\d+\/\d+/.test(e)){let[t,r]=e.split("/");return{value:+t/+r*100,unit:"%",type:"number"}}let t=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(t)return r=+t[1],(i=t[3]||"")||(("rem"===a||"em"===a)&&(r/=this.css.config.rootSize||1),i=a||""),{value:r,unit:i,type:"number"}}return{value:e,type:"string"}}};var w={},k={};k.hexToRgb=function(e){let t,r,a,i;return e.startsWith("#")&&(e=e.slice(1)),3===e.length||4===e.length?(t=parseInt(e[0]+e[0],16),r=parseInt(e[1]+e[1],16),a=parseInt(e[2]+e[2],16),i=4===e.length?Math.round(parseInt(e[3]+e[3],16)/255*100)/100:1):(6===e.length||8===e.length)&&(t=parseInt(e.slice(0,2),16),r=parseInt(e.slice(2,4),16),a=parseInt(e.slice(4,6),16),i=8===e.length?Math.round(parseInt(e.slice(6,8),16)/255*100)/100:1),[t,r,a,i]};var S={};S.flattenObject=function e(t,r=""){return Object.entries(t).reduce((t,[a,i])=>{let l=r?`${r}${a?"-"+a:""}`:a;return"object"!=typeof i||Array.isArray(i)?t[l]=i:Object.assign(t,e(i,l)),t},{})};var $={};$.extendConfig=function(...e){let t=e=>{let t=L({},e),r=e=>{for(let t in e){let a=e[t];"object"!=typeof a||Array.isArray(a)?t&&!t.startsWith("@")&&(e[t]={"":a}):r(a)}};return t.styles?r(t.styles):t.styles={},t.mediaQueries?r(t.mediaQueries):t.mediaQueries={},t.variables?r(t.variables):t.variables={},t},r=[];for(let a of e)!function e(a){if(a.extends?.length)for(let t of a.extends)e("config"in t?t.config:t);r.push(t(a))}(a);let a=r[0];for(let e=1;e<r.length;e++){let t=r[e];a=L(a,t),Object.prototype.hasOwnProperty.call(t,"animations")&&a.animations&&Object.assign(a.animations,t.animations)}return a},Object.defineProperty(w,"__esModule",{value:!0});class R{customConfig;static config=r.config;rules;ruleBy;classesUsage;config;RegisteredSemanticRules;RegisteredRules;constructor(e=r.config){this.customConfig=e,this.rules=[],this.ruleBy={},this.classesUsage={},this.RegisteredSemanticRules=[],this.RegisteredRules=[],e?.override?this.config=$.extendConfig(e):this.config=$.extendConfig(r.config,e),this.resolve(),this.constructor===R&&O.push(this)}resolve(){this.styles={},this.stylesBy={},this.selectors={},this.variables={},this.mediaQueries={},this.animations={},this.RegisteredRules.length=0,this.RegisteredSemanticRules.length=0,this.variablesNativeRules={},this.hasKeyframesRule=!1;let e={current:void 0,currentColor:void 0,transparent:void 0},{styles:t,selectors:r,variables:a,semantics:i,mediaQueries:l,rules:s,animations:o}=this.config;function n(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}if(r){let e=S.flattenObject(r);for(let t in e){let r=e[t],a=RegExp(n(t)+"(?![a-z-])");for(let e of Array.isArray(r)?r:[r]){let t=e.match(/^::-[a-z]+-/m)?.[0]??"",r=this.selectors[t];r||(r=this.selectors[t]=[]);let i=r.find(([e])=>e===a);i||(i=[a,[]],r.push(i)),i[1].push(e)}}}if(a){let t={},r=(a,i,l)=>{if(!a)return;let s=(t,r,a,i)=>{if(void 0===r)return;if("color"===r.type){if(i){let e=r.value.indexOf("/");r={...r,value:-1===e?r.value+" / "+(i.startsWith("0.")?i.slice(1):i):r.value.slice(0,e+2)+String(+r.value.slice(e+2)*+i).slice(1)}}e[t]=void 0}let s=a??l;if(void 0!==s){if(Object.prototype.hasOwnProperty.call(this.variables,t)){let e=this.variables[t];s?(e.themes||(e.themes={}),e.themes[s]=r):(e.value=r.value,"color"===r.type&&(e.space=r.space))}else if(s){let e={type:r.type,themes:{[s]:r}};"color"===r.type&&(e.space=r.space),this.variables[t]=e}else this.variables[t]=r}else this.variables[t]=r},o=typeof a;if("object"===o){if(Array.isArray(a))s(i,{type:"string",value:a.join(",")});else{let e=Object.keys(a);for(let t of e)""===t||t.startsWith("@")?r(a[t],i,t||e.some(e=>e.startsWith("@"))?t.slice(1):void 0):r(a[t],i+"-"+t,void 0)}}else if("number"===o)s(i,{type:"number",value:a}),s("-"+i,{type:"number",value:-1*a});else if("string"===o){let e=/^\$\((.*?)\)(?: ?\/ ?(.+?))?$/.exec(a);if(e)Object.prototype.hasOwnProperty.call(t,i)||(t[i]={}),t[i][l]=()=>{delete t[i][l];let[r,a]=e[1].split("@");if(r){if(Object.prototype.hasOwnProperty.call(t,r))for(let e of Object.keys(t[r]))t[r][e]?.();let l=this.variables[r];if(l){if(void 0===a&&l.themes)for(let t in s(i,{type:l.type,value:l.value,space:l.space},"",e[2]),l.themes)s(i,l.themes[t],t,e[2]);else{let t=void 0!==a?l.themes?.[a]:l;if(t){let r={type:t.type,value:t.value};"color"===t.type&&(r.space=t.space),s(i,r,void 0,e[2])}}}}};else{let e=/^#([A-Fa-f0-9]{3,4}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{8})$/.exec(a);if(e){let[t,r,a,l]=k.hexToRgb(e[1]);s(i,{type:"color",value:`${t} ${r} ${a}${1===l?"":" / "+l}`,space:"rgb"})}else{let e=/^rgb\( *([0-9]{1,3})(?: *, *| +)([0-9]{1,3})(?: *, *| +)([0-9]{1,3}) *(?:(?:,|\/) *(.*?) *)?\)$/.exec(a);if(e)s(i,{type:"color",value:e[1]+" "+e[2]+" "+e[3]+(e[4]?" / "+(e[4].startsWith("0.")?e[4].slice(1):e[4]):""),space:"rgb"});else{let e=/^hsl\((.*?)\)$/.exec(a);e?s(i,{type:"color",value:e[1],space:"hsl"}):s(i,{type:"string",value:a})}}}}};for(let e in a)r(a[e],e);for(let e of Object.keys(t))for(let r of Object.keys(t[e]))t[e][r]?.()}if(l&&(this.mediaQueries=S.flattenObject(l)),o)for(let e in o){let t=this.animations[e]={},r=o[e];for(let e in r){let a=t[e]={},i=r[e];for(let e in i)a[e]=i[e]}}let c=t?S.flattenObject(t):{},h=Object.keys(c),f=e=>{if(Object.prototype.hasOwnProperty.call(this.styles,e))return;let t=this.styles[e]=[],r=c[e];if(r)for(let a of r.replace(/(?:\n(?:\s*))+/g," ").trim().split(" ")){let r=r=>{if(Object.prototype.hasOwnProperty.call(this.stylesBy,r)){let t=this.stylesBy[r];t.includes(e)||t.push(e)}else this.stylesBy[r]=[e];t.includes(r)||t.push(r)};if(h.includes(a))for(let e of(f(a),this.styles[a]))r(e);else r(a)}};for(let e of h)f(e);if(i&&Object.entries(i).sort((e,t)=>e[0].localeCompare(t[0])).forEach(([e,t],r)=>{this.RegisteredSemanticRules.push({id:"."+e,match:RegExp("^"+n(e)+"(?=!|\\*|>|\\+|~|:|\\[|@|_|\\.|$)","m"),order:r,definition:{declarations:t,layer:d.Layer.Semantic}})}),s){let t=Object.entries(s).sort((e,t)=>e[1].layer!==t[1].layer?(t[1].layer||0)-(e[1].layer||0):t[0].localeCompare(e[0])),r=t.length,a=Object.keys(e);t.forEach(([e,t],i)=>{let l={id:e,variables:{},order:this.RegisteredSemanticRules.length+r-1-i,definition:t};this.RegisteredRules.push(l);let s=t.match,o=e=>{for(let t in this.variables)if(t.startsWith(e+"-")||t.startsWith("-"+e+"-")){let r=t.slice(e.length+(e.startsWith("-")?0:1));l.variables[r]={...this.variables[t],name:t}}};if(t.variables)for(let e of t.variables)o(e);if(o(e),s){if(Array.isArray(s)){let[e,r=[]]=s,i=[];r.length&&i.push(`(?:${r.join("|")})(?![a-zA-Z0-9-])`),Object.keys(l.variables).length&&i.push(`(?:${Object.keys(l.variables).join("|")})(?![a-zA-Z0-9-])`),t.colored&&i.push("#","(?:color|color-contrast|color-mix|hwb|lab|lch|oklab|oklch|rgb|rgba|hsl|hsla)\\(.*\\)",`(?:${a.join("|")})(?![a-zA-Z0-9-])`),t.numeric&&i.push("[\\d\\.]","(?:max|min|calc|clamp)\\(.*\\)"),i.length&&(l.match=RegExp(`^${e}:(?:${i.join("|")})[^|]*?(?:@|$)`))}else l.match=s}})}}match(e){for(let t of this.RegisteredRules)if(t.match?.test(e)||(t.definition.layer===d.Layer.Native||t.definition.layer===d.Layer.NativeShorthand||t.definition.layer===d.Layer.CoreNative||t.definition.layer===d.Layer.CoreNativeShorthand)&&e.startsWith(t.id+":"))return t;for(let t of this.RegisteredSemanticRules)if(t.match?.test(e))return t}generate(e){return(Object.prototype.hasOwnProperty.call(this.styles,e)?this.styles[e].map(e=>this.create(e)):[this.create(e)]).filter(e=>e&&e.text)}create(e){if(Object.prototype.hasOwnProperty.call(this.ruleBy,e))return this.ruleBy[e];let t=this.match(e);if(t)return new v.Rule(e,t,this)}refresh(e=this.customConfig){for(let t in e?.override?this.config=$.extendConfig(e):this.config=$.extendConfig(r.config,e),this.resolve(),this.rules.length=0,this.ruleBy={},this.classesUsage)this.add(t);return this}reset(){for(let e in this.ruleBy={},this.classesUsage={},this.rules.length=0,this.hasKeyframesRule=!1,this.variablesNativeRules={},this.animations){let t=this.animations[e];t.usage=0,t.native=void 0}for(let e in this.variables)this.variables[e].usage=0;return this}destroy(){return this.reset(),O.splice(O.indexOf(this),1),this}add(...e){for(let t of e){let e=this.generate(t);if(e.length)for(let t of e)this.insert(t)}return this}delete(...e){let t=this.style?.sheet,r=e=>{let r=this.ruleBy[e];if(!(!r||Object.prototype.hasOwnProperty.call(this.stylesBy,e)&&this.stylesBy[e].some(e=>Object.prototype.hasOwnProperty.call(this.classesUsage,e)))){if(t&&r.natives.length){let e=r.natives[0];for(let a=0;a<t.cssRules.length;a++)if(t.cssRules[a]===e.cssRule){for(let e=0;e<r.natives.length;e++)t.deleteRule(a);break}}if(this.rules.splice(this.rules.indexOf(r),1),delete this.ruleBy[e],r.variableNames)for(let e of r.variableNames){let r=this.variables[e];if(r.usage||(r.usage=0),!--r.usage){let a=r=>{let a=this.variablesNativeRules[r];if(a.cssRule.style.removeProperty("--"+e),!a.cssRule.style.length){let e=this.rules[0],i=e.natives.indexOf(a);t?.deleteRule(i),e.natives.splice(i,1),delete this.variablesNativeRules[r],e.natives.length||(this.rules.splice(0,1),this.variablesNativeRules={})}};if(r.value&&a(""),r.themes)for(let e in r.themes)a(e)}}if(r.animationNames){let e=Object.keys(this.variablesNativeRules).length?1:0,t=this.rules[e];for(let e of r.animationNames){let r=this.animations[e];if(r.usage||(r.usage=0),!--r.usage&&r.native){let e=t.natives.indexOf(r.native);this.style.sheet?.deleteRule(Object.keys(this.variablesNativeRules).length+e),t.natives.splice(e,1),r.native=void 0}}t.natives.length||(this.rules.splice(e,1),this.hasKeyframesRule=!1)}r.definition.delete?.call(r,e)}};for(let t of e)if(Object.prototype.hasOwnProperty.call(this.styles,t)){for(let e of this.styles[t])Object.prototype.hasOwnProperty.call(this.classesUsage,e)||r(e);delete this.ruleBy[t]}else r(t)}insert(e){let t,r,a;if(this.ruleBy[e.className])return;let i=this.rules.length-1,{media:l,order:s,priority:o,hasWhere:n,className:c}=e,h=(e,t,r)=>{let a=e;for(;a<=i;a++){let e=this.rules[a];if(t?.(e))break;if(r?.(e))return a}return r?-1:a-1};if(l){let e=this.rules.findIndex(e=>e.media);if(-1===e)t=i+1;else{let{"max-width":s,"min-width":n}=l.features;if(s||n){let e=this.rules.findIndex(e=>e.media?.features["max-width"]||e.media?.features["min-width"]);if(-1===e)t=i+1;else if(s&&n){if(-1===o?(r=h(e,e=>-1!==e.priority,e=>e.media.features["max-width"]&&e.media.features["min-width"]),a=h(e,e=>-1!==e.priority)):(r=h(e,void 0,e=>e.media.features["max-width"]&&e.media.features["min-width"]&&-1!==e.priority),a=i),-1!==r){let e=s.value-n.value,t=a,i=r;for(r=void 0;t>=i;t--){let{"max-width":i,"min-width":l}=this.rules[t].media.features,s=i.value-l.value;if(s<e)a=t-1;else if(s===e)r=t;else break}}if(-1!==r&&void 0!==r){let e=s.value-n.value;for(let t=a;t>=r;t--){let{"max-width":i,"min-width":l}=this.rules[t].media.features,s=i.value-l.value;if(s<e)a=t-1;else if(s>e){r=t+1;break}}}}else if(n){if(-1===o?(r=h(e,e=>e.media.features["max-width"]&&e.media.features["min-width"]||-1!==e.priority,e=>!e.media.features["max-width"]&&e.media.features["min-width"]),a=h(e,e=>e.media.features["max-width"]&&e.media.features["min-width"]||-1!==e.priority)):(r=h(e,e=>e.media.features["max-width"]&&e.media.features["min-width"]&&-1!==e.priority,e=>!e.media.features["max-width"]&&e.media.features["min-width"]&&-1!==e.priority),a=h(e,e=>e.media.features["max-width"]&&e.media.features["min-width"]&&-1!==e.priority)),-1!==r)for(let e=a;e>=r;e--){let t=this.rules[e].media.features["min-width"].value;if(t>n.value)a=e-1;else if(t<n.value){r=e+1;break}}}else if(-1===o?(r=h(e,e=>e.media.features["min-width"]||-1!==e.priority,e=>e.media.features["max-width"]),a=h(e,e=>e.media.features["min-width"]||-1!==e.priority)):(r=h(e,e=>e.media.features["min-width"]&&-1!==e.priority,e=>e.media.features["max-width"]&&-1!==e.priority),a=h(e,e=>e.media.features["min-width"]&&-1!==e.priority)),-1!==r)for(let e=a;e>=r;e--){let t=this.rules[e].media.features["max-width"].value;if(t<s.value)a=e-1;else if(t>s.value){r=e+1;break}}}else -1===o?(r=e,a=h(e,e=>e.media?.features["max-width"]||e.media?.features["min-width"]||-1!==e.priority)):(r=h(e,e=>e.media?.features["max-width"]||e.media?.features["min-width"],e=>-1!==e.priority),a=h(e,e=>e.media?.features["max-width"]||e.media?.features["min-width"]))}}else{let e=Object.keys(this.variablesNativeRules).length?this.hasKeyframesRule?2:1:this.hasKeyframesRule?1:0;-1===o?(r=e,a=h(e,e=>e.media||-1!==e.priority)):(r=h(e,e=>e.media,e=>-1!==e.priority),a=h(e,e=>e.media))}if(void 0===t&&void 0!==a&&void 0!==r){if(-1===r)t=a+1;else{if(-1===o)for(let e=r;e<=a;e++){let r=this.rules[e];if((n||!r.hasWhere)&&(n&&!r.hasWhere||r.order>=s)){t=e;break}}else for(let e=r;e<=a;e++){let r=this.rules[e];if(n||!r.hasWhere){if(n&&!r.hasWhere||r.priority<o){t=e;break}if(r.priority===o){if(r.order>=s){t=e;break}}else t=e+1}}void 0===t&&(t=a+1)}}if(this.rules.splice(t,0,e),this.ruleBy[c]=e,this.style){let r=this.style.sheet,a=0,i=e=>{let t=this.rules[e];if(t){if(!t.natives.length)return i(e-1);let l=t.natives[t.natives.length-1],s=l.cssRule?.parentRule??l.cssRule;if(r){for(let e=0;e<r.cssRules.length;e++)if(r.cssRules[e]===s){a=e+1;break}}}};i(t-1);for(let t=0;t<e.natives.length;)try{let i=e.natives[t];r?.insertRule(i.text,a),i.cssRule=r?.cssRules[a++],t++}catch(r){console.error(r),e.natives.splice(t,1)}}this.handleRuleWithVariableNames(e),this.handleRuleWithAnimationNames(e),e.definition.insert?.call(e)}get text(){return this.rules.map(e=>e.text).join("")}handleRuleWithAnimationNames(e,t=!1){if(e.animationNames){let r=this.style?.sheet;for(let a of e.animationNames){let e=this.animations[a];if(e.usage)e.usage++;else{let i;let l={text:`@keyframes ${a}{`+Object.entries(e).filter(([e])=>"usage"!==e&&"native"!==e).map(([e,t])=>`${e}{${Object.entries(t).map(([e,t])=>e+":"+t).join(";")}}`).join("")+"}"},s=Object.keys(this.variablesNativeRules).length?1:0;if(this.hasKeyframesRule?(i=this.rules[s]).natives.push(l):(this.rules.splice(s,0,i={natives:[l],get text(){return this.natives.map(e=>e.text).join("")}}),this.hasKeyframesRule=!0),r){let e;if(t)for(let t=0;t<r.cssRules.length;t++){let i=r.cssRules[t];if("CSSKeyframesRule"===i.constructor.name&&i.name===a){e=i;break}}if(e)l.cssRule=e;else{let e=Object.keys(this.variablesNativeRules).length+i.natives.length-1;r.insertRule(l.text,e),l.cssRule=r.cssRules[e]}}e.usage=1,e.native=l}}}}handleRuleWithVariableNames(e,t=!1){if(e.variableNames){let r=this.style?.sheet;for(let a of e.variableNames){let e=this.variables[a];if(e.usage)e.usage++;else{let i=(e,i)=>{let l=this.variablesNativeRules[e];if(!l){let t,a,i;if(e)switch(this.config.themeDriver){case"media":a=`@media(prefers-color-scheme:${e})`,i=":root";break;case"host":i=`:host(.${e})`;break;default:i=`.${e}`}else i=":root";if(r){let e=Object.keys(this.variablesNativeRules).length?this.rules[0].natives.length:0;r.insertRule((a?a+"{":"")+i+"{}"+(a?a+"}":""),e),t=a?r.cssRules[e].cssRules[0]:r.cssRules[e]}else{let e=new Map,r=Object.defineProperties({},{getPropertyValue:{value:t=>e.get(t)},removeProperty:{value:t=>{e.delete(t);for(let e=0;e<r.length;e++)r[e]===t&&delete r[e]}},setProperty:{value:(t,a)=>{r[r.length]=t,e.set(t,a)}},length:{get:()=>Object.keys(r).length}});t={selectorText:i,style:r,styleMap:e},a&&(t.parentRule={conditionText:a})}l=this.pushVariableNativeRule(e,t)}let s="--"+a;t&&l.cssRule.style.getPropertyValue(s)||l.cssRule.style.setProperty(s,String(i.value))};if(e.value&&i("",e),e.themes)for(let t in e.themes)i(t,e.themes[t]);e.usage=1}}}}pushVariableNativeRule(e,t){Object.keys(this.variablesNativeRules).length||(this.variablesNativeRules={},this.rules.splice(0,0,{natives:[],get text(){return this.natives.map(e=>e.text).join("")}}));let r="",a="}";t.parentRule&&(r+=t.parentRule.conditionText.replace(/ /g,"")+"{",a+="}"),r+=t.selectorText+"{";let i={cssRule:t,get text(){let e=[];for(let r=0;r<t.style.length;r++){let a=t.style[r];e.push(a+":"+t.style.getPropertyValue(a))}return r+e.join(";")+a}};return this.rules[0].natives.push(this.variablesNativeRules[e]=i),i}}let O=[];globalThis.MasterCSS=R,globalThis.masterCSSs=O,w.default=R,w.masterCSSs=O,Object.defineProperty(t,"__esModule",{value:!0}),t.config=r.config,t.Rule=v.Rule,Object.defineProperty(t,"Layer",{enumerable:!0,get:function(){return d.Layer}}),t.extend=L,t.reorderForReadableClasses=function(e,t){let r;for(let a of(r=t?.css?t?.css:new w.default(t?.config),e))r.add(a);return r.rules.filter(e=>e.layer).sort((e,t)=>{if(e.layer===d.Layer.Semantic&&t.layer!==d.Layer.Semantic)return -1;if(e.layer!==d.Layer.Semantic&&t.layer===d.Layer.Semantic)return 1;if(e.id!==t.id)return e.className.localeCompare(t.className);{let r=e.vendorSuffixSelectors?.[""]?.[0],a=t.vendorSuffixSelectors?.[""]?.[0],i=e.media?.token,l=t.media?.token;if(-1===e.priority&&-1===t.priority){if(r&&a)return r.localeCompare(a);if(i&&l&&!Object.keys(e.media.features||{}).length&&!Object.keys(t.media.features||{}).length)return i.localeCompare(l);if(r&&!a)return 1;if(!r&&a)return -1;if(i&&!l)return 1;if(!i&&l)return -1}return e.id===t.id&&e.stateToken===t.stateToken?e.className.localeCompare(t.className):e.order-t.order}}).map(e=>e.className)},t.MasterCSS=w.default,t.default=w.default,t.selectors=a,t.semantics=i,t.rules=n.default,t.functions=p,t.animations=l,t.variables=o,t.mediaQueries=s;class j extends t.MasterCSS{root;customConfig;host;observing;progressive;container;observer;constructor(e=document,r=t.config){super(r),this.root=e,this.customConfig=r,this.observing=!1,this.progressive=!1,e||(this.root=document),this.root===document?(globalThis.runtimeCSS=this,this.container=document.head,this.host=document.documentElement):(this.container=this.root,this.host=this.root.host),P.push(this)}observe(e={subtree:!0,childList:!0}){if(this.observing||!this.root)return this;if(P.find(e=>e!==this&&e.root===this.root))return console.warn("Cannot observe the same root element repeatedly."),this;if(this.root?.styleSheets)for(let e of this.root.styleSheets){let{ownerNode:t}=e;if(t&&"master"===t.id){this.style=t,this.progressive=!0;break}}if(this.style?.sheet){let e=0;for(;e<this.style.sheet.cssRules.length;e++){let t=this.style.sheet.cssRules[e];switch(t.constructor.name){case"CSSKeyframesRule":continue;case"CSSMeidaRule":if("media"===this.config.themeDriver){let e=/\(prefers-color-scheme: (.*?)\)/.exec(t.conditionText);if(e){let r=t.cssRules[0];if(r?.constructor.name==="CSSStyleRule"&&":root"===r.selectorText){this.pushVariableNativeRule(e[1],r);continue}}}break;case"CSSStyleRule":let r=t.selectorText;if(t.style.length){let e=!0;for(let r=0;r<t.style.length;r++)if(!t.style[r]?.startsWith("--")){e=!1;break}if(e){if(":root"===r){this.pushVariableNativeRule("",t);continue}if("host"===this.config.themeDriver){let e=/:host(.*?)/.exec(r);if(e){this.pushVariableNativeRule(e[1],t);continue}}else if(!r.startsWith(".\\$")){this.pushVariableNativeRule(r.slice(1),t);continue}}}}break}for(;e<this.style.sheet.cssRules.length;e++){let t=e=>{if(e.selectorText){let t=e.selectorText.split(", ")[0].split(" ");for(let e=0;e<t.length;e++){let r=t[e];if("."===r[0]){let e=r.slice(1),t="";for(let r=0;r<e.length;r++){let a=e[r],i=e[r+1];if("\\"===a){if(r++,"\\"!==i){t+=i;continue}}else if([",",".","#","[","!","*",">","+","~",":","@"].includes(a))break;t+=a}if(!Object.prototype.hasOwnProperty.call(this.ruleBy,t)&&!Object.prototype.hasOwnProperty.call(this.styles,t)){let e=this.generate(t)[0];if(e)return e}}}}else if(e.cssRules)for(let r=0;r<e.cssRules.length;r++){let a=t(e.cssRules[r]);if(a)return a}},r=t(this.style.sheet.cssRules[e]);if(r){this.rules.push(r),this.ruleBy[r.className]=r;for(let t=0;t<r.natives.length;t++)r.natives[t].cssRule=this.style.sheet.cssRules[e+t];e+=r.natives.length-1,this.handleRuleWithVariableNames(r,!0),this.handleRuleWithAnimationNames(r,!0),r.definition.insert?.call(r)}}}else this.style=document.createElement("style"),this.style.id="master",this.container.append(this.style);let t=e=>{e.forEach(e=>{Object.prototype.hasOwnProperty.call(this.classesUsage,e)?this.classesUsage[e]++:(this.classesUsage[e]=1,this.add(e))})};return t(this.host.classList),e.subtree&&(this.root===document?this.host:this.container).querySelectorAll("[class]").forEach(e=>t(e.classList)),this.observer=new MutationObserver(e=>{let t={},r=[],a=[],i=[],l=(e,t)=>{t?e.classList.forEach(o):e.classList.forEach(s);let r=e.children;for(let e=0;e<r.length;e++){let i=r[e];i.classList&&(a.push(i),l(i,t))}},s=e=>{Object.prototype.hasOwnProperty.call(t,e)?t[e]++:t[e]=1},o=e=>{Object.prototype.hasOwnProperty.call(t,e)?t[e]--:Object.prototype.hasOwnProperty.call(this.classesUsage,e)&&(t[e]=-1)},n=(e,t)=>{for(let r=0;r<e.length;r++){let s=e[r];!s.classList||a.includes(s)||i.includes(s)||(s.isConnected!==t?(a.push(s),l(s,t)):i.push(s))}};for(let t=0;t<e.length;t++){let i=e[t],{addedNodes:l,removedNodes:s,type:o,target:c}=i;if("attributes"===o){if(r.find(e=>e.target===c))continue;r.push(i)}else n(l,!1),c.isConnected&&a.includes(c)||n(s,!0)}if(r.length||Object.keys(t).length){for(let{oldValue:e,target:t}of r){let r=a.includes(t),i=t.classList,l=e?e.split(" "):[];if(r){if(t.isConnected)continue;for(let e of l)i.contains(e)||o(e)}else if(t.isConnected)for(let e of(i.forEach(e=>{l.includes(e)||s(e)}),l))i.contains(e)||o(e)}for(let e in t){let r=t[e],a=(this.classesUsage[e]||0)+r;0===a?(delete this.classesUsage[e],this.delete(e)):(Object.prototype.hasOwnProperty.call(this.classesUsage,e)||this.add(e),this.classesUsage[e]=a)}}}),this.observer.observe(this.root,{...e,attributes:!0,attributeOldValue:!0,attributeFilter:["class"]}),this.host.style.removeProperty("display"),this.observing=!0,this}refresh(e=this.customConfig){let t=document.createElement("style");return t.id="master",this.style.replaceWith(t),this.style=t,super.refresh(e),this}reset(){super.reset();let e=this.style?.sheet;if(e?.cssRules)for(let t=e.cssRules.length-1;t>=0;t--)e.deleteRule(t);return this.progressive||(this.style?.remove(),this.style=null),this}disconnect(){return this.observer&&(this.observer.disconnect(),this.observer=null),this.observing=!1,this.reset(),this}destroy(){return this.disconnect(),P.splice(P.indexOf(this),1),this}}let P=[];globalThis.RuntimeCSS=j,globalThis.runtimeCSSs=P,new j(document,window.masterCSSConfig).observe()}();
|
|
1
|
+
!function(){var e,t={},r={},a={"::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"},i={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"}},l={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"}}},s={"4xs":360,"3xs":480,"2xs":600,xs:768,sm:834,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560};let o={full:"100%",fit:"fit-content",max:"max-content",min:"min-content","font-family":{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"]},screen:s,"font-weight":{thin:100,extralight:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,heavy:900},"flex-direction":{col:"column","col-reverse":"column-reverse"},"box-sizing":{content:"content-box",border:"border-box"},position:{abs:"absolute",rel:"relative"},"transform-box":{content:"content-box",border:"border-box",padding:"padding-box",fill:"fill-box",stroke:"stroke-box",view:"view-box"},"animation-direction":{alt:"alternate","alt-reverse":"alternate-reverse"},"background-clip":{content:"content-box",border:"border-box",padding:"padding-box"},"background-origin":{content:"content-box",border:"border-box",padding:"padding-box"},order:{first:-999999,last:999999},"shape-outside":{content:"content-box",border:"border-box",padding:"padding-box",margin:"margin-box"},"clip-path":{content:"content-box",border:"border-box",padding:"padding-box",margin:"margin-box",fill:"fill-box",stroke:"stroke-box",view:"view-box"},current:"currentColor",text:{invert:{"@light":"#ffffff","@dark":"#000000"},strong:{"@light":"$(slate-95)","@dark":"$(gray-10)"},neutral:{"@light":"$(slate-70)","@dark":"$(gray-30)"},lightest:{"@light":"$(slate-30)","@dark":"$(gray-60)"},lighter:{"@light":"$(slate-40)","@dark":"$(gray-50)"},light:{"@light":"$(slate-50)","@dark":"$(gray-40)"},gray:{"@light":"$(gray-60)","@dark":"$(gray-30)"},slate:{"@light":"$(slate-60)","@dark":"$(slate-30)"},brown:{"@light":"$(brown-60)","@dark":"$(brown-30)"},orange:{"@light":"$(orange-60)","@dark":"$(orange-30)"},amber:{"@light":"$(amber-60)","@dark":"$(amber-40)"},yellow:{"@light":"$(yellow-60)","@dark":"$(yellow-40)"},lime:{"@light":"$(lime-70)","@dark":"$(lime-40)"},green:{"@light":"$(green-70)","@dark":"$(green-40)"},beryl:{"@light":"$(beryl-70)","@dark":"$(beryl-40)"},teal:{"@light":"$(teal-70)","@dark":"$(teal-40)"},cyan:{"@light":"$(cyan-70)","@dark":"$(cyan-40)"},sky:{"@light":"$(sky-70)","@dark":"$(sky-30)"},blue:{"@light":"$(blue-60)","@dark":"$(blue-30)"},indigo:{"@light":"$(indigo-60)","@dark":"$(indigo-30)"},violet:{"@light":"$(violet-60)","@dark":"$(violet-30)"},purple:{"@light":"$(purple-60)","@dark":"$(purple-30)"},fuchsia:{"@light":"$(fuchsia-60)","@dark":"$(fuchsia-30)"},pink:{"@light":"$(pink-60)","@dark":"$(pink-30)"},crimson:{"@light":"$(crimson-60)","@dark":"$(crimson-30)"},red:{"@light":"$(red-60)","@dark":"$(red-30)"}},base:{"@light":"$(white)","@dark":"$(gray-95)"},canvas:{"@light":"$(slate-5)","@dark":"$(gray-90)"},surface:{"@light":"$(white)","@dark":"$(gray-80)"},invert:{"@light":"#000000","@dark":"#ffffff"},white:"#ffffff",black:"#000000",frame:{"@light":"$(slate-60)","@dark":"$(gray-30)"},gray:{5:"#f6f5f7",10:"#efeef0",20:"#cdccce",30:"#a2a1a3",40:"#89888a",50:"#737274",60:"#585759",70:"#444345",80:"#323133",90:"#29282a",95:"#222123","@light":"$(gray-30)","@dark":"$(gray-40)"},slate:{5:"#f8f9fb",10:"#eff2f9",20:"#c8d0e3",30:"#9fabc6",40:"#7c8cab",50:"#5f7395",60:"#455572",70:"#37455d",80:"#283348",90:"#1d273a",95:"#182030","@light":"$(slate-30)","@dark":"$(slate-40)"},brown:{5:"#fff6f0",10:"#feefe3",20:"#f3bea4",30:"#e7976e",40:"#da7c4d",50:"#cc6633",60:"#b65325",70:"#9d4119",80:"#833111",90:"#692007",95:"#431304","@light":"$(brown-40)","@dark":"$(brown-50)"},orange:{5:"#fff5ea",10:"#fff5df",20:"#ffcb9e",30:"#ff9b47",40:"#ff8528",50:"#ff6c0a",60:"#e05200",70:"#bc3e00",80:"#992d00",90:"#701d00",95:"#471100","@light":"$(orange-40)","@dark":"$(orange-50)"},amber:{5:"#fff9eb",10:"#fff4db",20:"#ffe099",30:"#ffc133",40:"#ffb10a",50:"#f99e00",60:"#e57e00",70:"#c15d00",80:"#a34900",90:"#753200",95:"#4c1f00","@light":"$(amber-40)","@dark":"$(amber-50)"},yellow:{5:"#fffae5",10:"#fffed1",20:"#ffe993",30:"#ffd233",40:"#ffc300",50:"#efaf00",60:"#d69200",70:"#b77400",80:"#9e5c00",90:"#753c00",95:"#4c2600","@light":"$(yellow-40)","@dark":"$(yellow-50)"},lime:{5:"#f5ffe5",10:"#f5ffd6",20:"#d1fb8d",30:"#acec46",40:"#91d91a",50:"#77c012",60:"#61a60c",70:"#4c8d07",80:"#367604",90:"#256000",95:"#1b3d00","@light":"$(lime-40)","@dark":"$(lime-50)"},green:{5:"#e7fdea",10:"#dbfee4",20:"#a5f7b8",30:"#35ed66",40:"#00d655",50:"#00c147",60:"#00ad3f",70:"#008e34",80:"#007a2c",90:"#006023",95:"#003d16","@light":"$(green-40)","@dark":"$(green-50)"},beryl:{5:"#e0fef2",10:"#d2fff7",20:"#6cffd4",30:"#0fefa4",40:"#04e09e",50:"#04cb8f",60:"#00b277",70:"#009360",80:"#007f50",90:"#00663e",95:"#003d24","@light":"$(beryl-40)","@dark":"$(beryl-50)"},teal:{5:"#dbfefd",10:"#cfffff",20:"#7ffff6",30:"#00f4e4",40:"#00e4d4",50:"#00ccc8",60:"#00aeb7",70:"#0092a3",80:"#00798e",90:"#005d75",95:"#003747","@light":"$(teal-40)","@dark":"$(teal-50)"},cyan:{5:"#e0ffff",10:"#d1ffff",20:"#7ff6ff",30:"#1ee1ff",40:"#00ccf9",50:"#00b3ea",60:"#0099d6",70:"#007dbc",80:"#0067a8",90:"#005089",95:"#003156","@light":"$(cyan-40)","@dark":"$(cyan-50)"},sky:{5:"#e5f5ff",10:"#d9f8ff",20:"#a3deff",30:"#6bc6ff",40:"#34b2fd",50:"#059fff",60:"#008df9",70:"#0073e0",80:"#005cc6",90:"#0041a3",95:"#002566","@light":"$(sky-60)","@dark":"$(sky-50)"},blue:{5:"#e5f3fe",10:"#dbf2fe",20:"#add7ff",30:"#70b0ff",40:"#4c93fd",50:"#3a7cff",60:"#2563fd",70:"#1b53ec",80:"#1947d1",90:"#1735a2",95:"#102069","@light":"$(blue-60)","@dark":"$(blue-50)"},indigo:{5:"#f0f1fe",10:"#e9ecfe",20:"#c8cdfe",30:"#939eff",40:"#7e81fe",50:"#7068ff",60:"#5b4cfd",70:"#4e39ed",80:"#4732d2",90:"#3623a3",95:"#26176c","@light":"$(indigo-60)","@dark":"$(indigo-50)"},violet:{5:"#f2efff",10:"#efe8ff",20:"#d7c5ff",30:"#b198fe",40:"#9a70ff",50:"#8e56fe",60:"#812fff",70:"#7407f2",80:"#6405d1",90:"#4f05a3",95:"#35036e","@light":"$(violet-60)","@dark":"$(violet-50)"},purple:{5:"#f6f0ff",10:"#f6e8fe",20:"#e2bffe",30:"#c492fd",40:"#b266ff",50:"#a849fe",60:"#9514ff",70:"#8200e5",80:"#7100c1",90:"#58008e",95:"#3e0060","@light":"$(purple-60)","@dark":"$(purple-50)"},fuchsia:{5:"#faf0ff",10:"#fde8fe",20:"#f0baff",30:"#dd89fe",40:"#d760fe",50:"#cf33ff",60:"#b700e5",70:"#a200c6",80:"#8700a3",90:"#660175",95:"#480051","@light":"$(fuchsia-60)","@dark":"$(fuchsia-50)"},pink:{5:"#fef1f9",10:"#fee9f8",20:"#ffb8df",30:"#f986c1",40:"#fa65b2",50:"#f747a2",60:"#ef2188",70:"#d61673",80:"#b80c5c",90:"#8f0543",95:"#64032f","@light":"$(pink-60)","@dark":"$(pink-50)"},crimson:{5:"#ffeff2",10:"#ffe8ec",20:"#ffbac7",30:"#ff849d",40:"#ff6684",50:"#fc4065",60:"#ed2a51",70:"#d7173e",80:"#bb1536",90:"#8f132c",95:"#620e1f","@light":"$(crimson-60)","@dark":"$(crimson-50)"},red:{5:"#ffefef",10:"#fee8e8",20:"#ffbcbc",30:"#ff8787",40:"#fd5f5f",50:"#f73f3f",60:"#e52e2e",70:"#d01b1b",80:"#b81919",90:"#921515",95:"#650f0f","@light":"$(red-60)","@dark":"$(red-50)"}};var n={},c=function(e){let t;if("undefined"!=typeof CSS)return CSS.escape(e);if(0==arguments.length)throw TypeError("`CSS.escape` requires an argument.");let r=String(e),a=r.length,i=-1,l="",s=r.charCodeAt(0);if(1==a&&45==s)return"\\"+r;for(;++i<a;){if(0==(t=r.charCodeAt(i))){l+="�";continue}if(t>=1&&t<=31||127==t||0==i&&t>=48&&t<=57||1==i&&t>=48&&t<=57&&45==s){l+="\\"+t.toString(16)+" ";continue}if(t>=128||45==t||95==t||t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122){l+=r.charAt(i);continue}l+="\\"+r.charAt(i)}return l},h={};h.START_SYMBOLS={"(":")","'":"'",'"':'"',"{":"}"};var d={};d.Layer=void 0,(e=d.Layer||(d.Layer={}))[e.Semantic=-8]="Semantic",e[e.CoreNativeShorthand=-7]="CoreNativeShorthand",e[e.NativeShorthand=-6]="NativeShorthand",e[e.CoreShorthand=-5]="CoreShorthand",e[e.Shorthand=-4]="Shorthand",e[e.CoreNative=-3]="CoreNative",e[e.Native=-2]="Native",e[e.Core=-1]="Core",e[e.Normal=0]="Normal",Object.defineProperty(n,"__esModule",{value:!0});let f=["none","auto","hidden","dotted","dashed","solid","double","groove","ridge","inset","outset"],u=function(e){return e.length<2||e.find(e=>"string"===e.type&&f.includes(e.value)||"variable"===e.type&&f.includes(e.variable?.value))||e.push({type:"separator",value:" "},{type:"string",value:"solid"}),e},m={group:{match:/^(?:.+?[*_>~+])?\{.+?\}/,layer:d.Layer.Core,analyze(e){let t=0;for(;t<e.length&&("{"!==e[t]||"\\"===e[t-1]);t++);return[e.slice(t),e.slice(0,t)]},declare(e){let t={},r=e=>{let r=e.indexOf(":");-1!==r&&(t[e.slice(0,r)]=e.slice(r+1))},a=e=>{let t=t=>{let a=t.slice(c(e.className).length).match(/\{(.*)\}/)?.[1].split(";");if(a)for(let e of a)r(e)};for(let r of e.natives)t(r.text);if(e.animationNames)for(let t of(this.animationNames||(this.animationNames=[]),e.animationNames))this.animationNames.includes(t)||this.animationNames.push(t);if(e.variableNames)for(let t of(this.variableNames||(this.variableNames=[]),e.variableNames))this.variableNames.includes(t)||this.variableNames.push(t)},i=[],l="",s=()=>{l&&(i.push(l.replace(/ /g,"|")),l="")},o=1;for(let t of(!function t(r){for(;o<e.length;o++){let a=e[o];if(!r){if(";"===a){s();continue}if("}"===a)break}if(l+=a,r===a){if("'"===r||'"'===r){let e=0;for(let t=l.length-2;"\\"===l[t];t--)e++;if(e%2)continue}break}a in h.START_SYMBOLS&&"'"!==r&&'"'!==r&&(o++,t(h.START_SYMBOLS[a]))}}(""),s(),i)){let e=this.css.generate(t);if(e.length)for(let t of e)a(t);else r(t)}return t}},variable:{match:/^\$[\w-]+:/,colored:!0,layer:d.Layer.Core,declare(e){return{["--"+this.prefix.slice(1,-1)]:e}}},"font-size":{match:["f(?:ont)?"],numeric:!0,unit:"rem",layer:d.Layer.CoreNative},"font-weight":{match:["f(?:ont)?",["bolder"]],layer:d.Layer.CoreNative},"font-family":{match:["f(?:ont)?"],layer:d.Layer.CoreNative},"font-smoothing":{match:["f(?:ont)?",["antialiased","subpixel-antialiased"]],layer:d.Layer.CoreNative,declare(e){switch(e){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"}}}},"font-style":{match:["f(?:ont)?",["normal","italic","oblique"]],layer:d.Layer.CoreNative,unit:"deg"},"font-variant-numeric":{match:["f(?:ont)?",["ordinal","slashed-zero","lining-nums","oldstyle-nums","proportional-nums","tabular-nums","diagonal-fractions","stacked-fractions"]],layer:d.Layer.CoreNative},"font-variant":{layer:d.Layer.CoreNativeShorthand},"font-feature-settings":{match:/^font-feature:/,layer:d.Layer.CoreNative},font:{match:/^f:/,layer:d.Layer.CoreNativeShorthand,variables:["font-family","font-variant","font-weight","font-size","font-style","line-height"]},color:{match:/^(?:color|fg):/,layer:d.Layer.CoreNative,colored:!0,variables:["text"]},"margin-left":{match:/^ml:/,layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},"margin-right":{match:/^mr:/,layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},"margin-top":{match:/^mt:/,layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},"margin-bottom":{match:/^mb:/,layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},"margin-x":{match:/^(?:mx|margin-x):/,unit:"rem",layer:d.Layer.CoreShorthand,declare:e=>({"margin-left":e,"margin-right":e}),variables:["spacing"]},"margin-y":{match:/^(?:my|margin-y):/,unit:"rem",layer:d.Layer.CoreShorthand,declare:e=>({"margin-top":e,"margin-bottom":e}),variables:["spacing"]},margin:{match:/^m:/,unit:"rem",layer:d.Layer.CoreNativeShorthand,variables:["spacing"]},"margin-inline-start":{match:/^mis:/,layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},"margin-inline-end":{match:/^mie:/,layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},"margin-inline":{match:/^mi:/,unit:"rem",layer:d.Layer.CoreNativeShorthand,variables:["spacing"]},"padding-left":{match:/^pl:/,layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},"padding-right":{match:/^pr:/,layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},"padding-top":{match:/^pt:/,layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},"padding-bottom":{match:/^pb:/,layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},"padding-x":{match:/^(?:px|padding-x):/,unit:"rem",layer:d.Layer.CoreShorthand,declare:e=>({"padding-left":e,"padding-right":e}),variables:["spacing"]},"padding-y":{match:/^(?:py|padding-y):/,unit:"rem",layer:d.Layer.CoreShorthand,declare:e=>({"padding-top":e,"padding-bottom":e}),variables:["spacing"]},padding:{match:/^p:/,unit:"rem",layer:d.Layer.CoreNativeShorthand,variables:["spacing"]},"padding-inline-start":{match:/^pis:/,layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},"padding-inline-end":{match:/^pie:/,layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},"padding-inline":{match:/^pi:/,unit:"rem",layer:d.Layer.CoreNativeShorthand,variables:["spacing"]},"flex-basis":{unit:"rem",layer:d.Layer.CoreNative},"flex-wrap":{match:["flex",["wrap","nowrap","wrap-reverse"]],layer:d.Layer.CoreNative},"flex-grow":{layer:d.Layer.CoreNative},"flex-shrink":{layer:d.Layer.CoreNative},"flex-direction":{match:["flex",["row","row-reverse","column","column-reverse"]],layer:d.Layer.CoreNative},flex:{layer:d.Layer.CoreNativeShorthand},display:{match:/^d:/,layer:d.Layer.CoreNative},width:{match:/^w:/,unit:"rem",layer:d.Layer.CoreNative},height:{match:/^h:/,unit:"rem",layer:d.Layer.CoreNative},"min-width":{match:/^min-w:/,unit:"rem",layer:d.Layer.CoreNative},"min-height":{match:/^min-h:/,unit:"rem",layer:d.Layer.CoreNative},size:{match:/^size:/,layer:d.Layer.CoreShorthand,unit:"rem",declare(e,t){let r=t.length;return{width:t[0].text,height:1===r?t[0].text:t[2].text}}},"min-size":{match:/^min:/,layer:d.Layer.CoreShorthand,unit:"rem",declare(e,t){let r=t.length;return{"min-width":t[0].text,"min-height":1===r?t[0].text:t[2].text}}},"max-size":{match:/^max:/,layer:d.Layer.CoreShorthand,unit:"rem",declare(e,t){let r=t.length;return{"max-width":t[0].text,"max-height":1===r?t[0].text:t[2].text}}},"box-sizing":{match:/^box:/,layer:d.Layer.CoreNative},"box-decoration-break":{match:["box-decoration",["slice","clone"]],layer:d.Layer.CoreNative,declare:e=>({"box-decoration-break":e,"-webkit-box-decoration-break":e})},contain:{layer:d.Layer.CoreNative},content:{layer:d.Layer.CoreNative},"counter-increment":{layer:d.Layer.CoreNative},"counter-reset":{layer:d.Layer.CoreNative},"letter-spacing":{match:/^ls:/,layer:d.Layer.CoreNative,unit:"em"},"line-height":{match:/^lh:/,layer:d.Layer.CoreNative},"object-fit":{match:["(?:object|obj)",["contain","cover","fill","scale-down"]],layer:d.Layer.CoreNative},"object-position":{match:["(?:object|obj)",["top","bottom","right","left","center"]],layer:d.Layer.CoreNative},"text-align":{match:["t(?:ext)?",["justify","center","left","right","start","end"]],layer:d.Layer.CoreNative},"text-decoration-color":{match:["text-decoration"],layer:d.Layer.CoreNative,colored:!0,variables:["text"]},"text-decoration-style":{match:["t(?:ext)?",["solid","double","dotted","dashed","wavy"]],layer:d.Layer.CoreNative},"text-decoration-thickness":{match:["text-decoration",["from-font"]],numeric:!0,layer:d.Layer.CoreNative,unit:"em"},"text-decoration-line":{match:["t(?:ext)?",["none","underline","overline","line-through"]],layer:d.Layer.CoreNative},"text-decoration":{match:["t(?:ext)?",["underline","overline","line-through"]],unit:"rem",colored:!0,layer:d.Layer.CoreNativeShorthand,variables:["text"]},"text-underline-offset":{unit:"rem",layer:d.Layer.CoreNative,variables:["spacing"]},"text-overflow":{match:["t(?:ext)?",["ellipsis","clip"]],layer:d.Layer.CoreNative},"text-orientation":{match:["t(?:ext)?",["mixed","upright","sideways-right","sideways","use-glyph-orientation"]],layer:d.Layer.CoreNative},"text-transform":{match:["t(?:ext)?",["uppercase","lowercase","capitalize"]],layer:d.Layer.CoreNative},"text-rendering":{match:["t(?:ext)?",["optimizeSpeed","optimizeLegibility","geometricPrecision"]],layer:d.Layer.CoreNative},"text-indent":{unit:"rem",layer:d.Layer.CoreNative},"vertical-align":{match:/^(?:v|vertical):/,layer:d.Layer.CoreNative},columns:{match:/^(?:columns|cols):/,layer:d.Layer.CoreNativeShorthand},"white-space":{layer:d.Layer.CoreNative},top:{layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},bottom:{layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},left:{layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},right:{layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},inset:{unit:"rem",layer:d.Layer.CoreNativeShorthand,variables:["spacing"]},lines:{match:/^lines:/,declare:e=>({overflow:"hidden",display:"-webkit-box","overflow-wrap":"break-word","text-overflow":"ellipsis","-webkit-box-orient":"vertical","-webkit-line-clamp":e})},"max-height":{match:/^max-h:/,unit:"rem",layer:d.Layer.CoreNative},"max-width":{match:/^max-w:/,unit:"rem",layer:d.Layer.CoreNative},opacity:{layer:d.Layer.CoreNative},visibility:{layer:d.Layer.CoreNative},clear:{layer:d.Layer.CoreNative},float:{layer:d.Layer.CoreNative},isolation:{layer:d.Layer.CoreNative},"overflow-x":{layer:d.Layer.CoreNative,declare:e=>"overlay"===e?{"overflow-x":["auto",e]}:{"overflow-x":e}},"overflow-y":{layer:d.Layer.CoreNative,declare:e=>"overlay"===e?{"overflow-y":["auto",e]}:{"overflow-y":e}},overflow:{layer:d.Layer.CoreNativeShorthand,declare:e=>"overlay"===e?{overflow:["auto",e]}:{overflow:e}},"overscroll-behavior-x":{layer:d.Layer.CoreNative},"overscroll-behavior-y":{layer:d.Layer.CoreNative},"overscroll-behavior":{layer:d.Layer.CoreNativeShorthand},"z-index":{match:/^z:/,layer:d.Layer.CoreNative},position:{layer:d.Layer.CoreNative},cursor:{layer:d.Layer.CoreNative},"pointer-events":{layer:d.Layer.CoreNative},resize:{layer:d.Layer.CoreNative},"touch-action":{layer:d.Layer.CoreNative},"word-break":{layer:d.Layer.CoreNative},"word-spacing":{layer:d.Layer.CoreNative,unit:"em"},"user-drag":{layer:d.Layer.CoreNative,declare:e=>({"user-drag":e,"-webkit-user-drag":e})},"user-select":{layer:d.Layer.CoreNative,declare:e=>({"user-select":e,"-webkit-user-select":e})},"text-shadow":{unit:"rem",layer:d.Layer.CoreNative,colored:!0},"text-size":{match:["t(?:ext)?"],numeric:!0,unit:"rem",declare:e=>({"font-size":e,"line-height":`calc(${e} + 0.875em)`})},"text-fill-color":{match:["(?:text-fill|text|t)"],layer:d.Layer.CoreNative,colored:!0,variables:["text"],declare:e=>({"-webkit-text-fill-color":e})},"text-stroke-width":{match:["text-stroke",["thin","medium","thick"]],numeric:!0,unit:"rem",layer:d.Layer.CoreNative,declare:e=>({"-webkit-text-stroke-width":e})},"text-stroke-color":{match:["text-stroke"],layer:d.Layer.CoreNative,colored:!0,variables:["text"],declare:e=>({"-webkit-text-stroke-color":e})},"text-stroke":{unit:"rem",layer:d.Layer.CoreNative,declare:e=>({"-webkit-text-stroke":e})},"box-shadow":{match:/^s(?:hadow)?:/,unit:"rem",layer:d.Layer.CoreNative,colored:!0},"table-layout":{layer:d.Layer.CoreNative},"transform-box":{match:["transform"],layer:d.Layer.CoreNative},"transform-style":{match:["transform",["flat","preserve-3d"]],layer:d.Layer.CoreNative},"transform-origin":{match:["transform",["top","bottom","right","left","center"]],numeric:!0,unit:"px",layer:d.Layer.CoreNative},transform:{match:/^(?:translate|scale|skew|rotate|perspective|matrix)(?:3d|[XYZ])?\(/,layer:d.Layer.CoreNative,analyze:e=>[e.startsWith("transform")?e.slice(10):e],variables:["spacing"]},"transition-property":{match:/^~property:/,layer:d.Layer.CoreNative},"transition-timing-function":{match:/^~easing:/,layer:d.Layer.CoreNative},"transition-duration":{match:/^~duration:/,layer:d.Layer.CoreNative,unit:"ms"},"transition-delay":{match:/^~delay:/,layer:d.Layer.CoreNative,unit:"ms"},transition:{match:/^~[^!*>+~:[@_]+\|/,analyze(e){if(e.startsWith("~"))return[e.slice(1)];{let t=e.indexOf(":");return this.prefix=e.slice(0,t+1),[e.slice(t+1)]}},layer:d.Layer.CoreNativeShorthand},"animation-delay":{match:/^@delay:/,layer:d.Layer.CoreNative,unit:"ms"},"animation-direction":{match:/^@direction:/,layer:d.Layer.CoreNative},"animation-duration":{match:/^@duration:/,layer:d.Layer.CoreNative,unit:"ms"},"animation-fill-mode":{match:/^@fill:/,layer:d.Layer.CoreNative},"animation-iteration-count":{match:/^@iteration:/,layer:d.Layer.CoreNative},"animation-name":{match:/^@name:/,layer:d.Layer.CoreNative},"animation-play-state":{match:/^@play:/,layer:d.Layer.CoreNative},"animation-timing-function":{match:/^@easing:/,layer:d.Layer.CoreNative},animation:{match:/^@[^!*>+~:[@_]+\|/,layer:d.Layer.CoreNativeShorthand,analyze(e){if(e.startsWith("@"))return[e.slice(1)];{let t=e.indexOf(":");return this.prefix=e.slice(0,t+1),[e.slice(t+1)]}}},"border-collapse":{match:["b(?:order)?",["collapse","separate"]],layer:d.Layer.CoreNative},"border-spacing":{unit:"rem",layer:d.Layer.CoreNative},"border-top-color":{match:["b(?:t|order-top(?:-color)?)"],layer:d.Layer.CoreNative,colored:!0},"border-bottom-color":{match:["b(?:b|order-bottom(?:-color)?)"],layer:d.Layer.CoreNative,colored:!0},"border-left-color":{match:["b(?:l|order-left(?:-color)?)"],layer:d.Layer.CoreNative,colored:!0},"border-right-color":{match:["b(?:r|order-right(?:-color)?)"],layer:d.Layer.CoreNative,colored:!0},"border-x-color":{match:["b(?:x|order-x(?:-color)?)"],layer:d.Layer.CoreShorthand,colored:!0,declare:e=>({"border-left-color":e,"border-right-color":e})},"border-y-color":{match:["b(?:y|order-y(?:-color)?)"],layer:d.Layer.CoreShorthand,colored:!0,declare:e=>({"border-top-color":e,"border-bottom-color":e})},"border-color":{match:["b(?:order)?(?:-color)?"],layer:d.Layer.CoreNativeShorthand,colored:!0},"border-top-left-radius":{match:/^r(?:tl|lt):/,unit:"rem",layer:d.Layer.CoreNative},"border-top-right-radius":{match:/^r(?:tr|rt):/,unit:"rem",layer:d.Layer.CoreNative},"border-bottom-left-radius":{match:/^r(?:bl|lb):/,unit:"rem",layer:d.Layer.CoreNative},"border-bottom-right-radius":{match:/^r(?:br|rb):/,unit:"rem",layer:d.Layer.CoreNative},"border-top-radius":{match:/^rt:/,unit:"rem",layer:d.Layer.CoreShorthand,declare:e=>({"border-top-left-radius":e,"border-top-right-radius":e})},"border-bottom-radius":{match:/^rb:/,unit:"rem",layer:d.Layer.CoreShorthand,declare:e=>({"border-bottom-left-radius":e,"border-bottom-right-radius":e})},"border-left-radius":{match:/^rl:/,unit:"rem",layer:d.Layer.CoreShorthand,declare:e=>({"border-top-left-radius":e,"border-bottom-left-radius":e})},"border-right-radius":{match:/^rr:/,unit:"rem",layer:d.Layer.CoreShorthand,declare:e=>({"border-top-right-radius":e,"border-bottom-right-radius":e})},"border-radius":{match:/^r:/,unit:"rem",layer:d.Layer.CoreNativeShorthand},"border-top-style":{match:["b(?:t|order-top(?:-style)?)",f],layer:d.Layer.CoreNative},"border-bottom-style":{match:["b(?:b|order-bottom(?:-style)?)",f],layer:d.Layer.CoreNative},"border-left-style":{match:["b(?:l|order-left(?:-style)?)",f],layer:d.Layer.CoreNative},"border-right-style":{match:["b(?:r|order-right(?:-style)?)",f],layer:d.Layer.CoreNative},"border-x-style":{match:["b(?:x|order-x(?:-style)?)",f],layer:d.Layer.CoreShorthand,declare:e=>({"border-left-style":e,"border-right-style":e})},"border-y-style":{match:["b(?:y|order-y(?:-style)?)",f],layer:d.Layer.CoreShorthand,declare:e=>({"border-top-style":e,"border-bottom-style":e})},"border-style":{match:["b(?:order)?(?:-style)?",f],layer:d.Layer.CoreNativeShorthand},"border-top-width":{match:["b(?:t|order-top(?:-width)?)"],numeric:!0,unit:"rem",layer:d.Layer.CoreNative},"border-bottom-width":{match:["b(?:b|order-bottom(?:-width)?)"],numeric:!0,unit:"rem",layer:d.Layer.CoreNative},"border-left-width":{match:["b(?:l|order-left(?:-width)?)"],numeric:!0,unit:"rem",layer:d.Layer.CoreNative},"border-right-width":{match:["b(?:r|order-right(?:-width)?)"],numeric:!0,unit:"rem",layer:d.Layer.CoreNative},"border-x-width":{match:["b(?:x|order-x(?:-width)?)"],numeric:!0,unit:"rem",layer:d.Layer.CoreShorthand,declare:e=>({"border-left-width":e,"border-right-width":e})},"border-y-width":{match:["b(?:y|order-y(?:-width)?)"],numeric:!0,unit:"rem",layer:d.Layer.CoreShorthand,declare:e=>({"border-top-width":e,"border-bottom-width":e})},"border-width":{match:["b(?:order)?(?:-width)?"],numeric:!0,unit:"rem",layer:d.Layer.CoreNativeShorthand},"border-image-outset":{unit:"rem",layer:d.Layer.CoreNative},"border-image-repeat":{match:["border-image",["stretch","repeat","round","space"]],layer:d.Layer.CoreNative},"border-image-slice":{layer:d.Layer.CoreNative},"border-image-source":{match:["border-image",["url","linear-gradient","radial-gradient","repeating-linear-gradient","repeating-radial-gradient","conic-gradient"]],layer:d.Layer.CoreNative},"border-image-width":{match:["border-image",["auto"]],numeric:!0,unit:"rem",layer:d.Layer.CoreNative},"border-image":{layer:d.Layer.CoreNativeShorthand},"border-top":{match:/^bt:/,layer:d.Layer.CoreNativeShorthand,unit:"rem",colored:!0,transformValueComponents:u},"border-bottom":{match:/^bb:/,layer:d.Layer.CoreNativeShorthand,unit:"rem",colored:!0,transformValueComponents:u},"border-left":{match:/^bl:/,layer:d.Layer.CoreNativeShorthand,unit:"rem",colored:!0,transformValueComponents:u},"border-right":{match:/^br:/,layer:d.Layer.CoreNativeShorthand,unit:"rem",colored:!0,transformValueComponents:u},"border-x":{match:/^(?:bx|border-x):/,unit:"rem",colored:!0,layer:d.Layer.CoreShorthand,transformValueComponents:u,declare:e=>({"border-left":e,"border-right":e})},"border-y":{match:/^(?:by|border-y):/,unit:"rem",colored:!0,layer:d.Layer.CoreShorthand,transformValueComponents:u,declare:e=>({"border-top":e,"border-bottom":e})},border:{match:/^b:/,unit:"rem",colored:!0,layer:d.Layer.CoreNativeShorthand,transformValueComponents:u},"background-attachment":{match:["(?:bg|background)",["fixed","local","scroll"]],layer:d.Layer.CoreNative},"background-blend-mode":{layer:d.Layer.CoreNative},"background-color":{match:["(?:bg|background)"],layer:d.Layer.CoreNative,colored:!0},"background-clip":{match:["(?:bg|background)",["text"]],layer:d.Layer.CoreNative,declare:e=>({"-webkit-background-clip":e,"background-clip":e})},"background-origin":{match:["(?:bg|background)"],layer:d.Layer.CoreNative},"background-position":{match:["(?:bg|background)",["top","bottom","right","left","center"]],layer:d.Layer.CoreNative,unit:"px"},"background-repeat":{match:["(?:bg|background)",["space","round","repeat","no-repeat","repeat-x","repeat-y"]],layer:d.Layer.CoreNative},"background-size":{match:["(?:bg|background)",["auto","cover","contain"]],numeric:!0,unit:"rem",layer:d.Layer.CoreNative},"background-image":{match:["(?:bg|background)",["(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)"]],layer:d.Layer.CoreNative},background:{match:/^bg:/,colored:!0,layer:d.Layer.CoreNativeShorthand},gradient:{match:/^gradient\(/,layer:d.Layer.CoreNative,colored:!0,declare:e=>({"background-image":"linear-"+e})},"mix-blend-mode":{match:/^blend:/,layer:d.Layer.CoreNative},"backdrop-filter":{match:/^bd:/,layer:d.Layer.CoreNative,colored:!0,declare:e=>({"backdrop-filter":e,"-webkit-backdrop-filter":e})},filter:{match:/^(?:blur|brightness|contrast|drop-shadow|grayscale|hue-rotate|invert|opacity|saturate|sepia)\(/,layer:d.Layer.CoreNative,colored:!0},fill:{match:/^fill:/,layer:d.Layer.CoreNative,colored:!0},"stroke-dasharray":{layer:d.Layer.CoreNative},"stroke-dashoffset":{layer:d.Layer.CoreNative,variables:["spacing"]},"stroke-width":{match:["stroke(?:-width)?"],numeric:!0,layer:d.Layer.CoreNative},stroke:{match:["stroke"],layer:d.Layer.CoreNative,colored:!0},x:{layer:d.Layer.CoreNative,variables:["spacing"]},y:{layer:d.Layer.CoreNative,variables:["spacing"]},cx:{layer:d.Layer.CoreNative,variables:["spacing"]},cy:{layer:d.Layer.CoreNative,variables:["spacing"]},rx:{layer:d.Layer.CoreNative},ry:{layer:d.Layer.CoreNative},"grid-column-start":{match:/^grid-col(?:umn)?-start:/,layer:d.Layer.CoreNative},"grid-column-end":{match:/^grid-col(?:umn)?-end:/,layer:d.Layer.CoreNative},"grid-column":{match:/^grid-col(?:umn)?(?:-span)?:/,layer:d.Layer.CoreNativeShorthand,transformValue(e){return"span"===this.prefix.slice(-5,-1)&&"auto"!==e?"span "+e+"/span "+e:e}},"grid-columns":{match:/^grid-col(?:umn)?s:/,declare:e=>({display:"grid","grid-template-columns":"repeat("+e+",minmax(0,1fr))"}),layer:d.Layer.Core},"grid-row-start":{layer:d.Layer.CoreNative},"grid-row-end":{layer:d.Layer.CoreNative},"grid-row":{match:/^grid-row-span:/,layer:d.Layer.CoreNativeShorthand,transformValue(e){return"span"===this.prefix.slice(-5,-1)&&"auto"!==e?"span "+e+"/span "+e:e}},"grid-rows":{match:/^grid-rows:/,declare:e=>({display:"grid","grid-auto-flow":"column","grid-template-rows":"repeat("+e+",minmax(0,1fr))"}),layer:d.Layer.Core},"grid-auto-columns":{match:/^grid-auto-cols:/,layer:d.Layer.CoreNative},"grid-auto-flow":{match:/^grid-flow:/,layer:d.Layer.CoreNative},"grid-auto-rows":{layer:d.Layer.CoreNative},"grid-template-areas":{layer:d.Layer.CoreNative},"grid-template-columns":{match:/^grid-template-cols:/,layer:d.Layer.CoreNative,unit:"rem"},"grid-template-rows":{layer:d.Layer.CoreNative,unit:"rem"},"grid-template":{layer:d.Layer.CoreNativeShorthand},"grid-area":{layer:d.Layer.CoreNativeShorthand},grid:{layer:d.Layer.CoreNativeShorthand},"column-gap":{match:/^gap-x:/,unit:"rem",layer:d.Layer.CoreNative,variables:["spacing"]},"row-gap":{match:/^gap-y:/,unit:"rem",layer:d.Layer.CoreNative,variables:["spacing"]},gap:{unit:"rem",layer:d.Layer.CoreNativeShorthand,variables:["spacing"]},order:{match:/^o:/,layer:d.Layer.CoreNative},"break-inside":{layer:d.Layer.CoreNative},"break-before":{layer:d.Layer.CoreNative},"break-after":{layer:d.Layer.CoreNative},"aspect-ratio":{match:/^aspect:/,layer:d.Layer.CoreNative},"column-span":{match:/^col-span:/,layer:d.Layer.CoreNative},"align-content":{match:/^ac:/,layer:d.Layer.CoreNative},"align-items":{match:/^ai:/,layer:d.Layer.CoreNative},"align-self":{match:/^as:/,layer:d.Layer.CoreNative},"justify-content":{match:/^jc:/,layer:d.Layer.CoreNative},"justify-items":{match:/^ji:/,layer:d.Layer.CoreNative},"justify-self":{match:/^js:/,layer:d.Layer.CoreNative},"place-content":{layer:d.Layer.CoreNativeShorthand},"place-items":{layer:d.Layer.CoreNativeShorthand},"place-self":{layer:d.Layer.CoreNativeShorthand},"list-style-position":{match:["list-style",["inside","outside"]],layer:d.Layer.CoreNative},"list-style-type":{match:["list-style",["disc","decimal"]],layer:d.Layer.CoreNative},"list-style-image":{match:["list-style",["(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)"]],layer:d.Layer.CoreNative},"list-style":{layer:d.Layer.CoreNativeShorthand},"outline-color":{match:["outline"],layer:d.Layer.CoreNative,colored:!0},"outline-offset":{unit:"rem",layer:d.Layer.CoreNative,variables:["spacing"]},"outline-style":{match:["outline",f],layer:d.Layer.CoreNative},"outline-width":{match:["outline",["medium","thick","thin"]],numeric:!0,unit:"rem",layer:d.Layer.CoreNative},outline:{unit:"rem",layer:d.Layer.CoreNativeShorthand,colored:!0,variables:["outline-width","outline-style","outline-offset","outline-color"],transformValueComponents:u},"accent-color":{match:/^accent:/,layer:d.Layer.CoreNative,colored:!0},appearance:{layer:d.Layer.CoreNative},"caret-color":{match:/^caret:/,layer:d.Layer.CoreNative,colored:!0,variables:["text"]},"scroll-behavior":{layer:d.Layer.CoreNative},"scroll-margin-left":{match:/^scroll-ml:/,layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},"scroll-margin-right":{match:/^scroll-mr:/,layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},"scroll-margin-top":{match:/^scroll-mt:/,layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},"scroll-margin-bottom":{match:/^scroll-mb:/,layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},"scroll-margin-x":{match:/^(?:scroll-margin-x|scroll-mx):/,unit:"rem",layer:d.Layer.CoreShorthand,declare:e=>({"scroll-margin-left":e,"scroll-margin-right":e}),variables:["spacing"]},"scroll-margin-y":{match:/^(?:scroll-margin-y|scroll-my):/,unit:"rem",layer:d.Layer.CoreShorthand,declare:e=>({"scroll-margin-top":e,"scroll-margin-bottom":e}),variables:["spacing"]},"scroll-margin":{match:/^scroll-m:/,unit:"rem",layer:d.Layer.CoreNativeShorthand,variables:["spacing"]},"scroll-padding-left":{match:/^scroll-pl:/,layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},"scroll-padding-right":{match:/^scroll-pr:/,layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},"scroll-padding-top":{match:/^scroll-pt:/,layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},"scroll-padding-bottom":{match:/^scroll-pb:/,layer:d.Layer.CoreNative,unit:"rem",variables:["spacing"]},"scroll-padding-x":{match:/^(?:scroll-padding-x|scroll-px):/,unit:"rem",layer:d.Layer.CoreShorthand,declare:e=>({"scroll-padding-left":e,"scroll-padding-right":e}),variables:["spacing"]},"scroll-padding-y":{match:/^(?:scroll-padding-y|scroll-py):/,unit:"rem",layer:d.Layer.CoreShorthand,declare:e=>({"scroll-padding-top":e,"scroll-padding-bottom":e}),variables:["spacing"]},"scroll-padding":{match:/^scroll-p:/,unit:"rem",layer:d.Layer.CoreNativeShorthand,variables:["spacing"]},"scroll-snap-align":{match:["scroll-snap",["start","end","center"]],layer:d.Layer.CoreNative},"scroll-snap-stop":{match:["scroll-snap",["normal","always"]],layer:d.Layer.CoreNative},"scroll-snap-type":{match:["scroll-snap",["x","y","block","inline","both"]],layer:d.Layer.CoreNative},"will-change":{layer:d.Layer.CoreNative},"writing-mode":{match:/^writing:/,layer:d.Layer.CoreNative},direction:{layer:d.Layer.CoreNative},"shape-outside":{match:["shape",["(?:inset|circle|ellipse|polygon|url|linear-gradient)\\(.*\\)"]],layer:d.Layer.CoreNative},"shape-margin":{match:["shape"],numeric:!0,unit:"rem",layer:d.Layer.CoreNative,variables:["spacing"]},"shape-image-threshold":{layer:d.Layer.CoreNative},"clip-path":{match:/^clip:/,layer:d.Layer.CoreNative},quotes:{layer:d.Layer.CoreNative},"mask-image":{layer:d.Layer.CoreNative,declare:e=>({"mask-image":e,"-webkit-mask-image":e})}};n.BORDER_STYLES=f,n.autofillSolidToValueComponent=u,n.default=m;var y={};y.BASE_UNIT_REGEX=/^([+-]?(?:\d+(?:\.?\d+)?|\.\d+))x$/m;let p={$:{colored:!0,transform(e){let t,r;let a=e.indexOf(",");return -1!==a?(t=e.slice(0,a),r=e.slice(a+1)):t=e,[{type:"variable",name:t,fallback:r}]}},calc:{transform(e,t){let r=[],a=0,i=(t,l,s,o,n)=>{let c;let h=r!==t,d=[],f=!1,u=!1,m=!1,b=!1,v="",g=(r,i="",o="")=>{if(!1===c&&" "!==r&&this.definition.unit&&(c=void 0,b||C()),v){if(!n){let e=y.BASE_UNIT_REGEX.exec(v);e&&(v=(+e[1]*(this.css.config.baseUnit??1)).toString())}if(f||s)t.push({type:"string",value:v});else{let e=this.parseValueComponent(v);if(!u&&isNaN(+v)&&"number"===e.type&&(u=!0),b)isNaN(+v)?"number"===e.type?(t.push(e),m=!0):t.push(e):t.push({type:"number",value:+v});else if(h){let e={type:"string",value:v};d.push(e),t.push(e)}else t.push(e)}v=""}r&&(("+"===r||"-"===r)&&N(),i&&" "===e[a-1]&&(i=""),o&&" "===e[a+1]&&(o=""),l?t.push({type:"separator",value:r,text:r}):t.push({type:"separator",value:r,text:i+r+o})),f=!1},C=()=>{("rem"===this.definition.unit||"em"===this.definition.unit)&&t.push({type:"separator",value:"/",text:" / "},{type:"number",value:this.css.config.rootSize}),t.push({type:"separator",value:"*",text:" * "},{type:"number",value:1,unit:this.definition.unit})},N=()=>{!b||m||o||h&&!u||C(),b=!1,m=!1};for(;a<e.length;a++){let r=e[a];if("("===r){let e=/^([+-])/.exec(v);e&&t.push({type:"string",value:e[1]});let l=e?v.slice(1):v,s={type:"function",name:l,symbol:r,children:[],bypassTransform:"calc"===l};t.push(s),v="",a++;let o="$"===l||"var"===l;if(!(c=i(s.children,""!==l&&"calc"!==l&&(o||Object.prototype.hasOwnProperty.call(p,l)),f||o||b&&m,b,o)||"var"===l)&&"$"===l){let e=this.css.variables[s.children[0].value]?.type;c=!e||"string"===e}c&&(u=!0,m=!0)}else if(")"===r){if(g(""),u)for(let e of d)Object.assign(e,this.parseValueComponent(e.value));return u}else if(","===r)g(r,""," ");else if(" "===r)g(r);else{let t=e[a-1];switch(r){case"+":case"-":v||")"===t?g(r," "," "):v+=r;break;case"*":this.definition.unit&&(b=!0),g(r," "," ");break;case"/":this.definition.unit&&(b=!0),g(r," "," "),f=!0;break;default:v+=r}}}g(""),N()};return i(r,!1,!1,!1,!1),"calc("+this.resolveValue(r,p.calc.unit??this.definition.unit,t,!0)+")"}},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}},b={mediaQueries:s,selectors:a,semantics:i,rules:n.default,functions:p,animations:l,variables:o,scope:"",rootSize:16,baseUnit:4,override:!1,important:!1,themeDriver:"class"};r.selectors=a,r.semantics=i,r.animations=l,r.variables=o,r.rules=n.default,r.functions=p,r.mediaQueries=s,r.config=b;var v={};let g=/^(media|supports|page|font-face|keyframes|counter-style|font-feature-values|property|layer|container)(?=\||{|\(|$)/;function C(e){let t="undefined"!=typeof Buffer?Buffer:null;return!!t&&e instanceof t||e instanceof Date||e instanceof RegExp}function N(e){if(("undefined"!=typeof Buffer?Buffer:null)&&e instanceof Buffer){let t=Buffer.alloc(e.length);return e.copy(t),t}if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp)return new RegExp(e);throw Error("Unexpected situation")}function x(e,t){return"__proto__"===t?void 0:e[t]}function L(...e){let t,r;let a={};return e.forEach(function(e){"object"!=typeof e||null===e||Array.isArray(e)||Object.keys(e).forEach(function(i){if(r=x(a,i),(t=x(e,i))!==a){if("object"!=typeof t||null===t){a[i]=t;return}if(Array.isArray(t)){a[i]=function e(t){let r=[];return t.forEach(function(t,a){"object"==typeof t&&null!==t?Array.isArray(t)?r[a]=e(t):C(t)?r[a]=N(t):r[a]=L({},t):r[a]=t}),r}(t);return}if(C(t)){a[i]=N(t);return}if("object"!=typeof r||null===r||Array.isArray(r)){a[i]=L({},t);return}else{a[i]=L(r,t);return}}})}),a}v.Rule=class{className;css;at;priority;natives;order;layer;stateToken;declarations;animationNames;variableNames;constructor(e,t,r){let a,i,l;this.className=e,this.css=r,this.at={},this.priority=-1,this.natives=[],this.order=0,this.layer=0,this.resolveValue=(e,t,r,a)=>{let{functions:i}=this.css.config,l="";for(let s of e)switch(s.type){case"function":let e=i&&i[s.name];if(e?.transform&&!s.bypassTransform){let i=e.transform.call(this,this.resolveValue(s.children,e.unit??t,r,a||"calc"===s.name),r);l+=s.text="string"==typeof i?i:this.resolveValue(i,e?.unit??t,r,a)}else l+=s.text=s.name+s.symbol+this.resolveValue(s.children,e?.unit??t,r,a)+h.START_SYMBOLS[s.symbol];break;case"variable":let o=this.css.variables[s.name];if(o){let e=(e,t)=>{if(o.themes){if(this.theme){let t=o.themes[this.theme]??o;t?.value&&e(t)}else this.variableNames||(this.variableNames=[]),this.variableNames.includes(s.name)||this.variableNames.push(s.name),t()}else e(o)};switch(o.type){case"string":e(e=>{let i=[];this.parseValue(i,0,e.value,t,"",void 0,a,[...r,s.name]),l+=s.text=this.resolveValue(i,t,[...r,s.name],a)},()=>{l+=s.text=`var(--${s.name})`});break;case"number":e(e=>{if(a)l+=s.text=e.value;else{let r=this.parseValueComponent(e.value,t);l+=s.text=r.value+(r.unit??"")}},()=>{l+=s.text=t?`calc(var(--${s.name}) / 16 * 1rem)`:`var(--${s.name})`});break;case"color":let i=s.alpha?"/"+s.alpha:"";e(e=>{l+=s.text=`${e.space}(${e.value}${i})`},()=>{l+=s.text=`${o.space}(var(--${s.name})${i})`})}}else l+=s.text=`var(--${s.name}${s.fallback?","+s.fallback:""})`;break;case"separator":l+=s.text?s.text:s.text=s.value;break;case"number":l+=s.text=s.value+(s.unit||"");break;default:l+=s.text=s.value}return l},this.parseValue=(e,t,r,a,i,l,s=!1,o=[])=>{let n=void 0===l,c=!n&&(l.endsWith("$")||l.endsWith("var")),d="'"===i||'"'===i,f=[","];this.definition.separators?.length&&f.push(...this.definition.separators);let u="",m=()=>{if(u){let t=!1;if(!c||e.length){let r=(r,a)=>{let i=Object.prototype.hasOwnProperty.call(this.variables,r)?this.variables[r]:Object.prototype.hasOwnProperty.call(this.css.variables,r)?this.css.variables[r]:void 0;if(i){let l=i.name??r;if(!o.includes(l)){t=!0;let r={type:"variable",name:l,variable:this.css.variables[l]};a&&(r.alpha=a),e.push(r)}}};if(r(u),!t&&this.colored){let[e,t]=u.split("/");r(e,t)}}if(!t){if(!c){let e=y.BASE_UNIT_REGEX.exec(u);e&&(u=String(+e[1]*(this.css.config.baseUnit??1)))}s?e.push({type:"string",value:u}):e.push(this.parseValueComponent(u,a))}u=""}};for(;t<r.length;t++){let o=r[t];if(o===i){if(d){let e=0;for(let t=u.length-1;"\\"===u[t];t--)e++;if(e%2){u+=o;continue}m()}else m();return t}if(!d&&o in h.START_SYMBOLS){let i=u,n={type:"function",name:i,symbol:o,children:[]};e.push(n),u="";let c="("===o?this.css.config.functions?.[i]:void 0;!this.colored&&c?.colored&&(this.colored=!0),t=this.parseValue(n.children,++t,r,c?.unit??a,h.START_SYMBOLS[o],i||l||"",s||"calc"===i)}else if("|"!==o&&" "!==o||"}"===i||d&&"path"!==l){if(!d){if("."===o){if(isNaN(+r[t+1])){if(n)break}else"-"===r[t-1]&&(u+="0")}else if(f.includes(o)){m(),e.push({type:"separator",value:o,text:(","===o?"":" ")+o+(","===o?"":" ")});continue}else if(n&&("#"===o&&(u||e.length&&"separator"!==e[e.length-1].type)||["!","*",">","+","~",":","[","@","_"].includes(o)))break}u+=o}else m(),e.push({type:"separator",value:" "})}return m(),t},Object.assign(this,t);let{id:s,definition:o}=t,{analyze:n,transformValue:f,declare:u,transformValueComponents:m,create:p,layer:b,unit:v,colored:C}=o;this.layer=b,this.colored=!!C,o.unit||(o.unit=""),o.separators||(o.separators=[","]);let{scope:N,important:x,themeDriver:L}=r.config,{selectors:w,mediaQueries:k,stylesBy:S,animations:$}=r,R=S[e];if(p&&p.call(this,e),this.declarations=o.declarations,b===d.Layer.Semantic)a=e.slice(s.length-1);else{let t;if(n)[t,i]=n.call(this,e);else{let r=e.indexOf(":");this.prefix=e.slice(0,r+1),t=e.slice(r+1)}this.valueComponents=[],a=t.slice(this.parseValue(this.valueComponents,0,t,v,"",void 0,!1,"animation"===s||"animation-name"===s?Object.keys(this.css.animations):[]))}"!"===a[0]&&(this.important=!0,a=a.slice(1)),this.stateToken=a;let O=(e,t)=>{let r=(e,t,a,i)=>{for(let[i,l]of t)if(i.test(e)){for(let s of l)r(e.replace(i,s),t,a,!0);return}i&&a.push(e)},a=e=>{let t=e.split(/(\\'(?:.*?)[^\\]\\')(?=[*_>~+,)])|(\[[^=]+='(?:.*?)[^\\]'\])/).map((e,t)=>t%3?e:e.replace(/(^|[^_])_(?!_)/g,"$1 ")).join(""),r=[],a="",i=0;for(let e=0;e<t.length;e++){let l=t[e];if("\\"===l){a+=l+t[++e];continue}i||","!==l?(a+=l,i&&")"===l?i--:"("===l&&i++):(r.push(a),a="")}return a&&r.push(a),r},i=[];""in w?r(e,w[""],i,!0):i.push(e);let l={};for(let[e,t]of Object.entries(w)){if(!e)continue;let a=[];for(let e of i)r(e,t,a,!1);a.length&&(l[e]=a)}let s=(e,r)=>{let i=r.reduce((e,t)=>(e.push(...a(t)),e),[]);e in t?t[e].push(...i):t[e]=i},o=Object.keys(l);if(o.length)for(let e of o)s(e,l[e]);else s("",i)};i?(this.vendorPrefixSelectors={},O(i,this.vendorPrefixSelectors)):this.vendorPrefixSelectors={"":[""]};let j=a.split("@"),P=j[0];if(P)for(let e of(this.vendorSuffixSelectors={},O(P,this.vendorSuffixSelectors),Object.values(this.vendorSuffixSelectors)))for(let t of e){!1!==this.hasWhere&&(this.hasWhere=t.includes(":where("));let e=[":disabled",":active",":focus",":hover"];for(let r=0;r<e.length;r++)if(t.includes(e[r])){(-1===this.priority||this.priority>r)&&(this.priority=r);break}}else this.vendorSuffixSelectors={"":[""]};let A={},z=Object.prototype.hasOwnProperty.call(this.vendorPrefixSelectors,""),V=Object.prototype.hasOwnProperty.call(this.vendorSuffixSelectors,"");if(z)A[""]=V?[""]:Object.keys(this.vendorSuffixSelectors);else if(V)for(let e in this.vendorPrefixSelectors)A[e]=[""];else for(let e in this.vendorPrefixSelectors){let t=A[e]=[];if(Object.prototype.hasOwnProperty.call(this.vendorSuffixSelectors,e))t.push(e);else for(let e in this.vendorSuffixSelectors)t.push(e)}for(let e=1;e<j.length;e++){let t=j[e];if(t){if("rtl"===t||"ltr"===t)this.direction=t;else{let e,r="",a=g.exec(t);if(a)r=a[1],e=t.slice(r.length);else{this.media={token:t,features:{}};let a=[],i=e=>{if("all"===e||"print"===e||"screen"===e||"speech"===e)this.media.type=e;else if(e.startsWith("")){if("landscape"===e||"portrait"===e)a.push("(orientation:"+e+")");else if("motion"===e||"reduced-motion"===e)a.push("(prefers-reduced-motion:"+("motion"===e?"no-preference":"reduce")+")");else{let t=k[e];if(t&&"string"==typeof t)a.push(t);else{let r="",i="",l=0;e.startsWith("<=")?(i="<=",r="max-width"):e.startsWith(">=")||t?(i=">=",r="min-width"):e.startsWith(">")?(i=">",r="min-width",l=.02):e.startsWith("<")&&(i="<",r="max-width",l=-.02);let s=i?e.replace(i,""):e,o=k[s];switch(r){case"max-width":case"min-width":let n={};"number"==typeof o?n={type:"number",value:o+l,unit:"px"}:"number"===(n=this.parseValueComponent(s,"px")).type&&"px"===n.unit&&(n.value+=l),this.media.features[r]=n,"number"===n.type?a.push("("+r+":"+(n.value+n.unit)+")"):a.push("("+r+":"+n.value+")")}}}}},l=t.includes("&");if(l)for(let e of t.split("&"))i(e);else i(t);if(this.media.type&&(e=this.media.type),a.length&&(e=a.join(" and ")),e)r="media";else if(!l){this.theme=t;continue}}e&&(this.at[r]=(r in this.at?this.at[r]+" and ":"")+e.replace(/\|/g," "))}}}this.valueComponents&&(m&&(this.valueComponents=m.call(this,this.valueComponents)),l=this.resolveValue(this.valueComponents,v,[],!1),f&&(l=f.call(this,l)),u?this.declarations=u.call(this,l,this.valueComponents):s&&(this.declarations={[s]:l}));let T=[];for(let e in this.declarations){let t=e=>{if($&&(e.startsWith("animation")||e.startsWith("animation-name"))){let t=e.split(":")[1].split("!important")[0].split(" ").filter(e=>e in this.css.animations&&(!this.animationNames||!this.animationNames.includes(e)));t.length&&(this.animationNames||(this.animationNames=[]),this.animationNames=t)}T.push(e+((this.important||x)&&!e.endsWith("!important")?"!important":""))},r=e+":",a=this.declarations[e];if(Array.isArray(a))for(let e of a)t(r+String(e));else t(r+String(a))}if(T.length)for(let t in A)for(let r of A[t]){let a="";this.direction&&(a+="[dir="+this.direction+"] ");let i=this.vendorPrefixSelectors[t],l=this.vendorSuffixSelectors[r],s=i.map(e=>e+a),o=e=>s.map(e=>(this.theme&&"media"!==L?"host"===L?`:host(.${this.theme}) `:`.${this.theme} `:"")+(N?N+" ":"")+e).reduce((t,r)=>(t.push(l.reduce((t,a)=>(t.push(r+"."+c(e)+a),t),[]).join(",")),t),[]).join(","),n=o(e)+(R?R.reduce((e,t)=>e+","+o(t),""):"")+"{"+T.join(";")+"}";for(let e of Object.keys(this.at).sort((e,t)=>"supports"===t?-1:1))n="@"+e+(e.includes(" ")?"":" ")+this.at[e]+"{"+n+"}";this.theme&&"media"===L&&(n=`@media(prefers-color-scheme:${this.theme}){`+n+"}"),this.natives.push({text:n})}}resolveValue;get text(){return this.natives.map(e=>e.text).join("")}parseValue;parseValueComponent(e,t=this.definition.unit){let r;let a=t??this.definition.unit,i="";if("number"==typeof e)return a&&!i?(("rem"===a||"em"===a)&&(r=e/(this.css.config.rootSize||1)),i=a||""):r=e,{value:r,unit:i,type:"number"};if(a){if(/^\d+\/\d+/.test(e)){let[t,r]=e.split("/");return{value:+t/+r*100,unit:"%",type:"number"}}let t=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(t)return r=+t[1],(i=t[3]||"")||(("rem"===a||"em"===a)&&(r/=this.css.config.rootSize||1),i=a||""),{value:r,unit:i,type:"number"}}return{value:e,type:"string"}}};var w={},k={};k.hexToRgb=function(e){let t,r,a,i;return e.startsWith("#")&&(e=e.slice(1)),3===e.length||4===e.length?(t=parseInt(e[0]+e[0],16),r=parseInt(e[1]+e[1],16),a=parseInt(e[2]+e[2],16),i=4===e.length?Math.round(parseInt(e[3]+e[3],16)/255*100)/100:1):(6===e.length||8===e.length)&&(t=parseInt(e.slice(0,2),16),r=parseInt(e.slice(2,4),16),a=parseInt(e.slice(4,6),16),i=8===e.length?Math.round(parseInt(e.slice(6,8),16)/255*100)/100:1),[t,r,a,i]};var S={};S.flattenObject=function e(t,r=""){return Object.entries(t).reduce((t,[a,i])=>{let l=r?`${r}${a?"-"+a:""}`:a;return"object"!=typeof i||Array.isArray(i)?t[l]=i:Object.assign(t,e(i,l)),t},{})};var $={};$.extendConfig=function(...e){let t=e=>{let t=L({},e),r=e=>{for(let t in e){let a=e[t];"object"!=typeof a||Array.isArray(a)?t&&!t.startsWith("@")&&(e[t]={"":a}):r(a)}};return t.styles?r(t.styles):t.styles={},t.mediaQueries?r(t.mediaQueries):t.mediaQueries={},t.variables?r(t.variables):t.variables={},t},r=[];for(let a of e)!function e(a){if(a.extends?.length)for(let t of a.extends)e("config"in t?t.config:t);r.push(t(a))}(a);let a=r[0];for(let e=1;e<r.length;e++){let t=r[e];a=L(a,t),Object.prototype.hasOwnProperty.call(t,"animations")&&a.animations&&Object.assign(a.animations,t.animations)}return a},Object.defineProperty(w,"__esModule",{value:!0});class R{customConfig;static config=r.config;rules;ruleBy;classesUsage;config;RegisteredSemanticRules;RegisteredRules;constructor(e=r.config){this.customConfig=e,this.rules=[],this.ruleBy={},this.classesUsage={},this.RegisteredSemanticRules=[],this.RegisteredRules=[],e?.override?this.config=$.extendConfig(e):this.config=$.extendConfig(r.config,e),this.resolve(),this.constructor===R&&O.push(this)}resolve(){this.styles={},this.stylesBy={},this.selectors={},this.variables={},this.mediaQueries={},this.animations={},this.RegisteredRules.length=0,this.RegisteredSemanticRules.length=0,this.variablesNativeRules={},this.hasKeyframesRule=!1;let e={current:void 0,currentColor:void 0,transparent:void 0},{styles:t,selectors:r,variables:a,semantics:i,mediaQueries:l,rules:s,animations:o}=this.config;function n(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}if(r){let e=S.flattenObject(r);for(let t in e){let r=e[t],a=RegExp(n(t)+"(?![a-z-])");for(let e of Array.isArray(r)?r:[r]){let t=e.match(/^::-[a-z]+-/m)?.[0]??"",r=this.selectors[t];r||(r=this.selectors[t]=[]);let i=r.find(([e])=>e===a);i||(i=[a,[]],r.push(i)),i[1].push(e)}}}if(a){let t={},r=(a,i,l)=>{if(!a)return;let s=(t,r,a,i)=>{if(void 0===r)return;if("color"===r.type){if(i){let e=r.value.indexOf("/");r={...r,value:-1===e?r.value+" / "+(i.startsWith("0.")?i.slice(1):i):r.value.slice(0,e+2)+String(+r.value.slice(e+2)*+i).slice(1)}}e[t]=void 0}let s=a??l;if(void 0!==s){if(Object.prototype.hasOwnProperty.call(this.variables,t)){let e=this.variables[t];s?(e.themes||(e.themes={}),e.themes[s]=r):(e.value=r.value,"color"===r.type&&(e.space=r.space))}else if(s){let e={type:r.type,themes:{[s]:r}};"color"===r.type&&(e.space=r.space),this.variables[t]=e}else this.variables[t]=r}else this.variables[t]=r},o=typeof a;if("object"===o){if(Array.isArray(a))s(i,{type:"string",value:a.join(",")});else{let e=Object.keys(a);for(let t of e)""===t||t.startsWith("@")?r(a[t],i,t||e.some(e=>e.startsWith("@"))?t.slice(1):void 0):r(a[t],i+"-"+t,void 0)}}else if("number"===o)s(i,{type:"number",value:a}),s("-"+i,{type:"number",value:-1*a});else if("string"===o){let e=/^\$\((.*?)\)(?: ?\/ ?(.+?))?$/.exec(a);if(e)Object.prototype.hasOwnProperty.call(t,i)||(t[i]={}),t[i][l]=()=>{delete t[i][l];let[r,a]=e[1].split("@");if(r){if(Object.prototype.hasOwnProperty.call(t,r))for(let e of Object.keys(t[r]))t[r][e]?.();let l=this.variables[r];if(l){if(void 0===a&&l.themes)for(let t in s(i,{type:l.type,value:l.value,space:l.space},"",e[2]),l.themes)s(i,l.themes[t],t,e[2]);else{let t=void 0!==a?l.themes?.[a]:l;if(t){let r={type:t.type,value:t.value};"color"===t.type&&(r.space=t.space),s(i,r,void 0,e[2])}}}}};else{let e=/^#([A-Fa-f0-9]{3,4}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{8})$/.exec(a);if(e){let[t,r,a,l]=k.hexToRgb(e[1]);s(i,{type:"color",value:`${t} ${r} ${a}${1===l?"":" / "+l}`,space:"rgb"})}else{let e=/^rgb\( *([0-9]{1,3})(?: *, *| +)([0-9]{1,3})(?: *, *| +)([0-9]{1,3}) *(?:(?:,|\/) *(.*?) *)?\)$/.exec(a);if(e)s(i,{type:"color",value:e[1]+" "+e[2]+" "+e[3]+(e[4]?" / "+(e[4].startsWith("0.")?e[4].slice(1):e[4]):""),space:"rgb"});else{let e=/^hsl\((.*?)\)$/.exec(a);e?s(i,{type:"color",value:e[1],space:"hsl"}):s(i,{type:"string",value:a})}}}}};for(let e in a)r(a[e],e);for(let e of Object.keys(t))for(let r of Object.keys(t[e]))t[e][r]?.()}if(l&&(this.mediaQueries=S.flattenObject(l)),o)for(let e in o){let t=this.animations[e]={},r=o[e];for(let e in r){let a=t[e]={},i=r[e];for(let e in i)a[e]=i[e]}}let c=t?S.flattenObject(t):{},h=Object.keys(c),f=e=>{if(Object.prototype.hasOwnProperty.call(this.styles,e))return;let t=this.styles[e]=[],r=c[e];if(r)for(let a of r.replace(/(?:\n(?:\s*))+/g," ").trim().split(" ")){let r=r=>{if(Object.prototype.hasOwnProperty.call(this.stylesBy,r)){let t=this.stylesBy[r];t.includes(e)||t.push(e)}else this.stylesBy[r]=[e];t.includes(r)||t.push(r)};if(h.includes(a))for(let e of(f(a),this.styles[a]))r(e);else r(a)}};for(let e of h)f(e);if(i&&Object.entries(i).sort((e,t)=>e[0].localeCompare(t[0])).forEach(([e,t],r)=>{this.RegisteredSemanticRules.push({id:"."+e,match:RegExp("^"+n(e)+"(?=!|\\*|>|\\+|~|:|\\[|@|_|\\.|$)","m"),order:r,definition:{declarations:t,layer:d.Layer.Semantic}})}),s){let t=Object.entries(s).sort((e,t)=>e[1].layer!==t[1].layer?(t[1].layer||0)-(e[1].layer||0):t[0].localeCompare(e[0])),r=t.length,a=Object.keys(e);t.forEach(([e,t],i)=>{let l={id:e,variables:{},order:this.RegisteredSemanticRules.length+r-1-i,definition:t};this.RegisteredRules.push(l);let s=t.match,o=e=>{for(let t in this.variables)if(t.startsWith(e+"-")||t.startsWith("-"+e+"-")){let r=t.slice(e.length+(e.startsWith("-")?0:1));l.variables[r]={...this.variables[t],name:t}}};if(t.variables)for(let e of t.variables)o(e);if(o(e),s){if(Array.isArray(s)){let[e,r=[]]=s,i=[];r.length&&i.push(`(?:${r.join("|")})(?![a-zA-Z0-9-])`),Object.keys(l.variables).length&&i.push(`(?:${Object.keys(l.variables).join("|")})(?![a-zA-Z0-9-])`),t.colored&&i.push("#","(?:color|color-contrast|color-mix|hwb|lab|lch|oklab|oklch|rgb|rgba|hsl|hsla)\\(.*\\)",`(?:${a.join("|")})(?![a-zA-Z0-9-])`),t.numeric&&i.push("[\\d\\.]","(?:max|min|calc|clamp)\\(.*\\)"),i.length&&(l.match=RegExp(`^${e}:(?:${i.join("|")})[^|]*?(?:@|$)`))}else l.match=s}})}}match(e){for(let t of this.RegisteredRules)if(t.match?.test(e)||(t.definition.layer===d.Layer.Native||t.definition.layer===d.Layer.NativeShorthand||t.definition.layer===d.Layer.CoreNative||t.definition.layer===d.Layer.CoreNativeShorthand)&&e.startsWith(t.id+":"))return t;for(let t of this.RegisteredSemanticRules)if(t.match?.test(e))return t}generate(e){return(Object.prototype.hasOwnProperty.call(this.styles,e)?this.styles[e].map(e=>this.create(e)):[this.create(e)]).filter(e=>e&&e.text)}create(e){if(Object.prototype.hasOwnProperty.call(this.ruleBy,e))return this.ruleBy[e];let t=this.match(e);if(t)return new v.Rule(e,t,this)}refresh(e=this.customConfig){for(let t in e?.override?this.config=$.extendConfig(e):this.config=$.extendConfig(r.config,e),this.resolve(),this.rules.length=0,this.ruleBy={},this.classesUsage)this.add(t);return this}reset(){for(let e in this.ruleBy={},this.classesUsage={},this.rules.length=0,this.hasKeyframesRule=!1,this.variablesNativeRules={},this.animations){let t=this.animations[e];t.usage=0,t.native=void 0}for(let e in this.variables)this.variables[e].usage=0;return this}destroy(){return this.reset(),O.splice(O.indexOf(this),1),this}add(...e){for(let t of e){let e=this.generate(t);if(e.length)for(let t of e)this.insert(t)}return this}delete(...e){let t=this.style?.sheet,r=e=>{let r=this.ruleBy[e];if(!(!r||Object.prototype.hasOwnProperty.call(this.stylesBy,e)&&this.stylesBy[e].some(e=>Object.prototype.hasOwnProperty.call(this.classesUsage,e)))){if(t&&r.natives.length){let e=r.natives[0];for(let a=0;a<t.cssRules.length;a++)if(t.cssRules[a]===e.cssRule){for(let e=0;e<r.natives.length;e++)t.deleteRule(a);break}}if(this.rules.splice(this.rules.indexOf(r),1),delete this.ruleBy[e],r.variableNames)for(let e of r.variableNames){let r=this.variables[e];if(r.usage||(r.usage=0),!--r.usage){let a=r=>{let a=this.variablesNativeRules[r];if(a.cssRule.style.removeProperty("--"+e),!a.cssRule.style.length){let e=this.rules[0],i=e.natives.indexOf(a);t?.deleteRule(i),e.natives.splice(i,1),delete this.variablesNativeRules[r],e.natives.length||(this.rules.splice(0,1),this.variablesNativeRules={})}};if(r.value&&a(""),r.themes)for(let e in r.themes)a(e)}}if(r.animationNames){let e=Object.keys(this.variablesNativeRules).length?1:0,t=this.rules[e];for(let e of r.animationNames){let r=this.animations[e];if(r.usage||(r.usage=0),!--r.usage&&r.native){let e=t.natives.indexOf(r.native);this.style.sheet?.deleteRule(Object.keys(this.variablesNativeRules).length+e),t.natives.splice(e,1),r.native=void 0}}t.natives.length||(this.rules.splice(e,1),this.hasKeyframesRule=!1)}r.definition.delete?.call(r,e)}};for(let t of e)if(Object.prototype.hasOwnProperty.call(this.styles,t)){for(let e of this.styles[t])Object.prototype.hasOwnProperty.call(this.classesUsage,e)||r(e);delete this.ruleBy[t]}else r(t)}insert(e){let t,r,a;if(this.ruleBy[e.className])return;let i=this.rules.length-1,{media:l,order:s,priority:o,hasWhere:n,className:c}=e,h=(e,t,r)=>{let a=e;for(;a<=i;a++){let e=this.rules[a];if(t?.(e))break;if(r?.(e))return a}return r?-1:a-1};if(l){let e=this.rules.findIndex(e=>e.media);if(-1===e)t=i+1;else{let{"max-width":s,"min-width":n}=l.features;if(s||n){let e=this.rules.findIndex(e=>e.media?.features["max-width"]||e.media?.features["min-width"]);if(-1===e)t=i+1;else if(s&&n){if(-1===o?(r=h(e,e=>-1!==e.priority,e=>e.media.features["max-width"]&&e.media.features["min-width"]),a=h(e,e=>-1!==e.priority)):(r=h(e,void 0,e=>e.media.features["max-width"]&&e.media.features["min-width"]&&-1!==e.priority),a=i),-1!==r){let e=s.value-n.value,t=a,i=r;for(r=void 0;t>=i;t--){let{"max-width":i,"min-width":l}=this.rules[t].media.features,s=i.value-l.value;if(s<e)a=t-1;else if(s===e)r=t;else break}}if(-1!==r&&void 0!==r){let e=s.value-n.value;for(let t=a;t>=r;t--){let{"max-width":i,"min-width":l}=this.rules[t].media.features,s=i.value-l.value;if(s<e)a=t-1;else if(s>e){r=t+1;break}}}}else if(n){if(-1===o?(r=h(e,e=>e.media.features["max-width"]&&e.media.features["min-width"]||-1!==e.priority,e=>!e.media.features["max-width"]&&e.media.features["min-width"]),a=h(e,e=>e.media.features["max-width"]&&e.media.features["min-width"]||-1!==e.priority)):(r=h(e,e=>e.media.features["max-width"]&&e.media.features["min-width"]&&-1!==e.priority,e=>!e.media.features["max-width"]&&e.media.features["min-width"]&&-1!==e.priority),a=h(e,e=>e.media.features["max-width"]&&e.media.features["min-width"]&&-1!==e.priority)),-1!==r)for(let e=a;e>=r;e--){let t=this.rules[e].media.features["min-width"].value;if(t>n.value)a=e-1;else if(t<n.value){r=e+1;break}}}else if(-1===o?(r=h(e,e=>e.media.features["min-width"]||-1!==e.priority,e=>e.media.features["max-width"]),a=h(e,e=>e.media.features["min-width"]||-1!==e.priority)):(r=h(e,e=>e.media.features["min-width"]&&-1!==e.priority,e=>e.media.features["max-width"]&&-1!==e.priority),a=h(e,e=>e.media.features["min-width"]&&-1!==e.priority)),-1!==r)for(let e=a;e>=r;e--){let t=this.rules[e].media.features["max-width"].value;if(t<s.value)a=e-1;else if(t>s.value){r=e+1;break}}}else -1===o?(r=e,a=h(e,e=>e.media?.features["max-width"]||e.media?.features["min-width"]||-1!==e.priority)):(r=h(e,e=>e.media?.features["max-width"]||e.media?.features["min-width"],e=>-1!==e.priority),a=h(e,e=>e.media?.features["max-width"]||e.media?.features["min-width"]))}}else{let e=Object.keys(this.variablesNativeRules).length?this.hasKeyframesRule?2:1:this.hasKeyframesRule?1:0;-1===o?(r=e,a=h(e,e=>e.media||-1!==e.priority)):(r=h(e,e=>e.media,e=>-1!==e.priority),a=h(e,e=>e.media))}if(void 0===t&&void 0!==a&&void 0!==r){if(-1===r)t=a+1;else{if(-1===o)for(let e=r;e<=a;e++){let r=this.rules[e];if((n||!r.hasWhere)&&(n&&!r.hasWhere||r.order>=s)){t=e;break}}else for(let e=r;e<=a;e++){let r=this.rules[e];if(n||!r.hasWhere){if(n&&!r.hasWhere||r.priority<o){t=e;break}if(r.priority===o){if(r.order>=s){t=e;break}}else t=e+1}}void 0===t&&(t=a+1)}}if(this.rules.splice(t,0,e),this.ruleBy[c]=e,this.style){let r=this.style.sheet,a=0,i=e=>{let t=this.rules[e];if(t){if(!t.natives.length)return i(e-1);let l=t.natives[t.natives.length-1],s=l.cssRule?.parentRule??l.cssRule;if(r){for(let e=0;e<r.cssRules.length;e++)if(r.cssRules[e]===s){a=e+1;break}}}};i(t-1);for(let t=0;t<e.natives.length;)try{let i=e.natives[t];r?.insertRule(i.text,a),i.cssRule=r?.cssRules[a++],t++}catch(r){console.error(r),e.natives.splice(t,1)}}this.handleRuleWithVariableNames(e),this.handleRuleWithAnimationNames(e),e.definition.insert?.call(e)}get text(){return this.rules.map(e=>e.text).join("")}handleRuleWithAnimationNames(e,t=!1){if(e.animationNames){let r=this.style?.sheet;for(let a of e.animationNames){let e=this.animations[a];if(e.usage)e.usage++;else{let i;let l={text:`@keyframes ${a}{`+Object.entries(e).filter(([e])=>"usage"!==e&&"native"!==e).map(([e,t])=>`${e}{${Object.entries(t).map(([e,t])=>e+":"+t).join(";")}}`).join("")+"}"},s=Object.keys(this.variablesNativeRules).length?1:0;if(this.hasKeyframesRule?(i=this.rules[s]).natives.push(l):(this.rules.splice(s,0,i={natives:[l],get text(){return this.natives.map(e=>e.text).join("")}}),this.hasKeyframesRule=!0),r){let e;if(t)for(let t=0;t<r.cssRules.length;t++){let i=r.cssRules[t];if("CSSKeyframesRule"===i.constructor.name&&i.name===a){e=i;break}}if(e)l.cssRule=e;else{let e=Object.keys(this.variablesNativeRules).length+i.natives.length-1;r.insertRule(l.text,e),l.cssRule=r.cssRules[e]}}e.usage=1,e.native=l}}}}handleRuleWithVariableNames(e,t=!1){if(e.variableNames){let r=this.style?.sheet;for(let a of e.variableNames){let e=this.variables[a];if(e.usage)e.usage++;else{let i=(e,i)=>{let l=this.variablesNativeRules[e];if(!l){let t,a,i;if(e)switch(this.config.themeDriver){case"media":a=`@media(prefers-color-scheme:${e})`,i=":root";break;case"host":i=`:host(.${e})`;break;default:i=`.${e}`}else i=":root";if(r){let e=Object.keys(this.variablesNativeRules).length?this.rules[0].natives.length:0;r.insertRule((a?a+"{":"")+i+"{}"+(a?a+"}":""),e),t=a?r.cssRules[e].cssRules[0]:r.cssRules[e]}else{let e=new Map,r=Object.defineProperties({},{getPropertyValue:{value:t=>e.get(t)},removeProperty:{value:t=>{e.delete(t);for(let e=0;e<r.length;e++)r[e]===t&&delete r[e]}},setProperty:{value:(t,a)=>{r[r.length]=t,e.set(t,a)}},length:{get:()=>Object.keys(r).length}});t={selectorText:i,style:r,styleMap:e},a&&(t.parentRule={conditionText:a})}l=this.pushVariableNativeRule(e,t)}let s="--"+a;t&&l.cssRule.style.getPropertyValue(s)||l.cssRule.style.setProperty(s,String(i.value))};if(e.value&&i("",e),e.themes)for(let t in e.themes)i(t,e.themes[t]);e.usage=1}}}}pushVariableNativeRule(e,t){Object.keys(this.variablesNativeRules).length||(this.variablesNativeRules={},this.rules.splice(0,0,{natives:[],get text(){return this.natives.map(e=>e.text).join("")}}));let r="",a="}";t.parentRule&&(r+=t.parentRule.conditionText.replace(/ /g,"")+"{",a+="}"),r+=t.selectorText+"{";let i={cssRule:t,get text(){let e=[];for(let r=0;r<t.style.length;r++){let a=t.style[r];e.push(a+":"+t.style.getPropertyValue(a))}return r+e.join(";")+a}};return this.rules[0].natives.push(this.variablesNativeRules[e]=i),i}}let O=[];globalThis.MasterCSS=R,globalThis.masterCSSs=O,w.default=R,w.masterCSSs=O,Object.defineProperty(t,"__esModule",{value:!0}),t.config=r.config,t.Rule=v.Rule,Object.defineProperty(t,"Layer",{enumerable:!0,get:function(){return d.Layer}}),t.extend=L,t.reorderForReadableClasses=function(e,t){let r;for(let a of(r=t?.css?t?.css:new w.default(t?.config),e))r.add(a);return r.rules.filter(e=>e.layer).sort((e,t)=>{if(e.layer===d.Layer.Semantic&&t.layer!==d.Layer.Semantic)return -1;if(e.layer!==d.Layer.Semantic&&t.layer===d.Layer.Semantic)return 1;if(e.id!==t.id)return e.className.localeCompare(t.className);{let r=e.vendorSuffixSelectors?.[""]?.[0],a=t.vendorSuffixSelectors?.[""]?.[0],i=e.media?.token,l=t.media?.token;if(-1===e.priority&&-1===t.priority){if(r&&a)return r.localeCompare(a);if(i&&l&&!Object.keys(e.media.features||{}).length&&!Object.keys(t.media.features||{}).length)return i.localeCompare(l);if(r&&!a)return 1;if(!r&&a)return -1;if(i&&!l)return 1;if(!i&&l)return -1}return e.id===t.id&&e.stateToken===t.stateToken?e.className.localeCompare(t.className):e.order-t.order}}).map(e=>e.className)},t.MasterCSS=w.default,t.default=w.default,t.selectors=a,t.semantics=i,t.rules=n.default,t.functions=p,t.animations=l,t.variables=o,t.mediaQueries=s;class j extends t.MasterCSS{root;customConfig;host;observing;progressive;container;observer;constructor(e=document,r=t.config){super(r),this.root=e,this.customConfig=r,this.observing=!1,this.progressive=!1,e||(this.root=document),this.root===document?(globalThis.runtimeCSS=this,this.container=document.head,this.host=document.documentElement):(this.container=this.root,this.host=this.root.host),P.push(this)}observe(e={subtree:!0,childList:!0}){if(this.observing||!this.root)return this;if(P.find(e=>e!==this&&e.root===this.root))return console.warn("Cannot observe the same root element repeatedly."),this;if(this.root?.styleSheets)for(let e of this.root.styleSheets){let{ownerNode:t}=e;if(t&&"master"===t.id){this.style=t,this.progressive=!0;break}}if(this.style?.sheet){let e=0;for(;e<this.style.sheet.cssRules.length;e++){let t=this.style.sheet.cssRules[e];switch(t.constructor.name){case"CSSKeyframesRule":continue;case"CSSMeidaRule":if("media"===this.config.themeDriver){let e=/\(prefers-color-scheme: (.*?)\)/.exec(t.conditionText);if(e){let r=t.cssRules[0];if(r?.constructor.name==="CSSStyleRule"&&":root"===r.selectorText){this.pushVariableNativeRule(e[1],r);continue}}}break;case"CSSStyleRule":let r=t.selectorText;if(t.style.length){let e=!0;for(let r=0;r<t.style.length;r++)if(!t.style[r]?.startsWith("--")){e=!1;break}if(e){if(":root"===r){this.pushVariableNativeRule("",t);continue}if("host"===this.config.themeDriver){let e=/:host(.*?)/.exec(r);if(e){this.pushVariableNativeRule(e[1],t);continue}}else if(!r.startsWith(".\\$")){this.pushVariableNativeRule(r.slice(1),t);continue}}}}break}for(;e<this.style.sheet.cssRules.length;e++){let t=e=>{if(e.selectorText){let t=e.selectorText.split(", ")[0].split(" ");for(let e=0;e<t.length;e++){let r=t[e];if("."===r[0]){let e=r.slice(1),t="";for(let r=0;r<e.length;r++){let a=e[r],i=e[r+1];if("\\"===a){if(r++,"\\"!==i){t+=i;continue}}else if([",",".","#","[","!","*",">","+","~",":","@"].includes(a))break;t+=a}if(!Object.prototype.hasOwnProperty.call(this.ruleBy,t)&&!Object.prototype.hasOwnProperty.call(this.styles,t)){let e=this.generate(t)[0];if(e)return e}}}}else if(e.cssRules)for(let r=0;r<e.cssRules.length;r++){let a=t(e.cssRules[r]);if(a)return a}},r=t(this.style.sheet.cssRules[e]);if(r){this.rules.push(r),this.ruleBy[r.className]=r;for(let t=0;t<r.natives.length;t++)r.natives[t].cssRule=this.style.sheet.cssRules[e+t];e+=r.natives.length-1,this.handleRuleWithVariableNames(r,!0),this.handleRuleWithAnimationNames(r,!0),r.definition.insert?.call(r)}}}else this.style=document.createElement("style"),this.style.id="master",this.container.append(this.style);let t=e=>{e.forEach(e=>{Object.prototype.hasOwnProperty.call(this.classesUsage,e)?this.classesUsage[e]++:(this.classesUsage[e]=1,this.add(e))})};return t(this.host.classList),e.subtree&&(this.root===document?this.host:this.container).querySelectorAll("[class]").forEach(e=>t(e.classList)),this.observer=new MutationObserver(e=>{let t={},r=[],a=[],i=[],l=(e,t)=>{t?e.classList.forEach(o):e.classList.forEach(s);let r=e.children;for(let e=0;e<r.length;e++){let i=r[e];i.classList&&(a.push(i),l(i,t))}},s=e=>{Object.prototype.hasOwnProperty.call(t,e)?t[e]++:t[e]=1},o=e=>{Object.prototype.hasOwnProperty.call(t,e)?t[e]--:Object.prototype.hasOwnProperty.call(this.classesUsage,e)&&(t[e]=-1)},n=(e,t)=>{for(let r=0;r<e.length;r++){let s=e[r];!s.classList||a.includes(s)||i.includes(s)||(s.isConnected!==t?(a.push(s),l(s,t)):i.push(s))}};for(let t=0;t<e.length;t++){let i=e[t],{addedNodes:l,removedNodes:s,type:o,target:c}=i;if("attributes"===o){if(r.find(e=>e.target===c))continue;r.push(i)}else n(l,!1),c.isConnected&&a.includes(c)||n(s,!0)}if(r.length||Object.keys(t).length){for(let{oldValue:e,target:t}of r){let r=a.includes(t),i=t.classList,l=e?e.split(" "):[];if(r){if(t.isConnected)continue;for(let e of l)i.contains(e)||o(e)}else if(t.isConnected)for(let e of(i.forEach(e=>{l.includes(e)||s(e)}),l))i.contains(e)||o(e)}for(let e in t){let r=t[e],a=(this.classesUsage[e]||0)+r;0===a?(delete this.classesUsage[e],this.delete(e)):(Object.prototype.hasOwnProperty.call(this.classesUsage,e)||this.add(e),this.classesUsage[e]=a)}}}),this.observer.observe(this.root,{...e,attributes:!0,attributeOldValue:!0,attributeFilter:["class"]}),this.host.style.removeProperty("display"),this.observing=!0,this}refresh(e=this.customConfig){let t=this.style?.sheet;if(t?.cssRules)for(let e=t.cssRules.length-1;e>=0;e--)t.deleteRule(e);return super.refresh(e),this}reset(){super.reset();let e=this.style?.sheet;if(e?.cssRules)for(let t=e.cssRules.length-1;t>=0;t--)e.deleteRule(t);return this.progressive||(this.style?.remove(),this.style=null),this}disconnect(){return this.observer&&(this.observer.disconnect(),this.observer=null),this.observing=!1,this.reset(),this}destroy(){return this.disconnect(),P.splice(P.indexOf(this),1),this}}let P=[];globalThis.RuntimeCSS=j,globalThis.runtimeCSSs=P,new j(document,window.masterCSSConfig).observe()}();
|
package/dist/index.cjs
CHANGED
|
@@ -340,11 +340,14 @@ class RuntimeCSS extends css.MasterCSS {
|
|
|
340
340
|
return this;
|
|
341
341
|
}
|
|
342
342
|
refresh(customConfig = this.customConfig) {
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
this.style
|
|
346
|
-
|
|
347
|
-
|
|
343
|
+
// remove all CSS rules
|
|
344
|
+
// todo: e2e test
|
|
345
|
+
const sheet = this.style?.sheet;
|
|
346
|
+
if (sheet?.cssRules) {
|
|
347
|
+
for(let i = sheet.cssRules.length - 1; i >= 0; i--){
|
|
348
|
+
sheet.deleteRule(i);
|
|
349
|
+
}
|
|
350
|
+
}
|
|
348
351
|
super.refresh(customConfig);
|
|
349
352
|
return this;
|
|
350
353
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -336,11 +336,14 @@ class RuntimeCSS extends MasterCSS {
|
|
|
336
336
|
return this;
|
|
337
337
|
}
|
|
338
338
|
refresh(customConfig = this.customConfig) {
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
this.style
|
|
342
|
-
|
|
343
|
-
|
|
339
|
+
// remove all CSS rules
|
|
340
|
+
// todo: e2e test
|
|
341
|
+
const sheet = this.style?.sheet;
|
|
342
|
+
if (sheet?.cssRules) {
|
|
343
|
+
for(let i = sheet.cssRules.length - 1; i >= 0; i--){
|
|
344
|
+
sheet.deleteRule(i);
|
|
345
|
+
}
|
|
346
|
+
}
|
|
344
347
|
super.refresh(customConfig);
|
|
345
348
|
return this;
|
|
346
349
|
}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@master/css-runtime","type":"module","scripts":{"build":"techor build","dev":"pnpm build --watch","e2e":"playwright test","type-check":"tsc --noEmit","lint":"eslint src"},"license":"MIT","description":"Run Master CSS right in the browser","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/runtime"},"keywords":["utility","css","lightweight","mastercss","master","runtime","cdn"],"sideEffects":false,"main":"./dist/index.cjs","jsnext:main":"./dist/index.mjs","esnext":"./dist/index.mjs","module":"./dist/index.mjs","browser":"./dist/global.min.js","types":"./dist/index.d.ts","exports":{".":{"require":"./dist/index.cjs","import":"./dist/index.mjs","types":"./dist/index.d.ts"}},"files":["dist"],"publishConfig":{"access":"public","provenance":true},"dependencies":{"@master/css":"^2.0.0-rc.
|
|
1
|
+
{"name":"@master/css-runtime","type":"module","scripts":{"build":"techor build","dev":"pnpm build --watch","e2e":"playwright test","type-check":"tsc --noEmit","lint":"eslint src"},"license":"MIT","description":"Run Master CSS right in the browser","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/runtime"},"keywords":["utility","css","lightweight","mastercss","master","runtime","cdn"],"sideEffects":false,"main":"./dist/index.cjs","jsnext:main":"./dist/index.mjs","esnext":"./dist/index.mjs","module":"./dist/index.mjs","browser":"./dist/global.min.js","types":"./dist/index.d.ts","exports":{".":{"require":"./dist/index.cjs","import":"./dist/index.mjs","types":"./dist/index.d.ts"}},"files":["dist"],"publishConfig":{"access":"public","provenance":true},"dependencies":{"@master/css":"^2.0.0-rc.24"},"devDependencies":{"@playwright/test":"^1.41.2","@types/node":"^20.11.20"},"version":"2.0.0-rc.24"}
|