@master/css-runtime 2.0.0-rc.44 → 2.0.0-rc.46
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 -16
- package/dist/index.mjs +8 -16
- package/package.json +1 -1
package/dist/global.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){var e,t,a={},i={},r={all:"media all",print:"media print",screen:"media screen",speech:"media speech",landscape:"media (orientation:landscape)",portrait:"media (orientation:portrait)",motion:"media (prefers-reduced-motion:no-preference)","reduced-motion":"media (prefers-reduced-motion:reduce)"},s={"::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"],"::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"},l={square:{"aspect-ratio":"1/1"},video:{"aspect-ratio":"16/9"},rounded:{"border-radius":"1e9em"},round:{"border-radius":"50%","aspect-ratio":"1/1"},hidden:{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%"},top:{top:0},left:{left:0},right:{right:0},bottom:{bottom:0},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"}},o={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"}}};function n(e){let t="undefined"!=typeof Buffer?Buffer:null;return!!t&&e instanceof t||e instanceof Date||e instanceof RegExp}function u(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 c(e,t){return"__proto__"===t?void 0:e[t]}function d(...e){let t,a;let i={};return e.forEach(function(e){"object"!=typeof e||null===e||Array.isArray(e)||Object.keys(e).forEach(function(r){if(a=c(i,r),(t=c(e,r))!==i){if("object"!=typeof t||null===t){i[r]=t;return}if(Array.isArray(t)){i[r]=function e(t){let a=[];return t.forEach(function(t,i){"object"==typeof t&&null!==t?Array.isArray(t)?a[i]=e(t):n(t)?a[i]=u(t):a[i]=d({},t):a[i]=t}),a}(t);return}if(n(t)){i[r]=u(t);return}if("object"!=typeof a||null===a||Array.isArray(a)){i[r]=d({},t);return}else{i[r]=d(a,t);return}}})}),i}let h=d({gray:{5:"#f6f5f7",10:"#efeef0",20:"#cdccce",30:"#a2a1a3",40:"#89888a",50:"#737274",60:"#585759",70:"#444345",80:"#323133",90:"#29282a",95:"#222123"},slate:{5:"#f8f9fb",10:"#eff2f9",20:"#c8d0e3",30:"#9fabc6",40:"#7c8cab",50:"#5f7395",60:"#455572",70:"#37455d",80:"#283348",90:"#1d273a",95:"#182030"},brown:{5:"#fff6f0",10:"#feefe3",20:"#f3bea4",30:"#e7976e",40:"#da7c4d",50:"#cc6633",60:"#b65325",70:"#9d4119",80:"#833111",90:"#692007",95:"#431304"},orange:{5:"#fff5ea",10:"#fff5df",20:"#ffcb9e",30:"#ff9b47",40:"#ff8528",50:"#ff6c0a",60:"#e05200",70:"#bc3e00",80:"#992d00",90:"#701d00",95:"#471100"},amber:{5:"#fff9eb",10:"#fff4db",20:"#ffe099",30:"#ffc133",40:"#ffb10a",50:"#f99e00",60:"#e57e00",70:"#c15d00",80:"#a34900",90:"#753200",95:"#4c1f00"},yellow:{5:"#fffae5",10:"#fffed1",20:"#ffe993",30:"#ffd233",40:"#ffc300",50:"#efaf00",60:"#d69200",70:"#b77400",80:"#9e5c00",90:"#753c00",95:"#4c2600"},lime:{5:"#f5ffe5",10:"#f5ffd6",20:"#d1fb8d",30:"#acec46",40:"#91d91a",50:"#77c012",60:"#61a60c",70:"#4c8d07",80:"#367604",90:"#256000",95:"#1b3d00"},green:{5:"#e7fdea",10:"#dbfee4",20:"#a5f7b8",30:"#35ed66",40:"#00d655",50:"#00c147",60:"#00ad3f",70:"#008e34",80:"#007a2c",90:"#006023",95:"#003d16"},beryl:{5:"#e0fef2",10:"#d2fff7",20:"#6cffd4",30:"#0fefa4",40:"#04e09e",50:"#04cb8f",60:"#00b277",70:"#009360",80:"#007f50",90:"#00663e",95:"#003d24"},teal:{5:"#dbfefd",10:"#cfffff",20:"#7ffff6",30:"#00f4e4",40:"#00e4d4",50:"#00ccc8",60:"#00aeb7",70:"#0092a3",80:"#00798e",90:"#005d75",95:"#003747"},cyan:{5:"#e0ffff",10:"#d1ffff",20:"#7ff6ff",30:"#1ee1ff",40:"#00ccf9",50:"#00b3ea",60:"#0099d6",70:"#007dbc",80:"#0067a8",90:"#005089",95:"#003156"},sky:{5:"#e5f5ff",10:"#d9f8ff",20:"#a3deff",30:"#6bc6ff",40:"#34b2fd",50:"#059fff",60:"#008df9",70:"#0073e0",80:"#005cc6",90:"#0041a3",95:"#002566"},blue:{5:"#e5f3fe",10:"#dbf2fe",20:"#add7ff",30:"#70b0ff",40:"#4c93fd",50:"#3a7cff",60:"#2563fd",70:"#1b53ec",80:"#1947d1",90:"#1735a2",95:"#102069"},indigo:{5:"#f0f1fe",10:"#e9ecfe",20:"#c8cdfe",30:"#939eff",40:"#7e81fe",50:"#7068ff",60:"#5b4cfd",70:"#4e39ed",80:"#4732d2",90:"#3623a3",95:"#26176c"},violet:{5:"#f2efff",10:"#efe8ff",20:"#d7c5ff",30:"#b198fe",40:"#9a70ff",50:"#8e56fe",60:"#812fff",70:"#7407f2",80:"#6405d1",90:"#4f05a3",95:"#35036e"},purple:{5:"#f6f0ff",10:"#f6e8fe",20:"#e2bffe",30:"#c492fd",40:"#b266ff",50:"#a849fe",60:"#9514ff",70:"#8200e5",80:"#7100c1",90:"#58008e",95:"#3e0060"},fuchsia:{5:"#faf0ff",10:"#fde8fe",20:"#f0baff",30:"#dd89fe",40:"#d760fe",50:"#cf33ff",60:"#b700e5",70:"#a200c6",80:"#8700a3",90:"#660175",95:"#480051"},pink:{5:"#fef1f9",10:"#fee9f8",20:"#ffb8df",30:"#f986c1",40:"#fa65b2",50:"#f747a2",60:"#ef2188",70:"#d61673",80:"#b80c5c",90:"#8f0543",95:"#64032f"},crimson:{5:"#ffeff2",10:"#ffe8ec",20:"#ffbac7",30:"#ff849d",40:"#ff6684",50:"#fc4065",60:"#ed2a51",70:"#d7173e",80:"#bb1536",90:"#8f132c",95:"#620e1f"},red:{5:"#ffefef",10:"#fee8e8",20:"#ffbcbc",30:"#ff8787",40:"#fd5f5f",50:"#f73f3f",60:"#e52e2e",70:"#d01b1b",80:"#b81919",90:"#921515",95:"#650f0f"}},{full:"100%",fit:"fit-content",max:"max-content",min:"min-content",screen:{"4xs":360,"3xs":480,"2xs":600,xs:768,sm:834,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560},"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"]},"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",frame:{neutral:{"@light":"$(slate-60)","@dark":"$(gray-30)"},light:{"@light":"$(slate-60)/.2","@dark":"$(gray-30)/.2"},lighter:{"@light":"$(slate-60)/.16","@dark":"$(gray-30)/.16"},lightest:{"@light":"$(slate-60)/.12","@dark":"$(gray-30)/.12"}},white:"#ffffff",black:"#000000",base:{"@light":"$(white)","@dark":"$(gray-95)"},canvas:{"@light":"$(slate-5)","@dark":"$(gray-90)"},surface:{"@light":"$(white)","@dark":"$(gray-80)"},invert:{"@light":"$(black)","@dark":"$(white)"},gray:{"@light":"$(gray-30)","@dark":"$(gray-40)",active:{"@light":"$(gray-40)","@dark":"$(gray-30)"},text:{"@light":"$(gray-90)","@dark":"$(gray-95)"}},slate:{"@light":"$(slate-30)","@dark":"$(slate-40)",active:{"@light":"$(slate-40)","@dark":"$(slate-30)"},text:{"@light":"$(slate-90)","@dark":"$(slate-95)"}},brown:{"@light":"$(brown-40)","@dark":"$(brown-50)",active:{"@light":"$(brown-50)","@dark":"$(brown-40)"},text:{"@light":"$(brown-90)","@dark":"$(brown-95)"}},orange:{"@light":"$(orange-40)","@dark":"$(orange-50)",active:{"@light":"$(orange-50)","@dark":"$(orange-40)"},text:{"@light":"$(orange-90)","@dark":"$(orange-95)"}},amber:{"@light":"$(amber-40)","@dark":"$(amber-50)",active:{"@light":"$(amber-50)","@dark":"$(amber-30)"},text:{"@light":"$(amber-90)","@dark":"$(amber-95)"}},yellow:{"@light":"$(yellow-40)","@dark":"$(yellow-50)",active:{"@light":"$(yellow-50)","@dark":"$(yellow-30)"},text:{"@light":"$(yellow-90)","@dark":"$(yellow-95)"}},lime:{"@light":"$(lime-40)","@dark":"$(lime-50)",active:{"@light":"$(lime-50)","@dark":"$(lime-30)"},text:{"@light":"$(lime-90)","@dark":"$(lime-95)"}},green:{"@light":"$(green-40)","@dark":"$(green-50)",active:{"@light":"$(green-50)","@dark":"$(green-30)"},text:{"@light":"$(green-90)","@dark":"$(green-95)"}},beryl:{"@light":"$(beryl-40)","@dark":"$(beryl-50)",active:{"@light":"$(beryl-50)","@dark":"$(beryl-30)"},text:{"@light":"$(beryl-90)","@dark":"$(beryl-95)"}},teal:{"@light":"$(teal-40)","@dark":"$(teal-50)",active:{"@light":"$(teal-50)","@dark":"$(teal-30)"},text:{"@light":"$(teal-90)","@dark":"$(teal-95)"}},cyan:{"@light":"$(cyan-40)","@dark":"$(cyan-50)",active:{"@light":"$(cyan-50)","@dark":"$(cyan-30)"},text:{"@light":"$(cyan-90)","@dark":"$(cyan-95)"}},sky:{"@light":"$(sky-60)","@dark":"$(sky-50)",active:{"@light":"$(sky-70)","@dark":"$(sky-40)"},text:"$(white)"},blue:{"@light":"$(blue-60)","@dark":"$(blue-50)",active:{"@light":"$(blue-70)","@dark":"$(blue-40)"},text:"$(white)"},indigo:{"@light":"$(indigo-60)","@dark":"$(indigo-50)",active:{"@light":"$(indigo-70)","@dark":"$(indigo-40)"},text:"$(white)"},violet:{"@light":"$(violet-60)","@dark":"$(violet-50)",active:{"@light":"$(violet-70)","@dark":"$(violet-40)"},text:"$(white)"},purple:{"@light":"$(purple-60)","@dark":"$(purple-50)",active:{"@light":"$(purple-70)","@dark":"$(purple-40)"},text:"$(white)"},fuchsia:{"@light":"$(fuchsia-60)","@dark":"$(fuchsia-50)",active:{"@light":"$(fuchsia-70)","@dark":"$(fuchsia-40)"},text:"$(white)"},pink:{"@light":"$(pink-60)","@dark":"$(pink-50)",active:{"@light":"$(pink-70)","@dark":"$(pink-40)"},text:"$(white)"},crimson:{"@light":"$(crimson-60)","@dark":"$(crimson-50)",active:{"@light":"$(crimson-70)","@dark":"$(crimson-40)"},text:"$(white)"},red:{"@light":"$(red-60)","@dark":"$(red-50)",active:{"@light":"$(red-70)","@dark":"$(red-40)"},text:"$(white)"},text:{invert:{"@light":"$(white)","@dark":"$(black)"},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)"}}});var f=function(e){let t;if("undefined"!=typeof CSS)return CSS.escape(e);if(0==arguments.length)throw TypeError("`CSS.escape` requires an argument.");let a=String(e),i=a.length,r=-1,s="",l=a.charCodeAt(0);if(1==i&&45==l)return"\\"+a;for(;++r<i;){if(0==(t=a.charCodeAt(r))){s+="�";continue}if(t>=1&&t<=31||127==t||0==r&&t>=48&&t<=57||1==r&&t>=48&&t<=57&&45==l){s+="\\"+t.toString(16)+" ";continue}if(t>=128||45==t||95==t||t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122){s+=a.charAt(r);continue}s+="\\"+a.charAt(r)}return s};(e=t||(t={}))[e.Utility=-4]="Utility",e[e.NativeShorthand=-3]="NativeShorthand",e[e.Shorthand=-2]="Shorthand",e[e.Native=-1]="Native",e[e.Normal=0]="Normal";var y=t,m={};let b=new URL("https://rc.css.master.co");m.ANIMATION_SIGN="@",m.AT_SIGN="@",m.BASE_UNIT_REGEX=/^([+-]?(?:\d+(?:\.?\d+)?|\.\d+))x$/m,m.BORDER_STYLE_VALUES=["none","auto","hidden","dotted","dashed","solid","double","groove","ridge","inset","outset"],m.CLASS_ATTRIBUTES=["class","className"],m.CLASS_DECLARATIONS=["styles"],m.CLASS_FUNCTIONS=["clsx","cva","ctl","cv","class","classnames","classVariant","styled(?:\\s+)?(?:\\.\\w+)?","classList(?:\\s+)?\\.(?:add|remove|toggle|replace)"],m.COLOR_VALUE_REGEX=/(?:#|(?:color|color-contrast|color-mix|hwb|lab|lch|oklab|oklch|rgb|rgba|hsl|hsla)\(.*\)|(?:\$colors)(?![a-zA-Z0-9-]))/,m.DELIMITER_SIGN="|",m.IMAGE_VALUE_REGEX=/(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)/,m.NUMBER_VALUE_REGEX=/(?:[\d.]|(?:max|min|calc|clamp)\([^|]*\))/,m.OFFICIAL_URL=b,m.QUERY_COMPARISON_OPERATORS=[">","<","="],m.QUERY_LOGICAL_OPERATORS=["&"],m.SELECTOR_SIGNS=[":","_",">","+","~"],m.SEPARATOR_SIGN=",",m.SEPARATOR_SIGNS=[",","|"],m.TRANSITION_SIGN="~",m.UNIT_REGEX=/^([+-.]?\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)?$/,m.VALUE_DELIMITERS={"(":")","'":"'",'"':'"',"{":"}"},m.VALUE_UNITS=["%","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"];var g=function(e){if(e.length<2)return e;let t=!1,a=!1;for(let i of e)("string"===i.type&&m.BORDER_STYLE_VALUES.includes(i.value)||"variable"===i.type&&m.BORDER_STYLE_VALUES.includes(String(i.variable?.value)))&&(t=!0),"function"===i.type&&"var"===i.name&&(a=!0);return t||a||e.push({type:"separator",value:" ",token:"|"},{type:"string",value:"solid",token:"solid"}),e};let p={group:{matcher:/^(?:.+?[*_>~+])?\{.+?\}/,layer:y.Shorthand,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={},a=e=>{let a=e.indexOf(":");-1!==a&&(t[e.slice(0,a)]=e.slice(a+1))},i=e=>{let t=t=>{let i=t.slice(f(e.className).length).match(/\{(.*)\}/)?.[1].split(";");if(i)for(let e of i)a(e)};for(let a of e.natives)t(a.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)},r=[],s="",l=()=>{s&&(r.push(s.replace(/ /g,"|")),s="")},o=1;for(let t of(!function t(a){for(;o<e.length;o++){let i=e[o];if(!a){if(";"===i){l();continue}if("}"===i)break}if(s+=i,a===i){if("'"===a||'"'===a){let e=0;for(let t=s.length-2;"\\"===s[t];t--)e++;if(e%2)continue}break}i in m.VALUE_DELIMITERS&&"'"!==a&&'"'!==a&&(o++,t(m.VALUE_DELIMITERS[i]))}}(""),l(),r)){let e=this.css.generate(t);if(e.length)for(let t of e)i(t);else a(t)}return t}},variable:{matcher:/^\$[\w-]+:/,layer:y.Shorthand,declare(e){return{["--"+this.keyToken.slice(1,-1)]:e}}},"font-size":{ambiguousKeys:["font","f"],ambiguousValues:[m.NUMBER_VALUE_REGEX],unit:"rem",layer:y.Native},"font-weight":{ambiguousKeys:["font","f"],ambiguousValues:["bolder"],layer:y.Native},"font-family":{ambiguousKeys:["font","f"],layer:y.Native},"font-smoothing":{ambiguousKeys:["font","f"],ambiguousValues:["antialiased","subpixel-antialiased"],layer:y.Native,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":{ambiguousKeys:["font","f"],ambiguousValues:["normal","italic","oblique"],layer:y.Native,unit:"deg"},"font-variant-numeric":{ambiguousKeys:["font","f"],ambiguousValues:["ordinal","slashed-zero","lining-nums","oldstyle-nums","proportional-nums","tabular-nums","diagonal-fractions","stacked-fractions"],layer:y.Native},"font-variant":{ambiguousKeys:["font","f"],layer:y.NativeShorthand},font:{subkey:"f",layer:y.NativeShorthand,variables:["font-family","font-variant","font-weight","font-size","font-style","line-height"]},"font-feature-settings":{key:"font-feature",layer:y.Native},color:{key:"fg",layer:y.Native,variables:["text"]},"margin-left":{key:"ml",layer:y.Native,unit:"rem",variables:["spacing"]},"margin-right":{key:"mr",layer:y.Native,unit:"rem",variables:["spacing"]},"margin-top":{key:"mt",layer:y.Native,unit:"rem",variables:["spacing"]},"margin-bottom":{key:"mb",layer:y.Native,unit:"rem",variables:["spacing"]},"margin-x":{key:"mx",subkey:"margin-x",unit:"rem",layer:y.Shorthand,declare:e=>({"margin-left":e,"margin-right":e}),variables:["spacing"]},"margin-y":{key:"my",unit:"rem",layer:y.Shorthand,declare:e=>({"margin-top":e,"margin-bottom":e}),variables:["spacing"]},margin:{key:"m",unit:"rem",layer:y.NativeShorthand,variables:["spacing"]},"margin-inline-start":{key:"mis",layer:y.Native,unit:"rem",variables:["spacing"]},"margin-inline-end":{key:"mie",layer:y.Native,unit:"rem",variables:["spacing"]},"margin-inline":{key:"mi",unit:"rem",layer:y.NativeShorthand,variables:["spacing"]},"padding-left":{key:"pl",layer:y.Native,unit:"rem",variables:["spacing"]},"padding-right":{key:"pr",layer:y.Native,unit:"rem",variables:["spacing"]},"padding-top":{key:"pt",layer:y.Native,unit:"rem",variables:["spacing"]},"padding-bottom":{key:"pb",layer:y.Native,unit:"rem",variables:["spacing"]},"padding-x":{key:"px",unit:"rem",layer:y.Shorthand,declare:e=>({"padding-left":e,"padding-right":e}),variables:["spacing"]},"padding-y":{key:"py",unit:"rem",layer:y.Shorthand,declare:e=>({"padding-top":e,"padding-bottom":e}),variables:["spacing"]},padding:{key:"p",unit:"rem",layer:y.NativeShorthand,variables:["spacing"]},"padding-inline-start":{key:"pis",layer:y.Native,unit:"rem",variables:["spacing"]},"padding-inline-end":{key:"pie",layer:y.Native,unit:"rem",variables:["spacing"]},"padding-inline":{key:"pi",unit:"rem",layer:y.NativeShorthand,variables:["spacing"]},"flex-basis":{ambiguousKeys:["flex"],unit:"rem",layer:y.Native},"flex-wrap":{ambiguousKeys:["flex"],ambiguousValues:["wrap","nowrap","wrap-reverse"],layer:y.Native},"flex-grow":{ambiguousKeys:["flex"],layer:y.Native},"flex-shrink":{ambiguousKeys:["flex"],layer:y.Native},"flex-direction":{ambiguousKeys:["flex"],ambiguousValues:["row","row-reverse","column","column-reverse"],layer:y.Native},flex:{layer:y.NativeShorthand},display:{key:"d",layer:y.Native},width:{key:"w",unit:"rem",layer:y.Native},height:{key:"h",unit:"rem",layer:y.Native},"min-width":{key:"min-w",unit:"rem",layer:y.Native},"min-height":{key:"min-h",unit:"rem",layer:y.Native},size:{layer:y.Shorthand,unit:"rem",declare(e,t){let a=t.length;return{width:t[0].text,height:1===a?t[0].text:t[2].text}}},"min-size":{key:"min",layer:y.Shorthand,unit:"rem",declare(e,t){let a=t.length;return{"min-width":t[0].text,"min-height":1===a?t[0].text:t[2].text}}},"max-size":{key:"max",layer:y.Shorthand,unit:"rem",declare(e,t){let a=t.length;return{"max-width":t[0].text,"max-height":1===a?t[0].text:t[2].text}}},"box-sizing":{ambiguousKeys:["box"],layer:y.Native},"box-decoration-break":{key:"box-decoration",layer:y.Native,declare:e=>({"-webkit-box-decoration-break":e,"box-decoration-break":e})},contain:{layer:y.Native},content:{layer:y.Native},"counter-increment":{layer:y.Native},"counter-reset":{layer:y.Native},"letter-spacing":{key:"tracking",subkey:"ls",layer:y.Native,unit:"em"},"line-height":{key:"leading",subkey:"line-h",layer:y.Native},"object-fit":{ambiguousKeys:["object","obj"],ambiguousValues:["contain","cover","fill","scale-down"],layer:y.Native},"object-position":{ambiguousKeys:["object","obj"],ambiguousValues:["top","bottom","right","left","center"],layer:y.Native},"text-align":{ambiguousKeys:["text","t"],ambiguousValues:["justify","center","left","right","start","end"],layer:y.Native},"text-decoration-color":{ambiguousKeys:["text-decoration"],ambiguousValues:[m.COLOR_VALUE_REGEX],layer:y.Native,variables:["text"]},"text-decoration-style":{ambiguousKeys:["text-decoration"],ambiguousValues:["solid","double","dotted","dashed","wavy"],layer:y.Native},"text-decoration-thickness":{ambiguousKeys:["text-decoration"],ambiguousValues:["from-font",m.NUMBER_VALUE_REGEX],layer:y.Native,unit:"em"},"text-decoration-line":{ambiguousKeys:["text-decoration"],ambiguousValues:["underline","overline","line-through"],layer:y.Native},"text-decoration":{ambiguousKeys:["text","t"],ambiguousValues:["underline","overline","line-through"],unit:"rem",layer:y.NativeShorthand,variables:["text"],declare:e=>({"-webkit-text-decoration":e,"text-decoration":e})},"text-underline-offset":{ambiguousKeys:["text-underline"],unit:"rem",layer:y.Native,variables:["spacing"]},"text-underline-position":{ambiguousKeys:["text-underline"],ambiguousValues:["front-font","under","left","right"],layer:y.Native},"text-overflow":{ambiguousKeys:["text","t"],ambiguousValues:["ellipsis","clip"],layer:y.Native},"text-orientation":{ambiguousKeys:["text","t"],ambiguousValues:["mixed","upright","sideways-right","sideways","use-glyph-orientation"],layer:y.Native},"text-transform":{ambiguousKeys:["text","t"],ambiguousValues:["uppercase","lowercase","capitalize"],layer:y.Native},"text-rendering":{ambiguousKeys:["text","t"],ambiguousValues:["optimizeSpeed","optimizeLegibility","geometricPrecision"],layer:y.Native},"text-wrap":{ambiguousKeys:["text","t"],ambiguousValues:["wrap","nowrap","balance","pretty"],layer:y.NativeShorthand},"text-indent":{unit:"rem",layer:y.Native},"vertical-align":{key:"v",subkey:"vertical",layer:y.Native},columns:{key:"cols",layer:y.NativeShorthand},"white-space":{layer:y.Native},top:{layer:y.Native,unit:"rem",variables:["spacing"]},bottom:{layer:y.Native,unit:"rem",variables:["spacing"]},left:{layer:y.Native,unit:"rem",variables:["spacing"]},right:{layer:y.Native,unit:"rem",variables:["spacing"]},inset:{unit:"rem",layer:y.NativeShorthand,variables:["spacing"]},"max-height":{key:"max-h",unit:"rem",layer:y.Native},"max-width":{key:"max-w",unit:"rem",layer:y.Native},opacity:{layer:y.Native},visibility:{layer:y.Native},clear:{layer:y.Native},float:{layer:y.Native},isolation:{layer:y.Native},"overflow-x":{layer:y.Native,declare:e=>"overlay"===e?{"overflow-x":["auto",e]}:{"overflow-x":e}},"overflow-y":{layer:y.Native,declare:e=>"overlay"===e?{"overflow-y":["auto",e]}:{"overflow-y":e}},overflow:{layer:y.NativeShorthand,declare:e=>"overlay"===e?{overflow:["auto",e]}:{overflow:e}},"overscroll-behavior-x":{layer:y.Native},"overscroll-behavior-y":{layer:y.Native},"overscroll-behavior":{layer:y.NativeShorthand},"z-index":{key:"z",layer:y.Native},position:{layer:y.Native},cursor:{layer:y.Native},"pointer-events":{layer:y.Native},resize:{layer:y.Native},"touch-action":{layer:y.Native},"word-break":{layer:y.Native},"word-spacing":{layer:y.Native,unit:"em"},"user-drag":{layer:y.Native,declare:e=>({"-webkit-user-drag":e,"user-drag":e})},"user-select":{layer:y.Native,declare:e=>({"-webkit-user-select":e,"user-select":e})},"text-shadow":{unit:"rem",layer:y.Native},"text-size":{ambiguousKeys:["text","t"],ambiguousValues:[m.NUMBER_VALUE_REGEX],unit:"rem",declare:e=>({"font-size":e,"line-height":`calc(${e} + 0.875em)`}),layer:y.Shorthand},"text-fill-color":{ambiguousKeys:["text","t"],ambiguousValues:[m.COLOR_VALUE_REGEX],layer:y.Native,variables:["text"],declare:e=>({"-webkit-text-fill-color":e})},"text-stroke-width":{ambiguousKeys:["text-stroke"],ambiguousValues:["thin","medium","thick",m.NUMBER_VALUE_REGEX],unit:"rem",layer:y.Native,declare:e=>({"-webkit-text-stroke-width":e})},"text-stroke-color":{ambiguousKeys:["text-stroke"],ambiguousValues:[m.COLOR_VALUE_REGEX],layer:y.Native,declare:e=>({"-webkit-text-stroke-color":e})},"text-stroke":{unit:"rem",layer:y.Native,declare:e=>({"-webkit-text-stroke":e})},"text-truncate":{subkey:"lines",declare:e=>({display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":e,overflow:"hidden","overflow-wrap":"break-word","text-overflow":"ellipsis"}),layer:y.Shorthand},"box-shadow":{key:"shadow",subkey:"s",unit:"rem",layer:y.Native},"table-layout":{layer:y.Native},"transform-box":{ambiguousKeys:["transform"],layer:y.Native},"transform-style":{ambiguousKeys:["transform"],ambiguousValues:["flat","preserve-3d"],layer:y.Native},"transform-origin":{ambiguousKeys:["transform"],ambiguousValues:["top","bottom","right","left","center",m.NUMBER_VALUE_REGEX],unit:"px",layer:y.Native},transform:{matcher:/^(?:translate|scale|skew|rotate|perspective|matrix)(?:3d|[XYZ])?\(/,layer:y.Native,analyze:e=>[e.startsWith("transform")?e.slice(10):e],variables:["spacing"]},"transition-property":{key:"~property",layer:y.Native},"transition-timing-function":{key:"~easing",layer:y.Native},"transition-duration":{key:"~duration",layer:y.Native,unit:"ms"},"transition-delay":{key:"~delay",layer:y.Native,unit:"ms"},transition:{sign:"~",analyze(e){if(e.startsWith("~"))return[e.slice(1)];{let t=e.indexOf(":");return this.keyToken=e.slice(0,t+1),[e.slice(t+1)]}},layer:y.NativeShorthand},"animation-delay":{key:"@delay",layer:y.Native,unit:"ms"},"animation-direction":{key:"@direction",layer:y.Native},"animation-duration":{key:"@duration",layer:y.Native,unit:"ms"},"animation-fill-mode":{key:"@fill",layer:y.Native},"animation-iteration-count":{key:"@iteration",layer:y.Native},"animation-name":{key:"@name",layer:y.Native,includeAnimations:!0},"animation-play-state":{key:"@play",layer:y.Native},"animation-timing-function":{key:"@easing",layer:y.Native},animation:{sign:"@",layer:y.NativeShorthand,includeAnimations:!0,analyze(e){if(e.startsWith("@"))return[e.slice(1)];{let t=e.indexOf(":");return this.keyToken=e.slice(0,t+1),[e.slice(t+1)]}}},"border-collapse":{ambiguousKeys:["b","border"],ambiguousValues:["collapse","separate"],layer:y.Native},"border-spacing":{unit:"rem",layer:y.Native,variables:["spacing"]},"border-top-color":{ambiguousKeys:["bt","border-top"],ambiguousValues:[m.COLOR_VALUE_REGEX],layer:y.Native,variables:["frame"]},"border-bottom-color":{ambiguousKeys:["bb","border-bottom"],ambiguousValues:[m.COLOR_VALUE_REGEX],layer:y.Native,variables:["frame"]},"border-left-color":{ambiguousKeys:["bl","border-left"],ambiguousValues:[m.COLOR_VALUE_REGEX],layer:y.Native,variables:["frame"]},"border-right-color":{ambiguousKeys:["br","border-right"],ambiguousValues:[m.COLOR_VALUE_REGEX],layer:y.Native,variables:["frame"]},"border-x-color":{ambiguousKeys:["bx","border-x"],ambiguousValues:[m.COLOR_VALUE_REGEX],layer:y.Shorthand,variables:["frame"],declare:e=>({"border-left-color":e,"border-right-color":e})},"border-y-color":{ambiguousKeys:["by","border-y"],ambiguousValues:[m.COLOR_VALUE_REGEX],layer:y.Shorthand,variables:["frame"],declare:e=>({"border-top-color":e,"border-bottom-color":e})},"border-color":{ambiguousKeys:["b","border"],ambiguousValues:[m.COLOR_VALUE_REGEX],layer:y.NativeShorthand,variables:["frame"]},"border-top-left-radius":{key:"rtl",unit:"rem",layer:y.Native},"border-top-right-radius":{key:"rtr",unit:"rem",layer:y.Native},"border-bottom-left-radius":{key:"rbl",unit:"rem",layer:y.Native},"border-bottom-right-radius":{key:"rbr",unit:"rem",layer:y.Native},"border-top-radius":{key:"rt",unit:"rem",layer:y.Shorthand,declare:e=>({"border-top-left-radius":e,"border-top-right-radius":e})},"border-bottom-radius":{key:"rb",unit:"rem",layer:y.Shorthand,declare:e=>({"border-bottom-left-radius":e,"border-bottom-right-radius":e})},"border-left-radius":{key:"rl",unit:"rem",layer:y.Shorthand,declare:e=>({"border-top-left-radius":e,"border-bottom-left-radius":e})},"border-right-radius":{key:"rr",unit:"rem",layer:y.Shorthand,declare:e=>({"border-top-right-radius":e,"border-bottom-right-radius":e})},"border-radius":{key:"r",unit:"rem",layer:y.NativeShorthand},"border-top-style":{ambiguousKeys:["bt","border-top"],ambiguousValues:m.BORDER_STYLE_VALUES,layer:y.Native},"border-bottom-style":{ambiguousKeys:["bb","border-bottom"],ambiguousValues:m.BORDER_STYLE_VALUES,layer:y.Native},"border-left-style":{ambiguousKeys:["bl","border-left"],ambiguousValues:m.BORDER_STYLE_VALUES,layer:y.Native},"border-right-style":{ambiguousKeys:["br","border-right"],ambiguousValues:m.BORDER_STYLE_VALUES,layer:y.Native},"border-x-style":{ambiguousKeys:["bx","border-x"],ambiguousValues:m.BORDER_STYLE_VALUES,layer:y.Shorthand,declare:e=>({"border-left-style":e,"border-right-style":e})},"border-y-style":{ambiguousKeys:["by","border-y"],ambiguousValues:m.BORDER_STYLE_VALUES,layer:y.Shorthand,declare:e=>({"border-top-style":e,"border-bottom-style":e})},"border-style":{ambiguousKeys:["b","border"],ambiguousValues:m.BORDER_STYLE_VALUES,layer:y.NativeShorthand},"border-top-width":{ambiguousKeys:["bt","border-top"],ambiguousValues:[m.NUMBER_VALUE_REGEX],unit:"rem",layer:y.Native},"border-bottom-width":{ambiguousKeys:["bb","border-bottom"],ambiguousValues:[m.NUMBER_VALUE_REGEX],unit:"rem",layer:y.Native},"border-left-width":{ambiguousKeys:["bl","border-left"],ambiguousValues:[m.NUMBER_VALUE_REGEX],unit:"rem",layer:y.Native},"border-right-width":{ambiguousKeys:["br","border-right"],ambiguousValues:[m.NUMBER_VALUE_REGEX],unit:"rem",layer:y.Native},"border-x-width":{ambiguousKeys:["bx","border-x"],ambiguousValues:[m.NUMBER_VALUE_REGEX],unit:"rem",layer:y.Shorthand,declare:e=>({"border-left-width":e,"border-right-width":e})},"border-y-width":{ambiguousKeys:["by","border-y"],ambiguousValues:[m.NUMBER_VALUE_REGEX],unit:"rem",layer:y.Shorthand,declare:e=>({"border-top-width":e,"border-bottom-width":e})},"border-width":{ambiguousKeys:["b","border"],ambiguousValues:[m.NUMBER_VALUE_REGEX],unit:"rem",layer:y.NativeShorthand},"border-image-repeat":{ambiguousKeys:["border-image"],ambiguousValues:["stretch","repeat","round","space"],layer:y.Native},"border-image-slice":{ambiguousKeys:["border-image"],layer:y.Native},"border-image-source":{ambiguousKeys:["border-image"],ambiguousValues:[m.IMAGE_VALUE_REGEX],layer:y.Native},"border-image-width":{ambiguousKeys:["border-image"],ambiguousValues:["auto",m.NUMBER_VALUE_REGEX],unit:"rem",layer:y.Native},"border-image-outset":{ambiguousKeys:["border-image"],ambiguousValues:[m.NUMBER_VALUE_REGEX],unit:"rem",layer:y.Native},"border-image":{layer:y.NativeShorthand},"border-top":{key:"bt",layer:y.NativeShorthand,unit:"rem",transformValueComponents:g,variables:["frame"]},"border-bottom":{key:"bb",layer:y.NativeShorthand,unit:"rem",transformValueComponents:g,variables:["frame"]},"border-left":{key:"bl",layer:y.NativeShorthand,unit:"rem",transformValueComponents:g,variables:["frame"]},"border-right":{key:"br",layer:y.NativeShorthand,unit:"rem",transformValueComponents:g,variables:["frame"]},"border-x":{key:"bx",unit:"rem",layer:y.Shorthand,transformValueComponents:g,variables:["frame"],declare:e=>({"border-left":e,"border-right":e})},"border-y":{key:"by",unit:"rem",layer:y.Shorthand,transformValueComponents:g,variables:["frame"],declare:e=>({"border-top":e,"border-bottom":e})},border:{key:"b",unit:"rem",layer:y.NativeShorthand,transformValueComponents:g,variables:["frame"]},"background-attachment":{ambiguousKeys:["bg"],ambiguousValues:["fixed","local","scroll"],layer:y.Native},"background-blend-mode":{key:"bg-blend",layer:y.Native},"background-color":{ambiguousKeys:["bg"],ambiguousValues:[m.COLOR_VALUE_REGEX],layer:y.Native},"background-clip":{key:"bg-clip",layer:y.Native,declare:e=>({"-webkit-background-clip":e,"background-clip":e})},"background-origin":{key:"bg-origin",layer:y.Native},"background-position":{ambiguousKeys:["bg"],ambiguousValues:["top","bottom","right","left","center"],layer:y.Native,unit:"px"},"background-repeat":{ambiguousKeys:["bg"],ambiguousValues:["space","round","repeat","no-repeat","repeat-x","repeat-y"],layer:y.Native},"background-size":{ambiguousKeys:["bg"],ambiguousValues:["auto","cover","contain",m.NUMBER_VALUE_REGEX],unit:"rem",layer:y.Native},"background-image":{ambiguousKeys:["bg"],ambiguousValues:[m.IMAGE_VALUE_REGEX],layer:y.Native},background:{key:"bg",layer:y.NativeShorthand},gradient:{matcher:/^gradient\(/,layer:y.Shorthand,declare:e=>({"background-image":"linear-"+e})},"mix-blend-mode":{key:"blend",layer:y.Native},"backdrop-filter":{key:"bd",layer:y.Native,declare:e=>({"-webkit-backdrop-filter":e,"backdrop-filter":e})},filter:{matcher:/^(?:blur|brightness|contrast|drop-shadow|grayscale|hue-rotate|invert|opacity|saturate|sepia)\(/,layer:y.Native},fill:{layer:y.Native},"stroke-dasharray":{layer:y.Native},"stroke-dashoffset":{layer:y.Native,variables:["spacing"]},"stroke-width":{ambiguousKeys:["stroke"],ambiguousValues:[m.NUMBER_VALUE_REGEX],layer:y.Native},stroke:{layer:y.Native},x:{layer:y.Native,variables:["spacing"]},y:{layer:y.Native,variables:["spacing"]},cx:{layer:y.Native,variables:["spacing"]},cy:{layer:y.Native,variables:["spacing"]},rx:{layer:y.Native},ry:{layer:y.Native},"grid-column-start":{key:"grid-col-start",layer:y.Native},"grid-column-end":{key:"grid-col-end",layer:y.Native},"grid-column-span":{key:"grid-col-span",layer:y.Shorthand,transformValue:e=>"span "+e+"/span "+e,declare:e=>({"grid-column":e})},"grid-column":{key:"grid-col",layer:y.NativeShorthand},"grid-columns":{key:"grid-cols",declare:e=>({display:"grid","grid-template-columns":"repeat("+e+",minmax(0,1fr))"}),layer:y.Shorthand},"grid-row-start":{layer:y.Native},"grid-row-end":{layer:y.Native},"grid-row-span":{layer:y.Shorthand,transformValue:e=>"span "+e+"/span "+e,declare:e=>({"grid-row":e})},"grid-row":{layer:y.NativeShorthand},"grid-rows":{declare:e=>({display:"grid","grid-auto-flow":"column","grid-template-rows":"repeat("+e+",minmax(0,1fr))"}),layer:y.Shorthand},"grid-auto-columns":{key:"grid-auto-cols",layer:y.Native},"grid-auto-flow":{key:"grid-flow",layer:y.Native},"grid-auto-rows":{layer:y.Native},"grid-template-areas":{layer:y.Native},"grid-template-columns":{key:"grid-template-cols",layer:y.Native,unit:"rem"},"grid-template-rows":{layer:y.Native,unit:"rem"},"grid-template":{layer:y.NativeShorthand},"grid-area":{layer:y.NativeShorthand},grid:{layer:y.NativeShorthand},"column-gap":{key:"gap-x",unit:"rem",layer:y.Native,variables:["spacing"]},"row-gap":{key:"gap-y",unit:"rem",layer:y.Native,variables:["spacing"]},gap:{unit:"rem",layer:y.NativeShorthand,variables:["spacing"]},order:{key:"o",layer:y.Native},"break-inside":{layer:y.Native},"break-before":{layer:y.Native},"break-after":{layer:y.Native},"aspect-ratio":{key:"aspect",layer:y.Native},"column-span":{key:"col-span",layer:y.Native},"align-content":{subkey:"ac",layer:y.Native},"align-items":{subkey:"ai",layer:y.Native},"align-self":{subkey:"as",layer:y.Native},"justify-content":{subkey:"jc",layer:y.Native},"justify-items":{subkey:"ji",layer:y.Native},"justify-self":{subkey:"js",layer:y.Native},"place-content":{layer:y.NativeShorthand},"place-items":{layer:y.NativeShorthand},"place-self":{layer:y.NativeShorthand},"list-style-position":{ambiguousKeys:["list-style"],ambiguousValues:["inside","outside"],layer:y.Native},"list-style-type":{ambiguousKeys:["list-style"],ambiguousValues:["disc","decimal"],layer:y.Native},"list-style-image":{ambiguousKeys:["list-style"],ambiguousValues:[m.IMAGE_VALUE_REGEX],layer:y.Native},"list-style":{layer:y.NativeShorthand},"outline-color":{ambiguousKeys:["outline"],ambiguousValues:[m.COLOR_VALUE_REGEX],layer:y.Native,variables:["frame"]},"outline-offset":{unit:"rem",layer:y.Native,variables:["spacing"]},"outline-style":{ambiguousKeys:["outline"],ambiguousValues:m.BORDER_STYLE_VALUES,layer:y.Native},"outline-width":{ambiguousKeys:["outline"],ambiguousValues:["medium","thick","thin",m.NUMBER_VALUE_REGEX],unit:"rem",layer:y.Native},outline:{unit:"rem",layer:y.NativeShorthand,variables:["outline-width","outline-style","outline-offset","outline-color","frame"],transformValueComponents:g},"accent-color":{key:"accent",layer:y.Native},appearance:{layer:y.Native},"caret-color":{key:"caret",layer:y.Native,variables:["text"]},"scroll-behavior":{layer:y.Native},"scroll-margin-left":{key:"scroll-ml",layer:y.Native,unit:"rem",variables:["spacing"]},"scroll-margin-right":{key:"scroll-mr",layer:y.Native,unit:"rem",variables:["spacing"]},"scroll-margin-top":{key:"scroll-mt",layer:y.Native,unit:"rem",variables:["spacing"]},"scroll-margin-bottom":{key:"scroll-mb",layer:y.Native,unit:"rem",variables:["spacing"]},"scroll-margin-x":{key:"scroll-mx",unit:"rem",layer:y.Shorthand,declare:e=>({"scroll-margin-left":e,"scroll-margin-right":e}),variables:["spacing"]},"scroll-margin-y":{key:"scroll-my",unit:"rem",layer:y.Shorthand,declare:e=>({"scroll-margin-top":e,"scroll-margin-bottom":e}),variables:["spacing"]},"scroll-margin":{key:"scroll-m",unit:"rem",layer:y.NativeShorthand,variables:["spacing"]},"scroll-padding-left":{key:"scroll-pl",layer:y.Native,unit:"rem",variables:["spacing"]},"scroll-padding-right":{key:"scroll-pr",layer:y.Native,unit:"rem",variables:["spacing"]},"scroll-padding-top":{key:"scroll-pt",layer:y.Native,unit:"rem",variables:["spacing"]},"scroll-padding-bottom":{key:"scroll-pb",layer:y.Native,unit:"rem",variables:["spacing"]},"scroll-padding-x":{key:"scroll-px",unit:"rem",layer:y.Shorthand,declare:e=>({"scroll-padding-left":e,"scroll-padding-right":e}),variables:["spacing"]},"scroll-padding-y":{key:"scroll-py",unit:"rem",layer:y.Shorthand,declare:e=>({"scroll-padding-top":e,"scroll-padding-bottom":e}),variables:["spacing"]},"scroll-padding":{key:"scroll-p",unit:"rem",layer:y.NativeShorthand,variables:["spacing"]},"scroll-snap-align":{ambiguousKeys:["scroll-snap"],ambiguousValues:["start","end","center"],layer:y.Native},"scroll-snap-stop":{ambiguousKeys:["scroll-snap"],ambiguousValues:["normal","always"],layer:y.Native},"scroll-snap-type":{ambiguousKeys:["scroll-snap"],ambiguousValues:["x","y","block","inline","both"],layer:y.Native},"will-change":{layer:y.Native},"writing-mode":{key:"writing",layer:y.Native},direction:{layer:y.Native},"shape-outside":{ambiguousKeys:["shape"],ambiguousValues:[/(?:inset|circle|ellipse|polygon|url|linear-gradient)\(.*\)/],layer:y.Native},"shape-margin":{ambiguousKeys:["shape"],ambiguousValues:[m.NUMBER_VALUE_REGEX],unit:"rem",layer:y.Native,variables:["spacing"]},"shape-image-threshold":{layer:y.Native},"clip-path":{key:"clip",layer:y.Native},quotes:{layer:y.Native},"mask-image":{layer:y.Native,declare:e=>({"-webkit-mask-image":e,"mask-image":e})}};var v={dark:"class",light:"class"};let k={$:{transform(e){let t,a;let i=e.indexOf(",");return -1!==i?(t=e.slice(0,i),a=e.slice(i+1)):t=e,[{type:"variable",name:t,fallback:a,token:e}]}},calc:{transform(e,t){let a=[],i=0,r=(t,s,l,o,n)=>{let u;let c=a!==t,d=[],h=!1,f=!1,y=!1,b=!1,g="",p=(a,r="",o="")=>{if(!1===u&&" "!==a&&this.definition.unit&&(u=void 0,b||v()),g){if(!n){let e=m.BASE_UNIT_REGEX.exec(g);e&&(g=(+e[1]*(this.css.config.baseUnit??1)).toString())}if(h||l)t.push({type:"string",value:g,token:g});else{let e={...this.parseValue(g),token:g};if(!f&&isNaN(+g)&&"number"===e.type&&(f=!0),b)isNaN(+g)?"number"===e.type?(t.push(e),y=!0):t.push(e):t.push({type:"number",value:+g,token:g});else if(c){let e={type:"string",value:g,token:g};d.push(e),t.push(e)}else t.push(e)}g=""}a&&(("+"===a||"-"===a)&&x(),r&&" "===e[i-1]&&(r=""),o&&" "===e[i+1]&&(o=""),s?t.push({type:"separator",value:a,text:a,token:a}):t.push({type:"separator",value:a,text:r+a+o,token:a})),h=!1},v=()=>{("rem"===this.definition.unit||"em"===this.definition.unit)&&t.push({type:"separator",value:"/",text:" / ",token:"/"},{type:"number",value:this.css.config.rootSize,token:String(this.css.config.rootSize)}),t.push({type:"separator",value:"*",text:" * ",token:"*"},{type:"number",value:1,unit:this.definition.unit,token:this.definition.unit})},x=()=>{!b||y||o||c&&!f||v(),b=!1,y=!1};for(;i<e.length;i++){let a=e[i];if("("===a){let e=/^([+-])/.exec(g);e&&t.push({type:"string",value:e[1],token:e[1]});let s=e?g.slice(1):g,l={type:"function",name:s,symbol:a,children:[],bypassTransform:"calc"===s,token:g};t.push(l),g="",i++;let o="$"===s||"var"===s;if(!(u=r(l.children,""!==s&&"calc"!==s&&(o||Object.prototype.hasOwnProperty.call(k,s)),h||o||b&&y,b,o)||"var"===s)&&"$"===s){let e=this.css.variables[l.children[0].value]?.type;u=!e||"string"===e}u&&(f=!0,y=!0)}else if(")"===a){if(p(""),f)for(let e of d)Object.assign(e,this.parseValue(e.value));return f}else if(","===a)p(a,""," ");else if(" "===a)p(a);else{let t=e[i-1];switch(a){case"+":case"-":g||")"===t?p(a," "," "):g+=a;break;case"*":this.definition.unit&&(b=!0),p(a," "," ");break;case"/":this.definition.unit&&(b=!0),p(a," "," "),h=!0;break;default:g+=a}}}p(""),x()};return r(a,!1,!1,!1,!1),"calc("+this.resolveValue(a,k.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:""},"color-contrast":{unit:""},"color-mix":{unit:""},hwb:{unit:""},lab:{unit:""},lch:{unit:""},oklab:{unit:""},oklch:{unit:""},clamp:{unit:""},repeat:{unit:""},"linear-gradient":{},"radial-gradient":{},"conic-gradient":{},"repeating-linear-gradient":{},"repeating-radial-gradient":{},"repeating-conic-gradient":{}};i.at=r,i.selectors=s,i.utilities=l,i.animations=o,i.variables=h,i.syntaxes=p,i.modes=v,i.functions=k,i.config={at:r,selectors:s,utilities:l,syntaxes:p,functions:k,animations:o,variables:h,modes:v,scope:"",rootSize:16,baseUnit:4,override:!1,important:!1,defaultMode:"light"};var x={};x.Rule=class{className;RegisteredRule;css;at;priority;natives;order;layer;declarations;animationNames;variableNames;constructor(e,t,a){let i,r,s;this.className=e,this.RegisteredRule=t,this.css=a,this.at={},this.priority=-1,this.natives=[],this.order=0,this.layer=0,this.resolveValue=(e,t,a,i)=>{let{functions:r}=this.css.config,s="";for(let l of e)switch(l.type){case"function":let e=r&&r[l.name];if(e?.transform&&!l.bypassTransform){let r=e.transform.call(this,this.resolveValue(l.children,e.unit??t,a,i||"calc"===l.name),a);s+=l.token=l.text="string"==typeof r?r:this.resolveValue(r,e?.unit??t,a,i)}else s+=l.token=l.text=l.name+l.symbol+this.resolveValue(l.children,e?.unit??t,a,i)+m.VALUE_DELIMITERS[l.symbol];break;case"variable":let o=this.css.variables[l.name];if(o){let e=(e,t)=>{if(o.modes){if(this.mode){let t=o.modes[this.mode]??o;t?.value&&e(t)}else this.variableNames||(this.variableNames=[]),this.variableNames.includes(l.name)||this.variableNames.push(l.name),t()}else e(o)};switch(o.type){case"string":e(e=>{let r=[];this.parseValues(r,0,e.value,t,"",void 0,i,[...a,l.name]),s+=l.text=this.resolveValue(r,t,[...a,l.name],i)},()=>{s+=l.text=`var(--${l.name})`});break;case"number":e(e=>{if(i)s+=l.text=String(e.value);else{let a=this.parseValue(e.value,t);s+=l.text=a.value+(a.unit??"")}},()=>{s+=l.text=t?`calc(var(--${l.name}) / 16 * 1rem)`:`var(--${l.name})`});break;case"color":let r=l.alpha?"/"+l.alpha:"";e(e=>{s+=l.text=`${e.space}(${e.value}${r})`},()=>{s+=l.text=`${o.space}(var(--${l.name})${r})`})}}else s+=l.text=`var(--${l.name}${l.fallback?","+l.fallback:""})`;break;case"separator":s+=l.text?l.text:l.text=l.value;break;case"number":s+=l.text=l.value+(l.unit||"");break;default:s+=l.text=l.value}return s},this.parseValues=(e,t,a,i,r,s,l=!1,o=[])=>{let n=void 0===s,u=!n&&(s.endsWith("$")||s.endsWith("var")),c="'"===r||'"'===r,d=[","];this.definition.separators?.length&&d.push(...this.definition.separators);let h="",f=()=>{if(h){let t=!1;if(!u||e.length){let a=(a,i)=>{let r=Object.prototype.hasOwnProperty.call(this.variables,a)?this.variables[a]:Object.prototype.hasOwnProperty.call(this.css.variables,a)?this.css.variables[a]:void 0;if(r){let s=r.name??a;if(!o.includes(s)){t=!0;let a={type:"variable",name:s,variable:this.css.variables[s],token:h};i&&(a.alpha=i),e.push(a)}}};if(a(h),!t){let[e,t]=h.split("/");a(e,t)}}if(!t){if(!u){let e=m.BASE_UNIT_REGEX.exec(h);e&&(h=String(+e[1]*(this.css.config.baseUnit??1)))}l?e.push({type:"string",value:h,token:h}):e.push({...this.parseValue(h,i),token:h})}h=""}};for(;t<a.length;t++){let o=a[t];if(o===r){if(c){let e=0;for(let t=h.length-1;"\\"===h[t];t--)e++;if(e%2){h+=o;continue}f()}else f();return t}if(!c&&o in m.VALUE_DELIMITERS){let r=h,n={type:"function",name:r,symbol:o,children:[],token:""};e.push(n),h="";let u="("===o?this.css.config.functions?.[r]:void 0;t=this.parseValues(n.children,++t,a,u?.unit??i,m.VALUE_DELIMITERS[o],r||s||"",l||"calc"===r)}else if("|"!==o&&" "!==o||"}"===r||c&&"path"!==s){if(!c){if("."===o){if(isNaN(+a[t+1])){if(n)break}else"-"===a[t-1]&&(h+="0")}else if(d.includes(o)){f(),e.push({type:"separator",value:o,text:(","===o?"":" ")+o+(","===o?"":" "),token:o});continue}else if(n&&("#"===o&&(h||e.length&&"separator"!==e[e.length-1].type)||["!","*",">","+","~",":","[","@","_"].includes(o)))break}h+=o}else f(),e.push({type:"separator",value:" ",token:o})}return f(),t},Object.assign(this,t);let{id:l,definition:o}=t,{analyze:n,transformValue:u,declare:c,transformValueComponents:d,create:h,layer:b,unit:g}=o;this.layer=b,o.unit||(o.unit=""),o.separators||(o.separators=[","]);let{scope:p,important:v,modes:k}=a.config,{selectors:x,at:N,stylesBy:E,animations:S}=a,w=E[e];if(h&&h.call(this,e),this.declarations=o.declarations,b===y.Utility)i=e.slice(l.length-1);else{let t;if(n)[t,r]=n.call(this,e);else{let a=e.indexOf(":");this.keyToken=e.slice(0,a+1),t=e.slice(a+1)}this.valueComponents=[];let a=this.parseValues(this.valueComponents,0,t,g,"",void 0,!1,o.includeAnimations?Object.keys(this.css.animations):[]);this.valueToken=t.slice(0,a),i=t.slice(a)}"!"===i[0]&&(this.important=!0,i=i.slice(1)),this.stateToken=i;let R=(e,t)=>{let a=(e,t,i,r)=>{for(let[r,s]of t)if(r.test(e)){for(let l of s)a(e.replace(r,l),t,i,!0);return}r&&i.push(e)},i=e=>{let t=e.split(/(\\'(?:.*?)[^\\]\\')(?=[*_>~+,)])|(\[[^=]+='(?:.*?)[^\\]'\])/).map((e,t)=>t%3?e:e.replace(/(^|[^_])_(?!_)/g,"$1 ")).join(""),a=[],i="",r=0;for(let e=0;e<t.length;e++){let s=t[e];if("\\"===s){i+=s+t[++e];continue}r||","!==s?(i+=s,r&&")"===s?r--:"("===s&&r++):(a.push(i),i="")}return i&&a.push(i),a},r=[];""in x?a(e,x[""],r,!0):r.push(e);let s={};for(let[e,t]of Object.entries(x)){if(!e)continue;let i=[];for(let e of r)a(e,t,i,!1);i.length&&(s[e]=i)}let l=(e,a)=>{let r=a.reduce((e,t)=>(e.push(...i(t)),e),[]);e in t?t[e].push(...r):t[e]=r},o=Object.keys(s);if(o.length)for(let e of o)l(e,s[e]);else l("",r)};r?(this.vendorPrefixSelectors={},R(r,this.vendorPrefixSelectors)):this.vendorPrefixSelectors={"":[""]};let $=i.split("@"),O=$[0];if(O)for(let e of(this.vendorSuffixSelectors={},R(O,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 a=0;a<e.length;a++)if(t.includes(e[a])){(-1===this.priority||this.priority>a)&&(this.priority=a);break}}else this.vendorSuffixSelectors={"":[""]};let _={},V=Object.prototype.hasOwnProperty.call(this.vendorPrefixSelectors,""),A=Object.prototype.hasOwnProperty.call(this.vendorSuffixSelectors,"");if(V)_[""]=A?[""]:Object.keys(this.vendorSuffixSelectors);else if(A)for(let e in this.vendorPrefixSelectors)_[e]=[""];else for(let e in this.vendorPrefixSelectors){let t=_[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<$.length;e++){let t=$[e];if(this.atToken=(this.atToken||"")+"@"+t,t){if("rtl"===t||"ltr"===t)this.direction=t;else{let e;let a=[],i=/^(media|supports|container|layer)/,r=i.exec(t);if(r)e=r[1],a.push({type:"arbitrary",token:t,value:t.slice(e.length).replace(/\|/g," ")});else{let r=t=>{if("&"===t)a.push({type:"operator",token:t,value:"and"});else if(t.startsWith("")){let r=N[t];if(r&&"string"==typeof r){let s=r.match(i);if(!(e=s?s[1]:""))throw Error(`Invalid query '${t}': '${r}'`);a.push({type:"arbitrary",value:r.slice(s?s[1].length+1:0)})}else{e="media";let i="",s="",l=0;t.startsWith("<=")?(s="<=",i="max-width"):t.startsWith(">")&&!t.startsWith(">=")?(s=">",i="min-width",l=.02):t.startsWith("<")?(s="<",i="max-width",l=-.02):(t.startsWith(">=")||r)&&(s=">=",i="min-width");let o=s?t.replace(s,""):t,n=N[o];switch(i){case"max-width":case"min-width":if("number"==typeof n)a.push({type:"feature",name:i,valueType:"number",value:n+l,unit:"px"});else{let e=this.parseValue(o,"px");"number"===e.type?a.push({type:"feature",name:i,valueType:"number",value:e.value+l,unit:e.unit}):a.push({type:"feature",name:i,valueType:"string",value:o})}}}}},s=t.includes("&");if(s)for(let e of t.split(/(&|,)/))r(e);else r(t);if(!a.length&&!s&&k?.[t]){this.mode=t;continue}}e&&(this.at[e]=a)}}}this.valueComponents&&(d&&(this.valueComponents=d.call(this,this.valueComponents)),s=this.resolveValue(this.valueComponents,g,[],!1),u&&(s=u.call(this,s)),c?this.declarations=c.call(this,s,this.valueComponents):l&&(this.declarations={[l]:s}));let L=[];for(let e in this.declarations){let t=e=>{if(S&&(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)}L.push(e+((this.important||v)&&!e.endsWith("!important")?"!important":""))},a=e+":",i=this.declarations[e];if(Array.isArray(i))for(let e of i)t(a+String(e));else t(a+String(i))}if(L.length)for(let t in _)for(let a of _[t]){let i="";this.direction&&(i+="[dir="+this.direction+"] ");let r=this.vendorPrefixSelectors[t],s=this.vendorSuffixSelectors[a],l=r.map(e=>e+i),o=e=>l.map(e=>(this.mode&&k?.[this.mode]!=="media"?k?.[this.mode]==="host"?`:host(.${this.mode}) `:`.${this.mode} `:"")+(p?p+" ":"")+e).reduce((t,a)=>(t.push(s.reduce((t,i)=>(t.push(a+"."+f(e)+i),t),[]).join(",")),t),[]).join(","),n=o(e)+(w?w.reduce((e,t)=>e+","+o(t),""):"")+"{"+L.join(";")+"}";for(let e of Object.keys(this.at).sort((e,t)=>"supports"===t?-1:1))n="@"+e+(e.includes(" ")?"":" ")+this.at[e].map(e=>this.resolveAtComponent(e)).join(" ")+"{"+n+"}";this.mode&&k?.[this.mode]==="media"&&(n=`@media(prefers-color-scheme:${this.mode}){`+n+"}"),this.natives.push({text:n})}}resolveAtComponent(e){switch(e.type){case"arbitrary":case"operator":return e.value;case"feature":return"("+e.name+":"+e.value+(e.unit||"")+")"}}resolveValue;get text(){return this.natives.map(e=>e.text).join("")}parseValues;parseValue(e,t=this.definition.unit){let a;let i=t??this.definition.unit,r="";if("number"==typeof e)return i&&!r?(("rem"===i||"em"===i)&&(a=e/(this.css.config.rootSize||1)),r=i||""):a=e,{value:a,unit:r,type:"number"};if(i){if(/^\d+\/\d+/.test(e)){let[t,a]=e.split("/");return{value:+t/+a*100,unit:"%",type:"number"}}let t=e.match(m.UNIT_REGEX);if(t)return a=+t[1],(r=t[3]||"")||(("rem"===i||"em"===i)&&(a/=this.css.config.rootSize||1),r=i||""),{value:a,unit:r,type:"number"}}return{value:e,type:"string"}}};var N={},E={};E.flattenObject=function e(t,a=""){return Object.entries(t).reduce((t,[i,r])=>{let s=a?`${a}${i?"-"+i:""}`:i;return"object"!=typeof r||Array.isArray(r)?t[s]=r:Object.assign(t,e(r,s)),t},{})};var S=function(...e){let t=e=>{let t=d({},e),a=e=>{for(let t in e){let i=e[t];"object"!=typeof i||Array.isArray(i)?t&&!t.startsWith("@")&&(e[t]={"":i}):a(i)}};return t.styles&&a(t.styles),t.at&&a(t.at),t.variables&&a(t.variables),t},a=[];for(let i of e)i&&function e(i){if(i.extends?.length)for(let t of i.extends)e("config"in t?t.config:t);a.push(t(i))}(i);let i={animations:{},styles:{},at:{},variables:{}};for(let e=0;e<a.length;e++){let t=a[e];for(let e in t)"animations"===e?t.animations&&Object.assign(i.animations,t.animations):t[e]&&(i=d(i,{[e]:t[e]}))}return i};Object.defineProperty(N,"__esModule",{value:!0});var w=function(e){let t,a,i,r;return e.startsWith("#")&&(e=e.slice(1)),3===e.length||4===e.length?(t=parseInt(e[0]+e[0],16),a=parseInt(e[1]+e[1],16),i=parseInt(e[2]+e[2],16),r=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),a=parseInt(e.slice(2,4),16),i=parseInt(e.slice(4,6),16),r=8===e.length?Math.round(parseInt(e.slice(6,8),16)/255*100)/100:1),[t,a,i,r]};let R=class e{customConfig;static config=i.config;syntaxes;ruleBy;classesUsage;config;Rules;constructor(t){this.customConfig=t,this.syntaxes=[],this.ruleBy={},this.classesUsage={},this.Rules=[],t?.override?this.config=S(t):this.config=S(i.config,t),this.resolve(),this.constructor===e&&$.push(this)}resolve(){this.styles={},this.stylesBy={},this.selectors={},this.variables={},this.at={},this.animations={},this.Rules.length=0,this.variablesNativeRules={},this.hasKeyframesRule=!1;let e={current:void 0,currentColor:void 0,transparent:void 0},{styles:t,selectors:a,variables:i,utilities:r,at:s,syntaxes:l,animations:o}=this.config;function n(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}if(a){let e=E.flattenObject(a);for(let t in e){let a=e[t],i=RegExp(n(t)+"(?![a-z-])");for(let e of Array.isArray(a)?a:[a]){let t=e.match(/^::-[a-z]+-/m)?.[0]??"",a=this.selectors[t];a||(a=this.selectors[t]=[]);let r=a.find(([e])=>e===i);r||(r=[i,[]],a.push(r)),r[1].push(e)}}}if(i){let t={},a=(i,r,s)=>{if(null===i)return;let l=(t,a,i,r)=>{if(void 0===a)return;let l=t.join("-"),o=t.slice(0,-1).filter(Boolean),n=(""===t[0]?"-":"")+t[t.length-1];if(a.key=n,a.name=l,o.length&&(a.group=o.join(".")),"color"===a.type){if(r){let e=a.value.indexOf("/");a={...a,value:-1===e?a.value+" / "+(r.startsWith("0.")?r.slice(1):r):a.value.slice(0,e+2)+String(+a.value.slice(e+2)*+r).slice(1)}}e[l]=void 0}a.name.startsWith("screen-")&&"number"===a.type&&(this.at[a.name.slice(7)]=a.value);let u=i??s;if(void 0!==u){if(Object.prototype.hasOwnProperty.call(this.variables,l)){let e=this.variables[l];u?(e.modes||(e.modes={}),e.modes[u]=a):(e.value=a.value,"color"===a.type&&(e.space=a.space))}else if(u){let e={key:a.key,name:a.name,group:a.group,type:a.type,modes:{[u]:a}};"color"===a.type&&(e.space=a.space),this.variables[l]=e}else this.variables[l]=a}else this.variables[l]=a};if("object"==typeof i){if(Array.isArray(i))l(r,{type:"string",value:i.join(",")});else{let e=Object.keys(i);for(let t of e)""===t||t.startsWith("@")?a(i[t],r,t||e.some(e=>e.startsWith("@"))?t.slice(1):void 0):a(i[t],[...r,t])}}else if("number"==typeof i)l(r,{type:"number",value:i}),l(["",...r],{type:"number",value:-1*i});else if("string"==typeof i){let e=/^\$\((.*?)\)(?: ?\/ ?(.+?))?$/.exec(i),a=r.join("-");if(e)Object.prototype.hasOwnProperty.call(t,a)||(t[a]={}),t[a][s]=()=>{delete t[a][s];let[i,o]=e[1].split("@");if(i){if(Object.prototype.hasOwnProperty.call(t,i))for(let e of Object.keys(t[i]))t[i][e]?.();let a=this.variables[i];if(a){if(void 0===o&&a.modes)for(let t in l(r,{type:a.type,value:a.value,space:a.space},"",e[2]),a.modes)l(r,a.modes[t],t,e[2]);else{let t=void 0!==o?a.modes?.[o]:a;if(t){let a={type:t.type,value:t.value};"color"===t.type&&(a.space=t.space),l(r,a,void 0,e[2])}}}}};else{let e=/^#([A-Fa-f0-9]{3,4}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{8})$/.exec(i);if(e){let[t,a,i,s]=w(e[1]);l(r,{type:"color",value:`${t} ${a} ${i}${1===s?"":" / "+s}`,space:"rgb"})}else{let e=/^rgb\( *([0-9]{1,3})(?: *, *| +)([0-9]{1,3})(?: *, *| +)([0-9]{1,3}) *(?:(?:,|\/) *(.*?) *)?\)$/.exec(i);if(e)l(r,{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(i);e?l(r,{type:"color",value:e[1],space:"hsl"}):l(r,{type:"string",value:i})}}}}};for(let e in i)a(i[e],[e]);for(let e of Object.keys(t))for(let a of Object.keys(t[e]))t[e][a]?.()}if(s&&Object.assign(this.at,E.flattenObject(s)),o)for(let e in o){let t=this.animations[e]={},a=o[e];for(let e in a){let i=t[e]={},r=a[e];for(let e in r)i[e]=r[e]}}let u=t?E.flattenObject(t):{},c=Object.keys(u),d=e=>{if(Object.prototype.hasOwnProperty.call(this.styles,e))return;let t=this.styles[e]=[],a=u[e];if(a)for(let i of a.replace(/(?:\n(?:\s*))+/g," ").trim().split(" ")){let a=a=>{if(Object.prototype.hasOwnProperty.call(this.stylesBy,a)){let t=this.stylesBy[a];t.includes(e)||t.push(e)}else this.stylesBy[a]=[e];t.includes(a)||t.push(a)};if(c.includes(i))for(let e of(d(i),this.styles[i]))a(e);else a(i)}};for(let e of c)d(e);if(l||r){let t=[];if(r)for(let e in r){let a=r[e];t.push([e,{declarations:a,layer:y.Utility}])}l&&t.push(...Object.entries(l));let a=t.length,i=Object.keys(e);t.sort((e,t)=>e[1].layer!==t[1].layer?(t[1].layer||0)-(e[1].layer||0):t[0].localeCompare(e[0])).forEach(([e,t],r)=>{let s={id:e,keys:[],variables:{},matchers:{},order:a-1-r,definition:t};this.Rules.push(s);let{matcher:l,layer:o,subkey:u,ambiguousKeys:c,ambiguousValues:d,sign:h}=t;o===y.Utility&&(s.id="."+e,s.matchers.arbitrary=RegExp("^"+n(e)+"(?=!|\\*|>|\\+|~|:|\\[|@|_|\\.|$)","m"));let f=e=>{for(let t in this.variables){let a=this.variables[t];a.group===e&&(s.variables[a.key]=a)}};if(t.variables)for(let e of t.variables)f(e);f(e);let m=[],{key:b}=t;if((o===y.NativeShorthand||o===y.Native)&&(b||(t.key=b=e),m.push(e)),h)s.matchers.arbitrary=RegExp(`^${h}[^!*>+~:[@_]+\\|`);else if(l)s.matchers.arbitrary=l;else{let t=i.join("|");if(b||u?(b&&!m.includes(b)&&m.push(b),u&&m.push(u),o===y.Shorthand&&m.push(e)):m.push(e),c?.length){let e=c.length>1?`(?:${c.join("|")})`:c[0],a=Object.keys(s.variables);if(d?.length){let a=[];for(let e of d)e instanceof RegExp?a.push(e.source.replace("\\$colors",t)):a.unshift(`${e}(?:\\b|_)`);s.matchers.value=RegExp(`^${e}:(?:${a.join("|")})[^|]*?(?:@|$)`)}a.length&&(s.matchers.variable=RegExp(`^${e}:(?:${a.join("|")}(?![a-zA-Z0-9-]))[^|]*?(?:@|$)`))}}m.length&&(s.keys=m,s.matchers.key=RegExp(`^${m.length>1?`(${m.join("|")})`:m[0]}:.`))})}}match(e){for(let t of this.Rules)if(t.matchers.variable?.test(e))return t;for(let t of this.Rules)if(t.matchers.value?.test(e))return t;for(let t of this.Rules)if(t.matchers.key?.test(e))return t;for(let t of this.Rules)if(t.matchers.arbitrary?.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 x.Rule(e,t,this)}refresh(e){for(let t in e?this.customConfig=e:e=this.customConfig,e?.override?this.config=S(e):this.config=S(i.config,e),this.resolve(),this.syntaxes.length=0,this.ruleBy={},this.classesUsage)this.add(t);return this}reset(){for(let e in this.ruleBy={},this.classesUsage={},this.syntaxes.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(),$.splice($.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,a=e=>{let a=this.ruleBy[e];if(!(!a||Object.prototype.hasOwnProperty.call(this.stylesBy,e)&&this.stylesBy[e].some(e=>Object.prototype.hasOwnProperty.call(this.classesUsage,e)))){if(t&&a.natives.length){let e=a.natives[0];for(let i=0;i<t.cssRules.length;i++)if(t.cssRules[i]===e.cssRule){for(let e=0;e<a.natives.length;e++)t.deleteRule(i);break}}if(this.syntaxes.splice(this.syntaxes.indexOf(a),1),delete this.ruleBy[e],a.variableNames)for(let e of a.variableNames){let a=this.variables[e];if(a.usage||(a.usage=0),!--a.usage){let i=a=>{let i=this.variablesNativeRules[a];if(i.cssRule.style.removeProperty("--"+e),!i.cssRule.style.length){let e=this.syntaxes[0],r=e.natives.indexOf(i);t?.deleteRule(r),e.natives.splice(r,1),delete this.variablesNativeRules[a],e.natives.length||(this.syntaxes.splice(0,1),this.variablesNativeRules={})}};if(a.value&&i(""),a.modes)for(let e in a.modes)i(e)}}if(a.animationNames){let e=Object.keys(this.variablesNativeRules).length?1:0,i=this.syntaxes[e];for(let e of a.animationNames){let a=this.animations[e];if(a.usage||(a.usage=0),!--a.usage&&a.native){let e=i.natives.indexOf(a.native);t?.deleteRule(Object.keys(this.variablesNativeRules).length+e),i.natives.splice(e,1),a.native=void 0}}i.natives.length||(this.syntaxes.splice(e,1),this.hasKeyframesRule=!1)}a.definition.delete?.call(a,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)||a(e);delete this.ruleBy[t]}else a(t)}insert(e){let t,a,i;if(this.ruleBy[e.className])return;let r=this.syntaxes.length-1,{at:s,atToken:l,order:o,priority:n,hasWhere:u,className:c}=e,d=(e,t,a)=>{let i=e;for(;i<=r;i++){let e=this.syntaxes[i];if(t?.(e))break;if(a?.(e))return i}return a?-1:i-1};if(l){let e=this.syntaxes.findIndex(e=>e.at?.media);if(-1===e)t=r+1;else{let l=s.media?.find(({name:e})=>"max-width"===e),o=s.media?.find(({name:e})=>"min-width"===e);if(l||o){let e=this.syntaxes.findIndex(e=>e.at?.media?.find(({name:e})=>"max-width"===e||"min-width"===e));if(-1===e)t=r+1;else if(l&&o){if(-1===n?(a=d(e,e=>-1!==e.priority,e=>e.at.media?.find(({name:e})=>"max-width"===e)&&e.at.media?.find(({name:e})=>"min-width"===e)),i=d(e,e=>-1!==e.priority)):(a=d(e,void 0,e=>e.at.media?.find(({name:e})=>"max-width"===e)&&e.at.media?.find(({name:e})=>"min-width"===e)&&-1!==e.priority),i=r),-1!==a){let e=l.value-o.value,t=i,r=a;for(a=i+1;t>=r;t--){let r=this.syntaxes[t],s=r.at.media?.find(({name:e})=>"max-width"===e),l=r.at.media?.find(({name:e})=>"min-width"===e);if(s&&l){let r=s.value-l.value;if(r<e)i=t-1;else if(r===e)a=t;else break}else break}}}else if(o){if(-1===n?(a=d(e,e=>e.at.media?.find(({name:e})=>"max-width"===e)&&e.at.media?.find(({name:e})=>"min-width"===e)||-1!==e.priority,e=>!e.at.media?.find(({name:e})=>"max-width"===e)&&e.at.media?.find(({name:e})=>"min-width"===e)),i=d(e,e=>e.at.media?.find(({name:e})=>"max-width"===e)&&e.at.media?.find(({name:e})=>"min-width"===e)||-1!==e.priority)):(a=d(e,e=>e.at.media?.find(({name:e})=>"max-width"===e)&&e.at.media?.find(({name:e})=>"min-width"===e)&&-1!==e.priority,e=>!e.at.media?.find(({name:e})=>"max-width"===e)&&e.at.media?.find(({name:e})=>"min-width"===e)&&-1!==e.priority),i=d(e,e=>e.at.media?.find(({name:e})=>"max-width"===e)&&e.at.media?.find(({name:e})=>"min-width"===e)&&-1!==e.priority)),-1!==a)for(let e=i;e>=a;e--){let t=(this.syntaxes[e].at.media?.find(({name:e})=>"min-width"===e)).value;if(t>o.value)i=e-1;else if(t<o.value){a=e+1;break}}}else if(-1===n?(a=d(e,e=>e.at.media?.find(({name:e})=>"min-width"===e)||-1!==e.priority,e=>e.at.media?.find(({name:e})=>"max-width"===e)),i=d(e,e=>e.at.media?.find(({name:e})=>"min-width"===e)||-1!==e.priority)):(a=d(e,e=>e.at.media?.find(({name:e})=>"min-width"===e)&&-1!==e.priority,e=>e.at.media?.find(({name:e})=>"max-width"===e)&&-1!==e.priority),i=d(e,e=>e.at.media?.find(({name:e})=>"min-width"===e)&&-1!==e.priority)),-1!==a)for(let e=i;e>=a;e--){let t=(this.syntaxes[e].at.media?.find(({name:e})=>"max-width"===e)).value;if(t<l.value)i=e-1;else if(t>l.value){a=e+1;break}}}else -1===n?(a=e,i=d(e,e=>e.at.media?.find(({name:e})=>"max-width"===e||"min-width"===e)||-1!==e.priority)):(a=d(e,e=>e.at.media?.find(({name:e})=>"max-width"===e||"min-width"===e),e=>-1!==e.priority),i=d(e,e=>e.at.media?.find(({name:e})=>"max-width"===e||"min-width"===e)))}}else{let e=Object.keys(this.variablesNativeRules).length?this.hasKeyframesRule?2:1:this.hasKeyframesRule?1:0;-1===n?(a=e,i=d(e,e=>e.atToken||-1!==e.priority)):(a=d(e,e=>e.atToken,e=>-1!==e.priority),i=d(e,e=>e.atToken))}if(void 0===t&&void 0!==i&&void 0!==a){if(-1===a)t=i+1;else{if(-1===n)for(let e=a;e<=i;e++){let a=this.syntaxes[e];if((u||!a.hasWhere)&&(u&&!a.hasWhere||a.order>=o)){t=e;break}}else for(let e=a;e<=i;e++){let a=this.syntaxes[e];if(u||!a.hasWhere){if(u&&!a.hasWhere||a.priority<n){t=e;break}if(a.priority===n){if(a.order>=o){t=e;break}}else t=e+1}}void 0===t&&(t=i+1)}}if(this.syntaxes.splice(t,0,e),this.ruleBy[c]=e,this.style){let a=this.style.sheet,i=0,r=e=>{let t=this.syntaxes[e];if(t){if(!t.natives.length)return r(e-1);let s=t.natives[t.natives.length-1],l=s.cssRule?.parentRule??s.cssRule;if(a){for(let e=0;e<a.cssRules.length;e++)if(a.cssRules[e]===l){i=e+1;break}}}};r(t-1);for(let t=0;t<e.natives.length;)try{let r=e.natives[t];a?.insertRule(r.text,i),r.cssRule=a?.cssRules[i++],t++}catch(a){console.error(a),e.natives.splice(t,1)}}return this.handleRuleWithVariableNames(e),this.handleRuleWithAnimationNames(e),e.definition.insert?.call(e),t}get text(){return this.syntaxes.map(e=>e.text).join("")}handleRuleWithAnimationNames(e,t=!1){if(e.animationNames){let a=this.style?.sheet;for(let i of e.animationNames){let e=this.animations[i];if(e.usage)e.usage++;else{let r;let s={text:`@keyframes ${i}{`+Object.entries(e).filter(([e])=>"usage"!==e&&"native"!==e).map(([e,t])=>`${e}{${Object.entries(t).map(([e,t])=>e+":"+t).join(";")}}`).join("")+"}"},l=Object.keys(this.variablesNativeRules).length?1:0;if(this.hasKeyframesRule?(r=this.syntaxes[l]).natives.push(s):(this.syntaxes.splice(l,0,r={natives:[s],get text(){return this.natives.map(e=>e.text).join("")}}),this.hasKeyframesRule=!0),a){let e;if(t)for(let t=0;t<a.cssRules.length;t++){let r=a.cssRules[t];if("CSSKeyframesRule"===r.constructor.name&&r.name===i){e=r;break}}if(e)s.cssRule=e;else{let e=Object.keys(this.variablesNativeRules).length+r.natives.length-1;a.insertRule(s.text,e),s.cssRule=a.cssRules[e]}}e.usage=1,e.native=s}}}}handleRuleWithVariableNames(e,t=!1){if(e.variableNames){let a=this.style?.sheet;for(let i of e.variableNames){let e=this.variables[i];if(e.usage)e.usage++;else{let r=(e,r)=>{let s=this.variablesNativeRules[e];if(!s){let t,i,r;if(e)switch(this.config.modes?.[e]){case"media":i=`@media(prefers-color-scheme:${e})`,r=":root";break;case"host":r=`:host(.${e})`,this.config.defaultMode===e&&(r+=",:host");break;case"class":r="."+e,this.config.defaultMode===e&&(r+=",:root");break;default:return}else r=":root";if(a){let e=Object.keys(this.variablesNativeRules).length?this.syntaxes[0].natives.length:0;a.insertRule((i?i+"{":"")+r+"{}"+(i?i+"}":""),e),t=i?a.cssRules[e].cssRules[0]:a.cssRules[e]}else{let e=new Map,a=Object.defineProperties({},{getPropertyValue:{value:t=>e.get(t)},removeProperty:{value:t=>{e.delete(t);for(let e=0;e<a.length;e++)a[e]===t&&delete a[e]}},setProperty:{value:(t,i)=>{a[a.length]=t,e.set(t,i)}},length:{get:()=>Object.keys(a).length}});t={selectorText:r,style:a,styleMap:e},i&&(t.parentRule={conditionText:i})}s=this.pushVariableNativeRule(e,t)}let l="--"+i;t&&s.cssRule.style.getPropertyValue(l)||s.cssRule.style.setProperty(l,String(r.value))};if(e.value&&r("",e),e.modes)for(let t in e.modes)r(t,e.modes[t]);e.usage=1}}}}pushVariableNativeRule(e,t){Object.keys(this.variablesNativeRules).length||(this.variablesNativeRules={},this.syntaxes.splice(0,0,{natives:[],get text(){return this.natives.map(e=>e.text).join("")}}));let a="",i="}";t.parentRule&&(a+="@media"+t.parentRule.conditionText.replace(/ /g,"")+"{",i+="}"),a+=t.selectorText+"{";let r={cssRule:t,get text(){let e=[];for(let a=0;a<t.style.length;a++){let i=t.style[a];e.push(i+":"+t.style.getPropertyValue(i))}return a+e.join(";")+i}};return this.syntaxes[0].natives.push(this.variablesNativeRules[e]=r),r}},$=[];globalThis.MasterCSS=R,globalThis.masterCSSs=$,N.default=R,N.masterCSSs=$;var O=function(e,t){return e.mode===t.mode},_=function(e,t){let a=Object.keys(e.at),i=Object.keys(t.at);if(a.length!==i.length)return!1;for(let i of a){let a=e.at[i],r=t.at[i];for(let i of a){let a=e.resolveAtComponent(i);if(!r.find(e=>t.resolveAtComponent(e)===a))return!1}}return!0},V=function(e,t){let a=Object.keys(e.vendorSuffixSelectors),i=Object.keys(t.vendorSuffixSelectors);if(a.length!==i.length||!a.every(a=>{if(!Object.prototype.hasOwnProperty.call(t.vendorSuffixSelectors,a))return!1;let i=e.vendorSuffixSelectors[a],r=t.vendorSuffixSelectors[a];return i.length===r.length&&i.every(e=>r.includes(e))}))return!1;let r=Object.keys(e.vendorPrefixSelectors),s=Object.keys(t.vendorPrefixSelectors);return!!(r.length===s.length&&r.every(a=>{if(!Object.prototype.hasOwnProperty.call(t.vendorPrefixSelectors,a))return!1;let i=e.vendorPrefixSelectors[a],r=t.vendorPrefixSelectors[a];return i.length===r.length&&i.every(e=>r.includes(e))}))};Object.defineProperty(a,"__esModule",{value:!0});var A=a.config=i.config;a.Rule=x.Rule,a.ANIMATION_SIGN=m.ANIMATION_SIGN,a.AT_SIGN=m.AT_SIGN,a.BASE_UNIT_REGEX=m.BASE_UNIT_REGEX,a.BORDER_STYLE_VALUES=m.BORDER_STYLE_VALUES,a.CLASS_ATTRIBUTES=m.CLASS_ATTRIBUTES,a.CLASS_DECLARATIONS=m.CLASS_DECLARATIONS,a.CLASS_FUNCTIONS=m.CLASS_FUNCTIONS,a.COLOR_VALUE_REGEX=m.COLOR_VALUE_REGEX,a.DELIMITER_SIGN=m.DELIMITER_SIGN,a.IMAGE_VALUE_REGEX=m.IMAGE_VALUE_REGEX,a.NUMBER_VALUE_REGEX=m.NUMBER_VALUE_REGEX,a.OFFICIAL_URL=m.OFFICIAL_URL,a.QUERY_COMPARISON_OPERATORS=m.QUERY_COMPARISON_OPERATORS,a.QUERY_LOGICAL_OPERATORS=m.QUERY_LOGICAL_OPERATORS,a.SELECTOR_SIGNS=m.SELECTOR_SIGNS,a.SEPARATOR_SIGN=m.SEPARATOR_SIGN,a.SEPARATOR_SIGNS=m.SEPARATOR_SIGNS,a.TRANSITION_SIGN=m.TRANSITION_SIGN,a.UNIT_REGEX=m.UNIT_REGEX,a.VALUE_DELIMITERS=m.VALUE_DELIMITERS,a.VALUE_UNITS=m.VALUE_UNITS;var L=a.MasterCSS=N.default;a.default=N.default,a.masterCSSs=N.masterCSSs,a.Layer=y,a.extendConfig=S,a.reorderForReadableClasses=function(e,t=new N.default){t.add(...e);let a=t.syntaxes.filter(e=>e.layer).sort((e,t)=>{if(e.layer===y.Utility&&t.layer!==y.Utility)return -1;if(e.layer!==y.Utility&&t.layer===y.Utility)return 1;if(e.id!==t.id)return e.className.localeCompare(t.className);{let a=e.vendorSuffixSelectors?.[""]?.[0],i=t.vendorSuffixSelectors?.[""]?.[0];if(-1===e.priority&&-1===t.priority){if(a&&i)return a.localeCompare(i);let r=e.atToken,s=t.atToken;if(r&&s&&!e.at.media?.find(({name:e})=>"min-width"===e||"max-width"===e)&&!t.at.media?.find(({name:e})=>"min-width"===e||"max-width"===e))return r.localeCompare(s);if(a&&!i)return 1;if(!a&&i)return -1;if(r&&!s)return 1;if(!r&&s)return -1}return e.id===t.id&&e.stateToken===t.stateToken?e.className.localeCompare(t.className):e.order-t.order}}).map(e=>e.className);return t.delete(...e),a},a.areRuleModesEqual=O,a.areRuleAtEqual=_,a.areRuleSelectorsEqual=V,a.areRuleStatesEqual=function(e,t){return V(e,t)&&O(e,t)&&_(e,t)},a.areRulesDuplicated=function(e,t){let a=Object.keys(e.declarations||{}),i=Object.keys(t.declarations||{});if(a.length!==i.length)return!1;for(let e of a)if(!Object.prototype.hasOwnProperty.call(t.declarations,e))return!1;return!0},a.generateCSS=function(e,t=new N.default){let a="";return t.add(...e),a=t.text,t.delete(...e),a},a.isCoreRule=function(e){return Object.hasOwnProperty.call(p,e)},a.at=r,a.selectors=s,a.utilities=l,a.functions=k,a.animations=o,a.variables=h,a.modes=v,a.syntaxes=p;class U extends L{root;customConfig;host;observing;progressive;container;observer;constructor(e=document,t=A){super(t),this.root=e,this.customConfig=t,this.observing=!1,this.progressive=!1,e||(this.root=document);let a=this.root?.constructor.name;"HTMLDocument"===a||"Document"===a?(this.root.defaultView.globalThis.runtimeCSS=this,this.container=this.root.head,this.host=this.root.documentElement):(this.container=this.root,this.host=this.root.host),j.push(this)}observe(e={subtree:!0,childList:!0}){if(this.observing||!this.root)return this;if(j.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"CSSMediaRule":let a=/\(prefers-color-scheme: ?(.*?)\)/.exec(t.conditionText);if(a){let e=t.cssRules[0];if(e?.constructor.name==="CSSStyleRule"&&":root"===e.selectorText){this.pushVariableNativeRule(a[1],e);continue}}break;case"CSSStyleRule":let i=t.selectorText;if(t.style.length){let e=!0;for(let a=0;a<t.style.length;a++)if(!t.style[a]?.startsWith("--")){e=!1;break}if(e){if(":root"===i){this.pushVariableNativeRule("",t);continue}{let e=/:host(.*?)/.exec(i);if(e){this.pushVariableNativeRule(e[1],t);continue}if(!i.startsWith(".\\$")){let[e]=i.split(",");this.pushVariableNativeRule(e.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 a=t[e];if("."===a[0]){let e=a.slice(1),t="";for(let a=0;a<e.length;a++){let i=e[a],r=e[a+1];if("\\"===i){if(a++,"\\"!==r){t+=r;continue}}else if([",",".","#","[","!","*",">","+","~",":","@"].includes(i))break;t+=i}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 a=0;a<e.cssRules.length;a++){let i=t(e.cssRules[a]);if(i)return i}},a=t(this.style.sheet.cssRules[e]);if(a){this.syntaxes.push(a),this.ruleBy[a.className]=a;for(let t=0;t<a.natives.length;t++)a.natives[t].cssRule=this.style.sheet.cssRules[e+t];e+=a.natives.length-1,this.handleRuleWithVariableNames(a,!0),this.handleRuleWithAnimationNames(a,!0),a.definition.insert?.call(a)}}}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&&("HTMLDocument"===this.root.constructor.name?this.host:this.container).querySelectorAll("[class]").forEach(e=>t(e.classList)),this.observer=new MutationObserver(e=>{let t={},a=[],i=[],r=[],s=(e,t)=>{t?e.classList.forEach(o):e.classList.forEach(l);let a=e.children;for(let e=0;e<a.length;e++){let r=a[e];r.classList&&!i.includes(r)&&(i.push(r),s(r,t))}},l=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 a=0;a<e.length;a++){let l=e[a];!l.classList||i.includes(l)||r.includes(l)||(l.isConnected!==t?(i.push(l),s(l,t)):r.push(l))}};for(let t=0;t<e.length;t++){let r=e[t],{addedNodes:s,removedNodes:l,type:o,target:u}=r;if("attributes"===o){if(a.find(e=>e.target===u))continue;a.push(r)}else n(s,!1),u.isConnected&&i.includes(u)||n(l,!0)}if(a.length||Object.keys(t).length){for(let{oldValue:e,target:t}of a){let a=i.includes(t),r=t.classList,s=e?e.split(" "):[];if(a){if(t.isConnected)continue;for(let e of s)r.contains(e)||o(e)}else if(t.isConnected)for(let e of(r.forEach(e=>{s.includes(e)||l(e)}),s))r.contains(e)||o(e)}for(let e in t){let a=t[e],i=(this.classesUsage[e]||0)+a;0===i?(delete this.classesUsage[e],this.delete(e)):(Object.prototype.hasOwnProperty.call(this.classesUsage,e)||this.add(e),this.classesUsage[e]=i)}}}),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(),j.splice(j.indexOf(this),1),this}}let j=[];function T(e){return new U(document,e).observe()}globalThis.RuntimeCSS=U,globalThis.runtimeCSSs=j;let C=window.masterCSSConfigs,I=window.masterCSSConfig;if(I){let e=[];C&&e.push(...C),I.extends&&e.push(...I.extends),T({...I,extends:e})}else C?T({extends:C}):T()}();
|
|
1
|
+
!function(){var e,t,i,a,r,s,l,o,n,u,c,d,h,f,m,y,b,g,p,v,k,x,N,S,E,w,R,$,O,_,V,A,L,U,j,T,C,I,K,G,B,P,M,X,z,W,D,Y,q,F,Z,Q,H={},J={};function ee(){return t?e:(t=1,e={all:"media all",print:"media print",screen:"media screen",speech:"media speech",landscape:"media (orientation:landscape)",portrait:"media (orientation:portrait)",motion:"media (prefers-reduced-motion:no-preference)","reduced-motion":"media (prefers-reduced-motion:reduce)"})}function et(){return a?i:(a=1,i={"::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"],"::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"})}function ei(){return s?r:(s=1,r={square:{"aspect-ratio":"1/1"},video:{"aspect-ratio":"16/9"},rounded:{"border-radius":"1e9em"},round:{"border-radius":"50%","aspect-ratio":"1/1"},hidden:{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%"},top:{top:0},left:{left:0},right:{right:0},bottom:{bottom:0},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"}})}function ea(){return o?l:(o=1,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"}}})}function er(){if(d)return c;function e(e){let t="undefined"!=typeof Buffer?Buffer:null;return!!t&&e instanceof t||e instanceof Date||e instanceof RegExp}function t(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 i(e,t){return"__proto__"===t?void 0:e[t]}return d=1,c=function a(...r){let s,l;let o={};return r.forEach(function(r){"object"!=typeof r||null===r||Array.isArray(r)||Object.keys(r).forEach(function(n){if(l=i(o,n),(s=i(r,n))!==o){if("object"!=typeof s||null===s){o[n]=s;return}if(Array.isArray(s)){o[n]=function i(r){let s=[];return r.forEach(function(r,l){"object"==typeof r&&null!==r?Array.isArray(r)?s[l]=i(r):e(r)?s[l]=t(r):s[l]=a({},r):s[l]=r}),s}(s);return}if(e(s)){o[n]=t(s);return}if("object"!=typeof l||null===l||Array.isArray(l)){o[n]=a({},s);return}else{o[n]=a(l,s);return}}})}),o}}function es(){if(f)return h;f=1;var e=u?n:(u=1,n={gray:{5:"#f6f5f7",10:"#efeef0",20:"#cdccce",30:"#a2a1a3",40:"#89888a",50:"#737274",60:"#585759",70:"#444345",80:"#323133",90:"#29282a",95:"#222123"},slate:{5:"#f8f9fb",10:"#eff2f9",20:"#c8d0e3",30:"#9fabc6",40:"#7c8cab",50:"#5f7395",60:"#455572",70:"#37455d",80:"#283348",90:"#1d273a",95:"#182030"},brown:{5:"#fff6f0",10:"#feefe3",20:"#f3bea4",30:"#e7976e",40:"#da7c4d",50:"#cc6633",60:"#b65325",70:"#9d4119",80:"#833111",90:"#692007",95:"#431304"},orange:{5:"#fff5ea",10:"#fff5df",20:"#ffcb9e",30:"#ff9b47",40:"#ff8528",50:"#ff6c0a",60:"#e05200",70:"#bc3e00",80:"#992d00",90:"#701d00",95:"#471100"},amber:{5:"#fff9eb",10:"#fff4db",20:"#ffe099",30:"#ffc133",40:"#ffb10a",50:"#f99e00",60:"#e57e00",70:"#c15d00",80:"#a34900",90:"#753200",95:"#4c1f00"},yellow:{5:"#fffae5",10:"#fffed1",20:"#ffe993",30:"#ffd233",40:"#ffc300",50:"#efaf00",60:"#d69200",70:"#b77400",80:"#9e5c00",90:"#753c00",95:"#4c2600"},lime:{5:"#f5ffe5",10:"#f5ffd6",20:"#d1fb8d",30:"#acec46",40:"#91d91a",50:"#77c012",60:"#61a60c",70:"#4c8d07",80:"#367604",90:"#256000",95:"#1b3d00"},green:{5:"#e7fdea",10:"#dbfee4",20:"#a5f7b8",30:"#35ed66",40:"#00d655",50:"#00c147",60:"#00ad3f",70:"#008e34",80:"#007a2c",90:"#006023",95:"#003d16"},beryl:{5:"#e0fef2",10:"#d2fff7",20:"#6cffd4",30:"#0fefa4",40:"#04e09e",50:"#04cb8f",60:"#00b277",70:"#009360",80:"#007f50",90:"#00663e",95:"#003d24"},teal:{5:"#dbfefd",10:"#cfffff",20:"#7ffff6",30:"#00f4e4",40:"#00e4d4",50:"#00ccc8",60:"#00aeb7",70:"#0092a3",80:"#00798e",90:"#005d75",95:"#003747"},cyan:{5:"#e0ffff",10:"#d1ffff",20:"#7ff6ff",30:"#1ee1ff",40:"#00ccf9",50:"#00b3ea",60:"#0099d6",70:"#007dbc",80:"#0067a8",90:"#005089",95:"#003156"},sky:{5:"#e5f5ff",10:"#d9f8ff",20:"#a3deff",30:"#6bc6ff",40:"#34b2fd",50:"#059fff",60:"#008df9",70:"#0073e0",80:"#005cc6",90:"#0041a3",95:"#002566"},blue:{5:"#e5f3fe",10:"#dbf2fe",20:"#add7ff",30:"#70b0ff",40:"#4c93fd",50:"#3a7cff",60:"#2563fd",70:"#1b53ec",80:"#1947d1",90:"#1735a2",95:"#102069"},indigo:{5:"#f0f1fe",10:"#e9ecfe",20:"#c8cdfe",30:"#939eff",40:"#7e81fe",50:"#7068ff",60:"#5b4cfd",70:"#4e39ed",80:"#4732d2",90:"#3623a3",95:"#26176c"},violet:{5:"#f2efff",10:"#efe8ff",20:"#d7c5ff",30:"#b198fe",40:"#9a70ff",50:"#8e56fe",60:"#812fff",70:"#7407f2",80:"#6405d1",90:"#4f05a3",95:"#35036e"},purple:{5:"#f6f0ff",10:"#f6e8fe",20:"#e2bffe",30:"#c492fd",40:"#b266ff",50:"#a849fe",60:"#9514ff",70:"#8200e5",80:"#7100c1",90:"#58008e",95:"#3e0060"},fuchsia:{5:"#faf0ff",10:"#fde8fe",20:"#f0baff",30:"#dd89fe",40:"#d760fe",50:"#cf33ff",60:"#b700e5",70:"#a200c6",80:"#8700a3",90:"#660175",95:"#480051"},pink:{5:"#fef1f9",10:"#fee9f8",20:"#ffb8df",30:"#f986c1",40:"#fa65b2",50:"#f747a2",60:"#ef2188",70:"#d61673",80:"#b80c5c",90:"#8f0543",95:"#64032f"},crimson:{5:"#ffeff2",10:"#ffe8ec",20:"#ffbac7",30:"#ff849d",40:"#ff6684",50:"#fc4065",60:"#ed2a51",70:"#d7173e",80:"#bb1536",90:"#8f132c",95:"#620e1f"},red:{5:"#ffefef",10:"#fee8e8",20:"#ffbcbc",30:"#ff8787",40:"#fd5f5f",50:"#f73f3f",60:"#e52e2e",70:"#d01b1b",80:"#b81919",90:"#921515",95:"#650f0f"}});return h=er()(e,{full:"100%",fit:"fit-content",max:"max-content",min:"min-content",screen:{"4xs":360,"3xs":480,"2xs":600,xs:768,sm:834,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560},"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"]},"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",frame:{neutral:{"@light":"$(slate-60)","@dark":"$(gray-30)"},light:{"@light":"$(slate-60)/.2","@dark":"$(gray-30)/.2"},lighter:{"@light":"$(slate-60)/.16","@dark":"$(gray-30)/.16"},lightest:{"@light":"$(slate-60)/.12","@dark":"$(gray-30)/.12"}},white:"#ffffff",black:"#000000",base:{"@light":"$(white)","@dark":"$(gray-95)"},canvas:{"@light":"$(slate-5)","@dark":"$(gray-90)"},surface:{"@light":"$(white)","@dark":"$(gray-80)"},invert:{"@light":"$(black)","@dark":"$(white)"},gray:{"@light":"$(gray-30)","@dark":"$(gray-40)",active:{"@light":"$(gray-40)","@dark":"$(gray-30)"},text:{"@light":"$(gray-90)","@dark":"$(gray-95)"}},slate:{"@light":"$(slate-30)","@dark":"$(slate-40)",active:{"@light":"$(slate-40)","@dark":"$(slate-30)"},text:{"@light":"$(slate-90)","@dark":"$(slate-95)"}},brown:{"@light":"$(brown-40)","@dark":"$(brown-50)",active:{"@light":"$(brown-50)","@dark":"$(brown-40)"},text:{"@light":"$(brown-90)","@dark":"$(brown-95)"}},orange:{"@light":"$(orange-40)","@dark":"$(orange-50)",active:{"@light":"$(orange-50)","@dark":"$(orange-40)"},text:{"@light":"$(orange-90)","@dark":"$(orange-95)"}},amber:{"@light":"$(amber-40)","@dark":"$(amber-50)",active:{"@light":"$(amber-50)","@dark":"$(amber-30)"},text:{"@light":"$(amber-90)","@dark":"$(amber-95)"}},yellow:{"@light":"$(yellow-40)","@dark":"$(yellow-50)",active:{"@light":"$(yellow-50)","@dark":"$(yellow-30)"},text:{"@light":"$(yellow-90)","@dark":"$(yellow-95)"}},lime:{"@light":"$(lime-40)","@dark":"$(lime-50)",active:{"@light":"$(lime-50)","@dark":"$(lime-30)"},text:{"@light":"$(lime-90)","@dark":"$(lime-95)"}},green:{"@light":"$(green-40)","@dark":"$(green-50)",active:{"@light":"$(green-50)","@dark":"$(green-30)"},text:{"@light":"$(green-90)","@dark":"$(green-95)"}},beryl:{"@light":"$(beryl-40)","@dark":"$(beryl-50)",active:{"@light":"$(beryl-50)","@dark":"$(beryl-30)"},text:{"@light":"$(beryl-90)","@dark":"$(beryl-95)"}},teal:{"@light":"$(teal-40)","@dark":"$(teal-50)",active:{"@light":"$(teal-50)","@dark":"$(teal-30)"},text:{"@light":"$(teal-90)","@dark":"$(teal-95)"}},cyan:{"@light":"$(cyan-40)","@dark":"$(cyan-50)",active:{"@light":"$(cyan-50)","@dark":"$(cyan-30)"},text:{"@light":"$(cyan-90)","@dark":"$(cyan-95)"}},sky:{"@light":"$(sky-60)","@dark":"$(sky-50)",active:{"@light":"$(sky-70)","@dark":"$(sky-40)"},text:"$(white)"},blue:{"@light":"$(blue-60)","@dark":"$(blue-50)",active:{"@light":"$(blue-70)","@dark":"$(blue-40)"},text:"$(white)"},indigo:{"@light":"$(indigo-60)","@dark":"$(indigo-50)",active:{"@light":"$(indigo-70)","@dark":"$(indigo-40)"},text:"$(white)"},violet:{"@light":"$(violet-60)","@dark":"$(violet-50)",active:{"@light":"$(violet-70)","@dark":"$(violet-40)"},text:"$(white)"},purple:{"@light":"$(purple-60)","@dark":"$(purple-50)",active:{"@light":"$(purple-70)","@dark":"$(purple-40)"},text:"$(white)"},fuchsia:{"@light":"$(fuchsia-60)","@dark":"$(fuchsia-50)",active:{"@light":"$(fuchsia-70)","@dark":"$(fuchsia-40)"},text:"$(white)"},pink:{"@light":"$(pink-60)","@dark":"$(pink-50)",active:{"@light":"$(pink-70)","@dark":"$(pink-40)"},text:"$(white)"},crimson:{"@light":"$(crimson-60)","@dark":"$(crimson-50)",active:{"@light":"$(crimson-70)","@dark":"$(crimson-40)"},text:"$(white)"},red:{"@light":"$(red-60)","@dark":"$(red-50)",active:{"@light":"$(red-70)","@dark":"$(red-40)"},text:"$(white)"},text:{invert:{"@light":"$(white)","@dark":"$(black)"},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)"}}})}function el(){return y?m:(y=1,m=function(e){let t;if("undefined"!=typeof CSS)return CSS.escape(e);if(0==arguments.length)throw TypeError("`CSS.escape` requires an argument.");let i=String(e),a=i.length,r=-1,s="",l=i.charCodeAt(0);if(1==a&&45==l)return"\\"+i;for(;++r<a;){if(0==(t=i.charCodeAt(r))){s+="�";continue}if(t>=1&&t<=31||127==t||0==r&&t>=48&&t<=57||1==r&&t>=48&&t<=57&&45==l){s+="\\"+t.toString(16)+" ";continue}if(t>=128||45==t||95==t||t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122){s+=i.charAt(r);continue}s+="\\"+i.charAt(r)}return s})}function eo(){if(g)return b;g=1;var e,t=((e=t||{})[e.Utility=-4]="Utility",e[e.NativeShorthand=-3]="NativeShorthand",e[e.Shorthand=-2]="Shorthand",e[e.Native=-1]="Native",e[e.Normal=0]="Normal",e);return b=t}var en={};function eu(){if(p)return en;p=1;let e=new URL("https://rc.css.master.co");return en.ANIMATION_SIGN="@",en.AT_SIGN="@",en.BASE_UNIT_REGEX=/^([+-]?(?:\d+(?:\.?\d+)?|\.\d+))x$/m,en.BORDER_STYLE_VALUES=["none","auto","hidden","dotted","dashed","solid","double","groove","ridge","inset","outset"],en.CLASS_ATTRIBUTES=["class","className"],en.CLASS_DECLARATIONS=["styles"],en.CLASS_FUNCTIONS=["clsx","cva","ctl","cv","class","classnames","classVariant","styled(?:\\s+)?(?:\\.\\w+)?","classList(?:\\s+)?\\.(?:add|remove|toggle|replace)"],en.COLOR_VALUE_REGEX=/(?:#|(?:color|color-contrast|color-mix|hwb|lab|lch|oklab|oklch|rgb|rgba|hsl|hsla|light-dark)\(.*\)|(?:\$colors)(?![a-zA-Z0-9-]))/,en.DELIMITER_SIGN="|",en.IMAGE_VALUE_REGEX=/(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)/,en.NUMBER_VALUE_REGEX=/(?:[\d.]|(?:max|min|calc|clamp)\([^|]*\))/,en.OFFICIAL_URL=e,en.QUERY_COMPARISON_OPERATORS=[">","<","="],en.QUERY_LOGICAL_OPERATORS=["&"],en.SELECTOR_SIGNS=[":","_",">","+","~"],en.SEPARATOR_SIGN=",",en.SEPARATOR_SIGNS=[",","|"],en.TRANSITION_SIGN="~",en.UNIT_REGEX=/^([+-.]?\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)?$/,en.VALUE_DELIMITERS={"(":")","'":"'",'"':'"',"{":"}"},en.VALUE_UNITS=["%","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"],en}function ec(){if(N)return x;N=1;var e=el(),t=eo(),i=eu(),a=function(){if(k)return v;k=1;var e=eu();return v=function(t){if(t.length<2)return t;let i=!1,a=!1;for(let r of t)("string"===r.type&&e.BORDER_STYLE_VALUES.includes(r.value)||"variable"===r.type&&e.BORDER_STYLE_VALUES.includes(String(r.variable?.value)))&&(i=!0),"function"===r.type&&"var"===r.name&&(a=!0);return i||a||t.push({type:"separator",value:" ",token:"|"},{type:"string",value:"solid",token:"solid"}),t}}();return x={group:{matcher:/^(?:.+?[*_>~+])?\{.+?\}/,layer:t.Shorthand,analyze(e){let t=0;for(;t<e.length&&("{"!==e[t]||"\\"===e[t-1]);t++);return[e.slice(t),e.slice(0,t)]},declare(t){let a={},r=e=>{let t=e.indexOf(":");-1!==t&&(a[e.slice(0,t)]=e.slice(t+1))},s=t=>{let i=i=>{let a=i.slice(e(t.className).length).match(/\{(.*)\}/)?.[1].split(";");if(a)for(let e of a)r(e)};for(let e of t.natives)i(e.text);if(t.animationNames)for(let e of(this.animationNames||(this.animationNames=[]),t.animationNames))this.animationNames.includes(e)||this.animationNames.push(e);if(t.variableNames)for(let e of(this.variableNames||(this.variableNames=[]),t.variableNames))this.variableNames.includes(e)||this.variableNames.push(e)},l=[],o="",n=()=>{o&&(l.push(o.replace(/ /g,"|")),o="")},u=1;for(let e of(!function e(a){for(;u<t.length;u++){let r=t[u];if(!a){if(";"===r){n();continue}if("}"===r)break}if(o+=r,a===r){if("'"===a||'"'===a){let e=0;for(let t=o.length-2;"\\"===o[t];t--)e++;if(e%2)continue}break}r in i.VALUE_DELIMITERS&&"'"!==a&&'"'!==a&&(u++,e(i.VALUE_DELIMITERS[r]))}}(""),n(),l)){let t=this.css.generate(e);if(t.length)for(let e of t)s(e);else r(e)}return a}},variable:{matcher:/^\$[\w-]+:/,layer:t.Shorthand,declare(e){return{["--"+this.keyToken.slice(1,-1)]:e}}},"font-size":{ambiguousKeys:["font","f"],ambiguousValues:[i.NUMBER_VALUE_REGEX],unit:"rem",layer:t.Native},"font-weight":{ambiguousKeys:["font","f"],ambiguousValues:["bolder"],layer:t.Native},"font-family":{ambiguousKeys:["font","f"],layer:t.Native},"font-smoothing":{ambiguousKeys:["font","f"],ambiguousValues:["antialiased","subpixel-antialiased"],layer:t.Native,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":{ambiguousKeys:["font","f"],ambiguousValues:["normal","italic","oblique"],layer:t.Native,unit:"deg"},"font-variant-numeric":{ambiguousKeys:["font","f"],ambiguousValues:["ordinal","slashed-zero","lining-nums","oldstyle-nums","proportional-nums","tabular-nums","diagonal-fractions","stacked-fractions"],layer:t.Native},"font-variant":{ambiguousKeys:["font","f"],layer:t.NativeShorthand},font:{subkey:"f",layer:t.NativeShorthand,variables:["font-family","font-variant","font-weight","font-size","font-style","line-height"]},"font-feature-settings":{key:"font-feature",layer:t.Native},color:{key:"fg",layer:t.Native,variables:["text"]},"margin-left":{key:"ml",layer:t.Native,unit:"rem",variables:["spacing"]},"margin-right":{key:"mr",layer:t.Native,unit:"rem",variables:["spacing"]},"margin-top":{key:"mt",layer:t.Native,unit:"rem",variables:["spacing"]},"margin-bottom":{key:"mb",layer:t.Native,unit:"rem",variables:["spacing"]},"margin-x":{key:"mx",subkey:"margin-x",unit:"rem",layer:t.Shorthand,declare:e=>({"margin-left":e,"margin-right":e}),variables:["spacing"]},"margin-y":{key:"my",unit:"rem",layer:t.Shorthand,declare:e=>({"margin-top":e,"margin-bottom":e}),variables:["spacing"]},margin:{key:"m",unit:"rem",layer:t.NativeShorthand,variables:["spacing"]},"margin-inline-start":{key:"mis",layer:t.Native,unit:"rem",variables:["spacing"]},"margin-inline-end":{key:"mie",layer:t.Native,unit:"rem",variables:["spacing"]},"margin-inline":{key:"mi",unit:"rem",layer:t.NativeShorthand,variables:["spacing"]},"padding-left":{key:"pl",layer:t.Native,unit:"rem",variables:["spacing"]},"padding-right":{key:"pr",layer:t.Native,unit:"rem",variables:["spacing"]},"padding-top":{key:"pt",layer:t.Native,unit:"rem",variables:["spacing"]},"padding-bottom":{key:"pb",layer:t.Native,unit:"rem",variables:["spacing"]},"padding-x":{key:"px",unit:"rem",layer:t.Shorthand,declare:e=>({"padding-left":e,"padding-right":e}),variables:["spacing"]},"padding-y":{key:"py",unit:"rem",layer:t.Shorthand,declare:e=>({"padding-top":e,"padding-bottom":e}),variables:["spacing"]},padding:{key:"p",unit:"rem",layer:t.NativeShorthand,variables:["spacing"]},"padding-inline-start":{key:"pis",layer:t.Native,unit:"rem",variables:["spacing"]},"padding-inline-end":{key:"pie",layer:t.Native,unit:"rem",variables:["spacing"]},"padding-inline":{key:"pi",unit:"rem",layer:t.NativeShorthand,variables:["spacing"]},"flex-basis":{ambiguousKeys:["flex"],unit:"rem",layer:t.Native},"flex-wrap":{ambiguousKeys:["flex"],ambiguousValues:["wrap","nowrap","wrap-reverse"],layer:t.Native},"flex-grow":{ambiguousKeys:["flex"],layer:t.Native},"flex-shrink":{ambiguousKeys:["flex"],layer:t.Native},"flex-direction":{ambiguousKeys:["flex"],ambiguousValues:["row","row-reverse","column","column-reverse"],layer:t.Native},flex:{layer:t.NativeShorthand},display:{key:"d",layer:t.Native},width:{key:"w",unit:"rem",layer:t.Native},height:{key:"h",unit:"rem",layer:t.Native},"min-width":{key:"min-w",unit:"rem",layer:t.Native},"min-height":{key:"min-h",unit:"rem",layer:t.Native},size:{layer:t.Shorthand,unit:"rem",declare(e,t){let i=t.length;return{width:t[0].text,height:1===i?t[0].text:t[2].text}}},"min-size":{key:"min",layer:t.Shorthand,unit:"rem",declare(e,t){let i=t.length;return{"min-width":t[0].text,"min-height":1===i?t[0].text:t[2].text}}},"max-size":{key:"max",layer:t.Shorthand,unit:"rem",declare(e,t){let i=t.length;return{"max-width":t[0].text,"max-height":1===i?t[0].text:t[2].text}}},"box-sizing":{ambiguousKeys:["box"],layer:t.Native},"box-decoration-break":{key:"box-decoration",layer:t.Native,declare:e=>({"-webkit-box-decoration-break":e,"box-decoration-break":e})},contain:{layer:t.Native},content:{layer:t.Native},"counter-increment":{layer:t.Native},"counter-reset":{layer:t.Native},"letter-spacing":{key:"tracking",subkey:"ls",layer:t.Native,unit:"em"},"line-height":{key:"leading",subkey:"line-h",layer:t.Native},"object-fit":{ambiguousKeys:["object","obj"],ambiguousValues:["contain","cover","fill","scale-down"],layer:t.Native},"object-position":{ambiguousKeys:["object","obj"],ambiguousValues:["top","bottom","right","left","center"],layer:t.Native},"text-align":{ambiguousKeys:["text","t"],ambiguousValues:["justify","center","left","right","start","end"],layer:t.Native},"text-decoration-color":{ambiguousKeys:["text-decoration"],ambiguousValues:[i.COLOR_VALUE_REGEX],layer:t.Native,variables:["text"]},"text-decoration-style":{ambiguousKeys:["text-decoration"],ambiguousValues:["solid","double","dotted","dashed","wavy"],layer:t.Native},"text-decoration-thickness":{ambiguousKeys:["text-decoration"],ambiguousValues:["from-font",i.NUMBER_VALUE_REGEX],layer:t.Native,unit:"em"},"text-decoration-line":{ambiguousKeys:["text-decoration"],ambiguousValues:["underline","overline","line-through"],layer:t.Native},"text-decoration":{ambiguousKeys:["text","t"],ambiguousValues:["underline","overline","line-through"],unit:"rem",layer:t.NativeShorthand,variables:["text"],declare:e=>({"-webkit-text-decoration":e,"text-decoration":e})},"text-underline-offset":{ambiguousKeys:["text-underline"],unit:"rem",layer:t.Native,variables:["spacing"]},"text-underline-position":{ambiguousKeys:["text-underline"],ambiguousValues:["front-font","under","left","right"],layer:t.Native},"text-overflow":{ambiguousKeys:["text","t"],ambiguousValues:["ellipsis","clip"],layer:t.Native},"text-orientation":{ambiguousKeys:["text","t"],ambiguousValues:["mixed","upright","sideways-right","sideways","use-glyph-orientation"],layer:t.Native},"text-transform":{ambiguousKeys:["text","t"],ambiguousValues:["uppercase","lowercase","capitalize"],layer:t.Native},"text-rendering":{ambiguousKeys:["text","t"],ambiguousValues:["optimizeSpeed","optimizeLegibility","geometricPrecision"],layer:t.Native},"text-wrap":{ambiguousKeys:["text","t"],ambiguousValues:["wrap","nowrap","balance","pretty"],layer:t.NativeShorthand},"text-indent":{unit:"rem",layer:t.Native},"vertical-align":{key:"v",subkey:"vertical",layer:t.Native},columns:{key:"cols",layer:t.NativeShorthand},"white-space":{layer:t.Native},top:{layer:t.Native,unit:"rem",variables:["spacing"]},bottom:{layer:t.Native,unit:"rem",variables:["spacing"]},left:{layer:t.Native,unit:"rem",variables:["spacing"]},right:{layer:t.Native,unit:"rem",variables:["spacing"]},inset:{unit:"rem",layer:t.NativeShorthand,variables:["spacing"]},"max-height":{key:"max-h",unit:"rem",layer:t.Native},"max-width":{key:"max-w",unit:"rem",layer:t.Native},opacity:{layer:t.Native},visibility:{layer:t.Native},clear:{layer:t.Native},float:{layer:t.Native},isolation:{layer:t.Native},"overflow-x":{layer:t.Native,declare:e=>"overlay"===e?{"overflow-x":["auto",e]}:{"overflow-x":e}},"overflow-y":{layer:t.Native,declare:e=>"overlay"===e?{"overflow-y":["auto",e]}:{"overflow-y":e}},overflow:{layer:t.NativeShorthand,declare:e=>"overlay"===e?{overflow:["auto",e]}:{overflow:e}},"overscroll-behavior-x":{layer:t.Native},"overscroll-behavior-y":{layer:t.Native},"overscroll-behavior":{layer:t.NativeShorthand},"z-index":{key:"z",layer:t.Native},position:{layer:t.Native},cursor:{layer:t.Native},"pointer-events":{layer:t.Native},resize:{layer:t.Native},"touch-action":{layer:t.Native},"word-break":{layer:t.Native},"word-spacing":{layer:t.Native,unit:"em"},"user-drag":{layer:t.Native,declare:e=>({"-webkit-user-drag":e,"user-drag":e})},"user-select":{layer:t.Native,declare:e=>({"-webkit-user-select":e,"user-select":e})},"text-shadow":{unit:"rem",layer:t.Native},"text-size":{ambiguousKeys:["text","t"],ambiguousValues:[i.NUMBER_VALUE_REGEX],unit:"rem",declare:e=>({"font-size":e,"line-height":`calc(${e} + 0.875em)`}),layer:t.Shorthand},"text-fill-color":{ambiguousKeys:["text","t"],ambiguousValues:[i.COLOR_VALUE_REGEX],layer:t.Native,variables:["text"],declare:e=>({"-webkit-text-fill-color":e})},"text-stroke-width":{ambiguousKeys:["text-stroke"],ambiguousValues:["thin","medium","thick",i.NUMBER_VALUE_REGEX],unit:"rem",layer:t.Native,declare:e=>({"-webkit-text-stroke-width":e})},"text-stroke-color":{ambiguousKeys:["text-stroke"],ambiguousValues:[i.COLOR_VALUE_REGEX],layer:t.Native,declare:e=>({"-webkit-text-stroke-color":e})},"text-stroke":{unit:"rem",layer:t.Native,declare:e=>({"-webkit-text-stroke":e})},"text-truncate":{subkey:"lines",declare:e=>({display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":e,overflow:"hidden","overflow-wrap":"break-word","text-overflow":"ellipsis"}),layer:t.Shorthand},"box-shadow":{key:"shadow",subkey:"s",unit:"rem",layer:t.Native},"table-layout":{layer:t.Native},"transform-box":{ambiguousKeys:["transform"],layer:t.Native},"transform-style":{ambiguousKeys:["transform"],ambiguousValues:["flat","preserve-3d"],layer:t.Native},"transform-origin":{ambiguousKeys:["transform"],ambiguousValues:["top","bottom","right","left","center",i.NUMBER_VALUE_REGEX],unit:"px",layer:t.Native},transform:{matcher:/^(?:translate|scale|skew|rotate|perspective|matrix)(?:3d|[XYZ])?\(/,layer:t.Native,analyze:e=>[e.startsWith("transform")?e.slice(10):e],unit:"px",variables:["spacing"]},"transition-property":{key:"~property",layer:t.Native},"transition-timing-function":{key:"~easing",layer:t.Native},"transition-duration":{key:"~duration",layer:t.Native,unit:"ms"},"transition-delay":{key:"~delay",layer:t.Native,unit:"ms"},transition:{sign:"~",analyze(e){if(e.startsWith("~"))return[e.slice(1)];{let t=e.indexOf(":");return this.keyToken=e.slice(0,t+1),[e.slice(t+1)]}},layer:t.NativeShorthand},"animation-delay":{key:"@delay",layer:t.Native,unit:"ms"},"animation-direction":{key:"@direction",layer:t.Native},"animation-duration":{key:"@duration",layer:t.Native,unit:"ms"},"animation-fill-mode":{key:"@fill",layer:t.Native},"animation-iteration-count":{key:"@iteration",layer:t.Native},"animation-name":{key:"@name",layer:t.Native,includeAnimations:!0},"animation-play-state":{key:"@play",layer:t.Native},"animation-timing-function":{key:"@easing",layer:t.Native},animation:{sign:"@",layer:t.NativeShorthand,includeAnimations:!0,analyze(e){if(e.startsWith("@"))return[e.slice(1)];{let t=e.indexOf(":");return this.keyToken=e.slice(0,t+1),[e.slice(t+1)]}}},"border-collapse":{ambiguousKeys:["b","border"],ambiguousValues:["collapse","separate"],layer:t.Native},"border-spacing":{unit:"rem",layer:t.Native,variables:["spacing"]},"border-top-color":{ambiguousKeys:["bt","border-top"],ambiguousValues:[i.COLOR_VALUE_REGEX],layer:t.Native,variables:["frame"]},"border-bottom-color":{ambiguousKeys:["bb","border-bottom"],ambiguousValues:[i.COLOR_VALUE_REGEX],layer:t.Native,variables:["frame"]},"border-left-color":{ambiguousKeys:["bl","border-left"],ambiguousValues:[i.COLOR_VALUE_REGEX],layer:t.Native,variables:["frame"]},"border-right-color":{ambiguousKeys:["br","border-right"],ambiguousValues:[i.COLOR_VALUE_REGEX],layer:t.Native,variables:["frame"]},"border-x-color":{ambiguousKeys:["bx","border-x"],ambiguousValues:[i.COLOR_VALUE_REGEX],layer:t.Shorthand,variables:["frame"],declare:e=>({"border-left-color":e,"border-right-color":e})},"border-y-color":{ambiguousKeys:["by","border-y"],ambiguousValues:[i.COLOR_VALUE_REGEX],layer:t.Shorthand,variables:["frame"],declare:e=>({"border-top-color":e,"border-bottom-color":e})},"border-color":{ambiguousKeys:["b","border"],ambiguousValues:[i.COLOR_VALUE_REGEX],layer:t.NativeShorthand,variables:["frame"]},"border-top-left-radius":{key:"rtl",unit:"rem",layer:t.Native},"border-top-right-radius":{key:"rtr",unit:"rem",layer:t.Native},"border-bottom-left-radius":{key:"rbl",unit:"rem",layer:t.Native},"border-bottom-right-radius":{key:"rbr",unit:"rem",layer:t.Native},"border-top-radius":{key:"rt",unit:"rem",layer:t.Shorthand,declare:e=>({"border-top-left-radius":e,"border-top-right-radius":e})},"border-bottom-radius":{key:"rb",unit:"rem",layer:t.Shorthand,declare:e=>({"border-bottom-left-radius":e,"border-bottom-right-radius":e})},"border-left-radius":{key:"rl",unit:"rem",layer:t.Shorthand,declare:e=>({"border-top-left-radius":e,"border-bottom-left-radius":e})},"border-right-radius":{key:"rr",unit:"rem",layer:t.Shorthand,declare:e=>({"border-top-right-radius":e,"border-bottom-right-radius":e})},"border-radius":{key:"r",unit:"rem",layer:t.NativeShorthand},"border-top-style":{ambiguousKeys:["bt","border-top"],ambiguousValues:i.BORDER_STYLE_VALUES,layer:t.Native},"border-bottom-style":{ambiguousKeys:["bb","border-bottom"],ambiguousValues:i.BORDER_STYLE_VALUES,layer:t.Native},"border-left-style":{ambiguousKeys:["bl","border-left"],ambiguousValues:i.BORDER_STYLE_VALUES,layer:t.Native},"border-right-style":{ambiguousKeys:["br","border-right"],ambiguousValues:i.BORDER_STYLE_VALUES,layer:t.Native},"border-x-style":{ambiguousKeys:["bx","border-x"],ambiguousValues:i.BORDER_STYLE_VALUES,layer:t.Shorthand,declare:e=>({"border-left-style":e,"border-right-style":e})},"border-y-style":{ambiguousKeys:["by","border-y"],ambiguousValues:i.BORDER_STYLE_VALUES,layer:t.Shorthand,declare:e=>({"border-top-style":e,"border-bottom-style":e})},"border-style":{ambiguousKeys:["b","border"],ambiguousValues:i.BORDER_STYLE_VALUES,layer:t.NativeShorthand},"border-top-width":{ambiguousKeys:["bt","border-top"],ambiguousValues:[i.NUMBER_VALUE_REGEX],unit:"rem",layer:t.Native},"border-bottom-width":{ambiguousKeys:["bb","border-bottom"],ambiguousValues:[i.NUMBER_VALUE_REGEX],unit:"rem",layer:t.Native},"border-left-width":{ambiguousKeys:["bl","border-left"],ambiguousValues:[i.NUMBER_VALUE_REGEX],unit:"rem",layer:t.Native},"border-right-width":{ambiguousKeys:["br","border-right"],ambiguousValues:[i.NUMBER_VALUE_REGEX],unit:"rem",layer:t.Native},"border-x-width":{ambiguousKeys:["bx","border-x"],ambiguousValues:[i.NUMBER_VALUE_REGEX],unit:"rem",layer:t.Shorthand,declare:e=>({"border-left-width":e,"border-right-width":e})},"border-y-width":{ambiguousKeys:["by","border-y"],ambiguousValues:[i.NUMBER_VALUE_REGEX],unit:"rem",layer:t.Shorthand,declare:e=>({"border-top-width":e,"border-bottom-width":e})},"border-width":{ambiguousKeys:["b","border"],ambiguousValues:[i.NUMBER_VALUE_REGEX],unit:"rem",layer:t.NativeShorthand},"border-image-repeat":{ambiguousKeys:["border-image"],ambiguousValues:["stretch","repeat","round","space"],layer:t.Native},"border-image-slice":{ambiguousKeys:["border-image"],layer:t.Native},"border-image-source":{ambiguousKeys:["border-image"],ambiguousValues:[i.IMAGE_VALUE_REGEX],layer:t.Native},"border-image-width":{ambiguousKeys:["border-image"],ambiguousValues:["auto",i.NUMBER_VALUE_REGEX],unit:"rem",layer:t.Native},"border-image-outset":{ambiguousKeys:["border-image"],ambiguousValues:[i.NUMBER_VALUE_REGEX],unit:"rem",layer:t.Native},"border-image":{layer:t.NativeShorthand},"border-top":{key:"bt",layer:t.NativeShorthand,unit:"rem",transformValueComponents:a,variables:["frame"]},"border-bottom":{key:"bb",layer:t.NativeShorthand,unit:"rem",transformValueComponents:a,variables:["frame"]},"border-left":{key:"bl",layer:t.NativeShorthand,unit:"rem",transformValueComponents:a,variables:["frame"]},"border-right":{key:"br",layer:t.NativeShorthand,unit:"rem",transformValueComponents:a,variables:["frame"]},"border-x":{key:"bx",unit:"rem",layer:t.Shorthand,transformValueComponents:a,variables:["frame"],declare:e=>({"border-left":e,"border-right":e})},"border-y":{key:"by",unit:"rem",layer:t.Shorthand,transformValueComponents:a,variables:["frame"],declare:e=>({"border-top":e,"border-bottom":e})},border:{key:"b",unit:"rem",layer:t.NativeShorthand,transformValueComponents:a,variables:["frame"]},"background-attachment":{ambiguousKeys:["bg"],ambiguousValues:["fixed","local","scroll"],layer:t.Native},"background-blend-mode":{key:"bg-blend",layer:t.Native},"background-color":{ambiguousKeys:["bg"],ambiguousValues:[i.COLOR_VALUE_REGEX],layer:t.Native},"background-clip":{key:"bg-clip",layer:t.Native,declare:e=>({"-webkit-background-clip":e,"background-clip":e})},"background-origin":{key:"bg-origin",layer:t.Native},"background-position":{ambiguousKeys:["bg"],ambiguousValues:["top","bottom","right","left","center"],layer:t.Native,unit:"px"},"background-repeat":{ambiguousKeys:["bg"],ambiguousValues:["space","round","repeat","no-repeat","repeat-x","repeat-y"],layer:t.Native},"background-size":{ambiguousKeys:["bg"],ambiguousValues:["auto","cover","contain",i.NUMBER_VALUE_REGEX],unit:"rem",layer:t.Native},"background-image":{ambiguousKeys:["bg"],ambiguousValues:[i.IMAGE_VALUE_REGEX],layer:t.Native},background:{key:"bg",layer:t.NativeShorthand},gradient:{matcher:/^gradient\(/,layer:t.Shorthand,declare:e=>({"background-image":"linear-"+e})},"mix-blend-mode":{key:"blend",layer:t.Native},"backdrop-filter":{key:"bd",layer:t.Native,declare:e=>({"-webkit-backdrop-filter":e,"backdrop-filter":e})},filter:{matcher:/^(?:blur|brightness|contrast|drop-shadow|grayscale|hue-rotate|invert|opacity|saturate|sepia)\(/,layer:t.Native},fill:{layer:t.Native},"stroke-dasharray":{layer:t.Native},"stroke-dashoffset":{layer:t.Native,variables:["spacing"]},"stroke-width":{ambiguousKeys:["stroke"],ambiguousValues:[i.NUMBER_VALUE_REGEX],layer:t.Native},stroke:{layer:t.Native},x:{layer:t.Native,variables:["spacing"]},y:{layer:t.Native,variables:["spacing"]},cx:{layer:t.Native,variables:["spacing"]},cy:{layer:t.Native,variables:["spacing"]},rx:{layer:t.Native},ry:{layer:t.Native},"grid-column-start":{key:"grid-col-start",layer:t.Native},"grid-column-end":{key:"grid-col-end",layer:t.Native},"grid-column-span":{key:"grid-col-span",layer:t.Shorthand,transformValue:e=>"span "+e+"/span "+e,declare:e=>({"grid-column":e})},"grid-column":{key:"grid-col",layer:t.NativeShorthand},"grid-columns":{key:"grid-cols",declare:e=>({display:"grid","grid-template-columns":"repeat("+e+",minmax(0,1fr))"}),layer:t.Shorthand},"grid-row-start":{layer:t.Native},"grid-row-end":{layer:t.Native},"grid-row-span":{layer:t.Shorthand,transformValue:e=>"span "+e+"/span "+e,declare:e=>({"grid-row":e})},"grid-row":{layer:t.NativeShorthand},"grid-rows":{declare:e=>({display:"grid","grid-auto-flow":"column","grid-template-rows":"repeat("+e+",minmax(0,1fr))"}),layer:t.Shorthand},"grid-auto-columns":{key:"grid-auto-cols",layer:t.Native},"grid-auto-flow":{key:"grid-flow",layer:t.Native},"grid-auto-rows":{layer:t.Native},"grid-template-areas":{layer:t.Native},"grid-template-columns":{key:"grid-template-cols",layer:t.Native,unit:"rem"},"grid-template-rows":{layer:t.Native,unit:"rem"},"grid-template":{layer:t.NativeShorthand},"grid-area":{layer:t.NativeShorthand},grid:{layer:t.NativeShorthand},"column-gap":{key:"gap-x",unit:"rem",layer:t.Native,variables:["spacing"]},"row-gap":{key:"gap-y",unit:"rem",layer:t.Native,variables:["spacing"]},gap:{unit:"rem",layer:t.NativeShorthand,variables:["spacing"]},order:{key:"o",layer:t.Native},"break-inside":{layer:t.Native},"break-before":{layer:t.Native},"break-after":{layer:t.Native},"aspect-ratio":{key:"aspect",layer:t.Native},"column-span":{key:"col-span",layer:t.Native},"align-content":{subkey:"ac",layer:t.Native},"align-items":{subkey:"ai",layer:t.Native},"align-self":{subkey:"as",layer:t.Native},"justify-content":{subkey:"jc",layer:t.Native},"justify-items":{subkey:"ji",layer:t.Native},"justify-self":{subkey:"js",layer:t.Native},"place-content":{layer:t.NativeShorthand},"place-items":{layer:t.NativeShorthand},"place-self":{layer:t.NativeShorthand},"list-style-position":{ambiguousKeys:["list-style"],ambiguousValues:["inside","outside"],layer:t.Native},"list-style-type":{ambiguousKeys:["list-style"],ambiguousValues:["disc","decimal"],layer:t.Native},"list-style-image":{ambiguousKeys:["list-style"],ambiguousValues:[i.IMAGE_VALUE_REGEX],layer:t.Native},"list-style":{layer:t.NativeShorthand},"outline-color":{ambiguousKeys:["outline"],ambiguousValues:[i.COLOR_VALUE_REGEX],layer:t.Native,variables:["frame"]},"outline-offset":{unit:"rem",layer:t.Native,variables:["spacing"]},"outline-style":{ambiguousKeys:["outline"],ambiguousValues:i.BORDER_STYLE_VALUES,layer:t.Native},"outline-width":{ambiguousKeys:["outline"],ambiguousValues:["medium","thick","thin",i.NUMBER_VALUE_REGEX],unit:"rem",layer:t.Native},outline:{unit:"rem",layer:t.NativeShorthand,variables:["outline-width","outline-style","outline-offset","outline-color","frame"],transformValueComponents:a},"accent-color":{key:"accent",layer:t.Native},appearance:{layer:t.Native},"caret-color":{key:"caret",layer:t.Native,variables:["text"]},"scroll-behavior":{layer:t.Native},"scroll-margin-left":{key:"scroll-ml",layer:t.Native,unit:"rem",variables:["spacing"]},"scroll-margin-right":{key:"scroll-mr",layer:t.Native,unit:"rem",variables:["spacing"]},"scroll-margin-top":{key:"scroll-mt",layer:t.Native,unit:"rem",variables:["spacing"]},"scroll-margin-bottom":{key:"scroll-mb",layer:t.Native,unit:"rem",variables:["spacing"]},"scroll-margin-x":{key:"scroll-mx",unit:"rem",layer:t.Shorthand,declare:e=>({"scroll-margin-left":e,"scroll-margin-right":e}),variables:["spacing"]},"scroll-margin-y":{key:"scroll-my",unit:"rem",layer:t.Shorthand,declare:e=>({"scroll-margin-top":e,"scroll-margin-bottom":e}),variables:["spacing"]},"scroll-margin":{key:"scroll-m",unit:"rem",layer:t.NativeShorthand,variables:["spacing"]},"scroll-padding-left":{key:"scroll-pl",layer:t.Native,unit:"rem",variables:["spacing"]},"scroll-padding-right":{key:"scroll-pr",layer:t.Native,unit:"rem",variables:["spacing"]},"scroll-padding-top":{key:"scroll-pt",layer:t.Native,unit:"rem",variables:["spacing"]},"scroll-padding-bottom":{key:"scroll-pb",layer:t.Native,unit:"rem",variables:["spacing"]},"scroll-padding-x":{key:"scroll-px",unit:"rem",layer:t.Shorthand,declare:e=>({"scroll-padding-left":e,"scroll-padding-right":e}),variables:["spacing"]},"scroll-padding-y":{key:"scroll-py",unit:"rem",layer:t.Shorthand,declare:e=>({"scroll-padding-top":e,"scroll-padding-bottom":e}),variables:["spacing"]},"scroll-padding":{key:"scroll-p",unit:"rem",layer:t.NativeShorthand,variables:["spacing"]},"scroll-snap-align":{ambiguousKeys:["scroll-snap"],ambiguousValues:["start","end","center"],layer:t.Native},"scroll-snap-stop":{ambiguousKeys:["scroll-snap"],ambiguousValues:["normal","always"],layer:t.Native},"scroll-snap-type":{ambiguousKeys:["scroll-snap"],ambiguousValues:["x","y","block","inline","both"],layer:t.Native},"will-change":{layer:t.Native},"writing-mode":{key:"writing",layer:t.Native},direction:{layer:t.Native},"shape-outside":{ambiguousKeys:["shape"],ambiguousValues:[/(?:inset|circle|ellipse|polygon|url|linear-gradient)\(.*\)/],layer:t.Native},"shape-margin":{ambiguousKeys:["shape"],ambiguousValues:[i.NUMBER_VALUE_REGEX],unit:"rem",layer:t.Native,variables:["spacing"]},"shape-image-threshold":{layer:t.Native},"clip-path":{key:"clip",layer:t.Native},quotes:{layer:t.Native},"mask-image":{layer:t.Native,declare:e=>({"-webkit-mask-image":e,"mask-image":e})}}}function ed(){return E?S:(E=1,S={dark:"class",light:"class"})}function eh(){if(R)return w;R=1;var e=eu();let t={$:{transform(e){let t,i;let a=e.indexOf(",");return -1!==a?(t=e.slice(0,a),i=e.slice(a+1)):t=e,[{type:"variable",name:t,fallback:i,token:e}]}},calc:{transform(i,a){let r=[],s=0,l=(a,o,n,u,c)=>{let d;let h=r!==a,f=[],m=!1,y=!1,b=!1,g=!1,p="",v=(t,r="",l="")=>{if(!1===d&&" "!==t&&this.definition.unit&&(d=void 0,g||k()),p){if(!c){let t=e.BASE_UNIT_REGEX.exec(p);t&&(p=(+t[1]*(this.css.config.baseUnit??1)).toString())}if(m||n)a.push({type:"string",value:p,token:p});else{let e={...this.parseValue(p),token:p};if(!y&&isNaN(+p)&&"number"===e.type&&(y=!0),g)isNaN(+p)?"number"===e.type?(a.push(e),b=!0):a.push(e):a.push({type:"number",value:+p,token:p});else if(h){let e={type:"string",value:p,token:p};f.push(e),a.push(e)}else a.push(e)}p=""}t&&(("+"===t||"-"===t)&&x(),r&&" "===i[s-1]&&(r=""),l&&" "===i[s+1]&&(l=""),o?a.push({type:"separator",value:t,text:t,token:t}):a.push({type:"separator",value:t,text:r+t+l,token:t})),m=!1},k=()=>{("rem"===this.definition.unit||"em"===this.definition.unit)&&a.push({type:"separator",value:"/",text:" / ",token:"/"},{type:"number",value:this.css.config.rootSize,token:String(this.css.config.rootSize)}),a.push({type:"separator",value:"*",text:" * ",token:"*"},{type:"number",value:1,unit:this.definition.unit,token:this.definition.unit})},x=()=>{!g||b||u||h&&!y||k(),g=!1,b=!1};for(;s<i.length;s++){let e=i[s];if("("===e){let i=/^([+-])/.exec(p);i&&a.push({type:"string",value:i[1],token:i[1]});let r=i?p.slice(1):p,o={type:"function",name:r,symbol:e,children:[],bypassTransform:"calc"===r,token:p};a.push(o),p="",s++;let n="$"===r||"var"===r;if(!(d=l(o.children,""!==r&&"calc"!==r&&(n||Object.prototype.hasOwnProperty.call(t,r)),m||n||g&&b,g,n)||"var"===r)&&"$"===r){let e=this.css.variables[o.children[0].value]?.type;d=!e||"string"===e}d&&(y=!0,b=!0)}else if(")"===e){if(v(""),y)for(let e of f)Object.assign(e,this.parseValue(e.value));return y}else if(","===e)v(e,""," ");else if(" "===e)v(e);else{let t=i[s-1];switch(e){case"+":case"-":p||")"===t?v(e," "," "):p+=e;break;case"*":this.definition.unit&&(g=!0),v(e," "," ");break;case"/":this.definition.unit&&(g=!0),v(e," "," "),m=!0;break;default:p+=e}}}v(""),x()};return l(r,!1,!1,!1,!1),"calc("+this.resolveValue(r,t.calc.unit??this.definition.unit,a,!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:""},"color-contrast":{unit:""},"color-mix":{unit:""},hwb:{unit:""},lab:{unit:""},lch:{unit:""},oklab:{unit:""},oklch:{unit:""},"light-dark":{unit:""},clamp:{unit:""},repeat:{unit:""},"linear-gradient":{},"radial-gradient":{},"conic-gradient":{},"repeating-linear-gradient":{},"repeating-radial-gradient":{},"repeating-conic-gradient":{},matrix:{unit:""},matrix3d:{unit:""},scale:{unit:""},scale3d:{unit:""},scaleX:{unit:""},scaleY:{unit:""},scaleZ:{unit:""}};return w=t}function ef(){if($)return J;$=1;var e=ee(),t=et(),i=ei(),a=ea(),r=es(),s=ec(),l=ed(),o=eh();return J.at=e,J.selectors=t,J.utilities=i,J.animations=a,J.variables=r,J.syntaxes=s,J.modes=l,J.functions=o,J.config={at:e,selectors:t,utilities:i,syntaxes:s,functions:o,animations:a,variables:r,modes:l,scope:"",rootSize:16,baseUnit:4,override:!1,important:!1,defaultMode:"light"},J}var em={};function ey(){if(O)return em;O=1;var e=el(),t=eo(),i=eu();return em.Rule=class{className;RegisteredRule;css;at;priority;natives;order;layer;declarations;animationNames;variableNames;constructor(a,r,s){let l,o,n;this.className=a,this.RegisteredRule=r,this.css=s,this.at={},this.priority=-1,this.natives=[],this.order=0,this.layer=0,this.resolveValue=(e,t,a,r)=>{let{functions:s}=this.css.config,l="";for(let o of e)switch(o.type){case"function":let e=s&&s[o.name];if(e?.transform&&!o.bypassTransform){let i=e.transform.call(this,this.resolveValue(o.children,e.unit??t,a,r||"calc"===o.name),a);l+=o.token=o.text="string"==typeof i?i:this.resolveValue(i,e?.unit??t,a,r)}else l+=o.token=o.text=o.name+o.symbol+this.resolveValue(o.children,e?.unit??t,a,r)+i.VALUE_DELIMITERS[o.symbol];break;case"variable":let n=this.css.variables[o.name];if(n){let e=(e,t)=>{if(n.modes){if(this.mode){let t=n.modes[this.mode]??n;t?.value&&e(t)}else this.variableNames||(this.variableNames=[]),this.variableNames.includes(o.name)||this.variableNames.push(o.name),t()}else e(n)};switch(n.type){case"string":e(e=>{let i=[];this.parseValues(i,0,e.value,t,"",void 0,r,[...a,o.name]),l+=o.text=this.resolveValue(i,t,[...a,o.name],r)},()=>{l+=o.text=`var(--${o.name})`});break;case"number":e(e=>{if(r)l+=o.text=String(e.value);else{let i=this.parseValue(e.value,t);l+=o.text=i.value+(i.unit??"")}},()=>{l+=o.text=t?`calc(var(--${o.name}) / 16 * 1rem)`:`var(--${o.name})`});break;case"color":let i=o.alpha?"/"+o.alpha:"";e(e=>{l+=o.text=`${e.space}(${e.value}${i})`},()=>{l+=o.text=`${n.space}(var(--${o.name})${i})`})}}else l+=o.text=`var(--${o.name}${o.fallback?","+o.fallback:""})`;break;case"separator":l+=o.text?o.text:o.text=o.value;break;case"number":l+=o.text=o.value+(o.unit||"");break;default:l+=o.text=o.value}return l},this.parseValues=(e,t,a,r,s,l,o=!1,n=[])=>{let u=void 0===l,c=!u&&(l.endsWith("$")||l.endsWith("var")),d="'"===s||'"'===s,h=[","];this.definition.separators?.length&&h.push(...this.definition.separators);let f="",m=()=>{if(f){let t=!1;if(!c||e.length){let i=(i,a)=>{let r=Object.prototype.hasOwnProperty.call(this.variables,i)?this.variables[i]:Object.prototype.hasOwnProperty.call(this.css.variables,i)?this.css.variables[i]:void 0;if(r){let s=r.name??i;if(!n.includes(s)){t=!0;let i={type:"variable",name:s,variable:this.css.variables[s],token:f};a&&(i.alpha=a),e.push(i)}}};if(i(f),!t){let[e,t]=f.split("/");i(e,t)}}if(!t){if(!c){let e=i.BASE_UNIT_REGEX.exec(f);e&&(f=String(+e[1]*(this.css.config.baseUnit??1)))}o?e.push({type:"string",value:f,token:f}):e.push({...this.parseValue(f,r),token:f})}f=""}};for(;t<a.length;t++){let n=a[t];if(n===s){if(d){let e=0;for(let t=f.length-1;"\\"===f[t];t--)e++;if(e%2){f+=n;continue}m()}else m();return t}if(!d&&n in i.VALUE_DELIMITERS){let s=f,u={type:"function",name:s,symbol:n,children:[],token:""};e.push(u),f="";let c="("===n?this.css.config.functions?.[s]:void 0;t=this.parseValues(u.children,++t,a,c?.unit??r,i.VALUE_DELIMITERS[n],s||l||"",o||"calc"===s)}else if("|"!==n&&" "!==n||"}"===s||d&&"path"!==l){if(!d){if("."===n){if(isNaN(+a[t+1])){if(u)break}else"-"===a[t-1]&&(f+="0")}else if(h.includes(n)){m(),e.push({type:"separator",value:n,text:(","===n?"":" ")+n+(","===n?"":" "),token:n});continue}else if(u&&("#"===n&&(f||e.length&&"separator"!==e[e.length-1].type)||["!","*",">","+","~",":","[","@","_"].includes(n)))break}f+=n}else m(),e.push({type:"separator",value:" ",token:n})}return m(),t},Object.assign(this,r);let{id:u,definition:c}=r,{analyze:d,transformValue:h,declare:f,transformValueComponents:m,create:y,layer:b,unit:g}=c;this.layer=b,c.unit||(c.unit=""),c.separators||(c.separators=[","]);let{scope:p,important:v,modes:k}=s.config,{selectors:x,at:N,stylesBy:S,animations:E}=s,w=S[a];if(y&&y.call(this,a),this.declarations=c.declarations,b===t.Utility)l=a.slice(u.length-1);else{let e;if(d)[e,o]=d.call(this,a);else{let t=a.indexOf(":");this.keyToken=a.slice(0,t+1),e=a.slice(t+1)}this.valueComponents=[];let t=this.parseValues(this.valueComponents,0,e,g,"",void 0,!1,c.includeAnimations?Object.keys(this.css.animations):[]);this.valueToken=e.slice(0,t),l=e.slice(t)}"!"===l[0]&&(this.important=!0,l=l.slice(1)),this.stateToken=l;let R=(e,t)=>{let i=(e,t,a,r)=>{for(let[r,s]of t)if(r.test(e)){for(let l of s)i(e.replace(r,l),t,a,!0);return}r&&a.push(e)},a=e=>{let t=e.split(/(\\'(?:.*?)[^\\]\\')(?=[*_>~+,)])|(\[[^=]+='(?:.*?)[^\\]'\])/).map((e,t)=>t%3?e:e.replace(/(^|[^_])_(?!_)/g,"$1 ")).join(""),i=[],a="",r=0;for(let e=0;e<t.length;e++){let s=t[e];if("\\"===s){a+=s+t[++e];continue}r||","!==s?(a+=s,r&&")"===s?r--:"("===s&&r++):(i.push(a),a="")}return a&&i.push(a),i},r=[];""in x?i(e,x[""],r,!0):r.push(e);let s={};for(let[e,t]of Object.entries(x)){if(!e)continue;let a=[];for(let e of r)i(e,t,a,!1);a.length&&(s[e]=a)}let l=(e,i)=>{let r=i.reduce((e,t)=>(e.push(...a(t)),e),[]);e in t?t[e].push(...r):t[e]=r},o=Object.keys(s);if(o.length)for(let e of o)l(e,s[e]);else l("",r)};o?(this.vendorPrefixSelectors={},R(o,this.vendorPrefixSelectors)):this.vendorPrefixSelectors={"":[""]};let $=l.split("@"),O=$[0];if(O)for(let e of(this.vendorSuffixSelectors={},R(O,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 i=0;i<e.length;i++)if(t.includes(e[i])){(-1===this.priority||this.priority>i)&&(this.priority=i);break}}else this.vendorSuffixSelectors={"":[""]};let _={},V=Object.prototype.hasOwnProperty.call(this.vendorPrefixSelectors,""),A=Object.prototype.hasOwnProperty.call(this.vendorSuffixSelectors,"");if(V)_[""]=A?[""]:Object.keys(this.vendorSuffixSelectors);else if(A)for(let e in this.vendorPrefixSelectors)_[e]=[""];else for(let e in this.vendorPrefixSelectors){let t=_[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<$.length;e++){let t=$[e];if(this.atToken=(this.atToken||"")+"@"+t,t){if("rtl"===t||"ltr"===t)this.direction=t;else{let e;let i=[],a=/^(media|supports|container|layer)/,r=a.exec(t);if(r)e=r[1],i.push({type:"arbitrary",token:t,value:t.slice(e.length).replace(/\|/g," ")});else{let r=t=>{if("&"===t)i.push({type:"operator",token:t,value:"and"});else if(t.startsWith("")){let r=N[t];if(r&&"string"==typeof r){let s=r.match(a);if(!(e=s?s[1]:""))throw Error(`Invalid query '${t}': '${r}'`);i.push({type:"arbitrary",value:r.slice(s?s[1].length+1:0)})}else{e="media";let a="",s="",l=0;t.startsWith("<=")?(s="<=",a="max-width"):t.startsWith(">")&&!t.startsWith(">=")?(s=">",a="min-width",l=.02):t.startsWith("<")?(s="<",a="max-width",l=-.02):(t.startsWith(">=")||r)&&(s=">=",a="min-width");let o=s?t.replace(s,""):t,n=N[o];switch(a){case"max-width":case"min-width":if("number"==typeof n)i.push({type:"feature",name:a,valueType:"number",value:n+l,unit:"px"});else{let e=this.parseValue(o,"px");"number"===e.type?i.push({type:"feature",name:a,valueType:"number",value:e.value+l,unit:e.unit}):i.push({type:"feature",name:a,valueType:"string",value:o})}}}}},s=t.includes("&");if(s)for(let e of t.split(/(&|,)/))r(e);else r(t);if(!i.length&&!s&&k?.[t]){this.mode=t;continue}}e&&(this.at[e]=i)}}}this.valueComponents&&(m&&(this.valueComponents=m.call(this,this.valueComponents)),n=this.resolveValue(this.valueComponents,g,[],!1),h&&(n=h.call(this,n)),f?this.declarations=f.call(this,n,this.valueComponents):u&&(this.declarations={[u]:n}));let L=[];for(let e in this.declarations){let t=e=>{if(E&&(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)}L.push(e+((this.important||v)&&!e.endsWith("!important")?"!important":""))},i=e+":",a=this.declarations[e];if(Array.isArray(a))for(let e of a)t(i+String(e));else t(i+String(a))}if(L.length)for(let t in _)for(let i of _[t]){let r="";this.direction&&(r+="[dir="+this.direction+"] ");let s=this.vendorPrefixSelectors[t],l=this.vendorSuffixSelectors[i],o=s.map(e=>e+r),n=t=>o.map(e=>(this.mode&&k?.[this.mode]!=="media"?k?.[this.mode]==="host"?`:host(.${this.mode}) `:`.${this.mode} `:"")+(p?p+" ":"")+e).reduce((i,a)=>(i.push(l.reduce((i,r)=>(i.push(a+"."+e(t)+r),i),[]).join(",")),i),[]).join(","),u=n(a)+(w?w.reduce((e,t)=>e+","+n(t),""):"")+"{"+L.join(";")+"}";for(let e of Object.keys(this.at).sort((e,t)=>"supports"===t?-1:1))u="@"+e+(e.includes(" ")?"":" ")+this.at[e].map(e=>this.resolveAtComponent(e)).join(" ")+"{"+u+"}";this.mode&&k?.[this.mode]==="media"&&(u=`@media(prefers-color-scheme:${this.mode}){`+u+"}"),this.natives.push({text:u})}}resolveAtComponent(e){switch(e.type){case"arbitrary":case"operator":return e.value;case"feature":return"("+e.name+":"+e.value+(e.unit||"")+")"}}resolveValue;get text(){return this.natives.map(e=>e.text).join("")}parseValues;parseValue(e,t=this.definition.unit){let a;let r=t??this.definition.unit,s="";if("number"==typeof e)return r&&!s?(("rem"===r||"em"===r)&&(a=e/(this.css.config.rootSize||1)),s=r||""):a=e,{value:a,unit:s,type:"number"};if(r){if(/^\d+\/\d+/.test(e)){let[t,i]=e.split("/");return{value:+t/+i*100,unit:"%",type:"number"}}let t=e.match(i.UNIT_REGEX);if(t)return a=+t[1],(s=t[3]||"")||(("rem"===r||"em"===r)&&(a/=this.css.config.rootSize||1),s=r||""),{value:a,unit:s,type:"number"}}return{value:e,type:"string"}}},em}var eb={},eg={};function ep(){if(U)return L;U=1;var e=er();return L=function(...t){let i=t=>{let i=e({},t),a=e=>{for(let t in e){let i=e[t];"object"!=typeof i||Array.isArray(i)?t&&!t.startsWith("@")&&(e[t]={"":i}):a(i)}};return i.styles&&a(i.styles),i.at&&a(i.at),i.variables&&a(i.variables),i},a=[];for(let e of t)e&&function e(t){if(t.extends?.length)for(let i of t.extends)e("config"in i?i.config:i);a.push(i(t))}(e);let r={animations:{},styles:{},at:{},variables:{}};for(let t of a)for(let i in t)"animations"===i?t.animations&&Object.assign(r.animations,t.animations):t[i]&&(r=e(r,{[i]:t[i]}));return r}}function ev(){if(j)return eb;j=1,Object.defineProperty(eb,"__esModule",{value:!0});var e=ey(),t=ef(),i=eo(),a=V?_:(V=1,_=function(e){let t,i,a,r;return e.startsWith("#")&&(e=e.slice(1)),3===e.length||4===e.length?(t=parseInt(e[0]+e[0],16),i=parseInt(e[1]+e[1],16),a=parseInt(e[2]+e[2],16),r=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),i=parseInt(e.slice(2,4),16),a=parseInt(e.slice(4,6),16),r=8===e.length?Math.round(parseInt(e.slice(6,8),16)/255*100)/100:1),[t,i,a,r]}),r=(A||(A=1,eg.flattenObject=function e(t,i=""){return Object.entries(t).reduce((t,[a,r])=>{let s=i?`${i}${a?"-"+a:""}`:a;return"object"!=typeof r||Array.isArray(r)?t[s]=r:Object.assign(t,e(r,s)),t},{})}),eg),s=ep();class l{customConfig;static config=t.config;syntaxes;ruleBy;classesUsage;config;Rules;constructor(e){this.customConfig=e,this.syntaxes=[],this.ruleBy={},this.classesUsage={},this.Rules=[],e?.override?this.config=s(e):this.config=s(t.config,e),this.resolve(),this.constructor===l&&o.push(this)}resolve(){this.styles={},this.stylesBy={},this.selectors={},this.variables={},this.at={},this.animations={},this.Rules.length=0,this.variablesNativeRules={},this.hasKeyframesRule=!1;let e={current:void 0,currentColor:void 0,transparent:void 0},{styles:t,selectors:s,variables:l,utilities:o,at:n,syntaxes:u,animations:c}=this.config;function d(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}if(s){let e=r.flattenObject(s);for(let t in e){let i=e[t],a=RegExp(d(t)+"(?![a-z-])");for(let e of Array.isArray(i)?i:[i]){let t=e.match(/^::-[a-z]+-/m)?.[0]??"",i=this.selectors[t];i||(i=this.selectors[t]=[]);let r=i.find(([e])=>e===a);r||(r=[a,[]],i.push(r)),r[1].push(e)}}}if(l){let t={},i=(r,s,l)=>{if(null==r)return;let o=(t,i,a,r)=>{if(void 0===i)return;let s=t.join("-"),o=t.slice(0,-1).filter(Boolean),n=(""===t[0]?"-":"")+t[t.length-1];if(i.key=n,i.name=s,o.length&&(i.group=o.join(".")),"color"===i.type){if(r){let e=i.value.indexOf("/");i={...i,value:-1===e?i.value+" / "+(r.startsWith("0.")?r.slice(1):r):i.value.slice(0,e+2)+String(+i.value.slice(e+2)*+r).slice(1)}}e[s]=void 0}i.name.startsWith("screen-")&&"number"===i.type&&(this.at[i.name.slice(7)]=i.value);let u=a??l;if(void 0!==u){if(Object.prototype.hasOwnProperty.call(this.variables,s)){let e=this.variables[s];u?(e.modes||(e.modes={}),e.modes[u]=i):(e.value=i.value,"color"===i.type&&(e.space=i.space))}else if(u){let e={key:i.key,name:i.name,group:i.group,type:i.type,modes:{[u]:i}};"color"===i.type&&(e.space=i.space),this.variables[s]=e}else this.variables[s]=i}else this.variables[s]=i};if("object"==typeof r){if(Array.isArray(r))o(s,{type:"string",value:r.join(",")});else{let e=Object.keys(r);for(let t of e)""===t||t.startsWith("@")?i(r[t],s,t||e.some(e=>e.startsWith("@"))?t.slice(1):void 0):i(r[t],[...s,t])}}else if("number"==typeof r)o(s,{type:"number",value:r}),o(["",...s],{type:"number",value:-1*r});else if("string"==typeof r){let e=/^\$\((.*?)\)(?: ?\/ ?(.+?))?$/.exec(r),i=s.join("-");if(e)Object.prototype.hasOwnProperty.call(t,i)||(t[i]={}),t[i][l]=()=>{delete t[i][l];let[a,r]=e[1].split("@");if(a){if(Object.prototype.hasOwnProperty.call(t,a))for(let e of Object.keys(t[a]))t[a][e]?.();let i=this.variables[a];if(i){if(void 0===r&&i.modes)for(let t in o(s,{type:i.type,value:i.value,space:i.space},"",e[2]),i.modes)o(s,i.modes[t],t,e[2]);else{let t=void 0!==r?i.modes?.[r]:i;if(t){let i={type:t.type,value:t.value};"color"===t.type&&(i.space=t.space),o(s,i,void 0,e[2])}}}}};else{let e=/^#([A-Fa-f0-9]{3,4}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{8})$/.exec(r);if(e){let[t,i,r,l]=a(e[1]);o(s,{type:"color",value:`${t} ${i} ${r}${1===l?"":" / "+l}`,space:"rgb"})}else{let e=/^rgb\( *([0-9]{1,3})(?: *, *| +)([0-9]{1,3})(?: *, *| +)([0-9]{1,3}) *(?:(?:,|\/) *(.*?) *)?\)$/.exec(r);if(e)o(s,{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(r);e?o(s,{type:"color",value:e[1],space:"hsl"}):o(s,{type:"string",value:r})}}}}};for(let e in l)i(l[e],[e]);for(let e of Object.keys(t))for(let i of Object.keys(t[e]))t[e][i]?.()}if(n&&Object.assign(this.at,r.flattenObject(n)),c)for(let e in c){let t=this.animations[e]={},i=c[e];for(let e in i){let a=t[e]={},r=i[e];for(let e in r)a[e]=r[e]}}let h=t?r.flattenObject(t):{},f=Object.keys(h),m=e=>{if(Object.prototype.hasOwnProperty.call(this.styles,e))return;let t=this.styles[e]=[],i=h[e];if(i)for(let a of i.replace(/(?:\n(?:\s*))+/g," ").trim().split(" ")){let i=i=>{if(Object.prototype.hasOwnProperty.call(this.stylesBy,i)){let t=this.stylesBy[i];t.includes(e)||t.push(e)}else this.stylesBy[i]=[e];t.includes(i)||t.push(i)};if(f.includes(a))for(let e of(m(a),this.styles[a]))i(e);else i(a)}};for(let e of f)m(e);if(u||o){let t=[];if(o)for(let e in o){let a=o[e];t.push([e,{declarations:a,layer:i.Utility}])}u&&t.push(...Object.entries(u));let a=t.length,r=Object.keys(e);t.sort((e,t)=>e[1].layer!==t[1].layer?(t[1].layer||0)-(e[1].layer||0):t[0].localeCompare(e[0])).forEach(([e,t],s)=>{let l={id:e,keys:[],variables:{},matchers:{},order:a-1-s,definition:t};this.Rules.push(l);let{matcher:o,layer:n,subkey:u,ambiguousKeys:c,ambiguousValues:h,sign:f}=t;n===i.Utility&&(l.id="."+e,l.matchers.arbitrary=RegExp("^"+d(e)+"(?=!|\\*|>|\\+|~|:|\\[|@|_|\\.|$)","m"));let m=e=>{for(let t in this.variables){let i=this.variables[t];i.group===e&&(l.variables[i.key]=i)}};if(t.variables)for(let e of t.variables)m(e);m(e);let y=[],{key:b}=t;if((n===i.NativeShorthand||n===i.Native)&&(b||(t.key=b=e),y.push(e)),f)l.matchers.arbitrary=RegExp(`^${f}[^!*>+~:[@_]+\\|`);else if(o)l.matchers.arbitrary=o;else{let t=r.join("|");if(b||u?(b&&!y.includes(b)&&y.push(b),u&&y.push(u),n===i.Shorthand&&y.push(e)):y.push(e),c?.length){let e=c.length>1?`(?:${c.join("|")})`:c[0],i=Object.keys(l.variables);if(h?.length){let i=[];for(let e of h)e instanceof RegExp?i.push(e.source.replace("\\$colors",t)):i.unshift(`${e}(?:\\b|_)`);l.matchers.value=RegExp(`^${e}:(?:${i.join("|")})[^|]*?(?:@|$)`)}i.length&&(l.matchers.variable=RegExp(`^${e}:(?:${i.join("|")}(?![a-zA-Z0-9-]))[^|]*?(?:@|$)`))}}y.length&&(l.keys=y,l.matchers.key=RegExp(`^${y.length>1?`(${y.join("|")})`:y[0]}:.`))})}}match(e){for(let t of this.Rules)if(t.matchers.variable?.test(e))return t;for(let t of this.Rules)if(t.matchers.value?.test(e))return t;for(let t of this.Rules)if(t.matchers.key?.test(e))return t;for(let t of this.Rules)if(t.matchers.arbitrary?.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(t){if(Object.prototype.hasOwnProperty.call(this.ruleBy,t))return this.ruleBy[t];let i=this.match(t);if(i)return new e.Rule(t,i,this)}refresh(e){for(let i in e?this.customConfig=e:e=this.customConfig,e?.override?this.config=s(e):this.config=s(t.config,e),this.resolve(),this.syntaxes.length=0,this.ruleBy={},this.classesUsage)this.add(i);return this}reset(){for(let e in this.ruleBy={},this.classesUsage={},this.syntaxes.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,i=e=>{let i=this.ruleBy[e];if(!(!i||Object.prototype.hasOwnProperty.call(this.stylesBy,e)&&this.stylesBy[e].some(e=>Object.prototype.hasOwnProperty.call(this.classesUsage,e)))){if(t&&i.natives.length){let e=i.natives[0];for(let a=0;a<t.cssRules.length;a++)if(t.cssRules[a]===e.cssRule){for(let{}of i.natives)t.deleteRule(a);break}}if(this.syntaxes.splice(this.syntaxes.indexOf(i),1),delete this.ruleBy[e],i.variableNames)for(let e of i.variableNames){let i=this.variables[e];if(i.usage||(i.usage=0),!--i.usage){let a=i=>{let a=this.variablesNativeRules[i];if(a.cssRule.style.removeProperty("--"+e),!a.cssRule.style.length){let e=this.syntaxes[0],r=e.natives.indexOf(a);t?.deleteRule(r),e.natives.splice(r,1),delete this.variablesNativeRules[i],e.natives.length||(this.syntaxes.splice(0,1),this.variablesNativeRules={})}};if(i.value&&a(""),i.modes)for(let e in i.modes)a(e)}}if(i.animationNames){let e=Object.keys(this.variablesNativeRules).length?1:0,a=this.syntaxes[e];for(let e of i.animationNames){let i=this.animations[e];if(i.usage||(i.usage=0),!--i.usage&&i.native){let e=a.natives.indexOf(i.native);t?.deleteRule(Object.keys(this.variablesNativeRules).length+e),a.natives.splice(e,1),i.native=void 0}}a.natives.length||(this.syntaxes.splice(e,1),this.hasKeyframesRule=!1)}i.definition.delete?.call(i,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)||i(e);delete this.ruleBy[t]}else i(t)}insert(e){let t,i,a;if(this.ruleBy[e.className])return;let r=this.syntaxes.length-1,{at:s,atToken:l,order:o,priority:n,hasWhere:u,className:c}=e,d=(e,t,i)=>{let a=e;for(;a<=r;a++){let e=this.syntaxes[a];if(t?.(e))break;if(i?.(e))return a}return i?-1:a-1};if(l){let e=this.syntaxes.findIndex(e=>e.at?.media);if(-1===e)t=r+1;else{let l=s.media?.find(({name:e})=>"max-width"===e),o=s.media?.find(({name:e})=>"min-width"===e);if(l||o){let e=this.syntaxes.findIndex(e=>e.at?.media?.find(({name:e})=>"max-width"===e||"min-width"===e));if(-1===e)t=r+1;else if(l&&o){if(-1===n?(i=d(e,e=>-1!==e.priority,e=>e.at.media?.find(({name:e})=>"max-width"===e)&&e.at.media?.find(({name:e})=>"min-width"===e)),a=d(e,e=>-1!==e.priority)):(i=d(e,void 0,e=>e.at.media?.find(({name:e})=>"max-width"===e)&&e.at.media?.find(({name:e})=>"min-width"===e)&&-1!==e.priority),a=r),-1!==i){let e=l.value-o.value,t=a,r=i;for(i=a+1;t>=r;t--){let r=this.syntaxes[t],s=r.at.media?.find(({name:e})=>"max-width"===e),l=r.at.media?.find(({name:e})=>"min-width"===e);if(s&&l){let r=s.value-l.value;if(r<e)a=t-1;else if(r===e)i=t;else break}else break}}}else if(o){if(-1===n?(i=d(e,e=>e.at.media?.find(({name:e})=>"max-width"===e)&&e.at.media?.find(({name:e})=>"min-width"===e)||-1!==e.priority,e=>!e.at.media?.find(({name:e})=>"max-width"===e)&&e.at.media?.find(({name:e})=>"min-width"===e)),a=d(e,e=>e.at.media?.find(({name:e})=>"max-width"===e)&&e.at.media?.find(({name:e})=>"min-width"===e)||-1!==e.priority)):(i=d(e,e=>e.at.media?.find(({name:e})=>"max-width"===e)&&e.at.media?.find(({name:e})=>"min-width"===e)&&-1!==e.priority,e=>!e.at.media?.find(({name:e})=>"max-width"===e)&&e.at.media?.find(({name:e})=>"min-width"===e)&&-1!==e.priority),a=d(e,e=>e.at.media?.find(({name:e})=>"max-width"===e)&&e.at.media?.find(({name:e})=>"min-width"===e)&&-1!==e.priority)),-1!==i)for(let e=a;e>=i;e--){let t=(this.syntaxes[e].at.media?.find(({name:e})=>"min-width"===e)).value;if(t>o.value)a=e-1;else if(t<o.value){i=e+1;break}}}else if(-1===n?(i=d(e,e=>e.at.media?.find(({name:e})=>"min-width"===e)||-1!==e.priority,e=>e.at.media?.find(({name:e})=>"max-width"===e)),a=d(e,e=>e.at.media?.find(({name:e})=>"min-width"===e)||-1!==e.priority)):(i=d(e,e=>e.at.media?.find(({name:e})=>"min-width"===e)&&-1!==e.priority,e=>e.at.media?.find(({name:e})=>"max-width"===e)&&-1!==e.priority),a=d(e,e=>e.at.media?.find(({name:e})=>"min-width"===e)&&-1!==e.priority)),-1!==i)for(let e=a;e>=i;e--){let t=(this.syntaxes[e].at.media?.find(({name:e})=>"max-width"===e)).value;if(t<l.value)a=e-1;else if(t>l.value){i=e+1;break}}}else -1===n?(i=e,a=d(e,e=>e.at.media?.find(({name:e})=>"max-width"===e||"min-width"===e)||-1!==e.priority)):(i=d(e,e=>e.at.media?.find(({name:e})=>"max-width"===e||"min-width"===e),e=>-1!==e.priority),a=d(e,e=>e.at.media?.find(({name:e})=>"max-width"===e||"min-width"===e)))}}else{let e=Object.keys(this.variablesNativeRules).length?this.hasKeyframesRule?2:1:this.hasKeyframesRule?1:0;-1===n?(i=e,a=d(e,e=>e.atToken||-1!==e.priority)):(i=d(e,e=>e.atToken,e=>-1!==e.priority),a=d(e,e=>e.atToken))}if(void 0===t&&void 0!==a&&void 0!==i){if(-1===i)t=a+1;else{if(-1===n)for(let e=i;e<=a;e++){let i=this.syntaxes[e];if((u||!i.hasWhere)&&(u&&!i.hasWhere||i.order>=o)){t=e;break}}else for(let e=i;e<=a;e++){let i=this.syntaxes[e];if(u||!i.hasWhere){if(u&&!i.hasWhere||i.priority<n){t=e;break}if(i.priority===n){if(i.order>=o){t=e;break}}else t=e+1}}void 0===t&&(t=a+1)}}if(this.syntaxes.splice(t,0,e),this.ruleBy[c]=e,this.style){let i=this.style.sheet,a=0,r=e=>{let t=this.syntaxes[e];if(t){if(!t.natives.length)return r(e-1);let s=t.natives[t.natives.length-1],l=s.cssRule?.parentRule??s.cssRule;if(i){for(let e=0;e<i.cssRules.length;e++)if(i.cssRules[e]===l){a=e+1;break}}}};r(t-1);for(let t=0;t<e.natives.length;)try{let r=e.natives[t];i?.insertRule(r.text,a),r.cssRule=i?.cssRules[a++],t++}catch(i){console.error(i),e.natives.splice(t,1)}}return this.handleRuleWithVariableNames(e),this.handleRuleWithAnimationNames(e),e.definition.insert?.call(e),t}get text(){return this.syntaxes.map(e=>e.text).join("")}handleRuleWithAnimationNames(e,t=!1){if(e.animationNames){let i=this.style?.sheet;for(let a of e.animationNames){let e=this.animations[a];if(e.usage)e.usage++;else{let r;let s={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("")+"}"},l=Object.keys(this.variablesNativeRules).length?1:0;if(this.hasKeyframesRule?(r=this.syntaxes[l]).natives.push(s):(this.syntaxes.splice(l,0,r={natives:[s],get text(){return this.natives.map(e=>e.text).join("")}}),this.hasKeyframesRule=!0),i){let e;if(t){for(let t of i.cssRules)if("CSSKeyframesRule"===t.constructor.name&&t.name===a){e=t;break}}if(e)s.cssRule=e;else{let e=Object.keys(this.variablesNativeRules).length+r.natives.length-1;i.insertRule(s.text,e),s.cssRule=i.cssRules[e]}}e.usage=1,e.native=s}}}}handleRuleWithVariableNames(e,t=!1){if(e.variableNames){let i=this.style?.sheet;for(let a of e.variableNames){let e=this.variables[a];if(e.usage)e.usage++;else{let r=(e,r)=>{let s=this.variablesNativeRules[e];if(!s){let t,a,r;if(e)switch(this.config.modes?.[e]){case"media":a=`@media(prefers-color-scheme:${e})`,r=":root";break;case"host":r=`:host(.${e})`,this.config.defaultMode===e&&(r+=",:host");break;case"class":r="."+e,this.config.defaultMode===e&&(r+=",:root");break;default:return}else r=":root";if(i){let e=Object.keys(this.variablesNativeRules).length?this.syntaxes[0].natives.length:0;i.insertRule((a?a+"{":"")+r+"{}"+(a?a+"}":""),e),t=a?i.cssRules[e].cssRules[0]:i.cssRules[e]}else{let e=new Map,i=Object.defineProperties({},{getPropertyValue:{value:t=>e.get(t)},removeProperty:{value:t=>{e.delete(t);for(let e=0;e<i.length;e++)i[e]===t&&delete i[e]}},setProperty:{value:(t,a)=>{i[i.length]=t,e.set(t,a)}},length:{get:()=>Object.keys(i).length}});t={selectorText:r,style:i,styleMap:e},a&&(t.parentRule={conditionText:a})}s=this.pushVariableNativeRule(e,t)}let l="--"+a;t&&s.cssRule.style.getPropertyValue(l)||s.cssRule.style.setProperty(l,String(r.value))};if(e.value&&r("",e),e.modes)for(let t in e.modes)r(t,e.modes[t]);e.usage=1}}}}pushVariableNativeRule(e,t){Object.keys(this.variablesNativeRules).length||(this.variablesNativeRules={},this.syntaxes.splice(0,0,{natives:[],get text(){return this.natives.map(e=>e.text).join("")}}));let i="",a="}";t.parentRule&&(i+="@media"+t.parentRule.conditionText.replace(/ /g,"")+"{",a+="}"),i+=t.selectorText+"{";let r={cssRule:t,get text(){let e=[];for(let i=0;i<t.style.length;i++){let a=t.style[i];e.push(a+":"+t.style.getPropertyValue(a))}return i+e.join(";")+a}};return this.syntaxes[0].natives.push(this.variablesNativeRules[e]=r),r}}let o=[];return globalThis.MasterCSS=l,globalThis.masterCSSs=o,eb.default=l,eb.masterCSSs=o,eb}function ek(){return K?I:(K=1,I=function(e,t){return e.mode===t.mode})}function ex(){return B?G:(B=1,G=function(e,t){let i=Object.keys(e.at),a=Object.keys(t.at);if(i.length!==a.length)return!1;for(let a of i){let i=e.at[a],r=t.at[a];for(let a of i){let i=e.resolveAtComponent(a);if(!r.find(e=>t.resolveAtComponent(e)===i))return!1}}return!0})}function eN(){return M?P:(M=1,P=function(e,t){let i=Object.keys(e.vendorSuffixSelectors),a=Object.keys(t.vendorSuffixSelectors);if(i.length!==a.length||!i.every(i=>{if(!Object.prototype.hasOwnProperty.call(t.vendorSuffixSelectors,i))return!1;let a=e.vendorSuffixSelectors[i],r=t.vendorSuffixSelectors[i];return a.length===r.length&&a.every(e=>r.includes(e))}))return!1;let r=Object.keys(e.vendorPrefixSelectors),s=Object.keys(t.vendorPrefixSelectors);return!!(r.length===s.length&&r.every(i=>{if(!Object.prototype.hasOwnProperty.call(t.vendorPrefixSelectors,i))return!1;let a=e.vendorPrefixSelectors[i],r=t.vendorPrefixSelectors[i];return a.length===r.length&&a.every(e=>r.includes(e))}))})}var eS=function(){if(Q)return H;Q=1,Object.defineProperty(H,"__esModule",{value:!0});var e=ef(),t=ey(),i=eu(),a=ev(),r=eo(),s=ep(),l=function(){if(C)return T;C=1;var e=eo(),t=ev();return T=function(i,a=new t.default){a.add(...i);let r=a.syntaxes.filter(e=>e.layer).sort((t,i)=>{if(t.layer===e.Utility&&i.layer!==e.Utility)return -1;if(t.layer!==e.Utility&&i.layer===e.Utility)return 1;if(t.id!==i.id)return t.className.localeCompare(i.className);{let e=t.vendorSuffixSelectors?.[""]?.[0],a=i.vendorSuffixSelectors?.[""]?.[0];if(-1===t.priority&&-1===i.priority){if(e&&a)return e.localeCompare(a);let r=t.atToken,s=i.atToken;if(r&&s&&!t.at.media?.find(({name:e})=>"min-width"===e||"max-width"===e)&&!i.at.media?.find(({name:e})=>"min-width"===e||"max-width"===e))return r.localeCompare(s);if(e&&!a)return 1;if(!e&&a)return -1;if(r&&!s)return 1;if(!r&&s)return -1}return t.id===i.id&&t.stateToken===i.stateToken?t.className.localeCompare(i.className):t.order-i.order}}).map(e=>e.className);return a.delete(...i),r}}(),o=ek(),n=ex(),u=eN(),c=function(){if(z)return X;z=1;var e=eN(),t=ek(),i=ex();return X=function(a,r){return e(a,r)&&t(a,r)&&i(a,r)}}(),d=D?W:(D=1,W=function(e,t){let i=Object.keys(e.declarations||{}),a=Object.keys(t.declarations||{});if(i.length!==a.length)return!1;for(let e of i)if(!Object.prototype.hasOwnProperty.call(t.declarations,e))return!1;return!0}),h=function(){if(q)return Y;q=1;var e=ev();return Y=function(t,i=new e.default){let a="";return i.add(...t),a=i.text,i.delete(...t),a}}(),f=function(){if(Z)return F;Z=1;var e=ec();return F=function(t){return Object.hasOwnProperty.call(e,t)}}(),m=ee(),y=et(),b=ei(),g=eh(),p=ea(),v=es(),k=ed(),x=ec();return H.config=e.config,H.Rule=t.Rule,H.ANIMATION_SIGN=i.ANIMATION_SIGN,H.AT_SIGN=i.AT_SIGN,H.BASE_UNIT_REGEX=i.BASE_UNIT_REGEX,H.BORDER_STYLE_VALUES=i.BORDER_STYLE_VALUES,H.CLASS_ATTRIBUTES=i.CLASS_ATTRIBUTES,H.CLASS_DECLARATIONS=i.CLASS_DECLARATIONS,H.CLASS_FUNCTIONS=i.CLASS_FUNCTIONS,H.COLOR_VALUE_REGEX=i.COLOR_VALUE_REGEX,H.DELIMITER_SIGN=i.DELIMITER_SIGN,H.IMAGE_VALUE_REGEX=i.IMAGE_VALUE_REGEX,H.NUMBER_VALUE_REGEX=i.NUMBER_VALUE_REGEX,H.OFFICIAL_URL=i.OFFICIAL_URL,H.QUERY_COMPARISON_OPERATORS=i.QUERY_COMPARISON_OPERATORS,H.QUERY_LOGICAL_OPERATORS=i.QUERY_LOGICAL_OPERATORS,H.SELECTOR_SIGNS=i.SELECTOR_SIGNS,H.SEPARATOR_SIGN=i.SEPARATOR_SIGN,H.SEPARATOR_SIGNS=i.SEPARATOR_SIGNS,H.TRANSITION_SIGN=i.TRANSITION_SIGN,H.UNIT_REGEX=i.UNIT_REGEX,H.VALUE_DELIMITERS=i.VALUE_DELIMITERS,H.VALUE_UNITS=i.VALUE_UNITS,H.MasterCSS=a.default,H.default=a.default,H.masterCSSs=a.masterCSSs,H.Layer=r,H.extendConfig=s,H.reorderForReadableClasses=l,H.areRuleModesEqual=o,H.areRuleAtEqual=n,H.areRuleSelectorsEqual=u,H.areRuleStatesEqual=c,H.areRulesDuplicated=d,H.generateCSS=h,H.isCoreRule=f,H.at=m,H.selectors=y,H.utilities=b,H.functions=g,H.animations=p,H.variables=v,H.modes=k,H.syntaxes=x,H}();class eE extends eS.MasterCSS{root;customConfig;host;observing;progressive;container;observer;constructor(e=document,t=eS.config){super(t),this.root=e,this.customConfig=t,this.observing=!1,this.progressive=!1,e||(this.root=document);let i=this.root?.constructor.name;"HTMLDocument"===i||"Document"===i?(this.root.defaultView.globalThis.runtimeCSS=this,this.container=this.root.head,this.host=this.root.documentElement):(this.container=this.root,this.host=this.root.host),ew.push(this)}observe(e={subtree:!0,childList:!0}){if(this.observing||!this.root)return this;if(ew.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"CSSMediaRule":let i=/\(prefers-color-scheme: ?(.*?)\)/.exec(t.conditionText);if(i){let e=t.cssRules[0];if(e?.constructor.name==="CSSStyleRule"&&":root"===e.selectorText){this.pushVariableNativeRule(i[1],e);continue}}break;case"CSSStyleRule":let a=t.selectorText;if(t.style.length){let e=!0;for(let i=0;i<t.style.length;i++)if(!t.style[i]?.startsWith("--")){e=!1;break}if(e){if(":root"===a){this.pushVariableNativeRule("",t);continue}{let e=/:host(.*?)/.exec(a);if(e){this.pushVariableNativeRule(e[1],t);continue}if(!a.startsWith(".\\$")){let[e]=a.split(",");this.pushVariableNativeRule(e.slice(1),t);continue}}}}}break}for(;e<this.style.sheet.cssRules.length;e++){let t=e=>{if(e.selectorText){for(let t of e.selectorText.split(", ")[0].split(" "))if("."===t[0]){let e=t.slice(1),i="";for(let t=0;t<e.length;t++){let a=e[t],r=e[t+1];if("\\"===a){if(t++,"\\"!==r){i+=r;continue}}else if([",",".","#","[","!","*",">","+","~",":","@"].includes(a))break;i+=a}if(!Object.prototype.hasOwnProperty.call(this.ruleBy,i)&&!Object.prototype.hasOwnProperty.call(this.styles,i)){let e=this.generate(i)[0];if(e)return e}}}else if(e.cssRules)for(let i of e.cssRules){let e=t(i);if(e)return e}},i=t(this.style.sheet.cssRules[e]);if(i){this.syntaxes.push(i),this.ruleBy[i.className]=i;for(let t=0;t<i.natives.length;t++)i.natives[t].cssRule=this.style.sheet.cssRules[e+t];e+=i.natives.length-1,this.handleRuleWithVariableNames(i,!0),this.handleRuleWithAnimationNames(i,!0),i.definition.insert?.call(i)}}}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&&("HTMLDocument"===this.root.constructor.name?this.host:this.container).querySelectorAll("[class]").forEach(e=>t(e.classList)),this.observer=new MutationObserver(e=>{let t={},i=[],a=[],r=[],s=(e,t)=>{for(let i of(t?e.classList.forEach(o):e.classList.forEach(l),e.children))i.classList&&!a.includes(i)&&(a.push(i),s(i,t))},l=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 i of e)!i.classList||a.includes(i)||r.includes(i)||(i.isConnected!==t?(a.push(i),s(i,t)):r.push(i))};for(let t of e){let{addedNodes:e,removedNodes:r,type:s,target:l}=t;if("attributes"===s){if(i.find(e=>e.target===l))continue;i.push(t)}else n(e,!1),l.isConnected&&a.includes(l)||n(r,!0)}if(i.length||Object.keys(t).length){for(let{oldValue:e,target:t}of i){let i=a.includes(t),r=t.classList,s=e?e.split(" "):[];if(i){if(t.isConnected)continue;for(let e of s)r.contains(e)||o(e)}else if(t.isConnected)for(let e of(r.forEach(e=>{s.includes(e)||l(e)}),s))r.contains(e)||o(e)}for(let e in t){let i=t[e],a=(this.classesUsage[e]||0)+i;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(),ew.splice(ew.indexOf(this),1),this}}let ew=[];function eR(e){return new eE(document,e).observe()}globalThis.RuntimeCSS=eE,globalThis.runtimeCSSs=ew;let e$=window.masterCSSConfigs,eO=window.masterCSSConfig;if(eO){let e=[];e$&&e.push(...e$),eO.extends&&e.push(...eO.extends),eR({...eO,extends:e})}else e$?eR({extends:e$}):eR()}();
|
package/dist/index.cjs
CHANGED
|
@@ -13,11 +13,7 @@ class RuntimeCSS extends css.MasterCSS {
|
|
|
13
13
|
container;
|
|
14
14
|
observer;
|
|
15
15
|
constructor(root = document, customConfig = css.config){
|
|
16
|
-
super(customConfig);
|
|
17
|
-
this.root = root;
|
|
18
|
-
this.customConfig = customConfig;
|
|
19
|
-
this.observing = false;
|
|
20
|
-
this.progressive = false;
|
|
16
|
+
super(customConfig), this.root = root, this.customConfig = customConfig, this.observing = false, this.progressive = false;
|
|
21
17
|
if (!root) this.root = document;
|
|
22
18
|
const rootConstructorName = this.root?.constructor.name;
|
|
23
19
|
if (rootConstructorName === 'HTMLDocument' || rootConstructorName === 'Document') {
|
|
@@ -72,10 +68,10 @@ class RuntimeCSS extends css.MasterCSS {
|
|
|
72
68
|
}
|
|
73
69
|
break;
|
|
74
70
|
case 'CSSStyleRule':
|
|
75
|
-
// eslint-disable-next-line no-case-declarations
|
|
76
71
|
const selectorText = eachCSSRule.selectorText;
|
|
77
72
|
if (eachCSSRule.style.length) {
|
|
78
73
|
let isVariablesRule = true;
|
|
74
|
+
// eslint-disable-next-line @typescript-eslint/prefer-for-of
|
|
79
75
|
for(let i = 0; i < eachCSSRule.style.length; i++){
|
|
80
76
|
if (!eachCSSRule.style[i]?.startsWith('--')) {
|
|
81
77
|
isVariablesRule = false;
|
|
@@ -108,8 +104,7 @@ class RuntimeCSS extends css.MasterCSS {
|
|
|
108
104
|
if (cssRule.selectorText) {
|
|
109
105
|
const selectorTexts = cssRule.selectorText.split(', ');
|
|
110
106
|
const escapedClassNames = selectorTexts[0].split(' ');
|
|
111
|
-
for(
|
|
112
|
-
const eachSelectorText = escapedClassNames[i];
|
|
107
|
+
for (const eachSelectorText of escapedClassNames){
|
|
113
108
|
if (eachSelectorText[0] === '.') {
|
|
114
109
|
const escapedClassName = eachSelectorText.slice(1);
|
|
115
110
|
let className = '';
|
|
@@ -146,8 +141,8 @@ class RuntimeCSS extends css.MasterCSS {
|
|
|
146
141
|
}
|
|
147
142
|
}
|
|
148
143
|
} else if (cssRule.cssRules) {
|
|
149
|
-
for(
|
|
150
|
-
const currentRule = getRule(
|
|
144
|
+
for (const rule of cssRule.cssRules){
|
|
145
|
+
const currentRule = getRule(rule);
|
|
151
146
|
if (currentRule) return currentRule;
|
|
152
147
|
}
|
|
153
148
|
}
|
|
@@ -204,8 +199,7 @@ class RuntimeCSS extends css.MasterCSS {
|
|
|
204
199
|
element.classList.forEach(addClassName);
|
|
205
200
|
}
|
|
206
201
|
const children = element.children;
|
|
207
|
-
for(
|
|
208
|
-
const eachChildren = children[i];
|
|
202
|
+
for (const eachChildren of children){
|
|
209
203
|
if (eachChildren.classList && !updatedElements.includes(eachChildren)) {
|
|
210
204
|
updatedElements.push(eachChildren);
|
|
211
205
|
handleClassNameDeeply(eachChildren, remove);
|
|
@@ -227,8 +221,7 @@ class RuntimeCSS extends css.MasterCSS {
|
|
|
227
221
|
}
|
|
228
222
|
};
|
|
229
223
|
const handleNodes = (nodes, remove)=>{
|
|
230
|
-
for(
|
|
231
|
-
const eachNode = nodes[i];
|
|
224
|
+
for (const eachNode of nodes){
|
|
232
225
|
if (eachNode.classList && !updatedElements.includes(eachNode) && !unchangedElements.includes(eachNode)) {
|
|
233
226
|
if (eachNode.isConnected !== remove) {
|
|
234
227
|
updatedElements.push(eachNode);
|
|
@@ -239,8 +232,7 @@ class RuntimeCSS extends css.MasterCSS {
|
|
|
239
232
|
}
|
|
240
233
|
}
|
|
241
234
|
};
|
|
242
|
-
for(
|
|
243
|
-
const mutationRecord = mutationRecords[i];
|
|
235
|
+
for (const mutationRecord of mutationRecords){
|
|
244
236
|
const { addedNodes, removedNodes, type, target } = mutationRecord;
|
|
245
237
|
if (type === 'attributes') {
|
|
246
238
|
/**
|
package/dist/index.mjs
CHANGED
|
@@ -9,11 +9,7 @@ class RuntimeCSS extends MasterCSS {
|
|
|
9
9
|
container;
|
|
10
10
|
observer;
|
|
11
11
|
constructor(root = document, customConfig = config){
|
|
12
|
-
super(customConfig);
|
|
13
|
-
this.root = root;
|
|
14
|
-
this.customConfig = customConfig;
|
|
15
|
-
this.observing = false;
|
|
16
|
-
this.progressive = false;
|
|
12
|
+
super(customConfig), this.root = root, this.customConfig = customConfig, this.observing = false, this.progressive = false;
|
|
17
13
|
if (!root) this.root = document;
|
|
18
14
|
const rootConstructorName = this.root?.constructor.name;
|
|
19
15
|
if (rootConstructorName === 'HTMLDocument' || rootConstructorName === 'Document') {
|
|
@@ -68,10 +64,10 @@ class RuntimeCSS extends MasterCSS {
|
|
|
68
64
|
}
|
|
69
65
|
break;
|
|
70
66
|
case 'CSSStyleRule':
|
|
71
|
-
// eslint-disable-next-line no-case-declarations
|
|
72
67
|
const selectorText = eachCSSRule.selectorText;
|
|
73
68
|
if (eachCSSRule.style.length) {
|
|
74
69
|
let isVariablesRule = true;
|
|
70
|
+
// eslint-disable-next-line @typescript-eslint/prefer-for-of
|
|
75
71
|
for(let i = 0; i < eachCSSRule.style.length; i++){
|
|
76
72
|
if (!eachCSSRule.style[i]?.startsWith('--')) {
|
|
77
73
|
isVariablesRule = false;
|
|
@@ -104,8 +100,7 @@ class RuntimeCSS extends MasterCSS {
|
|
|
104
100
|
if (cssRule.selectorText) {
|
|
105
101
|
const selectorTexts = cssRule.selectorText.split(', ');
|
|
106
102
|
const escapedClassNames = selectorTexts[0].split(' ');
|
|
107
|
-
for(
|
|
108
|
-
const eachSelectorText = escapedClassNames[i];
|
|
103
|
+
for (const eachSelectorText of escapedClassNames){
|
|
109
104
|
if (eachSelectorText[0] === '.') {
|
|
110
105
|
const escapedClassName = eachSelectorText.slice(1);
|
|
111
106
|
let className = '';
|
|
@@ -142,8 +137,8 @@ class RuntimeCSS extends MasterCSS {
|
|
|
142
137
|
}
|
|
143
138
|
}
|
|
144
139
|
} else if (cssRule.cssRules) {
|
|
145
|
-
for(
|
|
146
|
-
const currentRule = getRule(
|
|
140
|
+
for (const rule of cssRule.cssRules){
|
|
141
|
+
const currentRule = getRule(rule);
|
|
147
142
|
if (currentRule) return currentRule;
|
|
148
143
|
}
|
|
149
144
|
}
|
|
@@ -200,8 +195,7 @@ class RuntimeCSS extends MasterCSS {
|
|
|
200
195
|
element.classList.forEach(addClassName);
|
|
201
196
|
}
|
|
202
197
|
const children = element.children;
|
|
203
|
-
for(
|
|
204
|
-
const eachChildren = children[i];
|
|
198
|
+
for (const eachChildren of children){
|
|
205
199
|
if (eachChildren.classList && !updatedElements.includes(eachChildren)) {
|
|
206
200
|
updatedElements.push(eachChildren);
|
|
207
201
|
handleClassNameDeeply(eachChildren, remove);
|
|
@@ -223,8 +217,7 @@ class RuntimeCSS extends MasterCSS {
|
|
|
223
217
|
}
|
|
224
218
|
};
|
|
225
219
|
const handleNodes = (nodes, remove)=>{
|
|
226
|
-
for(
|
|
227
|
-
const eachNode = nodes[i];
|
|
220
|
+
for (const eachNode of nodes){
|
|
228
221
|
if (eachNode.classList && !updatedElements.includes(eachNode) && !unchangedElements.includes(eachNode)) {
|
|
229
222
|
if (eachNode.isConnected !== remove) {
|
|
230
223
|
updatedElements.push(eachNode);
|
|
@@ -235,8 +228,7 @@ class RuntimeCSS extends MasterCSS {
|
|
|
235
228
|
}
|
|
236
229
|
}
|
|
237
230
|
};
|
|
238
|
-
for(
|
|
239
|
-
const mutationRecord = mutationRecords[i];
|
|
231
|
+
for (const mutationRecord of mutationRecords){
|
|
240
232
|
const { addedNodes, removedNodes, type, target } = mutationRecord;
|
|
241
233
|
if (type === 'attributes') {
|
|
242
234
|
/**
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@master/css-runtime","type":"module","scripts":{"build":"techor build","dev":"pnpm build --watch","test":"vitest","e2e":"playwright test","type-check":"tsc --noEmit","lint":"eslint
|
|
1
|
+
{"name":"@master/css-runtime","type":"module","scripts":{"build":"techor build","dev":"pnpm build --watch","test":"vitest","e2e":"playwright test","type-check":"tsc --noEmit","lint":"eslint"},"license":"MIT","description":"Run Master CSS right in the browser","author":"Aoyue Design LLC.","funding":"https://rc.css.master.co/sponsor","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":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.mjs"}},"files":["dist"],"publishConfig":{"access":"public","provenance":true},"dependencies":{"@master/css":"^2.0.0-rc.46"},"devDependencies":{"shared":"^2.0.0-rc.46","@playwright/test":"1.41.2"},"version":"2.0.0-rc.46"}
|